linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] powerpc/perf: Give generic PMU a nice name
@ 2022-06-10  4:40 Joel Stanley
  2022-06-10  7:46 ` Athira Rajeev
  2022-07-29 13:01 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Stanley @ 2022-06-10  4:40 UTC (permalink / raw)
  To: Madhavan Srinivasan, linuxppc-dev; +Cc: Athira Rajeev

When booting on a machine that uses the compat pmu driver we see this:

 [    0.071192] GENERIC_COMPAT performance monitor hardware support registered

Which is a bit shouty. Give it a nicer name.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
v2: Go with ISAv3

 arch/powerpc/perf/generic-compat-pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/perf/generic-compat-pmu.c b/arch/powerpc/perf/generic-compat-pmu.c
index f3db88aee4dd..16392962c511 100644
--- a/arch/powerpc/perf/generic-compat-pmu.c
+++ b/arch/powerpc/perf/generic-compat-pmu.c
@@ -292,7 +292,7 @@ static int generic_compute_mmcr(u64 event[], int n_ev,
 }
 
 static struct power_pmu generic_compat_pmu = {
-	.name			= "GENERIC_COMPAT",
+	.name			= "ISAv3",
 	.n_counter		= MAX_PMU_COUNTERS,
 	.add_fields		= ISA207_ADD_FIELDS,
 	.test_adder		= ISA207_TEST_ADDER,
-- 
2.35.1


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

* Re: [PATCH v2] powerpc/perf: Give generic PMU a nice name
  2022-06-10  4:40 [PATCH v2] powerpc/perf: Give generic PMU a nice name Joel Stanley
@ 2022-06-10  7:46 ` Athira Rajeev
  2022-07-29 13:01 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Athira Rajeev @ 2022-06-10  7:46 UTC (permalink / raw)
  To: Joel Stanley; +Cc: Madhavan Srinivasan, linuxppc-dev, Athira Rajeev



> On 10-Jun-2022, at 10:10 AM, Joel Stanley <joel@jms.id.au> wrote:
> 
> When booting on a machine that uses the compat pmu driver we see this:
> 
> [    0.071192] GENERIC_COMPAT performance monitor hardware support registered
> 
> Which is a bit shouty. Give it a nicer name.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
> v2: Go with ISAv3
> 
> arch/powerpc/perf/generic-compat-pmu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/powerpc/perf/generic-compat-pmu.c b/arch/powerpc/perf/generic-compat-pmu.c
> index f3db88aee4dd..16392962c511 100644
> --- a/arch/powerpc/perf/generic-compat-pmu.c
> +++ b/arch/powerpc/perf/generic-compat-pmu.c
> @@ -292,7 +292,7 @@ static int generic_compute_mmcr(u64 event[], int n_ev,
> }
> 
> static struct power_pmu generic_compat_pmu = {
> -	.name			= "GENERIC_COMPAT",
> +	.name			= "ISAv3",


Looks good.


Reviewed-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>

> 	.n_counter		= MAX_PMU_COUNTERS,
> 	.add_fields		= ISA207_ADD_FIELDS,
> 	.test_adder		= ISA207_TEST_ADDER,
> -- 
> 2.35.1
> 


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

* Re: [PATCH v2] powerpc/perf: Give generic PMU a nice name
  2022-06-10  4:40 [PATCH v2] powerpc/perf: Give generic PMU a nice name Joel Stanley
  2022-06-10  7:46 ` Athira Rajeev
@ 2022-07-29 13:01 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2022-07-29 13:01 UTC (permalink / raw)
  To: Joel Stanley, Madhavan Srinivasan, linuxppc-dev; +Cc: Athira Rajeev

On Fri, 10 Jun 2022 14:10:06 +0930, Joel Stanley wrote:
> When booting on a machine that uses the compat pmu driver we see this:
> 
>  [    0.071192] GENERIC_COMPAT performance monitor hardware support registered
> 
> Which is a bit shouty. Give it a nicer name.
> 
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/perf: Give generic PMU a nice name
      https://git.kernel.org/powerpc/c/78988b273d592ce74c8aecdd5d748906c38a9e9d

cheers

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

end of thread, other threads:[~2022-07-29 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-10  4:40 [PATCH v2] powerpc/perf: Give generic PMU a nice name Joel Stanley
2022-06-10  7:46 ` Athira Rajeev
2022-07-29 13:01 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).