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 05F56C433EF for ; Thu, 21 Jul 2022 15:26:31 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vd+sSYw/zQcPwiaXTTNRCGxYbUdrmi9j9pPOfvSWsCA=; b=HXy2cB2ZkPCJ0k bsJk+eFM6sQeRFqbt1IwxM+yJhe4qhUJK7tT8mvMn8W2dij8SisKVzlkwKw/YAzSy3/ZsPOT5fsD/ 7HWHXp+eu+2W17PTxejR/UdSi/qYbu57Bl9mb0FIfvHDOl/wRyUxZy08SGapJpv7ksSRauKZsBBC/ 4o6fA7m0AYGwMDqjae/wN1gYBtYXgEv1+jUJPQo0R9jjQANi1Da3JVy8teO/aFnxP9NsmmQ2juAk/ Xtvgp4pwcBrqNas22v0F8L7e49AJEyrOFMDvEV7i7jnfI+zyZgDkEADUuut5m2qmgiEErTlJ+Fnqe 2Ms7frz5HgO0YmXrKGAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEY3P-0094FA-0N; Thu, 21 Jul 2022 15:25:31 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEY3L-00948f-8o for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 15:25:28 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E4D87B82580; Thu, 21 Jul 2022 15:25:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D510BC3411E; Thu, 21 Jul 2022 15:25:21 +0000 (UTC) Date: Thu, 21 Jul 2022 16:25:17 +0100 From: Catalin Marinas To: Mark Brown Cc: Will Deacon , Shuah Khan , Marc Zyngier , Mark Rutland , Zhang Lei , linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 0/3] arm64/sve: Document our actual SVE syscall ABI Message-ID: References: <20220720205013.890942-1-broonie@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220720205013.890942-1-broonie@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_082527_463708_7D69250F X-CRM114-Status: GOOD ( 17.32 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 20, 2022 at 09:50:10PM +0100, Mark Brown wrote: > Currently our SVE syscall ABI documentation does not reflect the actual > implemented ABI, it says that register state not shared with FPSIMD > becomes undefined on syscall when in reality we always clear it. Since > changing this would cause a change in the observed kernel behaviour > there is a substantial desire to avoid taking advantage of the > documented ABI so instead let's document what we actually do so it's > clear that it is in reality an ABI. > > There has been some pushback on tightening the documentation in the past > but it is hard to see who that helps, it makes the implementation > decisions less clear and makes it harder for people to discover and make > use of the actual ABI. The main practical concern is that qemu's user > mode does not currently flush the registers. > > Mark Brown (3): > kselftest/arm64: Correct buffer allocation for SVE Z registers > arm64/sve: Document our actual ABI for clearing registers on syscall > kselftest/arm64: Enforce actual ABI for SVE syscalls For the series: Acked-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel