[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 2/4] xen/pv: fix vendor checks for pmu emulation


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 5 Oct 2022 13:59:03 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=m34VbD0LfO236+78Hchg+01tMv+UJ+fRLDcHaGlqoP4=; b=FZXzu6rA9RltgMAiXbAoC1DYHIUZRQpWilMz8e6j5LpTzFNQ13g/ZA0oF9pqzB2j14AlQIv+nEupu+SwRbBy0d1351a2rkfVkqvFbLHp9t+RqGiPrm3vPKvnx0YrSGa473tx4otEHz//7/vYnsZRr8RZKE7LsPcRAx5Wi9y5D+C8OPtCHA3/XdcEgeahQz2/yZcfLwEO1ST6NQX2cLBu39/5Sokdw2vDL7ug0rakCYSVoXp3/GSi11WhtnYy3waKxrsA18qb6HBFVyHyMZ4qFkL816UQxGQslP9fouzlv7oPrQ+4BfZfCDGcse9cSJqL0+WtRmUXQBCAtq6QF81X4Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V+s+MOfUo4oAXg+5q/naR3ZX4oTRr14HDLTaRRzzcD1LKcwkDUpZNsrSJ7Zd5OByDw8MsUQzsfUXNj1gxP7YnDZONarFF/4cC2bNflZmEI6a3uDoDNI0Hc+pt+P0Y3FZyA/Tc//HyzQLZ/v16G/N7uAnoB07KXH203RolSQn1An+dX4bQUIXiecvUVTT+vWO1FE7TO+x7MN3iyIkIK4JiStM2gXijkxI0ThutDQdpmpjm1K5FmGTbMERn+j0qYmmGfFxFwsgdm3FA8dr8/xHIDngOQk+vMbdVwLH4ILLFGjQ+0gqYy+sJg60XjMjD+6TlvCVBrtEWMcf4oAC5+dN2w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx
  • Delivery-date: Wed, 05 Oct 2022 11:59:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05.10.2022 13:03, Juergen Gross wrote:
> The CPU vendor checks for pmu emulation are rather limited today, as
> the assumption seems to be that only Intel and AMD are existing and/or
> supported vendors.
> 
> Fix that by handling Centaur and Zhaoxin CPUs the same way as Intel,
> and Hygon the same way as AMD.
> 
> While at it fix the return type of is_intel_pmu_msr().
> 
> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.