diff options
author | Vladimir Kondratyev <wulf@FreeBSD.org> | 2023-12-24 08:20:00 +0000 |
---|---|---|
committer | Vladimir Kondratyev <wulf@FreeBSD.org> | 2023-12-24 08:20:00 +0000 |
commit | 808ae4e29b6b9c9acc7eab013c5045370df8182a (patch) | |
tree | c43f19f332131ed265ce3ecb9c990dff27fdecb5 /.git-blame-ignore-revs | |
parent | b8c88a61750174f62db45784d6b4dc98de4073b1 (diff) | |
download | src-808ae4e29b6b9c9acc7eab013c5045370df8182a.tar.gz src-808ae4e29b6b9c9acc7eab013c5045370df8182a.zip |
LinuxKPI: Add pcie_capability_clear_and_set_word() function
It does a Read-Modify-Write operation using clear and set bitmasks on
PCI Express Capability Register at pos. As certain PCI Express
Capability Registers are accessed concurrently in RMW fashion, hence
require locking which is handled transparently to the caller.
Sponsored by: Serenity CyberSecurity, LLC
Reviewed by: manu, bz
MFC after: 1 week
MFC TODO: Move pcie_cap_lock to bottom to preserve KBI compatibility
Differential Revision: https://reviews.freebsd.org/D42821
Diffstat (limited to '.git-blame-ignore-revs')
0 files changed, 0 insertions, 0 deletions