Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-01-03 | Implement pmap_proc_iflush() such that the instruction cache is synchronized | Mark Kettenis | |
with the data cache when ptrace(2) is used to write into a process' address space. ok miod@ | |||
2010-01-03 | Use atomic operations to access the per-cpu scheduler flags. | Mark Kettenis | |
2010-01-03 | delete unused variable | Theo de Raadt | |
2010-01-03 | enable aibs | Theo de Raadt | |
2010-01-03 | change M_WAITOK --> M_WAITOK|M_CANFAIL | Charles Longeau | |
with input from marco@ ok marco@ krw@ this was ok looooooooong time ago but lost in my mailbox | |||
2010-01-03 | Use a split genassym.cf scheme on mips64 ports. Don't forget to rerun config(8). | Miod Vallat | |
2010-01-03 | disk cache mode page | David Gwynne | |
2010-01-03 | oops, get the order of args right for the header request in | David Gwynne | |
mpi_bio_get_pg0_raid. the sensor updates dont poll at all now. | |||
2010-01-03 | mpi_bio_get_pg0_raid is only called from a process context. let the cfg | David Gwynne | |
requests sleep rather than poll for completion. | |||
2010-01-03 | oops, forgot to set the ccb_cookie in mpi_wait. mpi_wait_done would fault | David Gwynne | |
when it used the uninitialized cookie. | |||
2010-01-03 | get rid of the last internal user of splbio. waiting for the completion of | David Gwynne | |
a ccb can now be done with mpi_wait. this switches the cfg page handlers over from their own tsleep stuff to mpi_wait. | |||
2010-01-03 | rename ccb_xs to ccb_cookie, and switch it from a struct scsi_xfer * to a | David Gwynne | |
void *. this will let me stash things other than scsi xfers in the ccb for ccb_done handlers to use. | |||
2010-01-03 | dont leak a ccb if we fail to get a reply in portenable | David Gwynne | |
2010-01-03 | when getting a reply from the hw, only sync the dmamem for that one reply | David Gwynne | |
rather than all the replies. | |||
2010-01-03 | switch mpi from using splbio to protect itself over to mutexes. | David Gwynne | |
mpi only needs two mutexes, one for the list of free ccbs, and another to protect the reply doorbell. the latter is necessary to allow polling for command completion to work in smp systems. tested on sas and fc hbas. this diff was written over 2 years ago now with surprisingly few tweaks to handle changes that have occurred since then. | |||
2010-01-03 | scsi_done sets ITSDONE, we dont have to do it. | David Gwynne | |
2010-01-02 | move the buf handling from using scsi_scsi_cmd over to scsi_xs_exec. i | David Gwynne | |
think this is the last chunk of code using a buf pointer in the scsi_xfer now. this has not been tested due to a lack of hardware anywhere. if there are problems please report them as soon as possible. ok krw@ miod@ | |||
2010-01-02 | uninitalized protocol version for ipv6; from mickey; ok claudio | Markus Friedl | |
2010-01-02 | When finding certain novatel devices in mass storage mode | Jonathan Gray | |
we need to do scsi ejects. One reported/tested by lahrcm@hotmail.com another suggested by David Coppa based on what FreeBSD does. | |||
2010-01-02 | We need an additional level of indirection through 'struct scsibus_attach_args' | Mark Kettenis | |
to find the 'struct scsi_link' associated with a scsibus(4). Interpreting 'struct scsibus_attach_args' as a 'struct scsi_link' happened to mostly work since it had a zero stored in the right place. However, after dlg@'s changes to 'struct scsi_link' that no longer turned out to be true. Makes my blade1k find its root disk again. | |||
2010-01-01 | Miod must have gotten his fingers stuck between the keys on his keyboard and | Mark Kettenis | |
accidentally swapped to lines of code. Swap them back such that this compiles again. | |||
2010-01-01 | Map the device registers before using them. We were lucky that some other | Mark Kettenis | |
device already mapped the block that contains our registers, but if we change the probe order, or disable devices we might not end up so lucky. ok jsing@, miod@ | |||
2010-01-01 | Make sure than ptrace functions never return a non-zero value in the zero | Miod Vallat | |
register. | |||
2010-01-01 | Make sure we grab the kernel lock before invoking trapsignal(). | Miod Vallat | |
2010-01-01 | If you want to use atomic ops, you need to #include the proper files instead | Miod Vallat | |
of relying upon other headers bringing it in for you. | |||
2010-01-01 | Since sh4_emode_icache_sync_all() and sh4_emode_dcache_wbinv_all() | Miod Vallat | |
explicitely process both cache ways, there is no need to give them the whole EMODE cache size as a range to operate on; only half the size will do; this avoid working on the cache twice. | |||
2010-01-01 | Remove unused *_CACHE_FLUSH() macros. | Miod Vallat | |
2010-01-01 | Make sure page is cache invalidated in pmap_unmap_direct(), for the next use | Miod Vallat | |
of this page may use different cache indexes. ok kettenis@ | |||
2010-01-01 | copyright++; | Miod Vallat | |
2010-01-01 | Make sure we grab the kernel lock before invoking trapsignal(). | Miod Vallat | |
ok kettenis@ | |||
2010-01-01 | deck chair shuffling | David Gwynne | |
2010-01-01 | split the flags used in a scsi_link structure to represent its state at | David Gwynne | |
runtime out into a separate state variable. only operate on the state bits with atomic ops. introduce the DYING state so things that sleep can figure out if they should keep going or not. | |||
2009-12-31 | sync | Theo de Raadt | |
2009-12-31 | new devs; ejacquot | Theo de Raadt | |
2009-12-31 | Assert copyright. | Joel Sing | |
ok marco@ | |||
2009-12-31 | Add support for key disks. This allows a crypto volume to be constructed | Joel Sing | |
without using a passphrase - instead the encryption mask key is stored on the specified key disk partition (ideally being one on a removable device). This also enables automatic assembly of crypto volumes at boot time. ok marco@ | |||
2009-12-31 | Implement wrappers for enabling and disabling interrupts. | Joel Sing | |
ok miod@ | |||
2009-12-31 | Make cpl and cpu_inintr per CPU variables. For locore.S, cpl becomes an | Joel Sing | |
offset within cpu_primary_info - this will need to be revisited shortly. ok kettenis@ | |||
2009-12-31 | Add vds(4) and vdsp(4), implementing the vDisk server side protocol. This | Mark Kettenis | |
makes it possible to run an OpenBSD guest domain on top of a virtiual disk backed by a disk image on a filesystem on OpenBSD control or service domain. Probably doesn't support running Solaris or Linux yet. Haven't tried those yet because booting their installers in a guest domain is way too painful! | |||
2009-12-31 | Add a few more hypervisor calls. | Mark Kettenis | |
2009-12-30 | remove dead assignments and newly created unused variables. | Charles Longeau | |
found by LLVM/Clang Static Analyzer. ok claudio@ mglocker@ | |||
2009-12-30 | curcpu()->ci_curpmap added. ok miod@ | Takuya ASADA | |
2009-12-29 | Call proc_trampoline_mp() from the process trampoline when compiled for MP. | Joel Sing | |
ok kettenis@ | |||
2009-12-29 | Implement MP safe mutexes for hppa. | Joel Sing | |
ok kettenis@ | |||
2009-12-29 | Move hppa to a "cpu0 at mainbus0" configuration, rather than knocking CPUs | Joel Sing | |
out in the cpu match function. Whilst here also hardwire the clock to IRQ 31, thus preventing one from building a kernel without hardclock. ok kettenis@ miod@ | |||
2009-12-29 | Make want_resched a per CPU variable. | Joel Sing | |
ok kettenis@ miod@ | |||
2009-12-29 | Move hppa to per process AST. | Joel Sing | |
ok kettenis@ miod@ | |||
2009-12-28 | oops, comment vmt out, it isnt good enough yet. | David Gwynne | |
2009-12-28 | We do not need to store a copy of the HP-UX exec structure in the pcb since | Miod Vallat | |
we don't put HP-UX bits in the coredumps and hpux_dumpu() has bitten the dust twelve years ago. Notice by guenther@ | |||
2009-12-28 | whitespace | David Gwynne | |