perf/smmuv3: Validate group size
authorRobin Murphy <robin.murphy@arm.com>
Thu, 1 Aug 2019 15:22:44 +0000 (16:22 +0100)
committerWill Deacon <will@kernel.org>
Tue, 27 Aug 2019 18:37:04 +0000 (19:37 +0100)
commit33e84ea4330da8a16bda8a871d0cd3c872bcd89f
tree6e1daa55521a4ffcd8859f290f8ac3d71b52aeb2
parentd91cc2f46ad5bd8020902093385fedf7e9e9d755
perf/smmuv3: Validate group size

Ensure that a group will actually fit into the available counters.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/arm_smmuv3_pmu.c