Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 11:01:29 UTC Now

2018-05-18 19:02:49 UTC MAIN commitmail json YAML

2018-05-18 18:58:51 UTC MAIN commitmail json YAML

2018-05-18 18:52:17 UTC MAIN commitmail json YAML

IP6_EXTHDR_GET performs a basic mbuf operation, which has nothing to do
with IPv6. So declare an IP-independent M_REGION_GET, and make
IP6_EXTHDR_GET an alias to it.

(maxv)

2018-05-18 18:28:40 UTC MAIN commitmail json YAML

Remove IP6_EXTHDR_GET0, remove pointless XXXs, and style.

(maxv)

2018-05-18 12:23:23 UTC MAIN commitmail json YAML

2018-05-18 10:09:02 UTC MAIN commitmail json YAML

2018-05-18 06:39:59 UTC MAIN commitmail json YAML

Add new ATF tests: t_fork and t_vfork

Test behavior of raise(signal) in either fork(2)ed or vfork(2)ed child.

Tests:
- raise1 SIGKILL
- raise2 SIGSTOP
- raise3 SIGTSTP
- raise4 SIGTTIN
- raise5 SIGTTOU
- raise6 SIGABRT
- raise7 SIGHUP
- raise8 SIGCONT

t_vfork:raise2 fails ignoring non-maskable SIGSTOP.

The remaining ones pass.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-18 05:51:24 UTC MAIN commitmail json YAML

Include our doctored types.h instead of the default

(reinoud)

2018-05-18 02:03:00 UTC MAIN commitmail json YAML

Set SUNXI_CCU_NM_DIVIDE_BY_TWO on mmc module clocks. There is an
undocumented post divider between the clock and mmc module.

(jmcneill)

2018-05-18 01:52:58 UTC MAIN commitmail json YAML

MMC clock source is the pll_periph's 2X output.

(jmcneill)

2018-05-18 00:25:30 UTC MAIN commitmail json YAML

Correct assert in ATF t_zombie test

A failure is reported with -1, not 1.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-17 23:07:47 UTC MAIN commitmail json YAML

Enable MMC HS200 on sun50i-a64

(jmcneill)

2018-05-17 19:08:51 UTC MAIN commitmail json YAML

2018-05-17 19:06:02 UTC MAIN commitmail json YAML

Don't dynamically allocate memory we are only going to use once; so allocate
it on the stack.

While here, also include some more sanity checks.

(reinoud)

2018-05-17 19:00:39 UTC MAIN commitmail json YAML

Refactor for easier debugging and while here add some more signals

(reinoud)

2018-05-17 14:08:19 UTC netbsd-8 commitmail json YAML

2018-05-17 14:07:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #829):

sys/net/if_l2tp.c: revision 1.24
sys/net/if_ipsec.c: revision 1.13
sys/net/if_gif.h: revision 1.31
sys/netipsec/ipsecif.c: revision 1.8
sys/net/if_gif.c: revision 1.140
sys/netinet6/in6_l2tp.c: revision 1.15
sys/net/if_ipsec.h: revision 1.3
sys/netinet6/in6_gif.c: revision 1.92
sys/net/if_l2tp.h: revision 1.5
sys/netinet/in_l2tp.c: revision 1.13
sys/netinet/in_gif.c: revision 1.93

Fix LOCKDEBUG kernel panic when many(about 200) tunnel interfaces is created.

The tunnel interfaces are gif(4), l2tp(4), and ipsecif(4). They use mutex
itself in percpu area. When percpu_cpu_enlarge() run, the address of the
mutex in percpu area becomes different from the address which lockdebug
saved. That can cause "already initialized" false detection.

(martin)

2018-05-17 14:02:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #828):

sys/net/if_ipsec.c: revision 1.12

Fix "how" argument of MGET(). Pointed out by maxv@n.o, thanks.
MGET() does not have M_ZERO flag, so add memset when it is required.

(martin)

2018-05-17 13:58:08 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #827):

sys/dev/pci/if_wm.c: revision 1.577

rxipsum and rxtusum are not interrupt counter, so use EVCNT_TYPE_MISC
instead of EVCNT_TYPE_INTR.

(martin)

2018-05-17 13:51:22 UTC netbsd-6-1 commitmail json YAML

2018-05-17 13:47:24 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) via patch (requested by maxv in ticket #1549):

sys/net/npf/npf_inet.c: revision 1.45
sys/net/npf/npf_alg_icmp.c: revision 1.27,1.28

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.

We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).

Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.

Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.

In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).

This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

(martin)

2018-05-17 13:46:08 UTC netbsd-6 commitmail json YAML

2018-05-17 13:45:15 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) via patch (requested by maxv in ticket #1549):

sys/net/npf/npf_inet.c: revision 1.45
sys/net/npf/npf_alg_icmp.c: revision 1.27,1.28

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.

We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).

Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.

Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.

In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).

This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

(martin)

2018-05-17 12:07:48 UTC MAIN commitmail json YAML

Fix the KASSERTs. It doesn't matter at all since the packet can't be this
big anyway, and there are many other places that have this kind of typo;
but still fix it, for the sake of closing PR/49834.

(maxv)

2018-05-17 11:59:36 UTC MAIN commitmail json YAML

2018-05-17 11:35:31 UTC MAIN commitmail json YAML

Fix a typo with sc_out/inports when setting the hardware recording gain on the
mix ring.  Found by mrg@

XXX pullup-8

(nat)

2018-05-17 08:24:29 UTC MAIN commitmail json YAML

allow to execute cache operation (DC CVAU,DC CIVAC, DC CVAC, IC IVAU) from userland.

(ryo)

2018-05-17 07:30:14 UTC MAIN commitmail json YAML

Remove reference to tcpiphdr in comment.

(maxv)

2018-05-17 06:37:06 UTC MAIN commitmail json YAML

Remove Tn for standard abbreviations.

(wiz)

2018-05-17 02:34:32 UTC MAIN commitmail json YAML

2018-05-16 21:54:38 UTC MAIN commitmail json YAML

special case IPIs so we don't mess with hardware IRQ sources
now SMP works on my PCI-X G5

(macallan)

2018-05-16 20:21:39 UTC MAIN commitmail json YAML

Avoid complicated arithmetic involving NULL.

(joerg)

2018-05-16 19:53:54 UTC MAIN commitmail json YAML

During awaitkey(), move the cursor back to the beginning of the
countdown with '\b' only after waiting.

Some UEFI implementations have a destructive/erasing backspace,
and will not show the countdown if we move the cursor back before the
wait.

My ThinkPad T430 w/ Lenovo's UEFI exhibited this whiteout-backspace,
while my Gigabyte Brix GB-BXBT-2807 did not.

Should fix PR #53292.

(jakllsch)

2018-05-16 19:02:00 UTC MAIN commitmail json YAML

Enable the appropriate memory or I/O space decode in the PCI
Command/Status Register upon mapping a BAR.

This should fix PR #53286.  It's also possible there are other similar
PRs that might be fixed by this.

(jakllsch)

2018-05-16 16:33:23 UTC MAIN commitmail json YAML

Fix compilation on Xen.

(maxv)

2018-05-16 13:55:39 UTC MAIN commitmail json YAML

Improve type safety by using the correct enum values.

(joerg)

2018-05-16 13:54:48 UTC MAIN commitmail json YAML

Annotate mixing of enums from different types with an explicit cast.

(joerg)

2018-05-16 13:54:03 UTC MAIN commitmail json YAML

Cast enum explicitly to different type.

(joerg)

2018-05-16 13:53:29 UTC MAIN commitmail json YAML

2018-05-16 12:40:43 UTC MAIN commitmail json YAML

2018-05-16 12:40:26 UTC MAIN commitmail json YAML

Add new mcontext and depends to the usermode generated headerfiles

(reinoud)

2018-05-16 10:23:43 UTC MAIN commitmail json YAML

Add mic preamp controls and unswap L/R DAC channels to ADC mixer

(jmcneill)

2018-05-16 10:22:54 UTC MAIN commitmail json YAML

2018-05-16 10:15:20 UTC MAIN commitmail json YAML

Set AUDIO_PROP_INDEPENDENT.

(jmcneill)

2018-05-16 08:32:07 UTC MAIN commitmail json YAML

Fix memory leak. it was leaking one page every pmap_create().
pm->pm_vmlist must be initialized before calling _pmap_alloc_pdp().

(ryo)

2018-05-16 08:16:36 UTC MAIN commitmail json YAML

Mitigation for CVE-2018-8897 on i386. Contrary to amd64 there is no clear
way to determine if we are in kernel mode but with the user context; so we
go the hard way, and scan the IDT.

On i386 the bug is less of a problem, since we don't have GSBASE. All an
attacker can do is panicking the system.

(maxv)

2018-05-16 08:08:24 UTC MAIN commitmail json YAML

Whitespace fix. No functional change.

(msaitoh)

2018-05-16 07:51:17 UTC MAIN commitmail json YAML

Fix a problem that the watchdog timer sometimes mistakenly fires. Restore
TX sending check in the end of ixgbe_txeof which was wrongly removed in
ix_txrx.c rev. 1.42.

(msaitoh)

2018-05-16 03:52:35 UTC MAIN commitmail json YAML

Add extra asserts in three ATF ptrace(2) tests

In traceme* tests after validate_status_stopped() include additional check
the verify the received signal with PT_GET_SIGINFO.

All tests passes.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 03:18:38 UTC MAIN commitmail json YAML

Improve the description of traceme_vfork_breakpoint (ATF ptrace(2) test)

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 02:47:25 UTC MAIN commitmail json YAML

Add a new ATF ptrace(2) test: traceme_vfork_exec

Verify PT_TRACE_ME followed by exec(3) in a vfork(2)ed child.

This tests passes correctly.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 01:36:29 UTC MAIN commitmail json YAML

Improve the description of traceme_vfork_raise in ATF ptrace(2) tests

Set new description to:
- "Verify PT_TRACE_ME followed by raise of " #sig " in a vfork(2)ed "
  "child"

The previous one was copy pasted from a different ATF test and not changed.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 01:27:27 UTC MAIN commitmail json YAML

Add a new ATF ptrace(2) test: traceme_vfork_breakpoint

Verify software breakpoint in a vfork(2)ed child.

The expected behavior is not to route this signal to the parent, even if
that parent is a tracer. The parent cannot handle it and it would lead to
the deadlock.

This test passes correctly.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 00:42:16 UTC MAIN commitmail json YAML

Correct handling of: vfork(2) + PT_TRACE_ME + raise(2)

Follow the FreeBSD approach of not routing signals to the parent that is
a became tracer after calling PT_TRACE_ME by the vfork(2)ed child (before
exec(3)/exit(3)).

Now if a child calls raise(3), the signal is processed directly to this
child.

Add new ATF ptrace(2) tests:
- traceme_vfork_raise1 (SIGKILL)
- traceme_vfork_raise2 (SIGSTOP) // temporarily disabled
- traceme_vfork_raise3 (SIGABRT)
- traceme_vfork_raise4 (SIGHUP)
- traceme_vfork_raise5 (SIGCONT)

The FreeBSD implementation introduces P_PPTRACE for this special case.
Right know keep opencoding check of this case in the kernel. It might be
refactored in future.

The Linux kernel does not follow this approach and causes dead locking of
the processes (parent and child).

Defer handling SIGSTOP into future.

This is an intermediate step towards correct handling of fork(2) and
vfork(2) in the context of ptrace(2).

All new tests pass.
There are no regressions in existing ATF ptrace(2) tests.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-16 00:12:57 UTC MAIN commitmail json YAML

Rename mic1 control to mic so audiorecord can use it

(jmcneill)

2018-05-15 19:16:38 UTC MAIN commitmail json YAML

When reassembling IPv4/IPv6 packets, ensure each fragment has been subject
to the same IPsec processing. That is to say, that all fragments are ESP,
or AH, or AH+ESP, or none.

The reassembly mechanism can be used both on the wire and inside an IPsec
tunnel, so we need to make sure all fragments of a packet were received
on only one side.

Even though I haven't tried, I believe there are configurations where it
would be possible for an attacker to inject an unencrypted fragment into a
legitimate stream of already-decrypted-and-authenticated fragments.

Typically on IPsec gateways with ESP tunnels, where we can encapsulate
fragments (as opposed to the general case, where we fragment encapsulated
data).

Note, for the record: a funnier thing, under IPv4, would be to send a
zero-sized !MFF fragment at the head of the packet, and manage to trigger
an ICMP error; M_DECRYPTED gets lost by the reassembly, and ICMP will reply
with the packet in clear (not encrypted).

(maxv)

2018-05-15 13:50:20 UTC netbsd-8 commitmail json YAML

2018-05-15 13:48:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #826):

sys/net/if_bridge.c: revision 1.155
sys/net/if.c: revision 1.421
sys/net/bpf.c: revision 1.224
sys/net/if.c: revision 1.422
sys/net/if.c: revision 1.423

Use if_is_mpsafe (NFC)

Protect packet input routines with KERNEL_LOCK and splsoftnet
if_input, i.e, ether_input and friends, now runs in softint without any
protections.  It's ok for ether_input itself because it's already MP-safe,
however, subsequent routines called from it such as carp_input and agr_input
aren't safe because they're not MP-safe.  Protect if_input with KERNEL_LOCK.
if_input can be called from a normal LWP context.  In that case we need to
prevent interrupts (softint) from running by splsoftnet to protect
non-MP-safe
codes (e.g., carp_input and agr_input).

Pointed out by mlelstv@

Protect if_deferred_start_softint with KERNEL_LOCK if the interface isn't
MP-safe

(martin)

2018-05-15 13:42:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #825):

share/man/man7/Makefile: revision 1.32
share/man/man9/audio.9: revision 1.46
sys/dev/audio.c: revision 1.453
sys/dev/audio.c: revision 1.454
sys/dev/audio.c: revision 1.455
share/man/man7/audio.7: revision 1.1
share/man/man7/audio.7: revision 1.2
share/man/man7/intro.7: revision 1.24
share/man/man4/audio.4: revision 1.85
distrib/sets/lists/man/mi: revision 1.1586

Fix numbering of vchan mixer controls to correspond to the vchan number in
use.

This makes the numbering of vchans consistient for audioctl and mixerctl.
Expose the audio_info structure of vchan zero(0) the mix ring to allow
setting the hardware gain and balance via audioctl(1) using the -p 0
switch.

It is not possible to influence the hardware gain/blance from the
audio_info structure of vchans 1 onwards.  It is now possible to return
the audio mixers audio format from the audio_info structure of vchan 0 to
ease applications configuring for mmapped play back.

This is conformant to the audio specification posted on tech-kern see:

        "NetBSD Audio Specification 2018"

or audio.7 manual page to be added in a follow up commit.
Add the audio mixer specification to section 7 of the manual.
See posting on tech-kern - "NetBSD Audio Specification 2018."
Update the introduction page to section 7 of the manual noting the audio
spec.

Various improvements, more markup, typo fixes.

Fix over cautious compiler error - setmode may not be initialized.

(martin)

2018-05-15 13:37:24 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #824):

sys/dev/pci/ixgbe/ixv.c: revision 1.97

Fix panic or hangup when "sysctl -w hw.ixgN.debug=1".
XXX pullup-8

(martin)

2018-05-15 10:23:03 UTC MAIN commitmail json YAML

Fix over cautious compiler error - setmode may not be initialized.

(nat)

2018-05-15 10:17:55 UTC MAIN commitmail json YAML

Build fix for FDT kernels without audio

(jmcneill)

2018-05-15 09:30:56 UTC MAIN commitmail json YAML

The TQSMR register is not for receiving but for transmitting, so move the
initialization from ixgbe_initialize_receive_units() to
ixgbe_initialize_transmit_units(). No functional change.

(msaitoh)

2018-05-15 09:30:01 UTC MAIN commitmail json YAML

Various improvements, more markup, typo fixes.

(wiz)

2018-05-15 09:13:36 UTC MAIN commitmail json YAML

2018-05-15 04:48:16 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1602):

sys/kern/uipc_mbuf.c: revision 1.211 (via patch)

Modify m_defrag, so that it never frees the first mbuf of the chain. While
here use the given 'flags' argument, and not M_DONTWAIT.

We have a problem with several drivers: they poll an mbuf chain from their
queues and call m_defrag on them, but m_defrag could update the mbuf
pointer, so the mbuf in the queue is no longer valid. It is not easy to
fix each driver, because doing pop+push will reorder the queue, and we
don't really want that to happen.

This problem was independently spotted by me, Kengo, Masanobu, and other
people too it seems (perhaps PR/53218).

Now m_defrag leaves the first mbuf in place, and compresses the chain
only starting from the second mbuf in the chain.

It is important not to compress the first mbuf with hacks, because the
storage of this first mbuf may be shared with other mbufs.

(martin)

2018-05-15 04:25:25 UTC MAIN commitmail json YAML

Use the correct tag options.

(nat)

2018-05-15 02:02:18 UTC MAIN commitmail json YAML

Fix a problem reported by jmcneill@ where by a system with multuple i2c
busses would end up with "ghost" device instances on the second bus.  This
issue was previously masked on ARM systems by the empty-child-devices
array issue fixed recently (that effectively blocked all indirect config
of i2c busses on those systems).

To fix this problem, we require that indirectly-configured devices have
to fully specify their parent spec and address, e.g.:

foo* at iic0 addr 0x55

NOT

foo* at iic? addr ?

or even:

foo* at iic? addr 0x55

This is needed because of how indirect configuration works... attach
directives in the kernel config file are enumerated, calling the bus's
search routine, which in the case of i2c, enumerates all i2c addresses
and calls the match routine for each address.  Because we can't always
reliably probe for i2c devices, we ended up with erroneous matches.

Direct configuration of i2c is still allowed to use wildcarded parent specs
and locators.

(thorpej)

2018-05-15 01:53:27 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

N.B. The x86 platforms are sort of a mess, here... legacy indirect
config and ACPI direct config sort of smashed together with the
same config file directives.

(thorpej)

2018-05-15 01:41:30 UTC MAIN commitmail json YAML

2018-05-15 01:26:46 UTC MAIN commitmail json YAML

2018-05-15 01:24:23 UTC MAIN commitmail json YAML

2018-05-15 01:07:37 UTC MAIN commitmail json YAML

Update the introduction page to section 7 of the manual noting the audio
spec.

(nat)

2018-05-15 01:07:06 UTC MAIN commitmail json YAML

Revert previous; we actually use direct-configuration of I2C in this
kernel config.

(thorpej)

2018-05-15 00:57:15 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-15 00:54:02 UTC MAIN commitmail json YAML

Add the audio mixer specification to section 7 of the manual.
See posting on tech-kern - "NetBSD Audio Specification 2018."

(nat)

2018-05-15 00:44:56 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-15 00:42:35 UTC MAIN commitmail json YAML

Actully, we can STAR the iic instances (the configuration code can
handle pinned pspecs to STAR'd potential parents).

(thorpej)

2018-05-15 00:28:00 UTC MAIN commitmail json YAML

Expose the audio_info structure of vchan zero(0) the mix ring to allow
setting the hardware gain and balance via audioctl(1) using the -p 0
switch.

It is not possible to influence the hardware gain/blance from the
audio_info structure of vchans 1 onwards.  It is now possible to return
the audio mixers audio format from the audio_info structure of vchan 0 to
ease applications configuring for mmapped play back.

This is conformant to the audio specification posted on tech-kern see:
"NetBSD Audio Specification 2018"
or audio.7 manual page to be added in a follow up commit.

(nat)

2018-05-15 00:19:08 UTC MAIN commitmail json YAML

Fix numbering of vchan mixer controls to correspond to the vchan number in
use.
This makes the numbering of vchans consistient for audioctl and mixerctl.

(nat)

2018-05-14 22:11:30 UTC MAIN commitmail json YAML

Move iic0 at alipm? to iic1.  Using iic0 will conflict with the
iic0 at tsciic? on the API CS20.

XXX: Enumerate the similar-to-DS20L I2C devices on the CS20, which
IIRC are not all on the tsciic(4) I2C bus, and comment GENERIC
accordingly.

(jakllsch)

2018-05-14 22:01:57 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-14 21:58:15 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-14 21:50:02 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-14 21:11:39 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-14 21:05:17 UTC MAIN commitmail json YAML

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

(thorpej)

2018-05-14 19:24:10 UTC netbsd-8 commitmail json YAML

2018-05-14 19:22:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #823):

sys/net/npf/npf_inet.c: revision 1.45-1.47
sys/net/npf/npf_alg_icmp.c: revision 1.27-1.30
sys/net/npf/npf_sendpkt.c: revision 1.19

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.

We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).
Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.

Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.

In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).

This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

Retrieve the complete IPv4 header right away, and make sure we did retrieve
the IPv6 option header we were iterating on.

Ah, fix compilation. I tested my previous change by loading the kernel
module from the filesystem, but the Makefile didn't have DIAGNOSTIC
enabled, and the two KASSERTs I added did not compile properly.

If we fail to advance inside TCP/UDP/ICMPv4/ICMPv6, stop pretending L4
is unknown, and error out right away.

This prevents bugs in machinery, if a place looks for L4 in 'npc_proto'
without checking the cache too. I've seen a ~similar problem already.

In addition to checking L4 in the cache, here we also need to check the
protocol. The NPF entry point does not ensure that
        ICMPv6 can be set only in IPv6
        ICMPv4 can be set only in IPv4
So we could have ICMPv6 in IPv4.

apply some INET6 so this compiles in INET6-less kernels again.

(martin)

2018-05-14 19:17:39 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #822):

