From patchwork Tue Jul 26 04:58:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 593441 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b811:0:0:0:0 with SMTP id fc17csp3240910mab; Mon, 25 Jul 2022 22:01:22 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tmKS2dT/wujgg+005xF5oHhYx5D2L4llHZHMIqVcxDDG3SLyHfc4+5sqe0VXlRMj3prcmq X-Received: by 2002:a05:620a:2807:b0:6a6:6ef1:fb9d with SMTP id f7-20020a05620a280700b006a66ef1fb9dmr11680291qkp.146.1658811682708; Mon, 25 Jul 2022 22:01:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658811682; cv=none; d=google.com; s=arc-20160816; b=Ocxwo/WbKdvnRXwzBHQVC5/5RhWaf/GTzoebODrs0nUtskGWWdarxOXOBn53GeUT3f waa62iuI7seANb43KOu/b0DQt+i7v5SA0EJ+/LBVQOT+AUtssXV/ZWTXIUgWiUoJE8Ne qtySHdzVfLdrxHIq4Jte8rLOWF9L3UOEZ9/XoxRIJ6V4/6BNEm1hdp+7UNzrS1NAsQdG bO6ZRNRcQ5WuvMdOvNrRuHeyh+aBJoiT4ffmWNr7frfwyPyRQEdy5C6tdPJOmJ74NI+y YRbFYfLnhz88yXoiP3CQDYxiuIuRdTpWGEQf5FFhyoclSAaI0UjwJBHiqAbwwpx6DdPw x6hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=OatbDfb8OZiVS/EC6Pruvn8YMZBaDKiiOdbOgCM6y6k=; b=Dr6WmxhTNmr5itrG0JzNCRe5ehz6/Fobxc3RfzyrHiDoxOp2UcWu59D/MPOZSKHFp1 Xp+lOoI8HYcQblAeIiSjpSTBDCwifazrLOmuS/GQF5wjFWu6JVdN/SBMA9hkzYb3uaRm IomlQjw1O1OeXIAaUR6kseBSM3oGax7MGkAEWn1MNmzgLj2U16+UMy8L9FjYbP03eWYL JFIoo4cziWiuTYcA631vVh91gacknCSOTewdqOBEKXjUtQJDjkNAT6iz+9wCcuwRLlfF M9rbCBAlcLR4AP9+fn+XYZ7rwcw7478hDsHkTJPMaNBneiQa3n6k0DX/opdCS6KzYvgL upUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HCdqrgch; 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=pass (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 r2-20020a0562140c4200b004745e02278dsi1431526qvj.397.2022.07.25.22.01.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jul 2022 22:01:22 -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=pass header.i=@linaro.org header.s=google header.b=HCdqrgch; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGCh8-0006IB-87 for patch@linaro.org; Tue, 26 Jul 2022 01:01:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGCeS-0006FQ-He for qemu-devel@nongnu.org; Tue, 26 Jul 2022 00:58:38 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:36582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGCeP-0002bH-0c for qemu-devel@nongnu.org; Tue, 26 Jul 2022 00:58:36 -0400 Received: by mail-pl1-x62c.google.com with SMTP id x1so10539128plb.3 for ; Mon, 25 Jul 2022 21:58:31 -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:mime-version :content-transfer-encoding; bh=OatbDfb8OZiVS/EC6Pruvn8YMZBaDKiiOdbOgCM6y6k=; b=HCdqrgchgUOd3g2pbUDnDpfs2ZYFMf904EaV2rlbbNF7OOHQXcBER/snqvf8ZB2mru e/vwpoVMRqp5uc0z/HPogTL3D2C8/Z8XE1Os8N61sc0egVjkZ0x7VNp9nCmGrfOUCUMC fcoKS0nqXF0ylCrnpHjN6cjTc3aBRZ7+kqtXixx2XLHNXW+2+UqTd3qOmJvoL6WcJVmR HPnBxnyipp/VRtvqeGsUF8xjCtwl5p6FWLLyvfhlx8es3N/qEB332HhWMEqnSypC10JZ ySt65aeWkK/MPhtqRyQeXhY4PeA7Qxfnm63EuTSEmtg9YoPxMuijbwFeYEMg+2Ypo569 tWHA== 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=OatbDfb8OZiVS/EC6Pruvn8YMZBaDKiiOdbOgCM6y6k=; b=Kx78KM1A7Fg3D2bj47aiF4buHtG1bYpD8OPZ1bU/zy1gYoPHQdYE7g1tErxXrCM80o 7jTx63AYItC9l3sUFgNCveAD/160CUWQQP6ZVQAoJr9Najs66g9JWvfy3omXeywa4tyd Q7uoNbl83UqQKYoxf+kbhyKTDg1OLVuT9OBC1w4zk2pOY8Dyms/4UQ0M2jpTI1s/4vTS ibWQ9VmxXnqJkyQgcRZ8vEgkbt2d4YcZR30Ep/cMevol+RHXpj2Zh8fAt++3V++ko+sx 9jyGvIU9KmqnoUZRHC2MeBWp/yT+o+NXacZjIhFbLzxlt4YCO5r3L3+Erci2fYoP5R5j dpJw== X-Gm-Message-State: AJIora/0GEDuKUL0z41ns2c7NvzECbsFBF/7cRIG6T+yam8C1fguLZxj f/VMu+50oAc1pAM9Ybh4+WJeJMcBgvMWag== X-Received: by 2002:a17:90a:2f25:b0:1f2:2bbd:f1c0 with SMTP id s34-20020a17090a2f2500b001f22bbdf1c0mr17684430pjd.71.1658811510543; Mon, 25 Jul 2022 21:58:30 -0700 (PDT) Received: from stoup.. ([2602:ae:1549:801:673b:b40:a955:bc1b]) by smtp.gmail.com with ESMTPSA id o19-20020aa79793000000b00525343b5047sm10550460pfp.76.2022.07.25.21.58.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 21:58:29 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: yuzenghui@huawei.com, qemu-arm@nongnu.org Subject: [PATCH v2 0/3] target/arm: Fix kvm probe of ID_AA64ZFR0 Date: Mon, 25 Jul 2022 21:58:25 -0700 Message-Id: <20220726045828.53697-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Our probing of this SVE register was done within an incorrect vCPU environment, so that the id register was always RAZ. Changes for v2: * Include the commit text I forgot. * Fix svm thinko. r~ Richard Henderson (3): target/arm: Use kvm_arm_sve_supported in kvm_arm_get_host_cpu_features target/arm: Set KVM_ARM_VCPU_SVE while probing the host target/arm: Move sve probe inside kvm >= 4.15 branch target/arm/kvm64.c | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-)