Skip to content

ACPICA: ACPICA 20260930 with follow-up fixes

Maciej Wieczor-Retman acpica-devel linux-acpi linux-arm-kernel lkml loongarch 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest42 patches 2 repliesIn review

Changes in v2 from the cover letter

v1 [1] contained only commits between the 20260408 and 20260930 releases. However sashiko.dev [2] raised some issues that needed to be either applied or rejected. Most issues were valid and were resolved in patches that follow the 20260930 release. Things that were rejected were the whole patch [3] due to not being a full solution to a very unlikely, debug only problem. Also the sashiko comment related to ACPI_GPE_AUTO_ENABLED in patch [4] wasn't applied due to not being realistically possible to happen and consequences were only an odd looking log entry.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/42ACPICA: components: Fix typo "Supress" -> "Suppress"drivers/acpi/acpica/exconvrt.c+2 -20 replies
2/42ACPICA: components: Fix typo: "numer" -> "number"drivers/acpi/acpica/extrace.c+1 -10 replies
3/42ACPICA: Introduce a new HEST notification type for RISC-V SSE eventsinclude/acpi/actbl1.h+2 -10 replies
4/42ACPICA: Utilities: Fix for AcpiUtVerifyChecksum warning displaydrivers/acpi/acpica/utcksum.c+1 -20 replies
5/42ACPICA: CEDT: RDPAS: Add missing reserved field in RDPAS structureinclude/acpi/actbl1.h+1 -00 replies
6/42ACPICA: CEDT: RDPAS: Fix incorrect field positions for RDPASinclude/acpi/actbl1.h+1 -10 replies
7/42ACPICA: Events: Clear GPE dispatch by owner during table unloaddrivers/acpi/acpica/acevents.h drivers/acpi/acpica/evgpe.c drivers/acpi/acpica/tbdata.c+114 -00 replies
8/42ACPICA: executer: Add bounds checking for PCC field read accessdrivers/acpi/acpica/exfield.c+22 -20 replies
9/42ACPICA: Validate 4-char field names before namespace lookupdrivers/acpi/acpica/dsfield.c+12 -00 replies
10/42ACPICA: Improve error handling in table loading processdrivers/acpi/acpica/exconfig.c drivers/acpi/acpica/tbdata.c+12 -30 replies
11/42ACPICA: executer: Add bounds checking for PCC field write accessdrivers/acpi/acpica/exfield.c+18 -00 replies
12/42ACPICA: tables: Fix heap-buffer-overflow in AcpiTbFindTabledrivers/acpi/acpica/tbfind.c+14 -20 replies
13/42ACPICA: Fix object reference update to skip non-local notify typesdrivers/acpi/acpica/utdelete.c+4 -00 replies
14/42ACPICA: namespace: Recognize alias node types in detachdrivers/acpi/acpica/nsobject.c+3 -10 replies
15/42ACPICA: fix: build error with gcc 16: unused-but-set-variabledrivers/acpi/acpica/nsaccess.c+1 -10 replies
16/42ACPICA: parser: Set AML length for bytelistdrivers/acpi/acpica/psargs.c+5 -30 replies
17/42ACPICA: executer: Fix NULL pointer dereference in AcpiExStoreObjectToIndex()drivers/acpi/acpica/exstore.c+18 -20 replies
18/42ACPICA: compiler: Add _Ixx GPE objectdrivers/acpi/acpica/acpredef.h+1 -00 replies
19/42ACPICA: namespace: Fix possible underflow and NULL pointer dereferencedrivers/acpi/acpica/nsxfname.c+8 -00 replies
20/42ACPICA: add UBRT (UnifiedBus Root Table) definitionsinclude/acpi/actbl2.h+153 -00 replies
21/42ACPICA: Add ACPI_MSG_DEBUG to set KERN_DEBUG for debug outputdrivers/acpi/acpica/acutils.h drivers/acpi/acpica/utdebug.c include/acpi/platform/aclinux.h+9 -40 replies
22/42ACPICA: ACPI 6.5 Add support for the MISC tableinclude/acpi/actbl2.h+30 -00 replies
23/42ACPICA: iASL: Complete KEYP supportinclude/acpi/actbl2.h+5 -00 replies
24/42ACPICA: iASL: Fix the truncated count of external control methodsdrivers/acpi/acpica/acglobal.h+1 -10 replies
25/42ACPICA: release: Update version to 20260930include/acpi/acpixf.h+1 -10 replies
26/42ACPICA: actbl2: MPAM: adapt to MPAM ACPI spec v3.1drivers/acpi/arm64/mpam.c include/acpi/actbl2.h+5 -50 replies
27/42ACPICA: Executer: Resolve package index references used as integer operandsdrivers/acpi/acpica/exresop.c+26 -00 replies
28/42ACPICA: tables: Fix table buffer leak when Load fails verificationdrivers/acpi/acpica/exconfig.c drivers/acpi/acpica/tbdata.c+13 -70 replies
29/42ACPICA: parser: Fix parse tree memory leak on AML execution error unwinddrivers/acpi/acpica/psloop.c drivers/acpi/acpica/psobject.c drivers/acpi/acpica/psparse.c+15 -70 replies
30/42ACPICA: IORT: Add Root Complex PASID Flags fieldinclude/acpi/actbl2.h+5 -10 replies
31/42ACPICA: events: Add missing event mutex to AcpiEvClearGpeDispatchByOwner()drivers/acpi/acpica/evgpe.c+6 -00 replies
32/42ACPICA: events: Remove redundant codedrivers/acpi/acpica/evgpe.c+0 -120 replies
33/42ACPICA: events: Fix AcpiEvClearGpeDispatchByOwner handler type processingdrivers/acpi/acpica/evgpe.c+96 -70 replies
34/42ACPICA: events: Fix GPE cleanup return after changing program statedrivers/acpi/acpica/evgpe.c+39 -100 replies
35/42ACPICA: events: Handle GPEs' Notify dispatch typedrivers/acpi/acpica/evgpe.c+146 -00 replies
36/42ACPICA: tables: Fix wrong table unload and notify call orderdrivers/acpi/acpica/tbdata.c+7 -70 replies
37/42ACPICA: tables: Fix global table read missing mutexdrivers/acpi/acpica/tbdata.c+3 -20 replies
38/42ACPICA: executer: Fix copying PCC source buffer datadrivers/acpi/acpica/exfield.c+36 -270 replies
39/42ACPICA: dispatcher: Fix zero size non-NULL PCC buffer pointerdrivers/acpi/acpica/dsfield.c+12 -00 replies
40/42ACPICA: utilities: Clear NextObject so the outer loop doesn't read itdrivers/acpi/acpica/utdelete.c+1 -00 replies
41/42ACPICA: namespace: Fix memory leak around compiler alias flagdrivers/acpi/acpica/nsobject.c+5 -20 replies
42/42ACPICA: acpica: Fix typo in the IOVT_IOMMU table definitionsdrivers/acpi/loongarch/iovt.c include/acpi/actbl2.h+4 -41 reply

