Message ID | 20180430150837.20470-6-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TK+WVqEA"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 40ZSls1x8wz9rx7 for <incoming@patchwork.ozlabs.org>; Tue, 1 May 2018 01:15:35 +1000 (AEST) Received: from localhost ([::1]:60180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fDAWb-0002FO-5h for incoming@patchwork.ozlabs.org; Mon, 30 Apr 2018 11:15:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ6-00065j-1C for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ5-00051z-2g for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:49 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:41026) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fDAQ4-00051Z-RI for qemu-devel@nongnu.org; Mon, 30 Apr 2018 11:08:48 -0400 Received: by mail-lf0-x243.google.com with SMTP id o123-v6so12564848lfe.8 for <qemu-devel@nongnu.org>; Mon, 30 Apr 2018 08:08:48 -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; bh=3r8s6ZdOkvIVIYVkoMsHppoIqucNvkDQrdaP9S//BJA=; b=TK+WVqEAVudkfUYzDal3TgzMcriPlxyxETprn5nSFkrAAEMkodYav2Zcq/XiO6Klqn 8qefpbFYTHOFFiTdlwRGggDQVrqCPfAOABtBiJgHMNUDePJO6OoIMcbq2UJovHAv7pBJ 571eTBQ9QnO4wKbp+7mwunagf3M7B2HHlsUlNeY8mDssvSeY1MJQgqJ7DprcGsgu5wRd 67qA2MrbDuQpJIa8fUNyan0jvqvV+7dB02rw+yWc2ghhdk5GFAyRbc9816hXq8SDkHTY srWiUC60oxPPJzXZR2LFYIU9bVCuHHpNCQ0sTMZY5OcYTin2W473Nyh4BBTr33mI+iJ2 cYZA== 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=3r8s6ZdOkvIVIYVkoMsHppoIqucNvkDQrdaP9S//BJA=; b=ISeZ42BTr93Ueg/b0cwuIWeZKdATgk7UKfiL1ODBZHBunwTEDy61wRECy1LNdDHXr8 bXr8ejXur0hBsHnAYzpMediai+phz3A3MdtkmW7O1RF/ombiHMEjM4Tt1kVJ8m6hOeF9 1E+v8kNPUjmwrC5nn4q3SJ64bp6qUp2wCoJClfi4NKYMIAAXJEOJs0bzHbcAIsEHI059 z+ZvzItF+X8xGWwoXQVKIDbMfbIagm6Hayb5ffsBNE49Zh1ygBOpPVf3msXx3/XEtrh6 IPrwhkfCyvMCrOFP9cvKQJuOHQROnz9oyJA/L8l3Get0giY/4k8L43WMKwRB1rKK2hKD c6Zg== X-Gm-Message-State: ALQs6tBtC53xozOY4lT2B2vpWVACAYQXyMSqykPXQi/I0oDP2YtN2iVN 4ToY2BfGD38Rs7BBorUWjgOnLw== X-Google-Smtp-Source: AB8JxZr55sHDTU9HmNfgepY67OFsNALe0Urh/H/WSoC/s/dz16dNtcWrMVnyygcqhi8u40WIPNaD1Q== X-Received: by 2002:a2e:7a0c:: with SMTP id v12-v6mr8063659ljc.79.1525100927420; Mon, 30 Apr 2018 08:08:47 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id e18-v6sm1565429ljk.57.2018.04.30.08.08.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 08:08:46 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2018 17:08:37 +0200 Message-Id: <20180430150837.20470-6-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180430150837.20470-1-edgar.iglesias@gmail.com> References: <20180430150837.20470-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 Subject: [Qemu-devel] [PULL v1 5/5] target-microblaze: mmu: Make the TLBX MISS bit read-only 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: sai.pavan.boddu@xilinx.com, peter.maydell@linaro.org, alistair@alistair23.me, edgar.iglesias@xilinx.com, frasse.iglesias@gmail.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Xilinx queue 2018-04-30
|
expand
|
diff --git a/target/microblaze/mmu.c b/target/microblaze/mmu.c index 8391811900..9d5e6aa8a5 100644 --- a/target/microblaze/mmu.c +++ b/target/microblaze/mmu.c @@ -273,6 +273,10 @@ void mmu_write(CPUMBState *env, uint32_t rn, uint32_t v) env->mmu.regs[rn] = v; } break; + case MMU_R_TLBX: + /* Bit 31 is read-only. */ + env->mmu.regs[rn] = deposit32(env->mmu.regs[rn], 0, 31, v); + break; case MMU_R_TLBSX: { struct microblaze_mmu_lookup lu;