WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [GIT PATCH v2 0/14] xen: events: cleanups + ween off

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [GIT PATCH v2 0/14] xen: events: cleanups + ween off nr_irqs
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Fri, 11 Mar 2011 10:49:18 -0500
Cc: Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "linux-kernel@xxxxxxxxxxxxxxx" <linux-kernel@xxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 11 Mar 2011 10:01:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1299854796.17339.2068.camel@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1299773279.17339.813.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110310225726.GA2983@xxxxxxxxxxxx> <1299834774.17339.1799.camel@xxxxxxxxxxxxxxxxxxxxxx> <1299842689.17339.1986.camel@xxxxxxxxxxxxxxxxxxxxxx> <1299850128.17339.2007.camel@xxxxxxxxxxxxxxxxxxxxxx> <20110311142954.GC4880@xxxxxxxxxxxx> <1299854796.17339.2068.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
> > <scratch> If you hit the 'i' in the debug console is this 
> > BAR visible there? That is f3021?
> 
> 'i' is irq information not BARs, but FWIW the IRQ associated with this
> H/W appears to be mapped correctly.
> 
> I couldn't find another debug key which looked like it contained the
> sort of thing you meant.

Attached is the lspci, and also a full serial console dump of me
booting 2.6.38, 2.6.32..

PV guest is #linux-next, thought I can make it be #master.

Anyhow, 'q' on Xen console was it:

with 2.6.32.27 dom0:

 General information for domain 0:
(XEN)     refcnt=3 dying=0-1f, 22-3f, 44-60, 62-9f, a2-3f7, 400-807, 80c-cfb, 
d00-ffff }
(XEN)     Interrupts { 0-327 }
(XEN)     I/O Memory { 0-febff, fec01-fec7f, fec81-fedff, 
fee01-ffffffffffffffff }


[root@tst009 ~]# cat /proc/interrupts | awk '{ print $1,"...,"$18,$19,$20 '} | 
head -30
CPU0 ...,  
1: ...,xen-pirq-ioapic-edge i8042 
3: ...,xen-pirq-ioapic-edge  
8: ...,xen-pirq-ioapic-edge rtc0 
12: ...,xen-pirq-ioapic-edge i8042 
16: ...,xen-pirq-ioapic-level uhci_hcd:usb2, pata_jmicron
17: ...,xen-pirq-ioapic-level HDA Intel
18: ...,xen-pirq-ioapic-level ehci_hcd:usb1 
19: ...,xen-pirq-ioapic-level uhci_hcd:usb4 
20: ...,xen-pirq-ioapic-level acpi 
21: ...,xen-pirq-ioapic-level uhci_hcd:usb3 
48: ...,xen-pirq-ioapic-level EMU10K1 
49: ...,xen-pirq-ioapic-level firewire_ohci 
4225: ...,xen-dyn-event evtchn:xenstored 
4226: ...,xen-dyn-event evtchn:xenstored 
4227: ...,xen-pirq-msi-x ioat-msix 
4228: ...,xen-pirq-msi-x ioat-msix 
4229: ...,xen-pirq-msi-x ioat-msix 

and when I start the guest:
kernel="/mnt/lab/latest/vmlinuz"
ramdisk="/mnt/lab/latest/initramfs.cpio.gz"
extra="console=hvc0 debug iommu=soft test=net"
memory=1024
vcpus=4
cpus='2,3,4,5'
on_crash="preserve"
pci = ["0a:00.1", "09:00.0", "00:1d.0", "00:1d.1","00:1d.2", 
"00:1d.7","06:01.1","06:01.0"]
vfb = [ 'vnc=1, vnclisten=0.0.0.0,vncunused=1']


(XEN) Rangesets belonging to domain 0:
(XEN)     I/O Ports  { 0-1f, 22-3f, 44-60, 62-9f, a2-3f7, 400-807, 80c-cfb, 
d00-ffff }
(XEN)     Interrupts { 0-327 }
(XEN)     I/O Memory { 0-febff, fec01-fec7f, fec81-fedff, 
fee01-ffffffffffffffff }
... snip..
(XEN) Rangesets belonging to domain 1:
(XEN)     I/O Ports  { 6880-689f, 6c00-6c1f, 7000-701f, a000-a0ff, b000-b0ff, 
dc00-dc1f, ec00-ec1f }
(XEN)     Interrupts { 16-19, 23-25, 94-103 }
(XEN)     I/O Memory { fb6f6, fb900-fb9ff, fbac0-fbbff, fbda0-fbdff, 
fbe9c-fbeff }

dom0:
cat /proc/interrupts | awk '{ print $1,"...,"$18,$19,$20 '} | head -30
CPU0 ...,  
1: ...,xen-pirq-ioapic-edge i8042 
3: ...,xen-pirq-ioapic-edge  
8: ...,xen-pirq-ioapic-edge rtc0 
12: ...,xen-pirq-ioapic-edge i8042 
16: ...,xen-pirq-ioapic-level uhci_hcd:usb2, pata_jmicron,
17: ...,xen-pirq-ioapic-level HDA Intel,
18: ...,xen-pirq-ioapic-level ehci_hcd:usb1, pciback[0000:00:1d.2]
19: ...,xen-pirq-ioapic-level uhci_hcd:usb4, pciback[0000:00:1d.1]
20: ...,xen-pirq-ioapic-level acpi 
21: ...,xen-pirq-ioapic-level uhci_hcd:usb3 
23: ...,xen-pirq-ioapic-level pciback[0000:00:1d.7], pciback[0000:00:1d.0]
24: ...,xen-pirq-ioapic-level pciback[0000:06:01.0] 
25: ...,xen-pirq-ioapic-level pciback[0000:06:01.1] 
48: ...,xen-pirq-ioapic-level EMU10K1 
49: ...,xen-pirq-ioapic-level firewire_ohci 
4220: ...,xen-dyn-event evtchn:qemu-dm 


2.6.38 (#master+patch I sent yesterday)

Dom0:
cat /proc/interrupts | awk '{ print $1,"...,"$18,$19,$20 '} | head -30
CPU0 ...,  
1: ...,xen-pirq-ioapic-edge i8042 
3: ...,xen-pirq-ioapic-edge  
5: ...,xen-pirq-ioapic-edge uhci_hcd:usb4 
7: ...,xen-pirq-ioapic-edge uhci_hcd:usb3 
8: ...,xen-pirq-ioapic-edge rtc0 
10: ...,xen-pirq-ioapic-edge firewire_ohci 
11: ...,xen-pirq-ioapic-edge uhci_hcd:usb2, pata_jmicron,
12: ...,xen-pirq-ioapic-edge i8042 
15: ...,xen-pirq-ioapic-edge ehci_hcd:usb1 
320: ...,xen-percpu-virq timer0 
321: ...,xen-percpu-ipi spinlock0 
322: ...,xen-percpu-ipi resched0 
323: ...,xen-percpu-ipi callfunc0 
324: ...,xen-percpu-virq debug0 

Dom0 after starting a guest:
cat /proc/interrupts | awk '{ print $1,"...,"$18,$19,$20 '} | head -30
CPU0 ...,  
1: ...,xen-pirq-ioapic-edge i8042 
3: ...,xen-pirq-ioapic-edge  
5: ...,xen-pirq-ioapic-edge uhci_hcd:usb4, pciback[0000:00:1d.1]
7: ...,xen-pirq-ioapic-edge uhci_hcd:usb3 
8: ...,xen-pirq-ioapic-edge rtc0 
10: ...,xen-pirq-ioapic-edge firewire_ohci, pciback[0000:0a:00.1]
11: ...,xen-pirq-ioapic-edge uhci_hcd:usb2, pata_jmicron,
12: ...,xen-pirq-ioapic-edge i8042 
14: ...,xen-pirq-ioapic-edge pciback[0000:00:1d.7], pciback[0000:00:1d.0]
15: ...,xen-pirq-ioapic-edge ehci_hcd:usb1, pciback[0000:00:1d.2]
320: ...,xen-percpu-virq timer0 
321: ...,xen-percpu-ipi spinlock0 
322: ...,xen-percpu-ipi resched0 
q:
(XEN) Rangesets belonging to domain 0:
(XEN)     I/O Ports  { 0-1f, 22-3f, 44-60, 62-9f, a2-3f7, 400-807, 80c-cfb, 
d00-ffff }
(XEN)     Interrupts { 0-327 }
(XEN)     I/O Memory { 0-febff, fec01-fec7f, fec81-fedff, 
fee01-ffffffffffffffff }
.. snip..
(XEN) Rangesets belonging to domain 1:
(XEN)     I/O Ports  { 6880-689f, 6c00-6c1f, 7000-701f, a000-a0ff, b000-b0ff, 
dc00-dc1f, ec00-ec1f }
(XEN)     Interrupts { 5, 10-11, 14-15, 94-103 }
(XEN)     I/O Memory { fb6f6, fb900-fb9ff, fbac0-fbbff, fbda0-fbdff, 
fbe9c-fbeff }

Attachment: tst009.lspci
Description: Text document

Attachment: 9
Description: Text document

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