target-alpha: fix smp interrupts
This is such a minor typo, let's fix it for 2.8 please.
r~
The following changes since commit c36ed06e9159fa484b711dfdd27ec64d7ac3d17a:
Merge remote-tracking branch 'mst/tags/for_upstream' into staging (2016-11-21 11:09:58 +0000)
are available in the git repository at:
git://github.com/rth7680/qemu.git tags/pull-axp-20161123
for you to fetch changes up to 424ad8388f89f4202a7836d003273f23ebe04b09:
target-alpha: Fix interrupt mask for cpu1 (2016-11-22 16:53:53 +0100)
----------------------------------------------------------------
Fix alpha smp interrupt masking
----------------------------------------------------------------
Richard Henderson (1):
target-alpha: Fix interrupt mask for cpu1
hw/alpha/typhoon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[Qemu-devel] [PULL for-2.8] target-alpha: Fix interrupt mask for cpu1
A typo prevents ISA interrupts from being recognized on cpu0, which is where the smp kernel normally wants to see them.
--- hw/alpha/typhoon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/alpha/typhoon.c +1 -1
@@ -376,7 +376,7 @@ static void cchip_write(void *opaque, hwaddr addr,break ;case 0x0240 :/* DIM1 */ /* DIM: Device Interrupt Mask Register, CPU1. */ - s->cchip.dim[0 ] = val; + s->cchip.dim[1 ] = val;cpu_irq_change (s->cchip.cpu[1 ], val & s->cchip.drir);break ;
Signature · 1 line
2.7.4
Stefan Hajnoczi
AppliedQuoted 20 lines · Richard Henderson
This is such a minor typo, let's fix it for 2.8 please.
r~
The following changes since commit
c36ed06e9159fa484b711dfdd27ec64d7ac3d17a:Merge remote-tracking branch 'mst/tags/for_upstream' into staging (2016-11-21 11:09:58 +0000)
are available in the git repository at:
git://github.com/rth7680/qemu.gittags/pull-axp-20161123for you to fetch changes up to
424ad8388f89f4202a7836d003273f23ebe04b09:target-alpha: Fix interrupt mask for cpu1 (2016-11-22 16:53:53 +0100)
----------------------------------------------------------------
Fix alpha smp interrupt masking
Quoted 6 lines
----------------------------------------------------------------
Richard Henderson (1):
target-alpha: Fix interrupt mask for cpu1hw/alpha/typhoon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my staging tree:
https://github.com/stefanha/qemu/commits/staging
Stefan