From patchwork Fri Oct 19 01:56:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 149203 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp2714179lji; Thu, 18 Oct 2018 18:58:53 -0700 (PDT) X-Google-Smtp-Source: ACcGV61kUgUDENRrr5H602H7s4XoEsCuTR9N+M2xaH5STu90uAFlhQ18rEOWQsx+nt/WRCxl7b42 X-Received: by 2002:a37:a3cd:: with SMTP id m196-v6mr4353661qke.138.1539914333622; Thu, 18 Oct 2018 18:58:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539914333; cv=none; d=google.com; s=arc-20160816; b=MBy4M2nPF9xkMKwc/tGX4GxDJQyjC9aNifC6mVbBIoP/t+EV4I/N0KznpKlDSXetu5 970ULi/UjACFzVHU4DGDZZAJDyr35k4war6PF2Alc0Xm2fepcYe/xheGwHb14Akpvsvd IS8UHpRNsVE0toi+nd8KTB9T5EttYS//GrtgE+AeagkAEMPfhzerFgCWVgGZyNtCv4dq ojj7cUF2mnrcmd6xcf+82zcPtiRE6K6WwdR5dmxLhl4wPmagakf40vSvcM7z4B7ObD7H 9NtHrgvElcCmO7WO5vSst9dPeOwdoR9C/Ql3nthGxlOWndl5ncmrR1xL1eKMZiZgJhxb J6tg== 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=2rYUpwFMdqLRhJkf9zenkRS6T7M+r4Z28gefTS144y4=; b=EkI0pwEQ7kI6zhxJYFmEMzqa2Sy0S1VBTm38ct77F8zt7KURgHd6McSmjpB0SGnd4c MZpUYK2hLD4LjJD5fkDbqDjqSMc0Lnu9RcGGuRyGvaGEpvJM2n/dlN1to+W6UhqmHKoN xAt2ZfjVt9cyuooG2/Nm6+kiCEgavchuXRzoAcrqQ1G13mysPZk61HwOgAQObTKjl4+V GydOb6rQ0UdYIKZMWo+kmIGh0PakbAAjIXhOY+EqkFYGpcyfYDvn0e27FdJj+AyaZygD o+HdZn2x08EZUy4RAakf5Ju6PgB/QS4i2Q6pfjObPgZL1Vt+NyTQVdQ7YZJAv4RJ4JFq 9JIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=FA7rgWfJ; 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 p14-v6si2142542qtj.126.2018.10.18.18.58.53 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 18 Oct 2018 18:58:53 -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=FA7rgWfJ; 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]:46262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDK3x-0000Yz-44 for patch@linaro.org; Thu, 18 Oct 2018 21:58:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDK1m-0006Uv-Ji for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:56:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDK1i-0003wE-Gn for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:56:38 -0400 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]:40372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gDK1i-0003kU-4R for qemu-devel@nongnu.org; Thu, 18 Oct 2018 21:56:34 -0400 Received: by mail-pg1-x541.google.com with SMTP id n31-v6so15052474pgm.7 for ; Thu, 18 Oct 2018 18:56:22 -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=2rYUpwFMdqLRhJkf9zenkRS6T7M+r4Z28gefTS144y4=; b=FA7rgWfJWMV9lrY8pcOU1tPFjd00znnfF8V+Miz5D4u9zAWjYby6BuRshoRmXXG4O/ q4UyofYNJcxC9nIfqXLmQK/P/M2jb2n1rlmLNLAVmplCkNZBdEFfEp/n9LqwKn68SUxr QRGCW9B7O0X33vYYeuJw2JHg7DicfQwk/aEHQ= 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=2rYUpwFMdqLRhJkf9zenkRS6T7M+r4Z28gefTS144y4=; b=BzHuRZdc1PwCvM6GciCpvi8wLd918hUh0hFNbC7drpwIiCJHbXvXWAiYj7wAhkTG03 CCRW9Y9XufpbJXOnmOsscPtcSsIdYVkQNEVrICLYE7e4g5YSsKjITQDARCNkr8q+kDkA a8LcnNVkT5EX4Ct2iEhwsDV5VS28pzank71RpmGkhG++SO1t3yp4oQpjs0tJJtxQg8f2 oVzn2RMQZt58RPN5yUamG9Eoky8OKnryMHAZ3dOnlM6weNhy6XutiC3W9VtSc1g1mhoh LYZBjl5I2iJ2/NEREBlZ5h4tx/OrJRTjM1W5nv06iSz1I2a/0ZqBcIJtrdJ8+kITOk5g xvzg== X-Gm-Message-State: ABuFfoh9NvTYOwJYEmlc5esjuLPKEZBBYkdd5WPjvn1FDBrCMMz7I6ZR uTqvwRvshxU9T33sQNFjOEXCJYSlv6c= X-Received: by 2002:a63:f050:: with SMTP id s16-v6mr30761350pgj.403.1539914181558; Thu, 18 Oct 2018 18:56:21 -0700 (PDT) Received: from cloudburst.twiddle.net (174-21-9-133.tukw.qwest.net. [174.21.9.133]) by smtp.gmail.com with ESMTPSA id p62-v6sm33170892pfp.111.2018.10.18.18.56.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Oct 2018 18:56:20 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 18 Oct 2018 18:56:15 -0700 Message-Id: <20181019015617.22583-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181019015617.22583-1-richard.henderson@linaro.org> References: <20181019015617.22583-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::541 Subject: [Qemu-devel] [PATCH v2 1/3] target/arm: Remove writefn from TTBR0_EL3 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The EL3 version of this register does not include an ASID, and so the tlb_flush performed by vmsa_ttbr_write is not needed. Reviewed-by: Aaron Lindsay Signed-off-by: Richard Henderson --- target/arm/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.2 Reviewed-by: Peter Maydell diff --git a/target/arm/helper.c b/target/arm/helper.c index e3946562aa..24bbde4f76 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -4214,7 +4214,7 @@ static const ARMCPRegInfo el3_cp_reginfo[] = { .fieldoffset = offsetof(CPUARMState, cp15.mvbar) }, { .name = "TTBR0_EL3", .state = ARM_CP_STATE_AA64, .opc0 = 3, .opc1 = 6, .crn = 2, .crm = 0, .opc2 = 0, - .access = PL3_RW, .writefn = vmsa_ttbr_write, .resetvalue = 0, + .access = PL3_RW, .resetvalue = 0, .fieldoffset = offsetof(CPUARMState, cp15.ttbr0_el[3]) }, { .name = "TCR_EL3", .state = ARM_CP_STATE_AA64, .opc0 = 3, .opc1 = 6, .crn = 2, .crm = 0, .opc2 = 2,