From: Yeoreum Yun <yeoreum.yun@arm.com>
To: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Cc: Yeoreum Yun <yeoreum.yun@arm.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Suzuki Poulose <suzuki.poulose@arm.com>,
Steven Price <steven.price@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
Jiri Pirko <jiri@resnulli.us>, GONG Ruiqi <gongruiqi1@huawei.com>,
Jason Gunthorpe <jgg@ziepe.ca>, Mark Brown <broonie@kernel.org>
Subject: Re: [PATCH RFC v2 1/6] firmware: arm-smccc: introduce match function
Date: Thu, 3 Dec 2026 11:36:52 +0000 [thread overview]
Message-ID: <axFUVCcD4rm66vNY@e129823.arm.com> (raw)
In-Reply-To: <20261202141704.00003432@oss.qualcomm.com>
On Wed, Dec 02, 2026 at 02:17:04PM -0800, Jonathan Cameron wrote:
> On Fri, 27 Nov 2026 15:28:31 +0000
> Yeoreum Yun <yeoreum.yun@arm.com> wrote:
>
> > Somce of protocol based on the smc is not enough to match smccc-device
> > and smccc-driver with func_id only.
> >
> > For example, firme interface will create smccc-device per service
> > and this requires to chech whether firme smccc-device is for each
> > service.
> >
> > To resolve this, add match function and match parameter for device
> > which is set at the time of smccc-device creation so that smccc-driver
> > could match proper smccc-device with match parameter and driver specific
> > match function.
> >
> > This match parameter is defined under smc func-id. IOW, devices which
> > share the func-id should have the same type for module parameter so
> > that each driver under the same func-id can check extra one with
> > match parameter type.
> That last sentence doesn't quite work. Perhaps
>
> each driver can filter first on func-id before evaluating the
> match function.
Might with below:
This match parameter is defined under smc func-id. IOW, devices which
share the func-id should have the same type for module parameter so
that each driver can filter first on func-id before evaluating the
match function with match parameter.
> >
> > Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
> Other than that this is a reasonably neat solution. Whether
> it ends up flexible enough in the long run for all the crazy stuff
> that gets added to the spec remains to be seen, but for now
> LGTM
>
> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Thanks!
--
Sincerely,
Yeoreum Yun
next prev parent reply other threads:[~2026-12-03 11:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 15:28 [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 1/6] firmware: arm-smccc: introduce match function Yeoreum Yun
2026-12-02 22:17 ` Jonathan Cameron
2026-12-03 11:36 ` Yeoreum Yun [this message]
2026-11-27 15:28 ` [PATCH RFC v2 2/6] firmware: arm_firme: introduce arm_firme Yeoreum Yun
2026-12-03 0:49 ` Jonathan Cameron
2026-11-27 15:28 ` [PATCH RFC v2 3/6] Documentation/ctlv: introduce ctlv-attestation-firme family Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 4/6] ctlv: add auto-generated files for ctlv-attestation-firme Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 5/6] attestation: providers: introduce FIRME attestation provider Yeoreum Yun
2026-12-01 19:57 ` Jonathan Cameron
2026-12-03 11:31 ` Yeoreum Yun
2026-11-27 15:28 ` [PATCH RFC v2 6/6] selftest: attestation: add firme_attestation_test selftest Yeoreum Yun
2026-12-02 22:16 ` [PATCH RFC v2 0/6] firmware: arm_firme: introduce FIRME support for host attestation Jonathan Cameron
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=axFUVCcD4rm66vNY@e129823.arm.com \
--to=yeoreum.yun@arm.com \
--cc=aneesh.kumar@kernel.org \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=gongruiqi1@huawei.com \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=jonathan.cameron@oss.qualcomm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lpieralisi@kernel.org \
--cc=sami.mujawar@arm.com \
--cc=steven.price@arm.com \
--cc=suzuki.poulose@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