On Tue, Sep 15, 2026 at 03:15:35AM -0400, Guodong Xu wrote: > Introduce a per-hart and host-wide bitmap of conformant ISA "bases" > (named profile-class sets such as IMA and RVA23U64), computed at init > time by riscv_init_isa_bases(). > > Register riscv_init_isa_bases() as an arch_initcall. That is late > enough that core_initcall(tagged_addr_init) has probed senvcfg.PMM and > populated have_user_pmlen_*; without that ordering, > riscv_have_user_pmlen(7) would still return its default false and the > RVA23U64 detection path would always bail. It is also early enough that > arch_initcall_sync(init_hwprobe_vdso_data) finds the bases populated > when it snapshots the hwprobe values into the vDSO data page. > > Consider this as the cache that subsequent consumers (hwprobe's > RVA23U64 base behavior bit, /proc/cpuinfo's "isa bases" lines, etc.) > can read without recomputing, which keeps them consistent with > each other. > > Signed-off-by: Andrew Jones > Signed-off-by: Guodong Xu Something is wrong here with the signoffs here, Drew's probably missing either authorship or a Co-developed-by tag?