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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id DEFC2C433EF for ; Sat, 7 May 2022 18:52:40 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.323815.545676 (Exim 4.92) (envelope-from ) id 1nnPXS-0007h5-LY; Sat, 07 May 2022 18:52:22 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 323815.545676; Sat, 07 May 2022 18:52:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nnPXS-0007gy-IY; Sat, 07 May 2022 18:52:22 +0000 Received: by outflank-mailman (input) for mailman id 323815; Sat, 07 May 2022 18:52:21 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nnPXR-0007gs-46 for xen-devel@lists.xenproject.org; Sat, 07 May 2022 18:52:21 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d1cfae4c-ce36-11ec-8fc4-03012f2f19d4; Sat, 07 May 2022 20:52:19 +0200 (CEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4C086143F; Sat, 7 May 2022 18:52:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6E04C385A5; Sat, 7 May 2022 18:52:14 +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: d1cfae4c-ce36-11ec-8fc4-03012f2f19d4 Date: Sat, 7 May 2022 19:52:11 +0100 From: Catalin Marinas To: Oleksandr Tyshchenko Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Oleksandr Tyshchenko , Stefano Stabellini , Russell King , Will Deacon , Boris Ostrovsky , Juergen Gross , Julien Grall , "Michael S. Tsirkin" , Christoph Hellwig Subject: Re: [PATCH V2 1/7] arm/xen: Introduce xen_setup_dma_ops() Message-ID: References: <1651947548-4055-1-git-send-email-olekstysh@gmail.com> <1651947548-4055-2-git-send-email-olekstysh@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651947548-4055-2-git-send-email-olekstysh@gmail.com> On Sat, May 07, 2022 at 09:19:02PM +0300, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > This patch introduces new helper and places it in new header. > The helper's purpose is to assign any Xen specific DMA ops in > a single place. For now, we deal with xen-swiotlb DMA ops only. > The one of the subsequent commits in current series will add > xen-grant DMA ops case. > > Also re-use the xen_swiotlb_detect() check on Arm32. > > Signed-off-by: Oleksandr Tyshchenko > Reviewed-by: Stefano Stabellini For arm64: Acked-by: Catalin Marinas 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BCB80C433EF for ; Sat, 7 May 2022 18:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=oc5GyrAs0vTXUY/9VBVyHyxjNFyCTAtS0gL9Vspix2Q=; b=K+iLAddEnaM6e7 gRBNPuf+2ROlXqC0k1e8rVD9T4tI9ofTMlvFaCbzBi3t9wgKcYAR/eHO14yoao8Qeoyv0EOy3Z/+c ickQL+pAMoGAhfqLk3GVyL2qLBm1KaaiS0tG+CW1yUc/AujywRiRUlQUS+imSaa5qZYO1tQZXg5FC Vtd6MrfvXp4u3qxZwpT91+EGdRTJebltSTWdOp2ISnIZ57A1is5wC/vrrUrr8WZBbt8WrSg2KEsg8 6aZtnet2P0g2ZdiSJcI2ccTCD6UCu2Lcvpwc27ILb+I0huVDTW7vpzGofbLhg2qbSHCOCKi1FQ3DS gjil7D77K6D/Q6eU4R5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnPXR-0082W5-Hv; Sat, 07 May 2022 18:52:21 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nnPXO-0082UU-BY for linux-arm-kernel@lists.infradead.org; Sat, 07 May 2022 18:52:19 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4C086143F; Sat, 7 May 2022 18:52:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6E04C385A5; Sat, 7 May 2022 18:52:14 +0000 (UTC) Date: Sat, 7 May 2022 19:52:11 +0100 From: Catalin Marinas To: Oleksandr Tyshchenko Cc: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Oleksandr Tyshchenko , Stefano Stabellini , Russell King , Will Deacon , Boris Ostrovsky , Juergen Gross , Julien Grall , "Michael S. Tsirkin" , Christoph Hellwig Subject: Re: [PATCH V2 1/7] arm/xen: Introduce xen_setup_dma_ops() Message-ID: References: <1651947548-4055-1-git-send-email-olekstysh@gmail.com> <1651947548-4055-2-git-send-email-olekstysh@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1651947548-4055-2-git-send-email-olekstysh@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220507_115218_470005_F45F94B5 X-CRM114-Status: GOOD ( 11.92 ) 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 On Sat, May 07, 2022 at 09:19:02PM +0300, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > This patch introduces new helper and places it in new header. > The helper's purpose is to assign any Xen specific DMA ops in > a single place. For now, we deal with xen-swiotlb DMA ops only. > The one of the subsequent commits in current series will add > xen-grant DMA ops case. > > Also re-use the xen_swiotlb_detect() check on Arm32. > > Signed-off-by: Oleksandr Tyshchenko > Reviewed-by: Stefano Stabellini For arm64: Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel