From: Stefano Stabellini Subject: Re: Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x? Date: Mon, 20 Apr 2015 18:25:09 +0100 Message-ID: References: <8cb37b42f5a69a2069b957fa751bf5a6@cweb25.nm.nhnsystem.com> <1429264179.25195.231.camel@citrix.com> <57647f327b7f87a46d3a3d217bd17c2@cweb09.nm.nhnsystem.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-874082355-1429550716=:30125" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?B?7Iug7KCV7ISt?= Cc: xen-devel@lists.xen.org, Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --1342847746-874082355-1429550716=:30125 Content-Type: text/plain; charset="UTF-8" Content-Length: 27376 Content-Transfer-Encoding: quoted-printable On Mon, 20 Apr 2015, =EC=8B=A0=EC=A0=95=EC=84=AD wrote: > Thanks your rely. But sorry i can't understand your explanation fully. > > =C2=A0 > > I don't want to change GICD setting. I only want to change target Domain0' vcpu injected SPI. vcpu0 or vcpu1. > > =C2=A0 > > I understand like below. > > In Xen4.4, vgic_vcpu_inject_irq()=C2=A0can inject SPI to any Domain0's vcpu on any pcpu. > > But int Xen4.5=C2=A0vgic_vcpu_inject_irq() can inject SPI on only pcpu that receive SPI from GICD. > > Right=3F Yes, if you meant the virtual GICD (not the physical GICD). I'll repeat: In Xen 4.5=C2=A0vgic_vcpu_inject_irq can inject a given SPI only to the pcpu that is set to run the vcpu that should receive the interrupt, as per the vGICD configuration. So if you echo VCPU_NUMBER > /proc/irq/IRQ_NUMBER/smp_affinity in the guest, it should work and it should have a concrete effect in the delivery of the physical interrupt. > =C2=A0 > > =C2=A0 > > -----Original Message----- > From: "Stefano Stabellini" > To: "=EC=8B=A0=EC=A0=95=EC=84=AD"; > Cc: "Ian Campbell"; ; "Stefano Stabellini"; > Sent: 2015-04-20 (=EC=9B=94) 19:49:50 > Subject: Re: [Xen-devel] Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x=3F > =C2=A0 > > In Xen 4.5 we rely on the fact that the physical irq is routed to the > physical cpu running the vcpu of the domain that needs to receive the > corresponding virq. > > So if you want to inject IRQ 100 to CPU 1, while Dom0 is set to receive > vIRQ 100 (virtual irq corresponding to IRQ 100) to vcpu0, running on > CPU 0, that won't work. > > > On Sat, 18 Apr 2015, =EC=8B=A0=EC=A0=95=EC=84=AD wrote: > > NO > > > > =C2=A0 > > > > "Peripheral IRQ routing" means that=C2=A0=C2=A0 > > > > Xen select itself one of domain0's vCPU to inject periperal IRQ. > > > > =C2=A0 > > > > So below Simple=C2=A0peripheral IRQ routing Code is a Example of=C2=A0Peripheral IRQ routing. > > > > periperal IRQ is injected to Domain0' vcpu0 or vcpu1 without vGIC Information. > > > > =C2=A0 > > > > I know that periperal IRQ can be process on any cpu=C2=A0in linux. > > > > So All Domain0's vcpu can process periperal IRQ injected by Xen. > > > > =C2=A0 > > > > On Xen 4.4.1 my simple=C2=A0Simple=C2=A0peripheral irq routing Code is working well. (below) > > > > But Xen 4.5.0 it dosen't. > > > > =C2=A0 > > > > =C2=A0 > > > > -----Original Message----- > > From: "Ian Campbell" > > To: "=EC=8B=A0=EC=A0=95=EC=84=AD"; > > Cc: ; "Stefano Stabellini"; > > Sent: 2015-04-17 (=EA=B8=88) 18:49:39 > > Subject: Re: [Xen-devel] Is it ok to routing periperal irq to any Domain0's vCPU on Xen ARM 4.5.x=3F > > =C2=A0 > > > > On Fri, 2015-04-17 at 11:36 +0900, =EC=8B=A0=EC=A0=95=EC=84=AD wrote: > > > > > > > > > I'm studying periperal irq routing to Domain0's vCPU > > > > What do you mean by "peripheral irq routing"=3F Do you mean supporting the > > guest writing to GICD_ITARGER to cause an interrupt to be injected to a > > specific vcpu=3F > > > > I thought that was supposed to work, Stefano=3F > > > > > > > > > > > > > > I'm testing on Arndale Broad and Domain 0 has 2 vCPU. > > > > > > So Xen can select vcpu0 or vcpu1 to inject periperal irq. > > > > > > > > > > > > I tested periperal routing on Xen 4.4.1 and it works well. > > > > > > But I tested periperal routing on Xen 4.5.0 but irq dosen't works > > > well. > > > > > > > > > > > > So I tested very simple periperal routing code like this. > > > > > > 'flag' is grobal variable. > > > > > > > > > > > > * In "do_IRQ" function on Xen 4.4.1 > > > > > > ----------------------------------------------------- > > > > > > - from > > > > > > if ( desc->status & IRQ_GUEST ) > > > > > > { > > > > > > struct domain *d =3D action->dev_id; > > > > > > > > > > > > desc->handler->end(desc); > > > > > > > > > > > > desc->status =3D IRQ_INPROGRESS; > > > > > > desc->arch.eoi_cpu =3D smp_processor_id(); > > > > > > > > > > > > /* XXX: inject irq into all guest vcpus */ > > > > > > vgic_vcpu_inject_irq(d->vcpu[0], irq, 0); > > > > > > goto out_no_end; > > > > > > } > > > > > > -to if ( desc->status & IRQ_GUEST ) { > > > > > > struct domain *d =3D action->dev_id; > > > > > > > > > > > > desc->handler->end(desc); > > > > > > > > > > > > desc->status =3D IRQ_INPROGRESS; > > > > > > desc->arch.eoi_cpu =3D smp_processor_id(); > > > > > > > > > > > > /* XXX: inject irq into all guest vcpus */ > > > > > > vgic_vcpu_inject_irq(d->vcpu[++flag % 2], irq, 0); > > > > > > goto out_no_end; > > > > > > } > > > > > > ----------------------------------------------------- > > > > > > > > > > > > * In "vgic_vcpu_inject_spi" function on Xen 4.5.0 > > > > > > ----------------------------------------------------- > > > > > > -from > > > > > > void vgic_vcpu_inject_spi(struct domain *d, unsigned int irq) > > > > > > { > > > > > > struct vcpu *v; > > > > > > > > > > > > /* the IRQ needs to be an SPI */ > > > > > > ASSERT(irq >=3D 32 && irq <=3D gic_number_lines()); > > > > > > > > > > > > v =3D vgic_get_target_vcpu(d->vcpu[0], irq); > > > > > > vgic_vcpu_inject_irq(v, irq); > > > > > > } > > > > > > -tovoid vgic_vcpu_inject_spi(struct domain *d, unsigned int irq) > > > > > > { > > > > > > struct vcpu *v; > > > > > > > > > > > > /* the IRQ needs to be an SPI */ > > > > > > ASSERT(irq >=3D 32 && irq <=3D gic_number_lines()); > > > > > > > > > > > > vgic_vcpu_inject_irq(d->vcpu[++flag % 2], irq); > > > > > > } > > > > > > ----------------------------------------------------- > > > > > > so periperal irq injected to Domain0's vCPU0 or vCPU1. > > > > > > > > > > > > on Xen 4.4.1 it work well and i can confirm > > > > > > periperal irq routed vcpu0 or vcpu1 by using cat /proc/interrupts > > > command. > > > > > > > > > > > > * cat /proc/interrupts command on Xen 4.4.1 > > > > > > -------------------------------------------------- > > > > > > CPU0 CPU1 > > > > > > 27: 8690 8558 GIC 27 arch_timer > > > > > > 31: 34 1 GIC 31 events > > > > > > 65: 0 0 GIC 65 10800000.mdma > > > > > > 66: 0 0 GIC 66 121a0000.pdma > > > > > > 67: 0 0 GIC 67 121b0000.pdma > > > > > > 74: 0 0 GIC 74 101d0000.watchdog > > > > > > 75: 0 0 GIC 75 s3c2410-rtc alarm > > > > > > 76: 0 0 GIC 76 s3c2410-rtc tick > > > > > > 77: 0 0 GIC 77 13400000.pinctrl > > > > > > 78: 0 0 GIC 78 11400000.pinctrl > > > > > > 79: 0 0 GIC 79 3860000.pinctrl > > > > > > 82: 0 0 GIC 82 10d10000.pinctrl > > > > > > 88: 229 233 GIC 88 12c60000.i2c > > > > > > 90: 0 0 GIC 90 12c80000.i2c > > > > > > 91: 0 0 GIC 91 12c90000.i2c > > > > > > 96: 0 0 GIC 96 12ce0000.i2c > > > > > > 97: 0 0 GIC 97 10060000.tmu > > > > > > 103: 257 246 GIC 103 ehci_hcd:usb3, ohci_hcd:usb4 > > > > > > 104: 0 0 GIC 104 xhci-hcd:usb1 > > > > > > 107: 710 710 GIC 107 dw-mci > > > > > > 109: 9602 9610 GIC 109 dw-mci > > > > > > 156: 0 0 GIC 156 11c10000.mdma > > > > > > 160: 0 0 xen-dyn-event xenbus > > > > > > 183: 1 0 exynos_wkup_irq_chip 2 s5m8767 > > > > > > 184: 33 0 xen-percpu-virq hvc_console > > > > > > 185: 0 0 s5m8767 12 rtc-alarm0 > > > > > > 186: 0 0 exynos_wkup_irq_chip 4 SW-TACT2 > > > > > > 187: 0 0 exynos_wkup_irq_chip 5 SW-TACT3 > > > > > > 188: 0 0 exynos_wkup_irq_chip 6 SW-TACT4 > > > > > > 189: 0 0 exynos_wkup_irq_chip 7 SW-TACT5 > > > > > > 190: 0 0 exynos_wkup_irq_chip 0 SW-TACT6 > > > > > > 191: 0 0 exynos_wkup_irq_chip 1 SW-TACT7 > > > > > > IPI0: 0 0 CPU wakeup interrupts > > > > > > IPI1: 0 0 Timer broadcast interrupts > > > > > > IPI2: 6660 6920 Rescheduling interrupts > > > > > > IPI3: 0 0 Function call interrupts > > > > > > IPI4: 9 3 Single function call interrupts > > > > > > IPI5: 0 0 CPU stop interrupts > > > > > > IPI6: 0 0 IRQ work interrupts > > > > > > IPI7: 0 0 completion interrupts > > > > > > > > > > > > Err: 0 > > > > > > ----------------------------------------------------- > > > > > > > > > > > > But on Xen 4.5.0, Dom0 can not booting. > > > > > > below is domain0's booting message on Xen 4.5.0 > > > > > > > > > > > > * domain0's booting message on Xen 4.5.0 > > > > > > ----------------------------------------------------- > > > > > > [ 3.900830] usb 3-3.2: new high-speed USB device number 3 using > > > exynos-ehci > > > > > > [ 4.012184] usb 3-3.2: New USB device found, idVendor=3D05e3, > > > idProduct=3D0610 > > > > > > [ 4.017685] usb 3-3.2: New USB device strings: Mfr=3D0, Product=3D1, > > > SerialNumber=3D0 > > > > > > [ 4.025075] usb 3-3.2: Product: USB2.0 Hub > > > > > > [ 4.030156] hub 3-3.2:1.0: USB hub found > > > > > > [ 4.033555] hub 3-3.2:1.0: 4 ports detected > > > > > > [ 4.310681] usb 3-3.2.4: new high-speed USB device number 4 using > > > exynos-ehci > > > > > > [ 4.406697] usb 3-3.2.4: New USB device found, idVendor=3D0b95, > > > idProduct=3D772a > > > > > > [ 4.412372] usb 3-3.2.4: New USB device strings: Mfr=3D1, Product=3D2, > > > SerialNumber=3D3 > > > > > > [ 4.419921] usb 3-3.2.4: Product: AX88772 > > > > > > [ 4.424087] usb 3-3.2.4: Manufacturer: ASIX Elec. Corp. > > > > > > [ 4.429393] usb 3-3.2.4: SerialNumber: 000001 > > > > > > [ 4.435809] asix 3-3.2.4:1.0 (unnamed net_device) (uninitialized): > > > invalid hw address, using random > > > > > > [ 5.229663] asix 3-3.2.4:1.0 eth0: register 'asix' at > > > usb-12110000.usb-3.2.4, ASIX AX88772 USB 2.0 Ethernet, ee:21:96:b8: > > > > > > [ 7.925810] kjournald starting. Commit interval 5 seconds > > > > > > [ 7.929993] EXT3-fs (mmcblk1p2): using internal journal > > > > > > [ 7.944820] EXT3-fs (mmcblk1p2): recovery complete > > > > > > [ 7.948228] EXT3-fs (mmcblk1p2): mounted filesystem with ordered data > > > mode > > > > > > [ 7.955194] VFS: Mounted root (ext3 filesystem) on device 179:34. > > > > > > [ 7.963607] devtmpfs: mounted > > > > > > [ 7.965377] Freeing unused kernel memory: 304K (c066e000 - c06ba000) > > > > > > [ 8.156858] random: init urandom read with 86 bits of entropy > > > available > > > > > > [ 8.378207] init: ureadahead main process (1407) terminated with > > > status 5 > > > > > > [ 12.790491] random: nonblocking pool is initialized > > > > > > [ 240.105444] INFO: task kjournald:1402 blocked for more than 120 > > > seconds. > > > > > > [ 240.110770] Not tainted 3.18.3-svn1 #2 > > > > > > [ 240.115105] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 240.123005] kjournald D c04aa028 0 1402 2 0x00000000 > > > > > > [ 240.129430] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 240.136811] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 240.144273] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 240.151912] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 240.160593] [] (out_of_line_wait_on_bit) from [] > > > (__sync_dirty_buffer+0xc0/0xec) > > > > > > [ 240.169797] [] (__sync_dirty_buffer) from [] > > > (journal_commit_transaction+0xfc8/0x139c) > > > > > > [ 240.179518] [] (journal_commit_transaction) from > > > [] (kjournald+0xe4/0x268) > > > > > > [ 240.188206] [] (kjournald) from [] (kthread > > > +0xd8/0xf0) > > > > > > [ 240.195137] [] (kthread) from [] (ret_from_fork > > > +0x14/0x3c) > > > > > > [ 240.202427] INFO: task upstart-udev-br:1524 blocked for more than > > > 120 seconds. > > > > > > [ 240.209712] Not tainted 3.18.3-svn1 #2 > > > > > > [ 240.214051] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 240.221953] upstart-udev-br D c04aa028 0 1524 1 0x00000000 > > > > > > [ 240.228385] [] (__schedule) from [] > > > (log_wait_commit+0xd8/0x120) > > > > > > [ 240.236203] [] (log_wait_commit) from [] > > > (do_fsync+0x50/0x78) > > > > > > [ 240.243746] [] (do_fsync) from [] > > > (ret_fast_syscall+0x0/0x30) > > > > > > [ 240.251295] INFO: task systemd-udevd:1528 blocked for more than 120 > > > seconds. > > > > > > [ 240.258417] Not tainted 3.18.3-svn1 #2 > > > > > > [ 240.262746] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 240.270646] systemd-udevd D c04aa028 0 1528 1 0x00000004 > > > > > > [ 240.277076] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 240.284454] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 240.291920] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 240.299556] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 240.308238] [] (out_of_line_wait_on_bit) from [] > > > (__bread_gfp+0xa8/0xec) > > > > > > [ 240.316747] [] (__bread_gfp) from [] > > > (ext3_get_branch+0x88/0x14c) > > > > > > [ 240.324656] [] (ext3_get_branch) from [] > > > (ext3_get_blocks_handle+0x90/0xa40) > > > > > > [ 240.333498] [] (ext3_get_blocks_handle) from [] > > > (ext3_get_block+0x9c/0xdc) > > > > > > [ 240.342180] [] (ext3_get_block) from [] > > > (do_mpage_readpage+0x470/0x7ac) > > > > > > [ 240.350605] [] (do_mpage_readpage) from [] > > > (mpage_readpages+0xc8/0x118) > > > > > > [ 240.359016] [] (mpage_readpages) from [] > > > (__do_page_cache_readahead+0x1b0/0x260) > > > > > > [ 240.368224] [] (__do_page_cache_readahead) from > > > [] (filemap_fault+0x3ac/0x474) > > > > > > [ 240.377247] [] (filemap_fault) from [] > > > (__do_fault+0x34/0x88) > > > > > > [ 240.384798] [] (__do_fault) from [] > > > (do_cow_fault.isra.95+0x5c/0x17c) > > > > > > [ 240.393044] [] (do_cow_fault.isra.95) from [] > > > (handle_mm_fault+0x410/0x8d8) > > > > > > [ 240.401815] [] (handle_mm_fault) from [] > > > (do_page_fault+0x194/0x280) > > > > > > [ 240.409966] [] (do_page_fault) from [] > > > (do_DataAbort+0x38/0x9c) > > > > > > [ 240.417691] [] (do_DataAbort) from [] > > > (__dabt_svc+0x38/0x60) > > > > > > [ 240.425151] Exception stack(0xcaee7e78 to 0xcaee7ec0) > > > > > > [ 240.430272] 7e60: 00037044 00000fb4 > > > > > > [ 240.438523] 7e80: 00000000 00000000 cbaf3880 caca7a00 caee7ed0 > > > 00037044 cba3b900 cae46c00 > > > > > > [ 240.446768] 7ea0: 00037940 00037044 00000000 caee7ec0 c010ada4 > > > c020cb84 20000013 ffffffff > > > > > > [ 240.455028] [] (__dabt_svc) from [] > > > (__clear_user_std+0x34/0x64) > > > > > > [ 360.460441] INFO: task kjournald:1402 blocked for more than 120 > > > seconds. > > > > > > [ 360.465763] Not tainted 3.18.3-svn1 #2 > > > > > > [ 360.470089] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 360.477997] kjournald D c04aa028 0 1402 2 0x00000000 > > > > > > [ 360.484419] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 360.491805] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 360.499268] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 360.506908] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 360.515586] [] (out_of_line_wait_on_bit) from [] > > > (__sync_dirty_buffer+0xc0/0xec) > > > > > > [ 360.524789] [] (__sync_dirty_buffer) from [] > > > (journal_commit_transaction+0xfc8/0x139c) > > > > > > [ 360.534512] [] (journal_commit_transaction) from > > > [] (kjournald+0xe4/0x268) > > > > > > [ 360.543201] [] (kjournald) from [] (kthread > > > +0xd8/0xf0) > > > > > > [ 360.550132] [] (kthread) from [] (ret_from_fork > > > +0x14/0x3c) > > > > > > [ 360.557422] INFO: task upstart-udev-br:1524 blocked for more than > > > 120 seconds. > > > > > > [ 360.564708] Not tainted 3.18.3-svn1 #2 > > > > > > [ 360.569047] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 360.576948] upstart-udev-br D c04aa028 0 1524 1 0x00000000 > > > > > > [ 360.583380] [] (__schedule) from [] > > > (log_wait_commit+0xd8/0x120) > > > > > > [ 360.591197] [] (log_wait_commit) from [] > > > (do_fsync+0x50/0x78) > > > > > > [ 360.598741] [] (do_fsync) from [] > > > (ret_fast_syscall+0x0/0x30) > > > > > > [ 360.606289] INFO: task systemd-udevd:1528 blocked for more than 120 > > > seconds. > > > > > > [ 360.613412] Not tainted 3.18.3-svn1 #2 > > > > > > [ 360.617742] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 360.625642] systemd-udevd D c04aa028 0 1528 1 0x00000004 > > > > > > [ 360.632071] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 360.639449] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 360.646916] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 360.654552] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 360.663234] [] (out_of_line_wait_on_bit) from [] > > > (__bread_gfp+0xa8/0xec) > > > > > > [ 360.671742] [] (__bread_gfp) from [] > > > (ext3_get_branch+0x88/0x14c) > > > > > > [ 360.679651] [] (ext3_get_branch) from [] > > > (ext3_get_blocks_handle+0x90/0xa40) > > > > > > [ 360.688494] [] (ext3_get_blocks_handle) from [] > > > (ext3_get_block+0x9c/0xdc) > > > > > > [ 360.697174] [] (ext3_get_block) from [] > > > (do_mpage_readpage+0x470/0x7ac) > > > > > > [ 360.705600] [] (do_mpage_readpage) from [] > > > (mpage_readpages+0xc8/0x118) > > > > > > [ 360.714011] [] (mpage_readpages) from [] > > > (__do_page_cache_readahead+0x1b0/0x260) > > > > > > [ 360.723217] [] (__do_page_cache_readahead) from > > > [] (filemap_fault+0x3ac/0x474) > > > > > > [ 360.732243] [] (filemap_fault) from [] > > > (__do_fault+0x34/0x88) > > > > > > [ 360.739792] [] (__do_fault) from [] > > > (do_cow_fault.isra.95+0x5c/0x17c) > > > > > > [ 360.748040] [] (do_cow_fault.isra.95) from [] > > > (handle_mm_fault+0x410/0x8d8) > > > > > > [ 360.756807] [] (handle_mm_fault) from [] > > > (do_page_fault+0x194/0x280) > > > > > > [ 360.764961] [] (do_page_fault) from [] > > > (do_DataAbort+0x38/0x9c) > > > > > > [ 360.772688] [] (do_DataAbort) from [] > > > (__dabt_svc+0x38/0x60) > > > > > > [ 360.780147] Exception stack(0xcaee7e78 to 0xcaee7ec0) > > > > > > [ 360.785269] 7e60: 00037044 00000fb4 > > > > > > [ 360.793540] 7e80: 00000000 00000000 cbaf3880 caca7a00 caee7ed0 > > > 00037044 cba3b900 cae46c00 > > > > > > [ 360.801765] 7ea0: 00037940 00037044 00000000 caee7ec0 c010ada4 > > > c020cb84 20000013 ffffffff > > > > > > [ 360.810023] [] (__dabt_svc) from [] > > > (__clear_user_std+0x34/0x64) > > > > > > [ 480.815443] INFO: task kjournald:1402 blocked for more than 120 > > > seconds. > > > > > > [ 480.820838] Not tainted 3.18.3-svn1 #2 > > > > > > [ 480.825094] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 480.833006] kjournald D c04aa028 0 1402 2 0x00000000 > > > > > > [ 480.839427] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 480.846811] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 480.854273] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 480.861914] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 480.870593] [] (out_of_line_wait_on_bit) from [] > > > (__sync_dirty_buffer+0xc0/0xec) > > > > > > [ 480.879795] [] (__sync_dirty_buffer) from [] > > > (journal_commit_transaction+0xfc8/0x139c) > > > > > > [ 480.889518] [] (journal_commit_transaction) from > > > [] (kjournald+0xe4/0x268) > > > > > > [ 480.898196] [] (kjournald) from [] (kthread > > > +0xd8/0xf0) > > > > > > [ 480.905137] [] (kthread) from [] (ret_from_fork > > > +0x14/0x3c) > > > > > > [ 480.912426] INFO: task upstart-udev-br:1524 blocked for more than > > > 120 seconds. > > > > > > [ 480.919713] Not tainted 3.18.3-svn1 #2 > > > > > > [ 480.924052] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 480.931952] upstart-udev-br D c04aa028 0 1524 1 0x00000000 > > > > > > [ 480.938392] [] (__schedule) from [] > > > (log_wait_commit+0xd8/0x120) > > > > > > [ 480.946200] [] (log_wait_commit) from [] > > > (do_fsync+0x50/0x78) > > > > > > [ 480.953747] [] (do_fsync) from [] > > > (ret_fast_syscall+0x0/0x30) > > > > > > [ 480.961295] INFO: task systemd-udevd:1528 blocked for more than 120 > > > seconds. > > > > > > [ 480.968417] Not tainted 3.18.3-svn1 #2 > > > > > > [ 480.972747] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 480.980660] systemd-udevd D c04aa028 0 1528 1 0x00000004 > > > > > > [ 480.987076] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 480.994473] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 481.001922] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 481.009557] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 481.018238] [] (out_of_line_wait_on_bit) from [] > > > (__bread_gfp+0xa8/0xec) > > > > > > [ 481.026746] [] (__bread_gfp) from [] > > > (ext3_get_branch+0x88/0x14c) > > > > > > [ 481.034644] [] (ext3_get_branch) from [] > > > (ext3_get_blocks_handle+0x90/0xa40) > > > > > > [ 481.043500] [] (ext3_get_blocks_handle) from [] > > > (ext3_get_block+0x9c/0xdc) > > > > > > [ 481.052180] [] (ext3_get_block) from [] > > > (do_mpage_readpage+0x470/0x7ac) > > > > > > [ 481.060606] [] (do_mpage_readpage) from [] > > > (mpage_readpages+0xc8/0x118) > > > > > > [ 481.069015] [] (mpage_readpages) from [] > > > (__do_page_cache_readahead+0x1b0/0x260) > > > > > > [ 481.078223] [] (__do_page_cache_readahead) from > > > [] (filemap_fault+0x3ac/0x474) > > > > > > [ 481.087247] [] (filemap_fault) from [] > > > (__do_fault+0x34/0x88) > > > > > > [ 481.094797] [] (__do_fault) from [] > > > (do_cow_fault.isra.95+0x5c/0x17c) > > > > > > [ 481.103045] [] (do_cow_fault.isra.95) from [] > > > (handle_mm_fault+0x410/0x8d8) > > > > > > [ 481.111813] [] (handle_mm_fault) from [] > > > (do_page_fault+0x194/0x280) > > > > > > [ 481.119966] [] (do_page_fault) from [] > > > (do_DataAbort+0x38/0x9c) > > > > > > [ 481.127692] [] (do_DataAbort) from [] > > > (__dabt_svc+0x38/0x60) > > > > > > [ 481.135151] Exception stack(0xcaee7e78 to 0xcaee7ec0) > > > > > > [ 481.140273] 7e60: 00037044 00000fb4 > > > > > > [ 481.148523] 7e80: 00000000 00000000 cbaf3880 caca7a00 caee7ed0 > > > 00037044 cba3b900 cae46c00 > > > > > > [ 481.156769] 7ea0: 00037940 00037044 00000000 caee7ec0 c010ada4 > > > c020cb84 20000013 ffffffff > > > > > > [ 481.165028] [] (__dabt_svc) from [] > > > (__clear_user_std+0x34/0x64) > > > > > > [ 601.170443] INFO: task kjournald:1402 blocked for more than 120 > > > seconds. > > > > > > [ 601.175773] Not tainted 3.18.3-svn1 #2 > > > > > > [ 601.180099] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" > > > disables this message. > > > > > > [ 601.188008] kjournald D c04aa028 0 1402 2 0x00000000 > > > > > > [ 601.194433] [] (__schedule) from [] (io_schedule > > > +0x70/0x9c) > > > > > > [ 601.201816] [] (io_schedule) from [] > > > (bit_wait_io+0x34/0x58) > > > > > > [ 601.209278] [] (bit_wait_io) from [] > > > (__wait_on_bit+0x80/0xb8) > > > > > > [ 601.216918] [] (__wait_on_bit) from [] > > > (out_of_line_wait_on_bit+0x6c/0x74) > > > > > > [ 601.225598] [] (out_of_line_wait_on_bit) from [] > > > (__sync_dirty_buffer+0xc0/0xec) > > > > > > [ 601.234800] [] (__sync_dirty_buffer) from [] > > > (journal_commit_transaction+0xfc8/0x139c) > > > > > > [ 601.244535] [] (journal_commit_transaction) from > > > [] (kjournald+0xe4/0x268) > > > > > > [ 601.253200] [] (kjournald) from [] (kthread > > > +0xd8/0xf0) > > > > > > [ 601.260142] [] (kthread) from [] (ret_from_fork > > > +0x14/0x3c) > > > > > > --------------------------------------------------------------------------------- > > > > > > > > > > > > Accroding to log. > > > > > > It seems that periperal irq arn't injected properly. > > > > > > > > > > > > I think vgic_vcpu_inject_irq function can inject irq to any vcpu, any > > > irq. right=3F > > > > > > > > > > > > This is Bug=3F=3F > > > > > > or Intended on Xen 4.5.x=3F > > > > > > > > > > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.xen.org > > > http://lists.xen.org/xen-devel > > > > > > > > > > [=3Fimg=3Dmr%2Bm%2BBFm%2BBK9hAnZFAM9FqMdFrMqKo%2BSFrM%2FFrudF4tqMxFvKouXM4twFrKZtzFXp6UmaLl5WLl51zlqDBFdp6d5 > > MreRhoRx%2Bzk4M6lT70FdM6i0WzwGW40gpBE5Mr0db40%2F74FTWt%3D%3D.gif] > > > [=3Fimg=3DmqFm%2BBFm%2BBF0hAnZFAM9FqFoM6twazErKxk0FxgrMo3CF6MwM6UZpAp0K6JgMX%2B0Mou974lR74lcWNFlbX30WLloWrdQaXFdp6pCW4Y5bX3CM4knWz051 > EI0%2BLlo1B3Z1B25MreR.gif] > --1342847746-874082355-1429550716=:30125 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1342847746-874082355-1429550716=:30125--