diff options
| author | Chen Pei <cp0613@linux.alibaba.com> | 2025-11-14 15:12:15 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-01 11:45:54 +0100 |
| commit | 6db49f6a2e80c2f1065e26c5c27f588e8749c141 (patch) | |
| tree | 6739c03875c379595cce132e42af2d6dcfd57ebc /drivers/perf | |
| parent | 6c8a8b9257a660e622689e23c8fbad4ba2b561b9 (diff) | |
| download | linux-6db49f6a2e80c2f1065e26c5c27f588e8749c141.tar.gz linux-6db49f6a2e80c2f1065e26c5c27f588e8749c141.tar.bz2 linux-6db49f6a2e80c2f1065e26c5c27f588e8749c141.zip | |
tools: riscv: Fixed misalignment of CSR related definitions
[ Upstream commit e2cb69263e797c0aa6676bcef23e9e27e44c83b0 ]
The file tools/arch/riscv/include/asm/csr.h borrows from
arch/riscv/include/asm/csr.h, and subsequent modifications
related to CSR should maintain consistency.
Signed-off-by: Chen Pei <cp0613@linux.alibaba.com>
Link: https://patch.msgid.link/20251114071215.816-1-cp0613@linux.alibaba.com
[pjw@kernel.org: dropped Fixes: lines for patches that weren't broken; removed superfluous blank line]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/perf')
| -rw-r--r-- | drivers/perf/riscv_pmu_sbi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c index 698de8ddf895..824209f0a364 100644 --- a/drivers/perf/riscv_pmu_sbi.c +++ b/drivers/perf/riscv_pmu_sbi.c @@ -1019,7 +1019,7 @@ static irqreturn_t pmu_sbi_ovf_handler(int irq, void *dev) /* compute hardware counter index */ hidx = info->csr - CSR_CYCLE; - /* check if the corresponding bit is set in sscountovf or overflow mask in shmem */ + /* check if the corresponding bit is set in scountovf or overflow mask in shmem */ if (!(overflow & BIT(hidx))) continue; |
