[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 06/55] xlnx_dp: Fix the interrupt disable logic
From: |
Peter Maydell |
Subject: |
[PULL 06/55] xlnx_dp: Fix the interrupt disable logic |
Date: |
Thu, 9 Jun 2022 10:04:48 +0100 |
From: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Fix interrupt disable logic. Mask value 1 indicates that interrupts are
disabled.
Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Frederic Konrad <fkonrad@amd.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20220601172353.3220232-4-fkonrad@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/display/xlnx_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c
index ed856b596da..a071c818833 100644
--- a/hw/display/xlnx_dp.c
+++ b/hw/display/xlnx_dp.c
@@ -889,7 +889,7 @@ static void xlnx_dp_write(void *opaque, hwaddr offset,
uint64_t value,
xlnx_dp_update_irq(s);
break;
case DP_INT_DS:
- s->core_registers[DP_INT_MASK] |= ~value;
+ s->core_registers[DP_INT_MASK] |= value;
xlnx_dp_update_irq(s);
break;
default:
--
2.25.1
- [PULL 00/55] target-arm queue, Peter Maydell, 2022/06/09
- [PULL 02/55] target/arm: Implement FEAT_DoubleFault, Peter Maydell, 2022/06/09
- [PULL 06/55] xlnx_dp: Fix the interrupt disable logic,
Peter Maydell <=
- [PULL 03/55] Fix 'writeable' typos, Peter Maydell, 2022/06/09
- [PULL 05/55] xlnx_dp: Introduce a vblank signal, Peter Maydell, 2022/06/09
- [PULL 08/55] target/arm: Move stage_1_mmu_idx decl to internals.h, Peter Maydell, 2022/06/09
- [PULL 09/55] target/arm: Move get_phys_addr to ptw.c, Peter Maydell, 2022/06/09
- [PULL 11/55] target/arm: Move get_phys_addr_v6 to ptw.c, Peter Maydell, 2022/06/09
- [PULL 12/55] target/arm: Move get_phys_addr_pmsav5 to ptw.c, Peter Maydell, 2022/06/09
- [PULL 13/55] target/arm: Move get_phys_addr_pmsav7_default to ptw.c, Peter Maydell, 2022/06/09
- [PULL 16/55] target/arm: Move pmsav8_mpu_lookup to ptw.c, Peter Maydell, 2022/06/09
- [PULL 20/55] target/arm: Move get_level1_table_address to ptw.c, Peter Maydell, 2022/06/09
- [PULL 22/55] target/arm: Move get_phys_addr_lpae to ptw.c, Peter Maydell, 2022/06/09