Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363841 > unrolled thread

[PATCH 00/30] ACPICA: 20160318 Release

Started byLv Zheng <lv.zheng@intel.com>
First post2016-03-24 02:40 +0100
Last post2016-03-28 05:10 +0200
Articles 4 on this page of 24 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 00/30] ACPICA: 20160318 Release Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:40 +0100
    [PATCH 28/30] ACPICA: Events: Fix an issue that _REG association can happen before namespace is initialized Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 24/30] ACPICA: Hardware: Add access_width/bit_offset support in acpi_hw_read() Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
      RE: [PATCH 24/30] ACPICA: Hardware: Add access_width/bit_offset  support in acpi_hw_read() "Zheng, Lv" <lv.zheng@intel.com> - 2016-03-29 10:20 +0200
    [PATCH 21/30] ACPICA: Utilities: Add ACPI_IS_POWER_OF_TWO() Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 26/30] ACPICA: Interpreter: Fix wrong conditions for acpi_ev_install_region_handlers() invocation Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 17/30] ACPICA: Add support for QNX 6.6 platform Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 14/30] ACPICA: iASL: Cleanup/optimization for ToPLD macro support Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 29/30] ACPICA: Namespace: Reorder \_SB._INI to make sure it is evaluated before _REG evaluations Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 30/30] ACPICA: Update version to 20160318 Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 16/30] ACPICA: Headers: Update generation of the ACPICA library Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 20/30] ACPICA: iASL/Disassembler: Improve handling of unresolved methods Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 19/30] ACPICA: All: const keyword changes across the ACPICA source Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 25/30] ACPICA: Hardware: Add access_width/bit_offset support for acpi_hw_write() Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 18/30] ACPICA: Utilities: Update for strtoul64 merger Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 13/30] ACPICA: Interpreter: Update some function headers, no functional change Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 22/30] Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS() Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 23/30] ACPICA: Hardware: Enhance acpi_hw_validate_register() with access_width/bit_offset awareness Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 15/30] ACPICA: Cleanup some invocation indentations, no functional change Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 12/30] ACPICA: Intepreter: Add object extensions to Concatenate operand Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 27/30] ACPICA: Tables: Fix wrong MLC condition for dynamic table loading Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    [PATCH 06/30] ACPICA: IORT: Add in support for the SMMUv3 subtable Lv Zheng <lv.zheng@intel.com> - 2016-03-24 02:50 +0100
    Re: [PATCH 00/30] ACPICA: 20160318 Release "Rafael J. Wysocki" <rafael@kernel.org> - 2016-03-24 14:10 +0100
      RE: [PATCH 00/30] ACPICA: 20160318 Release "Zheng, Lv" <lv.zheng@intel.com> - 2016-03-28 05:10 +0200

Page 2 of 2 — ← Prev page 1 [2]


#1363863 — [PATCH 27/30] ACPICA: Tables: Fix wrong MLC condition for dynamic table loading

FromLv Zheng <lv.zheng@intel.com>
Date2016-03-24 02:50 +0100
Subject[PATCH 27/30] ACPICA: Tables: Fix wrong MLC condition for dynamic table loading
Message-ID<rg2zr-3Dt-49@gated-at.bofh.it>
In reply to#1363841
ACPICA commit 5798cd6171ea38bcf4594d0ccc78870784776ba5

The patch corrects wrong condition before group MLC is disabled.

Link: https://github.com/acpica/acpica/commit/5798cd61
Link: https://bugs.acpica.org/show_bug.cgi?id=1262
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
---
 drivers/acpi/acpica/exconfig.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/acpi/acpica/exconfig.c b/drivers/acpi/acpica/exconfig.c
