aboutsummaryrefslogtreecommitdiff
path: root/replay/replay-random.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2020-10-15 23:03:18 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-10-28 01:08:53 +1100
commitdff669d6a15fb92b063cb5aa691b4bb498727404 (patch)
treee382f57dc5d74729f67a744e5eb12baede1cd9a6 /replay/replay-random.c
parenteaf1ffbe15fe67612c63d928415ee04eb4836dc7 (diff)
downloadqemu-dff669d6a15fb92b063cb5aa691b4bb498727404.zip
qemu-dff669d6a15fb92b063cb5aa691b4bb498727404.tar.gz
qemu-dff669d6a15fb92b063cb5aa691b4bb498727404.tar.bz2
ppc/spapr: re-assert IRQs during event-scan if there are pending
If we hotplug a CPU during the first second of the kernel boot, the IRQ can be sent to the kernel while the RTAS event handler is not installed. The event is queued, but the kernel doesn't collect it and ignores the new CPU. As the code relies on edge-triggered IRQ, we can re-assert it during the event-scan RTAS call if there are still pending events (as it is already done in check-exception). Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-Id: <20201015210318.117386-1-lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'replay/replay-random.c')
0 files changed, 0 insertions, 0 deletions