lib/libc/string/stresep.c: revision 1.4
tests/lib/libc/string/t_stresep.c: revision 1.4

PR/52499: Justin: stresep uses memmove with of-by-one length
Add test from PR/52499

(martin)

2018-05-14 19:11:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by gson in ticket #805):

sys/kern/kern_lwp.c: revision 1.192

PR/kern/53202: Kernel hangs running t_ptrace_wait:resume1 test, revert
previous.

(martin)

2018-05-14 19:03:48 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1605):

        sys/net/npf/npf_inet.c: revision 1.45
        sys/net/npf/npf_alg_icmp.c: revision 1.27-1.29

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.
We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).
Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.
Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.
In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).
This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

Ah, fix compilation. I tested my previous change by loading the kernel
module from the filesystem, but the Makefile didn't have DIAGNOSTIC
enabled, and the two KASSERTs I added did not compile properly.

(martin)

2018-05-14 17:34:26 UTC MAIN commitmail json YAML

Merge ipsec4_input and ipsec6_input into ipsec_ip_input. Make the argument
a bool for clarity. Optimize the function: if M_CANFASTFWD is not there
(because already removed by the firewall) leave now.

Makes it easier to see that M_CANFASTFWD is not removed on IPv6.

(maxv)

2018-05-14 17:26:16 UTC MAIN commitmail json YAML

Don't crash if there is no inner IP header.

(maxv)

2018-05-14 17:15:54 UTC MAIN commitmail json YAML

Workaround A-008585 errata in GTMR.

Register reads and writes may provide unstable results if the counter
hardware is active at the same time. This results in non-monotonic
counters seen by both the gtmr interrupt and time counter.

The loops are currently applied unconditionally, restricting them to
appropiate FDT markers can be applied later.

(joerg)

2018-05-14 17:11:38 UTC MAIN commitmail json YAML

Remove a number of debug #if 0s.

(joerg)

2018-05-14 17:09:41 UTC MAIN commitmail json YAML

2018-05-14 16:21:48 UTC netbsd-7 commitmail json YAML

2018-05-14 16:21:13 UTC netbsd-7-1 commitmail json YAML

2018-05-14 16:20:55 UTC netbsd-7-0 commitmail json YAML

2018-05-14 16:17:19 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1605):

sys/net/npf/npf_inet.c: revision 1.45
sys/net/npf/npf_alg_icmp.c: revision 1.27-1.29

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.
We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).
Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.
Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.
In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).
This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

Ah, fix compilation. I tested my previous change by loading the kernel
module from the filesystem, but the Makefile didn't have DIAGNOSTIC
enabled, and the two KASSERTs I added did not compile properly.

(martin)

2018-05-14 16:16:04 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1605):

sys/net/npf/npf_inet.c: revision 1.45
sys/net/npf/npf_alg_icmp.c: revision 1.27-1.29

Fix use-after-free.

The nbuf can be reallocated as a result of caching 'enpc', so it is
necessary to recache 'npc', otherwise it contains pointers to the freed
mbuf - pointers which are then used in the ruleset machinery.
We recache 'npc' when we are sure we won't use 'enpc' anymore, because
'enpc' can be clobbered as a result of caching 'npc' (in other words,
only one of the two can be cached at the same time).
Also, we recache 'npc' unconditionally, because there is no way to know
whether the nbuf got clobbered relatively to it. We can't use the
NBUF_DATAREF_RESET flag, because it is stored in the nbuf and not in the
cache.
Discussed with rmind@.

Change npf_cache_all so that it ensures the potential ICMP Query Id is in
the nbuf. In such a way that we don't need to ensure that later.
Change npfa_icmp4_inspect and npfa_icmp6_inspect so that they touch neither
the nbuf nor npc. Adapt their callers accordingly.
In the end, if a packet has a Query Id, we set NPC_ICMP_ID in npc and leave
right away, without recaching npc (not needed since we didn't touch the
nbuf).
This fixes the handling of Query Id packets (that I broke in my previous
commit), and also fixes another possible use-after-free.

Ah, fix compilation. I tested my previous change by loading the kernel
module from the filesystem, but the Makefile didn't have DIAGNOSTIC
enabled, and the two KASSERTs I added did not compile properly.

(martin)

2018-05-14 16:11:09 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1604):

sys/dev/ic/hme.c: revision 1.97

Fix mis-placed right paren.  kern/53271

(martin)

2018-05-14 16:08:15 UTC netbsd-6 commitmail json YAML

2018-05-14 16:07:06 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1548):

sys/dev/ic/hme.c: revision 1.97

Fix mis-placed right paren.  kern/53271

(martin)

2018-05-14 12:44:40 UTC MAIN commitmail json YAML

Revert previous change in t_ptrace.c

By a mistake this file started to include <sys/mman.h>
This is not needed.

The include was intended to be add just in t_ptrace_wait.c.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-14 12:42:34 UTC MAIN commitmail json YAML

Simplify the x86_64_cve_2018_8897 ATF ptrace(2) test

Do not call _exit() from the child, ad this code shall not be reached.
Put there assert().

No functional change. The test still passes.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-14 09:21:36 UTC MAIN commitmail json YAML

Fix panic or hangup when "sysctl -w hw.ixgN.debug=1".

XXX pullup-8

(msaitoh)

2018-05-14 06:52:33 UTC MAIN commitmail json YAML

End sentence with a dot.

(wiz)

2018-05-14 05:17:11 UTC MAIN commitmail json YAML

locate: fix support for multiple databases

Ensure that the first database is correctly added when
more than one database is provided.

Fixes problem I introduced in rev 1.17 on 2009-04-12,
and noticed recently by Simon.

(lukem)

2018-05-14 02:55:46 UTC MAIN commitmail json YAML

Protect if_deferred_start_softint with KERNEL_LOCK if the interface isn't MP-safe

(ozaki-r)

2018-05-14 02:55:03 UTC MAIN commitmail json YAML

Protect packet input routines with KERNEL_LOCK and splsoftnet

if_input, i.e, ether_input and friends, now runs in softint without any
protections.  It's ok for ether_input itself because it's already MP-safe,
however, subsequent routines called from it such as carp_input and agr_input
aren't safe because they're not MP-safe.  Protect if_input with KERNEL_LOCK.

if_input can be called from a normal LWP context.  In that case we need to
prevent interrupts (softint) from running by splsoftnet to protect non-MP-safe
codes (e.g., carp_input and agr_input).

Pointed out by mlelstv@

(ozaki-r)

2018-05-14 02:53:29 UTC MAIN commitmail json YAML

Use if_is_mpsafe (NFC)

(ozaki-r)

2018-05-14 02:16:30 UTC MAIN commitmail json YAML

Restore TCP header inclusions for TCP_SIGNATURE

(ozaki-r)

2018-05-14 00:26:02 UTC MAIN commitmail json YAML

With the hope it fixes PR #52911, be extra paranoid about assuring the
Device Context DMA memory is sync'd immediately before reading from it.

(jakllsch)

2018-05-13 23:14:48 UTC MAIN commitmail json YAML

Add a new ptrace(2) ATF exploit for: CVE-2018-8897 (POP SS debug exception)

The original expolit and mitigation have been developed by Maxime Villard.

I've reworked the shared code and adapted for the ATF context.
I've included PIE-aware version (RIP/EIP relative) and introduced
additional comments to the explanation how to trigger the flaw.

This test passes on NetBSD/8.99.17.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-13 23:01:25 UTC MAIN commitmail json YAML

Refactor code in ATF ptrace(2) tests

Move the can_we_set_dbregs() auxiliary function from t_ptrace_x86_wait.h
to a common file t_ptrace_wait.h. This allows using this function for
checking whether the DBREGS set operations in ptrace(2) are accessible for
a user.

Sponsored by <The NetBSD Foundation>

(kamil)

2018-05-13 22:58:58 UTC MAIN commitmail json YAML

Battery charge state is invalid until we refresh the first time

(jmcneill)

2018-05-13 22:44:58 UTC MAIN commitmail json YAML

2018-05-13 22:42:52 UTC MAIN commitmail json YAML

Fix spello in a comment

(khorben)

2018-05-13 22:13:28 UTC MAIN commitmail json YAML

Just skip polling job token pipe.

The sigchld pipe ensures no busy wait.

PR: 53285
Reviewed by:

(sjg)

2018-05-13 18:52:00 UTC MAIN commitmail json YAML

Add another APM, advanced power management.

(sevan)

2018-05-13 18:39:06 UTC MAIN commitmail json YAML

Clarify ESP-in-UDP.

(maxv)

2018-05-13 18:34:59 UTC MAIN commitmail json YAML

2018-05-13 16:53:04 UTC MAIN commitmail json YAML

Add APM, APM, APU and ZFS

From Nikolai Lifanov in PR misc/53147

(maya)

2018-05-13 16:03:25 UTC MAIN commitmail json YAML

2018-05-13 14:55:35 UTC MAIN commitmail json YAML

make this compile again.

(christos)

2018-05-13 14:45:23 UTC MAIN commitmail json YAML

correct the function name.

(christos)

2018-05-13 12:10:37 UTC MAIN commitmail json YAML

PR/53285: Andreas Gustafsson: Build times tripled with make/job.c 1.193
Revert previous:
    2018.05.12.15.14.49/bracket.db:build_wall_time=4896.09
    2018.05.12.18.17.04/bracket.db:build_wall_time=16268.98

(christos)

2018-05-13 11:13:02 UTC MAIN commitmail json YAML

Use IRQs to update status whenever we can. Reduces the amount of work that
needs to be done whenever sysmon_envsys refreshes sensors.

(jmcneill)

2018-05-13 01:01:37 UTC MAIN commitmail json YAML

Mixer improvements:

- outputs.master switches between line and hp volume control, depending
  on jack sense
- add outputs.source to override jack sense output routing
- (playback) line and hp controls are in the input class
- (capture) line and mic controls are in the record class

(jmcneill)

2018-05-13 00:04:23 UTC MAIN commitmail json YAML

PR/53280: Andreas Gustafsson: Fix panic in the fdpass test. This is probably
the only 32 bit binary in the tests...

(christos)

2018-05-12 23:51:07 UTC MAIN commitmail json YAML

Pass mixer requests to the codec. It is the responsibility of the codec
to decide whether or not to dispatch to an aux device.

(jmcneill)

2018-05-12 18:17:04 UTC MAIN commitmail json YAML

Skip setting wantToken.

polling the job token pipe adds a lot of overhead
for little gain.
For now, just leave wantToken=0

And avoid busy waiting when no tokens are available and
no jobs are running.

Reviewed by: christos

(sjg)

2018-05-12 15:14:49 UTC MAIN commitmail json YAML

Increase PAGER_MAP_DEFAULT_SIZE to 512MB (from 16MB)

(jmcneill)

2018-05-12 15:03:20 UTC MAIN commitmail json YAML

