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 (4h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 08:07:06 UTC Now

2017-07-07 21:40:56 UTC MAIN commitmail json YAML

Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.

(jmcneill)

2017-07-07 21:21:52 UTC MAIN commitmail json YAML

Restore TX_INTERVAL_DEFAULT to 64

(jmcneill)

2017-07-07 21:19:50 UTC MAIN commitmail json YAML

Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac

(jmcneill)

2017-07-07 21:01:58 UTC MAIN commitmail json YAML

Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.

(jmcneill)

2017-07-07 16:59:35 UTC MAIN commitmail json YAML

Fixup the non-KDTRACE_HOOKS case of PUSHDTRACEGAP - we need to copy the
stack pointer to r2.

(skrll)

2017-07-07 14:12:21 UTC netbsd-8 commitmail json YAML

2017-07-07 14:10:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #109):
external/mit/xorg-server.old/dist/Xi/sendexev.c: revision 1.2
external/mit/xorg-server.old/dist/Xi/sendexev.c: revision 1.3
external/mit/xorg-server/dist/dix/events.c: revision 1.2
external/mit/xorg-server.old/dist/dix/events.c: revision 1.2
external/mit/xorg-server/dist/dix/swapreq.c: revision 1.2
external/mit/xorg-server/dist/Xi/sendexev.c: revision 1.4
external/mit/xorg-server.old/dist/dix/swapreq.c: revision 1.2
CVE-2017-10971 and CVE-2017-10972: apply fixes to the event loop from
  https://cgit.freedesktop.org/xorg/xserver/commit/?id=3Dba336b24052122b136486961c82deac76bbde455
  https://cgit.freedesktop.org/xorg/xserver/commit/?id=3D8caed4df36b1f802b4992edcfd282cbeeec35d9d
  https://cgit.freedesktop.org/xorg/xserver/commit/?id=3D215f894965df5fb0bb45b107d84524e700d2073c
  https://cgit.freedesktop.org/xorg/xserver/commit/?id=3D05442de962d3dc624f79fc1a00eca3ffc5489ced
add missing } from the previous. apparently i mis-tested and it didn't compile.

(martin)

2017-07-07 13:57:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #107):
usr.sbin/arp/arp.c: revision 1.56
sys/net/rtsock.c: revision 1.218
sys/net/if_llatbl.c: revision 1.20
usr.sbin/arp/arp.c: revision 1.57
sys/net/rtsock.c: revision 1.219
sys/net/if_llatbl.c: revision 1.21
usr.sbin/arp/arp.c: revision 1.58
tests/net/net_common.sh: revision 1.19
sys/netinet6/nd6.h: revision 1.84
sys/netinet6/nd6.h: revision 1.85
tests/net/arp/t_arp.sh: revision 1.23
sys/netinet6/in6.c: revision 1.246
tests/net/arp/t_arp.sh: revision 1.24
sys/netinet6/in6.c: revision 1.247
tests/net/arp/t_arp.sh: revision 1.25
sys/netinet6/in6.c: revision 1.248
tests/net/arp/t_arp.sh: revision 1.26
usr.sbin/ndp/ndp.c: revision 1.49
tests/net/arp/t_arp.sh: revision 1.27
tests/net/ndp/t_ndp.sh: revision 1.20
tests/net/arp/t_arp.sh: revision 1.28
tests/net/ndp/t_ndp.sh: revision 1.21
tests/net/arp/t_arp.sh: revision 1.29
tests/net/ndp/t_ndp.sh: revision 1.22
tests/net/ndp/t_ndp.sh: revision 1.23
tests/net/route/t_flags6.sh: revision 1.13
tests/net/ndp/t_ndp.sh: revision 1.24
tests/net/route/t_flags6.sh: revision 1.14
tests/net/ndp/t_ndp.sh: revision 1.25
tests/net/route/t_flags6.sh: revision 1.15
tests/net/ndp/t_ndp.sh: revision 1.26
sbin/route/rtutil.c: revision 1.9
tests/net/ndp/t_ndp.sh: revision 1.27
tests/net/ndp/t_ndp.sh: revision 1.28
tests/net/net/t_ipv6address.sh: revision 1.14
tests/net/ndp/t_ra.sh: revision 1.28
tests/net/ndp/t_ndp.sh: revision 1.29
sys/net/route.h: revision 1.113
tests/net/ndp/t_ra.sh: revision 1.29
sys/net/rtsock.c: revision 1.220
sys/net/rtsock.c: revision 1.221
sys/net/rtsock.c: revision 1.222
sys/net/rtsock.c: revision 1.223
tests/net/route/t_route.sh: revision 1.13
sys/net/rtsock.c: revision 1.224
sys/net/route.c: revision 1.196
sys/net/if_llatbl.c: revision 1.19
sys/net/route.c: revision 1.197
sbin/route/route.c: revision 1.156
tests/net/route/t_flags.sh: revision 1.16
tests/net/route/t_flags.sh: revision 1.17
usr.sbin/ndp/ndp.c: revision 1.50
tests/net/route/t_flags.sh: revision 1.18
sys/netinet/in.c: revision 1.204
tests/net/route/t_flags.sh: revision 1.19
sys/netinet/in.c: revision 1.205
tests/net/arp/t_arp.sh: revision 1.30
tests/net/arp/t_arp.sh: revision 1.31
sys/net/if_llatbl.h: revision 1.11
tests/net/arp/t_arp.sh: revision 1.32
sys/net/if_llatbl.h: revision 1.12
tests/net/arp/t_arp.sh: revision 1.33
sys/netinet6/nd6.c: revision 1.233
sys/netinet6/nd6.c: revision 1.234
sys/netinet/if_arp.c: revision 1.251
sys/netinet6/nd6.c: revision 1.235
sys/netinet/if_arp.c: revision 1.252
sbin/route/route.8: revision 1.57
sys/net/rtsock.c: revision 1.214
sys/net/rtsock.c: revision 1.215
sys/net/rtsock.c: revision 1.216
sys/net/rtsock.c: revision 1.217
whitespace police
Simplify
We can assume that rt_ifp is always non-NULL.
Sending a routing message (RTM_ADD) on adding an llentry
A message used to be sent on adding a cloned route. Restore the
behavior for backward compatibility.
Requested by ryo@
Drop RTF_CONNECTED from a result of RTM_GET for ARP/NDP entries
ARP/NDP entries aren't connected routes.
Reported by ryo@
Support -c <count> option for route monitor
route command exits if it receives <count> routing messages where
<count> is a value specified by -c.
The option is useful to get only particular message(s) in a test script.
Test routing messages emitted on operations of ARP/NDP entries
Do netstat -a for an appropriate protocol
Add missing declarations for cleanup
Set net.inet.arp.keep only if it's required
Don't create a permanent L2 cache entry on adding an address to an interface
It was created to copy FreeBSD, however actually the cache isn't
necessary. Remove it to simplify the code and reduce the cost to
maintain it (e.g., keep a consistency with a corresponding local
route).
Fix typo
Fix in_lltable_match_prefix
The function has not been used but will be used soon.
Remove unused function (nd6_rem_ifa_lle)
Allow in6_lltable_free_entry to be called without holding the afdata lock of ifp as well as in_lltable_free_entry
This behavior is a bit odd and should be fixed in the future...
Purge ARP/NDP entries on an interface when the interface is down
Fix PR kern/51179
Purge all related L2 caches on removing a route
The change addresses situations similar to PR 51179.
Purge L2 caches on changing an interface of a route
The change addresses situations similar to PR 51179.
Test implicit removals of ARP/NDP entries
One test case reproudces PR 51179.
Fix build of kernels without both INET and INET6
Tweak lltable_sysctl_dumparp
- Rename lltable_sysctl_dumparp to lltable_sysctl_dump
  because it's not only for ARP
- Enable it not only for INET but also for INET6
Fix usage of routing messages on arp -d and ndp -d
It didn't work as we expected; we should set RTA_GATEWAY not
RTA_IFP on RTM_GET to return an if_index and the kernel should
use it on RTM_DELETE.
Improve backward compatibility of (fake) routing messages on adding an ARP/NDP entry
A message originally included only DST and GATEWAY. Restore it.
Fix ifdef; care about a case w/ INET6 and w/o INET
Drop RTF_UP from a routing message of a deleted ARP/NDP entry
Check existence of ARP/NDP entries
Checking ARP/NDP entries is valid rather than checking routes.
Fix wrong comment
Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes
They don't have llinfo anymore. And also the change fixes unexpected
behavior of ARP proxy.
Restore ARP/NDP entries to route show and netstat -r
Requested by dyoung@ some time ago
Enable to remove multiple ARP/NDP entries for one destination
The kernel can have multiple ARP/NDP entries which have an indentical
destination on different interfaces. This is normal and can be
reproduce easily by ping -I or ping6 -S. We should be able to remove
such entries.
arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries
and remove matched entries. So we can remove multiple entries
described above. This fetch all and selective removal behavior is
the same as arp <ip> and ndp <ip>; they also do fetch all entries
and show only matched entries.
Related to PR 51179
Check if ARP/NDP entries are purged when a related route is deleted

(martin)

2017-07-07 13:11:31 UTC MAIN commitmail json YAML

2017-07-07 09:46:40 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #106):
sys/netinet6/icmp6.c: revision 1.212
fix PR kern/52353. implemented by ozaki-r@n.o. I just commit by proxy.
XXX need to pullup to -8.

(martin)

2017-07-07 09:29:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #101):
sys/dev/fdt/gpiokeys.c: revision 1.3
sys/dev/fdt/gpiokeys.c: revision 1.4
Read the initial key state at startup so we only trigger events on state
changes. Prevents a misconfigured power button from shutting us down at
boot.
Only read gpio pin if the pin is valid

(martin)

2017-07-07 09:23:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #100):
sys/netinet/ip_output.c: revision 1.280
sys/netinet/ip_output.c: revision 1.282
When outputting, search for the sending address on the sending interface
rather than blindly picking the first matcing address from any interface
when testing source address validity.
This allows another interface to have the same address, but be detached.
Rename u to udst, .dst to .sa and .dst4 to sin.
Create sockaddr for the source address in usrc so it won't stamp on udst.
This fixes a regression caused in r1.280

(martin)

2017-07-07 08:46:49 UTC MAIN commitmail json YAML

wbsio(4): Add 12 devices.

(msaitoh)

2017-07-07 08:42:16 UTC MAIN commitmail json YAML

Add Winbond W83627DHG-P, W83627SF, W83627UHG, W83667HGB, W83687THF, W83697UG,
Nuvoton NCT5104D, NCT6775, NCT6779, NCT6791, NCT6792 and NCT6793.

(msaitoh)

2017-07-07 07:05:49 UTC MAIN commitmail json YAML

fix ordering of a couple of words.  from Edgar Pettijohn in PR#52375.
thanks!

(mrg)

2017-07-07 06:53:04 UTC MAIN commitmail json YAML

2017-07-07 06:52:24 UTC MAIN commitmail json YAML

Add Atom Z8000 devices from "Intel Atom Z8000 Processor Series Datasheet
(Volume 2 of 2)".

(msaitoh)

2017-07-07 06:52:17 UTC MAIN commitmail json YAML

add missing } from the previous. apparently i mis-tested and it didn't compile.

(mrg)

2017-07-07 06:08:45 UTC MAIN commitmail json YAML

2017-07-07 04:46:50 UTC MAIN commitmail json YAML

2017-07-07 01:37:34 UTC MAIN commitmail json YAML

2017-07-07 00:55:16 UTC MAIN commitmail json YAML

