mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-09 20:18:19 +00:00
acrn-config: add swiotlb to sos kernel bootargs to increase bounce bufs
EHL PSE TSN GbE driver is default set to use 32bit of dma addressing. net: stmmac: configure PSE Gbe to 32bit dma addressing https://github.com/intel/linux-intel-lts/commit/011c8f When VM has more than 4GB physical memory, Linux kernel uses the bounce buffers (swiotlb) to translate kernel data in 64bit memory to 32bit range for the sake of the DMA because iommu is not available. The default swiotlb value 32768 is insufficient to support two PSE TSN GbEs at the same time. Increase the value to 131072 otherwise two GbEs can't link up. Tracked-On: #5243 Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
f4a5b7fc68
commit
0da42dc1dd
@ -164,7 +164,7 @@
|
||||
<rootfs desc="rootfs for Linux kernel">/dev/sda3</rootfs>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1
|
||||
i915.nuclear_pageflip=1 swiotlb=131072
|
||||
</bootargs>
|
||||
</board_private>
|
||||
</vm>
|
||||
|
@ -158,7 +158,7 @@
|
||||
<rootfs desc="rootfs for Linux kernel">/dev/mmcblk0p2</rootfs>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1
|
||||
i915.nuclear_pageflip=1 swiotlb=131072
|
||||
</bootargs>
|
||||
</board_private>
|
||||
</vm>
|
||||
|
@ -107,7 +107,7 @@
|
||||
<rootfs desc="rootfs for Linux kernel">/dev/mmcblk0p2</rootfs>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1
|
||||
i915.nuclear_pageflip=1 swiotlb=131072
|
||||
</bootargs>
|
||||
</board_private>
|
||||
</vm>
|
||||
|
@ -107,7 +107,7 @@
|
||||
<rootfs desc="rootfs for Linux kernel">/dev/sda3</rootfs>
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1
|
||||
i915.nuclear_pageflip=1 swiotlb=131072
|
||||
</bootargs>
|
||||
</board_private>
|
||||
</vm>
|
||||
|
Loading…
Reference in New Issue
Block a user