Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp829995ybi; Fri, 2 Aug 2019 05:05:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7mAWevb07J2Y8SLMVPNtSJuVpsgU+QTqv6vMJvAxff7qoZATNdMCQ3a0N6XeeDLogIjSf X-Received: by 2002:a63:cb4f:: with SMTP id m15mr48114616pgi.100.1564747513915; Fri, 02 Aug 2019 05:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564747513; cv=none; d=google.com; s=arc-20160816; b=YFC2lZIkdABPYegxpbT0AhdDVnCoi7exsuE8T7D/Kinqqe8F/qK+CEi9RRxmzmzZ3m 4dhkxdxpC/RDeYlz94kWgH66S0lC9b21TrU1TFUYEGXUJFAWLK/ZiV0d8dD6uRqyuTkF WNG32z+STUdDNV0j1MH9cCza2p0drLQJJcP5ZQlLinRB/7ltnB1ctyYe/BQLzEAfT/Xu D8qYAIXJrkOLqQ6hggsMlfTP9rg0OsRu1CaZlSOJz+pcMKBgwTCfA6/hSULM/Tt6otye TP6/YbIshC/Wjv0z62Otf1ZR5vtLP/bacdbIZF/voLAw8xAIgOE8hMdVyi6IOv75xmbH Btrw== 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=RTIJdZfJyogINbGkYtFeVknV1tGImWiMfrMoLbklh1U=; b=ZXckKoqHV5Zc0zyQXTjEcaOKyEI2MNOk/DXiJNMwp0i7HSnUn1TXoIoSjYdTKZboI4 FJl8tz0GRZd2SpPA+N2mKziZGQRuK5GJHgDnF5wBJK6ak7zyRMfckDnjQmE56LfNpzQA bIzNEPnJnAh7iMj6GdQPthtnTSDLDGBo+oCuVFHWzp+/eZ8MgnrMx9QwFH30zQf9jlx5 vsmXBbTelmBFivLrm8FIp5AVAol0SywA7+edXcNsdT2Xt5/nbUNhRsmPbJ/rVmtXz4BR tTZpswytXGL0fYTCmwsUJq5COrrOba7+ni1xgwIZ8SHwG1cgg6OSYkKe7E0i3OJB4eFE i2kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v9QIbgCJ; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si34741916plr.131.2019.08.02.05.04.58; Fri, 02 Aug 2019 05:05:13 -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=@linaro.org header.s=google header.b=v9QIbgCJ; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388834AbfHBGo5 (ORCPT + 99 others); Fri, 2 Aug 2019 02:44:57 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:54877 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388295AbfHBGo5 (ORCPT ); Fri, 2 Aug 2019 02:44:57 -0400 Received: by mail-wm1-f65.google.com with SMTP id p74so66772715wme.4 for ; Thu, 01 Aug 2019 23:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RTIJdZfJyogINbGkYtFeVknV1tGImWiMfrMoLbklh1U=; b=v9QIbgCJLNas6/Y7Z9dtjZuPimi86NjRV3xXNKuKIVqYz6ewnLF8A0M7ywWyjhg8w6 H4wT36fNabVxqIWqE/fI2QF8HA74Gzgd1jAdy0tiuKYclKURJAlUEHBrPU00RuQOK/d3 t8SQ2Xt/dVe9UahYIYqWz9KozYRS7ZcBGdp0ZJkkl6uXNgfV5Qyq0w5vIsraVDTmclJK rSzr+KqB6cpvNJ2+qm8hVPQkLj02ZFMcdIXIS/UCcolKa8ogkH3oK+4B7NVsOk1lB6Ne G+PmqqtT76rJPPTEUvhsUAjYN6D6iSJ+iKQpv1/vIBVxDyOmrY6R809L6U1xVY4QExF/ l/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RTIJdZfJyogINbGkYtFeVknV1tGImWiMfrMoLbklh1U=; b=TmGePbDMDpxID8GxuHd3UEBUlsL5K2VJg01Y3nXrg5+E00mV3f/carXNFWiMJbuZHQ ezKgN+MUynpb3FUVRVjs87XkE6dn21yWN2oRXzkNAlKhrkvzUix2YDy/Mg8rZv9cQPBR Xdl1uoLf74lNdPsh9H3tV2ZSN2JFeEKY9zHYtVqmOfxH51Vm1cAdYoosVRfkW63kbX5L 8e2g3q6/+Jy0JRCN9ev83kOPygo1SjAKnItfCpY9Idn4vQj32EqUf6in/9WwtsoqNMeX J683bcr/u6W95CtnW7bXuP5Nngeh8mOXZFSa5Sdt5R+RamzHBii51Al6oLQucaxlnnkt BmBw== X-Gm-Message-State: APjAAAW4nZZqpvDMbek0shU7cZM6NglVscZsFp8QtlGK+MWBrUsiXjCZ 6sNZpHRRnXJ7WsNVYLFxmHNKDZJltrSSwzOXjdFu/HH2SWM9RA== X-Received: by 2002:a05:600c:20c1:: with SMTP id y1mr2792227wmm.10.1564728294618; Thu, 01 Aug 2019 23:44:54 -0700 (PDT) MIME-Version: 1.0 References: <20190731163915.3fdfcb14@canb.auug.org.au> <20190731085819.GA3488@osiris> <20190731110816.GA20753@gondor.apana.org.au> <20190731111520.GC3488@osiris> <20190731113216.GA21068@gondor.apana.org.au> <20190731114453.GD3488@osiris> <20190801122849.GB4163@osiris> <20190802102019.6a789c51@canb.auug.org.au> <20190802031414.GB14879@gondor.apana.org.au> In-Reply-To: <20190802031414.GB14879@gondor.apana.org.au> From: Ard Biesheuvel Date: Fri, 2 Aug 2019 09:44:43 +0300 Message-ID: Subject: Re: linux-next: Tree for Jul 31 - s390 crypto build breakage To: Herbert Xu Cc: Stephen Rothwell , Heiko Carstens , Linux Next Mailing List , Linux Kernel Mailing List , linux-s390 , Harald Freudenberger , Patrick Steuer , Ondrej Mosnacek 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 On Fri, 2 Aug 2019 at 06:14, Herbert Xu wrote: > > Hi Stephen: > > On Fri, Aug 02, 2019 at 10:20:19AM +1000, Stephen Rothwell wrote: > > > > It might be time to revert all this series and try again. The > > implementation seems to have not been well thought through from a kernel > > building point of view. For a start the two commits > > > > 7cdc0ddbf74a ("crypto: aegis128 - add support for SIMD acceleration") > > ecc8bc81f2fb ("crypto: aegis128 - provide a SIMD implementation based on NEON intrinsics") > > I think the idea was that it would get optimised out if the > implementation is absent which is why it was meant to work in > this order. But oviously as we have found out this didn't work. > > Ard, I think relying on the compiler to optimise something out based > on an assignment within an if statement is just too error-prone. > We'll need a different mechanism for this. > Indeed. This is definitely something I tested, and it appears to be dependent on the GCC version. > For now I'm going to back out those two specific patches as the > rest seem to be valid by themselves. > OK. I will adopt this mechanism [0] after all and resubmit, once I get confirmation from either Voldis or Heiko that this makes the issue go away (given that my local GCC does not reproduce the issue) [0] https://lore.kernel.org/linux-crypto/20190729074434.21064-1-ard.biesheuvel@linaro.org/