All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
To: Yicong Yang <yangyicong@huawei.com>
Cc: <will@kernel.org>, <mark.rutland@arm.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<yangyicong@hisilicon.com>, <hejunhao3@huawei.com>,
	<linuxarm@huawei.com>, <wangyushan12@huawei.com>
Subject: Re: [PATCH 2/3] drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
Date: Thu, 29 Aug 2024 14:42:52 +0100	[thread overview]
Message-ID: <20240829144252.00000103@Huawei.com> (raw)
In-Reply-To: <20240829090332.28756-3-yangyicong@huawei.com>

On Thu, 29 Aug 2024 17:03:31 +0800
Yicong Yang <yangyicong@huawei.com> wrote:

> From: Yicong Yang <yangyicong@hisilicon.com>
> 
> We make the initial value of event ctrl register as HISI_PCIE_INIT_SET
> and modify according to the user options. This will make TLP headers
> bandwidth only counting never take effect since HISI_PCIE_INIT_SET
> configures to count the TLP payloads bandwidth. Fix this by making
> the initial value of event ctrl register as 0.
> 
> Fixes: 17d573984d4d ("drivers/perf: hisi: Add TLP filter support")
> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>


  reply	other threads:[~2024-08-29 13:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-29  9:03 [PATCH 0/3] Some updates for HiSilicon PCIe PMU Yicong Yang
2024-08-29  9:03 ` [PATCH 1/3] drivers/perf: hisi_pcie: Record hardware counts correctly Yicong Yang
2024-08-29 13:41   ` Jonathan Cameron
2024-08-29  9:03 ` [PATCH 2/3] drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting Yicong Yang
2024-08-29 13:42   ` Jonathan Cameron [this message]
2024-08-29  9:03 ` [PATCH 3/3] drivers/perf: hisi_pcie: Export supported Root Ports [bdf_min, bdf_max] Yicong Yang
2024-08-29 13:43   ` Jonathan Cameron
2024-08-30 16:12 ` [PATCH 0/3] Some updates for HiSilicon PCIe PMU Will Deacon

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=20240829144252.00000103@Huawei.com \
    --to=jonathan.cameron@huawei.com \
    --cc=hejunhao3@huawei.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linuxarm@huawei.com \
    --cc=mark.rutland@arm.com \
    --cc=wangyushan12@huawei.com \
    --cc=will@kernel.org \
    --cc=yangyicong@hisilicon.com \
    --cc=yangyicong@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.