From: Bjorn Andersson <andersson@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: arm <arm@kernel.org>,
soc@kernel.org, linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Andy Gross <agross@kernel.org>, Olof Johansson <olof@lixom.net>,
Kevin Hilman <khilman@baylibre.com>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Stephan Gerhold <stephan@gerhold.net>,
Souradeep Chowdhury <quic_schowdhu@quicinc.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Bagas Sanjaya <bagasdotme@gmail.com>,
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
Guru Das Srinagesh <quic_gurus@quicinc.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Bjorn Andersson <quic_bjorande@quicinc.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Dawei Li <set_pte_at@outlook.com>,
Loic Poulain <loic.poulain@linaro.org>,
Melody Olvera <quic_molvera@quicinc.com>,
Naman Jain <quic_namajain@quicinc.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Yang Li <yang.lee@linux.alibaba.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
coresight@lists.linaro.org,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Mike Leach <mike.leach@linaro.org>, Leo Yan <leo.yan@linaro.org>
Subject: Re: [GIT PULL] Qualcomm driver updates for v6.3
Date: Mon, 30 Jan 2023 16:24:12 -0600 [thread overview]
Message-ID: <20230130222412.t2tkkhqfep2orxf2@builder.lan> (raw)
In-Reply-To: <cdcff86c-77fe-4c5d-b8e8-58b815b9e969@app.fastmail.com>
On Mon, Jan 30, 2023 at 04:18:45PM +0100, Arnd Bergmann wrote:
> On Thu, Jan 26, 2023, at 17:30, Bjorn Andersson wrote:
> > The following changes since commit 6049aae52392539e505bfb8ccbcff3c26f1d2f0b:
> >
> > ----------------------------------------------------------------
> > Qualcomm driver updates for v6.3
> >
> > This introduces a new driver for the Data Capture and Compare block,
> > which provides a mechanism for capturing hardware state (access MMIO
> > registers) either upon request of triggered automatically e.g. upon a
> > watchdog bite, for post mortem analysis.
> >
> > The remote filesystem memory share driver gains support for having its
> > memory bound to more than a single VMID.
> >
> > The SCM driver gains the minimal support needed to support a new
> > mechanism where secure world can put calls on hold and later request
> > them to be retried.
> >
> > Support for the new SA8775P platform is added to rpmhpd, QDU1000 is
> > added to the SCM driver and a long list of platforms are added to the
> > socinfo driver. Support for socinfo data revision 16 is also introduced.
> >
> > Lastly a driver to program the ramp controller in MSM8976 is introduced.
>
> Hi Bjorn,
>
> I don't feel comfortable merging the DCC driver through drivers/soc/
> at this point: This is the first time I see the driver and it introduces
> a complex user space ABI that I have no time to review as part of the
> merge process.
>
The DCC driver has made 22 versions over the last 23 months, but now
that I look back I do agree that the recipients list has been too
limited.
Further more, due to the complexity of the ABI I steered this towards
debugfs, with the explicit mentioning that we will change the interface
if needed - in particular since not a lot of review interest has
been shown...
> I usually try to avoid adding any custom user space interfaces
> in drivers/soc, as these tend to be things that end up being
> similar to other chips and need a generic interface.
>
I have no concern with that, but I'm not able to suggest an existing
subsystem where this would fit.
> In particular I don't see an explanation about how the new interface
> relates to the established drivers/hwtracing/ subsystem and why it
> shouldn't be part of that (adding the hwtracing and coresight
> maintainers to Cc in case they have looked at this already).
>
To my knowledge the hwtracing framework is an interface for
enabling/disabling traces and then you get a stream of trace data out of
it.
With DCC you essentially write a small "program" to be run at the time
of an exception (or triggered manually). When the "program" is run it
acquire data from mmio interfaces and stores data in sram, which can
then be retrieved - possibly after the fatal reset of the system.
Perhaps I've misunderstood the hwtracing framework, please help me steer
Souradeep towards a subsystem you find suitable for this functionality.
> Can you send an updated pull request that leaves out the
> DCC driver until we have clarified these points?
>
I will send a new pull request, with the driver addition reverted. I
don't think there's anything controversial with the DT binding, so let's
keep that and the dts nodes (we can move the yaml if a better home is
found...).
Regards,
Bjorn
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-01-30 22:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 16:30 [GIT PULL] Qualcomm driver updates for v6.3 Bjorn Andersson
2023-01-30 15:18 ` Arnd Bergmann
2023-01-30 22:24 ` Bjorn Andersson [this message]
2023-02-15 15:05 ` Arnd Bergmann
2023-02-22 1:43 ` Leo Yan
2023-02-22 11:16 ` Souradeep Chowdhury
2023-02-22 12:13 ` Leo Yan
2023-02-27 12:43 ` Souradeep Chowdhury
2023-03-13 16:55 ` Trilok Soni
2023-03-23 17:41 ` Trilok Soni
2023-03-24 17:14 ` Bjorn Andersson
2023-03-24 17:26 ` Bjorn Andersson
2023-04-04 18:23 ` Arnd Bergmann
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=20230130222412.t2tkkhqfep2orxf2@builder.lan \
--to=andersson@kernel.org \
--cc=agross@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=bagasdotme@gmail.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=bryan.odonoghue@linaro.org \
--cc=coresight@lists.linaro.org \
--cc=khilman@baylibre.com \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=leo.yan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=loic.poulain@linaro.org \
--cc=mathieu.poirier@linaro.org \
--cc=mike.leach@linaro.org \
--cc=neil.armstrong@linaro.org \
--cc=olof@lixom.net \
--cc=quic_bjorande@quicinc.com \
--cc=quic_gurus@quicinc.com \
--cc=quic_molvera@quicinc.com \
--cc=quic_namajain@quicinc.com \
--cc=quic_schowdhu@quicinc.com \
--cc=set_pte_at@outlook.com \
--cc=soc@kernel.org \
--cc=stephan@gerhold.net \
--cc=suzuki.poulose@arm.com \
--cc=yang.lee@linux.alibaba.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;
as well as URLs for NNTP newsgroup(s).