]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
NTB: MFV c529aa30: Xeon Doorbell errata workaround
authorcem <cem@FreeBSD.org>
Tue, 13 Oct 2015 23:41:06 +0000 (23:41 +0000)
committercem <cem@FreeBSD.org>
Tue, 13 Oct 2015 23:41:06 +0000 (23:41 +0000)
commitbc762f4426d89a794efd0f55bffc42691d6b1b85
treef28aae012dac223abaa41b1330561ad620d425e3
parentf704bed62801656e7361875052f75afba0bd97bb
NTB: MFV c529aa30: Xeon Doorbell errata workaround

Modifications to the 14th bit of the B2BDOORBELL register will not be
mirrored to the remote system due to a hardware issue.  To get around
the issue, shrink the number of available doorbell bits by 1.  The max
number of doorbells was being used as a way to referencing the Link
Doorbell bit.  Since this would no longer work, the driver must now
explicitly reference that bit.

This does not affect the xeon_errata_workaround case, as it is not using
the b2bdoorbell register.

Authored by: Jon Mason
Obtained from: Linux (Dual BSD/GPL driver)
Sponsored by: EMC / Isilon Storage Division
sys/dev/ntb/ntb_hw/ntb_hw.c
sys/dev/ntb/ntb_hw/ntb_regs.h