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] [day] [month] [year] [list]
Date:	Mon, 5 Jan 2015 12:30:20 +0100
From:	Michal Simek <michal.simek@...inx.com>
To:	Erico Nunes <nunes.erico@...il.com>, <michal.simek@...inx.com>
CC:	<monstr@...str.eu>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] microblaze: Add missing PVR version codes

On 01/02/2015 03:40 AM, Erico Nunes wrote:
> PVR version code was missing in the cpu_ver_lookup table for the following
> versions: 8.50.b 8.50.c 9.2 9.3
> 
> This caused /proc/cpuinfo to display "CPU-Ver: Unknown" for these versions.
> 
> This was detected and the patch tested with MicroBlaze version 8.50.c.
> The other codes were taken from the Xilinx MicroBlaze Processor Reference
> Guides UG081 (v14.7) and UG984 (v2014.1).
> 
> Signed-off-by: Erico Nunes <nunes.erico@...il.com>
> ---
>  arch/microblaze/kernel/cpu/cpuinfo.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/microblaze/kernel/cpu/cpuinfo.c b/arch/microblaze/kernel/cpu/cpuinfo.c
> index 234acad..b60442d 100644
> --- a/arch/microblaze/kernel/cpu/cpuinfo.c
> +++ b/arch/microblaze/kernel/cpu/cpuinfo.c
> @@ -41,8 +41,12 @@ const struct cpu_ver_key cpu_ver_lookup[] = {
>  	{"8.40.a", 0x18},
>  	{"8.40.b", 0x19},
>  	{"8.50.a", 0x1a},
> +	{"8.50.b", 0x1c},
> +	{"8.50.c", 0x1e},
>  	{"9.0", 0x1b},
>  	{"9.1", 0x1d},
> +	{"9.2", 0x1f},
> +	{"9.3", 0x20},
>  	{NULL, 0},
>  };
>  
> 

Applied.

Thanks,
Michal
--
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