Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-13 | nvme_q_create() issues the commands to tell the chip about io queues | David Gwynne | |
2016-04-13 | stub out handling of TEST_UNIT_READY, PREVENT_ALLOW, and START_STOP | David Gwynne | |
at the moment this just pretends the commands completed fine. | |||
2016-04-13 | implement handling of scsi read capacity commands | David Gwynne | |
read cap 16 claims the devices are thin. | |||
2016-04-13 | implement basic scsi inquiry handling | David 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-13 | provide variants of the sqe struct for q creation and io operations | David Gwynne | |
2016-04-13 | implement the guts of the scsi probe and free function | David 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-13 | implement the namespace identify structure | David Gwynne | |
2016-04-13 | the io command set | David Gwynne | |
2016-04-13 | wire up the scsi midlayer. scsibus should appear after this. | David Gwynne | |
2016-04-13 | allocate an array of things to hold info about namespaces | David Gwynne | |
so far the only useful info is namespace identify info | |||
2016-04-13 | stash 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-13 | make a place for q_id to go | David Gwynne | |
2016-04-13 | provide an scsi_adapter and stub functions for emulation to sit in | David Gwynne | |
2016-04-13 | nvme_sqe_fill will post a copy of an sqe from a caller | David Gwynne | |
2016-04-13 | poll for command completion on the cqe itll be of calling nvme_intr | David Gwynne | |
2016-04-13 | make nvme_poll return the flags from the completion queue entry | David Gwynne | |
it's still 0 on success, but is the actual bits rather than a mashup of it | |||
2016-04-13 | keep track of the queue id in nvme_queue. | David Gwynne | |
2016-04-13 | rename idx to id in nvme_q_alloc | David Gwynne | |
make it a u_int16_t like the hw while here. | |||
2016-04-13 | nvme_dmamem_alloc runs in autoconf or process context, so it can sleep | David Gwynne | |
2016-04-13 | We're always ready! So send IFQ_SET_READY() to the bitbucket. | Martin Pieuchot | |
2016-04-13 | G/C IFQ_SET_READY(). | Martin Pieuchot | |
2016-04-13 | G/C IFQ_SET_READY(). | Martin Pieuchot | |
2016-04-13 | G/C IFQ_SET_READY(). | Martin Pieuchot | |
2016-04-13 | G/C IFQ_SET_READY(). | Martin Pieuchot | |
2016-04-13 | G/C IFQ_SET_READY(). | Martin Pieuchot | |
2016-04-13 | Keep all pools in the same place. | Martin Pieuchot | |
ok jmatthew@ | |||
2016-04-13 | Remove extra parenthesis around comparison. | Vincent Gross | |
Found by David Hill <dhill@mindcry.org> with clang. | |||
2016-04-13 | add missing arguments to debug printf | Mike Larkin | |
2016-04-12 | Simplify 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-12 | No need to rescan chunks in each discipline to find appropriate | Kenneth R Westerback | |
volume sector size. Determine volume sector size in sr_meta_init(). Pointed out, tweaked and ok jsing@ | |||
2016-04-12 | Unbreak tree. Put 'laddr6' declaration inside #ifdef INET6/#endif. | Kenneth R Westerback | |
2016-04-12 | Call if_enqueue() and if_start() instead of dereferencing the ifp | Martin 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-12 | shuffle attach so we read chip capabilities before operating on it | David Gwynne | |
most importantly this gets the proper timeout for chip enables/disables. | |||
2016-04-12 | Call ether_fakeaddr() instead of faking Ethernet addresses manually. | Martin Pieuchot | |
Input from and ok jsg@ | |||
2016-04-12 | Call debug register dump functions in error conditions (if VMM_DEBUG set) | Mike Larkin | |
2016-04-12 | Remove unneeded art_free(). | Martin Pieuchot | |
Reported by and ok jmatthew@ | |||
2016-04-12 | Set bridge(4)'s if_output to a dummy function returning EAFNOSUPPORT as | Martin 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-12 | Only build the vcpu register dump functions if VMM_DEBUG is enabled, no | Mike Larkin | |
need for these in non-debug scenarios | |||
2016-04-11 | Simplify in_pcblookup_local() logic. | Vincent Gross | |
ok mpi@ | |||
2016-04-11 | Rename in_pcblookup() to in_pcblookup_local() and change its prototype | Vincent Gross | |
to get rid of the now useless foreign address and ports parameters. ok mpi@ | |||
2016-04-11 | This code chunk has been disabled since its import, and what is does is | Vincent Gross | |
quite unsafe. Juste delete it. Ok mpi@ | |||
2016-04-11 | Search in the correct routing table if NPF is not defined. | Martin Pieuchot | |
ok jca@, phessler@, mikeb@ | |||
2016-04-11 | Add functions to dump vcpu register state. Needed for some upcoming diffs. | Mike Larkin | |
Not presently used. | |||
2016-04-11 | Clarify some comments | Mike Larkin | |
2016-04-10 | For now, disable ahc(4) such that GENERIC.MP kernels don't overflow the 8M | Mark Kettenis | |
reserved for .text and .rodata. Hopefully I can get rid of this limit soon. propmpted by guenther@ | |||
2016-04-10 | Fix layer violation in the ihidev(4) code by implementing a generic mechanism | Mark 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-10 | remove an uneeded include | Jonathan Gray | |
2016-04-10 | Don't try to get a board name string before attaching mainbus with the | Jonathan 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-08 | We must always check if the socket is already bound, and always set | Vincent Gross | |
INPLOOKUP_IPV6 when applicable. Bug introduced in revision 1.197 by yours truly. Ok bluhm@ | |||
2016-04-08 | Fix match function so that the cortex bus only attaches if the attach | Patrick Wildt | |
args are actually looking for the cortex bus. ok kettenis@ |