created | 2020-09-06T07:46:35Z |
---|---|
begin | 2020-08-29T00:00:00Z |
end | 2020-08-30T00:00:00Z |
path | src/sys |
commits | 9 |
date | 2020-08-29T02:03:31Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/cd.c | log | diff | annotate |
src/sys/scsi/sd.c | log | diff | annotate | |
message |
Have [cd|sd]_cmd_rw[6|10|12|16] return the length of the created command and have the caller assign it to xs->cmdlen. Pass in xs->cmd instead of xs. A slightly cleaner API that provides the potential of detecting and reacting to a failure to create the desired command. |
date | 2020-08-29T08:24:33Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/kcov.c | log | diff | annotate |
message |
Prepare to extend the scope of the kcov remote mutex by renaming it to something more generic. It will soon cover the whole kcov subsystem. |
date | 2020-08-29T08:41:11Z | |||
---|---|---|---|---|
author | anton | |||
files | src/sys/dev/kcov.c | log | diff | annotate |
message |
Before clearing the kcov descriptor associated with a thread make sure no other thread is currently within a remote section. Otherwise, the remote subsystem could end up in a broken state where it doesn't reset the necessary bits upon leaving the remote section. Therefore introduce the kr_barrier() routine which waits until all ongoing remote sections have been left. Also, extend the scope of the mutex to also cover fields of struct kcov_dev. This is necessary to ensure correctness. Reported-by: [email protected] |
date | 2020-08-29T09:17:17Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/powerpc64/dev/kexec.c | log | diff | annotate |
message |
Mark certain sections with debug information as "allocated" such that they get picked up by ddb. This makes the "pp" and "show struct" commands that depends on CTF work. ok gkoehler@ |
date | 2020-08-29T11:46:54Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/arch/powerpc64/stand/rdboot/disk.c | log | diff | annotate |
message |
Only fall back on using the first potential root disk as the boot disk if the boot kernel didn't hand us a valid bootduid. ok visa@ |
date | 2020-08-29T16:07:19Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/cd.c | log | diff | annotate |
src/sys/scsi/sd.c | log | diff | annotate | |
message |
Use u_int32_t for nsecs, making it crystal clear that the values are expected to fit into a 4-byte field. |
date | 2020-08-29T17:10:06Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/sd.c | log | diff | annotate |
message | Missing u_int -> u_int32_t chunks from previous. |
date | 2020-08-29T18:20:12Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/cd.c | log | diff | annotate |
src/sys/scsi/sd.c | log | diff | annotate | |
message | Use ISSET() to check b_flags for B_READ. |
date | 2020-08-29T19:34:07Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/scsi/cd.c | log | diff | annotate |
message |
More recent MMC specificiations add READ(12)/WRITE(12). So add cd_cmd_rw12() and let cdstart() use it if the requested i/o is unable to fit into a READ(10). Certainly better than silently truncating the i/o into a READ(10)/WRITE(10). |