* [PATCH v1 3/3] sparc64: cpu hwarware caps support for sparc M7
@ 2014-08-22 5:53 Allen Pais
2014-08-23 18:51 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Allen Pais @ 2014-08-22 5:53 UTC (permalink / raw)
To: sparclinux
Signed-off-by: Allen Pais <allen.pais@oracle.com>
---
arch/sparc/kernel/setup_64.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/sparc/kernel/setup_64.c b/arch/sparc/kernel/setup_64.c
index 3fdb455..6738f1b 100644
--- a/arch/sparc/kernel/setup_64.c
+++ b/arch/sparc/kernel/setup_64.c
@@ -500,12 +500,14 @@ static void __init init_sparc64_elf_hwcap(void)
sun4v_chip_type = SUN4V_CHIP_NIAGARA3 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA4 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA5 ||
+ sun4v_chip_type = SUN4V_CHIP_SPARC_M7 ||
sun4v_chip_type = SUN4V_CHIP_SPARC64X)
cap |= HWCAP_SPARC_BLKINIT;
if (sun4v_chip_type = SUN4V_CHIP_NIAGARA2 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA3 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA4 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA5 ||
+ sun4v_chip_type = SUN4V_CHIP_SPARC_M7 ||
sun4v_chip_type = SUN4V_CHIP_SPARC64X)
cap |= HWCAP_SPARC_N2;
}
@@ -533,6 +535,7 @@ static void __init init_sparc64_elf_hwcap(void)
sun4v_chip_type = SUN4V_CHIP_NIAGARA3 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA4 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA5 ||
+ sun4v_chip_type = SUN4V_CHIP_SPARC_M7 ||
sun4v_chip_type = SUN4V_CHIP_SPARC64X)
cap |= (AV_SPARC_VIS | AV_SPARC_VIS2 |
AV_SPARC_ASI_BLK_INIT |
@@ -540,6 +543,7 @@ static void __init init_sparc64_elf_hwcap(void)
if (sun4v_chip_type = SUN4V_CHIP_NIAGARA3 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA4 ||
sun4v_chip_type = SUN4V_CHIP_NIAGARA5 ||
+ sun4v_chip_type = SUN4V_CHIP_SPARC_M7 ||
sun4v_chip_type = SUN4V_CHIP_SPARC64X)
cap |= (AV_SPARC_VIS3 | AV_SPARC_HPC |
AV_SPARC_FMAF);
--
1.8.4.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1 3/3] sparc64: cpu hwarware caps support for sparc M7
2014-08-22 5:53 [PATCH v1 3/3] sparc64: cpu hwarware caps support for sparc M7 Allen Pais
@ 2014-08-23 18:51 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-08-23 18:51 UTC (permalink / raw)
To: sparclinux
From: Allen Pais <allen.pais@oracle.com>
Date: Fri, 22 Aug 2014 11:22:53 +0530
> Signed-off-by: Allen Pais <allen.pais@oracle.com>
You misspelled "hardware" in the Subject line.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-23 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-22 5:53 [PATCH v1 3/3] sparc64: cpu hwarware caps support for sparc M7 Allen Pais
2014-08-23 18:51 ` David Miller
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.