Message ID | 20210916153025.1944763-10-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp1331209jao; Thu, 16 Sep 2021 08:41:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDIPMTB76f0GH2dBvXMKcV+RnQY7Q5sKW6Zh+wJHpL9l/aIEqxDLiJYI6EA54KOcjZIbz+ X-Received: by 2002:a05:6102:2004:: with SMTP id p4mr4644606vsr.27.1631806887719; Thu, 16 Sep 2021 08:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631806887; cv=none; d=google.com; s=arc-20160816; b=qo7Yq/SBdtNJpsuMCLb+B1vHz/lg6pFG3KNVCfbRDuErgMt2BiE9Qy0y0bKRLSwjaf vEm4eyawt9Ep5JST1X4Wovvod83RWHt9MLZsqnAwDlWGUpyVsFXXvWsd8PmcZADtR/Zd ir60rJ6aMINS7ukh8aT0nxLb2i3pUHIAgb92XkI+SQYV5zYqPd+qF7fMo7UPFRqSjBO6 G+LEVc+U8wug9xx9c8nlGM2EvHNOKiyOhaEYnRvq+bTkJvFBvHI+8quFtAN0VbtFIrSG 5UV324vuspdqlysjjyFTRcGipGpNcYJSOdwOABPZ0FJi8k/SP+ITajyLtc5Ad0Tr61J5 27KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=v+sL6u8bXsTKjedcptTkC5TsAqmI7f7iPpsRjw30zQg=; b=HWLiw3uTuEJJ9GObg4mKw3g+4WfhvJKZeqEMyftuHEEO0smEXYcFRbL+9HurZWS0D7 vk7v3iQ+BwbbbUr/BmkDyKd1axJ9UwcKz4Sr68VWVAoEbkyeykJtXXyOf5yKmzMICI0M Kyxzgvz3TzABT4RxO+6JitHwgoU88u+qdtPB46ewT+s6KA5DQMWvpc2DyR+zLf+0mvV1 coEuMzY0xICarvEoRRw7pfZkNLlgymKDjIMmQPC4rd0fdBFY1lqzFOAdlxMZWS96ZPy+ 9Cxrro1Pi5rH/xZXK8m8TJzjN7cDcAJUg4rpOLQzl+Ii0eoCNHRgZG3grojYjEBXMKQp DnAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QE+qMyCS; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6si1647080vsb.292.2021.09.16.08.41.27 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Sep 2021 08:41:27 -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=QE+qMyCS; 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]:59078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1mQtVv-0001tD-43 for patch@linaro.org; Thu, 16 Sep 2021 11:41:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mQtLQ-0001Fp-LZ for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:36 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:40477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mQtLO-0002Qp-OT for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:36 -0400 Received: by mail-pg1-x52e.google.com with SMTP id h3so6479691pgb.7 for <qemu-devel@nongnu.org>; Thu, 16 Sep 2021 08:30:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=v+sL6u8bXsTKjedcptTkC5TsAqmI7f7iPpsRjw30zQg=; b=QE+qMyCSwLWL5uZLgEsUmXsngvI9g0Dc+Lc36Wlz/jCrWnR2aRJx1t+1vIfqcg5rQa stdniSM7jXDJZr1PcpJ2nT96ah7R5l/zZUfzi6WrluzV5NN3N89KYicx37WJTC64YQQ0 I0rlBAvQxABFvpWZXIhoEAdWoxR+NwCZvcQcoA34YAngG9s+xQCsUlQlKcNGkN+D2PBY b47GiskaQ+KYmHcMgcm1o+Op4Bg6cNb+i0o5F+U8/d1/TZkPHRclfDcrhkdPPijnCjl0 HpZ0r/Drc4KyQoAngou1ksloTx2gYHaM4gMdUmBUG3Y+YpcNnXQOBgN+EYsX5j4+3ntO +24A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=v+sL6u8bXsTKjedcptTkC5TsAqmI7f7iPpsRjw30zQg=; b=k/QaK2Ccw+dBgIcoISILWyWzwMFIdP4/OmV2pbA7qoPg00Ouxrm5XrGoQb1gtytpRY GI927eEnLIR78tMDwkWIqgqo73dVmLTqZ2wZi5pyI1JDsdH4Mz6b/pegJPhQCp4hy4uu f6f1inDV0iyUdXlzDaINCqvC1gy9lxbPuhz7W19RGa/bZWDg6/XKLexYWTYwX4gH38QP QZO2RWmTYM2JUBk4A8kihZO8GSs7O/fMSDcAYOxWha+QRpUEFu/Y5pIf6X07H3aT1Xjm 5/A8DR4GruGneq9ltUrMJjmqKnxlwqF/c/5hXc+Vp+NxZwCRRE2IS1LXtVmTPppWx4Q/ FpAg== X-Gm-Message-State: AOAM530hMqxKUcIYwrmcFiU11FJNyU1f98wmpBwPiZtLoTqvKFIqlwG7 8eYwQ2Ay3UB6gjQqPh1blhZ2gw7D3rDNwg== X-Received: by 2002:aa7:8893:0:b0:416:4ed7:e4c4 with SMTP id z19-20020aa78893000000b004164ed7e4c4mr5729264pfe.83.1631806232446; Thu, 16 Sep 2021 08:30:32 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id b7sm3779447pgs.64.2021.09.16.08.30.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 08:30:32 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 09/35] target/alpha: Restrict has_work() handler to sysemu Date: Thu, 16 Sep 2021 08:29:59 -0700 Message-Id: <20210916153025.1944763-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210916153025.1944763-1-richard.henderson@linaro.org> References: <20210916153025.1944763-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52e.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.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg patch queue
|
expand
|
diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index 93e16a2ffb..1ca601cac5 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -33,6 +33,7 @@ static void alpha_cpu_set_pc(CPUState *cs, vaddr value) cpu->env.pc = value; } +#if !defined(CONFIG_USER_ONLY) static bool alpha_cpu_has_work(CPUState *cs) { /* Here we are checking to see if the CPU should wake up from HALT. @@ -47,6 +48,7 @@ static bool alpha_cpu_has_work(CPUState *cs) | CPU_INTERRUPT_SMP | CPU_INTERRUPT_MCHK); } +#endif /* !CONFIG_USER_ONLY */ static void alpha_cpu_disas_set_info(CPUState *cpu, disassemble_info *info) { @@ -221,6 +223,7 @@ static const struct TCGCPUOps alpha_tcg_ops = { .tlb_fill = alpha_cpu_tlb_fill, #ifndef CONFIG_USER_ONLY + .has_work = alpha_cpu_has_work, .cpu_exec_interrupt = alpha_cpu_exec_interrupt, .do_interrupt = alpha_cpu_do_interrupt, .do_transaction_failed = alpha_cpu_do_transaction_failed, @@ -238,7 +241,6 @@ static void alpha_cpu_class_init(ObjectClass *oc, void *data) &acc->parent_realize); cc->class_by_name = alpha_cpu_class_by_name; - cc->has_work = alpha_cpu_has_work; cc->dump_state = alpha_cpu_dump_state; cc->set_pc = alpha_cpu_set_pc; cc->gdb_read_register = alpha_cpu_gdb_read_register;