pci_err(dev, "MRRS was unable to be configured with a safe value. If problems are experienced, try running with pci=pcie_bus_safe\n");
#include <linux/kernel.h>
#include <linux/of_device.h>
#include <linux/of_pci.h>
#include <linux/pci_hotplug.h>
#include <linux/module.h>
#include <linux/cpumask.h>
#include <linux/hypervisor.h>
#include <linux/irqdomain.h>
#include <linux/pm_runtime.h>
#define CARDBUS_LATENCY_TIMER 176
#define CARDBUS_RESERVE_BUSNR 3
static struct resource busn_resource = {
LIST_HEAD(pci_root_buses);
EXPORT_SYMBOL(pci_root_buses);
static LIST_HEAD(pci_domain_busn_res_list);
struct pci_domain_busn_res {
static struct resource *get_pci_domain_busn_res(int domain_nr)
struct pci_domain_busn_res *r;
list_for_each_entry(r, &pci_domain_busn_res_list, list)
if (r->domain_nr == domain_nr)
r = kzalloc(sizeof(*r), GFP_KERNEL);
r->domain_nr = domain_nr;
r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED;
list_add_tail(&r->list, &pci_domain_busn_res_list);
static int find_anything(struct device *dev, void *data)
dev = bus_find_device(&pci_bus_type, NULL, NULL, find_anything);
no_devices = (dev == NULL);
EXPORT_SYMBOL(no_pci_devices);
static void release_pcibus_dev(struct device *dev)