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 10:58:38 UTC Now

2015-11-21 15:01:43 UTC MAIN commitmail json YAML

2015-11-21 14:59:51 UTC MAIN commitmail json YAML

PR/50454: Timo Buhrmester: Fix wrong allocation for wall(1) -g
Modernize.

(christos)

2015-11-21 12:34:48 UTC MAIN commitmail json YAML

Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.

They are both buggy:
- suword does not properly check the userspace limit: 64 bits are copied,
  but the max address checked is VM_MAXUSER_ADDRESS-4, which means that 4
  bytes may overflow. Reported by Ed Schouten.
- fuword is supposed to be symmetrical with suword. But it uses 32bit
  registers, so it stores 32bit values! Spotted by Chuck (chs@).

(maxv)

2015-11-21 12:22:26 UTC MAIN commitmail json YAML

Try to reboot with the PMIC if available, falling back to PMC.

When the PMIC watchdog is armed and we reboot via PMC, the watchdog stays
armed on the next boot (and we end up being reset mid-boot the second time).
By rebooting with PMIC, we can ensure that the watchdog is not armed after
reset.

(jmcneill)

2015-11-21 12:19:47 UTC MAIN commitmail json YAML

2015-11-21 12:11:56 UTC MAIN commitmail json YAML

Add the filemon(4) device.

(pgoyette)

2015-11-21 12:09:39 UTC MAIN commitmail json YAML

2015-11-21 11:15:31 UTC MAIN commitmail json YAML

Disable UIThrStubs.c, which is unnecessary on NetBSD.

This fixes xterm startup failure on NetBSD/m68k 7.0.
See PR/50386 for details.

Should be pulled up to netbsd-7 and netbsd-7-0.

(tsutsui)

2015-11-21 10:57:32 UTC MAIN commitmail json YAML

add sysmon_wdog dependency to as3722pmic

(jmcneill)

2015-11-21 10:56:40 UTC MAIN commitmail json YAML

add watchdog support

(jmcneill)

2015-11-21 09:06:03 UTC MAIN commitmail json YAML

Provide additional flags to control alternate functions
and interrupts.

(mlelstv)

2015-11-21 09:02:31 UTC MAIN commitmail json YAML

Add missing word.

(wiz)

2015-11-21 09:01:35 UTC MAIN commitmail json YAML

Fix some typos. Use more markup.

(wiz)

2015-11-21 07:45:30 UTC MAIN commitmail json YAML

If a second call to the SET_FD ioctl occurs, release the reference we
hold on the earlier outout file.

(pgoyette)

2015-11-21 07:41:29 UTC MAIN commitmail json YAML

2015-11-21 03:34:28 UTC MAIN commitmail json YAML

The correct default return value from a module's xxx_modcmd() routine
is ENOTTY, not EOPNOTSUPP!  The former will allow the module to be
auto-unloaded, while the latter will prevent it.

Note that manual unloading of the filemon module is unaffected, as
that is controlled by actual usage of the module.

(pgoyette)

2015-11-21 00:54:57 UTC MAIN commitmail json YAML

2015-11-21 00:50:15 UTC MAIN commitmail json YAML

Fix typo in sample program

(pgoyette)

2015-11-21 00:35:59 UTC MAIN commitmail json YAML

Fix sample code fragment

(pgoyette)

2015-11-20 23:43:52 UTC MAIN commitmail json YAML

2015-11-20 22:26:16 UTC MAIN commitmail json YAML

Update sid to version 20151120

+ Use the generic "array grow" function in multiple places

+ Bump version to 20151120

(agc)

2015-11-20 20:41:58 UTC MAIN commitmail json YAML

2015-11-20 20:37:08 UTC MAIN commitmail json YAML

2015-11-20 20:27:20 UTC MAIN commitmail json YAML

keep value as an int.

(christos)

2015-11-20 20:24:50 UTC MAIN commitmail json YAML

2015-11-20 19:09:23 UTC MAIN commitmail json YAML

2015-11-20 18:34:17 UTC MAIN commitmail json YAML

get rid of the suword {m,j}umbo and check return of copyout.

(christos)

2015-11-20 18:32:13 UTC MAIN commitmail json YAML

Turn off more bits when turning off the display. Saves about 50ma on the
5V supply.

(bouyer)

2015-11-20 17:02:59 UTC MAIN commitmail json YAML

cross reference bridge; mention VLAN tagging.

(christos)

2015-11-20 17:00:48 UTC MAIN commitmail json YAML

mention VLAN change.

(christos)

2015-11-20 16:44:23 UTC MAIN commitmail json YAML

Fix up tegrausbphy attach args and stuff from previous.

From jmcneill.

(jakllsch)

2015-11-20 14:56:56 UTC MAIN commitmail json YAML

use copyout instead of suword.

(christos)

2015-11-20 12:49:59 UTC nick-nhusb commitmail json YAML

Rename interrupt list macros s/intr_info/intr_list/

No functional change

(skrll)

2015-11-20 11:58:00 UTC MAIN commitmail json YAML

A few changes:
- remove cpu_id and cpu_brand_id (unused)
- copy a comment from i386 about fillkpt
- define PDE_SIZE (i386)

(maxv)

2015-11-20 08:13:41 UTC MAIN commitmail json YAML

Add two more items: tls-maxphys and nvme support.

(dholland)

2015-11-20 08:10:36 UTC MAIN commitmail json YAML

Remove an ifnet object from the global list before destructing it

(ozaki-r)

2015-11-20 07:20:21 UTC MAIN commitmail json YAML

Update the storage roadmap. Please review/comment...

(dholland)

2015-11-20 05:05:40 UTC MAIN commitmail json YAML

Set timeout of ping to reduce execution time

(ozaki-r)

2015-11-20 03:13:35 UTC MAIN commitmail json YAML

Update for recent filemon(4) changes, and add additional information on
invoking filemon.

(pgoyette)

2015-11-20 02:58:19 UTC MAIN commitmail json YAML

Ensure that the PID specified in the FILEMON_SET_PID ioctl() call
belongs to the caller or one of its descendants.

(pgoyette)

2015-11-20 01:33:59 UTC MAIN commitmail json YAML

Remove extra ')' (bad cut&paste)

(pgoyette)

2015-11-20 01:21:05 UTC MAIN commitmail json YAML

Don't allow setting the PID-to-trace if the target has a non-native
emulation.

(pgoyette)

2015-11-20 01:16:04 UTC MAIN commitmail json YAML

Install wrapper functions only in native emulation.

(This also removes the dependency on curproc, which may not be available
at the time that built-in kernel modules are initialized.)

(pgoyette)

2015-11-20 01:12:38 UTC MAIN commitmail json YAML

Don't initialize twice.

(pgoyette)

2015-11-20 00:40:18 UTC MAIN commitmail json YAML

Minor cleanup in example code - use FD_CLOEXEC instead of magic number

(pgoyette)

2015-11-19 22:26:48 UTC MAIN commitmail json YAML

aprint_verbose_dev -> aprint_debug_dev

(jmcneill)

2015-11-19 22:09:16 UTC MAIN commitmail json YAML

2015-11-19 20:57:49 UTC MAIN commitmail json YAML

2015-11-19 20:34:47 UTC MAIN commitmail json YAML

Fix ANSI-C prototype error

(reinoud)

2015-11-19 19:16:28 UTC MAIN commitmail json YAML

2015-11-19 19:16:10 UTC MAIN commitmail json YAML

Add another le board.

(christos)

2015-11-19 18:48:22 UTC MAIN commitmail json YAML

Turn off video output on WSDISPLAYIO_SVIDEO.
For LCD/LVDS, just stop the tcon0.
For HDMI, turn off tcon and hdmi (so that the monitor goes to sleeo)
if the audio output is inactive.
For this, add a lock-protected refcount in awin_hdmi, incremented when
audio and/or video is active.
Tested with an audio-enabled HDMI display.

(bouyer)

2015-11-19 17:04:01 UTC MAIN commitmail json YAML

long line police

(christos)

2015-11-19 17:01:40 UTC MAIN commitmail json YAML

Enable the VLAN mtu capability and check for the adjusted packet size
(Jean-Jacques.Puig at espci.fr).
Factor out the packet-size checking function for clarity.

(christos)

2015-11-19 16:23:54 UTC MAIN commitmail json YAML

Add handling of VLAN packets in if_bridge where the parent interface supports
them (Jean-Jacques.Puig@espci.fr). Factor out the vlan_mtu enabling and
disabling code.

(christos)

2015-11-19 10:45:10 UTC MAIN commitmail json YAML

Set timeout of ping6 to reduce execution time

(ozaki-r)

2015-11-19 10:03:26 UTC MAIN commitmail json YAML

Remove duplicated 'i' from list of numeric formats

(pgoyette)

2015-11-19 08:50:05 UTC netbsd-6 commitmail json YAML

Revert ticket 1310 (second try):
> sys/arch/powerpc/include/psl.h                        1.20
> sys/arch/powerpc/include/userret.h            1.29, 1.30
> sys/arch/powerpc/oea/altivec.c                        1.30
> sys/arch/powerpc/oea/oea_machdep.c            1.72
> sys/arch/powerpc/powerpc/fpu.c                        1.36
>
>      powerpc PCU fixes

because it breaks the build:
http://releng.netbsd.org/builds/netbsd-6/201511152000Z/

(bouyer)

2015-11-19 07:03:13 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2015-11-19 05:44:41 UTC MAIN commitmail json YAML

add 5422 gic handling to attach code

(marty)

2015-11-19 03:03:04 UTC MAIN commitmail json YAML

Restore softnet_lock and KERNEL_LOCK for rtrequest and rtfree

We still need them for rt operations.

(ozaki-r)

2015-11-19 03:02:10 UTC MAIN commitmail json YAML

Call icmp6_error2 after releasing ln

This is a restructuring for coming changes.

From FreeBSD

(ozaki-r)

2015-11-19 00:40:43 UTC MAIN commitmail json YAML

2015-11-18 22:06:25 UTC MAIN commitmail json YAML

Patch by hannken@ to fix a bug which has been introduced with 1.71.
The kernel crashed with uvm fault when mounting an ados file system.

(phx)

2015-11-18 20:25:02 UTC MAIN commitmail json YAML

2015-11-18 18:36:53 UTC MAIN commitmail json YAML

2015-11-18 18:35:35 UTC MAIN commitmail json YAML

Add more exhaustive db tests that include higher bucket sizes

(christos)

2015-11-18 18:22:42 UTC MAIN commitmail json YAML

Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this
returns 0xffff to avoid overflow. This is used where sizes are stored.

(christos)

2015-11-18 18:04:45 UTC MAIN commitmail json YAML

Add support for the AR5BHB63 ath(4) (the only ath(4) in Half Mini Card
form that isn't supported by athn(4)).

(jakllsch)

2015-11-18 17:12:06 UTC MAIN commitmail json YAML

Note the interrupt for Tegra MC in the locators list.

(jakllsch)

2015-11-18 17:01:39 UTC MAIN commitmail json YAML

Complete the interrupt definitions list from the Tertiary Interrupt
Controller range of the Tegra K1.

(jakllsch)

2015-11-18 16:16:36 UTC MAIN commitmail json YAML

reapply 1.25 to fix upstream inconsistencies

(christos)

2015-11-18 13:19:52 UTC MAIN commitmail json YAML

Update RETURN VALUE to match reality and POSIX

(pgoyette)

2015-11-18 13:00:46 UTC MAIN commitmail json YAML

Account for the -1 hack to fit 0x10000 in a short in hash_page.c

(christos)

2015-11-18 10:26:57 UTC MAIN commitmail json YAML

Delete #ifdef __HAVE_PCI_MSI_MSIX and use pci_intr_allo()/pci_intr_release()
on any systems. The third argument of pci_intr_alloc() is left because we will
use the code to support MSI-X in future.

(msaitoh)

2015-11-18 08:56:38 UTC netbsd-7-0 commitmail json YAML

2015-11-18 08:56:05 UTC netbsd-7 commitmail json YAML

Ticket 1033, 1034, 1035, 1038 and 1039.

(msaitoh)

2015-11-18 08:52:04 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #1039):
sys/external/bsd/drm2/include/linux/hdmi.h: revision 1.6
hdmi_audio_infoframe_pack: Initialize the entire output buffer.
hdmi_infoframe_checksum: Fix HDMI infoframe checksum calculations.

(msaitoh)

2015-11-18 08:48:47 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1038):
sys/dev/vnd.c: revision 1.252
sys/dev/vnd.c: revision 1.253
sys/dev/vnd.c: revision 1.254
sys/dev/vnd.c: revision 1.249
sys/sys/disk.h: revision 1.66
sys/dev/vnd.c: revision 1.250
sys/dev/vnd.c: revision 1.251
- Add DK_DEV_BSIZE_OK()
- Simplify ioctl handling a little.
- disable debugging
- Return ENXIO if the get ioctl exceeds the number of configured devices.
  XXX: pullup-7
- explain why the int cast works (suggested by kre)
- fix incorrect memset.
- Use the new DK_DEV_BSIZE_OK() macro.

(msaitoh)

2015-11-18 08:34:49 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1035):
sys/netinet6/mld6.c: revision 1.64
Ensure that the callout of the multicast address is valid before
hooking it up.

(msaitoh)

2015-11-18 08:33:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1035):
sys/netinet6/mld6.c: revision 1.64
Ensure that the callout of the multicast address is valid before
hooking it up.

(msaitoh)

2015-11-18 08:30:24 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1034):
sys/net/if_gif.c: revision 1.91
sys/net/if_gif.c: revision 1.92
fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1
    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
fix CID 980463

(msaitoh)

2015-11-18 08:29:21 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1034):
sys/net/if_gif.c: revision 1.91
sys/net/if_gif.c: revision 1.92
fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1
    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
fix CID 980463

(msaitoh)

2015-11-18 08:26:15 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1033):
sys/net/if_gif.c: revision 1.89
sys/net/if_gif.c: revision 1.90
CID 980463: Provide common error path for rollback. Remove extra check for
success.

(msaitoh)

2015-11-18 08:21:52 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1033):
sys/net/if_gif.c: revision 1.89
sys/net/if_gif.c: revision 1.90
CID 980463: Provide common error path for rollback. Remove extra check for
success.

(msaitoh)

2015-11-18 07:45:00 UTC netbsd-6-0 commitmail json YAML

2015-11-18 07:44:38 UTC netbsd-6-1 commitmail json YAML

2015-11-18 07:41:57 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1345):
sys/net/if_gif.c: revision 1.91
sys/net/if_gif.c: revision 1.92
fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1
    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
fix CID 980463

(msaitoh)

2015-11-18 07:41:17 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1345):
sys/net/if_gif.c: revision 1.91
sys/net/if_gif.c: revision 1.92
fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1
    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
fix CID 980463

(msaitoh)

2015-11-18 07:36:22 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1344):
sys/net/if_gif.c: revision 1.89
sys/net/if_gif.c: revision 1.90
CID 980463: Provide common error path for rollback. Remove extra check for
success.

(msaitoh)

2015-11-18 07:34:41 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1344):
sys/net/if_gif.c: revision 1.89
sys/net/if_gif.c: revision 1.90
CID 980463: Provide common error path for rollback. Remove extra check for
success.

(msaitoh)

2015-11-18 06:52:21 UTC netbsd-6 commitmail json YAML

2015-11-18 05:16:22 UTC MAIN commitmail json YAML

Stop passing llinfo_nd6 to nd6_ns_output

This is a restructuring for coming changes to nd6 (replacing
llinfo_nd6 with llentry). Once we have a lock of llinfo_nd6,
we need to pass it to nd6_ns_output with holding the lock.
However, in a function subsequent to nd6_ns_output, the llinfo_nd6
may be looked up, i.e., its lock would be acquired again.
To avoid such a situation, pass only required data (in6_addr) to
nd6_ns_output instead of passing whole llinfo_nd6.

Inspired by FreeBSD

(ozaki-r)

2015-11-18 04:24:02 UTC MAIN commitmail json YAML

- Add the Auto Slot Power Limit Disable bit in Slot Control register and
  the Completion Timeout Prefix/Header Log Capable bit in the AER capability
  and control register (ECN: Downstream Port Containment (DPC)).
- Add the Poisoned TLP Egress Block bit (ECN: Enhanced DPC).
- Update Link Capabilities 2 register and Link Control 3 register (ECN:
  Separate Refclk Independent SSC Architecture (SRIS))
- ECN: Readiness Notifications (RN)
- Add the Retimer Presence Detect Supported bit in the Link Capabilities 2
  register and the Retimer Presence Detected bit in the Link Status 2 register
  (ECN: Extension Devices)

(msaitoh)

2015-11-18 04:13:01 UTC MAIN commitmail json YAML

Don't assign unused IP address

It sometimes creates an unexpected NDP cache.

(ozaki-r)

2015-11-18 02:51:11 UTC MAIN commitmail json YAML

Unify nd6_ns_output calls in nd6_llinfo_timer

Inspired by FreeBSD

(ozaki-r)

2015-11-18 00:23:39 UTC MAIN commitmail json YAML

If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and
we end up storing 0... This means that every entry needs a page. We store
MAX_BSIZE - 1 here, but it would be better to always store (avail - 1) here
so that we don't waste a byte and be consistent.

(christos)

2015-11-17 22:01:39 UTC MAIN commitmail json YAML

Add PCI Extended Configuration support for tegrapcie(4).

Similar to the acpimcfg code, this only maps the extended configuration
space into KVA for known busses.

(jakllsch)

2015-11-17 20:19:55 UTC MAIN commitmail json YAML

PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data.
XXX: pullup-7

(christos)

2015-11-17 19:58:36 UTC netbsd-6-1 commitmail json YAML

2015-11-17 19:55:12 UTC netbsd-6-1 commitmail json YAML

src/external/bsd/bind/dist/CHANGES@1.2.2.5.2.4 / diff / nxr@1.2.2.5.2.4
src/external/bsd/bind/dist/COPYRIGHT@1.1.1.5.4.1.6.3 / diff / nxr@1.1.1.5.4.1.6.3
src/external/bsd/bind/dist/FAQ.xml@1.1.1.5.6.1.6.3 / diff / nxr@1.1.1.5.6.1.6.3
src/external/bsd/bind/dist/README@1.1.1.8.4.2.2.4 / diff / nxr@1.1.1.8.4.2.2.4
src/external/bsd/bind/dist/bin/check/named-checkconf.c@1.3.4.1.6.3 / diff / nxr@1.3.4.1.6.3
src/external/bsd/bind/dist/bin/dig/dig.1@1.3.4.1.6.3 / diff / nxr@1.3.4.1.6.3
src/external/bsd/bind/dist/bin/dig/dig.docbook@1.1.1.4.4.1.6.3 / diff / nxr@1.1.1.4.4.1.6.3
src/external/bsd/bind/dist/bin/dig/dig.html@1.1.1.4.4.1.6.3 / diff / nxr@1.1.1.4.4.1.6.3
src/external/bsd/bind/dist/bin/dig/dighost.c@1.8.4.1.6.3 / diff / nxr@1.8.4.1.6.3
src/external/bsd/bind/dist/bin/dig/host.c@1.3.4.1.6.3 / diff / nxr@1.3.4.1.6.3
src/external/bsd/bind/dist/bin/dig/include/dig/dig.h@1.5.4.1.6.3 / diff / nxr@1.5.4.1.6.3
src/external/bsd/bind/dist/bin/dig/nslookup.c@1.3.4.2.2.3 / diff / nxr@1.3.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-dsfromkey.c@1.3.4.2.2.3 / diff / nxr@1.3.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-importkey.c@1.5.4.4 / diff / nxr@1.5.4.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keyfromlabel.c@1.6.4.2.2.3 / diff / nxr@1.6.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.8@1.3.4.2.2.3 / diff / nxr@1.3.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.c@1.7.4.2.2.3 / diff / nxr@1.7.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.docbook@1.1.1.6.4.2.2.3 / diff / nxr@1.1.1.6.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.html@1.1.1.6.4.2.2.3 / diff / nxr@1.1.1.6.4.2.2.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-settime.8@1.3.4.1.6.3 / diff / nxr@1.3.4.1.6.3
      :
(more 317 files)
Revert ticket 1329, it doens't build on this branch

(bouyer)

2015-11-17 19:36:36 UTC netbsd-6-0 commitmail json YAML

2015-11-17 19:31:17 UTC netbsd-6-0 commitmail json YAML

src/external/bsd/bind/dist/CHANGES@1.2.2.4.2.5 / diff / nxr@1.2.2.4.2.5
src/external/bsd/bind/dist/COPYRIGHT@1.1.1.5.4.1.4.3 / diff / nxr@1.1.1.5.4.1.4.3
src/external/bsd/bind/dist/FAQ.xml@1.1.1.5.6.1.4.3 / diff / nxr@1.1.1.5.6.1.4.3
src/external/bsd/bind/dist/README@1.1.1.8.4.1.4.4 / diff / nxr@1.1.1.8.4.1.4.4
src/external/bsd/bind/dist/bin/check/named-checkconf.c@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dig/dig.1@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dig/dig.docbook@1.1.1.4.4.1.4.3 / diff / nxr@1.1.1.4.4.1.4.3
src/external/bsd/bind/dist/bin/dig/dig.html@1.1.1.4.4.1.4.3 / diff / nxr@1.1.1.4.4.1.4.3
src/external/bsd/bind/dist/bin/dig/dighost.c@1.8.4.1.4.3 / diff / nxr@1.8.4.1.4.3
src/external/bsd/bind/dist/bin/dig/host.c@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dig/include/dig/dig.h@1.5.4.1.4.3 / diff / nxr@1.5.4.1.4.3
src/external/bsd/bind/dist/bin/dig/nslookup.c@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-dsfromkey.c@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-importkey.c@1.5.6.4 / diff / nxr@1.5.6.4
src/external/bsd/bind/dist/bin/dnssec/dnssec-keyfromlabel.c@1.6.4.1.4.3 / diff / nxr@1.6.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.8@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.c@1.7.4.1.4.3 / diff / nxr@1.7.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.docbook@1.1.1.6.4.1.4.3 / diff / nxr@1.1.1.6.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-keygen.html@1.1.1.6.4.1.4.3 / diff / nxr@1.1.1.6.4.1.4.3
src/external/bsd/bind/dist/bin/dnssec/dnssec-settime.8@1.3.4.1.4.3 / diff / nxr@1.3.4.1.4.3
      :
(more 317 files)
Revert ticket 1329, it doens't build on this branch

(bouyer)

2015-11-17 19:22:10 UTC netbsd-7 commitmail json YAML

2015-11-17 19:21:14 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #1017):
sys/arch/arm/omap/omap3_sdhc.c: revision 1.18
AM335x EDMA3 has an alignment restriction for both SAM and DAM in constant
addressing mode. In these cases, the physical address must be aligned to
256-bits. To handle this, pre-allocate a MAXPHYS sized bounce buffer and
use it for unaligned transfers.
Fixes "edma errint!" problem mentioned in port-arm/50288.

(riz)

2015-11-17 19:18:56 UTC netbsd-7-0 commitmail json YAML

2015-11-17 19:18:19 UTC netbsd-7 commitmail json YAML

2015-11-17 19:09:22 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1036):
external/bsd/ntp/scripts/mkver: revision 1.8
PR/50426: Dave Tyson: Fix ntp reported version.

(riz)

2015-11-17 19:09:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1036):
external/bsd/ntp/scripts/mkver: revision 1.8
PR/50426: Dave Tyson: Fix ntp reported version.

(riz)

2015-11-17 18:26:50 UTC MAIN commitmail json YAML

- ARI's function group is not bit 32-24 but 22-20.
- Add the Structure Length field in AF capability register.
- Add Enhanced Allocation extended capability ID (ECN: Enhanced Allocation (EA)
  for Memory and I/O Resources).
- Add LN System CLS (ECN: Lightweight Notification (LN) Protocol).
- Add ST Upper and Lower bit definitions (ECN: TLP Processiong Hints).
- Add the Global Invalidate bit in the ATS capability register and the PRG
  Response PASID Required bit in the Page Request status register (ECN: PASID
  Translation)
- Decode ASPM support bit more (ECN: ASPM Optionally)
- Use __BITS()

(msaitoh)

2015-11-17 17:51:42 UTC MAIN commitmail json YAML

No functional change:
- Add comments.
- Remove obsolete comment.
- Move definitions to better location.
- Rename bit definition.
- KNF.
- Indent.

(msaitoh)

2015-11-17 17:15:29 UTC MAIN commitmail json YAML

Switch PCI athn(4) attachment from pci_intr_map() to
pci_intr_alloc()/pci_intr_release(), this enables MSI where available.

(jakllsch)

2015-11-17 16:53:21 UTC MAIN commitmail json YAML

Long overdue suggestions from Taylor Campbell and a few syntax/style
tweaks from myself.

From Michael McConville

(macallan)

2015-11-17 16:37:22 UTC MAIN commitmail json YAML

Revert changes of athn.c r1.8.

- aprint_normal is correct for the attach message
- KNF adjustments in code we sync with upstream are a nuisance
- aprint_error{,_dev}() is inappropriate for use in runtime code

(jakllsch)

2015-11-17 10:34:04 UTC MAIN commitmail json YAML

Replace SIMPLEQ_FOREACH with SIMPLEQ_FOREACH_SAFE to prevent use-after-free.

(hannken)

2015-11-17 09:28:43 UTC netbsd-6 commitmail json YAML

2015-11-17 09:28:05 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1340):
lib/libc/net/getnetnamadr.c: revision 1.43 via patch
lib/libc/net/getnetnamadr.c: revision 1.44 via patch
put the state back after it is used.
PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr
and getnetbyname.

(bouyer)

2015-11-17 09:25:03 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1340):
lib/libc/net/getnetnamadr.c: revision 1.43 via patch
lib/libc/net/getnetnamadr.c: revision 1.44 via patch
put the state back after it is used.
PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr
and getnetbyname.

(bouyer)

2015-11-17 06:44:13 UTC MAIN commitmail json YAML

Add tests for GC of neighbor caches

(ozaki-r)

2015-11-17 01:07:34 UTC MAIN commitmail json YAML

Fix argument to empty()

Guess none of the fast-running tests exercised the
component being initialized ...

(pooka)

2015-11-17 00:08:33 UTC MAIN commitmail json YAML

Do not clear the PCIe interrupt until we've allowed its cause to become
deasserted.  This halves the PCIe interrupt rate.

(jakllsch)

2015-11-16 23:27:08 UTC MAIN commitmail json YAML

2015-11-16 21:41:29 UTC MAIN commitmail json YAML

initialize allocated gem object memory to 0

(jmcneill)

2015-11-16 21:25:34 UTC MAIN commitmail json YAML

wscons and Xorg support for CirrusLogic GD542x based boards (grf3).

(phx)

2015-11-16 21:24:06 UTC MAIN commitmail json YAML

Fixed bug in wsdisplay copyrows textop.
Fixed WSDISPLAYIO_SVIDEO, which had inverted functionality.
Improved FBINFO setup. 15 and 16 bits depth both have 16bpp now.

(phx)

2015-11-16 21:14:51 UTC MAIN commitmail json YAML

commit window changes when updating base

(jmcneill)

2015-11-16 21:14:33 UTC MAIN commitmail json YAML

use XRGB8888 for framebuffer

(jmcneill)

2015-11-16 17:09:56 UTC MAIN commitmail json YAML

PR/50434: Louis Guillaume: Bump the in and out formats to 511 (NAME_MAX)

(christos)

2015-11-16 17:06:47 UTC MAIN commitmail json YAML

- update NAME_MAX to match the kernel.
- add a comment about where the constant is used.

(christos)

2015-11-16 15:01:22 UTC MAIN commitmail json YAML

Add Braswell PCU SMBus.

(msaitoh)

2015-11-16 15:00:14 UTC MAIN commitmail json YAML

2015-11-16 14:59:45 UTC MAIN commitmail json YAML

Change macro name of Braswell PCU SMBus.

(msaitoh)

2015-11-16 14:47:16 UTC netbsd-7-0 commitmail json YAML

2015-11-16 14:46:54 UTC netbsd-7 commitmail json YAML

2015-11-16 14:45:03 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1032):
sys/dev/usb/usb_subr.c: revision 1.204
Attach serial number as property to all USB devices having one.

(msaitoh)

2015-11-16 14:41:44 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1031):
sys/dev/usb/ucom.c: revision 1.110
Add the port number to the device properties to make it easier to relate
a specific ucom instance with the physical port of multi-port devices
like the FTDI 4232.

(msaitoh)

2015-11-16 14:40:41 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1030):
sys/kern/subr_autoconf.c: revision 1.236
Add the parent device (if present) to the device properties, making it
easier to identify devices in the tree with drvctl(8).

(msaitoh)

2015-11-16 14:38:03 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1029):
etc/MAKEDEV.tmpl: revision 1.176
Translate requests for ucom into ttyU.

(msaitoh)

2015-11-16 14:20:01 UTC MAIN commitmail json YAML

2015-11-16 14:19:39 UTC MAIN commitmail json YAML

Add Braswell devices from "Table 23-4 PCI Devices and Functions,
N-Series Intel Pentium Processorts and Intel Celeron Processors Datasheet
(Document Number: 332093-001)"

(msaitoh)

2015-11-16 13:39:47 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1028):
sys/arch/sparc64/sparc64/locore.s: revision 1.386
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
- Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.
  which was a stupid idea - since we did now set all fork child's %tstate
  (and thus %pstate when back in userland) to the current kernel's userland
  default. This meant we lost the address mask bit for 32bit processes and
  all memory model details for 64bit ones.
  Move it back to cpu_lwp_fork and fix the condition to only do it once when
  forking init.
- Fix kmem_free() size mismatch
- Convert siginfo to 32bit version before copying it out to 32bit userland.

(msaitoh)

2015-11-16 13:33:40 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1028):
sys/arch/sparc64/sparc64/locore.s: revision 1.386
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
- Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.
  which was a stupid idea - since we did now set all fork child's %tstate
  (and thus %pstate when back in userland) to the current kernel's userland
  default. This meant we lost the address mask bit for 32bit processes and
  all memory model details for 64bit ones.
  Move it back to cpu_lwp_fork and fix the condition to only do it once when
  forking init.
- Fix kmem_free() size mismatch
- Convert siginfo to 32bit version before copying it out to 32bit userland.

(msaitoh)

2015-11-16 13:04:42 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1009):

lib/libm/man/erf.3: revision 1.14

Fix typo in erfl synopsis.

(msaitoh)

2015-11-16 12:35:55 UTC MAIN commitmail json YAML

Remove USB HID entries, they're already in usbdevices.config

(bouyer)

2015-11-16 12:24:13 UTC MAIN commitmail json YAML

correctly print the gpt header revision as a "float"

(jnemeth)

2015-11-16 11:16:20 UTC netbsd-7 commitmail json YAML

2015-11-16 11:14:49 UTC netbsd-7 commitmail json YAML

Pullup the following revision (requested by mbalmer in ticket #993):

external/mit/lua/dist/Makefile 1.4
external/mit/lua/dist/README 1.4
external/mit/lua/dist/doc/contents.html 1.4
external/mit/lua/dist/doc/lua.css 1.4
external/mit/lua/dist/doc/manual.css 1.3
external/mit/lua/dist/doc/manual.html 1.4
external/mit/lua/dist/doc/readme.html 1.4
external/mit/lua/dist/src/Makefile 1.4
external/mit/lua/dist/src/lapi.c 1.5
external/mit/lua/dist/src/lapi.h 1.4
external/mit/lua/dist/src/lauxlib.c 1.5
external/mit/lua/dist/src/lbaselib.c 1.5
external/mit/lua/dist/src/lcode.c 1.4
external/mit/lua/dist/src/ldblib.c 1.6
external/mit/lua/dist/src/ldebug.c 1.5
external/mit/lua/dist/src/ldebug.h 1.4
external/mit/lua/dist/src/ldo.c 1.4
external/mit/lua/dist/src/ldo.h 1.4
external/mit/lua/dist/src/ldump.c 1.4
external/mit/lua/dist/src/lfunc.h 1.3
external/mit/lua/dist/src/lgc.c 1.4
external/mit/lua/dist/src/liolib.c 1.4
external/mit/lua/dist/src/llex.c 1.5
external/mit/lua/dist/src/llex.c 1.6
external/mit/lua/dist/src/llimits.h 1.5
external/mit/lua/dist/src/lmathlib.c 1.4
external/mit/lua/dist/src/lmem.c 1.4
external/mit/lua/dist/src/loadlib.c 1.4
external/mit/lua/dist/src/lobject.c 1.5
external/mit/lua/dist/src/lobject.h 1.4
external/mit/lua/dist/src/loslib.c 1.4
external/mit/lua/dist/src/lstate.c 1.4
external/mit/lua/dist/src/lstate.h 1.4
external/mit/lua/dist/src/lstring.c 1.4
external/mit/lua/dist/src/lstring.h 1.4
external/mit/lua/dist/src/lstrlib.c 1.8
external/mit/lua/dist/src/lstrlib.c 1.9
external/mit/lua/dist/src/ltable.c 1.4
external/mit/lua/dist/src/ltable.c 1.5
external/mit/lua/dist/src/ltablib.c 1.4
external/mit/lua/dist/src/ltm.c 1.4
external/mit/lua/dist/src/lua.c 1.4
external/mit/lua/dist/src/lua.h 1.5
external/mit/lua/dist/src/luac.c 1.4
external/mit/lua/dist/src/luaconf.h 1.14
external/mit/lua/dist/src/lutf8lib.c 1.3
external/mit/lua/dist/src/lvm.c 1.6
external/mit/lua/dist/src/lvm.c 1.7
external/mit/lua/dist/src/lvm.h 1.4
external/mit/lua/dist/src/lvm.h 1.5
doc/3RDPARTY   1.1259

Updated to Lua 5.3.1

(msaitoh)

2015-11-16 09:10:58 UTC MAIN commitmail json YAML

2015-11-16 09:02:28 UTC netbsd-6 commitmail json YAML

2015-11-16 09:00:01 UTC netbsd-6 commitmail json YAML

Revert ticket 1310:
> sys/arch/powerpc/include/psl.h                        1.20
> sys/arch/powerpc/include/userret.h            1.29, 1.30
> sys/arch/powerpc/oea/altivec.c                        1.30
> sys/arch/powerpc/oea/oea_machdep.c            1.72
> sys/arch/powerpc/powerpc/fpu.c                        1.36
>
>      powerpc PCU fixes

because it breaks the build:
http://releng.netbsd.org/builds/netbsd-6/201511152000Z/

(bouyer)

2015-11-16 07:55:50 UTC netbsd-6-0 commitmail json YAML

2015-11-16 07:55:29 UTC netbsd-6-1 commitmail json YAML

2015-11-16 07:54:09 UTC netbsd-6 commitmail json YAML

2015-11-16 07:53:01 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1347):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

(msaitoh)

2015-11-16 07:52:12 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1347):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

(msaitoh)

2015-11-16 07:51:13 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1347):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

(msaitoh)

2015-11-16 07:38:15 UTC netbsd-7-0 commitmail json YAML

2015-11-16 07:37:55 UTC netbsd-7 commitmail json YAML

2015-11-16 07:35:32 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1040):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

(msaitoh)

2015-11-16 07:34:08 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1040):
sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

(msaitoh)

2015-11-16 05:39:39 UTC MAIN commitmail json YAML

Add missing rtfree

(ozaki-r)

2015-11-16 03:38:18 UTC MAIN commitmail json YAML

note cpuctl and multiple-cpu support.

(mrg)

2015-11-16 03:34:50 UTC MAIN commitmail json YAML

allow most commands to specify more than one cpu.  now you can online or
offline (or identify, or intr/nointr) a list of cpus all together.

(mrg)

2015-11-16 02:04:32 UTC MAIN commitmail json YAML

convert getcpuid() to take char* not char**

(mrg)

2015-11-16 02:02:41 UTC MAIN commitmail json YAML

2015-11-15 23:03:50 UTC MAIN commitmail json YAML

disable data island packet transmission on Tegra124 HDMI codec

(jmcneill)

2015-11-15 22:56:24 UTC MAIN commitmail json YAML

Avoid NULL dereference in linux_worker_intr() in WORK_DELAYED_CANCELLED case.

Potentially fixes PR#49560.

(jakllsch)

2015-11-15 21:31:29 UTC MAIN commitmail json YAML

Add genfb1, awindebe1, and awintcon1. These will attach if the fex
script request them.
While there add USB HID, keyboard, mouse and touchscreen.
If you have a display you'll most proabbly want input devices too.

(bouyer)

2015-11-15 21:28:54 UTC MAIN commitmail json YAML

Add support for LVDS output on tcon0. Tested with a full HD LVDS display.
Other LCD interfaces not supported yet, mostly by lack of hardware.
The LVDS output and timings are set from the FEX script.

(bouyer)

2015-11-15 21:13:33 UTC netbsd-6-0 commitmail json YAML

2015-11-15 21:13:29 UTC netbsd-6-1 commitmail json YAML

2015-11-15 21:11:59 UTC netbsd-6 commitmail json YAML

2015-11-15 21:09:37 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1345):
sys/net/if_gif.c: revision 1.91
sys/net/if_gif.c: revision 1.92
fix panic after "ifconfig gifX tunnel src dst" failed for the reason of address pair duplication.
e.g.
    ====================
    # ifconfig gif0 create
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.2
    # ifconfig gif0 inet 172.16.0.1/24 172.16.0.2
    # route add 10.1.0.0/24 172.16.0.1
    # ifconfig gif1 create
    # ifconfig gif1 tunnel 192.168.0.1 192.168.0.3
    # ifconfig gif0 tunnel 192.168.0.1 192.168.0.3
    ifconfig: SIOCSLIFPHYADDR: Can't assign requested address # expected
    # ping 10.1.0.1
    (panic)
    ====================
fix CID 980463

(bouyer)

2015-11-15 21:04:53 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1344):
sys/net/if_gif.c: revision 1.89
sys/net/if_gif.c: revision 1.90
CID 980463: Provide common error path for rollback. Remove extra check for
success.
correct mistake in previous

(bouyer)

2015-11-15 21:02:22 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1343):
sys/arch/sparc64/sparc64/locore.s: revision 1.386
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

(bouyer)

2015-11-15 21:02:13 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1343):
sys/arch/sparc64/sparc64/locore.s: revision 1.386
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

(bouyer)

2015-11-15 21:01:52 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1343):
sys/arch/sparc64/sparc64/locore.s: revision 1.386
sys/arch/sparc64/sparc64/vm_machdep.c: revision 1.101
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.105
sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.106
Basically revert r1.246 of locore.s and r1.73 of vm_machdep.c:
Remove special case handling for userland lwps from cpu_lwp_fork,
instead do it in lwp_trampoline when we first return to userland.
which was a stupid idea - since we did now set all fork child's %tstate
(and thus %pstate when back in userland) to the current kernel's userland
default. This meant we lost the address mask bit for 32bit processes and
all memory model details for 64bit ones.
Move it back to cpu_lwp_fork and fix the condition to only do it once when
forking init.
Fix kmem_free() size mismatch
Convert siginfo to 32bit version before copying it out to 32bit userland.

(bouyer)

2015-11-15 20:57:11 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1341):
sys/arch/x86/x86/sys_machdep.c: revision 1.29
fix broken error handling; error was used uninitialized. Changing the
compilation flags broke all threaded programs for me.
XXX: pullup-7

(bouyer)

2015-11-15 20:57:08 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1341):
sys/arch/x86/x86/sys_machdep.c: revision 1.29
fix broken error handling; error was used uninitialized. Changing the
compilation flags broke all threaded programs for me.
XXX: pullup-7

(bouyer)

2015-11-15 20:57:03 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1341):
sys/arch/x86/x86/sys_machdep.c: revision 1.29
fix broken error handling; error was used uninitialized. Changing the
compilation flags broke all threaded programs for me.
XXX: pullup-7

(bouyer)

2015-11-15 20:52:15 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1339):
sys/arch/x86/x86/bus_dma.c: revision 1.72
sys/arch/x86/x86/bus_dma.c: revision 1.73
sys/arch/x86/x86/bus_dma.c: revision 1.74
- If we succeeded allocating a buffer that did not need bouncing before, but
  the buffer in the previous mapping did, clear the bounce bit. Fixes the
  ld_virtio.c bug with machines 8GB and dd if=/dev/zero of=crash bs=1g count=4.
- Allocate with M_ZERO instead of doing memset
- The panic string can take a format, use it.
- When checking for the bounce buffer boundary check addr + len < limit, not
  addr < limit.
make sure we have a cookie before we try to clear it.
fix operator precedence.

(bouyer)

2015-11-15 20:52:09 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1339):
sys/arch/x86/x86/bus_dma.c: revision 1.72
sys/arch/x86/x86/bus_dma.c: revision 1.73
sys/arch/x86/x86/bus_dma.c: revision 1.74
- If we succeeded allocating a buffer that did not need bouncing before, but
  the buffer in the previous mapping did, clear the bounce bit. Fixes the
  ld_virtio.c bug with machines 8GB and dd if=/dev/zero of=crash bs=1g count=4.
- Allocate with M_ZERO instead of doing memset
- The panic string can take a format, use it.
- When checking for the bounce buffer boundary check addr + len < limit, not
  addr < limit.
make sure we have a cookie before we try to clear it.
fix operator precedence.

(bouyer)

2015-11-15 20:52:03 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1339):
sys/arch/x86/x86/bus_dma.c: revision 1.72
sys/arch/x86/x86/bus_dma.c: revision 1.73
sys/arch/x86/x86/bus_dma.c: revision 1.74
- If we succeeded allocating a buffer that did not need bouncing before, but
  the buffer in the previous mapping did, clear the bounce bit. Fixes the
  ld_virtio.c bug with machines 8GB and dd if=/dev/zero of=crash bs=1g count=4.
- Allocate with M_ZERO instead of doing memset
- The panic string can take a format, use it.
- When checking for the bounce buffer boundary check addr + len < limit, not
  addr < limit.
make sure we have a cookie before we try to clear it.
fix operator precedence.

(bouyer)

2015-11-15 20:48:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1338):
sys/compat/osf1/osf1_socket.c: revision 1.21
easy kmem_alloc(0)
ok shm@

(bouyer)

2015-11-15 20:48:45 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1338):
sys/compat/osf1/osf1_socket.c: revision 1.21
easy kmem_alloc(0)
ok shm@

(bouyer)

2015-11-15 20:48:44 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1338):
sys/compat/osf1/osf1_socket.c: revision 1.21
easy kmem_alloc(0)
ok shm@

(bouyer)

2015-11-15 20:47:11 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1337):
lib/libcurses/toucholap.c: revision 1.16
Fix x/y edito.

(bouyer)

2015-11-15 20:44:13 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1336):
sys/kern/kern_exit.c: revision 1.248
Update value of p_stat before we release the proc_lock.  Thanks to
Robert Elz.
XXX Pull-ups for -7, -6{,-0,-1} and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:44:10 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1336):
sys/kern/kern_exit.c: revision 1.248
Update value of p_stat before we release the proc_lock.  Thanks to
Robert Elz.
XXX Pull-ups for -7, -6{,-0,-1} and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:44:10 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1336):
sys/kern/kern_exit.c: revision 1.248
Update value of p_stat before we release the proc_lock.  Thanks to
Robert Elz.
XXX Pull-ups for -7, -6{,-0,-1} and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:42:39 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1335):
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.31
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.19
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.29
Don't release proc_lock until we're done looking at things that are
protected by the lock, particularly p_stat and p_waited.  Found by
Robert Elz.
XXX Pullup to NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:42:37 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1335):
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.31
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.19
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.29
Don't release proc_lock until we're done looking at things that are
protected by the lock, particularly p_stat and p_waited.  Found by
Robert Elz.
XXX Pullup to NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:42:32 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1335):
sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.31
sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.19
sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.29
Don't release proc_lock until we're done looking at things that are
protected by the lock, particularly p_stat and p_waited.  Found by
Robert Elz.
XXX Pullup to NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:40:31 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1334):
sys/kern/kern_sig.c: revision 1.321
When delivering a signal, it's possible that the process's state in
p_stat is SACTIVE yet p_sflag is PS_STOPPING (while waiting for other
lwp's to stop).  In that case, we don't want to adjust the parent's
p_nstopchild count.
Found by Robert Elz.
XXX Pullups to: NetBSD-7, -6{,-0,-1}, and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:40:26 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1334):
sys/kern/kern_sig.c: revision 1.321
When delivering a signal, it's possible that the process's state in
p_stat is SACTIVE yet p_sflag is PS_STOPPING (while waiting for other
lwp's to stop).  In that case, we don't want to adjust the parent's
p_nstopchild count.
Found by Robert Elz.
XXX Pullups to: NetBSD-7, -6{,-0,-1}, and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:40:20 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1334):
sys/kern/kern_sig.c: revision 1.321
When delivering a signal, it's possible that the process's state in
p_stat is SACTIVE yet p_sflag is PS_STOPPING (while waiting for other
lwp's to stop).  In that case, we don't want to adjust the parent's
p_nstopchild count.
Found by Robert Elz.
XXX Pullups to: NetBSD-7, -6{,-0,-1}, and -5{,-0,-1,-2}

(bouyer)

2015-11-15 20:38:18 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1333):
sys/kern/kern_exec.c: revision 1.420
sys/kern/kern_synch.c: revision 1.309
sys/kern/kern_exit.c: revision 1.246
sys/kern/kern_exit.c: revision 1.247
sys/kern/kern_exec.c: revision 1.419
In execve_runproc(), update the p_waited entry for the process being
moved to SSTOP state, not for its parent.  (It is correct to update
the parent's p_nstopchild count.)  If the value is not already zero,
it could prevent its parent from waiting for the process.
Fixes PR kern/50298
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
When clearing out the scheduler queues during system shutdown, we move
all processes to the SSTOP state.  Make sure we update each process's
p_waited and the parents' p_nstopchild counters to maintain consistent
values.  Should not make any real difference this late in the shutdown
process, but we should still be consistent just in case.
Fixes PR kern/50318
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
Currently, if a process is exiting and its parent has indicated no intent
of reaping the process (nor any other children), the process wil get
reparented to init.  Since the state of the exiting process at this point
is SDEAD, proc_reparent() will not update either the old or new parent's
p_nstopchild counters.
This change causes both old and new parents to be properly updated.
Fixes PR kern/50300
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
For processes marked with PS_STOPEXIT, update the process's p_waited
value, and update its parent's p_nstopchild value when marking the
process's p_stat to SSTOP.  The process needed to be SACTIVE to get
here, so this transition represents an additional process for which
the parent needs to wait.
Fixes PR kern/50308
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
In spawn_return() we temporarily move the process state to SSTOP, but
without updating its p_waited value or its parent's p_nstopchild
counter.  Later, we restore the original state, again without any
adjustment of the related values.  This leaves a relatively short
window when the values are inconsistent and could interfere with the
proper operation of sys_wait() for the parent (if it manages to be
scheduled;  it's not totally clear what, if anything, prevents
scheduling/execution of the parent).
If during this window, any of the checks being made result in an
error, we call exit1() which will eventually migrate the process's
state to SDEAD (with an intermediate transition to SDYING).  At
this point the other variables get updated, and we finally restore
a consistent state.
This change updates the p_waited and parent's p_nstopchild at each
step to eliminate any windows during which the values could lead to
incorrect decisions.
Fixes PR kern/50330
Pullups will be requested for NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:38:01 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1333):
sys/kern/kern_exec.c: revision 1.420
sys/kern/kern_synch.c: revision 1.309
sys/kern/kern_exit.c: revision 1.246
sys/kern/kern_exit.c: revision 1.247
sys/kern/kern_exec.c: revision 1.419
In execve_runproc(), update the p_waited entry for the process being
moved to SSTOP state, not for its parent.  (It is correct to update
the parent's p_nstopchild count.)  If the value is not already zero,
it could prevent its parent from waiting for the process.
Fixes PR kern/50298
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
When clearing out the scheduler queues during system shutdown, we move
all processes to the SSTOP state.  Make sure we update each process's
p_waited and the parents' p_nstopchild counters to maintain consistent
values.  Should not make any real difference this late in the shutdown
process, but we should still be consistent just in case.
Fixes PR kern/50318
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
Currently, if a process is exiting and its parent has indicated no intent
of reaping the process (nor any other children), the process wil get
reparented to init.  Since the state of the exiting process at this point
is SDEAD, proc_reparent() will not update either the old or new parent's
p_nstopchild counters.
This change causes both old and new parents to be properly updated.
Fixes PR kern/50300
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
For processes marked with PS_STOPEXIT, update the process's p_waited
value, and update its parent's p_nstopchild value when marking the
process's p_stat to SSTOP.  The process needed to be SACTIVE to get
here, so this transition represents an additional process for which
the parent needs to wait.
Fixes PR kern/50308
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
In spawn_return() we temporarily move the process state to SSTOP, but
without updating its p_waited value or its parent's p_nstopchild
counter.  Later, we restore the original state, again without any
adjustment of the related values.  This leaves a relatively short
window when the values are inconsistent and could interfere with the
proper operation of sys_wait() for the parent (if it manages to be
scheduled;  it's not totally clear what, if anything, prevents
scheduling/execution of the parent).
If during this window, any of the checks being made result in an
error, we call exit1() which will eventually migrate the process's
state to SDEAD (with an intermediate transition to SDYING).  At
this point the other variables get updated, and we finally restore
a consistent state.
This change updates the p_waited and parent's p_nstopchild at each
step to eliminate any windows during which the values could lead to
incorrect decisions.
Fixes PR kern/50330
Pullups will be requested for NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:37:04 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1333):
sys/kern/kern_exec.c: revision 1.420
sys/kern/kern_synch.c: revision 1.309
sys/kern/kern_exit.c: revision 1.246
sys/kern/kern_exit.c: revision 1.247
sys/kern/kern_exec.c: revision 1.419
In execve_runproc(), update the p_waited entry for the process being
moved to SSTOP state, not for its parent.  (It is correct to update
the parent's p_nstopchild count.)  If the value is not already zero,
it could prevent its parent from waiting for the process.
Fixes PR kern/50298
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
When clearing out the scheduler queues during system shutdown, we move
all processes to the SSTOP state.  Make sure we update each process's
p_waited and the parents' p_nstopchild counters to maintain consistent
values.  Should not make any real difference this late in the shutdown
process, but we should still be consistent just in case.
Fixes PR kern/50318
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
Currently, if a process is exiting and its parent has indicated no intent
of reaping the process (nor any other children), the process wil get
reparented to init.  Since the state of the exiting process at this point
is SDEAD, proc_reparent() will not update either the old or new parent's
p_nstopchild counters.
This change causes both old and new parents to be properly updated.
Fixes PR kern/50300
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
For processes marked with PS_STOPEXIT, update the process's p_waited
value, and update its parent's p_nstopchild value when marking the
process's p_stat to SSTOP.  The process needed to be SACTIVE to get
here, so this transition represents an additional process for which
the parent needs to wait.
Fixes PR kern/50308
Pullups will be requested for:
        NetBSD-7, -6, -6-0, -6-1, -5, -5-0, -5-1, and -5-2
In spawn_return() we temporarily move the process state to SSTOP, but
without updating its p_waited value or its parent's p_nstopchild
counter.  Later, we restore the original state, again without any
adjustment of the related values.  This leaves a relatively short
window when the values are inconsistent and could interfere with the
proper operation of sys_wait() for the parent (if it manages to be
scheduled;  it's not totally clear what, if anything, prevents
scheduling/execution of the parent).
If during this window, any of the checks being made result in an
error, we call exit1() which will eventually migrate the process's
state to SDEAD (with an intermediate transition to SDYING).  At
this point the other variables get updated, and we finally restore
a consistent state.
This change updates the p_waited and parent's p_nstopchild at each
step to eliminate any windows during which the values could lead to
incorrect decisions.
Fixes PR kern/50330
Pullups will be requested for NetBSD-7, -6, -6-0, and -6-1

(bouyer)

2015-11-15 20:35:34 UTC MAIN commitmail json YAML

PR 32999: adjust VM parameters for 64 bit kernel/userlands.
Limit old binaries (i.e. processes not using topdown VA layout) to 2 GB
data size.
Use the same limits as native sparc for netbsd32 emulation - we need to
revisit this, but currently automatic test runs in this environment
fail big time, so there is no easy way to verify any changes.

(martin)