linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* BUG: Patch "Convert some mftb/mftbu into mfspr" breaks MPC885
@ 2013-11-20 10:21 leroy christophe
  0 siblings, 0 replies; 3+ messages in thread
From: leroy christophe @ 2013-11-20 10:21 UTC (permalink / raw)
  To: Scott Wood; +Cc: LinuxPPC-dev, linux-kernel

Scott,

The patch "Convert some mftb/mftbu into mfspr" 
(beb2dc0a7a84be003ce54e98b95d65cc66e6e536) breaks startup on MPC885.

The CPU traps (SoftwareEmulation trap) at sched_clock() when trying to 
read TBU with mfspr.

Reverting the patch solves the issue.

What's the prefered way to fix this ?

Christophe

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

* Re: BUG: Patch "Convert some mftb/mftbu into mfspr" breaks MPC885
  2013-11-20  9:37 leroy christophe
@ 2013-11-20 16:57 ` Scott Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Wood @ 2013-11-20 16:57 UTC (permalink / raw)
  To: leroy christophe; +Cc: LinuxPPC-dev, linux-kernel

On Wed, 2013-11-20 at 10:37 +0100, leroy christophe wrote:
> Scott,
> 
> The patch "Convert some mftb/mftbu into
> mfspr" (beb2dc0a7a84be003ce54e98b95d65cc66e6e536) breaks startup on
> MPC885.
> 
> The CPU traps (SoftwareEmulation trap) at sched_clock() when trying to
> read TBU with mfspr.
> 
> Reverting the patch solves the issue.
> 
> What's the prefered way to fix this ?

I guess we need to add an ifdef.

-Scott

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

* BUG: Patch "Convert some mftb/mftbu into mfspr" breaks MPC885
@ 2013-11-20  9:37 leroy christophe
  2013-11-20 16:57 ` Scott Wood
  0 siblings, 1 reply; 3+ messages in thread
From: leroy christophe @ 2013-11-20  9:37 UTC (permalink / raw)
  To: Scott Wood; +Cc: LinuxPPC-dev, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Scott,

The patch "Convert some mftb/mftbu into mfspr" 
(beb2dc0a7a84be003ce54e98b95d65cc66e6e536 
<https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/arch/powerpc/include/asm/reg.h?id=beb2dc0a7a84be003ce54e98b95d65cc66e6e536>) 
breaks startup on MPC885.

The CPU traps (SoftwareEmulation trap) at sched_clock() when trying to 
read TBU with mfspr.

Reverting the patch solves the issue.

What's the prefered way to fix this ?

Christophe

[-- Attachment #2: Type: text/html, Size: 1160 bytes --]

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

end of thread, other threads:[~2013-11-20 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-20 10:21 BUG: Patch "Convert some mftb/mftbu into mfspr" breaks MPC885 leroy christophe
  -- strict thread matches above, loose matches on Subject: below --
2013-11-20  9:37 leroy christophe
2013-11-20 16:57 ` Scott Wood

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).