[GIT PULL] ACPI updates for v6.11-rc1

From: Rafael J. Wysocki
Date: Mon Jul 15 2024 - 15:44:55 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.11-rc1

with top-most commit b77b0bc85b117119764107f3ee76e8877bf826ab

Merge branch 'acpi-misc'

on top of commit 233323f9b9f828cd7cd5145ad811c1990b692542

ACPI: processor_idle: Fix invalid comparison with insertion sort for latency

to receive ACPI updates for 6.11-rc1.

The only kind of new feature added by these is the hwmon interface
support in the ACPI fan driver. Apart from that, they mostly address
issues and clean up code.

Specifics:

- Switch the ACPI x86 utility code and the ACPI LPSS driver to new
Intel CPU model defines (Tony Luck).

- Add hwmon interface support to the ACPI fan driver (Armin Wolf).

- Add sysfs entry for guaranteed performance to the ACPI CPPC library
and replace a ternary operator with umax() in it (Petr Tesařík,
Prabhakar Pujeri).

- Clean up the ACPI PMIC driver in multiple ways (Andy Shevchenko,
Christophe JAILLET).

- Add support for charge limiting state to the ACPI battery driver
and update _OSC to indicate support for it (Armin Wolf).

- Clean up the sysfs interface in the ACPI battery, SBS (smart battery
subsystem) and AC drivers (Thomas Weißschuh).

- Coordinate header includes in the ACPI NUMA code and make it use
ACCESS_COORDINATE_CPU when appropriate (Huang Ying, Thorsten Blum).

- Downgrade Intel _OSC and _PDC messages in the ACPI processor driver
to debug to reduce log noise (Mario Limonciello).

- Still evaluate _OST when _PUR evaluation fails in the ACPI PAD
(processor aggregator) driver as per the spec (Armin Wolf).

- Skip ACPI IRQ override on Asus Vivobook Pro N6506MJ and N6506MU
platforms (Tamim Khan).

- Force native mode on some T2 macbooks in the ACPI backlight driver
and replace strcpy() with strscpy() in it (Orlando Chamberlain,
Muhammad Qasim Abdul Majeed).

- Add missing MODULE_DESCRIPTION() macros in two places (Jeff Johnson).

Thanks!


---------------

Andy Shevchenko (3):
ACPI: PMIC: Use sizeof() instead of hard coded value
ACPI: PMIC: Convert pr_*() to dev_*() printing macros
ACPI: PMIC: Replace open coded be16_to_cpu()

Armin Wolf (4):
ACPI: fan: Add hwmon support
ACPI: acpi_pad: Still evaluate _OST when _PUR evaluation fails
ACPI: battery: Add support for charge limiting state
ACPI: bus: Indicate support for battery charge limiting thru _OSC

Christophe JAILLET (1):
ACPI: PMIC: Constify struct pmic_table

Huang Ying (1):
ACPI: HMAT: Use ACCESS_COORDINATE_CPU when appropriate

Jeff Johnson (1):
ACPI: add missing MODULE_DESCRIPTION() macros

Mario Limonciello (1):
ACPI: processor: Downgrade Intel _OSC and _PDC messages to debug

Muhammad Qasim Abdul Majeed (1):
ACPI: video: Use strscpy() instead of strcpy()

Orlando Chamberlain (1):
ACPI: video: force native for some T2 macbooks

Petr Tesařík (1):
ACPI: CPPC: add sysfs entry for guaranteed performance

Prabhakar Pujeri (1):
ACPI: CPPC: Replace ternary operator with umax()

Tamim Khan (2):
ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MU
ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MJ

Thomas Weißschuh (6):
ACPI: AC: constify powersupply properties
ACPI: SBS: constify powersupply properties
ACPI: battery: constify powersupply properties
ACPI: battery: use sysfs_emit over sprintf
ACPI: battery: create alarm sysfs attribute atomically
ACPI: SBS: manage alarm sysfs attribute through psy core

Thorsten Blum (1):
ACPI: NUMA: Consolidate header includes

Tony Luck (2):
ACPI: LPSS: Switch to new Intel CPU model defines
ACPI: x86: Switch to new Intel CPU model defines

---------------

drivers/acpi/Makefile | 1 +
drivers/acpi/ac.c | 2 +-
drivers/acpi/acpi_pad.c | 19 +++-
drivers/acpi/acpi_processor.c | 4 +-
drivers/acpi/acpi_tad.c | 1 +
drivers/acpi/acpi_video.c | 8 +-
drivers/acpi/battery.c | 37 ++++---
drivers/acpi/bus.c | 2 +
drivers/acpi/cppc_acpi.c | 4 +-
drivers/acpi/fan.h | 9 ++
drivers/acpi/fan_core.c | 4 +
drivers/acpi/fan_hwmon.c | 170 ++++++++++++++++++++++++++++++++
drivers/acpi/numa/hmat.c | 6 +-
drivers/acpi/platform_profile.c | 1 +
drivers/acpi/pmic/intel_pmic.c | 2 +-
drivers/acpi/pmic/intel_pmic.h | 4 +-
drivers/acpi/pmic/intel_pmic_bxtwc.c | 4 +-
drivers/acpi/pmic/intel_pmic_bytcrc.c | 4 +-
drivers/acpi/pmic/intel_pmic_chtdc_ti.c | 17 ++--
drivers/acpi/pmic/intel_pmic_chtwc.c | 7 +-
drivers/acpi/pmic/intel_pmic_xpower.c | 11 ++-
drivers/acpi/resource.c | 14 +++
drivers/acpi/sbs.c | 29 +++---
drivers/acpi/video_detect.c | 16 +++
drivers/acpi/x86/lpss.c | 4 +-
drivers/acpi/x86/utils.c | 44 ++++-----
include/linux/acpi.h | 5 +-
27 files changed, 338 insertions(+), 91 deletions(-)