From: kernel test robot <lkp@intel.com>
To: Aditya Srivastava <yashsri421@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
linux-doc@vger.kernel.org
Subject: arch/arm64/kvm/pmu-emul.c:453: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Sun, 6 Feb 2022 09:48:24 +0800 [thread overview]
Message-ID: <202202060606.bblLvJEU-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 90c9e950c0def5c354b4a6154a2ddda3e5f214ac
commit: 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf scripts: kernel-doc: add warning for comment not following kernel-doc syntax
date: 10 months ago
config: arm64-buildonly-randconfig-r004-20220206 (https://download.01.org/0day-ci/archive/20220206/202202060606.bblLvJEU-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm64/kvm/pmu-emul.c:219: warning: Function parameter or member 'vcpu' not described in 'kvm_pmu_stop_counter'
>> arch/arm64/kvm/pmu-emul.c:453: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* When perf interrupt is an NMI, we cannot safely notify the vcpu corresponding
arch/arm64/kvm/pmu-emul.c:469: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* When the perf event overflows, set the overflow status and inform the vcpu.
vim +453 arch/arm64/kvm/pmu-emul.c
b02386eb7dac75 virt/kvm/arm/pmu.c Shannon Zhao 2016-02-26 451
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 452 /**
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 @453 * When perf interrupt is an NMI, we cannot safely notify the vcpu corresponding
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 454 * to the event.
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 455 * This is why we need a callback to do it once outside of the NMI context.
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 456 */
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 457 static void kvm_pmu_perf_overflow_notify_vcpu(struct irq_work *work)
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 458 {
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 459 struct kvm_vcpu *vcpu;
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 460 struct kvm_pmu *pmu;
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 461
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 462 pmu = container_of(work, struct kvm_pmu, overflow_work);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 463 vcpu = kvm_pmc_to_vcpu(pmu->pmc);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 464
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 465 kvm_vcpu_kick(vcpu);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 466 }
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 467
:::::: The code at line 453 was first introduced by commit
:::::: 95e92e45a454a10a8114294d0f7aec930fb85891 KVM: arm64: pmu: Make overflow handler NMI safe
:::::: TO: Julien Thierry <julien.thierry@arm.com>
:::::: CC: Will Deacon <will@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/arm64/kvm/pmu-emul.c:453: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Sun, 06 Feb 2022 09:48:24 +0800 [thread overview]
Message-ID: <202202060606.bblLvJEU-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4029 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 90c9e950c0def5c354b4a6154a2ddda3e5f214ac
commit: 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf scripts: kernel-doc: add warning for comment not following kernel-doc syntax
date: 10 months ago
config: arm64-buildonly-randconfig-r004-20220206 (https://download.01.org/0day-ci/archive/20220206/202202060606.bblLvJEU-lkp(a)intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 3e58e839150db0857dfcb3a0bb3d4af4c6ac1abf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kvm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
arch/arm64/kvm/pmu-emul.c:219: warning: Function parameter or member 'vcpu' not described in 'kvm_pmu_stop_counter'
>> arch/arm64/kvm/pmu-emul.c:453: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* When perf interrupt is an NMI, we cannot safely notify the vcpu corresponding
arch/arm64/kvm/pmu-emul.c:469: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* When the perf event overflows, set the overflow status and inform the vcpu.
vim +453 arch/arm64/kvm/pmu-emul.c
b02386eb7dac75 virt/kvm/arm/pmu.c Shannon Zhao 2016-02-26 451
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 452 /**
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 @453 * When perf interrupt is an NMI, we cannot safely notify the vcpu corresponding
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 454 * to the event.
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 455 * This is why we need a callback to do it once outside of the NMI context.
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 456 */
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 457 static void kvm_pmu_perf_overflow_notify_vcpu(struct irq_work *work)
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 458 {
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 459 struct kvm_vcpu *vcpu;
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 460 struct kvm_pmu *pmu;
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 461
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 462 pmu = container_of(work, struct kvm_pmu, overflow_work);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 463 vcpu = kvm_pmc_to_vcpu(pmu->pmc);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 464
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 465 kvm_vcpu_kick(vcpu);
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 466 }
95e92e45a454a1 arch/arm64/kvm/pmu-emul.c Julien Thierry 2020-09-24 467
:::::: The code at line 453 was first introduced by commit
:::::: 95e92e45a454a10a8114294d0f7aec930fb85891 KVM: arm64: pmu: Make overflow handler NMI safe
:::::: TO: Julien Thierry <julien.thierry@arm.com>
:::::: CC: Will Deacon <will@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-02-06 1:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-06 1:48 kernel test robot [this message]
2022-02-06 1:48 ` arch/arm64/kvm/pmu-emul.c:453: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst kernel test robot
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=202202060606.bblLvJEU-lkp@intel.com \
--to=lkp@intel.com \
--cc=corbet@lwn.net \
--cc=kbuild-all@lists.01.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=yashsri421@gmail.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 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.