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 04:56:25 UTC Now

2019-10-27 18:00:46 UTC MAIN commitmail json YAML

Add support for TI AM335x

(jmcneill)

2019-10-27 17:59:21 UTC MAIN commitmail json YAML

Use Timer2 for timecounter, and enable hw module.

(jmcneill)

2019-10-27 17:58:42 UTC MAIN commitmail json YAML

Place devmap above KERNEL_IO_VBASE

(jmcneill)

2019-10-27 17:38:08 UTC MAIN commitmail json YAML

Use a case insensitive comparison. Add ExtraBold.

Fixes PR xsrc/40609: Problem with mkfontscale and fonts/freefonts with
xfree/xorg

(maya)

2019-10-27 17:21:23 UTC MAIN commitmail json YAML

2019-10-27 16:31:26 UTC MAIN commitmail json YAML

2019-10-27 15:43:46 UTC MAIN commitmail json YAML

2019-10-27 15:31:15 UTC MAIN commitmail json YAML

Add driver for one-register-per-pin type pinctrl devices.

(jmcneill)

2019-10-27 12:28:13 UTC MAIN commitmail json YAML

accept() is a function, not an argument!

(pgoyette)

2019-10-27 12:14:51 UTC MAIN commitmail json YAML

2019-10-27 11:33:56 UTC MAIN commitmail json YAML

2019-10-27 11:21:52 UTC MAIN commitmail json YAML

Back out previous - fixed differently by rin already.

(martin)

2019-10-27 11:11:09 UTC MAIN commitmail json YAML

Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and
fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR" warnings in
qemu-nvmm.

(maxv)

2019-10-27 11:08:04 UTC MAIN commitmail json YAML

Define _KERNEL while including reg.h: we need the (now protected) register
names.

(martin)

2019-10-27 10:28:55 UTC MAIN commitmail json YAML

Add a new VCPU conf option, that allows userland to request VMEXITs after a
TPR change. This is supported on all Intel CPUs, and not-too-old AMD CPUs.

The reason for wanting this option is that certain OSes (like Win10 64bit)
manage interrupt priority in hardware via CR8 directly, and for these OSes,
the emulator may want to sync its internal TPR state on each change.

Add two new fields in cap.arch, to report the conf capabilities. Report TPR
only on Intel for now, not AMD, because I don't have a recent AMD CPU on
which to test.

(maxv)

2019-10-27 09:38:10 UTC MAIN commitmail json YAML

Expose register difinitions for _STANDALONE.
Fix build failure in arch/luna68k/stand/boot.

(rin)

2019-10-27 08:30:05 UTC MAIN commitmail json YAML

Use the new PTE naming, and define CR3_FRAME_* separately. No functional
change.

(maxv)

2019-10-27 07:08:15 UTC MAIN commitmail json YAML

2019-10-27 02:07:42 UTC MAIN commitmail json YAML

make this a bit bigger to prepare for gcc-8

(christos)

2019-10-26 23:08:27 UTC MAIN commitmail json YAML

- use accept4 instead of paccept for everyone.
- add test for accept preserving non-block
- comment on FreeBSD and Linux behavior.

(christos)

2019-10-26 18:36:25 UTC MAIN commitmail json YAML

add some more machines to the 32 bit part

(christos)

2019-10-26 17:57:20 UTC MAIN commitmail json YAML

Separate the NetBSD-specific fenv functions from the standard ones.
No functional change.

(christos)

2019-10-26 17:51:49 UTC MAIN commitmail json YAML

disable -Wshadow because in c99 mode these get marked as builtins.

(christos)

2019-10-26 17:50:18 UTC MAIN commitmail json YAML

Add missing FALLTHROUGH (I am not 100% certain if this is correct), but
breaking/returning will end up printing nothing.

(christos)

2019-10-26 17:49:34 UTC MAIN commitmail json YAML

Hide the register definitions that should eventually be removed (or prefixed
with _REG_ with #ifdef _KERNEL. This avoids conflicts with let's say PC in
<termcap.h>.

(christos)

2019-10-26 15:58:55 UTC MAIN commitmail json YAML

Add bus driver for TI sysc interconncet.

(jmcneill)

2019-10-26 15:58:15 UTC MAIN commitmail json YAML

Fix am33xx_platform_early_putchar for pre-MMU output

(jmcneill)

2019-10-26 15:01:18 UTC MAIN commitmail json YAML

Do not search 64-bit directories for dts files

(jmcneill)

2019-10-26 14:57:27 UTC MAIN commitmail json YAML

2019-10-26 11:34:48 UTC MAIN commitmail json YAML

use strlcpy() for the uts conversion, makes the code simpler and more readable.

(christos)

2019-10-26 10:10:14 UTC MAIN commitmail json YAML

Misc cleanup to avoid future confusion.

- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

(tsutsui)

2019-10-26 09:58:40 UTC MAIN commitmail json YAML

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.
Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

(tsutsui)

2019-10-26 09:49:14 UTC MAIN commitmail json YAML

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

(tsutsui)

2019-10-26 07:32:52 UTC MAIN commitmail json YAML

In non-MBR specific files, #ifdef all tests for MBR for architectures
that do not even compile in MBR support.

(martin)

2019-10-26 07:31:39 UTC MAIN commitmail json YAML

2019-10-25 18:03:59 UTC MAIN commitmail json YAML

Unbreak the sanitizers for gcc. The sanitizer offset defined in
libsanitizer needs to match with the compiler concept of
TARGET_ASAN_SHADOW_OFFSET, since the compiler generates instructions
to access memory at that offset in the code, and expects the
sanitizer library to have mapped something there. If there is
disagreement, Mr. Segmentation Fault comes and resolves it for you.

(christos)

2019-10-25 17:39:57 UTC MAIN commitmail json YAML

2019-10-25 17:25:23 UTC MAIN commitmail json YAML

2019-10-25 17:17:30 UTC MAIN commitmail json YAML

register the IPI before spinning up CPUs, and make sure to do it exactly once
with this, and previous commits, G5s with four CPUs work
tested by Romain Dolbeau

(macallan)

2019-10-25 16:50:17 UTC MAIN commitmail json YAML

Add missing onewire temperature sensors, suggested by Andrew Doran.

(martin)

2019-10-25 16:25:14 UTC MAIN commitmail json YAML

PR kern/54617: onewire(4):

- Alter locking strategy to avoid deadlock on detach.
- Auto bus probe chews CPU.  Increase interval from 3s to 10s.
- Put temp sensor S/N in dev description so it can be identified.
- Use mutex/condvar.

Patch from Andrew Doran.

(martin)

2019-10-25 16:22:48 UTC MAIN commitmail json YAML

From the compilers point of view sys_exit returns a value.
Adjust the filemon wrapper accordingly (newer gcc is unhappy with the
function pointer casts otherwise and the amd64/ALL kernel fails to build).

(martin)

2019-10-25 16:02:11 UTC netbsd-9 commitmail json YAML

2019-10-25 16:01:17 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #381):

sys/arch/evbarm/conf/mk.beagle: revision 1.13

BEAGLE* kernel expects NetBSD bootargs (command line, no FDT).

(martin)

2019-10-25 12:49:58 UTC MAIN commitmail json YAML

On device where we do not want a MBR (raid, xbd) skip the MBR partitioning
scheme when trying to read partitions from disk. The generic reader will
fall back to disklabel then.

(martin)

2019-10-25 12:24:34 UTC MAIN commitmail json YAML

Honor the "no_mbr" flag (used especially for raid and xbd devices)

(martin)

2019-10-25 09:09:24 UTC MAIN commitmail json YAML

Update the libnvmm man page:

- Sync the naming with reality.

- Replace "relevant" by "desired" and "virtualizer" by "emulator", closer
  to what I meant.

- Add a "VCPU Configuration" section.

- Add a "Machine Ownership" section.

(maxv)

2019-10-25 01:32:56 UTC MAIN commitmail json YAML

2019-10-24 23:06:25 UTC MAIN commitmail json YAML

if we have a /cpus node, use it to find and attach all CPUs.
Now we find all CPUs on a 4x G5.

(macallan)

2019-10-24 23:04:46 UTC MAIN commitmail json YAML

bump CPU_MAXNUM to 4, hardware exists and is being asked about on port-macppc@

(macallan)

2019-10-24 23:03:35 UTC MAIN commitmail json YAML

bump NIRQ to 256 since we're going to use vectors above 128

(macallan)

2019-10-24 19:28:47 UTC MAIN commitmail json YAML

libc: Changed the iconv(3) function signature to the POSIX variation

(kamil)

2019-10-24 18:48:43 UTC MAIN commitmail json YAML

arm-common.c uses bitmap stuff so put the common-target.a before common.a

(christos)

2019-10-24 18:48:09 UTC MAIN commitmail json YAML

arm-common.c needs stack-protector treatment

(christos)

2019-10-24 18:46:21 UTC MAIN commitmail json YAML

1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
  bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
  Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
  it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
  sense because the documentation says that this flag does not make a
  difference in apcs mode, but might produce larger code in non-APCS mode.
  So we just add it to silence the warnings.

(christos)

2019-10-24 18:34:22 UTC MAIN commitmail json YAML

2019-10-24 18:19:27 UTC MAIN commitmail json YAML

Adapt xwininfo for POSIX iconv(3)

(kamil)

2019-10-24 18:18:00 UTC MAIN commitmail json YAML

src/external/bsd/libarchive/include/config_netbsd.h@1.11 / diff / nxr@1.11
src/external/bsd/nvi/dist/common/conv.c@1.11 / diff / nxr@1.11
src/external/bsd/smbfs/dist/lib/smb/nls.c@1.3 / diff / nxr@1.3
src/external/gpl2/gettext/include/config.h@1.2 / diff / nxr@1.2
src/external/gpl2/grep/include/config.h@1.2 / diff / nxr@1.2
src/external/gpl2/texinfo/include/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/binutils.old/usr.bin/common/arch/aarch64/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/aarch64eb/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils.old/usr.bin/common/arch/alpha/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/arm/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/armeb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/coldfire/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/earm/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/earmeb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/earmhf/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/earmhfeb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/hppa/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/i386/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/ia64/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/binutils.old/usr.bin/common/arch/m68000/config.h@1.6 / diff / nxr@1.6
      :
(more 407 files)
Switch the iconv(3) prototype to the POSIX conformant variation

Remove const from the 2nd argument.

const char ** and char ** are incompatible types and it was a cost to keep
the technically incompatible form for a more purist variation. NetBSD was
almost the last alive OS to still keep the const argument (known leftovers:
Minix and Illumos).

Keep the const form for the internal purposes inside citrus and rump.

Address the build breakage fallout in the same change.

There are no ABI changes.

Change accepted by core@.

(kamil)

2019-10-24 18:17:08 UTC MAIN commitmail json YAML

When we fail to setup for "all of the disk for NetBSD" report
failure, instead of silently aborting the install.

(martin)

2019-10-24 17:43:43 UTC netbsd-8 commitmail json YAML

2019-10-24 16:52:11 UTC MAIN commitmail json YAML

Solve [ vs. \133 in join.awk which replaces fix in r1.23 of regpkg. Ok uki@.

(rhialto)

2019-10-24 16:34:51 UTC netbsd-9 commitmail json YAML

2019-10-24 16:32:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hauke in ticket #379):

sys/external/bsd/drm/dist/shared-core/r128_drv.h: revision 1.3

When building r128drm(4), gcc objects to shifting into bit 31 of a
(signed) int. Make sure we are shifting an unsigned in those cases.

See also <http://mail-index.netbsd.org/tech-x11/2019/08/01/msg002010.html>.
XXX There are probably more of these in the header.

(martin)

2019-10-24 16:29:13 UTC netbsd-9 commitmail json YAML

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

sys/dev/mii/ciphy.c: revision 1.36

Call mii_phy_flowstatus() to show the flow setting.

(martin)

2019-10-24 16:27:22 UTC netbsd-9 commitmail json YAML

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

usr.sbin/sysinst/msg.mi.pl: revision 1.24

Fix polish translation for sysinst

PR install/53870 by Guest01
PR install/53871 by Guest01

patch by Krzysztof Lasocki

(martin)

2019-10-24 16:25:33 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_jme.c: revision 1.46

A * is missing here. This could cause a use-after-free.
Found by the lgtm bot.

(martin)

2019-10-24 16:23:17 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_alc.c: revision 1.40
sys/dev/pci/if_alc.c: revision 1.41
sys/dev/pci/if_alc.c: revision 1.42
sys/dev/pci/if_alc.c: revision 1.39
sys/dev/pci/if_alcreg.h: revision 1.8
share/man/man4/alc.4: revision 1.6

Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )

Move PCIe initialization code from alc_attach() to alc_init_pcie().
No functional change.

Some alc(4) fixes:
- Apply FreeBSD r218141:
> alc_rev was used without initialization such that it failed to
> apply AR8152 v1.0 specific initialization code. Fix this bug by
> explicitly reading PCI device revision id via PCI accessor.
>
> Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com )

- Apply FreeBSD r304574:
> Correct DMA channel number selection on AR816x family of
> controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
> except L1D controller, use vendor recommended ASPM parameters.
> While here, increase alc_dma_burst array size.  Broken H/W can
> return bogus value in theory.

- Use static.

- Whitespace fix. Remove extra backslash.

Add support for Killer E2400 and E2500.

(martin)

2019-10-24 16:19:23 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_msk.c: revision 1.92

Fix order of m_freem(). Found by kASan. OK'd by jdolecek and mrg.

(martin)

2019-10-24 16:14:11 UTC netbsd-9 commitmail json YAML

2019-10-24 16:12:42 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1386
sys/dev/pci/pcidevs: revision 1.1387

Modify Attansic Ethernet devices' description to clarify.
Add Killer E2400 and E2500.

(martin)

2019-10-24 16:06:09 UTC netbsd-8 commitmail json YAML

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

sys/dev/ic/i82586.c: revision 1.86
sys/arch/arm/ep93xx/epe.c: revision 1.45
sys/dev/pcmcia/if_cnw.c: revision 1.66
sys/arch/mac68k/nubus/if_netdock_nubus.c: revision 1.31
sys/dev/qbus/if_il.c: revision 1.36
sys/dev/pcmcia/if_ray.c: revision 1.95
sys/dev/qbus/if_qt.c: revision 1.24

if_percpuq(9) automatically increments if_ipackets, so don't increment it in
the driver itself to prevent double count.

(martin)

2019-10-24 16:03:38 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/if_bce.c: revision 1.55
sys/dev/pci/if_bce.c: revision 1.56
sys/dev/pci/if_bcereg.h: revision 1.5

- Add missing splnet()/splx() around mii_tick(). Same as OpenBSD rev. 1.23
- Use device_printf() instead of aprint_error_dev)() in bce_watchdog().
- Remove unnecessary inclusion.

-

From OpenBSD:
- Mark ETHERCAP_VLAN_MTU.
- Clear the powerdown mode. Fixes PR kern/24911 reported by Werner Backes.
- Set proper LED modes.

(martin)

2019-10-24 15:59:13 UTC netbsd-8 commitmail json YAML

2019-10-24 15:58:45 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/ciphy.c 1.34-1.37 via patch
sys/dev/mii/miidevs 1.158

- Indicate master mode if the negotiated result say so.
- Call mii_phy_flowstatus() to show the flow setting.
- Match a lot of Cicada and Vitesse devices correctly.
- Add support for VSC8221, VSC8234 and VSC8641.
- KNF

(martin)

2019-10-24 15:54:46 UTC netbsd-8 commitmail json YAML

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

sys/dev/mii/rgephy.c 1.43, 1.47, 1.49, 1.54-1.57
sys/dev/mii/rgephyreg.h 1.10, 1.12
(both via patch)

- It seems EEE support is not only on 8211F but on 8211D and newer.
- Indicate master mode if the negotiated result say so.
- Use symbolic names for chip revision.
- Cosmetic changes.
- KNF.

(martin)

2019-10-24 15:51:28 UTC netbsd-8 commitmail json YAML

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

sys/dev/hpc/hpcapm.c: revision 1.21

spl leak, found by Mootja

(martin)

2019-10-24 15:48:37 UTC netbsd-8 commitmail json YAML

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

sys/net/if_vlan.c: revision 1.147

vlan: get rid of unnecessary if_ipackets++ in vlan_input

It's done by if_input() below now.
Pointed out by msaitoh@

(martin)

2019-10-24 08:21:18 UTC MAIN commitmail json YAML

With TLSv1.3 a client has to receive and process metadata.

Update dispatch_tls_eof() to check for metadata and
rearm on success.

Ok: christos@

(hannken)

2019-10-24 03:37:58 UTC MAIN commitmail json YAML

Fix a bug that ukphy_status() misunderstand master mode.

(msaitoh)

2019-10-24 03:31:38 UTC MAIN commitmail json YAML

mknative tries to build this file with c++ and c++ does not like types
inside offsetof() (a language limitation).

(christos)

2019-10-24 03:26:06 UTC MAIN commitmail json YAML

2019-10-24 03:19:14 UTC MAIN commitmail json YAML

2019-10-24 02:31:34 UTC netbsd-9 commitmail json YAML

2019-10-23 21:40:36 UTC MAIN commitmail json YAML

Give syspkg names to xserver mi files

(uki)

2019-10-23 21:31:32 UTC MAIN commitmail json YAML

Architecture dependency files are obsolete

(uki)

2019-10-23 20:35:52 UTC netbsd-9 commitmail json YAML

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

sys/dev/fss.c: revision 1.108

Check fc_type before fc_cluster, because the latter may not be initialized.

This is harmless because fc_type is always initialized properly, so the
next branch wouldn't have been taken.

(martin)

2019-10-23 19:50:47 UTC netbsd-9 commitmail json YAML

2019-10-23 19:46:53 UTC netbsd-9 commitmail json YAML

2019-10-23 19:45:57 UTC netbsd-9 commitmail json YAML

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

sys/dev/mii/miidevs: revision 1.158
sys/dev/mii/ciphy.c: revision 1.37

- All of Cicada and Vitesse devices' OUI are not bit-reversed, so use "xx".
- Rename CS82xx -> CIS82xx
- Add Vitesse VSC8224, VSC8234, VSC8641 and VSC8501.
- Match a lot of Cicada and Vitesse devices correctly. This change also fixes
  a bug that ciphy_fixup() didn't work.
- Match VSC8221, VSC8234 and VSC8641.

(martin)

2019-10-23 19:43:25 UTC netbsd-9 commitmail json YAML

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

sys/dev/ic/i82586.c: revision 1.86
sys/arch/arm/ep93xx/epe.c: revision 1.45
sys/dev/pcmcia/if_cnw.c: revision 1.66
sys/arch/mac68k/nubus/if_netdock_nubus.c: revision 1.31
sys/arch/arm/sunxi/sunxi_can.c: revision 1.2
sys/dev/qbus/if_il.c: revision 1.36
sys/dev/pcmcia/if_ray.c: revision 1.95
sys/dev/qbus/if_qt.c: revision 1.24

if_ipackets is incremented in can_input(), so don't increment it in
sunxi_can_rx_intr to prevent double count. OK'd by bouyer@.

if_percpuq(9) automatically increments if_ipackets, so don't increment it in
the driver itself to prevent double count.

(martin)

2019-10-23 19:38:52 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_bce.c: revision 1.55
sys/dev/pci/if_bce.c: revision 1.56
sys/dev/pci/if_bcereg.h: revision 1.5

- Add missing splnet()/splx() around mii_tick(). Same as OpenBSD rev. 1.23
- Use device_printf() instead of aprint_error_dev)() in bce_watchdog().
- Remove unnecessary inclusion.

From OpenBSD:
- Mark ETHERCAP_VLAN_MTU.
- Clear the powerdown mode. Fixes PR kern/24911 reported by Werner Backes.
- Set proper LED modes.

(martin)

2019-10-23 19:33:07 UTC netbsd-9 commitmail json YAML

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

sys/netinet6/in6_ifattach.h: revision 1.14
sys/netinet6/ip6_input.c: revision 1.212
sys/netinet6/ip6_input.c: revision 1.213
sys/netinet6/ip6_input.c: revision 1.214
sys/netinet6/in6_var.h: revision 1.101
sys/netinet6/in6_var.h: revision 1.102
sys/netinet6/in6_ifattach.c: revision 1.116
sys/netinet6/in6_ifattach.c: revision 1.117
tests/net/ndp/t_ra.sh: revision 1.33

Reorganize in6_tmpaddrtimer stuffs
- Move the related functions to where in6_tmpaddrtimer_ch exists
- Hide global variable in6_tmpaddrtimer_ch
- Rename ip6_init2 to in6_tmpaddrtimer_init
- Reduce callers of callout_reset
- Use callout_schedule

Validate ip6_temp_preferred_lifetime (net.inet6.ip6.temppltime) on a change
ip6_temp_preferred_lifetime is used to calculate an interval period to
regenerate temporary addresse by
  TEMP_PREFERRED_LIFETIME - REGEN_ADVANCE - DESYNC_FACTOR
as per RFC 3041 3.5.  So it must be greater than (REGEN_ADVANCE +
DESYNC_FACTOR), otherwise it will be negative and go wrong, for example
KASSERT(to_ticks >= 0) in callout_schedule_locked fails.

tests: add tests for the validateion of net.inet6.ip6.temppltime

in6: reset the temporary address timer on a change of the interval period

(martin)

2019-10-23 19:28:49 UTC netbsd-9 commitmail json YAML

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

sys/net/if_vlan.c: revision 1.147

vlan: get rid of unnecessary if_ipackets++ in vlan_input
It's done by if_input() below now.

Pointed out by msaitoh@

(martin)

2019-10-23 19:25:39 UTC netbsd-9 commitmail json YAML

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

tests/lib/libc/sys/t_ptrace_wait.c: revision 1.136
sys/kern/kern_sig.c: revision 1.373
tests/lib/libc/sys/t_ptrace_wait.c: revision 1.138
tests/lib/libc/sys/t_ptrace_wait.c: revision 1.139
sys/kern/kern_sig.c: revision 1.376
tests/lib/libc/sys/t_ptrace_wait.c: revision 1.140
sys/kern/sys_ptrace_common.c: revision 1.64

Fix typo in a comment

Enable TEST_LWP_ENABLED in t_ptrace_wait*
The LWP events (created, exited) are now reliable in my local tests.
PR kern/51420
PR kern/51995

Remove the short-circuit lwp_exit() path from sigswitch()

sigswitch() can be called from exit1() through:

  ttywait()->ttysleep()-> cv_timedwait_sig()->sleepq_block()->issignal()->sigswitch()

lwp_exit() called for the last LWP triggers exit1() and this causes a panic.
The debugger related signals have short-circuit demise paths in
eventswitch() and other functions, before calling sigswitch().

This change restores the original behavior, but there is an open question
whether the kernel crash is a red herring of misbehavior of ttywait().
This should fix PR kern/54618 by David H. Gutteridge

Fix a race condition when handling concurrent LWP signals and add a test

Fix a race condition that caused PT_GET_SIGINFO to return incorrect
information when multiple signals were delivered concurrently
to different LWPs.  Add a regression test that verifies that when 50
threads concurrently use pthread_kill() on themselves, the debugger
receives all signals with correct information.

The kernel uses separate signal queues for each LWP.  However,
the signal context used to implement PT_GET_SIGINFO is stored in 'struct
proc' and therefore common to all LWPs in the process.  Previously,
this member was filled in kpsignal2(), i.e. when the signal was sent.

This meant that if another LWP managed to send another signal
concurrently, the data was overwritten before the process was stopped.

As a result, PT_GET_SIGINFO did not report the correct LWP and signal
(it could even report a different signal than wait()).  This can be
quite reliably reproduced with the number of 20 LWPs, however it can
also occur with 10.

This patch moves setting of signal context to issignal(), just before
the process is actually stopped.  The data is taken from per-LWP
or per-process signal queue.  The added test confirms that the debugger
correctly receives all signals, and PT_GET_SIGINFO reports both correct
LWP and signal number.
Reviewed by kamil.

Remove preprocessor switch TEST_VFORK_ENABLED in t_ptrace_wait*
vfork(2) tests are now enabled always and confirmed to be stable.

Remove preprocessor switch TEST_LWP_ENABLED in t_ptrace_wait*
LWP tests are now enabled always and confirmed to be stable.

(martin)

2019-10-23 19:17:15 UTC netbsd-9 commitmail json YAML

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

sys/lib/libsa/loadfile_elf32.c: revision 1.56

Make sure we're dealing with a static binary. Otherwise we could crash if
the user mistakenly tries to boot a KASLR kernel with 'boot' instead of
'pkboot'. Now we fail cleanly. Reported by cryo@.

(martin)

2019-10-23 19:14:19 UTC netbsd-9 commitmail json YAML

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

sys/arch/aarch64/aarch64/locore.S: revision 1.42
sys/arch/aarch64/aarch64/locore.S: revision 1.43
sys/arch/aarch64/aarch64/locore.S: revision 1.44
sys/arch/arm/fdt/cpu_fdt.c: revision 1.28
sys/arch/aarch64/include/cpu.h: revision 1.14
sys/arch/aarch64/include/param.h: revision 1.12
sys/arch/arm/arm32/cpu.c: revision 1.133
sys/arch/arm/arm32/cpu.c: revision 1.134
sys/arch/arm/include/cpu.h: revision 1.101
sys/arch/arm/acpi/cpu_acpi.c: revision 1.7
sys/arch/aarch64/aarch64/cpu.c: revision 1.23
sys/arch/aarch64/aarch64/cpu.c: revision 1.24
sys/arch/aarch64/aarch64/cpu.c: revision 1.25

