Skip to content

ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA.

Lv Zheng linux-acpi 1 version Applied

Status from this message: Queued up for 3.13 (with some changelog/subject modifications), thanks Lv!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/15ACPICA: Update default space handlers.drivers/acpi/acpica/exregion.c+1 -00 replies
2/15ACPICA: Update ANOBJ_IS_EXTERNAL flag.drivers/acpi/acpica/nssearch.c+2 -10 replies
3/15ACPICA: Update namespace dump code.drivers/acpi/acpica/nsdumpdv.c+5 -20 replies
4/15ACPICA: Update RSDP table definitions.include/acpi/actbl.h+18 -10 replies
5/15ACPICA: Update DMAR table definitions.drivers/iommu/dmar.c drivers/iommu/intel_irq_remapping.c include/acpi/actbl2.h+8 -80 replies
6/15ACPICA: Add new statistics interface.drivers/acpi/acpica/acglobal.h drivers/acpi/acpica/dsmethod.c drivers/acpi/acpica/evsci.c +4 more+66 -00 replies
7/15ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size().drivers/acpi/acpica/utobject.c+13 -100 replies
8/15ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal.drivers/acpi/acpica/utobject.c+1 -10 replies
9/15ACPICA: Cleanup useless memset invocations.drivers/acpi/acpica/utobject.c drivers/acpi/acpica/utstate.c+0 -20 replies
10/15ACPICA: Remove dead AOPOBJ_INVALID check.drivers/acpi/acpica/exfldio.c+0 -60 replies
11/15ACPICA: Fix cached object deletion code.drivers/acpi/acpica/utalloc.c+2 -20 replies
12/15ACPICA: Update compilation environment settings.include/acpi/platform/acenv.h+3 -00 replies
13/15ACPICA: Update acpidump related header file changes.include/acpi/actypes.h include/acpi/platform/acenv.h+11 -20 replies
14/15ACPICA: Cleanup asmlinkage for ACPICA APIs.arch/x86/kernel/acpi/sleep.c arch/x86/kernel/acpi/sleep.h arch/x86/kernel/acpi/wakeup_32.S +3 more+18 -60 replies
15/15ACPICA: Add __init for ACPICA initializers/finalizers.drivers/acpi/acpica/tbutils.c drivers/acpi/acpica/tbxface.c drivers/acpi/acpica/tbxfload.c +4 more+15 -160 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA.

This series is based on ACPICA 20130927 release.

This series is to reduce the source code differences between Linux and ACPICA so that the release process can be easier with less human intervention and the known bugs can also be prevented.

This series includes only Linux part patches.
Please also find another companion ACPICA patchset for references.

The source code differences between Linux and ACPICA can be summarized as follows:
1. 1516 Lines (53.2 Kbytes) before applying the patch set;
2. 1001 Lines (35.3 Kbytes) after applying the patch set.

The rest of the divergences are now accountable:

1.  (Internal) ACPI_FUTURE_USAGE
2.  (Internal) Linux compiler.h related
3.  (Internal) Bug report message
4.  AcpiSrc bug
5.  Some events related divergences
6.  FADT 64bit/32bit favor
7.  Boolean -> bool conversion
8.  GPE masking mechanism
9.  D3_cold implicity

10. XSDT - introduced by table override and sgi-hotplug
11. Xen sleep register hook
12. Slow hardware support
Where:
Internal: divergences are committed and would not be fixed.

A QA process is executed to compare resulting binary files. Those patches which were not expected to change any text section indeed, changed no text. Sometimes line numbers changed due to line deletions and insertions, but that is expected.

The patch set has passed a build/boot test on the following machines:
Dell Inspiron Mini 1010 (i386)
HP Compaq 8200 Elite SFF PC (x86-64)
With the following kernel configuration items enabled:
CONFIG_ACPI_AC
CONFIG_ACPI_BATTERY
CONFIG_ACPI_NUMA
CONFIG_ACPI_PROCESSOR
CONFIG_ACPI_THERMAL
CONFIG_ACPI_VIDEO
CONFIG_CPU_FREQ
CONFIG_I2C_SCMI
CONFIG_SENSORS_ACPI_POWER
CONFIG_PANASONIC_LAPTOP
CONFIG_XO15_EBOOK
CONFIG_DMAR_TABLE
CONFIG_INTEL_IOMMU
CONFIG_IRQ_REMAP

Please review.

Lv Zheng (15):
ACPICA: Update default space handlers.
ACPICA: Update ANOBJ_IS_EXTERNAL flag.
ACPICA: Update namespace dump code.
ACPICA: Update RSDP table definitions.
ACPICA: Update DMAR table definitions.
ACPICA: Add new statistics interface.
ACPICA: Fix wrong object length returned by
acpi_ut_get_simple_object_size().
ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal.
ACPICA: Cleanup useless memset invocations.
ACPICA: Remove dead AOPOBJ_INVALID check.
ACPICA: Fix cached object deletion code.
ACPICA: Update compilation environment settings.
ACPICA: Update acpidump related header file changes.
ACPICA: Cleanup asmlinkage for ACPICA APIs.
ACPICA: Add __init for ACPICA initializers/finalizers.

 arch/x86/kernel/acpi/sleep.c        |   10 +++++++++
 arch/x86/kernel/acpi/sleep.h        |    2 ++
 arch/x86/kernel/acpi/wakeup_32.S    |    2 +-
 arch/x86/kernel/acpi/wakeup_64.S    |    2 +-
 drivers/acpi/acpica/acglobal.h      |    2 ++
 drivers/acpi/acpica/dsmethod.c      |    1 +
 drivers/acpi/acpica/evsci.c         |    1 +
 drivers/acpi/acpica/exfldio.c       |    6 ------
 drivers/acpi/acpica/exregion.c      |    1 +
 drivers/acpi/acpica/hwxfsleep.c     |    4 ++--
 drivers/acpi/acpica/nsdumpdv.c      |    7 ++++--
 drivers/acpi/acpica/nssearch.c      |    3 ++-
 drivers/acpi/acpica/tbutils.c       |    3 +--
 drivers/acpi/acpica/tbxface.c       |    2 +-
 drivers/acpi/acpica/tbxfload.c      |    2 +-
 drivers/acpi/acpica/tbxfroot.c      |    2 +-
 drivers/acpi/acpica/utalloc.c       |    4 ++--
 drivers/acpi/acpica/utglobal.c      |   12 +++++++++++
 drivers/acpi/acpica/utobject.c      |   26 ++++++++++++-----------
 drivers/acpi/acpica/utstate.c       |    1 -
 drivers/acpi/acpica/utxface.c       |   40 ++++++++++++++++++++++++++++++++++-
 drivers/acpi/acpica/utxfinit.c      |    6 +++---
 drivers/iommu/dmar.c                |    4 ++--
 drivers/iommu/intel_irq_remapping.c |    8 +++----
 include/acpi/acpixf.h               |   20 ++++++++++--------
 include/acpi/actbl.h                |   19 ++++++++++++++++-
 include/acpi/actbl2.h               |    4 ++--
 include/acpi/actypes.h              |   18 ++++++++++++++++
 include/acpi/platform/acenv.h       |    8 +++++--
 29 files changed, 163 insertions(+), 57 deletions(-)
Signature · 1 line
1.7.10