summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/Kbuild
diff options
context:
space:
mode:
authorAlan Kao <alankao@andestech.com>2018-04-20 02:27:49 +0300
committerPalmer Dabbelt <palmer@sifive.com>2018-06-05 00:02:01 +0300
commit178e9fc47aaec1b8952b553444e94802d7570599 (patch)
treeefa3bc88ef7dfdad550960dc9413ebdcda32727d /arch/riscv/include/asm/Kbuild
parent29dcea88779c856c7dc92040a0c01233263101d4 (diff)
downloadlinux-178e9fc47aaec1b8952b553444e94802d7570599.tar.xz
perf: riscv: preliminary RISC-V support
This patch provide a basic PMU, riscv_base_pmu, which supports two general hardware event, instructions and cycles. Furthermore, this PMU serves as a reference implementation to ease the portings in the future. riscv_base_pmu should be able to run on any RISC-V machine that conforms to the Priv-Spec. Note that the latest qemu model hasn't fully support a proper behavior of Priv-Spec 1.10 yet, but work around should be easy with very small fixes. Please check https://github.com/riscv/riscv-qemu/pull/115 for future updates. Cc: Nick Hu <nickhu@andestech.com> Cc: Greentime Hu <greentime@andestech.com> Signed-off-by: Alan Kao <alankao@andestech.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/Kbuild')
-rw-r--r--arch/riscv/include/asm/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/Kbuild b/arch/riscv/include/asm/Kbuild
index 4286a5f83876..576ffdca06ba 100644
--- a/arch/riscv/include/asm/Kbuild
+++ b/arch/riscv/include/asm/Kbuild
@@ -25,6 +25,7 @@ generic-y += kdebug.h
generic-y += kmap_types.h
generic-y += kvm_para.h
generic-y += local.h
+generic-y += local64.h
generic-y += mm-arch-hooks.h
generic-y += mman.h
generic-y += module.h