Reviews trailers per patch

1 of 42 patches has a Reviewed-by or Acked-by.

PatchabhinavmirBibo Mao
1/42
2/42
3/42
4/42
5/42
6/42
7/42
8/42
9/42
10/42
11/42
12/42
13/42
14/42
15/42
16/42
17/42
18/42
19/42
20/42
21/42
22/42
23/42
24/42Originally-by
25/42
26/42
27/42
28/42
29/42
30/42
31/42
32/42
33/42
34/42
35/42
36/42
37/42
38/42
39/42
40/42
41/42
42/42R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/42] ACPICA: ACPICA 20260930 with follow-up fixes

The following patches are ported from upstream ACPICA and contain the 20260930 release and some follow up fixes (so generally everything after the 20260408 release). Only source files relevant to the Linux kernel are being ported.

Changes since v1:
v1 [1] contained only commits between the 20260408 and 20260930 releases. However sashiko.dev [2] raised some issues that needed to be either applied or rejected. Most issues were valid and were resolved in patches that follow the 20260930 release. Things that were rejected were the whole patch [3] due to not being a full solution to a very unlikely, debug only problem. Also the sashiko comment related to ACPI_GPE_AUTO_ENABLED in patch [4] wasn't applied due to not being realistically possible to happen and consequences were only an odd looking log entry.

There are non-ACPICA changes related to constants/variable name changes in these patches:
- ACPICA: actbl2: MPAM: adapt to MPAM ACPI spec v3.1
- ACPICA: acpica: Fix typo in the IOVT_IOMMU table definitions

The base for this patches is upstream kernel v7.4-rc3 and it consists of the following material:

Andre Przywara (1):
ACPICA: actbl2: MPAM: adapt to MPAM ACPI spec v3.1

Colin Ian King (2):

      ACPICA: components: Fix typo "Supress" -> "Suppress"
      ACPICA: components: Fix typo: "numer" -> "number"

