linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64: perf: remove unsupported events for Cortex-A73
@ 2017-11-15  7:39 Xu YiPing
  2017-11-15 17:52 ` Will Deacon
  0 siblings, 1 reply; 3+ messages in thread
From: Xu YiPing @ 2017-11-15  7:39 UTC (permalink / raw)
  To: linux-arm-kernel

bus access read/write events are not supported in A73, based on the
Cortex-A73 TRM r0p2, section 11.9 Events (pages 11-457 to 11-460).

Fixes: 5561b6c5e981 "arm64: perf: add support for Cortex-A73"
Signed-off-by: Xu YiPing <xuyiping@hisilicon.com>
---
 arch/arm64/kernel/perf_event.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm64/kernel/perf_event.c b/arch/arm64/kernel/perf_event.c
index 9eaef51..3affca3 100644
--- a/arch/arm64/kernel/perf_event.c
+++ b/arch/arm64/kernel/perf_event.c
@@ -262,12 +262,6 @@ static const unsigned armv8_a73_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
 
 	[C(L1D)][C(OP_READ)][C(RESULT_ACCESS)]	= ARMV8_IMPDEF_PERFCTR_L1D_CACHE_RD,
 	[C(L1D)][C(OP_WRITE)][C(RESULT_ACCESS)]	= ARMV8_IMPDEF_PERFCTR_L1D_CACHE_WR,
-
-	[C(NODE)][C(OP_READ)][C(RESULT_ACCESS)]	= ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_RD,
-	[C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_WR,
-
-	[C(NODE)][C(OP_READ)][C(RESULT_ACCESS)]	= ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_RD,
-	[C(NODE)][C(OP_WRITE)][C(RESULT_ACCESS)] = ARMV8_IMPDEF_PERFCTR_BUS_ACCESS_WR,
 };
 
 static const unsigned armv8_thunder_perf_cache_map[PERF_COUNT_HW_CACHE_MAX]
-- 
2.7.4

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

* [PATCH v2] arm64: perf: remove unsupported events for Cortex-A73
  2017-11-15  7:39 [PATCH v2] arm64: perf: remove unsupported events for Cortex-A73 Xu YiPing
@ 2017-11-15 17:52 ` Will Deacon
  2017-11-16  9:28   ` Julien Thierry
  0 siblings, 1 reply; 3+ messages in thread
From: Will Deacon @ 2017-11-15 17:52 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 15, 2017 at 03:39:26PM +0800, Xu YiPing wrote:
> bus access read/write events are not supported in A73, based on the
> Cortex-A73 TRM r0p2, section 11.9 Events (pages 11-457 to 11-460).
> 
> Fixes: 5561b6c5e981 "arm64: perf: add support for Cortex-A73"
> Signed-off-by: Xu YiPing <xuyiping@hisilicon.com>
> ---
>  arch/arm64/kernel/perf_event.c | 6 ------
>  1 file changed, 6 deletions(-)

Julien -- can I have your ack on this, please?

Will

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

* [PATCH v2] arm64: perf: remove unsupported events for Cortex-A73
  2017-11-15 17:52 ` Will Deacon
@ 2017-11-16  9:28   ` Julien Thierry
  0 siblings, 0 replies; 3+ messages in thread
From: Julien Thierry @ 2017-11-16  9:28 UTC (permalink / raw)
  To: linux-arm-kernel



On 15/11/17 17:52, Will Deacon wrote:
> On Wed, Nov 15, 2017 at 03:39:26PM +0800, Xu YiPing wrote:
>> bus access read/write events are not supported in A73, based on the
>> Cortex-A73 TRM r0p2, section 11.9 Events (pages 11-457 to 11-460).
>>
>> Fixes: 5561b6c5e981 "arm64: perf: add support for Cortex-A73"
>> Signed-off-by: Xu YiPing <xuyiping@hisilicon.com>
>> ---
>>   arch/arm64/kernel/perf_event.c | 6 ------
>>   1 file changed, 6 deletions(-)
> 
> Julien -- can I have your ack on this, please?

Yes, of course.

Acked-by: Julien Thierry <julien.thierry@arm.com>

> 
> Will
> 

-- 
Julien Thierry

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

end of thread, other threads:[~2017-11-16  9:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15  7:39 [PATCH v2] arm64: perf: remove unsupported events for Cortex-A73 Xu YiPing
2017-11-15 17:52 ` Will Deacon
2017-11-16  9:28   ` Julien Thierry

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).