[PATCH v2] PCI/ACPI: Suppress missing MCFG message

Bjorn Helgaas helgaas at kernel.org
Wed Sep 9 10:42:01 EDT 2020


On Tue, Sep 08, 2020 at 04:03:59PM -0500, Jeremy Linton wrote:
> MCFG is an optional ACPI table. Given there are machines
> without PCI(e) (or it is hidden) we have been receiving
> queries/complaints about what this message means given
> its being presented as an error.
> 
> Lets reduce the severity, the ACPI table list printed at
> boot will continue to provide another way to detect when
> the table is missing.
> 
> Signed-off-by: Jeremy Linton <jeremy.linton at arm.com>

Applied to pci/enumeration with Hanjun's reviewed-by, thanks!

> ---
>  drivers/acpi/pci_mcfg.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/pci_mcfg.c b/drivers/acpi/pci_mcfg.c
> index 54b36b7ad47d..c8ef3bb5aa00 100644
> --- a/drivers/acpi/pci_mcfg.c
> +++ b/drivers/acpi/pci_mcfg.c
> @@ -280,5 +280,5 @@ void __init pci_mmcfg_late_init(void)
>  {
>  	int err = acpi_table_parse(ACPI_SIG_MCFG, pci_mcfg_parse);
>  	if (err)
> -		pr_err("Failed to parse MCFG (%d)\n", err);
> +		pr_debug("Failed to parse MCFG (%d)\n", err);
>  }
> -- 
> 2.25.4
> 



More information about the linux-arm-kernel mailing list