Re: svn commit: r337273 - head/sys/dev/nvme

2018-08-04 Thread Jim Harris
(), but a specific side-effects of one of the instruction in the > > > implementation of wmb(). > > > > > > As I noted, on x86 it is not needed and detrimental to the performance. > > > > > > > According to Jim Harris it is needed for x86. I tried to rem

svn commit: r302380 - head/sys/dev/isci/scil

2016-07-06 Thread Jim Harris
Author: jimharris Date: Wed Jul 6 20:48:42 2016 New Revision: 302380 URL: https://svnweb.freebsd.org/changeset/base/302380 Log: isci: fix ATA PASSTHROUGH fixed sense data format PR: kern/191717 Submitted by: mar...@lispworks.com Approved by: re (gjb) MFC after: 3 days Modified: he

Re: svn commit: r299977 - head/sys/dev/acpica/Osd

2016-05-17 Thread Jim Harris
On Mon, May 16, 2016 at 2:33 PM, John Baldwin wrote: > Author: jhb > Date: Mon May 16 21:33:31 2016 > New Revision: 299977 > URL: https://svnweb.freebsd.org/changeset/base/299977 > > Log: > Use polling spin loops for timeouts during early boot. > > Some ACPI operations such as mutex acquires

Re: svn commit: r292074 - in head/sys/dev: nvd nvme

2016-03-11 Thread Jim Harris
On Fri, Mar 11, 2016 at 9:31 AM, Warner Losh wrote: > > > > And keep in mind the original description was this: > > Quote: > > Intel NVMe controllers have a slow path for I/Os that span > a 128KB stripe boundary but ZFS limits ashift, which is derived > from d_stripesize, to 13 (8KB) so we limit

svn commit: r296191 - stable/10/sys/dev/nvme

2016-02-29 Thread Jim Harris
Author: jimharris Date: Mon Feb 29 15:45:43 2016 New Revision: 296191 URL: https://svnweb.freebsd.org/changeset/base/296191 Log: MFC r295944: nvme: fix intx handler to not dereference ioq during initialization This was a regression from r293328, which deferred allocation of the

svn commit: r295944 - head/sys/dev/nvme

2016-02-23 Thread Jim Harris
Author: jimharris Date: Wed Feb 24 00:01:10 2016 New Revision: 295944 URL: https://svnweb.freebsd.org/changeset/base/295944 Log: nvme: fix intx handler to not dereference ioq during initialization This was a regression from r293328, which deferred allocation of the controller's ioq array

svn commit: r295705 - in stable/10: share/man/man4 sys/dev/nvd

2016-02-17 Thread Jim Harris
Author: jimharris Date: Wed Feb 17 15:38:05 2016 New Revision: 295705 URL: https://svnweb.freebsd.org/changeset/base/295705 Log: MFC r295022: nvd: add hw.nvd.delete_max tunable The NVMe specification does not define a maximum or optimal delete size, so technically max delete si

svn commit: r295704 - stable/10/sys/dev/nvme

2016-02-17 Thread Jim Harris
Author: jimharris Date: Wed Feb 17 15:36:02 2016 New Revision: 295704 URL: https://svnweb.freebsd.org/changeset/base/295704 Log: MFC r295532: nvme: avoid duplicate SET_NUM_QUEUES commands nvme(4) issues a SET_NUM_QUEUES command during device initialization to ensure enough I/O

svn commit: r295532 - head/sys/dev/nvme

2016-02-11 Thread Jim Harris
Author: jimharris Date: Thu Feb 11 17:32:41 2016 New Revision: 295532 URL: https://svnweb.freebsd.org/changeset/base/295532 Log: nvme: avoid duplicate SET_NUM_QUEUES commands nvme(4) issues a SET_NUM_QUEUES command during device initialization to ensure enough I/O queues exists for each

svn commit: r295022 - in head: share/man/man4 sys/dev/nvd

2016-01-28 Thread Jim Harris
Author: jimharris Date: Thu Jan 28 23:15:14 2016 New Revision: 295022 URL: https://svnweb.freebsd.org/changeset/base/295022 Log: nvd: add hw.nvd.delete_max tunable The NVMe specification does not define a maximum or optimal delete size, so technically max delete size is min(full size of n

svn commit: r295000 - stable/10/share/man/man4

2016-01-28 Thread Jim Harris
; $FreeBSD$ .\" -.Dd May 9, 2014 +.Dd January 11, 2016 .Dt ISMT 4 .Os .Sh NAME @@ -54,6 +54,6 @@ in the Intel Atom S1200 and C2000 CPUs. The .Nm driver first appeared in -.Fx 11.0 . +.Fx 10.3 . .Sh AUTHORS .An Jim Harris Aq jimhar...@freebsd.org

svn commit: r293678 - head/share/man/man4

2016-01-11 Thread Jim Harris
; $FreeBSD$ .\" -.Dd May 9, 2014 +.Dd January 11, 2016 .Dt ISMT 4 .Os .Sh NAME @@ -54,6 +54,6 @@ in the Intel Atom S1200 and C2000 CPUs. The .Nm driver first appeared in -.Fx 11.0 . +.Fx 10.3 . .Sh AUTHORS .An Jim Harris Aq Mt jimhar...@freebsd.org

svn commit: r293676 - stable/10/sys/dev/ismt

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:54:23 2016 New Revision: 293676 URL: https://svnweb.freebsd.org/changeset/base/293676 Log: MFC r293369: ismt: fix ISMT_DESC_ADDR_RW macro Modified: stable/10/sys/dev/ismt/ismt.c Modified: stable/10/sys/dev/ismt/ismt.c =

svn commit: r293675 - in stable/10: share/man/man4 sys/conf sys/dev/ismt sys/modules/i2c/controllers sys/modules/i2c/controllers/ismt

2016-01-11 Thread Jim Harris
S INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, +.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGES. +.\&quo

svn commit: r293673 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:33:51 2016 New Revision: 293673 URL: https://svnweb.freebsd.org/changeset/base/293673 Log: MFC r293354: nvme: replace NVME_CEILING macro with howmany() Modified: stable/10/sys/dev/nvme/nvme_ctrlr.c Modified: stable/10/sys/dev/nvme/nvme_ctrlr.c ===

svn commit: r293672 - in stable/10: share/man/man4 sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:32:56 2016 New Revision: 293672 URL: https://svnweb.freebsd.org/changeset/base/293672 Log: MFC r293352: nvme: add hw.nvme.min_cpus_per_ioq tunable Due to FreeBSD system-wide limits on number of MSI-X vectors (https://bugs.freebsd.org/bugzil

svn commit: r293671 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:31:18 2016 New Revision: 293671 URL: https://svnweb.freebsd.org/changeset/base/293671 Log: MFC r293328: nvme: do not revert to single I/O queue when per-CPU queues not available Previously nvme(4) would revert to a single I/O queue if it could

svn commit: r293670 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:29:42 2016 New Revision: 293670 URL: https://svnweb.freebsd.org/changeset/base/293670 Log: MFC r293327: nvme: break out interrupt setup code into a separate function Modified: stable/10/sys/dev/nvme/nvme_ctrlr.c Modified: stable/10/sys/dev/nvme/nv

svn commit: r293669 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:28:47 2016 New Revision: 293669 URL: https://svnweb.freebsd.org/changeset/base/293669 Log: MFC r293326: nvme: do not pre-allocate MSI-X IRQ resources The issue referenced here was resolved by other changes in recent commits, so this code is

svn commit: r293668 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:27:20 2016 New Revision: 293668 URL: https://svnweb.freebsd.org/changeset/base/293668 Log: MFC r293325: nvme: remove per_cpu_io_queues from struct nvme_controller Instead just use num_io_queues to make this determination. This prepares f

svn commit: r293667 - stable/10/sys/dev/nvme

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:26:06 2016 New Revision: 293667 URL: https://svnweb.freebsd.org/changeset/base/293667 Log: MFC r293324: nvme: simplify some of the nested ifs in interrupt setup code This prepares for some follow-up commits which do more work in this area.

svn commit: r293666 - stable/10/sys/dev/nvd

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:24:18 2016 New Revision: 293666 URL: https://svnweb.freebsd.org/changeset/base/293666 Log: MFC r293323: nvd: submit bios directly when BIO_ORDERED not set or in flight This significantly improves parallelism in the most common case. The tas

svn commit: r293665 - stable/10/sys/dev/nvd

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:22:57 2016 New Revision: 293665 URL: https://svnweb.freebsd.org/changeset/base/293665 Log: MFC r293322: nvd: break out submission logic into separate function This enables a future patch using this same logic to submit I/O directly bypassin

svn commit: r293664 - stable/10/sys/dev/nvd

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:21:38 2016 New Revision: 293664 URL: https://svnweb.freebsd.org/changeset/base/293664 Log: MFC r293321: nvd: skip BIO_ORDERED logic when bio fails submission This ensures the bio flags are not read after biodone(). The ordering will still b

svn commit: r293663 - stable/10/sys/dev/nvd

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:20:30 2016 New Revision: 293663 URL: https://svnweb.freebsd.org/changeset/base/293663 Log: MFC r293320: nvd: do not wait for previous bios before submitting ordered bio Still wait until all in-flight bios (including the ordered bio) complet

svn commit: r293662 - stable/10/sys/dev/nvd

2016-01-11 Thread Jim Harris
Author: jimharris Date: Mon Jan 11 17:19:11 2016 New Revision: 293662 URL: https://svnweb.freebsd.org/changeset/base/293662 Log: MFC r293319: nvd: set DISKFLAG_DIRECT_COMPLETION Modified: stable/10/sys/dev/nvd/nvd.c Modified: stable/10/sys/dev/nvd/nvd.c ===

svn commit: r293369 - head/sys/dev/ismt

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 21:16:44 2016 New Revision: 293369 URL: https://svnweb.freebsd.org/changeset/base/293369 Log: ismt: fix ISMT_DESC_ADDR_RW macro Submitted by: Masanobu SAITOH MFC after:3 days Modified: head/sys/dev/ismt/ismt.c Modified: head/sys/dev/ismt/ismt.c

svn commit: r293354 - head/sys/dev/nvme

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 20:35:26 2016 New Revision: 293354 URL: https://svnweb.freebsd.org/changeset/base/293354 Log: nvme: replace NVME_CEILING macro with howmany() Suggested by: rpokala MFC after:3 days Modified: head/sys/dev/nvme/nvme_ctrlr.c Modified: head/sys/dev/n

svn commit: r293352 - in head: share/man/man4 sys/dev/nvme

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 20:32:04 2016 New Revision: 293352 URL: https://svnweb.freebsd.org/changeset/base/293352 Log: nvme: add hw.nvme.min_cpus_per_ioq tunable Due to FreeBSD system-wide limits on number of MSI-X vectors (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=19932

Re: svn commit: r293328 - head/sys/dev/nvme

2016-01-07 Thread Jim Harris
On Thu, Jan 7, 2016 at 9:27 AM, Ravi Pokala wrote: > -Original Message- > > > From: on behalf of Jim Harris > > Date: 2016-01-07, Thursday at 08:18 > To: , , < > svn-src-h...@freebsd.org> > Subject: svn commit: r293328 - head/sys/dev/nvme > > &g

svn commit: r293324 - head/sys/dev/nvme

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:08:04 2016 New Revision: 293324 URL: https://svnweb.freebsd.org/changeset/base/293324 Log: nvme: simplify some of the nested ifs in interrupt setup code This prepares for some follow-up commits which do more work in this area. MFC after:3 day

svn commit: r293327 - head/sys/dev/nvme

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:12:42 2016 New Revision: 293327 URL: https://svnweb.freebsd.org/changeset/base/293327 Log: nvme: break out interrupt setup code into a separate function MFC after:3 days Sponsored by: Intel Modified: head/sys/dev/nvme/nvme_ctrlr.c Modified: he

svn commit: r293322 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:59:51 2016 New Revision: 293322 URL: https://svnweb.freebsd.org/changeset/base/293322 Log: nvd: break out submission logic into separate function This enables a future patch using this same logic to submit I/O directly bypassing the taskqueue. MF

svn commit: r293321 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:58:44 2016 New Revision: 293321 URL: https://svnweb.freebsd.org/changeset/base/293321 Log: nvd: skip BIO_ORDERED logic when bio fails submission This ensures the bio flags are not read after biodone(). The ordering will still be enforced, after the bi

svn commit: r293320 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:57:17 2016 New Revision: 293320 URL: https://svnweb.freebsd.org/changeset/base/293320 Log: nvd: do not wait for previous bios before submitting ordered bio Still wait until all in-flight bios (including the ordered bio) complete before processing more

svn commit: r291214 - in stable/10/sys/dev: nvd nvme

2015-11-23 Thread Jim Harris
Author: jimharris Date: Mon Nov 23 17:27:29 2015 New Revision: 291214 URL: https://svnweb.freebsd.org/changeset/base/291214 Log: MFC r290199: nvd, nvme: report stripesize through GEOM disk layer Sponsored by: Intel Modified: stable/10/sys/dev/nvd/nvd.c stable/10/sys/dev/nvme/nvm

svn commit: r291213 - stable/10/sys/dev/nvme

2015-11-23 Thread Jim Harris
Author: jimharris Date: Mon Nov 23 17:26:20 2015 New Revision: 291213 URL: https://svnweb.freebsd.org/changeset/base/291213 Log: MFC r290198: nvme: fix race condition in split bio completion path Sponsored by: Intel Modified: stable/10/sys/dev/nvme/nvme_ns.c Modified: stable/10/s

svn commit: r290455 - head

2015-11-06 Thread Jim Harris
Author: jimharris Date: Fri Nov 6 16:54:17 2015 New Revision: 290455 URL: https://svnweb.freebsd.org/changeset/base/290455 Log: I am still maintaining iscsi, nvme, nvd and nvmecontrol. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r290199 - in head/sys/dev: nvd nvme

2015-10-30 Thread Jim Harris
Author: jimharris Date: Fri Oct 30 16:35:18 2015 New Revision: 290199 URL: https://svnweb.freebsd.org/changeset/base/290199 Log: nvd, nvme: report stripesize through GEOM disk layer MFC after:3 days Sponsored by: Intel Modified: head/sys/dev/nvd/nvd.c head/sys/dev/nvme/nvme.h h

svn commit: r290198 - head/sys/dev/nvme

2015-10-30 Thread Jim Harris
Author: jimharris Date: Fri Oct 30 16:06:34 2015 New Revision: 290198 URL: https://svnweb.freebsd.org/changeset/base/290198 Log: nvme: fix race condition in split bio completion path Fixes race condition observed under following circumstances: 1) I/O split on 128KB boundary with Intel

svn commit: r287678 - stable/10/sys/dev/isci

2015-09-11 Thread Jim Harris
Author: jimharris Date: Fri Sep 11 17:06:57 2015 New Revision: 287678 URL: https://svnweb.freebsd.org/changeset/base/287678 Log: MFC r287564: isci: check return value of pci_alloc_msix() Certain VM guest types (VMware, Xen) do not support MSI, so pci_alloc_msix() always fails.

svn commit: r287677 - stable/10/sys/dev/isci

2015-09-11 Thread Jim Harris
Author: jimharris Date: Fri Sep 11 17:01:01 2015 New Revision: 287677 URL: https://svnweb.freebsd.org/changeset/base/287677 Log: MFC r287563: isci: explicitly enable/disable PCI busmaster BIOS always enables PCI busmaster on the isci device, which effectively worked around this

svn commit: r287676 - stable/10/sys/dev/nvme

2015-09-11 Thread Jim Harris
Author: jimharris Date: Fri Sep 11 16:59:04 2015 New Revision: 287676 URL: https://svnweb.freebsd.org/changeset/base/287676 Log: MFC r286043: nvme: do not notify a consumer about failures that occur during initialization Sponsored by: Intel Modified: stable/10/sys/dev/nvme/nvme.c

svn commit: r287564 - head/sys/dev/isci

2015-09-08 Thread Jim Harris
Author: jimharris Date: Tue Sep 8 16:05:18 2015 New Revision: 287564 URL: https://svnweb.freebsd.org/changeset/base/287564 Log: isci: check return value of pci_alloc_msix() Certain VM guest types (VMware, Xen) do not support MSI, so pci_alloc_msix() always fails. isci(4) was not properl

svn commit: r287563 - head/sys/dev/isci

2015-09-08 Thread Jim Harris
Author: jimharris Date: Tue Sep 8 15:59:55 2015 New Revision: 287563 URL: https://svnweb.freebsd.org/changeset/base/287563 Log: isci: explicitly enable/disable PCI busmaster BIOS always enables PCI busmaster on the isci device, which effectively worked around this omission. But when pas

Re: svn commit: r287117 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/ioat sys/modules sys/modules/ioat tools/tools/ioat

2015-08-24 Thread Jim Harris
On Mon, Aug 24, 2015 at 12:32 PM, Conrad E. Meyer wrote: > Author: cem > Date: Mon Aug 24 19:32:03 2015 > New Revision: 287117 > URL: https://svnweb.freebsd.org/changeset/base/287117 > > Log: > Import ioat(4) driver > > I/OAT is also referred to as Crystal Beach DMA and is a Platform Storage

svn commit: r286043 - head/sys/dev/nvme

2015-07-29 Thread Jim Harris
Author: jimharris Date: Wed Jul 29 21:29:50 2015 New Revision: 286043 URL: https://svnweb.freebsd.org/changeset/base/286043 Log: nvme: do not notify a consumer about failures that occur during initialization MFC after:3 days Sponsored by: Intel Modified: head/sys/dev/nvme/nvme.c M

svn commit: r285922 - releng/10.2/sys/dev/nvme

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 17:53:11 2015 New Revision: 285922 URL: https://svnweb.freebsd.org/changeset/base/285922 Log: MFS r285918: MFC r285816: nvme: ensure csts.rdy bit is cleared before returning from nvme_ctrlr_disable Approved by: re (gjb) Sponsored by: Intel Mo

svn commit: r285921 - releng/10.2/sys/dev/nvme

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 17:52:17 2015 New Revision: 285921 URL: https://svnweb.freebsd.org/changeset/base/285921 Log: MFS r285917: MFC r285815: nvme: properly handle case where pci_alloc_msix does not alloc all vectors Approved by: re (gjb) Sponsored by: Intel Modifi

svn commit: r285920 - releng/10.2/sbin/nvmecontrol

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 17:51:12 2015 New Revision: 285920 URL: https://svnweb.freebsd.org/changeset/base/285920 Log: MFS r285916: MFC r285796: nvmecontrol: read controller identify data before any log page operations Approved by: re (gjb) Sponsored by: Intel Modifie

svn commit: r285919 - releng/10.2/sys/dev/nvd

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 17:50:05 2015 New Revision: 285919 URL: https://svnweb.freebsd.org/changeset/base/285919 Log: MFS r285915: MFC r285767: nvd: set d_delmaxsize to full capacity of NVMe namespace The NVMe specification has no ability to specify a maximum delete si

svn commit: r285918 - stable/10/sys/dev/nvme

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 15:37:02 2015 New Revision: 285918 URL: https://svnweb.freebsd.org/changeset/base/285918 Log: MFC r285816: nvme: ensure csts.rdy bit is cleared before returning from nvme_ctrlr_disable Sponsored by: Intel Modified: stable/10/sys/dev/nvme/nvme_ct

svn commit: r285916 - stable/10/sbin/nvmecontrol

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 15:34:02 2015 New Revision: 285916 URL: https://svnweb.freebsd.org/changeset/base/285916 Log: MFC r285796: nvmecontrol: read controller identify data before any log page operations Sponsored by: Intel Modified: stable/10/sbin/nvmecontrol/logpage.

svn commit: r285917 - stable/10/sys/dev/nvme

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 15:35:36 2015 New Revision: 285917 URL: https://svnweb.freebsd.org/changeset/base/285917 Log: MFC r285815: nvme: properly handle case where pci_alloc_msix does not alloc all vectors Sponsored by: Intel Modified: stable/10/sys/dev/nvme/nvme_ctrlr.

svn commit: r285915 - stable/10/sys/dev/nvd

2015-07-27 Thread Jim Harris
Author: jimharris Date: Mon Jul 27 15:32:37 2015 New Revision: 285915 URL: https://svnweb.freebsd.org/changeset/base/285915 Log: MFC r285767: nvd: set d_delmaxsize to full capacity of NVMe namespace The NVMe specification has no ability to specify a maximum delete size that is

svn commit: r285816 - head/sys/dev/nvme

2015-07-23 Thread Jim Harris
Author: jimharris Date: Thu Jul 23 15:50:39 2015 New Revision: 285816 URL: https://svnweb.freebsd.org/changeset/base/285816 Log: nvme: ensure csts.rdy bit is cleared before returning from nvme_ctrlr_disable PR: 200458 MFC after:3 days Sponsored by: Intel Modified: head/

svn commit: r285815 - head/sys/dev/nvme

2015-07-23 Thread Jim Harris
Author: jimharris Date: Thu Jul 23 15:35:08 2015 New Revision: 285815 URL: https://svnweb.freebsd.org/changeset/base/285815 Log: nvme: properly handle case where pci_alloc_msix does not alloc all vectors Reported by: Sean Kelly MFC after:3 days Sponsored by: Intel Modified: head

svn commit: r285796 - head/sbin/nvmecontrol

2015-07-22 Thread Jim Harris
Author: jimharris Date: Wed Jul 22 16:10:29 2015 New Revision: 285796 URL: https://svnweb.freebsd.org/changeset/base/285796 Log: nvmecontrol: read controller identify data before any log page operations MFC after:3 days Sponsored by: Intel Modified: head/sbin/nvmecontrol/logpage.c

svn commit: r285767 - head/sys/dev/nvd

2015-07-21 Thread Jim Harris
Author: jimharris Date: Tue Jul 21 20:53:21 2015 New Revision: 285767 URL: https://svnweb.freebsd.org/changeset/base/285767 Log: nvd: set d_delmaxsize to full capacity of NVMe namespace The NVMe specification has no ability to specify a maximum delete size that is less than the full capac

svn commit: r283076 - in stable/10/sys: amd64/conf i386/conf

2015-05-18 Thread Jim Harris
Author: jimharris Date: Mon May 18 19:48:41 2015 New Revision: 283076 URL: https://svnweb.freebsd.org/changeset/base/283076 Log: MFC r282921: Add nvme and nvd drivers to GENERIC for amd64 and i386. Sponsored by: Intel Modified: stable/10/sys/amd64/conf/GENERIC stable/10/sys/i386

svn commit: r282926 - stable/10/sys/dev/nvme

2015-05-14 Thread Jim Harris
Author: jimharris Date: Thu May 14 21:30:36 2015 New Revision: 282926 URL: https://svnweb.freebsd.org/changeset/base/282926 Log: MFC r281283: nvme: remove CHATHAM related code Chatham was an internal NVMe prototype board used for early driver development. Sponsored by: Int

svn commit: r282925 - stable/10/sys/dev/nvme

2015-05-14 Thread Jim Harris
Author: jimharris Date: Thu May 14 21:29:42 2015 New Revision: 282925 URL: https://svnweb.freebsd.org/changeset/base/282925 Log: MFC r281282: nvme: add device strings for Intel DC series NVMe SSDs Sponsored by: Intel Modified: stable/10/sys/dev/nvme/nvme.c Directory Properties:

svn commit: r282924 - stable/10/sys/dev/nvme

2015-05-14 Thread Jim Harris
Author: jimharris Date: Thu May 14 21:28:46 2015 New Revision: 282924 URL: https://svnweb.freebsd.org/changeset/base/282924 Log: MFC r281281, r281285: nvme: create separate DMA tag for non-payload DMA buffers Submission and completion queue memory need to use a separate DMA tag

svn commit: r282923 - stable/10/sys/dev/nvme

2015-05-14 Thread Jim Harris
Author: jimharris Date: Thu May 14 21:27:31 2015 New Revision: 282923 URL: https://svnweb.freebsd.org/changeset/base/282923 Log: MFC r281280: nvme: fall back to a smaller MSI-X vector allocation if necessary Previously, if per-CPU MSI-X vectors could not be allocated, nvme(4) w

svn commit: r282921 - in head/sys: amd64/conf i386/conf

2015-05-14 Thread Jim Harris
Author: jimharris Date: Thu May 14 20:19:22 2015 New Revision: 282921 URL: https://svnweb.freebsd.org/changeset/base/282921 Log: Add nvme and nvd drivers to GENERIC for amd64 and i386. MFC after:3 days Sponsored by: Intel Modified: head/sys/amd64/conf/GENERIC head/sys/i386/conf/G

svn commit: r281285 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
Author: jimharris Date: Thu Apr 9 00:37:55 2015 New Revision: 281285 URL: https://svnweb.freebsd.org/changeset/base/281285 Log: nvme: use BUS_SPACE_MAXSIZE for bus_dma_tag_create maxsize parameter This fixes i386 PAE build fallout from r281281. Reported by: bz MFC after:1 week

Re: svn commit: r281280 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
On Wed, Apr 8, 2015 at 3:21 PM, Alexander Kabaev wrote: > On Wed, 8 Apr 2015 21:46:19 + (UTC) > Jim Harris wrote: > > > Author: jimharris > > Date: Wed Apr 8 21:46:18 2015 > > New Revision: 281280 > > URL: https://svnweb.freebsd.org/changeset/base/281280 &

svn commit: r281283 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
Author: jimharris Date: Wed Apr 8 21:52:06 2015 New Revision: 281283 URL: https://svnweb.freebsd.org/changeset/base/281283 Log: nvme: remove CHATHAM related code Chatham was an internal NVMe prototype board used for early driver development. MFC after:1 week Sponsored by: Inte

svn commit: r281282 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
Author: jimharris Date: Wed Apr 8 21:50:45 2015 New Revision: 281282 URL: https://svnweb.freebsd.org/changeset/base/281282 Log: nvme: add device strings for Intel DC series NVMe SSDs MFC after:1 week Sponsored by: Intel Modified: head/sys/dev/nvme/nvme.c Modified: head/sys/dev/nv

svn commit: r281281 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
Author: jimharris Date: Wed Apr 8 21:49:45 2015 New Revision: 281281 URL: https://svnweb.freebsd.org/changeset/base/281281 Log: nvme: create separate DMA tag for non-payload DMA buffers Submission and completion queue memory need to use a separate DMA tag for mappings than payload buffer

svn commit: r281280 - head/sys/dev/nvme

2015-04-08 Thread Jim Harris
Author: jimharris Date: Wed Apr 8 21:46:18 2015 New Revision: 281280 URL: https://svnweb.freebsd.org/changeset/base/281280 Log: nvme: fall back to a smaller MSI-X vector allocation if necessary Previously, if per-CPU MSI-X vectors could not be allocated, nvme(4) would fall back to INTx w

svn commit: r273394 - head/sys/dev/ixl

2014-10-21 Thread Jim Harris
Author: jimharris Date: Tue Oct 21 18:00:56 2014 New Revision: 273394 URL: https://svnweb.freebsd.org/changeset/base/273394 Log: ixl: remove i40e_register_x710_int.h This file is not used by the FreeBSD ixl driver. Submitted by: Eric Joyner MFC after:3 days Deleted: head/sys/

svn commit: r267620 - stable/10/sys/dev/nvme

