From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3262DC433ED for ; Wed, 12 May 2021 07:29:06 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0E396187E for ; Wed, 12 May 2021 07:29:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0E396187E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=W9jr+xAGiVHBi9fvLQuECQmfq/rBcvLXrxiKQGTk5Hg=; b=P38BwEuf2vRIEhcRzpyx0Ni8i 8lEsBuH9SgxJuC2PsC5OVzFpYHscwlAYQBplGR3lyHxkZn3/QnQWTTUYMFfYk2vtf85bVDuOgtNgD Pyr/Bljjn5XoHhBoNTF89nH4cwCMvfhWsrTLPfgNoMv1HGt4l+sWSBQNdtm+jTwOFnn15jvzz7HZG d1EyLBMvS44HY+CU8y+qRzBqvu5dFZ50VBdlMLaD5t4ntcF+kRFgohyc3LmwJkGPOcIjMBPVLaY96 Y3kil7XEX+B6Ui6fxFY03sP/WhAjjuxZGYUHEWY2xIZSSxGZ4cIj8oxautiinREvdB8g3kIbmC+RO DV+nYoIyQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgjGj-002FAM-4K; Wed, 12 May 2021 07:26:57 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgjGg-002F9K-QP for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 07:26:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=dhdZya0sNhM88FaqkJFof5Dy6wgDlCg0L2f8u+NUisk=; b=FTSieBBpanMD4MfY5AisXfygMG oZ/OUk1HYxmSnARsZ2vpU/zQTUgaMyQTLqRJJlkmUUT2n+aPxYoESsG+/EtQYze/Gx/irgQHWL9Yz y3rFphZMA0cA5YmnLvnXZX+X563ztc9pu8FK2aiFlZ/r1wpVahVbSH+XTcn3uXAD/6DcQYVQAMmlE BEoRuttfVOht0ib3cDqFg15T8DIcTxRMuz2iHsdtbl8vo0YILEe9UlxbReq16uzMYCy/LvtpscMKU XUrkdrgURKf10iyaokyjVagWvGeTcWrAiB3jnlHb2xVNxsOaEPwCV0fMwSi59KxTZb5nYnu2fSlv+ B0LQtylw==; Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgjGe-00AB2w-70 for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 07:26:53 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 90F4A67373; Wed, 12 May 2021 09:26:45 +0200 (CEST) Date: Wed, 12 May 2021 09:26:45 +0200 From: Christoph Hellwig To: Stefano Stabellini Cc: xen-devel@lists.xenproject.org, hch@lst.de, linux-kernel@vger.kernel.org, Stefano Stabellini , 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 Message-ID: <20210512072645.GA22396@lst.de> References: <20210511174142.12742-1-sstabellini@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210511174142.12742-1-sstabellini@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_002652_424202_0B25D14D X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > -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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel