[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] x86-64: one more adjustment for Fam10 MMCONF enabling



Hello Jan,

Is there anything i have to configure for the "Fam10 MMCONF" to be enabled ?
From what i see from my "xm dmesg" it's not enabled, although it's a family 10h 
cpu (phenom x6)

(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
(XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) ACPI: HPET id: 0x8300 base: 0xfed00000
(XEN) PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
(XEN) PCI: Not using MMCONFIG.
(XEN) Table is not found!
(XEN) Using ACPI (MADT) for SMP configuration information
(XEN) mapped APIC to ffff82c3ffffe000 (fee00000)
(XEN) mapped IOAPIC to ffff82c3ffffd000 (fec00000)
(XEN) mapped IOAPIC to ffff82c3ffffc000 (fec20000)
(XEN) IRQ limits: 56 GSI, 1112 MSI/MSI-X
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 3200.244 MHz processor.
(XEN) Initing memory sharing.
(XEN) AMD Fam10h machine check reporting enabled
(XEN) I/O virtualisation disabled

Complete xm dmesg attached
xen_changeset          : Mon Nov 22 19:16:34 2010 +0000 22418:c0c1f5f0745e

--

Sander


Thursday, November 18, 2010, 5:55:30 PM, you wrote:

> The BASE_VALID() macro needs adjustment to match the other changes
> done to the original Linux code (which are all queued to be merged
> into Linus' tree), plus per Hypertransport specification the range
> 0xff00000000-0xffffffffff also needs to be excluded.

> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

> --- a/xen/arch/x86/x86_64/mmconf-fam10h.c
> +++ b/xen/arch/x86/x86_64/mmconf-fam10h.c
> @@ -33,7 +33,7 @@ static struct pci_hostbridge_probe pci_p
>  #define SIZE (UNIT << 8)
>  /* need to avoid (0xfd<<32) and (0xfe<<32), ht used space */
>  #define FAM10H_PCI_MMCONF_BASE (0xfcULL<<32)
> -#define BASE_VALID(b) ((b != (0xfdULL << 32)) && (b != (0xfeULL << 32)))
> +#define BASE_VALID(b) ((b) + SIZE <= (0xfdULL<<32) || (b) >= (1ULL<<40))
>  static void __init get_fam10h_pci_mmconf_base(void)
>  {
>         unsigned int i, j, bus, slot, hi_mmio_num;






-- 
Best regards,
 Sander                            mailto:linux@xxxxxxxxxxxxxx

Attachment: xm-dmesg.txt
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.