Message ID | 20231208055501.2916202-4-samuel.holland@sifive.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C66A8C4167B for <linux-arm-kernel@archiver.kernel.org>; Fri, 8 Dec 2023 05:55:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pNbE395wXVZwO71WdEjWsTpaJfCtJbfudppet5uMF/M=; b=UwkuUp2t1em9Vb VShI0RO7k0fbGfhNBqS4lwkLYxsDJ6AUpPbpychgjytmZ7YeHtKpvy4+FPAjx7jXa23373pfibWZ5 OWuJeAMfZox7gyfOFv6ouCax800bkEpf0KDX5IHhML9iwCxmG/Ab1Oy7D29ZDbGiJD17vzp7nK9tO Vc1KhQ85/hclr2t+cYb3bZLKizemOzG3UzgabVx9VH5vb/8p4Te93xTTdFoFX+fdjG0GTxD+7TNi5 BfEUetMzAc4p5dt4xAKzCIs2zOeGZqcu6VmSszufEPvYrCT89SLU+QAu/gZU3eLVr8mg9CQCqAnrG NwaPuZlqoiXUckLfkJ9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rBTpY-00EnfI-1Y; Fri, 08 Dec 2023 05:55:20 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rBTpL-00EnPQ-2m for linux-arm-kernel@lists.infradead.org; Fri, 08 Dec 2023 05:55:09 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1d0c93b1173so12966655ad.2 for <linux-arm-kernel@lists.infradead.org>; Thu, 07 Dec 2023 21:55:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1702014907; x=1702619707; darn=lists.infradead.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=LqG7sh4TEQnomN1Pb8iughMffScuejFKYmgaMeTCLmM=; b=FUHitHthdPM0jUOqBAITOp7ZE4hy/7jS9KjMvWwt1k69wh2KFP+BoAD1/moVwGnCa6 L3bKuSAtBQx1TKQnNkVOUtT9czkIZwiEUbDNa6jstTgc8EtkO2qepBPO/BVZVnMX5aut W/t+uYEn6w/CgWJg4E1mZTQ2YTy5MvpAoZiJ6GIVQeFmkdf7OdU8Xpfb+tGzSlvwFVYp EYwtT6N+RRD35OnFNpNzzWrs4Gwn0DE4gyI2MEX7f6Xvr3sHMDGu+F7XcCMPf0MO4i9W aBm4CVp6lvl2nfjH6FSbCdl+Bhf7edazvwBUJzlsP2whZL+TmM+1As5vi/meO7MzJUET 8p8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702014907; x=1702619707; 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=LqG7sh4TEQnomN1Pb8iughMffScuejFKYmgaMeTCLmM=; b=hB5K/L1PQC4FvYzMt6+IZPgb9AxMHEC24FPRbjaN2o1zws8DQoBP11S5PNJ5nPhQ+z /It2InEYbaxNg1XvU8sdfViYH4xKb9G2N6RqudR9/jqIYm6XK9a+k+GZRSMw6xQ66+p/ jtsyXLRoo6y9sZWsaZZINS9h7xWfHln2LDKCf2O2wgeZRjcb0/j+OtFGFGWH3/41GD3G Y03mWgTJyvM/lPTkkvuC5T3p4YKhD7t9lmas20oeXY/RpOAHD1kuytJqKFh86uu4rT+p 6o4LnfC1KXeQF/m1ijWgWujIxp9fnCVsDJRBUIRcpA7p8uXNqxzjrpiyArUy6d3gyJyy 5BBw== X-Gm-Message-State: AOJu0Yy08V1h4zJhXO6WgFy3a11ACYrY6/n0T/0DxESG8bxLzyM8pv+/ qSzg1ULfa0oGBLHgyxmLy/X2ZwHjgnId1Aoy39vuVHQ2zxmOJIP/WETsShPKZR9RwprcocvhuNK AXTUTBpbpDrGULqSBmajdqeuie60C20TgWkPuhUVm0XfZf5UKbJNS8T8gkdDEcpgQQUbkbtDXc+ D7txj83cqmjeUxgSnTFqNvFZg8ug== X-Google-Smtp-Source: AGHT+IFmoFC5Jy7QDutaZzebMhgROVCbFnFB+FkSDZrKf0b9QQV81pWWj0y7Aq09xAemAJ7UXgVmYQ== X-Received: by 2002:a17:902:ee45:b0:1d0:6ffd:f205 with SMTP id 5-20020a170902ee4500b001d06ffdf205mr3064563plo.91.1702014906581; Thu, 07 Dec 2023 21:55:06 -0800 (PST) Received: from sw06.internal.sifive.com ([4.53.31.132]) by smtp.gmail.com with ESMTPSA id s22-20020a170902989600b001ce5b859a59sm786250plp.305.2023.12.07.21.55.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 21:55:06 -0800 (PST) From: Samuel Holland <samuel.holland@sifive.com> To: linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-riscv@lists.infradead.org, Christoph Hellwig <hch@infradead.org> Cc: linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-arch@vger.kernel.org, Samuel Holland <samuel.holland@sifive.com> Subject: [RFC PATCH 03/12] ARM: crypto: Use CC_FLAGS_FPU for NEON CFLAGS Date: Thu, 7 Dec 2023 21:54:33 -0800 Message-ID: <20231208055501.2916202-4-samuel.holland@sifive.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231208055501.2916202-1-samuel.holland@sifive.com> References: <20231208055501.2916202-1-samuel.holland@sifive.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231207_215507_928194_C68F2821 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Unified cross-architecture kernel-mode FPU API
|
expand
|
On Thu, Dec 07, 2023 at 09:54:33PM -0800, Samuel Holland wrote: > Now that CC_FLAGS_FPU is exported and can be used anywhere in the source > tree, use it instead of duplicating the flags here. Looks good: Reviewed-by: Christoph Hellwig <hch@lst.de>
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
Now that CC_FLAGS_FPU is exported and can be used anywhere in the source tree, use it instead of duplicating the flags here. Signed-off-by: Samuel Holland <samuel.holland@sifive.com> --- arch/arm/lib/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)