From patchwork Fri Mar 4 20:02:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 548127 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6713:0:0:0:0 with SMTP id u19csp348604mag; Fri, 4 Mar 2022 12:04:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzWIbx/b5HUMCPuhkOcwDhwycTdgVz5fQtYS7I+t7+9ih6N39HOVNGknxSJcNkSRL5QT2d X-Received: by 2002:a81:7e05:0:b0:2db:d348:b11 with SMTP id o5-20020a817e05000000b002dbd3480b11mr255131ywn.114.1646424280943; Fri, 04 Mar 2022 12:04:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646424280; cv=none; d=google.com; s=arc-20160816; b=eb3kCCIgtgH7FKhle45a0kVXK74KZmlLnnXekXkDYtVEFmZQbVaG7+MxDZYdtyVt+O BVnKoxC9vylEReo7mNZ0yPa2w92uNlYTsnx7rRggm7UT1K/T8H+f8E3vL9RrtkCrJSbG +pK4rYlcFzG0N4igpk16D/kFq9TTz9YGQ5uSn2tLY1fSrKerCNNR2c3WYMZFobnKeqY0 fP5ZO1ebBhsMRke8VhnzwbFeGKwsFUF7seDrlMZOIDfudcaGNBp/bzGk7Ggh/rOUE1p7 av/lkJ8AU5g/drOYvdcNpZGRh872aEL3/LgzoeMxZ9RcomfFi8Il15+/vkf/QxNae5H8 HZqw== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=bTAP5xZoQxIprVGUmg7/sxvkZvnIeiZcIATuPHt9JCQ=; b=zpSC6eUH0r0wla/4BrHqUH7ilstsFeXcn5GO+BplvMBNcClEYsMRDxQlYryA+Yh+gi Hnsqomksm+CQEaxx7bUuv9zjSrWb2MZuN2khA1tEIQ9HvNWvX/66j4eEB+i8VhnH/RBY NAvJrW9ELmNuLerBxtQQ8WK8zhwrVNQx03mtiAVgyhePTopygTmlJWrdinB5XgalZlf0 sdKs+Qe4cznyhxmBuelDs7nDo5NUkAMrMfMqbFyvW9dQ+LnryMM6Ml6Li2LIRNXWb6AH 4Tap7atws5lSYOqtQysZG5Qp4OCS2vbodiRqM43isHhx/plZtPwdW6nAQ9rDlWf0SWiv qjow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YR6eyxuO; 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 e64-20020a253743000000b00628a88dac76si4836074yba.661.2022.03.04.12.04.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Mar 2022 12:04:40 -0800 (PST) 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=YR6eyxuO; 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]:41416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQEAK-0004zE-6d for patch@linaro.org; Fri, 04 Mar 2022 15:04:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQE8o-0004vm-PD for qemu-devel@nongnu.org; Fri, 04 Mar 2022 15:03:06 -0500 Received: from [2607:f8b0:4864:20::535] (port=33533 helo=mail-pg1-x535.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQE8n-0005xk-6D for qemu-devel@nongnu.org; Fri, 04 Mar 2022 15:03:06 -0500 Received: by mail-pg1-x535.google.com with SMTP id 6so3848916pgg.0 for ; Fri, 04 Mar 2022 12:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bTAP5xZoQxIprVGUmg7/sxvkZvnIeiZcIATuPHt9JCQ=; b=YR6eyxuOOnbyt0GbYrRNEHn771HNl0Z21HTbptG/RtYkjxtv4v9Dmfx+c/WBHHAaqM iu2reHBzT2In4n1RTKA7R4cSd1nLKL71qrwREoE3px3/5ycQKGuQ9qLLcw9tZDh02Rry kdbZfKWTmr8L6aSAztqWoN3zXvIYX9GFuBIvLUr3bLDSBHbW8MIUEvMPF+Yo7jzWd2Pa z2bDE5uLVv8hapwQ/s+1kqFgFs9B9sv+dy6WpPI9qGSnO8P1S6gCUnAQWAMbim08Vz5F x6f5TzO782A7yA0Imi7NQyIDS2Xzv631HkAxXnzEsTQca4vnAsDTw9d0j1joqoCjgawo 1XfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bTAP5xZoQxIprVGUmg7/sxvkZvnIeiZcIATuPHt9JCQ=; b=LkBKC3LJg7qL/zNBa728s3mPX9u6iOV6ae9GE+d7d4lrPQu+iz1ms8xWx2jlYlQI/+ Ha45xQeOCWyPuykntGJFJLcb8wdn9BH7dIAWFqeFGuVMPlgSZ0mMiBFlnb5igE+HBlFE GWCCNc4zS0LTZ7Mx5EdUl/ataP0+eWyXnQiHASbxVzY1z19+MZK9wPSSFQv6W/SChMr1 BalyydHaVC/z8AklhgqV3ButIGb9QFBokhrB7PAIQFitfPBmWYscQauZuSElZvnJj34C cvR1VnzsL79pPV0j0OlO49+mXrsvqW6/ObS8+NxqgYHoj2t0eIlzek469SO3zxlu9gh3 ekyA== X-Gm-Message-State: AOAM532K1ZmAX2nsCh1C6Eb0E2k6NWT3HTdd6GF1I1GLIVrEeH/xf+NU rC6KyRvCOFITbejbgT8q9sh2TZAXoUZWTA== X-Received: by 2002:a05:6a02:106:b0:36c:96dd:8c17 with SMTP id bg6-20020a056a02010600b0036c96dd8c17mr87422pgb.190.1646424183663; Fri, 04 Mar 2022 12:03:03 -0800 (PST) Received: from localhost.localdomain (2603-800c-1201-c600-f24b-57b2-da7c-e304.res6.spectrum.com. [2603:800c:1201:c600:f24b:57b2:da7c:e304]) by smtp.gmail.com with ESMTPSA id hk2-20020a17090b224200b001bf0a7d9da3sm5716744pjb.9.2022.03.04.12.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:03:03 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v5 0/2] target/arm: Enable LPA2 Date: Fri, 4 Mar 2022 10:02:59 -1000 Message-Id: <20220304200301.524525-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::535 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x535.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Changes for v5: * Most of the patch set has been merged. * Use hw_compat_6_2 for disabling lpa2. r~ Richard Henderson (2): target/arm: Provide cpu property for controling FEAT_LPA2 hw/core: Disable LPA2 for -machine virt-6.2 target/arm/cpu.h | 5 ++++- hw/core/machine.c | 4 +++- target/arm/cpu.c | 6 ++++++ target/arm/cpu64.c | 24 ++++++++++++++++++++++++ tests/avocado/boot_linux.py | 2 ++ 5 files changed, 39 insertions(+), 2 deletions(-)