Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7653157ybi; Thu, 1 Aug 2019 11:30:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdj/uCbSV588+022QobPXH5DnWNTybhn6KToCohvZa8gD/96qX8UFCO9LBjkMrPNeiQvJ8 X-Received: by 2002:aa7:93a5:: with SMTP id x5mr54154296pff.87.1564684241864; Thu, 01 Aug 2019 11:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564684241; cv=none; d=google.com; s=arc-20160816; b=ueaf8dBX7Z7ZIVpoTCB9qbIy2B6qF8AvLGKNQdQdrwkd02mw5+C8rbeXohPtJy6gey hfREUDPPvYMu540irFnhZJr59SGDQ8kik79nn3l80C7EslWzui395i672MtTRTMftqj4 v1HYMy1X4ZuM7y3ZWIFFXsOpF5WJTuO0snZQK16py2stjiYWouCPhQ+kKWV4VRSSoU57 rtzsRuyKfuam5Mb5J6sIXkcPWVGnzYjH+hw3+YZiqFDbL2FTLvHZvXBES9N5Rv/GDEgI vK6jZzmb1J/Wrjop3y9DVo61RymrYM5diVMoV6hc/+z7HwKTUcbTM7e0xTjT45BzFFkQ m3Iw== 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=V7iES048LQCKT01wi1ZH6mu+llZ9u5BBJ+ptxxo4m+U=; b=RDilQkIUwDLjy2LfogF29i7w056+rEXuN9Oav9ibnoVCAVidx4l+OJiKZPtO7XJ831 PV0PNgBJrWPbm/MvLQCmW2pQc5IAb6608XAOgB6Ng/BCzt+vdJzWLFyP9TzLEvQnpnep 2xKInTl8KVe+ayswL2gQRMWRyDgYVW4ciPqkGa/5K/v3sZb8qQ+7g+aS2GTQRfD3wOAT HEnzzkWRdr7hXG3A2tAjGSWkB+XwfuC8dqKOHkIUByyIpk4F+XjoJm+Dw3mnGLlpGgdE WkvOGxs5ViBBWOXKDWpWFTSBOLeCE2iX7pEa8Kr//SygLdD7oSmZbGizzPi8Xz0KtSBl MApQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WoHkVxtX; 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 o6si42304269pfb.230.2019.08.01.11.30.26; Thu, 01 Aug 2019 11:30:41 -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=WoHkVxtX; 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 S1732735AbfHAR3J (ORCPT + 99 others); Thu, 1 Aug 2019 13:29:09 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41510 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727537AbfHAR3I (ORCPT ); Thu, 1 Aug 2019 13:29:08 -0400 Received: by mail-wr1-f65.google.com with SMTP id c2so71228990wrm.8 for ; Thu, 01 Aug 2019 10:29:07 -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=V7iES048LQCKT01wi1ZH6mu+llZ9u5BBJ+ptxxo4m+U=; b=WoHkVxtXyOlDI8FIrsWX+mKng5MgkynwGfd/EiStmKxt5ZmRGwagRY65HZ1D/QQNaj v4dQ3o6i+FbowNs5iKg+uUWIfd1LDUikpWW4Stm6hL/a+dh8l98sjXdIoUQ2DGyWdW9D VwHTiK6m88q/cO6xDvrUQ3OVGBezKVCugRm52n40mmP1+TOql/Ahky5a7rBp1QesQTNr ygTczmDMsij0pflEsuxDve0CwQVXOUzBdxX9X7P85zCpzUJm9RBRhz9BJuFUaEuWCUHT KkHtw/5RQDWhEyUF3UuSCcNG0QKqk09Oq1fURsscjTBaMQlUlp96ZULSpZUEU0G2IdcC sziQ== 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=V7iES048LQCKT01wi1ZH6mu+llZ9u5BBJ+ptxxo4m+U=; b=K71i/peYjScXO9nVYHyxnRacVk7AoU7cND3yUzqfpjbrQIZqXUxsOYWvvZD7TzJvyI dyxI9xZNUNbyq++MhwBaMZtm3++EeycgbWNgcYk8b/AH3f0FT5BMJotAfkXkBFCakZlY ln5os6oR0i+YxDgcS5IRQ91H8GG5HCsRPnQCH441ai+UZEmnlPPsPs8FEvFlSPC2lVDd mpw36WMa/zgBxwHg/u7vbsZ7ey/xb2rmahqDcpVgsiZgXzjuiMfQGFN5tya1aUao6aJK 27MHzPkV4+9MSE2140YOMw7y7x1kpscz+X7tihejwfmN6lzld+oB9Nh+7VaM/qr3d6zs hmhg== X-Gm-Message-State: APjAAAV/52y0Er7kQx3UQZJrcnsXfIatrefJulQT/THtjfeQWoecDe7I bgAjUQ1UTXiSh2o8O/9QVV4imk2RF9J2xdOSE4gGrA== X-Received: by 2002:a5d:6b07:: with SMTP id v7mr31905638wrw.169.1564680546461; Thu, 01 Aug 2019 10:29:06 -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> In-Reply-To: <20190801122849.GB4163@osiris> From: Ard Biesheuvel Date: Thu, 1 Aug 2019 20:28:56 +0300 Message-ID: Subject: Re: linux-next: Tree for Jul 31 - s390 crypto build breakage To: Heiko Carstens Cc: Herbert Xu , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-s390 , Harald Freudenberger , Patrick Steuer 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 Thu, 1 Aug 2019 at 15:28, Heiko Carstens wrote: > > On Wed, Jul 31, 2019 at 01:44:54PM +0200, Heiko Carstens wrote: > > On Wed, Jul 31, 2019 at 09:32:16PM +1000, Herbert Xu wrote: > > > On Wed, Jul 31, 2019 at 01:15:20PM +0200, Heiko Carstens wrote: > > > > > > > > However that doesn't fix the simd.h header file breakage with the > > > > second patch :) > > > > > > That fix should be there now too. > > > > Yes, works now. Thank you! > > Still not... with linux-next as of today I get this (s390 defconfig): > > ERROR: "crypto_aegis128_decrypt_chunk_simd" [crypto/aegis128.ko] undefined! > ERROR: "crypto_aegis128_update_simd" [crypto/aegis128.ko] undefined! > ERROR: "crypto_aegis128_encrypt_chunk_simd" [crypto/aegis128.ko] undefined! > scripts/Makefile.modpost:105: recipe for target 'modules-modpost' failed > Hello Heiko, Apologies for the breakage. The first two fixes addressed obvious shortcomings in my code, but with this issue, I'm a bit puzzled tbh. The calls to these missing functions should be optimized away, since have_simd never gets assigned if CONFIG_CRYPTO_AEGIS128_SIMD is not defined, but for some reason, this isn't working. Which version of GCC are you using? Also, could you please try whether the patch below fixes the problem? Thanks https://lore.kernel.org/linux-crypto/20190729074434.21064-1-ard.biesheuvel@linaro.org/