diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-02 09:41:23 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 09:08:07 -0700 |
| commit | 1e59e5a3bdbed560bb2acec3a117f193a646332a (patch) | |
| tree | 06a9c2daf8523e36b964b9b896f15f2d2835eeef /rust/kernel/alloc/kvec | |
| parent | 6c28a0d7cf1254d0916fba5c387b4b56ed49e124 (diff) | |
KVM: selftests: Add arch hook to force page tables to be naturally aligned
Add an arch hook to communicate to the core physical page allocator that
page table allocations need to be naturally aligned. The hook will be used
for upcoming PowerPC support, which has MMU tables that are larger than the
guest base page size and need to be naturally aligned.
Bury the hook in the physical page allocator to avoid having to plumb a
rarely used param into the main APIs.
Cc: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Tested-by: Itaru Kitayama <itaru.kitayama@fujitsu.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Tested-by: Itaru Kitayam <itaru.kitayama@fujitsu.com>
Link: https://patch.msgid.link/20260902164123.2546762-21-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/alloc/kvec')
0 files changed, 0 insertions, 0 deletions
