mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 22:05:24 +07:00
178e9fc47a
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>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
generic-y += bugs.h
|
|
generic-y += cacheflush.h
|
|
generic-y += checksum.h
|
|
generic-y += cputime.h
|
|
generic-y += device.h
|
|
generic-y += div64.h
|
|
generic-y += dma.h
|
|
generic-y += dma-contiguous.h
|
|
generic-y += dma-mapping.h
|
|
generic-y += emergency-restart.h
|
|
generic-y += errno.h
|
|
generic-y += exec.h
|
|
generic-y += fb.h
|
|
generic-y += fcntl.h
|
|
generic-y += futex.h
|
|
generic-y += hardirq.h
|
|
generic-y += hash.h
|
|
generic-y += hw_irq.h
|
|
generic-y += ioctl.h
|
|
generic-y += ioctls.h
|
|
generic-y += ipcbuf.h
|
|
generic-y += irq_regs.h
|
|
generic-y += irq_work.h
|
|
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
|
|
generic-y += msgbuf.h
|
|
generic-y += mutex.h
|
|
generic-y += param.h
|
|
generic-y += percpu.h
|
|
generic-y += poll.h
|
|
generic-y += posix_types.h
|
|
generic-y += preempt.h
|
|
generic-y += resource.h
|
|
generic-y += scatterlist.h
|
|
generic-y += sections.h
|
|
generic-y += sembuf.h
|
|
generic-y += serial.h
|
|
generic-y += setup.h
|
|
generic-y += shmbuf.h
|
|
generic-y += shmparam.h
|
|
generic-y += signal.h
|
|
generic-y += socket.h
|
|
generic-y += sockios.h
|
|
generic-y += stat.h
|
|
generic-y += statfs.h
|
|
generic-y += swab.h
|
|
generic-y += termbits.h
|
|
generic-y += termios.h
|
|
generic-y += topology.h
|
|
generic-y += trace_clock.h
|
|
generic-y += types.h
|
|
generic-y += unaligned.h
|
|
generic-y += user.h
|
|
generic-y += vga.h
|
|
generic-y += vmlinux.lds.h
|
|
generic-y += xor.h
|