Page MenuHomeFreeBSD

sfxge(4): add missing barrier in common code MCDI response handling
ClosedPublic

Authored by arybchik on Dec 28 2016, 3:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 20, 8:21 AM
Unknown Object (File)
Fri, Sep 18, 1:11 AM
Unknown Object (File)
Sun, Sep 13, 3:51 PM
Unknown Object (File)
Sat, Sep 12, 9:42 PM
Unknown Object (File)
Sat, Sep 12, 9:36 PM
Unknown Object (File)
Sat, Sep 12, 9:27 PM
Unknown Object (File)
Aug 24 2026, 2:35 AM
Unknown Object (File)
Aug 13 2026, 8:38 PM
Subscribers

Details

Summary

The semantics of the MCDI interfacve require reading the first
dword of the header before any other data in the buffer. Add
a barrier to the common code MCDI handler to enforce this.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 kernels tinderbox build tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge(4): add missing barrier in common code MCDI response handling.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz.
gnn edited edge metadata.
This revision is now accepted and ready to land.Dec 28 2016, 4:43 PM
This revision was automatically updated to reflect the committed changes.