All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samiksha Garg <samikshagarg@google.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: jingoohan1@gmail.com, ajayagarwal@google.com, maurora@google.com,
	linux-pci@vger.kernel.org, manugautam@google.com
Subject: Re: [PATCH] PCI: dwc: EXPORT dw_pcie_allocate_domains
Date: Mon, 26 May 2025 16:04:04 +0000	[thread overview]
Message-ID: <aDSQ9EuzlHiv6HTH@google.com> (raw)
In-Reply-To: <bddr5afnyppbtpajk3wsymwnxrdvyyradxwqf2kkiahwat63av@h2kttx5blizv>

Hi Mani,
Thanks for your response. I can see that pci-keystone driver already calls this function.
Does it not mean that there is already an upstream user?

Thanks,
Samiksha

On Mon, May 26, 2025 at 04:50:11PM +0530, Manivannan Sadhasivam wrote:
> On Mon, May 26, 2025 at 10:42:40AM +0000, Samiksha Garg wrote:
> > Some vendor drivers need to write their own `msi_init` while
> > still utilizing `dw_pcie_allocate_domains` method to allocate
> > IRQ domains. Export the function for this purpose.
> > 
> 
> NAK. Symbols should have atleast one upstream user to be exported. We do not
> export symbols for random vendor drivers, sorry.
> 
> - Mani
> 
> > Signed-off-by: Samiksha Garg <samikshagarg@google.com>
> > ---
> >  drivers/pci/controller/dwc/pcie-designware-host.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c
> > index ecc33f6789e3..5b949547f917 100644
> > --- a/drivers/pci/controller/dwc/pcie-designware-host.c
> > +++ b/drivers/pci/controller/dwc/pcie-designware-host.c
> > @@ -249,6 +249,7 @@ int dw_pcie_allocate_domains(struct dw_pcie_rp *pp)
> >  
> >  	return 0;
> >  }
> > +EXPORT_SYMBOL_GPL(dw_pcie_allocate_domains);
> >  
> >  static void dw_pcie_free_msi(struct dw_pcie_rp *pp)
> >  {
> > -- 
> > 2.49.0.1151.ga128411c76-goog
> > 
> 
> -- 
> மணிவண்ணன் சதாசிவம்

  reply	other threads:[~2025-05-26 16:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-26 10:42 [PATCH] PCI: dwc: EXPORT dw_pcie_allocate_domains Samiksha Garg
2025-05-26 11:20 ` Manivannan Sadhasivam
2025-05-26 16:04   ` Samiksha Garg [this message]
2025-05-28  3:45     ` Manivannan Sadhasivam
2025-05-26 16:26 ` Hans Zhang
2025-05-26 16:29 ` Hans Zhang
2025-05-27  4:42   ` Samiksha Garg
2025-05-27  5:49     ` Hans Zhang
2025-05-27  8:09       ` Christoph Hellwig

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=aDSQ9EuzlHiv6HTH@google.com \
    --to=samikshagarg@google.com \
    --cc=ajayagarwal@google.com \
    --cc=jingoohan1@gmail.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=manugautam@google.com \
    --cc=maurora@google.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.