lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 15 Feb 2015 11:17:19 +0000
From:	Chris Clayton <chris2553@...glemail.com>
To:	LKML <linux-kernel@...r.kernel.org>, will.deacon@....com
Subject: [PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only

When running "make oldconfig" for an x86_64 kernel, I was prompted for a setting for IOMMU_IO_PGTABLE_LPAE. From the
prompt and the help text it appears that this config item is relevant to ARMv7/v8 only. This patch prevents the prompt
on non-ARM architectures. Compile tested building a cross-compiled x86_64 kernel in an x86 user space. The resultant
kernel boots fine and I am running it now.

Fixes: e1d3c0fd701df831169b116cd5c5d6203ac07f70
Cc: will.deacon@....com
Signed-off-by: Chris Clayton <chris2553@...glemail.com>

--- linux/drivers/iommu/Kconfig.orig    2015-02-15 09:44:01.235927248 +0000
+++ linux/drivers/iommu/Kconfig 2015-02-15 09:44:41.131926434 +0000
@@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE

 config IOMMU_IO_PGTABLE_LPAE
        bool "ARMv7/v8 Long Descriptor Format"
+       depends on ARM || ARM64
        select IOMMU_IO_PGTABLE
        help
          Enable support for the ARM long descriptor pagetable format.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