All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1
@ 2017-03-15 17:59 Petar Jovanovic
  2017-04-05 16:01   ` Petar Jovanovic
  0 siblings, 1 reply; 24+ messages in thread
From: Petar Jovanovic @ 2017-03-15 17:59 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf, david.daney, petar.jovanovic, Petar Jovanovic

Define Cavium Octeon as a CPU that has support for mips32r1, mips32r2 and
mips64r1. This will affect show_cpuinfo() that will now correctly expose
mips32r1, mips32r2 and mips64r1 as supported ISAs.

Signed-off-by: Petar Jovanovic <petar.jovanovic@rt-rk.com>
---
 arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h b/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
index bd8b9bb..a4f7986 100644
--- a/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
+++ b/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h
@@ -46,9 +46,9 @@
 #define cpu_has_64bits		1
 #define cpu_has_octeon_cache	1
 #define cpu_has_saa		octeon_has_saa()
-#define cpu_has_mips32r1	0
-#define cpu_has_mips32r2	0
-#define cpu_has_mips64r1	0
+#define cpu_has_mips32r1	1
+#define cpu_has_mips32r2	1
+#define cpu_has_mips64r1	1
 #define cpu_has_mips64r2	1
 #define cpu_has_dsp		0
 #define cpu_has_dsp2		0
-- 
1.9.1

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

end of thread, other threads:[~2017-09-14 16:41 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 17:59 [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1 Petar Jovanovic
2017-04-05 16:01 ` Petar Jovanovic
2017-04-05 16:01   ` Petar Jovanovic
2017-04-25 17:24   ` Petar Jovanovic
2017-05-08 15:25     ` Petar Jovanovic
2017-05-08 15:25       ` Petar Jovanovic
2017-05-15 11:33       ` Petar Jovanovic
2017-05-21  1:37         ` Maciej W. Rozycki
2017-05-22 16:25           ` David Daney
2017-05-22 16:43             ` Petar Jovanovic
2017-05-22 16:43               ` Petar Jovanovic
2017-05-22 17:52             ` Maciej W. Rozycki
2017-06-16 13:26               ` Petar Jovanovic
2017-06-16 13:26                 ` Petar Jovanovic
2017-07-06 16:17                 ` Petar Jovanovic
2017-07-06 20:47                   ` Maciej W. Rozycki
2017-07-07 11:37                     ` Petar Jovanovic
2017-07-07 11:37                       ` Petar Jovanovic
2017-07-07 15:04                       ` Maciej W. Rozycki
2017-07-07 15:04                         ` Maciej W. Rozycki
2017-07-07 16:19                         ` David Daney
2017-08-07 16:59                           ` Petar Jovanovic
2017-09-14 16:41                             ` Petar Jovanovic
2017-09-14 16:41                               ` Petar Jovanovic

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.