index f741613..a1d177d 100644
--- a/drivers/acpi/acpica/exconfig.c
+++ b/drivers/acpi/acpica/exconfig.c
@@ -118,7 +118,9 @@ acpi_ex_add_table(u32 table_index,
 	/* Execute any module-level code that was found in the table */
 
 	acpi_ex_exit_interpreter();
-	acpi_ns_exec_module_code_list();
+	if (acpi_gbl_group_module_level_code) {
+		acpi_ns_exec_module_code_list();
+	}
 	acpi_ex_enter_interpreter();
 
 	/*
-- 
1.7.10

[toc] | [prev] | [next] | [standalone]


#1363864 — [PATCH 06/30] ACPICA: IORT: Add in support for the SMMUv3 subtable

FromLv Zheng <lv.zheng@intel.com>
Date2016-03-24 02:50 +0100
Subject[PATCH 06/30] ACPICA: IORT: Add in support for the SMMUv3 subtable
Message-ID<rg2zr-3Dt-51@gated-at.bofh.it>
In reply to#1363841
From: Al Stone <ahs3@redhat.com>

ACPICA commit 9f7c3e148f440049615e2791d73b292f65692d7e

The most recent version of the IORT specification adds in a definition
for a subtable to describe SMMUv3 devices; there is already a subtable
for SMMUv1/v2 devices.

Add in the definition of the subtable, add in the code to compile it,
and add in a template for it.

Link: https://github.com/acpica/acpica/commit/9f7c3e14
Signed-off-by: Al Stone <ahs3@redhat.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 include/acpi/actbl2.h |   22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index e9d3cc1..d6bd377 100644
--- a/include/acpi/actbl2.h
+++ b/include/acpi/actbl2.h
@@ -660,7 +660,7 @@ struct acpi_ibft_target {
  * IORT - IO Remapping Table
  *
  * Conforms to "IO Remapping Table System Software on ARM Platforms",
- * Document number: ARM DEN 0049A, 2015
+ * Document number: ARM DEN 0049B, October 2015
  *
  ******************************************************************************/
 
@@ -690,7 +690,8 @@ enum acpi_iort_node_type {
 	ACPI_IORT_NODE_ITS_GROUP = 0x00,
 	ACPI_IORT_NODE_NAMED_COMPONENT = 0x01,
 	ACPI_IORT_NODE_PCI_ROOT_COMPLEX = 0x02,
-	ACPI_IORT_NODE_SMMU = 0x03
+	ACPI_IORT_NODE_SMMU = 0x03,
+	ACPI_IORT_NODE_SMMU_V3 = 0x04
 };
 
 struct acpi_iort_id_mapping {
@@ -780,6 +781,23 @@ struct acpi_iort_smmu {
 #define ACPI_IORT_SMMU_DVM_SUPPORTED    (1)
 #define ACPI_IORT_SMMU_COHERENT_WALK    (1<<1)
 
+struct acpi_iort_smmu_v3 {
+	u64 base_address;	/* SMMUv3 base address */
+	u32 flags;
+	u32 reserved;
+	u64 vatos_address;
+	u32 model;		/* O: generic SMMUv3 */
+	u32 event_gsiv;
+	u32 pri_gsiv;
+	u32 gerr_gsiv;
+	u32 sync_gsiv;
+};
+
+/* Masks for Flags field above */
+
+#define ACPI_IORT_SMMU_V3_COHACC_OVERRIDE   (1)
+#define ACPI_IORT_SMMU_V3_HTTU_OVERRIDE     (1<<1)
+
 /*******************************************************************************
  *
  * IVRS - I/O Virtualization Reporting Structure
-- 
1.7.10

[toc] | [prev] | [next] | [standalone]


#1364143

From"Rafael J. Wysocki" <rafael@kernel.org>
Date2016-03-24 14:10 +0100
Message-ID<rgdbs-34K-7@gated-at.bofh.it>
In reply to#1363841
On Thu, Mar 24, 2016 at 2:38 AM, Lv Zheng <lv.zheng@intel.com> wrote:
> The 20160318 ACPICA kernel-resident subsystem updates are linuxized based
> on the linux-pm/linux-next branch.
>
> The patchset has passed the following build/boot tests.
> Build tests are performed as follows:
> 1. i386 + allyes
> 2. i386 + allno
> 3. i386 + default + ACPI_DEBUGGER=y
> 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> 6. i386 + default + ACPI=n
> 7. x86_64 + allyes
> 8. x86_64 + allno
> 9. x86_64 + default + ACPI_DEBUGGER=y
> 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> 12.x86_64 + default + ACPI=n
> Boot tests are performed as follows:
> 1. i386 + default + ACPI_DEBUGGER=y
> 2. x86_64 + default + ACPI_DEBUGGER=y
> Where:
> 1. i386: machine named as "Dell Inspiron Mini 1010"
> 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> 3. default: kernel configuration with following items enabled:
>    All hardware drivers related to the machines of i386/x86_64
>    All "drivers/acpi" configurations
>    All "drivers/platform" drivers
>    All other drivers that link the APIs provided by ACPICA subsystem
>
> The divergences checking result:
> Before applying (20160212 Release):
>   506 lines
> After applying (20160318 Release):
>   494 lines
>
> Al Stone (1):
>   ACPICA: IORT: Add in support for the SMMUv3 subtable
>
> Aleksey Makarov (1):
>   ACPICA: Headers: Add new constants for the DBG2 ACPI table
>
> Bob Moore (16):
>   ACPICA: Headers: Minor update for SPCR ACPI table
>   ACPICA: ACPI 6.1: Updates for the HEST ACPI table
>   ACPICA: ACPI 6.1: Update NFIT table for additional new fields
>   ACPICA: Headers: Update DMAR table for October 2014 I/O spec
>   ACPICA: Tables: Update FADT handling
>   ACPICA: ACPI 6.1: Add full support for this version of ACPI spec
>   ACPICA: iASL/Headers: Fix incorrect definition of FPDT table
>   ACPICA: Intepreter: Add object extensions to Concatenate operand
>   ACPICA: Interpreter: Update some function headers, no functional
>     change
>   ACPICA: iASL: Cleanup/optimization for ToPLD macro support
>   ACPICA: Cleanup some invocation indentations, no functional change
>   ACPICA: Headers: Update generation of the ACPICA library
>   ACPICA: Utilities: Update for strtoul64 merger
>   ACPICA: All: const keyword changes across the ACPICA source
>   ACPICA: iASL/Disassembler: Improve handling of unresolved methods
>   ACPICA: Update version to 20160318
>
> Lv Zheng (11):
>   ACPICA: Linuxize: reduce divergences for 20160212 release
>   ACPICA: Linuxize: Remove useless platform headers
>   ACPICA: Utilities: Add ACPI_IS_POWER_OF_TWO()
>   Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS()
>   ACPICA: Hardware: Enhance acpi_hw_validate_register() with
>     access_width/bit_offset awareness
>   ACPICA: Hardware: Add access_width/bit_offset support in
>     acpi_hw_read()
>   ACPICA: Hardware: Add access_width/bit_offset support for
>     acpi_hw_write()
>   ACPICA: Interpreter: Fix wrong conditions for
>     acpi_ev_install_region_handlers() invocation
>   ACPICA: Tables: Fix wrong MLC condition for dynamic table loading
>   ACPICA: Events: Fix an issue that _REG association can happen before
>     namespace is initialized
>   ACPICA: Namespace: Reorder \_SB._INI to make sure it is evaluated
>     before _REG evaluations
>
> Will Miles (1):
>   ACPICA: Add support for QNX 6.6 platform

This is too late to go in during the current merge window, but I'll
queue it up and send a separate pull request for 4.6 with it next
week.

I'll fix up the whitespace breakage in the first patch (it is easy
enough to fix up manually), but as Len said, please fix the process to
avoid such things in the future.

Thanks,
Rafael

[toc] | [prev] | [next] | [standalone]


#1365284

From"Zheng, Lv" <lv.zheng@intel.com>
Date2016-03-28 05:10 +0200
Message-ID<rhvJ0-10A-9@gated-at.bofh.it>
In reply to#1364143
Hi,

> From: rjwysocki@gmail.com [mailto:rjwysocki@gmail.com] On Behalf Of
> Rafael J. Wysocki
> Subject: Re: [PATCH 00/30] ACPICA: 20160318 Release
> 
> On Thu, Mar 24, 2016 at 2:38 AM, Lv Zheng <lv.zheng@intel.com> wrote:
> > The 20160318 ACPICA kernel-resident subsystem updates are linuxized based
> > on the linux-pm/linux-next branch.
> >
> > The patchset has passed the following build/boot tests.
> > Build tests are performed as follows:
> > 1. i386 + allyes
> > 2. i386 + allno
> > 3. i386 + default + ACPI_DEBUGGER=y
> > 4. i386 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 5. i386 + default + ACPI_DEBUG=n + ACPI=y
> > 6. i386 + default + ACPI=n
> > 7. x86_64 + allyes
> > 8. x86_64 + allno
> > 9. x86_64 + default + ACPI_DEBUGGER=y
> > 10.x86_64 + default + ACPI_DEBUGGER=n + ACPI_DEBUG=y
> > 11.x86_64 + default + ACPI_DEBUG=n + ACPI=y
> > 12.x86_64 + default + ACPI=n
> > Boot tests are performed as follows:
> > 1. i386 + default + ACPI_DEBUGGER=y
> > 2. x86_64 + default + ACPI_DEBUGGER=y
> > Where:
> > 1. i386: machine named as "Dell Inspiron Mini 1010"
> > 2. x86_64: machine named as "HP Compaq 8200 Elite SFF PC"
> > 3. default: kernel configuration with following items enabled:
> >    All hardware drivers related to the machines of i386/x86_64
> >    All "drivers/acpi" configurations
> >    All "drivers/platform" drivers
> >    All other drivers that link the APIs provided by ACPICA subsystem
> >
> > The divergences checking result:
> > Before applying (20160212 Release):
> >   506 lines
> > After applying (20160318 Release):
> >   494 lines
> >
> > Al Stone (1):
> >   ACPICA: IORT: Add in support for the SMMUv3 subtable
> >
> > Aleksey Makarov (1):
> >   ACPICA: Headers: Add new constants for the DBG2 ACPI table
> >
> > Bob Moore (16):
> >   ACPICA: Headers: Minor update for SPCR ACPI table
> >   ACPICA: ACPI 6.1: Updates for the HEST ACPI table
> >   ACPICA: ACPI 6.1: Update NFIT table for additional new fields
> >   ACPICA: Headers: Update DMAR table for October 2014 I/O spec
> >   ACPICA: Tables: Update FADT handling
> >   ACPICA: ACPI 6.1: Add full support for this version of ACPI spec
> >   ACPICA: iASL/Headers: Fix incorrect definition of FPDT table
> >   ACPICA: Intepreter: Add object extensions to Concatenate operand
> >   ACPICA: Interpreter: Update some function headers, no functional
> >     change
> >   ACPICA: iASL: Cleanup/optimization for ToPLD macro support
> >   ACPICA: Cleanup some invocation indentations, no functional change
> >   ACPICA: Headers: Update generation of the ACPICA library
> >   ACPICA: Utilities: Update for strtoul64 merger
> >   ACPICA: All: const keyword changes across the ACPICA source
> >   ACPICA: iASL/Disassembler: Improve handling of unresolved methods
> >   ACPICA: Update version to 20160318
> >
> > Lv Zheng (11):
> >   ACPICA: Linuxize: reduce divergences for 20160212 release
> >   ACPICA: Linuxize: Remove useless platform headers
> >   ACPICA: Utilities: Add ACPI_IS_POWER_OF_TWO()
> >   Utilities: Fix missing parentheses in ACPI_GET_BITS()/ACPI_SET_BITS()
> >   ACPICA: Hardware: Enhance acpi_hw_validate_register() with
> >     access_width/bit_offset awareness
> >   ACPICA: Hardware: Add access_width/bit_offset support in
> >     acpi_hw_read()
> >   ACPICA: Hardware: Add access_width/bit_offset support for
> >     acpi_hw_write()
> >   ACPICA: Interpreter: Fix wrong conditions for
> >     acpi_ev_install_region_handlers() invocation
> >   ACPICA: Tables: Fix wrong MLC condition for dynamic table loading
> >   ACPICA: Events: Fix an issue that _REG association can happen before
> >     namespace is initialized
> >   ACPICA: Namespace: Reorder \_SB._INI to make sure it is evaluated
> >     before _REG evaluations
> >
> > Will Miles (1):
> >   ACPICA: Add support for QNX 6.6 platform
> 
> This is too late to go in during the current merge window, but I'll
> queue it up and send a separate pull request for 4.6 with it next
> week.
> 
> I'll fix up the whitespace breakage in the first patch (it is easy
> enough to fix up manually), but as Len said, please fix the process to
> avoid such things in the future.
[Lv Zheng] 
OK, I'll try to solve this as early as possible from ACPICA upstream.

Thanks and best regards
-Lv

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | linux.kernel


csiph-web