Dave Jiang (2):
ACPICA: CEDT: RDPAS: Add missing reserved field in RDPAS structure
ACPICA: CEDT: RDPAS: Fix incorrect field positions for RDPAS

Hanjun Guo (1):
ACPICA: add UBRT (UnifiedBus Root Table) definitions

Himanshu Chauhan (1):
ACPICA: Introduce a new HEST notification type for RISC-V SSE events

Iurii Trukhin (1):
ACPICA: parser: Fix parse tree memory leak on AML execution error unwind

Leonard Lausen (1):
ACPICA: Executer: Resolve package index references used as integer operands

Maciej Strozek (1):
ACPICA: Utilities: Fix for AcpiUtVerifyChecksum warning display

Maciej Wieczor-Retman (17):
ACPICA: executer: Fix NULL pointer dereference in AcpiExStoreObjectToIndex()
ACPICA: compiler: Add _Ixx GPE object
ACPICA: namespace: Fix possible underflow and NULL pointer dereference
ACPICA: iASL: Fix the truncated count of external control methods
ACPICA: release: Update version to 20260930
ACPICA: events: Add missing event mutex to AcpiEvClearGpeDispatchByOwner()
ACPICA: events: Remove redundant code
ACPICA: events: Fix AcpiEvClearGpeDispatchByOwner handler type processing
ACPICA: events: Fix GPE cleanup return after changing program state
ACPICA: events: Handle GPEs' Notify dispatch type
ACPICA: tables: Fix wrong table unload and notify call order
ACPICA: tables: Fix global table read missing mutex
ACPICA: executer: Fix copying PCC source buffer data
ACPICA: dispatcher: Fix zero size non-NULL PCC buffer pointer
ACPICA: utilities: Clear NextObject so the outer loop doesn't read it
ACPICA: namespace: Fix memory leak around compiler alias flag
ACPICA: acpica: Fix typo in the IOVT_IOMMU table definitions

Mario Limonciello (AMD) (1):
ACPICA: Add ACPI_MSG_DEBUG to set KERN_DEBUG for debug output

Pawel Chmielewski (3):
ACPICA: ACPI 6.5 Add support for the MISC table
ACPICA: iASL: Complete KEYP support
ACPICA: tables: Fix table buffer leak when Load fails verification

Rong Zhang (1):
ACPICA: parser: Set AML length for bytelist

Vidya Sagar (1):
ACPICA: IORT: Add Root Complex PASID Flags field

ikaros (8):
ACPICA: Events: Clear GPE dispatch by owner during table unload
ACPICA: executer: Add bounds checking for PCC field read access
ACPICA: Validate 4-char field names before namespace lookup
ACPICA: Improve error handling in table loading process
ACPICA: executer: Add bounds checking for PCC field write access
ACPICA: tables: Fix heap-buffer-overflow in AcpiTbFindTable
ACPICA: Fix object reference update to skip non-local notify types
ACPICA: namespace: Recognize alias node types in detach

purofle (1):
ACPICA: fix: build error with gcc 16: unused-but-set-variable

[1] https://lore.kernel.org/all/[email protected]/
[2] https://sashiko.dev/#/patchset/20261020141051.2194123-1-pawel.chmielewski%40intel.com
[3] https://sashiko.dev/#/message/20261020141051.2194123-9-pawel.chmielewski%40intel.com
[4] https://sashiko.dev/#/patchset/20261020141051.2194123-1-pawel.chmielewski%40intel.com?part=7

Andre Przywara (1):
ACPICA: actbl2: MPAM: adapt to MPAM ACPI spec v3.1

Colin Ian King (2):
ACPICA: components: Fix typo "Supress" -> "Suppress"
ACPICA: components: Fix typo: "numer" -> "number"

Dave Jiang (2):
ACPICA: CEDT: RDPAS: Add missing reserved field in RDPAS structure
ACPICA: CEDT: RDPAS: Fix incorrect field positions for RDPAS

Hanjun Guo (1):
ACPICA: add UBRT (UnifiedBus Root Table) definitions

Himanshu Chauhan (1):
ACPICA: Introduce a new HEST notification type for RISC-V SSE events

Iurii Trukhin (1):
ACPICA: parser: Fix parse tree memory leak on AML execution error
unwind

Leonard Lausen (1):
ACPICA: Executer: Resolve package index references used as integer
operands

Maciej Strozek (1):
ACPICA: Utilities: Fix for AcpiUtVerifyChecksum warning display

