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

Re: [Xen-devel] Trying Xen on APM



CC to the related guys.

On Mar 26, 2014, at 17:40, Ian Campbell <ijc@xxxxxxxxxxxxxx> wrote:

> On Wed, 2014-03-26 at 16:53 +0800, Chen Baozi wrote:
>> I found an interesting phenomenon on APM machine. When I was using
>> Xen + dom0 kernel to boot the machine, the dom0 kernel seems not to
>> be able to handle the interrupt from PKA of the SoC.
> 
> Not sure what the PKA is -- perhaps I don't have a driver for it. Please
> could you take this to the devel mailing list and CC the APM guys
> (Pranav and Anup).

I guess PKA is short for “Private Key Accelerator”?

The driver is included in the kernel offered by Wookey. And I think Xen
would just pass all the device related work (except the serial console)
to dom0. So it should be something wrong when the hypervisor deal with the
interrupt, for there won’t be such a problem if I use the same kernel
on bare-metal machine.

(For those people who don’t received the previous conversation, here is
the OOPS message below)

irq 99: nobody cared (try booting with the "irqpoll" option)
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.12.0-mustang_sw_1.11.09-beta+ #2
Call trace:
[<ffffffc0000883b0>] dump_backtrace+0x0/0x12c
[<ffffffc0000884f0>] show_stack+0x14/0x1c
[<ffffffc0006900b4>] dump_stack+0x70/0x90
[<ffffffc0000d5e40>] __report_bad_irq+0x38/0xe4
[<ffffffc0000d6358>] note_interrupt+0x1f8/0x254
[<ffffffc0000d4010>] handle_irq_event_percpu+0x108/0x188
[<ffffffc0000d40d4>] handle_irq_event+0x44/0x70
[<ffffffc0000d7148>] handle_fasteoi_irq+0xb0/0x150
[<ffffffc0000d362c>] generic_handle_irq+0x34/0x4c
[<ffffffc0000850b0>] handle_IRQ+0x5c/0xcc
[<ffffffc0000812f4>] gic_handle_irq+0x3c/0x88
Exception stack(0xffffffc03a87f9b0 to 0xffffffc03a87fad0)
f9a0:                                     009fbc80 ffffffc0 00000001 00000000
f9c0: 3a87faf0 ffffffc0 000d1e1c ffffffc0 0099f090 ffffffc0 0099f090 ffffffc0
f9e0: 00000000 00000000 00000000 00000000 00000001 00000000 003c0944 ffffffc0
fa00: 00000001 00000000 000000ee 00000000 6c6c7566 6e492079 00000002 00000000
fa20: 00000080 00000000 00000024 00000000 00000058 00000000 000033f8 00000000
fa40: 00000000 00000000 00000002 00000000 deadbeef 00000000 00000007 00000000
fa60: 0000000e 00000000 009fbc80 ffffffc0 00000001 00000000 0099f000 ffffffc0
fa80: 00000004 00000000 00000000 00000000 00000100 00000000 00000031 00000000
faa0: 00000000 00000000 00000031 00000000 009fc5d8 ffffffc0 3a87faf0 ffffffc0
fac0: 000d1f1c ffffffc0 3a87faf0 ffffffc0
[<ffffffc0000845ac>] el1_irq+0x6c/0xc0
[<ffffffc00068d5d4>] printk+0x74/0x7c
[<ffffffc00056b824>] apm_pka_probe+0x1ec/0x200
[<ffffffc0003d97f8>] platform_drv_probe+0x18/0x20
[<ffffffc0003d8594>] really_probe+0xf4/0x210
[<ffffffc0003d87d4>] __driver_attach+0xa4/0xa8
[<ffffffc0003d683c>] bus_for_each_dev+0x58/0x98
[<ffffffc0003d8094>] driver_attach+0x20/0x28
[<ffffffc0003d7cac>] bus_add_driver+0x1cc/0x280
[<ffffffc0003d8c38>] driver_register+0x68/0x130
[<ffffffc0003d9d74>] __platform_driver_register+0x60/0x68
[<ffffffc000973bd4>] apm_pka_driver_init+0x1c/0x24
[<ffffffc00008141c>] do_one_initcall+0xdc/0x124
[<ffffffc000953980>] kernel_init_freeable+0x1a0/0x240
[<ffffffc00068b338>] kernel_init+0x18/0x148
handlers:
[<ffffffc0005698dc>] apm_pka_irq_handler
Disabling IRQ #99

Cheers,

Baozi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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