oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Cristian Marussi <cristian.marussi@arm.com>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, sudeep.holla@arm.com,
	cristian.marussi@arm.com, jassisinghbrar@gmail.com,
	robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
	conor+dt@kernel.org
Subject: Re: [PATCH 2/2] mailbox: arm_mhuv3: Add driver
Date: Fri, 29 Mar 2024 00:37:02 +0800	[thread overview]
Message-ID: <202403290015.tCLXudqC-lkp@intel.com> (raw)
In-Reply-To: <20240325092808.117510-3-cristian.marussi@arm.com>

Hi Cristian,

kernel test robot noticed the following build warnings:

[auto build test WARNING on soc/for-next]
[also build test WARNING on robh/for-next linus/master v6.9-rc1 next-20240328]
[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/Cristian-Marussi/dt-bindings-mailbox-arm-mhuv3-Add-bindings/20240326-020048
base:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next
patch link:    https://lore.kernel.org/r/20240325092808.117510-3-cristian.marussi%40arm.com
patch subject: [PATCH 2/2] mailbox: arm_mhuv3: Add driver
config: powerpc-randconfig-r131-20240328 (https://download.01.org/0day-ci/archive/20240329/202403290015.tCLXudqC-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 23de3862dce582ce91c1aa914467d982cb1a73b4)
reproduce: (https://download.01.org/0day-ci/archive/20240329/202403290015.tCLXudqC-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/202403290015.tCLXudqC-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/mailbox/arm_mhuv3.c:565:46: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct pdbcw_page *dbcw @@     got struct pdbcw_page [noderef] __iomem * @@
   drivers/mailbox/arm_mhuv3.c:565:46: sparse:     expected struct pdbcw_page *dbcw
   drivers/mailbox/arm_mhuv3.c:565:46: sparse:     got struct pdbcw_page [noderef] __iomem *
>> drivers/mailbox/arm_mhuv3.c:568:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got struct pdbcw_int * @@
   drivers/mailbox/arm_mhuv3.c:568:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:568:25: sparse:     got struct pdbcw_int *
>> drivers/mailbox/arm_mhuv3.c:568:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct pdbcw_int * @@
   drivers/mailbox/arm_mhuv3.c:568:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:568:25: sparse:     got struct pdbcw_int *
   drivers/mailbox/arm_mhuv3.c:569:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got struct pdbcw_int * @@
   drivers/mailbox/arm_mhuv3.c:569:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:569:25: sparse:     got struct pdbcw_int *
   drivers/mailbox/arm_mhuv3.c:569:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct pdbcw_int * @@
   drivers/mailbox/arm_mhuv3.c:569:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:569:25: sparse:     got struct pdbcw_int *
>> drivers/mailbox/arm_mhuv3.c:570:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got struct xbcw_ctrl * @@
   drivers/mailbox/arm_mhuv3.c:570:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:570:25: sparse:     got struct xbcw_ctrl *
>> drivers/mailbox/arm_mhuv3.c:570:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct xbcw_ctrl * @@
   drivers/mailbox/arm_mhuv3.c:570:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:570:25: sparse:     got struct xbcw_ctrl *
>> drivers/mailbox/arm_mhuv3.c:573:46: sparse: sparse: incorrect type in initializer (different address spaces) @@     expected struct mdbcw_page *dbcw @@     got struct mdbcw_page [noderef] __iomem * @@
   drivers/mailbox/arm_mhuv3.c:573:46: sparse:     expected struct mdbcw_page *dbcw
   drivers/mailbox/arm_mhuv3.c:573:46: sparse:     got struct mdbcw_page [noderef] __iomem *
>> drivers/mailbox/arm_mhuv3.c:576:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int * @@
   drivers/mailbox/arm_mhuv3.c:576:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:576:25: sparse:     got unsigned int *
   drivers/mailbox/arm_mhuv3.c:577:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got unsigned int * @@
   drivers/mailbox/arm_mhuv3.c:577:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:577:25: sparse:     got unsigned int *
   drivers/mailbox/arm_mhuv3.c:578:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@     expected void const volatile [noderef] __iomem *addr @@     got struct xbcw_ctrl * @@
   drivers/mailbox/arm_mhuv3.c:578:25: sparse:     expected void const volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:578:25: sparse:     got struct xbcw_ctrl *
   drivers/mailbox/arm_mhuv3.c:578:25: sparse: sparse: incorrect type in argument 2 (different address spaces) @@     expected void volatile [noderef] __iomem *addr @@     got struct xbcw_ctrl * @@
   drivers/mailbox/arm_mhuv3.c:578:25: sparse:     expected void volatile [noderef] __iomem *addr
   drivers/mailbox/arm_mhuv3.c:578:25: sparse:     got struct xbcw_ctrl *
>> drivers/mailbox/arm_mhuv3.c:360:9: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:370:9: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:373:9: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:639:30: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:659:33: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:688:14: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:700:17: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:719:14: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:732:14: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:789:22: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:795:22: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:796:22: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:802:31: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:806:17: sparse: sparse: dereference of noderef expression
   drivers/mailbox/arm_mhuv3.c:1038:17: sparse: sparse: dereference of noderef expression

vim +565 drivers/mailbox/arm_mhuv3.c

   558	
   559	static void mhuv3_dbe_combined_irq_setup(struct mhuv3 *mhu)
   560	{
   561		int i;
   562		struct mhuv3_extension *e = mhu->ext[DBE_EXT];
   563	
   564		if (mhu->frame == PBX_FRAME) {
 > 565			struct pdbcw_page *dbcw = mhu->pbx->dbcw;
   566	
   567			for (i = 0; i < e->max_chans; i++) {
 > 568				writel_relaxed_bitfield(0x1, &dbcw[i].int_clr, tfr_ack);
   569				writel_relaxed_bitfield(0x0, &dbcw[i].int_en, tfr_ack);
 > 570				writel_relaxed_bitfield(0x1, &dbcw[i].ctrl, comb_en);
   571			}
   572		} else {
 > 573			struct mdbcw_page *dbcw = mhu->mbx->dbcw;
   574	
   575			for (i = 0; i < e->max_chans; i++) {
 > 576				writel_relaxed(0xFFFFFFFF, &dbcw[i].clr);
   577				writel_relaxed(0xFFFFFFFF, &dbcw[i].msk_set);
   578				writel_relaxed_bitfield(0x1, &dbcw[i].ctrl, comb_en);
   579			}
   580		}
   581	}
   582	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

           reply	other threads:[~2024-03-28 16:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20240325092808.117510-3-cristian.marussi@arm.com>]

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=202403290015.tCLXudqC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=conor+dt@kernel.org \
    --cc=cristian.marussi@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh+dt@kernel.org \
    --cc=sudeep.holla@arm.com \
    /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;
as well as URLs for NNTP newsgroup(s).