Re: [PATCH 5/8] drivers: soc: ti: k3-ringacc: handle absence of tisci

kernel test robot
2025-04-29T01:19:43Z

Hi Sai,

kernel test robot noticed the following build warnings:

[auto build test WARNING on vkoul-dmaengine/next]
[also build test WARNING on linus/master v6.15-rc4]
[cannot apply to next-20250428]
[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/dt-bindings-dma-ti-Add-document-for-K3-BCDMA-V2/20250428-152616
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link: https://lore.kernel.org/r/20250428072032.946008-6-s-adivi%40ti.com
patch subject: [PATCH 5/8] drivers: soc: ti: k3-ringacc: handle absence of tisci
config: arm64-randconfig-001-20250428 (https://download.01.org/0day-ci/archive/20250429/202504290207.ct0tnV56-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250429/202504290207.ct0tnV56-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/202504290207.ct0tnV56-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/soc/ti/k3-ringacc.c:214: warning: Function parameter or struct member 'cfg' not described in 'k3_ring'
>> drivers/soc/ti/k3-ringacc.c:214: warning: Function parameter or struct member 'intr' not described in 'k3_ring'

vim +214 drivers/soc/ti/k3-ringacc.c

6b3da0b475b877 Peter Ujfalusi 2020-07-24 168
3277e8aa2504d9 Grygorii Strashko 2020-01-15 169 /**
3277e8aa2504d9 Grygorii Strashko 2020-01-15 170 * struct k3_ring - RA Ring descriptor
3277e8aa2504d9 Grygorii Strashko 2020-01-15 171 *
3277e8aa2504d9 Grygorii Strashko 2020-01-15 172 * @rt: Ring control/status registers
3277e8aa2504d9 Grygorii Strashko 2020-01-15 173 * @fifos: Ring queues registers
3277e8aa2504d9 Grygorii Strashko 2020-01-15 174 * @proxy: Ring Proxy Datapath registers
3277e8aa2504d9 Grygorii Strashko 2020-01-15 175 * @ring_mem_dma: Ring buffer dma address
3277e8aa2504d9 Grygorii Strashko 2020-01-15 176 * @ring_mem_virt: Ring buffer virt address
3277e8aa2504d9 Grygorii Strashko 2020-01-15 177 * @ops: Ring operations
3277e8aa2504d9 Grygorii Strashko 2020-01-15 178 * @size: Ring size in elements
3277e8aa2504d9 Grygorii Strashko 2020-01-15 179 * @elm_size: Size of the ring element
3277e8aa2504d9 Grygorii Strashko 2020-01-15 180 * @mode: Ring mode
3277e8aa2504d9 Grygorii Strashko 2020-01-15 181 * @flags: flags
50883affe17e11 Lee Jones 2020-11-21 182 * @state: Ring state
3277e8aa2504d9 Grygorii Strashko 2020-01-15 183 * @ring_id: Ring Id
3277e8aa2504d9 Grygorii Strashko 2020-01-15 184 * @parent: Pointer on struct @k3_ringacc
3277e8aa2504d9 Grygorii Strashko 2020-01-15 185 * @use_count: Use count for shared rings
3277e8aa2504d9 Grygorii Strashko 2020-01-15 186 * @proxy_id: RA Ring Proxy Id (only if @K3_RINGACC_RING_USE_PROXY)
8c42379e40e2db Peter Ujfalusi 2020-10-25 187 * @dma_dev: device to be used for DMA API (allocation, mapping)
d782298c6f6b85 Grygorii Strashko 2020-12-08 188 * @asel: Address Space Select value for physical addresses
3277e8aa2504d9 Grygorii Strashko 2020-01-15 189 */
3277e8aa2504d9 Grygorii Strashko 2020-01-15 190 struct k3_ring {
3277e8aa2504d9 Grygorii Strashko 2020-01-15 191 struct k3_ring_rt_regs __iomem *rt;
babdc2c3524293 Sai Sree Kartheek Adivi 2025-04-28 192 struct k3_ring_cfg_regs __iomem *cfg;
babdc2c3524293 Sai Sree Kartheek Adivi 2025-04-28 193 struct k3_ring_intr_regs __iomem *intr;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 194 struct k3_ring_fifo_regs __iomem *fifos;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 195 struct k3_ringacc_proxy_target_regs __iomem *proxy;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 196 dma_addr_t ring_mem_dma;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 197 void *ring_mem_virt;
d9483b44c94eba Christophe JAILLET 2024-07-09 198 const struct k3_ring_ops *ops;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 199 u32 size;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 200 enum k3_ring_size elm_size;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 201 enum k3_ring_mode mode;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 202 u32 flags;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 203 #define K3_RING_FLAG_BUSY BIT(1)
3277e8aa2504d9 Grygorii Strashko 2020-01-15 204 #define K3_RING_FLAG_SHARED BIT(2)
d782298c6f6b85 Grygorii Strashko 2020-12-08 205 #define K3_RING_FLAG_REVERSE BIT(3)
6b3da0b475b877 Peter Ujfalusi 2020-07-24 206 struct k3_ring_state state;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 207 u32 ring_id;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 208 struct k3_ringacc *parent;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 209 u32 use_count;
3277e8aa2504d9 Grygorii Strashko 2020-01-15 210 int proxy_id;
8c42379e40e2db Peter Ujfalusi 2020-10-25 211 struct device *dma_dev;
d782298c6f6b85 Grygorii Strashko 2020-12-08 212 u32 asel;
d782298c6f6b85 Grygorii Strashko 2020-12-08 213 #define K3_ADDRESS_ASEL_SHIFT 48
3277e8aa2504d9 Grygorii Strashko 2020-01-15 @214 };
3277e8aa2504d9 Grygorii Strashko 2020-01-15 215

--
0-DAY CI Kernel Test Service