2014-06-18 Thread Jim Harris
Author: jimharris Date: Wed Jun 18 19:32:38 2014 New Revision: 267620 URL: http://svnweb.freebsd.org/changeset/base/267620 Log: MFC r267342: Use bitwise OR instead of logical OR when constructing value for SET_FEATURES/NUMBER_OF_QUEUES command. Sponsored by: Intel Modified: st

svn commit: r267619 - stable/9/sys/dev/nvme

2014-06-18 Thread Jim Harris
Author: jimharris Date: Wed Jun 18 19:28:55 2014 New Revision: 267619 URL: http://svnweb.freebsd.org/changeset/base/267619 Log: MFC r267342: Use bitwise OR instead of logical OR when constructing value for SET_FEATURES/NUMBER_OF_QUEUES command. Sponsored by: Intel Approved by:

svn commit: r267342 - head/sys/dev/nvme

2014-06-10 Thread Jim Harris
Author: jimharris Date: Tue Jun 10 21:40:43 2014 New Revision: 267342 URL: http://svnweb.freebsd.org/changeset/base/267342 Log: Use bitwise OR instead of logical OR when constructing value for SET_FEATURES/NUMBER_OF_QUEUES command. Sponsored by: Intel MFC after:3 days Modified: h

svn commit: r266474 - in head: share/man/man4 sys/conf sys/dev/ismt sys/modules/i2c/controllers sys/modules/i2c/controllers/ismt

2014-05-20 Thread Jim Harris
WHETHER IN CONTRACT, +.\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGES. +.\" +.\" ismt driver man page. +.\" +.\" Author: Jim Harris +.\&

svn commit: r265577 - stable/10/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 17:20:15 2014 New Revision: 265577 URL: http://svnweb.freebsd.org/changeset/base/265577 Log: MFC r263311: nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. Modified: stable/10/sys/dev/nvme/nvme_ctrlr.c stable/1

svn commit: r265576 - stable/10/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 17:18:51 2014 New Revision: 265576 URL: http://svnweb.freebsd.org/changeset/base/265576 Log: MFC r263310: nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. Modified: stable/10/sys/dev/nvme/nvme

svn commit: r265575 - stable/10/share/man/man4

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 17:17:16 2014 New Revision: 265575 URL: http://svnweb.freebsd.org/changeset/base/265575 Log: MFC r263303: Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. Modified: stable/10/share/man/man4/nvd.4

svn commit: r265573 - stable/10/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 17:02:15 2014 New Revision: 265573 URL: http://svnweb.freebsd.org/changeset/base/265573 Log: MFC r263278: nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). Modified: stable/10/sys/dev/nvme/nvme_qpair.c Directory Properties: stable/

svn commit: r265572 - stable/10/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 17:00:39 2014 New Revision: 265572 URL: http://svnweb.freebsd.org/changeset/base/265572 Log: MFC r263277: nvme: Remove the software progress marker SET_FEATURE command during controller initialization. The spec says OS drivers should send this comma

svn commit: r265571 - stable/10/sys/dev/isci/scil

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:57:33 2014 New Revision: 265571 URL: http://svnweb.freebsd.org/changeset/base/265571 Log: MFC r263276: Base the max number of SG elements on MAXPHYS. Modified: stable/10/sys/dev/isci/scil/sati_util.h stable/10/sys/dev/isci/scil/sci_controller_const

svn commit: r265570 - stable/10/sys/dev/isci/scil

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:56:20 2014 New Revision: 265570 URL: http://svnweb.freebsd.org/changeset/base/265570 Log: MFC r263275: isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set translate their response. Modified: stable/10/sys/dev/isci/scil/sati_passthrou

svn commit: r265569 - stable/10/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:55:08 2014 New Revision: 265569 URL: http://svnweb.freebsd.org/changeset/base/265569 Log: MFC r260382: For IDENTIFY passthrough commands to Chatham prototype controllers, copy the spoofed identify data into the user buffer rather than issuing the co

svn commit: r265568 - stable/10/sbin/nvmecontrol

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:53:42 2014 New Revision: 265568 URL: http://svnweb.freebsd.org/changeset/base/265568 Log: MFC r260381: For "nvmecontrol devlist", show namespace sizes in terms of MB instead of GB to improve granularity of the reporting - especially for namespaces t

svn commit: r265567 - stable/10/sbin/nvmecontrol

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:52:29 2014 New Revision: 265567 URL: http://svnweb.freebsd.org/changeset/base/265567 Log: MFC r258071: Check for special status code from FIRMWARE_ACTIVATE command signifying that a reboot is required to complete activation of the requested firmware

svn commit: r265566 - stable/9/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:48:43 2014 New Revision: 265566 URL: http://svnweb.freebsd.org/changeset/base/265566 Log: MFC r263311: nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. Modified: stable/9/sys/dev/nvme/nvme_ctrlr.c stable/9/

