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 BDE9DC3DA7D for ; Tue, 3 Jan 2023 06:56: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=qq7OpszCK7EXxLGaK14coLKZx/FbIeBHSZJMLSO2+cI=; b=2srmTSZUJfYVRc 8U5+h3D2ZQYaDZa0/uBeKAUXr3Pc86zTvLfRLX89EWltZlBWfqr8tnfGNeS/uCdjSgZtpOtUjsgNw 3V399YdY972EcqA9Y/ujvvjce2ULm8L0wrBLQ9PCJvu3MxPoVL5RVNBq0sGVQSbHyM/hM9cDdJ8Y2 P8gBI2ctB9u46+Wv3apAq2OvobPJQKJwqTWmuAz+1hQnQ6eGTF0gxqTM/n9AxMBb+VvyFDcLJgC3u F+nbUWgY3c/OTuJNmmLMu62IYPO6VVuUvsYQDXpUHol/G70mDPboOp0UTWPka3gV9IIFgipvNYYHl 6dXy+ojH1HGi7BU9KFog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCbCa-00HHkD-TC; Tue, 03 Jan 2023 06:55:13 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCb90-00HGPG-2U for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 06:51:32 +0000 Received: by mail-wm1-x32e.google.com with SMTP id z8-20020a05600c220800b003d33b0bda11so16031670wml.0 for ; Mon, 02 Jan 2023 22:51:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=zvm/NFAuK45vvysV5ROF8aqgqwjzu2CCXnvz1aWo4So=; b=MLwvy/EyS1jKO51O6p0H8dZSyEeX16in2WqUDXhDxLFaQVpR4qARAuRzQSFB0vcSAi MY22qMmS2+2hC7d5gnyH350MucyeiiIAT1YHTmmFNcY088g7JyChJIhptwb6ICB78TCx /Lzc17SjQzZgjf+AkcfNpRq1emOnQb3tUdIk+lTsJaMwC0FjKecj028P6hytqleKF+fT QB+r86Nw+F66IiPtQ80HRNINvwF27JOtx0e/jPbPcx2TMyxg/WsOg91mZEQ2aWkWO7nI BSG4SL04EkTr9dVVj8dmL1nAwxBb27capie0GnD4wEFynlU93m/CuG3BB73hy/+RGQK/ hxvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zvm/NFAuK45vvysV5ROF8aqgqwjzu2CCXnvz1aWo4So=; b=cCVUZ7VrdLXQiqEwyzmeAwj3RDwwzjMMXO+1gpOJzZ4tzSh2boOzM4o39+HzNLIIk3 UQho4RTA257jjA+b/p74DlVyE354J9XzW7LT7UBuV21wPj5OwrKWpNPlK85SrKuxRxIN gK/IqJ5jCqbrVYaPVyOVSIxtFdrq96WmvqXl2nVdTZpKvj3DQmTo+eAyj9Y6GxeL4uBh VAzxlSgzgMc0LCLIMGuYOfKf0/JCHEvYFpHQErO9x6Wls9/dKKMIzCKr9f97f2/fkMKp l8COVrWkDxJeizM8OFiQSdvkXAFL+c1gyvRk1kWC6te2QC9Qfgo2YL+ZgeayuV/FclUD 4Bbg== X-Gm-Message-State: AFqh2krYMOATU4pOenXthy/gzX765T+8dgVtB4rabKydpk4kJUQcuaZu eFgzN/cLWoNmUFSYP1MMcIc= X-Google-Smtp-Source: AMrXdXvx8ij6viMFBgSN0O1G4ZhOQt8phXBwB4dVfRwoDkc3xvl4dwcv3D261EaKIC2u2TF6qrm3vQ== X-Received: by 2002:a05:600c:3acc:b0:3d9:a145:91a with SMTP id d12-20020a05600c3acc00b003d9a145091amr9407893wms.28.1672728686664; Mon, 02 Jan 2023 22:51:26 -0800 (PST) Received: from Red ([2a01:cb1d:3d5:a100:4a02:2aff:fe07:1efc]) by smtp.googlemail.com with ESMTPSA id v9-20020a05600c444900b003d997e5e679sm25805212wmn.14.2023.01.02.22.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 22:51:26 -0800 (PST) Date: Tue, 3 Jan 2023 07:51:24 +0100 From: Corentin Labbe To: Herbert Xu Cc: Christoph Hellwig , Catalin Marinas , Ard Biesheuvel , Will Deacon , Marc Zyngier , Arnd Bergmann , Greg Kroah-Hartman , Andrew Morton , Linus Torvalds , Linux Memory Management List , Linux ARM , LinuxKernelMailingList@gondor.apana.org.au, linux-kernel@vger.kernel.org, "David S. Miller" , Linux Crypto Mailing List Subject: Re: [PATCH] crypto: sun8i-ss - Remove GFP_DMA and add DMA alignment padding Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_225130_195513_69BA2292 X-CRM114-Status: GOOD ( 13.76 ) 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le Thu, Dec 29, 2022 at 04:58:21PM +0800, Herbert Xu a =E9crit : > GFP_DMA does not guarantee that the returned memory is aligned > for DMA. In fact for sun8i-ss it is superfluous and can be removed. > = > However, kmalloc may start returning DMA-unaligned memory in future > so fix this by adding the alignment by hand. > = > Signed-off-by: Herbert Xu Hello Tested-by: Corentin Labbe Tested-on: sun8i-a83t-bananapi-m3 Acked-by: Corentin Labbe This means that lot of other crypto driver (sun8i-ce, amlogic, etc...) I ma= intain need the same fix, right ? Regards _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel