wiz
7734da6b73
Minor improvements.
2018-04-21 09:31:08 +00:00
rin
2cb2455506
Remove unused variable since previous revision.
2018-04-21 08:30:19 +00:00
christos
0693e96ee0
It was not gcc's fault for correctly detecting an uninitialized variable.
...
Fix the uninitialized variable issues by error checking things.
2018-04-20 21:03:00 +00:00
jdolecek
d24fed3cfe
add prot parameter for uvm_emap_enter(), so that it's possible to
...
enter also read/write mappings
2018-04-20 19:02:18 +00:00
jdolecek
b6ce67bcb3
make ubc_alloc() and ubc_release() static, they should not be used
...
outside of ubc_uiomove()/ubc_zeropage(); for now mark as noinline
to keep them available as breakpoints
2018-04-20 18:58:10 +00:00
macallan
b9e5bfb350
smusat attaches to iic now
2018-04-20 18:24:44 +00:00
macallan
aa357ed600
overhaul SMU i2c handling:
...
- get rid of the special smuiicbus, use generic i2cbus
- use shifted i2c addresses like everyone else
- use direct config
with this generic i2c drivers should work on the smu's i2c bus.
2018-04-20 18:22:50 +00:00
bouyer
7a9fde2d20
Remove sunxi_codec_drain(). It's optional, and as the DMA is not stopped
...
at this time I'm not sure what draining the fifo means here. Also,
we're not waiting for the drain to complete.
The upper level will play enough silence when needed to make sure interesting
data have been played.
In sunxi_codec_halt_output() and sunxi_codec_halt_input(), drain the fifo
(and wait for it to complete) before or after disabling the DMA.
2018-04-20 18:07:40 +00:00
bouyer
19b0af41fe
sun4idma_halt(): do not set the control register to 0 but just clear
...
the LOAD bit. This is how it was done in the allwinner code.
I don't know why but without this, I could play sound (via sunxi_codec)
only once. After the call to sunxi_codec_halt_output(), subsequent play
would output only silence.
2018-04-20 18:04:12 +00:00
roy
1aeb87918e
Update values from RFC 8319
2018-04-20 16:37:17 +00:00
roy
e673cfdc24
Make the #defines more readable
2018-04-20 16:18:18 +00:00
roy
5f8de401f6
Lack of timeout is a programming error, so use an assert in it's place.
...
While here, improve the error reported if malloc fails.
2018-04-20 16:07:48 +00:00
roy
27e3ea924d
Use EXIT_FAILURE instead of an arbtitary number.
2018-04-20 15:59:17 +00:00
roy
5977af5905
Unicast solicited RA's as per RFC 7772.
...
This is done by having a secondary timer against rainfo so we
can delay unicasting by the required randomised amount of time
without affecting the unsolicited RA timer.
2018-04-20 15:57:23 +00:00
roy
086575fefe
Ensure that the soliciter list is initialised and freed correctly, even if it's not used yet.
2018-04-20 15:29:19 +00:00
roy
3bff93a23c
Allow timers to exist but be inactive.
...
This will be used in a future commit.
2018-04-20 13:27:45 +00:00
roy
4f44b8a30e
Insist on newer socket options.
2018-04-20 11:31:54 +00:00
roy
1abb8a3172
Use pidifle_lock(3)
2018-04-20 11:25:39 +00:00
christos
abb1ec4117
propagate pullup-782 for NetBSD-8 to HEAD (gcc uninitialized)
2018-04-20 11:14:40 +00:00
roy
301a345cbf
Punt dead code
2018-04-20 10:43:38 +00:00
roy
e4c3b35870
White space police.
2018-04-20 10:39:37 +00:00
roy
7a0904c3ae
Fix some unaligned pointer issues.
2018-04-20 10:26:34 +00:00
knakahara
fdd8807341
SIOCSIFDSTADDR uses struct ifreq instead of struct ifaddr or struct in_aliasreq.
...
SIOCSIFDSTADDR is not used by base package commands...
I checked sys/net*/* only.
2018-04-20 09:56:22 +00:00
maxv
6a7684ef24
Cast to int, to properly handle dstoff > MHLEN (which never happens).
2018-04-20 06:01:59 +00:00
msaitoh
503b12f135
Fix watchdog timer. Without this change, watchdog timer is unnecessary
...
fired and device is initialized without any error message. OK'd by knakahara.
2018-04-20 03:03:13 +00:00
kamil
6a0b9e974e
Add new example loadable kernel module: readhappy_mpsafe
...
readhappy_mpsafe - demonstrates how to make a module MPSAFE
This module contains an additional helper program test_readhappy.c,
that is designed to exercise the kernel module with multiple threads.
Submitted by <Siddharth Muralee>
2018-04-20 00:06:45 +00:00
mrg
b5722a7e71
add missing cgraphunit.c dependancy on pass_manager.h. should fix report
...
from thorpej on current-users about missing pass-instances.def.
2018-04-19 22:01:27 +00:00
christos
87fd18f8e5
s/static inline/static __inline/g for consistency.
2018-04-19 21:50:06 +00:00
christos
ec77b5055a
s/static inline/static __inline/g for consistency.
2018-04-19 21:20:43 +00:00
christos
8f06c59281
s/static inline/static __inline/g for consistency with other include
...
headers.
2018-04-19 21:19:07 +00:00
bouyer
e73dfff6aa
Take the interrupt lock in interrupt handler. Seesm to fix the hang I was
...
seeing with a portaudio2 application.
Don't unmute at attach time, it will be done when the upper level starts
sending data.
2018-04-19 18:19:17 +00:00
maya
6307e12dd0
Re-apply 1.35 which was accidentally reverted in 1.49
2018-04-19 08:39:18 +00:00
maxv
e2c8a66404
Remove extra long file paths from the headers.
2018-04-19 08:27:38 +00:00
maxv
bad5f5991a
Remove unused typedef, remove unused arguments from _ipip_input, sync
...
comment with reality, and change panic message.
2018-04-19 08:16:44 +00:00
maxv
96cdd49d30
Add a KASSERT (which is not triggerable since ipsec_common_input already
...
ensures 8 bytes are present), add an XXX (about the fact that it is
better to use m_copydata, because it is faster and less error-prone), and
improve two m_copybacks (remove useless casts).
2018-04-19 07:58:26 +00:00
msaitoh
fefe72ba7c
Use ixgbe_eitr_write() when writing the EITR for the link interrupt like
...
queue's EITR to write the register safely. This change is not relatively
so important than queue's EITR because link's EITR is written in if_init().
2018-04-19 07:40:12 +00:00
maxv
ebd3d1799e
Style, and remove meaningless XXX.
2018-04-19 07:36:23 +00:00
maxv
1656a2f332
cosmetic
2018-04-19 07:22:29 +00:00
msaitoh
2114fc3a6c
Remove unused IXGBE_FC_HI and IXGBE_FC_LO. The watermark of the flow control
...
is automatically calculated from the size of the packet buffer.
2018-04-19 06:04:31 +00:00
maxv
b6af861c1d
The mbuf length is allowed to be zero.
2018-04-19 05:16:02 +00:00
maxv
6d238c84fb
Simplify the IPv4 parser. Get the option length in 'optlen', and sanitize
...
it earlier. A new check is added (off + optlen > skip).
In the IPv6 parser we reuse 'optlen', and remove 'ad' as a result.
2018-04-18 17:58:07 +00:00
maxv
0ad30c0f1d
Remove unused includes, remove misleading comments, and style.
2018-04-18 17:34:54 +00:00
maxv
e30e5e83ea
m_free -> m_freem, m_copyback could have added mbufs in the chain
2018-04-18 14:56:35 +00:00
maxv
02a6b07753
mention SVS, retpoline, SMAP
2018-04-18 14:47:11 +00:00
maxv
afff2e4148
mention meltdown/spectre fixes
2018-04-18 14:42:16 +00:00
martin
60a00ce996
Make SPECTRE_V2_GCC_MITIGATION overridable at the make command line.
2018-04-18 10:40:22 +00:00
martin
9528633318
Simplify previous, pointed out by mrg.
2018-04-18 10:38:47 +00:00
nonaka
ca639f32c5
nvmectl(8): Remove some wdc subcommands from man page.
...
- wdc drive-log
- wdc get-crash-dump
- wdc purge
- wdc purge-monitor
2018-04-18 10:17:54 +00:00
nonaka
d2ae75c29e
nvmectl(8): fix subcommand usage.
2018-04-18 10:16:22 +00:00
nonaka
6ac76f5b92
nvmectl(8): Add big-endian support.
...
from FreeBSD nvmecontolr(8) r329824.
2018-04-18 10:11:44 +00:00