* [PATCH 1/6] arm: realview: specify PMU types
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
@ 2014-11-19 11:49 ` Mark Rutland
2014-11-28 10:29 ` Linus Walleij
2014-11-19 11:49 ` [PATCH 2/6] arm: pxa: specify PMUs are for XScale CPUs Mark Rutland
` (4 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the realview board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers.
The Realview EB may be used with ARMv6 or ARMv7 CPUs, but luckily
there's only a single ARMv7 CPU, so we can match that explicitly to
determine whether or not we have an ARMv7 PMU.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-realview/realview_eb.c | 3 ++-
arch/arm/mach-realview/realview_pb1176.c | 2 +-
arch/arm/mach-realview/realview_pb11mp.c | 2 +-
arch/arm/mach-realview/realview_pba8.c | 2 +-
arch/arm/mach-realview/realview_pbx.c | 2 +-
5 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/arch/arm/mach-realview/realview_eb.c b/arch/arm/mach-realview/realview_eb.c
index 739d4f1..64c88d6 100644
--- a/arch/arm/mach-realview/realview_eb.c
+++ b/arch/arm/mach-realview/realview_eb.c
@@ -37,6 +37,7 @@
#include <asm/pgtable.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/smp_twd.h>
+#include <asm/system_info.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
@@ -296,7 +297,6 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
@@ -451,6 +451,7 @@ static void __init realview_eb_init(void)
*/
l2x0_init(__io_address(REALVIEW_EB11MP_L220_BASE), 0x00790000, 0xfe000fff);
#endif
+ pmu_device.name = core_tile_a9mp() ? "armv7-pmu" : "armv6-pmu";
platform_device_register(&pmu_device);
}
diff --git a/arch/arm/mach-realview/realview_pb1176.c b/arch/arm/mach-realview/realview_pb1176.c
index b0e0dca..ce92c18 100644
--- a/arch/arm/mach-realview/realview_pb1176.c
+++ b/arch/arm/mach-realview/realview_pb1176.c
@@ -280,7 +280,7 @@ static struct resource pmu_resource = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv6-pmu",
.id = -1,
.num_resources = 1,
.resource = &pmu_resource,
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c
index 47bf55f..15c45e2 100644
--- a/arch/arm/mach-realview/realview_pb11mp.c
+++ b/arch/arm/mach-realview/realview_pb11mp.c
@@ -262,7 +262,7 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv6-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
diff --git a/arch/arm/mach-realview/realview_pba8.c b/arch/arm/mach-realview/realview_pba8.c
index 4e57a85..4c64662 100644
--- a/arch/arm/mach-realview/realview_pba8.c
+++ b/arch/arm/mach-realview/realview_pba8.c
@@ -240,7 +240,7 @@ static struct resource pmu_resource = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv7-pmu",
.id = -1,
.num_resources = 1,
.resource = &pmu_resource,
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c
index d89eb40..9a22b86 100644
--- a/arch/arm/mach-realview/realview_pbx.c
+++ b/arch/arm/mach-realview/realview_pbx.c
@@ -280,7 +280,7 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv7-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 1/6] arm: realview: specify PMU types
2014-11-19 11:49 ` [PATCH 1/6] arm: realview: specify PMU types Mark Rutland
@ 2014-11-28 10:29 ` Linus Walleij
0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2014-11-28 10:29 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 19, 2014 at 12:49 PM, Mark Rutland <mark.rutland@arm.com> wrote:
> Now that we can specify which PMU variant we're likely to deal with, do
> so in the realview board code. This will allow us to split the ARMv6,
> ARMv7, and XScale PMU drivers.
>
> The Realview EB may be used with ARMv6 or ARMv7 CPUs, but luckily
> there's only a single ARMv7 CPU, so we can match that explicitly to
> determine whether or not we have an ARMv7 PMU.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 2/6] arm: pxa: specify PMUs are for XScale CPUs
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
2014-11-19 11:49 ` [PATCH 1/6] arm: realview: specify PMU types Mark Rutland
@ 2014-11-19 11:49 ` Mark Rutland
2014-11-19 20:12 ` Robert Jarzmik
2014-11-19 11:49 ` [PATCH 3/6] arm: vexpress: specify PMUs are for ARMv7 CPUs Mark Rutland
` (3 subsequent siblings)
5 siblings, 1 reply; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the pxa board code. This will allow us to split the ARMv6, ARMv7,
and XScale PMU drivers.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Daniel Mack <daniel@zonque.org>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-pxa/devices.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-pxa/devices.c b/arch/arm/mach-pxa/devices.c
index ac7b3ea..3543466 100644
--- a/arch/arm/mach-pxa/devices.c
+++ b/arch/arm/mach-pxa/devices.c
@@ -40,7 +40,7 @@ static struct resource pxa_resource_pmu = {
};
struct platform_device pxa_device_pmu = {
- .name = "arm-pmu",
+ .name = "xscale-pmu",
.id = -1,
.resource = &pxa_resource_pmu,
.num_resources = 1,
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/6] arm: pxa: specify PMUs are for XScale CPUs
2014-11-19 11:49 ` [PATCH 2/6] arm: pxa: specify PMUs are for XScale CPUs Mark Rutland
@ 2014-11-19 20:12 ` Robert Jarzmik
0 siblings, 0 replies; 12+ messages in thread
From: Robert Jarzmik @ 2014-11-19 20:12 UTC (permalink / raw)
To: linux-arm-kernel
Mark Rutland <mark.rutland@arm.com> writes:
> Now that we can specify which PMU variant we're likely to deal with, do
> so in the pxa board code. This will allow us to split the ARMv6, ARMv7,
> and XScale PMU drivers.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Daniel Mack <daniel@zonque.org>
> Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
> Cc: Robert Jarzmik <robert.jarzmik@free.fr>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
--
Robert
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 3/6] arm: vexpress: specify PMUs are for ARMv7 CPUs
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
2014-11-19 11:49 ` [PATCH 1/6] arm: realview: specify PMU types Mark Rutland
2014-11-19 11:49 ` [PATCH 2/6] arm: pxa: specify PMUs are for XScale CPUs Mark Rutland
@ 2014-11-19 11:49 ` Mark Rutland
2014-11-19 11:49 ` [PATCH 4/6] arm: iop: specify PMUs are for XScale CPUs Mark Rutland
` (2 subsequent siblings)
5 siblings, 0 replies; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the vexpress board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-vexpress/ct-ca9x4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-vexpress/ct-ca9x4.c b/arch/arm/mach-vexpress/ct-ca9x4.c
index 27bea04..656a17f 100644
--- a/arch/arm/mach-vexpress/ct-ca9x4.c
+++ b/arch/arm/mach-vexpress/ct-ca9x4.c
@@ -139,7 +139,7 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv7-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/6] arm: iop: specify PMUs are for XScale CPUs
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
` (2 preceding siblings ...)
2014-11-19 11:49 ` [PATCH 3/6] arm: vexpress: specify PMUs are for ARMv7 CPUs Mark Rutland
@ 2014-11-19 11:49 ` Mark Rutland
2014-11-28 10:30 ` Linus Walleij
2014-11-19 11:49 ` [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs Mark Rutland
2014-11-19 11:50 ` [PATCH 6/6] arm: omap: " Mark Rutland
5 siblings, 1 reply; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the iop board code. This will allow us to split the ARMv6, ARMv7,
and XScale PMU drivers.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/plat-iop/pmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/plat-iop/pmu.c b/arch/arm/plat-iop/pmu.c
index ad9f974..c6d979a 100644
--- a/arch/arm/plat-iop/pmu.c
+++ b/arch/arm/plat-iop/pmu.c
@@ -24,7 +24,7 @@ static struct resource pmu_resource = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "xscale-pmu",
.id = -1,
.resource = &pmu_resource,
.num_resources = 1,
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/6] arm: iop: specify PMUs are for XScale CPUs
2014-11-19 11:49 ` [PATCH 4/6] arm: iop: specify PMUs are for XScale CPUs Mark Rutland
@ 2014-11-28 10:30 ` Linus Walleij
0 siblings, 0 replies; 12+ messages in thread
From: Linus Walleij @ 2014-11-28 10:30 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 19, 2014 at 12:49 PM, Mark Rutland <mark.rutland@arm.com> wrote:
> Now that we can specify which PMU variant we're likely to deal with, do
> so in the iop board code. This will allow us to split the ARMv6, ARMv7,
> and XScale PMU drivers.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
` (3 preceding siblings ...)
2014-11-19 11:49 ` [PATCH 4/6] arm: iop: specify PMUs are for XScale CPUs Mark Rutland
@ 2014-11-19 11:49 ` Mark Rutland
2014-11-20 1:12 ` Simon Horman
2014-11-19 11:50 ` [PATCH 6/6] arm: omap: " Mark Rutland
5 siblings, 1 reply; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the shmobile board code. This will allow us to split the ARMv6,
ARMv7, and XScale PMU drivers
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <magnus.damm@gmail.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-shmobile/setup-r8a7740.c | 2 +-
arch/arm/mach-shmobile/setup-sh73a0.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index 8894e1b..f3abc9e 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -659,7 +659,7 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv7-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
index b7bd8e5..23aa1c1 100644
--- a/arch/arm/mach-shmobile/setup-sh73a0.c
+++ b/arch/arm/mach-shmobile/setup-sh73a0.c
@@ -546,7 +546,7 @@ static struct resource pmu_resources[] = {
};
static struct platform_device pmu_device = {
- .name = "arm-pmu",
+ .name = "armv7-pmu",
.id = -1,
.num_resources = ARRAY_SIZE(pmu_resources),
.resource = pmu_resources,
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs
2014-11-19 11:49 ` [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs Mark Rutland
@ 2014-11-20 1:12 ` Simon Horman
0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2014-11-20 1:12 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Nov 19, 2014 at 11:49:59AM +0000, Mark Rutland wrote:
> Now that we can specify which PMU variant we're likely to deal with, do
> so in the shmobile board code. This will allow us to split the ARMv6,
> ARMv7, and XScale PMU drivers
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Simon Horman <horms@verge.net.au>
> Cc: Magnus Damm <magnus.damm@gmail.com>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
> ---
> arch/arm/mach-shmobile/setup-r8a7740.c | 2 +-
> arch/arm/mach-shmobile/setup-sh73a0.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Hi Mark,
I'm happy to take this through my tree for v3.20.
>
> diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
> index 8894e1b..f3abc9e 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7740.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7740.c
> @@ -659,7 +659,7 @@ static struct resource pmu_resources[] = {
> };
>
> static struct platform_device pmu_device = {
> - .name = "arm-pmu",
> + .name = "armv7-pmu",
> .id = -1,
> .num_resources = ARRAY_SIZE(pmu_resources),
> .resource = pmu_resources,
> diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c
> index b7bd8e5..23aa1c1 100644
> --- a/arch/arm/mach-shmobile/setup-sh73a0.c
> +++ b/arch/arm/mach-shmobile/setup-sh73a0.c
> @@ -546,7 +546,7 @@ static struct resource pmu_resources[] = {
> };
>
> static struct platform_device pmu_device = {
> - .name = "arm-pmu",
> + .name = "armv7-pmu",
> .id = -1,
> .num_resources = ARRAY_SIZE(pmu_resources),
> .resource = pmu_resources,
> --
> 1.9.1
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 6/6] arm: omap: specify PMUs are for ARMv7 CPUs
2014-11-19 11:49 [PATCH 0/6] arm: specify PMU type in platform data Mark Rutland
` (4 preceding siblings ...)
2014-11-19 11:49 ` [PATCH 5/6] arm: shmobile: specify PMUs are for ARMv7 CPUs Mark Rutland
@ 2014-11-19 11:50 ` Mark Rutland
2014-11-21 23:15 ` Tony Lindgren
5 siblings, 1 reply; 12+ messages in thread
From: Mark Rutland @ 2014-11-19 11:50 UTC (permalink / raw)
To: linux-arm-kernel
Now that we can specify which PMU variant we're likely to deal with, do
so in the omap board code. This will allow us to split the ARMv6, ARMv7,
and XScale PMU drivers.
The unnecessary include of asm/pmu.h is also removed.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Arnd Bergmann <arnd@arndb.de>
---
arch/arm/mach-omap2/pmu.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c
index 33c8846..a69e9a3 100644
--- a/arch/arm/mach-omap2/pmu.c
+++ b/arch/arm/mach-omap2/pmu.c
@@ -13,7 +13,7 @@
*/
#include <linux/of.h>
-#include <asm/pmu.h>
+#include <asm/system_info.h>
#include "soc.h"
#include "omap_hwmod.h"
@@ -37,7 +37,8 @@ static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[])
{
int i;
struct omap_hwmod *oh[3];
- char *dev_name = "arm-pmu";
+ char *dev_name = cpu_architecture() == CPU_ARCH_ARMv6 ?
+ "armv6-pmu" : "armv7-pmu";
if ((!oh_num) || (oh_num > 3))
return -EINVAL;
--
1.9.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 6/6] arm: omap: specify PMUs are for ARMv7 CPUs
2014-11-19 11:50 ` [PATCH 6/6] arm: omap: " Mark Rutland
@ 2014-11-21 23:15 ` Tony Lindgren
0 siblings, 0 replies; 12+ messages in thread
From: Tony Lindgren @ 2014-11-21 23:15 UTC (permalink / raw)
To: linux-arm-kernel
* Mark Rutland <mark.rutland@arm.com> [141119 03:53]:
> Now that we can specify which PMU variant we're likely to deal with, do
> so in the omap board code. This will allow us to split the ARMv6, ARMv7,
> and XScale PMU drivers.
>
> The unnecessary include of asm/pmu.h is also removed.
>
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Olof Johansson <olof@lixom.net>
> Cc: Arnd Bergmann <arnd@arndb.de>
Looks OK to me:
Acked-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap2/pmu.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pmu.c b/arch/arm/mach-omap2/pmu.c
> index 33c8846..a69e9a3 100644
> --- a/arch/arm/mach-omap2/pmu.c
> +++ b/arch/arm/mach-omap2/pmu.c
> @@ -13,7 +13,7 @@
> */
> #include <linux/of.h>
>
> -#include <asm/pmu.h>
> +#include <asm/system_info.h>
>
> #include "soc.h"
> #include "omap_hwmod.h"
> @@ -37,7 +37,8 @@ static int __init omap2_init_pmu(unsigned oh_num, char *oh_names[])
> {
> int i;
> struct omap_hwmod *oh[3];
> - char *dev_name = "arm-pmu";
> + char *dev_name = cpu_architecture() == CPU_ARCH_ARMv6 ?
> + "armv6-pmu" : "armv7-pmu";
>
> if ((!oh_num) || (oh_num > 3))
> return -EINVAL;
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 12+ messages in thread