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 (2h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 17:06:32 UTC Now

2014-11-27 01:44:59 UTC MAIN commitmail json YAML

Welcome to 7.99.2 (struct ifnet change)

(ozaki-r)

2014-11-26 23:44:21 UTC MAIN commitmail json YAML

Changes done in rsh.c rev. 1.35 was incomplete.  As chuq pointed
in private mail, it broke rcp(1).

To achieve the documented behavior and to fix long standing incorrect
rsh(1) behavior which I've tried to fix in rev. 1.35, rcmd(1) should have
two operation mode; whether it should relay signal information on
auxiliary channel or not, depending on the argument `fd2p' passed to rcmd(3).
So, make rcmd(1) behave differntly depending on the environment variable and
set it when necessary in rcmd(3) according to how auxiliary channel
is set up by rcmd(3).

(enami)

2014-11-26 22:50:22 UTC MAIN commitmail json YAML

Appease gcc 4.8 - from Greg Willatt in private email.

(skrll)

2014-11-26 21:25:35 UTC MAIN commitmail json YAML

NPF: fix the reference counting and share the active NAT portmap correctly
when performing the reload.  Should fixes PR/49412, reported by kardel@.

(rmind)

2014-11-26 20:46:46 UTC MAIN commitmail json YAML

New sentence, new line. Use more markup. Sort SEE ALSO.

(wiz)

2014-11-26 20:42:29 UTC MAIN commitmail json YAML

Mention the new bootspec variable.
Give more details about the root device configuration.

(mlelstv)

2014-11-26 16:48:43 UTC MAIN commitmail json YAML

- Use O_DIRECTORY to open the file, so that we don't need to stat() after
  that.
- Move the stat() call to fdopendir() and change it's error handling so that
  it does not hide errors.
- According to POSIX, fdopendir() transfers ownership of the fd only on
  success, so don't close it on failure. XXX: We still make it non-blocking
  on failure, but that's nitpicking.

XXX: pullup-7?

(christos)

2014-11-26 16:05:51 UTC MAIN commitmail json YAML

Note import of dhcpcd-6.6.4

(roy)

2014-11-26 16:05:14 UTC MAIN commitmail json YAML

2014-11-26 13:45:00 UTC MAIN commitmail json YAML

Note import of dhcpcd-6.6.3

(roy)

2014-11-26 13:43:06 UTC MAIN commitmail json YAML

2014-11-26 10:50:36 UTC MAIN commitmail json YAML

Do not follow symlinks in sys_unmount()

There are situations where the underlying filesystem is unreachable
(e.g: NFS) causing symlink resolution to hang. Such a situation
should be avoided by using umount -f -R (force and raw), but while -R
causes the symlink resolution to be skipped in umount(8), the kernel was
still doing it in sys_unmount(). This changes fixes that.

When the -R flag is not given, umount(8) does symlinks resolution through
realpath(3) before calling unmount(2), hence not doing it in the kernel
would not change behavior.

(manu)

2014-11-26 10:18:38 UTC MAIN commitmail json YAML

Call looutput with holding KERNEL_LOCK

This fixes diagnostic assertion "KERNEL_LOCKED_P()" in if_loop.c.

PR kern/49410

(ozaki-r)

2014-11-26 10:12:27 UTC MAIN commitmail json YAML

2014-11-26 09:53:53 UTC MAIN commitmail json YAML

Tweak ifconf variants

The tweaks make the code intention clear and make further changes easy.

No functional change.

(ozaki-r)

2014-11-26 09:38:42 UTC MAIN commitmail json YAML

Change if_slowtimo_ch to a pointer

One benefit to do so is to reduce memory used for struct callout;
we can avoid to allocate struct callout for interfaces that don't
use callout.

Requested by uebayasi@.

(ozaki-r)

2014-11-26 07:43:04 UTC MAIN commitmail json YAML

Create if_slowtimo (if_watchdog) callout for each interface

This change is to obviate the need to run if_slowtimo callbacks that
may sleep inside IFNET_FOREACH. And also by this change we can turn
on MPSAFE of callouts individually.

Discussed with uebayasi@ and riastradh@.

(ozaki-r)

2014-11-26 07:39:52 UTC MAIN commitmail json YAML

In all_etypes prefer des3-cbc-sha1 over arcfour-hmac-md5 (#24c8bac)

(pettai)

2014-11-26 07:22:05 UTC MAIN commitmail json YAML

Rename if_watchdog to if_slowtimo

if_watchdog callbacks do a little more than what "watchdog" suggests.

Discussed with uebayasi@ (the idea originally from openbsd-tech).

(ozaki-r)

2014-11-26 07:06:03 UTC MAIN commitmail json YAML

2014-11-26 04:20:30 UTC MAIN commitmail json YAML

Add option ARM_HAS_LPAE

(matt)

2014-11-26 00:31:32 UTC MAIN commitmail json YAML

Avoid coredumps when the linenumbers in the hunks turn negative.
From: http://marc.info/?l=openbsd-tech&m=141693055412785

XXX: pullup 7

(christos)

2014-11-25 19:54:08 UTC MAIN commitmail json YAML

2014-11-25 19:51:17 UTC MAIN commitmail json YAML

CID 977389: Out of bounds access.

(christos)

2014-11-25 19:48:24 UTC MAIN commitmail json YAML

CID 977076: Widen before multiply.

(christos)

2014-11-25 19:09:13 UTC MAIN commitmail json YAML

Really make SO_REUSEPORT and SO_REUSEADDR equivalent for multicast
sockets.  From FreeBSD.

(seanb)

2014-11-25 15:53:38 UTC netbsd-7 commitmail json YAML

2014-11-25 15:51:47 UTC netbsd-7 commitmail json YAML

Remove options DEBUG. Requested by skrll in #265

(martin)

2014-11-25 15:49:28 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #265):
sys/arch/arm/broadcom/bcm2835_emmc.c: revision 1.20
Only use 128-bit mode when the transfer is a multiple of this.
From Jared (the arm periph guy)

(martin)

2014-11-25 15:23:36 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #264):
lib/libc/net/base64.c: revision 1.15
lib/libc/net/base64.c: revision 1.16
Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!
knf, no functional change.

(martin)

2014-11-25 15:07:37 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #263):
lib/libc/arch/x86_64/sys/ptrace.S: revision 1.6
Fix ptrace %rcx corruption when pthread_errno() is used. Small example:
    #include <sys/types.h>
    #include <stdio.h>
    #include <sys/ptrace.h>
    int main(void) { ptrace(18, getpid(), NULL, 0xabcd); }
The -lpthread cases pases 0 instead of 0xabcd

(martin)

2014-11-25 15:04:37 UTC MAIN commitmail json YAML

Clean up any dangling ifp references in (struct in6pcb *)->in6p_v4moptions
(v4 multicast options off v4 mapped v6 socket) on interface destruction.  The
code to clean this up in a true v4 socket was moved to its own function
which is now also called in the corresponding place for v6 sockets on
interface destruction.

(seanb)

2014-11-25 14:53:23 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #262):
sys/kern/sys_process.c: revision 1.165
Don't return early when the incorrect size is passed to some of the
ptrace actions. Leaves locks dangling and causes panics with lockdebug.

(martin)

2014-11-25 14:32:45 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #261):
sys/arch/evbarm/conf/BPI: revision 1.13
Fix pasto: BPI.local, not CUBIEBOARD.local

(martin)

2014-11-25 14:30:05 UTC MAIN commitmail json YAML

Only use 128-bit mode when the transfer is a multiple of this.

From Jared (the arm periph guy)

(skrll)

2014-11-25 13:42:31 UTC MAIN commitmail json YAML

disable wapbl for evbarm images until stability issues are sorted out

(jmcneill)

2014-11-25 12:33:13 UTC MAIN commitmail json YAML

Avoid use after pool_put.

(nakayama)

2014-11-25 12:02:20 UTC MAIN commitmail json YAML

Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.

Hi uebs!

(skrll)

2014-11-25 12:01:18 UTC MAIN commitmail json YAML

Another section to delete when converting elf -> a.out

(skrll)

2014-11-25 08:25:46 UTC MAIN commitmail json YAML

Fix wrong expected outputs

IP addresses in the expected outputs looks reversed (in byte order).
It seems the expected outputs had been generated based on source code
with a bug and the bug was fixed by a commit titled "#534 destination
list hashing not endian neutral" by darrenr@.

(ozaki-r)

2014-11-25 08:09:45 UTC netbsd-7 commitmail json YAML

2014-11-25 08:08:10 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #266):
sys/arch/arm/allwinner/awin_reg.h: revision 1.54
sys/arch/arm/allwinner/awin_wdt.c: revision 1.5
- Write the correct value to the ctrl register to restart the watchdog.
  Watchdog restart bit is 0 not 1, and we need to write a key as well.
- Add A31 support.

(snj)

2014-11-25 08:03:06 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #260):
sys/arch/arm/allwinner/awin_var.h: revision 1.26
sys/arch/arm/allwinner/awin_gige.c: revision 1.19
sys/arch/arm/allwinner/awin_gpio.c: revision 1.14
Let pinsets override the default multi-driving select level.
--
Set GMAC pin drv level 3 on A31

(snj)

2014-11-25 07:58:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #259):
sys/dev/ic/dwc_gmac.c: revision 1.27
Fix bus_dmamap_sync usage.

(snj)

2014-11-25 07:55:25 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by agc in ticket #258):
tests/usr.bin/netpgpverify/t_netpgpverify.sh: revision 1.2
Since the netpgpverify rewrite to have no external pre-requisites, the
output format for signatures has changed cosmetically (mainly
whitespace changes).  Re-format all the test cases so that the tests
now pass again with the new output format:
Tests root: /usr/tests/usr.bin/netpgpverify
t_netpgpverify (1/1): 2 test cases
    netpgpverify_dsa: [0.261980s] Passed.
    netpgpverify_rsa: [0.237469s] Passed.
[0.509571s]
Summary for 1 test programs:
    2 passed test cases.
    0 failed test cases.
    0 expected failed test cases.
    0 skipped test cases.

(snj)

2014-11-25 07:49:22 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #257):
sys/arch/arm/allwinner/awin_twi.c: revision 1.5
sys/arch/arm/allwinner/awin_reg.h: revision 1.53
sys/arch/evbarm/conf/HUMMINGBIRD_A31: revision 1.20
sys/dev/i2c/gttwsi_core.c: revision 1.2
sys/dev/i2c/gttwsivar.h: revision 1.2
On Allwinner A31 you need to set the CONTROL_IFLG bit to clear it. Add
a "iflg-rwc" property to enable this behaviour.
--
Don't assume that U-Boot has enabled the TWI clock. Also, for A31, set
the "iflg-rwc" device property for gttwsi.
--
The SoC RTC works on this board but does not seem to be hooked up to the
battery. Thankfully, there is a PCF8563 attached to TWI2 at address 51h,
so use that instead.

(snj)

2014-11-25 07:42:35 UTC MAIN commitmail json YAML

Explicitly set LOADADDRESS, the linker script hack is overriden by
command line arguments now.

(martin)

2014-11-25 05:28:26 UTC MAIN commitmail json YAML

fix _MTC0_V0_USERLOCAL for _LP64 as well
ok matt@

(macallan)

2014-11-25 05:05:16 UTC MAIN commitmail json YAML

Add note about the variations of Intel gigabit Ethernet controller.

(msaitoh)

2014-11-25 04:55:13 UTC MAIN commitmail json YAML

remove some cargoculted goop

(macallan)

2014-11-25 03:31:12 UTC MAIN commitmail json YAML

avoid NULL pointer dereference when acpivga isn't attached.

(nonaka)

2014-11-25 02:29:57 UTC MAIN commitmail json YAML

Change the "mDNSPlatformRawTime went backwards" message from LogMsg to
debugf. It's not that interesting, as it is comparing the results of two
gettimeofday() calls.

(jmcneill)

2014-11-25 00:06:32 UTC MAIN commitmail json YAML

- Write the correct value to the ctrl register to restart the watchdog.
  Watchdog restart bit is 0 not 1, and we need to write a key as well.
- Add A31 support.

(jmcneill)

2014-11-24 21:49:17 UTC MAIN commitmail json YAML

iscsi_attrs is not used when iscsi(4) is compiled into the kernel.

(joerg)

2014-11-24 17:29:03 UTC MAIN commitmail json YAML

Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to
avoid -Werror.
OK christos@ and riastradh@

(prlw1)

2014-11-24 15:43:21 UTC MAIN commitmail json YAML

knf, no functional change.

(christos)

2014-11-24 15:41:18 UTC MAIN commitmail json YAML

Don't read past the end when the data is exactly the right size. Reported
by tedu @ openbsd in tech-userlevel. Thanks!

(christos)

2014-11-24 15:33:18 UTC MAIN commitmail json YAML

Fix ptrace %rcx corruption when pthread_errno() is used. Small example:
    #include <sys/types.h>
    #include <stdio.h>
    #include <sys/ptrace.h>
    int main(void) { ptrace(18, getpid(), NULL, 0xabcd); }
The -lpthread cases pases 0 instead of 0xabcd

(christos)

2014-11-24 15:22:59 UTC MAIN commitmail json YAML

Terminate messages with a newline so that dialog box won't overwrite messages.

Should be pulled up to netbsd-7 (and netbsd-6) branches.

(tsutsui)

2014-11-24 12:53:23 UTC MAIN commitmail json YAML

Use TPIDRPRW_IS_CURLWP as it's a slight code reduction and performance
improvement.

(skrll)

2014-11-24 12:51:23 UTC MAIN commitmail json YAML

fix krb5_pwcheck, remove dot from htmlman

(pettai)

2014-11-24 12:20:20 UTC MAIN commitmail json YAML

2014-11-24 12:14:40 UTC MAIN commitmail json YAML

2014-11-24 11:19:45 UTC MAIN commitmail json YAML

Add cat3 and html3 entries as well...

(pettai)

2014-11-24 11:01:07 UTC MAIN commitmail json YAML

Added new kadm5_pwcheck.3 MLINKS entries

(pettai)

2014-11-24 10:49:27 UTC MAIN commitmail json YAML

2014-11-24 10:14:15 UTC MAIN commitmail json YAML

2014-11-24 08:29:26 UTC MAIN commitmail json YAML

Regen config files from GENERIC.in rev 1.109 by makeconf:

> Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.
>
> This allows all (at least ATARITT and FALCON, which have certain users)
> gzipped kernel binaries put into 1440KB 2HD floppy so that users can
> load these kernels on the native TOS using LOADBSD.TTP utility for
> installation.  Note SMALL030 kernel doesn't include any Ethernet
> configuration and requires CD-ROM or other removable disks.
>
> Should be pulled up to netbsd-7.

(tsutsui)

2014-11-24 08:23:48 UTC MAIN commitmail json YAML

Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.

This allows all (at least ATARITT and FALCON, which have certain users)
gzipped kernel binaries put into 1440KB 2HD floppy so that users can
load these kernels on the native TOS using LOADBSD.TTP utility for
installation.  Note SMALL030 kernel doesn't include any Ethernet
configuration and requires CD-ROM or other removable disks.

Should be pulled up to netbsd-7.

(tsutsui)

2014-11-24 08:08:23 UTC MAIN commitmail json YAML

Disable "OS bootversion check" on crunched binaries for installation media.

This oscheck() function seems implemented to check compatibility
between bootloaders and /netbsd kernel, but checking /netbsd using kvm(3)
doesn't make sense on installation or even future cross builds, and
probably we will never bump bootloader version without compatibility
per recent 14 years history.

This works around overflow of 1440KB 2HD sysinst.fs, and would also be
worth to pullup to netbsd-7.

(tsutsui)

2014-11-24 07:53:43 UTC MAIN commitmail json YAML

2014-11-24 07:52:04 UTC MAIN commitmail json YAML

Specify -fno-strict-aliasing as a temporary workaround for gcc48.

The existing abcksum() also violates strict-aliasing rule
(while current gcc48 doesn't warn it) and fixing all violations
strictly requires whole reorganization of boot sector structures.
But it won't happen soon and this MD installboot should be integrated
into MI installboot(8) in future, and it requires whole overhaul anyway.
See long discussion in source-changes-d@ for details.

Should be pulled up to netbsd-7 if we switches m68k to using gcc48.

(tsutsui)

2014-11-24 07:34:45 UTC MAIN commitmail json YAML

Revert previous again.

There are claims that it still violates strict-aliasing rule and
it is no sense to just appease compiler by incorrect implementation.

(tsutsui)

2014-11-24 04:06:13 UTC MAIN commitmail json YAML

2014-11-24 02:36:31 UTC MAIN commitmail json YAML

Print the shared lock(s) before we panic, to aid with debugging.

(christos)

2014-11-24 02:34:04 UTC MAIN commitmail json YAML

Don't return early when the incorrect size is passed to some of the
ptrace actions. Leaves locks dangling and causes panics with lockdebug.
XXX: Pullup 7

(christos)

2014-11-24 01:27:07 UTC MAIN commitmail json YAML

Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411).

(riastradh)

2014-11-23 23:05:19 UTC MAIN commitmail json YAML

Set GMAC pin drv level 3 on A31

(jmcneill)

2014-11-23 23:04:58 UTC MAIN commitmail json YAML

Let pinsets override the default multi-driving select level.

(jmcneill)

2014-11-23 22:42:14 UTC MAIN commitmail json YAML

Fix bus_dmamap_sync usage.

(matt)

2014-11-23 20:59:04 UTC netbsd-7 commitmail json YAML

2014-11-23 20:58:15 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #249):
sys/rump/dev/lib/libaudio/Makefile: revision 1.3
sys/rump/dev/lib/libpad/Makefile: revision 1.4
Adopy recent software volume control change.

(snj)

2014-11-23 20:02:37 UTC MAIN commitmail json YAML

Fix pasto: BPI.local, not CUBIEBOARD.local

(snj)

2014-11-23 16:36:03 UTC MAIN commitmail json YAML

- generate the list of disks only once and select from them later
- don't generate empty/useless files when disklabel or dkctl don't have data

(christos)

2014-11-23 16:16:29 UTC MAIN commitmail json YAML

Back out previous, fix PR kern/49411 correctly.

frame->header.length is not initialized in the vendor packet case.
Instead, make hdmi_infoframe_header_pack take the packet length and
subtract the size of the header when packing the header.

(Could make it take the payload length instead, but for callers it is
more convenient to have a name for the whole packet length.)

(riastradh)

2014-11-23 16:07:10 UTC MAIN commitmail json YAML

Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>.

Fixes PR kern/49411.

(riastradh)

2014-11-23 15:43:49 UTC MAIN commitmail json YAML

- pass the proper argument vector so that subcommands can use getopt.
- add -q and -e for listwedges.

(christos)

2014-11-23 13:42:06 UTC MAIN commitmail json YAML

The SoC RTC works on this board but does not seem to be hooked up to the
battery. Thankfully, there is a PCF8563 attached to TWI2 at address 51h,
so use that instead.

(jmcneill)

2014-11-23 13:39:58 UTC MAIN commitmail json YAML

Don't assume that U-Boot has enabled the TWI clock. Also, for A31, set
the "iflg-rwc" device property for gttwsi.

(jmcneill)

2014-11-23 13:37:27 UTC MAIN commitmail json YAML

On Allwinner A31 you need to set the CONTROL_IFLG bit to clear it. Add
a "iflg-rwc" property to enable this behaviour.

(jmcneill)

2014-11-23 13:25:33 UTC netbsd-7 commitmail json YAML

2014-11-23 13:23:50 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #256):
sys/dev/auvolconv.c: revision 1.2
When this code was split from dev/pad, the "volume" member size was changed
from u_int to uint8_t. This had the unfortunate side-effect of introducing
an integer overflow when adjusting samples as the largest type used was now
int16_t. This change copies the volume level to a temporary u_int and uses
that in the calculation. Fixes recent failures with the
dev/audio/t_pad/pad_output test.

(martin)

2014-11-23 13:13:26 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #255):
sys/dev/i2c/axp22x.c: revision 1.2
Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.

(martin)

2014-11-23 13:11:03 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #254):
sys/ufs/ufs/ufs_extattr.c: revision 1.46
Fix uninitialized mutex usage
We use extended attribute mount mutex before testing if it had been
initialized, and as reported by Christos,  this caused panic with
LOCKDEBUG. Fix it by testing before using.

(martin)

2014-11-23 13:07:05 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #249):
sys/modules/pad/Makefile: revision 1.2
sys/arch/arm/allwinner/awin_hdmiaudio.c: revision 1.5
sys/dev/pad/pad.c: revision 1.22
sys/dev/pad/padvol.c: file removal
sys/dev/pad/files.pad: revision 1.5
sys/dev/auvolconv.c: revision 1.1
sys/dev/pad/padvol.h: file removal
sys/dev/audio.c: revision 1.266
sys/dev/files.audio: revision 1.3 (via patch: sys/conf/files)
sys/dev/auvolconv.h: revision 1.1
sys/dev/pad/padvar.h: revision 1.5
sys/dev/audio_if.h: revision 1.70
sys/arch/arm/allwinner/files.awin: revision 1.26
Add common audio converters for software volume control. Only supports
slinear16_le and slinear16_be for now.
Convert pad(4) and awin_hdmiaudio to use the new converters.

(martin)

2014-11-23 12:23:25 UTC MAIN commitmail json YAML

When this code was split from dev/pad, the "volume" member size was changed
from u_int to uint8_t. This had the unfortunate side-effect of introducing
an integer overflow when adjusting samples as the largest type used was now
int16_t. This change copies the volume level to a temporary u_int and uses
that in the calculation. Should fix recent failures with the
dev/audio/t_pad/pad_output test.

(jmcneill)

2014-11-23 11:08:16 UTC MAIN commitmail json YAML

Revert previous change to dwc_gmac_txintr() - while it looks strange at
first sight (and sorry I didn't spot it when reviewing), it is a small
optimization and actually correct.
Add a comment explaining it.

(martin)

2014-11-23 10:00:20 UTC MAIN commitmail json YAML

Pull workqueue_destroy out of sme->sme_mtx

workqueue_destroy may sleep so we shouldn't run it with holding a mutex.

Requested by riastradh@.

(ozaki-r)

2014-11-23 09:05:23 UTC MAIN commitmail json YAML

Fix TPIDRPRW_IS_CURLWP builds.

A MULTIPROCESSOR kernel requires TPIDRPRW_IS_CURCPU.

(skrll)

2014-11-23 05:00:24 UTC netbsd-5-2 commitmail json YAML

2014-11-23 04:59:33 UTC netbsd-5-2 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #1934):
distrib/sets/lists/base/mi: revision 1.1090
Add ./usr/share/zoneinfo/Pacific/Bougainville for tzdata2014i

(snj)

2014-11-23 04:56:23 UTC netbsd-5-1 commitmail json YAML

2014-11-23 04:55:39 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #1934):
distrib/sets/lists/base/mi: revision 1.1090
Add ./usr/share/zoneinfo/Pacific/Bougainville for tzdata2014i

(snj)

2014-11-23 04:52:53 UTC netbsd-5 commitmail json YAML

2014-11-23 04:52:14 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by apb in ticket #1934):
distrib/sets/lists/base/mi: revision 1.1090
Add ./usr/share/zoneinfo/Pacific/Bougainville for tzdata2014i

(snj)

2014-11-23 02:15:52 UTC MAIN commitmail json YAML

2014-11-23 01:56:35 UTC MAIN commitmail json YAML

Since the netpgpverify rewrite to have no external pre-requisites, the
output format for signatures has changed cosmetically (mainly
whitespace changes).  Re-format all the test cases so that the tests
now pass again with the new output format:

Tests root: /usr/tests/usr.bin/netpgpverify

t_netpgpverify (1/1): 2 test cases
    netpgpverify_dsa: [0.261980s] Passed.
    netpgpverify_rsa: [0.237469s] Passed.
[0.509571s]

Summary for 1 test programs:
    2 passed test cases.
    0 failed test cases.
    0 expected failed test cases.
    0 skipped test cases.

(agc)

2014-11-23 01:47:59 UTC MAIN commitmail json YAML

Replace very question pointer games to override const, mark the member
writeable when inside the guts of the library.

(joerg)

2014-11-23 01:38:49 UTC MAIN commitmail json YAML

Provide the timeout argument to ahci_exec_fis in ms. Use 1ms delays
when we are not allowed to sleep, full ticks otherwise.

Bump the timeout for reset to 100ms, 10ms is not enough on the
Cubietruck.

(joerg)

2014-11-22 19:50:28 UTC MAIN commitmail json YAML

2014-11-22 19:50:00 UTC MAIN commitmail json YAML

Replace void * cast with proper __UNVOLATILE.

(joerg)

2014-11-22 19:48:36 UTC MAIN commitmail json YAML

Fix copy and pasto in #ident

(martin)

2014-11-22 19:42:11 UTC MAIN commitmail json YAML

regenerate mknative files for m68000 now that the build actually completes.

this includes a hack matt@ found -- remove -fPIC from libgcc's defs.mk, i
have not yet figured out how to stop confgiure adding it.

(mrg)

2014-11-22 19:41:27 UTC MAIN commitmail json YAML

use --disable-shared on m68000 for mknative.

(mrg)

2014-11-22 19:18:08 UTC MAIN commitmail json YAML

2014-11-22 18:50:49 UTC MAIN commitmail json YAML

2014-11-22 18:31:03 UTC MAIN commitmail json YAML

- Add MII flow control support
- Set "disable jabber" and "auto padding/CRC stripping" bits in MAC conf
- Write intr mask to intr mask register, not status
- Setup both TX and RX burst modes
- Setup both TX and RX store & forward modes
- Correct an issue with the "end" descriptor passed to dwc_gmac_txdesc_sync
  in dwc_gmac_tx_intr

ok martin@

(jmcneill)

2014-11-22 15:47:42 UTC MAIN commitmail json YAML

Do not define LINUX_EDEADLK more than once.

(njoly)

2014-11-22 15:17:02 UTC MAIN commitmail json YAML

2014-11-22 15:14:35 UTC MAIN commitmail json YAML

deal with quirk in Ingenic UARTs
( they have a bit in the FIFO control register which turns the entire
  port off if not set )

(macallan)

2014-11-22 15:09:30 UTC MAIN commitmail json YAML

Replace callout_stop with callout_halt

In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete. And also we make sure that SME_CALLOUT_INITIALIZED
is unset before calling callout_halt to prevent the callout from calling
callout_schedule. This is the same as what we did in sys/netinet6/mld6.c@1.61.

Reviewed by riastradh@.

(ozaki-r)

2014-11-22 15:02:39 UTC MAIN commitmail json YAML

2014-11-22 15:00:05 UTC MAIN commitmail json YAML

Kill sme_callout_mtx and use sme_mtx instead

We can use sme_mtx for the callout as well. Actually we should do so
because sme_events_list and some other data that are touched in the
callout should be protected by sme_mtx, not sme_callout_mtx.

Discussed with riastradh@ in http://mail-index.netbsd.org/tech-kern/2014/11/11/msg017956.html

(ozaki-r)

2014-11-22 14:31:53 UTC MAIN commitmail json YAML

2014-11-22 14:30:57 UTC MAIN commitmail json YAML

Add Atheros AR3012

(njoly)

2014-11-22 13:20:35 UTC MAIN commitmail json YAML

2014-11-22 13:18:45 UTC MAIN commitmail json YAML

2014-11-22 13:13:10 UTC MAIN commitmail json YAML

2014-11-22 13:12:22 UTC MAIN commitmail json YAML

2014-11-22 11:59:33 UTC MAIN commitmail json YAML

fix iobuf setup, cleanup

(mlelstv)

2014-11-22 11:10:22 UTC MAIN commitmail json YAML

If the boot argument "root" cannot be parsed as a device name, pass the
string untranslated to MI code. Due to limits in the boot argument parser
the string is terminated by whitespace.

(mlelstv)

2014-11-22 11:04:57 UTC MAIN commitmail json YAML

Let MD code provide boot disk information as spec string that can be
parsed by MI code. The format is the same as provided by an embedded
'root on <rootspec>' string in the config file. An embedded string
(other than a wildcard) still takes precedence.

(mlelstv)

2014-11-22 10:24:02 UTC MAIN commitmail json YAML

don't crash if rootspec is invalid

(mlelstv)

2014-11-22 06:45:08 UTC MAIN commitmail json YAML

Wait until all cpus are online, before using the codepath
which syncs all per-cpu cached copies of L4 tables.
(On both x86_64 and i386/pae)

This avoids an early bootup mutex use before mutex init situation.

Reported by manu@

(cherry)

2014-11-22 01:29:05 UTC MAIN commitmail json YAML

Add kdigest(8) manpage

(pettai)

2014-11-22 01:28:13 UTC MAIN commitmail json YAML

2014-11-22 00:17:08 UTC MAIN commitmail json YAML

Drop unnecessary-but-harmful casts.

(joerg)

2014-11-21 23:37:25 UTC MAIN commitmail json YAML

No reason not to make the string const.

(joerg)

2014-11-21 23:36:20 UTC MAIN commitmail json YAML

2014-11-21 23:28:57 UTC MAIN commitmail json YAML

Explicitly compare to NULL to show clang that the bool conversion is
intentional, even if it is always true in case of the arrays.

(joerg)

2014-11-21 22:31:09 UTC MAIN commitmail json YAML

Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.

(jmcneill)

2014-11-21 20:53:35 UTC MAIN commitmail json YAML

Fix = -> == in conditional in example.  Oops!

(riastradh)

2014-11-21 20:46:56 UTC MAIN commitmail json YAML

Use proper index types, delete casts, use correct sizeof() in allocations.

(christos)

2014-11-21 20:21:08 UTC MAIN commitmail json YAML

We don't need a special rule now that the file is called .S (having a
just .o rule before broke the MKDEBUG build).

(christos)

2014-11-21 20:13:19 UTC MAIN commitmail json YAML

Add libkern for umoddi3 needed for correct leap yar computation in is_leap_year.

(christos)

2014-11-21 20:10:28 UTC MAIN commitmail json YAML

2014-11-21 16:21:13 UTC MAIN commitmail json YAML

Use membar_consumer until we have membar_datadep_consumer.

(riastradh)

2014-11-21 15:44:42 UTC MAIN commitmail json YAML

Elaborate comment before pserialize_perform.

(riastradh)

2014-11-21 15:42:57 UTC MAIN commitmail json YAML

Fix typo: pserialize_read_exit(s), not s = pserialize_read_exit().

(riastradh)

2014-11-21 15:40:38 UTC MAIN commitmail json YAML

2014-11-21 15:28:33 UTC MAIN commitmail json YAML

Expand pserialize(9) example to include publish, read, and destroy.

(riastradh)

2014-11-21 13:31:19 UTC MAIN commitmail json YAML

kill the dropped privs info message

(christos)

2014-11-21 09:40:11 UTC MAIN commitmail json YAML

Replace callout_stop with callout_halt

In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete.

Reviewed by riastradh@.

(ozaki-r)

2014-11-21 09:19:38 UTC netbsd-5-2 commitmail json YAML

2014-11-21 09:18:55 UTC netbsd-5-2 commitmail json YAML

Pull up the following revisions(s) (requested by apb in ticket #1934):
doc/3RDPARTY: patch
share/zoneinfo/NEWS: new
share/zoneinfo/africa: patch
share/zoneinfo/antarctica: patch
share/zoneinfo/asia: patch
share/zoneinfo/australasia: patch
share/zoneinfo/backward: patch
share/zoneinfo/backzone: new
share/zoneinfo/europe: patch
share/zoneinfo/leapseconds: patch
share/zoneinfo/leapseconds.awk: patch
share/zoneinfo/northamerica: patch
share/zoneinfo/southamerica: patch
share/zoneinfo/zone.tab: patch
share/zoneinfo/zone1970.tab: patch

Update tzdata from 2014f to 2014j.  Some of the changes are:
* A new Zone Pacific/Bougainville, for the part of Papua New Guinea
  that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
* Changes for Fiji, Belarus, and Turks & Caicos that take effect
  at various times in 2014.
* Changes to historical data.

(sborrill)

2014-11-21 09:17:25 UTC netbsd-5-1 commitmail json YAML

2014-11-21 09:16:35 UTC netbsd-5-1 commitmail json YAML

Pull up the following revisions(s) (requested by apb in ticket #1934):
doc/3RDPARTY: patch
share/zoneinfo/NEWS: new
share/zoneinfo/africa: patch
share/zoneinfo/antarctica: patch
share/zoneinfo/asia: patch
share/zoneinfo/australasia: patch
share/zoneinfo/backward: patch
share/zoneinfo/backzone: new
share/zoneinfo/europe: patch
share/zoneinfo/leapseconds: patch
share/zoneinfo/leapseconds.awk: patch
share/zoneinfo/northamerica: patch
share/zoneinfo/southamerica: patch
share/zoneinfo/zone.tab: patch
share/zoneinfo/zone1970.tab: patch

Update tzdata from 2014f to 2014j.  Some of the changes are:
* A new Zone Pacific/Bougainville, for the part of Papua New Guinea
  that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
* Changes for Fiji, Belarus, and Turks & Caicos that take effect
  at various times in 2014.
* Changes to historical data.

(sborrill)

2014-11-21 08:58:32 UTC netbsd-5 commitmail json YAML

2014-11-21 08:58:28 UTC MAIN commitmail json YAML

Fixed memory leak in case of multiple authentication headers sent by the
client.

OK mrg@

(shm)

2014-11-21 08:57:35 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by apb in ticket #1934):
doc/3RDPARTY: patch
share/zoneinfo/NEWS: new
share/zoneinfo/africa: patch
share/zoneinfo/antarctica: patch
share/zoneinfo/asia: patch
share/zoneinfo/australasia: patch
share/zoneinfo/backward: patch
share/zoneinfo/backzone: new
share/zoneinfo/europe: patch
share/zoneinfo/leapseconds: patch
share/zoneinfo/leapseconds.awk: patch
share/zoneinfo/northamerica: patch
share/zoneinfo/southamerica: patch
share/zoneinfo/zone.tab: patch
share/zoneinfo/zone1970.tab: patch

Update tzdata from 2014f to 2014j.  Some of the changes are:
* A new Zone Pacific/Bougainville, for the part of Papua New Guinea
  that plans to switch from UTC+10 to UTC+11 on 2014-12-28 at 02:00.
* Changes for Fiji, Belarus, and Turks & Caicos that take effect
  at various times in 2014.
* Changes to historical data.

(sborrill)

2014-11-21 08:54:12 UTC MAIN commitmail json YAML

Fixed off-by-one in virtualhost processing. Previous code was checking if
Host header is a prefix of any existing vhost. This behaviour might be used to
uncover existing vitual hosts from the remote.

OK @mrg

(shm)

2014-11-21 08:25:52 UTC netbsd-5-2 commitmail json YAML

2014-11-21 08:25:26 UTC netbsd-5-1 commitmail json YAML

2014-11-21 06:03:04 UTC MAIN commitmail json YAML

Tweak linux_getifhwaddr

No functional change.

(ozaki-r)

2014-11-21 01:39:09 UTC MAIN commitmail json YAML

Add missing file entries of tests/usr.bin/xlint/lint1

This unbreaks the build.

(ozaki-r)

2014-11-21 01:18:39 UTC MAIN commitmail json YAML

2014-11-21 01:16:04 UTC MAIN commitmail json YAML

need clock_subr.h for bcdtobin()

(christos)

2014-11-21 01:11:50 UTC MAIN commitmail json YAML

Restrict workaround to GCC 4.8 as intended.

(joerg)

2014-11-21 00:53:19 UTC MAIN commitmail json YAML

need clock_subr.h for bcdtobin()

(christos)

2014-11-21 00:51:09 UTC MAIN commitmail json YAML

need clock_subr.h for bcdtobin()

(christos)

2014-11-20 21:44:56 UTC MAIN commitmail json YAML

Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
UB as seen by a clang compiled as.

(joerg)

2014-11-20 21:18:47 UTC MAIN commitmail json YAML

2014-11-20 21:17:18 UTC MAIN commitmail json YAML

allow c99 flexible arrays for packed structures.

(christos)

2014-11-20 20:52:15 UTC MAIN commitmail json YAML

2014-11-20 20:49:06 UTC MAIN commitmail json YAML

Always set i_brace in the struct case.
Cleanup some debugging.

(christos)

2014-11-20 20:48:33 UTC MAIN commitmail json YAML

2014-11-20 20:31:22 UTC MAIN commitmail json YAML

Implement BPF_MOD.

(alnsn)

2014-11-20 19:18:52 UTC MAIN commitmail json YAML

Implement BPF_ALU+BPF_MOD-BPF_K when pc->k is a power of 2. Get rid of divt
and divw arguments in emit_moddiv(), they're accessible via the pc argument.

(alnsn)

2014-11-20 16:34:26 UTC MAIN commitmail json YAML

2014-11-20 16:26:35 UTC MAIN commitmail json YAML

kill the macros that called the inlines bcdtobin and bintobcd and define
them directly here.

(christos)

2014-11-20 16:25:16 UTC MAIN commitmail json YAML

bcdtobin and bintobcd are now inlines in <dev/clock_subr.h>

(christos)

2014-11-20 16:18:29 UTC MAIN commitmail json YAML

this is supposed to be SECS_PER_DAY.

(christos)

2014-11-20 15:52:10 UTC netbsd-5-1 commitmail json YAML

Pull up the following revisions(s) (requested by oster in ticket #1933):
sys/dev/raidframe/raidframevar.h: revision 1.17
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.316
sys/dev/raidframe/rf_reconstruct.c: revision 1.121 via patch

Fix a long-standing bug related to rebooting while a reconstruct-to-spare
is underway but not yet complete. Fixes PR kern/49244.

(sborrill)

2014-11-20 15:50:25 UTC MAIN commitmail json YAML

2014-11-20 15:49:28 UTC MAIN commitmail json YAML

provide forward declaration for struct timeval;

(christos)

2014-11-20 15:48:05 UTC MAIN commitmail json YAML

2014-11-20 15:43:52 UTC MAIN commitmail json YAML

Make it clear that we should use not callout_stop but callout_halt before callout_destroy

(ozaki-r)

2014-11-20 14:35:01 UTC MAIN commitmail json YAML

Follow argument convension of other emit_xxx() functions.

(alnsn)

2014-11-20 13:16:05 UTC MAIN commitmail json YAML

Bump date. Quote minus with a backslash, for PostScript/PDF output.

(wiz)

2014-11-20 12:49:13 UTC MAIN commitmail json YAML

Fix manual and usage bug. The ucode command can take [cpuno] argument.

(msaitoh)

2014-11-20 12:25:10 UTC netbsd-5-2 commitmail json YAML

Pull up the following revisions(s) (requested by oster in ticket #1933):
sys/dev/raidframe/raidframevar.h: revision 1.17
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.316
sys/dev/raidframe/rf_reconstruct.c: revision 1.121 via patch

Fix a long-standing bug related to rebooting while a reconstruct-to-spare
is underway but not yet complete. Fixes PR kern/49244.

(sborrill)

2014-11-20 12:19:27 UTC netbsd-5 commitmail json YAML

2014-11-20 11:36:13 UTC MAIN commitmail json YAML

Add BPF_MOD tests. Plus one tiny change.

(alnsn)

2014-11-20 11:08:29 UTC MAIN commitmail json YAML

Add BPF_MOD tests. Plus one tiny change.

(alnsn)

2014-11-20 10:31:10 UTC MAIN commitmail json YAML

Move some printf()s from cpu_probe_base_features() to identifycpu().
Those printf()s are used for "identify" command but cpu_probe_base_features()
is shared by ucodeupdate_check(), too. This change fixes a problem that
the "ucode" command print extra output.

(msaitoh)

2014-11-20 10:09:20 UTC netbsd-7 commitmail json YAML

2014-11-20 10:08:17 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #253):
external/mit/xorg/lib/libXft/Makefile: revision 1.6
compile xftrender.c with -O0 to workaround a crash in XftGlyphSpecRender
on earm with gcc 4.8.4

(snj)

2014-11-20 10:05:06 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #252):
sys/arch/arm/allwinner/awin_usb.c: revision 1.17
IPL_SCHED -> IPL_VM
Something isn't MP safe.

(snj)

2014-11-20 09:38:56 UTC netbsd-5 commitmail json YAML

Pull up the following revisions(s) (requested by oster in ticket #1933):
sys/dev/raidframe/raidframevar.h: revision 1.17
sys/dev/raidframe/rf_netbsdkintf.c: revision 1.316
sys/dev/raidframe/rf_reconstruct.c: revision 1.121 via patch

Fix a long-standing bug related to rebooting while a reconstruct-to-spare
is underway but not yet complete. Fixes PR kern/49244.

(sborrill)

2014-11-20 09:02:00 UTC MAIN commitmail json YAML

Handle warning messages.

(uebayasi)