Thread (8 messages) flat view 8 messages, 4 authors, 2017-02-19

Re: [PATCH v2] powerpc: Add POWER9 architected mode to cputable

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2017-02-17 10:11:17

Daniel Axtens [off-list ref] writes:
Hi Russell,

This seems to go Power8, Power9, Power7 - is that intentional?

Regards,
Daniel
quoted
 		.platform		= "power8",
...
quoted
+		.platform		= "power9",
...
quoted
 	{	/* Power7 */
It's because we have the architected PVRs and the raw ones, and the
ordering is a bit odd:

$ grep -n -e '(architected)' -e '(raw)' arch/powerpc/kernel/cputable.c
323:		.cpu_name		= "POWER6 (raw)",
343:		.cpu_name		= "POWER6 (architected)",
356:		.cpu_name		= "POWER7 (architected)",
374:		.cpu_name		= "POWER8 (architected)",
392:		.cpu_name		= "POWER9 (architected)",
411:		.cpu_name		= "POWER7 (raw)",
431:		.cpu_name		= "POWER7+ (raw)",
451:		.cpu_name		= "POWER8E (raw)",
471:		.cpu_name		= "POWER8NVL (raw)",
491:		.cpu_name		= "POWER8 (raw)",
511:		.cpu_name		= "POWER8 (raw)",
531:		.cpu_name		= "POWER9 (raw)",
550:		.cpu_name		= "POWER9 (raw)",

But I don't think it matters in practice. The architected entries use a
pvr_mask of 0xffffffff so it has to be an exact match.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help