|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 03/14] x86/cpu/vpmu: Add Hygon Dhyana and AMD Zen support for vPMU
>>> On 21.02.19 at 10:50, <puwen@xxxxxxxx> wrote:
> --- a/xen/arch/x86/cpu/vpmu_amd.c
> +++ b/xen/arch/x86/cpu/vpmu_amd.c
> @@ -545,6 +545,8 @@ int __init amd_vpmu_init(void)
> switch ( current_cpu_data.x86 )
> {
> case 0x15:
> + case 0x17:
> + case 0x18:
> num_counters = F15H_NUM_COUNTERS;
> counters = AMD_F15H_COUNTERS;
> ctrls = AMD_F15H_CTRLS;
Unless you know what AMD Fam18 will look like, you can't do it
like this. Fam18 really needs to be further qualified by a vendor
check at this point in time.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |