From: Jens Axboe <axboe@kernel.dk>
To: David Woodhouse <dwmw2@infradead.org>,
joro@8bytes.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: dmar compile failure in -git
Date: Fri, 16 Oct 2020 15:23:46 -0600 [thread overview]
Message-ID: <d090c378-bfb4-34bc-7091-64e2b83925de@kernel.dk> (raw)
Hi,
Ran into this one yesterday:
drivers/iommu/intel/dmar.c: In function ‘free_iommu’:
drivers/iommu/intel/dmar.c:1139:41: error: ‘struct iommu_device’ has no member named ‘ops’
1139 | if (intel_iommu_enabled && iommu->iommu.ops) {
| ^
make[3]: *** [scripts/Makefile.build:283: drivers/iommu/intel/dmar.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:500: drivers/iommu/intel] Error 2
make[1]: *** [scripts/Makefile.build:500: drivers/iommu] Error 2
make: *** [Makefile:1777: drivers] Error 2
which is due to the config I use:
axboe@amd ~/g/linux-block (master)> cat .config | grep IOMMU
# CONFIG_GART_IOMMU is not set
CONFIG_IOMMU_SUPPORT=y
# Generic IOMMU Pagetable Support
# end of Generic IOMMU Pagetable Support
# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_AMD_IOMMU is not set
# CONFIG_INTEL_IOMMU is not set
axboe@amd ~/g/linux-block (master)> cat .config | grep DMAR
CONFIG_DMAR_TABLE=y
--
Jens Axboe
next reply other threads:[~2020-10-16 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-16 21:23 Jens Axboe [this message]
2020-10-17 7:03 ` David Woodhouse
2020-10-20 16:26 ` Jens Axboe
2020-10-20 17:12 ` Jens Axboe
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=d090c378-bfb4-34bc-7091-64e2b83925de@kernel.dk \
--to=axboe@kernel.dk \
--cc=dwmw2@infradead.org \
--cc=joro@8bytes.org \
--cc=linux-kernel@vger.kernel.org \
/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
Powered by JetHome