diff options
author | Quentin Perret <[email protected]> | 2021-12-08 15:22:54 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-12-15 14:16:28 +0000 |
commit | 34b43a8849229e8363c19236ecdf463b7a89d085 (patch) | |
tree | b2354d8ac484680e2e30389fe00480c365c2c456 /drivers/usb/cdns3/cdns3-imx.c | |
parent | d58071a8a76d779eedab38033ae4c821c30295a5 (diff) |
KVM: arm64: pkvm: Fix hyp_pool max order
The EL2 page allocator in protected mode maintains a per-pool max order
value to optimize allocations when the memory region it covers is small.
However, the max order value is currently under-estimated whenever the
number of pages in the region is a power of two. Fix the estimation.
Signed-off-by: Quentin Perret <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions