Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp49342lqo; Wed, 27 Mar 2024 06:44:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyP67hmdw3FFUj/CzjWIhy9EO40fUozml9v5ZtS7UNtemIoRJNUbbtDVy0GaHJKjUBGzhw+uDnLk+9+7Jutis/Aq++FwHRmPhkbUOHPA== X-Google-Smtp-Source: AGHT+IGQWl9y5UMXv9gWOVoCVVrv804P3kr6Gu6O7Onuy11PcfwQ6UUappJdkdEvisu2tsK4A1o/ X-Received: by 2002:a05:6a20:748e:b0:1a3:6190:ee03 with SMTP id p14-20020a056a20748e00b001a36190ee03mr4565955pzd.61.1711547095827; Wed, 27 Mar 2024 06:44:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711547095; cv=pass; d=google.com; s=arc-20160816; b=z+apcqI/NWRWTvGW9nevu75z9GuuK7m1R1aE4vfJ6JDW7sbFg2EQPYsWdxjs2LYeZr Zygt/Swobiy2rn1+WT7DhYH++k1QuD0Gg7V74luBF3TV5AI2dJb5ShqxGTN6c2kLQa4R 9fgW1MSO8RSFDEeXFTdTeSWGsn1GABExT/wxYlqNLpD/zNWbIvn/G4ZHxoUJvnQijxUJ 7CEWnXI0Fz7F/NgAwvE/XuSXqJ3xPsL0d0LV+PXA4Cl8kfcS7vRkkdY3cw9QOKUoLBqw uAWQd39FxmfoHn5zBIK7YgTFNliJWIzSARnW6a1Ta0j0C65/7hqlQZ5PeRYOm3V422L3 ykuQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=cWtP9160hGk2v2rUGkO0KL/o13obGknE9GNAQCYq9xE=; fh=3vnIgKBEPbkoR75+RDNmKURdKsZU5cEI8j04QZaLpqY=; b=jIJi7uf/Zck1QQGzT3mel7eYoe9Lua1BmDsRDiMEQDfANyf4xbVIWSSQShJwyc7zhu d6gUGXybjpct88HTcIWMB1FkcOvyuggmK8naBBf5hCTprCMyeCKZil+WEULjd/dhXRgI aG4gSPynjD1zD18CZo04SQAGkoOYWpmzS6tv0ulvXVFLLL6+/eGc3gEgvcgyNmcFD1q1 GAxzmq5eYU+ZmirtohryP2BrDj0PmJr873JmDNhzsoZogncuWInAUgdUt7gqjOnZQjV8 32a0mAoj+WcM/dDz0OyFy6EWSi9R6gZKn0c3iCwrJaejpoqvydZCvuoOjDrSIxsSJ9GS XFHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7E9xN0n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u18-20020a170903125200b001def44a4d32si9666142plh.171.2024.03.27.06.44.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 06:44:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S7E9xN0n; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-121074-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121074-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0508FB2DA24 for ; Wed, 27 Mar 2024 13:19:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3A9DE12FB21; Wed, 27 Mar 2024 12:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S7E9xN0n" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D8F316A1D1; Wed, 27 Mar 2024 12:20:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542009; cv=none; b=lpsYvBOW9uLMCWAzADtSyhEsIgVMMr/VZ3hp4uVm/gCVNNYLnoQn+IxscSW2bNg/Kv84OSSEAopGMglWfhAoFpo8jwxn7hvkOPbhny0T7Cv7SMemYQy5Tuh3FH9THA+hU0z/zHKhjyr6DX6yDnf16D570HjI4rc8efxNbpYkTMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711542009; c=relaxed/simple; bh=ufK/g3GX9r3mWLjejioZqTZhpQp3PSOo4bubJdqFO2A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cZT247bZHvfG026P4vRu3WzEozK3PkFJqG3u8A1zMsAIn0kWLujknJlSStDI9auwHkEppPxtrUS3wWttVo5s+sQ2J/N4fHzISGEC1FraqMSGgndfxFKyYzZ0ekn/Gvp27C8lcVlyc8FHBl2OLarSaHe/H9f8NBClGFbI98U2WO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S7E9xN0n; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81342C43330; Wed, 27 Mar 2024 12:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711542009; bh=ufK/g3GX9r3mWLjejioZqTZhpQp3PSOo4bubJdqFO2A=; h=From:To:Cc:Subject:Date:From; b=S7E9xN0n5bLST7rfZvB5XGIT4mgB5D0C3XuVsi/nk2XSSp2VgjiLL1+jzs1TmVQJN a/P5fe3KB/xpoG/hpiS9rlei73OVnhOesNqDD11ahb/lcdaVl9unNQQgyfuYyNrN2n yMEe3VvILa3VZz890fzL5lPEZWClNr4oAGSiI58WQZcUZykeMDwEK/b6v/5T6N0wVk MEDLBQyzf0TOSdfzsnsf8gZfRDmOQgfO+JHq3lipCR/5GaADY5x1I5FpmPJ11t3UHa q3YaICxI7bk83Kz0PTb9W7gRnp+3vIe1Lx9JY7OfGRxZZHPi7qq9lCw/OBU7o+2+en +wS40vIubp/fQ== From: Sasha Levin To: stable@vger.kernel.org, nathan@kernel.org Cc: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: FAILED: Patch "powerpc: xor_vmx: Add '-mhard-float' to CFLAGS" failed to apply to 5.10-stable tree Date: Wed, 27 Mar 2024 08:20:07 -0400 Message-ID: <20240327122007.2835763-1-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ From 35f20786c481d5ced9283ff42de5c69b65e5ed13 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 27 Jan 2024 11:07:43 -0700 Subject: [PATCH] powerpc: xor_vmx: Add '-mhard-float' to CFLAGS arch/powerpc/lib/xor_vmx.o is built with '-msoft-float' (from the main powerpc Makefile) and '-maltivec' (from its CFLAGS), which causes an error when building with clang after a recent change in main: error: option '-msoft-float' cannot be specified with '-maltivec' make[6]: *** [scripts/Makefile.build:243: arch/powerpc/lib/xor_vmx.o] Error 1 Explicitly add '-mhard-float' before '-maltivec' in xor_vmx.o's CFLAGS to override the previous inclusion of '-msoft-float' (as the last option wins), which matches how other areas of the kernel use '-maltivec', such as AMDGPU. Cc: stable@vger.kernel.org Closes: https://github.com/ClangBuiltLinux/linux/issues/1986 Link: https://github.com/llvm/llvm-project/commit/4792f912b232141ecba4cbae538873be3c28556c Signed-off-by: Nathan Chancellor Signed-off-by: Michael Ellerman Link: https://msgid.link/20240127-ppc-xor_vmx-drop-msoft-float-v1-1-f24140e81376@kernel.org --- arch/powerpc/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 6eac63e79a899..0ab65eeb93ee3 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile @@ -76,7 +76,7 @@ obj-$(CONFIG_PPC_LIB_RHEAP) += rheap.o obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o obj-$(CONFIG_ALTIVEC) += xor_vmx.o xor_vmx_glue.o -CFLAGS_xor_vmx.o += -maltivec $(call cc-option,-mabi=altivec) +CFLAGS_xor_vmx.o += -mhard-float -maltivec $(call cc-option,-mabi=altivec) # Enable CFLAGS_xor_vmx.o += -isystem $(shell $(CC) -print-file-name=include) -- 2.43.0