lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jT7CKsUtTY3FN=GKBZkCm5naHVEH43vS+jonTrvy4gCg@mail.gmail.com>
Date:   Fri, 27 Oct 2023 15:50:36 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
        Linux PM <linux-pm@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] ACPI updates for v6.7-rc1

Hi Linus,

Please pull from the tag

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

with top-most commit f4cb34a75e4a4aee09ff832ea2147cf8322a6a7f

 Merge branches 'acpi-ac', 'acpi-pad' and 'pnp'

on top of commit 611da07b89fdd53f140d7b33013f255bf0ed8f34

 Merge tag 'acpi-6.6-rc8' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive ACPI and PNP updates for 6.7-rc1.

These fix issues, add new quirks, rearrange the IRQ override quirk
definitions, add new helpers and switch over code to using them,
rework a couple of interfaces to be more flexible, eliminate
strncpy() usage from PNP, extend the ACPI PCC mailbox driver and
clean up code.

This is based on ACPI thermal driver changes that are present in the
thermal control updates for 6.7-rc1 pull request (they are depended
on by the ACPI utilities updates).  However, the ACPI thermal driver
changes are not included in the list of specific ACPI changes below.

Specifics:

 - Add symbol definitions related to CDAT to the ACPICA code (Dave
   Jiang).

 - Use the acpi_device_is_present() helper in more places and rename
   acpi_scan_device_not_present() to be about enumeration (James Morse).

 - Add __printf format attribute to acpi_os_vprintf() (Su Hui).

 - Clean up departures from kernel coding style in the low-level
   interface for ACPICA (Jonathan Bergh).

 - Replace strncpy() with strscpy() in acpi_osi_setup() (Justin Stitt).

 - Fail FPDT parsing on zero length records and add proper handling for
   fpdt_process_subtable() to acpi_init_fpdt() (Vasily Khoruzhick).

 - Rework acpi_handle_list handling so as to manage it dynamically,
   including size computation (Rafael Wysocki).

 - Clean up ACPI utilities code so as to make it follow the kernel
   coding style (Jonathan Bergh).

 - Consolidate IRQ trigger-type override DMI tables and drop .ident
   values from dmi_system_id tables used for ACPI resources management
   quirks (Hans de Goede).

 - Add ACPI IRQ override for TongFang GMxXGxx (Werner Sembach).

 - Allow _DSD buffer data only for byte accessors and document the _DSD
   data buffer GUID (Andy Shevchenko).

 - Drop BayTrail and Lynxpoint pinctrl device IDs from the ACPI LPSS
   driver, because it does not need them (Raag Jadav).

 - Add acpi_backlight=vendor quirk for Toshiba Portégé R100 (Ondrej
   Zary).

 - Add "vendor" backlight quirks for 3 Lenovo x86 Android tablets (Hans
   de Goede).

 - Move Xiaomi Mi Pad 2 backlight quirk to its own section (Hans de
   Goede).

 - Annotate struct prm_module_info with __counted_by (Kees Cook).

 - Fix AER info corruption in aer_recover_queue() when error status data
   has multiple sections (Shiju Jose).

 - Make APEI use ERST maximum execution time for slow devices (Jeshua
   Smith).

 - Add support for platform notification handling to the PCC mailbox
   driver and modify it to support shared interrupts for multiple
   subspaces (Huisong Li).

 - Define common macros to use when referring to various bitfields in the
   PCC generic communications channel command and status fields and use
   them in some drivers (Sudeep Holla).

 - Add EC GPE detection quirk for HP 250 G7 Notebook PC (Jonathan
   Denose).

 - Fix and clean up create_pnp_modalias() and create_of_modalias()
   (Christophe JAILLET).

 - Modify 2 pieces of code to use acpi_evaluate_dsm_typed() (Andy
   Shevchenko).

 - Define acpi_dev_uid_match() for matching _UID and use it in several
   places (Raag Jadav).

 - Use acpi_device_uid() for fetching _UID in 2 places (Raag Jadav).

 - Add context argument to acpi_dev_install_notify_handler() (Rafael
   Wysocki).

 - Clarify ACPI bus concepts in the ACPI device enumeration
   documentation (Rafael Wysocki).

 - Switch over the ACPI AC and ACPI PAD drivers to using the platform
   driver interface which, is more logically consistent than binding a
   driver directly to an ACPI device object, and clean them up (Michal
   Wilczynski).

 - Replace strncpy() in the PNP code with either memcpy() or strscpy()
   as appropriate (Justin Stitt).

 - Clean up coding style in pnp.h (GuoHua Cheng).

Thanks!


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

Andy Shevchenko (4):
      ACPI: PCI: Switch to use acpi_evaluate_dsm_typed()
      ACPI: x86: s2idle: Switch to use acpi_evaluate_dsm_typed()
      ACPI: property: Allow _DSD buffer data only for byte accessors
      ACPI: property: Document the _DSD data buffer GUID

Christophe JAILLET (2):
      ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
      ACPI: sysfs: Clean up create_pnp_modalias() and create_of_modalias()

Dan Carpenter (1):
      ACPI: thermal: Fix a small leak in acpi_thermal_add()

Dave Jiang (1):
      ACPICA: Add defines for CDAT SSLBIS

GuoHua Cheng (1):
      PNP: Clean up coding style in pnp.h

Hans de Goede (4):
      ACPI: video: Move Xiaomi Mi Pad 2 quirk to its own section
      ACPI: video: Add "vendor" quirks for 3 Lenovo x86 Android tablets
      ACPI: resource: Consolidate IRQ trigger-type override DMI tables
      ACPI: resource: Drop .ident values from dmi_system_id tables

Huisong Li (2):
      mailbox: pcc: Add support for platform notification handling
      mailbox: pcc: Support shared interrupt for multiple subspaces

James Morse (2):
      ACPI: scan: Use the acpi_device_is_present() helper in more places
      ACPI: scan: Rename acpi_scan_device_not_present() to be about enumeration

Jeshua Smith (1):
      ACPI: APEI: Use ERST timeout for slow devices

Jonathan Bergh (5):
      ACPI: OSL: Fix up white space in parameter lists
      ACPI: OSL: Remove redundant parentheses in return statements
      ACPI: OSL: Add empty lines after local variable declarations
      ACPI: utils: Fix up white space in a few places
      ACPI: utils: Remove redundant braces around individual statement

Jonathan Denose (1):
      ACPI: EC: Add quirk for HP 250 G7 Notebook PC

Justin Stitt (3):
      ACPI: OSI: refactor deprecated strncpy()
      PNP: ACPI: replace deprecated strncpy() with strscpy()
      PNP: replace deprecated strncpy() with memcpy()

Kees Cook (1):
      ACPI: PRM: Annotate struct prm_module_info with __counted_by

Michal Wilczynski (7):
      ACPI: AC: Remove redundant checks
      ACPI: AC: Use string_choices API instead of ternary operator
      ACPI: AC: Replace acpi_driver with platform_driver
      ACPI: AC: Rename ACPI device from device to adev
      ACPI: acpi_pad: Replace acpi_driver with platform_driver
      ACPI: acpi_pad: Use dev groups for sysfs
      ACPI: acpi_pad: Rename ACPI device from device to adev

Ondrej Zary (1):
      ACPI: video: Add acpi_backlight=vendor quirk for Toshiba Portégé R100

Raag Jadav (8):
      ACPI: LPSS: drop BayTrail and Lynxpoint pinctrl HIDs
      ACPI: sysfs: use acpi_device_uid() for fetching _UID
      perf: qcom: use acpi_device_uid() for fetching _UID
      ACPI: utils: Introduce acpi_dev_uid_match() for matching _UID
      pinctrl: intel: use acpi_dev_uid_match() for matching _UID
      ACPI: utils: use acpi_dev_uid_match() for matching _UID
      ACPI: x86: use acpi_dev_uid_match() for matching _UID
      perf: arm_cspmu: use acpi_dev_hid_uid_match() for matching _HID and _UID

Rafael J. Wysocki (16):
      ACPI: thermal: Simplify initialization of critical and hot trips
      ACPI: thermal: Fold acpi_thermal_get_info() into its caller
      ACPI: thermal: Determine the number of trip points earlier
      ACPI: thermal: Create and populate trip points table earlier
      ACPI: thermal: Simplify critical and hot trips representation
      ACPI: thermal: Untangle initialization and updates of the passive trip
      ACPI: thermal: Untangle initialization and updates of active trips
      ACPI: thermal: Drop redundant trip point flags
      ACPI: thermal: Drop valid flag from struct acpi_thermal_trip
      ACPI: thermal: Add device list to struct acpi_thermal_trip
      ACPI: thermal: Collapse trip devices update functions
      ACPI: thermal: Collapse trip devices update function wrappers
      ACPI: thermal: Merge trip initialization functions
      ACPI: utils: Dynamically determine acpi_handle_list size
      ACPI: docs: enumeration: Clarify ACPI bus concepts
      ACPI: bus: Add context argument to acpi_dev_install_notify_handler()

Shiju Jose (1):
      ACPI: APEI: Fix AER info corruption when error status data has
multiple sections

Su Hui (1):
      ACPI: OSL: add __printf format attribute to acpi_os_vprintf()

Sudeep Holla (4):
      ACPI: PCC: Add PCC shared memory region command and status bitfields
      i2c: xgene-slimpro: Migrate to use generic PCC shmem related macros
      hwmon: (xgene) Migrate to use generic PCC shmem related macros
      soc: kunpeng_hccs: Migrate to use generic PCC shmem related macros

Vasily Khoruzhick (1):
      ACPI: FPDT: properly handle invalid FPDT subtables

Werner Sembach (1):
      ACPI: resource: Do IRQ override on TongFang GMxXGxx

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

 Documentation/firmware-guide/acpi/enumeration.rst |  43 ++
 drivers/acpi/ac.c                                 |  98 ++-
 drivers/acpi/acpi_fpdt.c                          |  45 +-
 drivers/acpi/acpi_lpss.c                          |  21 +-
 drivers/acpi/acpi_pad.c                           |  82 +--
 drivers/acpi/acpi_video.c                         |   2 +-
 drivers/acpi/apei/erst.c                          |  41 +-
 drivers/acpi/apei/ghes.c                          |  23 +-
 drivers/acpi/battery.c                            |   2 +-
 drivers/acpi/bus.c                                |   4 +-
 drivers/acpi/device_sysfs.c                       |  24 +-
 drivers/acpi/ec.c                                 |  10 +
 drivers/acpi/hed.c                                |   2 +-
 drivers/acpi/nfit/core.c                          |   2 +-
 drivers/acpi/osi.c                                |   2 +-
 drivers/acpi/osl.c                                |  28 +-
 drivers/acpi/pci_root.c                           |   6 +-
 drivers/acpi/prmt.c                               |   2 +-
 drivers/acpi/property.c                           |  20 +-
 drivers/acpi/resource.c                           |  94 +--
 drivers/acpi/scan.c                               |  13 +-
 drivers/acpi/thermal.c                            | 712 +++++++++++-----------
 drivers/acpi/utils.c                              | 102 +++-
 drivers/acpi/video_detect.c                       |  84 ++-
 drivers/acpi/x86/s2idle.c                         |   5 +-
 drivers/acpi/x86/utils.c                          |   3 +-
 drivers/hwmon/xgene-hwmon.c                       |  16 +-
 drivers/i2c/busses/i2c-xgene-slimpro.c            |  16 +-
 drivers/mailbox/pcc.c                             |  91 ++-
 drivers/pci/pcie/aer.c                            |  10 +
 drivers/perf/arm_cspmu/arm_cspmu.c                |   8 +-
 drivers/perf/qcom_l3_pmu.c                        |   4 +-
 drivers/pinctrl/intel/pinctrl-intel.c             |   2 +-
 drivers/platform/surface/surface_acpi_notify.c    |  10 +-
 drivers/pnp/pnpacpi/core.c                        |   7 +-
 drivers/pnp/pnpbios/rsparser.c                    |   4 +-
 drivers/soc/hisilicon/kunpeng_hccs.c              |   8 +-
 include/acpi/acpi_bus.h                           |  12 +-
 include/acpi/actbl1.h                             |   3 +
 include/acpi/ghes.h                               |   4 +
 include/acpi/pcc.h                                |  13 +
 include/linux/acpi.h                              |   5 +
 include/linux/pnp.h                               |   8 +-
 43 files changed, 1024 insertions(+), 667 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