[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e6c84c59-e784-4631-8076-98c6461b8c15@cixtech.com>
Date: Sat, 26 Apr 2025 00:51:36 +0800
From: Hans Zhang <hans.zhang@...tech.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, bhelgaas@...gle.com,
lpieralisi@...nel.org, kw@...ux.com, manivannan.sadhasivam@...aro.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org
Cc: peter.chen@...tech.com, linux-pci@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Manikandan K Pillai <mpillai@...ence.com>
Subject: Re: [PATCH v4 5/5] PCI: cadence: Add callback functions for RP and EP
controller
On 2025/4/26 00:27, Krzysztof Kozlowski wrote:
> EXTERNAL EMAIL
>
> On 24/04/2025 03:04, hans.zhang@...tech.com wrote:
>> From: Manikandan K Pillai <mpillai@...ence.com>
>>
>> Add support for the Cadence PCIe HPA controller by adding
>> the required callback functions. Update the common functions for
>> RP and EP configuration. Invoke the relevant callback functions
>> for platform probe of PCIe controller using the callback function.
>> Update the support for TI J721 boards to use the updated Cadence
>> PCIe controller code.
>>
>> Signed-off-by: Manikandan K Pillai <mpillai@...ence.com>
>> Co-developed-by: Hans Zhang <hans.zhang@...tech.com>
>> Signed-off-by: Hans Zhang <hans.zhang@...tech.com>
>> ---
>> drivers/pci/controller/cadence/pci-j721e.c | 12 +
>> .../pci/controller/cadence/pcie-cadence-ep.c | 29 +-
>> .../controller/cadence/pcie-cadence-host.c | 263 ++++++++++++++++--
>> .../controller/cadence/pcie-cadence-plat.c | 27 +-
>> drivers/pci/controller/cadence/pcie-cadence.c | 197 ++++++++++++-
>> drivers/pci/controller/cadence/pcie-cadence.h | 11 +-
>> 6 files changed, 495 insertions(+), 44 deletions(-)
>>
>> diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/controller/cadence/pci-j721e.c
>> index ef1cfdae33bb..154b36c30101 100644
>> --- a/drivers/pci/controller/cadence/pci-j721e.c
>> +++ b/drivers/pci/controller/cadence/pci-j721e.c
>> @@ -164,6 +164,14 @@ static const struct cdns_pcie_ops j721e_pcie_ops = {
>> .start_link = j721e_pcie_start_link,
>> .stop_link = j721e_pcie_stop_link,
>> .link_up = j721e_pcie_link_up,
>> + .host_init_root_port = cdns_pcie_host_init_root_port,
>> + .host_bar_ib_config = cdns_pcie_host_bar_ib_config,
>> + .host_init_address_translation = cdns_pcie_host_init_address_translation,
>> + .detect_quiet_min_delay_set = cdns_pcie_detect_quiet_min_delay_set,
>> + .set_outbound_region = cdns_pcie_set_outbound_region,
>> + .set_outbound_region_for_normal_msg =
>> + cdns_pcie_set_outbound_region_for_normal_msg,
>> + .reset_outbound_region = cdns_pcie_reset_outbound_region,
>
> How did you resolve Rob's comments?
>
> These were repeated I think three times finally with:
>
> "Please listen when I say we do not want the ops method used in other
> drivers. "
>
> I think you just send the same ignoring previous discussion which is the
> shortest way to get yourself NAKed.
Hi Manikandan,
Please reply to Krzysztof's question.
Best regards,
Hans
Powered by blists - more mailing lists