04 Aug, 2017

1 commit

  • ACPICA commit 5ad4f0b7bf9e7ba175bd320cf7950f3b38799ff3

    ACPI 6.2 adds support for the Software Delegated Exception Interface,
    which is described by "Software Delegated Exception Interface (SDEI)"
    ARM DEN0054A.

    Add the necessary types in the ACPICA header files and support for
    compiling/decompiling the table.

    Link: https://github.com/acpica/acpica/commit/5ad4f0b7
    Signed-off-by: James Morse
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    James Morse
     

20 Jul, 2017

2 commits

  • ACPICA commit 8cadc4fb500e2aa52241e367c87a0f95d9760c58

    ARM IORT specification has provision to define Proximity domain
    in SMMUv3 IORT table. Adding required changes to decode
    Proximity domain of SMMUv3 IORT table.

    Link: https://github.com/acpica/acpica/commit/8cadc4fb
    Signed-off-by: Ganapatrao Kulkarni
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Ganapatrao Kulkarni
     
  • ACPICA commit d00a4eb86e64bb4fa70f57ab5e5ca0a4ca2ad8ef

    IORT revision C has been published with a number of new SMMU
    implementation identifiers; define them.

    Link: https://github.com/acpica/acpica/commit/d00a4eb8
    Signed-off-by: Robin Murphy
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Robin Murphy
     

12 Jun, 2017

