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 C3D38C433EF for ; Thu, 21 Apr 2022 07:46:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386096AbiDUHs4 (ORCPT ); Thu, 21 Apr 2022 03:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386464AbiDUHsR (ORCPT ); Thu, 21 Apr 2022 03:48:17 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C8261CB29 for ; Thu, 21 Apr 2022 00:44:25 -0700 (PDT) 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=mpSnoa0Ptdj3sZDv+oxGPnwE6ZAfL1X74Yg2ESPwiQc=; b=Dn5qcoG/ZzIAUgk6cTqYbqwdtX Avw7vRdFRJ0mTg0bUsK+CZs3rvNhZwzK05CPovfiRdjzT2IPY5F/xkMFvEi3TxxPzgA0PWndKRaro TDX4TxT49DdA19r1AiPNNaBG+ylWbZ/bp7X1uUVv/y594i53QRs01NtsHlJnbmL4dX0KIa4bSU2D0 J0gw74MLBPQgKovFmvso7KYxr5pAX05QzWEX05BK5JdXXDoudegJ0u7ZQMUKKBBprFGA5hej3Sx93 MG+lEODfk+CkU37d5R+LIHy5X5+weF1rDa4fkmX9IQY1YvT7hlZ2MVyYQQI24eDsxevyBfLsaOgbS ic50dxhA==; 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.