powerpc/perf: Drop the check for SIAR_VALID
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>
Wed, 21 Oct 2020 08:53:26 +0000 (14:23 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 Nov 2020 05:56:56 +0000 (16:56 +1100)
commitfdf13a657508a12cd21a4d7b988cb260cb8fbd38
tree9aafd0a159bb43fa030ffe3a95b38e8796700424
parent9e8d13697c38a86e0fcf1bb20d419e3d6103e085
powerpc/perf: Drop the check for SIAR_VALID

In power10 DD1, there is an issue that causes the SIAR_VALID bit of
the SIER (Sampled Instruction Event Register) to not be set. But the
SIAR_VALID bit is used for fetching the instruction address from the
SIAR (Sampled Instruction Address Register), and marked events are
sampled only if the SIAR_VALID bit is set. So drop the check for
SIAR_VALID and return true always incase of power10 DD1.

Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201021085329.384535-2-maddy@linux.ibm.com
arch/powerpc/perf/core-book3s.c