2 commits

  • ACPICA commit b922ecaf9053dae3b8933664e951ed1ee8f86f07

    Update to new version of the TCG/ACPI spec.
    Does not include table compiler or disassembler support.

    Link: https://github.com/acpica/acpica/commit/b922ecaf
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit 4f12387029c6a561e7792f53caf2e7f1f0ab2bbe

    This patch adds WSMT support, the table can be found at Line [#1].
    The support includes table structure definitions (ACPICA tables) and
    assembly/disassembly (iasl) support. Lv Zheng.

    Link: https://github.com/acpica/acpica/commit/4f123870
    Link: https://msdn.microsoft.com/windows/hardware/drivers/bringup/acpi-system-description-tables#wsmt [1]
    Signed-off-by: Lv Zheng
    Signed-off-by: Bob Moore
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

11 May, 2017

1 commit

  • Pull more ACPI updates from Rafael Wysocki:
    "These update the ACPICA code in the kernel to upstream revision
    20170303 which adds a few minor fixes and improvements, update ACPI
    SoC drivers with new device IDs, platform-related information and
    similar, fix the register information in the xpower PMIC driver,
    introduce a concept of "always present" devices to the ACPI device
    enumeration code and use it to fix a problem with one platform, and
    fix a system resume issue related to power resources.

    Specifics:

    - Update the ACPICA code in the kernel to upstream revision 20170303
    which includes:
    * Minor fixes and improvements in the core code (Bob Moore,
    Seunghun Han).
    * Debugger fixes (Colin Ian King, Lv Zheng).
    * Compiler/disassembler improvements (Bob Moore, David Box, Lv
    Zheng).
    * Build-related update (Lv Zheng).

    - Add new device IDs and platform-related information to the ACPI
    drivers for Intel (LPSS) and AMD (APD) SoCs (Hanjun Guo, Hans de
    Goede).

    - Make it possible to quirk ACPI-enumerated devices as "always
    present" on platforms where they are incorrectly reported as not
    present by the AML and add the INT0002 device ID to the list of
    "always present" devices (Hans de Goede).

    - Fix the register information in the xpower PMIC driver and add
    comments to map the registers to symbols used by AML to it (Hans de
    Goede).

    - Move the code turning off unused ACPI power resources during system
    resume to a point after all devices have been resumed to avoid
    issues with power resources that do not behave as expected (Hans de
    Goede)"

    * tag 'acpi-extra-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (22 commits)
    ACPI / power: Delay turning off unused power resources after suspend
    ACPI / PMIC: xpower: Fix power_table addresses
    ACPI / LPSS: Call pwm_add_table() for Bay Trail PWM device
    ACPICA: Update version to 20170303
    ACPICA: iasl: add ASL conversion tool
    ACPICA: Local cache support: Allow small cache objects
    ACPICA: Disassembler: Do not unconditionally remove temporary names
    ACPICA: iasl: Fix IORT SMMU GSI disassembling
    ACPICA: Cleanup AML opcode definitions, no functional change
    ACPICA: Debugger: Add interpreter blocking mark for single-step mode
    ACPICA: debugger: fix memory leak on Pathname
    ACPICA: Update for automatic repair code for objects returned by evaluate_object
    ACPICA: Namespace: fix operand cache leak
    ACPICA: Fix several incorrect invocations of ACPICA return macro
    ACPICA: Fix a module for excessive debug output
    ACPICA: Update some function headers, no funtional change
    ACPICA: Disassembler: Enhance resource descriptor detection
    i2c: designware: Add ACPI HID for Hisilicon Hip07/08 I2C controller
    ACPI / APD: Add clock frequency for Hisilicon Hip07/08 I2C controller
    ACPI / bus: Add INT0002 to list of always-present devices
    ...

    Linus Torvalds
     

29 Apr, 2017

1 commit

  • ACPICA commit c04d310039d3e0ed1cb62876fe7e596fbc75ab01
    ACPICA commit a65c1df7e6b4bad8e37df822018c40c6c446add9

    The key feature of this utility is that the original comments within
    the input ASL files are preserved during the conversion process, and
    included within the converted ASL+ file -- thus creating a transparent
    conversion of existing ASL files to ASL+ (ASL 2.0)

    This patch is an automatic generation of the ASL converter commit,
    Linux kernel isn't affected by the functionality provided in this
    commit, but requires the linuxized changes to support future ACPICA
    release automation.

    Link: https://github.com/acpica/acpica/commit/c04d3100
    Link: https://github.com/acpica/acpica/commit/a65c1df7
    Signed-off-by: Bob Moore
    Signed-off-by: Jung-uk Kim
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

27 Apr, 2017

1 commit

  • ACPICA commit 637b88de24a78c20478728d9d66632b06fcaa5bf

    If the IORT template is compiled and then iort.aml binary disassembled to
    iort.dsl, SMMUv1 node lists incorrect offset for SMMU_Nsg_cfg_irpt Interrupt:
    [0ECh 0236 8] SMMU_Nsg_irpt Interrupt : 0000000000000000
    [0ECh 0236 8] SMMU_Nsg_cfg_irpt Interrupt : 0000000000000000
    This is because iasl hasn't implemented SMMU GSI decoding yet.

    This patch fixes this issue by preparing structures for decoding IORT SMMU
    GSI. ACPICA BZ 1340, reported by Alexei Fedorov, fixed by Lv Zheng.

    Link: https://github.com/acpica/acpica/commit/637b88de
    Link: https://bugs.acpica.org/show_bug.cgi?id=1340
    Reported-by: Alexei Fedorov
    Signed-off-by: Lv Zheng
    Signed-off-by: Bob Moore
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

25 Apr, 2017

1 commit

  • Remove a useless constant that slipped through me when I did the code
    review. This commit fixes the issue.

    Cc: Jiandi An
    Fixes: 69c558de63c7 ("tpm/tpm_crb: Enable TPM CRB interface for ARM64")
    Signed-off-by: Jarkko Sakkinen

    Jarkko Sakkinen
     

04 Apr, 2017

1 commit

  • TCG ACPI Specification Family "1.2" and "2.0" Version 1.2
    Revision 8 introduces new start method for ARM SMC.

    - Add new start method (type 11) for ARM SMC
    - Add start method specific parameters offset for ARM SMC start method

    Signed-off-by: Jiandi An
    Tested-by: Shanker Donthineni
    Reviewed-by: Jarkko Sakkinen
    Tested-by: Jarkko Sakkinen (on x86/PTT)
    Signed-off-by: Jarkko Sakkinen

    Jiandi An
     

09 Feb, 2017

1 commit


05 Apr, 2016

4 commits

  • ACPICA commit 454b2ea5f0c254e97612e15994f7d4734a7931ea

    Adds two flags to the DMAR table.

    Link: https://github.com/acpica/acpica/commit/454b2ea5
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • 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
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Al Stone
     
  • ACPICA commit f3caa7f2e63be31f7fb8dbccabffbb70c29c3021

    Update version number and date of specification document.
    Point to DBG2 table for some constants.

    Link: https://github.com/acpica/acpica/commit/f3caa7f2
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit 1607b69238df9c1b2940262a17aa94ec49033278

    Link: https://github.com/acpica/acpica/commit/1607b692
    Signed-off-by: Aleksey Makarov .
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Aleksey Makarov
     

16 Jan, 2016

1 commit


24 Jul, 2015

1 commit


02 Jul, 2015

2 commits

  • ACPICA commit 254bf77e7ca01cb27e026fa5737f7df8dae03f2c

    - Add constans for the start_method.
    - Remove the control structure, not part of ACPI, not defined in the current
    TCG spec.

    Link: https://github.com/acpica/acpica/commit/254bf77e
    Reported-by: Jarkko Sakkinen
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit 33140b4498666337dd33a00cf3c4797a53981a7b

    Changes for a new version of the 3rd party spec for these tables,
    the "TCG ACPI Specification", December 14, 2014. Also, moved the
    definition of TPM2 to actbl2.h, next to TCPA, since both should
    be together.

    Update the table compiler/disassembler code for the tables.
    However, the "Server" TCPA table is not supported at this time.

    Link: https://github.com/acpica/acpica/commit/33140b44
    Reported-by: Jarkko Sakkinen
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

22 May, 2015

2 commits

  • ACPICA commit 5de82757aef5d6163e37064033aacbce193abbca

    This patch adds support for IORT (IO Remapping Table) in iasl.

    Note that some field names are modified to shrink their length or the
    decompiled IORT ASL will contain fields with ugly ":" alignment.

    The IORT contains field definitions around "Memory Access Properties". This
    patch also adds support to encode/decode it using inline table.

    This patch doesn't add inline table support for the SMMU interrupt fields
    due to a limitation in current ACPICA data table support. Lv Zheng.

    Link: https://github.com/acpica/acpica/commit/5de82757
    Signed-off-by: Lv Zheng
    Signed-off-by: Bob Moore
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     
  • ACPICA commit d527908bb33a3ed515cfb349cbec57121deafcc8

    Second subtable type was removed from the July 2014 LPIT
    document.

    Link: https://github.com/acpica/acpica/commit/d527908b
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

14 Apr, 2015

3 commits

  • ACPICA commit 330e3b7ec96fbd2e0677b786c09d86be36dd5673

    Cleanup of LPIT table output (Dean Nelson)
    Split some long lines.

    Link: https://github.com/acpica/acpica/commit/330e3b7e
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit a2c590ce9bff850e3abf4fd430cede860a3cb1fa

    This is the Microsoft Data Management table.

    MSDM table is not used in the Linux kernel.

    Link: https://github.com/acpica/acpica/commit/a2c590ce
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     
  • ACPICA commit c73195e13d6ad53dd7f03f86cea03c7dec72ffd3

    Update to latest table definition, which contains major changes.

    SLIC table is not used in the Linux kernel.

    Link: https://github.com/acpica/acpica/commit/c73195e1
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

05 Feb, 2015

1 commit


31 Jul, 2014

1 commit

  • Update table compiler and disassembler for new DMAR fields introduced
    in Sept. 2013.

    Note that Linux DMAR users need to be updated after applying this change.

    [zetalog: changing drivers/iommu/dmar.c accordingly]

    Cc: David Woodhouse
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

08 Jul, 2014

1 commit

  • This patch is a back port result of the following Linux commit:
    Author: David Woodhouse
    Subject: iommu/vt-d: Add ACPI namespace device reporting structures

    ACPICA need to handle old compilers where u8 object_name[] is only allowed
    for an initialized variable. This patch reduces back port source code
    differences between Linux and ACPICA upstream.

    Cc: David Woodhouse
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

07 May, 2014

2 commits


06 Apr, 2014

1 commit

  • Pull IOMMU upates from Joerg Roedel:
    "This time a few more updates queued up.

    - Rework VT-d code to support ACPI devices

    - Improvements for memory and PCI hotplug support in the VT-d driver

    - Device-tree support for OMAP IOMMU

    - Convert OMAP IOMMU to use devm_* interfaces

    - Fixed PASID support for AMD IOMMU

    - Other random cleanups and fixes for OMAP, ARM-SMMU and SHMOBILE
    IOMMU

    Most of the changes are in the VT-d driver because some rework was
    necessary for better hotplug and ACPI device support"

    * tag 'iommu-updates-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (75 commits)
    iommu/vt-d: Fix error handling in ANDD processing
    iommu/vt-d: returning free pointer in get_domain_for_dev()
    iommu/vt-d: Only call dmar_acpi_dev_scope_init() if DRHD units present
    iommu/vt-d: Check for NULL pointer in dmar_acpi_dev_scope_init()
    iommu/amd: Fix logic to determine and checking max PASID
    iommu/vt-d: Include ACPI devices in iommu=pt
    iommu/vt-d: Finally enable translation for non-PCI devices
    iommu/vt-d: Remove to_pci_dev() in intel_map_page()
    iommu/vt-d: Remove pdev from intel_iommu_attach_device()
    iommu/vt-d: Remove pdev from iommu_no_mapping()
    iommu/vt-d: Make domain_add_dev_info() take struct device
    iommu/vt-d: Make domain_remove_one_dev_info() take struct device
    iommu/vt-d: Rename 'hwdev' variables to 'dev' now that that's the norm
    iommu/vt-d: Remove some pointless to_pci_dev() calls
    iommu/vt-d: Make get_valid_domain_for_dev() take struct device
    iommu/vt-d: Make iommu_should_identity_map() take struct device
    iommu/vt-d: Handle RMRRs for non-PCI devices
    iommu/vt-d: Make get_domain_for_dev() take struct device
    iommu/vt-d: Make domain_context_mapp{ed,ing}() take struct device
    iommu/vt-d: Make device_to_iommu() cope with non-PCI devices
    ...

    Linus Torvalds
     

20 Mar, 2014

1 commit


18 Mar, 2014

1 commit


27 Feb, 2014

1 commit

  • Use push and pop to both guarantee that the correct alignment is used,
    and to restore the alignment to whatever it was before the header
    was included.

    It is reported that the #pragma pack(push/pop) directives are not supported
    by the specific GCCs, but this patch still doesn't affect kernel build
    as there are already #pragma pack([1]) directives used in the old ACPICA
    headers, which means there shouldn't be GCCs that are currently used to
    compile the ACPI kernels do not support #pragma pack() directives.

    References: https://bugs.acpica.org/show_bug.cgi?id=1058
    Signed-off-by: Bob Moore
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Bob Moore
     

11 Feb, 2014

1 commit


08 Jan, 2014

1 commit


31 Oct, 2013

1 commit

  • This patch updates DMAR table header definitions as such enhancement
    has been made in ACPICA upstream already. It ports that change to
    the Linux source to reduce source code differences between Linux and
    ACPICA upstream.

    Build test done on x86-64 machine with the following configs enabled:
    CONFIG_DMAR_TABLE
    CONFIG_IRQ_REMAP
    CONFIG_INTEL_IOMMU

    This patch does not affect the generation of the Linux kernel binary.

    [rjw: Changelog]
    Signed-off-by: Lv Zheng
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

12 Mar, 2013

2 commits

  • MTMR table is used in the recent ACPI BIOS enabled Intel MID
    platforms. The format of this table has been defined in the
    "Simple Firmware Interface Specification" except it uses GAS
    instead of 64-bit values for address fields. This patch introduces
    MTMR table support into ACPICA. Lv Zheng.

    Signed-off-by: Lv Zheng
    Signed-off-by: Bob Moore
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     
  • VRTC is used in Intel MID platforms as a replacement of the
    traditional x86 RTC. VRTC table can be found in the recent ACPI
    BIOS enabled Intel MID platforms. The format of this table has
    been defined in the "Simple Firmware Interface Specification"
    except it uses GAS instead of 64-bit values for address fields.
    This patch introduces VRTC table support into ACPICA. Lv Zheng.

    Signed-off-by: Lv Zheng
    Signed-off-by: Bob Moore
    Signed-off-by: Rafael J. Wysocki

    Lv Zheng
     

25 Jan, 2013

1 commit


10 Jan, 2013

1 commit