Author: mav
Date: Wed Aug 19 16:09:36 2020
New Revision: 364399
URL: https://svnweb.freebsd.org/changeset/base/364399
Log:
Remove some noisy ACPI tables messages from verbose dmesg.
Those messages were printed hundreds of times during boot, often multiple
times for each table. We already print information about the tables in
more organized form once to not duplicate it when random ACPI drivers are
attaching.
MFC after: 1 week
Modified:
head/sys/amd64/acpica/acpi_machdep.c
head/sys/arm64/acpica/acpi_machdep.c
head/sys/i386/acpica/acpi_machdep.c
Modified: head/sys/amd64/acpica/acpi_machdep.c
==============================================================================
--- head/sys/amd64/acpica/acpi_machdep.c Wed Aug 19 15:27:09 2020
(r364398)
+++ head/sys/amd64/acpica/acpi_machdep.c Wed Aug 19 16:09:36 2020
(r364399)
@@ -198,9 +198,6 @@ probe_table(vm_paddr_t address, const char *sig)
(uintmax_t)address);
return (0);
}
- if (bootverbose)
- printf("Table '%.4s' at 0x%jx\n", table->Signature,
- (uintmax_t)address);
if (strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) != 0) {
table_unmap(table, sizeof(ACPI_TABLE_HEADER));
@@ -312,13 +309,8 @@ acpi_find_table(const char *sig)
acpi_unmap_table(rsdt);
}
pmap_unmapbios((vm_offset_t)rsdp, sizeof(ACPI_TABLE_RSDP));
- if (addr == 0) {
- if (bootverbose)
- printf("ACPI: No %s table found\n", sig);
+ if (addr == 0)
return (0);
- }
- if (bootverbose)
- printf("%s: Found table at 0x%jx\n", sig, (uintmax_t)addr);
/*
* Verify that we can map the full table and that its checksum is
Modified: head/sys/arm64/acpica/acpi_machdep.c
==============================================================================
--- head/sys/arm64/acpica/acpi_machdep.c Wed Aug 19 15:27:09 2020
(r364398)
+++ head/sys/arm64/acpica/acpi_machdep.c Wed Aug 19 16:09:36 2020
(r364399)
@@ -105,9 +105,6 @@ probe_table(vm_paddr_t address, const char *sig)
(uintmax_t)address);
return (0);
}
- if (bootverbose)
- printf("Table '%.4s' at 0x%jx\n", table->Signature,
- (uintmax_t)address);
if (strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) != 0) {
pmap_unmapbios((vm_offset_t)table, sizeof(ACPI_TABLE_HEADER));
@@ -200,13 +197,8 @@ acpi_find_table(const char *sig)
}
pmap_unmapbios((vm_offset_t)rsdp, sizeof(ACPI_TABLE_RSDP));
- if (addr == 0) {
- if (bootverbose)
- printf("ACPI: No %s table found\n", sig);
+ if (addr == 0)
return (0);
- }
- if (bootverbose)
- printf("%s: Found table at 0x%jx\n", sig, (uintmax_t)addr);
/*
* Verify that we can map the full table and that its checksum is
Modified: head/sys/i386/acpica/acpi_machdep.c
==============================================================================
--- head/sys/i386/acpica/acpi_machdep.c Wed Aug 19 15:27:09 2020
(r364398)
+++ head/sys/i386/acpica/acpi_machdep.c Wed Aug 19 16:09:36 2020
(r364399)
@@ -214,9 +214,6 @@ probe_table(vm_paddr_t address, const char *sig)
(uintmax_t)address);
return (0);
}
- if (bootverbose)
- printf("Table '%.4s' at 0x%jx\n", table->Signature,
- (uintmax_t)address);
if (strncmp(table->Signature, sig, ACPI_NAMESEG_SIZE) != 0) {
table_unmap(table, sizeof(ACPI_TABLE_HEADER));
@@ -328,13 +325,8 @@ acpi_find_table(const char *sig)
acpi_unmap_table(rsdt);
}
pmap_unmapbios((vm_offset_t)rsdp, sizeof(ACPI_TABLE_RSDP));
- if (addr == 0) {
- if (bootverbose)
- printf("ACPI: No %s table found\n", sig);
+ if (addr == 0)
return (0);
- }
- if (bootverbose)
- printf("%s: Found table at 0x%jx\n", sig, (uintmax_t)addr);
/*
* Verify that we can map the full table and that its checksum is
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"