From: Hans Zhang <18255117159@163.com>
To: Samiksha Garg <samikshagarg@google.com>,
jingoohan1@gmail.com, manivannan.sadhasivam@linaro.org
Cc: 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: Tue, 27 May 2025 00:26:42 +0800 [thread overview]
Message-ID: <2f6978b2-b103-4560-bc1f-e5b34cc77e89@163.com> (raw)
In-Reply-To: <20250526104241.1676625-1-samikshagarg@google.com>
On 2025/5/26 18:42, Samiksha Garg wrote:
> 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
next prev parent reply other threads:[~2025-05-26 16:26 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
2025-05-28 3:45 ` Manivannan Sadhasivam
2025-05-26 16:26 ` Hans Zhang [this message]
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=2f6978b2-b103-4560-bc1f-e5b34cc77e89@163.com \
--to=18255117159@163.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 \
--cc=samikshagarg@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.