kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhangfei Gao <zhangfei.gao@linaro.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
	Auger Eric <eric.auger@redhat.com>,
	jean-philippe <jean-philippe@linaro.org>,
	iommu@lists.linux-foundation.org, kvm@vger.kernel.org
Subject: Re: [RFC PATCH] iommu: add domain->nested
Date: Thu, 17 Jun 2021 11:13:35 +0800	[thread overview]
Message-ID: <ba504241-0442-e76d-8b46-77b686551d80@linaro.org> (raw)
In-Reply-To: <20210616144413.GA2593@lst.de>



On 2021/6/16 下午10:44, Christoph Hellwig wrote:
> On Wed, Jun 16, 2021 at 10:38:02PM +0800, Zhangfei Gao wrote:
>> +++ b/include/linux/iommu.h
>> @@ -87,6 +87,7 @@ struct iommu_domain {
>>   	void *handler_token;
>>   	struct iommu_domain_geometry geometry;
>>   	void *iova_cookie;
>> +	int nested;
> This should probably be a bool : 1;
>
> Also this needs a user, so please just queue up a variant of this for
> the code that eventually relies on this information.
Thanks Christoph

Got it, will do this.



      reply	other threads:[~2021-06-17  3:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-16 14:38 [RFC PATCH] iommu: add domain->nested Zhangfei Gao
2021-06-16 14:44 ` Christoph Hellwig
2021-06-17  3:13   ` Zhangfei Gao [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=ba504241-0442-e76d-8b46-77b686551d80@linaro.org \
    --to=zhangfei.gao@linaro.org \
    --cc=eric.auger@redhat.com \
    --cc=hch@lst.de \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jean-philippe@linaro.org \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=will@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;
as well as URLs for NNTP newsgroup(s).