From: kernel test robot <lkp@intel.com>
To: Sai Sree Kartheek Adivi <s-adivi@ti.com>,
peter.ujfalusi@gmail.com, vkoul@kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, nm@ti.com,
ssantosh@kernel.org, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, vigneshr@ti.com
Cc: oe-kbuild-all@lists.linux.dev, r-sharma3@ti.com, gehariprasath@ti.com
Subject: Re: [PATCH v4 11/19] drivers: soc: ti: k3-ringacc: handle absence of tisci
Date: Sat, 31 Jan 2026 02:40:18 +0800 [thread overview]
Message-ID: <202601310246.hIZd2WuJ-lkp@intel.com> (raw)
In-Reply-To: <20260130110159.359501-12-s-adivi@ti.com>
Hi Sai,
kernel test robot noticed the following build errors:
[auto build test ERROR on vkoul-dmaengine/next]
[also build test ERROR on next-20260129]
[cannot apply to linus/master v6.19-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sai-Sree-Kartheek-Adivi/dmaengine-ti-k3-udma-move-macros-to-header-file/20260130-191306
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link: https://lore.kernel.org/r/20260130110159.359501-12-s-adivi%40ti.com
patch subject: [PATCH v4 11/19] drivers: soc: ti: k3-ringacc: handle absence of tisci
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260131/202601310246.hIZd2WuJ-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260131/202601310246.hIZd2WuJ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601310246.hIZd2WuJ-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/soc/ti/k3-ringacc.c:17:
>> include/linux/soc/ti/ti_sci_inta_msi.h:17:43: warning: 'struct msi_domain_info' declared inside parameter list will not be visible outside of this definition or declaration
17 | struct msi_domain_info *info,
| ^~~~~~~~~~~~~~~
drivers/soc/ti/k3-ringacc.c: In function 'k3_ringacc_init':
>> drivers/soc/ti/k3-ringacc.c:1506:17: error: 'struct dev_msi_info' has no member named 'domain'
1506 | dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
| ^
drivers/soc/ti/k3-ringacc.c:1508:22: error: 'struct dev_msi_info' has no member named 'domain'
1508 | if (!dev->msi.domain)
| ^
--
In file included from k3-ringacc.c:17:
>> include/linux/soc/ti/ti_sci_inta_msi.h:17:43: warning: 'struct msi_domain_info' declared inside parameter list will not be visible outside of this definition or declaration
17 | struct msi_domain_info *info,
| ^~~~~~~~~~~~~~~
k3-ringacc.c: In function 'k3_ringacc_init':
k3-ringacc.c:1506:17: error: 'struct dev_msi_info' has no member named 'domain'
1506 | dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
| ^
k3-ringacc.c:1508:22: error: 'struct dev_msi_info' has no member named 'domain'
1508 | if (!dev->msi.domain)
| ^
vim +1506 drivers/soc/ti/k3-ringacc.c
95e7be062aea6d Grygorii Strashko 2020-09-11 1497
40a2a7c395cf5d Grygorii Strashko 2020-07-24 1498 static int k3_ringacc_init(struct platform_device *pdev,
40a2a7c395cf5d Grygorii Strashko 2020-07-24 1499 struct k3_ringacc *ringacc)
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1500 {
95e7be062aea6d Grygorii Strashko 2020-09-11 1501 const struct soc_device_attribute *soc;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1502 void __iomem *base_fifo, *base_rt;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1503 struct device *dev = &pdev->dev;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1504 int ret, i;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1505
34fff62827b254 Thomas Gleixner 2021-12-10 @1506 dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1507 DOMAIN_BUS_TI_SCI_INTA_MSI);
e50a76355c1d85 Jayesh Choudhary 2023-07-28 1508 if (!dev->msi.domain)
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1509 return -EPROBE_DEFER;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1510
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1511 ret = k3_ringacc_probe_dt(ringacc);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1512 if (ret)
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1513 return ret;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1514
95e7be062aea6d Grygorii Strashko 2020-09-11 1515 soc = soc_device_match(k3_ringacc_socinfo);
95e7be062aea6d Grygorii Strashko 2020-09-11 1516 if (soc && soc->data) {
95e7be062aea6d Grygorii Strashko 2020-09-11 1517 const struct k3_ringacc_soc_data *soc_data = soc->data;
95e7be062aea6d Grygorii Strashko 2020-09-11 1518
95e7be062aea6d Grygorii Strashko 2020-09-11 1519 ringacc->dma_ring_reset_quirk = soc_data->dma_ring_reset_quirk;
95e7be062aea6d Grygorii Strashko 2020-09-11 1520 }
95e7be062aea6d Grygorii Strashko 2020-09-11 1521
f9dbb99748bab0 Zhang Zekun 2023-08-09 1522 base_rt = devm_platform_ioremap_resource_byname(pdev, "rt");
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1523 if (IS_ERR(base_rt))
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1524 return PTR_ERR(base_rt);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1525
f9dbb99748bab0 Zhang Zekun 2023-08-09 1526 base_fifo = devm_platform_ioremap_resource_byname(pdev, "fifos");
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1527 if (IS_ERR(base_fifo))
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1528 return PTR_ERR(base_fifo);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1529
f9dbb99748bab0 Zhang Zekun 2023-08-09 1530 ringacc->proxy_gcfg = devm_platform_ioremap_resource_byname(pdev, "proxy_gcfg");
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1531 if (IS_ERR(ringacc->proxy_gcfg))
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1532 return PTR_ERR(ringacc->proxy_gcfg);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1533
f9dbb99748bab0 Zhang Zekun 2023-08-09 1534 ringacc->proxy_target_base = devm_platform_ioremap_resource_byname(pdev,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1535 "proxy_target");
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1536 if (IS_ERR(ringacc->proxy_target_base))
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1537 return PTR_ERR(ringacc->proxy_target_base);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1538
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1539 ringacc->num_proxies = readl(&ringacc->proxy_gcfg->config) &
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1540 K3_RINGACC_PROXY_CFG_THREADS_MASK;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1541
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1542 ringacc->rings = devm_kzalloc(dev,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1543 sizeof(*ringacc->rings) *
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1544 ringacc->num_rings,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1545 GFP_KERNEL);
a8eba8dde5fbf0 Christophe JAILLET 2021-12-23 1546 ringacc->rings_inuse = devm_bitmap_zalloc(dev, ringacc->num_rings,
a8eba8dde5fbf0 Christophe JAILLET 2021-12-23 1547 GFP_KERNEL);
a8eba8dde5fbf0 Christophe JAILLET 2021-12-23 1548 ringacc->proxy_inuse = devm_bitmap_zalloc(dev, ringacc->num_proxies,
a8eba8dde5fbf0 Christophe JAILLET 2021-12-23 1549 GFP_KERNEL);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1550
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1551 if (!ringacc->rings || !ringacc->rings_inuse || !ringacc->proxy_inuse)
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1552 return -ENOMEM;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1553
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1554 for (i = 0; i < ringacc->num_rings; i++) {
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1555 ringacc->rings[i].rt = base_rt +
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1556 K3_RINGACC_RT_REGS_STEP * i;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1557 ringacc->rings[i].fifos = base_fifo +
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1558 K3_RINGACC_FIFO_REGS_STEP * i;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1559 ringacc->rings[i].parent = ringacc;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1560 ringacc->rings[i].ring_id = i;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1561 ringacc->rings[i].proxy_id = K3_RINGACC_PROXY_NOT_USED;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1562 }
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1563
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1564 ringacc->tisci_ring_ops = &ringacc->tisci->ops.rm_ring_ops;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1565
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1566 dev_info(dev, "Ring Accelerator probed rings:%u, gp-rings[%u,%u] sci-dev-id:%u\n",
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1567 ringacc->num_rings,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1568 ringacc->rm_gp_range->desc[0].start,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1569 ringacc->rm_gp_range->desc[0].num,
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1570 ringacc->tisci_dev_id);
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1571 dev_info(dev, "dma-ring-reset-quirk: %s\n",
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1572 ringacc->dma_ring_reset_quirk ? "enabled" : "disabled");
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1573 dev_info(dev, "RA Proxy rev. %08x, num_proxies:%u\n",
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1574 readl(&ringacc->proxy_gcfg->revision), ringacc->num_proxies);
40a2a7c395cf5d Grygorii Strashko 2020-07-24 1575
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1576 return 0;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1577 }
3277e8aa2504d9 Grygorii Strashko 2020-01-15 1578
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-30 18:40 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 11:01 [PATCH v4 00/19] dmaengine: ti: Add support for BCDMA v2 and PKTDMA v2 Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 01/19] dmaengine: ti: k3-udma: move macros to header file Sai Sree Kartheek Adivi
2026-01-30 15:36 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 02/19] dmaengine: ti: k3-udma: move structs and enums " Sai Sree Kartheek Adivi
2026-01-30 15:37 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 03/19] dmaengine: ti: k3-udma: move static inline helper functions " Sai Sree Kartheek Adivi
2026-01-30 15:38 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 04/19] dmaengine: ti: k3-udma: move descriptor management to k3-udma-common.c Sai Sree Kartheek Adivi
2026-01-30 15:43 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 05/19] dmaengine: ti: k3-udma: move ring management functions " Sai Sree Kartheek Adivi
2026-01-30 15:46 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 06/19] dmaengine: ti: k3-udma: Add variant-specific function pointers to udma_dev Sai Sree Kartheek Adivi
2026-01-30 15:52 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 07/19] dmaengine: ti: k3-udma: move udma utility functions to k3-udma-common.c Sai Sree Kartheek Adivi
2026-01-30 15:58 ` Frank Li
2026-01-30 11:01 ` [PATCH v4 08/19] dmaengine: ti: k3-udma: move resource management " Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 09/19] dmaengine: ti: k3-udma: refactor resource setup functions Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 10/19] dmaengine: ti: k3-udma: move inclusion of k3-udma-private.c to k3-udma-common.c Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 11/19] drivers: soc: ti: k3-ringacc: handle absence of tisci Sai Sree Kartheek Adivi
2026-01-30 18:40 ` kernel test robot
2026-01-30 18:40 ` kernel test robot [this message]
2026-02-03 6:05 ` Péter Ujfalusi
2026-01-30 11:01 ` [PATCH v4 12/19] dt-bindings: dma: ti: Add K3 BCDMA V2 Sai Sree Kartheek Adivi
2026-01-30 15:35 ` Frank Li
2026-02-05 9:04 ` Krzysztof Kozlowski
2026-01-30 11:01 ` [PATCH v4 13/19] dt-bindings: dma: ti: Add K3 PKTDMA V2 Sai Sree Kartheek Adivi
2026-01-30 12:44 ` Rob Herring (Arm)
2026-01-30 15:34 ` Frank Li
2026-02-05 9:06 ` Krzysztof Kozlowski
2026-01-30 11:01 ` [PATCH v4 14/19] dmaengine: ti: k3-psil-am62l: Add AM62Lx PSIL and PDMA data Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 15/19] dmaengine: ti: k3-udma-v2: New driver for K3 BCDMA_V2 Sai Sree Kartheek Adivi
2026-01-30 16:08 ` Frank Li
2026-02-03 6:37 ` Péter Ujfalusi
2026-02-03 8:22 ` Sai Sree Kartheek Adivi
2026-02-03 18:14 ` Péter Ujfalusi
2026-01-30 11:01 ` [PATCH v4 16/19] dmaengine: ti: k3-udma-v2: Add support for PKTDMA V2 Sai Sree Kartheek Adivi
2026-02-03 6:25 ` Péter Ujfalusi
2026-02-03 7:51 ` Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 17/19] dmaengine: ti: k3-udma-v2: Update glue layer to support " Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 18/19] dmaengine: ti: k3-udma: Validate resource ID and fix logging in reservation Sai Sree Kartheek Adivi
2026-01-30 11:01 ` [PATCH v4 19/19] dmaengine: ti: k3-udma: switch to synchronous descriptor freeing Sai Sree Kartheek Adivi
2026-01-30 20:37 ` kernel test robot
2026-02-05 9:07 ` Krzysztof Kozlowski
2026-02-11 7:42 ` Sai Sree Kartheek Adivi
2026-02-03 6:42 ` [PATCH v4 00/19] dmaengine: ti: Add support for BCDMA v2 and PKTDMA v2 Péter Ujfalusi
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=202601310246.hIZd2WuJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gehariprasath@ti.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=peter.ujfalusi@gmail.com \
--cc=r-sharma3@ti.com \
--cc=robh@kernel.org \
--cc=s-adivi@ti.com \
--cc=ssantosh@kernel.org \
--cc=vigneshr@ti.com \
--cc=vkoul@kernel.org \
/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