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

2024-05-10 21:23:16 UTC Now

2020-07-08 13:12:35 UTC MAIN commitmail json YAML

Turn off pci_conf_debug -- it was enabled by mistake in previous
commit.

(thorpej)

2020-07-08 12:14:19 UTC MAIN commitmail json YAML

Add "Spleen 6x12" to wsfont, a font targetted at OLED displays.

It contains all printable ASCII characters (96 glyphes).

The font is 2-Clause BSD licensed and is my original creation.

(fcambus)

2020-07-08 12:12:16 UTC MAIN commitmail json YAML

Comment updates

(skrll)

2020-07-08 11:24:49 UTC MAIN commitmail json YAML

Add font file for Spleen 6x12, which can be loaded into the wsfont pool
or a wscons display device using wsfontload(8).

(fcambus)

2020-07-08 11:11:00 UTC MAIN commitmail json YAML

initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter()

Follows revision 1.177 of sys/arch/x86/x86/cpu.c:
"""
Add a small API for in-kernel FPU operations.

        fpu_kern_enter();
        /* do FPU stuff */
        fpu_kern_leave();
"""

With this DomU kernel boots with:
[  2.0000571] aes: Intel AES-NI

(jdolecek)

2020-07-08 10:18:00 UTC MAIN commitmail json YAML

Use the stack provided by armv6_start.S rather than svcstk.  This saves
some bss too.

(skrll)

2020-07-08 10:04:20 UTC MAIN commitmail json YAML

Sort the __HAVE_* defines

(skrll)

2020-07-08 10:02:44 UTC MAIN commitmail json YAML

Sort include "opt_..."s

(skrll)

2020-07-08 09:50:45 UTC MAIN commitmail json YAML

Provide some KVA layout #defines in arm32/vmparam.h and simplify
fdt/platform.h as a nice side effect

(skrll)

2020-07-08 08:20:05 UTC MAIN commitmail json YAML

2020-07-08 07:59:49 UTC MAIN commitmail json YAML

Remove an unnecessary #ifdef

(skrll)

2020-07-08 06:58:33 UTC MAIN commitmail json YAML

Define USPACE in terms of UPAGES (not the other way around) now that
NBPG is fixed at 4K

(skrll)

2020-07-08 06:54:57 UTC MAIN commitmail json YAML

2020-07-08 03:45:13 UTC MAIN commitmail json YAML

Determination of A64,A32,T32 for disasm is now done in strrdisasm() instead of the caller.
correctly disassemble by processor state if defined DEBUG_DUMP_ON_USERFAULT or DEBUG_DDB_ON_USERFAULT.

(ryo)

2020-07-08 03:44:10 UTC MAIN commitmail json YAML

don't read memory directly.
In particular, userland memory may be unmapped at the time of reading.

(ryo)

2020-07-08 00:06:33 UTC MAIN commitmail json YAML

Remove -a from example

(removed from script and manual in the 20170821 version)

(reed)

2020-07-07 20:04:38 UTC netbsd-9 commitmail json YAML

2020-07-07 20:02:27 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by simonb in ticket #989):

usr.sbin/postinstall/postinstall.in: revision 1.31

Sort missing IDs (users and groups) by the numeric ID.

(martin)

2020-07-07 19:58:25 UTC netbsd-8 commitmail json YAML

2020-07-07 19:55:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1569):

external/bsd/nvi/dist/vi/v_txt.c: revision 1.7

PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.
PR is only for nottywerase, but also fix ttywerase case, taken from

OpenBSD via nvi2:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.

Thanks for detailed explanation how to reproduce the problem!

(martin)

2020-07-07 19:50:12 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #988):

external/bsd/nvi/dist/vi/v_txt.c: revision 1.7

PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.
PR is only for nottywerase, but also fix ttywerase case, taken from

OpenBSD via nvi2:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.

Thanks for detailed explanation how to reproduce the problem!

(martin)

2020-07-07 16:37:18 UTC netbsd-9 commitmail json YAML

2020-07-07 16:14:23 UTC MAIN commitmail json YAML

2020-07-07 14:29:07 UTC MAIN commitmail json YAML

Fix skipping of directories that begin with a '.' in -R mode.
It is not enough to avoid displaying the contents of the directory,
we need to set FTS_SKIP to avoid descending into any subdirs too.
Otherwise, if a ".foo" directory has a subdirectory "bar", ls will
descend into bar and display its contents. From Todd Miller

(christos)

2020-07-07 13:57:20 UTC MAIN commitmail json YAML

rascons_init_rasops(): Initialize color palette only for macppc.
Fix build failure for ofppc.

(rin)

2020-07-07 12:51:19 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #987):

lib/libcurses/get_wch.c: revision 1.24
lib/libcurses/getch.c: revision 1.75

Pads are not to be automatically refreshed on input.

X/Open Curses says in the documentation for newpad():
  Automatic refreshes of pads (e.g., from scrolling or echoing of
  input) do not occur.

And in the documentation for get*():
  If the current or specified window is not a pad, and it has been
  moved or modified since the last refresh operation, then it will be
  refreshed before another character is read.

>From Michael Forney in PR lib/55457

(martin)

2020-07-07 12:48:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1567):

lib/libcurses/insch.c: revision 1.26
lib/libcurses/ins_wch.c: revision 1.15
lib/libcurses/ins_wstr.c: revision 1.15
lib/libcurses/insstr.c: revision 1.8

mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr.
>From Naman Jain in PR lib/55460.

(martin)

2020-07-07 12:43:51 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #986):

lib/libcurses/insch.c: revision 1.26
lib/libcurses/ins_wch.c: revision 1.15
lib/libcurses/ins_wstr.c: revision 1.15
lib/libcurses/insstr.c: revision 1.8

mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr.
>From Naman Jain in PR lib/55460.

(martin)

2020-07-07 12:02:29 UTC netbsd-9 commitmail json YAML

Also pull up more cosmetic revisions to minimize diffs with HEAD, requested
by jmcneill in ticket #980:

sys/dev/pci/if_aq.c 1.8,1.17

constify, remove duplicate ;

(martin)

2020-07-07 12:01:21 UTC MAIN commitmail json YAML

Sort missing IDs (users and groups) by the numeric ID.

(simonb)

2020-07-07 11:56:57 UTC netbsd-8 commitmail json YAML

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

sys/netinet/tcp_input.c: revision 1.418 (via patch)

- always set both ip and ip6, otherwise a kernel assertion can be triggered
- move alignment early so that we do less work

(martin)

2020-07-07 11:00:54 UTC netbsd-9 commitmail json YAML

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

sys/netinet/tcp_input.c: revision 1.418

- always set both ip and ip6, otherwise a kernel assertion can be triggered
- move alignment early so that we do less work

(martin)

2020-07-07 10:58:43 UTC MAIN commitmail json YAML

PR bin/55468

Fix crash due to out-of-bounds access with Ctrl-W.

PR is only for nottywerase, but also fix ttywerase case, taken from
OpenBSD via nvi2:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23
https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337

Also, comment there is no worry for altwerase specific code, which
seems suspicious at a glance.

Reported by Azuma OKAMOTO.
Thanks for detailed explanation how to reproduce the problem!

(rin)

2020-07-07 10:49:11 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #984):

sys/arch/sun3/conf/DISKLESS3X: revision 1.61
sys/arch/sun3/conf/GENERIC3X: revision 1.135
sys/arch/sun3/conf/INSTALL3X: revision 1.61
sys/arch/sun3/conf/INSTALL: revision 1.62
sys/arch/sun3/conf/DISKLESS: revision 1.77
sys/arch/sun3/conf/GENERIC: revision 1.182
sys/arch/sun3/conf/RAMDISK3X: revision 1.44
sys/arch/sun3/conf/RAMDISK: revision 1.56

Use "-fno-unwind-tables" to shrink binaries more.

sun3 GENERIC -Os
  text    data    bss    dec    hex filename
1762862  75292  93032 1931186  1d77b2 netbsd
sun3 GENERIC -Os -fno-unwind-tables
  text    data    bss    dec    hex filename
1545726  75292  93032 1714050  1a2782 netbsd

GENERIC is tested on TME.

(martin)

2020-07-07 10:46:27 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #983):

sys/dev/pci/auixp.c: revision 1.50

Fix an argument passes to auixp_intr().

This is rest of rev 1.39 (split device_t/softc) in 2012.
Problem reported and tested by Riccardo Mottola.

(martin)

2020-07-07 10:44:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1565):

usr.bin/w/w.c: revision 1.87

Don't overwrite host_buf as x might be pointing to wanted data in it

(martin)

2020-07-07 10:43:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #982):

usr.bin/w/w.c: revision 1.87

Don't overwrite host_buf as x might be pointing to wanted data in it

(martin)

2020-07-07 10:40:46 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #981):

usr.bin/m4/m4.1: revision 1.28
usr.bin/m4/m4.1: revision 1.29
usr.bin/m4/extern.h: revision 1.20
usr.bin/m4/main.c: revision 1.49
usr.bin/m4/m4.1: revision 1.30
usr.bin/m4/trace.c: revision 1.9
usr.bin/m4/main.c: revision 1.50

Try not to lose error output with --error-output.

Try to avoid the trap we set up ourselves while avoiding freopen(3).
When exit flushes and closes open streams it may close sfp first and
when it comes about to flush and close stderr, the descriptor is
already gone and we lose any buffered error output.  This actually
happens on some hosts, breaking --trace output used by autoconf.

Fix --error-output to be more like GNU m4.

GNU m4 --error-output is the same as -o despite the name.  It does NOT
affect warnings, error messages, and 'errprint' output so drop the
misguided bit of code that tried to freopen stderr without closing it
on failure.  Drop -e (which was our local invention) and make merge
--error-output with -o so that both set traceout.  Make trace_file()
preserve the old traceout on error and return error status so that the
caller can emit appropriate warning.

Do not yet support disabling tracing with an empty name, the rest of
the code is not ready, we don't do -o positionally and we don't have
`debugfile'.

Fix --error-output to be more like GNU m4.  It's a long version of -o.

Bump date for previous.

Use a date that is actually a real date.

(martin)

2020-07-07 10:31:09 UTC netbsd-9 commitmail json YAML

2020-07-07 10:29:06 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_aq.c: revision 1.4
sys/dev/pci/if_aq.c: revision 1.5
sys/arch/amd64/conf/GENERIC: revision 1.553
sys/dev/pci/files.pci: revision 1.419
sys/arch/amd64/conf/XEN3_DOM0: revision 1.170
sys/dev/pci/if_aq.c: revision 1.9
share/man/man4/Makefile: revision 1.693
sys/dev/pci/pcidevs: revision 1.1411
share/man/man4/aq.4: revision 1.1
share/man/man4/aq.4: revision 1.3
sys/arch/i386/conf/ALL: revision 1.479
share/man/man4/aq.4: revision 1.4
sys/dev/pci/if_aq.c: revision 1.10
sys/dev/pci/files.pci: revision 1.421
sys/dev/pci/if_aq.c: revision 1.11
sys/dev/pci/if_aq.c: revision 1.12
sys/dev/pci/if_aq.c: revision 1.13
sys/dev/pci/if_aq.c: revision 1.14
sys/dev/pci/if_aq.c: revision 1.15
sys/dev/pci/if_aq.c: revision 1.16
sys/dev/pci/pcidevs: revision 1.1408
sys/arch/amd64/conf/ALL: revision 1.135
sys/net/ethertypes.h: revision 1.19
sys/arch/i386/conf/GENERIC: revision 1.1218
distrib/sets/lists/man/mi: revision 1.1668
sys/dev/pci/if_aq.c: revision 1.1
sys/dev/pci/if_aq.c: revision 1.2
sys/dev/pci/pcidevs: revision 1.1395
sys/dev/pci/if_aq.c: revision 1.3
sys/arch/evbarm/conf/GENERIC64: revision 1.125

Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking

add Aquantia AQC 10G network adapters
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.

add aq(4)

Add Aquantia AQC100, AQC100S and D100.

add support VLAN HW filter

set/clear IFF_OACTIVE flag only on txring 0

make counters per queue

support internal PHY temperature sensor

Found by kUBSan:
- Use unsigned to avoid undefined behavior in aq_hw_init().
- Cast to unsigned to avoid undefined behavior in aq_set_mac_addr().

fix descriptions of register map in comment

return the ifmedia active status correctly even while the link is not up after attach.
pointed out by msaitoh@. thanks.

On FIBRE devices, there are times when linkstat interrupt doesn't occur?
reported from Andrius V. thanks.
- use polling instead of linkstat interrupt when FIBRE
- add AQ_FORCE_POLL_LINKSTAT options (not by default)

sort product table, and tabify

add support AQC100S and D100.
not tested, but they are probably the same as the AQC100.

(martin)

2020-07-07 10:02:17 UTC MAIN commitmail json YAML

KASSERT polling or holding sc_lock in a few more places.

kern/52569: Entering ddb using USB keyboard panics with "locking against myself"

(skrll)

2020-07-07 08:44:12 UTC MAIN commitmail json YAML

2020-07-07 08:35:16 UTC MAIN commitmail json YAML

- Call tlphy_auto correctly.
- It's not required to do busy-wait by mii_phy_auto(sc, 1). Now there is
no any PHY driver which calls mii_phy_auto(sc, 1).

(msaitoh)

2020-07-07 06:59:22 UTC MAIN commitmail json YAML

"no media present" is intended case on tlphy(4), so don't use
aprint_error_dev().

(msaitoh)

2020-07-07 06:27:37 UTC MAIN commitmail json YAML

2020-07-07 03:38:49 UTC MAIN commitmail json YAML

Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
  Provide a new resource provider API:

  ==> pciconf_resource_init() -- Initialize a PCI configuration resources
      container.
  ==> pciconf_resource_add() -- Add a PCI configuration resource to the
      container (I/O, MEM, or prefetchable MEM).  Multiple resources of
      each type may be added.
  ==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
      container once the bus has been configured.

  This is much easier to use than the previous method of providing an
  extent map for each kind of resource, and works better for e.g. ACPI
  platforms that provide potentially multiple PCI resources in tables
  provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
  rather than extent maps.

(thorpej)

2020-07-07 03:23:33 UTC MAIN commitmail json YAML

Explicitly include <sys/pool.h> here; don't rely on it being included
by the includer.

(thorpej)

2020-07-07 02:39:59 UTC MAIN commitmail json YAML

Enable COPY_SYMTAB in case of directly booted from Open Firmware
with ofwboot being skipped.

(rin)

2020-07-07 02:37:27 UTC MAIN commitmail json YAML

Sync wscons colors with GENERIC; now it works fine!

(rin)

2020-07-07 02:33:55 UTC MAIN commitmail json YAML

It turned out that using some Open Firmware routines causes the system
freeze after calling OF_quiesce().

This is why setting color palette crash the system for some Power Mac G5
models, like PowerMac11,2.

Therefore, stop using color-palette and backlight callbacks for genfb(4)
in this case.

Also, postpone OF_quiesce() after rascons_init_rasops(), and initialize
color palette there if OF is going to be quiesced and color depth is 8.

Now, color palette for wscons is initialized correctly for PowerMac11,2.

(rin)

2020-07-07 02:10:21 UTC MAIN commitmail json YAML

Fix boot failure for PowerMac11,2 when ``auto-boot?'' is true.

For some machines like PowerMac11,2, Open Firmware does not correctly
initialize console-related variables, like font-adr and line#, when
``auto-boot?'' is true; -1 is returned instead of correct values.

Fall back to wsfont embedded in kernel in this case. Also, do not use
line# if it is negative.

(rin)

2020-07-07 01:47:47 UTC MAIN commitmail json YAML

Part of PR port-powerpc/55425
openssl fails on FPU emulation for powerpc

When machdep.fpu_present sysctl variable can be retrieved, and
its value is zero, avoid using FPU arithmetic.

FPU is absent and emulated by kernel in that case, and calculation
results are not correct in bit-to-bit precision.

This behavior should be useful even if we could fix FPU emulation;
it is much faster to skip FPU arithmetic in general, rather than
relying upon emulation by kernel via illegal instruction handler.

(rin)

2020-07-07 01:39:23 UTC MAIN commitmail json YAML

Part of PR port-powerpc/55425
openssl fails on FPU emulation for powerpc

Provide machdep.fpu_present sysctl variable like other ports.

Userland can get informed that FPU is absent and emulated in software
(and calculation results may not be correct in bit-to-bit precision).

This variable should be useful even if we could fix FPU emulation;
it is much faster to skip FPU arithmetic in general, rather than
relying upon emulation by kernel via illegal instruction handler.

(rin)

2020-07-07 00:59:30 UTC MAIN commitmail json YAML

Revert previous; tmpfs should be fixed instead.

Pointed out by thorpej@, thanks!

(rin)

2020-07-07 00:49:09 UTC MAIN commitmail json YAML

For booke, fix signo and other siginfo returned for userland by
syncing with oea and ibm4xx.

Now, tests/kernel/t_trapsignal:bus_handle and friends pass on booke.

(rin)

2020-07-07 00:41:32 UTC MAIN commitmail json YAML

Do not clear pcb_onfault for error path of setfault().
This is caller's responsibility, and all the callers actually do so.

(rin)

2020-07-07 00:37:46 UTC MAIN commitmail json YAML

For booke, restore callee saved registers when recovery for page fault
fails for kernel.

OOPS! How on the earth we had overlooked this error so far...

(rin)

2020-07-07 00:28:31 UTC MAIN commitmail json YAML

Fix kernel panic due to tmpfs.

pmap for booke assumes that the ``va'' argument for pmap_kenter_pa(9) is
page-aligned. However, by recent changes, tmpfs became to use ``va'' with
page offset via ubc_uiomove(9). So, truncate it to page boundary.

(rin)

2020-07-06 23:33:38 UTC MAIN commitmail json YAML

Pads are not to be automatically refreshed on input.

X/Open Curses says in the documentation for newpad():

  Automatic refreshes of pads (e.g., from scrolling or echoing of
  input) do not occur.

And in the documentation for get*():

  If the current or specified window is not a pad, and it has been
  moved or modified since the last refresh operation, then it will be
  refreshed before another character is read.

>From Michael Forney in PR lib/55457

(uwe)

2020-07-06 23:31:36 UTC MAIN commitmail json YAML

2020-07-06 22:46:50 UTC MAIN commitmail json YAML

mvwins*(WINDOW *win, ...) functions - call wins* on win, not stdscr.
>From Naman Jain in PR lib/55460.

(uwe)

2020-07-06 22:32:22 UTC MAIN commitmail json YAML

Include missing opt_lockdebug.h.

(rin)

2020-07-06 20:19:14 UTC MAIN commitmail json YAML

2020-07-06 18:49:12 UTC MAIN commitmail json YAML

- always set both ip and ip6, otherwise a kernel assertion can be triggered
- move alignment early so that we do less work

(christos)

2020-07-06 18:47:02 UTC MAIN commitmail json YAML

2020-07-06 18:45:26 UTC MAIN commitmail json YAML

2020-07-06 18:30:48 UTC MAIN commitmail json YAML

Restore the lwp's fpu state, not zeros, and leave with fpu enabled.

We need to clear the fpu state anyway because it is likely to contain
secrets at this point.  Previously we set it to zeros, and then issued
stts to disable the fpu in order to detect the mistake of further use
of the fpu in kernel.  But there must be some path I haven't identified
yet that doesn't do fpu_handle_deferred, leading to fpudna panics.

In any case, there's no benefit to restoring the fpu state twice
(once with zeros and once with the real data).  The downside is,
although this avoids spurious fpudna traps, using fpu_kern_enter in a
softint has the side effect that -- until the next userland context
switch triggering stts -- we no longer detect misuse of fpu in the
kernel in that lwp.  This will serve for now, but we should find
another way to issue clts/stts judiciously to detect such misuse.

May improve the continued symptoms of
https://mail-index.netbsd.org/current-users/2020/07/02/msg039051.html
although may not fix everything.

(riastradh)

2020-07-06 16:24:06 UTC MAIN commitmail json YAML

don't open the socket twice.

(christos)

2020-07-06 13:20:55 UTC MAIN commitmail json YAML

Use (CI_SAVEMAX*CPUSAVE_LEN) as CPUSAVE_SIZE for MODULAR || _MODULE,
since it exceeds 128 (256 for now).

XXX
We should use CTASSERT here, but it conflicts with genassym...

(rin)

2020-07-06 13:10:19 UTC MAIN commitmail json YAML

Set cpu_psluserset, cpu_pslusermod, cpu_pslusermask for MODULAR.

(rin)

2020-07-06 11:24:57 UTC MAIN commitmail json YAML

Stop using DDBX which is defined nowhere.

(rin)

2020-07-06 11:23:59 UTC MAIN commitmail json YAML

This file is not used for ibm4xx.

(rin)

2020-07-06 11:09:15 UTC MAIN commitmail json YAML

Include required opt_*.h for sure.

(rin)

2020-07-06 11:08:22 UTC MAIN commitmail json YAML

- Drop unused opt_multiprocessor.h.
- Include missing opt_ppcarch.h.

(rin)

2020-07-06 11:07:39 UTC MAIN commitmail json YAML

Drop unused opt_altivec.h and opt_multiprocessor.h.

(rin)

2020-07-06 11:06:52 UTC MAIN commitmail json YAML

Drop unused opt_lockdebug.h.

(rin)

2020-07-06 11:05:54 UTC MAIN commitmail json YAML

- Drop unused opt_ddb.h.
- Include missing opt_ppcarch.h.

(rin)

2020-07-06 11:05:05 UTC MAIN commitmail json YAML

2020-07-06 11:02:44 UTC MAIN commitmail json YAML

2020-07-06 11:01:24 UTC MAIN commitmail json YAML

Drop unused opt_altivec.h, opt_interrupt.h, opt_ipi.h, and opt_pic.h.

(rin)

2020-07-06 10:59:37 UTC MAIN commitmail json YAML

- Drop unused opt_compat_netbsd.h.
- Include missing opt_multiprocessor.h.

(rin)

2020-07-06 10:58:06 UTC MAIN commitmail json YAML

Drop unused opt_ppcparam.h.

(rin)

2020-07-06 10:57:03 UTC MAIN commitmail json YAML

Include missing opt_modular.h so that struct vm_page_md is compatible to
that for booke.

(rin)

2020-07-06 10:54:56 UTC MAIN commitmail json YAML

2020-07-06 10:52:12 UTC MAIN commitmail json YAML

2020-07-06 10:50:32 UTC MAIN commitmail json YAML

Drop unused opt_lockdebug.h.

(rin)

2020-07-06 10:49:41 UTC MAIN commitmail json YAML

2020-07-06 10:48:54 UTC MAIN commitmail json YAML

Do not silently #undef PPC_4XX_NOCACHE, which results in terrible confusion.
Raise #error instead.

(rin)

2020-07-06 10:44:38 UTC MAIN commitmail json YAML

Drop unused opt_lockdebug.h, opt_multiprocessor.h, and opt_ppcarch.h.

(rin)

2020-07-06 10:42:21 UTC MAIN commitmail json YAML

Include required opt_*.h for sure.

(rin)

2020-07-06 10:41:43 UTC MAIN commitmail json YAML

- Drop unused opt_altivec.h.
- Include missing opt_ppcarch.h.

(rin)

2020-07-06 10:40:21 UTC MAIN commitmail json YAML

Include missing opt_ddb.h.

(rin)

2020-07-06 10:38:46 UTC MAIN commitmail json YAML

Now, sys/arch/powerpc/ibm4xx/pic_uic.c requires opt_uic.h.

XXX
Switch to powerpc/conf/files.ibm4xx.

(rin)

2020-07-06 10:35:29 UTC MAIN commitmail json YAML

Include missing opt_ppcarch.h and opt_uic.h.

(rin)

2020-07-06 10:35:01 UTC MAIN commitmail json YAML

Remove the expected timeout; there is something more sinister behind the
timeouts seen on the Qemu/evbarm-aarch64 runs.

(jruoho)

2020-07-06 10:34:23 UTC MAIN commitmail json YAML

2020-07-06 10:32:18 UTC MAIN commitmail json YAML

2020-07-06 10:31:24 UTC MAIN commitmail json YAML

2020-07-06 10:22:44 UTC MAIN commitmail json YAML

2020-07-06 10:22:07 UTC MAIN commitmail json YAML

Include opt_nand.h for NAND_DEBUG.

(rin)

2020-07-06 10:16:12 UTC MAIN commitmail json YAML

Include required opt_*.h for sure.

(rin)

2020-07-06 10:13:02 UTC MAIN commitmail json YAML

Include missing opt_altivec.h for PPC_HAVE_SPE.

(rin)

2020-07-06 10:12:04 UTC MAIN commitmail json YAML

Include missing opt_multiprocessor.h and opt_pmap.h.

(rin)

2020-07-06 10:11:14 UTC MAIN commitmail json YAML

2020-07-06 10:09:23 UTC MAIN commitmail json YAML

Include missing opt_multiprocessor.h and opt_pmap.h.

(rin)

2020-07-06 10:08:16 UTC MAIN commitmail json YAML

Include missing ksyms.h, opt_ddb.h, and opt_multiprocessor.h.

(rin)

2020-07-06 09:34:18 UTC MAIN commitmail json YAML

2020-07-06 09:10:02 UTC MAIN commitmail json YAML

2020-07-06 08:30:10 UTC MAIN commitmail json YAML

db_stack_trace_print():
For ibm4xx, show fault address in dear register also for EXC_DTMISS.

(rin)

2020-07-06 08:26:10 UTC MAIN commitmail json YAML

Correct #ifdef; _MODULE not _MODULAR here.

Now __HAVE_PMAP_PHYSSEG is defined correctly for modules, which was
missing accidentally.

(rin)

2020-07-06 08:20:40 UTC MAIN commitmail json YAML

Consistently use _LP64 instead of __LP64__, although both are defined for
powerpc64.

No binary changes intended.

(rin)

2020-07-06 08:18:57 UTC MAIN commitmail json YAML

LKM was gone. _KERNEL is always defined for module.

(rin)

2020-07-06 08:17:01 UTC MAIN commitmail json YAML

2020-07-06 08:14:54 UTC MAIN commitmail json YAML

e500_cpunode_submatch() should be declared regardless of _KERNEL_OPT.

(rin)

2020-07-06 08:13:00 UTC MAIN commitmail json YAML

XXX
Skip KASSERT which fires when !__HAVE_FAST_SOFTINTS. Just for debug.

(rin)

2020-07-06 08:10:57 UTC MAIN commitmail json YAML

Make this compile without __HAVE_FAST_SOFTINTS for debug.

(rin)

2020-07-06 07:51:09 UTC MAIN commitmail json YAML

Fix a bug that the WMREG_EEARBC_I210 register is incorrectly set if the system
uses iNVM.

(msaitoh)

2020-07-06 07:36:14 UTC MAIN commitmail json YAML

2020-07-06 01:08:15 UTC MAIN commitmail json YAML

Fix race in fpu save with fpu_kern_enter in softint.

Likely source of:

https://mail-index.netbsd.org/current-users/2020/07/02/msg039051.html

(riastradh)

2020-07-05 20:41:50 UTC MAIN commitmail json YAML

mention shared bit.

(christos)

2020-07-05 20:37:40 UTC MAIN commitmail json YAML

simplify the acl setup, and fix reversed mask in the fs_flags code.

(christos)

2020-07-05 19:40:27 UTC MAIN commitmail json YAML

(cpuctl/aarch64) Add some more aa64isar0_eli1 flags.

(riastradh)

2020-07-05 19:28:37 UTC MAIN commitmail json YAML

there is more to MSI/MSI-X support in ciss(4) than just allocating the
right interrupt, it needs some explicit support; disable for now
until the full support is there

PR kern/55461

(jdolecek)

2020-07-05 11:37:02 UTC MAIN commitmail json YAML

tnftp 20200705 release

Changes since tnftp 20151004:
* Avoid crashes by exiting if lostpeer due to a signal
  (e.g., remote server disconnection).
* Issue PWD commands to the server only when we actually
  need the results, not speculatively, just in case we might.
  Works around broken servers, and is quicker too.
* Use "anonymous" instead of the local username for anonymous
  ftp. Avoids unnecesary information leak.
* Use the first name we requested the http/https URL for,
  not any name we ended up with after random redirects.
* Support using CONNECT for https:// via proxy.
* Improve SSL error reporting, and IPv6 endpoint reporting.
* Use the system glob() if required extensions are supported.
* Use the system libedit library by default, instead of
  the local (embedded) libedit.
* Update to NetBSD-ftp 20200608.
* Update local (embedded) libedit to NetBSD as at 2020-07-04.
  Fixes various crashes.
* Portability improvements.

(lukem)

2020-07-05 11:14:57 UTC MAIN commitmail json YAML

2020-07-05 11:13:12 UTC MAIN commitmail json YAML

2020-07-05 11:11:10 UTC MAIN commitmail json YAML

2020-07-05 10:55:48 UTC MAIN commitmail json YAML

2020-07-05 10:55:11 UTC MAIN commitmail json YAML

Only replace glob if GLOB_BRACE and GLOB_TILDE aren't available.

(lukem)

2020-07-05 10:29:08 UTC MAIN commitmail json YAML

NEWS: prepare for next release

(lukem)

2020-07-05 10:19:32 UTC MAIN commitmail json YAML

2020-07-05 10:18:19 UTC MAIN commitmail json YAML

2020-07-05 10:08:59 UTC MAIN commitmail json YAML

rename some static functions to avoid conflicts with standard names

(based on othersrc/libexec/tnftpd/libnetbsd/snprintf.c rev 1.6)

(lukem)

2020-07-05 10:03:09 UTC MAIN commitmail json YAML

sync to NetBSD glob.c 1.38 (via tnftpd)

Update from NetBSD src/lib/libc/gen/glob.c 1.34 to 1.38
(using the version from othersrc/libexec/tnftpd/libnetbsd/glob.c):
- Minimize changes from upstream NetBSD source.
- 1.35: Use unsigned foo not u_FOO. [Already done]
- 1.36: Bump the glob limits to 512KB for total string size and 64K path
  entries. The old limits were too small for some important FTP use cases
  like a pkgsrc repository.
- 1.37: Switch from a recursive pattern matching algorithm to handle '*'
  to a backtracking one. Avoids DoS attacks with patterns "a*a*a*a*a*...b"
  matching against "aaaaaaaaaaaa..." https://research.swtch.com/glob
- 1.38: Use the symbolic M_ALL and trim with M_MASK.

(lukem)

2020-07-05 09:56:06 UTC MAIN commitmail json YAML

Adapt to proplib api changes

(martin)

2020-07-05 09:55:08 UTC MAIN commitmail json YAML

Adapt to proplib api changes

(martin)

2020-07-05 09:54:26 UTC MAIN commitmail json YAML

2020-07-05 09:53:54 UTC MAIN commitmail json YAML

Adapt to proplib api changes

(martin)

2020-07-05 09:53:01 UTC MAIN commitmail json YAML

consistent tab indenting, not a mix of spaces and tabs

(lukem)

2020-07-05 09:43:42 UTC MAIN commitmail json YAML

libedit: distribute makelist

Need makelist in the distribution (tar file).
Style; explicitly list all files in TEST/

(lukem)

2020-07-05 09:37:53 UTC MAIN commitmail json YAML

implement --with-local-libedit

Add --with-local-libedit=(yes|auto|no) to control which libedit
implementation to use:
- yes - force local implementation
- auto - try system library, fallback to local implementation. Default
- no - force system library and fail if not found

Define NO_EDITCOMPLETE as AH_TEMPLATE() instead of adding to CFLAGS.

(lukem)

2020-07-05 09:27:11 UTC MAIN commitmail json YAML

Adapt to proplib api changes

(martin)

2020-07-05 09:23:42 UTC MAIN commitmail json YAML

Adapt to proplib interface changes

(martin)

2020-07-05 05:16:51 UTC MAIN commitmail json YAML

2020-07-05 03:44:13 UTC MAIN commitmail json YAML

Fix the include file name in the synopsis.

While here, drop the device path from synopsis,
its place is in the files section.

(uwe)

2020-07-05 02:04:25 UTC MAIN commitmail json YAML

Note that the xen vs non-xen issue has been resolved by recent commit
from Chuck Silvers.  (Also add xref to PR port-xen/53130 for history.)

(pgoyette)

2020-07-05 01:09:48 UTC MAIN commitmail json YAML

revert previous; utmpxname is already documented in getlastlogx.3. Should
probably be moved.

(christos)

2020-07-05 01:05:50 UTC MAIN commitmail json YAML

2020-07-05 01:05:01 UTC MAIN commitmail json YAML

Clarify initial state some more.

Mention that the initial current octave is 4.  Drop filler verbiage
that octaves are "from C to B".

(uwe)

2020-07-05 00:38:23 UTC MAIN commitmail json YAML

Clarify that whitespace is only ignored between groups.

Actually everything that doesn't start a group is ignored.
Whitespace is not allowed inside groups.

(uwe)

2020-07-05 00:33:18 UTC MAIN commitmail json YAML

BUGS: note that meaning of sustain dots differs from the standard notation.
>From FreeBSD.

(uwe)

2020-07-04 23:30:32 UTC MAIN commitmail json YAML

Don't overwrite host_buf as x might be pointing to wanted data in it

(kim)

2020-07-04 23:24:10 UTC MAIN commitmail json YAML

Middle C is in O2 (from RTFS).

(uwe)

2020-07-04 23:09:43 UTC MAIN commitmail json YAML

Add more markup.  Edit for clarity.

(uwe)

2020-07-04 22:17:09 UTC MAIN commitmail json YAML

make(1): ignore system-specific error message from regcomp in test

NetBSD 8 has: repetition-operator operand invalid
Ubuntu has: Invalid preceding regular expression

(rillig)

2020-07-04 22:01:10 UTC MAIN commitmail json YAML

make(1): add post-processing for tests

By defining SED_CMDS.${test}, a test can do additional post-processing
on its output, for example to normalize paths or error messages.

The Makefile for the tests now follows the common style to have all
relevant definitions at the top of the file, and all the implementation
details at the bottom.

By using the += instead of backslashed lists, it becomes easier to
comment out a single test, either temporarily or permanently (such as
the POSIX tests).

The :C modifier has been replaced with the simpler :S, some :S modifiers
have been replaced with simpler := modifiers.

The postprocessing commands have been extracted from the actual command.
This makes editing and commenting them easier.

(rillig)

2020-07-04 21:07:29 UTC MAIN commitmail json YAML

2020-07-04 21:04:25 UTC MAIN commitmail json YAML

make(1): improve documentation about adding new tests

(rillig)

2020-07-04 21:03:50 UTC MAIN commitmail json YAML

note x86 Xen kernel module change.

(chs)

2020-07-04 21:02:16 UTC MAIN commitmail json YAML

2020-07-04 19:25:24 UTC MAIN commitmail json YAML

Fix off by one in the range of note values (in one instance).
From xordspar0 at gmail.

(uwe)

2020-07-04 18:54:18 UTC MAIN commitmail json YAML

make(1): add tests for dollar characters in modifiers

(rillig)

2020-07-04 18:07:31 UTC MAIN commitmail json YAML

Fix kmem_free size in recent malloc->kmem conversion.

Should address this bracket report that has my name all over it:

https://mail-index.netbsd.org/current-users/2020/07/04/msg039059.html

(riastradh)

2020-07-04 17:41:04 UTC MAIN commitmail json YAML

2020-07-04 17:20:45 UTC MAIN commitmail json YAML

Do not panic when splraise to IPL_NONE, which is required for
subr_cprng.c rev 1.36 and above:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_cprng.c#rev1.36

(rin)

2020-07-04 17:10:34 UTC MAIN commitmail json YAML

make(1): add debugging output for :@ modifier

The inner working of the :@ modifier is quite tricky.  To understand what
really happens, it helps to look at each word as it is being modified.

(rillig)

2020-07-04 16:58:11 UTC MAIN commitmail json YAML

Use tlen for temporary length variable instead of l, which is usually
used for struct lwp *.

No binary changes.

(rin)

2020-07-04 16:30:47 UTC MAIN commitmail json YAML

make(1): constify VarModify parameter

Since var.c r1.238 and r1.239, the callbacks for the :H :T :E :R modifiers
don't modify the word anymore, and the others didn't modify it at all.

(rillig)

2020-07-04 16:15:21 UTC MAIN commitmail json YAML

make(1): add test for an obscure edge case of using the :@ modifier

(rillig)

2020-07-04 15:44:07 UTC MAIN commitmail json YAML

make(1): fix :hash modifier on 16-bit platforms

On platforms where int has only 16 bits the shifts would have been in
16-bit arithmetic, which would invoke undefined behavior for "ustr[3] <<
24" as well as "ustr[2] << 16" (C99, 6.5.7p3).

(rillig)

2020-07-04 15:14:56 UTC MAIN commitmail json YAML

2020-07-04 14:59:16 UTC MAIN commitmail json YAML

2020-07-04 14:55:18 UTC MAIN commitmail json YAML

ChangeLog: ftp and libedit imports

(lukem)

2020-07-04 14:51:16 UTC MAIN commitmail json YAML

TODO: autoconf option to use system libedit instead of internal

(lukem)

2020-07-04 14:49:24 UTC MAIN commitmail json YAML

switch to pci_intr_alloc() so this uses MSI/MSI-X if device supports it

(jdolecek)

2020-07-04 14:47:35 UTC MAIN commitmail json YAML

tnftp.h: add __UNVOLATILE. reformat __UNCONST

(lukem)

2020-07-04 14:34:28 UTC MAIN commitmail json YAML

fix libedit build after 20200704 merge

adapt the build of libedit for the changes in upstream;
- generate appropriate headers
- tnftp-ify literal.c and vi.c

(lukem)

2020-07-04 14:31:04 UTC MAIN commitmail json YAML

tnftp.h: multiple-include protection

(lukem)

2020-07-04 13:43:21 UTC MAIN commitmail json YAML

2020-07-04 12:04:15 UTC MAIN commitmail json YAML

Add missing TMPFS, PTYFS, WAPBL, INET6, and NFS_BOOT_DHCP.

XXX
Sync options with GENERIC. It should be better to introduce
GENERIC.common in a similar manner to evbarm.

(rin)

2020-07-04 12:00:15 UTC MAIN commitmail json YAML

Enable snapper(4) and friends. It works just fine.

(rin)

2020-07-04 11:55:18 UTC MAIN commitmail json YAML

- Adjust location of \n in attach message.
- Convert to aprint_*(9).

(rin)

2020-07-04 10:49:09 UTC MAIN commitmail json YAML

make(1): remove unnecessary _t suffix from VarLoop type

(rillig)

2020-07-04 10:46:32 UTC MAIN commitmail json YAML

make(1): fix documentation of Var_Subst, clean up other documentation

(rillig)

2020-07-04 10:35:30 UTC MAIN commitmail json YAML

make(1): remove unnecessary forward declarations, fix indentation

(rillig)

2020-07-04 10:19:39 UTC MAIN commitmail json YAML

make(1): remove unnecessary forward declarations

(rillig)

2020-07-04 09:59:07 UTC MAIN commitmail json YAML

2020-07-04 09:21:30 UTC MAIN commitmail json YAML

2020-07-04 09:03:55 UTC MAIN commitmail json YAML

Fix unset_idtgate() for XENPV, pointed out by yamaguchi@

(bouyer)

2020-07-04 08:10:21 UTC MAIN commitmail json YAML

man4: Add Linux USB 3.0 debu port to ugensa.4

(ryoon)

2020-07-04 08:07:02 UTC MAIN commitmail json YAML

usb/ugensa: Support Linux USB 3.0 debugging port serial communication

(ryoon)

2020-07-04 08:06:13 UTC MAIN commitmail json YAML

2020-07-04 08:05:26 UTC MAIN commitmail json YAML

usbdevs: Add Linux USB 3.0 debugging port serial device

(ryoon)

2020-07-04 07:02:35 UTC MAIN commitmail json YAML

Protect with #ifdef _KERNEL

(skrll)

2020-07-04 06:57:46 UTC MAIN commitmail json YAML

regen for tnftpd 20200704

(lukem)

2020-07-04 06:49:19 UTC MAIN commitmail json YAML

tnftpd 20200704 release

Changes since tnftpd 20200704:
- Adapt to NetBSD blocklistd(8) service rename.
- Increase some buffer sizes.

(lukem)

2020-07-04 06:24:53 UTC MAIN commitmail json YAML

2020-07-04 05:43:30 UTC MAIN commitmail json YAML

INSTALL: update for --with-blocklist, --with-sia

(lukem)

2020-07-04 05:38:28 UTC MAIN commitmail json YAML

2020-07-04 05:18:37 UTC MAIN commitmail json YAML

add missing RCSIDs

(copyrights could be added too - that's up to christos@)

(lukem)