Message ID | 20181213050453.9677-30-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 C296B6C5 for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 13 Dec 2018 05:37:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B375D2A14D for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 13 Dec 2018 05:37:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7FBD2A1C2; Thu, 13 Dec 2018 05:37:45 +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 4DF222A14D for <patchwork-qemu-devel@patchwork.kernel.org>; Thu, 13 Dec 2018 05:37:45 +0000 (UTC) Received: from localhost ([::1]:50596 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 1gXJgu-0001XG-Cy for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Dec 2018 00:37:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gXJCo-0007oA-49 for qemu-devel@nongnu.org; Thu, 13 Dec 2018 00:06:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gXJCl-0001oj-GO for qemu-devel@nongnu.org; Thu, 13 Dec 2018 00:06:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48029) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gXJCl-0001U0-1y for qemu-devel@nongnu.org; Thu, 13 Dec 2018 00:06:35 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 942D222201; Thu, 13 Dec 2018 00:05:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 13 Dec 2018 00:05:43 -0500 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 :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=X/x2JcpscALtnqZc4ILquw0WwywjjtaY6hJXpBC9xuw=; b=iY087A7QspvF /hnrHaxqKSboiFyHTgAcRLeW+5IElwv+gYaFEsQs9fSSB5Tz3VEhYeIgsuxSRLBz cjpz1+0LWAf/N0/sUophEoXJuw36c/CdB+C+01jD1bo2NcvSsKPARAcNE/pBskEB 0K/ZL4iyY4SgOzeiKh9LeuhrDwftprw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=X/x2JcpscALtnqZc4ILquw0WwywjjtaY6hJXpBC9x uw=; b=V4ek5m+0OMNFqWpB2v0HrIjetSatWD93OOIIPYMos7s5HM7gipV8PNSJy WJUcSh1Glk6VIl26he4kVGbUgLcFvFhwbC+MdHkTy5ztG3EkOONH0ly50hEOEeKO OkuA0HysQjWsUIJhPErVAbIFD+sDqE1uc3gY3QqbWmFxCtrcg0CwsEe+EnyPPmA3 ddVWybE2/tJ248Gj6RA5tFa1nLml4gbbtawx4q5CfbhcjHYAutJYl5OL0z6QyQia /IoGQfgmca2M9qumybxIGIOtviod/9sUHtJQV0FCkNNxSM6SwlynyftzJ8JPYUIi GITkoWtHxkiLuFF6siwCX55N/+Rcg== X-ME-Sender: <xms:p-gRXPIm1RBMwlC8QIiMqAt5vuT0mx4-Gace5lcz5uS3eDQuIcCwVg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudehuddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkof gjfhggtgfgsehtkeertdertdejnecuhfhrohhmpedfgfhmihhlihhoucfirdcuvehothgr fdcuoegtohhtrgessghrrggrphdrohhrgheqnecukfhppeduvdekrdehledrvddtrddvud einecurfgrrhgrmhepmhgrihhlfhhrohhmpegtohhtrgessghrrggrphdrohhrghenucev lhhushhtvghrufhiiigvpeeg X-ME-Proxy: <xmx:p-gRXEwIoISfNARMBF5Jm04fdnq5SAbBrIw0xSd6Rws7FRySLpgNJQ> <xmx:p-gRXLy1aTRAGUUVV8rP8ZQP4rjthmIE1rBllINVhgXYE1m1lQV0aw> <xmx:p-gRXO3vqqHg7xFoHFHMw6MCOD661c_KjjUklSpBRTGgeE0hKSYUHg> <xmx:p-gRXGfW8HqEUDdh1eR0WkvjxpKb-23_Nen5A_WigbrVSqbd6hk4mw> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 2D03F10086; Thu, 13 Dec 2018 00:05:43 -0500 (EST) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Thu, 13 Dec 2018 00:04:09 -0500 Message-Id: <20181213050453.9677-30-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181213050453.9677-1-cota@braap.org> References: <20181213050453.9677-1-cota@braap.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.25 Subject: [Qemu-devel] [PATCH v5 29/73] 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: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, 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 |
per-CPU locks
|
expand
|
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;