svn commit: r265565 - stable/9/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:47:58 2014 New Revision: 265565 URL: http://svnweb.freebsd.org/changeset/base/265565 Log: MFC r263310: nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. Modified: stable/9/sys/dev/nvme/nvme.

svn commit: r265564 - stable/9/share/man/man4

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:46:56 2014 New Revision: 265564 URL: http://svnweb.freebsd.org/changeset/base/265564 Log: MFC r263303: Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. Modified: stable/9/share/man/man4/nvd.4 s

svn commit: r265562 - stable/9/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:45:05 2014 New Revision: 265562 URL: http://svnweb.freebsd.org/changeset/base/265562 Log: MFC r263277: nvme: Remove the software progress marker SET_FEATURE command during controller initialization. The spec says OS drivers should send this comma

svn commit: r265563 - stable/9/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:45:50 2014 New Revision: 265563 URL: http://svnweb.freebsd.org/changeset/base/265563 Log: MFC r263278: nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). Modified: stable/9/sys/dev/nvme/nvme_qpair.c Directory Properties: stable/9

svn commit: r265561 - stable/9/sys/dev/isci/scil

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:44:02 2014 New Revision: 265561 URL: http://svnweb.freebsd.org/changeset/base/265561 Log: MFC r263276: Base the max number of SG elements on MAXPHYS. Modified: stable/9/sys/dev/isci/scil/sati_util.h stable/9/sys/dev/isci/scil/sci_controller_constan

svn commit: r265560 - stable/9/sys/dev/isci/scil

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:43:10 2014 New Revision: 265560 URL: http://svnweb.freebsd.org/changeset/base/265560 Log: MFC r263275: isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set translate their response. Modified: stable/9/sys/dev/isci/scil/sati_passthroug

svn commit: r265559 - stable/9/sys/dev/nvme

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:42:19 2014 New Revision: 265559 URL: http://svnweb.freebsd.org/changeset/base/265559 Log: MFC r260382: For IDENTIFY passthrough commands to Chatham prototype controllers, copy the spoofed identify data into the user buffer rather than issuing the co

svn commit: r265558 - stable/9/sbin/nvmecontrol

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:40:44 2014 New Revision: 265558 URL: http://svnweb.freebsd.org/changeset/base/265558 Log: MFC r260381: For "nvmecontrol devlist", show namespace sizes in terms of MB instead of GB to improve granularity of the reporting - especially for namespaces t

svn commit: r265557 - stable/9/sbin/nvmecontrol

2014-05-07 Thread Jim Harris
Author: jimharris Date: Wed May 7 16:37:04 2014 New Revision: 265557 URL: http://svnweb.freebsd.org/changeset/base/265557 Log: MFC r258071: Check for special status code from FIRMWARE_ACTIVATE command signifying that a reboot is required to complete activation of the requested firmware

svn commit: r263311 - head/sys/dev/nvme

2014-03-18 Thread Jim Harris
Author: jimharris Date: Tue Mar 18 18:10:35 2014 New Revision: 263311 URL: http://svnweb.freebsd.org/changeset/base/263311 Log: nvme: Allocate all MSI resources up front so that we can fall back to INTx if necessary. Sponsored by: Intel MFC after:3 days Modified: head/sys/dev/nvm

svn commit: r263310 - head/sys/dev/nvme

2014-03-18 Thread Jim Harris
Author: jimharris Date: Tue Mar 18 18:09:08 2014 New Revision: 263310 URL: http://svnweb.freebsd.org/changeset/base/263310 Log: nvme: Close hole where nvd(4) would not be notified of all nvme(4) instances if modules loaded during boot. Sponsored by: Intel MFC after:3 days Modified:

svn commit: r263303 - head/share/man/man4

2014-03-18 Thread Jim Harris
Author: jimharris Date: Tue Mar 18 15:43:42 2014 New Revision: 263303 URL: http://svnweb.freebsd.org/changeset/base/263303 Log: Update nvme(4) and nvd(4) man pages to clarify the differences between their respective device nodes. Sponsored by: Intel MFC after:3 days Modified: hea

svn commit: r263278 - head/sys/dev/nvme

2014-03-17 Thread Jim Harris
Author: jimharris Date: Mon Mar 17 22:37:17 2014 New Revision: 263278 URL: http://svnweb.freebsd.org/changeset/base/263278 Log: nvme: NVMe specification dictates 4-byte alignment for PRPs (not 8). Sponsored by: Intel MFC after:3 days Modified: head/sys/dev/nvme/nvme_qpair.c Modif

  1   2   3   4   5   >