perf/x86/intel/uncore: Make uncore_discovery clean for 64 bit addresses
authorSteve Wahl <steve.wahl@hpe.com>
Fri, 18 Feb 2022 17:54:18 +0000 (11:54 -0600)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 1 Mar 2022 15:19:01 +0000 (16:19 +0100)
commit71a412ed4c104bcc239b1a8e06f90b58a4aee0bb
treec486c0a612796ca84a60392158ae624c14969a7d
parent161a9a33702a2e65a4118dacb449505ac8ce3122
perf/x86/intel/uncore: Make uncore_discovery clean for 64 bit addresses

Support 64-bit BAR size for discovery, and do not truncate return from
generic_uncore_mmio_box_ctl() to 32 bits.

Signed-off-by: Steve Wahl <steve.wahl@hpe.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Link: https://lore.kernel.org/r/20220218175418.421268-1-steve.wahl@hpe.com
arch/x86/events/intel/uncore_discovery.c
arch/x86/events/intel/uncore_discovery.h