From ef8087f2fd99551b4ab47519bed47817a6704c0b Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Mansoor Date: Thu, 27 Jun 2024 15:13:37 -0400 Subject: [PATCH] fix: mask interrupts for I/O queue 1 --- drivers/nvme/nvme.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/nvme/nvme.asm b/drivers/nvme/nvme.asm index 9e5c595..908aabe 100644 --- a/drivers/nvme/nvme.asm +++ b/drivers/nvme/nvme.asm @@ -1092,9 +1092,9 @@ proc irq_handler mov edi, esi mov edi, dword [edi + pcidev.io_addr] - mov dword [edi + NVME_MMIO.INTMS], 0x1 + mov dword [edi + NVME_MMIO.INTMS], 0x3 stdcall consume_cq_entries, [p_nvme_devices], 0 - mov dword [edi + NVME_MMIO.INTMC], 0x1 + mov dword [edi + NVME_MMIO.INTMC], 0x3 ; Interrupt handled by driver, return 1 pop edi esi