#
a01ff11c |
| 26-Dec-2023 |
Mark Johnston <markj@FreeBSD.org> |
ocs: Check for copyin errors in the ioctl handler
If copyin() fails, the driver will blindly proceed with whatever had been in the uninitialized DMA buffer. This is not what we want. Check for cop
ocs: Check for copyin errors in the ioctl handler
If copyin() fails, the driver will blindly proceed with whatever had been in the uninitialized DMA buffer. This is not what we want. Check for copyin failures.
This is in preparation for annotating copyin() and related functions with __result_use_check.
Reviewed by: ram MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43097
show more ...
|
Revision tags: release/14.0.0 |
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
965e2154 |
| 03-Mar-2022 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Support persistent topology feature
Summary: Enable persistent topology across power cycles/firmware resets.
Reviewed by: mav
MFC after: 3 days
Differential Revision: https://reviews.free
ocs_fc: Support persistent topology feature
Summary: Enable persistent topology across power cycles/firmware resets.
Reviewed by: mav
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D34425
show more ...
|
#
a2523bae |
| 05-Jan-2022 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Remove giant lock usage in sysctl.
Summary: Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE.
Reviewers: ken, mav
Subscribers: imp
Approved by: mav
Differential Revision: https://reviews.fr
ocs_fc: Remove giant lock usage in sysctl.
Summary: Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE.
Reviewers: ken, mav
Subscribers: imp
Approved by: mav
Differential Revision: https://reviews.freebsd.org/D33752
show more ...
|
Revision tags: release/12.3.0 |
|
#
29e2dbd4 |
| 24-Jun-2021 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Add gendump and dump_to_host ioctl command support.
Support to generate firmware dump.
Approved by: mav(mentor)
|
Revision tags: release/13.0.0, release/12.2.0 |
|
#
98d835ae |
| 02-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
ocs_fc: clean up empty lines in .c and .h files
|
Revision tags: release/11.4.0 |
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
7029da5c |
| 26-Feb-2020 |
Pawel Biernacki <kaktus@FreeBSD.org> |
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)
r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that are still not MPSAFE (or already are but aren’t properly marked). Use it in preparation for a general review of all nodes.
This is non-functional change that adds annotations to SYSCTL_NODE and SYSCTL_PROC nodes using one of the soon-to-be-required flags.
Mark all obvious cases as MPSAFE. All entries that haven't been marked as MPSAFE before are by default marked as NEEDGIANT
Approved by: kib (mentor, blanket) Commented by: kib, gallatin, melifaro Differential Revision: https://reviews.freebsd.org/D23718
show more ...
|
Revision tags: release/12.1.0, release/11.3.0 |
|
#
7e565c55 |
| 30-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343320 through r343570.
|
#
4915e5c7 |
| 23-Jan-2019 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
Fixed issues reported by coverity scan.
Approved by: mav MFC after: 3 weeks
|
Revision tags: release/12.0.0 |
|
#
84f0fb8a |
| 22-Jul-2018 |
Mark Johnston <markj@FreeBSD.org> |
Use the right buffer size when calling snprintf().
PR: 229952
|
Revision tags: release/11.2.0 |
|
#
bc5ea07c |
| 11-Jun-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Fix build of ocs_fs with base gcc on i386
Add a few intermediate casts to uintptr_t to suppress "cast to pointer from integer of different size" warnings from gcc. Also remove a few incorrect casts
Fix build of ocs_fs with base gcc on i386
Add a few intermediate casts to uintptr_t to suppress "cast to pointer from integer of different size" warnings from gcc. Also remove a few incorrect casts.
Reviewed by: ram MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D15747
show more ...
|
#
ef270ab1 |
| 30-Mar-2018 |
Kenneth D. Merry <ken@FreeBSD.org> |
Bring in the Broadcom/Emulex Fibre Channel driver, ocs_fc(4).
The ocs_fc(4) driver supports the following hardware:
Emulex 16/8G FC GEN 5 HBAS LPe15004 FC Host Bus Adapters LPe160XX FC Host Bus A
Bring in the Broadcom/Emulex Fibre Channel driver, ocs_fc(4).
The ocs_fc(4) driver supports the following hardware:
Emulex 16/8G FC GEN 5 HBAS LPe15004 FC Host Bus Adapters LPe160XX FC Host Bus Adapters
Emulex 32/16G FC GEN 6 HBAS LPe3100X FC Host Bus Adapters LPe3200X FC Host Bus Adapters
The driver supports target and initiator mode, and also supports FC-Tape.
Note that the driver only currently works on little endian platforms. It is only included in the module build for amd64 and i386, and in GENERIC on amd64 only.
Submitted by: Ram Kishore Vegesna <ram.vegesna@broadcom.com> Reviewed by: mav MFC after: 5 days Relnotes: yes Sponsored by: Broadcom Differential Revision: https://reviews.freebsd.org/D11423
show more ...
|