[UPDTE PATCH 0/3] ACPI: Cleanup direct ACPICA inclusions.

2013-12-03 Thread Lv Zheng
(Updated due to commit details attached.)

The patch in the linux-pm/linux-next queue is used as an experiment to
catch wrong ACPICA dependencies and inclusions:

 Commit: 4e8fb7987f7d0390a2e74622c7c1cbb6760c6516
 From: Lv Zheng 
 Date: Tue, 3 Dec 2013 08:49:16 +0800
 Subject: [PATCH] ACPI: Clean up inclusions of ACPI header files
 Replace direct inclusions of ,  and
 , which are incorrect, with 
 inclusions and remove some inclusions of those files that aren't
 necessary.

Now we got build errors triggered for them. Such errors include:
1. "ACPI IGD OpRegion" support in i915 DRM driver.  It can be modified to
   be CONFIG_ACPI dependent.
2. "_CRS based MCFG checker" support, original configurability of this
   piece of code relies on link stage optimization.  This patchset
   corrects it by making the configurability to be dependent on compile
   stage references.
3. "iSCSI IBFT finder" support.  IBFT can only appear on ACPI platforms
   while IBFT locating mechanism doesn't rely on ACPI table constructions.
   It is currently not dependent on CONFIG_ACPI.  IMO, this behavior is
   This patchset corrects it by making it dependent on CONFIG_ACPI.  This
   patch need to be discussed, thus marked as RFC.
4. "SFI/ACPI wrapper" support.  This error is not fixed in this patchset.
   Its solution is still under discussion.  It need to be synchronized
   with SFI users.

Lv Zheng (3):
  ACPI/i915: Fix wrong  inclusion in i915 opregion module.
  ACPI/SFI: Fix wrong  inclusion in SFI/ACPI wrapper -
acpi_disabled linkage.
  ACPI/IBFT: Fix wrong  inclusion in iSCSI boot firmware
module.

 arch/x86/pci/mmconfig-shared.c|7 +++
 drivers/acpi/apei/apei-base.c |1 -
 drivers/acpi/apei/apei-internal.h |1 -
 drivers/acpi/apei/ghes.c  |1 -
 drivers/acpi/nvs.c|1 -
 drivers/acpi/osl.c|1 -
 drivers/firmware/Kconfig  |2 +-
 drivers/gpu/drm/gma500/opregion.c |1 -
 drivers/gpu/drm/i915/Makefile |3 +--
 drivers/gpu/drm/i915/i915_drv.h   |3 ++-
 include/acpi/acpi_io.h|   17 +
 include/linux/acpi.h  |1 +
 include/linux/acpi_io.h   |   18 --
 include/linux/iscsi_ibft.h|2 +-
 14 files changed, 30 insertions(+), 29 deletions(-)
 create mode 100644 include/acpi/acpi_io.h
 delete mode 100644 include/linux/acpi_io.h

-- 
1.7.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[UPDTE PATCH 0/3] ACPI: Cleanup direct ACPICA inclusions.

2013-12-03 Thread Lv Zheng
(Updated due to commit details attached.)

The patch in the linux-pm/linux-next queue is used as an experiment to
catch wrong ACPICA dependencies and inclusions:

 Commit: 4e8fb7987f7d0390a2e74622c7c1cbb6760c6516
 From: Lv Zheng lv.zh...@intel.com
 Date: Tue, 3 Dec 2013 08:49:16 +0800
 Subject: [PATCH] ACPI: Clean up inclusions of ACPI header files
 Replace direct inclusions of acpi/acpi.h, acpi/acpi_bus.h and
 acpi/acpi_drivers.h, which are incorrect, with linux/acpi.h
 inclusions and remove some inclusions of those files that aren't
 necessary.

Now we got build errors triggered for them. Such errors include:
1. ACPI IGD OpRegion support in i915 DRM driver.  It can be modified to
   be CONFIG_ACPI dependent.
2. _CRS based MCFG checker support, original configurability of this
   piece of code relies on link stage optimization.  This patchset
   corrects it by making the configurability to be dependent on compile
   stage references.
3. iSCSI IBFT finder support.  IBFT can only appear on ACPI platforms
   while IBFT locating mechanism doesn't rely on ACPI table constructions.
   It is currently not dependent on CONFIG_ACPI.  IMO, this behavior is
   This patchset corrects it by making it dependent on CONFIG_ACPI.  This
   patch need to be discussed, thus marked as RFC.
4. SFI/ACPI wrapper support.  This error is not fixed in this patchset.
   Its solution is still under discussion.  It need to be synchronized
   with SFI users.

Lv Zheng (3):
  ACPI/i915: Fix wrong acpi/acpi.h inclusion in i915 opregion module.
  ACPI/SFI: Fix wrong acpi/acpi.h inclusion in SFI/ACPI wrapper -
acpi_disabled linkage.
  ACPI/IBFT: Fix wrong acpi/acpi.h inclusion in iSCSI boot firmware
module.

 arch/x86/pci/mmconfig-shared.c|7 +++
 drivers/acpi/apei/apei-base.c |1 -
 drivers/acpi/apei/apei-internal.h |1 -
 drivers/acpi/apei/ghes.c  |1 -
 drivers/acpi/nvs.c|1 -
 drivers/acpi/osl.c|1 -
 drivers/firmware/Kconfig  |2 +-
 drivers/gpu/drm/gma500/opregion.c |1 -
 drivers/gpu/drm/i915/Makefile |3 +--
 drivers/gpu/drm/i915/i915_drv.h   |3 ++-
 include/acpi/acpi_io.h|   17 +
 include/linux/acpi.h  |1 +
 include/linux/acpi_io.h   |   18 --
 include/linux/iscsi_ibft.h|2 +-
 14 files changed, 30 insertions(+), 29 deletions(-)
 create mode 100644 include/acpi/acpi_io.h
 delete mode 100644 include/linux/acpi_io.h

-- 
1.7.10

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/