From patchwork Thu Jan 27 06:34:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 537089 Delivered-To: patch@linaro.org Received: by 2002:ac0:f7d2:0:0:0:0:0 with SMTP id i18csp5153456imr; Wed, 26 Jan 2022 22:37:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoznELm3rLCtzMVgUA7Rz5kzZnRwl5qMgRU+9Px5taOsu7axwuoOSgfD0thzWD35BVjO/H X-Received: by 2002:a25:247:: with SMTP id 68mr3857371ybc.366.1643265476262; Wed, 26 Jan 2022 22:37:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643265476; cv=none; d=google.com; s=arc-20160816; b=IPx7+s79m9YuMS3yHe2tQcGTZwcLPoBfFyIsLWwcjEMoPe6l0f8MSPr01ekn35q3DA 7SsyweyOPdaoBiD0jYRuzKI3HZM5KGtUhAZTyC6nCa3CYt+W2fd9bNXMcX3kcjbNbp0N pA64c9sMknLlOFkGqXfYfwd2EEw+N0UeR6P+hGkDuJ5pHjyZz2BYzt6DWLQtnHOFWkSb m+s6rj7GhyS/wEkE7o2acUP+EcRNDrBqOb+2lP8BZmDCM6/HwZ3l8WeYcD77/KtIS7EQ Fa/Kx2Gqwfp2G4ap3uaAde8mRMyLcym3xbCXVFLVQ/LLiQ+zBVEGlv8tg+tC6kwSoFJ7 xvvw== 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=Hu2laB6g4XBvKqqunaVLGtbR5tzEQ3k1nWJGv48o3aU=; b=WuP90YoyqhlCLW064fal6n1hECnq7aYvFRmJF3l32rQES/iGuVBCpN1/poTk6+kPNA pjuV1JaEHM1EavJO3HNm+msMyVwT7VXun0uq9hxQmGkomn3/EhT4Ep6jYucppz92TBXK z4NuUTl1y+NA5QusXlMP4hX1N+Ejfi3/9ATGnV+2TQ8MLuqEffwJYXcBizpuni5CUBE7 +yLm4TSO9KEuSscRNqHjQQC+I7Jc0lrIU0r3ZmhfNmb3OZtm2lwDd7SzfPeM4aexAaSs N5x7niaTyjH8Qw8F+RiBedGPf37ji9hRVrtTLBplFZSIn3F9RquTS0gNf+Q7Yb1X9J0A GWTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AvygJy2h; 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 191si7107411ybl.11.2022.01.26.22.37.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Jan 2022 22:37:56 -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=AvygJy2h; 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]:52710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCyPr-00044Y-GI for patch@linaro.org; Thu, 27 Jan 2022 01:37:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCyMf-00041d-TY for qemu-devel@nongnu.org; Thu, 27 Jan 2022 01:34:37 -0500 Received: from [2607:f8b0:4864:20::62b] (port=34342 helo=mail-pl1-x62b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCyMe-0005hH-6J for qemu-devel@nongnu.org; Thu, 27 Jan 2022 01:34:37 -0500 Received: by mail-pl1-x62b.google.com with SMTP id h14so1697059plf.1 for ; Wed, 26 Jan 2022 22:34:35 -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=Hu2laB6g4XBvKqqunaVLGtbR5tzEQ3k1nWJGv48o3aU=; b=AvygJy2hs4h51GTHPssOHaMyTwp9KJ2P05TeccH6ypOqH3Uxx8WT5quMN3iXbyxM3B Q7qURe4LurztQ87JOoB/t19iC+IbYAr3jiD6JrWikirstf+Yty8jm+CzVnQXoKbJFB/k c2PYn7xdGYtdS3xVLcMeoDuWnnlwN4ZmQPIEpJ17fCdo8aG+cxswL6vzWfYh8UCeRCod Iq5IsNCg4zOekhUELYpG/6sjm+Yq3phV09ulC7q67bMAG662AuPfmH7Hb7uC42e2ByfS QLct1acgSEFEuEKIbNo8h7xv87QiJhyW1pUox3n79tgW+GjobXF71QtRFtLqj7U1wNSp D7vQ== 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=Hu2laB6g4XBvKqqunaVLGtbR5tzEQ3k1nWJGv48o3aU=; b=DDkizWckb/bYfvRrXfRh89ts/dLM6ufC7+BkRGEKMR7uA/OumufoY8cpQ7K6nOij5j GTTjIkbJ9bQheQcZmuSD+n2KAx6NpBrNui/ifmBEQNPZg+JZOpGkUY7u4exe7rr+5N0b D4bUzs3LB7Dc3/ksRtMh1eNRPT4mcJCnsfUFzPycwYVVawAlBqctCmpcVVCG1/m99xnJ CXyx2tFXxeAv8zMIUBCiNnppFjGIi+oYZ5PjxkyDM/2/XipeFZgxju8MOWxsvNDyJoNr KCmguRrCjBbrrtAz9/WHqGgdXeV3gwZJzaQpLdjsfj9kkyCeiNR+yYYWAKwvXwKtaCBT g13w== X-Gm-Message-State: AOAM530PSP0WYWH1OERCAfVfcYOcpKz4aP+kGjmW09FaDX9vU/xqURBy xEsLqiSUgWgRCyOHP/hsqueeYzlBRSeZc1+y X-Received: by 2002:a17:902:da89:: with SMTP id j9mr2167375plx.66.1643265273934; Wed, 26 Jan 2022 22:34:33 -0800 (PST) Received: from localhost.localdomain (alanje.lnk.telstra.net. [120.151.179.201]) by smtp.gmail.com with ESMTPSA id y20sm4231855pfi.78.2022.01.26.22.34.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 22:34:33 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/4] target/arm: SVE fixes versus VHE Date: Thu, 27 Jan 2022 17:34:24 +1100 Message-Id: <20220127063428.30212-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::62b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62b.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: yuzenghui@huawei.com, peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Fix two problems described in https://lore.kernel.org/qemu-devel/6cdfd5de-2465-adca-73b3-9c66945cf18a@huawei.com/ with some other minor code cleanup. r~ Richard Henderson (4): target/arm: Fix sve_zcr_len_for_el for VHE mode running target/arm: Tidy sve_exception_el for CPACR_EL1 access target/arm: Fix {fp,sve}_exception_el for VHE mode running target/arm: Use CPTR_TFP with CPTR_EL3 in fp_exception_el target/arm/helper.c | 118 ++++++++++++++++++++++++++++++-------------- 1 file changed, 80 insertions(+), 38 deletions(-)