From patchwork Wed Jul 14 18:06:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 476820 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp807711jao; Wed, 14 Jul 2021 11:07:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsczADyO7lirTQKxhszWArdq1fJyVxy6Gw+wQWFOHKllL0ohe/0dhyGP8B/tb2IWE/xqHW X-Received: by 2002:a05:651c:1a7:: with SMTP id c7mr10452818ljn.504.1626286022806; Wed, 14 Jul 2021 11:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626286022; cv=none; d=google.com; s=arc-20160816; b=FCcVuAQea8U5zbAEo95F7nPibjYYzNTBBBCsv+e33+sMaEw5lntSM66wIE2SeynZ1u Qr9dNoh0xVjsNwitlpygTKTZE4zlpuKTCxi+wLrJbAyK4YqTS3mcHBQsIpIcHQ/y/sbH Y31YGnzkuN3CuMgoq3jqSX0ofMdmm8a3mqDqDLEQr5QHXy56UaIyq8I4oqpPhvDD/vrp 7H2cyGjFlh4PirXHq7Zk+4hrArssqJTngrXMYhZqr6FsD1/Kf3fY3DrvTE5q3ei0RcUH h8sxQ4OnqT/X5rOW1zSj24FNNRyGfVtjiqd/p/0CXqU2hdFTn1rjCXNK+kAj1dSWsNUJ 4vsA== 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=bzaCw8BacxbHAgfGBgQdDuTCkpneT9gerIOcpkTFKhI=; b=N8nNi3j3NOK/H0z0HsUlvxZzqt0t0bps6zlpOBSIAskqtD++H2//1WeHi64gmz6LHl I7cE39WXihdc46j3kkpessqS6lGdG0Dbo7pHukvtVJ9pcv+gFSpG3ihIGDL4dwo9VXGG wsyrM77zR1zCaW9wrGpw583/U1G8I3fhF/k1tnY1FjwkfG2m7z/6vG3sJNqcJJGqoXux CHFMyq37wb2FY+91E+RETf9Z835q6nGRFQ0kiylg2Fyq80uphXBaiUlL6SfcU3UsKlAD HgDpyk5lhlBFZTBzVwMy3DX2uWAqEwCa/hlldqMx0rV4CzQMAefiawOarBgxYvzoZs6W CAvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tforjIU8; 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 o20si4988270lfu.214.2021.07.14.11.07.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Jul 2021 11:07:02 -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=tforjIU8; 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]:57124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3jHh-0002vd-My for patch@linaro.org; Wed, 14 Jul 2021 14:07:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3jHM-0002u2-4h for qemu-devel@nongnu.org; Wed, 14 Jul 2021 14:06:40 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]:42827) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3jHK-0000q2-KO for qemu-devel@nongnu.org; Wed, 14 Jul 2021 14:06:39 -0400 Received: by mail-pj1-x102a.google.com with SMTP id i16-20020a17090acf90b02901736d9d2218so2261677pju.1 for ; Wed, 14 Jul 2021 11:06:38 -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=bzaCw8BacxbHAgfGBgQdDuTCkpneT9gerIOcpkTFKhI=; b=tforjIU8fJ6G/GpNWybRmlEPQqc5DL40YTL+B9yTBmTkUaY6AXsd6GG3NLDIcRnWKN ox682PyZcc5fuj+hCECdPBDwv0+1pWtQmxgEJnsJ7b7L8rt/uo1llRx+KUrrg4rJZ/Ws AY6pKLr0g5YitRB7JIeA03j93V5CwhojiLsbZRUMxObcznpnr5IGfuOS5ebEqyHfzz4K 1oN2kqmg0mjcaOucLynU9vrixYEVsanWi9TsjTwR/HdyjfdciYWCR0gxMCGYCjlBSWwP L3D6RO+Br06S7Dk0S1vUPATsQeHlsrE3QYhA963Zozd6+6AdzNwY5TaGEp+xY8xR6jW7 vAwg== 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:mime-version :content-transfer-encoding; bh=bzaCw8BacxbHAgfGBgQdDuTCkpneT9gerIOcpkTFKhI=; b=X6Cyq8qdzm7RobVYTABOV/Eby8PzNLwrAo7A5uMr9UIp72GSQdYYdjfFSL9zX/pNmf x5l1K6F0xtMOpls0vvTAfFq9OgU8dfAfRFFpcsqlzkjJ5V+2utYQcz3z/PeK4So5Zq4Z 0SRZ6ugKxSPr1I5rT4BABxmWU87Kroq2rBaqgSHRATXYEZca+ihd0shvzXSPM+Xas3+6 fOyCInvBZQw9n44ELoOq1HfXkFr66JUrzljm2Q7VznkZF1onrCttlfn+4TyZORQT9J26 Z1wWulJUZNs2ImmGgxjRrKztFmTi9C/yypXAxPoIls76Z9G+SKpQKbwIa/mBUCu77JFS cGgg== X-Gm-Message-State: AOAM531QTVTlN4iGIcVZ1gFwKRXmMNVFzOHdGXpLChLXKjstb8FOLcka ffWOdPbUSFJI4I0zdLA1R3/RM19SDH62Zw== X-Received: by 2002:a17:90a:d18d:: with SMTP id fu13mr4822874pjb.206.1626285996902; Wed, 14 Jul 2021 11:06:36 -0700 (PDT) Received: from localhost.localdomain ([75.147.178.105]) by smtp.gmail.com with ESMTPSA id d1sm2853521pju.16.2021.07.14.11.06.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 11:06:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 0/2] target/arm: Add sve-default-vector-length cpu property Date: Wed, 14 Jul 2021 11:06:33 -0700 Message-Id: <20210714180635.1648966-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102a.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 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is intended to resolve #482. I'm not sure where to document this. The convenient place would be in docs/system/arm/cpu-features.rst, where all of the rest of the sve documentation lives. But that's explicitly system-only, and this new properly is explicitly user-only. Suggestions? r~ Richard Henderson (2): target/arm: Export aarch64_sve_zcr_get_valid_len target/arm: Add sve-default-vector-length cpu property target/arm/cpu.h | 7 ++++++ target/arm/cpu.c | 14 ++++++++++-- target/arm/cpu64.c | 53 +++++++++++++++++++++++++++++++++++++++++++++ target/arm/helper.c | 8 ++++--- 4 files changed, 77 insertions(+), 5 deletions(-) -- 2.25.1