From: Boris Ostrovsky Subject: Re: [PATCH v3] xen: Make VPMU init message look less scary Date: Tue, 2 Aug 2016 10:10:13 -0400 Message-ID: <7314fd81-c7c7-3ed5-643f-517810b9befb@oracle.com> References: <1470122532-9072-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3357836033981448536==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUaOh-0002pO-8B for xen-devel@lists.xenproject.org; Tue, 02 Aug 2016 14:10:19 +0000 In-Reply-To: <1470122532-9072-1-git-send-email-jgross@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: david.vrabel@citrix.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============3357836033981448536== Content-Type: multipart/alternative; boundary="------------EFFF610F7C77C6FAAE6C4493" This is a multi-part message in MIME format. --------------EFFF610F7C77C6FAAE6C4493 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 08/02/2016 03:22 AM, Juergen Gross wrote: > The default for the Xen hypervisor is to not enable VPMU in order to > avoid security issues. In this case the Linux kernel will issue the > message "Could not initialize VPMU for cpu 0, error -95" which looks > more like an error than a normal state. > > Change the message to something less scary in case the hypervisor > returns EOPNOTSUPP or ENOSYS when trying to activate VPMU. > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --------------EFFF610F7C77C6FAAE6C4493 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit



On 08/02/2016 03:22 AM, Juergen Gross wrote:
The default for the Xen hypervisor is to not enable VPMU in order to
avoid security issues. In this case the Linux kernel will issue the
message "Could not initialize VPMU for cpu 0, error -95" which looks
more like an error than a normal state.

Change the message to something less scary in case the hypervisor
returns EOPNOTSUPP or ENOSYS when trying to activate VPMU.

Signed-off-by: Juergen Gross <jgross@suse.com>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

--------------EFFF610F7C77C6FAAE6C4493-- --===============3357836033981448536== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============3357836033981448536==--