>>> On 20.12.18 at 14:12, <pu...@hygon.cn> wrote:
> --- a/xen/arch/x86/cpu/vpmu.c
> +++ b/xen/arch/x86/cpu/vpmu.c
> @@ -473,6 +473,7 @@ static int vpmu_arch_initialise(struct vcpu *v)
>  
>      switch ( vendor )
>      {
> +    case X86_VENDOR_HYGON:
>      case X86_VENDOR_AMD:
>          ret = svm_vpmu_initialise(v);
>          break;
> @@ -890,6 +891,7 @@ static int __init vpmu_init(void)
>  
>      switch ( vendor )
>      {
> +    case X86_VENDOR_HYGON:
>      case X86_VENDOR_AMD:
>          if ( amd_vpmu_init() )
>             vpmu_mode = XENPMU_MODE_OFF;

Here and everywhere else, may I ask that you do your insertions
below the respective AMD ones instead of above?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to