• L
    ACPI: Use ioremap_cache() · 6d5bbf00
    Len Brown 提交于
    Although the temporary boot-time ACPI table mappings
    were set up with CPU caching enabled, the permanent table
    mappings and AML run-time region memory accesses were
    set up with ioremap(), which on x86 is a synonym for
    ioremap_nocache().
    
    Changing this to ioremap_cache() improves performance as
    seen when accessing the tables via acpidump,
    or /sys/firmware/acpi/tables.  It should also improve
    AML run-time performance.
    
    No change on ia64.
    Reported-by: NJack Steiner <steiner@sgi.com>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
    6d5bbf00
io.h 11.6 KB