Message ID | 20190312161904.31130-5-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | acd6ba74d6de7add51763a19e6af2f0e41877513 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp13301007jad; Tue, 12 Mar 2019 09:25:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZOmnlQlVf2zmDzddMJ9RLZMu//E56EPj24QMYXfjUvBbBQYAIjLDgYrxEBC5/V+oDZzTy X-Received: by 2002:a81:6c86:: with SMTP id h128mr31180780ywc.477.1552407956940; Tue, 12 Mar 2019 09:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552407956; cv=none; d=google.com; s=arc-20160816; b=0rc5cOYJUonQz22fBNTjYEn/6YRafT4Z4y4VFmSLsoGAvNvDXQTtTENBicRZgoW9Gh TRI+08k2x/XVxEfvO8A87qmZUT+UC0aOTRLRCRFNP/QmQGCPumQYMSnq6/Eo1Mmq+5wa krxtXB1ckXasZPrCH8H73YJiN84QZj5+++XQJ0uOUrs47R08K4qopGSHKk0iTnN2m2g4 v5a3fOYfow2nyDCjStnpWn/zA6nWyB11FlNMqpSQe4ME1SvnmtknGkeJKPXp73WtqzCl 7IE/kr4vWYlslh7ei4NuGDON8/bOuvDZ3xCCQz7ThyDSyCtPBSP6b8XeDFnpstM76d9/ Zdsw== 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; bh=NJH19TquLWycaOqdKAD7ffw3vyOIRwwOSUA6RxBHhYo=; b=c0qXVhs5+0iyqKxXSFhNpUnXrpoDaoUs/xvsxpQZWitzE+KMYm2/KIdmkBEGhxR2yA 0Mu4mSOTccsD5oofdT7geqvEOe9fogAr/BeHw5ZyYIugovyXWX7Z0wt9oZBmbgwhjRjd xmoojIiFS5wgePrmTFSusPZ0+/B9qYSP469sBPome2JmDI0WyBNAwsDmeGaXGP9lUSag rX5uXkYoN9YyAI5Lj1n+X6ekC40qs4TaE6NNKOaoH2CPCAZHpW8HBV6yiEBug98Cqxbg 2FfTn77GQm67868hLWgIf+5MBzA5mcD3FnI9XLtYxuYA7ud/2srSh7wlPJh/bQcLYaui wQPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=wicJ7HSW; 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 g135si4463874ywe.406.2019.03.12.09.25.56 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 12 Mar 2019 09:25:56 -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=wicJ7HSW; 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 ([127.0.0.1]:55343 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1h3kDz-0002f5-Tl for patch@linaro.org; Tue, 12 Mar 2019 12:25:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3k7c-00060j-Fv for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:19:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3k7Y-0003tp-TK for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:19:18 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:34439) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1h3k7W-0003rx-Ve for qemu-devel@nongnu.org; Tue, 12 Mar 2019 12:19:15 -0400 Received: by mail-pf1-x433.google.com with SMTP id u9so2196398pfn.1 for <qemu-devel@nongnu.org>; Tue, 12 Mar 2019 09:19:14 -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=NJH19TquLWycaOqdKAD7ffw3vyOIRwwOSUA6RxBHhYo=; b=wicJ7HSWng8Jx6UyHUIV9WtoG1oI5khK3ipeBzmwqPOsuvJXYJWrnhqi1eCpvn3Y32 vFpecQlonjMiZKkDRBsBkT4FpBLZQyuEewyRHRlg01yefhBoOyhyjqI02Z7V8wtVkNEW HMHJtt+34ItxME0goOz+aVeez0NWRtVXCkQcXDyp38gNZF+XPN3QprS88Sfy1oNFo2cw X30gyEAENMAQpuVahXVw7POh6QJTAMMLOCrK1vctHayax7TgiX17729fG10XfP+ivFzj Z3poYtBOgxAmko/9jBzRjMyi8+KK/Z8Pz9HmYOdeffOTb80/gqAc3BEsget4JOSPX0O7 UpDA== 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=NJH19TquLWycaOqdKAD7ffw3vyOIRwwOSUA6RxBHhYo=; b=Kvc8BWdwOiNbketfpDx0hF95NWJyLjTzW190idCTuWvOshMjPxX+KsVdMhiM7lCw0G iwFjDqpD21iDSxJEeu83RyZmEQt8H59LR1CxnowVDCN4TfG39lR9KmEFbdw6HcUBUMaF g30GkqPxahAx2tdoKcmm3CbrDR8qfjJQIRtdpnEE+CpFe+FJ7lAL2U+vA54skJnYKcPk x8c0bbZBxlQjDXL3Mp0mNbsRuaLMKrhUlG8DHnTX6acQV+9spHy2bu9FMrXtgeJiq1hL z6+DNAfnD2WRFo79DlqxWiN1OElJ1SR6T7F4ecRKDr7vzdWBYxziHIpcwmRFPc3txg5Y XCaA== X-Gm-Message-State: APjAAAUYl07AroGrcv6dgxCpbvYzs1+pEvkxgyAvRnjYxdDk62cBJTNw s6l2JZDCeZIC2XEMPzc9H+cNvYI7N6I= X-Received: by 2002:a63:4142:: with SMTP id o63mr10919047pga.81.1552407553217; Tue, 12 Mar 2019 09:19:13 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-188-82.tukw.qwest.net. [97.113.188.82]) by smtp.gmail.com with ESMTPSA id q62sm12605644pga.32.2019.03.12.09.19.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Mar 2019 09:19:12 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Tue, 12 Mar 2019 09:18:57 -0700 Message-Id: <20190312161904.31130-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190312161904.31130-1-richard.henderson@linaro.org> References: <20190312161904.31130-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::433 Subject: [Qemu-devel] [PULL 04/11] target/hppa: report ITLB_EXCP_MISS for ITLB misses 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: peter.maydell@linaro.org, Sven Schnelle <svens@stackframe.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/hppa patch queue
|
expand
|
diff --git a/target/hppa/mem_helper.c b/target/hppa/mem_helper.c index 648b94cc12..867449084f 100644 --- a/target/hppa/mem_helper.c +++ b/target/hppa/mem_helper.c @@ -96,9 +96,7 @@ int hppa_get_physical_address(CPUHPPAState *env, vaddr addr, int mmu_idx, if (ent == NULL || !ent->entry_valid) { phys = 0; prot = 0; - /* ??? Unconditionally report data tlb miss, - even if this is an instruction fetch. */ - ret = EXCP_DTLB_MISS; + ret = (type == PAGE_EXEC) ? EXCP_ITLB_MISS : EXCP_DTLB_MISS; goto egress; }