From: kbuild test robot <lkp@intel.com>
To: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Cc: kbuild-all@01.org, iommu@lists.linux-foundation.org,
linux-kernel@vger.kernel.org, joro@8bytes.org,
Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
Joerg Roedel <jroedel@suse.de>
Subject: Re: [PATCH] iommu/amd: Fix interrupt remapping when disable guest_mode
Date: Sun, 25 Jun 2017 00:43:49 +0800 [thread overview]
Message-ID: <201706250053.FF8lY76r%fengguang.wu@intel.com> (raw)
In-Reply-To: <1498219007-17605-1-git-send-email-suravee.suthikulpanit@amd.com>
[-- Attachment #1: Type: text/plain, Size: 3331 bytes --]
Hi Suravee,
[auto build test WARNING on iommu/next]
[also build test WARNING on v4.12-rc6 next-20170623]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Suravee-Suthikulpanit/iommu-amd-Fix-interrupt-remapping-when-disable-guest_mode/20170624-162701
base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: x86_64-randconfig-b0-06242320 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/iommu/amd_iommu.c: In function 'irte_ga_prepare':
>> drivers/iommu/amd_iommu.c:4002: warning: unused variable 'dev_data'
vim +/dev_data +4002 drivers/iommu/amd_iommu.c
880ac60e Suravee Suthikulpanit 2016-08-23 3986 {
880ac60e Suravee Suthikulpanit 2016-08-23 3987 union irte *irte = (union irte *) entry;
880ac60e Suravee Suthikulpanit 2016-08-23 3988
880ac60e Suravee Suthikulpanit 2016-08-23 3989 irte->val = 0;
880ac60e Suravee Suthikulpanit 2016-08-23 3990 irte->fields.vector = vector;
880ac60e Suravee Suthikulpanit 2016-08-23 3991 irte->fields.int_type = delivery_mode;
880ac60e Suravee Suthikulpanit 2016-08-23 3992 irte->fields.destination = dest_apicid;
880ac60e Suravee Suthikulpanit 2016-08-23 3993 irte->fields.dm = dest_mode;
880ac60e Suravee Suthikulpanit 2016-08-23 3994 irte->fields.valid = 1;
880ac60e Suravee Suthikulpanit 2016-08-23 3995 }
880ac60e Suravee Suthikulpanit 2016-08-23 3996
880ac60e Suravee Suthikulpanit 2016-08-23 3997 static void irte_ga_prepare(void *entry,
880ac60e Suravee Suthikulpanit 2016-08-23 3998 u32 delivery_mode, u32 dest_mode,
d98de49a Suravee Suthikulpanit 2016-08-23 3999 u8 vector, u32 dest_apicid, int devid)
880ac60e Suravee Suthikulpanit 2016-08-23 4000 {
880ac60e Suravee Suthikulpanit 2016-08-23 4001 struct irte_ga *irte = (struct irte_ga *) entry;
d98de49a Suravee Suthikulpanit 2016-08-23 @4002 struct iommu_dev_data *dev_data = search_dev_data(devid);
880ac60e Suravee Suthikulpanit 2016-08-23 4003
880ac60e Suravee Suthikulpanit 2016-08-23 4004 irte->lo.val = 0;
880ac60e Suravee Suthikulpanit 2016-08-23 4005 irte->hi.val = 0;
880ac60e Suravee Suthikulpanit 2016-08-23 4006 irte->lo.fields_remap.int_type = delivery_mode;
880ac60e Suravee Suthikulpanit 2016-08-23 4007 irte->lo.fields_remap.dm = dest_mode;
880ac60e Suravee Suthikulpanit 2016-08-23 4008 irte->hi.fields.vector = vector;
880ac60e Suravee Suthikulpanit 2016-08-23 4009 irte->lo.fields_remap.destination = dest_apicid;
880ac60e Suravee Suthikulpanit 2016-08-23 4010 irte->lo.fields_remap.valid = 1;
:::::: The code at line 4002 was first introduced by commit
:::::: d98de49a53e48f51332e97568127e722415e1232 iommu/amd: Enable vAPIC interrupt remapping mode by default
:::::: TO: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
:::::: CC: Joerg Roedel <jroedel@suse.de>
---
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: 21363 bytes --]
prev parent reply other threads:[~2017-06-24 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-23 11:56 Suravee Suthikulpanit
2017-06-24 16:43 ` kbuild 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=201706250053.FF8lY76r%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=jroedel@suse.de \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=suravee.suthikulpanit@amd.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
all inboxes | Powered by JetHome®