From mboxrd@z Thu Jan 1 00:00:00 1970 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 3EE7323ABA0; Thu, 18 Sep 2025 11:06:56 +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=1758193616; cv=none; b=dxGJv0PkD97WUg8CEg4ORA1u2F0k3Kc+/PBOkJRAmDJWDV0K0HRP90Omr7naP08pwVAc1ePk7+yv8gq9cO6FzT00QXdldh1BUj5qqFrHIbg6VRi3GYowKwtI4U+5lPLwG+DXgh/5iqOCtnkbv1TmzFi17vWTdsivkTx0jxiLu1k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758193616; c=relaxed/simple; bh=NpAPPFF/yuRMT+fZ+lNvZK5IuyxseW1m/ZM8WE7yyA4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=eGtZf3ALZGICIm60d2GwUafasOVHLWjEmTJUGaC9lxejQN9pssTZhakK4mlJAnjthqwW/dLHiNJmJSQZHLLkXocbmvPj9h16XRKJkQ+Kfcbz/Sdz6bDYlSQQlg3IYbTxKvnWLZ5xdg/VggVjho6W7i9fXC6LSOWK0GvtLOTtHms= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jxDjo7Dl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jxDjo7Dl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C330FC4CEEB; Thu, 18 Sep 2025 11:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758193615; bh=NpAPPFF/yuRMT+fZ+lNvZK5IuyxseW1m/ZM8WE7yyA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jxDjo7Dlh4cat8V+DFX0tGwOab5YO0Mq5EbhkpwO8jTQm6fF0LCFC4v+NZspjwsXp G4FQUB6OOg+LGgkFU65eRPlJ4/xm41JkDMkBcQQMOSHgVLsckbToTS6L1PeOjYnfsw mxqtfoYVA2YqYapAih3FT4fR6g5/zOeVsRWEOEa5BlFA/V4Fp15MMg9UjGrkbllJw4 pydcRWePrPjMSXj2uupkY4lZcJpYkeweVSi0LWDo/kh5V/chKnv0xFuSOiIT+V9ZYV MIGfrTt4ZV8+8cic9+L5iPB0FpeFOkCsOgqWa+T9Hyb0MaqJgsM7bicBBOMYxI+SfW rrQN+cHXmZelw== From: Will Deacon To: Catalin Marinas , Shuah Khan , Mark Brown , =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Cc: kernel-team@android.com, Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Naresh Kamboju , Linux Kernel Functional Testing Subject: Re: [PATCH] kselftest/arm64/gcs/basic-gcs: Respect parent directory CFLAGS Date: Thu, 18 Sep 2025 12:06:36 +0100 Message-Id: <175812312276.1711921.12702494152718461208.b4-ty@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250916-arm64-gcs-nolibc-v1-1-ee54aa65fc26@weissschuh.net> References: <20250916-arm64-gcs-nolibc-v1-1-ee54aa65fc26@weissschuh.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 16 Sep 2025 18:51:35 +0200, Thomas Weißschuh wrote: > basic-gcs has it's own make rule to handle the special compiler > invocation to build against nolibc. This rule does not respect the > $(CFLAGS) passed by the Makefile from the parent directory. > However these $(CFLAGS) set up the include path to include the UAPI > headers from the current kernel. > Due to this the asm/hwcap.h header is used from the toolchain instead of > the UAPI and the definition of HWCAP_GCS is not found. > > [...] Applied to arm64 (for-next/selftests), thanks! [1/1] kselftest/arm64/gcs/basic-gcs: Respect parent directory CFLAGS https://git.kernel.org/arm64/c/5b7bdc4402b1 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev