dholland
4fb51600fe
something I apparently forgot to commit months or years ago
2020-02-16 23:14:19 +00:00
thorpej
d0734eed97
Add fdt_intr_mask() / fdt_intr_unmask() functions, for masking and
...
unmasking invididual interrupt sources (similar to acpi_intr_mask()
and acpi_intr_unmask()).
(This file was missed in a previous commit.)
2020-02-16 23:05:42 +00:00
thorpej
8acfda791f
- Don't use I2C_F_POLL.
...
- G/C the non-FDT entry points; nothing uses them anymore.
2020-02-16 22:43:27 +00:00
uwe
95f8d17abf
Fix comments to not break formatting.
2020-02-16 22:38:28 +00:00
gutteridge
e5791ef575
tcpdump.1.in: fix stray line from merge botch
2020-02-16 22:20:31 +00:00
ad
1ec727f038
nextlwp(): fix a couple of locking bugs including one I introduced yesterday,
...
and add comments around same.
2020-02-16 21:31:19 +00:00
thorpej
d172e13f0a
Don't access the i2c bus in interrupt context. Instead, mask the
...
interrupt and process it on a work queue.
2020-02-16 20:32:29 +00:00
thorpej
420676e433
Provide a back-end for fdt_intr_mask() / fdt_intr_unmask().
2020-02-16 20:29:36 +00:00
thorpej
86758bd61b
Add fdt_intr_mask() / fdt_intr_unmask() functions, for masking and
...
unmasking invididual interrupt sources (similar to acpi_intr_mask()
and acpi_intr_unmask()).
2020-02-16 20:28:18 +00:00
kamil
331480e6b2
Revert "Enhance the pthread(3) + malloc(3) init model"
...
It is reported to hand on aarch64 with gzip.
2020-02-16 17:45:11 +00:00
kamil
bcfb2645e2
Set __isthreaded before bootstrapping malloc(3)
...
jemalloc depends on the __isthreaded dynamic state logic.
Reported by <wiz> for mpv and by <tih> for gzip.
2020-02-16 17:14:31 +00:00
christos
a2b3598d26
use unsigned to avoid undefined behavior in shifts (nisharg joshi)
2020-02-16 15:03:22 +00:00
thorpej
2b1ba9ff43
Rename fdtbus_set_data() to fdtbus_init(). NFC.
2020-02-16 14:56:52 +00:00
roy
0495ebef35
zpool: The NetBSD specific ioctl needs to include sys/ioctl.h
2020-02-16 14:06:10 +00:00
jmcneill
02f33d7bd0
Remove azalia(4) references, spotted by maxv
2020-02-16 10:45:42 +00:00
maxv
606b6de518
Improve the check, to prevent more surprises.
2020-02-16 09:53:54 +00:00
maxv
788d40eade
Move usb_desc_* into usbdi_util.c, no functional change.
2020-02-16 09:40:35 +00:00
riastradh
55d2c2b3f5
Move another file from drm2 to common for <linux/kernel.h>.
2020-02-16 07:29:48 +00:00
riastradh
36e6f0b2b9
Missed a drm2 -> common move.
2020-02-16 06:50:14 +00:00
kamil
5fa609827b
Enhance the pthread(3) + malloc(3) init model
...
Separate the pthread_atfork(3) call from pthread_tsd_init()
and move it into a distinct function.
Call inside pthread__init() late TSD initialization route, just after
"pthread_atfork(NULL, NULL, pthread__fork_callback);".
Document that malloc(3) initialization is now controlled again and called
during the first pthread_atfork(3) call.
Remove #if 0 code from pthread_mutex.c as we no longer initialize malloc
prematurely.
2020-02-15 23:59:30 +00:00
thorpej
839cd8df19
Interrupt-driven I/O seems to completely go off the rails, at least
...
on AllWinner implementations of this controller, so force polled mode
for now.
2020-02-15 23:42:01 +00:00
riastradh
86465dbe5a
Open /dev/urandom with O_CLOEXEC.
...
Let's avoid bleeding file descriptors into our clients' children,
shall we?
XXX pullup
2020-02-15 23:19:37 +00:00
riastradh
57d4369975
Let's not write temporary files to fixed paths in /tmp, shall we?
...
XXX pullup
2020-02-15 22:55:22 +00:00
riastradh
defa864ee7
Teach zfs to revoke vnodes the usual way.
...
XXX pullup
2020-02-15 19:03:15 +00:00
ad
82002773ec
- Move the LW_RUNNING flag back into l_pflag: updating l_flag without lock
...
in softint_dispatch() is risky. May help with the "softint screwup"
panic.
- Correct the memory barriers around zombies switching into oblivion.
2020-02-15 18:12:14 +00:00
ad
f48ddf7b41
NetBSD 9.99.47 - added lwp_renumber()
2020-02-15 17:14:30 +00:00
ad
980ef21298
PR kern/54922: 9.99.45@20200202 panic: diagnostic assertion linux ldconfig triggers vpp != NULL in exit1()->radixtree.c line 674
...
Create an lwp_renumber() from the code in emulexec() and use in
linux_e_proc_exec() and linux_e_proc_fork() too.
2020-02-15 17:13:55 +00:00
ad
dadd0e50d0
- List all of the syncobjs in syncobj.h.
...
- Update a comment.
2020-02-15 17:09:24 +00:00
skrll
efad77a406
Fix two comments
2020-02-15 17:01:00 +00:00
skrll
4bf8314175
typo in comment
2020-02-15 16:56:15 +00:00
riastradh
6d732fd468
#ifdef DIAGNOSTIC --> __diagused
2020-02-15 14:05:06 +00:00
riastradh
b4488d07f0
Fix non-DIAGNOSTIC builds.
2020-02-15 13:56:55 +00:00
tnn
bea9ca74da
avoid nesting /*'s (-Wcomment)
2020-02-15 13:51:33 +00:00
skrll
ee09b15feb
Need to limit the DMA range for tx1. Assume 32bit DMA everywhere for now.
2020-02-15 12:45:05 +00:00
ryo
da59490bcc
return the ifmedia active status correctly even while the link is not up after attach.
...
pointed out by msaitoh@. thanks.
2020-02-15 12:20:35 +00:00
maxv
ad3185a94f
Explain more.
2020-02-15 10:41:25 +00:00
kamil
93a18a197a
jemalloc: Avoid variable length array with length 0
...
Cherry-pick upstrem patch.
https://github.com/jemalloc/jemalloc/pull/1768
2020-02-15 09:57:30 +00:00
skrll
9366ffe370
Change bNbrPorts for loop to start from 1 to match others. NFCI.
2020-02-15 09:26:07 +00:00
skrll
e12811766a
Various updates and improvements to cpu start up on arm/aarch64
...
- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
- a static cpu_info_store array
- the same arm_cpu_{hatched,mbox}
2020-02-15 08:16:10 +00:00
skrll
37efdc1032
Fix build
2020-02-15 07:46:48 +00:00
skrll
6149350c48
Remove the 'slow' argument from cpu_topology_set and create a new
...
function cpu_topology_setspeed which sets the relative speed of the
cpu.
This allows cpu_topology_set is be used at cpu hatch time. The relative
speed is only known once all cpus have hatched/attached
OK ad@
2020-02-15 07:20:40 +00:00
uki
bc4050cada
etc and modules packages should be preserve
2020-02-15 03:27:58 +00:00
isaki
72caf9588f
Enumerating probably always starts from sc->sc_startnode.
2020-02-15 03:04:45 +00:00
isaki
9e6a92af82
Remove incorrect KASSERT(!mutex_owned()).
...
Pointed out by riastradh@.
2020-02-15 02:47:00 +00:00
manu
17ba52234e
Add support for D-Link DWM-157 3G USB modem
2020-02-15 02:14:02 +00:00
manu
f88a2a2a05
regen
2020-02-15 02:10:45 +00:00
manu
c60531f466
Add UE version of D-Link DWM-157
2020-02-15 02:08:54 +00:00
riastradh
73c7d65210
Fix mistakes in previous sloppy change with root intr xfers.
...
- Make sure ux_status is set to USBD_IN_PROGRESS when started.
Otherwise, if it is still in flight when we abort the pipe,
usbd_ar_pipe will skip calling upm_abort.
- Initialize ux_status under the lock; in principle a completion
interrupt (or a delay) could race with the initialization.
- KASSERT that the xfer is in progress when we're about to complete
it.
Candidate fix for PR kern/54963 for other HCI drivers than uhci.
ok nick
ok phone
(This is the change that nick evidently MEANT to ok when he ok'd the
previous one!)
2020-02-15 01:21:56 +00:00
thorpej
f5c34501a4
Remove the conditional __IF_STATS_PERCPU.
2020-02-14 22:04:12 +00:00
tnn
0d3298ace5
FENCE_TRACE is __printflike
2020-02-14 18:17:23 +00:00