linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] The MPC83xx family doesn't support performance monitor instructions
@ 2008-03-06  0:33 Gerald Van Baren
  2008-03-06 14:07 ` Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Gerald Van Baren @ 2008-03-06  0:33 UTC (permalink / raw)
  To: linuxppc-dev, galak

"Errata to MPC8349EA PowerQUICC[tm] II Pro Integrated Host Processor Family
Reference Manual, Rev. 1" (Freescale)

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
---

Hi Kumar,

Please apply this fix to 2.6.25rc4 if possible.  Without this
patch, the PPC_83xx family configuration is broken (will not compile).

 arch/powerpc/platforms/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 0afd225..a578b96 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -22,7 +22,6 @@ config PPC_83xx
 	select FSL_SOC
 	select MPC83xx
 	select IPIC
-	select FSL_EMB_PERFMON
 
 config PPC_86xx
 	bool "Freescale 86xx"
-- 
1.5.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] The MPC83xx family doesn't support performance monitor instructions
  2008-03-06  0:33 [PATCH] The MPC83xx family doesn't support performance monitor instructions Gerald Van Baren
@ 2008-03-06 14:07 ` Kumar Gala
  2008-03-06 14:48   ` Realtime ethernet Mehlan, Markus (Ritter Elektronik)
  2008-03-07  0:51   ` [PATCH] The MPC83xx family doesn't support performance monitor instructions Jerry Van Baren
  0 siblings, 2 replies; 4+ messages in thread
From: Kumar Gala @ 2008-03-06 14:07 UTC (permalink / raw)
  To: Gerald Van Baren; +Cc: linuxppc-dev


On Mar 5, 2008, at 6:33 PM, Gerald Van Baren wrote:

> "Errata to MPC8349EA PowerQUICC[tm] II Pro Integrated Host Processor  
> Family
> Reference Manual, Rev. 1" (Freescale)
>
> Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
> ---
>
> Hi Kumar,
>
> Please apply this fix to 2.6.25rc4 if possible.  Without this
> patch, the PPC_83xx family configuration is broken (will not compile).

What's the compile issue?  Some of the 83xx family have perf mon so we  
need to fix the compile issue.

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Realtime ethernet
  2008-03-06 14:07 ` Kumar Gala
@ 2008-03-06 14:48   ` Mehlan, Markus (Ritter Elektronik)
  2008-03-07  0:51   ` [PATCH] The MPC83xx family doesn't support performance monitor instructions Jerry Van Baren
  1 sibling, 0 replies; 4+ messages in thread
From: Mehlan, Markus (Ritter Elektronik) @ 2008-03-06 14:48 UTC (permalink / raw)
  To: Linuxppc-dev

Hello,

who knows a solution for realtime ethernet with
 an actual kernel (> 2.6.23)?

Best regards,
Markus=20

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] The MPC83xx family doesn't support performance monitor instructions
  2008-03-06 14:07 ` Kumar Gala
  2008-03-06 14:48   ` Realtime ethernet Mehlan, Markus (Ritter Elektronik)
@ 2008-03-07  0:51   ` Jerry Van Baren
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry Van Baren @ 2008-03-07  0:51 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Kumar Gala wrote:
> On Mar 5, 2008, at 6:33 PM, Gerald Van Baren wrote:
> 
>> "Errata to MPC8349EA PowerQUICC[tm] II Pro Integrated Host Processor  
>> Family
>> Reference Manual, Rev. 1" (Freescale)
>>
>> Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
>> ---
>>
>> Hi Kumar,
>>
>> Please apply this fix to 2.6.25rc4 if possible.  Without this
>> patch, the PPC_83xx family configuration is broken (will not compile).
> 
> What's the compile issue?  Some of the 83xx family have perf mon so we  
> need to fix the compile issue.
> 
> - k

Hi Kumar,

The mpc8360 and mpc8349 do not have a perfmon register (I don't find it 
at all in the MPC8360RM and the mpc8349 errata I referenced says the 
MPC8349RM is in error).

The result is that the assembler dies with an error.  If the assembler 
didn't die with an error, I presume the kernel would since it is an 
invalid SPR.

   CC      arch/powerpc/kernel/pmc.o
{standard input}: Assembler messages:
{standard input}:7: Error: Unrecognized opcode: `mfpmr'
{standard input}:11: Error: Unrecognized opcode: `mtpmr'
make[1]: *** [arch/powerpc/kernel/pmc.o] Error 1
make: *** [arch/powerpc/kernel] Error 2

This is using ELDK4.1 (also 4.2rc) using the ppc_6xx- version of the 
compiler (which symlinks to powerpc-linux-gcc).

If some of the mpc83xx processors have perfmon registers, we need a more 
granular way of selecting the CONFIG_FSL_EMB_PERFMON option (or a Plan 
B, but I don't know what Plan B would be).

Best regards,
gvb

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-07  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06  0:33 [PATCH] The MPC83xx family doesn't support performance monitor instructions Gerald Van Baren
2008-03-06 14:07 ` Kumar Gala
2008-03-06 14:48   ` Realtime ethernet Mehlan, Markus (Ritter Elektronik)
2008-03-07  0:51   ` [PATCH] The MPC83xx family doesn't support performance monitor instructions Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).