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 06:51:47 UTC Now

2018-10-15 05:44:09 UTC MAIN commitmail json YAML

Group/sort struct arm_cache_info members

(skrll)

2018-10-15 05:14:07 UTC MAIN commitmail json YAML

2018-10-15 05:11:08 UTC MAIN commitmail json YAML

2018-10-15 04:33:34 UTC pgoyette-compat commitmail json YAML

2018-10-15 03:13:46 UTC netbsd-8 commitmail json YAML

2018-10-15 03:12:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1062):
etc/mtree/NetBSD.dist.base: 1.178-1.179
distrib/sets/lists/base/mi: 1.1192
Add unbound /var/run directory (reported by hannken@)
add intermediate directory.
add unbound /var/run

(snj)

2018-10-15 03:09:07 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1061):
sys/dev/i2c/gttwsi_core.c: revision 1.4-1.8 via patch
sys/dev/i2c/gttwsivar.h: revision 1.4 via patch
Use IPL_VM for bus lock so we can do i2c xfers from interrupt context
Don't sleep with IPL_VM lock held.
When initiating a transfer, if a device isn't present, we won't
get an ACK after sending the address.  Check for this alternate
state and suppress the error message when it occurs.
Fixes PR kern/53356.
Bail early if gttwsi_send_start() fails in gttwsi_initiate_xfer() to
avoid unexpected state error message later (on Allwinner H5).
Expand code covered by sc->sc_mtx, to make sure an interrupt would not be
handled before the cv_timedwait_sig() call, or while polling.
Seems to fix "sunxitwi0: send STOP failed" messages frequently seen related
to axp20x0 sensors.

(snj)

2018-10-14 20:10:49 UTC MAIN commitmail json YAML

When changing entries skip those that do not match the -L option.
Should fix PR 53668.

(mlelstv)

2018-10-14 19:01:00 UTC MAIN commitmail json YAML

Remove comment that the peripherals clock should be half of the cpu clock.
NFC

(aymeric)

2018-10-14 18:58:44 UTC MAIN commitmail json YAML

Make the DE0 NanoSoC work also in big-endian mode

(aymeric)

2018-10-14 18:56:39 UTC MAIN commitmail json YAML

2018-10-14 18:55:41 UTC MAIN commitmail json YAML

Add reset information for first watchdog timer

(aymeric)

2018-10-14 18:53:01 UTC MAIN commitmail json YAML

Fix off-by-one when computing reset register address

(aymeric)

2018-10-14 18:50:07 UTC MAIN commitmail json YAML

g/c, not really relevant

(jdolecek)

2018-10-14 18:37:47 UTC MAIN commitmail json YAML

src/doc/TODO.8 deleted

netbsd-8 already branched

(jdolecek)

2018-10-14 18:28:55 UTC MAIN commitmail json YAML

2018-10-14 17:40:28 UTC MAIN commitmail json YAML

remove M_CANFAIL from list of supported flags for malloc(9)

(jdolecek)

2018-10-14 17:37:40 UTC MAIN commitmail json YAML

2018-10-14 17:25:22 UTC MAIN commitmail json YAML

Limit warning suppression to nouveau files.

Make this match what I have in my drmkms update.

Please don't touch files under sys/external/bsd/drm2 without
consulting me while I'm updating drmkms!

(riastradh)

2018-10-14 16:13:51 UTC jdolecek-ncqfixes commitmail json YAML

add comment to kthread_create() call to explain why atabus_thread is actually
running under KERNEL_LOCK()

(jdolecek)

2018-10-14 14:50:55 UTC jdolecek-ncqfixes commitmail json YAML

adjust mvsata_bio_intr() so it recognizes the 'tfd' parameter as passed
by recovery and hence works; use it also for passing state from
mvsata_edma_handle()

(jdolecek)

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

2018-10-14 14:09:53 UTC MAIN commitmail json YAML

Make debug code compile again

(martin)

2018-10-14 13:36:33 UTC MAIN commitmail json YAML

2018-10-14 12:43:58 UTC MAIN commitmail json YAML

getopt returns int, not char

(jmcneill)

2018-10-14 10:23:32 UTC MAIN commitmail json YAML

Add FLEX to the configure env, from Lloyd Parkes on tech-toolchain.
Some configure scripts seem to need both LEX and FLEX.

(martin)

2018-10-14 08:36:09 UTC MAIN commitmail json YAML

Remove dead files that have never been built, and likely can't build since
they are not correct C files.

(maxv)

2018-10-14 08:27:39 UTC MAIN commitmail json YAML

2018-10-14 05:08:40 UTC MAIN commitmail json YAML

- protect PMU transactions with a mutex
- report lid switch events to powerd

(macallan)

2018-10-14 00:11:59 UTC MAIN commitmail json YAML

Note newsmips NWS-4000 support.

(tsutsui)

2018-10-14 00:10:11 UTC MAIN commitmail json YAML

2018-10-13 21:02:34 UTC MAIN commitmail json YAML

2018-10-13 20:11:48 UTC MAIN commitmail json YAML

2018-10-13 19:53:43 UTC MAIN commitmail json YAML

2018-10-13 17:32:32 UTC netbsd-8 commitmail json YAML

2018-10-13 17:30:01 UTC netbsd-8 commitmail json YAML

src/external/bsd/nsd/Makefile.inc@1.1.8.2 / diff / nxr@1.1.8.2
src/external/bsd/nsd/dist/Makefile.in@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/axfr.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/config.h.in@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configlexer.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configlexer.lex@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configparser.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configparser.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configparser.y@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configure@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/configure.ac@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/contrib/README@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/contrib/nsd.service@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/bsd/nsd/dist/contrib/nsd.socket@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/bsd/nsd/dist/dbaccess.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/dbcreate.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/difffile.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/difffile.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/dns.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/bsd/nsd/dist/dns.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
      :
(more 66 files)
Sync with current, requested by hannken in ticket #1060:

external/bsd/nsd/dist/contrib/nsd.service      up to 1.1.1.1
external/bsd/nsd/dist/contrib/nsd.socket        up to 1.1.1.1
external/bsd/nsd/dist/xfr-inspect.c            up to 1.1.1.2
external/bsd/nsd/dist/systemd.m4                up to 1.1.1.1
external/bsd/nsd/Makefile.inc                  up to 1.5
external/bsd/nsd/dist/Makefile.in              up to 1.1.1.3
external/bsd/nsd/dist/axfr.c                    up to 1.1.1.2
external/bsd/nsd/dist/config.h.in              up to 1.1.1.3
external/bsd/nsd/dist/configlexer.c            up to 1.3
external/bsd/nsd/dist/configlexer.lex          up to 1.1.1.3
external/bsd/nsd/dist/configparser.c            up to 1.3
external/bsd/nsd/dist/configparser.h            up to 1.3
external/bsd/nsd/dist/configparser.y            up to 1.1.1.3
external/bsd/nsd/dist/configure                up to 1.1.1.3
external/bsd/nsd/dist/configure.ac              up to 1.1.1.3
external/bsd/nsd/dist/dbaccess.c                up to 1.1.1.2
external/bsd/nsd/dist/dbcreate.c                up to 1.1.1.3
external/bsd/nsd/dist/difffile.c                up to 1.1.1.3
external/bsd/nsd/dist/difffile.h                up to 1.1.1.2
external/bsd/nsd/dist/dns.c                    up to 1.1.1.3
external/bsd/nsd/dist/dns.h                    up to 1.1.1.3
external/bsd/nsd/dist/ipc.c                    up to 1.1.1.3
external/bsd/nsd/dist/lookup3.c                up to 1.1.1.2
external/bsd/nsd/dist/mini_event.c              up to 1.1.1.2
external/bsd/nsd/dist/mini_event.h              up to 1.1.1.2
external/bsd/nsd/dist/namedb.c                  up to 1.1.1.3
external/bsd/nsd/dist/namedb.h                  up to 1.1.1.2
external/bsd/nsd/dist/netio.c                  up to 1.1.1.2
external/bsd/nsd/dist/nsd-checkconf.8.in        up to 1.1.1.3
external/bsd/nsd/dist/nsd-checkconf.c          up to 1.1.1.3
external/bsd/nsd/dist/nsd-checkzone.8.in        up to 1.1.1.3
external/bsd/nsd/dist/nsd-checkzone.c          up to 1.1.1.2
external/bsd/nsd/dist/nsd-control.8.in          up to 1.1.1.3
external/bsd/nsd/dist/nsd-control.c            up to 1.1.1.3
external/bsd/nsd/dist/nsd-mem.c                up to 1.1.1.3
external/bsd/nsd/dist/nsd.8.in                  up to 1.1.1.3
external/bsd/nsd/dist/nsd.c                    up to 1.1.1.3
external/bsd/nsd/dist/nsd.conf.5.in            up to 1.1.1.3
external/bsd/nsd/dist/nsd.conf.sample.in        up to 1.1.1.3
external/bsd/nsd/dist/nsd.h                    up to 1.1.1.3
external/bsd/nsd/dist/nsec3.c                  up to 1.1.1.3
external/bsd/nsd/dist/nsec3.h                  up to 1.1.1.2
external/bsd/nsd/dist/options.c                up to 1.1.1.3
external/bsd/nsd/dist/options.h                up to 1.1.1.3
external/bsd/nsd/dist/packet.c                  up to 1.1.1.2
external/bsd/nsd/dist/packet.h                  up to 1.1.1.2
external/bsd/nsd/dist/query.c                  up to 1.1.1.3
external/bsd/nsd/dist/query.h                  up to 1.1.1.2
external/bsd/nsd/dist/radtree.c                up to 1.1.1.2
external/bsd/nsd/dist/radtree.h                up to 1.1.1.2
external/bsd/nsd/dist/rbtree.c                  up to 1.1.1.2
external/bsd/nsd/dist/rbtree.h                  up to 1.1.1.2
external/bsd/nsd/dist/rdata.c                  up to 1.1.1.2
external/bsd/nsd/dist/region-allocator.c        up to 1.1.1.2
external/bsd/nsd/dist/remote.c                  up to 1.1.1.3
external/bsd/nsd/dist/remote.h                  up to 1.1.1.2
external/bsd/nsd/dist/rrl.c                    up to 1.1.1.3
external/bsd/nsd/dist/rrl.h                    up to 1.1.1.2
external/bsd/nsd/dist/server.c                  up to 1.1.1.3
external/bsd/nsd/dist/tsig.c                    up to 1.1.1.3
external/bsd/nsd/dist/udb.c                    up to 1.1.1.3
external/bsd/nsd/dist/udbradtree.c              up to 1.1.1.2
external/bsd/nsd/dist/udbradtree.h              up to 1.1.1.2
external/bsd/nsd/dist/udbzone.h                up to 1.1.1.2
external/bsd/nsd/dist/util.c                    up to 1.1.1.2
external/bsd/nsd/dist/util.h                    up to 1.3
external/bsd/nsd/dist/xfrd-disk.c              up to 1.1.1.3
external/bsd/nsd/dist/xfrd-notify.c            up to 1.1.1.2
external/bsd/nsd/dist/xfrd-notify.h            up to 1.1.1.2
external/bsd/nsd/dist/xfrd-tcp.c                up to 1.1.1.2
external/bsd/nsd/dist/xfrd-tcp.h                up to 1.1.1.2
external/bsd/nsd/dist/xfrd.c                    up to 1.1.1.3
external/bsd/nsd/dist/xfrd.h                    up to 1.1.1.2
external/bsd/nsd/dist/zlexer.c                  up to 1.3
external/bsd/nsd/dist/zlexer.lex                up to 1.1.1.2
external/bsd/nsd/dist/zonec.c                  up to 1.1.1.3
external/bsd/nsd/dist/zonec.h                  up to 1.1.1.2
external/bsd/nsd/dist/zparser.c                up to 1.3
external/bsd/nsd/dist/zparser.h                up to 1.3
external/bsd/nsd/dist/zparser.y                up to 1.1.1.3
external/bsd/nsd/dist/contrib/README            up to 1.1.1.2
external/bsd/nsd/dist/doc/ChangeLog            up to 1.1.1.3
external/bsd/nsd/dist/doc/README                up to 1.1.1.3
external/bsd/nsd/dist/doc/RELNOTES              up to 1.1.1.3
external/bsd/nsd/etc/rc.d/nsd                  up to 1.2
external/bsd/nsd/include/config.h              up to 1.3

Update from NSD 4.1.14 to 4.1.24

(martin)

2018-10-13 17:21:51 UTC netbsd-8 commitmail json YAML

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

sys/dev/vnd.c: revision 1.265
sys/dev/vndvar.h: revision 1.37

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

(martin)

2018-10-13 17:19:05 UTC netbsd-8 commitmail json YAML

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

sys/dev/vnd.c: revision 1.268

Calculate a missing cylinder count in the geometry spec from image size.

(martin)

2018-10-13 17:16:12 UTC netbsd-8 commitmail json YAML

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

sys/arch/xen/x86/autoconf.c: revision 1.20
sys/arch/xen/include/xen.h: revision 1.40

Support bootspec.

(martin)

2018-10-13 17:14:13 UTC netbsd-8 commitmail json YAML

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

sys/kern/kern_subr.c: revision 1.220

Set rootdev for wedges.

(martin)

2018-10-13 17:09:41 UTC netbsd-8 commitmail json YAML

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

sys/dev/dm/device-mapper.c: revision 1.40

Add ioctls to query geometry.

(martin)

2018-10-13 15:38:28 UTC MAIN commitmail json YAML

Fix SF#24: incorrect authentication algorithms, copy-pasto.

(maxv)

2018-10-13 15:17:45 UTC MAIN commitmail json YAML

Fix ticket SF#91: pass the correct size for tbuf.

(maxv)

2018-10-13 15:08:51 UTC MAIN commitmail json YAML

Reduce the diff against the latest release. Also remove netbsd-import.sh,
since we are upstream now.

(maxv)

2018-10-13 14:24:35 UTC MAIN commitmail json YAML

take kernel lock for ioctl calls when backend isn't tagged MPSAFE.

(mlelstv)

2018-10-13 13:32:50 UTC MAIN commitmail json YAML

acpimcfg_scan_bus: Assign the pci_softc's sc_pc to the passed in PCI
chipset tag -- pci_enumerate_bus depends on this being initialized. This
happened to work on x86 because the pci_* md code allows for NULL pc.

(jmcneill)

2018-10-13 09:31:46 UTC jdolecek-ncqfixes commitmail json YAML

make compile again with MVSATA_WITHOUTDMA

(jdolecek)

2018-10-13 08:32:36 UTC MAIN commitmail json YAML

- define PMAP_{MAP,UNMAP}_POOLPAGE for performance
- define __HAVE_MM_MD_KERNACC and add mm_md_kernacc()

(ryo)

2018-10-13 07:23:34 UTC jdolecek-ncqfixes commitmail json YAML

add C_TIMEOUT KASSERT() on fail path of mvsata_bio_poll() for clarity

(jdolecek)

2018-10-13 05:53:50 UTC MAIN commitmail json YAML

Mark one entry as done, and another one as pointless.

(maxv)

2018-10-13 00:15:11 UTC MAIN commitmail json YAML

Support poweroff via PSCI

(jmcneill)

2018-10-13 00:08:29 UTC MAIN commitmail json YAML

Don't rely on PSCI node in FDT to reboot

(jmcneill)

2018-10-13 00:07:55 UTC MAIN commitmail json YAML

Add function that returns true if PSCI has been initialized

(jmcneill)

2018-10-12 23:57:00 UTC MAIN commitmail json YAML

Don't write FBRD/IBRD if ref clk frequency is unknown

(jmcneill)

2018-10-12 23:26:41 UTC MAIN commitmail json YAML

2018-10-12 23:26:18 UTC MAIN commitmail json YAML

2018-10-12 23:25:29 UTC MAIN commitmail json YAML

Add helper function to match a PCI-defined class/subclass/interface
against a _CLS object.

(jmcneill)

2018-10-12 22:30:54 UTC pgoyette-compat commitmail json YAML

2018-10-12 22:22:21 UTC MAIN commitmail json YAML

2018-10-12 22:21:23 UTC MAIN commitmail json YAML

Pull in ACPI platform support

(jmcneill)

2018-10-12 22:20:48 UTC MAIN commitmail json YAML

2018-10-12 22:20:04 UTC MAIN commitmail json YAML

2018-10-12 22:18:38 UTC MAIN commitmail json YAML

If rate or frequency are unspecified, assume "use firmware configuration" for clocks

(jmcneill)

2018-10-12 22:15:48 UTC MAIN commitmail json YAML

Add wrapper for acpi_machdep.h

(jmcneill)

2018-10-12 22:15:04 UTC MAIN commitmail json YAML

Add helper functions used for parsing ACPI tables before the ACPICA
subsystem can be brought online. ARM64 needs this primarily for
initializing the SBSA UART via SPCR table, reading ARM boot flags from the
FADT, counting CPUs, etc.

(jmcneill)

2018-10-12 22:12:12 UTC MAIN commitmail json YAML

2018-10-12 22:09:04 UTC MAIN commitmail json YAML

2018-10-12 22:08:04 UTC MAIN commitmail json YAML

Add ACPI support (enable with -DEFIBOOT_ACPI, currently disabled).

When UEFI reports that ACPI tables are available, generate a DTB with
compatible string "netbsd,generic-acpi" and pass this to the booted
kernel.

The DTB contains a /chosen property "netbsd,acpi-root-table" that contains
the physical address of the ACPI RSDP, along with a special /acpi node
with compatible string "netbsd,acpi" for the kernel to attach an acpi(4)
device driver.

(jmcneill)

2018-10-12 21:46:32 UTC MAIN commitmail json YAML

2018-10-12 21:44:32 UTC MAIN commitmail json YAML

2018-10-12 21:44:20 UTC MAIN commitmail json YAML

Add optional ap_startup callback to struct arm_platform. This allows for
late (post-UVM init) initialization of platform specific stuff.

(jmcneill)

2018-10-12 21:41:34 UTC MAIN commitmail json YAML

Add ACPI Processor Unique ID (ci_acpiid) to struct cpu_info, required by
ACPI subsystem.

(jmcneill)

2018-10-12 21:38:10 UTC MAIN commitmail json YAML

Add attributes for attaching acpi(4) child devices based on SDT, GTDT, and MADT subtables.

(jmcneill)

2018-10-12 21:36:24 UTC MAIN commitmail json YAML

Implement ACPI_FLUSH_CPU_CACHE on aarch64.

(jmcneill)

2018-10-12 21:35:54 UTC MAIN commitmail json YAML

Ignore ACPI0007 (CPU device) nodes on aarch64.

(jmcneill)

2018-10-12 21:20:54 UTC MAIN commitmail json YAML

Add helper functions for walking GTDT subtables.

(jmcneill)

2018-10-12 21:19:11 UTC MAIN commitmail json YAML

Pull in sys/cpu.h for struct cpu_info and CPU_INFO_ITERATOR.

(jmcneill)

2018-10-12 18:02:59 UTC MAIN commitmail json YAML

remove accidental commit debris.

(christos)

2018-10-12 10:28:29 UTC pgoyette-compat commitmail json YAML

Use private-namespace variable ``__hooked'' instead of ``hooked''

(pgoyette)

2018-10-12 09:43:59 UTC MAIN commitmail json YAML

Fix obvious typo: add missing equal sign.

(hannken)

2018-10-12 05:49:38 UTC MAIN commitmail json YAML

- Print TCP options. Some of them are not decoded yet (e.g. SACK).
- Print IP checksum and TCP checksum.
- When a packet length is shorter than a required size of the protocol, print
  both sizes.
- Make m_examine_xxx() functions global.
- Use bool instead of boolean_t.
- s/TRUE/true/, s/FALSE/false/
- KNF

(msaitoh)

2018-10-12 05:41:18 UTC MAIN commitmail json YAML

Force ip_off to zero when the reassembly is complete. This was lost in my
rev1.19 - before that the IP struct was clobbered for the reassembly, but
it actually implicitly guaranteed that the first fragment of the packet
would end up with ip_off = 0, and this was a desired behavior.

(maxv)

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

PR kern/53666
Correct misleading names of dummy variables. No binary changes intended.

(rin)

2018-10-12 04:43:50 UTC MAIN commitmail json YAML

The 'c' modifier of mbuf command is to NOT follow the mbuf chain.
Usually, users want to floow the mbuf chain. This modifier is used when a
user don't want to follow a mbuf chain.

(msaitoh)

2018-10-12 04:12:07 UTC pgoyette-compat commitmail json YAML

Remove the last item in the need-for-merge section.

(pgoyette)

2018-10-12 04:09:09 UTC MAIN commitmail json YAML

note that aarch64 supports compat_netbsd32

(ryo)

2018-10-12 04:08:59 UTC MAIN commitmail json YAML

Mention that compat32 supports running arm binaries on aarch64.

(ryo)

2018-10-12 01:28:58 UTC MAIN commitmail json YAML

2018-10-12 01:16:20 UTC MAIN commitmail json YAML

nouveau_nv50_display.c and nouveau_nvif_client.c have variable structures
not at the end of a structure.

(christos)

2018-10-12 01:13:51 UTC MAIN commitmail json YAML

- cleanup checking address ranges with IN_RANGE macro
- change PM_ADDR_CHECK macro to KASSERTMSG
- restore fast lookup cases with IN_RANGE macro for pmap_extract changed in my previous commit.

(ryo)

2018-10-12 00:57:17 UTC MAIN commitmail json YAML

rewrite pmap_pte_lookup() to share similar code.

(ryo)

2018-10-11 22:58:37 UTC MAIN commitmail json YAML

Fix button type print; "type" is one of PSWITCH_TYPE_*, not ACPI_EVENT_*_BUTTON.

(jmcneill)

2018-10-11 20:57:51 UTC jdolecek-ncqfixes commitmail json YAML

2018-10-11 18:04:06 UTC MAIN commitmail json YAML

add intermediate directory.

(christos)

2018-10-11 15:41:07 UTC MAIN commitmail json YAML

2018-10-11 15:39:55 UTC MAIN commitmail json YAML

Add unbound /var/run directory (reported by hannken@)

(christos)

2018-10-11 15:23:22 UTC MAIN commitmail json YAML

PR/53666: Rin Okuyama: tcpdump for i386 does not work with COMPAT_NETBSD32
on amd64. Add BIOCSRTIMEOUT32.

(christos)

2018-10-11 11:17:07 UTC MAIN commitmail json YAML

Fix m_examine_ip6() to print IPv6 payload length (ip6_plen) correctly.

(msaitoh)

2018-10-10 21:09:58 UTC MAIN commitmail json YAML

2018-10-10 19:13:51 UTC MAIN commitmail json YAML

2018-10-10 14:57:31 UTC MAIN commitmail json YAML

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

Fix m_examine_tcp() to print TCP header length (th_off) correctly.

(msaitoh)

2018-10-10 09:40:11 UTC MAIN commitmail json YAML

curses: test terminal capabilities for drawing in the bottom right corner

If auto margins are present, we need to turn them off or enter
an insert mode to "push" the character we want into the corner.
If pushing a wide character of greater than one cell, we need something
more than ich1, othewise the bottom right corner will remain blank.

Follow on fix for PR# 30978.

OK jdc@

(roy)

2018-10-10 06:16:55 UTC MAIN commitmail json YAML

On 32bit platforms set OPENSSL_NO_EC_NISTP_64_GCC_128 again, the non
standard __uint128_t is required for the code, but only provided by gcc
on 64bit archs.

(martin)

2018-10-10 04:16:58 UTC MAIN commitmail json YAML

In  xen_atomic_test_and_clear_bit()

Use the appropriate sized variable for inline assembler.

(cherry)

2018-10-10 03:54:54 UTC MAIN commitmail json YAML

Do not re-expose the innards of evtchn.c, now that we have a way
to register interrupts via intr.c:intr_establish_xname()

evtchn.c is going to get refactored soon, so use the latter method.

(cherry)

2018-10-10 02:34:08 UTC MAIN commitmail json YAML

Do not export the 'irq<->vector' abstraction outside of pintr.c
anymore. We now think of them as a unified thing called 'gsi',
which is generated by mpacpi/mpbios

(cherry)

2018-10-10 02:16:34 UTC MAIN commitmail json YAML

Since GSIs are invented by the mpbios/mpacpi interrupt routing probe code,
it's possible for shared GSIs to popup even outside the original
legacy_irq range.

Relax this latter, older assumption.

Thanks to Brad Spencer for extensive trialing on interesting hardware.

(cherry)

2018-10-10 01:29:25 UTC MAIN commitmail json YAML

enable OPENSSL_NO_EC_NISTP_64_GCC_128, requested by wiz

(christos)

2018-10-09 15:54:57 UTC netbsd-7 commitmail json YAML

2018-10-09 15:50:03 UTC netbsd-7 commitmail json YAML

2018-10-09 15:43:38 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1636):
sys/arch/x86/include/cacheinfo.h: 1.23-1.26
sys/arch/x86/include/cpu.h: 1.70
sys/arch/x86/include/specialreg.h: 1.91-1.93,1.98,1.100,1.102-1.124,1.126,1.130 via patch
sys/arch/x86/x86/cpu_topology.c: 1.10
sys/arch/x86/x86/identcpu.c: 1.56-1.57,1.70 via patch
usr.sbin/cpuctl/arch/i386.c: 1.71,1.75-1.79,1.81-1.85 via patch
Add some register definitions for x86:
  - Add CLWB bit.
  - Fix a few (unused) MSR values, and add some bit definitions of
    MSR_EFER from Murray Armfield in PR#42861.
  - CPUID_CFLUSH bit is not for CFLUSH insn but CLFLUSH insn, so modify
    comments and snprintb() string.
  - Define CPUID Fn00000001 %ebx bits and use them.
    No functional change.
  - Add Structured Extended Flags Enumeration Leaf's bit definitions:
    AVX512_{IFMA,VBMI2,VNNI,BITALG,VPOPCNTDQ,4VNNIW,4FMAPS},GFNI&VAES.
  - Add Turbo Boost Max Technology 3.0 bit.
  - Add AMD SVM features definitions.
  - Add Intel cpuid 7 %edx IBRS and STIBP bit definitions.
  - Fix swapped comments for EFER LME and LMA
  - Add Intel cpuid 7 %edx bit 29 IA32_ARCH_CAPABILITIES supported bit.
  - Add MSR_IA32_ARCH_CAPABILITIES definition.
  - Add IA32_SPEC_CTRL MSR and IA32_PRED_CMD MSR.
  - Add Intel Deterministic Address Translation Parameter Leaf(0x18)
    definitions.
  - s/CLFUSH/CLFLUSH/
  - Add AMD's Disable Indirect Branch Predictor bit definition.
  - Add the MSR bits definitions for IBRS, STIBP and IBPB.
  - Add Intel Fn0000_0006 %eax new bit 14-20 (HWP stuff).
  - Intel Fn0000_0007 %ecx bit 22 is for both RDPID and IA32_TSC_AUX.
  - Add AMD's CPUID Fn80000001 %edx MMX and FXSR bit definitions.
  - Add RDCL_NO and IBRS_ALL.
  - Add SSBD and RSBA bit definitions.
  - Add AMD's SSB bit definitions for F15H, F16H and F17H.
  - Add cpuid 7 edx L1D_FLUSH bit.
  - Add IA32_ARCH_SKIP_L1DFL_VMENTRY bit.
  - Add IA32_FLUSH_CMD MSR.
  - Add yet another Shared L2 TLB (2M/4M pages).
  - Add 3way and 6way of L2 cache or TLB on AMD CPU.
  - AMD L3 cache association bitfield is not 8bit but 4bit like others
    association bitfields.
  - Sort entries. No functional change.
  - Modify comment, fix typo in comment and add comment.
cpuctl(8):
  - Add detection for Quark X1000, Xeon E5 v4, E7 v4,
    Core i7-69xx Extreme Edition, Xeon Scalable (Skylake),
    Xeon Phi [357]200 (Knights Landing), Atom (Goldmont),
    Atom (Denverton), Future Core (Cannon Lake), Atom (Goldmont Plus),
    Xeon Phi 7215, 7285 and 7295 (Knights Mill) and
    7th or 8th gen Core (Kaby Lake, Coffee Lake).
  - Print Structured Extended Feature leaf Fn0000_0007 %ebx on AMD,too.
  - Print Fn0000_0007 %ecx on Intel.
  - Print Intel cpuid 7 %edx.
  - Parse the TLB info from `cpuid leaf 18H' on Intel processor.
  - Use aprint_error_dev() for error output.

(snj)

2018-10-09 11:36:35 UTC MAIN commitmail json YAML

Drop Pad functions from sha2(3)

This man-page first appeared before porting all the features to NetBSD and
actually Pad ones were never ported. Keeping it in the documentation is
misleading and actually caused bugs in handling of these functions in 3rd
party software.

(kamil)

2018-10-09 10:11:08 UTC netbsd-8 commitmail json YAML

2018-10-09 10:09:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by manu in ticket #1053):

sys/dev/hdaudio/hdafg.c: revision 1.16

Fix hdaudio device configuration

When disabling unassociated devices, we have a special handling
for pins of type COP_AWCAP_TYPE_PIN_COMPLEX, but it came after code
that may disable any pins, including the ones that should be handled
as COP_AWCAP_TYPE_PIN_COMPLEX.

The result was that hdaudio could fail to detect some devices.  We
fix the situation by making sure that COP_AWCAP_TYPE_PIN_COMPLEX
pins always get their specific handling.

The change makes the built-in speaker work on Dell OptiPlex 5060

(martin)

2018-10-09 10:01:38 UTC netbsd-8 commitmail json YAML

Back out the following revision(s) (requested by roy in ticket #1049):

lib/libcurses/refresh.c: revision 1.89
lib/libcurses/newwin.c: revision 1.53

  curses: allow drawing the lowest right hand cell of the terminal

  This is a historical behaviour that needs fixing
  If any terminal does scroll when drawing in the lowest right hand cell
  of the terminal then an entry should be made in the terminfo database
  (currently there is no standard code) to state that and define
  __SCROLLWIN as before.

  Fixes PR# 30978.

As discussed in the PR, this change introduces a regression.

(martin)

2018-10-09 09:58:09 UTC netbsd-8 commitmail json YAML

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

sys/kern/vfs_trans.c: revision 1.51
distrib/sets/lists/comp/mi: revision 1.2233
share/man/man9/fstrans.9: revision 1.27
share/man/man9/Makefile: revision 1.431
sys/sys/fstrans.h: revision 1.12
sys/rump/librump/rumpkern/emul.c: revision 1.187
sys/dev/vnd.c: revision 1.266
sys/miscfs/genfs/genfs_vfsops.c: revision 1.8

Bring back three state file system suspension:

NORMAL -> SUSPENDING -> SUSPENDED

and add operation fstrans_start_lazy() that only blocks while SUSPENDED.

Change vndthread() support operation handle_with_rdwr() to bracket
its file system operations by fstrans_start_lazy() and fstrans_done().

PR kern/53624 (dom0 freeze on domU exit)

(martin)

2018-10-09 09:53:20 UTC netbsd-8 commitmail json YAML

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

sbin/fsck_ffs/setup.c: revision 1.102

Add a test for duplicate inodes on the persistent snapshot list.

(martin)

2018-10-09 09:51:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1050):

bin/sh/jobs.c: revision 1.101

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

(martin)

2018-10-09 09:49:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #1049):

lib/libcurses/refresh.c: revision 1.89
lib/libcurses/newwin.c: revision 1.53

curses: allow drawing the lowest right hand cell of the terminal

This is a historical behaviour that needs fixing
If any terminal does scroll when drawing in the lowest right hand cell
of the terminal then an entry should be made in the terminfo database
(currently there is no standard code) to state that and define
__SCROLLWIN as before.

Fixes PR# 30978.

(martin)

2018-10-09 09:46:10 UTC netbsd-8 commitmail json YAML

Remove entry for backed out ticket #1045

(martin)

2018-10-09 09:44:31 UTC netbsd-8 commitmail json YAML

Back out the following from ticket #1045 by maxv:

sys/netinet/ip_reass.c 1.19

Faster IPv4 packet reassembly - causes fallout, needs further investigation
(see PR kern/53664)

(martin)

2018-10-09 02:53:11 UTC MAIN commitmail json YAML

Fix stupid edit botch in previous, pointed out by leot@ (thanks).

(kre)

2018-10-09 02:43:42 UTC MAIN commitmail json YAML

When (about to) send the -x output for the end of a compound command
(which has redirects, and so is included in -x output) use the -x/+x
setting that existed when the comoound started, so if the state of
xtrace changes during the command we don't end up with just half of
the -x output (either the intro, or the conclusion, depending on
which way the change happened).  [this also happens to avoid a core
dump in the previous code, but that could have been done other ways,
this way actually simplifies things (less code)]

(kre)

2018-10-09 01:28:35 UTC MAIN commitmail json YAML

2018-10-08 20:44:34 UTC MAIN commitmail json YAML

terminfo: if $TERMINFO.cdb doesn't exist, try $TERMINFO

This allows this command sequence to work:
tic -o /tmp/foo foo
TERMINFO=/tmp/foo TERM=foo infocmp

(roy)

2018-10-08 19:09:18 UTC netbsd-8 commitmail json YAML

2018-10-08 19:06:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #1048):

lib/libcurses/curses_private.h: revision 1.66
lib/libcurses/slk.c: revision 1.3
lib/libcurses/slk.c: revision 1.4

curses: declare SLK format as invalid until slk_init(3) called

If we don't, then when __slk_init with a valid format of 0 it sets
up labels to be drawn without a window.

-

curses: once __slk_init is called, reset slk_fmt

This allows soft label keys to be used on more than one terminal.

(martin)

2018-10-08 18:01:23 UTC MAIN commitmail json YAML

elide a warning that triggers on arm/clang

(christos)

2018-10-08 17:58:52 UTC MAIN commitmail json YAML

2018-10-08 17:09:31 UTC MAIN commitmail json YAML

Bring back support for enhanced descriptor format in newer core versions.
Fix a few endian bugs and check the main core version before trying to
read the hardware feature mask. Only read the hardware feature register
if core version reported is >= 3.5 (all my older hardware reports 0).
With some hints and patches from jared, and ok from aymeric

(martin)

2018-10-08 16:31:35 UTC MAIN commitmail json YAML

Skip man pages that conflict (but have different case with libc: {hmac,md5}.3
and libdes: des_random_key.3)

(christos)

2018-10-08 14:09:38 UTC MAIN commitmail json YAML

PR port-evbarm/53661 (which has nothing particular to do with port-evbarm)

When eval'ing RESTARTCMD don't field split it, only to join the words
again (by eval) - that converts newlines and tabs to spaces, and the
first of those causes sh syntax errors with the way that the various
RESTARTCMDs are now written (but it was always dangerous, as filename
expansions could also have happened, which is not wanted, I believe.)

Also correct a translation error.

(kre)

2018-10-08 11:28:22 UTC MAIN commitmail json YAML

2018-10-08 10:22:17 UTC MAIN commitmail json YAML

2018-10-08 08:17:00 UTC MAIN commitmail json YAML

2018-10-08 08:05:08 UTC MAIN commitmail json YAML

Clean up XEN specific stuff from the apic code, and move to intr.c

No functional change.

(cherry)

2018-10-08 05:42:45 UTC MAIN commitmail json YAML

Convert the last remaining users of event_set_handler() to
intr_establish_xname(,&xen_pic,...)

(cherry)

2018-10-07 23:17:52 UTC MAIN commitmail json YAML

When listing aliases, sort them alphabetically.

(rillig)

2018-10-07 20:30:50 UTC MAIN commitmail json YAML

2018-10-07 18:14:32 UTC MAIN commitmail json YAML

Handle the SATA to USB external enclosure sold by "Sabrent" and
made by JMicro (vendor=0x152d product=0x0578). This bridge does
not understand FUA, so add a quirk for it.

(christos)

2018-10-07 18:07:00 UTC MAIN commitmail json YAML

2018-10-07 18:03:59 UTC MAIN commitmail json YAML

Don't use a magic number for COHERENCY_UNIT use COHERENCY_UNIT

(skrll)

2018-10-07 16:36:36 UTC MAIN commitmail json YAML

In the case of a shared GSI, bind will fail, so we do not attempt this.
The sharing is accomplished by demultiplexing the port event of the first
bind. This is accomplished in intr.c:intr_establish_xname()

Note that the pic_delroute() is buggy (commented suitably) for the shared
gsi case, since it will unbind reset it unconditionally, leaving the other
shared callbacks stranded.

This problem will go awaywhen we unify further with native code, as this
case is taken care of appropriately in that case.

(cherry)

2018-10-07 15:44:48 UTC jdolecek-ncqfixes commitmail json YAML

move atastart() call after xfer deactivation during ATA command completion,
so that it's executed after the slot is freed

(jdolecek)

2018-10-07 15:42:47 UTC jdolecek-ncqfixes commitmail json YAML

call atastart() when ATA command completes without timeout or error, similar
to AHCI

(jdolecek)

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

Disable __int128 checks if we are not building on a 64 bit host (
this is suboptimal, but it is the easiest way).

(christos)

2018-10-07 12:00:07 UTC MAIN commitmail json YAML

Use IO_DIRECT for file I/O to reduce buffer cache contention.

Restore old behaviour to flush pages only when usage exceeds 1MB.

No longer use PGO_SYNCIO, regular writes to the device do not require
the data to reach stable storage, the DIOCCACHESYNC ioctl is used
for that.

(mlelstv)

2018-10-07 11:54:14 UTC MAIN commitmail json YAML

Calculate a missing cylinder count in the geometry spec from image size.

(mlelstv)

2018-10-07 11:51:26 UTC MAIN commitmail json YAML

Add flag to enforce file I/O even when bmap/strategy would be possible.
This makes it easier to compare both modes, it also allows coherent
operation between vnd device and image file.

(mlelstv)

2018-10-07 11:25:55 UTC MAIN commitmail json YAML

2018-10-07 11:24:16 UTC MAIN commitmail json YAML

Set rootdev for wedges.

(mlelstv)

2018-10-07 10:33:44 UTC MAIN commitmail json YAML

2018-10-07 08:00:49 UTC MAIN commitmail json YAML

Make it clear that you need to disable SVS if you enable USER_LDT. I could
make SVS compatible with it, but there has to be someone doing Wine work
first, to justify the effort.

(maxv)

2018-10-07 07:51:54 UTC MAIN commitmail json YAML

Remove a space that snuck in

(skrll)

2018-10-07 07:48:44 UTC MAIN commitmail json YAML

2018-10-07 05:28:51 UTC MAIN commitmail json YAML

While we're here, fix pic->pic_delroute() to DTRT on XEN and
cleanup after itself.

(cherry)

2018-10-07 05:23:01 UTC MAIN commitmail json YAML

Switch over to a "GSI" concept for guest irqs.

On XEN there is a namespace called GSI which includes:

i) legacy_irq (0 - 16)
ii) "gsi" (16-nr_irqs_gsi)
iii) msi

We try to mirror this in guest space, but are mindful that legacy_irq
is 1:1 bound to actual hardware legacy_irq. Apart from this, XEN doesn't
really care what number scheme we use, as long as it doesn't encroach
on the MSI space, which is TBD for us.

Thus we trust the mpbios.c/mpacpi.c code to correctly map the pic,pin
tuples into the correct global gsi space, which we then register with
xen. As we now do, we allow for duplicate gsi registrations, in case
any hardware shares the same (pic,pin);

This enables us to now use the (pic,pin) tuple as the canonical reference
for device interrupt addresses, and leave any global mappings to specific
code. Thus xen_pic_to_gsi().

Note that this requires separate support for MSI, which I will get around to
once things stabilise - however the API change facilitates this nicely.

I note that the msi addroute() function does not use the "pin" parameter.
This can be made use of, to encode the gsi number, for XEN. This is however
TBD.

We further tweak the xen_vec_alloc() code to be uniform for the NIOAPICS
and other cases, and ensure that i8259.c DTRT wrt to route().

This will allow us to use pic->pic_addroute() without needing to worry about
pic specific issues.

The next step is to consolidate the pic_addroute() XEN related #ifdefs into
a -DXEN specific file, so that we don't clutter x86/ code with #ifdef XENs.

This change has functional implications, and there is likely breakage coming
especially on bespoke platforms that I haven't been able to test yet.

I am especially interested in bug reports from platforms with legacy (esp. i386)
and with multiple ioapics.

(cherry)

2018-10-06 23:48:00 UTC MAIN commitmail json YAML

2018-10-06 21:19:55 UTC jdolecek-ncqfixes commitmail json YAML

actually, just make dump use the same queue skip as recovery, and remove the
no longer necessary ata_queue_reset() call from wd(4)

also for PR kern/47041

(jdolecek)

2018-10-06 20:27:36 UTC jdolecek-ncqfixes commitmail json YAML

remove AT_RST_EMERG, do the queue reset explicitly in wd(4)

this should explicitly fix PR kern/47041 with sync during heavy
disk activity, even thought it was actually already implicitly fixed by calling
ata_thread_run() for drive reset in previous commit already, since the
function already called ata_queue_reset()

drop now unused ch_reset_flags and drive_reset_flags

(jdolecek)

2018-10-06 20:27:28 UTC jdolecek-ncqfixes commitmail json YAML

move the entry for error recovery on thread up, it will be done on ncqfixes
branch

(jdolecek)

2018-10-06 20:13:12 UTC jdolecek-ncqfixes commitmail json YAML

2018-10-06 20:12:37 UTC jdolecek-ncqfixes commitmail json YAML

fix ata_thread_run() for drive reset to set and check correct drive_flags

(jdolecek)

2018-10-06 19:25:43 UTC jdolecek-ncqfixes commitmail json YAML

fix dump to also hold channel lock for the drive reset

(jdolecek)

2018-10-06 18:52:59 UTC MAIN commitmail json YAML

Remove duplicate conditional assignment in previous - pointed out by wiz@

(martin)

2018-10-06 18:47:29 UTC MAIN commitmail json YAML

Switch amd64, sparc64 and alpha to .tar.xz sets

(martin)

2018-10-06 18:45:37 UTC MAIN commitmail json YAML

2018-10-06 17:46:46 UTC MAIN commitmail json YAML

2018-10-06 16:49:54 UTC MAIN commitmail json YAML

Change the name of xen_pirq_alloc() to xen_vec_alloc() to reflect
its actual job.

The idea is that we will strip this down until it is as close to
idt_vec_alloc() as possible.

(cherry)

2018-10-06 16:44:55 UTC MAIN commitmail json YAML

Move the pic->pic_addroute() call from within pintr.c:xen_pirq_alloc() to
intr.c:intr_establish_xname()

xen_pirq_alloc() now returns a vector value, as is intended by
the semantics of the call to the hypervisor, PHYSDEVOP_ASSIGN_VECTOR.

This also brings our usage closer to native.

(cherry)

2018-10-06 16:37:11 UTC MAIN commitmail json YAML

Teach intr_establish_xname() for XEN to tolerate shared legacy_irq
registrations.

The current XEN code has not been able to tolerate shared legacy_irq
requests in xen_pirq_alloc(). This was never a problem because:

i) The only potential callpath with shared legacy_irq was
  isa_intr_establish_xname().
ii) The other callpath, namely pci_intr_establish_xname() passed
    legacy_irq to intr_establish_xname(). However, this was ignored,
    and a value of zero was passed to xen_pirq_alloc() which in
    turn, allocated a new irq value, thus effectively demultiplexing
    any shared legacy_irq value intended across randomly allocated
    new irq values.
iii) Presumably on all platforms that XEN runs on, the isa callpath
    mentioned in i) never had shared irqs, and thus this was never
    a problem.

Except:
We now use a unified path for both isa_intr_establish_xname() and
pci_intr_establish_xname(). This means that now, intr_establish_xname()
which is a callee of both, needs to have a way to discern who the caller
was, and decide to pass on or discard the legacy_irq value, to preserve
the old semantics. However, this is impossible to do so, because the
callpath doesn't explicitly provide a mechanism for this discernment.

This is however not a problem, because from XEN's point of view, a
repeat registration of an irq is only a warning. legacy_irq is the only
case in which this repeat should occur, per the current implementation of
xen_pirq_alloc(). We thus tweak the KASSERT()s to tolerate a repeat value
in the legacy_irq, while maintaining the original intent of the KASSERT()
which was to ensure that existing unrelated irq registrations should never
be overwritten.

Once we re-organise XEN specific code and unify with the native
intr_establish_xname() path, we will not run into this problem, because
legacy_irq will be treated as the pin number of the i8259 pic
exactly as it is now treated in native.

In short, this commit should fix some of the panics being seen on
-current for certain configurations of hardware on which dom0 runs.

(cherry)

2018-10-06 16:36:45 UTC MAIN commitmail json YAML

2018-10-06 16:28:21 UTC MAIN commitmail json YAML

Provide an FDTBASE option which allows kernels to access FDT parsing
functions without requiring full blown FDTisation.

This will be used by ODROID-C1 in move to generic start code.

(skrll)

2018-10-06 16:04:21 UTC MAIN commitmail json YAML

2018-10-06 15:54:55 UTC MAIN commitmail json YAML

Add the ARM ARM cache operation name in some comments

(skrll)

2018-10-06 15:33:35 UTC MAIN commitmail json YAML

conditionally disable unused functions (clang)

(christos)

2018-10-06 15:31:09 UTC MAIN commitmail json YAML

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

2018-10-06 14:59:11 UTC MAIN commitmail json YAML

Add ioctls to query geometry.

(mlelstv)

2018-10-06 13:53:58 UTC MAIN commitmail json YAML

2018-10-06 13:11:22 UTC MAIN commitmail json YAML

Use special ROOT. prefix in fstab entries instead of assuming ld0

(jmcneill)

2018-10-06 13:09:53 UTC MAIN commitmail json YAML

If fs_spec starts with the special string "ROOT.", replace it with a device
path derived from the value of the kern.root_device sysctl.

(jmcneill)

2018-10-06 13:03:55 UTC MAIN commitmail json YAML

Add a forward declaration to make including this header require less
other headers.

(maya)

2018-10-06 10:00:32 UTC MAIN commitmail json YAML

Create ld[4-7] device nodes, matching evbarm

(jmcneill)

2018-10-06 09:58:55 UTC MAIN commitmail json YAML

resize_disklabel: if disk and partition is not specified, use kern.root_device/kern.root_partition sysctls

(jmcneill)

2018-10-06 00:17:06 UTC MAIN commitmail json YAML

2018-10-05 22:16:51 UTC MAIN commitmail json YAML

document kern.expose_address

(christos)

2018-10-05 22:12:38 UTC MAIN commitmail json YAML

Provide a sysctl kern.expose_address to expose kernel addresses in
sysctl structure returns for non-root. Defaults to off. Turning it
on will restore sockstat/fstat and friends for regular users.

(christos)

2018-10-05 20:12:37 UTC MAIN commitmail json YAML

From Thomas Reim:

Current racoon code cannot detect duplicate last fragments as it uses
the fragment flag instead of the fragment number.

The code does not consider that the IKE payload fragments might not be
received in the correct order. In this case, packet complete detection
will again fail and VPN clients abandoned from VPN service.
Nevertheless, clients still can add fragments to the fragment queue and
fill it up to the possible 255 fragments. Only duplicates are detected,
but not the fragments with a number greater than the last fragment
number.

The last fragment number is kept in the Phase 1 handler
after fragment queue deletion, which may lead to error notifications
after succesful reassembly of the IKE phase 1 message.

In general, the 2017's CVE fix added laconic and difficult to understand
failure notifications, which do not much help for analysis, why a VPN
client was blocked by racoon server.

This patch fixes the code and aligns it to Microsoft/Cisco IKE
fragmentation specification. It provides error logging which is in line
with above specification and adds some debug info to the logs to better
support analysis VPN client blackballing.

XXX: pullup-8

(christos)

2018-10-05 19:53:47 UTC MAIN commitmail json YAML

sun4v: update TODO with proper path to sh + list tested platforms so far

(palle)

2018-10-05 18:51:52 UTC MAIN commitmail json YAML

export x86_fpu_mxcsr_mask, fpu_area_save and fpu_area_restore

(maxv)

2018-10-05 16:21:22 UTC MAIN commitmail json YAML

Minor markup fixes.  Add a missing word.

(uwe)

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

Simplify macro usage. No visible change.

(wiz)

2018-10-05 11:59:05 UTC MAIN commitmail json YAML

curses: allow drawing the lowest right hand cell of the terminal

This is a historical behaviour that needs fixing
If any terminal does scroll when drawing in the lowest right hand cell
of the terminal then an entry should be made in the terminfo database
(currently there is no standard code) to state that and define
__SCROLLWIN as before.

Fixes PR# 30978.

(roy)

2018-10-05 09:51:56 UTC MAIN commitmail json YAML

Bring back three state file system suspension:

  NORMAL -> SUSPENDING -> SUSPENDED

and add operation fstrans_start_lazy() that only blocks while SUSPENDED.

Change vndthread() support operation handle_with_rdwr() to bracket
its file system operations by fstrans_start_lazy() and fstrans_done().

PR kern/53624 (dom0 freeze on domU exit)

(hannken)

2018-10-05 09:49:23 UTC MAIN commitmail json YAML

Add a test for duplicate inodes on the persistent snapshot list.

(hannken)

2018-10-05 08:23:58 UTC MAIN commitmail json YAML

Fix KASSERT to prevent panic on CNP(Intel 300 series + I219) with INTx
interrupt (Xen dom0 or pre netbsd-8).

XXX pullup-[78]

(msaitoh)

2018-10-05 05:37:49 UTC MAIN commitmail json YAML

Use pci_intr_establish_xname().

(msaitoh)

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

Remove extra newline in SPMI table.

(msaitoh)