From patchwork Mon Mar 25 15:31:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1915703 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=N26Ti5FC; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=WMNmitlH; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V3H3t2s4xz1yYJ for ; Tue, 26 Mar 2024 02:32:10 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BDK43vXjwk2nPrXxkI/BJQnc5wDPFbGNA/kyW+9mUT8=; b=N26Ti5FCptVItw DM5nGcS0+NrGrZd6CEuUmOyC3q/TMzt8X6whlhxpufcGirSARDqzzCBygBH9rIaAeGlUH3mXgR4yA jvtTS7uX53TRGMs1q3s9hzUJo3vifeysC6lcb5f9qUN4htp8lO3u5YPZs+E1ElAFuRVAiEozmMqAG tFsZoUYA8mXQKylB4B5zs+3w7D03L3gSUP1lfNMcZiLei8LCZLAEiMfavWCbpNNCS298MwynqLFM7 HNjUapm87o0hkx/m6J0vd8k3zl0T2Il/nTlAnV14B9YAoy2vn8dotCM666+KXXgP+4+ficvDwXzXJ Vt/K32jKXV5a8qXUxLmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1romIz-00000000Vlc-0Kl0; Mon, 25 Mar 2024 15:32:09 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1romIt-00000000Vi4-3Qkd for kvm-riscv@lists.infradead.org; Mon, 25 Mar 2024 15:32:05 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6e74bd85f26so3502843b3a.1 for ; Mon, 25 Mar 2024 08:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1711380720; x=1711985520; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HozRKN9wrxi5PL0DaVXWcH0x0hBsJpBpA/05xqOENN4=; b=WMNmitlHC0GYO/VCCMJP4y3uxwTY56V/Om+N/J98sefs8E/DU8XwRb+JY6dQ4trU0M QKylQCwTaWcPwyKraY9qjyD/lwADzyOdzBNv51FG9ab2YeE78JS7nP6sb1/IR0wcHkmB OZxiz3ZhHGlPz8cnDrZk3m46IdyUMsHNY6S3AZqIOZGE+0T+Eu/gGHWBsr9X0sZMgimv 9UhRW99uzWiq2k33JSGi6ngAqT/QeZhKmmXS/yGtrZGbgL5YVK6p/VhiQ3V8piROsjX1 t4dUokSYTRJwT1pn/WvfVUReRqRkG9EDYUFiaNsvlJHaqtNaFN7WZWa6MFKyK3Z+49As oTQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711380720; x=1711985520; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HozRKN9wrxi5PL0DaVXWcH0x0hBsJpBpA/05xqOENN4=; b=YN4tTgotigDMvBvx/kCDtMNq11qjXkCAZ4i2NvlGPGZCnqy1P12tjjhgrE2Rx1kNJb opHEQ6h3e81OMucHaRsbLVVUbrzx28FovZduALogM92fc9yMgTpEgogT6RFZMDBODHtY 6xniScBgeHWCG51W0ebhhujNef+KhoUYRIdDpJzAE7GMVb0kpHdtvl2DOxI2slTiG11V U+Dx5iOfU//Ff0b+8boFnl1ZTTJKyPqXRKOnRNjx1rIn3kzgkYjQ0XEiV/SMl9jRDy12 wYpv0e4ZUjr2MDC6fEtD7K+AB580nPOFPXvVIXCwxibxIX40nPzRlbSltD9Epcuj4Qhj GHuA== X-Forwarded-Encrypted: i=1; AJvYcCXlI8KcoUppC/in2WGrBbXau1tknJUf7KDhr/8LKtvU8UCCPvV3sxPswI2xaM3kXqVVglCyhSamcIOW2dmatsO0zTnPyGF8AQf9ep4cmw== X-Gm-Message-State: AOJu0YxgD1Dxk0rr/08sp4lVCwK2OEGdA3sQ0PlVrNGlyNK5jMrp0/MG Hgt4QGOZkEzvBGaAh5ZSfl0l40bHjVuvFcZwaUFI8EV9pJqMJdz9iL/AxZfT4/yVJtFwfZmeGsL meqg= X-Google-Smtp-Source: AGHT+IGgCsS+vxU2FHTscoGAW+/TuWSqpGlQQADJWzmCBbL3CpLtJkxhJgat1JMj3DtVFxdIylb1/g== X-Received: by 2002:a17:902:f544:b0:1e0:d0e8:b083 with SMTP id h4-20020a170902f54400b001e0d0e8b083mr1246206plf.51.1711380720508; Mon, 25 Mar 2024 08:32:00 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([171.76.87.36]) by smtp.gmail.com with ESMTPSA id u11-20020a170902e80b00b001dd0d090954sm4789044plg.269.2024.03.25.08.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 08:32:00 -0700 (PDT) From: Anup Patel To: Will Deacon , julien.thierry.kdev@gmail.com, maz@kernel.org Cc: Paolo Bonzini , Atish Patra , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Anup Patel Subject: [kvmtool PATCH v2 02/10] kvmtool: Fix absence of __packed definition Date: Mon, 25 Mar 2024 21:01:33 +0530 Message-Id: <20240325153141.6816-3-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325153141.6816-1-apatel@ventanamicro.com> References: <20240325153141.6816-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_083203_908583_1384DF5D X-CRM114-Status: UNSURE ( 7.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 3.4 (+++) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The absence of __packed definition in kvm/compiler.h cause build failer after syncing kernel headers with Linux-6.8 because the kernel header uapi/linux/virtio_pci.h uses __packed for structures. Signed-off-by: Anup Patel --- include/kvm/compiler.h | 2 ++ 1 file changed, 2 insertions(+) Content analysis details: (3.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [171.76.87.36 listed in zen.spamhaus.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:431 listed in] [list.dnswl.org] X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The absence of __packed definition in kvm/compiler.h cause build failer after syncing kernel headers with Linux-6.8 because the kernel header uapi/linux/virtio_pci.h uses __packed for structures. Signed-off-by: Anup Patel Reviewed-by: Andrew Jones --- include/kvm/compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/kvm/compiler.h b/include/kvm/compiler.h index 2013a83..dd8a22a 100644 --- a/include/kvm/compiler.h +++ b/include/kvm/compiler.h @@ -1,6 +1,8 @@ #ifndef KVM_COMPILER_H_ #define KVM_COMPILER_H_ +#include + #ifndef __compiletime_error # define __compiletime_error(message) #endif