[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240702033731.71955-1-cuiyunhui@bytedance.com>
Date: Tue, 2 Jul 2024 11:37:30 +0800
From: Yunhui Cui <cuiyunhui@...edance.com>
To: punit.agrawal@...edance.com,
sunilvl@...tanamicro.com,
jesse@...osinc.com,
jrtc27@...c27.com,
corbet@....net,
paul.walmsley@...ive.com,
palmer@...belt.com,
aou@...s.berkeley.edu,
cleger@...osinc.com,
evan@...osinc.com,
conor.dooley@...rochip.com,
cuiyunhui@...edance.com,
costa.shul@...hat.com,
andy.chiu@...ive.com,
samitolvanen@...gle.com,
linux-doc@...r.kernel.org,
linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v4 0/1] Provide the frequency of time CSR via hwprobe
Some applications (e.g., DPDK) use the time counter for basic performance
analysis as well as fine grained time-keeping. So we need export the time CSR
frequency to userspace by hwporbe syscall.
Changes:
v1->v2:
Modify "mtime" to "time CSR".
v2->v3:
Rebase "RISCV_HWPROBE_MAX_KEY 7" to "RISCV_HWPROBE_MAX_KEY 8" from
Jesse.
v3->v4:
1. Update the commit log from Punit.
2. Because RISCV_HWPROBE_MAX_KEY in
https://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux.git/tree/arch/riscv/include/asm/hwprobe.h?h=for-next is 6,
so keep RISCV_HWPROBE_MAX_KEY to 7
Palmer Dabbelt (1):
RISC-V: Provide the frequency of time CSR via hwprobe
Documentation/arch/riscv/hwprobe.rst | 2 ++
arch/riscv/include/asm/hwprobe.h | 2 +-
arch/riscv/include/uapi/asm/hwprobe.h | 1 +
arch/riscv/kernel/sys_hwprobe.c | 5 +++++
4 files changed, 9 insertions(+), 1 deletion(-)
--
2.20.1
Powered by blists - more mailing lists