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 (11m)  netbsd-10 (4d)  netbsd-9 (4d)  netbsd-8 (9d) 

2024-05-20 17:43:57 UTC Now

2020-03-29 13:20:04 UTC MAIN commitmail json YAML

Try to use the existing HW address programmed into the device if possible.

(jmcneill)

2020-03-29 13:04:15 UTC MAIN commitmail json YAML

Avoid "hole in RX ring" condition by ensuring a new mbuf is available
before using an existing one.

(jmcneill)

2020-03-29 12:48:22 UTC netbsd-8 commitmail json YAML

Not distrib note changes

(martin)

2020-03-29 12:11:41 UTC netbsd-8 commitmail json YAML

2020-03-29 12:10:37 UTC netbsd-8 commitmail json YAML

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

sys/dev/scsipi/cd.c: revision 1.343
sys/kern/subr_disk.c: revision 1.130

Avoid division by zero if label isn't valid.
Allow open of RAWPART even when no medium is loaded.
Keep errors silent if no medium is loaded.
Fixes PR kern/55104

(martin)

2020-03-29 12:08:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1526):

include/stdio.h: revision 1.98

move P_tmpdir from "/var/tmp/" to "/tmp/".

the main effect of this is to make GCC and other libiberty using
tools use /tmp instead of /var/tmp for compiler temp files,
which can be a bottleneck on larger systems.

a survey of other platforms shows only OSX also uses /var/tmp,
everyone else has switched to /tmp long ago.

cons:  some smaller systems may have a smaller /tmp than /var/tmp,
and this may cause builds to fail with out of space earlier.
point the build to /var/tmp using TMPDIR in this case.

one can argue that setting TMPDIR would work around this, but we
want to have the effect for all users without having special setup.

(martin)

2020-03-29 11:59:06 UTC netbsd-8 commitmail json YAML

2020-03-29 11:48:21 UTC netbsd-8 commitmail json YAML

Note Rawrite32/distrib note changes

(martin)

2020-03-29 11:45:13 UTC netbsd-8 commitmail json YAML

Pull up following revision(s):

distrib/notes/ews4800mips/xfer: revision 1.3
distrib/notes/bebox/prep: revision 1.3
distrib/notes/newsmips/xfer: revision 1.3
distrib/notes/i386/xfer: revision 1.21
distrib/notes/common/main: revision 1.547
distrib/notes/news68k/xfer: revision 1.4

Replace references to i386 install media for Rawrite32 with
links to the homepage.

(martin)

2020-03-29 11:38:13 UTC netbsd-8 commitmail json YAML

2020-03-29 10:46:10 UTC MAIN commitmail json YAML

Summary: Introduce a keyboard event ring buffer for USB console keyboards

For the console keyboard, events must be handled separately from the
interrupt handler, because of the possibility that the user chooses to
drop into DDB by use of the designated key combination.  This delayed
handling is tied to the HZ clock through the callout(9) mechanism,
meaning that another keyboard event arriving within 10ms of the
previous one might overwrite its predecessor before it's handled.
This causes dropped events for fast typists - and the situation gets
worse with modern, programmable, keyboards.

This patch introduces a ring buffer in the ukbd_softc data structure,
so that multiple pending events may be safely stored.

(tih)

2020-03-29 10:25:28 UTC MAIN commitmail json YAML

2020-03-29 09:46:14 UTC MAIN commitmail json YAML

store the request buffer in the vxfer instead of the packet, clearer

(maxv)

2020-03-29 09:20:43 UTC MAIN commitmail json YAML

PTE_SYNC before TLB flush and no need to PTE_SYNC after an unmap.

(skrll)

2020-03-29 09:10:26 UTC MAIN commitmail json YAML

2020-03-29 09:06:38 UTC MAIN commitmail json YAML

2020-03-29 09:01:32 UTC MAIN commitmail json YAML

Provide a pt_entry_t and PRIxPTE

(skrll)

2020-03-29 08:27:41 UTC MAIN commitmail json YAML

Fix a c&p error from 1.3 that should fixes mrg's rk3399 slow vs fast CPU
problem.

My XU4 certainly reports the right relative speeds for the 5 (yes, 5) CPUs
that are avalable.

(skrll)

2020-03-29 06:44:16 UTC MAIN commitmail json YAML

Fix skipped daily in Eastern Europe

- Move /etc/daily from 03:15 -> 04:15
- Move /etc/weekly from 04:30 -> 05:30 (to keep the spacing)

This should prevent problems during daylight savings changeover (which
is usually between 01:00 -> 04:00, depending upon the region) where the
cronjobs may be executed twice, or never at all...

This expands on the previous fix in revision 1.13 from 1997.

(kim)

2020-03-28 20:13:13 UTC MAIN commitmail json YAML

Allow path components that start with ~

(jmcneill)

2020-03-28 19:50:41 UTC MAIN commitmail json YAML

2020-03-28 19:49:28 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/dist/common/dmtables.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/acpica/dist/common/dmtbdump.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/common/dmtbinfo.c@1.18 / diff / nxr@1.18
src/sys/external/bsd/acpica/dist/compiler/aslanalyze.c@1.14 / diff / nxr@1.14
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c@1.19 / diff / nxr@1.19
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.16 / diff / nxr@1.16
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslerror.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslfileio.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c@1.16 / diff / nxr@1.16
src/sys/external/bsd/acpica/dist/compiler/aslload.c@1.17 / diff / nxr@1.17
src/sys/external/bsd/acpica/dist/compiler/asllookup.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslopcodes.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/compiler/aslopt.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/acpica/dist/compiler/asloptions.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslpredef.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/compiler/aslprepkg.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/asltree.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.26 / diff / nxr@1.26
      :
(more 96 files)
merge conflicts

(christos)

2020-03-28 18:37:18 UTC MAIN commitmail json YAML

Don't set DVF_DETACH_SHUTDOWN.  The MII layer wants to manage the lifecycle
of the PHY devices, and if a NIC driver chooses not to detach its PHYs
at shutdown, that's the driver's business.

PR kern/55121.

(thorpej)

2020-03-28 17:29:57 UTC MAIN commitmail json YAML

autofs: Make autofs(5) timeout messages include affected process name and PID

Sync warning message with FreeBSD and DragonFlyBSD.
taken-from: FreeBSD

(tkusumi)

2020-03-28 15:50:25 UTC MAIN commitmail json YAML

Deal with both .db and .cdb extensions...

(christos)

2020-03-28 15:45:56 UTC MAIN commitmail json YAML

PR/55118: Andreas Gustafsson: Oops, set the right flag variable.

(christos)

2020-03-28 15:41:23 UTC MAIN commitmail json YAML

Try to fix previous: include etc.evbarm/Makefile.inc to get proper sub-arch
settings and key the subdirs off KERENEL_SETS instead of ALL_KERNELS
(which is not always defined)

(martin)

2020-03-28 15:37:04 UTC MAIN commitmail json YAML

tic: free the old buffer after promoting the record type

(roy)

2020-03-28 15:27:54 UTC MAIN commitmail json YAML

terminfo: Add a comment for prior change.

(roy)

2020-03-28 15:25:53 UTC MAIN commitmail json YAML

terminfo: use , as a record version delimiter rather than @

@ is allowed in a terminfo description, but a comma is not.

(roy)

2020-03-28 15:23:33 UTC MAIN commitmail json YAML

2020-03-28 15:22:27 UTC MAIN commitmail json YAML

tic: use EXIT_FAILURE rather than magic numbers

(roy)

2020-03-28 15:20:30 UTC MAIN commitmail json YAML

2020-03-28 15:19:56 UTC MAIN commitmail json YAML

tic: promote record type when merging newer into older

(roy)

2020-03-28 13:15:24 UTC MAIN commitmail json YAML

- comb down rcvfilt() filter adjustment  logic.
- some mii_statchg() can be written in simpler form.

(nisimura)

2020-03-28 08:35:37 UTC MAIN commitmail json YAML

Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k
(m68k uses 40msec default as before).  And remove the option from GENERIC.
- It's not good idea to set such parameter in individual GENERICs.
- 4msec is (probably no problem for most modern real hardware but)
  too aggressive to be default.
- 10msec is too severe for antique machines but it's hard to draw a line.

(isaki)

2020-03-28 05:47:41 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2020-03-28 04:55:08 UTC MAIN commitmail json YAML

Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.

(isaki)

2020-03-28 04:21:58 UTC MAIN commitmail json YAML

Revert 1.96, 1.97 and 1.100.  (no response from nia@)
These changes are not correct nor notable unresolvable problem.
If you find any problems, please send a report before changing manpage.

(isaki)

2020-03-28 02:38:15 UTC MAIN commitmail json YAML

support for older compilers

(christos)

2020-03-28 01:08:43 UTC MAIN commitmail json YAML

Comment out some of the CTASSERTS for lint until I fix lint.

(christos)

2020-03-27 23:02:33 UTC MAIN commitmail json YAML

Belatedly add NanoPi R1.

(bad)

2020-03-27 21:05:03 UTC MAIN commitmail json YAML

PR kern/55114: Install fails with "cpu_switchto: switching above IPL_SCHED (8)"

cpu_switch(): Remove stuff dealing with interrupt levels.  From memory it
was something to do with TLB shootdown interrupts but they have long been
outside the SPL framework.

(ad)

2020-03-27 21:03:18 UTC MAIN commitmail json YAML

2020-03-27 18:37:30 UTC MAIN commitmail json YAML

use standard deferred if_start framework instead of custom variant

(jdolecek)

2020-03-27 18:04:45 UTC MAIN commitmail json YAML

- change to use rcvfilt_locked() name to clarify the intent.
- stylise receive filter manipulation logic.
- use ETHER_F_ALLMULTI flag.

(nisimura)

2020-03-27 17:42:36 UTC MAIN commitmail json YAML

Use the new functions and add more error checking.

(christos)

2020-03-27 17:39:53 UTC MAIN commitmail json YAML

2020-03-27 17:18:15 UTC MAIN commitmail json YAML

replace the conditional m_pullup() on start of ether_sw_offload_tx()
with a KASSERT(), to make it clear no mbuf manipulation is ever done here

(jdolecek)

2020-03-27 16:47:00 UTC MAIN commitmail json YAML

replace the conditional m_pullup() on start of bridge_output() with
a KASSERT(), to make it clear no mbuf manipulation is ever done here

the condition should never trigger, this always runs after ether_output()
M_PREPEND()s ether_header

(jdolecek)

2020-03-27 16:34:58 UTC MAIN commitmail json YAML

fix in4_cksum() panic "in4_cksum: mbuf 14 too short for IP header 20"
triggered by bridge_output() when passing packet originally for
interface supporting hw csum offload to destination interface
not supporting it

problem happens because bridge_output() is called after ether_output()
M_PREPEND() the ether_header into the mbuf chain, if there is not
enough space on the first mbuf of the chain, it ends up prepending
a new short mbuf with just ether_header

triggered by running UDP (IPv4) 'netio -u' benchmark with packet size 2 KB

XXX seems in6_undefer_cksum() should have similar fix, however I was
XXX not able to trigger the problem there

(jdolecek)

2020-03-27 15:18:22 UTC MAIN commitmail json YAML

Get back to terminfo.cdb.

(rin)

2020-03-27 15:11:57 UTC MAIN commitmail json YAML

As described in tech-userlevel:
- Modify the writing code to only write entries in the new
  format for the terminal descriptions that require it.
- Store new format entries as <name>@v3
- Store old format entries with clamped values as <name> for
  backwards compatibility
- Lookup first <name>@v3 and then <name> if that is not found.
- Don't create terminfo2 anymore; old programs keep working with
  clamped entries, and new programs be able to use the wide
  fields with using the original db file.

(christos)

2020-03-27 13:00:22 UTC MAIN commitmail json YAML

extend mii_statchg() to use ether_mediachange(). care about hash filter selection.

(nisimura)

2020-03-27 13:00:13 UTC MAIN commitmail json YAML

extend mii_statchg() to use ether_mediachange(). care about hash filter selection.

(nisimura)

2020-03-27 11:15:33 UTC MAIN commitmail json YAML

Allow open of RAWPART even when no medium is loaded.
Keep errors silent if no medium is loaded.

Fixes PR kern/55104

(mlelstv)

2020-03-27 11:13:57 UTC MAIN commitmail json YAML

Avoid division by zero if label isn't valid.

(mlelstv)

2020-03-27 11:10:07 UTC MAIN commitmail json YAML

synaptics: Revert changes that broke gestures in cases where they worked.

It seems I have to figure out another way to make scrolling work for me.

(nia)

2020-03-27 09:47:03 UTC MAIN commitmail json YAML

Add special handling for model 0x0f stepping >=2 or mode 0x0e to get Tjmax.

(msaitoh)

2020-03-27 09:19:33 UTC MAIN commitmail json YAML

try to be better register descriptions

(nisimura)

2020-03-27 08:51:59 UTC netbsd-9 commitmail json YAML

Add missing line-break

(sborrill)

2020-03-27 08:49:53 UTC netbsd-8 commitmail json YAML

2020-03-27 08:48:57 UTC netbsd-8 commitmail json YAML

2020-03-27 08:48:23 UTC netbsd-8 commitmail json YAML

Pull up the following revisions(s) (requested by christos in ticket #1524):
etc/named.conf: revision 1.8

Stop using obsolete dnssec-lookaside (implies use of dlv.isc.org, which
no longer serves any useful purpose).

(sborrill)

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

2020-03-27 08:43:42 UTC netbsd-9 commitmail json YAML

Pull up the following revisions(s) (requested by christos in ticket #806):
etc/named.conf: revision 1.8

Stop using obsolete dnssec-lookaside (implies use of dlv.isc.org, which
no longer serves any useful purpose).

(sborrill)

2020-03-27 07:59:50 UTC MAIN commitmail json YAML

more register mashup work

(nisimura)

2020-03-27 06:32:49 UTC MAIN commitmail json YAML

register definition mashed. from UEFI and CycloneV PDF

(nisimura)

2020-03-27 04:31:18 UTC MAIN commitmail json YAML

Let xunlong,orangepi-lite2 share bwfm config with raspberrypi,3-model-b-plus;
it seem to work fine and there's no better alternative at the moment.

(thorpej)

2020-03-27 02:01:48 UTC MAIN commitmail json YAML

Add OrangePi Lite and Lite2.

(thorpej)

2020-03-27 01:59:50 UTC MAIN commitmail json YAML

Add a more complete / correct device tree for the OrangePi Lite 2.

(thorpej)

2020-03-27 01:43:58 UTC MAIN commitmail json YAML

Attach sunxirtc in pass4; it's required by mmcpwrseq on some boards.

(thorpej)

2020-03-27 01:42:11 UTC MAIN commitmail json YAML

Add the clock providers for the sun6i_a31, sun8i_a23, sun8i_r40, sun8i_v3,
sun8i_h3, sun50i_h5 (same as H3), and sun50i_h6 RTC blocks.

(thorpej)

2020-03-27 00:17:08 UTC MAIN commitmail json YAML

No need for warnx() if !LOCKDEBUG

(ad)

2020-03-27 00:14:25 UTC MAIN commitmail json YAML

- Stats: add a cast to make sure 32-bit wraparound works properly.
- cache_purge_children(): just use RB_TREE_MIN().
- Change the name of the pool to "namecache".
- Update comments.

(ad)

2020-03-27 00:13:52 UTC MAIN commitmail json YAML

2020-03-26 22:43:19 UTC MAIN commitmail json YAML

2020-03-26 22:40:10 UTC MAIN commitmail json YAML

sleepq_t is now a LIST.  Forgot to commit earlier.

(ad)

2020-03-26 21:31:55 UTC MAIN commitmail json YAML

Fix crash observed with procfs on current-users by David Hopper.  LWP refcnt
and p_zomblwp both must reach the needed state, and LSZOMB be set, under a
single hold of p_lock.

(ad)

2020-03-26 21:25:26 UTC MAIN commitmail json YAML

sigpost(): check for LSZOMB, not l_refcnt == 0.

(ad)

2020-03-26 21:15:14 UTC MAIN commitmail json YAML

SOBJ_SLEEPQ_FIFO is gone

(ad)

2020-03-26 20:19:06 UTC MAIN commitmail json YAML

softint_overlay() (slow case) gains ~nothing but creates potential headaches.
In the interests of simplicity remove it and always use the kthreads.

(ad)

2020-03-26 19:47:23 UTC MAIN commitmail json YAML

NetBSD 9.99.52 - sleepq_t & kcondvar_t shrunk

(ad)

2020-03-26 19:46:42 UTC MAIN commitmail json YAML

Change sleepq_t from a TAILQ to a LIST and remove SOBJ_SLEEPQ_FIFO.  Only
select/poll used the FIFO method and that was for collisions which rarely
occur.  Shrinks sleep_t and condvar_t.

(ad)

2020-03-26 19:42:39 UTC MAIN commitmail json YAML

Leave the idle LWPs in state LSIDL even when running, so they don't mess up
output from ps/top/etc.  Correctness isn't at stake, LWPs in other states
are temporarily on the CPU at times too (e.g.  LSZOMB, LSSLEEP).

(ad)

2020-03-26 19:25:07 UTC MAIN commitmail json YAML

sched_curcpu_runnable_p(): cosmetic change.

(ad)

2020-03-26 19:23:19 UTC MAIN commitmail json YAML

Don't overwrite ci_is_slow if it has explicitly been set.  Changed for
correctness, should have no impact.

(ad)

2020-03-26 18:50:17 UTC MAIN commitmail json YAML

in xennet_tx_complete() replace the grant status condition with just KASSERT()

it's really a possible programming error rather than something actually
happening in wild - since rev. 1.57 in 2012 this condition leaked
locked mutex, and nobody noticed

(jdolecek)

2020-03-26 18:32:21 UTC MAIN commitmail json YAML

Stop using IFF_OACTIVE, just keep processing until we fill the Tx ring

xennet_tx_complete() is now called only in xennet_softstart() just
before processing Tx queue; xennet_handler() just schedules the
softint for xennet_softstart() iff the Tx ring list is completely empty

no performance changes observed

XXX the detach and suspend code expects xennet_handler() to collect
XXX the Tx responses, the tsleep() loop should still work since the tsleep()
XXX would allow the softint to trigger; untested though

(jdolecek)

2020-03-26 18:28:09 UTC MAIN commitmail json YAML

Add HPD

From Rocky Hotas, thanks!

(leot)

2020-03-26 18:25:32 UTC MAIN commitmail json YAML

Add TLDW

From Rocky Hotas, thanks!

(leot)

2020-03-26 13:43:10 UTC MAIN commitmail json YAML

Add tests for poll(POLLIN) before read().
This affects only standalone test, not atf.

(isaki)

2020-03-26 13:39:29 UTC MAIN commitmail json YAML

When using SYSCTL_SETUP there is no guarantee of the order in which
the set-up functions will be called, so it is perfectly acceptable
for a compat code's routine to be called ahead of the code in other
parts of the kernel.

So make sure that the 2nd level sysctl node ``vfs.generic'' exists
before trying to add the 3rd level entries.

XXX Rather than creating the 2nd level node in two places, we could
XXX add the shared ``vfs.generic'' node to sysctl_init_base.c but
XXX this is left for another day.

(pgoyette)

2020-03-26 13:37:44 UTC MAIN commitmail json YAML

Sync with sys/dev/audio/audio.c rev1.65.
> Fix to start recording immediately when open() with READ mode is called.
This affects only standalone test, not atf.

(isaki)

2020-03-26 13:32:03 UTC MAIN commitmail json YAML

Fix to start recording immediately when open() with READ mode is
called (unless pause).
- Opening /dev/audio always initializes pause with false.  Therefore
  it always starts recording.
- Opening /dev/sound inherites pause from the sticky parameter.
  Therefore whether /dev/sound starts recording or not depends on the
  sticky pause parameter.
This fixes two problems:
- Opening /dev/audio didn't start recording after merging isaki-audio2.
- Opening /dev/sound didn't start recording regardless of the sticky
  pause, probably since long time ago (at least netbsd-7).

(isaki)

2020-03-26 10:38:16 UTC MAIN commitmail json YAML

update register definition. from UEFI source code.

(nisimura)

2020-03-26 08:28:50 UTC MAIN commitmail json YAML

correct global reset logic. still remains MII speed trouble.

(nisimura)

2020-03-26 08:02:55 UTC MAIN commitmail json YAML

Only build sshramdisk when building RPI_INSTALLx

(skrll)

2020-03-26 07:44:43 UTC MAIN commitmail json YAML

2020-03-26 07:38:32 UTC MAIN commitmail json YAML

Increase MEMORY_DISK_ROOT_SIZE

(skrll)

2020-03-26 04:25:28 UTC MAIN commitmail json YAML

Fix the build, use %jd and (intmax_t) cast for big numbers, off_t
and ptrdiff_t aren't always the same size.

(kre)

2020-03-26 01:05:26 UTC MAIN commitmail json YAML

2020-03-26 00:21:28 UTC MAIN commitmail json YAML

Add "snps,dwc3" to the list of compatible strings we match against.
The code already handles "snps,dwc3" not being a subordinate of
an SoC-specific node, but the string was missing from the match
routine.

Necessitated by the sun50i-h6 device tree update on Jan 3 2020, which
elimiated the "allwinner,sun50i-h6-dwc3" node and placed all of the
clocks, resets, etc. directly under the "snps,dwc3" node.

(thorpej)

2020-03-25 23:31:19 UTC MAIN commitmail json YAML

try to DRT about config messages, redo ...

(nisimura)

2020-03-25 23:29:39 UTC MAIN commitmail json YAML

2020-03-25 23:20:38 UTC MAIN commitmail json YAML

2020-03-25 22:15:53 UTC MAIN commitmail json YAML

2020-03-25 22:11:00 UTC MAIN commitmail json YAML

2020-03-25 22:09:48 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2020-03-25 21:26:12 UTC MAIN commitmail json YAML

2020-03-25 21:24:08 UTC MAIN commitmail json YAML

2020-03-25 21:02:26 UTC MAIN commitmail json YAML

Revert putting a $ as the final character for blowfish. It is not required by
MCF and we want to be compatible.

(christos)

2020-03-25 20:19:46 UTC MAIN commitmail json YAML

use dma32 for descriptor store. likely still missing freq designation(s)

(nisimura)

2020-03-25 20:17:48 UTC MAIN commitmail json YAML

improve error messages.

(christos)

2020-03-25 19:03:44 UTC MAIN commitmail json YAML

describe DeveloperBox pin assignment correctly

(nisimura)

2020-03-25 18:53:50 UTC MAIN commitmail json YAML

Fix typos. Use more markup. New sentence, new line.

(wiz)

2020-03-25 18:50:47 UTC MAIN commitmail json YAML

Delete the BUGS paragraph about the "missing" const qualifier for the
result type of strerror() (and strerror_l()).  While that once should
really have been present, when strerror() was invented, there was no
"const" qualifier in C to apply, and now the way the code is writtem
(really needs to be because of NLS support) the const is no longer
really appropriate.

Applications still shouldn't attempt to modify the result however.

(kre)

2020-03-25 18:45:42 UTC MAIN commitmail json YAML

Document strerror_l()

While here also document (but comment it out since it isn't
available - yet) strerror_lr().  To include that, simply
uncomment the relevant lines, and (twice I think) s/returns/return/
on lines just after currently commented out lines (that is, it
currently says, "A returns" after the comments are returned, we
need it to be "A and B return" - the "and B" appears when the comment
markers are removed, removing the 's' from returns must be done manually.

In addition to adding strerror_l() some additional enhancements were
made to the general strerror() doc.

(kre)

2020-03-25 18:42:17 UTC MAIN commitmail json YAML

try to decode _DSD ACPI resource

(nisimura)

2020-03-25 18:37:09 UTC MAIN commitmail json YAML

- bump blowfish size, explain version
- add passwd xref

(christos)

2020-03-25 18:36:29 UTC MAIN commitmail json YAML

Add missing trailing $ for blowfish

(christos)

2020-03-25 18:08:34 UTC MAIN commitmail json YAML

Relax fdatasync restriction that fd be writable

The restriction that a fd passed to fdatasync(2) must be writable was
added in 2003 in order to comply with POSIX.  Since then, POSIX has
removed that requirement, and POSIX-valid programs have been therefore
encountering errors on NetBSD.

Patch by Paul Ripke after discussion on netbsd-users.  Issue
discovered with pkgsrc/databases/mongodb3 as used by pkgsrc/net/unifi.

(gdt)

2020-03-25 17:13:50 UTC MAIN commitmail json YAML

2020-03-25 17:11:06 UTC MAIN commitmail json YAML

PR/55095: David A. Holland: pw_gensalt(3) undocumented

(christos)

2020-03-25 17:06:20 UTC MAIN commitmail json YAML

2020-03-25 16:15:41 UTC MAIN commitmail json YAML

Arrange that strerror(-1) prints "Unknown error: -1" and not the
unsigned equivalent of -1.

While here, guarantee, even when !NLS, that nothing here (not even
snprintf deciding to complain about EILSEQ or something) can ever
alter errno (ie: always save and restore it, not only in the NLS case).
The functions here must never alter errno, whatever happens.

(kre)

2020-03-25 16:10:17 UTC MAIN commitmail json YAML

Protect against malloc failure corrupting errno, which is not
permitted of these functions.

(kre)

2020-03-25 13:07:04 UTC MAIN commitmail json YAML

Use exact match to search testname.
This didn't affect test results.

(isaki)

2020-03-25 06:17:23 UTC MAIN commitmail json YAML

2020-03-25 06:02:09 UTC MAIN commitmail json YAML

2020-03-25 04:53:11 UTC MAIN commitmail json YAML

Add a file type entry for CLM files.

(thorpej)

2020-03-25 03:44:45 UTC MAIN commitmail json YAML

- Refactor the firmware loading code into a set of common routines in the
  core driver that understand how to find model-specific files before the
  generic files.  This greatly simplifies the firmware loading procedure
  in each of the bus front ends.  Adding additional firmware file types
  (such as CLM files) much simpler.
- Make firmware image selection table-driven rather than a set of switch()
  and if() statements.
- Add several additional firmware image entries.

(thorpej)

2020-03-25 01:39:50 UTC MAIN commitmail json YAML

make sure to use mac_write() for GMACxxx registers. try to decode xMII link status report

(nisimura)

2020-03-24 22:09:50 UTC MAIN commitmail json YAML

ohci@fdt, ehci@fdt are machine independent; move from sunxi to sys/dev/fdt

(tnn)

2020-03-24 21:05:06 UTC MAIN commitmail json YAML

Update a comment.

(ad)

2020-03-24 18:09:07 UTC MAIN commitmail json YAML

add entry for NetMos NM9900 Quad UART.

The NM9900 seems to have variations such as 4UART and 2UART+1Printer,
but I tested on 4UART board.

(ryo)

2020-03-24 17:38:33 UTC MAIN commitmail json YAML

2020-03-24 17:20:55 UTC MAIN commitmail json YAML

Remove the argument from USB_{ATTACH,DETACH}, for consistency.

(maxv)

2020-03-24 14:56:32 UTC MAIN commitmail json YAML

If we're going to loop, pausing and then retrying malloc() after it
has failed, in the hope that some other thread has free'd some memory,
but we want to bound the number of attempts, it helps if we actually
count them - otherwise we never get nearer to the limit.

In practice, malloc() for a reasonable application on a modern system
almost never fails, so the code containing this bug has probably never
been, and never will be, executed, but just in case, someday.

For this, it isn't clear if the intent was to have 10 retries (ie: 11
attempts) or 10 tries, but as the code said "retries > 10", I am
assuming the former (not that it matters, if the malloc() has failed
10 times in a row, with 10 second pauses between, the chances of an
11th succeeding aren't great).

(kre)

2020-03-24 14:47:02 UTC MAIN commitmail json YAML

Revert previous

It will be addressed in a better way.

Requested by <kre>

(kamil)

2020-03-24 13:44:21 UTC MAIN commitmail json YAML

add more register description

(nisimura)

2020-03-24 13:30:54 UTC MAIN commitmail json YAML

reset the csum_flags in bridge_brodcast() also for bmcast path

for destination interfaces with real hardware offloading this fixes
multicast packet corruption; for xvif(4) this fix stops treating them
as having no csum

may fix PR kern/42386

(jdolecek)

2020-03-24 13:07:46 UTC MAIN commitmail json YAML

add more registers supposed to exist

(nisimura)

2020-03-24 11:40:08 UTC MAIN commitmail json YAML

try to show 32 GPIO line usage

(nisimura)

2020-03-24 11:26:21 UTC MAIN commitmail json YAML

fix FDT 2nd addr to map EEPROM store. mention ACPI _DSD contains FDT equiv parameters.

(nisimura)

2020-03-24 10:47:03 UTC MAIN commitmail json YAML

try to be consistent for the number of address match filter. tentative util the reality.

(nisimura)

2020-03-24 10:31:52 UTC MAIN commitmail json YAML

small knit about multicast hash table handling. use sc_100mii as bool

(nisimura)

2020-03-24 09:27:46 UTC MAIN commitmail json YAML

fix vmx(4) cannot link up at boot time.  reviewed by msaitoh@n.o, thanks.

vmx(4) could call if_link_state_change(ifp, LINK_STATE_UP) from vmxnet3_init()
before ifp->if_link_cansched was set, because dp->dom_if_up() (in6_if_up() for
INET6) could call ifp->if_init().  And then, workqueue_enqueue() was not called
at that time.
As the result, the last LQ_ITEM was stuck LINK_STATE_UP, so
if_link_state_change_work_schedule() was never called until
if_link_state_change(ifp, LINK_STATE_DOWN) was called.

To fix this issue, vmx(4) avoid calling if_link_state_change() before
ifp->if_link_cansched is set.

(knakahara)

2020-03-24 08:48:32 UTC MAIN commitmail json YAML

Fix cprng_fast64 return type to match code

(skrll)

2020-03-24 07:56:26 UTC MAIN commitmail json YAML

note that MKLLVMRT affects more than amdgpu.

(mrg)

2020-03-24 07:12:16 UTC MAIN commitmail json YAML

Fix type confusion. Found by kASan when doing a normal attach+detach over
vHCI.

(maxv)

2020-03-24 07:11:07 UTC MAIN commitmail json YAML

Use a vhci_request_t, will be required for future changes.

(maxv)

2020-03-24 04:12:13 UTC MAIN commitmail json YAML

Fix unused area size found by pgoyette@.

(msaitoh)

2020-03-24 04:00:26 UTC MAIN commitmail json YAML

nuke <sys/queue.h> and reorder #include

(nisimura)

2020-03-24 03:47:39 UTC MAIN commitmail json YAML

Calculate DDR3's tRAS correctly.

(msaitoh)

2020-03-24 03:45:26 UTC MAIN commitmail json YAML

- Define some new parameters of DDR3 SPD ROM.
- Use fine timebase parameters for time calculation on DDR3. This change
  makes PC3-XXXX vaule more correctly on newer DDR3.

(msaitoh)

2020-03-24 03:35:25 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2020-03-24 03:08:02 UTC MAIN commitmail json YAML

correct inverted logic to determine RMII/MII

(nisimura)

2020-03-24 02:31:59 UTC MAIN commitmail json YAML

add some more findings about SC2A11 GbE. do some code steamline practice.

(nisimura)

2020-03-24 01:56:56 UTC MAIN commitmail json YAML

Avoid buffer overflow

Detected with ASan + RUMPKERNEL.

(kamil)

2020-03-24 01:13:41 UTC MAIN commitmail json YAML

Fix off-by-one

Before accessing array member, check whether it is not out of valid range.

Detected with ASan + RUMPKERNEL.

(kamil)

2020-03-23 23:28:47 UTC MAIN commitmail json YAML

2020-03-23 23:28:11 UTC MAIN commitmail json YAML

Update comments

(ad)

2020-03-23 22:29:23 UTC MAIN commitmail json YAML

The image size increased.

(prlw1)

2020-03-23 22:21:34 UTC MAIN commitmail json YAML

2020-03-23 20:02:14 UTC MAIN commitmail json YAML

cache_remove(): remove from the vnode list first, so cache_revlookup()
doesn't try to re-activate an entry no longer on the LRU list.

(ad)

2020-03-23 19:45:11 UTC MAIN commitmail json YAML

Oops. Fix merge error.

(ad)

2020-03-23 19:14:06 UTC MAIN commitmail json YAML

Cosmetic tweak

(ad)

2020-03-23 18:56:15 UTC MAIN commitmail json YAML

Correct an assertion.

(ad)

2020-03-23 18:44:18 UTC MAIN commitmail json YAML

ncs_collisions is gone.

(ad)

2020-03-23 18:43:48 UTC MAIN commitmail json YAML

2020-03-23 18:41:40 UTC MAIN commitmail json YAML

- Deal with (rare) hash collisions by using memcmp() to partition further.
- Adjust some comments.

(ad)

2020-03-23 18:37:31 UTC MAIN commitmail json YAML

Fix a race between cache_enter() and cache_lookup().  Make sure the cache
entry is fully constructed before it appears on a vnode list.

(ad)

2020-03-23 18:33:43 UTC MAIN commitmail json YAML

Pacify a syzbot complaint about bit shifting.

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

(ad)

2020-03-23 16:38:29 UTC MAIN commitmail json YAML

2020-03-23 16:14:20 UTC MAIN commitmail json YAML

Fix synopsis, use more markup.

(wiz)

2020-03-23 15:32:56 UTC MAIN commitmail json YAML

Add missing man page for curses mouse functions.

(roy)

2020-03-23 14:49:50 UTC MAIN commitmail json YAML

Don't attempt to detach an evcnt before attaching it.  If its not
already attached, we will panic.

It turns out that this check wasn't really needed anyway, it was
simply paranoia on my part.

Thanks to hannken@ for bringing this to my attention.

(pgoyette)

2020-03-23 13:56:12 UTC MAIN commitmail json YAML

Fix the currency symbol for fi_FI.ISO8859-1

In the Finnish language, the recommended symbol for euro is the euro sign
where it is available, and the lowercase letter e otherwise.

The use of the ISO currency code EUR is not an abbreviation of the word
euro in the Finnish language, just like FIM is not an abbreviation of
the word markka.

Reference:
    https://www.kielikello.fi/-/euro-
    Euro
    Kielikello 3/1998
    Kotimaisten kielten keskus
    Institute for the Languages of Finland
    [Last retrieved 2020-03-23]

(kim)

2020-03-23 13:37:37 UTC MAIN commitmail json YAML

curses: Add stubs for mouse functions

No mouse support actually included.
But that doesn't matter because most terms don't actually support a mouse.

We should look into hooking these into wsmouse(4) and xterm mouse
in the future.

Compatable with nCurses mouse API version 2.

(roy)

2020-03-23 11:45:00 UTC MAIN commitmail json YAML

Bump image size - new firmware files need more space

(martin)

2020-03-23 10:35:56 UTC MAIN commitmail json YAML

Fix UVMHIST build

(skrll)

2020-03-23 10:35:08 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2020-03-23 10:26:07 UTC MAIN commitmail json YAML

adapt dual descriptor design both for AVE64 and AVE32

(nisimura)

2020-03-23 10:17:07 UTC netbsd-8 commitmail json YAML

2020-03-23 10:16:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1523):

sys/external/bsd/drm2/dist/drm/radeon/radeon_vce.c: revision 1.4

Fix loading TAHITI VCE firmware.

(martin)

2020-03-23 10:13:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #1522):

etc/etc.amiga/Makefile.inc: revision 1.30
etc/etc.amiga/Makefile.inc: revision 1.31
etc/etc.amiga/Makefile.inc: revision 1.29

Provide the (small) miniroot uncompressed, so that it can be used from
an AmigaOS without additional software to install NetBSD.

Closes PR port-amiga/45443

-

provide both miniroot.fs (for people wanting to install NetBSD without
more 3rdparty software than what's provided on our ISO) and .fs.tz (for
people downloading over slow links).

-

Fix build; add -f flag to "rm miniroot.fs" in case of its absence.

(martin)

2020-03-23 10:07:20 UTC netbsd-9 commitmail json YAML

2020-03-23 10:06:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by ragge in ticket #802):

sys/arch/vax/vsa/ncr.c: revision 1.50

Do not expect a struct buf to be present if doing DMA to kernel space.
Fixes bug reported by sadness on port-vax.

(martin)

2020-03-23 10:03:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #801):

etc/etc.amiga/Makefile.inc: revision 1.30
etc/etc.amiga/Makefile.inc: revision 1.31
etc/etc.amiga/Makefile.inc: revision 1.29

Provide the (small) miniroot uncompressed, so that it can be used from
an AmigaOS without additional software to install NetBSD.

Closes PR port-amiga/45443

-

provide both miniroot.fs (for people wanting to install NetBSD without
more 3rdparty software than what's provided on our ISO) and .fs.tz (for
people downloading over slow links).

-

Fix build; add -f flag to "rm miniroot.fs" in case of its absence.

(martin)

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

2020-03-23 07:42:00 UTC MAIN commitmail json YAML

replace some macro names for descriptor management

(nisimura)

2020-03-23 05:49:57 UTC MAIN commitmail json YAML

do better work in ifmedia_upd. fix ucode injection.

(nisimura)

2020-03-23 05:27:42 UTC MAIN commitmail json YAML

try to catch RMII/MII phy condition. fix divisor cal. nuke &= 03 error

(nisimura)

2020-03-23 05:24:28 UTC MAIN commitmail json YAML

use sc_100mii variable name for RMII/MII

(nisimura)

2020-03-23 04:34:16 UTC MAIN commitmail json YAML

improve comment descriptions. DRT for ucode load

(nisimura)

2020-03-23 03:55:49 UTC MAIN commitmail json YAML

try to DRT about EEPROM ucode

(nisimura)

2020-03-23 03:25:06 UTC MAIN commitmail json YAML

Socionext "NetSec" GbE driver

(nisimura)

2020-03-23 03:21:31 UTC MAIN commitmail json YAML

2020-03-23 02:44:22 UTC MAIN commitmail json YAML

Fix typo in comment.

(pgoyette)