4xx: Add 405EXr to cputable
PATCH 1/2 4xx: Add 405EXr to cputable
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
--- arch/powerpc/kernel/cputable.c | 16 ++++++++++++++-- 1 files changed, 14 insertions(+), 2 deletions(-)
arch/powerpc/kernel/cputable.c +14 -2
@@ -1178,8 +1178,8 @@ static struct cpu_spec __initdata cpu_specs[] = { .platform = "ppc405", }, {/* 405EX */ - .pvr_mask = 0xffff0000, - .pvr_value = 0x12910000, + .pvr_mask = 0xffff0004, + .pvr_value = 0x12910004, .cpu_name = "405EX", .cpu_features = CPU_FTRS_40X, .cpu_user_features = PPC_FEATURE_32 |
@@ -1189,6 +1189,18 @@ static struct cpu_spec __initdata cpu_specs[] = { .machine_check = machine_check_4xx, .platform = "ppc405", }, + { /* 405EXr */ + .pvr_mask = 0xffff0004, + .pvr_value = 0x12910000, + .cpu_name = "405EXr", + .cpu_features = CPU_FTRS_40X, + .cpu_user_features = PPC_FEATURE_32 | + PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC, + .icache_bsize = 32, + .dcache_bsize = 32, + .machine_check = machine_check_4xx, + .platform = "ppc405", + }, #endif /* CONFIG_40x */ #ifdef CONFIG_44x
Signature · 1 line
1.5.4.rc3
Quoted 2 lines · Stefan Roese
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
Sounds like they have the same core... why do they need separate cputable entries?
-Scott
Quoted 6 lines · Scott Wood
Quoted 2 lines · Stefan Roese
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
Sounds like they have the same core... why do they need separate cputable entries?
AMCC has always indicated SoC products by new PVRs. This isn't news, even though it isn't exactly a clean solution. :)
-Olof
Quoted 9 lines · Olof Johansson
Quoted 5 lines · Scott Wood
Quoted 2 lines · Stefan Roese
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
Sounds like they have the same core... why do they need separate cputable entries?
AMCC has always indicated SoC products by new PVRs. This isn't news, even though it isn't exactly a clean solution. :)
But the old 405EX entry would have matched both chips. Why add a new significant bit to pvr_mask? For the name in /proc/cpuinfo?
-Scott
Quoted 5 lines · Scott Wood
Quoted 4 lines · Olof Johansson
Quoted 3 lines · Scott Wood
Quoted 2 lines · Stefan Roese
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
Sounds like they have the same core... why do they need separate cputable entries?
AMCC has always indicated SoC products by new PVRs. This isn't news, even though it isn't exactly a clean solution. :)
But the old 405EX entry would have matched both chips. Why add a new significant bit to
pvr_mask? For the name in/proc/cpuinfo?
Presumably, yes.
Again, this is nothing new. Other 405/440 products are doing the same thing.
-Olof
Quoted 12 lines · On Tue, 15 Jan 2008 12:38:09 -0600 Olof Johansson <[email protected]> wrote:
Quoted 11 lines · Scott Wood
Quoted 9 lines · Olof Johansson
Quoted 5 lines · Scott Wood
Quoted 2 lines · Stefan Roese
This patch adds the 405EXr to the powerpc cuptable. Basically the 405EXr is a 405EX with only one EMAC and only one PCIe interface.
Sounds like they have the same core... why do they need separate cputable entries?
AMCC has always indicated SoC products by new PVRs. This isn't news, even though it isn't exactly a clean solution. :)
Quoted 7 lines
Quoted 2 lines
But the old 405EX entry would have matched both chips. Why add a new significant bit to
pvr_mask? For the name in/proc/cpuinfo?Presumably, yes.
Again, this is nothing new. Other 405/440 products are doing the same thing.
Does anyone have an actual problem with this patch? I'm inclined to take it as it doesn't really cause any problems and may eventually be needed anyway if there is a chip errata or something.
josh