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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160128103441.GS14823@e104818-lin.cambridge.arm.com>
Date:	Thu, 28 Jan 2016 10:34:41 +0000
From:	Catalin Marinas <catalin.marinas@....com>
To:	dann frazier <dann.frazier@...onical.com>
Cc:	Will Deacon <will.deacon@....com>, Duc Dang <dhdang@....com>,
	Kumar Sankaran <ksankaran@....com>, Loc Ho <lho@....com>,
	Feng Kan <fkan@....com>, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page
 size

On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote:
> 16K page size is an optional feature of the architecture, and is not
> supported by the X-Gene SoC family.
> 
> Signed-off-by: dann frazier <dann.frazier@...onical.com>
> ---
>  arch/arm64/Kconfig.platforms | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 21074f6..b241290 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -133,6 +133,7 @@ config ARCH_VEXPRESS
>  
>  config ARCH_XGENE
>  	bool "AppliedMicro X-Gene SOC Family"
> +	depends on !ARM64_16K_PAGES
>  	help
>  	  This enables support for AppliedMicro X-Gene SOC Family

This would be the case on Juno as well. But maybe at some point the
X-Gene family would gain a CPU with such support.

Anyway, I would rather make 16K pages depend on EXPERT, make it a bit
harder to enable. We've had a few questions recently about enabling it
on CPUs that don't have such feature.

-- 
Catalin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