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 2493FC433FE for ; Fri, 26 Nov 2021 15:28:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347624AbhKZPb5 (ORCPT ); Fri, 26 Nov 2021 10:31:57 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:41928 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354715AbhKZP3z (ORCPT ); Fri, 26 Nov 2021 10:29:55 -0500 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 3E1A5622B2; Fri, 26 Nov 2021 15:26:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7771BC53FCA; Fri, 26 Nov 2021 15:26:39 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="fH4FAr7a" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1637940397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ipM/TXyq3fa2xD6xL+IODfRBAa1n0lqHCOEC6lhGz2w=; b=fH4FAr7ax00biFRspLsNjb0ze3JPDHFQiXw5nz3dCryky0GVjtS7odrrBG4SXFEnuMPupb C2rBVxwhqhzGHZtfe1Vkui9Kv/3RpHXES00WTFF0HitxpBYX8DbwD7DlSx07p0XbnTXy7w obXYs76FMoUXfcO17O5JJI58FIkJK9U= Received: by mail.zx2c4.com (OpenSMTPD) with ESMTPSA id 68512c0f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 26 Nov 2021 15:26:37 +0000 (UTC) Received: by mail-yb1-f180.google.com with SMTP id 131so21171038ybc.7; Fri, 26 Nov 2021 07:26:37 -0800 (PST) X-Gm-Message-State: AOAM531HfnOkXbi0adWvvKN8DyC5lx9FKQwm7xz+aeZET5kLpbOqaZh0 H2+j9tjgJQV3j8tbFmHGnag+KcWgDfoIr4rQM3w= X-Google-Smtp-Source: ABdhPJz1jC7tzRI2Jev0YFMgIakMjnOGUeXIERuvNVU50Dbr302WyOqELo2lVx6sJzZ8S49+xbTN3CiBb8Raeb2tmIk= X-Received: by 2002:a25:acd4:: with SMTP id x20mr16477398ybd.416.1637940395629; Fri, 26 Nov 2021 07:26:35 -0800 (PST) MIME-Version: 1.0 References: <20211126143329.2689618-1-arnd@kernel.org> In-Reply-To: From: "Jason A. Donenfeld" Date: Fri, 26 Nov 2021 10:26:09 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] crypto: siphash - use _unaligned version by default To: Arnd Bergmann Cc: Linux Crypto Mailing List , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , "David S. Miller" , Jean-Philippe Aumasson , LKML , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 26, 2021 at 10:18 AM Arnd Bergmann wrote: > I have not tested this specific patch on all platforms, but I did > extensive testing of the get_unaligned()/put_unaligned() helpers > in my rewrite earlier this year[1], making sure that these are NOPs > on all the important architectures, and that they prevent the use > of trapping ldrd/ldm instructions on ARMv6/ARMv7. If you're confident that the codegen doesn't change for ARMv8 and x86{,_64}, then: Reviewed-by: Jason A. Donenfeld We should probably Cc stable@, right? I'm preparing a patchset for DaveM's stable tree today, and I can take this in that patchset. Jason