Author: mav
Date: Thu Dec 17 21:02:58 2020
New Revision: 368742
URL: https://svnweb.freebsd.org/changeset/base/368742
Log:
Fix f_pkt_into_t typo.
MFC after:1 week
Modified:
head/share/man/man9/iflibtxrx.9
Modified: head/share/man/man9/iflibtxrx.9
Author: mav
Date: Sun Dec 13 02:21:54 2020
New Revision: 368603
URL: https://svnweb.freebsd.org/changeset/base/368603
Log:
MFC r367768: Stop using NVME_MAX_XFER_SIZE constant.
This constant depends on MAXPHYS and does not respect device capabilities.
Use proper dynamic ioctl(NVME_GET_MAX_
Author: mav
Date: Sun Dec 13 02:19:18 2020
New Revision: 368602
URL: https://svnweb.freebsd.org/changeset/base/368602
Log:
MFC r368132: Increase nvme(4) maximum transfer size from 1MB to 2MB.
With 4KB page size the 2MB is the maximum we can address with one page PRP.
Going further would r
Author: mav
Date: Tue Dec 8 00:58:02 2020
New Revision: 368426
URL: https://svnweb.freebsd.org/changeset/base/368426
Log:
MFC r367985: Remove unneeded locking around xpt_bus_[de]register().
Modified:
stable/12/sys/dev/isp/isp_freebsd.c
Directory Properties:
stable/12/ (props changed)
Mo
Author: mav
Date: Sun Nov 29 01:30:17 2020
New Revision: 368138
URL: https://svnweb.freebsd.org/changeset/base/368138
Log:
Remove alignment requirements for KVA buffer mapping.
After r368124 pbuf_zone has extra page to handle this particular case.
Modified:
head/sys/kern/kern_physio.c
M
Author: mav
Date: Sun Nov 29 00:57:19 2020
New Revision: 368136
URL: https://svnweb.freebsd.org/changeset/base/368136
Log:
Remove aligment requirements for passthrough buffer.
After r368124 vmapbuf() should happily map misaligned maxphys-sized buffers
thanks to extra page added to pbuf_zo
Author: mav
Date: Sun Nov 29 00:49:14 2020
New Revision: 368134
URL: https://svnweb.freebsd.org/changeset/base/368134
Log:
Remove alignment requirements for KVA buffer mapping.
After r368124 vmapbuf() should happily map misaligned maxphys-sized buffers
thanks to extra page added to pbuf_z
Author: mav
Date: Sun Nov 29 00:35:13 2020
New Revision: 368133
URL: https://svnweb.freebsd.org/changeset/base/368133
Log:
Mark inline functions static.
Modified:
head/sys/dev/isp/isp_library.h
Modified: head/sys/dev/isp/isp_library.h
=
Author: mav
Date: Sun Nov 29 00:20:31 2020
New Revision: 368132
URL: https://svnweb.freebsd.org/changeset/base/368132
Log:
Increase nvme(4) maximum transfer size from 1MB to 2MB.
With 4KB page size the 2MB is the maximum we can address with one page PRP.
Going further would require chaini
Author: mav
Date: Fri Nov 27 15:50:20 2020
New Revision: 368105
URL: https://svnweb.freebsd.org/changeset/base/368105
Log:
Some code reorganization.
- Remove code duplication by adding two new functions to execute prepared
queue entry via either mbox or request queue and wait for result.
Author: mav
Date: Fri Nov 27 13:25:12 2020
New Revision: 368104
URL: https://svnweb.freebsd.org/changeset/base/368104
Log:
MFC r367862: Microoptimize cam_num_doneqs math in xpt_done().
Modified:
stable/12/sys/cam/cam_xpt.c
Directory Properties:
stable/12/ (props changed)
Modified: stable
Author: mav
Date: Fri Nov 27 05:13:52 2020
New Revision: 368091
URL: https://svnweb.freebsd.org/changeset/base/368091
Log:
Restore break statement lost in r367857.
Modified:
head/sys/dev/isp/isp_target.c
Modified: head/sys/dev/isp/isp_target.c
Author: mav
Date: Thu Nov 26 18:47:23 2020
New Revision: 368079
URL: https://svnweb.freebsd.org/changeset/base/368079
Log:
More cleanup in response queue and reset code.
Modified:
head/sys/dev/isp/isp.c
head/sys/dev/isp/isp_freebsd.c
head/sys/dev/isp/isp_freebsd.h
head/sys/dev/isp/ispmb
Author: mav
Date: Thu Nov 26 02:14:52 2020
New Revision: 368044
URL: https://svnweb.freebsd.org/changeset/base/368044
Log:
Some minor FCoE bits I had lying around.
Modified:
head/sys/dev/isp/isp.c
head/sys/dev/isp/isp_library.c
head/sys/dev/isp/ispmbox.h
Modified: head/sys/dev/isp/isp.c
Author: mav
Date: Thu Nov 26 01:59:44 2020
New Revision: 368043
URL: https://svnweb.freebsd.org/changeset/base/368043
Log:
Remove some more dead code from pre-24xx.
Modified:
head/sys/dev/isp/isp_freebsd.c
head/sys/dev/isp/isp_library.c
head/sys/dev/isp/isp_library.h
head/sys/dev/isp/is
Author: mav
Date: Tue Nov 24 22:43:27 2020
New Revision: 368001
URL: https://svnweb.freebsd.org/changeset/base/368001
Log:
Remove more legacy of parallel SCSI.
Modified:
head/sys/dev/isp/isp_freebsd.c
head/sys/dev/isp/isp_freebsd.h
head/sys/dev/isp/isp_pci.c
head/sys/dev/isp/ispvar.h
M
Author: mav
Date: Tue Nov 24 17:37:12 2020
New Revision: 367991
URL: https://svnweb.freebsd.org/changeset/base/367991
Log:
Update RQSFLAG_* definitions.
Modified:
head/sys/dev/isp/isp.c
head/sys/dev/isp/ispmbox.h
Modified: head/sys/dev/isp/isp.c
Author: mav
Date: Tue Nov 24 15:32:25 2020
New Revision: 367986
URL: https://svnweb.freebsd.org/changeset/base/367986
Log:
Remove concept of mbox_sleep_ok.
It was broken by design and unused for years due to conflicts between
different threads, fighting for the same set of mailbox registe
Author: mav
Date: Tue Nov 24 14:05:52 2020
New Revision: 367985
URL: https://svnweb.freebsd.org/changeset/base/367985
Log:
Remove unneeded locking around xpt_bus_[de]register().
MFC after:2 weeks
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
=
Author: mav
Date: Tue Nov 24 13:17:12 2020
New Revision: 367982
URL: https://svnweb.freebsd.org/changeset/base/367982
Log:
MFC r367044: Introduce support of SCSI Command Priority.
SAM-3 specification introduced concept of Task Priority, that was renamed
to Command Priority in SAM-4, and s
Author: mav
Date: Tue Nov 24 04:16:49 2020
New Revision: 367979
URL: https://svnweb.freebsd.org/changeset/base/367979
Log:
Implement request queue overflow protection.
Before this change in case of request queue overflow driver just froze the
device queue for 100ms to retry after. It was
Author: mav
Date: Tue Nov 24 00:30:47 2020
New Revision: 367974
URL: https://svnweb.freebsd.org/changeset/base/367974
Log:
MFC r366922, r367915, r367916:
Pass lower 3 bits of sector_count for FPDMA commands.
When this code was written those bits were N/A, but now the lowest bit
is Rebui
On 22.11.2020 10:23, Kyle Evans wrote:
> On Sat, Nov 21, 2020 at 11:43 PM Alexander Motin wrote:
>> Author: mav
>> Date: Sun Nov 22 05:42:52 2020
>> New Revision: 367929
>> URL: https://svnweb.freebsd.org/changeset/base/367929
>>
>> Log:
>> Fix build
Author: mav
Date: Sun Nov 22 16:13:09 2020
New Revision: 367937
URL: https://svnweb.freebsd.org/changeset/base/367937
Log:
Fix debug build after 367926.
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
=
Author: mav
Date: Sun Nov 22 05:42:52 2020
New Revision: 367929
URL: https://svnweb.freebsd.org/changeset/base/367929
Log:
Fix build after 367926.
Option ISP_TARGET_MODE is evil.
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
==
Author: mav
Date: Sun Nov 22 04:29:55 2020
New Revision: 367926
URL: https://svnweb.freebsd.org/changeset/base/367926
Log:
Make handlers and atpds overflows unlikely.
- Allocate 256 handlers more than payload commands for management purposes.
- Increase maximum number of handlers from 8
Author: mav
Date: Sun Nov 22 04:10:13 2020
New Revision: 367925
URL: https://svnweb.freebsd.org/changeset/base/367925
Log:
Do not parent all busdma tags to the payload tag.
There is not much to inherit any more, may create more problems than solve.
Instead parent them all directly to upst
Author: mav
Date: Sun Nov 22 02:51:30 2020
New Revision: 367924
URL: https://svnweb.freebsd.org/changeset/base/367924
Log:
Remove remnants of execthrottle and maxalloc parameters.
The first was obsolete since 26xx, not used on 25xx and not needed on 24xx.
The second seems never worked on
Author: mav
Date: Sat Nov 21 00:53:31 2020
New Revision: 367916
URL: https://svnweb.freebsd.org/changeset/base/367916
Log:
Unlucky change...
MFC after:3 days
Modified:
head/sys/dev/siis/siis.c
Modified: head/sys/dev/siis/siis.c
===
Author: mav
Date: Sat Nov 21 00:51:39 2020
New Revision: 367915
URL: https://svnweb.freebsd.org/changeset/base/367915
Log:
Fix stupid math mistake in r366922.
MFC after:3 days
Modified:
head/sys/dev/ahci/ahci.c
head/sys/dev/siis/siis.c
Modified: head/sys/dev/ahci/ahci.c
==
Author: mav
Date: Sat Nov 21 00:40:59 2020
New Revision: 367914
URL: https://svnweb.freebsd.org/changeset/base/367914
Log:
MFC r366953: Negotiate iSCSIProtocolLevel of 2 (RFC 7144) in initiator.
It does not change anything immediately, but allows further support of
Command Priority, Statu
Author: mav
Date: Fri Nov 20 19:36:34 2020
New Revision: 367909
URL: https://svnweb.freebsd.org/changeset/base/367909
Log:
Increase queue depths from 1024/256 to 8192/1024 IOCBs.
Qlogic chips store S/G lists in the same queue as requests themselves. In
the worst case 1MB I/O may require
Author: mav
Date: Fri Nov 20 18:02:04 2020
New Revision: 367906
URL: https://svnweb.freebsd.org/changeset/base/367906
Log:
Cleanup DMA handling.
- Make isp_start() to set all the IOCB fields aside of S/G list, removing
extra information from isp_send_cmd(), now only doing S/G lists and s
Author: mav
Date: Fri Nov 20 05:46:27 2020
New Revision: 367862
URL: https://svnweb.freebsd.org/changeset/base/367862
Log:
Microoptimize cam_num_doneqs math in xpt_done().
MFC after:1 week
Modified:
head/sys/cam/cam_xpt.c
Modified: head/sys/cam/cam_xpt.c
Author: mav
Date: Fri Nov 20 02:03:58 2020
New Revision: 367858
URL: https://svnweb.freebsd.org/changeset/base/367858
Log:
Fix r367857 build without ISP_TARGET_MODE.
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
e/man/man4/isp.4 Fri Nov 20 00:30:58 2020(r367856)
+++ head/share/man/man4/isp.4 Fri Nov 20 01:15:48 2020(r367857)
@@ -1,4 +1,4 @@
-.\" Copyright (c) 2009-2018 Alexander Motin
+.\" Copyright (c) 2009-2020 Alexander Motin
.\" Copyright (c) 2006 Marcus Alves Gran
Author: mav
Date: Fri Nov 20 00:30:58 2020
New Revision: 367856
URL: https://svnweb.freebsd.org/changeset/base/367856
Log:
MFC r367630: Improve nvmecontrol error reporting.
Modified:
stable/12/sbin/nvmecontrol/comnd.c
stable/12/sbin/nvmecontrol/devlist.c
stable/12/sbin/nvmecontrol/firmwar
Author: mav
Date: Fri Nov 20 00:30:07 2020
New Revision: 367855
URL: https://svnweb.freebsd.org/changeset/base/367855
Log:
MFC r366506, r366511:
nvmecontrol: Update wdc module for newer WDC NVMe products
Update the to log fetch operation for latest WDC NVMe products.
Tested on HGST S
Author: mav
Date: Thu Nov 19 02:44:08 2020
New Revision: 367825
URL: https://svnweb.freebsd.org/changeset/base/367825
Log:
MFC r367625: Fix panic if NVMe is detached before the intrhook call.
Modified:
stable/12/sys/dev/nvme/nvme.c
stable/12/sys/dev/nvme/nvme_ctrlr.c
Directory Properties:
Author: mav
Date: Wed Nov 18 03:43:03 2020
New Revision: 367784
URL: https://svnweb.freebsd.org/changeset/base/367784
Log:
Move ecmd memory allocation itto separate DMA tag.
Ecmd memory is not directly related to the request queue, only referenced
from it sometimes in target mode. Separa
Author: mav
Date: Wed Nov 18 02:54:05 2020
New Revision: 367782
URL: https://svnweb.freebsd.org/changeset/base/367782
Log:
Remove bus_dma locking/sleeping when not needed.
MFC after:1 month
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
===
Author: mav
Date: Wed Nov 18 02:12:51 2020
New Revision: 367781
URL: https://svnweb.freebsd.org/changeset/base/367781
Log:
Don't allocate full XCMD_SIZE (512 bytes) on stack.
We need only 24 bytes (fcp_rsp_iu_t) there for isp_put_fcp_rsp_iu().
MFC after:1 month
Modified:
head/sy
Author: mav
Date: Wed Nov 18 02:05:59 2020
New Revision: 367780
URL: https://svnweb.freebsd.org/changeset/base/367780
Log:
MFC r367600: Make CTL nicer to increased MAXPHYS.
Before this CTL always allocated MAXPHYS-sized buffers, even for 4KB I/O,
that is even more overkill for MAXPHYS of
Author: mav
Date: Tue Nov 17 16:34:58 2020
New Revision: 367768
URL: https://svnweb.freebsd.org/changeset/base/367768
Log:
Stop using NVME_MAX_XFER_SIZE constant.
This constant depends on MAXPHYS and does not respect device capabilities.
Use proper dynamic ioctl(NVME_GET_MAX_XFER_SIZE) in
Author: mav
Date: Tue Nov 17 00:35:59 2020
New Revision: 367739
URL: https://svnweb.freebsd.org/changeset/base/367739
Log:
MFC r367659: Add PMRCAP printing and fix earlier CAP_HI.
Modified:
stable/12/sys/dev/nvme/nvme.h
stable/12/sys/dev/nvme/nvme_ctrlr.c
Directory Properties:
stable/12/
e
> Nov 13 15:12:44 xxx kernel: pcib29: Timed out waiting for Data Link
> Layer Active
> Nov 13 15:13:04 xxx kernel: pcib11: Timed out waiting for Data Link
> Layer Active
> ...
>
> Flipping the tunable back to 0 workarounds the problem.
>
> Reproduced both on latest head
Author: mav
Date: Sat Nov 14 01:45:34 2020
New Revision: 367659
URL: https://svnweb.freebsd.org/changeset/base/367659
Log:
Add PMRCAP printing and fix earlier CAP_HI.
MFC after:3 days
Modified:
head/sys/dev/nvme/nvme.h
head/sys/dev/nvme/nvme_ctrlr.c
Modified: head/sys/dev/nvme/nvm
Author: mav
Date: Fri Nov 13 02:05:45 2020
New Revision: 367630
URL: https://svnweb.freebsd.org/changeset/base/367630
Log:
Improve nvmecontrol error reporting.
MFC after:1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sbin/nvmecontrol/comnd.c
head/sbin/nvmecontrol/devlist.c
Author: mav
Date: Thu Nov 12 20:20:43 2020
New Revision: 367625
URL: https://svnweb.freebsd.org/changeset/base/367625
Log:
Fix panic if NVMe is detached before the intrhook call.
MFC after:1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sys/dev/nvme/nvme.c
head/sys/dev/nvme/n
Author: mav
Date: Wed Nov 11 21:59:39 2020
New Revision: 367600
URL: https://svnweb.freebsd.org/changeset/base/367600
Log:
Make CTL nicer to increased MAXPHYS.
Before this CTL always allocated MAXPHYS-sized buffers, even for 4KB I/O,
that is even more overkill for MAXPHYS of 1MB. This ch
Author: mav
Date: Mon Nov 9 01:14:22 2020
New Revision: 367506
URL: https://svnweb.freebsd.org/changeset/base/367506
Log:
MFC r367261: Add icc (Isochronous Command Completion) ccb_ataio field.
Modified:
stable/12/sys/cam/cam_ccb.h
stable/12/sys/dev/ahci/ahci.c
stable/12/sys/dev/siis/siis
Author: mav
Date: Mon Nov 9 01:13:28 2020
New Revision: 367505
URL: https://svnweb.freebsd.org/changeset/base/367505
Log:
MFC r367052: Enable bioq 'car limit' added at r335066 at 128 bios.
Without the 'car limit' enabled (before this), running sequential ZFS scrub
on HDD without command
Author: mav
Date: Sun Nov 8 00:31:49 2020
New Revision: 367469
URL: https://svnweb.freebsd.org/changeset/base/367469
Log:
MFC r367041: Fix incorrect constants of target tag action.
ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(),
which translates them from FCP_TASK_A
Author: mav
Date: Sun Nov 8 00:30:53 2020
New Revision: 367468
URL: https://svnweb.freebsd.org/changeset/base/367468
Log:
MFC r367041: Fix incorrect constants of target tag action.
ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(),
which translates them from FCP_TASK_A
Author: mav
Date: Sat Nov 7 13:16:11 2020
New Revision: 367446
URL: https://svnweb.freebsd.org/changeset/base/367446
Log:
MFC r367022: Fix asymmetry in devstat(9) calls by GEOM.
Before this GEOM passed bio pointer to transaction end, but not start.
It was irrelevant until devstat(9) got
Author: mav
Date: Thu Nov 5 02:57:40 2020
New Revision: 367359
URL: https://svnweb.freebsd.org/changeset/base/367359
Log:
MFC r364038: Enable hw.pci.enable_aspm tunable by default.
While effects on power saving is only a guess, effects on hot-plug are
clearly visible. Lets try to enable
Author: mav
Date: Wed Nov 4 14:13:29 2020
New Revision: 367330
URL: https://svnweb.freebsd.org/changeset/base/367330
Log:
MFC r367112: Use proper variable for device path.
It seems *-passthru commands were broken from the day one, since the
device path is fetched into opt.dev variable an
Author: mav
Date: Wed Nov 4 14:12:29 2020
New Revision: 367329
URL: https://svnweb.freebsd.org/changeset/base/367329
Log:
MFC r367109, r367113: Print NVMe controller capabilities in verbose dmesg.
Those values are not reported in controller identification, while sometimes
interesting for
Author: mav
Date: Mon Nov 2 01:01:41 2020
New Revision: 367261
URL: https://svnweb.freebsd.org/changeset/base/367261
Log:
Add icc (Isochronous Command Completion) ccb_ataio field.
MFC after:1 week
Modified:
head/sys/cam/cam_ccb.h
head/sys/dev/ahci/ahci.c
head/sys/dev/siis/siis.c
Author: mav
Date: Thu Oct 29 00:30:38 2020
New Revision: 367124
URL: https://svnweb.freebsd.org/changeset/base/367124
Log:
MFC r366733: Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses
delivered to the CODEC dev
Author: mav
Date: Wed Oct 28 18:22:25 2020
New Revision: 367113
URL: https://svnweb.freebsd.org/changeset/base/367113
Log:
Fix unintentional constant rename in r367109.
MFC after:1 week
Modified:
head/sys/dev/nvme/nvme.h
Modified: head/sys/dev/nvme/nvme.h
===
Author: mav
Date: Wed Oct 28 17:28:48 2020
New Revision: 367112
URL: https://svnweb.freebsd.org/changeset/base/367112
Log:
Use proper variable for device path.
It seems *-passthru commands were broken from the day one, since the
device path is fetched into opt.dev variable and not left in
Author: mav
Date: Wed Oct 28 15:43:29 2020
New Revision: 367109
URL: https://svnweb.freebsd.org/changeset/base/367109
Log:
Print NVMe controller capabilities in verbose dmesg.
Those values are not reported in controller identification, while sometimes
interesting for development and debug
Author: mav
Date: Mon Oct 26 04:04:06 2020
New Revision: 367052
URL: https://svnweb.freebsd.org/changeset/base/367052
Log:
Enable bioq 'car limit' added at r335066 at 128 bios.
Without the 'car limit' enabled (before this), running sequential ZFS scrub
on HDD without command queuing suppo
Author: mav
Date: Sun Oct 25 19:34:02 2020
New Revision: 367044
URL: https://svnweb.freebsd.org/changeset/base/367044
Log:
Introduce support of SCSI Command Priority.
SAM-3 specification introduced concept of Task Priority, that was renamed
to Command Priority in SAM-4, and supported by a
Author: mav
Date: Sun Oct 25 16:58:48 2020
New Revision: 367041
URL: https://svnweb.freebsd.org/changeset/base/367041
Log:
Fix incorrect constants of target tag action.
ocs_scsi_recv_cmd() receives the flags after ocs_get_flags_fcp_cmd(),
which translates them from FCP_TASK_ATTR_* to OCS_
Author: mav
Date: Sat Oct 24 21:07:10 2020
New Revision: 367022
URL: https://svnweb.freebsd.org/changeset/base/367022
Log:
Fix asymmetry in devstat(9) calls by GEOM.
Before this GEOM passed bio pointer to transaction start, but not end.
It was irrelevant until devstat(9) got DTrace hooks,
Author: mav
Date: Thu Oct 22 20:26:27 2020
New Revision: 366953
URL: https://svnweb.freebsd.org/changeset/base/366953
Log:
Negotiate iSCSIProtocolLevel of 2 (RFC 7144) in initiator.
It does not change anything immediately, but allows further support of
Command Priority, Status Qualifier a
Author: mav
Date: Thu Oct 22 03:30:39 2020
New Revision: 366922
URL: https://svnweb.freebsd.org/changeset/base/366922
Log:
Pass lower 3 bits of sector_count for FPDMA commands.
When this code was written those bits were N/A, but now the lowest bit
is Rebuild Assist Recovery Control (RARC)
Author: mav
Date: Wed Oct 21 00:46:53 2020
New Revision: 366905
URL: https://svnweb.freebsd.org/changeset/base/366905
Log:
MFC r366707: Use RTD3 Entry Latency value as shutdown timeout.
This field was not in specs when the driver was written, but now there
are SSDs with the reported laten
Author: mav
Date: Tue Oct 20 02:32:40 2020
New Revision: 366868
URL: https://svnweb.freebsd.org/changeset/base/366868
Log:
MFC r366689: Fix sbuf_finish() error code check in user-space.
Modified:
stable/11/sys/cam/ata/ata_all.c
stable/11/sys/cam/scsi/scsi_all.c
Directory Properties:
stabl
Author: mav
Date: Tue Oct 20 02:28:07 2020
New Revision: 366867
URL: https://svnweb.freebsd.org/changeset/base/366867
Log:
MFC r366689: Fix sbuf_finish() error code check in user-space.
Modified:
stable/12/sys/cam/ata/ata_all.c
stable/12/sys/cam/nvme/nvme_all.c
stable/12/sys/cam/scsi/scsi
+1,5 @@
.\"
+.\" Copyright (c) 2020 Warner Losh
.\" Copyright (c) 2018-2019 Alexander Motin
.\" Copyright (c) 2012 Intel Corporation
.\" All rights reserved.
@@ -34,7 +35,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 5, 2019
+.Dd April 30, 2020
.Dt NVM
Author: mav
Date: Mon Oct 19 20:40:03 2020
New Revision: 366859
URL: https://svnweb.freebsd.org/changeset/base/366859
Log:
MFC r352671 (by imp): Size is unsigned, so remove the test entirely.
The kernel won't crash if you have a bad value and I'd rather not have
nvmecontrol know the inter
Author: mav
Date: Mon Oct 19 20:39:00 2020
New Revision: 366858
URL: https://svnweb.freebsd.org/changeset/base/366858
Log:
MFC r352665 (by imp):
After my comnd changes, the number of threads and size weren't set. In
addition, the flags are optional, but were made to be mandatory. Set
these
Author: mav
Date: Mon Oct 19 20:37:04 2020
New Revision: 366856
URL: https://svnweb.freebsd.org/changeset/base/366856
Log:
MFC r352212 (by imp):
Assume all the short args have optional args so allocate space for the
':'. It's slightly wasteful, but much easier (and the savings in bytes
at
Author: mav
Date: Sun Oct 18 01:13:41 2020
New Revision: 366803
URL: https://svnweb.freebsd.org/changeset/base/366803
Log:
MFC r366730: Fix nvmecontrol logpage -i parameter.
Modified:
stable/12/sbin/nvmecontrol/logpage.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/1
Author: mav
Date: Thu Oct 15 17:40:02 2020
New Revision: 366733
URL: https://svnweb.freebsd.org/changeset/base/366733
Log:
Drop unsolicited responses to the still attaching CODECs.
It is reported to fix kernel panics when early unsolicited responses
delivered to the CODEC device not havin
Author: mav
Date: Thu Oct 15 15:36:08 2020
New Revision: 366730
URL: https://svnweb.freebsd.org/changeset/base/366730
Log:
Fix nvmecontrol logpage -i parameter.
MFC after:3 days
Modified:
head/sbin/nvmecontrol/logpage.c
Modified: head/sbin/nvmecontrol/logpage.c
=
Author: mav
Date: Wed Oct 14 15:50:28 2020
New Revision: 366707
URL: https://svnweb.freebsd.org/changeset/base/366707
Log:
Use RTD3 Entry Latency value as shutdown timeout.
This field was not in specs when the driver was written, but now there
are SSDs with the reported latency of 10s, wh
Author: mav
Date: Tue Oct 13 23:29:06 2020
New Revision: 366689
URL: https://svnweb.freebsd.org/changeset/base/366689
Log:
Fix sbuf_finish() error code check in user-space.
MFC after:1 week
Sponsored by: iXsystems, Inc.
Modified:
head/sys/cam/ata/ata_all.c
head/sys/cam/nvme/nvme_
Author: mav
Date: Tue Oct 13 17:50:01 2020
New Revision: 366675
URL: https://svnweb.freebsd.org/changeset/base/366675
Log:
MFC r355083 (by rlibby): sysctl: wire old buf before output with sysctl lock
Several sysctl sysctls output to a user buffer while holding a
non-sleepable lock that pr
Author: mav
Date: Fri Sep 11 15:30:47 2020
New Revision: 365634
URL: https://svnweb.freebsd.org/changeset/base/365634
Log:
MFC r342852 (by cem): powerpc: Fix regression introduced in r342771
In r342771, I introduced a regression in Power by abusing the platform
smp_topo() method as a shor
Author: mav
Date: Fri Sep 11 14:00:10 2020
New Revision: 365632
URL: https://svnweb.freebsd.org/changeset/base/365632
Log:
MFC r342852 (by cem): powerpc: Fix regression introduced in r342771
In r342771, I introduced a regression in Power by abusing the platform
smp_topo() method as a shor
Author: mav
Date: Mon Aug 31 00:59:02 2020
New Revision: 364981
URL: https://svnweb.freebsd.org/changeset/base/364981
Log:
MFC r364309: Extend EIIOE field handling according to ses4r5 draft.
It should not affect any existing systems.
Modified:
stable/12/sys/cam/scsi/scsi_enc_ses.c
stab
Author: mav
Date: Wed Aug 26 00:28:28 2020
New Revision: 364789
URL: https://svnweb.freebsd.org/changeset/base/364789
Log:
MFC r364399: Remove some noisy ACPI tables messages from verbose dmesg.
Those messages were printed hundreds of times during boot, often multiple
times for each table
Author: mav
Date: Mon Aug 24 01:11:29 2020
New Revision: 364601
URL: https://svnweb.freebsd.org/changeset/base/364601
Log:
MFC r364463: Fix CTL ioctl port creation error handling.
Modified:
stable/12/sys/cam/ctl/ctl_frontend_ioctl.c
Directory Properties:
stable/12/ (props changed)
Modifi
Author: mav
Date: Sat Aug 22 00:42:33 2020
New Revision: 364471
URL: https://svnweb.freebsd.org/changeset/base/364471
Log:
MFC r364407: Unify AcpiGetTable() KPI use in identify, probe and attach.
While there, change probe order to not call AcpiGetTable() for every
probed ACPI device.
Author: mav
Date: Fri Aug 21 20:10:29 2020
New Revision: 364463
URL: https://svnweb.freebsd.org/changeset/base/364463
Log:
Fix CTL ioctl port creation error handling.
Submitted by: Bret Ketchum
MFC after:3 days
Differential Revision:https://reviews.freebsd.org/D26143
Modifi
Author: mav
Date: Thu Aug 20 02:54:44 2020
New Revision: 364414
URL: https://svnweb.freebsd.org/changeset/base/364414
Log:
MFC r364185: Fill device serial_num and device_id in NVMe XPT.
It allows to report GEOM::lunid for nda(4) same as for nvd(4). Since
NVMe now allows multiple LUs (nam
Author: mav
Date: Thu Aug 20 02:51:18 2020
New Revision: 364413
URL: https://svnweb.freebsd.org/changeset/base/364413
Log:
MFC r364178: Report proper stripesize for nda(4).
Same as for nvd(4) report NPWG if present, otherise NOIOB.
Modified:
stable/12/sys/cam/nvme/nvme_da.c
Directory Pro
Author: mav
Date: Wed Aug 19 19:55:12 2020
New Revision: 364407
URL: https://svnweb.freebsd.org/changeset/base/364407
Log:
Unify AcpiGetTable() KPI use in identify, probe and attach.
While there, change probe order to not call AcpiGetTable() for every
probed ACPI device.
PR:
Author: mav
Date: Wed Aug 19 16:09:36 2020
New Revision: 364399
URL: https://svnweb.freebsd.org/changeset/base/364399
Log:
Remove some noisy ACPI tables messages from verbose dmesg.
Those messages were printed hundreds of times during boot, often multiple
times for each table. We already
Author: mav
Date: Mon Aug 17 15:11:46 2020
New Revision: 364309
URL: https://svnweb.freebsd.org/changeset/base/364309
Log:
Extend EIIOE field handling according to ses4r5 draft.
It should not affect any existing systems.
MFC after:2 weeks
Modified:
head/sys/cam/scsi/scsi_enc_ses
Author: mav
Date: Thu Aug 13 02:32:46 2020
New Revision: 364185
URL: https://svnweb.freebsd.org/changeset/base/364185
Log:
Fill device serial_num and device_id in NVMe XPT.
It allows to report GEOM::lunid for nda(4) same as for nvd(4). Since
NVMe now allows multiple LUs (namespaces) with
==
--- stable/12/usr.sbin/ctladm/ctladm.8 Thu Aug 13 00:40:40 2020
(r364183)
+++ stable/12/usr.sbin/ctladm/ctladm.8 Thu Aug 13 00:42:09 2020
(r364184)
@@ -1,6 +1,6 @@
.\"
.\" Copyright (c) 2003 Silicon Graphics Internat
Author: mav
Date: Thu Aug 13 00:40:40 2020
New Revision: 364183
URL: https://svnweb.freebsd.org/changeset/base/364183
Log:
MFC r363955: Add Intel Apollo Lake AHCI ID.
Modified:
stable/12/sys/dev/ahci/ahci_pci.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/
Author: mav
Date: Wed Aug 12 20:05:43 2020
New Revision: 364179
URL: https://svnweb.freebsd.org/changeset/base/364179
Log:
Report cpi->hba_* for nda(4) because why not.
MFC after:1 week
Modified:
head/sys/dev/nvme/nvme_sim.c
Modified: head/sys/dev/nvme/nvme_sim.c
===
Author: mav
Date: Wed Aug 12 19:37:57 2020
New Revision: 364178
URL: https://svnweb.freebsd.org/changeset/base/364178
Log:
Report proper stripesize for nda(4).
Same as for nvd(4) report NPWG if present, otherise NOIOB.
MFC after:1 week
Modified:
head/sys/cam/nvme/nvme_da.c
Modi
.
- * Copyright (C) 2018 Alexander Motin
+ * Copyright (C) 2018-2020 Alexander Motin
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -45,7 +45,10 @@ __FBSDID("$FreeBSD$");
#include
#include
1 - 100 of 7464 matches
Mail list logo