freebsd-dev/sys
Ruslan Bukin b803d0b790 Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC
from SiFive, Inc.

The first core on this SoC (hart 0) is a 64-bit microcontroller.

o Pick a hart to run boot process using hart lottery.
  This allows to exclude hart 0 from running the boot process.
  (BBL releases hart 0 after the main harts, so it never wins the lottery).
o Renumber CPUs early on boot.
  Exclude non-MMU cores. Store the original hart ID in struct pcpu. This
  allows to find out the correct destination for IPIs and remote sfence
  calls.

Thanks to SiFive, Inc for the board provided.

Reviewed by:	markj
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D20225
2019-05-12 16:17:05 +00:00
..
amd64 amd64: tidy up pagezero*/pagecopy (movq -> movl) 2019-05-12 07:11:44 +00:00
arm arm: allwinner: aw_clk_nm: Don't reparent the clock if we didn't ask 2019-05-12 15:27:01 +00:00
arm64 arm64: rockchip: Don't always put PLL to normal mode 2019-05-10 16:45:17 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Drop periph lock around cam_periph_unmapmem(). 2019-05-06 19:08:03 +00:00
cddl Add mutex_destroy() missed in r334844. 2019-04-26 19:02:21 +00:00
compat Implement linux_pci_unregister_drm_driver in linuxkpi so that drm drivers 2019-05-10 23:10:22 +00:00
conf Fix build race with machine links and genoffset.o. 2019-05-10 18:09:27 +00:00
contrib Support the use of the ipsec kld. 2019-05-11 17:59:13 +00:00
crypto Embedded chacha: Add 0-bit iv + 128-bit counter mode 2019-03-01 23:30:23 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev twsi: Calculate the clock param based on the bus frequency 2019-05-11 15:03:51 +00:00
dts arm64: Add support for NanoPI NEO2 2019-05-02 12:56:13 +00:00
fs Do not flush NFS node from NFS VOP_SET_TEXT(). 2019-05-06 08:49:43 +00:00
gdb
geom List-ify kernel dump device configuration 2019-05-06 18:24:07 +00:00
gnu dts: Import files from Linux 5.1 2019-05-08 19:27:30 +00:00
i386 x86: store pending bitmapped IPIs in per-cpu areas 2019-05-12 06:36:54 +00:00
isa
kern cache: fix a brainfart in r347505 2019-05-12 07:56:01 +00:00
kgssapi * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
libkern random(4): depessimize arc4random 2019-05-12 06:32:46 +00:00
mips tun/tap: merge and rename to tuntap 2019-05-08 02:32:11 +00:00
modules Add if_ipsec.ko symlink to ipsec.ko kernel module. 2019-05-09 18:06:11 +00:00
net tuntap: Improve style 2019-05-11 04:18:06 +00:00
net80211 net80211: correct check for SMPS node flags updates 2019-03-18 02:40:22 +00:00
netgraph Remove 'dir' argument in ng_ipfw_input, since ip_fw_args now has this info. 2019-03-14 22:30:05 +00:00
netinet netdump: Ref the interface we're attached to 2019-05-10 23:12:59 +00:00
netinet6 Apply r280991 to ip6_fragment. 2019-05-10 20:15:40 +00:00
netipsec Replace read_random(9) with more appropriate arc4rand(9) KPIs 2019-04-04 01:02:50 +00:00
netpfil Add IPv6 support for O_IPLEN opcode. 2019-04-29 09:33:16 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Add new rates to ibcore. 2019-05-08 10:55:47 +00:00
opencrypto Don't panic for empty CCM requests. 2019-04-24 23:27:39 +00:00
powerpc powerpc: Initialize the Hardware Interrupt Offset Register (HIOR) earlier for ppc970 2019-05-10 19:36:14 +00:00
riscv Add support for HiFive Unleashed -- the board with a multi-core RISC-V SoC 2019-05-12 16:17:05 +00:00
rpc Fix malloc stats for the RPCSEC_GSS server code when DEBUG is enabled. 2019-04-04 01:23:06 +00:00
security When MAC is enabled and a policy module is loaded, don't unconditionally 2019-05-03 20:38:43 +00:00
sparc64 Remove IPSEC from GENERIC due to performance issues 2019-05-09 22:38:15 +00:00
sys seqc: fix sed-introduced typos (seqcuence -> sequence) 2019-05-12 07:13:25 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools Avoid literal @generated tag in file-generating scripts 2019-05-08 13:35:51 +00:00
ufs Ensure that error is initialized in ufs_bmap_seekdata(). 2019-05-05 16:57:03 +00:00
vm A new parameter to blist_alloc specifies an upper bound on the size of 2019-05-11 16:15:13 +00:00
x86 x86: store pending bitmapped IPIs in per-cpu areas 2019-05-12 06:36:54 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile