linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: "Mario Limonciello" <mario.limonciello@amd.com>,
	"Jan Dąbroś" <jsd@semihalf.com>,
	"Grzegorz Bernacki" <gjb@semihalf.com>,
	Rijo-john.Thomas@amd.com, Thomas.Lendacky@amd.com,
	herbert@gondor.apana.org.au,
	"Mika Westerberg" <mika.westerberg@linux.intel.com>,
	Felix.Held@amd.com, linux-i2c@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 8/8] i2c: designware: Add doorbell support for Skyrim
Date: Mon, 13 Mar 2023 13:34:24 +0200	[thread overview]
Message-ID: <ZA8KQIeRUtAXbkTV@smile.fi.intel.com> (raw)
In-Reply-To: <b18aefc2-dd07-5356-0d19-b4783ed500e6@linux.intel.com>

On Mon, Mar 13, 2023 at 12:29:50PM +0200, Jarkko Nikula wrote:
> On 3/10/23 23:19, Mario Limonciello wrote:

...

> > +	if (rdev->device == 0x1630)
> > +		_psp_send_i2c_req = psp_send_i2c_req_cezanne;
> > +	else
> > +		_psp_send_i2c_req = psp_send_i2c_req_skyrim;
> 
> Is there any possibility pci_get_domain_bus_and_slot() returns NULL? Or is
> 00:00.0 always present?

Theoretically it's possible in two cases (or more?):
1) no PCI support compiled;
2) no device found (PCI-less system).

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2023-03-13 11:36 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-10 21:19 [PATCH v4 0/8] Export platform features from ccp driver Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 1/8] crypto: ccp: Drop TEE support for IRQ handler Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 2/8] crypto: ccp: Add a header for multiple drivers to use `__psp_pa` Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 3/8] crypto: ccp: Move some PSP mailbox bit definitions into common header Mario Limonciello
2023-03-13 10:30   ` Jarkko Nikula
2023-03-10 21:19 ` [PATCH v4 4/8] crypto: ccp: Add support for an interface for platform features Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 5/8] crypto: ccp: Enable platform access interface on client PSP parts Mario Limonciello
2023-03-10 21:19 ` [PATCH v4 6/8] i2c: designware: Use PCI PSP driver for communication Mario Limonciello
2023-03-13 10:30   ` Jarkko Nikula
2023-03-15 10:28   ` Grzegorz Bernacki
2023-03-10 21:19 ` [PATCH v4 7/8] crypto: ccp: Add support for ringing a platform doorbell Mario Limonciello
2023-03-15 11:07   ` Grzegorz Bernacki
2023-03-21 21:16     ` Limonciello, Mario
2023-03-10 21:19 ` [PATCH v4 8/8] i2c: designware: Add doorbell support for Skyrim Mario Limonciello
2023-03-13 10:29   ` Jarkko Nikula
2023-03-13 11:34     ` Andy Shevchenko [this message]
2023-03-20 19:04   ` Mark Hasemeyer
2023-03-20 19:31     ` Mark Hasemeyer
2023-03-17  3:26 ` [PATCH v4 0/8] Export platform features from ccp driver Herbert Xu

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=ZA8KQIeRUtAXbkTV@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=Felix.Held@amd.com \
    --cc=Rijo-john.Thomas@amd.com \
    --cc=Thomas.Lendacky@amd.com \
    --cc=gjb@semihalf.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=jarkko.nikula@linux.intel.com \
    --cc=jsd@semihalf.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mika.westerberg@linux.intel.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).