aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAlexander Shishkin <[email protected]>2018-09-18 16:10:48 +0300
committerGreg Kroah-Hartman <[email protected]>2018-09-18 16:08:38 +0200
commitebe4582281d6e90972f057318a6edea14810ea48 (patch)
tree4da6cbfc9082c78cb4df7a6a8dcfa040d9770cbf /tools/perf/scripts/python/bin/export-to-postgresql-report
parent8801922cd94c918e4dc3a108ecaa500c4d40583f (diff)
intel_th: Fix resource handling for ACPI glue layer
The core of the driver expects the resource array from the glue layer to be indexed by even numbers, as is the case for 64-bit PCI resources. This doesn't hold true for others, ACPI in this instance, which leads to an out-of-bounds access and an ioremap() on whatever address that access fetches. This patch fixes the problem by reading resource array differently based on whether the 64-bit flag is set, which would indicate PCI glue layer. Signed-off-by: Alexander Shishkin <[email protected]> Fixes: ebc57e399b8e ("intel_th: Add ACPI glue layer") CC: [email protected] # v4.17+ Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions