Skip to content

Commit 866d6cd

Browse files
committed
ACPI: PCI: Drop ACPI_PCI_COMPONENT that is not used any more
After dropping all of the code using ACPI_PCI_COMPONENT drop the definition of it too and update the documentation to remove all ACPI_PCI_COMPONENT references from it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
1 parent c02b2fc commit 866d6cd

4 files changed

Lines changed: 1 addition & 10 deletions

File tree

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
5151
debug output. Bits in debug_layer correspond to a
5252
_COMPONENT in an ACPI source file, e.g.,
53-
#define _COMPONENT ACPI_PCI_COMPONENT
53+
#define _COMPONENT ACPI_EVENTS
5454
Bits in debug_level correspond to a level in
5555
ACPI_DEBUG_PRINT statements, e.g.,
5656
ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
@@ -60,8 +60,6 @@
6060

6161
Enable processor driver info messages:
6262
acpi.debug_layer=0x20000000
63-
Enable PCI/PCI interrupt routing info messages:
64-
acpi.debug_layer=0x400000
6563
Enable AML "Debug" output, i.e., stores to the Debug
6664
object while interpreting AML:
6765
acpi.debug_layer=0xffffffff acpi.debug_level=0x2

Documentation/firmware-guide/acpi/debug.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ shows the supported mask values, currently these::
5454
ACPI_TOOLS 0x00002000
5555
ACPI_SBS_COMPONENT 0x00100000
5656
ACPI_FAN_COMPONENT 0x00200000
57-
ACPI_PCI_COMPONENT 0x00400000
5857
ACPI_CONTAINER_COMPONENT 0x01000000
5958
ACPI_SYSTEM_COMPONENT 0x02000000
6059
ACPI_MEMORY_DEVICE_COMPONENT 0x08000000
@@ -127,10 +126,6 @@ AML) during boot::
127126

128127
acpi.debug_layer=0xffffffff acpi.debug_level=0x2
129128

130-
Enable PCI and PCI interrupt routing debug messages::
131-
132-
acpi.debug_layer=0x400000 acpi.debug_level=0x4
133-
134129
Enable all ACPI hardware-related messages::
135130

136131
acpi.debug_layer=0x2 acpi.debug_level=0xffffffff

drivers/acpi/sysfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ static const struct acpi_dlayer acpi_debug_layers[] = {
5454

5555
ACPI_DEBUG_INIT(ACPI_SBS_COMPONENT),
5656
ACPI_DEBUG_INIT(ACPI_FAN_COMPONENT),
57-
ACPI_DEBUG_INIT(ACPI_PCI_COMPONENT),
5857
ACPI_DEBUG_INIT(ACPI_CONTAINER_COMPONENT),
5958
ACPI_DEBUG_INIT(ACPI_SYSTEM_COMPONENT),
6059
ACPI_DEBUG_INIT(ACPI_MEMORY_DEVICE_COMPONENT),

include/acpi/acpi_drivers.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
#define ACPI_SBS_COMPONENT 0x00100000
1919
#define ACPI_FAN_COMPONENT 0x00200000
20-
#define ACPI_PCI_COMPONENT 0x00400000
2120
#define ACPI_CONTAINER_COMPONENT 0x01000000
2221
#define ACPI_SYSTEM_COMPONENT 0x02000000
2322
#define ACPI_MEMORY_DEVICE_COMPONENT 0x08000000

0 commit comments

Comments
 (0)