Age | Commit message (Collapse) | Author |
|
|
|
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
|
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
|
"reads OK" claudio@
|
|
ok dlg@ matthew@
|
|
to sync the map. unfortunately xs is not set for internal ciss
commands, so this is a null deref. it wasnt until kettenis made
bus_dmamap_sync a real function which needed its arguments evaluated
that this became a real problem though.
hit by mcbride@ and sakurai-san. fixed by krw@ over my shoulder
when we figured out which specific chunk of code was faulting.
tested by sakurai-san
ok krw@ deraadt@
|
|
iopools make sure resources arent overallocated, while scheduling them
evenly between devices.
tested by and ok jsg@
|
|
sensor_attach() out of the for loop header.
ok marco@
|
|
|
|
sparsely populated buses.
ok dlg@, krw@
|
|
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
|
|
must break out of the cases, not directly 'return' error codes. I
think the error case is currently impossible, but why leave an armed
bear trap lying about?
|
|
ioctl requests, and dont pass the proc pointers around for any ioctl
requests in scsi land at all. neither were used, so trim the fat.
ok krw@ marco@
|
|
pointed out by brad.
|
|
|
|
dont typedef the tailq head struct.
|
|
tweaks ive made.
this provides better concurrent access to multiple volumes on the same hba,
while improving the reliability of the ioctl and sensor codepaths.
tested by okan@ halex@
ok krw@ okan@ halex@
|
|
especially if you're passing it SCSI_POLL too.
|
|
for us.
|
|
scsi_done or to get or put ccbs anymore.
|
|
|
|
state as such, putting it on a queue is silly. one of the queues was
initted by never used.
|
|
confuses the code and bloats the kernel.
|
|
in a disk controllers handler, even if it has a useless bunch of macros
around it.
|
|
keep count for at least 33 seconds. then panic.
ok marco@, moral support johan@
|
|
ok krw@
|
|
void. Use XS_NO_CCB error in the scsi command (xs) to report the
NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE
confusion and untangles the midlayer from the adapter a bit more.
Eyes and some fixes by miod@
There may be some compile issues on little used (i.e. I don't have
any) drivers but the change is mechanical and thus easy to remedy.
ok dlg@
|
|
else cares so it's just noise. Drivers that actually look at ITSDONE
are unchanged.
ok marco@ (for his files) dlg@ beck@
|
|
ciss_cmd() call scsi_done() in the one case where ciss_done() was
not calling ciss_done() before erroring out, and not calling
scsi_done() after ciss_cmd() errors out.
Okan's box can now boot. And work fine afterwards.
Tested by okan@. ok dlg@ beck@
|
|
have been completed. the xs was used to figure out if we should return
COMPLETED or SUCCESFULLY_QUEUED. the return value doesnt mean anything
anymore, so just return COMPLETE.
|
|
this should solve problems like this:
WARNING: SPL NOT LOWERED ON SYSCALL 16384 8 EXIT dae4560 6
Stopped at Xsyscall+0x1eb: movl $0,%gs:0x3d4
ddb{3}>
|
|
prevents calling xs->done() for internal commands that don't have an
xs associated with them. In turn, this prevents crashes when calling
ciss_sync(), e.g. when rebooting.
Reported on misc@ by Peter Huncar.
Prodded by kettenis@, halex@ and johan@. Fix tested by halex@.
|
|
the results of attempting to get a ccb. Eliminates manual reservation
of ccb's for bioctl and sensors. Tested by johan@ and okan@.
Eyes from brad@, dlg@ and marco@. tech@ did its Thomas More thing.
|
|
1.06). It is required to run ciss(4) with amd64 bigmem, even when
using the iommu.
Tested by many on 32bit and 64bit low- and bigmem systems
With feedback from mk@ deraadt@
|
|
as additional argument. This will allow intermediate layers between
scsi devices such as sd and scsi host adapters to take appropriate
action if necessary.
|
|
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
in bioctl(8) functions not available; pr#5682.
code from mickey. tested by several people.
ok dlg@ krw@
|
|
|
|
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an
immediately adjacent bzero().
|
|
kernel thread of its own. the api has changed (which will be fixed in the
manpage shortly) so all the users of sensor tasks that i can find have
been fixed too.
noone tested, so its going in to force people to run with it.
"put it in" deraadt@
|
|
ok marco@ then suggested deraadt@
|
|
of new fields in the future is less disruptive. This is done similar
to how struct proc is handled for ps(1). ok jmc (man page changes)
tested fkr simon, and more suggestions from millert
|
|
everywhere
|
|
|
|
ok miod@ marco@ deraadt@
|
|
under load when bioctl/sensorsd are active. Better fix post-4.0.
Problem found, fix tested by Johan Mson Lindman.
ok dlg@ marco@ mickey@ deraadt@
|
|
of ciss_ioctl if >1 logical device is present. Fixes dereferencing of
uninitialized pointer.
From mickey@ ok deraadt@
|
|
|
|
|