Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-07-31 | Comment out non-crucial device drivers (xhci(4), wdc@pcmcia, and cd(4) | Theo de Raadt | |
support. fd+xhci without ehci compat probably doesn't exist, and in the other cases alternatve install methods exist. This makes i386 floppies fit again after routing table changes. | |||
2017-07-31 | Use unsigned long instead of uint32_t, which is the appropriate integer | Mark Kettenis | |
type for storing pointers in our universe. Avoids an implicit dependence on <sys/types.h>. ok tom@ | |||
2017-07-30 | clang (and newer gcc at high -O) are unaware that objects placed in strange | Theo de Raadt | |
sections, such as __attribute__((section(".openbsd.randomdata"))), may be non-zero. In combination with "const" or "static" the compiler becomes even more sure nothing can influence the object and assumes the value will be 0. A few optimizations later, a security requirement has been removed. Until a better annotation arrives in compilers, be warned: Do not mix const or static with these random objects, you won't get what you want. Spotted in a regression test by bluhm, long discussion with kettenis. | |||
2017-07-30 | mark __inline functions which are not neccessarily used, with __unused. | Theo de Raadt | |
ok espie florian kettenis | |||
2017-07-30 | Use memcpy instead of casts to copy 8 bytes of data to avoid unaligned | Mark Kettenis | |
access. ok visa@, mpi@, deraadt@ | |||
2017-07-30 | Enable mpath support in the Allotment Routing Table (ART) on the ramdisk. | Florian Obser | |
OK mpi | |||
2017-07-30 | Switch installer to Allotment Routing Table (ART). | Florian Obser | |
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken in the installer. OK mpi, "go for it" deraadt | |||
2017-07-30 | Bump VM_PHYSSEG_MAX. | Visa Hankala | |
2017-07-30 | Bump MAXCPUS on octeon. | Visa Hankala | |
2017-07-30 | Define MAXCPUS per mips64 port. | Visa Hankala | |
2017-07-30 | Add a driver for CIU3. Not quite finished yet, but good enough for now. | Visa Hankala | |
2017-07-29 | Fix off-by-one in return value of efi_device_path_depth(). | Mark Kettenis | |
ok patrick@ | |||
2017-07-29 | Fix off-by-one in return value of efi_device_path_depth(). | Mark Kettenis | |
ok patrick@ | |||
2017-07-29 | Remove useless conditional before free(). | ians | |
ok mpi@ | |||
2017-07-29 | Add a bcmaux(4) driver that handles clocks and interrupts for the | Mark Kettenis | |
auxilliary UART. Makes serial console work with newer device trees. ok jsg@ | |||
2017-07-29 | Device trees for the Rasperry Pi are still in flux. Catch up with the | Mark Kettenis | |
latest ways to encode the MAC address for the onboard USB Ethernet. ok visa@ | |||
2017-07-29 | Goodbye, sys/dkbad.h, you lost your last friend when sparc was removed. | Vadim Zhukov | |
Spotted and diff provided by Andrey Bolkonskiy <andrey0bolkonsky@gmail.com>, thanks! okay deraadt@ | |||
2017-07-29 | There is no RTC on the E300 boards. | Visa Hankala | |
2017-07-29 | Replace a complex `if' condition with a list. | Visa Hankala | |
OK pirofti@ | |||
2017-07-28 | Add some sanity length checks in VFS directory scan. This protects | Alexander Bluhm | |
us from bogus input from file systems like fuse. bug report Ilja Van Sprundel; OK deraadt@ | |||
2017-07-28 | Add a driver for the OCTEON SATA controller bridge. | Visa Hankala | |
OK deraadt@, jasper@, kettenis@ | |||
2017-07-28 | Add a workaround that allows the use of sys/dev/fdt code on octeon. | Visa Hankala | |
OK kettenis@ | |||
2017-07-28 | The read buffer size reported by the hardware can be up to 4095 | Alexander Bluhm | |
bytes. This would exceed the mbuf cluster size. Use larger clusters in this case. bug report Ilja Van Sprundel; OK deraadt@ stsp@ | |||
2017-07-28 | Add an error argument to rtm_send() instead of rerolling it inside | Martin Pieuchot | |
rtdeletemsg(). ok bluhm@ | |||
2017-07-28 | Allow SIOCGIFDESCR with "route" promise in preparation for pledging snmpd. | rob | |
ok deraadt@ benno@ | |||
2017-07-27 | Use variable edge masks (again). | Ulf Brosziewski | |
The properties of edge areas will be more consistent even though in some cases the driver remains in the dark about the exact coordinate limits. | |||
2017-07-27 | Initialize pools with correct sizes. | Martin Pieuchot | |
This was safe because `struct drm_i915_gem_object' is bigger than the other two. ok kettenis@ | |||
2017-07-27 | Export RTAX_IFP, RTAX_IFA and RTAX_LABEL to userland in rtdeletemsg(). | Martin Pieuchot | |
Reduce differences with rtm_miss(). ok claudio@, bluhm@ | |||
2017-07-27 | For pf the anchor is a C string so ensure that the value passed in via ioctl | Claudio Jeker | |
is correctly NUL terminated. Reported by Ilja Van Sprundel With and OK bluhm@ | |||
2017-07-27 | Stop doing an splsoftnet()/splx() dance inside the NET_LOCK(). | Martin Pieuchot | |
This will allow us to not carry a returned value when entering a critical section. ok bluhm@, visa@ | |||
2017-07-27 | Assert that the KERNEL_LOCK() is held prior to call csignal() and | Martin Pieuchot | |
selwakeup(). ok bluhm@ | |||
2017-07-27 | Grab the KERNEL_LOCK() before calling sorwakeup(). | Martin Pieuchot | |
In the forwarding path, pf_test() is executed w/o KERNEL_LOCK() and in case of divert end up calling sowakup(). However selwakup() and csignal() are not yet ready to be executed w/o KERNEL_LOCK(). ok bluhm@ | |||
2017-07-27 | SEQ16_* macros weren't able to compare properly if one of the sequences is | YASUOKA Masahiko | |
wrapped around. Fix them to cast the proper width of integer when comparison. found goda@ | |||
2017-07-26 | Consistantly use kp as the var name for struct keycb. | Claudio Jeker | |
Suggested by and OK bluhm@ OK mpi@ | |||
2017-07-26 | Fix typo in comment, ok deraadt@ | anton | |
2017-07-26 | Do not add plain edge areas as default. | Ulf Brosziewski | |
Given how the Synaptics models report min/max coordinates, adding "small" edge areas per default might consume too much space. | |||
2017-07-26 | we_readmem() and ec_readmem() are inlined, but they can also be static. | Theo de Raadt | |
2017-07-26 | uha_init_mscp() is unused. | Theo de Raadt | |
2017-07-25 | fallback on _BIF properly when _BIX exists and returns a package | Joshua Stein | |
successfully but has an unexpected length, as on the X1C gen 5 tested by naddy | |||
2017-07-25 | The LINK_STATE_IS_UP() macro considers LINK_STATE_UNKNOWN as up. | Alexander Bluhm | |
So the em(4) driver never got out of that state. Better compare the new link state value with the old one, like other drivers do. bug report Matthias Pitzl; OK deraadt@ | |||
2017-07-25 | Enable dwdog(4) such that Rockchip RK3288 devices can reboot. | Mark Kettenis | |
2017-07-25 | Add dwdog(4), a driver for the Synopsys Designware watchdog timer integrated | Mark Kettenis | |
on (for example) the Rockchip RK3288 SoC. | |||
2017-07-25 | Add rkclock(4), rkgrf(4), rkpinctrl(4) and rkgpio(4). This makes OpenBSD | Mark Kettenis | |
run on the ASUS Tinker Board with working SD-card and (almost) working network. | |||
2017-07-25 | The Cortex-A17 TRM explicitly says that there is an intermediate table | Mark Kettenis | |
walk cache and that its cache entries are associated with an ASID. Our armv7 pmap doesn't use ASIDs and we only ever insert "global" page table entries which match (and get flushed) regardless of the ASID. The current ASID is specified vy the CONTEXTIDR register, which is initialized to some "unknown" value. And on my hardware that value isn't zero! So the intermediate table walk cache entries are tagged with this unknown value. But our TLB flushes are done with ASID 0. This means that the intermediate table walk cache entries are never flushed because the ASID doesn't match. As a result the hardware may look at the wrong page table page when looking up a translation. So initialize CONTEXTIDR to zero before we initialize the first level page table pointer, flush the TLB and enable the MMU. Fixes the hangs previously seen on Cortex-A12/A17. ok patrick@ | |||
2017-07-25 | change -Os to -Oz all around the tree | Robert Nagy | |
clang optimizes better for size with -Oz so use that as a default to avoid overflowing the ramdisk floppies. gcc now accepts -Oz as an alias for -Os. ok kettenis@ | |||
2017-07-25 | remove -Wa,-n from CMACHFLAGS as clang's internal assembler does not support it | Robert Nagy | |
ok kettenis@ | |||
2017-07-25 | rework octuctl and its children to attach via fdt | Jonathan Matthew | |
ok visa@ | |||
2017-07-25 | Print CPU type as we do on arm64. This is how ARM prints revisions in its | Mark Kettenis | |
documentation. ok patrick@, tom@ | |||
2017-07-25 | Remove leftovers of a past softintr mechanism. | Visa Hankala | |
OK mpi@, kettenis@ | |||
2017-07-24 | Add support for the AXP152 which has a shutdown control register that is | Mark Kettenis | |
compatible with the AXP209. Makes the Olimex A10s-OlinuXino-MICRO power down properly. |