Skip to content

Commit

Permalink
qualcommax: disable SWIOTLB, credit to @qosmio
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinLorenzo committed Mar 25, 2024
1 parent 5822b33 commit 1594035
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_0";
bootargs-append = " root=/dev/ubiblock0_0 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_0";
bootargs-append = " root=/dev/ubiblock0_0 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

gpio-export {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_0";
bootargs-append = " root=/dev/ubiblock0_0 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
* That fails to create a UBI block device, so add it here.
*/
bootargs-append = " ubi.block=0,rootfs root=/dev/ubiblock0_1";
bootargs-append = " ubi.block=0,rootfs root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* Netgear's U-Boot adds "ubi.mtd=rootfs root=mtd:ubi_rootfs"
* That fails to create a UBI block device, so add it here.
*/
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " ubi.mtd=rootfs root=/dev/ubiblock0_0";
bootargs-append = " ubi.mtd=rootfs root=/dev/ubiblock0_0 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_1";
bootargs-append = " root=/dev/ubiblock0_1 swiotlb=noforce";
};

keys {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " ubi.mtd=user_property root=/dev/ubiblock1_0";
bootargs-append = " ubi.mtd=user_property root=/dev/ubiblock1_0 swiotlb=noforce";
};

leds {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

chosen {
stdout-path = "serial0:115200n8";
bootargs-append = " root=/dev/ubiblock0_0";
bootargs-append = " root=/dev/ubiblock0_0 swiotlb=noforce";
};

keys {
Expand Down

0 comments on commit 1594035

Please sign in to comment.