From patchwork Wed Apr 17 18:27:47 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: 789327 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp173350wrm; Wed, 17 Apr 2024 11:30:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWGqQw/h9Orp9mrgDO/HmTb43THmt/oVnlw8YwwaxfmhBpI//G4n7AoSz8tl8vhKTctzWWzk5FLcU4N9/FmUrWo X-Google-Smtp-Source: AGHT+IHnbJfAPDutMrDCxBlvgUi0ZjeYmqLi2YG4bdMs44pw2BB6jCvS+5xQFN+MHepbOXU9RrSy X-Received: by 2002:ac8:7d52:0:b0:434:6ea0:498a with SMTP id h18-20020ac87d52000000b004346ea0498amr373590qtb.33.1713378658129; Wed, 17 Apr 2024 11:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1713378658; cv=none; d=google.com; s=arc-20160816; b=wSxeI05FqueF+XPVvX72hEYrIOcwSurWQ9iDC733fvEpgp0ZLyzIJh1FHlnNd/fgmr 0Ca7BFb2nsp87Va1ePHV+AGvR5lLmXtuA+ehJTS2rPMxXOiW8R/WkuCrDWY+Zm5Uwtvf pd/2cbpf8SUntOTZJQ75ge+U7zjtZuJTIC1Q9wHMJEd4GGSaR63xGFval5yCDL+mX1Ba 1ehEHidxuSoyw+4T3QMSvS9z/b3wXz+WvXL2QUZjcV+thX/U6FzVmcQvSG+ahMZsr9d0 fJ5m90AZG2pEJQq9qZGkPA7fK49+V2uVzesfX5UX81tr9HAJfJ8xWOoSzfE30LDlVqac dCaA== 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=RapDlHBEy1nkY/csZneQutCtWvQO/OhX6r5FqrgGfGI=; fh=ZXDWg7hKG7Hj19AbRuutTLw+Zvn/B9RsGUUw/YagpFI=; b=gzpSwuAYFTAhgwvbeYcWygk4jGDIsnhlorshHySX3VdNvAab5JJbOGp/fg36qYEJvj sQnlshJkIMVe5uFJGm/wMJ7E2KtOmQMyzYHeVDt7cL7MKxwHLusZJfAGxpwlyu2A5CDY uD0+Qd2MzWrksThupodPnti1TSXrJ9ODI0UgtBPlMlLdx4VYqm7ssPK1teozBKe+UGav 65ingOFw6uv/qq34fND1xDFKX7ZdK1dy0q7Fd2opjdDG89Ozk0x5gPqbEvSM+aN95H16 eeWAOSvLg644VBxbFYlDyrGjnsX+PJ2GdIIf7+ZS0BGbhR6HwijDIxu6I95jMo7dDHBC jJvA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BeB7WEhg; 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 v7-20020a05622a130700b0043675588323si15042737qtk.126.2024.04.17.11.30.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Apr 2024 11:30:58 -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=BeB7WEhg; 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 1rxA1E-0007bT-Ly; Wed, 17 Apr 2024 14:28:28 -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 1rxA1C-0007b1-P0 for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:28:26 -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 1rxA1B-0003HI-9h for qemu-devel@nongnu.org; Wed, 17 Apr 2024 14:28:26 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d29aad15a5so790921fa.3 for ; Wed, 17 Apr 2024 11:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713378501; x=1713983301; 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=RapDlHBEy1nkY/csZneQutCtWvQO/OhX6r5FqrgGfGI=; b=BeB7WEhgMT63InPKdIB+cyAfuBT9ZoSfvT4aGG5cw8grYe1tJk1u9QQZawwvplhwsT 4OdBDma6kD4m+nKxS5Lvry1jkLYVBnbTQuF2HaFRQPyWEuMuCopnK8dDGoU+K5cIu0m6 GNjFxPqj6RqvMsYFJCPQF4wCUMTzzxk1PtxXCE1WpByVqpsbnRb/od0p3Ue/UW8gno7r sR2BNuNO7pOmWEdTCO0/gdt1whDru39oZAuIK9guEAVugWIq/sAFvu2otzm+45s8zVga O424sRgH9L6v77cik27fBvs3xiuq5rjn4ensCyLUT3ufLiqPjihNqLNpRgV9jbfh34/W sv1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713378501; x=1713983301; 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=RapDlHBEy1nkY/csZneQutCtWvQO/OhX6r5FqrgGfGI=; b=PP8xcePvuE5tKc6n5ZC1jI40KuLIZE2/GENsZjTeInX8ZBkmxjpM7FrZjJiz/Ah0Vc UUOx3a6hVZPwbxrtSw8AIoBCWsleJQ1gjiT6vOqhWJvhw6EnBPviarVCtt8cHKic4Qdp QmI+Iyby+HJI3vS1fMmy51F6o9eHx8P6r+20rBM6ZJw+nmC2/189cOgs08Y+p6rRjlBl 1IMmdEtkFjAayw2G7Kkq1S1mRkQHrgQiTypzJHo9FI0a7CFbTZfYds/oeNfgnFoI9QmR 7+i19eqT9p8kQnewf7uQNBe4zWzv0YGTbCxPyN6iBmW4D+0mrjS+cuRm68V5w+Xn8mHX x59Q== X-Gm-Message-State: AOJu0Ywsk6B2sKPKKPU+X0T2Q6dIVXDlARvPCKFAKE2okWC/0lMIjTFj pwHqsgRUxTTwgjN26BN4vLLqwxprrkqOHImLs5J+s2Ba1fNYtj3pFI2sw82ojU2ConzxC5LcBQM o X-Received: by 2002:a2e:3518:0:b0:2d3:4b73:7b40 with SMTP id z24-20020a2e3518000000b002d34b737b40mr64709ljz.17.1713378501376; Wed, 17 Apr 2024 11:28:21 -0700 (PDT) Received: from m1x-phil.lan ([176.187.201.23]) by smtp.gmail.com with ESMTPSA id fc20-20020a05600c525400b00418d7ae027asm436001wmb.28.2024.04.17.11.28.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Apr 2024 11:28:20 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 02/21] hw/core: Remove check on NEED_CPU_H in tcg-cpu-ops.h Date: Wed, 17 Apr 2024 20:27:47 +0200 Message-ID: <20240417182806.69446-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240417182806.69446-1-philmd@linaro.org> References: <20240417182806.69446-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: -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 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: <20240322161439.6448-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)