[2/2] linux: Set default IOMMU handling to "strict" on 64-bit ARM
Commit Message
This has been our default setting on x86_64 for quite some time now,
which is why this patch aligns the aarch64 kernel configuration to that
value.
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
config/kernel/kernel.config.aarch64-ipfire | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Hello,
Thanks for the patch. I do not quite see the connection to the first one of this patchset apart from that both changes affect the kernel. Please do not group things together into a patchset that do not have a direct connection.
-Michael
> On 13 Oct 2023, at 10:04, Peter Müller <peter.mueller@ipfire.org> wrote:
>
> This has been our default setting on x86_64 for quite some time now,
> which is why this patch aligns the aarch64 kernel configuration to that
> value.
>
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/kernel/kernel.config.aarch64-ipfire | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
> index 0d7c1ba8a..46bfb1bb3 100644
> --- a/config/kernel/kernel.config.aarch64-ipfire
> +++ b/config/kernel/kernel.config.aarch64-ipfire
> @@ -7190,9 +7190,9 @@ CONFIG_IOMMU_IO_PGTABLE_LPAE=y
> # CONFIG_IOMMU_IO_PGTABLE_DART is not set
> # end of Generic IOMMU Pagetable Support
>
> -# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
> +CONFIG_IOMMU_DEFAULT_DMA_STRICT=y
> # CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set
> -CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
> +# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
> CONFIG_OF_IOMMU=y
> CONFIG_IOMMU_DMA=y
> CONFIG_ROCKCHIP_IOMMU=y
> --
> 2.35.3
@@ -7190,9 +7190,9 @@ CONFIG_IOMMU_IO_PGTABLE_LPAE=y
# CONFIG_IOMMU_IO_PGTABLE_DART is not set
# end of Generic IOMMU Pagetable Support
-# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not set
+CONFIG_IOMMU_DEFAULT_DMA_STRICT=y
# CONFIG_IOMMU_DEFAULT_DMA_LAZY is not set
-CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
+# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not set
CONFIG_OF_IOMMU=y
CONFIG_IOMMU_DMA=y
CONFIG_ROCKCHIP_IOMMU=y