Message ID | 20181025144644.15464-28-cota@braap.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CD3D14DE for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:33:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFBFE28744 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:33:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3CE528802; Thu, 25 Oct 2018 15:33:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D414A287C0 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 25 Oct 2018 15:33:35 +0000 (UTC) Received: from localhost ([::1]:55204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gFhde-00059C-H0 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 25 Oct 2018 11:33:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFh5P-0003jm-J2 for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:58:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgv6-00086y-Ie for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:34 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:58389) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gFgv6-0007tg-BM for qemu-devel@nongnu.org; Thu, 25 Oct 2018 10:47:32 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 5696A220FD; Thu, 25 Oct 2018 10:46:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 25 Oct 2018 10:46:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=f4AJke4hU8zkArr13H8uAIke2kfBpG7a7caLX8Nlk3w=; b=dxVeh Wtrm5U1k7wmuz/b1q2uzrR76lc7N1yjA/qyW6P9/ACqEEr16fvx9sPlh6XO2UH1w 4zHbYDJof0zHns67Fj3khu2rs1EjD+jE1wAkxoLgwxGCtWH8PaMR4OAZacc+TA7k ScPrytwNmdMRG8K6+WIQEloKvI4eANNHYmNzYw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=f4AJke4hU8zkArr13H8uAIke2kfBp G7a7caLX8Nlk3w=; b=Yd3M7uF1ahR7dje5gW6nY3ku7THu8496LoUpzOOMJI+E2 li9sLuGSGsFz5MxvxqUFz7blx/NGLCflyu+/UzYfDmH2zrKOVOI2XiG6DU7vwGp4 m/K5jJTdlRyU+a5J+eZFyjxS4ByccBYPcRrNRQUinrAzhIsTvPjq/FV4xEwkcwiw 9U24j6ya08LlHYVSpD2x5owh5OmASaldcEh1gPBKYdL96nUaj48Ehf+MDM3TxZ9p V58qiiJuXuLKBQ0mrJOAhOau1HTN355BK7LZfJRpf/xwRsqX82znFRoO/cvl5n02 zz4z4B5hlIL3agWQK8wVDiAZVqGjrD6JC3fBxsoUQ== X-ME-Sender: <xms:XNfRW67zsIv-Jvtv6yalsQiPmBxBZKlClWpN-bfH8EtNmBYh9TUhIw> X-ME-Proxy: <xmx:XNfRW70mhrNe-dFIGp0HcVrlA1_e9CDkbScNnPU-sdSav7Uvx1fftQ> <xmx:XNfRW0NqLarwoX-j2JdjnpY-kr3pqE8iGPcCJXrd9XN6fQDa3mUXow> <xmx:XNfRW9n5ayamqAeX0wad3LdLL7R65kU_lzzuJb-U9juEWQoUpe2HuA> <xmx:XNfRW_goumKlQDL8ZX7ukNeeOqOkk-aROkRhv7JnfgVY0kPHt-K0HA> <xmx:XNfRW4GWYABxC-sKi1a_ryrSb1caoZm0pBEy1DZruWKzDVs26wlcEg> <xmx:XNfRW7ftIC6EV5UCaCKgCC3oYBOlNuzDkQ_zvhCar2jbmU_xAm_R2w> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 13121E421C; Thu, 25 Oct 2018 10:46:52 -0400 (EDT) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 25 Oct 2018 10:46:01 -0400 Message-Id: <20181025144644.15464-28-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025144644.15464-1-cota@braap.org> References: <20181025144644.15464-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 Subject: [Qemu-devel] [RFC v4 28/71] openrisc: convert to cpu_halted X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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: Paolo Bonzini <pbonzini@redhat.com>, Stafford Horne <shorne@gmail.com>, Richard Henderson <richard.henderson@linaro.org> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[RFC,v4,01/71] cpu: convert queued work to a QSIMPLEQ
|
expand
|
Emilio G. Cota <cota@braap.org> writes: > Cc: Stafford Horne <shorne@gmail.com> > Reviewed-by: Richard Henderson <richard.henderson@linaro.org> > Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> > --- > target/openrisc/sys_helper.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c > index b66a45c1e0..ab4d8fb520 100644 > --- a/target/openrisc/sys_helper.c > +++ b/target/openrisc/sys_helper.c > @@ -137,7 +137,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, target_ulong spr, target_ulong rb) > if (env->pmr & PMR_DME || env->pmr & PMR_SME) { > cpu_restore_state(cs, GETPC(), true); > env->pc += 4; > - cs->halted = 1; > + cpu_halted_set(cs, 1); > raise_exception(cpu, EXCP_HALTED); > } > break; -- Alex Bennée
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index b66a45c1e0..ab4d8fb520 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -137,7 +137,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, target_ulong spr, target_ulong rb) if (env->pmr & PMR_DME || env->pmr & PMR_SME) { cpu_restore_state(cs, GETPC(), true); env->pc += 4; - cs->halted = 1; + cpu_halted_set(cs, 1); raise_exception(cpu, EXCP_HALTED); } break;