From patchwork Mon Jul 25 18:14:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 593286 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b811:0:0:0:0 with SMTP id fc17csp2895782mab; Mon, 25 Jul 2022 11:17:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tQwATZajIEye5i1HHrfZdy60wzEVWq9fxjquxQkJ6V5M0mooVEYnJnWDllDMpOmQ4N2hLs X-Received: by 2002:ad4:5b8b:0:b0:474:248d:2c6f with SMTP id 11-20020ad45b8b000000b00474248d2c6fmr11885984qvp.34.1658773027441; Mon, 25 Jul 2022 11:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658773027; cv=none; d=google.com; s=arc-20160816; b=KpBBUmmpBeMGxmTC3aOIm84QLoNABEus4Wf51RAJcMQUtbkbpmorIkMt5UswQ0+J2R M7PlBpbNBF+1W9oYhN8CvaqjQC7YmqZrGGTlU/8skKQ3NNtYhkQTt2ZOFyO2lsZb02/j VQYlX6EWLY45aR8mtuBw15Nf3Tszwnp8UgSsipl9VM5FOtymvLY1vR16P3OOB1x51lqM q4+zR4KfVzBjyixnmn4LhFW4ArDAnz8pAG7SA00+sXin9o7fKpK79UqPUoyXx3jbA9VC Iv5lUYhTEC/i+phxzqru/618OVAVPGTxD34rhsIV3w6uRzWcaCdlbpZID+aUjxx/mmrC zf9g== 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=ViJBlpwDyPMMbahD+o1p+IIPNsSREaHwlObWQOXKMwY=; b=yZVoc5sAHjjMWX8IH/uoGxRqIlaD1OO+ymATyjRQdkREjmUyu19lIFmEu5txgWC7Cs Fh3FT5TpGGXLak5aK/cb8S31mosaXTMRwEHdH1nlnPQkVFXFSVX8yYZx8z5SQ9hlQ7kX iXt2PSjcAdBZqAzUM9qXVC9mt+fwW+jeIelNHAVs2el0bmaVVs/crA1ttiNUFKdiqiJM K3bRKMcd+Kp/bhkIqRdY6vAYltOo3X63XCyT9TaCbO7X5vyLdhiKlD0Kr6+RTTe/Brky jsZAWeoErNQGTm2MauJ87ceDkMJ7HCLIO1m2Zhl6DG3SOUDCk4Ne2BWHacsQQsEsY7MW MyIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IewS8qWs; 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 x30-20020ac8701e000000b002f364655293si7740980qtm.697.2022.07.25.11.17.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jul 2022 11:17:07 -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=IewS8qWs; 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]:52104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oG2de-0004nx-U1 for patch@linaro.org; Mon, 25 Jul 2022 14:17:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oG2bm-0004md-OO for qemu-devel@nongnu.org; Mon, 25 Jul 2022 14:15:14 -0400 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:45652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oG2bk-0005pl-Rd for qemu-devel@nongnu.org; Mon, 25 Jul 2022 14:15:10 -0400 Received: by mail-pl1-x62d.google.com with SMTP id w7so11122057ply.12 for ; Mon, 25 Jul 2022 11:15:06 -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=ViJBlpwDyPMMbahD+o1p+IIPNsSREaHwlObWQOXKMwY=; b=IewS8qWsSk2wEK0DAhao5gNI8wth6xFFF0W2Qu5r/ZA8yP8Kah0uDXsdS+ZPORJADi BcCOUAbW9/gpDK7yOgQA1B78tWkprN1pskSTdHNPyYdF0FTzBv3fZVRFH3wnvzrypUsb SwJpIa2yUfUcgWqeAigG871Ojxk25RBNknmTFMgBZIeIcQtKx6iG5Sngpk77bNTBiqri xh05yQqy4a7kSkn0kASJLiBv1J/ie9eV7M+YvqPJ202PKOsKJINGE0D200wZvuzEyyN2 n2L57QL1ZMQx5da7BU06vIM23Xrgtbg6/hRmAV+NoywqfZ1d5BPDvd/sGXSYRN4i3/XP 21kw== 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=ViJBlpwDyPMMbahD+o1p+IIPNsSREaHwlObWQOXKMwY=; b=BteouSgtGGhcXf5W3S7LNOWslix2MGetSH24wdk/WFYvyEFpLK5SR4yGwFV5/KqE9n 8GUe9K2VF4AkCl5dvv6M+a3NZ4Vyua7gbp3m6+W0xpa2qJcUXIiCIY0bTgeLQUPV7ni/ DkHXVVe4YP+HFnJ0+k8XHmuIny0JxCkui4guK+2zo6iQGjX3ii1LbZqtna4Qfj/G1qSL yVZ07flRAF7boq2HMHNYVNF2gkEwZ/PTlfoWxlsT2N//sobAk7nwDG2MHDEADKzLFIPs ycVE7xpKUmhbmE4Dbh2ZsBdhnvjDtWbWqB5nT1B4w8liYB9hBUdWfvZmJKZBqHvGPEg5 Itgg== X-Gm-Message-State: AJIora/xOwKWgEjHnmujiBJgc6sRjQUd+SGi7ji2LywqLFJI2JwNcMr9 oG777YFNkmB8aLkOqq7mNJxuYriDl6MKQA== X-Received: by 2002:a17:902:9005:b0:16d:296b:6272 with SMTP id a5-20020a170902900500b0016d296b6272mr13341562plp.144.1658772905687; Mon, 25 Jul 2022 11:15:05 -0700 (PDT) Received: from stoup.. ([2602:ae:1549:801:30c1:2484:a853:233d]) by smtp.gmail.com with ESMTPSA id bg5-20020a1709028e8500b0016d8d277c02sm1125004plb.25.2022.07.25.11.15.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jul 2022 11:15:04 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: yuzenghui@huawei.com, qemu-arm@nongnu.org Subject: [PATCH 0/3] target/arm: Fix kvm probe of ID_AA64ZFR0 Date: Mon, 25 Jul 2022 11:14:54 -0700 Message-Id: <20220725181457.41083-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::62d; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62d.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. r~ Richard Henderson (3): target/arm: Create kvm_arm_svm_supported 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 | 50 +++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 23 deletions(-)