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 (4h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 07:41:14 UTC Now

2018-09-21 08:43:18 UTC MAIN commitmail json YAML

no, put umbctl into netutil

(maxv)

2018-09-21 08:38:16 UTC MAIN commitmail json YAML

umbctl is not related to ISDN, move it into man-sysutil-man, spotted by
martin@

(maxv)

2018-09-21 07:22:26 UTC MAIN commitmail json YAML

Wrap long lines, so that nothing overflows.

(maxv)

2018-09-21 06:02:51 UTC MAIN commitmail json YAML

This needs bpfilter for npf

(skrll)

2018-09-21 03:42:20 UTC pgoyette-compat commitmail json YAML

2018-09-21 02:56:22 UTC pgoyette-compat commitmail json YAML

2018-09-21 02:53:00 UTC pgoyette-compat commitmail json YAML

More updates.  Use past tense for completed items, and note clean-up
of pre-existing function pointers.

(pgoyette)

2018-09-20 23:46:42 UTC MAIN commitmail json YAML

Whitespace.  NFC.

(kre)

2018-09-20 19:50:42 UTC MAIN commitmail json YAML

Use the locale's numeric radix character ("decimal point") more generally
(in !SMALL versions of dmesg).

(kre)

2018-09-20 19:02:22 UTC MAIN commitmail json YAML

Revise previous to not deadlock.

(jakllsch)

2018-09-20 18:41:05 UTC MAIN commitmail json YAML

Improve support for R_AARCH64_TLSDESC relocations.

In large part from FreeBSD.

(jakllsch)

2018-09-20 12:28:33 UTC MAIN commitmail json YAML

Enable NOPARTMAN for install media.

(rin)

2018-09-20 12:27:42 UTC MAIN commitmail json YAML

Add NOPARTMAN compile-time option, which drops extended partitioning
support provided by partman.c. It reduces, e.g., about 30KB for
crunched binary in atari install floppy.

OK christos

(rin)

2018-09-20 10:03:31 UTC MAIN commitmail json YAML

s/or/of/    (a common typo of mine)    and  s/or//  (too many of them.)

(kre)

2018-09-20 09:48:54 UTC MAIN commitmail json YAML

Prevent a panic in umb(4) when roaming is disabled

From OpenBSD.

(khorben)

2018-09-20 09:45:16 UTC MAIN commitmail json YAML

Use usb_rem_task_wait() now that it is available

This should avoid panics while detaching devices.

(khorben)

2018-09-20 09:23:22 UTC pgoyette-compat commitmail json YAML

The uipc_syscalls_40 compat routine doesn't have a ``struct lwp *l''
argument - adjust hook parameter lists accordingly.

(pgoyette)

2018-09-20 09:19:56 UTC MAIN commitmail json YAML

Use machdep.cpu for the first instance

(jmcneill)

2018-09-20 09:03:36 UTC MAIN commitmail json YAML

rkpmic(4): Add support for Rockchip RK805 Power Management IC.

(jmcneill)

2018-09-20 09:02:46 UTC MAIN commitmail json YAML

Add support for RK805

(jmcneill)

2018-09-20 07:34:10 UTC pgoyette-compat commitmail json YAML

2018-09-20 07:32:50 UTC pgoyette-compat commitmail json YAML

The vnd_30 and vnd_50 stuff is done - move the entry

(pgoyette)

2018-09-20 07:18:38 UTC MAIN commitmail json YAML

getdisksize only operates on device vnodes. Use the ioctl on the underlying
device instead.

(mlelstv)

2018-09-20 07:08:00 UTC MAIN commitmail json YAML

- pci_intr_setattr() is in pci_intr(9)
- pci_intr_type() is in pci_msi(9)

(rin)

2018-09-20 06:54:36 UTC MAIN commitmail json YAML

Link pci_intr_*(9) to pci_intr(9), except for those described in pci_msi(9).

(rin)

2018-09-20 06:48:53 UTC MAIN commitmail json YAML

pci_intr_type() is described in pci_msi(9).

(rin)

2018-09-20 06:06:06 UTC MAIN commitmail json YAML

Remove #if 0'd code that somehow got mangled in the (somewhat messy)
commit process and ended up being a syntax error...

(kre)

2018-09-20 05:08:45 UTC MAIN commitmail json YAML

When we removed the XEN special case from isa/isa_machdep.c
there was a corner case that was missed in
x86/intr.c:intr_establish_xname()

In isa_machdep.c:isa_intr_establish_xname() the legacy_irq parameter
is never set to -1. It is also incorrect to call
isa_intr_establish_xname() with a legacy_irq parameter of -1.

Thus we infer that whenever we see (legacy_irq == -1) in
intr_establish_xname() which is downstream, we were *NOT* called from
isa_machdep.c:isa_intr_establish_xname()

Given that there are no other users of intr_establish_xnam() which
pass a valid legacy_irq != -1, we assume therefore that we *WERE*
called from isa_machdep.c:isa_intr_establish_xname() in this case.

This is an important distinction in the case where a valid
legacy_irq > NUM_LEGACY_IRQS was passed down from
isa_intr_establish_xname() but was ignored by xen_pirq_alloc() and
overwritten with the "pseudo" irq which is then passed back. We thus
pass the incorrect "legacy" irq value to pirq_establish().

Even though non ISA (ie; PCI and MSI(X) cases), this is the correct
behaviour, we need to maintain (bug?) compatibility with the isa
case.

Thus the one liner diff.

CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123
CVS:
CVS: Please evaluate your changes and consider the following.
CVS: Abort checkin if you answer no.
CVS: => For all changes:
CVS: Do the changed files compile?
CVS: Has the change been tested?
CVS: => If you are not completely familiar with the changed components:
CVS: Has the change been posted for review?
CVS: Have you allowed enough time for feedback?
CVS: => If the change is major:
CVS: => If the change adds files to, or removes files from $DESTDIR:
CVS: => If you are changing a library or kernel interface:
CVS: Have you successfully run "./build.sh release"?

(cherry)

2018-09-20 02:51:21 UTC MAIN commitmail json YAML

don't build kernel grovelling tools as n64 on sgimips - we don't actually have
n64 kernels there. Yet.

(macallan)

2018-09-20 01:11:20 UTC MAIN commitmail json YAML

Remove a comma and some trailing whitespace.

(wiz)

2018-09-19 23:28:58 UTC MAIN commitmail json YAML

Remove unused KBD_NULLMAP entries copy-paste from sys/dev/pckbport.

(rin)

2018-09-19 23:22:17 UTC MAIN commitmail json YAML

Remove invalid option copy-paste from hpcmips.

(rin)

2018-09-19 23:02:14 UTC MAIN commitmail json YAML

changes from kre@
- pass intmax to fmtydhmsf instead of time_t to avoid extra conversions.
- make -TTT mean "always keep 3 decimal digits of duration precision" (ie:
  always print ms)  (including trailing 0's, even .000 if it happens)
- make -T (all forms) be subject to the locale (obey the radix character)
- don't print ymd, since that would require calendar calculations to get
  right.

(christos)

2018-09-19 22:58:03 UTC MAIN commitmail json YAML

Allow a third use of -T to force .NNN (always three digits) in -TT
(ISO8601 durations) format for timestamps - that is,not dropping trailing 0's.

(kre)

2018-09-19 22:55:12 UTC MAIN commitmail json YAML

In -TT mode (ISO8601 duration timestamps) print milliseconds as
decimal fractions of a second (as they should be) rather than integer
milliseconds (ie nnn.1means nnn seconds and 1/10 of a second, not
nnn seconds, and 1 millisecond).  While here convert some inappropriate
time_t usage to intmax_t which works better (int, or long, would probably
work just as well).

(kre)

2018-09-19 18:53:25 UTC MAIN commitmail json YAML

Add AMDD, ASF, MSC, RMCP, SAML, STOMP, and YAML
Hyphenate TDD description (grammar)

(ginsbach)

2018-09-19 18:50:40 UTC MAIN commitmail json YAML

2018-09-19 17:31:39 UTC MAIN commitmail json YAML

2018-09-19 16:23:05 UTC MAIN commitmail json YAML

2018-09-19 16:11:53 UTC MAIN commitmail json YAML

Don't build the module sets for non-pae-32bit-pv. Noted by John D. Baker
on port-i386@, thanks.

(maxv)

2018-09-19 15:36:12 UTC MAIN commitmail json YAML

Switch back to tabs, it was nicer this way.

(maxv)

2018-09-19 15:20:39 UTC MAIN commitmail json YAML

Don't display l_wchan, either there is something in l_wmesg and we display
it, or there's nothing and we print "-".

(maxv)

2018-09-19 13:58:27 UTC MAIN commitmail json YAML

2018-09-19 07:54:11 UTC MAIN commitmail json YAML

Fix in_undefer_cksum() and in6_undefer_cksum().

The 4th argument for in[46]_cksum() should be length of L4 header +
L4 payload. The previous revisions are wrong

- for IPv4 when hdrlen != 0
- for IPv6 always

These functions are used only in net/if_loop.c and
arch/powerpc/booke/dev/pq3etsec.c under some special circumferences.
This should be why the bugs have not been found until today.

OK maxv

(rin)

2018-09-19 07:51:23 UTC MAIN commitmail json YAML

Micro optimization. m_copym(M_COPYALL) -> m_copypacket().

(msaitoh)

2018-09-19 07:26:54 UTC MAIN commitmail json YAML

This file was only for setting COMPAT_AS appropriately, which is
automatically done in sys/compat/common/Makefile.inc since r1.24:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/compat/common/Makefile.inc#rev1.24

(rin)

2018-09-19 06:56:51 UTC pgoyette-compat commitmail json YAML

Remove leading coma from list of required modules.  It doesn't seem
to cause any real problems, but it makes modstat output look weird.

(pgoyette)

2018-09-19 06:37:11 UTC pgoyette-compat commitmail json YAML

We have some COMPAT_30 code that needs compat_offseterr(), so let's
require the compat_util module.

(pgoyette)

2018-09-19 06:26:13 UTC pgoyette-compat commitmail json YAML

Ooops - we need to grab the mutex before we can drain the localcount!

(pgoyette)

2018-09-19 04:22:33 UTC pgoyette-compat commitmail json YAML

Update for new vnd_50.c source file.

Not really necessary to update this, since we're no longer building
the "monolithic" compat module.  But let's maintain it correctly, at
least until we delete the file.

(pgoyette)

2018-09-19 04:12:43 UTC pgoyette-compat commitmail json YAML

2018-09-19 00:15:05 UTC MAIN commitmail json YAML

add -TT printing ISO 8601 duration

(christos)

2018-09-18 23:03:55 UTC pgoyette-compat commitmail json YAML

2018-09-18 22:51:00 UTC MAIN commitmail json YAML

PR lib/53615

Before invoking a previous signal handler, make sure it is not SIG_*.
Fix potential crash with SIGWINCH.

OK roy

(rin)

2018-09-18 22:46:18 UTC MAIN commitmail json YAML

PR lib/53615

getch() and get_wch() should return KEY_RESIZE when interrupted by SIGWINCH.

OK roy

(rin)

2018-09-18 22:12:19 UTC MAIN commitmail json YAML

2018-09-18 21:38:08 UTC pgoyette-compat commitmail json YAML

Rename sys/compat_hook.h --> sys/module_hook.h to more accurately
state its intended usage

(pgoyette)

2018-09-18 21:28:22 UTC MAIN commitmail json YAML

fix ata_xfer leak on drive probe

(jdolecek)

2018-09-18 19:19:45 UTC MAIN commitmail json YAML

utf8_to_ucs2 second param (nmp) needs to be initialized before calling this function

(jmcneill)

2018-09-18 14:57:32 UTC MAIN commitmail json YAML

Clarify the comment in the "unconst" version of hpckbd_keymap_setup.
Both sh3 (P1) and mips (kseg0) have the kernel directly mapped.

(uwe)

2018-09-18 11:54:01 UTC MAIN commitmail json YAML

Update firmware to

commit 1bd0e85c3ce7f6946f5cd4e18e7b45d50767412f
Author: popcornmix <popcornmix@gmail.com>
Date:  Mon Sep 17 14:39:10 2018 +0100

Tested by Jun Ebihara as discussed on port-arm

(skrll)

2018-09-18 10:35:04 UTC pgoyette-compat commitmail json YAML

2018-09-18 10:34:08 UTC pgoyette-compat commitmail json YAML

Add some XXX comments to remind me to finish the work in these areas

(pgoyette)

2018-09-18 09:27:35 UTC MAIN commitmail json YAML

- Fix bridge_enqueue() which was broken by last commit. Use correct mbuf
  pointer.
- Modify comment.

(msaitoh)

2018-09-18 09:09:26 UTC MAIN commitmail json YAML

Fix comment formatting in previous.

(uwe)

2018-09-18 06:19:28 UTC MAIN commitmail json YAML

fix wsdisplay/wskbd and cngetc() return value issues:
- return -1 for error / no character
- allow 0 as a character

cngetc() itself considers any value >= 0 valid, and this matches
the usage in other drivers that return -1 for "not data", vs
polling until something arrives.

removes ^G from spewing out the askname/etc prompts when no key
has been pressed (these come from cngetsn(), ignoring unknown
non printable characters.)

from @skrll with help from @mlelstv.

(mrg)

2018-09-18 05:37:54 UTC MAIN commitmail json YAML

remove usb(4)'s "flags 1" code.  it has been dead for a while,
as it runs during the interrupts part of configuration now,
and all the devices try attach as early as possible, including
any root or boot required disk or keyboard device, which is
what this flag was for.

(mrg)

2018-09-18 05:24:10 UTC MAIN commitmail json YAML

deal with partial attach failures in usb_attach vs usb_detach aka PR 53598.

- make sure xhci's sc->sc_ios is NULL if failure happens.
- rearrange usb_attach() / usb_doattach() to make it simpler to clean up.
- move usb_async_intr softint into usb_once_init().  previously, each USB
  controller would start a new one, and leave the old one leaked.
- handle controller interrupts without a bus attached

(mrg)

2018-09-18 03:32:35 UTC pgoyette-compat commitmail json YAML

Split the HOOK-related macros out from the declarations.

We'll need the macros for compat32, but won't want the declarations.

(pgoyette)

2018-09-18 02:58:10 UTC MAIN commitmail json YAML

Apply workaround introduced in r1.31 to hpcmips.

Fix kernel crash when console is attached. Now, my MC/R550 boots multiuser.

Thanks Masahiko Ito for encouraging me to do bisection to find this out.

XXX pullup-8, pullup-7

(rin)

2018-09-18 02:00:07 UTC MAIN commitmail json YAML

implement a gross hack to fix "boot -a" on systems with usb keyboards on
systems with ehci handover to uhci (and maybe ohci), and fix a similar
problem for "boot -s".

there is effort to ensure that all devices attached via USB are probed
before RB_ASKNAME or RB_SINGLE attempts to ask any questions on the console,
and largely this works, often by chance, today, for USB disks and root.
i've recently pushed this more into uhub and general USB device attachment
as well, and kept a config_pending reference across the first explore of
a bus.  these fix many issues with directly attached hubs.

however, on systems where devices connected to ehci ports are handed over
to a companion uhci or ohci port, it may not be the first, or even second,
bus explore that finds the device finally before attachment, and at this
point all config_pending references are dropped.

there is no direct communication between drivers, the potentials are
looked up but their device_t is only used for generic things like the name,
so informing the correct companion to expect a device and deal with the
config_pending references is not possible without some fairly ugly layer
violations or multi-level callbacks (eg, we have "ehci0", and usually an
the relevant companion, eg, "uhci2", but it is the uhub that uhci2 has
attached that will deal with the device attachment.)

with the above fixes to generic USB code, the disown happens during the
first explore.  the hack works by, at this point, checking if (a) root
is not mounted, (b) single user or ask name are set, and (c) if the hack
as not been triggered already.  if all 3 conditions are true, then a
config_pending_incr() is called and a callback is triggered for (default)
5 seconds to call config_pending_decr().  ehci detach pauses waiting for
this callback if scheduled.

this allows enough time for the uhub and the ukbd/wskbd to attach before
the RK_ASKROOT prompts appear.  testing shows it takes between 1.5 and
2 seconds for the keyboard to appear after the disown occurs.

Index: dev/usb/ehcivar.c
- new sc_compcallout, sc_compcallout, sc_complock, and a state for th
  handover hack.

Index: dev/usb/ehci.c
ehci_init():
- use aprint_normal_dev() instead of manual device_xname().
- initialise sc_compcallout, sc_compcallout, sc_complock, and sc_comp_state.
ehci_detach():
- if there are companion controllers, tear own the above, including waiting
  if there is a callback scheduled.
ehci_disown_callback():
- new callout to call config_pending_decr() in the the future.
  schedule this ca
ehci_disown_sched_callback():
- if booting to single user or asking names, call config_pending_incr() and
  schedule the callout above, default 5 second delay.
ehci_disown():
- if disowning a port call ehci_disown_sched_callback().

(mrg)

2018-09-18 01:36:44 UTC MAIN commitmail json YAML

add config_pending usage to uhub and general USB device attachment.

- call config_pending_incr() and config_pending_decr() around attaching
  devices against "usbdevif" attribute.

uhub:
- convert sc_explorepending and sc_running to bool.  add new sc_first_explore.
- call config_pending_incr() at the start of uhub_attach().  dropped in
  uhub_explore(), if this is the first explore.

(mrg)

2018-09-18 01:25:09 UTC MAIN commitmail json YAML

- move export for devmon_insert_vec into sys/device.h.
- export root_is_mounted for future USB RB_ASKNAME hack.
- make some things in subr_autoconf.c static
- move device_printf() prototype out from the middle of two sets of
  aprint_*() prototypes.

(mrg)

2018-09-18 01:15:58 UTC pgoyette-compat commitmail json YAML

2018-09-18 01:11:33 UTC pgoyette-compat commitmail json YAML

Update for having (mostly) finished the netbsd32 module split.

Renumber so each entry is unique.

(pgoyette)

2018-09-17 20:54:41 UTC jdolecek-ncqfixes commitmail json YAML

2018-09-17 20:25:49 UTC MAIN commitmail json YAML

Add support for the enhanced descriptors feature.

This makes "recent" dwc gmac controllers, as found e.g. on the Cyclone V, work.
The change was also tested working on an Allwinner A20 which doesn't have the
feature.

No negative reaction on port-arm.

(aymeric)

2018-09-17 19:30:26 UTC jdolecek-ncqfixes commitmail json YAML

2018-09-17 19:00:43 UTC jdolecek-ncqfixes commitmail json YAML

switch from TAILQ to SIMPLEQ for ata_xfer pending queue to save
space, don't need doubly linked queue

(jdolecek)

2018-09-17 18:36:14 UTC jdolecek-ncqfixes commitmail json YAML

2018-09-17 16:52:29 UTC MAIN commitmail json YAML

Fix hangup after framebuffers are attached on 3MIN.  PR port-pmax/53611

Ok'ed by mrg@.  Should be pulled up to netbsd-7 and netbsd-8.

(tsutsui)

2018-09-17 15:53:06 UTC MAIN commitmail json YAML

Reduce the noise, reorder and rename some things for clarity.

(maxv)

2018-09-17 15:19:29 UTC MAIN commitmail json YAML

Make sure to install a bootloader even on upgrade installation.

Fixes another part of port-sgimips/53583.
Should be pulled up (with rev 1.5) to netbsd-7 and netbsd-8.

(tsutsui)

2018-09-17 11:04:31 UTC pgoyette-compat commitmail json YAML

2018-09-17 10:06:29 UTC pgoyette-compat commitmail json YAML

Update for recent work and recent discoveries

(pgoyette)

2018-09-17 08:27:42 UTC MAIN commitmail json YAML

reorder some struct members to remove holes.

(mrg)

2018-09-17 08:11:27 UTC MAIN commitmail json YAML

Kick fragments that would introduce several !MFFs in a reassembly chain.

The problem arises if we receive three fragments of the kind

3.  A -> has MFF
1.  B -> doesn't have MFF
2.  C -> doesn't have MFF

Because of the received order B->C->A, we don't see that B is !MFF, and
therefore that there is a problem in this chain.

Now we do two checks, and drop us if:

* there is a fragment preceding us, and this fragment is !MFF, or
* there is a fragment following us, and we are !MFF

Spotted a long time ago.

(maxv)

2018-09-17 06:01:36 UTC MAIN commitmail json YAML

Hold ip_off and ip_len in the fragment entry, instead of always reading
the associated mbuf (and converting to host order). This reduces the
cache/TLB misses when processing long lists.

(maxv)

2018-09-17 01:49:54 UTC MAIN commitmail json YAML

When this file is used when not building the kernel (eg: /usr/sbin/crash)
make cnpollc() go away.

(kre)

2018-09-17 00:15:55 UTC MAIN commitmail json YAML

delete debug printf and KASSERT.

(ryo)

2018-09-16 23:20:18 UTC MAIN commitmail json YAML

don't print a blank line that ends up in logs and console output.

(mrg)

2018-09-16 23:18:55 UTC MAIN commitmail json YAML

call cnpollc(1) and cnpollc(0) around cngetc().

(christos has a good idea to add a function that does all 3,
and we should switch all the callers in this sequence to use
it (and fix the MD ones missing it still).  not all can, as
eg, line-grabbing functions can use cngetsn(), which only
calls cnpollc() twice.)

(mrg)

2018-09-16 22:37:24 UTC MAIN commitmail json YAML

Remove uses of test -o

(kre)

2018-09-16 22:31:30 UTC MAIN commitmail json YAML

Begone unspecified test-a ... and be more obious what it was doing.

(kre)

2018-09-16 22:22:44 UTC MAIN commitmail json YAML

Remove uses of test ([) -a operator.  More cleanups.

This script looks like it cold do with an agressive cleanup, but
I have no rational way to test it, so it won't get done by me...

(kre)

2018-09-16 21:49:18 UTC MAIN commitmail json YAML

Remove use of test ([) -o (and a couple of other trivial cleanups).

(kre)

2018-09-16 21:41:34 UTC MAIN commitmail json YAML

Remove test ([) -o usage, and make a couple of minor cleanups as well.

(kre)

2018-09-16 21:32:29 UTC MAIN commitmail json YAML

Remove uses of test ... -a ... and test ... -o ...

(kre)

2018-09-16 20:40:20 UTC MAIN commitmail json YAML

clean up a comment left behind from the previous commit.
this now only has sysctl pcb info.

(mrg)

2018-09-16 20:39:04 UTC MAIN commitmail json YAML

CTL_DEBUG_MAXID is only used to size a static array that the compiler
can do just fine itself.  use the compiler and remove the define.

(mrg)

2018-09-16 20:21:56 UTC MAIN commitmail json YAML

consolidate the handling of polling across HC drivers, and generic USB:
- don't take mutexes if polling
- normalise the code across all drivers
- add some not yet code to block discovery to/from polling
- minor CSE
- adjust comment for usbd_set_polling() to reality now i properly
  understand what it is used for and why.

this, with a hack to make RB_ASKNAME to wait 5 seconds allows boot -a
work with USB keyboards.  there are still multiple issues remaining:
- discovery and polling need to be mutually exclusive
- attachment of ukbd and wskbd is not handled by config_pending, and
  the 5 second delay isn't going to always be enough.

(mrg)

2018-09-16 15:40:36 UTC MAIN commitmail json YAML

2018-09-16 14:26:04 UTC MAIN commitmail json YAML

General cleanups...
Better quote usage
No more need for sed
(should be no need for getopt either, but did not do that one)

(kre)

2018-09-16 14:23:04 UTC MAIN commitmail json YAML

PR install/53610

Remove use of -a in test(1) - deprecated in standard, and no
longer supported in SMALL (install media) versions of test in /bin/sh

(kre)

2018-09-16 13:21:36 UTC MAIN commitmail json YAML

port-evbarm/53308: evbarm-earmv7hf performance regression under qemu

Revert gtmr.c r1.27 and apply a workaround for Allwinner A64 SoCs based
on analysis of the issue from LKML: https://lkml.org/lkml/2018/5/10/774

Since this bug is specific to the Allwinner A64 SoC, only apply the
workaround when the root ("/") node of the device tree is compatible
with "allwinner,sun50i-a64".

(jmcneill)

2018-09-16 13:14:12 UTC MAIN commitmail json YAML

add what {PROG,LIB}DPLIBS are useful for

(christos)

2018-09-16 13:11:48 UTC MAIN commitmail json YAML

document PROGDPLIBS

(christos)

2018-09-16 11:34:20 UTC MAIN commitmail json YAML

2018-09-16 11:24:29 UTC MAIN commitmail json YAML

Use do { } while (/* CONSTCOND */ 0) for nop VPRINTF

(skrll)

2018-09-16 10:29:39 UTC MAIN commitmail json YAML

avoid __diagused.

(mrg)

2018-09-16 10:15:22 UTC MAIN commitmail json YAML

enable ext2fs, nullfs, cd9660, disable FFS_NO_SNAPSHOT, and remove
not relevant PCI IDE stuff.

(mrg)

2018-09-16 09:25:48 UTC MAIN commitmail json YAML

2018-09-16 09:15:12 UTC MAIN commitmail json YAML

Now that the build cluster creates stable "latest" links, use them
as default for downloading sets.

(martin)

2018-09-16 06:09:01 UTC MAIN commitmail json YAML

2018-09-16 04:57:22 UTC pgoyette-compat commitmail json YAML

Yay - we got the ccd_ioctl_60 stuff to build!

Now we can use that as a template for cleaning up all the others.

(pgoyette)

2018-09-16 04:56:27 UTC pgoyette-compat commitmail json YAML

Lots of typos, rearranging, renaming, etc.

(pgoyette)

2018-09-16 02:16:21 UTC pgoyette-compat commitmail json YAML

Enable CALL_HOOKS for each/all of the possible hook functions

(pgoyette)

2018-09-16 02:00:36 UTC MAIN commitmail json YAML

Style. No functional changes.

(rin)

2018-09-16 01:56:29 UTC MAIN commitmail json YAML

Check range of EEPROM address rather truncate implicitly.

(rin)

2018-09-16 01:51:58 UTC pgoyette-compat commitmail json YAML

Insist that all hooks are of type int

(pgoyette)

2018-09-16 01:44:11 UTC MAIN commitmail json YAML

Correct nonsense message in KASSERTMSG.

(rin)

2018-09-16 01:41:28 UTC MAIN commitmail json YAML

- Style (total_len ---> totlen).
- Fix printf format (totlen is unsigned).

(rin)

2018-09-16 01:29:28 UTC MAIN commitmail json YAML

Do not turn on IFF_OACTIVE if transfer fails.
Remove redundant error message.

(rin)

2018-09-16 01:27:21 UTC MAIN commitmail json YAML

Drop wrong KASSERT; we don't need TCP headers here.

(rin)

2018-09-16 01:23:09 UTC MAIN commitmail json YAML

Rewrite mue_encap(); drop too long packets rather than panic.

(rin)

2018-09-16 01:18:30 UTC MAIN commitmail json YAML

Allow ethernet frame with VLAN tag.

(rin)

2018-09-16 01:13:26 UTC MAIN commitmail json YAML

Correct lower bound of RX packet length; don't forget FCS.

(rin)

2018-09-16 01:07:38 UTC MAIN commitmail json YAML

- Improve error messages.
- Switch from debug printf to normal printf for real errors.

(rin)

2018-09-16 00:58:47 UTC MAIN commitmail json YAML

Use proper integer types.

(rin)

2018-09-16 00:55:17 UTC MAIN commitmail json YAML

Style. No binary changes.

(rin)

2018-09-16 00:40:27 UTC pgoyette-compat commitmail json YAML

Finish the macros for MP-safe COMPAT_HOOKS

(pgoyette)

2018-09-15 23:03:27 UTC MAIN commitmail json YAML

fixed to keep PROT_EXECUTE when writing the page/block.
this is required when the L2 block to which the target address belongs
and the L2 block to which this function itself belongs are the same.

(ryo)

2018-09-15 19:47:48 UTC MAIN commitmail json YAML

2018-09-15 19:16:58 UTC MAIN commitmail json YAML

aarch64/db_trace.c: annotate w/ __printflike; fix discovered problems

(jakllsch)

2018-09-15 18:04:21 UTC MAIN commitmail json YAML

When not using the serial console while installing with sysinst,
switch all ports in /etc/ttys over to wsvt25.

For mixed setups that sometims do serial console and otherwise
frambuffer console, it would be better to leave console and constty as
vt100, but switch console to off and ttyE0 to on, but we do not want
to bother the user with tricky questions here and everyone switching
console types should have no problem changing this setup later,
or even deal with a serial console and TERM=wsvt25.

(martin)

2018-09-15 17:42:38 UTC MAIN commitmail json YAML

Fix merge mishap in rev 1.9/1.10 - remove accidently duplicated
code. No functional change.

(martin)

2018-09-15 17:06:32 UTC MAIN commitmail json YAML

2018-09-15 17:05:57 UTC MAIN commitmail json YAML

Let the bootloader override the progress function by defining PROGRESS_FN

(jmcneill)

2018-09-15 16:44:15 UTC MAIN commitmail json YAML

Some U-Boot implementations (notably U-Boot) do not implement WaitForKey. Do the same as FreeBSD EFI loader here (I wrote the original patch there as well).

(jmcneill)

2018-09-15 16:41:57 UTC MAIN commitmail json YAML

Claer the screen at startup

(jmcneill)

2018-09-15 16:41:37 UTC MAIN commitmail json YAML

Only need to ischar() once when polling for input

(jmcneill)

2018-09-15 16:22:21 UTC MAIN commitmail json YAML

2018-09-15 16:21:36 UTC MAIN commitmail json YAML

Enable WSDISPLAY_MULTICONS

(jmcneill)

2018-09-15 15:22:06 UTC MAIN commitmail json YAML

Fix #include path for aarch64/setjmp.h.

(jakllsch)

2018-09-15 13:42:41 UTC MAIN commitmail json YAML

fdtvar.h: Use _KERNEL_OPT wrapper where necessary.

(jakllsch)

2018-09-15 13:33:15 UTC MAIN commitmail json YAML

Make it compile after change to non-variadic pr_input.

(rjs)

2018-09-15 08:48:18 UTC MAIN commitmail json YAML

call spl0() before cpu_reboot(), so that there's a chance that:
- interrupts can work afterwards
- this also means if IO stalls, serial break might work again.

this mimics how reboot(2) ends up calling cpu_reboot().

(mrg)

2018-09-15 06:37:48 UTC pgoyette-compat commitmail json YAML

2018-09-15 05:57:51 UTC pgoyette-compat commitmail json YAML

2018-09-15 05:56:50 UTC pgoyette-compat commitmail json YAML

Prepare for adding MP-safe stuff.

While here, move some header #includes

(pgoyette)

2018-09-15 02:14:39 UTC pgoyette-compat commitmail json YAML

2018-09-15 01:05:07 UTC MAIN commitmail json YAML

remove long unused power button handler

(macallan)

2018-09-15 00:37:53 UTC MAIN commitmail json YAML

one more s/panel/button, now this actually works again.

(macallan)

2018-09-14 22:08:49 UTC MAIN commitmail json YAML

fdt_cpu_rootconf: fix root on wd(4)

Remove duplicate 'ld' and replace with previously-missing 'wd'.

(jakllsch)

2018-09-14 21:37:03 UTC MAIN commitmail json YAML

MI efiboot: avoid LBA overflow in efi_block_find_partitions_disklabel()

(jakllsch)

2018-09-14 20:53:49 UTC MAIN commitmail json YAML

PR/53608: Ian Bruene: document __{printf,syslog}like.

(christos)

2018-09-14 20:47:32 UTC MAIN commitmail json YAML

The syslog format attribute is a superset of the printf format attribute
so allow functions marked with the printf format attribute to call syslog
without producing warnings with -Wmissing-format-attribute.

(christos)

2018-09-14 20:46:46 UTC MAIN commitmail json YAML

The syslog format attribute is a superset of the printf format attribute
so allow functions marked with the printf format attribute to call syslog
without producing warnings with -Wmissing-format-attribute.

(christos)

2018-09-14 20:38:38 UTC MAIN commitmail json YAML

__dead functions can not return, which is different from not returning a
value.

(joerg)

2018-09-14 19:57:57 UTC MAIN commitmail json YAML

Move the tests of character value args to floating conversions
out of the %e test and into the NetBSD specific tests, while POSIX
once (apparently) required (or seemed to require) support for that,
it no longer does (and character value args to float conversions do
not make much sense - char valuse are always integers).

When char conversions are supported, test that \'  (or \" ) (that is,
no character following the quote) works as an arg (should result in zero,
as there's a \0 in the arg after the quote char).

Add some big/small number %g conversion tests.

(kre)

2018-09-14 19:52:23 UTC MAIN commitmail json YAML

When the shell being tested for builtin printf supports "type -t"
use it to test if printf is built in, it is must more reliable that
guessing at the output format and message of "type" (without -t).

(kre)

2018-09-14 19:06:53 UTC MAIN commitmail json YAML

The macros kidmap_getsidby{u,g}id always return 1 from sid.h on NetBSD,
and clang is complaining about the impossible... So initialize rid and
be done with it, it is the least intrusive fix.

(christos)

2018-09-14 18:46:47 UTC MAIN commitmail json YAML

2018-09-14 13:47:14 UTC MAIN commitmail json YAML

change copystr() to asm so that we don't have to add __noasan.
Also copyinout.S is the right place for copystr().

(ryo)

2018-09-14 13:19:15 UTC MAIN commitmail json YAML

Fix description for -r option reflecting the actual behavior.
Suggested by christos on current-users.

(rin)

2018-09-14 11:58:38 UTC MAIN commitmail json YAML

2018-09-14 11:30:07 UTC MAIN commitmail json YAML

Some tweet told me I missed this.

(skrll)

2018-09-14 11:05:09 UTC MAIN commitmail json YAML

Fix a bug that bridge_enqueue() incorrectly cleared outgoing packet's offload
flags. bridge_enqueue() is called from bridge_output() when a packet is
spontaneous. Clear csum_flags before calling brige_enqueue() in
bridge_forward() or bridge_broadcast() instead of in the beginning of
bridge_enqueue().

Note that this change doesn't fix a problem on the following configuration:

A bridge has two or more interfaces.

An address is assigned to an bridge member interface and
some offload flags are set.

Another interface has no address and has no any offload flag.

XXX pullup-[78]

(msaitoh)

2018-09-14 10:41:48 UTC pgoyette-compat commitmail json YAML

2018-09-14 10:41:13 UTC pgoyette-compat commitmail json YAML

Add MODULAR attribute to sigreturn.  I think this is the last one.

(pgoyette)

2018-09-14 10:13:03 UTC MAIN commitmail json YAML

Fix  BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE for aarch64.

The readonly mbuf optimisation is for the old arm pmap.

(skrll)

2018-09-14 09:51:09 UTC MAIN commitmail json YAML

- Fix a bug that Denverton accessed wrong register in
  ixgbe_setup_low_power_mode(). The location of some registers in Denverton
  were changed. The GRC register is one of them, so use IXGBE_GRC_BY_MAC(hw)
  instead of IXGBE_GRC.
- ixgbe_check_wol_support() tests the capability of WOL, but the sysctl
  knobs for WOL were added only for IXGBE_DEV_ID_X550EM_X_10G_T. Add the
  knobs when adapter->wol_support is not 0.

XXX pullup-8

(msaitoh)

2018-09-14 09:21:33 UTC pgoyette-compat commitmail json YAML

Forward declaration of struct netbsd32_modctl_args

(pgoyette)

2018-09-14 09:06:13 UTC MAIN commitmail json YAML

Move the aarch64 start stub from sys/arch/evbarm to sys/arch/aarch64.

Delete the unused/empty evbarm/fdt/genassym.cf while I'm here.

(skrll)

2018-09-14 08:53:22 UTC pgoyette-compat commitmail json YAML

2018-09-14 08:51:07 UTC MAIN commitmail json YAML

s/A64/ARM/

no functional change

(skrll)

2018-09-14 08:38:37 UTC pgoyette-compat commitmail json YAML

2018-09-14 08:11:30 UTC MAIN commitmail json YAML

pseudo-device ifmpls was renamed to mpls long ago.

(rin)

2018-09-14 07:07:41 UTC MAIN commitmail json YAML

2018-09-14 07:01:28 UTC MAIN commitmail json YAML

remove obsolete file missed while splitting it!  thanks wiz.

(mrg)

2018-09-14 06:21:17 UTC pgoyette-compat commitmail json YAML

Add entry for the need to use localcount(9) to protect removal of
vectored routine pointers.

Thanks riastradh@

(pgoyette)

2018-09-14 05:59:10 UTC MAIN commitmail json YAML

Fix "every" typo in quote from The Mythical Man-Month

(rillig)

2018-09-14 05:37:42 UTC MAIN commitmail json YAML

define VM_KERNEL_IO_SIZE for clarity

(ryo)

2018-09-14 05:37:08 UTC pgoyette-compat commitmail json YAML

2018-09-14 05:33:50 UTC MAIN commitmail json YAML

use ENTRY_NP to avoid added _PROF_PROLOGUE.

(ryo)

2018-09-14 05:31:14 UTC MAIN commitmail json YAML

copy the output from the temp buffer to the actual one on return.

Fixes crashes with updated xf86-video-intel / mesa 18
from riastradh.

(maya)

2018-09-14 05:09:51 UTC MAIN commitmail json YAML

2018-09-14 04:29:46 UTC MAIN commitmail json YAML

rename toff -> off

(maxv)

2018-09-14 04:25:16 UTC MAIN commitmail json YAML

rename off -> thlen

(maxv)

2018-09-14 01:55:20 UTC MAIN commitmail json YAML

retire kern_xxx.c.  long live kern_xxx.c.

split it into kern_reboot.c and kern_scdebug.c.  while here,
add my copyright to kern_scdebug.c as it was largely rewritten
for kernhist support.

(mrg)

2018-09-14 01:50:51 UTC MAIN commitmail json YAML

fix a !MP build issue.

(mrg)

2018-09-14 01:43:45 UTC MAIN commitmail json YAML

remove unused code:
- old drm nouveau was never ported
- the libdrm in this repo was never used
- these tests were never used, and this whole tree is obsolete, but
  we never ported some of the old drivers to new drm.

XXX: probably can delete i915drm.
XXX: would ike to delete old radeondrm, but it is still the only
    functional drm on some older radeon r100/r200 chipsets.

(mrg)

2018-09-14 01:21:34 UTC pgoyette-compat commitmail json YAML

2018-09-14 01:20:52 UTC pgoyette-compat commitmail json YAML

2018-09-14 00:47:48 UTC pgoyette-compat commitmail json YAML

Require coredump since netbsd32 module will be built with COREDUMP enabled.

(pgoyette)

2018-09-13 23:33:56 UTC pgoyette-compat commitmail json YAML

Remove duplicate syscall package entry for ntp_gettime30.  Duplicate
entries cause a panic when disestablishing, since when it looks at the
second entry it finds that the entrypoint doesn't match what's in the
package (it's alrady been reverted to sys_nosys() by the first entry.)

(pgoyette)

2018-09-13 22:53:52 UTC pgoyette-compat commitmail json YAML

2018-09-13 22:12:35 UTC MAIN commitmail json YAML

A change in rev 1.91 interacted badly with the way that showjobs()
worked, preventing $(jobs) (and more usefully $(jobs -p) from
working.  Fix that.

XXX pullup -8

(kre)

2018-09-13 22:10:04 UTC pgoyette-compat commitmail json YAML

2018-09-13 22:09:20 UTC pgoyette-compat commitmail json YAML

Include required MD code for amd64

(pgoyette)