SHA256
1
0
forked from pool/acpica
Files
acpica/do_not_use_build_date_and_time.patch

169 lines
6.2 KiB
Diff
Raw Normal View History

Index: acpica-unix-20240321/source/compiler/asloptions.c
===================================================================
--- acpica-unix-20240321.orig/source/compiler/asloptions.c
+++ acpica-unix-20240321/source/compiler/asloptions.c
@@ -904,12 +904,6 @@ AslDoOptions (
Accepting request 684781 from home:elimat:branches:hardware - Update to version 20190215 Support for ACPI specification version 6.3: * Add PCC operation region support for the AML interpreter. This adds PCC operation region support in the AML interpreter and a default handler for acpiexec. The change also renames the PCC region address space keyword to PlatformCommChannel. * Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. These methods provide OSPM with health information and device boot status. * PDTT: Add TriggerOrder to the PCC Identifier structure. The field value defines if the trigger needs to be invoked by OSPM before or at the end of kernel crash dump processing/handling operation. * SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT is used for describing devices such as heterogeneous processors, accelerators, GPUs, and IO devices with integrated compute or DMA engines. * MADT: Add support for statistical profiling in GICC. Statistical profiling extension (SPE) is an architecture-specific feature for ARM. * MADT: Add online capable flag. If this bit is set, system hardware supports enabling this processor during OS runtime. * New Error Disconnect Recover Notification value. There are a number of scenarios where system Firmware in collaboration with hardware may disconnect one or more devices from the rest of the system for purposes of error containment. Firmware can use this new notification value to alert OSPM of such a removal. * PPTT: New additional fields in Processor Structure Flags. These flags provide more information about processor topology. * NFIT/Disassembler: Change a field name from "Address Range" to "Region Type". * HMAT updates: make several existing fields to be reserved as well as rename subtable 0 to "memory proximity domain attributes". * GTDT: Add support for new GTDT Revision 3. This revision adds information for the EL2 timer. * iASL: Update the HMAT example template for new fields. * iASL: Add support for the new revision of the GTDT (Rev 3). ACPICA kernel-resident subsystem: * AML Parser: fix the main AML parse loop to correctly skip erroneous extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2- byte extended opcodes. If an error occurs during an AML table load, the AML parser will continue loading the table by skipping the offending opcode. This implements a "load table at any cost" philosophy. iASL Compiler/Disassembler and Tools: * iASL: Add checks for illegal object references, such as a reference outside of method to an object within a method. Such an object is only temporary. * iASL: Emit error for creation of a zero-length operation region. Such a region is rather pointless. If encountered, a runtime error is also implemented in the interpeter. * Debugger: Fix a possible fault with the "test objects" command. * iASL: Makefile: support parent directory filenames containing embedded spaces. * iASL: Update the TPM2 template to revision 4. * iASL: Add the ability to report specific warnings or remarks as errors. * Disassembler: Disassemble OEMx tables as actual AML byte code. Previously, these tables were treated as "unknown table". * iASL: Add definition and disassembly for TPM2 revision 3. * iASL: Add support for TPM2 rev 3 compilation. - Refresh patches - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/684781 OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=117
2019-03-14 13:11:32 +00:00
AslGbl_NoErrors = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_SIGNON (ASL_COMPILER_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- exit (0);
-
case 'e':
/* Disable all warning/remark messages (errors only) */
Index: acpica-unix-20240321/source/include/acapps.h
===================================================================
--- acpica-unix-20240321.orig/source/include/acapps.h
+++ acpica-unix-20240321/source/include/acapps.h
@@ -188,9 +188,6 @@
Prefix, ACPICA_COPYRIGHT, \
Prefix
-#define ACPI_COMMON_BUILD_TIME \
- "Build date/time: %s %s\n", __DATE__, __TIME__
-
/* Macros for usage messages */
#define ACPI_USAGE_HEADER(Usage) \
Index: acpica-unix-20240321/source/tools/acpibin/abmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpibin/abmain.c
+++ acpica-unix-20240321/source/tools/acpibin/abmain.c
@@ -191,7 +191,6 @@ AbDisplayUsage (
ACPI_OPTION ("-s <File>", "Update checksum for binary AML file");
ACPI_OPTION ("-t", "Terse mode");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
}
@@ -298,11 +297,6 @@ main (
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpidump/apmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpidump/apmain.c
+++ acpica-unix-20240321/source/tools/acpidump/apmain.c
@@ -379,12 +379,6 @@ ApDoOptions (
fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
return (1);
- case 'd':
-
- fprintf (stderr, ACPI_COMMON_SIGNON (AP_UTILITY_NAME));
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpiexec/aemain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpiexec/aemain.c
+++ acpica-unix-20240321/source/tools/acpiexec/aemain.c
@@ -280,7 +280,6 @@ usage (
ACPI_OPTION ("-v", "Display version information");
Accepting request 684781 from home:elimat:branches:hardware - Update to version 20190215 Support for ACPI specification version 6.3: * Add PCC operation region support for the AML interpreter. This adds PCC operation region support in the AML interpreter and a default handler for acpiexec. The change also renames the PCC region address space keyword to PlatformCommChannel. * Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. These methods provide OSPM with health information and device boot status. * PDTT: Add TriggerOrder to the PCC Identifier structure. The field value defines if the trigger needs to be invoked by OSPM before or at the end of kernel crash dump processing/handling operation. * SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT is used for describing devices such as heterogeneous processors, accelerators, GPUs, and IO devices with integrated compute or DMA engines. * MADT: Add support for statistical profiling in GICC. Statistical profiling extension (SPE) is an architecture-specific feature for ARM. * MADT: Add online capable flag. If this bit is set, system hardware supports enabling this processor during OS runtime. * New Error Disconnect Recover Notification value. There are a number of scenarios where system Firmware in collaboration with hardware may disconnect one or more devices from the rest of the system for purposes of error containment. Firmware can use this new notification value to alert OSPM of such a removal. * PPTT: New additional fields in Processor Structure Flags. These flags provide more information about processor topology. * NFIT/Disassembler: Change a field name from "Address Range" to "Region Type". * HMAT updates: make several existing fields to be reserved as well as rename subtable 0 to "memory proximity domain attributes". * GTDT: Add support for new GTDT Revision 3. This revision adds information for the EL2 timer. * iASL: Update the HMAT example template for new fields. * iASL: Add support for the new revision of the GTDT (Rev 3). ACPICA kernel-resident subsystem: * AML Parser: fix the main AML parse loop to correctly skip erroneous extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2- byte extended opcodes. If an error occurs during an AML table load, the AML parser will continue loading the table by skipping the offending opcode. This implements a "load table at any cost" philosophy. iASL Compiler/Disassembler and Tools: * iASL: Add checks for illegal object references, such as a reference outside of method to an object within a method. Such an object is only temporary. * iASL: Emit error for creation of a zero-length operation region. Such a region is rather pointless. If encountered, a runtime error is also implemented in the interpeter. * Debugger: Fix a possible fault with the "test objects" command. * iASL: Makefile: support parent directory filenames containing embedded spaces. * iASL: Update the TPM2 template to revision 4. * iASL: Add the ability to report specific warnings or remarks as errors. * Disassembler: Disassemble OEMx tables as actual AML byte code. Previously, these tables were treated as "unknown table". * iASL: Add definition and disassembly for TPM2 revision 3. * iASL: Add support for TPM2 rev 3 compilation. - Refresh patches - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/684781 OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=117
2019-03-14 13:11:32 +00:00
ACPI_OPTION ("-va", "Display verbose dump of any memory leaks");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-vh", "Verbose exception handler output");
ACPI_OPTION ("-vi", "Verbose initialization output");
ACPI_OPTION ("-vr", "Verbose region handler output");
@@ -546,11 +545,6 @@ AeDoOptions (
Accepting request 684781 from home:elimat:branches:hardware - Update to version 20190215 Support for ACPI specification version 6.3: * Add PCC operation region support for the AML interpreter. This adds PCC operation region support in the AML interpreter and a default handler for acpiexec. The change also renames the PCC region address space keyword to PlatformCommChannel. * Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. These methods provide OSPM with health information and device boot status. * PDTT: Add TriggerOrder to the PCC Identifier structure. The field value defines if the trigger needs to be invoked by OSPM before or at the end of kernel crash dump processing/handling operation. * SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT is used for describing devices such as heterogeneous processors, accelerators, GPUs, and IO devices with integrated compute or DMA engines. * MADT: Add support for statistical profiling in GICC. Statistical profiling extension (SPE) is an architecture-specific feature for ARM. * MADT: Add online capable flag. If this bit is set, system hardware supports enabling this processor during OS runtime. * New Error Disconnect Recover Notification value. There are a number of scenarios where system Firmware in collaboration with hardware may disconnect one or more devices from the rest of the system for purposes of error containment. Firmware can use this new notification value to alert OSPM of such a removal. * PPTT: New additional fields in Processor Structure Flags. These flags provide more information about processor topology. * NFIT/Disassembler: Change a field name from "Address Range" to "Region Type". * HMAT updates: make several existing fields to be reserved as well as rename subtable 0 to "memory proximity domain attributes". * GTDT: Add support for new GTDT Revision 3. This revision adds information for the EL2 timer. * iASL: Update the HMAT example template for new fields. * iASL: Add support for the new revision of the GTDT (Rev 3). ACPICA kernel-resident subsystem: * AML Parser: fix the main AML parse loop to correctly skip erroneous extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2- byte extended opcodes. If an error occurs during an AML table load, the AML parser will continue loading the table by skipping the offending opcode. This implements a "load table at any cost" philosophy. iASL Compiler/Disassembler and Tools: * iASL: Add checks for illegal object references, such as a reference outside of method to an object within a method. Such an object is only temporary. * iASL: Emit error for creation of a zero-length operation region. Such a region is rather pointless. If encountered, a runtime error is also implemented in the interpeter. * Debugger: Fix a possible fault with the "test objects" command. * iASL: Makefile: support parent directory filenames containing embedded spaces. * iASL: Update the TPM2 template to revision 4. * iASL: Add the ability to report specific warnings or remarks as errors. * Disassembler: Disassemble OEMx tables as actual AML byte code. Previously, these tables were treated as "unknown table". * iASL: Add definition and disassembly for TPM2 revision 3. * iASL: Add support for TPM2 rev 3 compilation. - Refresh patches - Run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/684781 OBS-URL: https://build.opensuse.org/package/show/hardware/acpica?expand=0&rev=117
2019-03-14 13:11:32 +00:00
AcpiGbl_VerboseLeakDump = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
case 'h':
AcpiGbl_VerboseHandlers = TRUE;
Index: acpica-unix-20240321/source/tools/acpihelp/ahmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpihelp/ahmain.c
+++ acpica-unix-20240321/source/tools/acpihelp/ahmain.c
@@ -187,7 +187,6 @@ AhDisplayUsage (
ACPI_USAGE_HEADER ("acpihelp <options> [Name/Prefix | HexValue]");
ACPI_OPTION ("-h", "Display help");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nAML Names and Encodings (ACPI Machine Language):\n");
ACPI_OPTION ("-a [Name/Prefix | *]", "Display both ASL operator and AML opcode name(s)");
@@ -323,11 +322,6 @@ main (
return (1);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (1);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpisrc/asmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpisrc/asmain.c
+++ acpica-unix-20240321/source/tools/acpisrc/asmain.c
@@ -374,7 +374,6 @@ AsDisplayUsage (
ACPI_OPTION ("-s", "Generate source statistics only");
ACPI_OPTION ("-v", "Display version information");
ACPI_OPTION ("-vb", "Verbose mode");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_OPTION ("-y", "Suppress file overwrite prompts");
}
@@ -479,11 +478,6 @@ main (
Gbl_VerboseMode = TRUE;
break;
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);
Index: acpica-unix-20240321/source/tools/acpixtract/axmain.c
===================================================================
--- acpica-unix-20240321.orig/source/tools/acpixtract/axmain.c
+++ acpica-unix-20240321/source/tools/acpixtract/axmain.c
@@ -181,7 +181,6 @@ DisplayUsage (
ACPI_OPTION ("-m", "Extract multiple DSDT/SSDTs to a single file");
ACPI_OPTION ("-s <signature>", "Extract all tables with <signature>");
ACPI_OPTION ("-v", "Display version information");
- ACPI_OPTION ("-vd", "Display build date and time");
ACPI_USAGE_TEXT ("\nExtract binary ACPI tables from text acpidump output\n");
ACPI_USAGE_TEXT ("Default invocation extracts the DSDT and all SSDTs\n");
@@ -259,11 +258,6 @@ main (
exit (0);
- case 'd':
-
- printf (ACPI_COMMON_BUILD_TIME);
- return (0);
-
default:
printf ("Unknown option: -v%s\n", AcpiGbl_Optarg);