x86: increase default swiotlb size to 64MB

Since 802.11be is available, increased default swiotlb size from
32 to 64MB to support up to 2x Qualcomm WiFi 6E/7 network cards.
This commit is contained in:
aiamadeus 2023-07-12 23:19:02 +08:00
parent 91bce87de4
commit 1c5492a0c4
3 changed files with 9 additions and 9 deletions

View File

@ -8,21 +8,21 @@
board_config_update board_config_update
case "$(board_name)" in case "$(board_name)" in
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
brounion-r86s) brounion-r86s)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0" ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;; ;;
cwwk-cw-mbx-ad12) cwwk-cw-mbx-ad12)
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0" ucidef_set_interfaces_lan_wan "eth1 eth2 eth3 eth4 eth5" "eth0"
;; ;;
ikoolcore-r1) ikoolcore-r1|pear-inc-pearbox-1)
ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0" ucidef_set_interfaces_lan_wan "eth1 eth2 eth3" "eth0"
;; ;;
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
;;
roqos-roqos-core-rc10)
ucidef_set_interfaces_lan_wan "eth1" "eth0"
;;
sophos-sg-105|sophos-xg-105) sophos-sg-105|sophos-xg-105)
ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1" ucidef_set_interfaces_lan_wan "eth0 eth2 eth3" "eth1"
;; ;;

View File

@ -6,7 +6,7 @@ set timeout="@TIMEOUT@"
search -l kernel -s root search -l kernel -s root
menuentry "@TITLE@" { menuentry "@TITLE@" {
linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd linux /boot/vmlinuz @GPT_ROOTPART@ @CMDLINE@ noinitrd swiotlb=65536
} }
menuentry "@TITLE@ (failsafe)" { menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @GPT_ROOTPART@ @CMDLINE@ noinitrd linux /boot/vmlinuz failsafe=true @GPT_ROOTPART@ @CMDLINE@ noinitrd

View File

@ -6,7 +6,7 @@ set timeout="@TIMEOUT@"
set root='(hd0,msdos1)' set root='(hd0,msdos1)'
menuentry "@TITLE@" { menuentry "@TITLE@" {
linux /boot/vmlinuz @ROOTPART@ @CMDLINE@ noinitrd linux /boot/vmlinuz @ROOTPART@ @CMDLINE@ noinitrd swiotlb=65536
} }
menuentry "@TITLE@ (failsafe)" { menuentry "@TITLE@ (failsafe)" {
linux /boot/vmlinuz failsafe=true @ROOTPART@ @CMDLINE@ noinitrd linux /boot/vmlinuz failsafe=true @ROOTPART@ @CMDLINE@ noinitrd