From patchwork Thu Jun 28 03:03:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 140383 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1643017ljj; Wed, 27 Jun 2018 20:04:09 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdpyTSnxoxY6MSIgNkypW9qyC3yf5Do4pc9zAjE5AX4q7Q1vak335cUZYhrYCX/5P4Wns6E X-Received: by 2002:a37:3106:: with SMTP id x6-v6mr7643981qkx.366.1530155049301; Wed, 27 Jun 2018 20:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530155049; cv=none; d=google.com; s=arc-20160816; b=NhI4CqgfSNcET4EnEviykAU3czE1Qq7lYtewl60mLxjrK2uVx5XRxAaPikMBkzoiqv 2pnXZs2Os6E23q9OtZbYVdwOve3Tl5LrkqO/3AfUEk3mYyaSz8tI9Q6sJ5CwNc+A/tQA jv1LOPUITdtYyJqQ7UQ4u8b2vPnNM4fHO1g/UdBatPdklZ3f0T565E8ap9IO4r/Rwo3y +DCMrDmmNvWmk1SrsU+jz/od3BN8San/KOkc2Cwma0PLGVafWupRmzR/qO56v/k6GWyn iHQzH3J8LFAnvpHwG9aolDHkKobbe9i8ejCWOGUmOQIWT7WrVIlbzv4YPgo6Y8kPdJp1 xrJg== 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:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=ann9GPHiOSMoq3Qqao3S2P8vkeiOe/5qFZmIeDX/9/I=; b=W1Z3diWgGX20qLFFLYCc0yd+FteBC7mJK05z7JvlBWT18tB07iUul+AU6DJHXV8J3Y T+hFWf8Ska3UVQokX7RwunAx+uZfQdJ0hdgIFQBlqWdWYcbthMeXua7sqwoIAgvJW6ta zi2GllJ8/tMaZkWnp8fOSJ/RGbuywhDUtt/iY7N6LSGXCjhz5GA8P3UgrxreOll9tlDh Q+5eDz+Z6+pH8Hp8H4aUHI06Mu3lLKoHv505o7yv1pL0tXSiBcZ2c48V565hab9eHJDn tbfwDDI/pqhP8JYsZko5o+6q5UOR9zYFYKsfMwTVDxN1pqHIVAtD89/0RmAWr+Utvgba ncJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eacP1ujx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id v17-v6si347550qtc.331.2018.06.27.20.04.09 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 27 Jun 2018 20:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eacP1ujx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 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]:34235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNE8-0004u5-Mo for patch@linaro.org; Wed, 27 Jun 2018 23:04:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYNDe-0004td-J3 for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYNDb-0007cm-Hx for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:38 -0400 Received: from mail-pg0-x231.google.com ([2607:f8b0:400e:c05::231]:44029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYNDb-0007cb-BT for qemu-devel@nongnu.org; Wed, 27 Jun 2018 23:03:35 -0400 Received: by mail-pg0-x231.google.com with SMTP id a14-v6so1794231pgw.10 for ; Wed, 27 Jun 2018 20:03:35 -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; bh=ann9GPHiOSMoq3Qqao3S2P8vkeiOe/5qFZmIeDX/9/I=; b=eacP1ujx9XpKZ3pYDciBa9otjwft4PkU1N8tqp0nQ4F4if1kLZNif0y0yQ/S/Te02S i2Lal0Kf7wXbF1mqyqlirTFVL5C9VpNs2d1b92IQmoG+K+KiGwNipXGUjjcECMJosr5G k3gOIyWAYBuEeulJClm1ds4z/saRFzr0Ogjb4= 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; bh=ann9GPHiOSMoq3Qqao3S2P8vkeiOe/5qFZmIeDX/9/I=; b=dZWtQ2dtiOXN9PxCtW8X4Htgr6lXTRudz5t+96V30G1qpMDjPbE+GeX1Ao8ZvypcT+ bBy12omJe4/M0cbPMn3w2swjQMP2G7LOvDX+WaVti4F0JA9GYIHj7GiT9TSEo3xMHEeH ZRXNwhZjTNP+J9/bG74Y389SkI4rHk2qfGFxXAW5Kj83Tptnmndq2FjfGuWdlbVSG26x ZlQIHjzR8gl7wp9yreW+3Jj1YRC8WkHGdn0gHhYJ7BYDEsrW4j8Y7pHxyQD6E5mqQiTC EbTqq7Le5rTe8t5iwoULuTeSDHviDQvSHnFETNK7V+l4ufyIxZGVhpQ7stB0ueNzg1jR JYew== X-Gm-Message-State: APt69E2MLp/ppHq1jhi5727jVvve2hADMy2ueVAK2ZVjKv6zJfkHPUXD OqCqcFPDiwBocPSZc0P7oQxFU+hw8Yk= X-Received: by 2002:a62:fe19:: with SMTP id z25-v6mr8176136pfh.167.1530155014002; Wed, 27 Jun 2018 20:03:34 -0700 (PDT) Received: from cloudburst.twiddle.net (97-126-112-211.tukw.qwest.net. [97.126.112.211]) by smtp.gmail.com with ESMTPSA id y15-v6sm8030489pfm.136.2018.06.27.20.03.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 20:03:33 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 27 Jun 2018 20:03:08 -0700 Message-Id: <20180628030330.15615-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180628030330.15615-1-richard.henderson@linaro.org> References: <20180628030330.15615-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::231 Subject: [Qemu-devel] [PATCH v3 01/23] target/openrisc: Fix mtspr shadow gprs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: shorne@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Missing break. Signed-off-by: Richard Henderson --- target/openrisc/sys_helper.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index b284064381..2f337363ec 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -98,6 +98,7 @@ void HELPER(mtspr)(CPUOpenRISCState *env, case TO_SPR(0, 1024) ... TO_SPR(0, 1024 + (16 * 32)): /* Shadow GPRs */ idx = (spr - 1024); env->shadow_gpr[idx / 32][idx % 32] = rb; + break; case TO_SPR(1, 512) ... TO_SPR(1, 512+DTLB_SIZE-1): /* DTLBW0MR 0-127 */ idx = spr - TO_SPR(1, 512);