drivers/perf: Improve build test coverage
authorJohn Garry <john.garry@huawei.com>
Fri, 1 Oct 2021 10:48:46 +0000 (18:48 +0800)
committerWill Deacon <will@kernel.org>
Mon, 4 Oct 2021 12:13:11 +0000 (13:13 +0100)
commite656972b69864348a747954ea187576808000c5a
treeff55b98a9449547852f817399883343e311742ce
parent78cac393b4642eb5936d9c0685acd50d8370648f
drivers/perf: Improve build test coverage

Improve build test cover by allowing some drivers to build under
COMPILE_TEST where possible.

Some notes:
- Mostly a dependency on CONFIG_ACPI is not really required for only
  building (but left untouched), but is required for TX2 which uses ACPI
  functions which have no stubs
- XGENE required 64b dependency as it relies on some unsigned long perf
  struct fields being 64b
- I don't see why TX2 requires NUMA to build, but left untouched
- Added an explicit dependency on GENERIC_MSI_IRQ_DOMAIN for
  ARM_SMMU_V3_PMU, which is required for platform MSI functions

Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1633085326-156653-3-git-send-email-john.garry@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/perf/Kconfig