Displaying 4 results from an estimated 4 matches for "smp_found_config".
2013 May 02
5
[PATCH] x86: allow Dom0 read-only access to IO-APICs
...ystem.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/domain_build.c
+++ b/xen/arch/x86/domain_build.c
@@ -1114,7 +1114,7 @@ int __init construct_dom0(
for ( i = 0; i < nr_ioapics; i++ )
{
mfn = paddr_to_pfn(mp_ioapics[i].mpc_apicaddr);
- if ( smp_found_config )
+ if ( !rangeset_contains_singleton(mmio_ro_ranges, mfn) )
rc |= iomem_deny_access(dom0, mfn, mfn);
}
--- a/xen/arch/x86/io_apic.c
+++ b/xen/arch/x86/io_apic.c
@@ -2468,6 +2468,9 @@ void __init init_ioapic_mappings(void)
unsigned int i, idx = FIX_IO_APIC_BASE_0;...
2011 Mar 09
0
[PATCH 04/11] x86: cleanup mpparse.c
...rse.c
@@ -21,7 +21,6 @@
#include <xen/delay.h>
#include <xen/sched.h>
-#include <asm/mc146818rtc.h>
#include <asm/bitops.h>
#include <asm/smp.h>
#include <asm/acpi.h>
@@ -34,36 +33,31 @@
#include <bios_ebda.h>
/* Have we found an MP table */
-int smp_found_config;
-unsigned int __devinitdata maxcpus = NR_CPUS;
+bool_t __initdata smp_found_config;
/*
* Various Linux-internal data structures created from the
* MP-table.
*/
-int apic_version [MAX_APICS];
-int mp_bus_id_to_type [MAX_MP_BUSSES];
-int mp_bus_id_to_node [MAX_MP_BUSSES];
-int mp_bus_id_to_...
2011 Jun 28
1
"x86-64: EFI boot code" breaks 32-bit build
cc1: warnings being treated as errors
mpparse.c: In function ''efi_check_config'':
mpparse.c:669: error: format ''%08llx'' expects type ''long long unsigned int'', but argument 2 has type ''long unsigned int''
In xen/include/xen/efi.h:
23616: unsigned long mps; /* MPS table */
In xen/arch/x86/mpparse.c (line 669):
2011 Mar 31
0
[PATCH 7/7] x86: cleanup bogus CONFIG_ACPI_PCI uses
...i_disabled = 1;
-#endif
bool_t __initdata acpi_ht = 1; /* enable HT */
bool_t __initdata acpi_lapic;
@@ -572,7 +564,6 @@ static void __init acpi_process_madt(voi
*/
error = acpi_parse_madt_ioapic_entries();
if (!error) {
- acpi_irq_balance_set(NULL);
acpi_ioapic = 1;
smp_found_config = 1;
@@ -604,16 +595,6 @@ static int __init disable_acpi_irq(struc
return 0;
}
-static int __init disable_acpi_pci(struct dmi_system_id *d)
-{
- if (!acpi_force) {
- printk(KERN_NOTICE "%s detected: force use of pci=noacpi\n",
- d->ident);
- /*acpi_disable_pci();*/
- }
-...