Increase aarch64 MAXCPUS to 256.

-

Invalidate dcache before polling AP hatched status

-

Avoid overlap between BP and last AP stack. AP stacks are now in order of
increasing address order.

Spotted by and idea from mlelstv.

-

Use separate cacheline aligned arrays for mbox and hatched as before.

-

cpu_hatched_p only for MULTIPROCESSOR

(martin)

2019-10-23 18:55:36 UTC MAIN commitmail json YAML

Since add_debug_regex_map is used in opts-global.c unconditionally, we can't
disable the code with #ifndef __NetBSD__ because it breaks cross-building.

(christos)

2019-10-23 18:09:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #358):

sys/dev/pci/ahcisata_pci.c: revision 1.56

ahcisata: make sure bus mastering and memory space are actually enabled
This makes the "ROCKPro64 PCI-e to Dual SATA-II Interface Card" work.

(martin)

2019-10-23 18:08:31 UTC MAIN commitmail json YAML

Fix polish translation for sysinst

PR install/53870 by Guest01
PR install/53871 by Guest01

patch by Krzysztof Lasocki

(kamil)

2019-10-23 18:06:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #357):

sys/dev/ic/ahcisata_core.c: revision 1.76

Ensure cmdh_prdtl is 0 in ahci_do_reset_drive().
(I'm probably just being paranoid here.)

(martin)

2019-10-23 16:26:42 UTC MAIN commitmail json YAML

Add note for GCC 8 builds (see PR 54644)

(martin)

2019-10-23 14:45:38 UTC MAIN commitmail json YAML

simplify more (from rudolf)

(christos)

2019-10-23 14:44:41 UTC MAIN commitmail json YAML

Missing ata_channel_unlock(chp). Noted by mjg@freebsd.

(christos)

2019-10-23 12:02:56 UTC MAIN commitmail json YAML

Three changes in libnvmm:

- Add 'mach' and 'vcpu' backpointers in the nvmm_io and nvmm_mem
  structures.

- Rename 'nvmm_callbacks' to 'nvmm_assist_callbacks'.

- Rename and migrate NVMM_MACH_CONF_CALLBACKS to NVMM_VCPU_CONF_CALLBACKS,
  it now becomes per-VCPU.

(maxv)

2019-10-23 11:27:08 UTC MAIN commitmail json YAML

Correct the __libc_thr_keycreate signature in the MSan interceptor

Noted by gcc8.

In practice it might have no impact on the functionality.

(kamil)

2019-10-23 07:01:12 UTC MAIN commitmail json YAML

Miscellaneous changes in NVMM, to address several inconsistencies and
issues in the libnvmm API.

- Rename NVMM_CAPABILITY_VERSION to NVMM_KERN_VERSION, and check it in
  libnvmm. Introduce NVMM_USER_VERSION, for future use.

- In libnvmm, open "/dev/nvmm" as read-only and with O_CLOEXEC. This is to
  avoid sharing the VMs with the children if the process forks. In the
  NVMM driver, force O_CLOEXEC on open().

- Rename the following things for consistency:
      nvmm_exit*              -> nvmm_vcpu_exit*
      nvmm_event*            -> nvmm_vcpu_event*
      NVMM_EXIT_*            -> NVMM_VCPU_EXIT_*
      NVMM_EVENT_INTERRUPT_HW -> NVMM_VCPU_EVENT_INTR
      NVMM_EVENT_EXCEPTION    -> NVMM_VCPU_EVENT_EXCP
  Delete NVMM_EVENT_INTERRUPT_SW, unused already.

- Slightly reorganize the MI/MD definitions, for internal clarity.

- Split NVMM_VCPU_EXIT_MSR in two: NVMM_VCPU_EXIT_{RD,WR}MSR. Also provide
  separate u.rdmsr and u.wrmsr fields. This is more consistent with the
  other exit reasons.

- Change the types of several variables:
      event.type                  enum -> u_int
      event.vector                uint64_t -> uint8_t
      exit.u.*msr.msr:            uint64_t -> uint32_t
      exit.u.io.type:            enum -> bool
      exit.u.io.seg:              int -> int8_t
      cap.arch.mxcsr_mask:        uint64_t -> uint32_t
      cap.arch.conf_cpuid_maxops: uint64_t -> uint32_t

- Delete NVMM_VCPU_EXIT_MWAIT_COND, it is AMD-only and confusing, and we
  already intercept 'monitor' so it is never armed.

- Introduce vmx_exit_insn() for NVMM-Intel, similar to svm_exit_insn().
  The 'npc' field wasn't getting filled properly during certain VMEXITs.

- Introduce nvmm_vcpu_configure(). Similar to nvmm_machine_configure(),
  but as its name indicates, the configuration is per-VCPU and not per-VM.
  Migrate and rename NVMM_MACH_CONF_X86_CPUID to NVMM_VCPU_CONF_CPUID.
  This becomes per-VCPU, which makes more sense than per-VM.

- Extend the NVMM_VCPU_CONF_CPUID conf to allow triggering VMEXITs on
  specific leaves. Until now we could only mask the leaves. An uint32_t
  is added in the structure:
uint32_t mask:1;
uint32_t exit:1;
uint32_t rsvd:30;
  The two first bits select the desired behavior on the leaf. Specifying
  zero on both resets the leaf to the default behavior. The new
  NVMM_VCPU_EXIT_CPUID exit reason is added.

(maxv)

2019-10-23 06:30:16 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #369):
usr.sbin/sysinst/disks.c: revision 1.51
PR install/54480: when upgrading a system and re-mounting the target /
with proper options, and the installed system does not use NAME= syntax
in fstab(5), use the device name we used to get here, instead of the
name from fstab, it might be different to what the real system calls the
device (compact flash root showing up as wd0 native, but sd? on the
card reader used for updating it right now).
This is an abuse of the upgrade functionality and in general pretty dangerous
when multiple devices are used in the upgraded fstab (e.g. separate /usr),
and it used to work more by accident with the old code.
However, it is a quite usefull way to upgrade tiny systems with compact flash
root, and it used to work - so support it properly (as far as we can).

(msaitoh)

2019-10-23 06:04:44 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #365):
usr.sbin/sysinst/bsddisklabel.c: revision 1.28
usr.sbin/sysinst/disks.c: revision 1.53
Skip unwanted (zero sized) partitions.

(msaitoh)

2019-10-23 06:03:24 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #364):
usr.sbin/sysinst/disklabel.c: revision 1.14
When translating (internal) indices to device names, properly deal with
gaps in partition allocations (e.g. no swap partition).

(msaitoh)

2019-10-23 06:01:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #363):
usr.sbin/sysinst/msg.mi.en: revision 1.23
usr.sbin/sysinst/msg.mi.fr: revision 1.21
Sentence begins with capital letter ("yes or no?"). Also add a few french
sentences, to make it less awful, but not complete. Not tested.

(msaitoh)

2019-10-23 05:58:13 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #362):
usr.sbin/sysinst/disks.c: revision 1.52
Remove a hardcoded assumption that for BIOS boot we always will have
the first partition as root - in mixed EFI/BIOS setups this might not
be true (and in general the user is free to define arbitrary orders).
Pointed out by Robert Nestor.

(msaitoh)

2019-10-23 05:20:52 UTC MAIN commitmail json YAML

Add SDHC flags.

+ SDHC_FLAG_BROKEN_ADMA2_ZEROLEN
  Broken ADMA2 Zero length descriptor.
  Can't 64K Byte data transfer.
+ SDHC_FLAG_NO_1_8_V
  Support no 1.8V Supply.
  Disable UHS-I bus speed mode (SDR50, DDR50, SDR104).

(hkenken)

2019-10-23 02:34:43 UTC MAIN commitmail json YAML

Implement platform reset for i.MX6.

(hkenken)

2019-10-23 01:30:54 UTC MAIN commitmail json YAML

we want to check that the allocation is going to be zero, not whether
some pointer is NULL (oops).

Should be the right version this time!

(maya)

2019-10-23 01:03:36 UTC MAIN commitmail json YAML

Check if size is zero, too.

PR kern/53734

(maya)

2019-10-23 00:52:39 UTC MAIN commitmail json YAML

Avoid kmem_alloc(0,..), which hits an assertion.

PR kern/53734: Prevent kernel panic during Wide Vision FHD Camera detection

(maya)

2019-10-23 00:06:07 UTC MAIN commitmail json YAML

Switch strncpy(3) with length of source to strlcpy(3) in xedit

Fixes build with gcc8.

(kamil)

2019-10-22 22:03:27 UTC MAIN commitmail json YAML

allow to have a per-product init function

(tnn)

2019-10-22 21:41:01 UTC MAIN commitmail json YAML

use __SHIFTIN

(tnn)

2019-10-22 21:40:10 UTC MAIN commitmail json YAML

define SSD1322 command set

(tnn)

2019-10-22 18:43:14 UTC MAIN commitmail json YAML

Disable private timer whose new driver clashes with the global timer's one.

Stopgap measure to make the DE0 Nano Soc work again, targeted for netbsd-9
pullup. We'll see later if we switch to using the private timer.

(aymeric)

2019-10-22 13:49:30 UTC MAIN commitmail json YAML

move a{md,arch}64 to gcc 8

(christos)

2019-10-22 13:19:47 UTC MAIN commitmail json YAML

When building r128drm(4), gcc objects to shifting into bit 31 of a
(signed) int. Make sure we are shifting an unsigned in those cases.

See also <http://mail-index.netbsd.org/tech-x11/2019/08/01/msg002010.html>.

XXX There are probably more of these in the header.

(hauke)

2019-10-22 12:09:11 UTC MAIN commitmail json YAML

Fix channel locking - patch from Christos.

(martin)

2019-10-22 06:28:18 UTC MAIN commitmail json YAML

2019-10-22 03:01:53 UTC MAIN commitmail json YAML

Give syspkg names to xcomp all online manuals

(uki)

2019-10-21 20:25:53 UTC netbsd-9 commitmail json YAML

2019-10-21 20:17:31 UTC netbsd-9 commitmail json YAML

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

sys/uvm/uvm_mmap.c: revision 1.173

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).

(martin)

2019-10-21 20:15:03 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #354):

sys/fs/ntfs/ntfs_vfsops.c: revision 1.108
sys/fs/ntfs/ntfs_subr.c: revision 1.62

It is not possible to call vflush() from xxx_mount().
Replace with a vnode iterator and use vrecycle().

-

When the MFT record size is lower than the cluster size we have
to read consecutive clusters to fill the MFT record.
Should fix PR kern/54598: mount ntfs panic

(martin)

2019-10-21 20:13:09 UTC netbsd-9 commitmail json YAML

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

sys/kern/sys_sig.c: revision 1.48
sys/sys/signalvar.h: revision 1.94
sys/sys/signalvar.h: revision 1.95

Introduce sigaction_copy(), to copy sigaction structures without padding,
and use it in sigaction1(). This is to fix info leaks all at once in the
signal functions.

-

Fix libkvm build.

(martin)

2019-10-21 20:09:23 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by joerg in ticket #352:

external/bsd/pkg_install/dist/admin/main.c      up to 1.4
external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.5
external/bsd/pkg_install/dist/lib/license.c    up to 1.9
external/bsd/pkg_install/dist/lib/version.h    up to 1.15

Merge pkg_install-20191008 from pkgsrc.

(martin)

2019-10-21 20:07:36 UTC netbsd-9 commitmail json YAML

2019-10-21 20:06:17 UTC netbsd-9 commitmail json YAML

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

sys/compat/common/kern_uipc_socket_50.c: revision 1.3
sys/sys/compat_stub.h: revision 1.19
sys/kern/uipc_socket.c: revision 1.284

Actually return the updated pointer-to-mbuf-pointer to the caller
rather than discarding-after-assignment.  Introduced from the
[pgoyette-compat] branch work.

(martin)

2019-10-21 19:00:11 UTC MAIN commitmail json YAML

follow the channel locking protocol during probe (like the other drivers)

(christos)

2019-10-21 18:58:57 UTC MAIN commitmail json YAML

chuq does not like insomniac allocations so unlock-alloc-lock instead.

(christos)

2019-10-21 18:37:47 UTC MAIN commitmail json YAML

Fix assert_sleepable() panic by allocating with NOSLEEP. The alternative is
to unlock and relock the channel, but seems more dangerous to do so.

(christos)

2019-10-21 18:36:08 UTC MAIN commitmail json YAML

Remove preprocessor switch TEST_LWP_ENABLED in t_ptrace_wait*

LWP tests are now enabled always and confirmed to be stable.

(kamil)

2019-10-21 18:31:40 UTC MAIN commitmail json YAML

Remove preprocessor switch TEST_VFORK_ENABLED in t_ptrace_wait*

vfork(2) tests are now enabled always and confirmed to be stable.

(kamil)

2019-10-21 17:07:01 UTC MAIN commitmail json YAML

Fix a race condition when handling concurrent LWP signals and add a test

Fix a race condition that caused PT_GET_SIGINFO to return incorrect
information when multiple signals were delivered concurrently
to different LWPs.  Add a regression test that verifies that when 50
threads concurrently use pthread_kill() on themselves, the debugger
receives all signals with correct information.

The kernel uses separate signal queues for each LWP.  However,
the signal context used to implement PT_GET_SIGINFO is stored in 'struct
proc' and therefore common to all LWPs in the process.  Previously,
this member was filled in kpsignal2(), i.e. when the signal was sent.
This meant that if another LWP managed to send another signal
concurrently, the data was overwritten before the process was stopped.

As a result, PT_GET_SIGINFO did not report the correct LWP and signal
(it could even report a different signal than wait()).  This can be
quite reliably reproduced with the number of 20 LWPs, however it can
also occur with 10.

This patch moves setting of signal context to issignal(), just before
the process is actually stopped.  The data is taken from per-LWP
or per-process signal queue.  The added test confirms that the debugger
correctly receives all signals, and PT_GET_SIGINFO reports both correct
LWP and signal number.

Reviewed by kamil.

(mgorny)

2019-10-21 17:03:01 UTC netbsd-8 commitmail json YAML

2019-10-21 17:01:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1410):

sys/fs/ntfs/ntfs_vfsops.c: revision 1.108
sys/fs/ntfs/ntfs_subr.c: revision 1.62

It is not possible to call vflush() from xxx_mount().
Replace with a vnode iterator and use vrecycle().

-

When the MFT record size is lower than the cluster size we have
to read consecutive clusters to fill the MFT record.
Should fix PR kern/54598: mount ntfs panic

(martin)

2019-10-21 16:57:40 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by joerg in ticket #1409:

external/bsd/pkg_install/dist/add/perform.c    up to 1.6
external/bsd/pkg_install/dist/add/pkg_add.1    up to 1.3
external/bsd/pkg_install/dist/admin/audit.c    up to 1.3
external/bsd/pkg_install/dist/admin/main.c      up to 1.4
external/bsd/pkg_install/dist/admin/pkg_admin.1 up to 1.5
external/bsd/pkg_install/dist/create/util.c    up to 1.2
external/bsd/pkg_install/dist/delete/pkg_delete.c up to 1.3
external/bsd/pkg_install/dist/info/main.c      up to 1.3
external/bsd/pkg_install/dist/lib/lib.h        up to 1.9
external/bsd/pkg_install/dist/lib/license.c    up to 1.9
external/bsd/pkg_install/dist/lib/parse-config.c up to 1.3
external/bsd/pkg_install/dist/lib/pkcs7.c      up to 1.4
external/bsd/pkg_install/dist/lib/pkg_io.c      up to 1.3
external/bsd/pkg_install/dist/lib/version.h    up to 1.15
external/bsd/pkg_install/dist/lib/vulnerabilities-file.c up to 1.3

Merge pkg_install-20191008 from pkgsrc.

(martin)

2019-10-21 16:10:54 UTC MAIN commitmail json YAML

2019-10-21 16:10:00 UTC MAIN commitmail json YAML

When translating (internal) indices to device names, properly deal with
gaps in partition allocations (e.g. no swap partition).

(martin)

2019-10-21 14:23:53 UTC MAIN commitmail json YAML

2019-10-21 14:07:42 UTC MAIN commitmail json YAML

Remove a hardcoded assumption that for BIOS boot we always will have
the first partition as root - in mixed EFI/BIOS setups this might not
be true (and in general the user is free to define arbitrary orders).
Pointed out by Robert Nestor.

(martin)

2019-10-21 11:59:01 UTC MAIN commitmail json YAML

Give syspkg names. catman, htmlman, man are remaining

(uki)

2019-10-21 10:09:24 UTC MAIN commitmail json YAML

Call cpu_probe_fpu() only once (from cpu0), and style.

(maxv)

2019-10-21 08:22:06 UTC MAIN commitmail json YAML

2019-10-21 08:00:59 UTC MAIN commitmail json YAML

if_ipackets is incremented in can_input(), so don't increment it in
sunxi_can_rx_intr to prevent double count. OK'd by bouyer@.

(msaitoh)

2019-10-21 06:26:12 UTC MAIN commitmail json YAML

vlan: get rid of unnecessary if_ipackets++ in vlan_input

It's done by if_input() below now.

Pointed out by msaitoh@

(ozaki-r)

2019-10-21 05:16:51 UTC MAIN commitmail json YAML

Mark up argon2 description. Restore removed lines/text from previous
commit.

(wiz)

2019-10-21 02:36:48 UTC MAIN commitmail json YAML

2019-10-20 23:47:14 UTC MAIN commitmail json YAML

Add a device tree Overlay for the Orange Pi Zero NAS expansion board for
Orange Pi Zero and Orange Pi Zero Plus.

(thorpej)

2019-10-20 21:53:43 UTC MAIN commitmail json YAML

2019-10-20 17:45:08 UTC MAIN commitmail json YAML

Be consistent in not marking up "GPIO".

(wiz)

2019-10-20 16:02:11 UTC MAIN commitmail json YAML

opening a symlink with O_NOFOLLOW is expected to fail.

(christos)

2019-10-20 14:25:14 UTC MAIN commitmail json YAML

cpu_hatched_p only for MULTIPROCESSOR

(jmcneill)

2019-10-20 14:03:51 UTC MAIN commitmail json YAML

Use separate cacheline aligned arrays for mbox and hatched as before.

(jmcneill)

2019-10-20 12:25:43 UTC MAIN commitmail json YAML

Avoid overlap between BP and last AP stack. AP stacks are now in order of
increasing address order.

Spotted by and idea from mlelstv.

(skrll)

2019-10-20 11:17:42 UTC MAIN commitmail json YAML

Invalidate dcache before polling AP hatched status

(jmcneill)

2019-10-20 09:41:53 UTC MAIN commitmail json YAML

gpioctl: implement support for "gpioctl gpioN list". Like pcictl(8).

For drivers that name their pins, this can be used to determine how the
logical pins are mapped to physical pins. Example from sunxigpio(4):

# gpioctl gpio0 list
0: PA0
1: PA1
2: PA2
...

(tnn)

2019-10-20 09:35:18 UTC MAIN commitmail json YAML

gpio: make GPIOREAD return also the symbolic name of the pin, if it is set

(tnn)

2019-10-20 08:29:38 UTC MAIN commitmail json YAML

2019-10-20 07:58:22 UTC MAIN commitmail json YAML

2019-10-20 07:54:30 UTC MAIN commitmail json YAML

Re-order _P() macros to match bit definitions.  NFCI

(skrll)

2019-10-20 07:22:51 UTC MAIN commitmail json YAML

2019-10-20 07:18:22 UTC MAIN commitmail json YAML

Remove KASSERT(!VM_PAGEMD_PVLIST_LOCKED_P(mdpg)) - can only assert that it
is owned

(skrll)

2019-10-19 19:45:10 UTC MAIN commitmail json YAML

Put back 'default', because llvm apparently doesn't realize that all cases
are covered in the switch.

(maxv)

2019-10-19 18:04:26 UTC MAIN commitmail json YAML

2019-10-19 15:55:51 UTC MAIN commitmail json YAML

- factor out common code
- use llabs because time_t can be long long.

(christos)

2019-10-19 15:48:48 UTC MAIN commitmail json YAML

2019-10-19 15:44:31 UTC MAIN commitmail json YAML

2019-10-19 14:42:30 UTC MAIN commitmail json YAML

Fix a build error with options VERBOSE_INIT_ARM.

(tsutsui)

2019-10-19 13:09:57 UTC MAIN commitmail json YAML

evbarm: add dwcwdt(4) to GENERIC64

(tnn)

2019-10-19 13:08:52 UTC MAIN commitmail json YAML

dwcwdt: make this work correctly

- sysmon_wdog.smw_period is seconds, not milliseconds
- tickle the watchdog before enabling it

(tnn)

2019-10-19 12:55:21 UTC MAIN commitmail json YAML

rk3399: add definition for the watchdog timer clock gate

The watchdog timer clock gate is a bit special because it's a secure
gate that can only be accessed from EL3. We still need a dummy gate
definition for it so that dwcwdt(4) can infer the frequency via the
parent clock. The gate is enabled by default by U-Boot.

(tnn)

2019-10-19 06:40:20 UTC MAIN commitmail json YAML

awge: drop redundant m_adj(). Handled via uipc_mbuf.c r1.235 instead.

(tnn)

2019-10-19 06:36:47 UTC MAIN commitmail json YAML

mcl_cache: align items to COHERENCY_UNIT

Because we do cache incoherent DMA to/from mbufs we cannot safely share
share cache lines with adjacent items that may be concurrently accessed.

(tnn)

2019-10-18 23:08:29 UTC MAIN commitmail json YAML

From OpenBSD:
- Mark ETHERCAP_VLAN_MTU.
- Clear the powerdown mode. Fixes PR kern/24911 reported by Werner Backes.
- Set proper LED modes.

(msaitoh)

2019-10-18 23:06:57 UTC MAIN commitmail json YAML

- Add missing splnet()/splx() around mii_tick(). Same as OpenBSD rev. 1.23
- Use device_printf() instead of aprint_error_dev)() in bce_watchdog().
- Remove unneccesary inclusion.

(msaitoh)

2019-10-18 20:42:10 UTC MAIN commitmail json YAML

2019-10-18 19:43:49 UTC MAIN commitmail json YAML

print which process asked for an unsupported event so we can fix it.

(christos)

2019-10-18 17:16:50 UTC MAIN commitmail json YAML

ahcisata: make sure bus mastering and memory space are actually enabled

This makes the "ROCKPro64 PCI-e to Dual SATA-II Interface Card" work.

(tnn)

2019-10-18 16:26:38 UTC MAIN commitmail json YAML

Remove unused call to savectx().

(maxv)

2019-10-18 15:00:15 UTC MAIN commitmail json YAML

Add missing include -- kernel ALL/i386 compiles.

(hannken)

2019-10-18 14:59:22 UTC MAIN commitmail json YAML

Make compile with "options DEBUG".

(hannken)

2019-10-18 12:53:09 UTC MAIN commitmail json YAML

Modified atphy(4)

* Support CLK_25M clock out.
* Support internal delay for RGMII interface.

(hkenken)

2019-10-18 08:19:33 UTC MAIN commitmail json YAML

When the MFT record size is lower than the cluster size we have
to read consecutive clusters to fill the MFT record.

Should fix PR kern/54598: mount ntfs panic

(hannken)

2019-10-18 08:18:40 UTC MAIN commitmail json YAML

It is not possible to call vflush() from xxx_mount().

Replace with a vnode iterator and use vrecycle().

(hannken)

2019-10-18 06:58:06 UTC MAIN commitmail json YAML

2019-10-18 06:51:02 UTC MAIN commitmail json YAML

2019-10-18 06:50:08 UTC MAIN commitmail json YAML

2019-10-18 06:13:38 UTC MAIN commitmail json YAML

2019-10-18 04:33:53 UTC MAIN commitmail json YAML

in6: reset the temporary address timer on a change of the interval period

(ozaki-r)

2019-10-18 04:13:56 UTC MAIN commitmail json YAML

2019-10-18 04:09:03 UTC MAIN commitmail json YAML

2019-10-18 01:38:28 UTC MAIN commitmail json YAML

Multiboot2 kernel support for i386

That implementation works either with BIOS or UEFI bootstrap

This requires the following kernel changes:

Add UEFI boot services and I/O method protoypes
src/sys/arch/x86/include/efi.h 1.8 - 1.9

Fix EFI system table mapping in virtual space
src/sys/arch/x86/x86/efi.c 1.19 - 1.20

Make sure no bioscall is issued when booting off UEFI system
src/sys/arch/i386/i386/machdep.c 1.821 - 1.822
src/sys/arch/i386/pci/piixpcib.c 1.22 - 1.23

And the following bootstrap changes:

Add kernel symbols for multiboot1
src/sys/arch/i386/stand/lib/exec_multiboot1.c 1.2 - 1.3
src/sys/arch/i386/stand/lib/libi386.h 1.45 - 1.47

Fix kernel symbols for multiboot2
src/sys/arch/i386/stand/lib/exec_multiboot2.c 1.2 - 1.3

(manu)

2019-10-18 01:24:51 UTC MAIN commitmail json YAML

Remove prototype added twice by mistake

(manu)

2019-10-18 01:19:00 UTC MAIN commitmail json YAML

Fix multiboot1 kernel symbol load

ELF_Shdr's sh_type field is a value, not a flag field

(manu)