[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC v1 3/5] xen/arm: introduce SCMI-SMC mediator driver


  • To: Julien Grall <julien@xxxxxxx>
  • From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
  • Date: Fri, 24 Dec 2021 13:59:09 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=I9kf1b6ZxB571CuLyyJc7Jw/JChSxS819zhX89j+y3w=; b=ZB/c5+fr2HI5d47f88MsvYCYav+v9usvtT5PeMw1eANwOuTz78RbkV4sfSNriLF0tVJn1VPhOt2tVCM0h5H37NwBVyb2wRKunh0/ApENRd9upe1SRd5zIqB5PR+sv/Fmcba7tn2XGRc3VRsqJMsAycP7VtLX6IM1EXJWz6V9TzU/wzvspgDSwjMN8ShC5xkcycvwFl8QbBhSkeHDSa3ml76FizQcIJMOfT7oCS4rpUYdmQzeVSflqqIr8BhJ9NqPzgofxWzuNJhkXvmh4+ZDYFv1T1VF4ZVY6mfVjkC//gm1E9QVv4s4AG9cHKYKx1wOum6zfU9dxD3FPbly4k+QEA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G14NxuBf0tWcn/CDEsH5FYz7zoVFJypYEkxcMnzGntVqWWRepu8B72R9fI46cMsqZR5+FSWkxik7pgIHV9hbHbq66Ro7OwWIEVIc7WEmzBGEHo8LT2PYpyXENuDhXzLjr46M5gXqVPYQkl2EibubHAON9SdEp2ZcFwQyjGARUH1dpwGoSkzIDS5o2jsDA8KkP8PA0CsTE8kpz6ys/ZBwTeXAm0Zw9Q6iD4PxiwAPksMIEHJ7fuU86XfDd4GCmzFBLoiqAKJyTGj9aGJvgvBEYHS+NE8wd2qHp/iGK2uSjSoC1Rb+UFd3Y/pcVphNFZ7Ok7NTLptVD4elnEQtKFUIEQ==
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Delivery-date: Fri, 24 Dec 2021 13:59:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHX8M3JF7Ng56/tV0+8/7pODiaWfKw3iHyAgAQwJICAAG+xgIABQZuAgAAWSACAAOV/AIABANAAgAEYTICAAFamgIAA3WqAgAAIW4A=
  • Thread-topic: [RFC v1 3/5] xen/arm: introduce SCMI-SMC mediator driver

Hi Julien,

On Fri, Dec 24, 2021 at 02:29:13PM +0100, Julien Grall wrote:
> Hi,
> 
> On 24/12/2021 01:16, Stefano Stabellini wrote:
> > > One more question: As you probably seen - Jan had a complains about SCI
> > > term. He said SCI is ambiguous with ACPI's System
> > > Control Interrupt.
> > 
> > I see his point. As a term I see "SCMI" often and sometimes "SCPI" but
> > "SCI" is the first time I saw it with this patch series.
> > 
> > 
> > > I think of using SC (as System Control) instead. What do you think
> > > about it?
> > 
> > Yeah, I am not great at naming things but maybe "ARM_SCI"?  "SC" alone
> > doesn't give me enough context to guess what it is.
> 
> I might be missing some context. Why are naming everything SCI rather than
> SMCI?

Because we're expecting other interfaces and transport to be
implemented, such as for example:
scmi_mailbox, scpi_smc, scpi_mailbox, ti_sci_smc etc.

> 
> > 
> > Or we could broaden the scope and call it "firmware_interface"?
> How would this be used? Will it be a list of interface that will be exposed
> to the guest?
> 

The idea is to set mediator type for each Domain, so for example Xen can
use scmi_mailbox to communicate with SCP, Dom0 and DomD are also using
scmi_mailbox, but DomU using scmi_smc mediator because we have only 3
mailboxes in system. This is not implemented yet, right now, we are
introducing only scmi_smc support. In future, multiple mediator support
can be added to Xen.

Best regards,
Oleksii.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.