]> git.baikalelectronics.ru Git - kernel.git/commit
perf/arm-cmn: Add more bits to child node address offset field
authorIlkka Koskinen <ilkka@os.amperecomputing.com>
Mon, 8 Aug 2022 19:54:55 +0000 (12:54 -0700)
committerWill Deacon <will@kernel.org>
Thu, 22 Sep 2022 13:30:00 +0000 (14:30 +0100)
commitd55a4f1a282863dc2ad6f3ab86f95f19b598a1b4
treee7218755cc457bf6db926a6ab59f1c3181b23c80
parentb2d9fb2511815211ce54e3a0ad3a5106ca0ac57d
perf/arm-cmn: Add more bits to child node address offset field

CMN-600 uses bits [27:0] for child node address offset while bits [30:28]
are required to be zero.

For CMN-650, the child node address offset field has been increased
to include bits [29:0] while leaving only bit 30 set to zero.

Let's include the missing two bits and assume older implementations
comply with the spec and set bits [29:28] to 0.

Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Fixes: 70dcc7165f0b ("perf/arm-cmn: Support new IP features")
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20220808195455.79277-1-ilkka@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm-cmn.c