mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-10-17 01:06:55 +10:00
Evan Green <evan@rivosinc.com> says: This change detects the presence of Zba, Zbb, and Zbs extensions and exports them per-hart to userspace via the hwprobe mechanism. Glibc can then use these in setting up hwcaps-based library search paths. There's a little bit of extra housekeeping here: the first change adds Zba and Zbs to the set of extensions the kernel recognizes, and the second change starts tracking ISA features per-hart (in addition to the ANDed mask of features across all harts which the kernel uses to make decisions). Now that we track the ISA information per-hart, we could even fix up /proc/cpuinfo to accurately report extension per-hart, though I've left that out of this series for now. * b4-shazam-merge: RISC-V: hwprobe: Expose Zba, Zbb, and Zbs RISC-V: Track ISA extensions per hart RISC-V: Add Zba, Zbs extension probing Link: https://lore.kernel.org/r/20230509182504.2997252-1-evan@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> |
||
---|---|---|
.. | ||
vdso | ||
acenv.h | ||
acpi.h | ||
alternative-macros.h | ||
alternative.h | ||
asm-extable.h | ||
asm-offsets.h | ||
asm-prototypes.h | ||
asm.h | ||
assembler.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
bug.h | ||
cache.h | ||
cacheflush.h | ||
cacheinfo.h | ||
clint.h | ||
clocksource.h | ||
cmpxchg.h | ||
compat.h | ||
cpu_ops_sbi.h | ||
cpu_ops.h | ||
cpu.h | ||
cpufeature.h | ||
cpuidle.h | ||
csr.h | ||
current.h | ||
delay.h | ||
efi.h | ||
elf.h | ||
entry-common.h | ||
errata_list.h | ||
extable.h | ||
fence.h | ||
fixmap.h | ||
ftrace.h | ||
futex.h | ||
gdb_xml.h | ||
gpr-num.h | ||
hugetlb.h | ||
hwcap.h | ||
hwprobe.h | ||
image.h | ||
insn-def.h | ||
insn.h | ||
io.h | ||
irq_work.h | ||
irq.h | ||
irqflags.h | ||
jump_label.h | ||
kasan.h | ||
Kbuild | ||
kdebug.h | ||
kexec.h | ||
kfence.h | ||
kgdb.h | ||
kprobes.h | ||
kvm_aia.h | ||
kvm_host.h | ||
kvm_types.h | ||
kvm_vcpu_fp.h | ||
kvm_vcpu_insn.h | ||
kvm_vcpu_pmu.h | ||
kvm_vcpu_sbi.h | ||
kvm_vcpu_timer.h | ||
kvm_vcpu_vector.h | ||
linkage.h | ||
mmio.h | ||
mmiowb.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
module.h | ||
module.lds.h | ||
numa.h | ||
page.h | ||
patch.h | ||
pci.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable-32.h | ||
pgtable-64.h | ||
pgtable-bits.h | ||
pgtable.h | ||
probes.h | ||
processor.h | ||
ptdump.h | ||
ptrace.h | ||
sbi.h | ||
seccomp.h | ||
sections.h | ||
semihost.h | ||
set_memory.h | ||
signal32.h | ||
signal.h | ||
smp.h | ||
soc.h | ||
sparsemem.h | ||
stackprotector.h | ||
stacktrace.h | ||
string.h | ||
suspend.h | ||
switch_to.h | ||
syscall.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
uaccess.h | ||
unistd.h | ||
uprobes.h | ||
vdso.h | ||
vector.h | ||
vendorid_list.h | ||
vermagic.h | ||
vmalloc.h | ||
word-at-a-time.h | ||
xip_fixup.h |