[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250310210746.GA2377483@rocinante>
Date: Tue, 11 Mar 2025 06:07:46 +0900
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Siddharth Vadapalli <s-vadapalli@...com>
Cc: lpieralisi@...nel.org, vigneshr@...com,
manivannan.sadhasivam@...aro.org, robh@...nel.org,
bhelgaas@...gle.com, rogerq@...nel.org, linux-omap@...r.kernel.org,
linux-pci@...r.kernel.org, stable@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
srk@...com
Subject: Re: [PATCH] PCI: j721e: Fix the value of linkdown_irq_regfield for
J784S4
Hello,
> Hence, set 'linkdown_irq_regfield' to the macro 'J7200_LINK_DOWN' which
> expands to BIT(10) and was first defined for the J7200 SoC. Other SoCs
> already reuse this macro since it accurately represents the link-state
> field in their respective "PCIE_INTD_ENABLE_REG_SYS_2" register.
Can you confirm for me that the following use the correct macro?
333-static const struct j721e_pcie_data j721e_pcie_rc_data = {
337: .linkdown_irq_regfield = LINK_DOWN,
341-static const struct j721e_pcie_data j721e_pcie_ep_data = {
343: .linkdown_irq_regfield = LINK_DOWN,
347-static const struct j721e_pcie_data j7200_pcie_rc_data = {
350: .linkdown_irq_regfield = J7200_LINK_DOWN,
362-static const struct j721e_pcie_data am64_pcie_rc_data = {
364: .linkdown_irq_regfield = J7200_LINK_DOWN,
369-static const struct j721e_pcie_data am64_pcie_ep_data = {
371: .linkdown_irq_regfield = J7200_LINK_DOWN,
375-static const struct j721e_pcie_data j784s4_pcie_rc_data = {
379: .linkdown_irq_regfield = LINK_DOWN,
383-static const struct j721e_pcie_data j784s4_pcie_ep_data = {
385: .linkdown_irq_regfield = LINK_DOWN,
389-static const struct j721e_pcie_data j722s_pcie_rc_data = {
391: .linkdown_irq_regfield = J7200_LINK_DOWN,
I am asking as some use LINK_DOWN, so I wanted to make sure.
Tht said, the following has no .linkdown_irq_regfield property set:
355-static const struct j721e_pcie_data j7200_pcie_ep_data = {
356- .mode = PCI_MODE_EP,
357- .quirk_detect_quiet_flag = true,
358- .quirk_disable_flr = true,
359- .max_lanes = 2,
360-};
Would this be a problem? Or is this as expected?
Thank you!
Krzysztof
Powered by blists - more mailing lists