adjust description for ubc_uiomove() to not reference lenp variable (that part
was carried over from ubc_alloc() description), and instead mention the restriction
to ubc_winsize

(jdolecek)

2018-05-12 14:49:34 UTC MAIN commitmail json YAML

remove ubc_alloc(9) and ubc_release(9) from ubc(9) from the documentation, they
are internal (static) functions

pointed out by Matthew Green in private email

(jdolecek)

2018-05-12 10:44:25 UTC netbsd-8 commitmail json YAML

2018-05-12 10:42:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #821):

sys/netinet6/in6_proto.c: revision 1.125
sys/net/raw_cb.h: revision 1.29
sys/kern/uipc_usrreq.c: revision 1.186

Increase the default size of some receive buffers from 8k to 16k.

This mitigates recent reports of socket overflow errors
and fixes PR bin/53247.

(martin)

2018-05-12 10:40:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #820):

usr.bin/midiplay/midiplay.1: revision 1.20
usr.bin/midiplay/midiplay.1: revision 1.21
usr.bin/midiplay/midiplay.c: revision 1.31
usr.bin/midiplay/midiplay.c: revision 1.32

if just parsing don't try to read the uninitialised device name,
or display the unit number.

add a "-s" option that sends an ALL_SOUNDS_OFF midi event.  very
useful after an interrupted midiplay leaves notes on.

Merge options without arguments in synopsis.

Sync usage with manpage.

(martin)

2018-05-12 10:35:45 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #819):

share/man/man4/ixg.4: revision 1.11
share/man/man4/ixg.4: revision 1.12
share/man/man4/Makefile: revision 1.652
share/man/man4/ixv.4: revision 1.1
share/man/man4/ixv.4: revision 1.2
distrib/sets/lists/man/mi: revision 1.1585

Add a maunal page for ixv(4).
Add missing .Nd.
Fix xref.
Use Nx. Fix typo. Capitalize Gigabit and Ethernet.
Add ixv.4.

(martin)

2018-05-12 10:33:06 UTC MAIN commitmail json YAML

2018-05-12 10:29:08 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #818):

sys/compat/linux/common/linux_socket.c: revision 1.142
sys/compat/linux32/common/linux32_socket.c: revision 1.29

Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconf

Tested by using a small linux program that uses ioctl(SIOCGIFCONF).
Probably fix PR kern/53259 as well.

(martin)

2018-05-12 01:31:08 UTC MAIN commitmail json YAML

Trigger shutdown on POKLIRQ instead of POKSIRQ.

POKSIRQ is triggered if POK remains low for less than IRQLEVEL. This makes
it way too easy to accidentally trigger shutdown. POKLIRQ is triggered if
POK hold time is greater than IRQLEVEL, which is much more reasonable for
this use case.

(jmcneill)

2018-05-11 23:05:41 UTC MAIN commitmail json YAML

Disable lineout by default. If HP is not plugged at boot, we get an
unplug event. However, no plug event when HP is plugged at boot.

(jmcneill)

2018-05-11 22:51:33 UTC MAIN commitmail json YAML

2018-05-11 22:51:12 UTC MAIN commitmail json YAML

Add HP jack detect support. When HP is present, mute lineout.

(jmcneill)

2018-05-11 22:49:19 UTC MAIN commitmail json YAML

Attach aux devices to the codec

(jmcneill)

2018-05-11 22:48:55 UTC MAIN commitmail json YAML

Add APIs for linking dai devices and jack detection

(jmcneill)

2018-05-11 22:48:38 UTC MAIN commitmail json YAML

deal with IPIs on U3/HT machines, only install OpenPIC IPI goop on actual
OpenPIC hardware

(macallan)

2018-05-11 22:39:59 UTC MAIN commitmail json YAML

use 128 as IPI_VECTOR to avoid overlap wth hardware interrupts

(macallan)

2018-05-11 22:23:33 UTC MAIN commitmail json YAML

disable the MULTIPROCESSOR case in pmap_syncicache() because:
- __syncicache() wants a virtual address, not a pa
- this crashes on G5 SMP
- the rest of the function does the same as __syncicache() except it turns
  the MMU off first so physical addresses work
with this, my PCIe G5 boots SMP

(macallan)

2018-05-11 20:19:25 UTC MAIN commitmail json YAML

remove definition of LUA_USE_APICHECK, it is a build time option for Lua
itself. Not for modules.

(sevan)

2018-05-11 16:36:57 UTC MAIN commitmail json YAML

Match sequence of flags with usage()
Following on from mandoc -Tlint, drop Pp macro before Bl and Tn macro.

(sevan)

2018-05-11 15:43:07 UTC MAIN commitmail json YAML

ENOBUFS -> EACCES when updating the replay counter.

(maxv)

2018-05-11 14:42:03 UTC MAIN commitmail json YAML

Add IFS - internal field separator.

(sevan)

2018-05-11 14:39:25 UTC MAIN commitmail json YAML

Move HTTP Keyserver Protocol entry to the correct file.

(sevan)

2018-05-11 14:38:28 UTC MAIN commitmail json YAML

2018-05-11 14:25:50 UTC MAIN commitmail json YAML

Dedup: introduce rip6_sbappendaddr. Same as IPv4.

(maxv)

2018-05-11 14:07:58 UTC MAIN commitmail json YAML

Make sure we have at least an IP header, and remove pointless XXXs (there
is no issue).

(maxv)

2018-05-11 13:56:43 UTC MAIN commitmail json YAML

2018-05-11 13:52:49 UTC MAIN commitmail json YAML

Improve comment, it's not just IPv4.

