summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-30add ilog2()/order_base_2()/gcd()Jonathan Gray
2018-01-30disable -Wformat-zero-length when building with gccJonathan Gray
-Wformat includes -Wformat-zero-length with gcc 4.2 which breaks building unmodified atom.c with the SDEBUG macro "warning: zero-length kprintf format string"
2018-01-30add i2c_bit_add_bus()Jonathan Gray
2018-01-30add more endian macrosJonathan Gray
2018-01-30add drm_invalid_op()Jonathan Gray
2018-01-30add atomic_cmpxchg()/atomic64_add()/atomic64_sub()Jonathan Gray
2018-01-29Repair botched retry loop when generating RTM_PROPOSALKenneth R Westerback
messages at startup. Reproducible situation found on vnet(4) and fix tested by jca@.
2018-01-29pms: minor cleanups in the alps code.Ulf Brosziewski
1. Update the ALPS_*_BEZEL values, which don't match the actual limits accurately. The new values are used by Linux for all models with the protocols "V1" and "V2". 2. Models with the ID 0x7331 are not supported properly, remove it from the list. 3. Report to wsmouse that multiple contacts aren't recognized.
2018-01-29acknowledge that DPB_PROPERTIES exists and is documented in dpb.1Marc Espie
2018-01-29Missed a couple of log_info()'s in previous commit. Use #ifdef DEBUGKenneth R Westerback
instead of #if DEBUG.
2018-01-29Drop unused field `ci_ipiih'.Visa Hankala
2018-01-29Let the interrupt subsystem allocate memory for the IPI handle,Visa Hankala
to drop remaining uses of `ci_ipiih'. In addition, mark the IPI handler MP-safe.
2018-01-29Use log_init(), log_setverbose() and log_debug() moreKenneth R Westerback
appropriately. Fixes '-q' logging oddities. Prompted by phessler@ plea for '-v'-like behaviour rather than putting everything under DPRINTF()'s.
2018-01-29Attach ampintc/ampintcmsi early so pci devices can be attached withJonathan Gray
msi when using qemu -M virt. ok kettenis@
2018-01-28Refactor and simplify the logic to select and invoke theKenneth R Westerback
appropriate function to process a packet.
2018-01-28trampoline.o depends on assym.hMark Kettenis
2018-01-28typoOtto Moerbeek
2018-01-28add malloc_threaderrOtto Moerbeek
2018-01-28- An error in the multithreaded case could print the wrong function nameOtto Moerbeek
- Start with a full page of struct region_info's - Save an mprotect in the init code: allocate 3 pages with none and make the middle page r/w instead of a r/w allocation and two calls to make the guard pages none
2018-01-28Test for correct error when on thread allocates, and another does a double freeOtto Moerbeek
2018-01-28Spin up secondary CPUs and add IPI infrastructure. Heavily based on diffsMark Kettenis
from dran@. ok patrick@
2018-01-28remove the emulex link: it's dead, and i can;t see any obvious replacement;Jason McIntyre
from denis fondras
2018-01-28Store PSCI function ids as uint32_t not int in the softc.Jonathan Gray
Avoids unwanted sign extension on arm64 that resulted in qemu not recognising the function ids and matches the specification. Problem reported by semarie@ ok kettenis@
2018-01-28Bring this more in line with our other architectures.Mark Kettenis
ok patrick@
2018-01-28A few fatal() -> fatalx() where errno is notKenneth R Westerback
relevant.
2018-01-28Initialize variables to avoid compiler warningsKinichiro Inoguchi
ok jsing@
2018-01-28typoOtto Moerbeek
2018-01-28syncJonathan Gray
2018-01-27Sync the nam2blk entries with the bdevsw table, which is theChristian Weisgerber
definitive list of block devices supported on an architecture. ok kettenis@ deraadt@
2018-01-27Update regress to match removal of ssl_parse_clienthello_tlsext().Joel Sing
2018-01-27Complete the TLS extension handling rewrite for the server-side.Joel Sing
This removes ssl_parse_clienthello_tlsext() and allows the CBS to be passed all the way through from ssl3_get_client_hello(). The renegotation check gets pulled up into ssl3_get_client_hello() which is where other such checks exist. The TLS extension parsing now also ensures that we do not get duplicates of any known extensions (the old pre-rewrite code only did this for some extensions). ok inoguchi@
2018-01-27Clarify the comment re the F5 EC curves extension bug.Joel Sing
Also reference the knowledge base article instead of a discussion thread.
2018-01-27Convert ssl3_put_cipher_by_char() to CBB.Joel Sing
While here make the CBS usage in ssl3_get_cipher_by_char() more consistent with other code. ok inoguchi@
2018-01-27Fix an interrupt storm issue in vnet(4) mpi@ managed to trigger on my T5220,Stefan Sperling
similar to the issue fixed in vldcp(4) recently. For good measure also fix it again in vldcp(4) in case the Rx channel is reset rather than goes down. My T5220 has been running fine with this change. ok kettenis@
2018-01-27Add missing `l' prefix to linker flag and markup SIGHUP; ok jmc@anton
2018-01-27Avoid passing NULL to vprintf() by assigning a name to client processes. Whileanton
here rework the switch proc_title(), both clang and gcc will now warn if all possible values are not enumerated. ok gilles@
2018-01-26Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.Mark Kettenis
This allows us to use floating-pointer and vector instructions in userland code. The current implementation assumes all 32 VFP registers are present. This should be the case on all armv7 hardware currently supported by OpenBSD. ok patrick@
2018-01-26- do not junk pages returned by free_bytes(), all freed chunks are alreadyOtto Moerbeek
junked - freezero(): only clear requested size
2018-01-26Handle the transfer size option when faking up /etc/random.seed.Christian Weisgerber
Without this, clients that queried the size would receive 0 as response. ok jca@
2018-01-26Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.Mark Kettenis
This allows us to use floating-pointer and vector instructions in userland code. The current implementation assumes all 32 VFP registers are present. This should be the case on all armv7 hardware currently supported by OpenBSD. ok patrick@
2018-01-26Cleanup VFP code.Mark Kettenis
ok patrick@
2018-01-26Document MODCMAKE_DEBUGJeremie Courreges-Anglas
ok landry@
2018-01-26allow unpriviledged user to run "encrypt" and "spf walk"Eric Faurot
ok todd@, gilles@, sunil@
2018-01-26Fix Failure on Startccardenas
When attempting to start a vm from vm.conf that fails due to inadequate resources and such, do not remote vm entry from vm list. Reported by mpi@ ok mpi@
2018-01-25Add DPRINTF() and use it to replace log_debug() statements insideKenneth R Westerback
#ifdef DEBUG/#endif blocks. Suggestions on correct idiom (C99 vs gcc) from millert@ ok tom@
2018-01-25Remove mutex implementations that now live in MI code.Martin Pieuchot
2018-01-25Move common mutex implementations to a MI place.Martin Pieuchot
Archs not yet converted can to the jump by defining __USE_MI_MUTEX. ok visa@
2018-01-25Use a workaround for detached parent in carp_proto_input_c().Martin Pieuchot
A NULL dereference can happen since processing protocol layer is deffered to a second task. In other words the NET_LOCK() is released then regrabbed between ip_input() and carp_proto_input(). The same workaround is already in use in carp_output() due to deffered processing in case of IPsec. The real fix is to make carp(4) MP-safe and use if_get(9) there, any taker? Found & fix tested by Hrvoje Popovski.
2018-01-25Use a new LDFLAGS variable to pass "-melf_i386_obsd" on amd64.Martin Pieuchot
Makes the linker generate a correct i386 gap.o file. ok kettenis@, deraadt@
2018-01-25Assert that ifiq_destroy() is not called with the NET_LOCK() held.Martin Pieuchot
Calling taskq_barrier() on a softnet thread while holding the lock is clearly a deadlock. ok visa@, dlg@, bluhm@