fix PR kern/52353. implemented by ozaki-r@n.o. I just commit by proxy.

XXX need to pullup to -8.

(knakahara)

2017-07-07 00:34:09 UTC MAIN commitmail json YAML

split PUSHFRAMEINSVC into two pieces so that we can insert some additional
instructions in the middle in undefinedinstruction_bounce, namely to add
some additional space on the stack before the trapframe for undefineds from
SVC mode.  this extra space allows dtrace to emulate a "push" instruction.
the initial version was from me and some improvements were from nick.

(chs)

2017-07-06 22:10:14 UTC MAIN commitmail json YAML

2017-07-06 21:08:44 UTC MAIN commitmail json YAML

Fix ISO C compliance: strtol of "0xX" should give the largest valid
numeric prefix, which is 0.

(joerg)

2017-07-06 21:07:09 UTC MAIN commitmail json YAML

Test for kernel build directory before reading DTB list

(jmcneill)

2017-07-06 20:26:05 UTC MAIN commitmail json YAML

gdt_prepframes() is called with a number of pages, don't convert to a number
of pages again. This didn't fail because we're called with only one page, and
the conversion from '1' to pages resulted in 1 again.

(bouyer)

2017-07-06 20:23:57 UTC MAIN commitmail json YAML

gdt_size is now in bytes, but the HYPERVISOR_set_gdt() expects a number
of entries and has not been converted.
Xen/i386 now boots again.

(bouyer)

2017-07-06 17:42:39 UTC MAIN commitmail json YAML

move the timestamp stuff to uipc_socket.c because it already has the compat
includes.

(christos)

2017-07-06 17:14:35 UTC MAIN commitmail json YAML

remove unnecessary casts; use sizeof(var) instead of sizeof(type).

(christos)

2017-07-06 17:12:34 UTC MAIN commitmail json YAML

remove unnecessary casts (no functional change)

(christos)

2017-07-06 17:08:57 UTC MAIN commitmail json YAML

Merge the two copies SO_TIMESTAMP/SO_OTIMESTAMP processing to a single
function, and add a SOOPT_TIMESTAMP define reducing compat pollution from
5 places to 1.

(christos)

2017-07-06 15:30:16 UTC netbsd-6 commitmail json YAML

1419, 1420, 1423, 1427, 1428, 1434

(snj)

2017-07-06 15:28:21 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1434):
sys/miscfs/procfs/procfs_map.c: revision 1.45
Maps don't change that frequently between reads, so don't give up and
do what linux does (support reading from an offset).

(snj)

2017-07-06 15:27:18 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1428):
usr.bin/ftp/fetch.c: revision 1.227
Use the first name we requested the http/https URL for, not any name we ended
up with after random redirects.

(snj)

2017-07-06 15:25:57 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #1427):
usr.sbin/traceroute6/traceroute6.c: revision 1.43
PR/47304: Kouki Ooyatsu: -s (source IPv6 address to be used) option does not
work because the wrong variable is used.

(snj)

2017-07-06 15:22:41 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1423):
usr.bin/ftp/fetch.c: revision 1.226
handle proxy authentication correctly.

(snj)

2017-07-06 15:21:32 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1420):
share/man/man3/bits.3: revision 1.17
These have been able to handle uintmax-width masks since creation.

(snj)

2017-07-06 15:20:00 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632

(snj)

2017-07-06 15:19:22 UTC netbsd-6-1 commitmail json YAML

2017-07-06 15:19:01 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632

(snj)

2017-07-06 15:18:44 UTC netbsd-6-0 commitmail json YAML

2017-07-06 15:18:23 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1419):
sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632

(snj)

2017-07-06 15:17:47 UTC MAIN commitmail json YAML

2017-07-06 15:09:17 UTC MAIN commitmail json YAML

Now that we can... mark kernel text as non-writable on MMUs that support
it.

(skrll)

2017-07-06 15:07:56 UTC MAIN commitmail json YAML

Re-define the L*_PROT_RO for MMUs that don't really support RO mapping
and adjust l2pte_set_{writeable,readony} to the new values.

This allows RO mappings for MMUs that actually support them.

(skrll)

2017-07-06 14:26:00 UTC MAIN commitmail json YAML

Only read gpio pin if the pin is valid

(jmcneill)

2017-07-06 14:01:38 UTC MAIN commitmail json YAML

Read the initial key state at startup so we only trigger events on state
changes. Prevents a misconfigured power button from shutting us down at
boot.

(jmcneill)

2017-07-06 11:09:01 UTC MAIN commitmail json YAML

Remove unused "power @ ebus" device, we use the firmware to handle power/
reboot.

(martin)

2017-07-06 10:44:20 UTC MAIN commitmail json YAML

2017-07-06 10:43:06 UTC MAIN commitmail json YAML

Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.

(jmcneill)

2017-07-06 09:49:46 UTC MAIN commitmail json YAML

Simplify; we can assume sav->tdb_xform cannot be NULL while it's valid

(ozaki-r)

2017-07-06 09:49:39 UTC MAIN commitmail json YAML

Revert previous - not a typo, even though it looks like one

(kre)

2017-07-06 09:48:42 UTC MAIN commitmail json YAML

Avoid updating sav directly

On SADB_UPDATE a target sav was updated directly, which was unsafe.
Instead allocate another sav, copy variables of the old sav to
the new one and replace the old one with the new one.

(ozaki-r)

2017-07-06 09:24:47 UTC MAIN commitmail json YAML

PR misc/52370

Correct typo.

XXX pullup 8, pullup 7

(kre)

2017-07-06 09:04:26 UTC MAIN commitmail json YAML

Fix usages of sadb_msg_errno

(ozaki-r)

2017-07-06 08:50:52 UTC MAIN commitmail json YAML

Move the location of wm_get_hw_control() in wm_init_locked() again. Doing
it "after" wm_reset() is required for some AMT based machines to linkup
1Gbps. Tested with HP dc7700.

(msaitoh)

2017-07-06 08:27:07 UTC MAIN commitmail json YAML

Apply C99-style struct initialization to enc_xform, auth_hash and comp_algo

(ozaki-r)

2017-07-06 08:22:45 UTC MAIN commitmail json YAML

2017-07-06 08:09:05 UTC MAIN commitmail json YAML

Update comment. SmartSpeed workaroud code was added in rev. 1.5. No functional
change.

(msaitoh)

2017-07-06 06:31:24 UTC MAIN commitmail json YAML

2017-07-06 05:29:43 UTC netbsd-8 commitmail json YAML

2017-07-06 05:28:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #99):
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.48
Make fp 0 on entry to idle_stack to ensure we mark that we're top of
stack

(martin)

2017-07-06 02:34:00 UTC MAIN commitmail json YAML

copy the CTF section too, if there is one.

(chs)

2017-07-06 00:35:28 UTC MAIN commitmail json YAML

Enable memory disk support in the TEGRA kernel and remove TEGRA_INSTALL.

(jmcneill)

2017-07-06 00:17:04 UTC MAIN commitmail json YAML

Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.

(jmcneill)

2017-07-05 23:04:09 UTC MAIN commitmail json YAML

in the awin_start startup code, set up a tiny stack in case a
C function wants to use it.  in the various *_mpinit functions,
avoid using caller-saved registers since these call C functions.
these changes allow -fno-omit-frame-pointer to work.

(chs)

2017-07-05 20:53:41 UTC MAIN commitmail json YAML

Make fp 0 on entry to idle_stack to ensure we mark that we're top of
stack

(skrll)

2017-07-05 20:27:50 UTC netbsd-8 commitmail json YAML

2017-07-05 20:23:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #98):
sys/arch/x86/x86/pmap.c: revision 1.252
remove panicstr KASSERT() in pmap_kremove_local() - kernel dump can
legitimely invoked also without panic - via reboot -d
fixes PR kern/49610 by Manuel Bouyer

(snj)

2017-07-05 20:19:22 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #97):
sys/opencrypto/crypto.c: 1.87-1.91
sys/opencrypto/cryptodev.c: 1.93-1.95
sys/opencrypto/cryptodev.h: 1.37
sys/opencrypto/cryptosoft.c: 1.52
sys/rump/dev/lib/libopencrypto/opencrypto_component.c: 1.5
sanitize count used for kmem_alloc size.
Hmm, who uses CIOCNGSESSION, CIOCNFSESSION, CIOCNCRYPTM or CIOCNFKEYM?
--
sanitize in CIOCNCRYPTM and initialize comp_alg in CIOCNGSESSION
--
must release cap->cc_lock before calling cap->cc_newsession() because of spinlock.
--
refactor crypto_newsession() like FreeBSD.
--
support multiple encryption drivers (port from FreeBSD).
--
Divide crp_devflags from crp_flags to write exclusively.
CRYPTO_F_DQRETQ(new name is CRYPTODEV_F_RET) is used by cryptodev.c only.
It should be divided to other member.
--
Reduce crypto_ret_q_mtx lock regions.
crypto.c does not access the members of crp when the crp is in crp_q or
crp_ret_q. Furthermore, crp_q and crp_ret_q are protected by each mutex,
so the members of crp is not shared. That means crp_flags is not required
mutex in crypto.c.
--
fix cryptosoft.c:r1.51 mistake. swcrypto_attach() must not be called from module_init_class().
swcrypto_attach() will call softint_establish(), it must be called after cpus
attached. module_init_class() is too early to call softint_establish().
--
simplify mutex_enter/exit(crypto_q_mtx), and fix missing exit.
--
reduce rump waring message. pointed out by ozaki-r@n.o, thanks.

(snj)

2017-07-05 20:15:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #96):
usr.bin/mkubootimage/mkubootimage.c: revision 1.19
Load address is not required for "ramdisk" images.

(snj)

2017-07-05 20:13:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #95):
etc/etc.vax/MAKEDEV.conf: revision 1.19
etc/etc.vax/Makefile.inc: revision 1.25
sys/arch/vax/conf/GENERIC_USB: revision 1.1
sys/arch/vax/conf/files.vax: revision 1.123
sys/arch/vax/conf/majors.vax: revision 1.27
USB for vax (similar to pmax; no/negligible impact on legacy):
* Add USB device files/majors.
* Make kernel configs with USB work.
* Provide a USB-enabled kernel config.
--
Add GENERIC_USB to vax kernel sets, but not to sysinst (yet), as bootloader
cannot handle kernels that large (yet).

(snj)

2017-07-05 20:11:18 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #94):
sys/arch/evbarm/conf/files.integrator: 1.12, 1.13
we don't support 'no device' so re-define it; it will get both file attachments
but that is not an error.
--
XXX: fix conflict with plrtc in sys/conf/files by re-defining.

(snj)

2017-07-05 20:07:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #93):
sbin/gpt/biosboot.c: revision 1.28
only do wedges if not the tools version.  fixes build on netbsd-4,
and any other place that might have the same ioctl name while having
something not quite right (in this case, cpuid_t in headers not
working properly..)

(snj)

2017-07-05 20:06:26 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #92):
sys/arch/arm/allwinner/awin_can.c: revision 1.3
In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.

(snj)

2017-07-05 20:04:40 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #91):
sys/kern/kern_event.c: revision 1.92
sys/miscfs/genfs/genfs_vnops.c: revision 1.198
sys/sys/event.h: revision 1.30
Provide EVFILT_WRITE; this is what FreeBSD does and go wants it.
Makes go unit tests pass.
--
fix file descriptor locking (from joerg).
fixes kernel crashes by running go

(snj)

2017-07-05 20:02:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #90):
sys/arch/i386/conf/kern.ldscript.Xen: revision 1.14
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386

(snj)

2017-07-05 20:01:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #89):
etc/mtree/NetBSD.dist.tests: revision 1.148
G/C libpthread_dbg from mtree
Remove entries:
- ./usr/libdata/debug/usr/tests/lib/libpthread_dbg
- ./usr/tests/lib/libpthread_dbg
Noted by <Herbert J. Skuhra> via private mail.

(snj)

2017-07-05 20:00:27 UTC MAIN commitmail json YAML

DEBUG only changes.  Convert the TRACE() calls in the remaining files
that still used it to the new format.  NFC.

(kre)

2017-07-05 19:59:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #88):
sys/arch/amd64/amd64/locore.S: revision 1.124
sys/arch/i386/i386/locore.S: revision 1.146
sys/arch/i386/i386/machdep.c: revision 1.783
sys/arch/i386/i386/trap.c: revision 1.288
Remove the osyscall call gate on i386, and emulate it. There is a one-
instruction race in it that could panic the kernel.

(snj)

2017-07-05 19:58:10 UTC MAIN commitmail json YAML

DEBUG changes: convert DEBUG TRACE() calls to new format.
ALso, cause exec failures to always cause the shell to exit with
status 126 or 127, whatever the cause.  127 is intended for lookup
failures (and is used that way), 126 is used for anything else that
goes wrong (as in several other shells.)  We no longer use 2 (more easily
confused with an exit status of the command exec'd) for shell exec failures.

(kre)

2017-07-05 19:57:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #87):
sys/arch/evbarm/conf/std.tegra: revision 1.14
Define __HAVE_CPU_UAREA_ALLOC_IDLELWP to make use of the idlelwp stacks
created by arm32_kvminit.c

(snj)

2017-07-05 19:55:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #86):
lib/libexecinfo/execinfo.h: revision 1.3
make this standalone.

(snj)

2017-07-05 19:54:21 UTC MAIN commitmail json YAML

Mostly DEBUG and white space changes.  Convert DEEBUG TRACE() calls to
the new format.  Also #if 0 a function definition that is used nowhere.
While here, change the function of pushfile() slightly - it now sets
the buf pointer in the top (new) input descriptor to NULL, instead of
simply leaving it - code that needs a buffer always (before and after)
must malloc() one and assign it after the call.  But code which does not
(which will be reading from a string or similar) now does not have to
explicitly set it to NULL (cleaner interface.)  NFC intended (or observed.)

(kre)

2017-07-05 19:50:49 UTC MAIN commitmail json YAML

Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.

(jmcneill)

2017-07-05 19:47:11 UTC MAIN commitmail json YAML

DEBUG and white space changes only.  Convert TRACE() calls for DEBUg mode
to the new style.  NFC (when not debugging sh).

(kre)

2017-07-05 19:30:51 UTC MAIN commitmail json YAML

the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@

(chs)

2017-07-05 17:54:46 UTC MAIN commitmail json YAML

don't print diagnostic for AF_LINK

(christos)

2017-07-05 17:19:52 UTC MAIN commitmail json YAML

2017-07-05 16:03:19 UTC netbsd-8 commitmail json YAML

2017-07-05 15:56:58 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #85):
external/gpl3/gcc/usr.bin/backend/Makefile: revision 1.37
external/gpl3/gcc/usr.bin/host-libcpp/Makefile: revision 1.3
Honor HOST_CXX.

(martin)

2017-07-05 15:50:24 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #84):
sys/miscfs/genfs/genfs_io.c: revision 1.70
Add missing check for dead or dying vnode to the entry of genfs_getpages().

(martin)

2017-07-05 15:48:02 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #83):
sys/arch/cats/cats/cats_machdep.c: revision 1.84
sys/arch/arm/footbridge/footbridge_io.c: revision 1.23
sys/arch/cats/conf/GENERIC: revision 1.162
Use devmap if available
Now that bus_space can use devmap - use it for early console
Comment out a bunch of thing so that a GENERIC kernel boots on my cats
with cyclone firmware

(martin)

2017-07-05 13:58:49 UTC netbsd-8 commitmail json YAML

2017-07-05 11:22:18 UTC MAIN commitmail json YAML

gcc 6.4 out.

(wiz)

2017-07-05 09:37:14 UTC MAIN commitmail json YAML

Wrap include of opt_machdep.h in ifdef _KERNEL_OPT

(jmcneill)

2017-07-05 03:44:59 UTC MAIN commitmail json YAML

Remove codes for PACKET_TAG_IPSEC_IN_CRYPTO_DONE

It seems that PACKET_TAG_IPSEC_IN_CRYPTO_DONE is for network adapters
that have IPsec accelerators; a driver sets the mtag to a packet
when its device has already encrypted the packet.

Unfortunately no driver implements such offload features for long
years and seems unlikely to implement them soon. (Note that neither
FreeBSD nor Linux doesn't have such drivers.) Let's remove related
(unused) codes and simplify the IPsec code.

(ozaki-r)

2017-07-05 01:25:03 UTC MAIN commitmail json YAML

Add test cases for updating SA/SP

The tests require newly-added udpate command of setkey.

(ozaki-r)

2017-07-05 01:22:40 UTC MAIN commitmail json YAML

Add update command for testing

Updating an SA (SADB_UPDATE) requires that a process issuing
SADB_UPDATE is the same as a process issued SADB_ADD (or SADB_GETSPI).
This means that update command must be used with add command in a
configuration of setkey. This usage is normally meaningless but
useful for testing (and debugging) purposes.

(ozaki-r)

2017-07-05 01:09:17 UTC MAIN commitmail json YAML

Load address is not required for "ramdisk" images.

(jmcneill)

2017-07-05 01:08:45 UTC MAIN commitmail json YAML

2017-07-04 21:19:33 UTC MAIN commitmail json YAML

Use I/O timestamps to compute disk statistics for better precision.

Disk statistics are collected in a fixed size array, that got corrupted
when a disk was detached. Adapt by skipping entries of detached disks
and detect reused disknames at the array end.

(mlelstv)

2017-07-04 16:36:40 UTC netbsd-8 commitmail json YAML

2017-07-04 16:13:58 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #82):
sys/net/if_media.h: revision 1.58
sys/net/if_media.h: revision 1.59
No functional change:
- Relocate definitions in the following order to be easy to understand.
0) IFM_*MASK
1) macros to extract various bits of information from the media word.
2) Media type.
3) Shared media sub-type.
4) Status bits.
5) Shared (global) options
6) Media dependent definitions.
7) kernel function declarations.
7) userland function declarations.
- Add comments.
This change makes me realize that:
0) RFU bit have never used.
1) bit 1..0 are shared between Shared media sub-type and Status bits.
    It's little dangerous.
2) No. 5 of Media type is not used (hole).
3) Only IEEE80211 uses IFM_MMASK(IFM_MODE()) bits.
4) IFM_TOKEN's OMASK bits doesn't start from 0x00000100 but starts from
    0x00000200. Is this for BSD/OS compatibility?
- Add some missing baudrate entries
- Add 1000BASE-KX and 2500BASE-KX

(martin)

2017-07-04 14:57:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #81):
sys/dev/pci/ixgbe/ixgbe.c: revision 1.89
sys/dev/pci/if_wm.c: revision 1.509
sys/dev/pci/ixgbe/ixgbe.c: revision 1.90
Use IFM_1000_KX and IFM_2500_KX.
Use IFM_1000_KX more.

(martin)

2017-07-04 14:35:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #80):
sys/dev/pci/pci_subr.c: revision 1.184
sys/dev/pci/pci_subr.c: revision 1.185
sys/dev/pci/pci_subr.c: revision 1.186
sys/dev/pci/pci_subr.c: revision 1.187
sys/dev/pci/pci_subr.c: revision 1.188
sys/dev/pci/pci_subr.c: revision 1.189
sys/dev/pci/pcireg.h: revision 1.131
Add missing return to print the Slot Power Limit Value correctly.
Fix to print the following bit fields correctly.
  -  Supported Link Speeds Vector in LCAP2
  -  Lower SKP OS Generation Supported Speed Vector  in LCAP2
  -  Lower SKP OS Reception Supported Speed Vector in LCAP2
  -  Enable Lower SKP OS Generation Vector in LCTL3
Note that the above bitfields start from 0 and the follwing bitfields start
from 1:
  -  Maximum Link Speed in LCAP
  -  Current Link Speed in LCSR
  -  Target Link Speed in LCSR2
For the Target Link Speed in LCSR2, 0 is allowed for a device which supports
2.5GT/s only (and this check also works for devices which compliant to
versions of the base specification prior to 3.0.
Tested with BCM5709:
-      Target Link Speed: unknown value (0)
+      Target Link Speed: 2.5GT/s
For Attention Indicator Control bit and Power Indicator Control bit, it's
allowed to be a read only value 0 if corresponding capability register bit
is 0.
Fix a bug that LTR's latency in L1 PM Substates capability and Latency
Tolerance Reporting capability isn't printed correctly.
Fix printf format/argument.

(martin)

2017-07-04 12:59:13 UTC netbsd-8 commitmail json YAML

2017-07-04 12:57:45 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #79):
distrib/utils/libhack/Makefile.inc: revision 1.27
lib/libc/gen/getcap.c: revision 1.57
distrib/utils/libhack/Makefile: revision 1.25
Make shared -DSMALL libc buildable without breaking libhack
We used -DSMALL to exclude code from libc in order to build
libhack. Introduce -DLIBHACK to do this without so that
-DSMALL does not remove code necessary for building a shared libc

(martin)

2017-07-04 12:54:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #78):
lib/libc/net/Makefile.inc: revision 1.87
Include IPv6 global variable in USE_INET6=no libc
This ensures a binary built with USE_INET6=yes libc can still link at
runtime with a USE_INET6=no libc. Of course IPv6 functionnality is not
available, but dynamic linking is not killed by missing symbols such
as in6addr_any.

(martin)

2017-07-04 12:47:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #64):
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.40
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.41
libexec/ld.elf_so/arch/hppa/hppa_reloc.c: revision 1.44
libexec/ld.elf_so/arch/riscv/mdreloc.c: revision 1.3
libexec/ld.elf_so/arch/aarch64/mdreloc.c: revision 1.3
libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.60
libexec/ld.elf_so/arch/m68k/mdreloc.c: revision 1.32
libexec/ld.elf_so/arch/sparc64/mdreloc.c: revision 1.61
libexec/ld.elf_so/arch/or1k/mdreloc.c: revision 1.2
libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.50
libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.33
libexec/ld.elf_so/arch/sh3/mdreloc.c: revision 1.34
libexec/ld.elf_so/arch/arm/mdreloc.c: revision 1.39
libexec/ld.elf_so/symbol.c: revision 1.68
libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.66
libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.67
libexec/ld.elf_so/arch/mips/mips_reloc.c: revision 1.68
libexec/ld.elf_so/arch/x86_64/mdreloc.c: revision 1.42
libexec/ld.elf_so/arch/powerpc/ppc_reloc.c: revision 1.54
libexec/ld.elf_so/Makefile: revision 1.137
libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.32
libexec/ld.elf_so/rtld.h: revision 1.127
libexec/ld.elf_so/arch/vax/mdreloc.c: revision 1.33
libexec/ld.elf_so/arch/i386/mdreloc.c: revision 1.38
libexec/ld.elf_so/arch/alpha/alpha_reloc.c: revision 1.42
libexec/ld.elf_so/map_object.c: revision 1.58
libexec/ld.elf_so/arch/sparc/mdreloc.c: revision 1.49
Replace COMBREL with just-in-time check in _rtld_relocate_nonplt_objects.
The COMBREL logic predates thread-safety of the dynamic linker and
breaks the use of shared locks for the common symbol lookup case. It is
unlikely to provide any benefit for lazy binding or PLT lookups, so
provide equivalent functionality in the non-PLT relocation handling loop
by checking if the symbol used by the current relocation is the same as
the one used during the last lookup. No inter-object cachine is done as
it is also unlikely to be benefical.
Testing with Firefox startup on AMD64 shows a small performance gain by
the new method.
Drop symbol number from default branch diagnostic, it isn't set at this
point and most likely not valid either.
Expand symnum, GCC's uninitialized used tracking is too imprecise.
Fix C&P bug. Deal with more MIPS hacks overriding def.
Add last_symnum, move up def and defobj.
Add back symnum, fix debug print.
Replace last use of r_type.
Fix indentation.
Fix indentation.

(martin)

2017-07-04 10:25:46 UTC MAIN commitmail json YAML

Rename u to udst, .dst to .sa and .dst4 to sin.
Create sockaddr for the source address in usrc so it won't stamp on udst.

This fixes a regression caused in r1.280

(roy)

2017-07-04 09:32:20 UTC MAIN commitmail json YAML

Update README. Noted by kre.

(wiz)

2017-07-04 08:12:28 UTC MAIN commitmail json YAML

2017-07-04 08:11:32 UTC MAIN commitmail json YAML

2017-07-04 08:09:19 UTC MAIN commitmail json YAML

KNF; replace leading whitespaces with hard tabs

(ozaki-r)

2017-07-04 07:13:44 UTC MAIN commitmail json YAML

2017-07-04 07:13:18 UTC MAIN commitmail json YAML

2017-07-04 07:12:18 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:11:18 UTC MAIN commitmail json YAML

2017-07-04 07:10:35 UTC MAIN commitmail json YAML

2017-07-04 07:10:06 UTC MAIN commitmail json YAML

2017-07-04 07:08:42 UTC MAIN commitmail json YAML

2017-07-04 07:07:23 UTC MAIN commitmail json YAML

Use more macros.

(wiz)

2017-07-04 07:05:16 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:04:51 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:03:32 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:02:44 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:01:53 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:01:07 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 07:00:30 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex. Remove duplicate RCS Id.

(wiz)

2017-07-04 06:59:35 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 06:58:55 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex. New sentence, new line.

(wiz)

2017-07-04 06:56:51 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 06:54:20 UTC MAIN commitmail json YAML

2017-07-04 06:53:12 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex. Sort sections.

(wiz)

2017-07-04 06:52:20 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use Ex.

(wiz)

2017-07-04 06:50:37 UTC MAIN commitmail json YAML

2017-07-04 06:50:04 UTC MAIN commitmail json YAML

2017-07-04 06:49:35 UTC MAIN commitmail json YAML

Use Ex. Remove superfluous Pp.

(wiz)

2017-07-04 06:48:41 UTC MAIN commitmail json YAML

2017-07-04 06:48:15 UTC MAIN commitmail json YAML

2017-07-04 06:47:27 UTC MAIN commitmail json YAML

2017-07-04 06:46:51 UTC MAIN commitmail json YAML

2017-07-04 06:45:05 UTC MAIN commitmail json YAML

Simplify IPSEC_OSTAT macro (NFC)

(ozaki-r)

2017-07-04 06:42:46 UTC MAIN commitmail json YAML

Add EXIT STATUS section. Use more macros.
New sentence, new line.

(wiz)

2017-07-04 06:39:17 UTC MAIN commitmail json YAML

2017-07-04 06:35:46 UTC MAIN commitmail json YAML

Use more macros.

(wiz)

2017-07-04 06:34:03 UTC MAIN commitmail json YAML

2017-07-04 06:33:14 UTC MAIN commitmail json YAML

Use EXIT STATUS and .Ex.

(wiz)

2017-07-04 05:03:09 UTC MAIN commitmail json YAML

2017-07-04 05:02:48 UTC MAIN commitmail json YAML

Add Intel 82Q965 HECI.

(msaitoh)

2017-07-03 21:35:49 UTC MAIN commitmail json YAML

2017-07-03 21:35:33 UTC MAIN commitmail json YAML

2017-07-03 21:34:57 UTC MAIN commitmail json YAML

2017-07-03 21:34:23 UTC MAIN commitmail json YAML

2017-07-03 21:33:42 UTC MAIN commitmail json YAML

2017-07-03 21:33:24 UTC MAIN commitmail json YAML

2017-07-03 21:32:51 UTC MAIN commitmail json YAML

2017-07-03 21:31:01 UTC MAIN commitmail json YAML

2017-07-03 21:28:48 UTC MAIN commitmail json YAML

2017-07-03 21:16:36 UTC MAIN commitmail json YAML

Update to include new cv_timedwaitbt() and cv_timedwaitbt_sig().

Also update code example.

OK riastradh@

(pgoyette)

2017-07-03 20:16:44 UTC MAIN commitmail json YAML

Do a better job of detecting the error in pkgsrc/devel/libbson-1.6.3's
configure script, ie: $(( which is intended to be a sub-shell in a
command substitution, but is an arith subst instead, it needs to be
written $( ( to do as intended.  Instead of just blindly carrying on to
find the missing )) somewhere, anywhere, give up as soon as we have seen
an unbalanced ')' that isn't immediately followed by another ')' which
in a valid arith subst it always would be.

While here, there has been a comment in the code for quite a while noting a
difference in the standard between the text descr & grammar when it comes to
the syntax of case statements.  Add more comments to explain why parsing it
as we do is in fact definitely the correct way (ie: the grammar wins arguments
like this...).

(kre)

2017-07-03 19:54:44 UTC jdolecek-ncq commitmail json YAML

reset xfer c_flags before retry, to clear flags like C_TIMEOU, or C_NCQ,
so that retry, and no-NCQ downgrade logic actually works - drivers
typically doesn't reset this field

print number of retries to make it easier to spot the same xfer being
retried several times

in wddone(), hold the wd lock only when reading/changing wd softc
structures, and not e.g. when calling malloc(), rnd_add_uint32() or
ata_free_xfer(), which have their own locks; initially done to fix
diagnostic assertion about held spin lock in kpause() within
ata_reset_drive hook, but need to run that hook with AT_POLL anyway,
since wddone() is typically invoked from interrupt context

fix another interrupt context bug for WD_SOFTBADSECT - the malloc() needs
to be called with M_NOWAIT

(jdolecek)

2017-07-03 19:31:16 UTC jdolecek-ncq commitmail json YAML

introduce some code to test retry paths

(jdolecek)

2017-07-03 18:54:11 UTC MAIN commitmail json YAML

2017-07-03 18:17:01 UTC jdolecek-ncq commitmail json YAML

expand what needs to be done with error handling

(jdolecek)

2017-07-03 16:43:01 UTC MAIN commitmail json YAML

When outputting, search for the sending address on the sending interface
rather than blindly picking the first matcing address from any interface
when testing source address validity.

This allows another interface to have the same address, but be detached.

(roy)

2017-07-03 13:18:31 UTC MAIN commitmail json YAML

2017-07-03 09:08:35 UTC MAIN commitmail json YAML

As pad devices are now created on demand - pad has to be open for a
corresponding mixer to be available.

(nat)

2017-07-03 08:29:58 UTC MAIN commitmail json YAML

2017-07-03 08:29:22 UTC MAIN commitmail json YAML

2017-07-03 08:29:03 UTC MAIN commitmail json YAML

Add X550 and X557.

(msaitoh)

2017-07-03 06:44:58 UTC MAIN commitmail json YAML

only do wedges if not the tools version.  fixes build on netbsd-4,
and any other place that might have the same ioctl name while having
something not quite right (in this case, cpuid_t in headers not
working properly..)

XXX: pullup-8

(mrg)

2017-07-03 06:01:16 UTC MAIN commitmail json YAML

2017-07-03 03:12:43 UTC MAIN commitmail json YAML

Add new declarations of cv_timedwaitbt and cv_timedwaitbt_sig, too.

Helps to put all the files I meant to commit on the command line!

Noted by pgoyette, thanks!

(riastradh)

2017-07-03 02:12:47 UTC MAIN commitmail json YAML

Add cv_timedwaitbt, cv_timedwaitbt_sig.

Takes struct bintime maximum delay, and decrements it in place so
that you can use it in a loop in case of spurious wakeup.

Discussed on tech-kern a couple years ago:

https://mail-index.netbsd.org/tech-kern/2015/03/23/msg018557.html

Added a parameter for expressing desired precision -- not currently
interpreted, but intended for a future tickless kernel with a choice
of high-resolution timers.

(riastradh)

2017-07-03 00:53:33 UTC MAIN commitmail json YAML

Nix trailing whitespace.  No functional change.

(riastradh)

2017-07-03 00:51:44 UTC MAIN commitmail json YAML

Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP

(jmcneill)

2017-07-03 00:47:34 UTC MAIN commitmail json YAML

Add of_match_compat_data.

This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.

(jmcneill)

2017-07-02 22:41:30 UTC MAIN commitmail json YAML

Rename JETSONTK1 to TEGRA, add SUNXI

(jmcneill)

2017-07-02 22:39:44 UTC MAIN commitmail json YAML

Replace HUMMINGBIRD_A31 with the SUNXI kernel.

(jmcneill)

2017-07-02 22:39:05 UTC MAIN commitmail json YAML

2017-07-02 21:59:14 UTC MAIN commitmail json YAML

Disallow sharing between MPSAFE and non-MPSAFE handlers.

(jmcneill)

2017-07-02 21:13:06 UTC MAIN commitmail json YAML

Fix some register definitions.

(jmcneill)

2017-07-02 18:27:45 UTC MAIN commitmail json YAML

No need to explicitly set pinctrl config 0 now

(jmcneill)

2017-07-02 18:22:29 UTC MAIN commitmail json YAML

Define __HAVE_CPU_UAREA_ALLOC_IDLELWP

(skrll)

2017-07-02 18:21:52 UTC MAIN commitmail json YAML

Configure pin defaults at attach

(jmcneill)

2017-07-02 18:19:26 UTC MAIN commitmail json YAML

Fix typo in a compat string.

(jmcneill)

2017-07-02 18:06:45 UTC MAIN commitmail json YAML

2017-07-02 17:13:08 UTC MAIN commitmail json YAML

Do not look at environmental variables for suid/guid binaries.

(joerg)

2017-07-02 16:41:33 UTC MAIN commitmail json YAML

Export the guard size of the main thread via vm.guard_size. Add a
complementary writable sysctl for the initial guard size of threads
created via pthread_create. Let the existing attribut accessors do the
right thing. Raise the default guard size for threads to 64KB.

(joerg)

2017-07-02 16:19:47 UTC MAIN commitmail json YAML

2017-07-02 16:16:44 UTC MAIN commitmail json YAML

2017-07-02 16:06:42 UTC MAIN commitmail json YAML

2017-07-02 15:28:25 UTC MAIN commitmail json YAML

2017-07-02 15:27:58 UTC MAIN commitmail json YAML

Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.

(jmcneill)

2017-07-02 15:09:53 UTC MAIN commitmail json YAML

In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.

(bouyer)

2017-07-02 15:08:29 UTC netbsd-8 commitmail json YAML

Revert previous; wrong branch

(bouyer)

2017-07-02 15:07:13 UTC netbsd-8 commitmail json YAML

In the RX IRQ handler, release the receive buffer in the error paths.
Fix a hang I've been seeing under high traffic.

(bouyer)