Message ID | 20210916153025.1944763-25-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 p22csp1333653jao; Thu, 16 Sep 2021 08:44:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4ysqH8pkdtsg8vWKt244jUs7QnLV0WWHUgkGvauh9ldX1jqbDl/bEHs344zMOSzVPi3Qo X-Received: by 2002:ac8:5710:: with SMTP id 16mr5570953qtw.395.1631807073548; Thu, 16 Sep 2021 08:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631807073; cv=none; d=google.com; s=arc-20160816; b=OClfO9YXYUX3shL/5aK6bWRj+tx1nbB0PYiIVhk82zlOY+d8Lohk21Q8N/Gl8jBQCO z4tvqMz15ZklUNHTuBMJz3IjXN8b8PhOmltqEjKtoh2I/EbOyqMWDOhBuV1UN2/CBO9n VKfSJRoaDdpyS586qse4O2BlShlo4g/VJFKnJzzHwg8kH7tm8Q6i2NCR/n0hDFgIOOza gTl13f9zazc37WfQwgA7VzLSxhvGY0aGHxDpBOtxhJ2oCWkeSLZz44vY6J+w5VAeb/CF yk3Bony7xV7wjvN/6t7+A5s2liE+1fFhf/g6jCE1SjYwyAq9dw49GS/w1ii/XiT2L/n6 cwMA== 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=54hnQT1IlwQI1vqo01dQd8XkfxGimuQYo48f9SWydvk=; b=mhKpJCxriGbdnsFTNDyv1az76dlrkpMUxR3mwz88UgbYtjEixy+V6AZWk2ctadJF+5 KSMH8HSp+cpvM0/wr54/korFwgtZnyXLcx7TopV0Us3/CMiLj2vLTCXQk4pTENOVXhbY fH3SlJ0JpXRWRmPqunpFPu0+IS63fpi2cbshR69CGbrJXld+YiNJcI26v2cuRV9rfhW2 Oj6jhgKc2qLGZ++JUw5fd5Ywn+Q+PPKfnRwRqsrj/EKQsCn9ebCbwQPuBXFnf+zweeC0 f5WgnIRU8nZrhFF4YTApfkauGJKzBPz3jlO/674ejcqYgFGW/2oMyUBjn5KNL2S/NJEB SkyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Hjrgstxn; 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 z9si1618996qts.104.2021.09.16.08.44.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Sep 2021 08:44:33 -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=Hjrgstxn; 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]:40550 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 1mQtYs-0000MO-Th for patch@linaro.org; Thu, 16 Sep 2021 11:44:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41206) 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 1mQtLk-0001a1-8p for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:56 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]:36511) 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 1mQtLZ-0002ao-TG for qemu-devel@nongnu.org; Thu, 16 Sep 2021 11:30:55 -0400 Received: by mail-pf1-x42a.google.com with SMTP id m26so6284144pff.3 for <qemu-devel@nongnu.org>; Thu, 16 Sep 2021 08:30:43 -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=54hnQT1IlwQI1vqo01dQd8XkfxGimuQYo48f9SWydvk=; b=Hjrgstxnep7o/Hr+KHF+lb6Ag0brMUDSrBglIPfYKX9JZOID81wcKhTOO/EHj3nVIp 4Fe4Dyx2sjAnhb0bBDb1XXhDLE0XqcPWwlSiOdsPk8lWCtZi4pu8Keex3G+NDCevy6kQ rGSMc3HfhlL9KX/4WKnzufDc/wHgM1Z5Hlsq5uPlt+YrOJCApdSvPmbGhPs+k39oHR7R S0kEJqKeUVBvQBvUjN2WNXnzNtmdLJxldGnHCxAYPsqCZvcFEXa/gCct/4QIVc9waPS3 DDjJIcIPRSdnILbfuhEj6FIV4ndiVN/ZIsaRfUtBaD5BFtaL+XoyqwX0zrM7w2Ap2mbJ se8g== 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=54hnQT1IlwQI1vqo01dQd8XkfxGimuQYo48f9SWydvk=; b=KRhOe4DSJx2NQoYivzK/uA7omhU3A3xNgBfsNvN1ht0UXfSBDjOM34PLbvS84wiKt6 bBI9+reTdJcvTYk7uXdv/5BOWZ6klomvLR5GURoNVdxNnWJ6Wr7h8GV9dlIUaKCz3aaC 28ZA5xO0veBh9nY0VrP5jfkv/LBxM2lwpdAtkUbmrXy9MS/MS8ymws0NYW3yR3nKlIG0 HS3yBwmVFiMNBLnP7zXWn+pdA3waU5NxR8wdp1XchdmFxhb/S0OivS69pGpkPac0+8N6 OIDn8iEefURy0fPoHAPUxaDvNyCwETiQ79F0bVbdiN64mkjQkmX/LgJUxk86ygOd2NmH u3WA== X-Gm-Message-State: AOAM533TJSWOYcfE9RA5WKNue64agc2LUsGrqM9cqeYdGHZf9EEmLPL7 yITlJftKW7aTnHrO2/8HPKi21XqsLjweHA== X-Received: by 2002:a62:18c1:0:b0:436:2125:e79e with SMTP id 184-20020a6218c1000000b004362125e79emr5734063pfy.68.1631806243108; Thu, 16 Sep 2021 08:30:43 -0700 (PDT) Received: from localhost.localdomain ([71.212.134.125]) by smtp.gmail.com with ESMTPSA id b7sm3779447pgs.64.2021.09.16.08.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 08:30:42 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 24/35] target/rx: Restrict has_work() handler to sysemu Date: Thu, 16 Sep 2021 08:30:14 -0700 Message-Id: <20210916153025.1944763-25-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::42a; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42a.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/rx/cpu.c b/target/rx/cpu.c index 25a4aa2976..ac6b40b271 100644 --- a/target/rx/cpu.c +++ b/target/rx/cpu.c @@ -41,11 +41,13 @@ static void rx_cpu_synchronize_from_tb(CPUState *cs, cpu->env.pc = tb->pc; } +#if !defined(CONFIG_USER_ONLY) static bool rx_cpu_has_work(CPUState *cs) { return cs->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_FIR); } +#endif /* !CONFIG_USER_ONLY */ static void rx_cpu_reset(DeviceState *dev) { @@ -189,6 +191,7 @@ static const struct TCGCPUOps rx_tcg_ops = { .tlb_fill = rx_cpu_tlb_fill, #ifndef CONFIG_USER_ONLY + .has_work = rx_cpu_has_work, .cpu_exec_interrupt = rx_cpu_exec_interrupt, .do_interrupt = rx_cpu_do_interrupt, #endif /* !CONFIG_USER_ONLY */ @@ -206,7 +209,6 @@ static void rx_cpu_class_init(ObjectClass *klass, void *data) &rcc->parent_reset); cc->class_by_name = rx_cpu_class_by_name; - cc->has_work = rx_cpu_has_work; cc->dump_state = rx_cpu_dump_state; cc->set_pc = rx_cpu_set_pc;