From patchwork Thu Apr 24 00:48:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 883828 Delivered-To: patch@linaro.org Received: by 2002:a5d:474d:0:b0:38f:210b:807b with SMTP id o13csp3202019wrs; Wed, 23 Apr 2025 18:04:31 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXOiG7V2B1v4T7fNIXh+hyrMsx71Agy63JbzSFG/7LGl9FjyNZIax7ZEr2MdcZx0Ce3+DPMyw==@linaro.org X-Google-Smtp-Source: AGHT+IEYl8Gwhns+jBf1XCXH5SD9hchmT1zeLO9LXSuyuiLpNN1aeH3xxuKKmjPnTXCEno2Bv0DP X-Received: by 2002:a05:622a:1a0c:b0:476:8eb5:1669 with SMTP id d75a77b69052e-47eb43ac26emr9207351cf.32.1745456671565; Wed, 23 Apr 2025 18:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745456671; cv=none; d=google.com; s=arc-20240605; b=jHq1NE3QUFAlfUDJgIElS20JSLR/EfamSeS8VqybVry+dyET69QJJO7PnMpwzgxioe p2HfrzVY3sQ5rAvX1poff16A5vTieLwGU7qBmIhcR+QKPiWfEW8LIBeeD8CYdEfXT09H KzHVel2lsnPK2bJ+cEz6JifavmpbMn4ZEDhXMO8AOLNQf8OFUbCbYYyj00n0D2+7Qt76 7Y11HglkGRNnyTNJjA1BT0WMOtcGg9Ic9XE0w+84nWIKu0c/MLwQugPhdIlrMxDJyShZ /JP4VTT/U1AzkoRnNzfdfA56kRgB/oBhFKytJo3wxJnDgjGaILE+zEHjB0Kz8d+a0Yar vLYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=e/M+JJq6ZWP2W3rE9cY5JRLQzGEcLqDNY6NmbDaK7f0=; fh=vm85eyWrvOAHduw3sqEA+cYBqvHB7M0MHFcRJg7VWOo=; b=CeBG/tAqoerzFumem6d4w1uXisZui3T31kAgEfafhg9eFRUUHkN150Kuob0GcLXssg 4Aul7DfXLj4s4S3l6pteNnSxfGvLZiw3AH7suT7IZYBBViawwKtQGb7m53GfdKmUU4Ia 2R+XGvzrUpo/9Uuh7EqkpzJF9fCWIvgmdUGqa0Z/fI3CMHQV1C5P/PmfuL38WFzG0/Z4 Oos0sg4+UFLYT2FT60Xv5Hjops0z7IaFsae+d/0X+aQXw23c6Yrx8z1PX5m/TedYAJyp 6QaUEDtLCK8+S9EO4aNn5fnFWA1mUFPImLQi/EoR5LHL4YO1VPCwzQurB9iRP5gfYYfc 1hxA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wsvhTIaq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-47e9fa9a02csi5428941cf.166.2025.04.23.18.04.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 Apr 2025 18:04:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wsvhTIaq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u7kw0-00033k-4S; Wed, 23 Apr 2025 20:59:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7ktk-00067K-3l for qemu-devel@nongnu.org; Wed, 23 Apr 2025 20:57:05 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7ktf-000590-CI for qemu-devel@nongnu.org; Wed, 23 Apr 2025 20:57:03 -0400 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-736bfa487c3so303339b3a.1 for ; Wed, 23 Apr 2025 17:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745456217; x=1746061017; darn=nongnu.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=e/M+JJq6ZWP2W3rE9cY5JRLQzGEcLqDNY6NmbDaK7f0=; b=wsvhTIaqdtMKotslZX9bcWzqi/M+pUfjQbOfXH0ZnBuiewNNIb3lZdUjmc/HTyPFhB SC2gcujNNCAT6Kb9c9W4GYoxw4WESXmrNBoM+2X+wjwI/4VvyCd+HvBtzAqFekJnVAcf bvqzrpggi79Q9aeACJLutmN+Dv4ZlEZpbAU/Zw2a6pFERfrhgNEyqBh3FMaRQSAuDR3l rYp9RuP3s3PdGd+Ajrcvnbu1vHN6gBw91EkTQP5TreWgxUx4gfwqObGzqcWqwnXdmNDX WcfHNg9NOE9w4v18BgIaBnBJq4KpDyHCHvRwAGZRPpPeLIRxkMe36UO38RbLqFzE7UvE k0Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745456217; x=1746061017; 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=e/M+JJq6ZWP2W3rE9cY5JRLQzGEcLqDNY6NmbDaK7f0=; b=szFwwkxNLy7WGDj35TS0zHfVAMse5YOJx5FL5vNkvjYs1Au2dnixlYmTzO57U+DIB+ nSMMn9FjUk3INXXRGclPfkEu2DdWHI2Us5SNEpDJlxxEslij2wTAuok0kKt+mUMMeiMe 0aK1qS3iDvOf8tbS9/MWq+9wv0QEweMo/R4S9K92O1emuwzuuncXdNPmYLZynJPN7Vbb Sbwpij72nE4igZHicmRXU3NXwi1y3GTPrKm8KK5zZJGqJMEjiLlQGVIP7VEeyrfh5Qgd 7uctwD4R69ST8/fqkrPXHDlD+KtN12g8WRFN810gcSzElP1AI6/yDP/772BOcs1321Gd lIog== X-Gm-Message-State: AOJu0YwdfGsh4NrdtxMc8ZNSsRNCcdbiMaG6ZKgoM7jo7qc3ZCaE9jr8 i0kZHcHZNwUsBiZ+jQ44bMuaLDKHAC9KlRHsQQi5Ug63Pchbpcdt4yr7I/2ICbqedGfHW/p9Zbr N X-Gm-Gg: ASbGnctEzLGfEqna5+wV/HYZEIrpY5H5Q5k1ILLkTEr9iY/mo++buf1Z1nLwFx4G6RX KPc4i7zlyS1QDk8094/xde1jluBig7BECk24+HQXb8sfytI7eMR+fHtl63Sfk2Cz/05cQDfP3/U 0td6t5ZN1I39kDVcOpcyN0+ZG+JNV8TAImUOs2eULCYPVb3R3w6eievyLR57qC9c7HvRya4IUOX 3wavrfQDcqJAb49yp6YY3FTNnFDJEL6ns1MPMNGXssPglaaImspwMAs4sHMWCKDpUZ8yDj1qmdh hgOcTVX8ylTHeQpW1HbdpPMv+2xlgy/QyUvY04RNhc9RwyY9gE09ryRlFmych+9mfdXNTDLQq9U = X-Received: by 2002:a05:6a21:6d8d:b0:1f5:a3e8:64dd with SMTP id adf61e73a8af0-20444d2754emr1026778637.0.1745456217456; Wed, 23 Apr 2025 17:56:57 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b15fa907fcdsm119775a12.54.2025.04.23.17.56.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Apr 2025 17:56:57 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Pierrick Bouvier Subject: [PULL 114/148] exec/poison: KVM_HAVE_MCE_INJECTION can now be poisoned Date: Wed, 23 Apr 2025 17:48:59 -0700 Message-ID: <20250424004934.598783-115-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250424004934.598783-1-richard.henderson@linaro.org> References: <20250424004934.598783-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Pierrick Bouvier We prevent common code to use this define by mistake. Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Signed-off-by: Richard Henderson Message-ID: <20250325045915.994760-19-pierrick.bouvier@linaro.org> --- include/exec/poison.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/exec/poison.h b/include/exec/poison.h index f267da6083..a09e0c1263 100644 --- a/include/exec/poison.h +++ b/include/exec/poison.h @@ -73,4 +73,6 @@ #pragma GCC poison CONFIG_SOFTMMU #endif +#pragma GCC poison KVM_HAVE_MCE_INJECTION + #endif