From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97037C433EF for ; Tue, 8 Feb 2022 00:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=34PrtcbVQGYcevsYm+Sn9xPN3hAbG0cyU6jVU2uas8M=; b=TGTtmzp7ubwYmJU63UY1fw44Ii hXbGC/o/84iJXfOeTNSmvDW4jgQvGb2I7laCo3dD+JnHWWLONL+mdpeyddSkzNv43+/FjnAdG4w+C ETy2UWaxfudf1BJOUwxYq1j4MBxcr2SznJJd7sDLi9UpRWDoJeoAiGv73keYRMT8vbG3gF5dDAiwb yJPsTzmBmUh4ruEyUDGrqiqcXEa8BlYhG5xy/xygarct0sdGXxvbFJfH/A2poUI/fPxuMpGO0A/lS G8Ii9X4jz1/OIB4QNOJv83JTc+32133rVMLUz7NeBsTjsBvC7IZ/u/o6ZO0SAB1QzQAyvVyIBBwJ/ jf5mUOTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHE5h-00C28e-33; Tue, 08 Feb 2022 00:10:41 +0000 Received: from mail-io1-xd32.google.com ([2607:f8b0:4864:20::d32]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHE5d-00C287-LS for linux-arm-kernel@lists.infradead.org; Tue, 08 Feb 2022 00:10:39 +0000 Received: by mail-io1-xd32.google.com with SMTP id n17so19132178iod.4 for ; Mon, 07 Feb 2022 16:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=SrBqlkGqEVLCuNbr1CjFlCILvwaRUMqCDPVo0Ntr/o0=; b=M8Pw3UzPapDdWi2l1ctXXBMaMWbnfhNRRe8y/IVeu6nwyHObA4srpBSdptXAYPntEJ fr2XvaAgjjHmiUBdVR7Qn+T+t4y+/CdVH3jf+W1l9jo48cqHi+jRiWRJYv0OntDu5W0r myAW1P8pWHobosSqZtMLqjhIL05ytrF0BnjCY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SrBqlkGqEVLCuNbr1CjFlCILvwaRUMqCDPVo0Ntr/o0=; b=tC13wy7j/hWdDh10nMJJjq8m+1Tp5EhtRMxmSP+ZMts5acde1BFpTfSDHfWwvoRB3/ EI1ixRx5w/N8sqJuLkhz0C/r1uel+lGNvCX76q84CyQdyrgf4exm/LRgt0KJSLn9eSKd 75tVmiBvnd1F0QySr+lw8NrRwkgg2fAO/veenMtsgDRgVHWR5URMFoiKeN1MgC0xaSSt JbaBRGy3EQVJqfoHOCPzZS4nkSFxFTkvIk4evxMU+x5DpcmXyRryO9KjZyf5B2PaxN+l 0DI6sIvFLSfhM/Gy9Whb8vK9Y7/AZqabmwYPnw/krLjCoaNGA6QnDLTKvISqGQAn9xpn Si/g== X-Gm-Message-State: AOAM530w5QCRtvapZOgzwsnH4+t+uBAJLcqJrr2wGQT1TL+fghJVobEG JsGiWsGDFdF0Y/4jk2xGSjZQlQ== X-Google-Smtp-Source: ABdhPJz96efCiEzcb2TCaOoSiUJ9kzp5Ms/xo65+4sdHjaY8FTOBmUmbwg4ZUlnUJMMPRZEDyXvyZQ== X-Received: by 2002:a05:6638:328c:: with SMTP id f12mr972239jav.249.1644279036957; Mon, 07 Feb 2022 16:10:36 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id l16sm3264042ilc.54.2022.02.07.16.10.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Feb 2022 16:10:36 -0800 (PST) Subject: Re: [PATCH v11 06/40] arm64/sme: Provide ABI documentation for SME To: Mark Brown , Catalin Marinas , Will Deacon , Marc Zyngier , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , James Morse , Alexandru Elisei , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, kvmarm@lists.cs.columbia.edu, Shuah Khan References: <20220207152109.197566-1-broonie@kernel.org> <20220207152109.197566-7-broonie@kernel.org> From: Shuah Khan Message-ID: <49da0f58-7a20-e557-54c3-34bd7074f711@linuxfoundation.org> Date: Mon, 7 Feb 2022 17:10:35 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220207152109.197566-7-broonie@kernel.org> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220207_161037_737414_05672CA3 X-CRM114-Status: GOOD ( 24.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Mark, On 2/7/22 8:20 AM, Mark Brown wrote: > Provide ABI documentation for SME similar to that for SVE. Due to the very > large overlap around streaming SVE mode in both implementation and > interfaces documentation for streaming mode SVE is added to the SVE > document rather than the SME one. > > Signed-off-by: Mark Brown A few typos and missing SPDX comments below. > --- > Documentation/arm64/index.rst | 1 + > Documentation/arm64/sme.rst | 432 ++++++++++++++++++++++++++++++++++ > Documentation/arm64/sve.rst | 70 +++++- > 3 files changed, 493 insertions(+), 10 deletions(-) > create mode 100644 Documentation/arm64/sme.rst > > diff --git a/Documentation/arm64/index.rst b/Documentation/arm64/index.rst > index 4f840bac083e..ae21f8118830 100644 > --- a/Documentation/arm64/index.rst > +++ b/Documentation/arm64/index.rst > @@ -21,6 +21,7 @@ ARM64 Architecture > perf > pointer-authentication > silicon-errata > + sme > sve > tagged-address-abi > tagged-pointers > diff --git a/Documentation/arm64/sme.rst b/Documentation/arm64/sme.rst > new file mode 100644 > index 000000000000..15df3157c592 > --- /dev/null > +++ b/Documentation/arm64/sme.rst > @@ -0,0 +1,432 @@ Missing SPDX here? > +=================================================== > +Scalable Matrix Extension support for AArch64 Linux > +=================================================== > + > + > +When returning from a signal handler: > + > +* If there is no za_context record in the signal frame, or if the record is > + present but contains no register data as desribed in the previous section, described > + then ZA is disabled. > + > + PR_SME_SET_VL_ONEXEC > + > + Defer the requested vector length change until the next execve() > + performed by this thread. > + > + The effect is equivalent to implicit exceution of the following execution > + call immediately after the next execve() (if any) by the thread: > + > + > +[3] Documentation/arm64/cpu-feature-registers.rst > + > +[4] ARM IHI0055C > + http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055c/IHI0055C_beta_aapcs64.pdf > + http://infocenter.arm.com/help/topic/com.arm.doc.subset.swdev.abi/index.html > + Procedure Call Standard for the ARM 64-bit Architecture (AArch64) > diff --git a/Documentation/arm64/sve.rst b/Documentation/arm64/sve.rst > index 9d9a4de5bc34..93c2c2990584 100644 > --- a/Documentation/arm64/sve.rst > +++ b/Documentation/arm64/sve.rst > @@ -7,7 +7,9 @@ Author: Dave Martin > Date: 4 August 2017 > Missing SPDX perhaps? > This document outlines briefly the interface provided to userspace by Linux in > -order to support use of the ARM Scalable Vector Extension (SVE). > +order to support use of the ARM Scalable Vector Extension (SVE), including > +interactions with Streaming SVE mode added by the Scalable Matrix Extension > +(SME). > Looks good otherwise. Reviewed-by: Shuah Khan thanks, -- Shuah _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel