|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] xen 4 only seeing one keyboard and mouse
On 26/08/2010 23:24, "M A Young" <m.a.young@xxxxxxxxxxxx> wrote:
> or perhaps it should happen in io_apic_set_pci_routing from
> xen/arch/x86/io_apic.c where the higher IRQs are set (it doesn't because
> __assign_irq_vector sees the IRQ is already in use
> old_vector = irq_to_vector(irq);
> if (old_vector) {
> cpus_and(tmp_mask, mask, cpu_online_map);
> cpus_and(tmp_mask, cfg->domain, tmp_mask);
> if (!cpus_empty(tmp_mask)) {
> cfg->vector = old_vector;
> return 0;
> }
> }
> but seems to miss the fact that it is only actually configured for one
> cpu.
Setting up for one CPU only was the whole point of the per-cpu IDT patch. It
allows the same vector on different CPUs to be bound to different
interrupts, hence increasing the system-wide interrupt limit by a factor
equal to number of CPUs in the system. As long as the interrupt controller
is programmed to only interrupt the CPU which has the vector allocated, all
is good.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, (continued)
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Konrad Rzeszutek Wilk
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Konrad Rzeszutek Wilk
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Konrad Rzeszutek Wilk
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Keir Fraser
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse,
Keir Fraser <=
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Konrad Rzeszutek Wilk
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, M A Young
- Re: [Xen-devel] xen 4 only seeing one keyboard and mouse, Konrad Rzeszutek Wilk
|
|
|
|
|