linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lv Zheng <lv.zheng@intel.com>
To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Robert Moore <robert.moore@intel.com>,
	Len Brown <len.brown@intel.com>
Cc: Lv Zheng <lv.zheng@intel.com>, linux-acpi@vger.kernel.org
Subject: [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA.
Date: Thu, 31 Oct 2013 09:29:23 +0800	[thread overview]
Message-ID: <cover.1383182392.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1383009405.git.lv.zheng@intel.com>

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(-)

-- 
1.7.10


  parent reply	other threads:[~2013-10-31  1:30 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  1:28 [PATCH 00/20] ACPICA: 20130927 Release Lv Zheng
2013-10-29  1:28 ` [PATCH 01/20] ACPICA: Ensure that debug output is immediately disabled on termination Lv Zheng
2013-10-29  1:28 ` [PATCH 02/20] ACPICA: Table print header function: Increase default width for table length Lv Zheng
2013-10-29  1:29 ` [PATCH 03/20] ACPICA: Add a check for a null node during namespace walk Lv Zheng
2013-10-29  1:29 ` [PATCH 04/20] ACPICA: Add history/line-editing for Unix/Linux systems Lv Zheng
2013-10-29  1:29 ` [PATCH 05/20] ACPICA: Fix a macro for the hardware-reduced case Lv Zheng
2013-10-29  1:29 ` [PATCH 06/20] ACPICA: Add safe versions of common string functions Lv Zheng
2013-10-29  1:29 ` [PATCH 07/20] ACPICA: Cleanup memory allocation macros and configurability Lv Zheng
2013-10-29  1:29 ` [PATCH 08/20] ACPICA: Predefine name macros: Sort list Lv Zheng
2013-10-29  1:29 ` [PATCH 09/20] ACPICA: Fix possible memory leaks in the GPE handling Lv Zheng
2013-10-29  1:29 ` [PATCH 10/20] ACPICA: Hardcode access width for the reset register Lv Zheng
2013-10-29  1:29 ` [PATCH 11/20] ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules Lv Zheng
2013-10-29  1:29 ` [PATCH 12/20] ACPICA: Update comment: no functional change Lv Zheng
2013-10-29  1:30 ` [PATCH 13/20] ACPICA: Linuxize: Change indentation of C labels Lv Zheng
2013-10-29  1:30 ` [PATCH 14/20] ACPICA: Deploy ACPI_EXPORT_SYMBOL_INIT for main ACPICA initialization interfaces Lv Zheng
2013-10-29  1:30 ` [PATCH 15/20] ACPICA: Prevent possible build issues for use of ACPI_PRINTF_LIKE macro Lv Zheng
2013-10-29  1:30 ` [PATCH 16/20] ACPICA: AcpiSrc: Fix indentation issues for macro invocations Lv Zheng
2013-10-29  1:30 ` [PATCH 17/20] ACPICA: Simplify configuration of global ACPI_REDUCED_HARDWARE macro Lv Zheng
2013-10-29  1:30 ` [PATCH 18/20] ACPICA: Add support to allow host to redefine individual OSL prototypes Lv Zheng
2013-10-29  1:30 ` [PATCH 19/20] ACPICA: Update aclinux.h for new OSL override mechanism Lv Zheng
2013-10-29  1:30 ` [PATCH 20/20] ACPICA: Update version to 20130927 Lv Zheng
2013-10-31  1:29 ` Lv Zheng [this message]
2013-10-31  1:29   ` [PATCH 01/15] ACPICA: Update default space handlers Lv Zheng
2013-10-31  1:30   ` [PATCH 02/15] ACPICA: Update ANOBJ_IS_EXTERNAL flag Lv Zheng
2013-10-31  1:30   ` [PATCH 03/15] ACPICA: Update namespace dump code Lv Zheng
2013-10-31  1:30   ` [PATCH 04/15] ACPICA: Update RSDP table definitions Lv Zheng
2013-10-31  1:30   ` [PATCH 05/15] ACPICA: Update DMAR " Lv Zheng
2013-10-31  1:30   ` [PATCH 06/15] ACPICA: Add new statistics interface Lv Zheng
2013-10-31  1:30   ` [PATCH 07/15] ACPICA: Fix wrong object length returned by acpi_ut_get_simple_object_size() Lv Zheng
2013-10-31  1:30   ` [PATCH 08/15] ACPICA: Fix an ACPI_ALLOCATE_ZEROED() reversal Lv Zheng
2013-10-31  1:30   ` [PATCH 09/15] ACPICA: Cleanup useless memset invocations Lv Zheng
2013-10-31  1:30   ` [PATCH 10/15] ACPICA: Remove dead AOPOBJ_INVALID check Lv Zheng
2013-10-31  1:31   ` [PATCH 11/15] ACPICA: Fix cached object deletion code Lv Zheng
2013-10-31  1:31   ` [PATCH 12/15] ACPICA: Update compilation environment settings Lv Zheng
2013-10-31  1:31   ` [PATCH 13/15] ACPICA: Update acpidump related header file changes Lv Zheng
2013-10-31  1:31   ` [PATCH 14/15] ACPICA: Cleanup asmlinkage for ACPICA APIs Lv Zheng
2013-10-31  1:31   ` [PATCH 15/15] ACPICA: Add __init for ACPICA initializers/finalizers Lv Zheng
2013-10-31 13:54   ` [PATCH 00/15] ACPICA: Update ACPICA files to reduce source code differences between Linux and ACPICA Rafael J. Wysocki
2013-11-01  0:39     ` Zheng, Lv
2013-10-31 13:53 ` [PATCH 00/20] ACPICA: 20130927 Release Rafael J. Wysocki
2013-11-01  0:39   ` Zheng, Lv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1383182392.git.lv.zheng@intel.com \
    --to=lv.zheng@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=robert.moore@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).