summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-04-13nvme_q_create() issues the commands to tell the chip about io queuesDavid Gwynne
2016-04-13stub out handling of TEST_UNIT_READY, PREVENT_ALLOW, and START_STOPDavid Gwynne
at the moment this just pretends the commands completed fine.
2016-04-13implement handling of scsi read capacity commandsDavid Gwynne
read cap 16 claims the devices are thin.
2016-04-13implement basic scsi inquiry handlingDavid Gwynne
most values are as per the nvm to scsi mapping guide. this doesnt do vpd at all, so no devids or serial numbers just yet.
2016-04-13provide variants of the sqe struct for q creation and io operationsDavid Gwynne
2016-04-13implement the guts of the scsi probe and free functionDavid Gwynne
probe issues a namespace identify against the "target". if it works it stashes a copy of the info, otherwise it tells the midlayer to avoid it. free gets rid of the stashed info.
2016-04-13implement the namespace identify structureDavid Gwynne
2016-04-13the io command setDavid Gwynne
2016-04-13wire up the scsi midlayer. scsibus should appear after this.David Gwynne
2016-04-13allocate an array of things to hold info about namespacesDavid Gwynne
so far the only useful info is namespace identify info
2016-04-13stash the controller identify and number of namespaces in the softc.David Gwynne
the nn is used to size the scsi bus, and the controller identify is used to build responses for various scsi commands.
2016-04-13make a place for q_id to goDavid Gwynne
2016-04-13provide an scsi_adapter and stub functions for emulation to sit inDavid Gwynne
2016-04-13nvme_sqe_fill will post a copy of an sqe from a callerDavid Gwynne
2016-04-13poll for command completion on the cqe itll be of calling nvme_intrDavid Gwynne
2016-04-13make nvme_poll return the flags from the completion queue entryDavid Gwynne
it's still 0 on success, but is the actual bits rather than a mashup of it
2016-04-13keep track of the queue id in nvme_queue.David Gwynne
2016-04-13rename idx to id in nvme_q_allocDavid Gwynne
make it a u_int16_t like the hw while here.
2016-04-13nvme_dmamem_alloc runs in autoconf or process context, so it can sleepDavid Gwynne
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-04-13Keep all pools in the same place.Martin Pieuchot
ok jmatthew@
2016-04-13Remove extra parenthesis around comparison.Vincent Gross
Found by David Hill <dhill@mindcry.org> with clang.
2016-04-13add missing arguments to debug printfMike Larkin
2016-04-12Simplify amap traversal in amap_swap_off.Stefan Kempf
There's no need to insert marker elements to find the next item in the amap list. The next amap can be determined by looking at the currently examined amap. Care must be taken to get the next element before the current amap is possibly deleted, and after all the current amap's pages were read in from swap (because the page-in may sleep and remove items from the amap list).
2016-04-12No need to rescan chunks in each discipline to find appropriateKenneth R Westerback
volume sector size. Determine volume sector size in sr_meta_init(). Pointed out, tweaked and ok jsing@
2016-04-12Unbreak tree. Put 'laddr6' declaration inside #ifdef INET6/#endif.Kenneth R Westerback
2016-04-12Call if_enqueue() and if_start() instead of dereferencing the ifpMartin Pieuchot
pointers. These functions have been introduced to abstract some of the MP- safeness^Wmadness and should be use everywhere. Prodded by a comment from jsg@. ok mikeb@, stsp@
2016-04-12shuffle attach so we read chip capabilities before operating on itDavid Gwynne
most importantly this gets the proper timeout for chip enables/disables.
2016-04-12Call ether_fakeaddr() instead of faking Ethernet addresses manually.Martin Pieuchot
Input from and ok jsg@
2016-04-12Call debug register dump functions in error conditions (if VMM_DEBUG set)Mike Larkin
2016-04-12Remove unneeded art_free().Martin Pieuchot
Reported by and ok jmatthew@
2016-04-12Set bridge(4)'s if_output to a dummy function returning EAFNOSUPPORT asMartin Pieuchot
it should not be used to output packets but we have to respect the ifp driver API to some extend. Prevent a panic found the hardway by espie@. ok claudio@, mikeb@, jsg@, krw@
2016-04-12Only build the vcpu register dump functions if VMM_DEBUG is enabled, noMike Larkin
need for these in non-debug scenarios
2016-04-11Simplify in_pcblookup_local() logic.Vincent Gross
ok mpi@
2016-04-11Rename in_pcblookup() to in_pcblookup_local() and change its prototypeVincent Gross
to get rid of the now useless foreign address and ports parameters. ok mpi@
2016-04-11This code chunk has been disabled since its import, and what is does isVincent Gross
quite unsafe. Juste delete it. Ok mpi@
2016-04-11Search in the correct routing table if NPF is not defined.Martin Pieuchot
ok jca@, phessler@, mikeb@
2016-04-11Add functions to dump vcpu register state. Needed for some upcoming diffs.Mike Larkin
Not presently used.
2016-04-11Clarify some commentsMike Larkin
2016-04-10For now, disable ahc(4) such that GENERIC.MP kernels don't overflow the 8MMark Kettenis
reserved for .text and .rodata. Hopefully I can get rid of this limit soon. propmpted by guenther@
2016-04-10Fix layer violation in the ihidev(4) code by implementing a generic mechanismMark Kettenis
that allows the i2c controller implementation to establish interrupts on behalf of i2c slave device drivers. Use this mechanism in dwiic(4) to let it configure the right acpi interrupt (global or gpio). Change the level to IPL_TTY as this is the appropriate level to use for keyboards and other input devices. ok jsg@
2016-04-10remove an uneeded includeJonathan Gray
2016-04-10Don't try to get a board name string before attaching mainbus with theJonathan Gray
platform abstraction. The string is only displayed when attaching the soc abstractions so this is not needed. When arm mainbus becomes aware of fdt it can show the /model property itself.
2016-04-08We must always check if the socket is already bound, and always setVincent Gross
INPLOOKUP_IPV6 when applicable. Bug introduced in revision 1.197 by yours truly. Ok bluhm@
2016-04-08Fix match function so that the cortex bus only attaches if the attachPatrick Wildt
args are actually looking for the cortex bus. ok kettenis@