[an error occurred while processing this directive]
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
 
[an error occurred while processing this directive]
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9034CBD80F070943B59700D7F8149ED9A0875740@SC-VEXCH4.marvell.com>
Date:	Tue, 13 May 2014 20:09:10 -0700
From:	Neil Zhang <zhangwm@...vell.com>
To:	Neil Zhang <zhangwm@...vell.com>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC:	"catalin.marinas@....com" <catalin.marinas@....com>,
	"will.deacon@....com" <will.deacon@....com>
Subject: RE: [PATCH] ARM64: kernel: add compatable cpuinfo


> -----Original Message-----
> From: Neil Zhang [mailto:zhangwm@...vell.com]
> Sent: 2014年5月14日 11:00
> To: linux-arm-kernel@...ts.infradead.org; linux-kernel@...r.kernel.org
> Cc: catalin.marinas@....com; will.deacon@....com; Neil Zhang
> Subject: [PATCH] ARM64: kernel: add compatable cpuinfo
> 

Fix typo in version 2.

> Print the necessary features in order to be backwards compatable with
> ARMv7 and earlier version.
> 
> Signed-off-by: Neil Zhang <zhangwm@...vell.com>
> ---
>  arch/arm64/kernel/setup.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index
> 7ec7846..a09ecfe 100644
> --- a/arch/arm64/kernel/setup.c
> +++ b/arch/arm64/kernel/setup.c
> @@ -451,6 +451,11 @@ static int c_show(struct seq_file *m, void *v)
>  		if (elf_hwcap & (1 << i))
>  			seq_printf(m, "%s ", hwcap_str[i]);
> 
> +#ifdef CONFIG_COMPAT
> +	seq_puts(m, "half thumb fastmult edsp tls vfp vfpv3 vfpv4 neon ");
> +	seq_puts(m, "idiva idivt ");
> +#endif
> +
>  	seq_printf(m, "\nCPU implementer\t: 0x%02x\n", read_cpuid_id() >>
> 24);
>  	seq_printf(m, "CPU architecture: AArch64\n");
>  	seq_printf(m, "CPU variant\t: 0x%x\n", (read_cpuid_id() >> 20) & 15);
> --
> 1.7.9.5

Best Regards,
Neil Zhang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