All of lore.kernel.org
 help / color / mirror / Atom feed
* Octeon breakage from 77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed
@ 2015-02-23 18:48 Paul Martin
  0 siblings, 0 replies; only message in thread
From: Paul Martin @ 2015-02-23 18:48 UTC (permalink / raw)
  To: linux-mips

Commit 77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed

  MIPS: mm: tlbex: Use cpu_has_mips_r2_exec_hazard for the EHB instruction

causes problems on Octeon when trying to run a 4.0-rc1 kernel:

  Kernel panic - not syncing: No TLB refill handler yet (CPU type: 79)

as arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
contains

  #define cpu_has_mips64r2        1
  #define cpu_has_mips_r2_exec_hazard 0

Reverting the patch allows the kernel to boot normally.

I'm not sure which is wrong: the use of cpu_has_mips_r2_exec_hazard to
detect the EHB instruction, or the Cavium headers.  I suspect the
override in the latter may be wrong.

I'll just note that 3.19 does not make any use of this value.

-- 
Paul Martin                                  http://www.codethink.co.uk/
Senior Software Developer, Codethink Ltd.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-23 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 18:48 Octeon breakage from 77f3ee59ee7cfe19e0ee48d9a990c7967fbfcbed Paul Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.