From patchwork Sat Aug 3 18:47:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 170495 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp2346412ile; Sat, 3 Aug 2019 11:57:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmTtfWtvaLHId88au3FGJh2MxF/4dl9d1S/KZN54Diw+W5tqSAuk9dPceDbews+nNFbflJ X-Received: by 2002:aa7:ca45:: with SMTP id j5mr124680429edt.217.1564858668176; Sat, 03 Aug 2019 11:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564858668; cv=none; d=google.com; s=arc-20160816; b=vSrIRZnaLaJHN1W6QfCIeFRXDF/P91wXW8YzthDwPnJsOh539cM5B6DaeahGSo9mfE kGXFk6RvVkMI7F2X3brQXTfgzTUahPVGs3yVQygQoLBd8fYjdzaScIITPPmwiCIopqDL Oj+xyCXs369K0yoZv0z92zMS0AqSZDVCWr0iGLtC6m27x/bkHEdutGSjI/xyqOitHjRx gkgnkb/4koW8OLcVa/NiwcJL5VC5born+pYQRUKhy9p9p9RqeXrXsn7viUDYCrJOmZfp K3YI8UoY8EToju96IOpfAiC9cpqgBN+z5kG4C5bscUI/SWrbZ/9kQywH3PF993cnw/8P S2hQ== 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=x75zfy++4h7G7+9uJPGHwt0vV9wve8SgXFTPLCjlkks=; b=lHCg86QDErxf1mOUuX9/yi8pUEcd6VVp2NkeMyHnDOvPqvQwkjMtfnmwZoR3pnD4s+ rN1vLgsvaOsNCPxp0KGJHiAUBqlCKFNT6ethBu3FyetPcHoMiX706OU/XNtRsPG8D4Ka YWpGQzkDg40RSFDaqdmGtt5i8h7J5iICtwiTZdjZKQX4rbsFFfpIf2LJLkmwNa90HGBA iHrHLUKGWEMqEdlELNtXeT1mDHqgeJ1uZDb4/2nE6G7VqkPerI5/GX3meOkqc/mx86u6 xp1UPT1QvGlkOzieEb+kP1NUW+zgUXJ/39zIwALyCiFWD4GfV5L0X9q6dGJQUkOmGGRF 7BYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=vSbLBug1; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a14si23444886ejr.135.2019.08.03.11.57.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Aug 2019 11:57:48 -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=vSbLBug1; 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 ([::1]:41532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htzDv-0001xZ-5u for patch@linaro.org; Sat, 03 Aug 2019 14:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32999) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htz5D-0006vd-HJ for qemu-devel@nongnu.org; Sat, 03 Aug 2019 14:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htz5B-0007Rd-F7 for qemu-devel@nongnu.org; Sat, 03 Aug 2019 14:48:46 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:45759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htz59-0007PK-J8 for qemu-devel@nongnu.org; Sat, 03 Aug 2019 14:48:43 -0400 Received: by mail-pg1-x52d.google.com with SMTP id o13so37653279pgp.12 for ; Sat, 03 Aug 2019 11:48:39 -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=x75zfy++4h7G7+9uJPGHwt0vV9wve8SgXFTPLCjlkks=; b=vSbLBug1LuIdmY3e05odA6DONIHNQKBNmeojBFBcQFRAAln5HmcZSfiO3bZML0gPB5 o8uOagH6fGlOmk8pB3PnoKl7zwdN7KJ1daKWWnv7qLvZ2hpKzvFkKkhywpFiGYe4Pgc4 H+7HCtNZ41yARIYpZ3zOhQ040U7hPn1sQ7zwAplnf+MjdUdL6jt5VYhNGQuY9GE4yg+0 3EQg3ZZYJOKjWUJrtrzD2X3w9kldGktifhfDyKwll+jqOD8QSgGsBIkTATiSDCtG9URd S4Hg6G47XIilxW10LxvEJvPMtcjlVL8kqZebme30vgQxacppg4ev4lKoDVYHeGPAXsSt hrAA== 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=x75zfy++4h7G7+9uJPGHwt0vV9wve8SgXFTPLCjlkks=; b=TCnPg9Zx1tmu1qb11hIXkDCGjDc2PEjE2VrJf6cxhijJ3X3hZIBUEkiKZQrdWeSftI eP1vW8x7mEsn+iSQzbH9A3OG+p/X8Lna+4u6U0wGgw0eUR8yfYAzzeiGbVsZL2DbDfsn x7oXizLsyAU1AdBYsvxQSbZ376GBJHLAaUwcpaa5/ILiqRLYVTH7t86IR/GAg+mjIBGV x/YwxuG2vGrkoG7Wsr6DJygVEPL9q/2eGgPkKwoCycDdmmjcdQBGc6BO3uJ5/tcWCuoI OyKqTWh0S68emQosiAKvX+oGiiZE8OQvOWtmubIk2p2/TPpH7qebWuZc0kq0JhxqenRb Xoxg== X-Gm-Message-State: APjAAAXvivdFjVSaaubgfrmRSGSEuS9o5JlAdndu94mfcTYa18kmAqS/ 2P1MgONNOYAaOcIPHJGnGz9mPqQ+xRc= X-Received: by 2002:a17:90a:24ac:: with SMTP id i41mr10331984pje.124.1564858118408; Sat, 03 Aug 2019 11:48:38 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id q69sm15405454pjb.0.2019.08.03.11.48.37 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 03 Aug 2019 11:48:37 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 3 Aug 2019 11:47:56 -0700 Message-Id: <20190803184800.8221-31-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190803184800.8221-1-richard.henderson@linaro.org> References: <20190803184800.8221-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::52d Subject: [Qemu-devel] [PATCH v3 30/34] target/arm: Update regime_is_user for EL2&0 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/arm/helper.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/target/arm/helper.c b/target/arm/helper.c index a0969b78bf..d481716b97 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -8936,6 +8936,7 @@ static inline bool regime_is_user(CPUARMState *env, ARMMMUIdx mmu_idx) { switch (mmu_idx) { case ARMMMUIdx_SE0: + case ARMMMUIdx_EL20_0: case ARMMMUIdx_Stage1_E0: case ARMMMUIdx_MUser: case ARMMMUIdx_MSUser: