linux-stable/arch/riscv/include/asm
Evan Green ff77cf5b2e
RISC-V: Move struct riscv_cpuinfo to new header
In preparation for tracking and exposing microarchitectural details to
userspace (like whether or not unaligned accesses are fast), move the
riscv_cpuinfo struct out to its own new cpufeatures.h header. It will
need to be used by more than just cpu.c.

Signed-off-by: Evan Green <evan@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Tested-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Link: https://lore.kernel.org/r/20230407231103.2622178-2-evan@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2023-04-18 15:48:03 -07:00
..
vdso riscv: cpu_relax: switch to riscv_has_extension_likely() 2023-01-31 23:29:43 -08:00
alternative-macros.h Merge patch series "dt-bindings: Add a cpu-capacity property for RISC-V" 2023-02-14 19:29:46 -08:00
alternative.h riscv: switch to relative alternative entries 2023-01-31 23:29:41 -08:00
asm-extable.h
asm-offsets.h
asm-prototypes.h
asm.h Merge patch series "RISC-V: Align the shadow stack" 2022-12-12 09:30:37 -08:00
atomic.h
barrier.h
bitops.h
bug.h
cache.h
cacheflush.h Merge patch series "RISC-V: Ensure Zicbom has a valid block size" 2022-12-09 19:13:01 -08:00
cacheinfo.h
clint.h
clocksource.h
cmpxchg.h
compat.h
cpu_ops_sbi.h
cpu_ops.h
cpufeature.h RISC-V: Move struct riscv_cpuinfo to new header 2023-04-18 15:48:03 -07:00
cpuidle.h
csr.h
current.h
delay.h
efi.h efi: Discover BTI support in runtime services regions 2023-02-04 09:19:02 +01:00
elf.h RISC-V: Only provide the single-letter extensions in HWCAP 2023-02-21 17:21:14 -08:00
errata_list.h Merge patch series "Remove toolchain dependencies for Zicbom" 2023-02-14 21:33:27 -08:00
extable.h
fence.h
fixmap.h
ftrace.h riscv: ftrace: Reduce the detour code size to half 2023-02-15 10:58:21 -08:00
futex.h
gdb_xml.h
gpr-num.h
hugetlb.h riscv/mm: add arch hook arch_clear_hugepage_flags 2022-12-02 11:26:02 -08:00
hwcap.h RISC-V Patches for the 6.3 Merge Window, Part 1 2023-02-25 11:14:08 -08:00
image.h
insn-def.h RISC-V: replace cbom instructions with an insn-def 2023-02-14 21:29:52 -08:00
insn.h riscv: Add header include guards to insn.h 2023-02-21 17:22:54 -08:00
io.h RISC-V: Fix MEMREMAP_WB for systems with Svpbmt 2022-12-08 15:43:58 -08:00
irq_work.h
irq.h
irqflags.h
jump_label.h riscv: jump_label: Fixup unaligned arch_static_branch function 2023-02-21 17:21:16 -08:00
kasan.h
Kbuild
kdebug.h
kexec.h RISC-V: kexec: Fix memory leak of fdt buffer 2022-12-05 10:59:51 -08:00
kfence.h
kgdb.h
kprobes.h riscv: add riscv rethook implementation 2022-12-02 13:04:05 -08:00
kvm_host.h KVM/riscv changes for 6.3 2023-02-15 12:33:28 -05:00
kvm_types.h
kvm_vcpu_fp.h
kvm_vcpu_insn.h
kvm_vcpu_pmu.h RISC-V: KVM: Support firmware events 2023-02-07 20:36:06 +05:30
kvm_vcpu_sbi.h RISC-V: KVM: Modify SBI extension handler to return SBI error code 2023-02-07 20:35:45 +05:30
kvm_vcpu_timer.h RISC-V: KVM: Fix kvm_riscv_vcpu_timer_pending() for Sstc 2022-10-21 11:52:45 +05:30
linkage.h
mmio.h
mmiowb.h
mmu_context.h
mmu.h riscv: mm: notify remote harts about mmu cache updates 2022-12-08 15:18:16 -08:00
mmzone.h
module.h riscv: module: move find_section to module.h 2023-01-31 23:29:39 -08:00
module.lds.h
numa.h
page.h mm, arch: add generic implementation of pfn_valid() for FLATMEM 2023-02-09 16:51:41 -08:00
patch.h riscv: Extend patch_text for multiple instructions 2023-02-17 21:45:30 +01:00
pci.h
perf_event.h
pgalloc.h riscv: Sync efi page table's kernel mappings before switching 2022-11-28 16:36:34 -08:00
pgtable-32.h
pgtable-64.h riscv: Fix P4D_SHIFT definition for 3-level page table mode 2022-12-12 22:38:18 -08:00
pgtable-bits.h riscv/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE 2023-02-02 22:33:09 -08:00
pgtable.h RISC-V Patches for the 6.3 Merge Window, Part 1 2023-02-25 11:14:08 -08:00
probes.h
processor.h
ptdump.h
ptrace.h
sbi.h RISC-V: Improve SBI PMU extension related definitions 2023-02-07 20:35:36 +05:30
seccomp.h
sections.h
semihost.h riscv: Implement semihost.h for earlycon semihost driver 2023-01-19 14:58:19 +01:00
set_memory.h
signal32.h
signal.h RISC-V: Fix do_notify_resume / do_work_pending prototype 2023-01-24 22:13:15 -08:00
smp.h riscv: kexec: Fixup crash_smp_send_stop without multi cores 2022-11-29 21:50:59 -08:00
soc.h
sparsemem.h
stackprotector.h stackprotector: actually use get_random_canary() 2022-11-18 02:18:10 +01:00
stacktrace.h
string.h RISC-V: add infrastructure to allow different str* implementations 2023-01-31 11:43:23 -08:00
suspend.h
switch_to.h riscv: fpu: switch has_fpu() to riscv_has_extension_likely() 2023-01-31 23:29:38 -08:00
syscall.h
thread_info.h RISC-V: add a spin_shadow_stack declaration 2023-02-22 06:48:30 -08:00
timex.h
tlb.h
tlbflush.h riscv: mm: notify remote harts about mmu cache updates 2022-12-08 15:18:16 -08:00
uaccess.h riscv: uaccess: fix type of 0 variable on error in get_user() 2023-01-05 12:30:41 -08:00
unistd.h
uprobes.h
vdso.h riscv: alternative: patch alternatives in the vDSO 2023-01-31 23:29:42 -08:00
vendorid_list.h
vermagic.h
vmalloc.h riscv: Enable HAVE_ARCH_HUGE_VMAP for 64BIT 2022-10-28 17:10:01 -07:00
word-at-a-time.h
xip_fixup.h