jailhouse.c (5fe9cfbe44b6892e17f803125c4761221b0175c6) jailhouse.c (6fa4a94e150be25d02547d51f03b4bc34aaec32f)
1// SPDX-License-Identifier: GPL2.0
2/*
3 * Jailhouse paravirt_ops implementation
4 *
5 * Copyright (c) Siemens AG, 2015-2017
6 *
7 * Authors:
8 * Jan Kiszka <jan.kiszka@siemens.com>

--- 110 unchanged lines hidden (view full) ---

119 /*
120 * There are no bridges on the virtual PCI root bus under Jailhouse,
121 * thus no other way to discover all devices than a full scan.
122 * Respect any overrides via the command line, though.
123 */
124 if (pcibios_last_bus < 0)
125 pcibios_last_bus = 0xff;
126
1// SPDX-License-Identifier: GPL2.0
2/*
3 * Jailhouse paravirt_ops implementation
4 *
5 * Copyright (c) Siemens AG, 2015-2017
6 *
7 * Authors:
8 * Jan Kiszka <jan.kiszka@siemens.com>

--- 110 unchanged lines hidden (view full) ---

119 /*
120 * There are no bridges on the virtual PCI root bus under Jailhouse,
121 * thus no other way to discover all devices than a full scan.
122 * Respect any overrides via the command line, though.
123 */
124 if (pcibios_last_bus < 0)
125 pcibios_last_bus = 0xff;
126
127#ifdef CONFIG_PCI_MMCONFIG
128 if (setup_data.pci_mmconfig_base) {
129 pci_mmconfig_add(0, 0, pcibios_last_bus,
130 setup_data.pci_mmconfig_base);
131 pci_mmcfg_arch_init();
132 }
133#endif
134
127 return 0;
128}
129
130static void __init jailhouse_init_platform(void)
131{
132 u64 pa_data = boot_params.hdr.setup_data;
133 struct setup_data header;
134 void *mapping;

--- 77 unchanged lines hidden ---
135 return 0;
136}
137
138static void __init jailhouse_init_platform(void)
139{
140 u64 pa_data = boot_params.hdr.setup_data;
141 struct setup_data header;
142 void *mapping;

--- 77 unchanged lines hidden ---