summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-05use fence iorw,iorw for bus_space_barrier()Jonathan Gray
ok kettenis@
2021-05-05Sync with arm64 version.Mark Kettenis
ok jsg@
2021-05-05Document new reload behaviour. From Ashton FaggClaudio Jeker
OK jmc@
2021-05-05Fix definition of GICD_TYPER_LPIS.Mark Kettenis
ok patrick@
2021-05-05slight tidy-up of /etc/services:Stuart Henderson
- remove a few UDP entries for protocols that are TCP-only - drop some obsolete protocols - move smtps/465 to the standards section (rfc8314) - move the talk about IANA's "reserve for both UDP/TCP even when you only use one" policy from a comment in /etc/services to the manual, and talk about how an entry in /etc/services prevents the associated port from being used for dynamic ports (via net.inet.udp|tcp.baddynamic sysctl). ok phessler@ florian@
2021-05-05Improve the rde evaluate all test case by doing a withdraw of a prefixClaudio Jeker
that is hidden (but sent to one system because of rde evaluate all).
2021-05-05Rewrite TLSv1.2 key block handling.Joel Sing
For TLSv1.2 a single key block is generated, then partitioned into individual secrets for use as IVs and keys. The previous implementation splits this across two functions tls1_setup_key_block() and tls1_change_cipher_state(), which means that the IV and key sizes have to be known in multiple places. This implementation generates and partitions the key block in a single step, meaning that the secrets are then simply handed out when requested. ok inoguchi@ tb@
2021-05-05All exabgp configs changed to the c code version of the api-exabgp code.Claudio Jeker
2021-05-05Match on snps,dw-mshc in dwmmc(4) and use clock-frequency for clkbase ifJonathan Gray
the "ciu" clock is missing as mentioned in the devicetree binding. ok kettenis@
2021-05-05Unlock top part of the fault handler.Martin Pieuchot
ok kettenis@
2021-05-05Check the characters preceeding and following quotes.Mark Lumsden
2021-05-05Enable detailed reports about firmware errors in iwm(4) for the time being.Stefan Sperling
I am getting reports about firmware errors which may be related to Tx agg.
2021-05-05riscv64 binutils 'support'Dale Rahn
Enable just enough of binutils to be a functional compilation system with llvm doing the heavy lifting. With corrections suggested by reviewers. ok jsg@ kettenis@
2021-05-05Fix backtrace command with kernel core.asou
ok mpi@
2011-04-24Here comes the easter bunnytils 2.17 (the last version released against aMiod Vallat
licence mere mortals can understand the terms of); will be connected to the build on an arch-by-arch basis. Testsuites and generated files have been intentionnaly omitted from this import. Peer pressure and ok from at least drahn@ pirofti@ deraadt@
2021-05-05riscv: Assert that SUM is not set in SSTATUS for exceptions.Jonathan Gray
From John Baldwin 6a3a6fe34bf36b6e745b3e9ad1a991de057729c7 in FreeBSD ok kettenis@ mlarkin@
2021-05-05riscv: Clear SUM in SSTATUS for supervisor mode exceptions.Jonathan Gray
From John Baldwin 753bcca440a4d2c95f48536b586131b84c0bb87e in FreeBSD ok kettenis@ mlarkin@
2021-05-05rename trap.S exception.S and trap_machdep.c trap.c to match other archsJonathan Gray
ok kettenis@
2021-05-05Add Radxa Rock Pi N10.Kurt Miller
2021-05-04Don't pass NULL as a string in debugging as it does not work on someDarren Tucker
platforms in -portable. ok djm@
2021-05-04Reorder the integer sysctl functions. Then the traditional 4.4BSDAlexander Bluhm
comment 'As above...' makes sense again. Improve comments for sysctl_int_bounded() and sysctl_bounded_arr(). OK gnezdo@ mvs@
2021-05-04shell scripts should use getopts instead of getoptChristian Weisgerber
Add a prominent deprecation notice to getopt.1. Add examples of the getopts idiom to sh.1 and ksh.1. Requested by and ok espie@, ok jmc@
2021-05-04As the unbouded feature in sysctl_int_bounded() is no longer used,Alexander Bluhm
remove it. This also fixes a defective check of the dynamic boundary in sysctl_sysvshm(). OK mvs@ gnezdo@
2021-05-04sigpending(2) will never fail. Optimize the syscall stub accordingly likeMark Kettenis
we do on other architectures. ok mpi@
2021-05-04Rename shutdown_all() to shutdown_peers() for consistency.Theo Buehler
2021-05-04syscalls.c, init_sysent.c, syscall.h, syscallargs.h: regencheloha
Regen after unlocking getitimer(2) and setitimer(2). ok anton@, mpi@
2021-05-04getitimer(2), setitimer(2): unlock syscallscheloha
With the changes in kern_time.c v1.150, neither getitimer(2) nor setitimer(2) need the kernel lock anymore. ok anton@, mpi@
2021-05-04The clock on RISC-V is architectural, so we really don't need theMark Kettenis
whole abstraction layer to support multiple timers. And we don't really need a separate driver. Replace timer(4) with code based on the powerpc64 implementation of the randomized statclock code. Fixes hangs seen on real hardware. ok jsg@, drahn@
2021-05-04Fix 2nd and 3rd arguments' cast in atomic_cas_ptr().Kenji Aoyama
This fixes compile errors (actually warnings) on m88k in sys/net/pf.c revision 1.1116 changes. Diff from Miod Vallat, tested on GENERIC and GENERIC.MP by me.
2021-05-04Create memory pressure in test. Allocate heap and stack in childAlexander Bluhm
processes and threads. Then exit has more work to do.
2021-05-04Add a boot hart ID check in the function that matches secondary CPUsMark Kettenis
as well. ok jsg@
2021-05-04gzread(3) doesn't always set errno, so use gzerror(3)dv
Compression errors from libz don't set errno. OK mlarkin@
2021-05-04Move unused task queue stuff to the attic.dv
Was added about 4 years ago, but hasn't been used and linked into the build. Discussed with dlg@ and mlarkin@. mlarkin@: "Let's remove for now..."
2021-05-04Init debug logging state before attempting to log.dv
Error messages related to bad configuration were not flushing to stderr. OK mlarkin@
2021-05-04okay, prevent pkg_* from looking into /usr/local BUT special-case quirksMarc Espie
2021-05-04Initialize `ipsec_policy_pool' within pfkey_init() instead of doing thatmvs
in runtime within pfkeyv2_send(). Also set it's interrupt protection level to IPL_SOFTNET. ok bluhm@ mpi@
2021-05-04Remove unused `spd_tables' declaration.mvs
ok bluhm@ mpi@
2021-05-04More comment changes to reflect reality. No functional change.Claudio Jeker
2021-05-04Update comment to match reality.Claudio Jeker
2021-05-04not yet, need to figure out how to fix quirks firstMarc Espie
2021-05-04and do the same thing to pkg_mklocatedbMarc Espie
2021-05-04prevent the base pkg tools from looking under /usr/localMarc Espie
2021-05-04Similar to rsync repo delay deletes for rrdp repos to after processingClaudio Jeker
all files. Now RRDP has a weak sync mechanism and therefor not all unreferenced files can be removed, instead look at the list of removes which were part of the delta processing and remove those files. Warn and keep the file if a delta specifies to remove a file which is actually still referenced. OK benno@
2021-05-04Check that fdt hart id matches boot hart id before associating an fdtJonathan Gray
node with the primary cpu. Prompted by the polarfire icicle where hart 0 is an mmuless e51 core. ok drahn@ mlarkin@
2021-05-04Remove cerror dependancy from riscv64 asm syscalls.Dale Rahn
Directly update cerror as offset of thread pointer, with optimizations on error brnaching ok kettenis@
2021-05-04riscv64 brk()/sbrk() implementations,Dale Rahn
based off a combination of aarch64/powerpc64 ok kettenis@
2021-05-03Use limits.h instead of sys/limits.h in dtlstest.c for portableKinichiro Inoguchi
discussed and input from jsing@
2021-05-03Modify regress ssl_get_shared_ciphers for portableKinichiro Inoguchi
- Split out the intermediate path (../certs/) to Makefile - Change 'shutdown' to 'shutdown_all' ok tb@
2021-05-03Sync changes from arm64 version.Mark Kettenis
ok patrick@
2021-05-03Hook openssl-ruby test to regress treeTheo Buehler