From patchwork Thu Apr 25 11:01:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 792037 Delivered-To: patch@linaro.org Received: by 2002:a5d:4884:0:b0:346:15ad:a2a with SMTP id g4csp1320830wrq; Thu, 25 Apr 2024 04:05:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW8sLHozX+uAJ1P6fdBxp1EMkcg78d1vjZmsXoDxUV1odypN65OMxhoKJwGO2vhg7qkuJX6H+KZ2NzrhMAQ49VZ X-Google-Smtp-Source: AGHT+IHvGnjrfKDZiMV8ZQ4dvu4eJS/INkG1D0oYvRQhxJab6CLOWGiLTCam8nm1ONLE8dmhNjzC X-Received: by 2002:a9d:748f:0:b0:6eb:dfa1:a467 with SMTP id t15-20020a9d748f000000b006ebdfa1a467mr5894664otk.14.1714043152091; Thu, 25 Apr 2024 04:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714043152; cv=none; d=google.com; s=arc-20160816; b=mS/kkNRHv5VjW4yn41h41tGoxqXP9aarRTiVsvUrQVKRfcuV7idZaIakzHnmRobgyS fO0ky64EEVSorUaivWi3cqDMHGJbB/gekJgRYOsz8J/MvY0pYhDahJBnPkUUym9cRk4W uFnqG5bavsYWH6/LCpnVdBFQE5f2AU9oDsVJyvZBlP9ULARxlo9KJVHc3AdhtHA2kkBd S0JgYKJkPYPfQGs5oDuvc3e7lj0VAK9i7cwcQEXLMiZShD4wDJpvt6O5MMZbWNXO3zfy phl5DcqXMsxv7j8byf+2s+JPm7QaDE0BXvYh09rzVXfJLULy5rCORkrYjOLaeFFCFLcf rhxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=b/DaGtvlqhC1nG0WRRs696RzTAGLW5V48G1JnVnt1qc=; fh=7a4wUqB/0Mozj0gkKgFFcC93j07dtjMKh0IG2Vg/uGY=; b=LqB2KNJ7UAZbYdOOl/OAGGw1w/79cs5bvWuguU+J9S/GrtmaWxIQ2eqpHtYPmC9L4y Me9GkYFZ3/s6R5tmCa7fovU/CsiwqtDqmZPfTn7pWu0plyLvA+nUFV/VN1/LM/Fwax5P qYSnaGrbrjfYkNwocl/N/9Chpodo05WqS0urGWxaTlCbRS5D0Do99gxzJFpHViFZITHn aByx09gFHtTd5arGALlh9GahuMs7cLzbQTL1M503Ub2r9GXaNBcM5qN2eowdgF2emQvd Cd3uooKFTDIhduU73lREop29uqTfONEd2vS81Q16LAR2AnOWjROE+pUCVB2xXhgqXsv+ izJA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qDsNuyso; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j2-20020a056102000200b0047bd34fa51bsi2141568vsp.374.2024.04.25.04.05.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Apr 2024 04:05:52 -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=qDsNuyso; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzwtl-0000OP-0z; Thu, 25 Apr 2024 07:04:17 -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 1rzws6-0007s4-0m for qemu-devel@nongnu.org; Thu, 25 Apr 2024 07:02:41 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzws3-0008Eq-Lu for qemu-devel@nongnu.org; Thu, 25 Apr 2024 07:02:33 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-418e4cd2196so6836675e9.1 for ; Thu, 25 Apr 2024 04:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714042949; x=1714647749; 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=b/DaGtvlqhC1nG0WRRs696RzTAGLW5V48G1JnVnt1qc=; b=qDsNuyso8EAIa1u2Bmlv2bVFIvJwqUkA0b3keiTrsJYp1M+wmLxVEFk0eOi/c1I49x y/j9Spnv5W2cFVH3W/JMtNSXSnEB1t/WoFawPUsR/0y2OOBq+RLT+GxcvViAsDjt3ZCE MuT0xhwNUf+21c3gtc6B/m828+TBcBxCqWWxofoo5VL0DF2ohZgi9rEUzO1B+5YIIhcW Y2KEY0/LurwxZBmWySOpgPeLd/XSp1VvFUC/K+qwWOW3UpKD6W/fp4Dd+zIdZIHuLiQM IRg5or8377kSgoLSe99VZs+blbioxdAaRbATG8a9H86sUvWnU6Now7aMW7hDHGtw8NXW +Iaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714042949; x=1714647749; 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=b/DaGtvlqhC1nG0WRRs696RzTAGLW5V48G1JnVnt1qc=; b=glc7XtRsSr55+y78ozAFU/VD9MPF2x291IOMrtJWxVJJIPqGarL5E+wuaDB6htqTph ooAPyNqvp5QTdHDhDCOwDbhmuJNUxF0qWcq5nIiE4Kfmw5lSyr2kNEZsyeBmYhuYFiu0 shINHH/0MaPZ0+vD05pGX4rkEryQVxciSjDrnsaFiQOCq37Ox3Y9S0coqNAoZAukZ4ZY 8PwODP4f03gc+1I3ZfSSyUlynguGyuWqsucICGYkdV9cno5mvivYcXV1Y0ALpoRr8XEd AmuTKz4uVRytbZzh+HbmR0D4chgl4JSelhx2NmA8owMvIbp36oPQKfUq/PQfkqFmpcS0 7S8w== X-Gm-Message-State: AOJu0YxGks1jJ+u1ptcpibQIcTIrmWzsYLK6xI2tcpFKobj1nFfZ/Uaa KhCc1WIy355z5n/hokenhIDEqUzCiN8yyVB2GbRHJb5raOjvaAChPMozqV9J3DKyIaHsP7v9xDz r X-Received: by 2002:a05:600c:4f03:b0:418:ed13:315e with SMTP id l3-20020a05600c4f0300b00418ed13315emr3752068wmq.2.1714042949561; Thu, 25 Apr 2024 04:02:29 -0700 (PDT) Received: from localhost.localdomain ([92.88.170.77]) by smtp.gmail.com with ESMTPSA id f17-20020a05600c155100b00418db9e4228sm27280045wmg.29.2024.04.25.04.02.28 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 25 Apr 2024 04:02:29 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?q?aud=C3=A9?= , Richard Henderson , Paolo Bonzini Subject: [PULL 05/22] hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h Date: Thu, 25 Apr 2024 13:01:38 +0200 Message-ID: <20240425110157.20328-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240425110157.20328-1-philmd@linaro.org> References: <20240425110157.20328-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=philmd@linaro.org; helo=mail-wm1-x32f.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=unavailable 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 Commit fd3f7d24d4 ("include/hw/core: Remove i386 conditional on fake_user_interrupt") remove the need to check on NEED_CPU_H. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20240321154838.95771-3-philmd@linaro.org> --- include/hw/core/tcg-cpu-ops.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/hw/core/tcg-cpu-ops.h b/include/hw/core/tcg-cpu-ops.h index bf8ff8e3ee..dc1f16a977 100644 --- a/include/hw/core/tcg-cpu-ops.h +++ b/include/hw/core/tcg-cpu-ops.h @@ -49,7 +49,6 @@ struct TCGCPUOps { /** @debug_excp_handler: Callback for handling debug exceptions */ void (*debug_excp_handler)(CPUState *cpu); -#ifdef NEED_CPU_H #ifdef CONFIG_USER_ONLY /** * @fake_user_interrupt: Callback for 'fake exception' handling. @@ -174,8 +173,6 @@ struct TCGCPUOps { */ bool (*need_replay_interrupt)(int interrupt_request); #endif /* !CONFIG_USER_ONLY */ -#endif /* NEED_CPU_H */ - }; #if defined(CONFIG_USER_ONLY)