All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v4 14/15] dmaengine: ti: New driver for K3 UDMA - split#6: Kconfig and Makefile
Date: Sat, 02 Nov 2019 21:56:15 +0800	[thread overview]
Message-ID: <201911022103.eTIcMNnK%lkp@intel.com> (raw)
In-Reply-To: <20191101084135.14811-15-peter.ujfalusi@ti.com>

[-- Attachment #1: Type: text/plain, Size: 6655 bytes --]

Hi Peter,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.4-rc5 next-20191031]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Peter-Ujfalusi/dmaengine-soc-Add-Texas-Instruments-UDMA-support/20191102-202025
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1204c70d9dcba31164f78ad5d8c88c42335d51f8
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/dma/ti/k3-udma.c: In function 'udma_tisci_tx_channel_config':
>> drivers/dma/ti/k3-udma.c:1508:5: error: 'TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_TDTYPE_VALID' undeclared (first use in this function); did you mean 'TI_SCI_MSG_VALUE_RM_UDMAP_CH_ATYPE_VALID'?
        TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_TDTYPE_VALID;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        TI_SCI_MSG_VALUE_RM_UDMAP_CH_ATYPE_VALID
   drivers/dma/ti/k3-udma.c:1508:5: note: each undeclared identifier is reported only once for each function it appears in
   drivers/dma/ti/k3-udma.c:1509:10: error: 'struct ti_sci_msg_rm_udmap_tx_ch_cfg' has no member named 'tx_tdtype'; did you mean 'tx_atype'?
      req_tx.tx_tdtype = 1;
             ^~~~~~~~~
             tx_atype

vim +1508 drivers/dma/ti/k3-udma.c

f37f859ffd3086 Peter Ujfalusi 2019-11-01  1466  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1467  static int udma_tisci_tx_channel_config(struct udma_chan *uc)
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1468  {
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1469  	struct udma_dev *ud = uc->ud;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1470  	struct udma_tisci_rm *tisci_rm = &ud->tisci_rm;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1471  	const struct ti_sci_rm_udmap_ops *tisci_ops = tisci_rm->tisci_udmap_ops;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1472  	struct udma_tchan *tchan = uc->tchan;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1473  	int tc_ring = k3_ringacc_get_ring_id(tchan->tc_ring);
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1474  	struct ti_sci_msg_rm_udmap_tx_ch_cfg req_tx = { 0 };
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1475  	u32 mode, fetch_size;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1476  	int ret = 0;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1477  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1478  	if (uc->pkt_mode) {
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1479  		mode = TI_SCI_RM_UDMAP_CHAN_TYPE_PKT_PBRR;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1480  		fetch_size = cppi5_hdesc_calc_size(uc->needs_epib, uc->psd_size,
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1481  						   0);
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1482  	} else {
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1483  		mode = TI_SCI_RM_UDMAP_CHAN_TYPE_3RDP_PBRR;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1484  		fetch_size = sizeof(struct cppi5_desc_hdr_t);
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1485  	}
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1486  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1487  	req_tx.valid_params =
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1488  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_PAUSE_ON_ERR_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1489  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_FILT_EINFO_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1490  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_FILT_PSWORDS_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1491  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_CHAN_TYPE_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1492  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_SUPR_TDPKT_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1493  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_FETCH_SIZE_VALID |
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1494  		TI_SCI_MSG_VALUE_RM_UDMAP_CH_CQ_QNUM_VALID;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1495  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1496  	req_tx.nav_id = tisci_rm->tisci_dev_id;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1497  	req_tx.index = tchan->id;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1498  	req_tx.tx_pause_on_err = 0;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1499  	req_tx.tx_filt_einfo = 0;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1500  	req_tx.tx_filt_pswords = 0;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1501  	req_tx.tx_chan_type = mode;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1502  	req_tx.tx_supr_tdpkt = uc->notdpkt;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1503  	req_tx.tx_fetch_size = fetch_size >> 2;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1504  	req_tx.txcq_qnum = tc_ring;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1505  	if (uc->ep_type == PSIL_EP_PDMA_XY) {
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1506  		/* wait for peer to complete the teardown for PDMAs */
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1507  		req_tx.valid_params |=
f37f859ffd3086 Peter Ujfalusi 2019-11-01 @1508  				TI_SCI_MSG_VALUE_RM_UDMAP_CH_TX_TDTYPE_VALID;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1509  		req_tx.tx_tdtype = 1;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1510  	}
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1511  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1512  	ret = tisci_ops->tx_ch_cfg(tisci_rm->tisci, &req_tx);
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1513  	if (ret)
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1514  		dev_err(ud->dev, "tchan%d cfg failed %d\n", tchan->id, ret);
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1515  
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1516  	return ret;
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1517  }
f37f859ffd3086 Peter Ujfalusi 2019-11-01  1518  

:::::: The code at line 1508 was first introduced by commit
:::::: f37f859ffd3086946a6cbb6b6c664d63a4236fed dmaengine: ti: New driver for K3 UDMA - split#3: alloc/free chan_resources

:::::: TO: Peter Ujfalusi <peter.ujfalusi@ti.com>
:::::: CC: 0day robot <lkp@intel.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 67251 bytes --]

  reply	other threads:[~2019-11-02 13:56 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-01  8:41 [PATCH v4 00/15] dmaengine/soc: Add Texas Instruments UDMA support Peter Ujfalusi
2019-11-01  8:41 ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 01/15] bindings: soc: ti: add documentation for k3 ringacc Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  4:07   ` Vinod Koul
2019-11-11  4:07     ` Vinod Koul
2019-11-11  7:24     ` Peter Ujfalusi
2019-11-11  7:24       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 02/15] soc: ti: k3: add navss ringacc driver Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  4:21   ` Vinod Koul
2019-11-11  4:21     ` Vinod Koul
2019-11-11  7:39     ` Peter Ujfalusi
2019-11-11  7:39       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 03/15] dmaengine: doc: Add sections for per descriptor metadata support Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 04/15] dmaengine: Add metadata_ops for dma_async_tx_descriptor Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 05/15] dmaengine: Add support for reporting DMA cached data amount Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  4:39   ` Vinod Koul
2019-11-11  4:39     ` Vinod Koul
2019-11-11  8:00     ` Peter Ujfalusi
2019-11-11  8:00       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 06/15] dmaengine: ti: Add cppi5 header for K3 NAVSS/UDMA Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-05  7:40   ` Tero Kristo
2019-11-05  7:40     ` Tero Kristo
2019-11-01  8:41 ` [PATCH v4 07/15] dmaengine: ti: k3 PSI-L remote endpoint configuration Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-05  7:49   ` Tero Kristo
2019-11-05  7:49     ` Tero Kristo
2019-11-05  8:13     ` Peter Ujfalusi
2019-11-05  8:13       ` Peter Ujfalusi
2019-11-05 10:00   ` Grygorii Strashko
2019-11-05 10:00     ` Grygorii Strashko
2019-11-05 10:27     ` Peter Ujfalusi
2019-11-05 10:27       ` Peter Ujfalusi
2019-11-05 11:25       ` Grygorii Strashko
2019-11-05 11:25         ` Grygorii Strashko
2019-11-11  4:47   ` Vinod Koul
2019-11-11  4:47     ` Vinod Koul
2019-11-11  8:47     ` Peter Ujfalusi
2019-11-11  8:47       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 08/15] dt-bindings: dma: ti: Add document for K3 UDMA Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-05  2:19   ` Rob Herring
2019-11-05  2:19     ` Rob Herring
2019-11-05 10:08     ` Peter Ujfalusi
2019-11-05 10:08       ` Peter Ujfalusi
2019-11-14 17:53       ` Rob Herring
2019-11-14 17:53         ` Rob Herring
2019-11-15  9:45         ` Peter Ujfalusi
2019-11-15  9:45           ` Peter Ujfalusi
2019-11-26  8:29           ` Peter Ujfalusi
2019-11-26  8:29             ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 09/15] dmaengine: ti: New driver for K3 UDMA - split#1: defines, structs, io func Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  5:28   ` Vinod Koul
2019-11-11  5:28     ` Vinod Koul
2019-11-11  8:33     ` Peter Ujfalusi
2019-11-11  8:33       ` Peter Ujfalusi
2019-11-11  9:00       ` Vinod Koul
2019-11-11  9:00         ` Vinod Koul
2019-11-11  9:12         ` Peter Ujfalusi
2019-11-11  9:12           ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 10/15] dmaengine: ti: New driver for K3 UDMA - split#2: probe/remove, xlate and filter_fn Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  5:33   ` Vinod Koul
2019-11-11  5:33     ` Vinod Koul
2019-11-11  9:16     ` Peter Ujfalusi
2019-11-11  9:16       ` Peter Ujfalusi
2019-11-12  5:34       ` Vinod Koul
2019-11-12  5:34         ` Vinod Koul
2019-11-12  7:22         ` Peter Ujfalusi
2019-11-12  7:22           ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 11/15] dmaengine: ti: New driver for K3 UDMA - split#3: alloc/free chan_resources Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  6:06   ` Vinod Koul
2019-11-11  6:06     ` Vinod Koul
2019-11-11  9:40     ` Peter Ujfalusi
2019-11-11  9:40       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 12/15] dmaengine: ti: New driver for K3 UDMA - split#4: dma_device callbacks 1 Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  6:09   ` Vinod Koul
2019-11-11  6:09     ` Vinod Koul
2019-11-11 10:29     ` Peter Ujfalusi
2019-11-11 10:29       ` Peter Ujfalusi
2019-11-12  5:36       ` Vinod Koul
2019-11-12  5:36         ` Vinod Koul
2019-11-12  7:24         ` Peter Ujfalusi
2019-11-12  7:24           ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 13/15] dmaengine: ti: New driver for K3 UDMA - split#5: dma_device callbacks 2 Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 14/15] dmaengine: ti: New driver for K3 UDMA - split#6: Kconfig and Makefile Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-02 13:56   ` kbuild test robot [this message]
2019-11-02 14:00   ` kbuild test robot
2019-11-11  6:11   ` Vinod Koul
2019-11-11  6:11     ` Vinod Koul
2019-11-11 10:30     ` Peter Ujfalusi
2019-11-11 10:30       ` Peter Ujfalusi
2019-11-01  8:41 ` [PATCH v4 15/15] dmaengine: ti: k3-udma: Add glue layer for non DMAengine users Peter Ujfalusi
2019-11-01  8:41   ` Peter Ujfalusi
2019-11-11  6:12   ` Vinod Koul
2019-11-11  6:12     ` Vinod Koul
2019-11-11 10:31     ` Peter Ujfalusi
2019-11-11 10:31       ` Peter Ujfalusi
2019-11-12  5:37       ` Vinod Koul
2019-11-12  5:37         ` Vinod Koul
2019-11-12  7:25         ` Peter Ujfalusi
2019-11-12  7:25           ` Peter 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=201911022103.eTIcMNnK%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 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.