Maciej Wieczor-Retman (17):
ACPICA: executer: Fix NULL pointer dereference in
AcpiExStoreObjectToIndex()
ACPICA: compiler: Add _Ixx GPE object
ACPICA: namespace: Fix possible underflow and NULL pointer dereference
ACPICA: iASL: Fix the truncated count of external control methods
ACPICA: release: Update version to 20260930
ACPICA: events: Add missing event mutex to
AcpiEvClearGpeDispatchByOwner()
ACPICA: events: Remove redundant code
ACPICA: events: Fix AcpiEvClearGpeDispatchByOwner handler type
processing
ACPICA: events: Fix GPE cleanup return after changing program state
ACPICA: events: Handle GPEs' Notify dispatch type
ACPICA: tables: Fix wrong table unload and notify call order
ACPICA: tables: Fix global table read missing mutex
ACPICA: executer: Fix copying PCC source buffer data
ACPICA: dispatcher: Fix zero size non-NULL PCC buffer pointer
ACPICA: utilities: Clear NextObject so the outer loop doesn't read it
ACPICA: namespace: Fix memory leak around compiler alias flag
ACPICA: acpica: Fix typo in the IOVT_IOMMU table definitions

Mario Limonciello (AMD) (1):
ACPICA: Add ACPI_MSG_DEBUG to set KERN_DEBUG for debug output

Pawel Chmielewski (3):
ACPICA: ACPI 6.5 Add support for the MISC table
ACPICA: iASL: Complete KEYP support
ACPICA: tables: Fix table buffer leak when Load fails verification

Rong Zhang (1):
ACPICA: parser: Set AML length for bytelist

Vidya Sagar (1):
ACPICA: IORT: Add Root Complex PASID Flags field

ikaros (8):
ACPICA: Events: Clear GPE dispatch by owner during table unload
ACPICA: executer: Add bounds checking for PCC field read access
ACPICA: Validate 4-char field names before namespace lookup
ACPICA: Improve error handling in table loading process
ACPICA: executer: Add bounds checking for PCC field write access
ACPICA: tables: Fix heap-buffer-overflow in AcpiTbFindTable
ACPICA: Fix object reference update to skip non-local notify types
ACPICA: namespace: Recognize alias node types in detach

purofle (1):
ACPICA: fix: build error with gcc 16: unused-but-set-variable

 drivers/acpi/acpica/acevents.h  |   4 +
 drivers/acpi/acpica/acglobal.h  |   2 +-
 drivers/acpi/acpica/acpredef.h  |   1 +
 drivers/acpi/acpica/acutils.h   |   3 +
 drivers/acpi/acpica/dsfield.c   |  24 +++
 drivers/acpi/acpica/evgpe.c     | 355 ++++++++++++++++++++++++++++++++
 drivers/acpi/acpica/exconfig.c  |   3 +-
 drivers/acpi/acpica/exconvrt.c  |   4 +-
 drivers/acpi/acpica/exfield.c   | 105 +++++++---
 drivers/acpi/acpica/exresop.c   |  26 +++
 drivers/acpi/acpica/exstore.c   |  20 +-
 drivers/acpi/acpica/extrace.c   |   2 +-
 drivers/acpi/acpica/nsaccess.c  |   2 +-
 drivers/acpi/acpica/nsobject.c  |   7 +-
 drivers/acpi/acpica/nsxfname.c  |   8 +
 drivers/acpi/acpica/psargs.c    |   8 +-
 drivers/acpi/acpica/psloop.c    |   5 +-
 drivers/acpi/acpica/psobject.c  |   1 -
 drivers/acpi/acpica/psparse.c   |  16 +-
 drivers/acpi/acpica/tbdata.c    |  32 ++-
 drivers/acpi/acpica/tbfind.c    |  16 +-
 drivers/acpi/acpica/utcksum.c   |   3 +-
 drivers/acpi/acpica/utdebug.c   |   9 +-
 drivers/acpi/acpica/utdelete.c  |   5 +
 drivers/acpi/arm64/mpam.c       |   6 +-
 drivers/acpi/loongarch/iovt.c   |   6 +-
 include/acpi/acpixf.h           |   2 +-
 include/acpi/actbl1.h           |   6 +-
 include/acpi/actbl2.h           | 200 +++++++++++++++++-
 include/acpi/platform/aclinux.h |   1 +
 30 files changed, 811 insertions(+), 71 deletions(-)
Signature · 1 line
2.56.0