From patchwork Mon Jul 29 09:55:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 169970 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp1049491ile; Mon, 29 Jul 2019 02:55:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqf8LLeXU7ILU3OPxVFhynC2Z6yJXXqp8PoYdOb9pEdNmQx1L7HJtU5nLP8oh4FRiX6p0d X-Received: by 2002:a63:8f16:: with SMTP id n22mr33039871pgd.306.1564394129538; Mon, 29 Jul 2019 02:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564394129; cv=none; d=google.com; s=arc-20160816; b=V/G+hB4321rWHIVLRKoM8Hc66VSz7gcpzHFVF5kidxWyXQUQZoPA7DY8+VRdn5PGRX JM0lzkbusCpz7YsuDRbaC9kYD0gma5xhb9lTmXi1CcG0J75TpMzm4mna6h6xOpAoulZs lYmpr0tUptHNZYY+6ey8QlHdfbFRhrZFZ3Yt972rkPCGr2GXKO41Z4i+iqy8AiGhT8Hk eROlSv97y1juvgN1LLGxqWyzi7p5dTbKBUvxmhqlLEg34/hdaO8jpKQyVAAwvx6qzKrj 73l1j0w2QMr1Qoz+1bEYk4nbUBckmxK6f6+VjbgxE0LBn89xst5tQAZT/ELyBeWsIw7i aNJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=NlP37yJWnRvCf/6oy+/WBuYp7kupTFflC6d63icZ58U=; b=mu+xPSDWKzDAfIbC0yUtN6XatMEDvfTeJ0JOxYrMZMc4w/5uQXFbKIlY+J1pdIrT3W I1AVGFXbCaCiDKAajF8H1MziJVWXM3ssFhru3gWR98bzGGfR+C9Ws+4gzmoB4x6w1LRV jsA+iwsbNvBFLxS+pnEzskm+4xoB4ekPD3jyVG2va+roKUL9Zgdi85wPEUDpfdAEGjBC /fA8JfTbTcyJ/dzggBcbzmcJ9GjqMJQQhyNBAyy0IgKpdmSQDvgjt5oMb1TeL7ffcR2b 9LJLi9OeuMhpKDDixBDw8r2pCFFy5kc2NK6yIJX59TRqEgr9s1vOqwpTvPP0UhXGbNoG IIOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SoSJIbaL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 p17si25119217plo.310.2019.07.29.02.55.29; Mon, 29 Jul 2019 02:55:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=SoSJIbaL; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S1727872AbfG2Jz2 (ORCPT + 3 others); Mon, 29 Jul 2019 05:55:28 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:43035 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbfG2Jz2 (ORCPT ); Mon, 29 Jul 2019 05:55:28 -0400 Received: by mail-ed1-f67.google.com with SMTP id e3so58776037edr.10 for ; Mon, 29 Jul 2019 02:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=NlP37yJWnRvCf/6oy+/WBuYp7kupTFflC6d63icZ58U=; b=SoSJIbaL6UDouyPmXQ0huDbosGSu9Isuwe7Yqkvh6mkGCDYVGNJaHf3FeflNwyWl6Z Wv2J+4M/SfwgRbBiUnN5KUugVWUN0x+VS4xkHGO6NT1GC481YsydBeXS37ZUBSr5UjSN PZIgQh84T+34fpWtHlHu00M9BS9EWty1FaHo0J3Nosdhfw9HZsWB10lC4DJoHXbdkMe/ LQvuGA4PoWlBoFDskPtzyRRlJwzUv1WNpevPs4AdBl44Zi3Irhiw4ZYkrvRlfoute4b8 GJ+Ij3deiTYyjsqP3UpGBD6HuRjlryiLzVVFTnrvIhQRlu/lQfD5Q3DRDbY3BQR6c2VF Mceg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NlP37yJWnRvCf/6oy+/WBuYp7kupTFflC6d63icZ58U=; b=Qt5uVBYr01Ht1MyGWKZyTbsVc5hJbZE4RXtS/avtc85ZDWUsNL8iHt5BGdxvfOGEBi IqsqXEDGBBpyEGvOM7Azph4ym5bQAjlTiEWYW+92q+kiJUEAzNwu7ukimUI3P7SwQOb6 fje+1SoLaCFUQrOw2NVIWPbSAW+6pFjRoCfHmayqgGgk4lgEqebbPTd27izou6hfCVpq 2KgoRwmSuyXcxDSuZCVAtAqzk4KF0hNMyTG3T/bV9w11dKlWfOIfKj5P6W4TgEVuv+Cg yL91z7qrkIeMyWqeidSFnTV1B00EB/PUgAAAW79FskoYMnKirv/tYeCMcmH0Hpsb12th 0SOQ== X-Gm-Message-State: APjAAAXsaFMTeclFq0WW24Swq97pQTqozbE35iSG9lrm8GrKfeINfs0J +f5sGBDxLB5SNCogqKTMDyQ535LT8mwVcg== X-Received: by 2002:a50:a4ef:: with SMTP id x44mr96841532edb.304.1564394126141; Mon, 29 Jul 2019 02:55:26 -0700 (PDT) Received: from mba13.hotspot.parkpalaceresidence.com ([212.92.108.154]) by smtp.gmail.com with ESMTPSA id b15sm16211987edb.46.2019.07.29.02.55.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jul 2019 02:55:25 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Cc: herbert@gondor.apana.org.au, geert@linux-m68k.org, linux-arch@vger.kernel.org, arnd@arndb.de, Ard Biesheuvel Subject: [PATCH] asm-generic: make simd.h a mandatory include/asm header Date: Mon, 29 Jul 2019 12:55:21 +0300 Message-Id: <20190729095521.1916-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The generic aegis128 software crypto driver recently gained support for using SIMD intrinsics to increase performance, for which it uncondionally #include's the header. Unfortunately, this header does not exist on many architectures, resulting in build failures. Since asm-generic already has a version of simd.h, let's make it a mandatory header so that it gets instantiated on all architectures that don't provide their own version. Signed-off-by: Ard Biesheuvel --- include/asm-generic/Kbuild | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 Acked-by: Arnd Bergmann diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild index 6f4536d70b8e..adff14fcb8e4 100644 --- a/include/asm-generic/Kbuild +++ b/include/asm-generic/Kbuild @@ -3,3 +3,5 @@ # asm headers that all architectures except um should have # (This file is not included when SRCARCH=um since UML borrows several # asm headers from the host architecutre.) + +mandatory-y += simd.h