mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
ppc/xive2: Add support for notification injection on ESB pages
This is an internal offset used to inject triggers when the PQ state bits are not controlled locally. Such as for LSIs when the PHB5 are using the Address-Based Interrupt Trigger mode and on the END. Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
This commit is contained in:
parent
24c8fa968a
commit
aadf13abaa
3 changed files with 20 additions and 0 deletions
|
@ -659,6 +659,16 @@ static void xive2_end_source_write(void *opaque, hwaddr addr,
|
|||
notify = xive_esb_eoi(&pq);
|
||||
break;
|
||||
|
||||
case XIVE_ESB_INJECT ... XIVE_ESB_INJECT + 0x3FF:
|
||||
if (end_esmask == END2_W1_ESe) {
|
||||
qemu_log_mask(LOG_GUEST_ERROR,
|
||||
"XIVE: END %x/%x can not EQ inject on ESe\n",
|
||||
end_blk, end_idx);
|
||||
return;
|
||||
}
|
||||
notify = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
qemu_log_mask(LOG_GUEST_ERROR, "XIVE: invalid END ESB write addr %d\n",
|
||||
offset);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue