freebsd-dev/sys
Kyle Evans 866beaa0aa psci: set psci_present as early as possible
psci_attach is way too late to provide the intended semantics for
psci_present.  psci calls can be made immediately after psci_init(),
called way earlier at SI_SUB_CPU + SI_ORDER_FIRST, and we need it to
be valid as early as we can possibly call a psci function.

This fixes booting RPi3+4 with the in-review spintable patch;
rpi3-psci-monitor patches the FDT to add a PSCI node, but it doesn't
patch each cpus' enable-method.  Because of this, we would stall the
boot while enabling CPU 1 as we saw a valid looking enable-method and
"no" functional PSCI and attempted to use the spintable rather than
simply not starting secondary APs.

Fixes:	2218070b2c ("psci: finish psci_present implementation")
Reported by:	karels
2022-10-26 23:22:23 -05:00
..
amd64 vmm: Fix AP startup with old userspace binaries. 2022-10-26 14:22:56 -07:00
arm intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
arm64 intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
bsm
cam cam: Use FreeBSD standard copyright 2022-10-07 23:37:46 -06:00
cddl kinst: Clarify a comment in the trampoline allocator 2022-10-14 11:32:47 -04:00
compat LinuxKPI: seq_file add "private" versions. 2022-10-24 21:39:48 +00:00
conf config.mk: All options in DEFAULTS are now defined in opt_global.h 2022-10-24 12:13:04 -06:00
contrib zfs: Fix a pair of bugs in zfs_fhtovp() 2022-10-24 12:05:17 -04:00
crypto Fix the IV length in the armv8 AES GCM code 2022-09-06 13:11:04 +01:00
ddb Fix kernel build after 754cb545b6 . 2022-10-04 17:13:17 +02:00
dev psci: set psci_present as early as possible 2022-10-26 23:22:23 -05:00
dts
fs Add VV_CROSSLOCK vnode flag to avoid cross-mount lookup LOR 2022-10-26 19:33:03 -05:00
gdb
geom geom_part: Check number of GPT entries and size of GPT entry 2022-10-18 11:03:02 -04:00
gnu
i386 Add vm_page_any_valid() 2022-10-19 20:24:07 +03:00
isa Adjust function definition in isa's pnp.c to avoid clang 15 warning 2022-07-27 21:13:59 +02:00
kern vfs_lookup(): Minor performance optimizations 2022-10-26 19:33:33 -05:00
kgssapi
libkern arm: Remove unused ffs.S 2022-10-20 10:48:31 -06:00
modules dpaa2: cleanup some include files 2022-10-24 21:24:32 +00:00
net netmap(4): Fix a typo in a source code comment 2022-10-25 14:56:25 +02:00
net80211 net8021: Fix a typo in a kernel error message 2022-10-25 04:31:51 +02:00
netgraph Alter the prototype of qsort_r(3) to match POSIX, which adopted the 2022-09-30 15:26:30 -07:00
netinet netinet*: add back necessary headers 2022-10-26 08:16:44 -07:00
netinet6 netinet*: add back necessary headers 2022-10-26 08:16:44 -07:00
netipsec tcp: remove INP_TIMEWAIT flag 2022-10-06 19:24:37 -07:00
netlink netlink: make it working without INET6 2022-10-04 14:39:49 -07:00
netpfil netpfil: Fix two typos in source code comments 2022-10-25 04:32:59 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: The use of IN_LOOPBACK() now requires a valid VNET context. 2022-09-23 13:42:03 +02:00
opencrypto opencrypto: fix null esp crypt 2022-10-25 03:24:43 +03:00
powerpc powerpc: slb_alloc_user_cache: fix missing uma_zalloc wait flag 2022-10-03 20:56:41 -03:00
riscv intrng: Remove from NOTES file 2022-10-25 10:57:29 -06:00
rpc clnt_vc.c: Replace msleep() with pause() to avoid assert panic 2022-10-14 15:46:55 -07:00
security Bump MAC_VERSION to 5 2022-10-07 15:24:32 +00:00
sys Add VV_CROSSLOCK vnode flag to avoid cross-mount lookup LOR 2022-10-26 19:33:03 -05:00
teken
tests
tools Make #if and #endif do what people expect in *_if.m 2022-10-06 14:35:31 +01:00
ufs ffs validate_sblock(): avoid 32bit mul overflow 2022-10-27 06:17:38 +03:00
vm uma: Never pass cache zones to memguard 2022-10-19 14:36:36 -04:00
x86 x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar 2022-10-25 19:00:44 +03:00
xdr
xen
Makefile