13 Aug, 2016

1 commit

  • ACPICA commit 34ccd43af3fd1870fddfac0617dd0ba706963558

    Remove all vestiges of the version 2 FADT which never was included
    in the ACPI specification.

    This enabled significant cleanup of both the data table compiler
    and the disassembler.

    Added many clarification comments to associate each FADT version
    with the version of the ACPI spec where it was originally
    defined.

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

    Bob Moore
     

05 Apr, 2016

1 commit

  • ACPICA commit bca0c4cb063ee488c543e6f160fe89679a2338d6

    Update a warning message
    simplify versioning for "table too big" case.

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

    Bob Moore
     

16 Jan, 2016

1 commit


02 Jul, 2015

1 commit

  • ACPICA commit 27415c82fcecf467446f66d1007a0691cc5f3709

    This patch adds OSDT (Override System Definition Table) support.
    When OSDT is loaded, conflict namespace objects will be overridden
    by the AML interpreter. Bob Moore, Lv Zheng.

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

    Bob Moore
     

22 May, 2015

1 commit

  • ACPICA commit 72b0b6741990f619f6aaa915302836b7cbb41ac4

    One new 64-bit field at the end of the table.
    FADT version is now 6.

    Link: https://github.com/acpica/acpica/commit/72b0b674
    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


21 Apr, 2014

2 commits

  • Some various cleanups and renames.

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

    Bob Moore
     
  • This patch refines ACPI_TABLE_ORIGIN_xxx flags. No functional changes.

    The previous commits have introduced the following internal APIs:
    1. acpi_tb_acquire_table: Acquire struct acpi_table_header according to
    ACPI_TABLE_ORIGIN_xxx flags.
    2. acpi_tb_release_table: Release struct acpi_table_header according to
    ACPI_TABLE_ORIGIN_xxx flags.
    3. acpi_tb_install_table: Make struct acpi_table_desc.Address not NULL according to
    ACPI_TABLE_ORIGIN_xxx flags.
    4. acpi_tb_uninstall_table: Make struct acpi_table_desc.Address NULL according to
    ACPI_TABLE_ORIGIN_xxx flags.
    5. acpi_tb_validate_table: Make struct acpi_table_desc.Pointer not NULL according to
    ACPI_TABLE_ORIGIN_xxx flags.
    6. acpi_tb_invalidate_table: Make struct acpi_table_desc.Pointer NULL according to
    ACPI_TABLE_ORIGIN_xxx flags.
    It thus detects that the ACPI_TABLE_ORIGIN_UNKNOWN is redundant to
    ACPI_TABLE_ORIGIN_OVERRIDE.

    The ACPI_TABLE_ORIGIN_xxTERN_VIRTUAL flags are named as VIRTUAL in order
    not to confuse with x86 logical address, this patch also renames all
    "logical override" into "virtual override".

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

    Lv Zheng
     

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

  • Some platforms contain an XSDT that is ill-formed or otherwise invalid
    (such as containing some or all entries that are NULL pointers).
    This change adds a new function to validate the XSDT before actually
    using it. If the XSDT is found to be invalid, ACPICA will now fall
    back to using the RSDT instead.

    This feature is already in the Linux kernel. When it is back ported to
    ACPICA, code is refined to follow ACPICA coding style and this patch
    is the generation of the integration.

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

    Lv Zheng
     

31 Oct, 2013

1 commit

  • This patch updates RSDP 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.

    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
     

25 Jan, 2013

1 commit


10 Jan, 2013

2 commits

  • This is a cosmetic patch only. Comparison of the resulting binary showed
    only line number differences.

    This patch does not affect the generation of the Linux binary.
    This patch decreases 210 lines of 20121018 divergence.diff.

    The ACPICA source codes uses a totally different indentation style from the
    Linux to be compatible with other users (operating systems or BIOS).

    Indentation differences are critical to the release automation. There are
    two causes related to the "indentation" that are affecting the release
    automation:
    1. The ACPICA -> Linux release process is:
    ACPICA source -- acpisrc - hierarchy - indent ->
    linuxized ACPICA source -- diff ->
    linuxized ACPICA patch (x) -- human intervention ->
    linuxized ACPICA patch (o)
    Where
    'x' means "cannot be directly applied to the Linux"
    'o' means "can be directly applied to the Linux"
    Different "indent" version or "indent" options used in the "indent"
    step will lead to different divergences.
    The version of "indent" used for the current release process is:
    GNU indent 2.2.11
    The options of "indent" used for the current release process is:
    -npro -kr -i8 -ts8 -sob -l80 -ss -ncs
    2. Manual indentation prettifying work in the Linux side will also harm the
    automatically generated linuxized ACPICA patches, making them impossible
    to apply directly.

    This patch fixes source code differences caused by the two causes so that
    the "human intervention" can be reduced in the future.

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

    Lv Zheng
     
  • This is a cosmetic patch only. Comparison of the resulting binary showed
    only line number differences.

    This patch does not affect the generation of the Linux binary.
    This patch decreases 389 lines of 20121018 divergence.diff.

    This patch reduces source code diff caused by the simple code maintenance
    work:
    1. Deletion of the unused include files.
    2. Deletion of the deprecated codes blocks.
    3. Repositioning of the code blocks.
    4. Replacing the values with the well defined macros.
    5. Replacing the types with the equivalent types.

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

    Lv Zheng
     

21 Sep, 2012

2 commits

  • _PLD (Physical Location of Device) returns a bit-packed buffer that
    is difficult to parse. This change adds a new interface,
    AcpiDecodePldBuffer that parses the buffer into a more usable
    local struct. Also adds macros to both get and set individual
    fields within the packed _PLD buffer. Adds a new include file,
    acbuffer.h - which will be expanded to add structs for other
    ACPI names that return buffers. ACPICA BZ 954.

    Emit (in comments) the decoded contents of a static _PLD buffer
    in order to improve comprehension of this bit-packed buffer.

    Add multi-endian support to the _PLD decode routine. Deploy the
    multi-endian macros to extract data from the _PLD buffer.

    Signed-off-by: Bob Moore
    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Bob Moore
     
  • No functional change.

    Signed-off-by: Bob Moore
    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Bob Moore
     

17 Jul, 2012

2 commits


22 Mar, 2012

1 commit


17 Jan, 2012

2 commits


31 Mar, 2011

1 commit


03 Mar, 2011

1 commit


19 Jan, 2011

1 commit


23 Jan, 2010

1 commit


29 Aug, 2009

2 commits


27 Aug, 2009

1 commit


27 Mar, 2009

2 commits


17 Jan, 2009

1 commit


31 Dec, 2008

1 commit

  • acpi.h now includes only the "public" acpica headers. All other
    acpica headers are "private" and should not be included by acpica
    users. One new file, accommon.h is used to include the commonly
    used private headers for acpica code generation. Future plans
    are to move all private headers to a new subdirectory.

    Signed-off-by: Bob Moore
    Signed-off-by: Lin Ming
    Signed-off-by: Len Brown

    Bob Moore
     

29 Jul, 2008

1 commit

  • The ACPI FADT table includes an ASPM control bit. If the bit is set, do
    not enable ASPM since it may indicate that the platform doesn't actually
    support the feature.

    Tested-by: Jack Howarth
    Signed-off-by: Shaohua Li
    Signed-off-by: Jesse Barnes

    Shaohua Li
     

24 Apr, 2008

1 commit


25 Apr, 2007

1 commit


03 Feb, 2007

2 commits