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

2024-05-10 07:15:43 UTC Now

2018-07-02 09:26:48 UTC MAIN commitmail json YAML

- Add ASIX Ax88x9x
- Add description for DP83846A.

(msaitoh)

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

2018-07-02 09:01:59 UTC MAIN commitmail json YAML

Sort OUI by number. No functional change.

(msaitoh)

2018-07-02 06:03:13 UTC MAIN commitmail json YAML

sync OpenBSD if_msk.c revs 1.66-1.79 skipping framework changes and already
present changes:
- Make Yukon-2 FE+ (88E8040, 88E8042) work
- 88E8057 is a Yukon 2 Ultra 2, and this might make it work on a little
  shiny green box in Japan
- Prevent null pointer dereference that could happen when we process an RX
  interrupt that was queued while stopping the interface.
- Remove holdover XMAC II writes/reads inherited from sk as
  they aren't required and cause problems like the 88E8072
  hard locking a system when enabling macsec bypass.
- Bypass macsec on extreme/supreme based chips.
  Makes my 88E8072 work.
- Add detach support to a few more drivers, and in others do the neccessary
  operations in the detach function in the right order.

towards resolution of PR kern/53301 but will need more work

tested by John Halfpenny on another 8040/Yukon-2 FE+ and reported
improving behaviour (system hang to stall) so committing as stopgap; also
tested on my SK-9E22 (Yukon-2 XL), there works without any issues both before
and after

(jdolecek)

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

VGA 16 bit decode bit is not bit 3 but bit 4.

(msaitoh)

2018-07-02 03:52:32 UTC MAIN commitmail json YAML

VGA 16 bit decode bit is not bit 3 but bit 4.

(msaitoh)

2018-07-01 23:41:37 UTC MAIN commitmail json YAML

add options __HAVE_GENERIC_CPU_INITCLOCKS

(jmcneill)

2018-07-01 23:28:40 UTC MAIN commitmail json YAML

Delete chipid and sysmmu drivers, they don't do anything but print that
they are not implemented at attach time.

(jmcneill)

2018-07-01 23:27:43 UTC MAIN commitmail json YAML

Remove chipid and sysmmu drivers

(jmcneill)

2018-07-01 23:21:43 UTC MAIN commitmail json YAML

Add missing call to arm_fdt_timer_register

(jmcneill)

2018-07-01 22:27:43 UTC MAIN commitmail json YAML

Add more message types.
XXX: Need more updates to the doc

(christos)

2018-07-01 21:23:17 UTC MAIN commitmail json YAML

2018-07-01 21:22:16 UTC MAIN commitmail json YAML

2018-07-01 21:21:56 UTC MAIN commitmail json YAML

2018-07-01 21:18:00 UTC MAIN commitmail json YAML

2018-07-01 21:16:19 UTC MAIN commitmail json YAML

Use fdtbus_attach_i2cbus

(jmcneill)

2018-07-01 21:15:02 UTC MAIN commitmail json YAML

Use fdtbus_attach_i2cbus

(jmcneill)

2018-07-01 18:18:18 UTC MAIN commitmail json YAML

2018-07-01 18:16:58 UTC MAIN commitmail json YAML

2018-07-01 18:16:40 UTC MAIN commitmail json YAML

Add fdtbus_attach_i2cbus, used to attach an i2cbus to an fdt device node.

(jmcneill)

2018-07-01 18:15:19 UTC MAIN commitmail json YAML

2018-07-01 17:41:50 UTC MAIN commitmail json YAML

2018-07-01 15:33:29 UTC MAIN commitmail json YAML

Add bcm2835-rpi-zero-w.dts and bcm2837-rpi-3-b-plus.dts as appropriate

PR/53284 -  Support RPI3B+,RPI0W,RPI2-1.2

(skrll)

2018-07-01 15:12:06 UTC MAIN commitmail json YAML

Revert "Sprinkle cold conditionals to make tc_ticktock before inittimecounter."

Not needed if we're no longer doing tc_ticktock in printf.

(riastradh)

2018-07-01 14:20:23 UTC MAIN commitmail json YAML

disable one more size check for _LP32 to make pcc build.

(christos)

2018-07-01 10:46:02 UTC MAIN commitmail json YAML

2018-07-01 10:08:38 UTC MAIN commitmail json YAML

Apply bugfix #7 from lua.org/bugs.html: Memory-allocation error when resizing
a table can leave it in an inconsistent state.

(mbalmer)

2018-07-01 09:53:54 UTC MAIN commitmail json YAML

2018-07-01 09:30:38 UTC netbsd-7-0 commitmail json YAML

Apply patch, requested by mrg in ticket #1618:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-07-01 08:32:41 UTC MAIN commitmail json YAML

Use a variable-sized memcpy, instead of copying the PCB and then adding
the extra bytes. The PCB embeds the biggest static FPU state, but our
real FPU state may be smaller (FNSAVE), so we don't need to memcpy the
extra unused bytes.

(maxv)

2018-07-01 07:59:30 UTC MAIN commitmail json YAML

Optimize FNSAVE. The size of its save area is 108 bytes, so don't set
x86_fpu_save_size = 512, because otherwise we uselessly memset extra
bytes at execve time.

While here use sizeof instead of hardcoded values.

(maxv)

2018-07-01 07:18:56 UTC MAIN commitmail json YAML

Use a switch, we can (and will) optimize each case separately. No
functional change.

(maxv)

2018-06-30 22:47:51 UTC MAIN commitmail json YAML

Sprinkle cold conditionals to make tc_ticktock before inittimecounter.

Enables Xen to boot again.

XXX Maybe we should have a tc_ticktock_cold instead or something so we
don't have to reach this far into the call graph.

(riastradh)

2018-06-30 20:53:30 UTC MAIN commitmail json YAML

Build fix bandaid.

This allows the builds including XEN to complete, but XEN kernels
built from these sources (at least, DomU) do not boot successfully.

(kre)

2018-06-30 20:34:43 UTC MAIN commitmail json YAML

2018-06-30 20:16:56 UTC MAIN commitmail json YAML

Simplify list initialization

(jmcneill)

2018-06-30 18:27:10 UTC MAIN commitmail json YAML

Rock64 needs more time for the PHY to reset. Add a delay.

(jmcneill)

2018-06-30 18:20:35 UTC MAIN commitmail json YAML

2018-06-30 18:15:55 UTC MAIN commitmail json YAML

2018-06-30 18:07:32 UTC MAIN commitmail json YAML

2018-06-30 18:07:12 UTC MAIN commitmail json YAML

Add helper to lookup syscon by phandle

(jmcneill)

2018-06-30 17:54:08 UTC MAIN commitmail json YAML

2018-06-30 17:30:37 UTC MAIN commitmail json YAML

ARM ARM refers to this as "ARM Generic Timer", so adjust printf at attach
to match.

(jmcneill)

2018-06-30 17:28:09 UTC MAIN commitmail json YAML

Store node path in device properties "fdt-path" property:

    # drvctl -p ehci0 fdt-path
    /soc/usb@5101000

While here, remove fdt_scan_bus (no longer required) and some debug printfs.

(jmcneill)

2018-06-30 17:15:01 UTC MAIN commitmail json YAML

When cold, manually update timecounters before calling getnanouptime. Now
kernel printf timestamps are updated properly before interrupts are
enabled.

(jmcneill)

2018-06-30 16:48:49 UTC MAIN commitmail json YAML

2018-06-30 16:30:35 UTC MAIN commitmail json YAML

2018-06-30 16:28:14 UTC MAIN commitmail json YAML

Only install interrupt handler if dwc_gmac_attach succeeds.

(jmcneill)

2018-06-30 16:27:49 UTC MAIN commitmail json YAML

dwc_gmac_attach: return non-zero on failure

(jmcneill)

2018-06-30 16:22:56 UTC MAIN commitmail json YAML

2018-06-30 16:05:44 UTC MAIN commitmail json YAML

2018-06-30 15:08:04 UTC MAIN commitmail json YAML

Provide an inline to return the data part of the arp packet instead of
open-coding it in multiple places.

(christos)

2018-06-30 14:59:38 UTC MAIN commitmail json YAML

Rearm the Xen timer on resume.

This just moves the timer-arming logic from xen_initclocks into
xen_resumeclocks so that it runs on resume too.

I hypothesize that this is necessary for Xen to resume.  Otherwise,
how could the one-shot timer possibly by rearmed?  On the other hand,
it is conceivable that something automatically rearms it.

This also reorders the initialization so that we establish a timer
interrupt handler first, and _then_ arm the timer.  If the order
matters, it is hard to imagine that the other way is correct:
conceivably, the interrupt could arrive before we've established the
handler, and then there's nothing to rearm it.

Whether this is _sufficient_ for Xen to resume, I don't know.
Symptoms recently reported in
<https://mail-index.netbsd.org/port-xen/2018/06/15/msg009207.html>
look different from how I would expect this to manifest, which is as
a system wedged because there's no no hardclock activity.

ok cherry

(riastradh)

2018-06-30 14:55:14 UTC MAIN commitmail json YAML

Use xcall to suspend/resume clocks on _all_ CPUs, not just current.

Compile-tested only -- kernel still runs but I haven't exercised this
code path.

By code inspection, this change or something like it is obviously
_necessary_ for Xen MP suspend/resume -- otherwise there's no logic
to suspend/resume the clocks on any CPU except the one that actually
triggers sysctl -w machdep.xen.suspend=1.

Whether this change is _sufficient_ for Xen MP suspend/resume to
work, I don't know.

ok cherry

(riastradh)

2018-06-30 14:21:20 UTC MAIN commitmail json YAML

Just use struct cpu_info members for the Xen clock state.

Silly to use percpu(9) for some things and struct cpu_info for
others.

(riastradh)

2018-06-30 13:44:51 UTC MAIN commitmail json YAML

When attaching child devices, consider the best match for all passes
instead of just the current pass. Fixes an issue where a driver with a
lower match number and early pass number will attach instead of a better
match on a later pass.

(jmcneill)

2018-06-30 12:42:42 UTC MAIN commitmail json YAML

2018-06-30 12:36:13 UTC MAIN commitmail json YAML

Use syscon API instead of mapping syscon registers ourselves.

(jmcneill)

2018-06-30 12:35:18 UTC MAIN commitmail json YAML

2018-06-30 12:23:24 UTC MAIN commitmail json YAML

No need to define our own emac node as this is in the upstream dts now.

(jmcneill)

2018-06-30 11:45:14 UTC netbsd-6-0 commitmail json YAML

2018-06-30 11:44:32 UTC netbsd-6-0 commitmail json YAML

Apply patch, requested by mrg in ticket #1550:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-06-30 11:43:53 UTC netbsd-6-1 commitmail json YAML

2018-06-30 11:43:18 UTC netbsd-6-1 commitmail json YAML

Apply patch, requested by mrg in ticket #1550:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-06-30 11:42:34 UTC netbsd-6 commitmail json YAML

2018-06-30 11:41:58 UTC netbsd-6 commitmail json YAML

Apply patch, requested by mrg in ticket #1550:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-06-30 11:37:26 UTC netbsd-7-0 commitmail json YAML

2018-06-30 11:36:29 UTC netbsd-7-1 commitmail json YAML

2018-06-30 11:35:28 UTC netbsd-7-1 commitmail json YAML

Apply patch, requested by mrg in ticket #1618:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-06-30 11:34:39 UTC netbsd-7 commitmail json YAML

2018-06-30 11:33:49 UTC netbsd-7 commitmail json YAML

Apply patch, requested by mrg in ticket #1618:

xsrc/xfree/xc/programs/mkfontscale/ident.c (patch)

Pass gzFile, not gzFile * to gzio functions.
Should fix PR toolchain/53415.

(martin)

2018-06-30 11:10:54 UTC MAIN commitmail json YAML

Fix module build.

Options SUIDSCRIPTS and FDSCRIPTS will be off for the module.
If one (or both) should be enabled, add it to CPPFLAGSin the module Makefile.

(kre)

2018-06-30 10:50:30 UTC MAIN commitmail json YAML

Add driver for DesignWare Watchdog Timer. Untested as I can't seem to find
the parent clock for this in the RK3328 documentation.

(jmcneill)

2018-06-30 09:27:41 UTC MAIN commitmail json YAML

vnconfig name is retained for backwards compatibility. Use vndconfig.

Heads up by <tsutsui>

(sevan)

2018-06-30 01:08:39 UTC MAIN commitmail json YAML

bsd-family-tree: Add missing DragonFly and FreeBSD releases

Add DragonFly 5.2.1, 5.2.2, FreeBSD 11.2

(eadler)

2018-06-30 00:37:38 UTC MAIN commitmail json YAML

2018-06-29 21:53:12 UTC MAIN commitmail json YAML

Rewrite Xen timecounter and hardclock timer.

With this change, the Xen timecounter should now be globally
monotonic, as every timecounter is supposed to be.  Should also fix a
litany of races in the timecounter logic.

Proposed last year; see mailing list for further details:
https://mail-index.netbsd.org/port-xen/2017/10/31/msg009112.html

ok cherry

(riastradh)

2018-06-29 20:18:36 UTC MAIN commitmail json YAML

2018-06-29 20:18:06 UTC MAIN commitmail json YAML

add missing args for 123

(christos)

2018-06-29 19:34:35 UTC MAIN commitmail json YAML

Add more KASSERTs.

Should help PR/53399.

(maxv)

2018-06-29 19:21:43 UTC MAIN commitmail json YAML

Call fpu_eagerswitch a little later, after we make sure newlwp is not
pinned.

Because if it is, the fpu state of the lwp we are context-switching to
is already installed on the current cpu, so no point re-installing it.
Or, it isn't, and in this case we don't want to install it.

This wrong re-installation can occur when we leave a softint.

It may fix bugs in places that call fpusave_lwp with spl != IPL_HIGH,
and that expect the fpu state to stay in memory. As far as I can tell
only cpu_lwp_free meets these conditions, and as far as I can tell
again, there it's harmless.

Should help PR/53399.

(maxv)

2018-06-29 19:13:19 UTC MAIN commitmail json YAML

Note vnconfig(8) may be of interest, especially when looking to mount an iso via
loopback.

(sevan)

2018-06-29 17:48:24 UTC MAIN commitmail json YAML

2018-06-29 12:34:15 UTC MAIN commitmail json YAML

2018-06-29 11:33:47 UTC MAIN commitmail json YAML

2018-06-29 04:02:10 UTC MAIN commitmail json YAML

- Unify the "rtwn" and "urtwn" register definitions and initialization
  tables into common header files shared by both drivers.
- Fix some register and bit definitions, from OpenBSD and verified against
  the vendor driver.
- Add some additional register / descriptor defnitions, from OpenBSD.

(thorpej)

2018-06-28 22:00:50 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2018-06-28 21:23:01 UTC phil-wifi commitmail json YAML

2018-06-28 21:21:03 UTC MAIN commitmail json YAML

fix a tpyo so now we get the correct maximum speed for CPU intake fans
while there, be a bit more responsive to temperature changes

(macallan)

2018-06-28 21:03:08 UTC phil-wifi commitmail json YAML

Start of WiFi refresh.  Copy of FreeBSD net80211 directory with git
mirror commit id of 09e3123164ec345822e00465039503686efde455, no
changes yet.  ieee80211_netbsd.[ch] from ieee80211_freebsd.[ch].

(phil)

2018-06-28 17:22:09 UTC MAIN commitmail json YAML

restrict a magic number 'fix' inherited from xf86-video-radeon to actual
rv100 chips instead of applying it to anything older than r300.
Now DVI output works properly on 1st generation Mac Minis.
tested by christos

(macallan)

2018-06-28 15:21:52 UTC MAIN commitmail json YAML

Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.

(thorpej)

2018-06-28 14:01:12 UTC MAIN commitmail json YAML

Remove (recently) commented out (recently added) liblsan SUBDIR
(it has been added a different way.)

(kre)

2018-06-28 13:31:57 UTC MAIN commitmail json YAML

2018-06-28 13:31:38 UTC MAIN commitmail json YAML

Add vendor REALTEK and product RTL8703BS

(jmcneill)

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

2018-06-28 10:15:01 UTC MAIN commitmail json YAML

2018-06-28 10:14:27 UTC MAIN commitmail json YAML

2018-06-28 10:14:01 UTC MAIN commitmail json YAML

2018-06-28 09:12:21 UTC MAIN commitmail json YAML

Add 25G(802.3by), 2.5G and 5G (802.3bz).

(msaitoh)

2018-06-28 07:56:22 UTC MAIN commitmail json YAML

Correctly specify that iasl needs to be case insensitive.

Fixes PR bin/53405. thanks to martin.

(maya)

2018-06-28 06:20:36 UTC MAIN commitmail json YAML

rumphijack: don't modify a cmsg on just validating it

Pointed out by k-goda@IIJ

(ozaki-r)

2018-06-28 06:02:24 UTC MAIN commitmail json YAML

loop: don't allocate a unnecessary link-state-change thread

(ozaki-r)

2018-06-27 23:26:13 UTC MAIN commitmail json YAML

Add LISPs (programming language & network protocol), Vim

(sevan)

2018-06-27 19:49:47 UTC MAIN commitmail json YAML

dts updated to 4.18-rc2

(jmcneill)

2018-06-27 18:43:16 UTC MAIN commitmail json YAML

Remove the expr(1) entry from TODO.sanitizer (finished)

While there, fix a typo in text.

(kamil)

2018-06-27 17:39:30 UTC MAIN commitmail json YAML

Add 3 more expr(1) ATF tests detecting overflow

Verify 0 * INT.

(kamil)

2018-06-27 17:23:36 UTC MAIN commitmail json YAML

Add a missing check to handle correctly 0 * 0 in expr(1)

(kamil)

2018-06-27 17:14:47 UTC MAIN commitmail json YAML

Add a couple of new ATF expr(1) tests

Some of the newly covered test-cases contained regressions.

All tests pass.

(kamil)

2018-06-27 17:12:50 UTC MAIN commitmail json YAML

Improve the * operator handling in expr(1)

Fixes overflow detection in expressions INT * -UINT.

Detected with libFuzzer & UBSan.

(kamil)

2018-06-27 16:44:38 UTC MAIN commitmail json YAML

2018-06-27 16:38:40 UTC MAIN commitmail json YAML

dts: add sun50i-h5-libretech-all-h3-cc.dts

(jmcneill)

2018-06-27 16:38:11 UTC MAIN commitmail json YAML

dts: add sun7i-a20-olimex-som-evb-emmc.dts, sun8i-h2-plus-libretech-all-h3-cc.dts, sun50i-h5-libretech-all-h3-cc.dts

(jmcneill)

2018-06-27 16:32:14 UTC MAIN commitmail json YAML

2018-06-27 16:13:43 UTC MAIN commitmail json YAML

Remove unused code. No functional change intended.

- We don't need to define __NetBSD__, C compilers do this for us.
- Defines which don't appear anywhere in src
- Don't need libpthread/librt

(maya)

2018-06-27 15:57:20 UTC MAIN commitmail json YAML

Reduce sizes for non _LP64 and compiler checks so that the code compiles
(but it will not work, since there is not enough address space to implement
the shadow space required).

(christos)

2018-06-27 15:56:30 UTC MAIN commitmail json YAML

2018-06-27 13:53:55 UTC MAIN commitmail json YAML

2018-06-27 13:51:21 UTC MAIN commitmail json YAML

Note slurm(4) driver, improve history.

(rkujawa)

2018-06-27 11:12:15 UTC MAIN commitmail json YAML

on evbarm/RPI,RPI2, VERBOSE_INIT_ARM had broken.

XPUTC() of evbarm/rpi/rpi*_start.S uses bcm283[567]_platform_early_putchar() and it requires stack.
fixed to allocate stack when starting from rpi*_start.S and a9_mpsubr.S if needed.

to work XPUTC(), need to define VERBOSE_INIT_ARM and EARLYCONS option.

(ryo)

2018-06-27 11:05:50 UTC MAIN commitmail json YAML

keep stack pointer even if chainging CPU mode.

(ryo)

2018-06-27 11:05:38 UTC MAIN commitmail json YAML

remove unnecessary code. .Lmmu_init_table is in same section, and also not r8.

(ryo)

2018-06-27 07:51:36 UTC MAIN commitmail json YAML

Use definitions in mii.h and mdio.h.

(msaitoh)

2018-06-27 06:08:15 UTC MAIN commitmail json YAML

2018-06-27 06:06:39 UTC MAIN commitmail json YAML

Disable liblsan for now - it seems to be 64bit only - all 32bits are
failing and the 64bit ones with compat 32bit do not work either.

(martin)

2018-06-27 03:31:44 UTC MAIN commitmail json YAML

Add missing BPF_D_OUT. Reported by John D. Baker.

(msaitoh)

2018-06-27 01:25:49 UTC MAIN commitmail json YAML

Since liblsan has been added to the sets already, we should build it.

(kre)

2018-06-27 01:14:48 UTC MAIN commitmail json YAML

Avoid misaligned access in disklabel(8) in find_label()

Introduce a new helper variable tlp and use it for memory access.

Detected with MKSANITIZER/UBSan

A patch by <christos>

(kamil)

2018-06-26 22:16:45 UTC MAIN commitmail json YAML

Add another ARC, DCL, Emacs

(sevan)

2018-06-26 21:09:48 UTC MAIN commitmail json YAML

2018-06-26 21:06:45 UTC MAIN commitmail json YAML

2018-06-26 21:01:34 UTC MAIN commitmail json YAML

2018-06-26 20:55:38 UTC MAIN commitmail json YAML

2018-06-26 20:54:32 UTC MAIN commitmail json YAML

2018-06-26 17:44:04 UTC MAIN commitmail json YAML

device_printf -> aprint_debug

(jmcneill)

2018-06-26 17:13:41 UTC MAIN commitmail json YAML

Add TODO.sanitizer

Note short term, long term and unspecified tasks with sanitizers.

The long term goals are planned to be started after emptying TODO.ptrace.

(kamil)

2018-06-26 16:06:21 UTC MAIN commitmail json YAML

Remove roadmap/kamil

-8 goals finished in the possible scope for 8.0RC2
-9 abandoned in that scope after research

(kamil)

2018-06-26 10:49:55 UTC MAIN commitmail json YAML

2018-06-26 10:15:37 UTC MAIN commitmail json YAML

Remove Rawrite32 installer - no point having an outdated version on
some install media, the windows machine it needs to run on will
have internet and can easily download it.

(martin)

2018-06-26 10:00:25 UTC MAIN commitmail json YAML

Print BPF direction correctly.

(msaitoh)

2018-06-26 09:50:42 UTC MAIN commitmail json YAML

Fix a bug that BPF_D_OUT isn't printed correctly.

(msaitoh)

2018-06-26 06:52:43 UTC MAIN commitmail json YAML

Add the BPF direction filter (BIOC[GS]DIRECTION).

(msaitoh)

2018-06-26 06:50:52 UTC MAIN commitmail json YAML

Bump version to 8.99.21 (bpf_mtap*() API change & BIOC[GS]DIRECTION).

(msaitoh)

2018-06-26 06:48:03 UTC MAIN commitmail json YAML

Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.

(msaitoh)

2018-06-26 06:34:55 UTC MAIN commitmail json YAML

Remove the i2c "size" locator and corresponding property / attach arg.
It was a hack meant only for EEPROMs, which have another way to specify
size in the config directive ("flag" paramter), as well as a better way
to detect size based on "compatible" string.

(thorpej)

2018-06-26 06:24:52 UTC MAIN commitmail json YAML

In of_enter_i2c_devs(), we no longer need to set a "size" property
for a couple of models of Atmel EEPROMs because the driver can figure
this out on its own now (based on the same "compatible" criteria that
we're using).

(thorpej)

2018-06-26 06:21:23 UTC MAIN commitmail json YAML

Encode the size information in the compat data.

(thorpej)

2018-06-26 06:17:40 UTC MAIN commitmail json YAML

bpf_mtap*() after ieee80211_encap() should be bpf_mtap3() rather than
bpf_mtap(). bpf_mtap3() is for raw bpf.

(msaitoh)

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

bpf_mtap*() before ieee80211_encap() should be bpf_mtap() rather than
bpf_mtap3(). bpf_mtap3() is for raw bpf and be used after ieee80211_encap().

(msaitoh)

2018-06-26 06:03:57 UTC MAIN commitmail json YAML

2018-06-26 04:32:35 UTC MAIN commitmail json YAML

Change device_compatible_match() and iic_compatible_match() to return
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.

(thorpej)

2018-06-26 00:06:09 UTC MAIN commitmail json YAML

Document sanitizers in acronyms.comp

Added: ASan, CFI, DFSan, ESan, HWASan, LSan, MSan, TSan, UBSan.

(kamil)

2018-06-25 19:56:54 UTC MAIN commitmail json YAML

Add HVDS, LVDS, RDRAM

(sevan)

2018-06-25 18:41:25 UTC MAIN commitmail json YAML

Avoid UB in tmux/window_copy_add_formats()

Do not perform NULL pointer arithmetics.

Reported with MKSANITIZER/UBSan.

The patch proposed by upstream https://github.com/tmux/tmux/issues/1382

(kamil)

2018-06-25 18:36:36 UTC MAIN commitmail json YAML

Include <stddef.h> for offsetof(3)

(kamil)

2018-06-25 18:05:25 UTC MAIN commitmail json YAML

Specify SANITIZER_RENAME_SYMBOL in chpass

Rename local versions of getpwent getpwnam getpwnam_r getpwuid getpwuid_r
(all of the symbols are namespaced) in order to remove symbol clash with
libc.

This program uses code directly from libc.

(kamil)

2018-06-25 18:03:56 UTC MAIN commitmail json YAML

Specify SANITIZER_RENAME_SYMBOL in cvs

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.

(kamil)

2018-06-25 18:02:49 UTC MAIN commitmail json YAML

Specify SANITIZER_RENAME_SYMBOL in grep

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.

(kamil)

2018-06-25 18:01:13 UTC MAIN commitmail json YAML

Specify SANITIZER_RENAME_SYMBOL in diffutils

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.

(kamil)

2018-06-25 18:00:34 UTC MAIN commitmail json YAML

Specify SANITIZER_RENAME_SYMBOL in nvi

Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.

(kamil)

2018-06-25 17:58:36 UTC MAIN commitmail json YAML

Add a framework for renaming symbols in libc&co for MKSANITIZER

A new keyword SANITIZER_RENAME_SYMBOL. It's a variable that has specified
a list of symbols to be renamed in a processor in order to remove naming
conflicts with public symbols in libc/m/pthread/rt.

This renaming will occur for libraries and programs.
A symbol with a conflicting 'name', will be renamed to '__mksanitizer_name'.

Based on an idea by <christos>

(kamil)

2018-06-25 17:42:34 UTC MAIN commitmail json YAML

Avoid unportable offsetof(3) calculation in nvi in log1.c

Detected with MKSANITIZER/UBSan.

(kamil)

2018-06-25 14:29:17 UTC MAIN commitmail json YAML

Don't require any arguments as the usage indicates; simplifies the code
and the documentation: now "jot" works like "jot -" used to (and continues
to). From Ingo Schwarze

(christos)

2018-06-25 13:28:12 UTC MAIN commitmail json YAML

KNF & fix typo. No functional change.

(msaitoh)

2018-06-25 13:01:26 UTC netbsd-8 commitmail json YAML

2018-06-25 12:59:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #904):

distrib/common/Makefile.bootcd: revision 1.40

Do not put debug.tgz and xdebug.tgz onto install CDs (a lot of them
grow out of bounds and for some architectures can not turn into DVDs).

(martin)

2018-06-25 12:55:01 UTC netbsd-8 commitmail json YAML

Additionally pull up following revision(s) (requested by maya in ticket #892):

tests/lib/libc/gen/posix_spawn/t_spawnattr.c: revision 1.2,1.3

Don't use SCHED_OTHER.

Fix broken test: we can't assume that the current schedule priority range
will overlap with the requested scheduler range, so get the new scheduler
range, and then try to find a different priority. If that fails (to find
a different scheduling range), give up here.

(martin)

2018-06-25 12:18:22 UTC MAIN commitmail json YAML

Do not put debug.tgz and xdebug.tgz onto install CDs (a lot of them
grow out of bounds and for some architectures can not turn into DVDs).

(martin)

2018-06-25 11:22:57 UTC pgoyette-compat commitmail json YAML

Adapt to new world order - mod_required is no a pointer to an array.

(pgoyette)

2018-06-25 10:53:47 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2018-06-25 10:11:21 UTC pgoyette-compat commitmail json YAML

Resolve conflict correctly!

(pgoyette)

2018-06-25 09:57:26 UTC MAIN commitmail json YAML

Simplify bpf_mtap() call. No functional change.

(msaitoh)

2018-06-25 09:38:46 UTC MAIN commitmail json YAML

Rephrase the documentation of MKSANITIZER

Based on the feedback from <f8l> and <pgoyette>.

(kamil)

2018-06-25 09:32:28 UTC MAIN commitmail json YAML

Move txintr_setup() stuff from lmc_interrupt() and do it in ifnet_start().
Now we can use bpf_mtap() in the TX path. Not tested.

(msaitoh)

2018-06-25 08:50:10 UTC pgoyette-compat commitmail json YAML

2018-06-25 07:26:13 UTC pgoyette-compat commitmail json YAML

2018-06-25 07:22:54 UTC pgoyette-compat commitmail json YAML

2018-06-25 05:06:10 UTC MAIN commitmail json YAML

Remove duplicated inclusion of net/bpf.h.

(msaitoh)

2018-06-25 04:59:42 UTC MAIN commitmail json YAML

Remoe duplicated inclusion of net/bpf.h.

(msaitoh)

2018-06-25 03:23:55 UTC MAIN commitmail json YAML

Bump version to 8.99.20 (removal of bpf_tap()).

(msaitoh)

2018-06-25 03:22:14 UTC MAIN commitmail json YAML

2018-06-25 01:21:21 UTC MAIN commitmail json YAML

Describe what this actually does. Bump date.

(dholland)

2018-06-24 23:55:29 UTC MAIN commitmail json YAML

Fix the rest of the functions that have been made visible by xopen5,
posix 2017, and c99.

(christos)

2018-06-24 22:07:47 UTC MAIN commitmail json YAML

PR/53393: coypu: move rint to the right section.

(christos)

2018-06-24 20:40:58 UTC MAIN commitmail json YAML

Enhance the documentation of MKSANITIZER in bsd.README

Note that the list of sanitizer features is just a selection, not a
complete list. Include there LSan and Scudo. Missing: hwmsan, esan,
ubsan_minimal etc.

Explain that USE_SANITIZER is an argument passed to -fsanitize= and it can
contain multiple options.

Mention SANITIZERFLAGS to pass even more sanitizer arguments.

Stop tracking in this file what compiler compiles what features. Just note
that the selection of supported features depends on a compiler version and
target CPU architecture.

(kamil)

2018-06-24 20:28:58 UTC MAIN commitmail json YAML

2018-06-24 20:15:00 UTC MAIN commitmail json YAML

similar treatment as xennetback_xenbus.c:
- protect instance list with mutex
- mark more local variables static
- mark with XXXSMP what looks suspicious
- in pciback.c use kmem_zalloc() et.al to allocate the device structures

(jdolecek)

2018-06-24 19:53:50 UTC MAIN commitmail json YAML

fix panic of DOM0 in xennetback_xenbus_destroy() on xl destroy of
DOMU with created, but non CONNECTED xennet (such as when DOMU
panics during boot); only try to disestablish the intr if it was
actually setup

while here protect xnetback_instances with mutex, and switch to use
kmem_zalloc() + KM_SLEEP / kmem_free() like xbdback_xenbus.c; add XXXSMP
to the other global variables, and at least mark them static

(jdolecek)

2018-06-24 19:53:35 UTC MAIN commitmail json YAML

Revert previous, fix iteration loops to be consistent:
All sets that have an id >= SET_LAST have NULL name, so use that like the
loop just below.

(christos)

2018-06-24 19:48:46 UTC MAIN commitmail json YAML

2018-06-24 19:47:20 UTC MAIN commitmail json YAML

Add GDI, NeWS, PRAM, PS, RIP, WDM, WDDM

(sevan)

2018-06-24 19:35:12 UTC MAIN commitmail json YAML

Reset SANITIZERFLAGS when specified NOSANITIZER / MKSANITIZER=no

This allows passing additional sanitizer specifig flags from the ./build.sh
level, like: -V SANITIZERFLAGS="-fsanitize-memory-track-origins" for MSan.

(kamil)

2018-06-24 19:27:26 UTC MAIN commitmail json YAML

Fix typo in previous

The -Wno-format-extra-args argument to Clang/LLVM needs trailing 's'.

Noted by <joerg>

(kamil)

2018-06-24 19:04:30 UTC MAIN commitmail json YAML

fixed a case of gtmr_cntvct_stable_read() is returning the same value as before.

(ryo)

2018-06-24 18:24:54 UTC MAIN commitmail json YAML

Sync the ld scripts:

* Force a PAGE_SIZE alignment of .bss on i386. Normally that's not
  required since the bootloader ensures page alignment, but let's be
  safe. Same on Xen-i386.

* Fill the .text section padding with int3 instructions on Xen kernels,
  to prevent FALLTHROUGHs if a pointer goes crazy, same as native.

(maxv)

2018-06-24 17:11:57 UTC MAIN commitmail json YAML

follow change in rev. 1.22 of kern.ldscript and apply same fix for xen
ldscript too, but using just regular PAGE_ALIGN alignment:

"""
Fix a pretty dumb mistake I made in r1.22: the alignment needs to be in the
bss, otherwise the bootloader will use memory before __kernel_end and give
a wrong start pa to the kernel.
"""

this got broke by amd64/locore.S rev. 1.141 which removed an unused variable
which forced the alignment

this fixes ps/bt in ddb to be able to find symbols and hence PR port-xen/53056

(jdolecek)

2018-06-24 15:36:31 UTC MAIN commitmail json YAML

Since now we are called from cleanup_exit() make sure that we have a state
to work with. Found by ASAN.

(christos)

2018-06-24 13:35:33 UTC MAIN commitmail json YAML

add support for kern.intr.list aka intrctl(8) 'list' for xen

event_set_handler() and pirq_establish() now have extra intrname
parameter; shared intr_create_intrid() is used to provide the value

xen drivers were changed to pass the specific driver instance
name as the xname, e.g.  'vcpu0 clock' instead just 'clock', or
'xencons0' instead of 'xencons'

associated evcnt is now changed to use intrname - this matches native x86

(jdolecek)

2018-06-24 12:55:37 UTC MAIN commitmail json YAML

fix the previous.  the code was right, just badly formatted before.

should fix infinite loops reported in some cases.

(mrg)

2018-06-24 12:25:33 UTC MAIN commitmail json YAML

use isa_intr_establish_xname() so this passes the device name

(jdolecek)