ARM: dts: msm: Add swiotlb command line parameter for VMs
With the recent kernel upgrade to 6.4, swiotlb_init() path is taken because of the new kernel config CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC, which is enabled by default. But this should not done for trusted VMs supported on Sun and Pineapple VMs, as these VMs would be using carveout swiotlb memory set up separately by virtio mmio driver through the feature CONFIG_SWIOTLB_NONLINEAR. Hence, add swiotlb=noforce kernel command line to disable generic swiotlb setup/init for VMs. Without this option set, VM boot up failure is observed. Change-Id: Ia35cd9a2f95f41b0b0daa6cf75799fd4432a95bd Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
interrupt-parent = <&vgic>;
|
||||
|
||||
chosen {
|
||||
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8";
|
||||
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8 swiotlb=noforce";
|
||||
};
|
||||
|
||||
cpus {
|
||||
|
@@ -12,7 +12,7 @@
|
||||
interrupt-parent = <&vgic>;
|
||||
|
||||
chosen {
|
||||
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8";
|
||||
bootargs = "nokaslr log_buf_len=256K console=hvc0 loglevel=8 swiotlb=noforce";
|
||||
};
|
||||
|
||||
cpus {
|
||||
|
Reference in New Issue
Block a user