Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-09 | Convert some malloc(9) to mallocarray(9) | David Hill | |
ok deraadt@ | |||
2017-04-09 | Convert some malloc(9) to mallocarray(9) | David Hill | |
ok deraadt@ | |||
2017-04-09 | Use mallocarray to allocate multicast group memberships. | David Hill | |
ok deraadt@ | |||
2017-04-09 | Correct wakeup() dance in sensor_task_work() | Theo de Raadt | |
Problem noticed by krw | |||
2017-04-08 | For legacy interrupt use the tag of the topmost bridge to establish the | Mark Kettenis | |
interrupt. We already correctly swizzle the pin. ok patrick@ | |||
2017-04-08 | Bring over the changes I made to the armv7 version of this driver such that | Mark Kettenis | |
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@ | |||
2017-04-08 | re-enable POOL_DEBUG after the release; ok deraadt@ | Christian Weisgerber | |
2017-04-08 | Make network ports work on Shasta. | Visa Hankala | |
2017-04-08 | Sensors are run as callbacks inside tasks. During suspend a sensor | Theo de Raadt | |
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 | |||
2017-04-08 | Use ADDR64 opcodes to specify 64bit DMA addresses for all buffers. This | Jonathan Matthew | |
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@ | |||
2017-04-08 | Remove some #if 0 code that dates back to r1.1 | Mike Larkin | |
Pointed out by Michael W. Bombardieri | |||
2017-04-08 | A pile of sizes to free(9). In test for a few days in snapshots. | Theo de Raadt | |
Errors will result in nice clean panic messages so we know what's wrong. Reviewed by dhill visa natano jsg. | |||
2017-04-08 | Two prototypes for acpi_maptable; merge to one place | Theo de Raadt | |
2017-04-07 | Add prid for CN72xx/CN73xx. | Visa Hankala | |
2017-04-07 | Make SoC version available in a simple form. | Visa Hankala | |
2017-04-07 | si_addr should be of type void *, not char * | Philip Guenther | |
From Andrew Aldridge (i80and(at)foxquill.com) ok millert@ mpi@ | |||
2017-04-07 | Simplify the size calculation for memset() | Philip Guenther | |
From Anton Lindqvist (anton.lindqvist(at)gmail.com) | |||
2017-04-06 | Convert bcopy to memcpy where the memory does not overlap, otherwise, | David Hill | |
use memmove. While here, change some previous conversions to a simple assignment. ok deraadt@ | |||
2017-04-06 | Sizes for the remaining free() calls, and use mallocarray() | Theo de Raadt | |
ok visa | |||
2017-04-06 | Use the correct interrupt disestablish routine. | Visa Hankala | |
2017-04-06 | Extend the fdt interrupt API a little. | Visa Hankala | |
2017-04-06 | Replace bcopy with a simple assignment where both variables are | David Hill | |
properly aligned and sockaddr_union fields, or with memcpy when the memory doesn't overlap. OK bluhm@ | |||
2017-04-06 | remove stray character in previous that broke the build | Jonathan Gray | |
2017-04-06 | Unify a few attach-time patterns between usb *com drivers, and remove | Theo de Raadt | |
extra zero'ing of variables not needed because softc is pre-zero'd. ok jsg | |||
2017-04-06 | add sizes to free() calls | Theo de Raadt | |
ok dhill | |||
2017-04-06 | Convert bcopy to memcpy as the memory does not overlap. | David Hill | |
ok deraadt@ | |||
2017-04-05 | 3 more mallocarray() uses | Theo de Raadt | |
2017-04-05 | Replace 2 bcopy()'s with a simple assignment as both variables are | David Hill | |
properly aligned malloc(9)d data and sockaddr_union fields. While here, convert the remaining bcopy() to memmove(). with and ok @bluhm | |||
2017-04-05 | When building counter memory in preparation to copy to userland, always | Theo de Raadt | |
zero the buffers first. All the current objects appear to be safe, however future changes might introduce structure pads. Discussed with guenther, ok bluhm | |||
2017-04-05 | timeval has trailing padding on powerpc and m88k, so memset it before | Philip Guenther | |
copyout to avoid leaking kernel stack ok deraadt@ | |||
2017-04-05 | Here at OpenBSD we change ABIs at the fling of a hat. Just in case a | Theo de Raadt | |
future disk info sysctl has pads in the structures, use M_ZERO when allocating the storage to avoid leaking kernel memory. | |||
2017-04-05 | clear structure on the stack before copying out for sysctl. At present | Theo de Raadt | |
it has no pads, but a future ABI change could add something and leak kernel memory. | |||
2017-04-04 | struct vfsconf is tightly packed, but let's M_ZERO it in case that ever | Theo de Raadt | |
changes to avoid exposing userland memory. | |||
2017-04-04 | Cleanup the code further. Get rid of the remaining C++-style comments, | Mark Kettenis | |
remove some debug printfs, get rid of STATIC and __inline defines and remove a bit more unused code. ok drahn@, visa@ | |||
2017-04-04 | Issue memory barrier before lock release, not after. This ensures | Visa Hankala | |
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@ | |||
2017-04-04 | add a free() size near microcode loading | Theo de Raadt | |
2017-04-04 | Add 8265 and 3168 support. Both cards need new firmware files which currently | Claudio Jeker | |
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@ | |||
2017-04-03 | provide size to free(9) | Theo de Raadt | |
2017-04-03 | Compute address for ll/sc only once. | Visa Hankala | |
2017-04-02 | Less convoluted code in soshutdown() | Theo de Raadt | |
ok guenther | |||
2017-04-02 | Filter out RDTSCP, needed to handle solaris guests. We set the VMX control | Mike Larkin | |
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. | |||
2017-04-02 | On ARMv8, the translation table walk is fully coherent so there is no | Mark Kettenis | |
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@ | |||
2017-04-02 | printf format strings should be literals. Reminded by clang. | Visa Hankala | |
2017-04-02 | Drop address conversion cruft. | Visa Hankala | |
2017-04-02 | Fix tcp stats reporting | Jeremie Courreges-Anglas | |
Return the sum of per-cpu counters instead of the current cpu's counters. Brainfart on my side. Analysis and fix by Andrei-Marius Radu. | |||
2017-04-02 | Bring back the wait instruction into the idle loop, but only on octeon. | Visa Hankala | |
This lets an idle SoC run a bit cooler. Tested on CN5020, CN6120 and CN7130. | |||
2017-04-02 | normalize order of arguments to if () | Theo de Raadt | |
2017-04-02 | unlock tree, we are now hacking on 6.1-current | Theo de Raadt | |
2017-03-30 | correct NBPFILTER #ifdef's | Theo de Raadt | |
from sthen and others | |||
2017-03-30 | these free() size choices appear to be wrong. joel has a diff that fixes | Theo de Raadt | |
them, but for release let's be conservative and use 0. |