From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f177.google.com (mail-dy1-f177.google.com [74.125.82.177]) (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 262EF37A4BC for ; Mon, 22 Jun 2026 11:09:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782126582; cv=none; b=PNceHgxe/dRIHyu+RlSgV8ddTD445Jc+e194fnJ3VFZyYzwFCM2JV7uHUh0uKZLuGpfL4+nebORwkUGqmWsHntJBi5S/L5WCP4HO8sWtLfWr+9XVn7lVK0ZSg3VX++qKf7xsiNr/Ernv4n/AYWQlBhcYWzUwh1tBsoGfUWeufhg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782126582; c=relaxed/simple; bh=tYPP06dJbplDehUpPstvRgVcRmR8WzCL5yROKuM5Fyc=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=B30+0CfsWNh7sfDXZVhx/0SjHANqCFheQxWHctQWvIbV8WxFprKntGNTENFGiVb34OJxO9V0E4InylWjBGTa5ShWPPlE4gZwsDTfMhnycaGEU3H9NEuF4UtKgirs8SeDAehL2nNrLjgwmL9px4045CMaYIN8ffumXfYfOt49doc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=jxbmo+dS; arc=none smtp.client-ip=74.125.82.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="jxbmo+dS" Received: by mail-dy1-f177.google.com with SMTP id 5a478bee46e88-30bd47b9f0fso4434592eec.0 for ; Mon, 22 Jun 2026 04:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782126580; x=1782731380; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=xIWdbLLEg9dBfFSLqVtIUmlfUVdjnpVzN85B4SdiLpU=; b=jxbmo+dS1Mbbbwk5YD1ce9M8jzlGsXK+lfOkm4C7FmdPQahzPKIAeWcSoaknlr5Cdy r6NFHT/2gPkBtwOpxU69Wtxu8uI05QIrWoyVikfJFAcsF+yLJU1eiLjuLvof2JBQAGvS +kYhUUF2zxbXPUku1B/qyWIOpUjyl2tFvp9TlnIskrMn4yZPCNlEl8sK2/cLAeUepxfa vNA/OLNrKel7bg/xRJzY8G1iHzqC1TXuCEKF7oUi+J6Zss3lXBoLzQOXeaoyJqv+BZMF 4FtzcwJ/z/x76g56rHtbIlQJZ8wIKlUm/UTw0by4soR32OAz5Cba6e581r8VU/1Dwa1M tKRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782126580; x=1782731380; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xIWdbLLEg9dBfFSLqVtIUmlfUVdjnpVzN85B4SdiLpU=; b=NVWu7r9TKU+V00wc29PAJUa7iMNbQlVw9yoYP0kfUQ7bIi0/RYcergkItCHAdFCDQu nm96N5Y6lr5fH865VC3R8eam6wxsjZ7PfMm/0XZzHQ3kejnHnXBBY2sOTwzbVYhQSXfg 9hhQRV8w2Ja3vbVUccrnEgSvcEN7PtsbJN/bGuoYmq2sH/UvxCV0GGHYk3g57UbI7jvv qVhstSPLarvUB3BkmXXVY3ZQKVo5K/YE8pmUgRBi6iaAQ6ERlbmUJ63JbNDmWHA5PKtD UBqLv/6QCxI/YwZnUx9ei+kNvtRiXmz3mdcyc7LCyWWfcEgWyQpUkboYDdR++LTuyVz3 jLTQ== X-Forwarded-Encrypted: i=1; AHgh+RoFHbCdRmQ3DIaWQG8/sj1Rx9x8BX9gf3/mben+UKWrx8+6B5AHjtZp2Gj/gVMJbLcQL9MfMU5/8fVr40U=@vger.kernel.org X-Gm-Message-State: AOJu0Yw5Owc6dYdAIpHBoPCVOuXOKPjhdm6X3tz/yLZwK19dzxXrANYV YbMYtf4hTYZ48TjJMA79yoQnKq0wDWZ3ZEMwldpQmPCDInkMoVwjWxfN X-Gm-Gg: AfdE7ckWt5RdqdCVCldAeCQE54fZJVQj9sDAk94rVToz2e+Z+01KGSTM+QH5MkcSO7w EcUHhKWF5QFNngaN5oTc4+RbfK4RNpcEScfiW18WM57EYbBPq5ukIQqj4bzFDlUA4LBJQqXvqe+ N86OlaSXbcMuZVaNL4F13HQKeHXHc8/gITGYMM7sGF3oo+EYtPGdkRH/7BBUFaYlHYSpHkoqrCS S270QJb1xN1AQaBmbL0envtW724Ar35JmRCrgZlh81z9+pD2qDOZlZIcLyWwKKtjcEXu6AKJJoh HYesFqeg9J12XmKQBb1Q9Wek6LNZROYQLd0yeYmPdU1e7qHUbAJ3KoXoqwmeqamGYf8g0wgwM6a Wi4H0S15QMsmDJTS7CfL+ygoRR5WLz6GefG/eX1XV46fEOfI/Bo/HjykGnjw3e/e+MokOFMeF5I ruJ1VDhGE3uUdzj9eiCoJ+JFec+9dVYw== X-Received: by 2002:a05:7301:38a4:b0:2f2:6dde:df66 with SMTP id 5a478bee46e88-30c06e303ddmr10114940eec.22.1782126579977; Mon, 22 Jun 2026 04:09:39 -0700 (PDT) Received: from ehlo.thunderbird.net ([2804:2bf0:60e7:ae00:61b2:c320:bcb9:eac0]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-30c1bd8d6c7sm10643390eec.16.2026.06.22.04.09.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jun 2026 04:09:39 -0700 (PDT) Date: Mon, 22 Jun 2026 08:09:33 -0300 From: Arnaldo Melo To: Mark Brown , Alan Maguire CC: peterz@infradead.org, acme@kernel.org, mingo@redhat.com, namhyung@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, james.clark@linaro.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH perf] perf: Fix btf_vlen() signedness errors User-Agent: Thunderbird for Android In-Reply-To: References: <20260622103418.579115-1-alan.maguire@oracle.com> Message-ID: 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: quoted-printable On June 22, 2026 7:53:40 AM GMT-03:00, Mark Brown w= rote: >On Mon, Jun 22, 2026 at 11:34:18AM +0100, Alan Maguire wrote: >> Commit f7a6b9eaff3e6 ("bpf: Extend BTF UAPI vlen, kinds to use unused b= its") >>=20 >> extended the return value for btf_vlen() to __u32, triggering >> errors for cases where an int was used to store return value=2E >> Fix these cases for perf as was done for other libbpf consumers=2E > >I already sent: > > https://lore=2Ekernel=2Eorg/r/20260617130038=2E34534-1-broonie@kernel= =2Eorg > >which I have been using as a fixup since I originally reported the issue >since Linus' tree is broken, Arnaldo said he'd applied it to the >perf-tools-next branch but it has not yet appeared in Linus' tree (and >it looks like he forgot to push it so his copy isn't getting picked up >in the merge either, the last update was on the 15th)=2E Its here: I think Alan's latest patch has one more hunk, I'll get that one in and th= en send the pull request to Linus today, - Arnaldo