Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp914498lqh; Fri, 29 Mar 2024 00:25:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+7O+Z9uxOpAR1UYp9GQ0HnhmJv7UA5sp5BPepgCpK237OC+qGHh2jCsaJgSl3K2au68xX6zKnr2VDcilszEz7EpGta/nLH/LZo3WLBg== X-Google-Smtp-Source: AGHT+IH7cu31dvoXCeaYNiuozlZHkmR1dWa2HWxFqD93xHhxGMTbjKusPNYTFpgce3NOLiHpxlhe X-Received: by 2002:a05:6830:1bc3:b0:6e6:c48c:1010 with SMTP id v3-20020a0568301bc300b006e6c48c1010mr1604169ota.22.1711697124194; Fri, 29 Mar 2024 00:25:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711697124; cv=pass; d=google.com; s=arc-20160816; b=mzwxX98Sj2KLmtbjtTKz6cLTm9CRHUI2ZJcpp2rfs9W0AbUjggaL+MS4g+sXCUfwwx Q9D6xtlre1gTrFg5vAjCDLPeewyPrOCJklFwKbw4oxWkQ3leotcm+WLoCLP9OzjyBhtX KSAP/VzPPDEnJLT4GSMSvOEIK8Sw96DanAfQGhK4AqVneVNvBen7qQAy32M8Rnr0o3w4 WhyweUQsSJvFduDP+7dpO3oQPZ2+t33FMFwxdlnd/sXlJNfqfRV8XGFd8Q50EMBuGna+ zy4zI7q3D4m5QbLdUhaiWqLt02Ka67gCxaHSbbE146zMaHhpYXavNF+jGBgEVaYPaYIe Y/BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cDl3drvCV8mQminB8cd0FWY5ZeQD5iRDfGVHISUC3N8=; fh=hykHFcSXI0hOAOnhA1/Zxz7hoNqgyYiiBW+IxgQnJLc=; b=sCEuaIoqdu6C2tGHEp8E6254BSCoBVlcP+EOqHkDU6Vl1kEPAHswOigoptrEzspU7K sqs1hb0zwwtx0GmQOT6YMwyTcBtmE53bzIJXosSMcgFrxzoVmIyBUgUjZZ6aDBn+pws0 CArRXYTedUtfGe615JvlMEn5BbFDne/Qef0JQdh1GgMfeICp4f7uiChdRtbwflP2aWyG 3MxdleTPeqddOoo+Wru8yzIIEVuGwWt5GtsPj+bxKSSSsc6X7DOH12UQjAXfz1aJ/Ymc 6NN2BwwdlV9fBBUbAwYWwDM+cfJ1XA9OOGh650g9pV9fiIvnGNYmDCST9XTCvdfrEjlB 36Ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=TYYxwge7; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-124230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bv127-20020a632e85000000b005c1b30b1b65si3011781pgb.648.2024.03.29.00.25.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:25:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=TYYxwge7; arc=pass (i=1 spf=pass spfdomain=sifive.com dkim=pass dkdomain=sifive.com dmarc=pass fromdomain=sifive.com); spf=pass (google.com: domain of linux-kernel+bounces-124230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CC632286353 for ; Fri, 29 Mar 2024 07:25:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25DB244370; Fri, 29 Mar 2024 07:24:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b="TYYxwge7" Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C26B440BEA for ; Fri, 29 Mar 2024 07:24:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711697089; cv=none; b=K7JB4Xd7ooyFoNJT4T9zqKpPU089JemskeuyQDWy2KqNTq+7fe7rXK5N6fUz9ibD2RC0khUM7qhIRU7klzycX8hAPmWCy9SHb3b1mnNQMKRdMHNcPaTpEDux6gjXSZrxxJ6Ddume4UhE9DUCB0TO7BkhuhPJTSI25fZVhZIGurQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711697089; c=relaxed/simple; bh=RJd5BlsAAxF5X8VrsYLoWuX4V8CXbuiKI9CxD4Htyqg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Zm7LBeBgY8Nw82arjHDEx46Q54WwbakEdZRsoZC1n/LhBjR3f0m0RMlhXwh4WuWO87fdTeDdIUdu7CYqqEusNroOZqeiodjwxE5F/DFfeWURvuk46SAykgv96DeQPlWMYQPCet1X13W78dLnHqhkBRxQJ2287HjCy4rYRBCqe28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com; spf=pass smtp.mailfrom=sifive.com; dkim=pass (2048-bit key) header.d=sifive.com header.i=@sifive.com header.b=TYYxwge7; arc=none smtp.client-ip=209.85.210.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=sifive.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sifive.com Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6e6c0098328so1476610b3a.3 for ; Fri, 29 Mar 2024 00:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1711697087; x=1712301887; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cDl3drvCV8mQminB8cd0FWY5ZeQD5iRDfGVHISUC3N8=; b=TYYxwge7GMLc2eJ0SzKwv8AKKFwZyVStS6nI4in3WQN4GQDt5YQ0TS3KOIFx7RvKzi hr66BifDtM46dV0iMZ0/aP5glOGZCpa9cPmxNbpxiqDo9GzV4/S/GzgecdU1pqzcwRh8 3g/sqQHS/2kW6TYHgZCv7a4BlwblG4AiA1AzcItZpOBaFzEI3Yoo5kwjfIjLrbef1f9u 4G2Q1RFjzp1QcP0Bscr0s7qE5B/i4Zo8RpRRTFNwfBNuNx72YNy6gN/sSPZZjTOEPWvF hChdCdsased1KxnstAyihyKGNocBckEqpok2cQ6kbP/iNrPj4v6keb4NIbfjSK5uFLTL huBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711697087; x=1712301887; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cDl3drvCV8mQminB8cd0FWY5ZeQD5iRDfGVHISUC3N8=; b=WwPeKpmQgEkou0k762MNBlO0K9DJo+g0RbZ7ZKnnOeEX133W2/egkpuYsTyOzmtoud X5P0OKT858MD+JQmLIrafwrEldT9DWeIU1/gl6ilERw7Ly0QXBD814pDwbiPIodzTO2x 6+EV1oKlwuHx47gnCBjX3mHGkoKNhsDBZ5d2C//CZL/ArCjuNRcLQ8YEGTDStdxe7q2E sYPn+ohzkBJzbo6HGU4+Yy7OyQQqb58mkFiuKSIkXusqsh+iQth1QMRudX3pHMMaf8F2 UHhOSzB28y6MWUs8FbEuHV/st/0664LuwwQLwafpKMXDicbD1dqbbXZTYX2dzoZbHhW2 44Hw== X-Gm-Message-State: AOJu0YybydkEOfwHdn2prcePOQwcRbyi3+b/Yxo/Y9LcyuGyZxUkYktN AooLE7amjvtG3blDHZV7gz9cMs0f77gXa/onqicTOgsQPQ35kOMMQ5ApBEEIjqA= X-Received: by 2002:a05:6a20:394d:b0:1a3:647b:b895 with SMTP id r13-20020a056a20394d00b001a3647bb895mr1477372pzg.47.1711697087156; Fri, 29 Mar 2024 00:24:47 -0700 (PDT) Received: from sw06.internal.sifive.com ([4.53.31.132]) by smtp.gmail.com with ESMTPSA id b8-20020a17090a010800b0029ddac03effsm4971798pjb.11.2024.03.29.00.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 00:24:46 -0700 (PDT) From: Samuel Holland To: Andrew Morton , linux-arm-kernel@lists.infradead.org, x86@kernel.org Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, Christoph Hellwig , loongarch@lists.linux.dev, amd-gfx@lists.freedesktop.org, Samuel Holland , Russell King Subject: [PATCH v4 03/15] ARM: crypto: Use CC_FLAGS_FPU for NEON CFLAGS Date: Fri, 29 Mar 2024 00:18:18 -0700 Message-ID: <20240329072441.591471-4-samuel.holland@sifive.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240329072441.591471-1-samuel.holland@sifive.com> References: <20240329072441.591471-1-samuel.holland@sifive.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Now that CC_FLAGS_FPU is exported and can be used anywhere in the source tree, use it instead of duplicating the flags here. Reviewed-by: Christoph Hellwig Signed-off-by: Samuel Holland --- (no changes since v1) arch/arm/lib/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile index 650404be6768..0ca5aae1bcc3 100644 --- a/arch/arm/lib/Makefile +++ b/arch/arm/lib/Makefile @@ -40,8 +40,7 @@ $(obj)/csumpartialcopy.o: $(obj)/csumpartialcopygeneric.S $(obj)/csumpartialcopyuser.o: $(obj)/csumpartialcopygeneric.S ifeq ($(CONFIG_KERNEL_MODE_NEON),y) - NEON_FLAGS := -march=armv7-a -mfloat-abi=softfp -mfpu=neon - CFLAGS_xor-neon.o += $(NEON_FLAGS) + CFLAGS_xor-neon.o += $(CC_FLAGS_FPU) obj-$(CONFIG_XOR_BLOCKS) += xor-neon.o endif -- 2.44.0