提交 fa250144 编写于 作者: A Adam Lackorzynski 提交者: Aurelien Jarno

target-arm: Fix soft interrupt in GIC distributor

Fix selection of target list filter mode.
Signed-off-by: NAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 29501f1b
...@@ -549,10 +549,10 @@ static void gic_dist_writel(void *opaque, target_phys_addr_t offset, ...@@ -549,10 +549,10 @@ static void gic_dist_writel(void *opaque, target_phys_addr_t offset,
mask = (value >> 16) & ALL_CPU_MASK; mask = (value >> 16) & ALL_CPU_MASK;
break; break;
case 1: case 1:
mask = 1 << cpu; mask = ALL_CPU_MASK ^ (1 << cpu);
break; break;
case 2: case 2:
mask = ALL_CPU_MASK ^ (1 << cpu); mask = 1 << cpu;
break; break;
default: default:
DPRINTF("Bad Soft Int target filter\n"); DPRINTF("Bad Soft Int target filter\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册