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

2024-05-10 06:09:16 UTC Now

2019-11-10 18:47:13 UTC MAIN commitmail json YAML

2019-11-10 18:45:09 UTC MAIN commitmail json YAML

Document __FPTRCAST
XXX: more macros need documentation (__CAST etc.)

(christos)

2019-11-10 14:20:50 UTC MAIN commitmail json YAML

Convert the coredump_vec modular function pointer to use the new
compat_hook mechanism.

XXX Should be pulled up to -9 despite the kernel <--> module ABI
XXX change.

(pgoyette)

2019-11-10 13:37:22 UTC netbsd-8 commitmail json YAML

2019-11-10 13:36:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1431):

sys/dev/pci/ixgbe/ix_txrx.c: revision 1.56

Fix missing kpreempt_disable() before softint_schedule() like if_vmx.c:r1.51.

(martin)

2019-11-10 13:34:52 UTC MAIN commitmail json YAML

Add missing initialization of sc_dev.

(msaitoh)

2019-11-10 13:34:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1430):

sys/dev/pci/if_jme.c: revision 1.46

A * is missing here. This could cause a use-after-free.
Found by the lgtm bot.

(martin)

2019-11-10 13:28:07 UTC MAIN commitmail json YAML

Convert the sendsig_sigcontext_16 function pointer to use the new
compat_hook mechanism.

XXX Despite being a kernel<-->module abi change, this should be
XXX pulled up to -9

(pgoyette)

2019-11-10 13:26:20 UTC netbsd-9 commitmail json YAML

2019-11-10 13:24:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #412):

sys/kern/sys_sig.c: revision 1.49

If we need to handle old-version signals, load the version-specific
"compat_16" module.  There is no longer a monolithic "compat" module!
XXX pullup-9 needed

(martin)

2019-11-10 13:22:37 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by aymeric in ticket #411):

sys/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts: revision 1.3

Disable private timer whose new driver clashes with the global timer's one.

Stopgap measure to make the DE0 Nano Soc work again, targeted for netbsd-9
pullup. We'll see later if we switch to using the private timer.

(martin)

2019-11-10 13:18:42 UTC netbsd-9 commitmail json YAML

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

external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c: revision 1.14

dtrace_trap() gets called from alltraps() -> trap() with interrupts enabled
so we cannot assert for interrupts disabled here.
Should fix PR kern/54603: kernel panic when running dtruss

(martin)

2019-11-10 13:14:41 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.12

Fix PMU interrupt numbers on Allwinner A64.

(martin)

2019-11-10 13:12:57 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #408):

sys/external/bsd/drm2/dist/drm/drm_fb_helper.c: revision 1.13

Avoid null pointer dereference found by kUBSan with "member access within
null pointer of type 'struct drm_fb_helper_crtc'".

(martin)

2019-11-10 13:06:47 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #407):

sys/arch/x86/include/specialreg.h: revision 1.156

- GMET is not bit 11 but 17.
- Add unknown CPUID Fn8000_000a %edx bit 20.

(martin)

2019-11-10 13:05:15 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nisimura in ticket #406):

sys/dev/pci/if_kse.c: revision 1.40
sys/dev/pci/if_kse.c: revision 1.41
sys/dev/pci/if_kse.c: revision 1.39

comment touchup

-

clarify 8842 MAC behaves 100FDX only has no alternative media selection
possible.

-

major rework to fix link control breakage

(martin)

2019-11-10 12:58:31 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #405):

usr.sbin/nvmmctl/nvmmctl.8: revision 1.2
lib/libnvmm/libnvmm.3: revision 1.24
sys/dev/nvmm/nvmm.h: revision 1.11
lib/libnvmm/libnvmm.3: revision 1.25
sys/dev/nvmm/x86/nvmm_x86.h: revision 1.16
sys/dev/nvmm/nvmm.h: revision 1.12
sys/dev/nvmm/x86/nvmm_x86.h: revision 1.17
tests/lib/libnvmm/h_mem_assist.c: revision 1.12
sys/dev/nvmm/x86/nvmm_x86.h: revision 1.18
share/mk/bsd.hostprog.mk: revision 1.82
lib/libnvmm/libnvmm.c: revision 1.15
distrib/sets/lists/base/md.amd64: revision 1.281
tests/lib/libnvmm/h_mem_assist.c: revision 1.13
lib/libnvmm/libnvmm.c: revision 1.16
tests/lib/libnvmm/h_mem_assist.c: revision 1.14
lib/libnvmm/libnvmm_x86.c: revision 1.32
lib/libnvmm/libnvmm.c: revision 1.17
tests/lib/libnvmm/h_mem_assist.c: revision 1.15
lib/libnvmm/libnvmm_x86.c: revision 1.33
lib/libnvmm/libnvmm.c: revision 1.18
usr.sbin/nvmmctl/Makefile: revision 1.1
tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.7
tests/lib/libnvmm/h_mem_assist.c: revision 1.16
lib/libnvmm/libnvmm_x86.c: revision 1.34
usr.sbin/nvmmctl/Makefile: revision 1.2
tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.8
tests/lib/libnvmm/h_mem_assist.c: revision 1.17
sys/dev/nvmm/nvmm_internal.h: revision 1.13
lib/libnvmm/libnvmm_x86.c: revision 1.35
lib/libnvmm/libnvmm_x86.c: revision 1.36
usr.sbin/postinstall/postinstall.in: revision 1.8
lib/libnvmm/libnvmm_x86.c: revision 1.37
lib/libnvmm/libnvmm_x86.c: revision 1.38
lib/libnvmm/libnvmm_x86.c: revision 1.39
usr.sbin/Makefile: revision 1.282
lib/libnvmm/nvmm.h: revision 1.13
lib/libnvmm/nvmm.h: revision 1.14
lib/libnvmm/nvmm.h: revision 1.15
sys/dev/nvmm/nvmm.c: revision 1.23
lib/libnvmm/nvmm.h: revision 1.16
sys/dev/nvmm/nvmm.c: revision 1.24
lib/libnvmm/nvmm.h: revision 1.17
sys/dev/nvmm/nvmm.c: revision 1.25
tests/lib/libnvmm/h_io_assist.c: revision 1.9
etc/MAKEDEV.tmpl: revision 1.209
tests/lib/libnvmm/h_io_assist.c: revision 1.10
tests/lib/libnvmm/h_io_assist.c: revision 1.11
etc/group: revision 1.35
distrib/sets/lists/man/mi: revision 1.1660
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.40
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.41
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.42
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.43
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.44
sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.51
sys/dev/nvmm/nvmm_ioctl.h: revision 1.8
sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.52
sys/dev/nvmm/nvmm_ioctl.h: revision 1.9
sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.53
usr.sbin/nvmmctl/nvmmctl.c: revision 1.1
lib/libnvmm/libnvmm.3: revision 1.20
distrib/sets/lists/debug/md.amd64: revision 1.106
lib/libnvmm/libnvmm.3: revision 1.21
lib/libnvmm/libnvmm.3: revision 1.22
usr.sbin/nvmmctl/nvmmctl.8: revision 1.1
lib/libnvmm/libnvmm.3: revision 1.23

