Commit Graph

274044 Commits

Author SHA1 Message Date
isaki da6e9a93eb Add tests.
AUDIO_SETINFO_channels
 AUDIO_SETINFO_sample_rate
 AUDIO_SETINFO_sample_rate_0
2020-02-18 12:11:26 +00:00
skrll 649535d14c G/C 2020-02-18 10:33:38 +00:00
msaitoh e6334c3f8e No functional change:
- u_int*_t -> uint*_t
 - whitespace fixes.
 - KNF.
2020-02-18 04:12:40 +00:00
msaitoh baf0814f90 Whitespace fix. No functional change. 2020-02-18 04:09:31 +00:00
msaitoh ba67005d1f Add comment. 2020-02-18 04:08:12 +00:00
msaitoh ae193e13d9 It's useless to not to set PCI_PMCSR_PME_STS bit when writing because
the bit is W1C. Instead, always write PCI_PMCSR_PME_STS bit to clear in
case it's already set.
2020-02-18 04:07:14 +00:00
msaitoh dc2d2bb7a9 Whitespace fix. No functional change. 2020-02-18 03:48:22 +00:00
christos e12f2e934e PR/54435: Valery Ushakov: Clear urgent status after reading urgent data, so
that poll(2) works.
2020-02-18 00:40:50 +00:00
sevan b4ccaa63ea spelling 2020-02-17 22:52:18 +00:00
ad b625d14d1e cpu_ast(): no need to call userret(), as the caller does it for us. From rin@. 2020-02-17 21:49:27 +00:00
sevan cf86490505 Add Andrew Weatherall
https://www.bbc.co.uk/news/entertainment-arts-51535685
http://www.rottersgolfclub.com/
2020-02-17 21:47:33 +00:00
ad 73d972e303 softint_dispatch(): Temporarily call kernel_lock_plug_leak() since there is
incontinent code somewhere.
2020-02-17 21:44:42 +00:00
fcambus b8575f575a Add RIF (reduction in force). 2020-02-17 17:16:51 +00:00
msaitoh 2adc4cf2a7 - Remove 50GBASE-LR10.
- Add the following medias:
 - 25GBASE-ACC
 - 100GBASE-ACC
 - 100GBASE-AOC
 - 100GBASE-FR
 - 100GBASE-LR
 - 200GBASE-ER4
 - 400GBASE-ER8
 - 400GBASE-FR4
 - 400GBASE-LR4
 - 400GBASE-SR4.2
 - 400GBASE-SR8
2020-02-17 15:51:25 +00:00
skrll 94257d06d8 G/C LS{SLEEP,RUN,ONPROC}
LWP status manipulation was moved out of assembly long ago.
2020-02-17 09:09:48 +00:00
ozaki-r ccef126b54 tests: add missing ifconfig -w
This change mitigates PR kern/54897.
2020-02-17 08:46:10 +00:00
riastradh fbd9ae86b4 When aborting a pipe, set pipe->up_running = 0.
This prevents any concurrent usb_transfer_complete from restarting
the pipe with usbd_start_next.
2020-02-17 08:16:44 +00:00
nisimura 4a91806e98 add kse(4) for i386/amd64 GENERIC 2020-02-17 06:32:46 +00:00
nisimura a4c13d8e17 comment mods and code tiddy ups 2020-02-17 06:05:31 +00:00
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