summaryrefslogtreecommitdiff
path: root/sys/dev/ic/nvme.c
AgeCommit message (Expand)Author
2022-11-25nvme can do 64bit dma.David Gwynne
2022-07-10Remove trailing whitespace. No code change.Mike Larkin
2022-04-16constify SCSI adapter entry pointsChristian Weisgerber
2021-08-31sprinkle barriers and dmamem_syncs around the hibernate io path.David Gwynne
2021-08-29Reduce the number of openings for aplns(4) to 1. This isn't correct butMark Kettenis
2021-07-08fix the hibernate io path.David Gwynne
2021-06-02Correctly calculate number of PRPL entries we have to sync by addingPatrick Wildt
2021-05-31make nvme_read8 and write8 less clever.David Gwynne
2021-05-31try to get rid of a weird comma on the alpns attach line.David Gwynne
2021-05-29Only allocate the "hibernate" queue when HIBERNATE support is being built.Mark Kettenis
2021-05-28provide nvme_ops for vanilla pci nvme, and use them in the right places.David Gwynne
2021-05-28move the nvme_dmamem prototypes so bus glue can use them.David Gwynne
2021-05-28move nvme_barrier to nvmevar.h, just to keep it with the other reg ops.David Gwynne
2021-05-28let nvme_read8 and nvme_write8 get used by bus glue too.David Gwynne
2021-05-28move the nvme_read4 and nvme_write4 macros to the header.David Gwynne
2021-02-25Prevent zero size devices from attachingjan
2021-02-09Add a barrier between reading the cqe flags and the command ID, whichJonathan Matthew
2020-10-15Replace simple one-line bcopy()/memcpy() of faked data into scsi_xfer with callKenneth R Westerback
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-09-05Replace '32' with SID_SCSI2_ALEN (a.k.a. 31) when building emulated INQUIRYKenneth R Westerback
2020-09-03Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.Kenneth R Westerback
2020-09-02When building emulated INQUIRY results use the SCSI_REV_* #define's toKenneth R Westerback
2020-09-01Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big toKenneth R Westerback
2020-07-20Move remaining scsi bus initialization info from "prototype scsi link"Kenneth R Westerback
2020-07-19Move the adapter related items (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Access adapter softc via link->bus->sb_adapter_softc.Kenneth R Westerback
2020-07-12False alarm, back it goes. Managed to mangle my kernel build directoryKenneth R Westerback
2020-07-11Revert previous. Broke something somehow.Kenneth R Westerback
2020-07-11Garbage collect unused nvme_softc member "sc_scsibus".Kenneth R Westerback
2020-06-29Don't create sd(4) devices for nvme(4) namespaces that areKenneth R Westerback
2020-06-27No need to bzero()/memset() 'struct scsibus_attach_args' variablesKenneth R Westerback
2020-03-15sparc64 issue being identified and removed, reapply r1.73:Kenneth R Westerback
2020-03-15Revert nvme back to last working commit for sparc64.kmos
2020-03-13Bump nvme(4) max physio() i/o size to 128K.Kenneth R Westerback
2020-03-10Coverity points out (12 + MAXMPS) can never be less thanKenneth R Westerback
2020-03-10sgl (scatter gather list) and prpl (physical region page list) are twoKenneth R Westerback
2020-03-02Shuffle logic a bit to make sizes/limits more obvious.Kenneth R Westerback
2020-03-01Use ffs() on sc_mps, removing need for sc_mps_bits. Replace ffs(64)-1Kenneth R Westerback
2020-02-28nvme_enable() doesn't need parameters for both sc and sc->sc_mps_bits.Kenneth R Westerback
2020-02-27Trailing whitespace.Kenneth R Westerback
2020-02-15Don't touch the phase bit at nvme_poll_done(). This makes dumpsys()YASUOKA Masahiko
2020-02-05Nuke unnecessary abstraction 'scsi_minphys()' which just callsKenneth R Westerback
2020-01-23Use a consistant idiom/format when declaring scsi_adapter structuresKenneth R Westerback
2019-07-27Make target numbers match the NVMe namespace identifiers. This fixes bootingMark Kettenis
2019-05-08when freeing ccbs, pass the number so we can free with the size.Ted Unangst
2018-01-10Attach nvme to additional Apple NVMe device, limit targets to 1Joshua Stein
2017-08-18Avoid a NULL dereference in an error path. Coverity CID 1453201.Jonathan Gray
2017-06-12typo; from bryan vyhmeisterTheo de Raadt
2017-05-29Add hibernate support for nvme(4). This creates a separate IO queue that isJonathan Matthew
2017-05-27nvme: Don't set prp1 for DEL_IOCQStefan Fritsch