• A
    ACPI: introduce CONFIG_ACPI_REDUCED_HARDWARE_ONLY · af1ae78a
    Al Stone 提交于
    ACPI hardware reduced mode exists to allow newer platforms to use a
    simpler form of ACPI that does not require supporting legacy versions
    of the specification and their associated hardware.  This mode was
    introduced in the ACPI 5.0 specification.
    
    The ACPI hardware reduced mode is supposed to be used on systems
    having the HW_REDUCED_ACPI flag set in the FADT.  ACPICA checks
    that flag to determine whether or not it should work in the HW
    reduced mode and there are pieces of code in it that will never
    be used in that case.
    
    Since some architecutres will always use the ACPI HW reduced mode,
    it doesn't make sense for them to ever compile support for anything
    else.  Thus, they should set the flag ACPI_REDUCED_HARDWARE to TRUE
    in the ACPICA source.  To enable them to do that, introduce a new
    kernel configuration option, CONFIG_ACPI_REDUCED_HARDWARE_ONLY, that
    will cause the ACPICA's ACPI_REDUCED_HARDWARE flag to be TRUE when
    set.
    
    Introducing this configuration item is based on suggestions from Lv
    Zheng saying that this does not belong in ACPICA, but rather to the
    Linux kernel itself.
    
    References: http://www.spinics.net/lists/linux-acpi/msg46369.htmlSigned-off-by: NHanjun Guo <hanjun.guo@linaro.org>
    Signed-off-by: NAl Stone <al.stone@linaro.org>
    [rjw: Subject and changelog]
    Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
    af1ae78a
aclinux.h 7.7 KB