x86/pci: Simplify is_mmconf_reserved() messages
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 10 Jan 2023 18:02:42 +0000 (12:02 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 11 Jan 2023 22:28:09 +0000 (16:28 -0600)
commita48fe6376919c182597b737984bb905a909727c2
tree78d4fe8024afa1d255709a60536d89a4170950d1
parent760d560f71c828a97c77596af5c3f9978aefd9d1
x86/pci: Simplify is_mmconf_reserved() messages

is_mmconf_reserved() takes a "with_e820" parameter that only determines the
message logged if it finds the MMCONFIG region is reserved.  Pass the
message directly, which will simplify a future patch that adds a new way of
looking for that reservation.  No functional change intended.

Link: https://lore.kernel.org/r/20230110180243.1590045-2-helgaas@kernel.org
Tested-by: Tony Luck <tony.luck@intel.com>
Tested-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Tested-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
arch/x86/pci/mmconfig-shared.c