(maxv)

2018-05-11 13:50:38 UTC MAIN commitmail json YAML

Clean up, and panic if we call functions that are not supposed to be
called.

(maxv)

2018-05-11 13:24:46 UTC MAIN commitmail json YAML

Fixes port-xen/53267
re-educate xen_clock_handler() how to use the interrupt stackframe.
The current regs value passed in is *ci, and thus invalid.

Reported and tested by kre@. See PR 53267 for more details.

(cherry)

2018-05-11 12:54:56 UTC MAIN commitmail json YAML

Pass through mandoc -Tlint, drop Pp before Bl.
Remove reference to libkadm, it is no longer present in NetBSD.
Direct reader to kadm5_pwcheck(3) for libkadm5srv.

(sevan)

2018-05-11 10:59:30 UTC MAIN commitmail json YAML

Fix off-by-one in rx packet processing

(jmcneill)

2018-05-11 09:43:59 UTC MAIN commitmail json YAML

Increase the default size of some receive buffers from 8k to 16k.
This mitigates recent reports of socket overflow errors
and fixes PR bin/53247.

(roy)

2018-05-11 07:44:48 UTC MAIN commitmail json YAML

2018-05-11 07:44:19 UTC MAIN commitmail json YAML

Update bwfm(4) man page to note pci support

Mention jmcneill's porting.
omit BUGS, the lack of SDIO support might be resolved soon.

(maya)

2018-05-11 07:43:43 UTC MAIN commitmail json YAML

2018-05-11 07:42:22 UTC MAIN commitmail json YAML

2018-05-11 07:41:11 UTC MAIN commitmail json YAML

sync with openbsd bwfm to some extent.

add a txcheck
set chip active/passive for more kinds of chips
add wrapper around setting active/passive
detect chip RAM
make bwfm_rx take an mbuf

(maya)

2018-05-11 00:00:17 UTC MAIN commitmail json YAML

Add cpu0 supply and operating points table

(jmcneill)

2018-05-11 00:00:04 UTC MAIN commitmail json YAML

2018-05-10 23:58:05 UTC MAIN commitmail json YAML

2018-05-10 23:57:31 UTC MAIN commitmail json YAML

Fix off by one in axp803 dcdc2/3/4 definitions

(jmcneill)

2018-05-10 15:00:36 UTC MAIN commitmail json YAML

Add descriptions for
netpgp_match_keys()
netpgp_match_keys_json()
netpgp_match_pubkeys()
netpgp_validate_sigs()
netpgp_format_json()

(sevan)

2018-05-10 14:07:00 UTC MAIN commitmail json YAML

Add HKP - OpenPGP HTTP Keyserver Protocol

(sevan)

2018-05-10 13:48:52 UTC MAIN commitmail json YAML

Correct pkgconfig version.

Noted by Robert Swindells on tech-x11, thanks!

(I didn't realize I was grabbing the number from freetype 2.9, rather than
2.9.1)

(maya)

2018-05-10 13:11:21 UTC MAIN commitmail json YAML

Keep the backlight off while the lid is closed.

(jmcneill)

2018-05-10 13:05:18 UTC MAIN commitmail json YAML

Emit initial lid switch state event at startup

(jmcneill)

2018-05-10 11:06:13 UTC MAIN commitmail json YAML

Disable spdif nodes on pinebook

(jmcneill)

2018-05-10 09:33:46 UTC MAIN commitmail json YAML

Added missing ifi_link_state at compat_50_rt_oifmsg() and compat_50_iflist().

(nonaka)

2018-05-10 05:15:14 UTC MAIN commitmail json YAML

Replace dumb code by M_VERIFY_PACKET. In fact, perhaps we should not even
call M_VERIFY_PACKET here, there is no particular reason for this place to
be more wrong than the rest.

(maxv)

2018-05-10 05:08:53 UTC MAIN commitmail json YAML

2018-05-10 03:43:42 UTC MAIN commitmail json YAML

KNF. No binary change.

(msaitoh)

2018-05-10 03:41:00 UTC MAIN commitmail json YAML

2018-05-10 03:15:28 UTC MAIN commitmail json YAML

Count some register correctly:
- QPRDC register is only for 82599 and newer.
- Count IXGBE_QPRDC, PX{ON,OFF}{T,R}XC[NT].

(msaitoh)

2018-05-10 02:50:00 UTC MAIN commitmail json YAML

2018-05-10 02:49:41 UTC MAIN commitmail json YAML

Add Intel X540 internal PHY.

(msaitoh)

2018-05-10 02:36:26 UTC MAIN commitmail json YAML

2018-05-10 02:36:08 UTC MAIN commitmail json YAML

2018-05-10 01:32:24 UTC MAIN commitmail json YAML

Fix pserialize enter/exit pairs in linux_getifconf and linux32_getifconf

Tested by using a small linux program that uses ioctl(SIOCGIFCONF).
Probably fix PR kern/53259 as well.

(ozaki-r)

2018-05-10 00:30:56 UTC MAIN commitmail json YAML

2018-05-10 00:07:08 UTC MAIN commitmail json YAML

2018-05-10 00:05:23 UTC MAIN commitmail json YAML

2018-05-10 00:05:01 UTC MAIN commitmail json YAML

2018-05-10 00:04:46 UTC MAIN commitmail json YAML

2018-05-10 00:02:10 UTC MAIN commitmail json YAML

2018-05-10 00:00:21 UTC MAIN commitmail json YAML

2018-05-09 23:59:05 UTC MAIN commitmail json YAML