nonaka
d13f498989
Initial commit of native amd64 EFI boot loader.
2017-01-24 11:09:14 +00:00
nonaka
ee329fa954
rtwn(4): increase the number of tx queue required to clear the full mask.
2017-01-24 10:18:33 +00:00
ozaki-r
9674e2224b
Defer bpf_mtap in Rx interrupt context to softint
...
bpf_mtap of some drivers is still called in hardware interrupt context.
We want to run them in softint as well as bpf_mtap of most drivers
(see if_percpuq_softint and if_input).
To this end, bpf_mtap_softint mechanism is implemented; it defers
bpf_mtap processing to a dedicated softint for a target driver.
By using the machanism, we can move bpf_mtap processing to softint
without changing target drivers much while it adds some overhead
on CPU and memory. Once target drivers are changed to softint-based,
we should return to normal bpf_mtap.
Proposed on tech-kern and tech-net
2017-01-24 09:05:27 +00:00
ozaki-r
6e6b9ceef2
Restore splnet for if_slowtimo
...
if_slowtimo (== if_watchdog) still requires splnet for most drivers.
Pointed out by nonaka@
2017-01-24 07:58:58 +00:00
ozaki-r
9e8d969cf0
Tweak softnet_lock and NET_MPSAFE
...
- Don't hold softnet_lock in some functions if NET_MPSAFE
- Add softnet_lock to sysctl_net_inet_icmp_redirtimeout
- Add softnet_lock to expire_upcalls of ip_mroute.c
- Restore softnet_lock for in{,6}_pcbpurgeif{,0} if NET_MPSAFE
- Mark some softnet_lock for future work
2017-01-24 07:09:24 +00:00
martin
8e5b840ec7
cs4231_ebus_round_blocksize: never return 0 as blocksize
2017-01-24 05:22:38 +00:00
christos
2c6c283644
PR/51908: Kyle Amon: Allow customization of XEN kernels via .local files.
2017-01-23 17:35:34 +00:00
skrll
021afb57b6
KNF. Same code before and after.
2017-01-23 15:32:04 +00:00
abhinav
1ce36f4238
Fix typo: s/asychronously/asynchronously
2017-01-23 11:49:03 +00:00
abhinav
2971e3ab3b
Fix typo: s/openes/opens
2017-01-23 11:42:03 +00:00
abhinav
8d3dde9add
Fix typo: s/obtaind/obtained
2017-01-23 11:18:02 +00:00
abhinav
b21f38a299
Fix several typos.
2017-01-23 11:09:14 +00:00
abhinav
c96e8d55f0
Fix typo: s/Unpriviledged/Unprivileged
2017-01-23 10:50:11 +00:00
ozaki-r
c26964ba3f
Replace some splnet with splsoftnet
2017-01-23 10:19:03 +00:00
ozaki-r
e9b008839d
Make bpf_setf static
2017-01-23 10:17:36 +00:00
abhinav
5abd78da99
Fix spelling: s/overritten/overwritten
2017-01-23 10:05:25 +00:00
ozaki-r
14cc93cb28
Get rid of splnet for pool(9)
...
We don't need it anymore.
2017-01-23 09:14:24 +00:00
skrll
a70a03366e
Use our ipq... sorry martin
2017-01-23 08:36:23 +00:00
ozaki-r
1360192bca
Fix typo in a comment
2017-01-23 06:47:54 +00:00
ozaki-r
cf9d550252
Call pserialize_perform and psref_target_destroy only if NET_MPSAFE
...
They shouldn't be used with holding softnet_lock.
2017-01-23 02:32:54 +00:00
ozaki-r
ab9446efae
Add curlwp_bind
...
It is necessary for example when we use tun(4). Without it the following
panic occurs:
panic: kernel diagnostic assertion "(kpreempt_disabled() || cpu_softintr_p() || ISSET(curlwp->l_pflag, LP_BOUND))" failed: file "/usr/src/sys/kern/subr_psref.c", line 291 passive references are CPU-local, but preemption is enabled and the caller is not in a softint or CPU-bound LWP
Backtrace:
vpanic()
ch_voltag_convert_in()
psref_release()
pfil_run_arg.isra.0()
if_initialize()
if_attach()
tun_clone_create()
tunopen()
cdev_open()
spec_open()
VOP_OPEN()
vn_open()
do_open()
do_sys_openat()
sys_open()
syscall()
2017-01-23 02:30:47 +00:00
agc
81bb145d26
Remove ROADMAP file which was last updated 9 years ago.
...
Our roadmap information is now kept in src/doc/roadmaps/* -- avoid confusion
by deleting out of date information.
2017-01-23 00:30:51 +00:00
nat
d866dcb144
Only call audio_initbufs and start playback if there were no errors.
...
Addresses PR kern/51707.
2017-01-23 00:21:34 +00:00
christos
c421844ec3
misc updates and consistency fixes
2017-01-22 22:26:16 +00:00
abhinav
7d6884c85f
Fix spelling of themself
2017-01-22 21:31:20 +00:00
maxv
e15fe82cac
Use xpmap_pg_nx. Not tested (due to some unrelated panic I'm getting), but
...
obvious enough.
2017-01-22 20:17:10 +00:00
maxv
f126f71f90
Put pmap_pg_nx into the dummy Xen page. While here, do some KNF and
...
localify a bit.
2017-01-22 20:04:35 +00:00
nat
6d2afc0315
Don't call initbufs before audio_set_defaults. It is called in
...
audiosetinfo anyway.
Addresses PR kern/51707.
2017-01-22 19:52:02 +00:00
dholland
175335403f
Mention nvidia drmkms (will be in -8, people are arguing over -7)
2017-01-22 19:47:00 +00:00
maxv
4d2995d98f
Import xpmap_pg_nx, and put it in the per-cpu recursive slot on amd64.
2017-01-22 19:42:48 +00:00
dholland
2055e807bf
Restore xhci support. It is not in a release yet.
2017-01-22 19:29:38 +00:00
maxv
14f8c1a9b1
Export xpmap_pg_nx, and put it in the page table pages. It does not change
...
anything, since Xen removes the X bit on these; but it is better for
consistency.
2017-01-22 19:24:51 +00:00
jakllsch
6b21f5b784
Add TEGRA_EHCI_PHY_VBUS_WAKEUP_ID_REG and bit definitions.
2017-01-22 17:46:20 +00:00
jakllsch
65f3afca08
Add some SMMU registers and bit definitions.
2017-01-22 17:43:23 +00:00
jakllsch
8e88e626a1
Whitespace adjustment.
2017-01-22 17:40:06 +00:00
jakllsch
e80cc4d230
Define bits in CAR_PLLP_OUTA_REG.
2017-01-22 17:39:18 +00:00
jakllsch
549138ace2
Call OF to bring up the CyberPro if it's not the console.
...
Avoids igsfb crash later with serial console due to
inaccessible hardware.
2017-01-22 17:27:31 +00:00
christos
bafac785ec
PR/51905: GXIO Expension boards arn't configured if GXIO_DEFAULT_EXPANSION
...
isn't defined. Fix a bunch of issues with the original code.
2017-01-22 17:19:32 +00:00
wiz
be22884536
gdb-7.12.1 out.
2017-01-22 14:41:19 +00:00
rin
4696254e45
Respect coding style of upstream; revert r1.4 and put back parentheses.
...
No binary changes. Pointed out by mrg.
2017-01-22 05:11:22 +00:00
mrg
1e71d48020
re-do the previous to avoid malloc/free on the same size every iteration.
...
with this, or the previous, 'netstat -b 1' no longer leaks memory in
-current (or any older release using sysctl for this.)
2017-01-22 04:52:04 +00:00
christos
e5282544de
sprinkle free
2017-01-22 04:26:31 +00:00
nat
0a6a643faa
Use more specific error messages if the setting of channel parameters
...
fails. Use aprint_error_dev for this.
As suggested by pgoyette@
2017-01-21 23:37:17 +00:00
christos
9666b979fc
Don't let set cloexec for "exec n>&1" like ksh does (but not bash). Unit
...
tests pass... If we don't like that, we should add some unittests that fail.
2017-01-21 23:03:36 +00:00
nat
3b71b05413
Don't release/reacquire thread lock during open in setup_[p/r]filters.
...
This can lead to panics and/or unpredictable behaviour.
Found by maya@
Addresses PR kern/51746.
2017-01-21 22:54:11 +00:00
rin
8b69e36164
Bump for } command fix in v_paragraph.c r1.5.
2017-01-21 22:27:43 +00:00
nat
d78960acf3
Add auto config for channel/hw format.
...
Addresses PR kern/51703.
Addresses PR kern/51760.
Addresses PR kern/51879.
2017-01-21 22:22:41 +00:00
rin
b1d8d816a1
Fix a strange corner case in } command.
...
When } command is executed in the last paragraph including EOF, the original vi
(traditional/SVR4) moves the cursor to the *last* character in the last line.
However, nvi moves it to the *first* character in the last line.
2017-01-21 22:22:28 +00:00
rin
af424159bb
KNF; remove parentheses from return's
2017-01-21 22:06:46 +00:00
jdolecek
23d1788ac4
xref xhci(4)
2017-01-21 20:30:29 +00:00