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:
Toshiki Nishioka 2020-09-04 13:20:47 +09:00 committed by wenlingz
parent f4a5b7fc68
commit 0da42dc1dd
4 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>