diff options
author | Milton Miller <miltonm@bga.com> | 2008-10-10 03:56:28 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-10-13 01:55:47 +0200 |
commit | 302905a3473d9a1f00e4b2fe373d2763a041a93d (patch) | |
tree | ed2405daf2551491edb7afbcb71a7f8bb49e95d8 /REPORTING-BUGS | |
parent | powerpc/xics: EOI unmapped irqs after disabling them (diff) | |
download | linux-302905a3473d9a1f00e4b2fe373d2763a041a93d.tar.xz linux-302905a3473d9a1f00e4b2fe373d2763a041a93d.zip |
powerpc/xics: Update default_server during migrate_irqs_away
Currently, every time we determine which irq server to use, we check if
default_server, which is the id of the bootcpu, is still online. But
default_server is a hardware cpu, not the logical cpu id needed to index
cpu_online_map.
Since the default server can only go offline during a cpu hotplug event,
explicitly check the default server and choose the new one when we move
irqs away from the cpu being offlined.
This has the added benefit of only needing the boot_cpuid to be updated
and not relying on the cpu being marked offline during migrate_irqs_away.
Also, since xics_update_irq_servers only reads device tree information, we
can call it before xics_init_host in xics_init_IRQ and then default_server
will always be valid when we can reach get_irq_server via the host ops.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions