Author: mav
Date: Fri Jul 29 20:52:18 2016
New Revision: 303510
URL: https://svnweb.freebsd.org/changeset/base/303510

Log:
  Clear scratchpad after MSIX negotiation to not leak garbage.

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw.c    Fri Jul 29 20:51:52 2016        
(r303509)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw.c    Fri Jul 29 20:52:18 2016        
(r303510)
@@ -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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to