Message ID | 20180702151023.24532-2-shorne@gmail.com (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.web.codeaurora.org (Postfix) with ESMTP id C05D36028F for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 15:12:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B102628727 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 15:12:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A4D192898D; Mon, 2 Jul 2018 15:12:56 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 4B01628727 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 15:12:56 +0000 (UTC) Received: from localhost ([::1]:33450 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 1fa0Vb-0005gp-FZ for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Jul 2018 11:12:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <shorne@gmail.com>) id 1fa0TV-0003pF-D1 for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <shorne@gmail.com>) id 1fa0TS-0007h0-Ux for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:45 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:44243) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <shorne@gmail.com>) id 1fa0TS-0007fw-7b for qemu-devel@nongnu.org; Mon, 02 Jul 2018 11:10:42 -0400 Received: by mail-pf0-x241.google.com with SMTP id j3-v6so7649652pfh.11 for <qemu-devel@nongnu.org>; Mon, 02 Jul 2018 08:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4kKcrKeV9F/Qdu736T7k95sF9L6dvtl4xdV9jCWRIzA=; b=mkZZzp2QMR4H1414eG/tss32R32uqpmxVJ01FqgwqnpukfWqeO6qTLCMw5/f1FMIV4 pkuWXy8GgvaNmc7rV9PODdvHzB8Nes7yDXzQCutPbPDTTqWLz4KOXo642zmGzSO6Q1fI GLu0dJ3W6dU2OhVI1m8X0w7gSs/H2OdTY6WR1Fku2OGc36wuk4KMRFQzsujOjwimDCUR MCLaP9SIvghwIOPpHvmREfGoWr92HMR30zmlOcK/SQbeO29NXhhoT91yzP2U8Zc7Ard5 DPq9Tv8Iez0qsGvGHQrvwEIrf7M6Ftjc+TnMH/iYLh1BCIBvF+BqZM/gicHOhXvrCA8K 47bA== 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=4kKcrKeV9F/Qdu736T7k95sF9L6dvtl4xdV9jCWRIzA=; b=A5s11o0+GbB9Qz18sHomht1086TwgrbmzLwx7hlbjtnJV90+/hZUxmhnmCLOYrEDog RliNA9V+rsoRJtirrhMp7n12CeFvJlBnvgxIhdqqHy6frj43B0We55rfjcqcAGqthB26 BGnOzM6ovqDU+d6jCx16lemPtTS7omo89jjevfbn79BCEFHup4iKN7d6/dOFQBv/Bqv5 eaHnZVSyKMfSaqGGqlAoKelNVmk7Rbb/uyFbikk7IMcEyxTU9Qm0cfVxPDneQcEGocry 5bm9rHHDMXD3EuZOwiVe4KDnOuPWOvq+x1muAexx9Yc8Gw+hSNXNsQr/T79+2dEPVszn wubQ== X-Gm-Message-State: APt69E3JBEsp7fu1Km5/X+JDdz8Jy98RFKrX/SmkLbvsyPk4EjZxNzdF 9RqqG+fKplrGN2/Jk4QvSRI= X-Google-Smtp-Source: AAOMgpczaSc+voeIj/0gfHF/in1KT4sIKUiICzKDKv2VV+U2nwl6VuVubRKmtLjZd9tvLEUMTVXFzQ== X-Received: by 2002:a62:57dc:: with SMTP id i89-v6mr13777076pfj.65.1530544241199; Mon, 02 Jul 2018 08:10:41 -0700 (PDT) Received: from localhost (g90.124-44-6.ppp.wakwak.ne.jp. [124.44.6.90]) by smtp.gmail.com with ESMTPSA id r77-v6sm10576728pfr.117.2018.07.02.08.10.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Jul 2018 08:10:40 -0700 (PDT) From: Stafford Horne <shorne@gmail.com> To: Peter Maydell <peter.maydell@linaro.org> Date: Tue, 3 Jul 2018 00:09:59 +0900 Message-Id: <20180702151023.24532-2-shorne@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180702151023.24532-1-shorne@gmail.com> References: <20180702151023.24532-1-shorne@gmail.com> 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:400e:c00::241 Subject: [Qemu-devel] [PULL v2 01/25] target/openrisc: Fix mtspr shadow gprs 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: Stafford Horne <shorne@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, QEMU Development <qemu-devel@nongnu.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 |
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);