diff options
| author | Shivank Garg <shivankg@amd.com> | 2026-09-02 17:16:20 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 09:35:48 -0700 |
| commit | 8883d2410c45bb2882b7ba44b38a70cfef0b84f9 (patch) | |
| tree | a6ea40e05628711de8be84cc82e596aa46cb1d49 /tools/perf/scripts/python/stackcollapse.py | |
| parent | be3c6888e1ab29d1d2a36af224eaf7739985c414 (diff) | |
KVM: selftests: Fix maxnode argument to migrate_pages() in xapic_ipi_test
Use MAXNODE_FOR_MASK() to compute the @maxnode argument when migrating
pages in the xAPIC IPI test, as the current code incorrectly passes the
number of bytes, not the number of bits, in the mask, and also fails to
account for the kernel's off-by-one bug. I.e. the test sets maxnode to 8,
and so the kernel only checks node IDs 0-6 even though the nodemask covers
node IDs 0-63.
Fixes: 678e90a349a4 ("KVM: selftests: Test IPI to halted vCPU in xAPIC while backing page moves")
Signed-off-by: Shivank Garg <shivankg@amd.com>
[sean: use MAXNODE_FOR_MASK(), rewrite changelog]
Link: https://patch.msgid.link/20260903001625.2792367-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
