Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1430025imm; Fri, 28 Sep 2018 19:02:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV60o1BGWNt8R6BGn58QGunUiZ7qpsV93vosfPTlWvL6fqCfgLUL5iT0ygX1pYRA6B0GvMGPk X-Received: by 2002:a63:e756:: with SMTP id j22-v6mr1110171pgk.185.1538186549371; Fri, 28 Sep 2018 19:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538186549; cv=none; d=google.com; s=arc-20160816; b=fJpmmZR6m1/W8KAD67QzexM2KVXS5zfIt2FOT9MU84CwhVDa7vjWWnTREKxIVKRwko 6Rm+j530eSx4RnvRAY1orRwy9geZOj8JNRSual8j0u/6rWnoVQ28xz/m9xE1HF63K9u8 QZSq5z4palmkNpYu5MxSScw5ZbKjhX40rtidGL6bMFAxHhxAfdPbHFdFz/Ybia3JpRMh CTR6nyUPpJTO12D9PmGjqBV/iTqWaYmnrDBSaJzAhtVmxki1QwILIaj2xL0bnt0UPcdt YI3YVhbXfLqz9pBEdZrFYavp5uHtvpfaeJUdrrs+yveTmtqdWy2wKWvKg0luWx7X5KXP RmgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ki446JDJWZMFnGbA7HDOrhBpWZDCLKhnZZGmiYd98iA=; b=Trf7/IuTHqURk5/giskqaLpRgtzi2TmwFDN4D1EIpxFB6kY4QtXrznk8hBKPBwOovW Cva5ffCoGfeCziEdlkufBu5y/mA0Og/DzzCEoOFnUmvqbPEQVWAlI9p2YHNzxTaKX/Ey W49nhYJv+9mn+KFzmZV/lqDBSlT+rr0Q3fYvArud7Myl5t2yJm1ubCbgRyV7NqEZZXn7 FgaV2T2ECqJoC1zV0WzPoXLJOFXlb3oKocXftkMrIVJ409W5RoVcSthdKgHchjmj9pnD M5XKzYT8xrKbMrQXLbHl1VLcyCOWC+2tnsIGNIRUcL5FcL/dV0XDJzD0bxCfpGOSynwj LKlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=rBMO7Vix; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cd9-v6si6716732plb.222.2018.09.28.19.02.12; Fri, 28 Sep 2018 19:02:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=mail header.b=rBMO7Vix; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727390AbeI2I2j (ORCPT + 99 others); Sat, 29 Sep 2018 04:28:39 -0400 Received: from frisell.zx2c4.com ([192.95.5.64]:45123 "EHLO frisell.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726325AbeI2I2j (ORCPT ); Sat, 29 Sep 2018 04:28:39 -0400 Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id f624277f; Sat, 29 Sep 2018 01:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=zx2c4.com; h=mime-version :references:in-reply-to:from:date:message-id:subject:to:cc :content-type; s=mail; bh=WWrCsfhVAJ6kulBSfJIoVMdB1ZM=; b=rBMO7V ixwMCYZYc7eVkPhm6/bClFCwAJFmFdhp45MD2mVL+IhoXTdq3jA4uiA4bquH8zlB qrh1m3EPHvNQEET0DvG0lIxFKv6OQZIXBJCEOCXX13zF+JIPbibDIXksMWkbmg/A TK0/SIDAacOCFQRYgx3KU3cMZiM92zYnCHtK4nzNFoyuHRLSNvEYt99OanGNLWBN DbYau4HPSxWFoeyp+oqMsm1lc1H2eAPyNhzfyxcT1U+5RTwcIwYPA6SBBhZ3i1kX xMtTju3AztEQ2TP8ckznJ55/PjAMW9bKU1lnWhxMiKz4E3TYCvggPZoowOBoOyT4 0862Yji+cQMa0QcA== Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 43b7a49a (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Sat, 29 Sep 2018 01:43:14 +0000 (UTC) Received: by mail-oi1-f171.google.com with SMTP id e17-v6so6121871oib.4; Fri, 28 Sep 2018 19:02:06 -0700 (PDT) X-Gm-Message-State: ABuFfohFruDA48Y/3mL6wSNsbxG99D29Pd+jzHkFhbI5JnjWhQbviBvl zMkXp8f/cSivlTOwdyMGIpKAtH2BMHzdsCZ1Kzg= X-Received: by 2002:aca:df42:: with SMTP id w63-v6mr574335oig.295.1538186524986; Fri, 28 Sep 2018 19:02:04 -0700 (PDT) MIME-Version: 1.0 References: <20180925145622.29959-1-Jason@zx2c4.com> <20180925145622.29959-5-Jason@zx2c4.com> In-Reply-To: From: "Jason A. Donenfeld" Date: Sat, 29 Sep 2018 04:01:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v6 04/23] zinc: ChaCha20 x86_64 implementation To: Ard Biesheuvel Cc: LKML , Netdev , Linux Crypto Mailing List , David Miller , Greg Kroah-Hartman , Samuel Neves , Andrew Lutomirski , Jean-Philippe Aumasson , Andy Polyakov , Thomas Gleixner , mingo@redhat.com, X86 ML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ard, On Fri, Sep 28, 2018 at 5:47 PM Ard Biesheuvel wrote: > Please drop this SOB line: SOB is not about (co-)authorship but about > who handled the patch on its way into mainline. The s-o-b line is about the DCoO, which is given here by both of us, with the code starting in a shared tree that only had that s-o-b. I can remove it though if you think it's strange to have two s-o-bs. > You are sending the > patch so your SOB should come last. I was wondering about the ordering of these, actually. I've seen s-o-b on top and s-o-b on bottom of the cc list in lots of commits and haven't yet divined the One True Position. > You can drop the #ifdefs above ... Yep. All of those ifdefs in this and in the other primitives are already gone, and everything is fully IS_ENABLEDenabled now. > > +#ifdef CONFIG_AS_AVX512 > > ... and use IS_ENABLED(CONFIG_AS_AVX512) here inside the if(). Already done, per your suggestion a few days ago. > > -#ifndef HAVE_CHACHA20_ARCH_IMPLEMENTATION > > As I mentioned in reply to the previous patch, please get rid of this > CPP symbol ^^^ Ack. Jason