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 05:16:05 UTC Now

2019-08-07 01:09:49 UTC MAIN commitmail json YAML

read(2): Document ENOBUFS

(roy)

2019-08-07 00:39:23 UTC MAIN commitmail json YAML

Welcome to 9.99.4 (the module sysctl stuff changes struct module, so
be safe and bump the kernel version).

(pgoyette)

2019-08-07 00:38:02 UTC MAIN commitmail json YAML

Many years ago someone created a new __link_set_sysctl_funcs to hold
the list of routines that need to be called for setting up sysctl
variables.  This worked great for all code included in the kernel
itself, but didn't deal with modules that want to create their own
sysctl data.  So, we ended up with a lot of #ifdef _MODULE blocks
so modules could explicitly call their setup functions when loaded
as non-built-in modules.

So today, we complete the task that was started so many years ago.

When modules are loaded, after we've called xxx_modcmd(INIT...) we
check if the module contains its own __link_set_sysctl_funcs, and
if so we call the functions listed.  We add a struct sysctllog member
to the struct module so we can call sysctl_teardown() when the module
gets unloaded.  (The sequence of events ensures that the sysctl stuff
doesn't get created until the rest of the module's init code does any
required memory allocation.)

So, no more need to explicitly call the sysctl setup routines when
built as a loadable module.

(pgoyette)

2019-08-06 18:22:57 UTC netbsd-8 commitmail json YAML

2019-08-06 18:17:52 UTC MAIN commitmail json YAML

ofw: add of_enter_spi_devs helper method

For translating OFW child nodes of SPI controller into "spi-child-devices"
property. In similar spirit to the existing of_enter_i2c_devs method.

(tnn)

2019-08-06 18:07:51 UTC MAIN commitmail json YAML

Restore maxrss, idrss, isrss, ixrss printing in ps(1)

The RSS related statistics are now back in the NetBSD kernel.

These values were disabled since day0 until today.

libkvm(3) users will still receive inappropriate values as RSS statistics
are updated upon sysctl(3) call.

Patch submitted by <Krzysztof Lasocki>

(kamil)

2019-08-06 16:24:59 UTC netbsd-9 commitmail json YAML

2019-08-06 16:22:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #22):

sys/sys/event.h: revision 1.33

Make EV_SET() casts compatible with the C++ code

EV_SET() handles cast that are expected to work with alternative
kqueue/kevent implementations that take arguments in different types.

Unfortunately void* -> intptr_t cast cannot be done with
static_cast<intptr_t>() as it needs reinterpret_cast<intptr_t>().

Just switching to reinterpret_cast<intptr_t>() is still not sufficient as=
it does not handle NULL argument without a compiler error/warning.

Add a compatibility function for the C++ case of _EV_SET() that accepts
the udata argument in the form of void* and performs clean
reinterpret_cast<>() internally.

There is no change for C users.

Tested by <nia>

Proposed on tech-userlevel@.

(martin)

2019-08-06 16:20:20 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #21):

sys/arch/i386/i386/process_machdep.c: revision 1.94

Do not dereference user pointer in ptrace_machdep_dorequest()/i386
Always use copyin(9) for reading user memory.

(martin)

2019-08-06 16:16:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #20):

sys/kern/kern_proc.c: revision 1.234

Update our vm resource use for sysctl(3) call reading kinfo_proc*

Without this change RSS properties are zeroed unless a process exits or
calls getrusage(2).

(martin)

2019-08-06 16:14:33 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kamil in ticket #19):

sys/arch/amd64/amd64/process_machdep.c: revision 1.44

Do not dereference user pointer in ptrace_machdep_dorequest()/amd64

Always use copyin(9) for reading user memory.

This fixes SMAP crash on some amd64 machines.

Reported by <msaitoh>

(martin)

2019-08-06 16:10:17 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1329:

sys/dev/pci/if_etreg.h 1.2-1.3
sys/dev/pci/if_et.c 1.23,1.25 and 1.26
via patch

Make et(4) work:
- Add missing ifioctl_common() for SIOCSIFFLAGS to make if_flags
  controllable.
- Enabling TX/RX in et_init() will always fail when cable is not
  plugged in. If this happens, we delay TX/RX enablement until link is
  up.
- Modify flow control stuff a little. It still doesn't work.
- Avoid undefined behavior when reset the chip.
- Code cleanup.

(martin)

2019-08-06 16:05:11 UTC netbsd-8 commitmail json YAML

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

sys/arch/x86/pci/amdsmn.c: revision 1.4
sys/arch/x86/pci/amdsmn.c: revision 1.5
sys/arch/x86/pci/amdsmn.c: revision 1.6

Add support for Ryzen 2xxx and 3xxx.

Use unsigned to fix compile error on i386.

Whitespace fix.

(martin)

2019-08-06 16:02:54 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/piixpmreg.h: revision 1.8
sys/dev/pci/piixpm.c: revision 1.53
sys/dev/pci/piixpm.c: revision 1.54

Sync with OpenBSD's piixpm.c up to rev. 1.35:
- Print "polling" correctly when in the attach function. Same as OpenBSD
rev. 1.22-23.
- Improve debug printf()'s. Part of OpenBSD 1.24.
- Do not bus_space_map devices which are at address 0 (it's uninitialized).
  Same as OpenBSD rev. 1.25.
- Add ServerWorks HT1100 device from OpenBSD. Same as OpenBSD rev. 1.32
- Use unique wait channel. From OpenBSD rev. 1.35

Improve SB800 and newer chipsets support:
- Add newer chipset (e.g. X370/X399 and newer) support that the PCI device id
  is 0x790b. The register definitions are mainly taken from FreeBSD.
- Rename PIIXPM_INDIRECTIO_* to SB800_INDIRECTIO_* because those are only
  for SB800 and newer chipsets.
- SB800 also support 4 ports.
- SB800's interrupt configuration bit is different from others.
  Use SB800_SMB_HOSTC's bit 0.
- Do not bus_space_map devices which are at address 0 (it's uninitialized)
  in piixpm_attach().
- Add the port number to the dmesg output.
- Avoid uninitiliazed use of ctl and corresponding warnings. From OpenBSD rev.
  1.38

(martin)

2019-08-06 15:52:52 UTC netbsd-8 commitmail json YAML

2019-08-06 15:51:07 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1381
sys/dev/pci/pcidevs: revision 1.1382
sys/dev/pci/pcidevs: revision 1.1383

- Intel C620 Virtual Switch Port for Termal Sensor is not 0x37c6 but 0x37c7.
- Add Some AMD Ryzen 3xxx's devices.
- Add some AMD devices mainly taken from OpenBSD.
- Rename some device names for consistency.
- Use _HDA for HD Audio.
Add BCM2711 PCIe Host bridge for RPI4

(martin)

2019-08-06 15:48:19 UTC MAIN commitmail json YAML

Clamp tcp timer quantities to reasonable ranges.

Reported-by: syzbot+259675123340bf46a6de@syzkaller.appspotmail.com

(riastradh)

2019-08-06 15:48:06 UTC MAIN commitmail json YAML

Acquire shmseg uobj reference while we hold shm_lock.

Otherwise nothing prevents it from being detached under our feet when
we drop shm_lock.

Reported-by: syzbot+a76c618a6808a0fda475@syzkaller.appspotmail.com

(riastradh)

2019-08-06 15:47:55 UTC MAIN commitmail json YAML

Fix race in timer destruction.

Anything we confirmed about the world before callout_halt may cease
to be true afterward, so make sure to start over in that case.

Add some comments explaining what's going on.

Reported-by: syzbot+d58da99969f58c1a024a@syzkaller.appspotmail.com

(riastradh)

2019-08-06 11:57:13 UTC MAIN commitmail json YAML

Undo local diff in file we don't use.

(maya)

2019-08-06 11:40:15 UTC MAIN commitmail json YAML

- npf_conn_init(): fix a race when initialising the G/C thread.
- Fix a bug when partially initialised connection is destroyed on error.
(from rmind@)

(christos)

2019-08-06 11:21:59 UTC MAIN commitmail json YAML

Make EV_SET() casts compatible with the C++ code

EV_SET() handles cast that are expected to work with alternative
kqueue/kevent implementations that take arguments in different types.

Unfortunately void* -> intptr_t cast cannot be done with
static_cast<intptr_t>() as it needs reinterpret_cast<intptr_t>().

Just switching to reinterpret_cast<intptr_t>() is still not sufficient as
it does not handle NULL argument without a compiler error/warning.

Add a compatibility function for the C++ case of _EV_SET() that accepts
the udata argument in the form of void* and performs clean
reinterpret_cast<>() internally.

There is no change for C users.

Tested by <nia>

Proposed on tech-userlevel@.

(kamil)

2019-08-06 10:45:14 UTC MAIN commitmail json YAML

add an example about reattaching USB devices

(mrg)

2019-08-06 10:25:13 UTC MAIN commitmail json YAML

Introduce an npf_conn_destroy_idx() that can handle partially constructed
conn structures.

(christos)

2019-08-06 08:10:27 UTC MAIN commitmail json YAML

Change 'npgs' from int to size_t. Otherwise the 64bit->32bit conversion
could lead to npgs=0, which is not expected. It later triggers a panic
in uvm_vsunlock().

Found by TriforceAFL (Akul Pillai).

(maxv)

2019-08-06 05:37:30 UTC MAIN commitmail json YAML

2019-08-06 05:32:44 UTC MAIN commitmail json YAML

2019-08-06 02:04:43 UTC MAIN commitmail json YAML

Do not dereference user pointer in ptrace_machdep_dorequest()/i386

Always use copyin(9) for reading user memory.

(kamil)

2019-08-06 01:53:47 UTC MAIN commitmail json YAML

- Make the case that width < 8 behave as the same as before. Pointed out by
  Joerg.
- Change "switch" to "if" for simplify.

(msaitoh)

2019-08-06 01:44:24 UTC MAIN commitmail json YAML

mark axe(4) and ure(4) as needing usbnet

(mrg)

2019-08-06 01:42:22 UTC MAIN commitmail json YAML

2019-08-06 01:34:29 UTC MAIN commitmail json YAML

Do not dereference user pointer in ptrace_machdep_dorequest()/amd64

Always use copyin(9) for reading user memory.

This fixes SMAP crash on some amd64 machines.

Reported by <msaitoh>

(kamil)

2019-08-06 00:19:57 UTC MAIN commitmail json YAML

extend usbnet to cope with if_upl, if_smsc, and if_umb needs:

- usbnet_enqueue() can set mbuf flags and csum_data
- usbnet_input() for non-ethernet based devices (upl, umb)
- allow a complete override for ioctl()
- remove converted list -- we have compiling and/or working patches for
  all the devices except for umb(4), will be merged as testing happens

hopefully this is the last ABI change, though  it may end up being
extended for additional smsc(4)  support.

hello for real netbsd 9.99.3!

(mrg)

2019-08-05 23:42:48 UTC MAIN commitmail json YAML

spi: make the "slave" config(5) locator optional

needed to be able to support FDT direct attachment of SPI slaves

(tnn)

2019-08-05 22:03:10 UTC MAIN commitmail json YAML

Provide documentation for KERN_LWP.

PR lib/20108

(maya)

2019-08-05 17:36:42 UTC MAIN commitmail json YAML

fix two bugs reported in
https://syzkaller.appspot.com/bug?id=8840dce484094a926e1ec388ffb83acb2fa291c9

- in uvm_fault_check(), if the map entry is wired, handle the fault the same way
  that we would handle UVM_FAULT_WIRE.  faulting on wired mappings is valid
  if the mapped object was truncated and then later grown again.

- in uvm_fault_unwire_locked(), we must hold the locks for the vm_map_entry
  while calling pmap_extract() in order to avoid races with the mapped object
  being truncated while we are unwiring it.

Reported-by: syzbot+2e0ae2fc35ab7301c7b8@syzkaller.appspotmail.com

(chs)

2019-08-05 16:24:48 UTC MAIN commitmail json YAML

Don't define register replacements when targetting 32bit ARM.

(joerg)

2019-08-05 15:30:37 UTC MAIN commitmail json YAML

2019-08-05 15:22:59 UTC MAIN commitmail json YAML

rk_spi: Rockchip SPI driver

Match only on RK3399 for now, but should work on RK3328 as well with
the proper CRU support. If you can, please test and enable for RK3328.

(tnn)

2019-08-05 15:06:47 UTC MAIN commitmail json YAML

pnpbios.4 is in i386

(ryoon)

2019-08-05 14:48:29 UTC netbsd-8 commitmail json YAML

2019-08-05 14:47:49 UTC netbsd-8 commitmail json YAML

Fix editor mistake in previous

(martin)

2019-08-05 14:43:54 UTC netbsd-8 commitmail json YAML

Backout the pullup of r1.476:

remove offs initialization and XXX gcc comment.

While actually the "offs" variable is always initialized when used, the
gcc version on this branch is not smart enough to recognize that.

(martin)

2019-08-05 13:50:58 UTC MAIN commitmail json YAML

Consistent indentation / whitespace

(maya)

2019-08-05 13:49:10 UTC MAIN commitmail json YAML

2019-08-05 13:45:01 UTC MAIN commitmail json YAML

Remove duplicate check for curpkt > 13

We already guarantee this above:
        if (numpkts < 1 || numpkts > 13) {
                return -1;

(maya)

2019-08-05 13:39:19 UTC MAIN commitmail json YAML

2019-08-05 13:30:21 UTC MAIN commitmail json YAML

Cast uint32_t to avoid undefined behavior in bridge_rthash(). Found by kUBSan.

(msaitoh)

2019-08-05 13:28:31 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior in gen7_get_stolen_reserved().
Found by kUBSan.

(msaitoh)

2019-08-05 12:44:01 UTC MAIN commitmail json YAML

Add "fsl,imx6qp" (i.MX6QP) to ARM_PLATFORM list.

(hkenken)

2019-08-05 12:30:13 UTC MAIN commitmail json YAML

2019-08-05 12:21:00 UTC MAIN commitmail json YAML

2019-08-05 10:25:41 UTC MAIN commitmail json YAML

2019-08-05 10:14:19 UTC MAIN commitmail json YAML

2019-08-05 10:12:04 UTC MAIN commitmail json YAML

- Fix a bug that acpiec_space_handler() doesn't access more than 64bit
  correctly. Found by kUBSan on Thinkpad X220. acpiec0 accessed 128bits from
  address 0xa0. The error message was:

UBSan: Undefined Behavior in ../../../../dev/acpi/acpi_ec.c:672:32, shift exponent 64 is too large for 64-bit type 'long unsigned int'

- KNF.
The error message was:

(msaitoh)

2019-08-05 10:09:35 UTC MAIN commitmail json YAML

Fix undefined behavior in thinkpad_mask_init(). Found by kUBSan.

(msaitoh)

2019-08-05 07:03:55 UTC MAIN commitmail json YAML

Typo in error message

(skrll)

2019-08-05 04:41:42 UTC netbsd-9 commitmail json YAML

2019-08-05 04:38:47 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #16):
usr.sbin/sysinst/label.c: revision 1.12
Fix copy&pasto: when we find a FFSv1 filesystem, properly record it
that way - so the correct bootblocks get installed on system upgrades.

(msaitoh)

2019-08-05 04:37:44 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #15):
usr.sbin/sysinst/gpt.c: revision 1.8
When reading an existing gpt, match the wedges already existing
on the parent device, so we can use them directly if we should proceed
with an unmodified partition table.

(msaitoh)

2019-08-05 04:36:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #14):
usr.sbin/sysinst/disks.c: revision 1.46
Properly handle partitions that we were requested to mount but not newfs.

(msaitoh)

2019-08-05 04:34:54 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #8):
usr.sbin/sysinst/gpt.c: revision 1.7
Deal with missing labels when parsing gpt(8) output.

(msaitoh)

2019-08-04 22:26:40 UTC MAIN commitmail json YAML

remove useless splbio() in sunxispi_start

We raised spl already in sunxispi_transfer.
XXX spi(4) should be made MPSAFE

(tnn)

2019-08-04 22:13:24 UTC MAIN commitmail json YAML

m25p: change devices recently added from 4kB "sector size" to 64kB ...

... even though it is wrong and these devices really use 4kB sector size.
Despite the struct member being named sector size it is actually used as
block size. Our spiflash driver doesn't issue sector erase commands.
Stopgap measure to fix data corruption until the driver is fixed.

(tnn)

2019-08-04 20:49:54 UTC MAIN commitmail json YAML

m25p: add GigaDevice 25Q127CSIG

(This is the boot ROM found on ROCKPro64.)

(tnn)

2019-08-04 19:28:05 UTC netbsd-9 commitmail json YAML

2019-08-04 19:25:48 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #18):

sys/arch/arm/pci/pci_msi_machdep.c: revision 1.7

Properly honour max_type arg to pci_intr_alloc

(martin)

2019-08-04 19:24:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #17):

sys/arch/arm/acpi/acpi_platform.c: revision 1.16

Ignore AccessWidth (PL011 and SBSA console always needs 32-bit access)

(martin)

2019-08-04 19:22:24 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #13):

external/bsd/cron/dist/do_command.c: revision 1.14

PR/54433: Hisashi Todd Fujinaka: Empty $MAILTO causes cron to crash

(martin)

2019-08-04 19:20:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #12):

sys/arch/i386/stand/efiboot/version: revision 1.2

x86 efiboot: version 1.1.

(martin)

2019-08-04 19:19:31 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #11):

external/historical/nawk/dist/awk.h: revision 1.3
external/historical/nawk/dist/run.c: revision 1.10
external/historical/nawk/dist/FIXES: revision 1.2
external/historical/nawk/dist/b.c: revision 1.7
external/historical/nawk/dist/b.c: revision 1.8
external/historical/nawk/dist/lex.c: revision 1.5
external/historical/nawk/dist/main.c: revision 1.9
external/historical/nawk/dist/proto.h: revision 1.8
external/historical/nawk/dist/tran.c: revision 1.10
external/historical/nawk/dist/proto.h: revision 1.9
external/historical/nawk/dist/awk.1: revision 1.2
external/historical/nawk/dist/lib.c: revision 1.9
external/historical/nawk/dist/ytab.c: revision 1.2
external/historical/nawk/dist/tran.c: revision 1.9

remove trailing whitespace.

PR/54424: Martijn Dekker: awk: broken character classes in UTF-8 locale:
only the first matches

Pick up some of the fixes from upstream:
        - posix paren matching
        - print \v \a
        - some more fatal handling
        - init all the character range.

remove ### error output accidentally committed.

Add translators for \v and \a per posix.

(martin)

2019-08-04 19:09:26 UTC netbsd-9 commitmail json YAML

src/external/gpl3/gcc/dist/libstdc++-v3/acinclude.m4@1.6.2.1 / diff / nxr@1.6.2.1
src/external/gpl3/gcc/dist/libstdc++-v3/config/locale/generic/time_members.cc@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
src/external/gpl3/gcc/dist/libstdc++-v3/configure@1.11.2.1 / diff / nxr@1.11.2.1
src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/locale_facets_nonio.h@1.1.1.6.2.1 / diff / nxr@1.1.1.6.2.1
src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ctype.cc@1.1.1.3.2.1 / diff / nxr@1.1.1.3.2.1
src/external/gpl3/gcc/lib/libiberty/defs.mk@1.21.2.1 / diff / nxr@1.21.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/Makefile@1.47.2.1 / diff / nxr@1.47.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk@1.7.4.1 / diff / nxr@1.7.4.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/gstdint.h@1.4.4.1 / diff / nxr@1.4.4.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk@1.11.2.1 / diff / nxr@1.11.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/defs.mk@1.12.2.1 / diff / nxr@1.12.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/defs.mk@1.11.2.1 / diff / nxr@1.11.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/defs.mk@1.10.2.1 / diff / nxr@1.10.2.1
      :
(more 119 files)
Pull up following revision(s) (requested by christos in ticket #9):

external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb/defs.mk: revision 1.12
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/earm/tm.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/defs.mk: revision 1.13
external/gpl3/gcc/dist/libstdc++-v3/config/locale/generic/time_members.cc: revision 1.2
external/gpl3/gcc/usr.bin/gcc/arch/arm/defs.mk: revision 1.18
external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/vax/defs.mk: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64/defs.mk: revision 1.12
external/gpl3/gcc/usr.bin/gcc/arch/earmv4/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/sparc64/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/auto-host.h: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h: revision 1.16
external/gpl3/gcc/lib/libstdc++-v3/arch/m68000/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmv6/auto-host.h: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel/defs.mk: revision 1.11
external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/c++config.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/armeb/tm.h: revision 1.10
external/gpl3/gcc/usr.bin/gcc/arch/earmeb/tm.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmhf/defs.mk: revision 1.16
external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/defs.mk: revision 1.14
external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/defs.mk: revision 1.16
external/gpl3/gcc/usr.bin/gcc/arch/earmv7/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/vax/defs.mk: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/defs.mk: revision 1.15
external/gpl3/gcc/usr.bin/gcc/arch/sh3eb/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/auto-host.h: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/symver-config.h: revision 1.3
external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/defs.mk: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/defs.mk: revision 1.11
external/gpl3/gcc/lib/libstdc++-v3/arch/sh3eb/defs.mk: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/alpha/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/defs.mk: revision 1.13
external/gpl3/gcc/dist/libstdc++-v3/include/bits/locale_facets_nonio.h: revision 1.2
external/gpl3/gcc/usr.bin/gcc/arch/earmv4/defs.mk: revision 1.14
external/gpl3/gcc/usr.bin/gcc/arch/x86_64/auto-host.h: revision 1.18
external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/hppa/tm.h: revision 1.7
external/gpl3/gcc/usr.bin/gcc/arch/powerpc/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/sparc/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/ia64/defs.mk: revision 1.9
external/gpl3/gcc/lib/libstdc++-v3/arch/mips64el/defs.mk: revision 1.12
external/gpl3/gcc/usr.bin/gcc/arch/sparc/defs.mk: revision 1.16
external/gpl3/gcc/usr.bin/gcc/arch/x86_64/defs.mk: revision 1.19
external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/defs.mk: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/m68000/defs.mk: revision 1.15
external/gpl3/gcc/lib/libstdc++-v3/arch/sparc/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmeb/auto-host.h: revision 1.14
external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/defs.mk: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/earmeb/defs.mk: revision 1.15
external/gpl3/gcc/usr.bin/gcc/arch/earmv7/auto-host.h: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/defs.mk: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/earm/defs.mk: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/sh3el/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/sparc64/defs.mk: revision 1.16
external/gpl3/gcc/lib/libstdc++-v3/arch/m68k/defs.mk: revision 1.12
external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/defs.mk: revision 1.11
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/arm/tm.h: revision 1.9
external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/tm.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/mips64el/defs.mk: revision 1.16
external/gpl3/gcc/usr.bin/gcc/arch/mipseb/defs.mk: revision 1.17
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/defs.mk: revision 1.12
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/mips64eb/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/sh3el/defs.mk: revision 1.16
external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmv4/auto-host.h: revision 1.12
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7eb/defs.mk: revision 1.11
external/gpl3/gcc/lib/libstdc++-v3/arch/sh3el/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/sparc/auto-host.h: revision 1.14
external/gpl3/gcc/lib/libstdc++-v3/arch/i386/defs.mk: revision 1.15
external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/auto-host.h: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/gstdint.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/powerpc/tm.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/defs.mk: revision 1.15
external/gpl3/gcc/lib/libiberty/defs.mk: revision 1.22
external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/mipseb/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk: revision 1.12
external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/symver-config.h: revision 1.2
external/gpl3/gcc/usr.bin/gcc/arch/x86_64/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/Makefile: revision 1.48
external/gpl3/gcc/usr.bin/gcc/arch/aarch64/defs.mk: revision 1.5
external/gpl3/gcc/dist/libstdc++-v3/src/c++11/ctype.cc: revision 1.2
external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/riscv64/multilib.h: revision 1.3
external/gpl3/gcc/usr.bin/gcc/arch/m68k/defs.mk: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/earm/auto-host.h: revision 1.16
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hfeb/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/i386/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/armeb/defs.mk: revision 1.18
external/gpl3/gcc/usr.bin/gcc/arch/earmv6/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/arm/auto-host.h: revision 1.14
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/mips64el/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/m68k/tm.h: revision 1.7
external/gpl3/gcc/lib/libstdc++-v3/arch/mipseb/defs.mk: revision 1.12
external/gpl3/gcc/usr.bin/gcc/arch/i386/defs.mk: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/armeb/auto-host.h: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/earmhf/tm.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/earmv6/tm.h: revision 1.6
external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h: revision 1.15
external/gpl3/gcc/dist/libstdc++-v3/configure: revision 1.12
external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hf/defs.mk: revision 1.11
external/gpl3/gcc/usr.bin/gcc/arch/hppa/defs.mk: revision 1.16
external/gpl3/gcc/usr.bin/gcc/arch/alpha/defs.mk: revision 1.15
external/gpl3/gcc/usr.bin/gcc/arch/aarch64/tm.h: revision 1.3
external/gpl3/gcc/usr.bin/gcc/arch/earmv7hfeb/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/mipsel/defs.mk: revision 1.17
external/gpl3/gcc/usr.bin/gcc/arch/mipsel/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/defs.mk: revision 1.11
external/gpl3/gcc/lib/libstdc++-v3/arch/arm/defs.mk: revision 1.11
external/gpl3/gcc/dist/libstdc++-v3/acinclude.m4: revision 1.7
external/gpl3/gcc/usr.bin/gcc/arch/ia64/tm.h: revision 1.5
external/gpl3/gcc/usr.bin/gcc/arch/vax/tm.h: revision 1.6
external/gpl3/gcc/lib/libstdc++-v3/arch/riscv64/c++config.h: revision 1.8
external/gpl3/gcc/lib/libstdc++-v3/arch/riscv32/c++config.h: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmhf/auto-host.h: revision 1.15
external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/auto-host.h: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/powerpc/defs.mk: revision 1.19
external/gpl3/gcc/usr.bin/gcc/arch/earmv7/defs.mk: revision 1.13
external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk: revision 1.8
external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/defs.mk: revision 1.13
external/gpl3/gcc/usr.bin/gcc/arch/m68000/tm.h: revision 1.6

Arrange so that the Makefile works for both the generic and the dragonfly
locale code.

There is no specialized constructor for ctype<char> so the
destructor ends up trying to free uninitialized memory for
_M_c_locale_ctype.

Add a forward declaration for the specialized __timepunct<wchar_t> destructor
that the dragonfly code needs to avoid "instantiation before specialization",
and an empty implementation for the generic code.

Use the dragonfly locale code for NetBSD too.
Manually patch the locale configuration to use the dragonfly code instead
of generic.

regen mknative for everyone after:
- NETBSD_ENABLE_PTHREADS removed (default always)
- HAVE_GNU_INDIRECT_FUNCTION enabled for some platforms
- switch to dragondfly bsd locale routines after christos made them work for us

(martin)

2019-08-04 18:04:18 UTC MAIN commitmail json YAML

move / re-add some headers to fix INET6 builds.

(mrg)

2019-08-04 17:09:07 UTC MAIN commitmail json YAML

rk3399_cru: add definitions for SPI clocks

(tnn)

2019-08-04 15:07:17 UTC netbsd-9 commitmail json YAML

2019-08-04 14:55:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1325):

sys/arch/i386/stand/efiboot/version: revision 1.2

x86 efiboot: version 1.1.

(martin)

2019-08-04 14:30:36 UTC MAIN commitmail json YAML

Fix info leaks.

(maxv)

2019-08-04 11:40:11 UTC netbsd-9 commitmail json YAML

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

sys/net/raw_usrreq.c: revision 1.63
sys/net/raw_usrreq.c: revision 1.64

Fix typo (s/m_free/m_freem/)
This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying.

-

Fix typo (s/m_free/m_freem/) (one more)

(martin)

2019-08-04 11:37:56 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #3):

sys/stand/efiboot/efiacpi.c: revision 1.4
sys/stand/efiboot/efifdt.c: revision 1.18
sys/stand/efiboot/version: revision 1.12
sys/arch/arm/acpi/acpi_machdep.c: revision 1.7
sys/arch/arm/acpi/acpi_machdep.c: revision 1.8

Add full UEFI memory map to the /chosen node.

-

acpi_md_OsMapMemory can be used for both normal and device memory. Use the
UEFI memory map to determine how to map a given region.

Always map ACPI table memory as normal memory. Always map device memory as device memory.

(martin)

2019-08-04 11:30:39 UTC netbsd-8 commitmail json YAML

2019-08-04 11:25:44 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by maxv in ticket #1324:

sys/kern/kern_exec.c 1.469-1.478 (via patch)

Fix off-by-one and info leak.

(martin)

2019-08-04 11:19:03 UTC netbsd-8 commitmail json YAML

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

sys/net/bpf.c: revision 1.229

Fix info leak: use kmem_zalloc, because we align the buffers, and the
otherwise uninitialized padding bytes get copied to userland in bpf_read().

(martin)

2019-08-04 11:16:26 UTC netbsd-8 commitmail json YAML

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

sys/fs/cd9660/cd9660_vnops.c: revision 1.55

Fix info leak: zero out the buffer, because it is not entirely filled, and
the uninitialized bytes get copied to userland in sys___getdens30(). Remove
unneeded cast while here.

(martin)

2019-08-04 11:12:10 UTC netbsd-8 commitmail json YAML

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

sys/fs/tmpfs/tmpfs_mem.c: revision 1.10

Remove the roundups, they are incorrect and cause memcmp to wrongfully fail
because of uninitialized bytes at the end of the buffers.

ok rmind@

(martin)

2019-08-04 11:08:51 UTC netbsd-8 commitmail json YAML

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

sys/uvm/uvm_map.c: revision 1.361

Fix info leak: 'map_attrib' is not used in UVM, and contains uninitialized
heap garbage. Return zero. Maybe we should remove the field completely.

(martin)

2019-08-04 11:05:29 UTC netbsd-8 commitmail json YAML

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

sys/kern/sys_ptrace_common.c: revision 1.57

Fix bug, don't release the reflock if we didn't take it in the first place.
Looks like there are other locking issues in here.

(martin)

2019-08-04 11:01:22 UTC netbsd-8 commitmail json YAML

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

sys/net/raw_usrreq.c: revision 1.63
sys/net/raw_usrreq.c: revision 1.64

Fix typo (s/m_free/m_freem/)
This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying.

-

Fix typo (s/m_free/m_freem/) (one more)

(martin)

2019-08-04 10:59:20 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/if_wm.c: revision 1.646
sys/dev/pci/if_wm.c: revision 1.612

Accept IFM_NONE.

-

Use unsigned to avoid undefined behavior in wm_i82543_mii_sendbits().
Found by kUBSan.

(martin)

2019-08-04 10:29:42 UTC MAIN commitmail json YAML

Fix copy&pasto: when we find a FFSv1 filesystem, properly record it
that way - so the correct bootblocks get installed on system upgrades.

(martin)

2019-08-04 09:10:48 UTC MAIN commitmail json YAML

add a list of done/todo items to the shared ethernet driver code.

(mrg)

2019-08-04 09:03:46 UTC MAIN commitmail json YAML

convert axe(4) and ure(4) to usbnet.

axe loses 838 lines (37%) and ure loses 716 lines (36%).

(mrg)

2019-08-04 08:59:13 UTC MAIN commitmail json YAML

- adjust usbnet interface to allow usbd_open_pipe_intr(), from the
  new comment:
* if un_intr_buf is not NULL, use usbd_open_pipe_intr() not
* usbd_open_pipe() for USBNET_ENDPT_INTR, with this buffer,
* size, and interval.
  the standard handling is in usbnet.c, with a callback to deal with
  the interrupt it self.  not fully tested, designed for if_aue.c
  and a few others not yet converted.
- make usbhist for usbnet.c work, thanks paulg
- usbnet_init_rx_tx() clears out all allocations upon failure now
- add usbnet_ec() to get a pointer to the struct ethercom
- add usbnet_{lock,unlock,owned}*() to lock/unlock the various locks
  and *owned*() for asserting

welcome 9.99.3!

(mrg)

2019-08-04 01:22:49 UTC MAIN commitmail json YAML

Minor markup tweaks.

(uwe)

2019-08-03 19:56:42 UTC MAIN commitmail json YAML

make function prototype consistent

(tnn)

2019-08-03 15:58:14 UTC MAIN commitmail json YAML

2019-08-03 14:42:24 UTC MAIN commitmail json YAML

sun6i_spi: bring over non-intrusive improvements from sun4i_spi

- simplify attach error handling
- calculate minfreq & maxfreq instead of hardcoding
- print configured value of SPI_SCLK
- add convenience macro for reading/writing SPI register
- clean up commented out debug printfs

(tnn)

2019-08-03 14:00:42 UTC MAIN commitmail json YAML

When reading an existing gpt, match the wedges already existing ons
on the parent device, so we can use them directly if we should proceed
with an unmodified partition table.

(martin)

2019-08-03 13:33:10 UTC MAIN commitmail json YAML

2019-08-03 13:28:43 UTC MAIN commitmail json YAML

2019-08-03 12:55:46 UTC MAIN commitmail json YAML

Properly honour max_type arg to pci_intr_alloc

(jmcneill)

2019-08-03 12:09:22 UTC MAIN commitmail json YAML

Properly handle partitions that we were requested to mount but not newfs.

(martin)

2019-08-03 09:31:07 UTC MAIN commitmail json YAML

Replace || by && in KASAN, to increase the pool coverage.

Strictly speaking, what we want to avoid is poisoning buffers that were
referenced in a global list as part of the ctor. But, if a buffer indeed
got referenced as part of the ctor, it necessarily has to be unreferenced
in the dtor; which implies it has to have a dtor. So we want both a ctor
and a dtor, and not just one of them.

Note that POOL_QUARANTINE already implicitly provides this increased
coverage.

(maxv)

2019-08-03 08:13:36 UTC MAIN commitmail json YAML

x86 efiboot: version 1.1.

(nonaka)

2019-08-03 07:06:48 UTC MAIN commitmail json YAML

PR/54433: Hisashi Todd Fujinaka: Empty $MAILTO causes cron to crash

(christos)

2019-08-03 06:29:52 UTC MAIN commitmail json YAML

Protect rasops_copy{rows,cols}() by _RASOPS_PRIVATE.

(rin)

2019-08-03 04:21:37 UTC MAIN commitmail json YAML

Fix a trivial wrong comment.  x68k's arch is not m68010.

(isaki)

2019-08-03 02:22:06 UTC MAIN commitmail json YAML

m25p: add some ~2010 vintage parts found in junk drawer

(tnn)

2019-08-03 00:46:02 UTC MAIN commitmail json YAML

m25p: print vendor & device id before bailing out on unknown devices

(tnn)

2019-08-02 23:24:37 UTC MAIN commitmail json YAML

Real fix for 24-bpp color:
- When centering screen, locate effective base address of framebuffer to
  both word and 24-bit color boundary.
- Consistently convert ri_devcmap to ``big endian'' if not RI_BSWAP.

Also, fix possible bug for 15/16-bpp with RI_BSWAP (not tested).

(rin)

2019-08-02 23:05:43 UTC MAIN commitmail json YAML

2019-08-02 22:46:44 UTC MAIN commitmail json YAML

Update our vm resource use for sysctl(3) call reading kinfo_proc*

Without this change RSS properties are zeroed unless a process exits or
calls getrusage(2).

(kamil)

2019-08-02 19:58:00 UTC MAIN commitmail json YAML

Change uname and gname to sync with etc/mtree/special.
It was missing in rev 1.195 changes.

(nakayama)

2019-08-02 19:49:17 UTC MAIN commitmail json YAML

Ignore AccessWidth (PL011 and SBSA console always needs 32-bit access)

(jmcneill)

2019-08-02 14:55:57 UTC MAIN commitmail json YAML

Deal with gcc's "warning: this statement may fall through
[-Wimplicit-fallthrough=]" by adding the missing KNF FALLTHROUGH
comments.

christos@ approved.

(hauke)

2019-08-02 12:07:25 UTC MAIN commitmail json YAML

2019-08-02 12:06:20 UTC MAIN commitmail json YAML

2019-08-02 12:04:46 UTC MAIN commitmail json YAML

Bump sparc miniroot by 100KB for the clang-based build.

(joerg)

2019-08-02 10:46:50 UTC MAIN commitmail json YAML

Add commented out GENFB_SHADOWFB option.

(rin)

2019-08-02 10:44:22 UTC MAIN commitmail json YAML

Deal with missing labels when parsing gpt(8) output.

(martin)

2019-08-02 10:34:39 UTC MAIN commitmail json YAML

Notify size of shadow framebuffer if enabled.

(rin)

2019-08-02 05:51:55 UTC netbsd-9 commitmail json YAML

2019-08-02 05:48:34 UTC netbsd-9 commitmail json YAML

2019-08-02 05:45:54 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #6):
usr.sbin/sysinst/bsddisklabel.c: revision 1.26
If we can not fit a planned partition, retry with a bit more slope
in size.

(msaitoh)

2019-08-02 05:43:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #5):
usr.sbin/sysinst/bsddisklabel.c: revision 1.24
usr.sbin/sysinst/bsddisklabel.c: revision 1.25
PR 54423: fix handling of user defined partitions
PR 54423: complete initialization of install info for user defined partitions

(msaitoh)

2019-08-02 05:41:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #4):
usr.sbin/sysinst/target.c: revision 1.9
usr.sbin/sysinst/disks.c: revision 1.45
usr.sbin/sysinst/label.c: revision 1.11
Do not strip the trailing / on root mounts when evaluation "last mounted
on". Fix some /dev/ and raw vs. block device confusion on system upgrades.

(msaitoh)

2019-08-02 05:39:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #2):
distrib/utils/libhack/multibyte.c: revision 1.9
Avoid using an unitialized variable

(msaitoh)

2019-08-02 05:22:14 UTC MAIN commitmail json YAML

Kernel Heap Hardening: perform certain sanity checks on the pool caches
directly, to immediately detect certain bugs that would otherwise have
been detected only later on the pool layer, if the buffer ever reached
the pool layer.

(maxv)

2019-08-02 05:08:07 UTC MAIN commitmail json YAML

first step to address PR54331:
poll h->hatch_running for a bit instead of blindly relying on a fixed timeout
for secondary CPUs to wake up and get ready

needs more testing, possibly pullup

(macallan)

2019-08-02 05:04:02 UTC MAIN commitmail json YAML

Reflect reality.

(rin)

2019-08-02 04:40:53 UTC MAIN commitmail json YAML

2019-08-02 04:39:09 UTC MAIN commitmail json YAML

Add general putchar functions for 2 and 4bpp.

Note that 1bpp continues to use its local version in rasops1.c,
which is much faster and simpler.

(rin)

2019-08-02 04:35:54 UTC MAIN commitmail json YAML

Fix a bug in shadow fb support for copycols on 1, 2, and 4bpp screen,
which was introduced in 1.18:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops_bitops.h#rev1.18

(rin)

2019-08-02 04:31:54 UTC MAIN commitmail json YAML

Correct copy count. This affects ``left-to-right'' copy for region
including word boundary.

(rin)

2019-08-02 04:26:44 UTC MAIN commitmail json YAML

Remove duplicate substitution. Style. No functional changes.

(rin)

2019-08-02 04:23:20 UTC MAIN commitmail json YAML

Support font width 32 on monochrome screen.

(rin)

2019-08-02 04:22:04 UTC MAIN commitmail json YAML

2019-08-02 04:18:15 UTC MAIN commitmail json YAML

Oops, for rasops_copycols(), we cannot use memmove even if src == dst.
On the other hand, memmove is safe for rasops_copyrows().

(rin)

2019-08-02 02:17:46 UTC MAIN commitmail json YAML

Fix typo (s/m_free/m_freem/) (one more)

(ozaki-r)

2019-08-02 01:55:01 UTC MAIN commitmail json YAML

Fix typo (s/m_free/m_freem/)

This fixes PR kern/54419 "mbuf leak when deleting route" from sc dying.

(ozaki-r)

2019-08-01 22:23:16 UTC MAIN commitmail json YAML

sun4i: enable clocks for SPI[0-3], needed by sun4i_spi

(tnn)

2019-08-01 21:29:49 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libiberty/defs.mk@1.22 / diff / nxr@1.22
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64/gstdint.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/defs.mk@1.13 / diff / nxr@1.13
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7eb/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hf/defs.mk@1.11 / diff / nxr@1.11
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hfeb/defs.mk@1.11 / diff / nxr@1.11
      :
(more 113 files)
regen mknative for everyone after:

- NETBSD_ENABLE_PTHREADS removed (default always)
- HAVE_GNU_INDIRECT_FUNCTION enabled for some platforms
- switch to dragondfly bsd locale routines after christos made them work for us

(mrg)

2019-08-01 18:59:11 UTC MAIN commitmail json YAML

Always map ACPI table memory as normal memory. Always map device memory as device memory.

(jmcneill)

2019-08-01 17:50:16 UTC MAIN commitmail json YAML

If we can not fit a planned partition, retry with a bit more slope
in size.

(martin)

2019-08-01 17:49:12 UTC MAIN commitmail json YAML

PR 54423: complete initialization of install info for user defined partitions

(martin)

2019-08-01 16:48:06 UTC MAIN commitmail json YAML

PR 54423: fix handling of user defined partitions

(martin)

2019-08-01 16:32:06 UTC MAIN commitmail json YAML

Do not strip the trailing / on root mounts when evaluation "last mounted
on". Fix some /dev/ and raw vs. block device confusion on system upgrades.

(martin)

2019-08-01 15:48:15 UTC netbsd-8 commitmail json YAML

Add missing file from last pullup (ticket #1316, revisions 1.1-1.2)

(martin)

2019-08-01 15:21:50 UTC MAIN commitmail json YAML

Use unsigned in rtk_setmulti() to avoid undefined behavoir. Found bk kUBSan.

(msaitoh)

2019-08-01 15:21:09 UTC MAIN commitmail json YAML

Use unsinged when initialize the transmit completion ring to avoid undefined
behavior. Found by kUBSan.

(msaitoh)

2019-08-01 14:29:18 UTC netbsd-8 commitmail json YAML

2019-08-01 14:28:34 UTC MAIN commitmail json YAML

Use unsigned to avoid undefined behavior in wm_i82543_mii_sendbits().
Found by kUBSan.

(msaitoh)

2019-08-01 14:27:30 UTC netbsd-8 commitmail json YAML

Pull up the following revision, requested by msaitoh in ticket #1316:

sys/dev/mii/makphy.c 1.54,1.57-1.60 via patch
sys/dev/mii/makphyvar.h 1.1-1.2
sys/dev/mii/ihphy.c 1.12,1.14 via patch

- Support Intel I21[01].
- 88E1000(S) has no page select register, so don't access it.
  Note that qemu doesn't implement the register and the access fails.
- Check the result of the ESSR register access because Qemu doesn't
  implement the register.
- KNF.

(martin)

2019-08-01 14:24:21 UTC netbsd-8 commitmail json YAML

2019-08-01 14:22:55 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/miidevs: revision 1.151
sys/dev/mii/miidevs: revision 1.152
sys/dev/mii/miidevs: revision 1.153
sys/dev/mii/miidevs: revision 1.145
sys/dev/mii/miidevs: revision 1.146
sys/dev/mii/miidevs: revision 1.147
sys/dev/mii/miidevs: revision 1.148
sys/dev/mii/miidevs: revision 1.149
sys/dev/mii/miidevs: revision 1.150

Add SMSC(Microchip) LAN911X and LAN75XX.

Fix I82578 OUI. This change only affects to MIIVERBOSE.
See also if_wm.c rev. 1.599.

Cleanup xx or yy OUIs. Sort by number.

Add yyASIX and AX88772* devices.

Add Davicom DM9161, DM9161[ABC] and DM9601.

Remove extra space.

Add Bankspeed Pty and NetExcell.

Add Amlogix GXL internal PHY

Add ID for the Broadcom BCM53125 1000BASE-T switch.

(martin)

2019-08-01 14:19:37 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/siside.c: revision 1.38

add missing break; after "100NEW" configuration.
don't also set "133OLD", since the 100NEW cards don't support 133.

(martin)

2019-08-01 14:14:30 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1313:

sys/dev/pci/ixgbe/ixgbe_type.h 1.41
sys/dev/pci/ixgbe/ixgbe.c 1.194,1.197-1.199
via patch
sys/dev/pci/ixgbe/ixgbe_common.c 1.24
sys/dev/pci/ixgbe/ixv.c 1.121,1.124-1.125

- Avoid undefined behavior of interrupt vector setting.
- Avoid undefined behavior of TX/RX queue statistics calculation.
- Avoid undefined behavior of X550EM's PHY accesses.
- Avoid undefined behavior of Flow Control Transmit Timer setting.
- Don't call {ixgbe,ixv}_stop() twice while detaching.

(martin)

2019-08-01 14:02:47 UTC netbsd-8 commitmail json YAML

2019-08-01 13:50:14 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/if_wm.c: revision 1.644
sys/dev/pci/if_wm.c: revision 1.645
sys/dev/pci/if_wmreg.h: revision 1.115

Define RETA_ENTRY_MASK_Q(used in RSS redirection table) correctly.
Found by UBSan.

Use aprint_debug_dev() instead of printf() in wm_ulp_disable().

- rnd_add_*() call must be serialized. Unserialized accesses broke the
  sc->rnd_source structure and caused off by one in kern_rndq.c's
  rnd_add_data_ts(). This problem was found by kUBSan. Make krndsource_t's
  data per queue-pair and call rnd_add_uint32() in wm_txrxintr_msix(). One of
  the reason why rnd_add_uint32() calls were moved from wm_{tx,rx}eof() is that
  rnd(9) manual page says "To allow the system to gather the timing information
  accurately, this call should be placed within the actual hardware interrupt
  service routine."

- Pass a better value to rnd_add_uint32() in wm_intr_legacy().
XXX pullup-8.

(martin)

2019-08-01 13:48:50 UTC MAIN commitmail json YAML

2019-08-01 13:45:55 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/agp_intel.c: revision 1.38

fix a >15 year old code rework bug, and add a missing break;.

the code in rev 1.7 looks like it does in this change, but rev 1.8 would
write the I443 AGP_INTEL_AGPCTRL value, and then the other value.

(martin)

2019-08-01 13:45:54 UTC MAIN commitmail json YAML

2019-08-01 13:43:28 UTC MAIN commitmail json YAML

If the memory space's BAR and the MSI-X table is on the same BAR,
reserve the space. Almost the same as nvme_pci.c and xhci_pci.c.
Tested by ryoon@.

(msaitoh)

2019-08-01 13:41:56 UTC netbsd-8 commitmail json YAML

2019-08-01 13:40:54 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, via patch (requested by msaitoh in
ticket #1310):

sys/dev/usb/usbdevs 1.754-1.755

- Add Cinterion
- Add Sierra Wireless C01SW.
- Add SMSC USB 2.0 7-Port Hub.
- Add ZTE MF633 USUPA USB modem, USB MSM installer, ZTE MF112, MF119,
  MF190, MF228 modem and Softbank 004Z.
- Add Huawei HWD12, E353, E355, E392, EC156, E3272 / Softbank 203HW
- Add NetIndex RT-WJ02 and UX312NC.
- Add Siemens HC28

(martin)

2019-08-01 13:36:38 UTC MAIN commitmail json YAML

Make et(4) work:
- Enabling TX/RX in et_init() will always fail when cable is not plugged in,
  if this happens, we delay TX/RX enablement until link is up. From FreeBSD.
- Modify flow control stuff a little (from FrerBSD). It still doesn't work.
- KNF. Part of OpenBSD 1.12.

(msaitoh)

2019-08-01 13:22:49 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1309):

sys/arch/i386/stand/lib/exec.c: revision 1.73
sys/arch/i386/stand/efiboot/efiboot.c: revision 1.10
sys/arch/i386/stand/lib/libi386.h: revision 1.44
sys/arch/i386/stand/efiboot/efimemory.c: revision 1.6
sys/arch/i386/stand/efiboot/efimemory.c: revision 1.7
sys/arch/i386/stand/efiboot/efimemory.c: revision 1.8
sys/arch/i386/stand/efiboot/efiboot.c: revision 1.9
sys/arch/i386/stand/efiboot/boot.c: revision 1.12
sys/arch/i386/stand/efiboot/boot.c: revision 1.13
sys/arch/i386/stand/efiboot/efiboot.h: revision 1.9
sys/arch/i386/stand/efiboot/Makefile.efiboot: revision 1.15
sys/arch/i386/stand/efiboot/dev_net.c: revision 1.2

Added tftp support to x86 efiboot.

Pre-allocate memory for the kernel space at startup.

Added BTINFO_EFIMEMMAP compaction support to x86 efiboot.

Sync the output of memmap command to the output of stand/efiboot mem command.

Added missing efi_memory_probe() call.

(martin)

2019-08-01 13:17:42 UTC MAIN commitmail json YAML

Add translators for \v and \a per posix.

(christos)

2019-08-01 13:13:51 UTC MAIN commitmail json YAML

acpi_md_OsMapMemory can be used for both normal and device memory. Use the
UEFI memory map to determine how to map a given region.

(jmcneill)

2019-08-01 13:11:16 UTC MAIN commitmail json YAML

2019-08-01 13:11:03 UTC MAIN commitmail json YAML

Fix buffer overflow in BIOS disk geometry collect for bootinfo

This spares a boot-time panic on iMac with fusion drive, which
feature both a hard drive and a solid-state drive.

(manu)

2019-08-01 12:28:53 UTC MAIN commitmail json YAML

Avoid using an unitialized variable

(martin)

2019-08-01 09:37:34 UTC MAIN commitmail json YAML

vmx(4) uses interrupt distribution for each queue like ixg(4).

(knakahara)

2019-08-01 08:51:52 UTC MAIN commitmail json YAML

Move case 'f' to go right after case 'F'.

(alnsn)

2019-08-01 06:33:58 UTC MAIN commitmail json YAML

remove ### error output accidentally committed.

(christos)

2019-08-01 06:22:52 UTC MAIN commitmail json YAML

PR/54424: Martijn Dekker: awk: broken character classes in UTF-8 locale:
only the first matches
Pick up some of the fixes from upstream:
- posix paren matching
- print \v \a
- some more fatal handling
- init all the character range.

(christos)

2019-08-01 06:14:45 UTC MAIN commitmail json YAML

2019-08-01 03:43:54 UTC MAIN commitmail json YAML

Fix erasecols and do_cursor for font width >= 32 bits.
Also, some cosmetic clean-up's.

(rin)

2019-08-01 03:38:12 UTC MAIN commitmail json YAML

4 is 1 << 2, not 1 << 3...

(rin)

2019-08-01 02:28:55 UTC MAIN commitmail json YAML

Remove last trace of never-used map_attrib.

(riastradh)

2019-08-01 02:27:43 UTC MAIN commitmail json YAML

2019-08-01 02:06:31 UTC MAIN commitmail json YAML

Honour the floating-point rounding mode in floating-point formatting.

C99, Sec. 7.19.6.1 `The fprintf function', paragraph 13, p. 281:

  (Recommended practice)

  For e, E, f, F, g, and G conversions, if the number of significant
  decimal digits is at most DECIMAL_DIG, then the result should be
  correctly rounded.  If the number of significant decimal digits is
  more than DECIMAL_DIG but the source value is exactly
  representable with DECIMAL_DIG digits, then the result should be
  an exact representation with trailing zeros.  Otherwise, the
  source value is bounded by two adjacent decimal strings L < U,
  both having DECIMAL_DIG significant idgits; the value of the
  resultant decimal string D should satisfy L <= D <= U, _with the
  extra stipulation that the error should have a correct sign for
  the current rounding direction_.  [emphasis added]

The gdtoa code base already supports respecting the floating-point
rounding mode, as long as we compile it with Honor_FLT_ROUNDS
defined.  However, for this to work, fegetround must be available in
libc, which it is not currently -- the fenv logic is in libm.

Fortunately, we don't have to move all of fenv from libm to libc --
programs that do not link against libm don't have fesetround, so the
rounding mode is always the default (barring asm shenanigans that
bypass the API -- tough).  So use a weak reference to fegetround; by
default, assume FE_TONEAREST if it is not defined.

(riastradh)

2019-08-01 01:19:21 UTC MAIN commitmail json YAML

fix locking botch.

(mrg)

2019-08-01 00:10:22 UTC MAIN commitmail json YAML

2019-07-31 23:53:25 UTC MAIN commitmail json YAML

Fix a couple of typos

(pgoyette)

2019-07-31 23:47:16 UTC MAIN commitmail json YAML

couple of minor API updates:
- change the read/write register callbacks to have the same phy/reg
  order as the MII code.
- add "mii_flags" param to usbnet_attach_ifp().  axe(4) wants it.

also:
- add usbnet debug code, sysctl node support
- remove commented DPRINTF()s accidentally left in place
- add usbnet_softc()
- reorder some attach code to be consistent
- re-add USBD_FORCE_SHORT_XFER for axen rx chain

ride 9.99.2 bump.

(mrg)

2019-07-31 21:50:26 UTC MAIN commitmail json YAML

Fix punctuation formatting nits.

(wiz)

2019-07-31 19:40:59 UTC MAIN commitmail json YAML

1) Make sure we have a complete endpoint descriptor header, otherwise
    small overflow.
2) Make sure the total length of the bos descriptor did not change in
    the meantime, otherwise severe memory corruption.
3) Make sure we have a complete hid descriptor header, otherwise
    small overflow.
4) Error out if the report descriptor is zero-sized, otherwise panic.

ok skrll@ mrg@

(maxv)

2019-07-31 18:35:58 UTC MAIN commitmail json YAML

PR kern/53590: remove -U DEBUG from config(1) invocation (that is:
revert r1.413). DTrace needs the full symbol information.

(martin)

2019-07-31 16:40:26 UTC MAIN commitmail json YAML

Manually patch the locale configuration to use the dragonfly code instead
of generic.

(christos)

2019-07-31 16:39:02 UTC MAIN commitmail json YAML

Use the dragonfly locale code for NetBSD too.

(christos)

2019-07-31 16:08:23 UTC MAIN commitmail json YAML

Add missing ifioctl_common() for SIOCSIFFLAGS to make if_flags controllable.

(msaitoh)

2019-07-31 15:02:39 UTC MAIN commitmail json YAML

2019-07-31 14:35:25 UTC MAIN commitmail json YAML

Bump for recent changes to struct rasops_info.

Welcome to NetBSD 9.99.2!

(rin)

2019-07-31 14:29:54 UTC MAIN commitmail json YAML

When font is switched, not only putchar, but also other ri_ops can be
changed by backend driver, e.g., see rasops1.c:

https://nxr.netbsd.org/xref/src/sys/dev/rasops/rasops1.c#58

(rin)

2019-07-31 11:02:49 UTC MAIN commitmail json YAML

if_axe.c has been updated for modern times.

(mrg)

2019-07-31 10:19:55 UTC MAIN commitmail json YAML

Make cdce depend on usbnet too

(martin)

2019-07-31 09:13:17 UTC MAIN commitmail json YAML

introduce a library of common code / backends to share code between
USB ethernet drivers.

usbnet.h introduces a new set of APIs to provide common solutions
for these driver features:
- USB endpoint pipe handling
- rx and tx chain handling
- generic handlers or support for several struct ifnet callbacks
- MII bus locking
- interrupt handling
- partial autoconf handling: much of attach, and detach/activate
  can use common versions directly.

currently, only axen(4) and cdce(4) are converted.  the reductions
in these drivers are quite significant:  if_cdce.c is reduced from
1000 lines to 320 lines, and if_axen is reduced from 1902 lines
to 1021 lines.

add a "usbnet" module and make the if_axen module depend upon it.

(mrg)

2019-07-31 06:25:14 UTC MAIN commitmail json YAML

doc/CHANGES.prev: fix 8.0->9.0 timetravel back to 2009

(cnst)

2019-07-31 05:08:10 UTC MAIN commitmail json YAML

Factor out copy-paste. No functional changes.

(rin)

2019-07-31 04:45:44 UTC MAIN commitmail json YAML

Provide buffer capable of single-row pixels in order to make things simpler.

XXX
Bump kernel version for rasops_info later.

(rin)