public inbox for iommu@lists.linux-foundation.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Lv Zheng <lv.zheng@spacemit.com>,
	Robin Murphy <robin.murphy@arm.com>,
	Tomasz Jeznach <tjeznach@rivosinc.com>
Cc: Jingyu Li <joey.li@spacemit.com>,
	Zhijian Chen <zhijian@spacemit.com>,
	iommu@lists.linux.dev
Subject: Re: [PATCH 5/6] spacemit/t100: Add global filter support for RISC-V IOMMU HPM
Date: Wed, 28 Jan 2026 08:46:53 +0100	[thread overview]
Message-ID: <b169f461-ee74-4592-9d2a-b25a1478e135@kernel.org> (raw)
In-Reply-To: <aef97d98028a9e9a26de844990debfc0b414c2dd.1769562575.git.lv.zheng@spacemit.com>

On 28/01/2026 03:25, Lv Zheng wrote:
> This patch introduces global filter support for RISC-V IOMMU HPM. The

Please do not use "This commit/patch/change", but imperative mood. See
longer explanation here:
https://elixir.bootlin.com/linux/v6.16/source/Documentation/process/submitting-patches.rst#L94

> global filter can be seen in SpacemiT T100 which only supports single
> filter to be applied to all event counters. This silicon design can save
> the number of the event bus signals.
> 
> Signed-off-by: Lv Zheng <lv.zheng@spacemit.com>
> Signed-off-by: Jingyu Li <joey.li@spacemit.com>
> ---
>  .../bindings/iommu/riscv,iommu.yaml           |  2 +
>  drivers/iommu/riscv/iommu-hpm.c               | 93 +++++++++++++++++--
>  drivers/iommu/riscv/iommu.h                   |  1 +
>  3 files changed, 89 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/iommu/riscv,iommu.yaml b/Documentation/devicetree/bindings/iommu/riscv,iommu.yaml
> index b69109362b20..ec5b84ff5afb 100644
> --- a/Documentation/devicetree/bindings/iommu/riscv,iommu.yaml
> +++ b/Documentation/devicetree/bindings/iommu/riscv,iommu.yaml
> @@ -72,6 +72,8 @@ properties:
>      minItems: 1
>      maxItems: 120
>  
> +  global-filter: true

NAK, absolutely pointless and wrong code. I am not providing you full
review because you did not bother to follow basic steps required from
you, so essentially you waste our time.

Please run scripts/checkpatch.pl on the patches and fix reported
warnings. After that, run also 'scripts/checkpatch.pl --strict' on the
patches and (probably) fix more warnings. Some warnings can be ignored,
especially from --strict run, but the code here looks like it needs a
fix. Feel free to get in touch if the warning is not clear.

Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC (and consider --no-git-fallback argument, so you will
not CC people just because they made one commit years ago). It might
happen, that command when run on an older kernel, gives you outdated
entries. Therefore please be sure you base your patches on recent Linux
kernel.

Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.


Best regards,
Krzysztof

  reply	other threads:[~2026-01-28  7:46 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-28  2:24 [PATCH 0/6] iommu/riscv: Add HPM support for RISC-V IOMMU Lv Zheng
2026-01-28  2:24 ` [PATCH 1/6] iommu/riscv: Enable IOMMU DMA mapping support Lv Zheng
2026-01-28  2:24 ` [PATCH 2/6] iommu/riscv: Fix WSI mode IRQ number handling Lv Zheng
2026-01-28  2:24 ` [PATCH 3/6] iommu/riscv: Add HPM support for performance monitoring Lv Zheng
2026-01-28  2:24 ` [PATCH 4/6] spacemit/t100: Add vendor event support for RISC-V IOMMU HPM Lv Zheng
2026-01-28  7:45   ` Krzysztof Kozlowski
2026-01-28  8:24     ` 郑律
2026-01-28  2:25 ` [PATCH 5/6] spacemit/t100: Add global filter " Lv Zheng
2026-01-28  7:46   ` Krzysztof Kozlowski [this message]
2026-01-28  8:23     ` 郑律
2026-01-28  2:25 ` [PATCH 6/6] spacemit/t100: Add SpacemiT T100 IOATC HPM support Lv Zheng
2026-01-29  6:08 ` [PATCH v1.1 0/7] iommu/riscv: Add HPM support for RISC-V IOMMU Lv Zheng
2026-01-29  6:08   ` [PATCH v1.1 1/7] iommu/riscv: Enable IOMMU DMA mapping support Lv Zheng
2026-01-29  6:08   ` [PATCH v1.1 2/7] iommu/riscv: Fix WSI mode IRQ number handling Lv Zheng
2026-01-29  6:08   ` [PATCH v1.1 3/7] iommu/riscv: Add HPM support for performance monitoring Lv Zheng
2026-01-29  6:09   ` [PATCH v1.1 4/7] dt-bindings: iommu: Add spacemit/t100 features Lv Zheng
2026-01-29 10:08     ` Conor Dooley
2026-01-29 10:43       ` 郑律
2026-01-29 16:41         ` Conor Dooley
2026-01-29 17:06           ` Robin Murphy
2026-01-30  1:30             ` 郑律
2026-01-30  1:39           ` 郑律
2026-01-29  6:09   ` [PATCH v1.1 5/7] spacemit/t100: Add vendor event support for RISC-V IOMMU HPM Lv Zheng
2026-01-29  6:09   ` [PATCH v1.1 6/7] spacemit/t100: Add global filter " Lv Zheng
2026-01-29  6:09   ` [PATCH v1.1 7/7] spacemit/t100: Add SpacemiT T100 IOATC HPM support Lv Zheng
2026-02-06 10:44   ` [PATCH v1.1 0/7] iommu/riscv: Add HPM support for RISC-V IOMMU Krzysztof Kozlowski
2026-02-04  9:08 ` [PATCH v3 0/8] " Lv Zheng
2026-02-06 10:44   ` Krzysztof Kozlowski
2026-02-07  3:41     ` Lv Zheng
2026-02-13 22:21       ` Yixun Lan
2026-02-27  5:55         ` Lv Zheng
     [not found] ` <cover.1770195980.git.lv.zheng@linux.spacemit.com>
2026-02-04  9:08   ` [PATCH v3 1/8] iommu/riscv: Enable IOMMU DMA mapping support Lv Zheng
2026-02-04  9:08   ` [PATCH v3 2/8] iommu/riscv: Fix WSI mode IRQ number handling Lv Zheng
2026-02-04 17:20     ` Andrew Jones
2026-02-05  3:52       ` Lv Zheng
2026-02-05 15:04         ` Andrew Jones
2026-02-06  1:36           ` Lv Zheng
2026-02-04  9:09   ` [PATCH v3 3/8] iommu/riscv: Add HPM support for performance monitoring Lv Zheng
2026-02-04 18:39     ` Andrew Jones
2026-02-05  2:11       ` Zong Li
2026-02-05  3:35       ` Lv Zheng
2026-02-05  3:47         ` Zong Li
2026-02-05  6:11           ` Lv Zheng
2026-02-05 15:23             ` Andrew Jones
2026-02-06  3:42               ` Lv Zheng
2026-02-06 15:09                 ` Andrew Jones
2026-02-07  2:11                   ` Zong Li
2026-02-04  9:09   ` [PATCH v3 4/8] dt-bindings: iommu: Add spacemit/t100 features Lv Zheng
2026-02-04 17:37     ` Conor Dooley
2026-02-05  3:11       ` Lv Zheng
2026-02-05 18:24         ` Conor Dooley
2026-02-06  1:33           ` Lv Zheng
2026-02-06 10:24             ` Conor Dooley
2026-02-07  4:24               ` Lv Zheng
2026-02-07 14:55                 ` Conor Dooley
2026-02-04  9:09   ` [PATCH v3 5/8] riscv/iommu: Add vendor event support for RISC-V IOMMU HPM Lv Zheng
2026-02-04  9:09   ` [PATCH v3 6/8] spacemit/t100: Add global filter awareness " Lv Zheng
2026-02-04  9:09   ` [PATCH v3 7/8] spacemit/t100: Add SpacemiT T100 IOATC HPM support Lv Zheng
2026-02-04  9:09   ` [PATCH v3 8/8] perf vendor events riscv:: Add support for spacemit,riscv-iommu HPM aliasing Lv Zheng
2026-02-04 17:38     ` Conor Dooley
2026-02-05  3:22       ` Lv Zheng
2026-02-05  9:09 ` [PATCH v4 0/7] iommu/riscv: Add HPM support for RISC-V IOMMU Lv Zheng
2026-02-06 10:46   ` Krzysztof Kozlowski
2026-02-07  3:54     ` Lv Zheng
     [not found] ` <cover.1770281596.git.lv.zheng@linux.spacemit.com>
2026-02-05  9:10   ` [PATCH v4 1/7] iommu/riscv: Enable IOMMU DMA mapping support Lv Zheng
2026-02-05  9:10   ` [PATCH v4 2/7] iommu/riscv: Add HPM support for performance monitoring Lv Zheng
2026-02-05  9:10   ` [PATCH v4 3/7] dt-bindings: iommu: Add spacemit/t100 features Lv Zheng
2026-02-05 18:26     ` Conor Dooley
2026-02-06  3:44       ` Lv Zheng
2026-02-05  9:10   ` [PATCH v4 4/7] iommu/riscv: Add vendor event support for RISC-V IOMMU HPM Lv Zheng
2026-02-05  9:11   ` [PATCH v4 5/7] spacemit/t100: Add global filter awareness " Lv Zheng
2026-02-05  9:11   ` [PATCH v4 6/7] spacemit/t100: Add SpacemiT T100 IOATC HPM support Lv Zheng
2026-02-05  9:11   ` [PATCH v4 7/7] perf vendor events riscv:: Add support for spacemit,riscv-iommu HPM aliasing Lv Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b169f461-ee74-4592-9d2a-b25a1478e135@kernel.org \
    --to=krzk@kernel.org \
    --cc=iommu@lists.linux.dev \
    --cc=joey.li@spacemit.com \
    --cc=lv.zheng@spacemit.com \
    --cc=robin.murphy@arm.com \
    --cc=tjeznach@rivosinc.com \
    --cc=zhijian@spacemit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox