kre
9f2b1d9e76
Avoid an infinite loop caused by a line accidentally dropped
...
in 1.22 (almost 30 months ago!)
[ Discovered by rhialto@ ]
2018-07-30 22:58:09 +00:00
ryo
c8969c8808
don't depend on clang code to backtrace. keep trapframe as framepointer if DDB.
2018-07-30 15:59:44 +00:00
ryo
67c6b43e9e
fix copy{in,out}str to return ENAMETOOLONG if the string is longer than len bytes.
2018-07-30 09:08:41 +00:00
ryo
24dff64cf5
Add machine commands for aarch64.
2018-07-30 06:18:25 +00:00
msaitoh
f95b220e92
Regen.
2018-07-30 06:00:30 +00:00
msaitoh
e9deb312ed
Add Toshiba's XG4 and XG5 NVMe SSD.
2018-07-30 05:59:57 +00:00
msaitoh
2db490d9c1
Regen.
2018-07-30 03:22:30 +00:00
msaitoh
8888a26beb
Add some Intel devices. Some of them are found in Core i7-8550U.
2018-07-30 03:21:51 +00:00
jmcneill
e03aac56c2
Skip urtwn_chip_stop for 88E family chips as we do for 92EU.
...
Doing "ifconfig urtwn0 down" with an RTL8188EU on Pinebook causes the
device to disappear from the built-in GL850G USB 2.0 hub. Since this
happens at reboot, an unplug/replug cycle is the only way to make the
device re-appear. Bypassing urtwn_chip_stop works around this issue.
2018-07-30 00:17:28 +00:00
alnsn
174af426a0
Remove files imported to a wrong directory.
2018-07-29 22:46:13 +00:00
wiz
10fabe8c03
Fix mandoc warnings.
2018-07-29 21:17:43 +00:00
sevan
a95a2d429a
regen
2018-07-29 20:53:41 +00:00
sevan
5b00e77546
Spelling mistake.
...
Reword MKINFO description.
2018-07-29 20:53:29 +00:00
alnsn
e552f68674
Import Lua 5.3.5.
2018-07-29 19:45:46 +00:00
sevan
0a9053f0f4
Document "in" field in CPU section
...
Fix ps(1) Xr raised by mandoc -Tlint
2018-07-29 17:03:02 +00:00
jdolecek
f110dae06f
mark satapmp_rescan() static, it's not to be used outside satapmp_subr.c
2018-07-29 14:11:30 +00:00
maxv
ed35b5e94b
Reduce the confusion, rename a bunch of variables and reorg a little.
...
Tested on i386PAE-domU and amd64-dom0.
2018-07-29 08:02:24 +00:00
riastradh
e542820337
Use callout_halt and usb_rem_task_wait in url(4) detach.
2018-07-29 02:08:17 +00:00
riastradh
30a058c1bd
Use usb_rem_task_wait in usbd_kill_pipe.
2018-07-29 02:08:07 +00:00
riastradh
a727b880eb
Use usb_rem_task_wait in umcs(4) detach.
2018-07-29 02:07:56 +00:00
riastradh
273feb01da
Use usb_rem_task_wait in uatp(4) detach.
2018-07-29 02:07:46 +00:00
riastradh
fd50ce7951
Use callout_halt and usb_rem_task_wait in zyd(4) detach.
...
Also comment on sketchiness in zyd_newstate that is beyond my scope
right now.
2018-07-29 02:07:33 +00:00
riastradh
e4eeae7602
Use usb_rem_task_wait in urtwn(4) detach.
2018-07-29 02:07:22 +00:00
riastradh
300e22678b
Use callout_halt and usb_rem_task_wait in urtw(4).
...
Also comment on sketchiness in urtw_newstate that is beyond my scope
right now.
2018-07-29 02:06:11 +00:00
riastradh
f0b5232220
Use callout_halt and usb_rem_task_wait(4) in ural(4) detach.
...
Also comment on sketchiness in ural_newstate that is beyond my scope
right now.
2018-07-29 02:02:04 +00:00
riastradh
c2c9a221e3
Use callout_halt and usb_rem_task_wait in upgt(4).
...
Also comment in sketchiness in upgt_newstate that is beyond my scope
right now.
2018-07-29 02:01:54 +00:00
riastradh
d60e1ad241
Use callout_halt and usb_rem_task_wait in udav(4).
2018-07-29 02:01:43 +00:00
riastradh
313e426aaf
Use callout_halt and usb_rem_task_wait in smsc(4).
...
XXX The stop task doesn't seem to be used in this driver.
2018-07-29 02:01:32 +00:00
riastradh
080b2b0b4a
Use callout_halt and usb_rem_task_wait in run(4) detach.
2018-07-29 02:01:22 +00:00
riastradh
0449a44d02
Use callout_halt and usb_rem_task_wait in rum(4) detach.
...
Also comment on sketchiness in rum_newstate that is beyond my scope
right now.
squash! 815cfdcb30208ae2d1cffe19b1cd4ef85ab19f3c
2018-07-29 02:01:11 +00:00
riastradh
2efaf3fd7c
Use usb_rem_task_wait in otus(4) detach.
...
No need for callout_halt: otus_stop already does it.
2018-07-29 02:00:59 +00:00
riastradh
2c3003b77e
Use callout_halt and usb_rem_task_wait in cue(4).
2018-07-29 02:00:48 +00:00
riastradh
296b1afb7d
Use callout_halt and usb_rem_task_wait in axen(4).
2018-07-29 02:00:38 +00:00
riastradh
2c8485d70d
Use callout_halt and usb_rem_task_wait in axe(4).
2018-07-29 02:00:27 +00:00
riastradh
8c5d26bbb7
Use callout_halt and usb_rem_task_wait on detach in aue(4).
2018-07-29 02:00:17 +00:00
riastradh
7d235ea0ce
Use usb_rem_task_wait in atu(4).
2018-07-29 02:00:07 +00:00
riastradh
b882f7bca3
Use usb_rem_task_wait in usb athn(4) detachment.
2018-07-29 01:59:56 +00:00
riastradh
7d2886b531
New function usb_rem_task_wait(dev, task, queue).
...
If task is scheduled to run, removes it from the queue. If it may
have already begun to run, waits for it to complete. Caller must
guarantee it will not switch to another queue. If caller guarantees
it will not be scheduled again, then usb_rem_task_wait guarantees it
is not running on return.
This will enable us to fix a litany of bugs in detach where we
currently fail to wait for a pending task.
2018-07-29 01:59:46 +00:00
maya
5d240897e9
Don't require size to be a multiple of alignment. This is no longer a
...
requirement as of C18.
2018-07-29 01:45:25 +00:00
reinoud
357f5616a1
Provide hand-doctored redirection of trap.h in preparation for ddb/kgdb
2018-07-28 20:26:13 +00:00
reinoud
bce0ab4ef7
Fix typo
2018-07-28 17:17:38 +00:00
sevan
e01538f90d
Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
...
box.
2018-07-28 14:13:13 +00:00
kre
65afe3be98
PR lib/53477 (rudolf at eq.cz) - correct an obvious mistake.
2018-07-28 14:00:19 +00:00
kre
7801b53db3
Add some more "crappy error detection" - the low value of
...
the range of random_with_range() must not be negative (or now
we are doing unsigned modulus we might generate a very big result).
2018-07-28 13:55:08 +00:00
kre
8650a842fd
Fix from Michael Kaufmann in PR bin/53476
...
Do modulus using unsigned arith, and then convert the result to
int, rather than converting the arc4random() result to int (which
might be negative) and performing a modulus on that (with a
potentially negative answer).
2018-07-28 13:51:26 +00:00
ryo
95d7034e47
Implement sigill_debug variable for debug (with DDB). if sigill_debug = 1, illegal instruction will be logged.
...
e.g.) [ 75914.9966392] TRAP: pid 1422 (ssh), uid 1074: Unknown Reason (Illegal Instruction): pc=0x0000faa29ae35088: pmull v0.1q, v0.1d, v0.1d
2018-07-28 09:57:59 +00:00
ryo
c23a8599fe
add support for disasm pmull,aes,sha insns. most SIMD insns are not yet.
2018-07-28 09:54:32 +00:00
wiz
e694dd94ec
Use An -nosplit. Use Mt. Fix some mandoc lint.
2018-07-28 08:03:41 +00:00
wiz
a1e77e13cc
Various minor improvements.
2018-07-28 07:51:53 +00:00
snj
bfdf055db6
PR kern/53461: D-Link DUB-1312 is now supported.
2018-07-27 19:11:56 +00:00