From patchwork Sat Jan 25 17:01:23 2025 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: 859833 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:18c8:b0:385:e875:8a9e with SMTP id w8csp1340368wrq; Sat, 25 Jan 2025 09:07:38 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV2isAZ722BRr9vpQeraco1AvXoJUJc+Y32gJy0ma81v/UMSBvv70G2SgN5PUje5rWAp8SfsA==@linaro.org X-Google-Smtp-Source: AGHT+IHWYiLoQhIC4dKq10AjHou7be75A8USAEhhnuJzZj4ewTZIh41ss2C3E6o3K86HOHzYhq9g X-Received: by 2002:a05:620a:258e:b0:7b6:dd7a:9709 with SMTP id af79cd13be357-7be6327964cmr6106119585a.36.1737824857940; Sat, 25 Jan 2025 09:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737824857; cv=none; d=google.com; s=arc-20240605; b=NAPiNke+VmFuafBr+5RVNTJV0Sd3u99S66zRpu0w0KirWLxfSNowICBtMyiH/nNMD6 RaPnDlL/QbnbhSrKN4atdOB0JFzVX5OaJ+FLS1UktqdaP0LZNSj0S+14S0m54tNJu6TZ elLdUL6z7Xfat2Ys6i0m/5UirLR1X84O3cV1QmCDPJFz6ZvxxV0+LLyWHj/QqaocIX98 QWn7Hh5Wn1RJrzxBgcBFcqWbOibFz7rWR2dlUdSll7T3w+gw2mHxDp44LCVKC/uTsx8a HTwcI82JvEU/Z5A9/A7exUDoiI3nBo69psVduIHAJHKcVNkjvY99Kk+8wuuaNXrok1y7 vExg== 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=UZ8BDmUkV3T9ZQW07wpYEtUOuZG1AGKnmguq5EirG8g=; fh=ZXDWg7hKG7Hj19AbRuutTLw+Zvn/B9RsGUUw/YagpFI=; b=kOzJnlWC7xM5a+Fe2vYqub3yOx4YX0ja0X4CnILISssdGJDyzNwcZIwhZ2E78bB0zT zvKUJin+lEnGr4xjoe1et5s+Qg3MKaymNYgcIVuJm/UJ57PH8yb65lU/O3HTudajeAR/ QwbZAd6gZWdCanUje7CHuDsaLa1PR/hScGAI0sPpkbnGHfnFKtD2I9n4d4DPemRUTk3Y cAFqQhOmtmW6euJRFCQ/rQ+6P/+vQsP7i0TTo3pnqlV0ms0xmrNeaDKv5jdvkoc62Rp7 c+XFRbtOxEq6+31O5481XZ84Enpw69hvC4dQj4FixHbnZYjyJZux3L9jKfDX90ydGf1k hgbA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=daTNnmdr; 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 af79cd13be357-7be9aee1681si502078185a.235.2025.01.25.09.07.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Jan 2025 09:07:37 -0800 (PST) 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=daTNnmdr; 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 1tbjaP-0002fq-3A; Sat, 25 Jan 2025 12:04:45 -0500 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 1tbjZ8-0001Kp-6J for qemu-devel@nongnu.org; Sat, 25 Jan 2025 12:03:28 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tbjZ6-0000d2-IM for qemu-devel@nongnu.org; Sat, 25 Jan 2025 12:03:25 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-385e06af753so1663991f8f.2 for ; Sat, 25 Jan 2025 09:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1737824596; x=1738429396; 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=UZ8BDmUkV3T9ZQW07wpYEtUOuZG1AGKnmguq5EirG8g=; b=daTNnmdrWymOI3a4ufZq3/YE/70jdcWkWpnKOA1oKerB7syhRZlwgJ592ngJ4sGHSd EyeJlnXBfkp58wsrqgDa3MmwlwoC6YG1hZnfztCb9xFUZm5l/Win/E2AQB3fdFHJikFD Oo5WAPEZaVC4iYTYbNYmIJJDQA3YdAkRH7jyGFZ72msUjsSJ8e5yJXH1gAjchJrbKblW QgwznaQ6TQsu9YZOa8PP9DNm+FlaLlIHtqavOSurp24vxLrNyjhfOtyWFHaIgCOSvbh+ kyItlRIZNn9gi4oQRHYZL1Oi7Z2CTgBr8l07jdYDM/fwl/tN+T1gXIEKNQSJHJETnxUA uG8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737824596; x=1738429396; 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=UZ8BDmUkV3T9ZQW07wpYEtUOuZG1AGKnmguq5EirG8g=; b=JbBxSsxbAo5ujqC0I7Bq21wB8COnqq8SSL6WxQ5e9ijW7AckVkahGWPydp7gdgUbCx 35OeBURV4W24SJNsHkNMdnbcKQnusDH5yKQPo+eJxCgw2ImmBF9qHxYFVji/bBTTf70l 0T/kFvdRzTajfu7GywuXYrMt6eLCDoKZdiAEKL8bJY8siD+wosWYCRJMZXfL3tb+dU8n kvNf+WLSUrJfX1H2C4Na+BMdt4gKGN4qs8W10t671mYoPgNi5w78ofmZdYM3sM1v67yf VT+RT9wyAfj1rt3RireLKBr/+99Tzr8xtkKWh8euXnXxyUrZ/a0DwZ32mbfPQJGVCE0A F8Dg== X-Gm-Message-State: AOJu0YzH6r3rd0T91ZrcNnm1x2v7L9D/h9fD+ASx5PLquwzBOy0X9evM wVFkaHSH/h2XbRHUx0hAc7PSY2v5uVsPXK1niKafxxDgAKOWaXA+E+OwQu83hoHMf46LJMf9yZl ZjK4= X-Gm-Gg: ASbGncuQBp+QJCOYey4sOTaz5xG/R2IRnfXQaJphda9fxovMI8Zi9TsNQOLiHIj8BZr p+eMqaTOK4Q7gINOSX/s5YoH1QcKRWKyaXWG2m6PMl2E2SlQ95TkFYywnmWBCerv/QvpTyEGCE0 9tqZI6oMBukLvAD0DPDhry/BFF+BCrXeBFDLu40Lm03mm36x4bCWYHYUZdVTmLE3sArP6xfDpON XFCqM3D1AdTJL32xMYAIVhC7cF4HVYK/wuAdGczYU87R1lPl288O/EF1R6cfqYimMr5NAY04RjU wGsM9+OaiVjmXtRmGsUhA9MkzZd4PYzkRddex1/db9o4yeBspHAPepkCG8lwkCCwcw== X-Received: by 2002:a05:6000:4008:b0:38a:624b:e37b with SMTP id ffacd0b85a97d-38bf57b642dmr29881098f8f.53.1737824596562; Sat, 25 Jan 2025 09:03:16 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38c2a17633dsm6057072f8f.15.2025.01.25.09.03.15 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 25 Jan 2025 09:03:16 -0800 (PST) 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 v3 22/24] target/tricore: Move has_work() from CPUClass to SysemuCPUOps Date: Sat, 25 Jan 2025 18:01:23 +0100 Message-ID: <20250125170125.32855-23-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250125170125.32855-1-philmd@linaro.org> References: <20250125170125.32855-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=philmd@linaro.org; helo=mail-wr1-x432.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/tricore/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c index 95202fadbfd..e4f95876efd 100644 --- a/target/tricore/cpu.c +++ b/target/tricore/cpu.c @@ -165,6 +165,7 @@ static bool tricore_cpu_exec_interrupt(CPUState *cs, int interrupt_request) #include "hw/core/sysemu-cpu-ops.h" static const struct SysemuCPUOps tricore_sysemu_ops = { + .has_work = tricore_cpu_has_work, .get_phys_page_debug = tricore_cpu_get_phys_page_debug, }; @@ -193,7 +194,6 @@ static void tricore_cpu_class_init(ObjectClass *c, void *data) resettable_class_set_parent_phases(rc, NULL, tricore_cpu_reset_hold, NULL, &mcc->parent_phases); cc->class_by_name = tricore_cpu_class_by_name; - cc->has_work = tricore_cpu_has_work; cc->mmu_index = tricore_cpu_mmu_index; cc->gdb_read_register = tricore_cpu_gdb_read_register;