All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sudeep Holla <sudeep.holla@arm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Trilok Soni <trilokkumar.soni@oss.qualcomm.com>,
	Satya Durga Srinivasu Prabhala <satya.prabhala@oss.qualcomm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Lorenzo Pieralisi <lpieralisi@kernel.org>,
	linux-arm-msm@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, trilok.soni@oss.qualcomm.com
Subject: Re: [PATCH] firmware: smccc: default ARM_SMCCC_SOC_ID to disabled
Date: Mon, 19 Jan 2026 16:56:32 +0000	[thread overview]
Message-ID: <aW5iQABCRukZXpZH@bogus> (raw)
In-Reply-To: <vvvq5rnbzs7ngtahqrar4iqinizthyrv3ipqnjp6ln34di365j@bbwdyda6gw3u>

On Mon, Jan 19, 2026 at 06:44:23PM +0200, Dmitry Baryshkov wrote:
> On Mon, Jan 19, 2026 at 02:53:42PM +0000, Sudeep Holla wrote:
> > On Sun, Jan 18, 2026 at 03:16:50PM -0600, Bjorn Andersson wrote:
> > > On Sun, Jan 18, 2026 at 02:31:23PM +0000, Sudeep Holla wrote:
> > > 
> > > To me, when you decided to add a second caller to soc_device_register()
> > > you created a regression in the userspace interface. If nothing else
> > > it's a leaky abstraction.
> > > 
> > 
> > In that case, shouldn't soc_device_register() made to give error when an
> > attempt to call it more that one time then ? Also should be change the
> > ABI documents to refer it as soc0 and not socX ?
> 
> Then the whole SoC bus is an overkill. But I have a strange question
> here. Consider the device having the "BT / WiFi SoC" next to the main
> SoC. Is that SoC a legit target to export informaiton through sysfs /
> soc bus?
> 

Just for clarity, I agree with you and there could be duplication of
information if there are multiple source for that information. E.g.,
the setup in this discussion where the EL3 firmware provides SOC_ID
information via SMCCC SOC_ID and DT providing vendor specific information
about the platform. Both are getting exported via sysfs but the problem
here is SOC_ID has displaced vendor specific DT info from soc0 to soc1.

We are exploring ways to see how user space can survive this.

-- 
Regards,
Sudeep


  reply	other threads:[~2026-01-19 16:56 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-13  6:24 [PATCH] firmware: smccc: default ARM_SMCCC_SOC_ID to disabled Satya Durga Srinivasu Prabhala
2026-01-13  8:04 ` Mukesh Ojha
2026-01-14 21:07   ` Sudeep Holla
2026-01-13 10:57 ` Will Deacon
2026-01-14 16:58   ` Satya Durga Srinivasu Prabhala
2026-01-14 21:13     ` Sudeep Holla
2026-01-13 11:25 ` Dmitry Baryshkov
2026-01-14 18:04   ` Satya Durga Srinivasu Prabhala
2026-01-14 19:37     ` Dmitry Baryshkov
2026-01-14 21:03       ` Sudeep Holla
2026-01-15 20:14       ` Satya Durga Srinivasu Prabhala
2026-01-15 20:40         ` Dmitry Baryshkov
2026-01-13 12:29 ` Sudeep Holla
2026-01-14 16:50   ` Satya Durga Srinivasu Prabhala
2026-01-14 21:01     ` Sudeep Holla
2026-01-15 18:42       ` Satya Durga Srinivasu Prabhala
2026-01-15 20:18         ` Dmitry Baryshkov
2026-01-15 23:51           ` Satya Durga Srinivasu Prabhala
2026-01-16  0:01           ` Bjorn Andersson
2026-01-16 10:39         ` Sudeep Holla
2026-01-16 20:53           ` Satya Durga Srinivasu Prabhala
2026-01-16 23:53             ` Trilok Soni
2026-01-17 21:43               ` Bjorn Andersson
2026-01-18 14:31               ` Sudeep Holla
2026-01-18 21:16                 ` Bjorn Andersson
2026-01-19 14:53                   ` Sudeep Holla
2026-01-19 16:44                     ` Dmitry Baryshkov
2026-01-19 16:56                       ` Sudeep Holla [this message]
2026-01-19 17:20                         ` Dmitry Baryshkov
2026-01-19 17:25                           ` Bjorn Andersson
2026-01-19 19:46                             ` Dmitry Baryshkov
2026-01-19 20:25                               ` Bjorn Andersson
2026-01-19 17:21                     ` Bjorn Andersson
2026-01-20 17:47                       ` Sudeep Holla
2026-01-17 21:51             ` Bjorn Andersson
2026-01-14 17:12 ` Neil Armstrong
2026-01-14 21:06   ` Sudeep Holla
2026-01-15 20:24   ` Satya Durga Srinivasu Prabhala

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=aW5iQABCRukZXpZH@bogus \
    --to=sudeep.holla@arm.com \
    --cc=andersson@kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=satya.prabhala@oss.qualcomm.com \
    --cc=trilok.soni@oss.qualcomm.com \
    --cc=trilokkumar.soni@oss.qualcomm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.