Age | Commit message (Collapse) | Author |
|
constants.
The consensus is that if both operands are constant, we don't need
mallocarray. Reminded by tedu@
ok deraadt@
|
|
reset the floating-point register state upon exec.
ok guenther@
|
|
The latter is not defined by clang.
OK guenther@, kettenis@
|
|
The device tree that ships with the overdrive 1000 has an interrupt-map
property that is known to be wrong. Using MSI on msk makes the builtin
Ethernet on the overdrive 1000 work.
Tested on arm64 with
"Marvell Yukon 88E8059" rev 0x00, Yukon-2 Optima (0x1)
and i386 with
"Marvell Yukon 88E8072" rev 0x10, Yukon-2 Extreme rev. B0 (0x2)
Committing this early in the release cycle to try find cases where using
MSI doesn't work.
Based on part of an earlier patch from jmatthew@
ok jmatthew@ kettenis@
|
|
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok deraadt@
|
|
Problem noticed by krw
|
|
interrupt. We already correctly swizzle the pin.
ok patrick@
|
|
interrupts are correctly routed to the boot cpu if that isn't the one
connected to CPU interface zero on the interrupt controller.
ok patrick@
|
|
|
|
|
|
could be running inside a driver that will be force-detached, or due
to tsleep end up disrupting the softstate/hardstate contract. At
suspend time, quisce all these callbacks by waiting for completion.
This issue has never been observed for real, but may be implicated in
suspend/resume failures.
ok kettenis guenther mlarkin
|
|
consumes two ring entries per segment, halving the effective size of the
rings, but keeps things simple. This is required for the onboard nic
on the Overdrive 1000 to work.
ok kettenis@, tested on i386 by jsg@
|
|
Pointed out by Michael W. Bombardieri
|
|
Errors will result in nice clean panic messages so we know what's wrong.
Reviewed by dhill visa natano jsg.
|
|
|
|
|
|
|
|
From Andrew Aldridge (i80and(at)foxquill.com)
ok millert@ mpi@
|
|
From Anton Lindqvist (anton.lindqvist(at)gmail.com)
|
|
use memmove. While here, change some previous conversions to a simple
assignment.
ok deraadt@
|
|
ok visa
|
|
|
|
|
|
properly aligned and sockaddr_union fields, or with memcpy when
the memory doesn't overlap.
OK bluhm@
|
|
|
|
extra zero'ing of variables not needed because softc is pre-zero'd.
ok jsg
|
|
ok dhill
|
|
ok deraadt@
|
|
|
|
properly aligned malloc(9)d data and sockaddr_union fields. While here,
convert the remaining bcopy() to memmove().
with and ok @bluhm
|
|
zero the buffers first. All the current objects appear to be safe,
however future changes might introduce structure pads.
Discussed with guenther, ok bluhm
|
|
copyout to avoid leaking kernel stack
ok deraadt@
|
|
future disk info sysctl has pads in the structures, use M_ZERO when
allocating the storage to avoid leaking kernel memory.
|
|
it has no pads, but a future ABI change could add something and leak
kernel memory.
|
|
changes to avoid exposing userland memory.
|
|
remove some debug printfs, get rid of STATIC and __inline defines and
remove a bit more unused code.
ok drahn@, visa@
|
|
the release write becomes globally visible only after any writes
of the critical section are globally visible. In practice, the
reordering has not happened because the kernel runs in the total
store order mode.
Tested by and OK kettenis@
|
|
|
|
need to be installed by hand until the iwm-firmware package has been updated.
This includes handling (by ignoring) of IWM_UCODE_TLV_FW_MEM_SEG and
IWM_DEBUG_LOG_MSG firmware commands. Mostly stolen from dragonflybsd.
With this in the X270 has working ethernet and wifi.
Commit! deraadt@
|
|
|
|
|
|
ok guenther
|
|
to enable RDTSCP to 0, so when solaris attempted to use the instruction
(since it wasn't filtered out of CPUID information), the CPU issued an
#UD exception.
|
|
reason to explicitly flush the cache before invalidating the TLB. The
barrier that is included in out TLB flushing code should be enough to
guarantee that the TLB walking hardware sees the updated page table
contents, so the explicit barriers can go as well. Sanitize the code
immediately surrounding the removed bits while I'm there.
Tested by jsg@, ok drahn@, visa@
|