devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yi-De Wu <yi-de.wu@mediatek.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>,
	Yingshiuan Pan <yingshiuan.pan@mediatek.com>
Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	Jades Shih <jades.shih@mediatek.com>,
	Miles Chen <miles.chen@mediatek.com>,
	Ivan Tseng <ivan.tseng@mediatek.com>,
	My Chuang <my.chuang@mediatek.com>,
	Shawn Hsiao <shawn.hsiao@mediatek.com>,
	PeiLun Suei <peilun.suei@mediatek.com>,
	Ze-Yu Wang <ze-yu.wang@mediatek.com>,
	Liju Chen <liju-clr.chen@mediatek.com>,
	Yi-De Wu <yi-de.wu@mediatek.com>
Subject: Re: [PATCH v1 6/6] soc: mediatek: virt: geniezone: Add irqfd support
Date: Thu, 13 Apr 2023 21:34:41 +0800	[thread overview]
Message-ID: <202304132123.rrVq3AEP-lkp@intel.com> (raw)
In-Reply-To: <20230413090735.4182-7-yi-de.wu@mediatek.com>

Hi Yi-De,

kernel test robot noticed the following build warnings:

[auto build test WARNING on robh/for-next]
[also build test WARNING on krzk-dt/for-next arm64/for-next/core lwn/docs-next linus/master v6.3-rc6 next-20230412]
[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/Yi-De-Wu/docs-geniezone-Introduce-GenieZone-hypervisor/20230413-170932
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link:    https://lore.kernel.org/r/20230413090735.4182-7-yi-de.wu%40mediatek.com
patch subject: [PATCH v1 6/6] soc: mediatek: virt: geniezone: Add irqfd support
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20230413/202304132123.rrVq3AEP-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/ae996a1c7d12837f16f28975712a8bf63525cac4
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Yi-De-Wu/docs-geniezone-Introduce-GenieZone-hypervisor/20230413-170932
        git checkout ae996a1c7d12837f16f28975712a8bf63525cac4
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/soc/mediatek/virt/geniezone/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304132123.rrVq3AEP-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/soc/mediatek/virt/geniezone/gzvm_eventfd.c:463:6: warning: no previous prototype for 'gzvm_irqfd_release' [-Wmissing-prototypes]
     463 | void gzvm_irqfd_release(struct gzvm *gzvm)
         |      ^~~~~~~~~~~~~~~~~~


vim +/gzvm_irqfd_release +463 drivers/soc/mediatek/virt/geniezone/gzvm_eventfd.c

   458	
   459	/*
   460	 * This function is called as the gzvm VM fd is being released. Shutdown all
   461	 * irqfds that still remain open
   462	 */
 > 463	void gzvm_irqfd_release(struct gzvm *gzvm)
   464	{
   465		struct gzvm_kernel_irqfd *irqfd, *tmp;
   466	
   467		spin_lock_irq(&gzvm->irqfds.lock);
   468	
   469		list_for_each_entry_safe(irqfd, tmp, &gzvm->irqfds.items, list)
   470			irqfd_deactivate(irqfd);
   471	
   472		spin_unlock_irq(&gzvm->irqfds.lock);
   473	
   474		/*
   475		 * Block until we know all outstanding shutdown jobs have completed.
   476		 */
   477		flush_workqueue(irqfd_cleanup_wq);
   478	}
   479	

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

      reply	other threads:[~2023-04-13 14:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13  9:07 [PATCH v1 0/6] GenieZone hypervisor drivers Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 1/6] docs: geniezone: Introduce GenieZone hypervisor Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 2/6] dt-bindings: hypervisor: Add binding for MediaTek " Yi-De Wu
2023-04-13 13:05   ` Krzysztof Kozlowski
2023-04-14  8:35     ` Yi-De Wu (吳一德)
2023-04-14  8:42       ` Krzysztof Kozlowski
2023-05-12  7:52         ` Yi-De Wu (吳一德)
2023-04-14 15:29       ` Matthias Brugger
2023-05-12  7:52         ` Yi-De Wu (吳一德)
2023-04-13  9:07 ` [PATCH v1 3/6] soc: mediatek: virt: geniezone: Introduce GenieZone hypervisor support Yi-De Wu
2023-04-13 10:37   ` kernel test robot
2023-04-13 12:42   ` kernel test robot
2023-04-13 12:53   ` kernel test robot
2023-04-13 12:55   ` Krzysztof Kozlowski
2023-04-13 17:08     ` Matthias Brugger
2023-04-14  8:43       ` Yi-De Wu (吳一德)
2023-04-14  8:51         ` Krzysztof Kozlowski
2023-04-14 17:17           ` Trilok Soni
2023-05-12  7:29             ` Yi-De Wu (吳一德)
2023-05-12  7:29           ` Yi-De Wu (吳一德)
2023-04-14 10:48         ` AngeloGioacchino Del Regno
2023-05-12  7:53           ` Yi-De Wu (吳一德)
2023-04-14 11:53   ` AngeloGioacchino Del Regno
2023-04-13  9:07 ` [PATCH v1 4/6] soc: mediatek: virt: geniezone: Introduce irqchip for virtual interrupt injection Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 5/6] soc: mediatek: virt: geniezone: Add ioeventfd support Yi-De Wu
2023-04-13  9:07 ` [PATCH v1 6/6] soc: mediatek: virt: geniezone: Add irqfd support Yi-De Wu
2023-04-13 13:34   ` kernel test robot [this message]

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=202304132123.rrVq3AEP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=catalin.marinas@arm.com \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=ivan.tseng@mediatek.com \
    --cc=jades.shih@mediatek.com \
    --cc=krzk@kernel.org \
    --cc=liju-clr.chen@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=miles.chen@mediatek.com \
    --cc=my.chuang@mediatek.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peilun.suei@mediatek.com \
    --cc=robh+dt@kernel.org \
    --cc=shawn.hsiao@mediatek.com \
    --cc=will@kernel.org \
    --cc=yi-de.wu@mediatek.com \
    --cc=yingshiuan.pan@mediatek.com \
    --cc=ze-yu.wang@mediatek.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).