Fix incorrect parsing: the R/M field uses a special GPR map when the
address size is 16 bits, regardless of the actual operating mode. With
this special map there can be two registers referenced at once, and
also disp16-only.
Implement this special behavior, and add associated tests. While here
simplify a few things.
With this in place, the Windows 95 installer initializes correctly.
Part of PR/54611.
add missing initializer
Implement XCHG, add associated tests, and add comments to explain. With
this in place the Windows 95 installer completes successfuly.
Part of PR/54611.
Improve nvmm_vcpu_dump().
Put back 'default', because llvm apparently doesn't realize that all cases
are covered in the switch.
Miscellaneous changes in NVMM, to address several inconsistencies and
issues in the libnvmm API.
- Rename NVMM_CAPABILITY_VERSION to NVMM_KERN_VERSION, and check it in
  libnvmm. Introduce NVMM_USER_VERSION, for future use.
- In libnvmm, open "/dev/nvmm" as read-only and with O_CLOEXEC. This is to
  avoid sharing the VMs with the children if the process forks. In the
  NVMM driver, force O_CLOEXEC on open().
- Rename the following things for consistency:
      nvmm_exit*              -> nvmm_vcpu_exit*
      nvmm_event*            -> nvmm_vcpu_event*
      NVMM_EXIT_*            -> NVMM_VCPU_EXIT_*
      NVMM_EVENT_INTERRUPT_HW -> NVMM_VCPU_EVENT_INTR
      NVMM_EVENT_EXCEPTION    -> NVMM_VCPU_EVENT_EXCP
  Delete NVMM_EVENT_INTERRUPT_SW, unused already.
- Slightly reorganize the MI/MD definitions, for internal clarity.
- Split NVMM_VCPU_EXIT_MSR in two: NVMM_VCPU_EXIT_{RD,WR}MSR. Also provide
  separate u.rdmsr and u.wrmsr fields. This is more consistent with the
  other exit reasons.
- Change the types of several variables:
      event.type                  enum -> u_int
      event.vector                uint64_t -> uint8_t
      exit.u.*msr.msr:            uint64_t -> uint32_t
      exit.u.io.type:            enum -> bool
      exit.u.io.seg:              int -> int8_t
      cap.arch.mxcsr_mask:        uint64_t -> uint32_t
      cap.arch.conf_cpuid_maxops: uint64_t -> uint32_t
- Delete NVMM_VCPU_EXIT_MWAIT_COND, it is AMD-only and confusing, and we
  already intercept 'monitor' so it is never armed.
- Introduce vmx_exit_insn() for NVMM-Intel, similar to svm_exit_insn().
  The 'npc' field wasn't getting filled properly during certain VMEXITs.
- Introduce nvmm_vcpu_configure(). Similar to nvmm_machine_configure(),
  but as its name indicates, the configuration is per-VCPU and not per-VM.
  Migrate and rename NVMM_MACH_CONF_X86_CPUID to NVMM_VCPU_CONF_CPUID.
  This becomes per-VCPU, which makes more sense than per-VM.
- Extend the NVMM_VCPU_CONF_CPUID conf to allow triggering VMEXITs on
  specific leaves. Until now we could only mask the leaves. An uint32_t
  is added in the structure:
        uint32_t mask:1;
        uint32_t exit:1;
        uint32_t rsvd:30;
  The two first bits select the desired behavior on the leaf. Specifying
  zero on both resets the leaf to the default behavior. The new
  NVMM_VCPU_EXIT_CPUID exit reason is added.
Three changes in libnvmm:
- Add 'mach' and 'vcpu' backpointers in the nvmm_io and nvmm_mem
  structures.
- Rename 'nvmm_callbacks' to 'nvmm_assist_callbacks'.
- Rename and migrate NVMM_MACH_CONF_CALLBACKS to NVMM_VCPU_CONF_CALLBACKS,
  it now becomes per-VCPU.
Update the libnvmm man page:
- Sync the naming with reality.
- Replace "relevant" by "desired" and "virtualizer" by "emulator", closer
  to what I meant.
- Add a "VCPU Configuration" section.
- Add a "Machine Ownership" section.
Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.
Use the new PTE naming, and define CR3_FRAME_* separately. No functional
change.
Add a new VCPU conf option, that allows userland to request VMEXITs after a
TPR change. This is supported on all Intel CPUs, and not-too-old AMD CPUs.
The reason for wanting this option is that certain OSes (like Win10 64bit)
manage interrupt priority in hardware via CR8 directly, and for these OSes,
the emulator may want to sync its internal TPR state on each change.
Add two new fields in cap.arch, to report the conf capabilities. Report TPR
only on Intel for now, not AMD, because I don't have a recent AMD CPU on
which to test.
Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and
fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR" warnings in
qemu-nvmm.
Add PCID support in the guests. This speeds up most 64bit guests, because
since Meltdown, everybody uses PCID (including NetBSD).
Change the way root_owner works: consider the calling process as root_owner
not if it has root privileges, but if the /dev/nvmm device was opened with
write permissions. Introduce the undocumented nvmm_root_init() function to
achieve that.
The goal is to simplify the logic and have more granularity, eg if we want
a monitoring agent to access VMs but don't want to give this agent real
root access on the system.
A few changes:
- Use smaller types in struct nvmm_capability.
- Use smaller type for nvmm_io.port.
- Switch exitstate to a compacted structure.
Add nram in struct nvmm_ctl_mach_info.
Add nvmmctl, with two commands for now.
Macro tidyness.
Sort SEE ALSO.
should be fork(2), noticed by wiz
Add debug entry for newly introduced nvmmctl utility.
Annotate a covering switch as such to avoid warnings about missing
returns.
Forgot to put nvmmctl in the "nvmm" group.
Add nvmm group.

(martin)

2019-11-10 12:07:51 UTC MAIN commitmail json YAML

Fix typo in phy config table

(jmcneill)

2019-11-10 11:43:04 UTC MAIN commitmail json YAML

Force DCLK_VOP0/1 dividers to 1 and select closest match when setting PLL
rates.

(jmcneill)

2019-11-10 10:36:01 UTC MAIN commitmail json YAML

Select the correct MPLL and PHY settings for the requested pixel clock

(jmcneill)

2019-11-10 10:31:39 UTC MAIN commitmail json YAML

update a bunch of reality.

(mrg)

2019-11-10 09:55:30 UTC MAIN commitmail json YAML

add mpt(4) SCSI controller support (seen plugged into a rockpro64.)

(mrg)

2019-11-10 06:47:30 UTC MAIN commitmail json YAML

Add functions to open devices by device number or path.

(mlelstv)

2019-11-10 00:54:57 UTC MAIN commitmail json YAML

2019-11-09 23:45:08 UTC MAIN commitmail json YAML

2019-11-09 23:44:32 UTC MAIN commitmail json YAML

add dummy implementation of linux fallocate() which just returns EOPNOTSUPP;
this is needed so that glibc falls back to emulation and apps behaving
properly, since EOPNOTSUPP is a documented and expected return code, but
ENOSYS is not

right now there are no filesystems in NetBSD tree supporting the fallocate
VOP, so no point trying to map this to a native call

supposed to help with problem reported in
https://mail-index.netbsd.org/tech-kern/2019/11/03/msg025641.html

(jdolecek)

2019-11-09 23:34:13 UTC MAIN commitmail json YAML

If we need to handle old-version signals, load the version-specific
"compat_16" module.  There is no longer a monolithic "compat" module!

XXX pullup-9 needed

(pgoyette)

2019-11-09 23:30:55 UTC MAIN commitmail json YAML

Add (commented out) Rockchip display support

(jmcneill)

2019-11-09 23:30:14 UTC MAIN commitmail json YAML

2019-11-09 23:29:48 UTC MAIN commitmail json YAML

2019-11-09 23:28:26 UTC MAIN commitmail json YAML

Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts

(jmcneill)

2019-11-09 23:27:51 UTC MAIN commitmail json YAML

2019-11-09 22:05:50 UTC MAIN commitmail json YAML

do not try to rm sysautoload when it's not actually used for given compat;
script tried to rm /dev/null which failed

(jdolecek)

2019-11-09 22:02:45 UTC MAIN commitmail json YAML

don't descend to sparc and sparc64, they don't have syscalls.master
so it just errors out

(jdolecek)

2019-11-09 19:54:09 UTC MAIN commitmail json YAML

2019-11-09 17:21:48 UTC MAIN commitmail json YAML

rk_gmac: clean up code for setting up clock delay lines a bit

- break long lines
- move toggle to enable it under a single #ifdef notyet

I've tested it and it works, but I'm keeping the #ifdef notyet for now
because it didn't solve the original problem I was debugging.

(tnn)

2019-11-09 16:46:09 UTC MAIN commitmail json YAML

Fix a typo is christos long comment.  :)

(pgoyette)

2019-11-09 16:40:38 UTC MAIN commitmail json YAML

Add a rather long comment explaining what has happened with disklabel and
why.

(christos)

2019-11-09 12:54:34 UTC MAIN commitmail json YAML

2019-11-09 12:46:44 UTC MAIN commitmail json YAML

add support for playing IEEE float32 and float64 RIFF WAVE
samples on platforms that have these types natively, and
can handle signed linear 32 bit samples.  explicitly
disabled on vax, run-or-compile-time sizeof() check
disabled for everyone else

now i can play a float32 .wav file i found.
float64 not tested.

copyright maint, update HISTORY, update audio drivers list.

(mrg)

2019-11-08 12:36:11 UTC MAIN commitmail json YAML

Exclude the PTE space from KCSAN, since there the same VA can point to
different PAs.

(maxv)

2019-11-08 11:12:09 UTC MAIN commitmail json YAML

Fix PMU interrupt numbers on Allwinner A64.

(jmcneill)

2019-11-08 11:06:21 UTC MAIN commitmail json YAML

dtrace_trap() gets called from alltraps() -> trap() with interrupts enabled
so we cannot assert for interrupts disabled here.

Should fix PR kern/54603: kernel panic when running dtruss

(hannken)

2019-11-08 04:45:55 UTC MAIN commitmail json YAML

2019-11-08 04:37:45 UTC MAIN commitmail json YAML

- Update Intel's NVMe SSDs.
  - Modify 0x0953's description to "750 or DC P3[567]00 SSD"
  - Add DC P4[56]00
- Add Apollo Lake TXE HECI.

(msaitoh)

2019-11-08 04:15:02 UTC MAIN commitmail json YAML

Fix a bug that evcnt_detach() called twice when the idt vector is full.
OK'd by knakahara.

(msaitoh)

2019-11-08 00:35:16 UTC MAIN commitmail json YAML

Support reads of more than 32 bytes in a single xfer.

(jmcneill)

2019-11-07 22:25:22 UTC MAIN commitmail json YAML

Mirror the ld.elf_so logic for handling aligning the TLS size.
Most noticable, recompute the start of the TLS area for variant I
relative to the TCB. This makes a difference when the segment size and
base alignment don't agree.

(joerg)

2019-11-07 22:00:37 UTC MAIN commitmail json YAML

2019-11-07 20:34:29 UTC MAIN commitmail json YAML

Revert subr_disk_mbr.c r.1.54

Requested by <christos> as there can be a better way to fix the original
problem with alignment.

(kamil)

2019-11-07 20:30:49 UTC MAIN commitmail json YAML

Decorate check_label_magic() with __noubsan

Requested by <christos>

(kamil)

2019-11-07 19:45:18 UTC MAIN commitmail json YAML

Preserve the LWP ID of the calling thread on (v)fork. This ensures that
_lwp_self() remains invariant as necessary for the locking in the
dynamic linker. Otherwise if a process creates a thread and forks from
it, the main thread of the parent would share the LWP ID of the main
thread of the child, even though they have different origins.

Partial fix for pkg/54192.

(joerg)

2019-11-07 18:35:41 UTC MAIN commitmail json YAML

Revert src/sys/kern/subr_disk_mbr.c r.1.52

Addressed in a better way in r. 1.53.

(kamil)

2019-11-07 18:30:27 UTC MAIN commitmail json YAML

Ensure in validate_label() that struct disklabel pointer is 8-byte aligned

The label is searched each 4 bytes and can be detected in an unaligned
location. Before any operations on it, copy it to promptly aligned local
copy on the stack.

This is a missing part of the following change:

revision 1.108
date: 2011-01-18 20:52:24 +0100;  author: matt;  state: Exp;  lines: +2 -1;
Make struct disklabel 8 byte aligned.  This increases its size by 4 bytes
on IPL32 platforms so add code in sys_ioctl (and netbsd32_ioctl) to deal
with the older/smaller diskabel size.  This change makes disklabel the
same for both IPL32 and LP64 platforms

OK by <martin>

(kamil)

2019-11-07 15:21:56 UTC MAIN commitmail json YAML

For netbsd32_statvfs, f_spare should be netbsd32_uint64, not uint64_t.

Fix syscalls using struct statvfs on COMPAT_NETBSD32 on amd64, where
NETBSD32_INT64_ALIGN is __attribute__((__aligned__(4))).

(rin)

2019-11-07 09:05:29 UTC MAIN commitmail json YAML

clarify 8842 MAC behaves 100FDX only has no alternative media selection
possible.

(nisimura)

2019-11-07 07:45:14 UTC MAIN commitmail json YAML

Fix a UVMHIST_LOG format broken in 1.91

(skrll)

2019-11-07 02:34:44 UTC MAIN commitmail json YAML

micphy(4): Add support for Microchip KSZ80[0456]1, KSZ87[23]1, KSZ9[01]31 and KSZ9477.

(msaitoh)

2019-11-06 23:44:39 UTC MAIN commitmail json YAML

bsd-family-tree

(sevan)

2019-11-06 23:43:35 UTC MAIN commitmail json YAML

sync with FreeBSD r354417

(sevan)

2019-11-06 23:17:37 UTC MAIN commitmail json YAML

Add missing El. Use more markup.

(wiz)

2019-11-06 21:33:07 UTC MAIN commitmail json YAML

2019-11-06 21:04:23 UTC MAIN commitmail json YAML

Correct documentation of -m and -M.
From Ed Maste @ FreeBSD

(christos)

2019-11-06 21:01:18 UTC MAIN commitmail json YAML

Ordinarily, the continue clause of the for-loop would free 'line.'  In this
case we instead return early, missing the free.  Add an explicit free to
avoid the leak. Found via coverity.

From Conrad Meyer @ FreeBSD r331230

(christos)

2019-11-06 20:50:01 UTC MAIN commitmail json YAML

The original blacklist library supported two operations - a
notification of a failed auth attempt, and a notification of a
successful auth attempt.

Implements a third option - notification of abusive behavior, and
accepts, but does not act on a forth type - "bad username". It is
envisioned that a system administrator will configure a small list
of "known bad usernames" that should be blocked immediately.

From Kurt Lidl @ FreeBSD

(christos)

2019-11-06 20:33:30 UTC MAIN commitmail json YAML

2019-11-06 20:29:46 UTC MAIN commitmail json YAML

Add signal documentation from Kurt Lidl @ FreeBSD
s/don't/do not/

(christos)

2019-11-06 20:29:42 UTC MAIN commitmail json YAML

blacklistd.conf.5: pluralization fix

(as currently comitted in FreeBSD)

(para)

2019-11-06 19:14:29 UTC MAIN commitmail json YAML

2019-11-06 16:02:53 UTC MAIN commitmail json YAML

Add support for KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and KSZ9477.
It also supports LAN7430's internal PHY. First wrote by nisimura@ and added
some device support by me. Not tested well.

(msaitoh)

2019-11-06 16:00:33 UTC MAIN commitmail json YAML

2019-11-06 16:00:02 UTC MAIN commitmail json YAML

Add Micrel (now Microchip) KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and
KSZ9477.

(msaitoh)

2019-11-06 14:33:52 UTC MAIN commitmail json YAML

major rework to fix link control breakage

(nisimura)

2019-11-06 13:46:04 UTC MAIN commitmail json YAML

Belatedly update several entries that move from year to year.

(pgoyette)

2019-11-06 13:37:28 UTC MAIN commitmail json YAML

Fix a wrong calculation of recording ring buffer.  Reported on
http://mail-index.netbsd.org/current-users/2019/11/04/msg036976.html

(isaki)

2019-11-06 13:07:32 UTC MAIN commitmail json YAML

Avoid unaligned pointer arithmetic in check_label_magic()

Replace the logic of calculating the address with with base + offset.

Reported by GCC8.

Reported-by: syzbot+56769dece0ec3e35731e@syzkaller.appspotmail.com

(kamil)

2019-11-06 11:55:18 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2019-11-06 10:42:00 UTC MAIN commitmail json YAML

update the comment above LIB_SPEC to remove 2 wrong things we fixed.

(mrg)

2019-11-06 10:27:05 UTC netbsd-8 commitmail json YAML

2019-11-06 10:25:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1429):

sys/dev/usb/ubt.c: revision 1.61
sys/dev/sdmmc/sbt.c: revision 1.6

m_free -> m_freem, m_copyback could have added mbufs in the chain

(martin)

2019-11-06 10:23:07 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1428:

sys/dev/pci/if_wm.c 1.647, 1.649 via patch

- Use device_printf() instead of printf().
- Fix typo in comment.

(martin)

2019-11-06 10:19:31 UTC netbsd-9 commitmail json YAML

2019-11-06 10:07:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #404):

sys/dev/pci/if_wm.c: revision 1.646
sys/dev/pci/if_wm.c: revision 1.647
sys/dev/pci/if_wm.c: revision 1.649

Use unsigned to avoid undefined behavior in wm_i82543_mii_sendbits().
Found by kUBSan.

printf -> device_printf

Fix typo in comment.

(martin)

2019-11-06 10:04:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1427):

sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39
sys/dev/pcmcia/if_xi.c: revision 1.91
sys/dev/ic/aic6915.c: revision 1.40
sys/dev/pci/if_tl.c: revision 1.117
sys/arch/arm/gemini/gemini_gmac.c: revision 1.18
sys/dev/ic/elinkxl.c: revision 1.133
sys/dev/pci/if_ste.c: revision 1.57
sys/dev/pci/if_alc.c: revision 1.43
sys/dev/pci/if_stge.c: revision 1.72
sys/dev/pci/if_ale.c: revision 1.34
sys/dev/pci/if_age.c: revision 1.62
sys/dev/pci/if_txp.c: revision 1.60
sys/dev/ic/i82557.c: revision 1.156
sys/dev/pci/if_vte.c: revision 1.27
sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47
sys/arch/arm/gemini/if_gpn.c: revision 1.13

if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

(martin)

2019-11-06 09:59:39 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #403):

sys/arch/arm/broadcom/bcm53xx_eth.c: revision 1.39
sys/dev/pcmcia/if_xi.c: revision 1.91
sys/dev/ic/aic6915.c: revision 1.40
sys/dev/pci/if_tl.c: revision 1.117
sys/arch/arm/gemini/gemini_gmac.c: revision 1.18
sys/dev/ic/elinkxl.c: revision 1.133
sys/dev/pci/if_ste.c: revision 1.57
sys/dev/pci/if_alc.c: revision 1.43
sys/dev/pci/if_stge.c: revision 1.72
sys/dev/pci/if_ale.c: revision 1.34
sys/dev/pci/if_age.c: revision 1.62
sys/dev/pci/if_txp.c: revision 1.60
sys/dev/ic/i82557.c: revision 1.156
sys/dev/pci/if_vte.c: revision 1.27
sys/arch/powerpc/booke/dev/pq3etsec.c: revision 1.47
sys/arch/arm/gemini/if_gpn.c: revision 1.13

if_percpuq(9) and ether_input() automatically increment if_ipackets, so don't add number of
RX frames from device's statistics counter to if_ipackets to avoid double
count.

(martin)

2019-11-06 09:55:15 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1426):

sys/dev/mii/ukphy_subr.c: revision 1.16

Fix a bug that ukphy_status() misunderstand master mode.

(martin)

2019-11-06 09:53:59 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #402):

sys/dev/mii/ukphy_subr.c: revision 1.16

Fix a bug that ukphy_status() misunderstand master mode.

(martin)

2019-11-06 09:52:20 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pci.c: revision 1.156

PCIe downstream ports only have a single child device, so limit probing to
dev 0.

(martin)

2019-11-06 09:48:32 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/sunxi/sunxi_drm.c: revision 1.8
sys/external/bsd/drm2/dist/include/drm/drm_gem_cma_helper.h: revision 1.6
sys/external/bsd/drm2/dist/include/drm/drmP.h: revision 1.36
sys/external/bsd/drm2/include/drm/bus_dma_hacks.h: revision 1.18
sys/external/bsd/drm2/drm/drm_gem_cma_helper.c: revision 1.9
sys/external/bsd/drm2/include/drm/drm_os_netbsd.h: revision 1.15

Arm DMA tags with _nranges=0 require no address translation. Handle this
in PHYS_TO_BUS_MEM and BUS_TO_PHYS_MEM instead of panicing.

Add support for DRM GEM/CMA helpers using a driver provided vmem arena.

Reserve enough memory at boot to support the drmfb buffer plus a 4K buffer
for Xorg.

(martin)

2019-11-06 09:43:20 UTC netbsd-9 commitmail json YAML

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

sys/arch/arm/arm32/bus_dma.c: revision 1.117
sys/arch/arm/arm32/bus_dma.c: revision 1.118
sys/external/bsd/drm2/drm/drm_gem_cma_helper.c: revision 1.8

bus_dmamem_map: honour BUS_DMA_PREFETCHABLE hint

Map buffer objects with BUS_DMA_PREFETCHABLE.

Do not try to use direct map for prefetchable mappings

(martin)

2019-11-06 09:10:50 UTC MAIN commitmail json YAML

revert the powerpc config.gcc changes i made while merging,
they end up mis-ordering tm files.

revert the rs6000/netbsd64.h change and put it back as
SUBSUBTARGET_EXTRA_SPECS.

this seems to make the build work again, though mknative will
need a re-run for ppc*.

(mrg)

2019-11-06 07:31:20 UTC MAIN commitmail json YAML

2019-11-06 07:30:59 UTC MAIN commitmail json YAML

add a note about ifnet lock vs usbnet locks.

(mrg)

2019-11-06 07:29:08 UTC MAIN commitmail json YAML

elide recently introduced warnings that trigger in normal cases, eg:

savecore: dump_exists:471: kvm_read newdumpmag: _kvm_kvatop(ffffffff8180030c)

(mrg)

2019-11-06 07:26:31 UTC MAIN commitmail json YAML

add something to auto-detect when GCC has changed from gcc to gcc.old
or back and auto-cleandir tools/gcc.

based upon the code for PREVIOUSTOOLDIR in tools/Makefile.

(mrg)

2019-11-06 06:57:22 UTC MAIN commitmail json YAML

Change kcsan_md_is_avail() to always return true; I was testing with
interrupts disabled as debugging. Change the delay/sample parameters
to have better fluidity.

(maxv)

2019-11-06 04:17:16 UTC MAIN commitmail json YAML

ixv(4): disable RSS configuration on 82599 and X540 VFs.

Those VFs share their RSS configuration with PF and, thus,
they cannot be configured independently. From FreeBSD r354349.

(msaitoh)

2019-11-05 23:31:23 UTC MAIN commitmail json YAML

Reserve enough memory at boot to support the drmfb buffer plus a 4K buffer
for Xorg.

(jmcneill)

2019-11-05 23:29:28 UTC MAIN commitmail json YAML

2019-11-05 23:27:23 UTC MAIN commitmail json YAML

Arm DMA tags with _nranges=0 require no address translation. Handle this
in PHYS_TO_BUS_MEM and BUS_TO_PHYS_MEM instead of panicing.

(jmcneill)

2019-11-05 22:22:42 UTC MAIN commitmail json YAML

Use alignof and not size_t for platforms with non-natural base
alignments.

(joerg)

2019-11-05 22:19:43 UTC MAIN commitmail json YAML

Fix typo: vmem_add(9) does not actually take an `addrp` argument.

(dyoung)

2019-11-05 20:23:44 UTC MAIN commitmail json YAML

2019-11-05 20:21:34 UTC MAIN commitmail json YAML

Add the __nocsan attribute on this function. Races on ci_want_resched are
accepted (part of the design).

(maxv)

2019-11-05 20:19:18 UTC MAIN commitmail json YAML

Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.

We do basically two things:

- On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
  describing the access, and delay the calling CPU (10ms).

- On all memory accesses, we verify if the memory we're reading/writing
  is referenced in a cell already.

The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.

The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.

Reviewed by Kamil.

(maxv)

2019-11-05 20:07:21 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc64/backtrace-supported.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc64/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/auto-target.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgcc/arch/powerpc64/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/powerpc64/gcov-iov.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/libgomp_f.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgomp/arch/powerpc64/omp.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libiberty/arch/powerpc64/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libiberty/defs.mk@1.23 / diff / nxr@1.23
src/external/gpl3/gcc/lib/libobjc/arch/powerpc64/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/c++config.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/cxxabi_tweaks.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/gstdint.h@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc64/symver-config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/auto-host.h@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/bversion.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/configargs.h@1.20 / diff / nxr@1.20
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/defs.mk@1.14 / diff / nxr@1.14
src/external/gpl3/gcc/usr.bin/gcc/arch/powerpc64/gtyp-input.list@1.10 / diff / nxr@1.10
      :
(more 5 files)
regen powerpc64

(christos)

2019-11-05 20:06:41 UTC MAIN commitmail json YAML

- Use EXTRA_SPECS like we did for aarch64 instead of SUBSUBTARGET_EXTRA_SPECS
  so that assembly specs get propagated (they were lost before)
- adjust the block register padding (like the other OS's) so that code compiles
- XXX: linker still broken for shared libraries because the os specific spec
  is not chosen

(christos)

2019-11-05 19:59:35 UTC MAIN commitmail json YAML

ssdfb: fix i2c transfer error with some controllers

If the controller doesn't support the full 128 byte transfer size we need,
then split the write across multiple transactions.

(tnn)

2019-11-05 12:59:55 UTC MAIN commitmail json YAML

Add GPT wedge autodiscovery

(martin)

2019-11-05 12:28:23 UTC MAIN commitmail json YAML

Add siisata* at pci (no idea why it was missing)

(martin)

2019-11-05 10:21:31 UTC MAIN commitmail json YAML

Do not try to use direct map for prefetchable mappings

(jmcneill)

2019-11-05 09:59:16 UTC MAIN commitmail json YAML

Map buffer objects with BUS_DMA_PREFETCHABLE.

(jmcneill)

2019-11-05 09:57:47 UTC MAIN commitmail json YAML

bus_dmamem_map: honour BUS_DMA_PREFETCHABLE hint

(jmcneill)

2019-11-05 04:09:51 UTC MAIN commitmail json YAML

Avoid null pointer dereference found by kUBSan with "member access within
null pointer of type 'struct drm_fb_helper_crtc'".

(msaitoh)

2019-11-04 15:12:10 UTC MAIN commitmail json YAML

Fix locking bug seen when using WDCNDELAY_DEBUG in PR kern/52126
(Observed
  piixide0:0:0: warning: busy-wait took 200us
with no panic)

(prlw1)

2019-11-04 14:53:35 UTC netbsd-7 commitmail json YAML

2019-11-04 14:52:15 UTC netbsd-7 commitmail json YAML

2019-11-04 14:51:31 UTC netbsd-7 commitmail json YAML

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

sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

(martin)

2019-11-04 14:50:32 UTC netbsd-8 commitmail json YAML

2019-11-04 14:49:31 UTC netbsd-9 commitmail json YAML

2019-11-04 14:47:33 UTC netbsd-9 commitmail json YAML

2019-11-04 14:46:58 UTC netbsd-9 commitmail json YAML

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

sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

(martin)

2019-11-04 14:44:47 UTC netbsd-8 commitmail json YAML

2019-11-04 14:39:59 UTC netbsd-8 commitmail json YAML

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

sys/compat/netbsd32/syscalls.master: revision 1.129

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.

Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

(martin)

2019-11-04 14:37:42 UTC netbsd-8 commitmail json YAML

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

etc/MAKEDEV.awk: revision 1.28

PR port-arm/54640: hack to work around conditional RAW_PART definition in
arm/include/disklabel.h.

Recognize this special case and skip lines between #ifndef RAW_PART and
the next #endif.

(martin)

2019-11-04 14:35:57 UTC netbsd-9 commitmail json YAML

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

etc/MAKEDEV.awk: revision 1.28

PR port-arm/54640: hack to work around conditional RAW_PART definition in
arm/include/disklabel.h.

Recognize this special case and skip lines between #ifndef RAW_PART and
the next #endif.

(martin)

2019-11-04 14:34:28 UTC netbsd-9 commitmail json YAML

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

sys/arch/zaurus/conf/GENERIC: revision 1.88

Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server.

Should be pulled up to netbsd-9.

(martin)

2019-11-04 14:31:16 UTC netbsd-8 commitmail json YAML

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

sys/arch/zaurus/dev/zrc.c: revision 1.10

Fix build errors with options WSDISPLAY_COMPAT_RAWKBD.

- Add missing RAWKEY_* macro definitions (taken from OpenBSD)
- Explicitly include "opt_wsdisplay_compat.h" for
  #ifdef WSDISPLAY_COMPAT_RAWKBD conditionals.
  (it is not properly pulled at least in netbsd-8)
https://mail-index.netbsd.org/port-zaurus/2019/11/02/msg000083.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-04 14:29:26 UTC netbsd-9 commitmail json YAML

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

sys/arch/zaurus/dev/zrc.c: revision 1.10

Fix build errors with options WSDISPLAY_COMPAT_RAWKBD.

- Add missing RAWKEY_* macro definitions (taken from OpenBSD)
- Explicitly include "opt_wsdisplay_compat.h" for
  #ifdef WSDISPLAY_COMPAT_RAWKBD conditionals.
  (it is not properly pulled at least in netbsd-8)
https://mail-index.netbsd.org/port-zaurus/2019/11/02/msg000083.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-04 14:23:28 UTC netbsd-8 commitmail json YAML

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

sys/dev/rasops/rasops.h: revision 1.49

Fix "Alignment Fault 3" kernel failure of NetBSD/zaurus 8.1 GENERIC.
structure in header files could be problematic.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/31/msg000079.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-04 14:22:14 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1421):

sys/dev/scsipi/st.c: revision 1.238

Add simple position recovery when positioning to EOM by reading
the position with READ_POSITION.
this allows for

        mt eom
        mt st

to return the correct file position.

(martin)

2019-11-04 14:13:31 UTC netbsd-9 commitmail json YAML

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

sys/dev/rasops/rasops.h: revision 1.49

Fix "Alignment Fault 3" kernel failure of NetBSD/zaurus 8.1 GENERIC.
structure in header files could be problematic.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/31/msg000079.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-04 14:08:19 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #393):

sys/arch/aarch64/include/pmap.h: revision 1.26
sys/arch/aarch64/aarch64/pmap.c: revision 1.48

Define PMAP_NEED_PROCWR, providing strategically placed i-cache
synchronization where just-changed memory is about to be executed.

Fixes SIGILLs seen when running Mono 6 on QEMU Cortex-A57.

ok ryo

(martin)

2019-11-04 12:45:10 UTC MAIN commitmail json YAML

2019-11-04 11:33:01 UTC MAIN commitmail json YAML

2019-11-04 11:32:23 UTC MAIN commitmail json YAML

netbsd32_size_t should be used instead of size_t for argument of
32-bit syscalls:

- netbsd32___getvfsstat90: bufsize
- netbsd32___fhstatvfs190: fh_size

No need to pullup, since these syscalls were introduced after
branch of netbsd-9.

(rin)

2019-11-04 11:21:36 UTC MAIN commitmail json YAML

2019-11-04 11:20:22 UTC MAIN commitmail json YAML

For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t.
Since bufsize is the last argument, this affects only LP64EB.

XXX
pullup to netbsd-9, -8, and -7

(rin)

2019-11-04 10:44:00 UTC MAIN commitmail json YAML

Update Spleen kernel fonts to version 1.5.0, bringing the following
improvements:

- Tweak the digit '7' for consistency with other sizes (5x8 version)
- Tweak the digit '2' for consistency with other sizes (12x24 version)
- Shift the middle bar of the digit '3' one pixel up, for better
  alignement (12x24 version)
- Make the 'Z' and 'z' characters more balanced, as is the case with
  other sizes (12x24 version)
- Make the slash inside the digit '0' one pixel thiner (32x64 version)

(fcambus)

2019-11-04 10:36:18 UTC MAIN commitmail json YAML

Fix build with VERBOSE_INIT_ARM without DIAGNOSTIC.

(tsutsui)

2019-11-04 10:02:39 UTC MAIN commitmail json YAML

Speed up mode setting a bit and turn off the display while changing modes

(jmcneill)

2019-11-04 09:38:39 UTC MAIN commitmail json YAML

Select closest rate to desired pixel clock

(jmcneill)

2019-11-04 09:37:51 UTC MAIN commitmail json YAML

Use 297MHz for display clock

(jmcneill)

2019-11-04 09:11:00 UTC MAIN commitmail json YAML

evbarm: Update TI OMAP3 SoC support to use FDT based configuration.

(jmcneill)

2019-11-04 05:46:39 UTC MAIN commitmail json YAML

Use kmem_zalloc() instead of kmem_alloc() to initialize structure.
struct audio_format added a member since isaki-audio2.
Fix PR kern/54662 "uaudio sometimes not recognized".

(isaki)

2019-11-04 00:59:31 UTC MAIN commitmail json YAML

2019-11-04 00:59:05 UTC MAIN commitmail json YAML

2019-11-04 00:51:33 UTC MAIN commitmail json YAML

2019-11-04 00:33:29 UTC MAIN commitmail json YAML

Fix previous; restore accidentally removed newline.

(rin)

2019-11-03 23:31:49 UTC MAIN commitmail json YAML

Comment out mode fixup (not needed it seems)

(jmcneill)

2019-11-03 23:28:59 UTC MAIN commitmail json YAML

Test DRM_MODE_* flags, not VID_*

(jmcneill)

2019-11-03 22:59:24 UTC MAIN commitmail json YAML

Add tdahdmi, tilcdc, tifb

(jmcneill)

2019-11-03 22:59:06 UTC MAIN commitmail json YAML

2019-11-03 22:57:52 UTC MAIN commitmail json YAML

Add driver for NXP TDA19988 HDMI encoder

(jmcneill)

2019-11-03 22:55:34 UTC MAIN commitmail json YAML

Defer power monitor polling to the sysmon taskq thread to avoid i2c transactions in intr context

(jmcneill)

2019-11-03 13:45:57 UTC MAIN commitmail json YAML

Also match ti,omap2-onenand

(jmcneill)

2019-11-03 12:18:28 UTC MAIN commitmail json YAML

No longer used.

(jmcneill)

2019-11-03 12:17:33 UTC MAIN commitmail json YAML

OMAP3 SoC and all peripherals in the IGEPV2 kernel are now supported by
GENERIC.

(jmcneill)

2019-11-03 12:16:35 UTC MAIN commitmail json YAML

Remove commented out IGEPV2 entry

(jmcneill)

2019-11-03 12:11:42 UTC MAIN commitmail json YAML

OMAP3 SoC and all peripherals in the OVERO kernel are now supported by
GENERIC.

(jmcneill)

2019-11-03 12:09:04 UTC MAIN commitmail json YAML

Remove OVERO from build, and commented out N900 kernel config

(jmcneill)

2019-11-03 12:07:46 UTC MAIN commitmail json YAML

Only one instance of twl(4) is needed

(jmcneill)

2019-11-03 12:06:33 UTC MAIN commitmail json YAML

Match smsc,lan9115 and honour local-mac-address/mac-address properties

(jmcneill)

2019-11-03 12:03:36 UTC MAIN commitmail json YAML

PR port-arm/54640: hack to work around conditional RAW_PART definition in
arm/include/disklabel.h.

Recognize this special case and skip lines between #ifndef RAW_PART and
the next #endif.

(martin)

2019-11-03 11:42:52 UTC netbsd-9 commitmail json YAML

2019-11-03 11:41:57 UTC netbsd-9 commitmail json YAML

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

doc/HACKS: revision 1.195
doc/HACKS: revision 1.196
external/bsd/jemalloc/lib/Makefile.inc: revision 1.11
external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h: revision 1.11

PR/54307: Rin Okuyama: Lots of jemalloc assertions in latest -current

Workaround for random crash of userland binaries, as reported in
PR port-alpha/54307.

If rtree.c and tcache.c are compiled with -O0, userland just works
without problems as far as I can see. Alternately, you can specify
-DJEMALLOC_DEBUG to avoid random crash. Smells like compiler bug,
or wrong coding which relies on some undefined behavior.

Anyway, we need to pull this up into netbsd-9 asap.

Describe workaround for PR port-alpha/54307.

Describe that both GCC 7.4 and 8.3 fail in the last entry.

(martin)

2019-11-03 11:39:47 UTC netbsd-8 commitmail json YAML

2019-11-03 11:38:51 UTC netbsd-8 commitmail json YAML

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

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-03 11:36:56 UTC netbsd-9 commitmail json YAML

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

sys/arch/zaurus/stand/zbsdmod/Makefile: revision 1.12
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.10
sys/arch/zaurus/conf/Makefile.zaurus.inc: revision 1.10
sys/arch/zaurus/stand/zbsdmod/zbsdmod.c: revision 1.11
sys/arch/zaurus/stand/zbsdmod/compat_linux.h: revision 1.7

Explicitly set empty LINKENTRY to keep ENTRY address specified in ldscript.

This fixes kernel boot failures of NetBSD/zaurus 8.x and later.
While here, also set empty TEXTADDR also specified in ldscript.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Fix another boot failure issue of NetBSD/zaurus 8.x and later.

It looks some cacheline alignment restriction so that zbsdmod.o in
NetBSD/zaurus 8.x release cannot jump to a loaded kernel properly.

Adding an explicit alingment pseudo op to put all instructions
between I-cache flush and jumping to the loaded kernel into the
same cacheline solves the issue.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/22/msg000069.html

Should be pulled up to netbsd-8 and netbsd-9.

-

Misc cleanup to avoid future confusion.
- Remove more unnecessary debug sections
- Use DBG instead of COPTS to specify -Os as defined in bsd.prog.mk
- Use CFLAGS and CPPFLAGS correctly
- Explicitly set -ffreestanding

-

Make sure to clear bss before jumping to a kernel copied from load buffer.
This will fix yet another boot failure issue
"screen white-out after loading a kernel"
https://mail-index.netbsd.org/port-zaurus/2019/10/26/msg000072.html

Should be pulled up to netbsd-8 and netbsd-9.

(martin)

2019-11-03 11:34:40 UTC MAIN commitmail json YAML

Add support for GPIO interrupts and fix reading the state of output pins.

(jmcneill)

2019-11-03 11:13:46 UTC MAIN commitmail json YAML

Use record field for recording even on
SNDCTL_DSP_STEREO, SNDCTL_DSP_SETFMT, and SNDCTL_DSP_CHANNELS.

(isaki)

2019-11-03 10:09:04 UTC MAIN commitmail json YAML

Cleanup and remove dependency on arch/arm/omap

(jmcneill)

2019-11-03 09:34:09 UTC MAIN commitmail json YAML

Fix non-FDT build

(jmcneill)

2019-11-03 07:10:42 UTC MAIN commitmail json YAML

Describe that both GCC 7.4 and 8.3 fail in the last entry.

(rin)

2019-11-03 03:15:59 UTC MAIN commitmail json YAML

simplify pointer gymnastics that sprained gcc-8

(christos)

2019-11-03 01:35:47 UTC MAIN commitmail json YAML

2019-11-03 01:03:30 UTC MAIN commitmail json YAML

netbsd/hppa uses 16 byte alignment.  the inherited default changed..

(mrg)

2019-11-02 23:13:00 UTC MAIN commitmail json YAML

Put back options WSDISPLAY_COMPAT_RAWKBD. It's required by Xorg server.

Should be pulled up to netbsd-9.

(tsutsui)

2019-11-02 23:03:53 UTC MAIN commitmail json YAML

Fix build errors with options WSDISPLAY_COMPAT_RAWKBD.

- Add missing RAWKEY_* macro definitions (taken from OpenBSD)
- Explicitly include "opt_wsdisplay_compat.h" for
  #ifdef WSDISPLAY_COMPAT_RAWKBD conditionals.
  (it is not properly pulled at least in netbsd-8)
https://mail-index.netbsd.org/port-zaurus/2019/11/02/msg000083.html

Should be pulled up to netbsd-8 and netbsd-9.

(tsutsui)

2019-11-02 22:55:58 UTC MAIN commitmail json YAML

add fdt device_compatible_entry

(tnn)

2019-11-02 21:34:58 UTC MAIN commitmail json YAML

2019-11-02 21:11:55 UTC MAIN commitmail json YAML

cast away unused return value

(tnn)

2019-11-02 19:22:37 UTC MAIN commitmail json YAML

documentation for WSDISPLAYIO_FBINFO

(tnn)

2019-11-02 18:56:41 UTC MAIN commitmail json YAML

expand section on GPIOREAD

(tnn)

2019-11-02 18:14:36 UTC MAIN commitmail json YAML

puffs_null_node_fsync: don't leak directory handle

Directory handles returned by opendir must be closed by closedir.
Also directory(3) says we mustn't close(2) descriptors returned by dirfd(3)

(tnn)

2019-11-02 17:13:20 UTC MAIN commitmail json YAML

fix hang when SSDFB_ATTACH_FLAG_CONSOLE used with spi

(tnn)

2019-11-02 16:36:57 UTC MAIN commitmail json YAML

Mention smscphy. Link to jmphy. Bump date.

(wiz)

2019-11-02 16:34:50 UTC MAIN commitmail json YAML

Fix date. Improve history. Wording. Punctuation nit.

(wiz)

2019-11-02 16:34:31 UTC MAIN commitmail json YAML

Add missing quote.

(wiz)

2019-11-02 16:34:14 UTC MAIN commitmail json YAML

Fix RCS Id. Improve history. Punctuation nits.

(wiz)

2019-11-02 14:47:35 UTC MAIN commitmail json YAML

ssdfb: update manpage

(tnn)

2019-11-02 14:33:27 UTC MAIN commitmail json YAML

add spi(4) bus frontend for ssdfb(4)

(tnn)

2019-11-02 14:24:00 UTC MAIN commitmail json YAML

set flag to indicate that worker thread should be created mpsafe

iic(4) is mpsafe, unlike spi(4) which hasn't been made mpsafe yet.

(tnn)

2019-11-02 14:18:36 UTC MAIN commitmail json YAML

ssdfb: add support for SSD1322

(tnn)

2019-11-02 11:56:34 UTC MAIN commitmail json YAML

Use record.sample_rate for recording on SNDCTL_DSP_SPEED.
It's kernel side of PR lib/54667.

(isaki)

2019-11-02 11:48:23 UTC MAIN commitmail json YAML

Use record.sample_rate for recording on SNDCTL_DSP_SPEED.
Fix PR lib/54667.

(isaki)

2019-11-02 07:56:25 UTC MAIN commitmail json YAML

Replace tps65950pm with twl (the former has been removed)

(martin)

2019-11-02 01:14:57 UTC MAIN commitmail json YAML

Fix "Alignment Fault 3" kernel failure of NetBSD/zaurus 8.1 GENERIC.

#ifdef switch per kernel config options in definition of device driver
structure in header files could be problematic.

See my post in port-zaurus@ for details:
https://mail-index.netbsd.org/port-zaurus/2019/10/31/msg000079.html

Should be pulled up to netbsd-8 and netbsd-9.

(tsutsui)

2019-11-01 20:55:56 UTC MAIN commitmail json YAML

Describe workaround for PR port-alpha/54307.

(rin)

2019-11-01 20:53:10 UTC MAIN commitmail json YAML

Workaround for random crash of userland binaries, as reported in
PR port-alpha/54307.

If rtree.c and tcache.c are compiled with -O0, userland just works
without problems as far as I can see. Alternately, you can specify
-DJEMALLOC_DEBUG to avoid random crash. Smells like compiler bug,
or wrong coding which relies on some undefined behavior.

Anyway, we need to pull this up into netbsd-9 asap.

(rin)