diff options
author | Lv Zheng <[email protected]> | 2016-05-05 12:58:39 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-05-05 15:22:27 +0200 |
commit | b314a172ee968d45f72dffea68ab8af38aa80ded (patch) | |
tree | fde8dae9e9616f7acc4fab60a58463a9d16a49c7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e35d75024b28083b0a84cdb73b826f8450b29d49 (diff) |
ACPICA: Hardware: Add optimized access bit width support
ACPICA commit c49a751b4dae7baec1790748a2b4b6e8ab599f51
For Access Size = 0, it actually can use user expected access bit width.
This patch implements this.
Besides of the ACPICA upstream commit, this patch also includes a fix fixing
the issue reported by the FreeBSD community.
The old register descriptors are translated in acpi_tb_init_generic_address()
with access_width being filled with 0. This breaks code in
acpi_hw_get_access_bit_width() when the registers are 16-bit IO ports and their
bit_width fields are filled with 16. The rapid fix is meant to make code
written for acpi_hw_get_access_bit_width() regression safer before the issue is
correctly fixed from acpi_tb_init_generic_address(). Reported by
John Baldwin <[email protected]>, fixed by Lv Zheng <[email protected]>, tested
by Jung-uk Kim <[email protected]>.
Link: https://github.com/acpica/acpica/commit/c49a751b
Reported-by: John Baldwin <[email protected]>
Tested-by Jung-uk Kim <[email protected]>.
Signed-off-by: Lv Zheng <[email protected]>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions