From nobody Sun Feb 8 20:29:09 2026 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) (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 7C5342D23A4 for ; Fri, 19 Dec 2025 23:38:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766187509; cv=none; b=INXcqaAiTYHtxkIwFkcG/9hnDGpk61AnaBMXqVKcZj9SOzbv+Ke8aikuhgRbVz8/KogUNBxLP2A+k/7lcH5aRHAtgTq3sKQ8+mze0rgqcW4UncOkw9rx+HACQT9YpHF7FEh5xyYpDrNxZHA7JBqm0HB7i3ZO6EPDvyzPQRAQ2hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766187509; c=relaxed/simple; bh=/+AGKRNSS+uF+0YmBMyl5tXf6XXogWL5c7gic6FqdHA=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=VOlKYMcoMdzdc8fuCzj0izP8SSPPIwojoIHv8fqn6K8wpDpGFoSmYq9UEdZmhja5WJucevcKFOKIQgSnrEUhEgmI/g1wNCiUBlDSsX1JczWsgiyHJgGQq0lT3yRc2dLYYb4RkOGlYYXahlu3YutqhVvF4zFmIYFNSVif/5ptEMU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=J+Ht3dOV; arc=none smtp.client-ip=209.85.210.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="J+Ht3dOV" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7b80de683efso3979112b3a.3 for ; Fri, 19 Dec 2025 15:38:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1766187508; x=1766792308; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=C9QFtmNn1fSYGFAaSlaEhnDrHjK6Ba3UZ+o+JdNc1Kk=; b=J+Ht3dOVdle9BUbBneqlfOvUx3tAhOqNLMF5nMCIMQ+tSK1AW3e/pjXkc35hqQWs4l gTu1QPYQO3w8+53VaMcRy23pp7M/I2agafm+dImkrocPWsaHXmFMm7qEztj0UvN6CXUb rFDJrtkmUCmiJ+9kdsUK0YRatwTxtH8+yOllOiH5lUM4E3XejdJaHp3aqm8QhsrVtkMc bKaBHddaFbVKsRQbXLF/jwTWbyGt4Pn6X23WoJD+ixGwKeEhb3GekhxrvHSagL/KcQzc cvRyR713J9o4VX0aX+jQ2SlskxxoQFb3nNFzPAkf3SQiAspeoBBcHFjc4T7I0FyBnnuS TWNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766187508; x=1766792308; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C9QFtmNn1fSYGFAaSlaEhnDrHjK6Ba3UZ+o+JdNc1Kk=; b=fSlwm/TJmjgPm3DKZn2KzxppQabnaEvwne8/g7vU1tpXJGAhio0sWZfWxaXcLIi8iX 082b+lRITcNoCiPrha3qdesrhnOl4NOftsWjqi+OI3KpCtDYPEDCRpDOYLVCKnAHiPSV XXYX66xxnylY4iFsEVnDrKAL5UFmy95bm5loyzdNsIRFmj4sbYjixAtN0z6b6utRa5vx q8mRh3pcaIPfbB7Io8CvOqlBQ2FF+KOBVzGtETlD0/V1olgARK9ELLhd1KosTX/jfVsH J1B2IOMEeI5RllZanAkRIxFhL0SNISHGYk/8CwJBE8OzWxUCivHoJlrDgKoOqU3BYDds RiOg== X-Forwarded-Encrypted: i=1; AJvYcCUB5sC5DCfucMZgopfO2K86yYh4CFYakKg9LrbO7E4jSdv1XP7Zr1HGkx7lQQ+gBIvmbc+gzfaFBThj6y0=@vger.kernel.org X-Gm-Message-State: AOJu0YwEonIaI0ZTxJGlft7XIEPgTZpyUktPjvIpFqyFB7WNVI7sEijV zwDzr82DRggp+275/MaM3GSbFeV7/gB7wBQ9JO2SQ0+JbKavnbT+AZSEWf2lskqNpkPjXKn7hG/ iN0ubJoUC16vE9g== X-Google-Smtp-Source: AGHT+IED2KQiUi/cz01nSHrPqB0DVKiLe95LbUVmtbI/s/CFr3dErQCP8IrnneW5VYeTPjnU60u3FKnJmJnaZA== X-Received: from pfj19.prod.google.com ([2002:a05:6a00:a413:b0:7b7:b98e:7a9c]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:1d27:b0:7e8:450c:61c1 with SMTP id d2e1a72fcca58-7ff66679547mr3739825b3a.49.1766187507834; Fri, 19 Dec 2025 15:38:27 -0800 (PST) Date: Fri, 19 Dec 2025 23:38:17 +0000 In-Reply-To: <20251219233818.1965306-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251219233818.1965306-1-dmatlack@google.com> X-Mailer: git-send-email 2.52.0.322.g1dd061c0dc-goog Message-ID: <20251219233818.1965306-2-dmatlack@google.com> Subject: [PATCH 1/2] tools include: Add definitions for __aligned_{l,b}e64 From: David Matlack To: Alex Williamson Cc: Alex Mastro , Andrew Morton , David Matlack , Josh Hilke , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Raghavendra Rao Ananta , Shuah Khan , Wei Yang , Yosry Ahmed Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add definitions for the missing __aligned_le64 and __aligned_be64 to tools/include/linux/types.h. The former is needed by for builds where tools/include/ is on the include path ahead of usr/include/. Signed-off-by: David Matlack --- tools/include/linux/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h index 4928e33d44ac..d41f8a261bce 100644 --- a/tools/include/linux/types.h +++ b/tools/include/linux/types.h @@ -88,6 +88,14 @@ typedef struct { # define __aligned_u64 __u64 __attribute__((aligned(8))) #endif =20 +#ifndef __aligned_be64 +# define __aligned_be64 __be64 __attribute__((aligned(8))) +#endif + +#ifndef __aligned_le64 +# define __aligned_le64 __le64 __attribute__((aligned(8))) +#endif + struct list_head { struct list_head *next, *prev; }; --=20 2.52.0.322.g1dd061c0dc-goog