From 75b94efd081b993645fe8abdc8698070a74daec7 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Fri, 29 Jul 2016 20:52:18 +0000 Subject: Clear scratchpad after MSIX negotiation to not leak garbage. --- sys/dev/ntb/ntb_hw/ntb_hw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev') diff --git a/sys/dev/ntb/ntb_hw/ntb_hw.c b/sys/dev/ntb/ntb_hw/ntb_hw.c index 6e501b3208846..9962cb275474a 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw.c @@ -2649,6 +2649,7 @@ msix_done: if (val != NTB_MSIX_RECEIVED) goto reschedule; + intel_ntb_spad_clear(ntb->device); ntb->peer_msix_good = true; /* Give peer time to see our NTB_MSIX_RECEIVED. */ goto reschedule; -- cgit v1.3