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 54AD1C433EF for ; Thu, 21 Apr 2022 07:48:42 +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=PJsPu8kVAfq6+1CvvNw8gnY0dLVj/D6VUT7uY7nmou0=; b=oVY+sugw5lw+ZT DYnBVTmV5+kmaVGoVo/3rU7Zd/7B40yGF3stSrkYg8+MMEt+qVcMPTw6hNydQhAHUgv0AV/PzLoRI lzmzKlXH8RQWhCDhyqnDM3QaoxqRjWLiDfHGvaf+S7Bn/kJmFFHpVolNZ2xrdLoHKmAaB1lOy+GLI jRT+yLKA0Q9fnNxiDlv1Rl/IY95ZCKCE/xgVwMmft3QTqFQxw7tWenUivQxl8pyeuu53qM5Nbkm8D djRk/lQ9TnMOs1rtKy6wQ+g7M5bvksA0CxKa0KdMOjhVorABTkHK+Gn7/DCbV0ZXaUlakDscxxu2i BkWfIdpT0VGKqjKEo7YQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRXL-00CAS9-Cw; Thu, 21 Apr 2022 07:47:35 +0000 Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRUA-00C8dO-Ci; Thu, 21 Apr 2022 07:44:18 +0000 Date: Thu, 21 Apr 2022 00:44:18 -0700 From: Christoph Hellwig To: Arnd Bergmann Cc: Christoph Hellwig , Ard Biesheuvel , Catalin Marinas , Herbert Xu , Will Deacon , Marc Zyngier , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Linux Memory Management List , Linux ARM , Linux Kernel Mailing List , "David S. Miller" Subject: Re: [PATCH 07/10] crypto: Use ARCH_DMA_MINALIGN instead of ARCH_KMALLOC_MINALIGN Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 Thu, Apr 21, 2022 at 09:36:46AM +0200, Arnd Bergmann wrote: > Does this work on all 32-bit architectures as well? I see that you added > swiotlb for ARM LPASE systems in 2019, but I don't know if that has any > additional requirements for the other 32-bit architectures that don't > select SWIOTLB today. We'll need to call swiotlb_init for all these cases, but there is no other fundamental requirement. We can probably do with a way smaller buffer if bouncing is only needed for misaligned allocations. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel