Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91901337B8C for ; Thu, 22 Jan 2026 17:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769104289; cv=none; b=a9/e2kDdimGeE6kZVTzA+3DzuJkvH8iouTbZGojXTxJvq7e+rqb254KU+gjeIKGoCXO7SDXwnns9ZaJlJqttH5zLEj0+cC144h/zO4VUkM7SF1mZRW9AGY5qlxBm4Yceb+HHjCd3KNXyoEiz6qrg8eZxxE40LfoZ/jdfcul1fFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769104289; c=relaxed/simple; bh=DCBwcWz9AXkDhcquKFNtt0csf6CTIRyTZ6eLyuaJk0o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=PdOboVwqZzf5ano4W1cruoNPcKCRUDmjz6LiYTR1UYxWRct8ZDz/ZesgnNHqGtY5S+kdIuN2qjf2ta9UlxSsuLwGm6MIBP6lzgURU4aJmDTI57VMYYJOFQwQrqS1O8eifkubSzUgNIQnf16m7h+uwI/MuasZgB8Z0B2x2oFnaUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 909F11476; Thu, 22 Jan 2026 09:51:05 -0800 (PST) Received: from [10.1.196.87] (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 67AF63F632; Thu, 22 Jan 2026 09:51:11 -0800 (PST) Message-ID: Date: Thu, 22 Jan 2026 17:51:09 +0000 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Building perf is broken in linux-6.6.y To: Greg KH , Thomas Voegtle Cc: Sasha Levin , stable@vger.kernel.org References: <3a44500b-d7c8-179f-61f6-e51cb50d3512@lio96.de> <2026012214-bobbed-shorthand-da8e@gregkh> Content-Language: en-US From: Leo Yan In-Reply-To: <2026012214-bobbed-shorthand-da8e@gregkh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, On 1/22/26 17:07, Greg KH wrote: >> Is that already known? Am I missing something here? > > No idea, sorry, I'm usually not ever able to build perf for any older > kernels :) > > If that commit is reverted, does it fix the issue? If so, can you send > a revert? I root caused the issue. ---8<-- diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h index adf4cde320aa..8d16619cd098 100644 --- a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h +++ b/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h @@ -7,6 +7,7 @@ #ifndef INCLUDE__ARM_SPE_PKT_DECODER_H__ #define INCLUDE__ARM_SPE_PKT_DECODER_H__ +#include #include #include #include I will send a formal patch tomorrow. It needs to be applied to the stable kernel, and it would be good to apply it to mainline as well. The mainline kernel is lucky that the relevant C files already include the required header, but the above change would be more reliable. Thanks, Leo