mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:40:53 +07:00
e8579e72ca
Fix swiotlb sizing to match what the comments and the kernel parameters documentation indicate. Given a default 16k page size kernel (ia64) and a 2k swiotlb page size, we're off by a multiple of 8 trying to size the swiotlb. When specified on the boot line, the swiotlb is made 8x bigger than requested. When left to the default value, it's 8x smaller than the comments indicate. For x86_64 the multiplier would be 2x. The patch below fixes this. Now, what's a good default swiotlb size? Apparently we don't really need 64MB. Signed-off-by: Alex Williamson <alex.williamson@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com> |
||
---|---|---|
.. | ||
bitop.c | ||
carta_random.S | ||
checksum.c | ||
clear_page.S | ||
clear_user.S | ||
copy_page_mck.S | ||
copy_page.S | ||
copy_user.S | ||
csum_partial_copy.c | ||
dec_and_lock.c | ||
do_csum.S | ||
flush.S | ||
idiv32.S | ||
idiv64.S | ||
io.c | ||
ip_fast_csum.S | ||
Makefile | ||
memcpy_mck.S | ||
memcpy.S | ||
memset.S | ||
strlen_user.S | ||
strlen.S | ||
strncpy_from_user.S | ||
strnlen_user.S | ||
swiotlb.c | ||
xor.S |