* [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments
@ 2022-03-22 22:01 Palmer Dabbelt
2022-03-22 22:25 ` Randy Dunlap
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Palmer Dabbelt @ 2022-03-22 22:01 UTC (permalink / raw)
To: linux-riscv, Atish Patra
Cc: atishp, anup, Will Deacon, mark.rutland, Paul Walmsley,
Palmer Dabbelt, aou, linux-riscv, linux-arm-kernel, linux-kernel,
Palmer Dabbelt, kernel test robot
From: Palmer Dabbelt <palmer@rivosinc.com>
This will presumably trip up some tools that try to parse the comments
as kernel doc when they're not.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
--
These recently landed in for-next, but I'm trying to avoid rewriting
history as there's a lot in flight right now.
---
drivers/perf/riscv_pmu_sbi.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c
index a1317a483512..dca3537a8dcc 100644
--- a/drivers/perf/riscv_pmu_sbi.c
+++ b/drivers/perf/riscv_pmu_sbi.c
@@ -35,7 +35,7 @@ union sbi_pmu_ctr_info {
};
};
-/**
+/*
* RISC-V doesn't have hetergenous harts yet. This need to be part of
* per_cpu in case of harts with different pmu counters
*/
@@ -477,7 +477,7 @@ static int pmu_sbi_get_ctrinfo(int nctr)
static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu)
{
- /**
+ /*
* No need to check the error because we are disabling all the counters
* which may include counters that are not enabled yet.
*/
@@ -494,7 +494,7 @@ static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu)
cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0);
}
-/**
+/*
* This function starts all the used counters in two step approach.
* Any counter that did not overflow can be start in a single step
* while the overflowed counters need to be started with updated initialization
@@ -563,7 +563,7 @@ static irqreturn_t pmu_sbi_ovf_handler(int irq, void *dev)
/* Overflow status register should only be read after counter are stopped */
overflow = csr_read(CSR_SSCOUNTOVF);
- /**
+ /*
* Overflow interrupt pending bit should only be cleared after stopping
* all the counters to avoid any race condition.
*/
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments
2022-03-22 22:01 [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments Palmer Dabbelt
@ 2022-03-22 22:25 ` Randy Dunlap
2022-03-22 22:38 ` Atish Patra
2022-05-06 14:43 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2022-03-22 22:25 UTC (permalink / raw)
To: Palmer Dabbelt, linux-riscv, Atish Patra
Cc: atishp, anup, Will Deacon, mark.rutland, Paul Walmsley,
Palmer Dabbelt, aou, linux-arm-kernel, linux-kernel,
kernel test robot
On 3/22/22 15:01, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmer@rivosinc.com>
>
> This will presumably trip up some tools that try to parse the comments
> as kernel doc when they're not.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support")
> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
thanks.
>
> --
>
> These recently landed in for-next, but I'm trying to avoid rewriting
> history as there's a lot in flight right now.
> ---
> drivers/perf/riscv_pmu_sbi.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c
> index a1317a483512..dca3537a8dcc 100644
> --- a/drivers/perf/riscv_pmu_sbi.c
> +++ b/drivers/perf/riscv_pmu_sbi.c
> @@ -35,7 +35,7 @@ union sbi_pmu_ctr_info {
> };
> };
>
> -/**
> +/*
> * RISC-V doesn't have hetergenous harts yet. This need to be part of
> * per_cpu in case of harts with different pmu counters
> */
> @@ -477,7 +477,7 @@ static int pmu_sbi_get_ctrinfo(int nctr)
>
> static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu)
> {
> - /**
> + /*
> * No need to check the error because we are disabling all the counters
> * which may include counters that are not enabled yet.
> */
> @@ -494,7 +494,7 @@ static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu)
> cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0);
> }
>
> -/**
> +/*
> * This function starts all the used counters in two step approach.
> * Any counter that did not overflow can be start in a single step
> * while the overflowed counters need to be started with updated initialization
> @@ -563,7 +563,7 @@ static irqreturn_t pmu_sbi_ovf_handler(int irq, void *dev)
> /* Overflow status register should only be read after counter are stopped */
> overflow = csr_read(CSR_SSCOUNTOVF);
>
> - /**
> + /*
> * Overflow interrupt pending bit should only be cleared after stopping
> * all the counters to avoid any race condition.
> */
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments
2022-03-22 22:01 [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments Palmer Dabbelt
2022-03-22 22:25 ` Randy Dunlap
@ 2022-03-22 22:38 ` Atish Patra
2022-05-06 14:43 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Atish Patra @ 2022-03-22 22:38 UTC (permalink / raw)
To: Palmer Dabbelt
Cc: linux-riscv, Atish Patra, Anup Patel, Will Deacon, mark.rutland,
Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-arm-kernel,
linux-kernel@vger.kernel.org List, kernel test robot
On Tue, Mar 22, 2022 at 3:02 PM Palmer Dabbelt <palmer@rivosinc.com> wrote:
>
> From: Palmer Dabbelt <palmer@rivosinc.com>
>
> This will presumably trip up some tools that try to parse the comments
> as kernel doc when they're not.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support")
> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> --
>
> These recently landed in for-next, but I'm trying to avoid rewriting
> history as there's a lot in flight right now.
> ---
> drivers/perf/riscv_pmu_sbi.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/perf/riscv_pmu_sbi.c b/drivers/perf/riscv_pmu_sbi.c
> index a1317a483512..dca3537a8dcc 100644
> --- a/drivers/perf/riscv_pmu_sbi.c
> +++ b/drivers/perf/riscv_pmu_sbi.c
> @@ -35,7 +35,7 @@ union sbi_pmu_ctr_info {
> };
> };
>
> -/**
> +/*
> * RISC-V doesn't have hetergenous harts yet. This need to be part of
> * per_cpu in case of harts with different pmu counters
> */
> @@ -477,7 +477,7 @@ static int pmu_sbi_get_ctrinfo(int nctr)
>
> static inline void pmu_sbi_stop_all(struct riscv_pmu *pmu)
> {
> - /**
> + /*
> * No need to check the error because we are disabling all the counters
> * which may include counters that are not enabled yet.
> */
> @@ -494,7 +494,7 @@ static inline void pmu_sbi_stop_hw_ctrs(struct riscv_pmu *pmu)
> cpu_hw_evt->used_hw_ctrs[0], 0, 0, 0, 0);
> }
>
> -/**
> +/*
> * This function starts all the used counters in two step approach.
> * Any counter that did not overflow can be start in a single step
> * while the overflowed counters need to be started with updated initialization
> @@ -563,7 +563,7 @@ static irqreturn_t pmu_sbi_ovf_handler(int irq, void *dev)
> /* Overflow status register should only be read after counter are stopped */
> overflow = csr_read(CSR_SSCOUNTOVF);
>
> - /**
> + /*
> * Overflow interrupt pending bit should only be cleared after stopping
> * all the counters to avoid any race condition.
> */
> --
> 2.34.1
>
Sorry for the fallout on linux-next. I just realized that these came
in with the BUILD_SUCCESS subject line from lkp for me.
I was filtering those out to a separate folder and missed the
"warning" part in the subject line. I have fixed that.
Reviewed-by: Atish Patra <atishp@rivosinc.com>
--
Regards,
Atish
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments
2022-03-22 22:01 [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments Palmer Dabbelt
2022-03-22 22:25 ` Randy Dunlap
2022-03-22 22:38 ` Atish Patra
@ 2022-05-06 14:43 ` Will Deacon
2 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2022-05-06 14:43 UTC (permalink / raw)
To: Atish Patra, Palmer Dabbelt, linux-riscv
Cc: catalin.marinas, kernel-team, Will Deacon, anup,
kernel test robot, atishp, aou, linux-kernel, Paul Walmsley,
linux-arm-kernel, Palmer Dabbelt, mark.rutland
On Tue, 22 Mar 2022 15:01:47 -0700, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmer@rivosinc.com>
>
> This will presumably trip up some tools that try to parse the comments
> as kernel doc when they're not.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: 4905ec2fb7e6 ("RISC-V: Add sscofpmf extension support")
> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
>
> [...]
Applied to will (for-next/perf), thanks!
[1/1] perf: RISC-V: Remove non-kernel-doc ** comments
https://git.kernel.org/will/c/c7a9dcea8e98
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-06 14:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 22:01 [PATCH] perf: RISC-V: Remove non-kernel-doc ** comments Palmer Dabbelt
2022-03-22 22:25 ` Randy Dunlap
2022-03-22 22:38 ` Atish Patra
2022-05-06 14:43 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).