From patchwork Fri Mar 22 16:14: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: 781860 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp1432180wrj; Fri, 22 Mar 2024 09:16:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU8NjDMGpiNW+dPdZsPYt2tqXANwZYBTfGcW6wuMhNu/I5qf1sj0O+7AQjQxQDdDYYvBhRndlLTLKjJKDf4rbA+ X-Google-Smtp-Source: AGHT+IHvdrw8tEqoF7xj3JQogCRWcpOTfsOnq6tBE5efcTqoZb1fSQ/LKc+tgVKKjE4hRAFSKL1A X-Received: by 2002:a05:6102:d86:b0:476:9a12:1564 with SMTP id d6-20020a0561020d8600b004769a121564mr2259730vst.8.1711124184971; Fri, 22 Mar 2024 09:16:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711124184; cv=none; d=google.com; s=arc-20160816; b=v8dz+zNeS4x7kIzhZDlNu8/V3WJy71TuSSWgJnf0QqLqfKSGB6c4Hqa5GadY9H04cx 5qeqjsYnVVIMsPSeIue6HEjKPNSU63ait9uz9d5i6DgEl7VVAZpFdZFnP6xAXxvGYNZj GyIutk6L0RziBGlwebQ+Azledb2rZgc2Tp7+SNFqdKg6uJmwz2jte2weVLFViOa7ANcM NyfEv43Psz+SrQG3LYNhHkBqohTwSr/A9nTYcR3grWzMXZp+GFXywMJEKMRs98MOUqk7 BiCDQY3Hx0ocCz+hvhrRmFzTgmaxL/Ec+O/sG6mLbbBH3Xr8ECBQOZ1o3xaSqtmtiOQY ZmIA== 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=nWERvWbaYA8U7fTdf/uiT9QJ6qMAGAYtIIOsHDWn7CE=; fh=uMYX6igvBBl0pyyuaBqcf0xekXw0hQPDx/Ls/Uq9n2s=; b=VATdypyJ6nYmEbyRawd6m8L+8DqABN62yI1h6yaYrV+ttrX4h0jIe4B30CfA9ghVRb M4/Ic/7h6Ez7g2b4OCBYcUhYATS+fYGwDhknkLKJtoV/7uP/TBt/YQZ6SKxI2th/01x9 PR1g2t2Z96iwGmM9P3S7le/1TSD2H3oUSyJipJKxy2hqnWO5mfubgYYtVjZ4fCeUh3if vh2pGENvp7Ds0XfKFCxd4aPHSP1iYiOl2/j1FAjD0nQTK9siW6o0Z4mTyJrMS4viU3Gv 4SY8boyZg1BPGqpgR5zr70jfbtIuGfruU/91/gVsXWocvB2ATZzo0Ga6E/+e330klRh4 Kwog==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qR+dr51W; 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 cu8-20020a056102160800b00476dc2e2ad3si206214vsb.135.2024.03.22.09.16.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Mar 2024 09:16:24 -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=qR+dr51W; 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 1rnhY8-0000zF-DT; Fri, 22 Mar 2024 12:15:20 -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 1rnhXy-0000tM-UM for qemu-devel@nongnu.org; Fri, 22 Mar 2024 12:15:14 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rnhXr-0000p3-52 for qemu-devel@nongnu.org; Fri, 22 Mar 2024 12:15:08 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d4886a1cb4so31544701fa.0 for ; Fri, 22 Mar 2024 09:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711124095; x=1711728895; 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=nWERvWbaYA8U7fTdf/uiT9QJ6qMAGAYtIIOsHDWn7CE=; b=qR+dr51WAAf3QVHR9pEZEy0YpdMSuSJrCgtAkckqiQyWkWM0r0rzcb0cKx4h+Bc+xC 4rY2Bp9E3Fo9P3uPy1Otkvzy9f12C0yW11NsCWsAeeI7KjzWMBxkrBxN6mE5bAxFr2nO moFWmfWBlE+0ztkLYVZIHn2524MmJZc5KPbqnKVSoCnACeERHi7VBt8aPTS0/dK39/4R lVePo5s0VVW2iNVxfZGKvLhIUmJw5C836EvhC9EmXG3a1/SdgLX2FbyDwqKgHJKNaTjk KhaCTT0rnKy8ed8V2sxzf2GXLyDe0fo7awWD6ZWiAXKpOy43hROFw0LqMZFU7pRamjP9 Ozog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711124095; x=1711728895; 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=nWERvWbaYA8U7fTdf/uiT9QJ6qMAGAYtIIOsHDWn7CE=; b=iR+369vZIo9eOUw2pKbcQHmz8cmSSe+kywngBX9EnSUW7pR0Av2DjDVgzxhXYafLLw l8bpMVgcqZuGBe4ZHu0tKwk5PAae/1CvBRJwzgX6mYBova5uXmZdxJnS5tDRSZlEmg// 6oLK+qGt2EZStMyphxN9/2qfqN6lBrl/ShwsRPPKqLLUA5Co1pB8X1fTt0Fk3q/L+Gcr oAKCiOksJ3H3DQAIYbWofCnbsT1uuTld4+4KGLxnpEV30MlHvS+yEPhNehapvKJhQLO9 THEXfLtqiEcSqrdro1P4Emds4sglaaxaEPFGdMra3hqP6W9Ure+bFI78NDje70JZ9QrF lYGw== X-Gm-Message-State: AOJu0YwaFTpNKNkCVE6hcYUCDui2D7I6jPs9NXKZUwkv9pKD8OmMKutr 60kr7Y3ZSdkq7XjdnaeMvdzi2raZWQR5Mtypw/e3UcpsNBqDeyav6Om1pysas0csXPxqsVhHVof 6 X-Received: by 2002:a2e:97c7:0:b0:2d4:25df:b8eb with SMTP id m7-20020a2e97c7000000b002d425dfb8ebmr2410707ljj.41.1711124095391; Fri, 22 Mar 2024 09:14:55 -0700 (PDT) Received: from m1x-phil.lan ([176.176.178.251]) by smtp.gmail.com with ESMTPSA id he11-20020a05600c540b00b004147cfe50e2sm1824710wmb.2.2024.03.22.09.14.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 22 Mar 2024 09:14:55 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , Anton Johansson , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Paolo Bonzini , Peter Maydell Subject: [PATCH-for-9.1 v2 2/3] hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h Date: Fri, 22 Mar 2024 17:14:38 +0100 Message-ID: <20240322161439.6448-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240322161439.6448-1-philmd@linaro.org> References: <20240322161439.6448-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=philmd@linaro.org; helo=mail-lj1-x22f.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 --- 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)