Re: [PATCH v2 0/4] KVM: x86: selftests: Add Hygon CPUs support and fix failures
From: Sean Christopherson
Date: Tue Feb 24 2026 - 10:57:29 EST
On Tue, Feb 24, 2026, Zhiquan Li wrote:
>
> On 2/12/26 18:38, Zhiquan Li wrote:
> > This series to add support for Hygon CPUs and fix 11 KVM selftest failures
> > on Hygon architecture.
> >
> > Patch 1 add CPU vendor detection for Hygon and add a global variable
> > "host_cpu_is_hygon" to identify if the test is running on a Hygon CPU.
> > It is the prerequisite for the following fixes.
> >
> > Patch 2 add a flag to identify AMD compatible CPU and figure out the
> > compatible cases, so that Hygon CPUs can re-use them.
> > Following test failures on Hygon platform can be fixed by this patch:
> > - access_tracking_perf_test
> > - demand_paging_test
> > - dirty_log_perf_test
> > - dirty_log_test
> > - kvm_page_table_test
> > - memslot_modification_stress_test
> > - pre_fault_memory_test
> > - x86/dirty_log_page_splitting_test
> > - x86/fix_hypercall_test
> >
> > Patch 3 fix x86/pmu_event_filter_test failure by allowing the tests for
> > Hygon CPUs.
> >
> > Patch 4 fix x86/msrs_test failure while writing the MSR_TSC_AUX reserved
> > bits without RDPID support.
> > Sean has made a perfect solution for the issue and provided the patch.
> > It has been verified on Intel, AMD and Hygon platforms, no regression.
> >
>
> Kindly ping for any review on these.
They're in my queue, but I typically don't apply anything except urgent fixes
until after -rc2.