knakahara
a6e88d7809
VLAN ID uses pkthdr instead of mtag now. Contributed by s-yamaguchi@IIJ.
...
I just commit by proxy. Reviewed by joerg@n.o and christos@n.o, thanks.
See http://mail-index.netbsd.org/tech-net/2017/09/26/msg006459.html
XXX need pullup to -8 branch
2017-09-26 07:42:05 +00:00
nat
00629487c4
Call audio_mix for a third time - thus ensuring there is a block of data
...
in the mix ring before the audio interrupt occurs.
This addresses the instability seen in the audio atf tests.
2017-09-26 04:34:59 +00:00
christos
229703cd31
belatedly update ACPICA
2017-09-25 23:19:31 +00:00
maxv
16a900cef9
Clean up and split loadfile, reduces a patch I have.
2017-09-25 20:39:21 +00:00
jmcneill
42f8fa7c23
Enable pcie on tegra210
2017-09-25 08:55:27 +00:00
jmcneill
8b1dfa0ad2
Add clocks used by pcie
2017-09-25 08:55:07 +00:00
christos
7e10eace88
Factor out the read and write data code from the huge child_process function.
...
When we create a pipe to read data, restore the sigchld signal handler since
pclose expects to wait for the child (to avoid spurious error reporting later).
2017-09-25 08:30:46 +00:00
ozaki-r
856a12a96d
Synchronize on rtcache_generation with rtlock
...
It's racy if NET_MPSAFE is enabled.
Pointed out by joerg@
2017-09-25 04:15:33 +00:00
ozaki-r
4cfe7ee520
Use a dedicated mutex for rt_rawcb instead of softnet_lock if NET_MPSAFE
2017-09-25 01:57:54 +00:00
ozaki-r
475ed81624
Fix race condition on the rawcb list shared by rtsock and keysock
...
keysock now protects itself by its own mutex, which means that
the rawcb list is protected by two different mutexes (keysock's one
and softnet_lock for rtsock), of course it's useless.
Fix the situation by having a discrete rawcb list for each.
2017-09-25 01:56:22 +00:00
jmcneill
1a3d098173
Disable debug again
2017-09-25 00:12:21 +00:00
jmcneill
57030377dd
USB works on Tegra X1 now.
2017-09-25 00:03:34 +00:00
jmcneill
272c2c9ec5
If the bus glue calls xhci_init with interrupts enabled, there is a window
...
between when xhci interrupts are enabled and the usb bus driver is
attached. If an irq occurs in this window, xhci will attempt to schedule
a softint with an invalid softint handle.
Add a quirk flag, XHCI_DEFERRED_START, that when set skips starting the
controller at the end of xhci_init. Bus glue that sets this is responsible
to call xhci_start after attaching the child usb devices.
2017-09-25 00:03:10 +00:00
nat
8ca3cdf594
Move play/rec mix ring buffers into a virtual channel sc_mixring. NFCI.
2017-09-24 23:40:41 +00:00
jmcneill
d77ae92edb
More XUSB init. A USB3 memory stick seems to work now.
2017-09-24 20:09:53 +00:00
jmcneill
32f88b93d3
Enable XUSB power rails at attach
2017-09-24 20:09:22 +00:00
joerg
d03e05b4e5
Force _GNU_SOURCE on Linux, otherwise strptime is not defined and more
...
restrictive macros result in even nastier fallout.
2017-09-24 09:43:27 +00:00
christos
6bca62c78e
const me harder.
2017-09-24 07:39:28 +00:00
jmcneill
0b0e6c1c62
Disable debug
2017-09-23 23:58:31 +00:00
jmcneill
95093c9f3c
Match nvidia,tegra210-apbdma
2017-09-23 23:58:18 +00:00
jmcneill
c8fa470a33
Add APBDMA clock
2017-09-23 23:58:04 +00:00
jmcneill
a0345ea381
add wskbd at gpiokeys
2017-09-23 23:54:54 +00:00
jmcneill
b6e9d7090f
For known Linux keycodes, report key press events through a wskbd device
...
instead of using sysmon pswitch hotkey events.
2017-09-23 23:54:30 +00:00
jmcneill
40d19cb1c6
More XUSB init stuff.
2017-09-23 23:21:35 +00:00
skrll
1c54b514be
PR/52553 Panic on "ifconfig athn0 up"
...
Don't race for a transfer in athn_usb_init on the free list for beacons.
Instead pre-assign a transfer to beacons in athn_usb_alloc_tx_list
2017-09-23 14:27:44 +00:00
maxv
6231c1d203
Make MTRR_GET privileged, the structures are not always zeroed (thereby
...
leaking information), and beyond that we are not particularly interested
in letting userland know how the kernel uses its MTRRs.
2017-09-23 11:01:32 +00:00
maxv
3eef1a860c
Initialize the errata MSRs when waking up, otherwise they are clear and
...
we're re-enabling certain CPU bugs.
2017-09-23 10:38:59 +00:00
maxv
aaf01fbc4b
Make sure %edx is clear.
2017-09-23 10:18:49 +00:00
maxv
f54b02d72d
Reinitialize the PAT MSR when waking up, otherwise the write-combined
...
pages become write-through.
2017-09-23 10:00:00 +00:00
jakllsch
20dcc53ed7
use more symbolic register bits
2017-09-22 20:25:51 +00:00
jakllsch
0fba28799f
Add more Tegra124 XUSB PADCTL register bits.
2017-09-22 20:23:22 +00:00
jakllsch
a32d5e4570
Update #include guard #define after move.
2017-09-22 19:11:47 +00:00
jmcneill
6933952435
Enable regulators at attach
2017-09-22 18:13:36 +00:00
jmcneill
5fe95616f5
Enable max77620pmic and tcagpio
2017-09-22 18:13:16 +00:00
jmcneill
15f5428a45
Add GPIO drivers for MAX77620 and TCA9539 as found in Jetson TX1
2017-09-22 18:12:31 +00:00
macallan
342dcf6b03
add uni_n, ki2c etc., commented out svwsata, wdc, smu
...
should be somewhat more useful now
2017-09-22 18:09:48 +00:00
macallan
40df262473
remove sgsmix since it can't occur on bandit-based hardware, add valkyriefb
...
and videopll instead
2017-09-22 17:56:07 +00:00
khorben
4855508aad
Typo
2017-09-22 15:37:13 +00:00
jmcneill
50506f2028
Print an error if we fail to acquire a regulator
2017-09-22 15:33:21 +00:00
jmcneill
0e6fbb046c
Replace unused mpio driver with a more generic interface for pinmux, and
...
add Tegra210 pinmux support.
2017-09-22 14:36:22 +00:00
jmcneill
92ef8122c8
Print an error if we can't acquire a clock or reset
2017-09-22 11:01:24 +00:00
jmcneill
b267dde7c7
#define<tab>
2017-09-22 10:55:43 +00:00
jmcneill
ea2e72dcd0
add USB2_TRK and HSIC_TRK clocks
2017-09-22 10:54:44 +00:00
skrll
0ff2fca96d
Typo
2017-09-22 06:31:02 +00:00
joerg
0e5b5aa88a
Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too.
2017-09-22 06:05:20 +00:00
ozaki-r
82d5516b2e
Remove the global lock for rtcache
...
Thanks to removal of LIST_ENTRY of struct route, rtcaches are accessed only by
their users. And in existing usages a rtcache is guranteed to be not accessed
simultaneously. So the rtcache framework doesn't need any exclusion controls
in itself.
2017-09-22 05:05:32 +00:00
macallan
1ba4702854
add quick path for timebase-frequency detection
...
deal with differences in /u4 reg property encoding vs. /uni-n, so this works
on my G5 now
2017-09-22 04:45:56 +00:00
macallan
176e683b45
no more special treatment for dbcool
2017-09-22 04:11:24 +00:00
macallan
cce95d6c6e
all i2c controllers support direct config now, so get rid of hard wired
...
i2c buses and addresses
2017-09-22 04:09:06 +00:00
macallan
7dde0073e7
use direct config
2017-09-22 04:07:34 +00:00