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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EB2FC433F5 for ; Sat, 7 May 2022 18:52:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386941AbiEGS4K (ORCPT ); Sat, 7 May 2022 14:56:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241402AbiEGS4F (ORCPT ); Sat, 7 May 2022 14:56:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2940A6353 for ; Sat, 7 May 2022 11:52:18 -0700 (PDT) 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 C11DD6143D for ; 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1651947548-4055-2-git-send-email-olekstysh@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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