[PATCH v2 6/6] ACPI / EC: Remove non-root-caused busy polling quirks.

2015-05-15 Thread Lv Zheng
://bugzilla.kernel.org/show_bug.cgi?id=20242 Reference: https://bugzilla.kernel.org/show_bug.cgi?id=77431 Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/ec.c | 35 +++ 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi

[PATCH v2 4/6] ACPI / EC: Fix and clean up register access guarding logics.

2015-05-15 Thread Lv Zheng
/show_bug.cgi?id=12011 Reference: https://bugzilla.kernel.org/show_bug.cgi?id=20242 Reference: https://bugzilla.kernel.org/show_bug.cgi?id=77431 Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/ec.c | 82 +++ drivers/acpi/internal.h |1

[PATCH v2 1/6] ACPI / EC: Update acpi_ec_is_gpe_raised() with new GPE status flag.

2015-05-15 Thread Lv Zheng
are defined to a same value. Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/ec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 5e8fed4..99084e8 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -267,7 +267,7 @@ static

[PATCH v2 0/6] ACPI / EC: Update due to recent changes.

2015-05-15 Thread Lv Zheng
against this removal and generate new quirks based on the new code base. Lv Zheng (6): ACPI / EC: Update acpi_ec_is_gpe_raised() with new GPE status flag. ACPI / EC: Remove storming threashold enlarging quirk. ACPI / EC: Remove irqs_disabled() check. ACPI / EC: Fix and clean up register access

[PATCH 07/31] ACPICA: Utilities: Cleanup to remove useless ACPI_PRINTF/FORMAT_xxx helpers.

2015-04-12 Thread Lv Zheng
(). This patch also removes above replaced macros as there are no users. This is a preparation to switch acpi_physical_address to 64-bit on 32-bit kernel builds. Link: https://github.com/acpica/acpica/commit/b6061237 Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com

[PATCH 09/31] ACPICA: Tables: Don't release ACPI_MTX_TABLES in acpi_tb_install_standard_table().

2015-04-12 Thread Lv Zheng
/c70434d4 Signed-off-by: Octavian Purdila octavian.purd...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com Cc: 3.16+ sta...@vger.kernel.org # 3.16+ --- drivers/acpi/acpica/tbinstal.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/acpi

[PATCH 04/31] ACPICA: Executer: Cleanup to remove an unnecessary conversion.

2015-04-12 Thread Lv Zheng
ACPICA commit c327986430b7eb170c17d0f45735fe71bb62a810 The conversion converts an acpi_physical_address to acpi_physical_address, this patch thus removes such useless conversion. Link: https://github.com/acpica/acpica/commit/c3279864 Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob

[PATCH 06/31] ACPICA: Utilities: Cleanup to convert physical address printing formats.

2015-04-12 Thread Lv Zheng
-bit kernel builds. Link: https://github.com/acpica/acpica/commit/7f06739d Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica/exfldio.c | 10 -- drivers/acpi/acpica/hwvalid.c | 16 drivers/acpi/acpica

[PATCH 02/31] ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address.

2015-04-12 Thread Lv Zheng
*' but argument is of type 'acpi_physical_address *' This patch corrects acpi_find_root_pointer(). Link: https://github.com/acpica/acpica/commit/7d9fd643 Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica/tbxfroot.c |7 --- include/acpi

[PATCH 11/31] ACPICA: Applications: Remove use of __DATE__ macro.

2015-04-12 Thread Lv Zheng
/3d9fb6d1 Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk Acked-by: David E. Box david.e@linux.intel.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acapps.h |8 1 file changed, 4 insertions(+), 4 deletions

[PATCH 14/31] ACPICA: Utilities: Correct conditional compilation definitions.

2015-04-12 Thread Lv Zheng
...@spectrumdigital.se Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica/acutils.h | 14 -- drivers/acpi/acpica/utmisc.c |2 ++ drivers/acpi/acpica/utuuid.c |2 ++ 3 files changed, 16 insertions(+), 2 deletions

[PATCH 05/31] ACPICA: Utilities: Cleanup to enforce ACPI_PHYSADDR_TO_PTR()/ACPI_PTR_TO_PHYSADDR().

2015-04-12 Thread Lv Zheng
the table fields, it is better to fix it with alignment also fixed. So this patch doesn't modify such code. There should be no functional problem by leaving them unchanged. Link: https://github.com/acpica/acpica/commit/154f6d07 Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore

[PATCH 08/31] ACPICA: Utilities: split IO address types from data type models.

2015-04-12 Thread Lv Zheng
: https://bugzilla.kernel.org/show_bug.cgi?id=87971 Reference: https://bugzilla.kernel.org/show_bug.cgi?id=79501 Reported-and-tested-by: Paul Menzel paulepan...@users.sourceforge.net Reported-and-tested-by: Sial Nije sialn...@gmail.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob

[PATCH 12/31] ACPICA: Utilities: Remove unused acpi_ut_create_pkg_state_and_push().

2015-04-12 Thread Lv Zheng
: https://github.com/acpica/acpica/commit/2a9ebd97 Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acutils.h |6 -- drivers/acpi/acpica/utstate.c | 34

[PATCH 13/31] ACPICA: Tables: Move an iasl specific table function to iasl source file.

2015-04-12 Thread Lv Zheng
the additonal kernel unused argument for acpi_tb_get_next_root_index() (renamed to acpi_tb_get_next_root_index()). This argument is used in the ACPICA upstream. Link: https://github.com/acpica/acpica/commit/6eb364d7 Reported-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Signed-off-by: Lv Zheng

[PATCH 28/31] ACPICA: iASL: Add support for MSDM ACPI table.

2015-04-12 Thread Lv Zheng
-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index df729bf..e3ab1ff 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -73,6 +73,7

[PATCH 19/31] ACPICA: Update AML Debugger global variables.

2015-04-12 Thread Lv Zheng
-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acglobal.h |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h index a165d25..8a99dcb 100644 --- a/drivers/acpi

[PATCH 24/31] ACPICA: Permanently set _REV to the value '2'.

2015-04-12 Thread Lv Zheng
/commit/7af00219 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/utglobal.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c index

[PATCH 18/31] ACPICA: Update Resource descriptor dump module.

2015-04-12 Thread Lv Zheng
...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acresrc.h |4 +- drivers/acpi/acpica/rsdump.c | 229 + 2 files changed, 117 insertions(+), 116 deletions(-) diff --git a/drivers/acpi/acpica/acresrc.h b/drivers/acpi/acpica

[PATCH 25/31] ACPICA: Remove unused internal AML opcode.

2015-04-12 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 3ec867764b079a98d8097d705c9f7b68270c04ec This patch removes unused AML_INT_STATICSTRING_OP. Lv Zheng. Link: https://github.com/acpica/acpica/commit/3ec86776 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 15/31] ACPICA: Resources: Correct conditional compilation definitions.

2015-04-12 Thread Lv Zheng
into ACPI_DEBUGGER, including part of this change. Link: https://github.com/acpica/acpica/commit/f92a0851 Reported-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica/acresrc.h |2

[PATCH 27/31] ACPICA: Update for SLIC ACPI table.

2015-04-12 Thread Lv Zheng
...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 52 +++-- 1 file changed, 3 insertions(+), 49 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index f06d75e..df729bf 100644 --- a/include/acpi

[PATCH 29/31] ACPICA: Disassembler: Some cleanup of the table dump module.

2015-04-12 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com 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 robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 26/31] ACPICA: Add // before ascii output of buffers.

2015-04-12 Thread Lv Zheng
robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/utbuffer.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/acpi/acpica/utbuffer.c b/drivers/acpi/acpica/utbuffer.c index 242bd07..a8c3964 100644 --- a/drivers/acpi/acpica/utbuffer.c

[PATCH 16/31] ACPICA: Casting changes around acpi_physical_address/acpi_size.

2015-04-12 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 46dc081e570b1363af1e368980201cbb65c4100f Update for some recent changes, detected by MSVC and FreeBSD builds. Link: https://github.com/acpica/acpica/commit/46dc081e Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 31/31] ACPICA: Update version to 20150410.

2015-04-12 Thread Lv Zheng
Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 65aa4fa..08ef57b 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi

[PATCH 21/31] ACPICA: iASL: Enhancement for constant folding.

2015-04-12 Thread Lv Zheng
(7, INT1) Linux kernel is not affected by this patch. Link: https://github.com/acpica/acpica/commit/4f9e950d Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acstruct.h |5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 20/31] ACPICA: iASL/Disassembler: Add option to assume table contains valid AML.

2015-04-12 Thread Lv Zheng
, the disassembler will treat the table as an unkown data table and simply do a hex dump of the table. Linux kernel is not affected by this patch. Link: https://github.com/acpica/acpica/commit/f5d2ff3f Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers

[PATCH 23/31] ACPICA: Add Windows 2015 string to _OSI support.

2015-04-12 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit b293f602a67da478ae0bec129e68bd99787d9908 This change adds this string for Windows 10. Link: https://github.com/acpica/acpica/commit/b293f602 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com

[PATCH 30/31] ACPICA: Fix a couple issues with the local printf module.

2015-04-12 Thread Lv Zheng
the reported issue and doesn't fix other states issues. So now we still can see breakage in format types and integer bases. This patch resets format type/base states for local printf to fix this issue. Lv Zheng. Linux kernel is not affected by this patch as acpi_ut_vsnprintf() hasn't been enabled

[PATCH 22/31] ACPICA: Add infrastructure for External() opcode.

2015-04-12 Thread Lv Zheng
/d115fe2f Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/aclocal.h |2 +- drivers/acpi/acpica/acopcode.h |2 ++ drivers/acpi/acpica/amlcode.h |1 + drivers/acpi/acpica/dsutils.c | 11 +++ drivers/acpi/acpica

[PATCH 17/31] ACPICA: Fix a sscanf format string.

2015-04-12 Thread Lv Zheng
-by: Lv Zheng lv.zh...@intel.com --- tools/power/acpi/os_specific/service_layers/oslinuxtbl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/acpi/os_specific/service_layers/oslinuxtbl.c b/tools/power/acpi/os_specific/service_layers/oslinuxtbl.c index 92f1fd7..db15c9d

[PATCH 01/31] ACPICA: Linuxize: Reduce divergences for 20150410 release.

2015-04-12 Thread Lv Zheng
This patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20150410 release can be applied with reduced human intervention. Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acresrc.h |2 +- drivers/acpi/acpica

[PATCH 00/31] ACPICA: 20150410 Release

2015-04-12 Thread Lv Zheng
. Lv Zheng (13): ACPICA: Linuxize: Reduce divergences for 20150410 release. ACPICA: Tables: Change acpi_find_root_pointer() to use acpi_physical_address. ACPICA: Unix: Cleanup to use ACPI_TO_INTEGER() to calc page offset. ACPICA: Executer: Cleanup to remove an unnecessary conversion

[PATCH 03/31] ACPICA: Unix: Cleanup to use ACPI_TO_INTEGER() to calc page offset.

2015-04-12 Thread Lv Zheng
ACPICA commit 9e2d8180f4d5e61949b17513bae8aff6412f62dd The offset calculation needn't convert a pointer to a special integer type. So this patch uses ACPI_TO_INTEGER() instead. This patch only affects acpidump tool. Link: https://github.com/acpica/acpica/commit/9e2d8180 Signed-off-by: Lv Zheng

[PATCH 10/31] ACPICA: Events: Add support to return both enable/status register values for GPE and fixed event.

2015-04-12 Thread Lv Zheng
() and acpi_get_gpe_status() are also cleaned up to reflect this change. The old ACPI_EVENT_FLAG_SET is carefully kept to avoid regressions. It can be deleted after we can make sure all its references are removed from OSPM code. Lv Zheng. Link: https://github.com/acpica/acpica/commit/e25d791e Signed-off-by: Lv Zheng

[PATCH 08/19] ACPICA: ACPI 6.0: Add changes for FADT table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com 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 robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 11/19] ACPICA: Hardware: Fix a resource leak issue in acpi_hw_build_pci_list().

2015-05-20 Thread Lv Zheng
code by the Coverity tool. This patch fixes this issue by always intializing the returned object in acpi_hw_build_pci_list() so that the caller of acpi_hw_build_pci_list() needn't initialize it and always using the returned object to track the new allocated objects. Lv Zheng. Link: https

[PATCH 14/19] ACPICA: ACPI 6.0: Add support for IORT table.

2015-05-20 Thread Lv Zheng
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

[PATCH 19/19] ACPICA: Update version to 20150515.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit ed4de2e8b0a5dd6fc17773a055590bff0e995588 Version 20150515. Link: https://github.com/acpica/acpica/commit/ed4de2e8 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/acpixf.h |2

[PATCH 13/19] ACPICA: ACPI 6.0: Add ACPI_SUB_PTR().

2015-05-20 Thread Lv Zheng
ACPICA commit 5de82757aef5d6163e37064033aacbce193abbca Using a minus number with ACPI_ADD_PTR() will cause compiler warnings, such warnings cannot be eliminated by force casting an unsigned value to a signed value. This patch thus introduces ACPI_SUB_PTR() to be used with minus numbers. Lv Zheng

[PATCH 16/19] ACPICA: iASL/disassembler - fix possible fault for -e option.

2015-05-20 Thread Lv Zheng
/commit/403b8b00 Reference: https://bugs.acpica.org/show_bug.cgi?id=1158 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acdebug.h |4 +++- drivers/acpi/acpica/utfileio.c |2 +- drivers/acpi/acpica/utxferror.c | 11

[PATCH 12/19] ACPICA: ACPI 6.0: Add changes for MADT table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 02cbb41232bccf7a91967140cab95d5f48291f21 New subtable type. Some additions to existing subtables. Link: https://github.com/acpica/acpica/commit/02cbb412 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 18/19] ACPICA: ACPI 6.0: Add support for NFIT table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit e4e17ca361373e9b81494bb4ca697a12cef3cba6 NVDIMM Firmware Interface Table. Link: https://github.com/acpica/acpica/commit/e4e17ca3 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi

[PATCH 17/19] ACPICA: acpi_help: Add option to display all known/supported ACPI tables.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit d6d003556c6fc22e067d5d511577128a661266c3 -t option displays all ACPI tables. Link: https://github.com/acpica/acpica/commit/d6d00355 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi

[PATCH 15/19] ACPICA: ACPI 6.0: Add changes for DRTM table.

2015-05-20 Thread Lv Zheng
ACPICA commit b02b754a2b7afcd0384cb3b31f29eb1be028fe90 This patch adds support for DRTM (Dynamic Root of Trust for Measurement table) in iasl. Lv Zheng. Link: https://github.com/acpica/acpica/commit/b02b754a Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo

[PATCH 01/19] ACPICA: Additional dragon_fly BSD support.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 3e93431674abe947202b0f9a0afa7b625b17caa6 Makefiles and environment defines. This commit doesn't affect Linux builds. Link: https://github.com/acpica/acpica/commit/3e934316 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv

[PATCH 03/19] ACPICA: ACPI 6.0: Add support for new predefined names.

2015-05-20 Thread Lv Zheng
Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/aclocal.h | 10 + drivers/acpi/acpica/acpredef.h | 45 +--- drivers/acpi/acpica/nsprepkg.c | 13 drivers/acpi/acpica/nsrepair.c |2 +- 4 files changed, 66 insertions

[PATCH 09/19] ACPICA: ACPI 6.0: Add changes for LPIT table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com 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 robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh

[PATCH 06/19] ACPICA: iASL: Enhance detection of non-ascii or corrupted input files.

2015-05-20 Thread Lv Zheng
be compiled. This patch only affects iASL which is not in the Linux upstream. Link: https://github.com/acpica/acpica/commit/08170904 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acutils.h |2 +- drivers/acpi/acpica/utfileio.c

[PATCH 05/19] ACPICA: Parser: Move a couple externals to the proper header.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 7325b59c8b5d1522ded51ae6a76b804f6e8da5d2 Moved from a C module. Link: https://github.com/acpica/acpica/commit/7325b59c Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica

[PATCH 02/19] ACPICA: ACPI 6.0: Add support for STAO table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 532bf402a503061afd9d80a23e1d3c8fd99b052c _STA override table. Link: https://github.com/acpica/acpica/commit/532bf402 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl3.h | 16

[PATCH 10/19] ACPICA: Dispatcher: Fix a resource leak issue in acpi_ds_auto_serialize_method().

2015-05-20 Thread Lv Zheng
ACPICA commit 29d03840cbab435e8ea82e9339ff9d84535c647d This patch fixes a resource leak issue in acpi_ds_auto_serialize_method(). It is reported by the Coverity tool as unsecure code. Lv Zheng. Link: https://github.com/acpica/acpica/commit/29d03840 Reference: https://jira01.devtools.intel.com

[PATCH 00/19] ACPICA: 20150515 Release

2015-05-20 Thread Lv Zheng
: Update version to 20150515. Lv Zheng (5): ACPICA: Dispatcher: Fix a resource leak issue in acpi_ds_auto_serialize_method(). ACPICA: Hardware: Fix a resource leak issue in acpi_hw_build_pci_list(). ACPICA: ACPI 6.0: Add ACPI_SUB_PTR(). ACPICA: ACPI 6.0: Add support for IORT table

[PATCH 07/19] ACPICA: ACPI 6.0: Add support for WPBT table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit a6ccb4033b49f7aa33a17ddc41dd69d57e799fbd Windows Platform Binary Table. Link: https://github.com/acpica/acpica/commit/a6ccb403 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl3

[PATCH 04/19] ACPICA: ACPI 6.0: Add support for XENV table.

2015-05-20 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit 08c4197cf4ddd45f0c961078220b0fc19c10745c Xen Environment table. Link: https://github.com/acpica/acpica/commit/08c4197c Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl3.h

[PATCH 4/6] ACPI / EC: Add event clearing variation support.

2015-06-07 Thread Lv Zheng
://bugzilla.kernel.org/show_bug.cgi?id=97381 Link: https://bugzilla.kernel.org/show_bug.cgi?id=98111 Reported-and-tested-by: Gabriele Mazzotta gabriele@gmail.com Reported-and-tested-by: Tigran Gabrielyan tigran...@gmail.com Reported-and-tested-by: Adrien D ghb...@openmailbox.org Signed-off-by: Lv Zheng lv.zh

[PATCH 1/6] ACPI / EC: Cleanup transaction state transition.

2015-06-07 Thread Lv Zheng
This patch collects transaction state transition code into one function. We then could have a single function to maintain transaction related behaviors. No functional changes. Signed-off-by: Lv Zheng lv.zh...@intel.com Tested-by: Gabriele Mazzotta gabriele@gmail.com Tested-by: Tigran

[PATCH 5/6] ACPI / EC: Fix EC_FLAGS_QUERY_HANDSHAKE platforms using new event clearing timing.

2015-06-07 Thread Lv Zheng
Gabrielyan tigran...@gmail.com Reported-and-tested-by: Adrien D ghb...@openmailbox.org Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/ec.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 8477626..2f13880 100644

[PATCH 3/6] ACPI / EC: Convert event handling work queue into loop style.

2015-06-07 Thread Lv Zheng
changes, this patch is just a no-op. But the event handling work queue can be changed into the loop style to allow us to control the code in a more flexible way (for example, adding event=0x00 termination condition in the loop). Signed-off-by: Lv Zheng lv.zh...@intel.com Tested-by: Gabriele

[PATCH 6/6] ACPI / EC: Fix a code coverity issue when QR_EC transactions are failed.

2015-06-07 Thread Lv Zheng
EC_FLAGS_QUERY_PENDING at the proper position for different modes in order to ensure SCI_EVT handling can proceed. For event mode, this is already covered in advance_transaction(). Cc: 3.16+ sta...@vger.kernel.org # 3.16+ Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/ec.c | 14 +- 1

[PATCH 2/6] ACPI / EC: Cleanup _Qxx evaluation work item.

2015-06-07 Thread Lv Zheng
by acpi_os_wait_events_complete(). Though the QR_EC transaction (previous commit) and _Qxx evaluation (this commmit) are now moved to the work queue that is not covered by acpi_os_wait_events_complete(), there is no issue can be seen in the suspend/resume tests. Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi

[PATCH 0/6] ACPI / EC: Fix issues related to the event handling.

2015-06-07 Thread Lv Zheng
://bugzilla.kernel.org/show_bug.cgi?id=82611 Link: https://bugzilla.kernel.org/show_bug.cgi?id=94411 Link: https://bugzilla.kernel.org/show_bug.cgi?id=97381 Link: https://bugzilla.kernel.org/show_bug.cgi?id=98111 Lv Zheng (6): ACPI / EC: Cleanup transaction state transition. ACPI / EC: Cleanup _Qxx evaluation

[PATCH v2 02/28] ACPICA: Linuxize: Replace __FUNCTION__ with __func__.

2015-06-23 Thread Lv Zheng
ACPICA commit cb3d1c79f862cd368d749c9b8d9dced40111b0d0 __FUNCTION__ is MSVC only, in Linux, it is __func__. Lv Zheng. In ACPICA, this is achieved by string replacement in release script and this patch contains the source code difference between the Linux upstream and ACPICA that is caused

[PATCH v2 00/28] ACPICA: 20150619 Release

2015-06-23 Thread Lv Zheng
for MADT GIC version field. Lv Zheng (15): ACPICA: Linuxize: Reduce divergences for 20150619 release. ACPICA: Linuxize: Replace __FUNCTION__ with __func__. ACPICA: Hardware: Enable 64-bit firmware waking vector for selected FACS. ACPICA: Tables: Enable both 32-bit and 64-bit FACS

[PATCH v2 05/28] ACPICA: Hardware: Enable firmware waking vector for both 32-bit and 64-bit FACS.

2015-06-23 Thread Lv Zheng
Zheng, Bob Moore. Link: https://bugzilla.kernel.org/show_bug.cgi?id=74021 Link: https://github.com/acpica/acpica/commit/368eb607 Link: https://github.com/acpica/acpica/commit/70f62a80 Reported-and-tested-by: Oswald Buddenhagen o...@kde.org Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off

[PATCH v2 08/28] ACPICA: Tables: Fix an issue that ACPI initialization is blocked due to no FACS.

2015-06-23 Thread Lv Zheng
ACPICA commit ebd544ed24c5a4faba11f265e228b7a821a729f5 This patch fixes an issue that when FACS tables do not exist, ACPI initialization cannot proceed. ACPICA BZ 1122. Lv Zheng. Link: https://bugs.acpica.org/show_bug.cgi?id=1122 Link: https://github.com/acpica/acpica/commit/ebd544ed Signed-off

[PATCH v2 06/28] ACPICA: Hardware: Cleanup the return values in acpi_set_waking_vector().

2015-06-23 Thread Lv Zheng
ACPICA commit a04dbfa308a48ab0b2d10519c54a6c533c5c8949 The return statement in acpi_set_waking_vector() is wrong and this patch corrects it. Lv Zheng. Link: https://github.com/acpica/acpica/commit/a04dbfa3 Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com

[PATCH v2 03/28] ACPICA: Hardware: Enable 64-bit firmware waking vector for selected FACS.

2015-06-23 Thread Lv Zheng
of acpi_set_firmware_waking_vector() to indicate no 64bit waking vector support. Lv Zheng. This patch also updates acpi_set_firmware_waking_vector() invocations in order to keep 32-bit firmware waking vector favor for Linux. 64-bit firmware waking vector has never been enabled by Linux

[PATCH v2 01/28] ACPICA: Linuxize: Reduce divergences for 20150619 release.

2015-06-23 Thread Lv Zheng
This patch reduces source code differences between the Linux kernel and the ACPICA upstream so that the linuxized ACPICA 20150619 release can be applied with reduced human intervention. Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/dsobject.c |2 +- drivers/acpi/acpica

[PATCH v2 19/28] ACPICA: Cleanup output for the ASL Debug object.

2015-06-23 Thread Lv Zheng
://github.com/acpica/acpica/commit/d4a53a39 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acobject.h |1 + drivers/acpi/acpica/exdebug.c | 42 ++-- drivers/acpi/acpica/exdump.c |9

[PATCH v2 15/28] ACPICA: Namespace: Add support to allow overriding objects.

2015-06-23 Thread Lv Zheng
ACPICA commit 6084e34e44565c6293f446c0202b5e59b055e351 This patch adds an NamespaceOverride flag in struct acpi_walk_state, and allows namespace objects to be overridden when this flag is set. Lv Zheng. Link: https://github.com/acpica/acpica/commit/6084e34e Signed-off-by: Lv Zheng lv.zh

[PATCH v2 16/28] ACPICA: Namespace: Add support of OSDT table.

2015-06-23 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com 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

[PATCH v2 09/28] ACPICA: Tables: Enable default 64-bit FADT addresses favor.

2015-06-23 Thread Lv Zheng
not to break OSPMs. Lv Zheng. Link: https://bugzilla.kernel.org/show_bug.cgi?id=74021 Link: https://github.com/acpica/acpica/commit/4da56eea Cc: 3.15.1+ sta...@vger.kernel.org # 3.15.1+ Reported-and-tested-by: Oswald Buddenhagen o...@kde.org Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob

[PATCH v2 21/28] ACPICA: acpidump: Convert the default behavior to dump from /sys/firmware/acpi/tables.

2015-06-23 Thread Lv Zheng
ACPICA commit 04c3bd7e9d6aeb2b3edebe99c90dc271ae4e6353 In order to work without any additional option to dump tables when /dev/mem doesn't exist, this patch switches the default behavior of acpidump to dump from /sys/firmware/acpi/tables. Reported by Al Stone, Fixed by Lv Zheng. Link: https

[PATCH v2 20/28] ACPICA: acpidump: Allow customized tables to be dumped without accessing /dev/mem.

2015-06-23 Thread Lv Zheng
and acpidump -c -n FADT. And it worked as expected. Lv Zheng. Link: https://github.com/acpica/acpica/commit/ab29013c Reported-by: Al Stone a...@redhat.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- .../acpi/os_specific/service_layers

[PATCH v2 11/28] ACPICA: EFI: Add EFI interface definitions to eliminate dependency of GNU EFI.

2015-06-23 Thread Lv Zheng
where the efi_main() is invoked. Code to impelement these is platform specific, and ACPICA currently choose to hide such platform specific code within the specific EFI impelementation. Lv Zheng. This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/5d00e67a Signed

[PATCH v2 10/28] ACPICA: MSVC6: Fix build issue for variable argument macros.

2015-06-23 Thread Lv Zheng
ACPICA commit 72f5a358f28c5d154ed613c142c7dca03192c5ee This patch intoduces generic variable macro detection support and fixes build breakage issue with macros using __VA_ARGS__ feature defined in C99. This patch fixes this build issue. Lv Zheng. This patch doesn't affect Linux kernel. Link

[PATCH v2 14/28] ACPICA: ACPI 6.0: Add values for MADT GIC version field.

2015-06-23 Thread Lv Zheng
@linaro.org Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl1.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index 06b61f0..fcd5709 100644 --- a/include/acpi/actbl1.h +++ b

[PATCH v2 23/28] ACPICA: De-macroize calls to standard C library functions.

2015-06-23 Thread Lv Zheng
such as strlen. The original purpose for these macros is long since obsolete. Also cast various invocations as necessary. Bob Moore, Jung-uk Kim, Lv Zheng. Link: https://github.com/acpica/acpica/commit/3b1026e0 Link: https://github.com/acpica/acpica/commit/00f0dc83 Link: https://github.com/acpica

[PATCH v2 24/28] ACPICA: Split C library prototypes to new header.

2015-06-23 Thread Lv Zheng
From: Bob Moore robert.mo...@intel.com ACPICA commit f51bf8497889a94046820639537165bbd7ccdee6 Adds acclib.h This patch doesn't affect Linux kernel. Link: https://github.com/acpica/acpica/commit/f51bf849 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com

[PATCH v2 26/28] ACPICA: Update TPM2 ACPI table.

2015-06-23 Thread Lv Zheng
Sakkinen jarkko.sakki...@linux.intel.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index

[PATCH v2 22/28] ACPI / acpidump: Update acpidump manual.

2015-06-23 Thread Lv Zheng
This patch updates acpidump manual according to the recent changes. Signed-off-by: Lv Zheng lv.zh...@intel.com --- tools/power/acpi/man/acpidump.8 | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/tools/power/acpi/man/acpidump.8 b/tools/power/acpi/man

[PATCH v2 25/28] ACPICA: Update definitions for the TCPA and TPM2 ACPI tables.

2015-06-23 Thread Lv Zheng
-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 86 + include/acpi/actbl3.h | 34 ++- 2 files changed, 81 insertions(+), 39 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 370d69d

[PATCH v2 27/28] ACPICA: Comment update, no functional change.

2015-06-23 Thread Lv Zheng
From: gongzg gongzhaog...@inspur.com ACPICA commit 1a8ec7b83d55c7b957247d685bd1c73f6a012f1e Remove redundant comment in nseval.c Link: https://github.com/acpica/acpica/commit/1a8ec7b8 Signed-off-by: gongzg gongzhaog...@inspur.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv

[PATCH v2 28/28] ACPICA: Update version to 20150619.

2015-06-23 Thread Lv Zheng
Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 33b4675..c1e9578 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi

[PATCH v2 18/28] ACPICA: Update for acpi_install_table memory types.

2015-06-23 Thread Lv Zheng
From: Zhang Rui rui.zh...@intel.com ACPICA commit 3f78b7fb3f98f35d62f532c1891deb748ad196c9 Physical/virtual address flags were reversed. Link: https://github.com/acpica/acpica/commit/3f78b7fb Signed-off-by: Zhang Rui rui.zh...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off

[PATCH v2 13/28] ACPICA: Utilities: Add _CLS processing

2015-06-23 Thread Lv Zheng
Zheng. Link: https://github.com/acpica/acpica/commit/9a2b638a Acked-by: Mika Westerberg mika.westerb...@linux.intel.com Reviewed-by: Hanjun Guo hanjun@linaro.org Signed-off-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore

[PATCH v2 12/28] ACPICA: Add dragon_fly support to unix file mapping file.

2015-06-23 Thread Lv Zheng
...@gmail.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- tools/power/acpi/os_specific/service_layers/osunixmap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/power/acpi/os_specific/service_layers/osunixmap.c b/tools

[PATCH v2 04/28] ACPICA: Tables: Enable both 32-bit and 64-bit FACS.

2015-06-23 Thread Lv Zheng
for dumping more ACPI tables, it won't get reverted when such exclusion is no longer necessary. Lv Zheng. Link: https://bugzilla.kernel.org/show_bug.cgi?id=74021 Link: https://github.com/acpica/acpica/commit/f7b86f35 Cc: 3.14.1+ sta...@vger.kernel.org # 3.14.1+ Reported-and-tested-by: Oswald

[PATCH v2 17/28] ACPICA: Namespace: Change namespace override to avoid node deletion.

2015-06-23 Thread Lv Zheng
acpi_namespace_node undeleted so that the override mechanism can happen during runtime. Bob Moore. Link: https://github.com/acpica/acpica/commit/c0ce529e Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- drivers/acpi/acpica/nssearch.c | 23

[PATCH v2 07/28] ACPICA: Tables: Fix an issue that FACS initialization is performed twice.

2015-06-23 Thread Lv Zheng
ACPICA commit 90f5332a15e9d9ba83831ca700b2b9f708274658 This patch adds a new FACS initialization flag for acpi_tb_initialize(). acpi_enable_subsystem() might be invoked several times in OS bootup process, and we don't want FACS initialization to be invoked twice. Lv Zheng. Link: https

[PATCH 21/32] ACPICA: Cleanup output for the ASL Debug object.

2015-06-18 Thread Lv Zheng
://github.com/acpica/acpica/commit/d4a53a39 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acobject.h |1 + drivers/acpi/acpica/exdebug.c | 42 ++-- drivers/acpi/acpica/exdump.c |9

[PATCH 25/32] ACPICA: De-macroize calls to standard C library functions.

2015-06-18 Thread Lv Zheng
/acpica/commit/3b1026e0 Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- drivers/acpi/acpica/acutils.h | 64 drivers/acpi/acpica/dsfield.c |2 +- drivers/acpi/acpica/dsinit.c

[PATCH 23/32] ACPICA: acpidump: Convert the default behavior to dump from /sys/firmware/acpi/tables.

2015-06-18 Thread Lv Zheng
ACPICA commit 04c3bd7e9d6aeb2b3edebe99c90dc271ae4e6353 In order to work without any additional option to dump tables when /dev/mem doesn't exist, this patch switches the default behavior of acpidump to dump from /sys/firmware/acpi/tables. Reported by Al Stone, Fixed by Lv Zheng. Link: https

[PATCH 31/32] ACPICA: Comment update, no functional change.

2015-06-18 Thread Lv Zheng
From: gongzg gongzhaog...@inspur.com ACPICA commit 1a8ec7b83d55c7b957247d685bd1c73f6a012f1e Remove redundant comment in nseval.c Link: https://github.com/acpica/acpica/commit/1a8ec7b8 Signed-off-by: gongzg gongzhaog...@inspur.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv

[PATCH 30/32] ACPICA: Update TPM2 ACPI table.

2015-06-18 Thread Lv Zheng
Sakkinen jarkko.sakki...@linux.intel.com Signed-off-by: Bob Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index

[PATCH 29/32] ACPICA: Update definitions for the TCPA and TPM2 ACPI tables.

2015-06-18 Thread Lv Zheng
-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/actbl2.h | 86 + include/acpi/actbl3.h | 34 ++- 2 files changed, 81 insertions(+), 39 deletions(-) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 370d69d

[PATCH 32/32] ACPICA: Update version to 20150619.

2015-06-18 Thread Lv Zheng
Moore robert.mo...@intel.com Signed-off-by: Lv Zheng lv.zh...@intel.com --- include/acpi/acpixf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 33b4675..c1e9578 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi

[PATCH 22/32] ACPICA: acpidump: Allow customized tables to be dumped without accessing /dev/mem.

2015-06-18 Thread Lv Zheng
and acpidump -c -n FADT. And it worked as expected. Lv Zheng. Link: https://github.com/acpica/acpica/commit/ab29013c Reported-by: Al Stone a...@redhat.com Signed-off-by: Lv Zheng lv.zh...@intel.com Signed-off-by: Bob Moore robert.mo...@intel.com --- .../acpi/os_specific/service_layers

<    1   2   3   4   5   6   7   8   9   10   >