From a876564de41eec07ef12c34fee5ce6bdbaf6f9f8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 12 Feb 2024 11:42:23 +0100 Subject: [PATCH] core/msi/LitePCIeMSIX: Mask all MSI-X by default and let the driver un-mask them. --- litepcie/core/msi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litepcie/core/msi.py b/litepcie/core/msi.py index baf77ae..f604674 100644 --- a/litepcie/core/msi.py +++ b/litepcie/core/msi.py @@ -95,7 +95,7 @@ def __init__(self, endpoint, width=32, default_enable=0): self.pba = CSRStatus(width, description="""MSI-X PBA Table.""") if width <= 32: self.reserved1 = CSRStorage() # For 64-bit alignment. - self.specials.table = Memory(4*32, width) # MSI-X Table. + self.specials.table = Memory(4*32, width, init=[0b1 for _ in range(width)]) # MSI-X Table / Masked by default. # # #