Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yeoreum Yun <yeoreum.yun@arm.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
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>
Subject: Re: [PATCH RFC 0/3] firmware: arm_firme: introduce FIRME support for host attestation
Date: Tue, 20 Oct 2026 15:43:47 +0100	[thread overview]
Message-ID: <atd-I059nHAwcZFE@e129823.arm.com> (raw)
In-Reply-To: <20261020143620.GP14213@ziepe.ca>

On Tue, Oct 20, 2026 at 11:36:20AM -0300, Jason Gunthorpe wrote:
> On Tue, Oct 20, 2026 at 03:13:19PM +0100, Yeoreum Yun wrote:
> > > I wouldn't over complicated it. We already have smccc bus to do this,
> > > we don't need layered stacks of busses here. Just change smccc bus to
> > > be able to break up the multi-function SMC into several devices.
> > 
> > I think my explaination was poor. Apologise...
> > I'm not saying another bus making but just wrapper of smccc-bus APIs
> > for firme specific and definietly, this would separate the
> > multi-function SMC to defien each firme device (attestation and IDE).
> 
> I don't see that kind of complexity is necessary.. I think it is
> better to just have the root smcc bus spawn them 
> 
> > But, the *base* is common. and I couldn't find any proper location to
> > deploy *common* code unless making arm_firme.
> 
> What common code excatly?
> 
> There shouldn't be? Getting an attestation is entirely orthogonal to
> set link ide, for example?
> 
> If you can identify what you think would ever be common that might
> help clarifgy what to do..

I mean the BASE service of firme and typical example is shared buffer
allocation. I agree IDE and attestaion service are orthogonal. but
in case of base-service is not. it could be used for both service.

Therefore, the firme_device wouldn't export all functions. In case of
attestaion, it's enough to export base-service and attestation-service
only. for the IDE, base-service and ide-service via union.

Also We don't need to export base-service firme device as part of smccc
device. It's enough to export two devices -- attestation and IDE via
base_ops. But, to share the base-service opeerations to both devices,
I think it would be better to have current arm_fimre layer.

-- 
Sincerely,
Yeoreum Yun


  reply	other threads:[~2026-10-20 16:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19 14:14 [PATCH RFC 0/3] firmware: arm_firme: introduce FIRME support for host attestation Yeoreum Yun
2026-10-19 14:14 ` [PATCH RFC 1/3] firmware: arm_firme: introduce arm_firme driver Yeoreum Yun
2026-10-19 14:14 ` [PATCH RFC 2/3] firmware: arm-smccc: add FIRME device Yeoreum Yun
2026-10-19 14:14 ` [PATCH RFC 3/3] firmware: arm-firme: TSM_REPORT support using FIRME Yeoreum Yun
2026-10-19 23:35 ` [PATCH RFC 0/3] firmware: arm_firme: introduce FIRME support for host attestation Jason Gunthorpe
2026-10-20  7:13   ` Yeoreum Yun
2026-10-20 12:45     ` Jason Gunthorpe
2026-10-20 13:41       ` Yeoreum Yun
2026-10-20 13:50         ` Jason Gunthorpe
2026-10-20 14:13           ` Yeoreum Yun
2026-10-20 14:36             ` Jason Gunthorpe
2026-10-20 14:43               ` Yeoreum Yun [this message]
2026-10-20 14:58                 ` Jason Gunthorpe
2026-10-20 15:18                   ` Yeoreum Yun
2026-10-20 16:47                     ` Jason Gunthorpe
2026-10-20 17:05                       ` Yeoreum Yun

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=atd-I059nHAwcZFE@e129823.arm.com \
    --to=yeoreum.yun@arm.com \
    --cc=aneesh.kumar@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=gongruiqi1@huawei.com \
    --cc=jgg@ziepe.ca \
    --cc=jiri@resnulli.us \
    --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