Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "Petar Jovanovic" <petar.jovanovic@rt-rk.com>
To: <linux-mips@linux-mips.org>
Cc: <ralf@linux-mips.org>, <david.daney@cavium.com>,
	<petar.jovanovic@imgtec.com>
Subject: RE: [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1
Date: Wed, 5 Apr 2017 18:01:09 +0200	[thread overview]
Message-ID: <001b01d2ae25$d7554b80$85ffe280$@rt-rk.com> (raw)
In-Reply-To: <1489600751-82884-1-git-send-email-petar.jovanovic@rt-rk.com>

ping.

-----Original Message-----
From: Petar Jovanovic [mailto:petar.jovanovic@rt-rk.com] 
Sent: Wednesday, March 15, 2017 6:59 PM
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org; david.daney@cavium.com; petar.jovanovic@imgtec.com;
Petar Jovanovic <petar.jovanovic@rt-rk.com>
Subject: [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and
mips64r1

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

WARNING: multiple messages have this Message-ID (diff)
From: "Petar Jovanovic" <petar.jovanovic@rt-rk.com>
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org, david.daney@cavium.com, petar.jovanovic@imgtec.com
Subject: RE: [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1
Date: Wed, 5 Apr 2017 18:01:09 +0200	[thread overview]
Message-ID: <001b01d2ae25$d7554b80$85ffe280$@rt-rk.com> (raw)
Message-ID: <20170405160109.0PjIIzNaDoUgWPZhMicsRrGZwlIja2llGYaw18lqLvo@z> (raw)
In-Reply-To: <1489600751-82884-1-git-send-email-petar.jovanovic@rt-rk.com>

ping.

-----Original Message-----
From: Petar Jovanovic [mailto:petar.jovanovic@rt-rk.com] 
Sent: Wednesday, March 15, 2017 6:59 PM
To: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org; david.daney@cavium.com; petar.jovanovic@imgtec.com;
Petar Jovanovic <petar.jovanovic@rt-rk.com>
Subject: [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and
mips64r1

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

  reply	other threads:[~2017-04-05 16:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 17:59 [PATCH] MIPS: Octeon: Expose support for mips32r1, mips32r2 and mips64r1 Petar Jovanovic
2017-04-05 16:01 ` Petar Jovanovic [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001b01d2ae25$d7554b80$85ffe280$@rt-rk.com' \
    --to=petar.jovanovic@rt-rk.com \
    --cc=david.daney@cavium.com \
    --cc=linux-mips@linux-mips.org \
    --cc=petar.jovanovic@imgtec.com \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox