Refresh some of the patches

Signed-off-by: Al Stone <ahs3@redhat.com>
This commit is contained in:
Al Stone 2016-09-01 15:19:54 -06:00
parent 52f35f0fe2
commit 3a82d24e0b
4 changed files with 81 additions and 77 deletions

View File

@ -1,5 +1,5 @@
Name: acpica-tools
Version: 20160729
Version: 20160831
Release: 1%{?dist}
Summary: ACPICA tools for the development and debug of ACPI tables
@ -186,6 +186,10 @@ fi
%changelog
* Thu Sep 1 2016 Al Stone <ahs3@redhat.com> - 20160831-1
- Update to latest upstream. Closes BZ#1372107.
- Refresh patches.
* Tue Aug 2 2016 Al Stone <ahs3@redhat.com> - 20160729-1
- Update to latest upstream. Closes BZ#1361737.
- Refresh patches.

View File

@ -8,10 +8,10 @@ From: Al Stone <ahs3@redhat.com>
generate/unix/iasl/Makefile | 13 +++++++------
2 files changed, 9 insertions(+), 6 deletions(-)
Index: acpica-unix2-20160422/generate/unix/Makefile.config
Index: acpica-unix2-20160831/generate/unix/Makefile.config
===================================================================
--- acpica-unix2-20160422.orig/generate/unix/Makefile.config
+++ acpica-unix2-20160422/generate/unix/Makefile.config
--- acpica-unix2-20160831.orig/generate/unix/Makefile.config
+++ acpica-unix2-20160831/generate/unix/Makefile.config
@@ -171,6 +171,8 @@ ifneq ($(NOFORTIFY),TRUE)
OPT_CFLAGS += -D_FORTIFY_SOURCE=2
endif
@ -21,11 +21,11 @@ Index: acpica-unix2-20160422/generate/unix/Makefile.config
CFLAGS += \
-D$(HOST)\
-D_GNU_SOURCE\
Index: acpica-unix2-20160422/generate/unix/iasl/Makefile
Index: acpica-unix2-20160831/generate/unix/iasl/Makefile
===================================================================
--- acpica-unix2-20160422.orig/generate/unix/iasl/Makefile
+++ acpica-unix2-20160422/generate/unix/iasl/Makefile
@@ -317,20 +317,21 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
--- acpica-unix2-20160831.orig/generate/unix/iasl/Makefile
+++ acpica-unix2-20160831/generate/unix/iasl/Makefile
@@ -319,20 +319,21 @@ $(OBJDIR)/prparserparse.c $(OBJDIR)/prpa
# Cannot use the common compile warning flags since the C files are created
# by the utilities above and they are not necessarily ANSI C, etc.
#

View File

@ -24,10 +24,10 @@ From: Al Stone <ahs3@redhat.com>
source/tools/acpiexec/aemain.c | 2 +-
18 files changed, 28 insertions(+), 28 deletions(-)
Index: acpica-unix-20160527/source/compiler/aslcompile.c
Index: acpica-unix2-20160831/source/compiler/aslcompile.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/aslcompile.c
+++ acpica-unix-20160527/source/compiler/aslcompile.c
--- acpica-unix2-20160831.orig/source/compiler/aslcompile.c
+++ acpica-unix2-20160831/source/compiler/aslcompile.c
@@ -729,7 +729,7 @@ CmCleanupAndExit (
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
@ -37,10 +37,10 @@ Index: acpica-unix-20160527/source/compiler/aslcompile.c
ASL_MAX_ERROR_COUNT);
}
Index: acpica-unix-20160527/source/compiler/aslerror.c
Index: acpica-unix2-20160831/source/compiler/aslerror.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/aslerror.c
+++ acpica-unix-20160527/source/compiler/aslerror.c
--- acpica-unix2-20160831.orig/source/compiler/aslerror.c
+++ acpica-unix2-20160831/source/compiler/aslerror.c
@@ -687,7 +687,7 @@ AslCommonError (
Gbl_ExceptionCount[Level]++;
if (Gbl_ExceptionCount[ASL_ERROR] > ASL_MAX_ERROR_COUNT)
@ -59,10 +59,10 @@ Index: acpica-unix-20160527/source/compiler/aslerror.c
ASL_MAX_DISABLED_MESSAGES);
return (AE_LIMIT);
}
Index: acpica-unix-20160527/source/compiler/aslopt.c
Index: acpica-unix2-20160831/source/compiler/aslopt.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/aslopt.c
+++ acpica-unix-20160527/source/compiler/aslopt.c
--- acpica-unix2-20160831.orig/source/compiler/aslopt.c
+++ acpica-unix2-20160831/source/compiler/aslopt.c
@@ -584,7 +584,7 @@ OptOptimizeNamePath (
}
@ -72,10 +72,10 @@ Index: acpica-unix-20160527/source/compiler/aslopt.c
Op->Asl.LogicalLineNumber,
AcpiPsGetOpcodeName (Op->Common.Parent->Common.AmlOpcode),
AcpiPsGetOpcodeName (Op->Common.AmlOpcode)));
Index: acpica-unix-20160527/source/compiler/aslpredef.c
Index: acpica-unix2-20160831/source/compiler/aslpredef.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/aslpredef.c
+++ acpica-unix-20160527/source/compiler/aslpredef.c
--- acpica-unix2-20160831.orig/source/compiler/aslpredef.c
+++ acpica-unix2-20160831/source/compiler/aslpredef.c
@@ -114,7 +114,7 @@ ApCheckForPredefinedMethod (
if (MethodInfo->NumArguments != 0)
@ -85,10 +85,10 @@ Index: acpica-unix-20160527/source/compiler/aslpredef.c
AslError (ASL_WARNING, ASL_MSG_RESERVED_ARG_COUNT_HI, Op,
MsgBuffer);
Index: acpica-unix-20160527/source/compiler/aslprepkg.c
Index: acpica-unix2-20160831/source/compiler/aslprepkg.c
===================================================================
--- acpica-unix-20160527.orig/source/compiler/aslprepkg.c
+++ acpica-unix-20160527/source/compiler/aslprepkg.c
--- acpica-unix2-20160831.orig/source/compiler/aslprepkg.c
+++ acpica-unix2-20160831/source/compiler/aslprepkg.c
@@ -309,7 +309,7 @@ ApCheckPackage (
if (Count & 1)
@ -98,10 +98,10 @@ Index: acpica-unix-20160527/source/compiler/aslprepkg.c
Predefined->Info.Name, Count);
AslError (ASL_ERROR, ASL_MSG_RESERVED_PACKAGE_LENGTH,
Index: acpica-unix-20160527/source/components/debugger/dbexec.c
Index: acpica-unix2-20160831/source/components/debugger/dbexec.c
===================================================================
--- acpica-unix-20160527.orig/source/components/debugger/dbexec.c
+++ acpica-unix-20160527/source/components/debugger/dbexec.c
--- acpica-unix2-20160831.orig/source/components/debugger/dbexec.c
+++ acpica-unix2-20160831/source/components/debugger/dbexec.c
@@ -214,7 +214,7 @@ AcpiDbExecuteMethod (
ACPI_ERROR ((AE_INFO,
"Possible overflow of internal debugger "
@ -111,10 +111,10 @@ Index: acpica-unix-20160527/source/components/debugger/dbexec.c
}
}
Index: acpica-unix-20160527/source/components/dispatcher/dsmthdat.c
Index: acpica-unix2-20160831/source/components/dispatcher/dsmthdat.c
===================================================================
--- acpica-unix-20160527.orig/source/components/dispatcher/dsmthdat.c
+++ acpica-unix-20160527/source/components/dispatcher/dsmthdat.c
--- acpica-unix2-20160831.orig/source/components/dispatcher/dsmthdat.c
+++ acpica-unix2-20160831/source/components/dispatcher/dsmthdat.c
@@ -291,7 +291,7 @@ AcpiDsMethodDataGetNode (
if (Index > ACPI_METHOD_MAX_LOCAL)
{
@ -133,10 +133,10 @@ Index: acpica-unix-20160527/source/components/dispatcher/dsmthdat.c
Index, ACPI_METHOD_MAX_ARG));
return_ACPI_STATUS (AE_AML_INVALID_INDEX);
}
Index: acpica-unix-20160527/source/components/dispatcher/dsutils.c
Index: acpica-unix2-20160831/source/components/dispatcher/dsutils.c
===================================================================
--- acpica-unix-20160527.orig/source/components/dispatcher/dsutils.c
+++ acpica-unix-20160527/source/components/dispatcher/dsutils.c
--- acpica-unix2-20160831.orig/source/components/dispatcher/dsutils.c
+++ acpica-unix2-20160831/source/components/dispatcher/dsutils.c
@@ -793,7 +793,7 @@ AcpiDsCreateOperands (
}
@ -146,10 +146,10 @@ Index: acpica-unix-20160527/source/components/dispatcher/dsutils.c
WalkState->NumOperands, ArgCount, Index));
/* Create the interpreter arguments, in reverse order */
Index: acpica-unix-20160527/source/components/dispatcher/dswscope.c
Index: acpica-unix2-20160831/source/components/dispatcher/dswscope.c
===================================================================
--- acpica-unix-20160527.orig/source/components/dispatcher/dswscope.c
+++ acpica-unix-20160527/source/components/dispatcher/dswscope.c
--- acpica-unix2-20160831.orig/source/components/dispatcher/dswscope.c
+++ acpica-unix2-20160831/source/components/dispatcher/dswscope.c
@@ -149,7 +149,7 @@ AcpiDsScopeStackPush (
WalkState->ScopeDepth++;
@ -168,11 +168,11 @@ Index: acpica-unix-20160527/source/components/dispatcher/dswscope.c
(UINT32) WalkState->ScopeDepth,
AcpiUtGetNodeName (ScopeInfo->Scope.Node),
AcpiUtGetTypeName (ScopeInfo->Common.Value)));
Index: acpica-unix-20160527/source/components/events/evgpe.c
Index: acpica-unix2-20160831/source/components/events/evgpe.c
===================================================================
--- acpica-unix-20160527.orig/source/components/events/evgpe.c
+++ acpica-unix-20160527/source/components/events/evgpe.c
@@ -430,7 +430,7 @@ AcpiEvGpeDetect (
--- acpica-unix2-20160831.orig/source/components/events/evgpe.c
+++ acpica-unix2-20160831/source/components/events/evgpe.c
@@ -494,7 +494,7 @@ AcpiEvGpeDetect (
"Ignore disabled registers for GPE %02X-%02X: "
"RunEnable=%02X, WakeEnable=%02X\n",
GpeRegisterInfo->BaseGpeNumber,
@ -181,7 +181,7 @@ Index: acpica-unix-20160527/source/components/events/evgpe.c
GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake));
continue;
@@ -456,7 +456,7 @@ AcpiEvGpeDetect (
@@ -520,7 +520,7 @@ AcpiEvGpeDetect (
"Read registers for GPE %02X-%02X: Status=%02X, Enable=%02X, "
"RunEnable=%02X, WakeEnable=%02X\n",
GpeRegisterInfo->BaseGpeNumber,
@ -190,10 +190,10 @@ Index: acpica-unix-20160527/source/components/events/evgpe.c
StatusReg, EnableReg,
GpeRegisterInfo->EnableForRun,
GpeRegisterInfo->EnableForWake));
Index: acpica-unix-20160527/source/components/executer/exdump.c
Index: acpica-unix2-20160831/source/components/executer/exdump.c
===================================================================
--- acpica-unix-20160527.orig/source/components/executer/exdump.c
+++ acpica-unix-20160527/source/components/executer/exdump.c
--- acpica-unix2-20160831.orig/source/components/executer/exdump.c
+++ acpica-unix2-20160831/source/components/executer/exdump.c
@@ -668,7 +668,7 @@ AcpiExDumpOperand (
if (Depth > 0)
{
@ -203,10 +203,10 @@ Index: acpica-unix-20160527/source/components/executer/exdump.c
}
else
{
Index: acpica-unix-20160527/source/components/executer/exfldio.c
Index: acpica-unix2-20160831/source/components/executer/exfldio.c
===================================================================
--- acpica-unix-20160527.orig/source/components/executer/exfldio.c
+++ acpica-unix-20160527/source/components/executer/exfldio.c
--- acpica-unix2-20160831.orig/source/components/executer/exfldio.c
+++ acpica-unix2-20160831/source/components/executer/exfldio.c
@@ -681,8 +681,8 @@ AcpiExWriteWithUpdateRule (
ACPI_ERROR ((AE_INFO,
@ -218,10 +218,10 @@ Index: acpica-unix-20160527/source/components/executer/exfldio.c
return_ACPI_STATUS (AE_AML_OPERAND_VALUE);
}
}
Index: acpica-unix-20160527/source/components/executer/exnames.c
Index: acpica-unix2-20160831/source/components/executer/exnames.c
===================================================================
--- acpica-unix-20160527.orig/source/components/executer/exnames.c
+++ acpica-unix-20160527/source/components/executer/exnames.c
--- acpica-unix2-20160831.orig/source/components/executer/exnames.c
+++ acpica-unix2-20160831/source/components/executer/exnames.c
@@ -240,7 +240,7 @@ AcpiExNameSegment (
*/
ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
@ -240,10 +240,10 @@ Index: acpica-unix-20160527/source/components/executer/exnames.c
}
*InAmlAddress = ACPI_CAST_PTR (UINT8, AmlAddress);
Index: acpica-unix-20160527/source/components/hardware/hwregs.c
Index: acpica-unix2-20160831/source/components/hardware/hwregs.c
===================================================================
--- acpica-unix-20160527.orig/source/components/hardware/hwregs.c
+++ acpica-unix-20160527/source/components/hardware/hwregs.c
--- acpica-unix2-20160831.orig/source/components/hardware/hwregs.c
+++ acpica-unix2-20160831/source/components/hardware/hwregs.c
@@ -300,7 +300,7 @@ AcpiHwClearAcpiStatus (
@ -253,10 +253,10 @@ Index: acpica-unix-20160527/source/components/hardware/hwregs.c
ACPI_FORMAT_UINT64 (AcpiGbl_XPm1aStatus.Address)));
LockFlags = AcpiOsAcquireLock (AcpiGbl_HardwareLock);
Index: acpica-unix-20160527/source/components/tables/tbfadt.c
Index: acpica-unix2-20160831/source/components/tables/tbfadt.c
===================================================================
--- acpica-unix-20160527.orig/source/components/tables/tbfadt.c
+++ acpica-unix-20160527/source/components/tables/tbfadt.c
--- acpica-unix2-20160831.orig/source/components/tables/tbfadt.c
+++ acpica-unix2-20160831/source/components/tables/tbfadt.c
@@ -233,7 +233,7 @@ AcpiTbInitGenericAddress (
if (!(Flags & ACPI_FADT_GPE_REGISTER))
{
@ -275,19 +275,19 @@ Index: acpica-unix-20160527/source/components/tables/tbfadt.c
RegisterName, Address32, ACPI_FORMAT_UINT64 (Address64),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
@@ -618,7 +618,7 @@ AcpiTbConvertFadt (
@@ -621,7 +621,7 @@ AcpiTbConvertFadt (
ACPI_BIOS_WARNING ((AE_INFO,
"32/64X address mismatch in FADT/%s: "
- "0x%8.8X/0x%8.8X%8.8X, using %u-bit address",
+ "0x%8.8X/0x%8.8X%8.8X, using %d-bit address",
Name, Address32,
ACPI_FORMAT_UINT64 (Address64->Address),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
Index: acpica-unix-20160527/source/components/tables/tbxfroot.c
ACPI_BIOS_WARNING ((AE_INFO,
"32/64X address mismatch in FADT/%s: "
- "0x%8.8X/0x%8.8X%8.8X, using %u-bit address",
+ "0x%8.8X/0x%8.8X%8.8X, using %d-bit address",
Name, Address32,
ACPI_FORMAT_UINT64 (Address64->Address),
AcpiGbl_Use32BitFadtAddresses ? 32 : 64));
Index: acpica-unix2-20160831/source/components/tables/tbxfroot.c
===================================================================
--- acpica-unix-20160527.orig/source/components/tables/tbxfroot.c
+++ acpica-unix-20160527/source/components/tables/tbxfroot.c
--- acpica-unix2-20160831.orig/source/components/tables/tbxfroot.c
+++ acpica-unix2-20160831/source/components/tables/tbxfroot.c
@@ -177,7 +177,7 @@ AcpiFindRootPointer (
{
ACPI_ERROR ((AE_INFO,
@ -315,10 +315,10 @@ Index: acpica-unix-20160527/source/components/tables/tbxfroot.c
return_ACPI_STATUS (AE_NO_MEMORY);
}
Index: acpica-unix-20160527/source/components/utilities/utownerid.c
Index: acpica-unix2-20160831/source/components/utilities/utownerid.c
===================================================================
--- acpica-unix-20160527.orig/source/components/utilities/utownerid.c
+++ acpica-unix-20160527/source/components/utilities/utownerid.c
--- acpica-unix2-20160831.orig/source/components/utilities/utownerid.c
+++ acpica-unix2-20160831/source/components/utilities/utownerid.c
@@ -231,7 +231,7 @@ AcpiUtReleaseOwnerId (
else
{
@ -328,11 +328,11 @@ Index: acpica-unix-20160527/source/components/utilities/utownerid.c
}
(void) AcpiUtReleaseMutex (ACPI_MTX_CACHES);
Index: acpica-unix-20160527/source/tools/acpiexec/aemain.c
Index: acpica-unix2-20160831/source/tools/acpiexec/aemain.c
===================================================================
--- acpica-unix-20160527.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix-20160527/source/tools/acpiexec/aemain.c
@@ -205,7 +205,7 @@ AeDoOptions (
--- acpica-unix2-20160831.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix2-20160831/source/tools/acpiexec/aemain.c
@@ -207,7 +207,7 @@ AeDoOptions (
if (strlen (AcpiGbl_Optarg) > (AE_BUFFER_SIZE -1))
{

View File

@ -7,11 +7,11 @@ Al Stone <ahs3@redhat.com>
source/compiler/aslmain.c | 12 ------------
1 file changed, 12 deletions(-)
Index: acpica-unix2-20160422/source/compiler/aslmain.c
Index: acpica-unix2-20160831/source/compiler/aslmain.c
===================================================================
--- acpica-unix2-20160422.orig/source/compiler/aslmain.c
+++ acpica-unix2-20160422/source/compiler/aslmain.c
@@ -318,18 +318,6 @@ main (
--- acpica-unix2-20160831.orig/source/compiler/aslmain.c
+++ acpica-unix2-20160831/source/compiler/aslmain.c
@@ -99,18 +99,6 @@ main (
int ReturnStatus = 0;