Message ID | 20200326193156.4322-31-robert.foley@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:de47:0:0:0:0:0 with SMTP id e7csp463885ilr; Thu, 26 Mar 2020 12:57:43 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv4JHENca5862lSVRprrPIbnhaw7U0qq4Bqig8OrJP0w+oAl6z8TL0RAlZrt511TpwoFvPi X-Received: by 2002:a05:6214:10c1:: with SMTP id r1mr10346006qvs.70.1585252663140; Thu, 26 Mar 2020 12:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585252663; cv=none; d=google.com; s=arc-20160816; b=09nfEpbt/1r2ysIEtD3yga+kh/UjLG81onjERBlcVXDQpfoEdyZrMzbJmTWamm8dPf QwEFCfxrLSxvbs8jnvTd0JqsEIscDX5A4GiXSqS/+YH7fi5Dlp720mOGjw5Ju6Psf2Rc COaLVfrIk9WZyG0G7bmI+/bbxj6uW3i/dPLXe60Mq4heC9e6mvP8yss4kEObBR0GoMx2 foU/8XiA2dvhm/ED2y2YadC/UUc7daAhB3EBF/GW+VVqPQRVgqTPTcJh+pQ9cd8TQ/jq 4PzFubwCMSby1t2q+LLahsfpzsFoAKyaVa7I1WDPMlCIYvDRu/Xg7RP/vLHSnQx0KDU1 FQPg== 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=O0fBrT3P1tRSLH4phcxb7WjFxDduimB9rIeQgvMHfic=; b=aw33pce8GPb5TPOWHRXWlsaxixqd5XpeGpGvA7/haJ7IVx1MNcU88n6ZGaubKpKHNu zY2ptxbpxlZRva1x5+R9WL1ezM4lsM8KGDEHbla0N92jzNxlFVOL2LoalOBFL7FPILka hJd88UpMhtfpYacyxZ3KfqUFy1aSb7Yy7CPGJjsHG3f07jFvpgyPgFZz0mgAuBaXrlYd slDVY3yQt7x+8GvhU5Qlb2r6Yh2elH9AHYByAmOt3iQOpPCvS0yuMn0H/ePeiNTEdxAt 8gmJPBgv/zXl7Tr8VAFF5u101M0x/GvuHS+rVl2zNRt8O5MKhe3Ms7N1Xkgp2q3TGOuN NGWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="Ix/ppgNW"; 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=fail (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 f19si2212350qtg.113.2020.03.26.12.57.43 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 26 Mar 2020 12:57:43 -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=fail header.i=@linaro.org header.s=google header.b="Ix/ppgNW"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59198 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 1jHYdK-0001qF-KH for patch@linaro.org; Thu, 26 Mar 2020 15:57:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58808) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <robert.foley@linaro.org>) id 1jHYKY-00079A-UG for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYKW-0001hb-QX for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:18 -0400 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]:39020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <robert.foley@linaro.org>) id 1jHYKW-0001h1-N5 for qemu-devel@nongnu.org; Thu, 26 Mar 2020 15:38:16 -0400 Received: by mail-qk1-x742.google.com with SMTP id b62so8194629qkf.6 for <qemu-devel@nongnu.org>; Thu, 26 Mar 2020 12:38:15 -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=O0fBrT3P1tRSLH4phcxb7WjFxDduimB9rIeQgvMHfic=; b=Ix/ppgNW371q67atX1d6cmfGUWOXxSPo7C2SBh2ugKoGfWEg4NUKasXK6aV3spE0b2 KlwElvLOBxB5KYiec8f8eIe54rhl1HC5W6e1OQSPXlMsD1pBJBwcdQ7QUYaW3JDr0l1E NdMxepdRYNBvvnQz0nlFkS30SPyMRJoxag4bXQyzQBx1VJWeCQzYKx/0K6C61Uwc5kjs uMYEKQMWqRleMKWrBC6I0vLmnZv2p6FtZmBg5Xv7zX0xD+AM0eHiSMIYUYOOCpaERYd/ yuZgYvYtGhZY3zMez/tVqbzD3jBoNt66oTAkOJXsYVj020PidgrvKnIB/qdGxjNKfnaK 96Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O0fBrT3P1tRSLH4phcxb7WjFxDduimB9rIeQgvMHfic=; b=NQGuSk+rGc3/mQzG33uDFhsyOwiupn8g8vpiSJ7CzIa4tXYN6iOiPRQeZ4aNdWLRSj m28ryvMmyrocdleyjHuij5wZnd2PUYKnmm1tfzNXAmI5ncdrUCPnMKQ+67Z1oTml99iz IEOyUrJEfBYqo+qdQQ+N+KSzwoiJzuOgvsCN9anDIffCxr/CYleQZCtYl9YXypbcPK57 p9rg5t2y7aDyCS3E/WUa1pVyKlyoJUGkMIlxnq1KJLdgYdgS0JM+sBOyXklJvDqlUAcf Bovj0n7+303UqMvRiw7KTrpvVODdEXJ4TV5/wxu0/F1E6X5tdfOKXHPVUX9RDAB/ObFu xagQ== X-Gm-Message-State: ANhLgQ3eQQeIDalE7anl90r24EfG0w+WvovRoP96uA2XoIVri5dSRpbq dQxu6nLB/4iSRaUFFe+57ywznF9HEwnPoA== X-Received: by 2002:a05:620a:88e:: with SMTP id b14mr10476524qka.449.1585251495038; Thu, 26 Mar 2020 12:38:15 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:fd55:4e67:1038:8302]) by smtp.gmail.com with ESMTPSA id u51sm2161916qth.46.2020.03.26.12.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 12:38:14 -0700 (PDT) From: Robert Foley <robert.foley@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v8 30/74] openrisc: convert to cpu_halted Date: Thu, 26 Mar 2020 15:31:12 -0400 Message-Id: <20200326193156.4322-31-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326193156.4322-1-robert.foley@linaro.org> References: <20200326193156.4322-1-robert.foley@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::742 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: robert.foley@linaro.org, richard.henderson@linaro.org, "Emilio G. Cota" <cota@braap.org>, peter.puhov@linaro.org, Stafford Horne <shorne@gmail.com>, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
per-CPU locks
|
expand
|
diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index d9fe6c5948..2615571ce7 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -134,7 +134,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;