xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Stabellini <sstabellini@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	 xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
	 Stefano Stabellini <stefano.stabellini@xilinx.com>,
	 boris.ostrovsky@oracle.com, jgross@suse.com,
	catalin.marinas@arm.com,  will@kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/2] xen/arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required
Date: Wed, 12 May 2021 12:55:40 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.21.2105121255290.5018@sstabellini-ThinkPad-T480s> (raw)
In-Reply-To: <20210512072645.GA22396@lst.de>

On Wed, 12 May 2021, Christoph Hellwig wrote:
> > -int xen_swiotlb_detect(void)
> > -{
> > -	if (!xen_domain())
> > -		return 0;
> > -	if (xen_feature(XENFEAT_direct_mapped))
> > -		return 1;
> > -	/* legacy case */
> > -	if (!xen_feature(XENFEAT_not_direct_mapped) && xen_initial_domain())
> > -		return 1;
> > -	return 0;
> > -}
> 
> I think this move should be a separate prep patch.

Sure, I can do that


      reply	other threads:[~2021-05-12 19:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-11 17:41 Stefano Stabellini
2021-05-12  7:26 ` Christoph Hellwig
2021-05-12 19:55   ` Stefano Stabellini [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=alpine.DEB.2.21.2105121255290.5018@sstabellini-ThinkPad-T480s \
    --to=sstabellini@kernel.org \
    --cc=boris.ostrovsky@oracle.com \
    --cc=catalin.marinas@arm.com \
    --cc=hch@lst.de \
    --cc=jgross@suse.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefano.stabellini@xilinx.com \
    --cc=will@kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    --subject='Re: [PATCH 1/2] xen/arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required' \
    /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

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).