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=-13.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 366FFC433B4 for ; Wed, 12 May 2021 20:18:24 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 CC99C61408 for ; Wed, 12 May 2021 20:18:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC99C61408 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.126370.237895 (Exim 4.92) (envelope-from ) id 1lgvJ5-0004fC-KC; Wed, 12 May 2021 20:18:11 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 126370.237895; Wed, 12 May 2021 20:18:11 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJ5-0004f5-Ge; Wed, 12 May 2021 20:18:11 +0000 Received: by outflank-mailman (input) for mailman id 126370; Wed, 12 May 2021 20:18:10 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lgvJ4-0004ez-Hh for xen-devel@lists.xenproject.org; Wed, 12 May 2021 20:18:10 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 521fd89b-72bd-4620-adb4-c21c4fb473f0; Wed, 12 May 2021 20:18:09 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id A30C461420; Wed, 12 May 2021 20:18:08 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 521fd89b-72bd-4620-adb4-c21c4fb473f0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620850689; bh=fP9Wxr+4cvV2QEABqz6APIe0wf2Nt2QzccyCNr1aPQE=; h=Date:From:To:cc:Subject:From; b=Iub85i9N4PogdaaRJ1b5DUmjrHqhoIUgjXookWh7V1QaUHlarkcZ9Et/kzUg3IpU/ 9hYSmO3DpmPCJvQXNAqKhpsWTpHpBo2+9ajqKeAbpXi6xR2jCGoL7liHb5fI/u2aNJ 4BJ0yPDlK7/RkwpR1aIgaiACiPp2VsJqMzmzO9bnKI+mnjwqX/xqFihgFpARJxmK2O ZyoTdyARq/XnZSTIbt5WmFCh5YtfN6t4AH4NI4Yq8HeuEPZPyDXeH/BhAw/qab0EuD THrMu77hwEn+1+TqJaRixF3VsYxfrHs4Qust+JkcFtQxWCsJVw+O/5OXlNl0EVeW0x E6VR7zXWWGbAQ== Date: Wed, 12 May 2021 13:18:07 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: xen-devel@lists.xenproject.org cc: sstabellini@kernel.org, boris.ostrovsky@oracle.com, jgross@suse.com, hch@lst.de Subject: [PATCH v2 0/3] swiotlb-xen init fixes Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Hi all, This short patch series comes with a preparation patch and 2 unrelated fixes to swiotlb-xen initialization. Christoph Hellwig (1): arm64: do not set SWIOTLB_NO_FORCE when swiotlb is required Stefano Stabellini (2): xen/arm: move xen_swiotlb_detect to arm/swiotlb-xen.h xen/swiotlb: check if the swiotlb has already been initialized arch/arm/xen/mm.c | 20 +++++++------------- arch/arm64/mm/init.c | 3 ++- drivers/xen/swiotlb-xen.c | 5 +++++ include/xen/arm/swiotlb-xen.h | 15 ++++++++++++++- 4 files changed, 28 insertions(+), 15 deletions(-)