mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hanjun Guo <guohanjun@huawei.com>
To: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>,
	<lorenzo.pieralisi@arm.com>, <robin.murphy@arm.com>
Cc: <andrew.murray@arm.com>, <jean-philippe.brucker@arm.com>,
	<will.deacon@arm.com>, <mark.rutland@arm.com>,
	<john.garry@huawei.com>, <pabba@codeaurora.org>,
	<vkilari@codeaurora.org>, <rruigrok@codeaurora.org>,
	<linux-acpi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>, <linuxarm@huawei.com>,
	<neil.m.leeder@gmail.com>
Subject: Re: [PATCH v6 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk
Date: Thu, 14 Feb 2019 15:29:41 +0800	[thread overview]
Message-ID: <91fa1e08-a905-90a9-3577-fa3486bb951f@huawei.com> (raw)
In-Reply-To: <20190204121324.11460-5-shameerali.kolothum.thodi@huawei.com>

On 2019/2/4 20:13, Shameer Kolothum wrote:
> HiSilicon erratum 162001800 describes the limitation of
> SMMUv3 PMCG implementation on HiSilicon Hip08 platforms.
> 
> On these platforms, the PMCG event counter registers
> (SMMU_PMCG_EVCNTRn) are read only and as a result it
> is not possible to set the initial counter period value
> on event monitor start.
> 
> To work around this, the current value of the counter
> is read and used for delta calculations. OEM information
> from ACPI header is used to identify the affected hardware
> platforms.
> 
> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> ---
>  drivers/acpi/arm64/iort.c     | 16 ++++++++++++++-
>  drivers/perf/arm_smmuv3_pmu.c | 48 ++++++++++++++++++++++++++++++++++++-------
>  include/linux/acpi_iort.h     |  1 +
>  3 files changed, 57 insertions(+), 8 deletions(-)

For this patch,

Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>

Thanks
Hanjun


  reply	other threads:[~2019-02-14  7:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-04 12:13 [PATCH v6 0/4] arm64 SMMUv3 PMU driver with IORT support Shameer Kolothum
2019-02-04 12:13 ` [PATCH v6 1/4] acpi: arm64: add iort support for PMCG Shameer Kolothum
2019-02-15 11:39   ` Lorenzo Pieralisi
2019-02-18  9:57     ` Shameerali Kolothum Thodi
2019-02-15 11:52   ` Lorenzo Pieralisi
2019-02-04 12:13 ` [PATCH v6 2/4] perf: add arm64 smmuv3 pmu driver Shameer Kolothum
2019-03-21 15:03   ` Robin Murphy
2019-03-25  9:14     ` Shameerali Kolothum Thodi
2019-02-04 12:13 ` [PATCH v6 3/4] perf/smmuv3: Add MSI irq support Shameer Kolothum
2019-02-04 12:13 ` [PATCH v6 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk Shameer Kolothum
2019-02-14  7:29   ` Hanjun Guo [this message]
2019-03-21 12:36   ` Robin Murphy

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=91fa1e08-a905-90a9-3577-fa3486bb951f@huawei.com \
    --to=guohanjun@huawei.com \
    --cc=andrew.murray@arm.com \
    --cc=jean-philippe.brucker@arm.com \
    --cc=john.garry@huawei.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=neil.m.leeder@gmail.com \
    --cc=pabba@codeaurora.org \
    --cc=robin.murphy@arm.com \
    --cc=rruigrok@codeaurora.org \
    --cc=shameerali.kolothum.thodi@huawei.com \
    --cc=vkilari@codeaurora.org \
    --cc=will.deacon@arm.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

all inboxes | Powered by JetHome®