Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2135122lqt; Mon, 22 Apr 2024 02:25:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUBRIVaUAF/D2fQyxLRms1B02p6zJrKZev9xxRichzi846ITtcbMoHQ9NhzNUqk+W+2KTlQPfS8aEcy+JbyzpOz6e5TV1+99bjESZUs2A== X-Google-Smtp-Source: AGHT+IHK7Vrmb/p0p+FpRTWKuYWkRoz+u47yTVfjd72iCXoXcRNd2/PIgbP2Lq3D0xtCRRxK3n/9 X-Received: by 2002:ac8:7f49:0:b0:437:b45e:35d3 with SMTP id g9-20020ac87f49000000b00437b45e35d3mr11187056qtk.54.1713777956789; Mon, 22 Apr 2024 02:25:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713777956; cv=pass; d=google.com; s=arc-20160816; b=RnHwVA5ym2glqthFRBQHaFrTL9cMCV0eRayto4fXISpw7Ui27q3Qf3nWaXKbJXsoLC fisa2sJ7d7knhOCKw/zz2L4HQW2oeD410pfT7iwXgMi1xJhGbl87jmpiunyyFekPnCbi d/WIi4JQG4jlgqPBVXmUMX0tBzOw35Ejve2GKvdZEYqUcuEZWZFW/59R/k/JBJVGjKA+ PhGaTnacJDdeKCRr9TDiTqn0UlwOY2CXG1qMSwR0CfYjTdu+DNsFOBmB8Uy2ozL05CHx nJnbQBV1uF0T3Q1cb0LIynGU7qw5R8YVFkPVIkgioTrmxpeBl8jdXtyFSuelDzDl4n+x V2EA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=jcigpvahltMO4FU7N5bgktFn4b0XcFmmk3Vf7CUJJaQ=; fh=S42TsjQyi7h9I+AorPB8myCz/yn8vTq/Iy8ZtAXAgAc=; b=M42587F8fIMmyuY6hAFo8i2Wu1zfDTjfjB+UbXxLFTVK04D+V67IsSMVQfVKCaXMHt JTTyHYMryKIU/CtAeHUQTlR98EcMpezVcrQHqFh0FShhTESxtfX9osy8hi8a3CsG/GuS 3MQIhNBo0jkU7ECLPyu+U+SpAdMhUa4hOuSbmbLN29CmGYdCnAyBByf0Ndqm2+I7y/4H 5T70Ycx1EehFA7qzHHCdGWMu2jUB0QRo5AG9vqVJZK+EAlRJhtdOB0357TsOJRP2oapb ZLlygtrfT/CxWGA9u/wCsPF+7E8F5bORzdTEWZ+I5gi3i1mNCxxJLCWS/19Tfx7dbGHw I/fQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=KO4nUOlL; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="hM0X5/fq"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-153087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c17-20020ac87dd1000000b004379f7e88a8si9468378qte.789.2024.04.22.02.25.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 02:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=KO4nUOlL; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="hM0X5/fq"; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-153087-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153087-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8324A1C20B3B for ; Mon, 22 Apr 2024 09:25:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD54755C3B; Mon, 22 Apr 2024 09:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="KO4nUOlL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hM0X5/fq" Received: from wfhigh3-smtp.messagingengine.com (wfhigh3-smtp.messagingengine.com [64.147.123.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D243537F1 for ; Mon, 22 Apr 2024 09:25:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713777949; cv=none; b=QRdnhnAb/ePgUShNAAuyykZBRVEBrDIW8rYwsEzEd0KWp1EQoLJejdBGSH5CyuGV7XKsOjZnp2NRtF950Sx22TdlHbtP8fNEuNuRu2wLa3k+AGFRH0BImRkt9VzHWvuLIfTsXsYoBeuOYtrX3g7QZyqYSbNpwm7h6ZDFQU04xyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713777949; c=relaxed/simple; bh=X8BGpeU+eQ7X1ojjLda2lfTR6V29ngxLbpsjhMhmC9o=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=t2auwMUnoFfMxXQtwzYEXRQx+fsxeSv5oeF4/cTur27w7xPFKKR0QQtxcdmZi3TW3Cqc4Ej78pfPmmid70GtcuxaUy8+P4e4ru8QXOOIkAlRkDzzBj7/RvKlYlcF9JGuUxJx8qKHqNsKVDDNAT5mNFQzFQ0CnIg8RU8GxqV+pcw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=KO4nUOlL; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hM0X5/fq; arc=none smtp.client-ip=64.147.123.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id AD0A31800128; Mon, 22 Apr 2024 05:25:46 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Mon, 22 Apr 2024 05:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1713777946; x=1713864346; bh=jcigpvahlt MO4FU7N5bgktFn4b0XcFmmk3Vf7CUJJaQ=; b=KO4nUOlL5KxvhoHb9dtP3FehDl A8Rb3uKH8Oqjt5sdrrrVOwqSLJ3wNfBPnPELNWWD/ltg3N8nbci849ComJyHs15r svo7bCtPiRJWi36+9TO7s3+x5b3KRtrOJvDIR1+rWqdBXUJ32gmaHE3jTYLKYleo ZOixi8R4JkhWckWaqa4lklEfH7dcG7QGNI3lfFlhxv10uK9c38LJKs6PW2HI0EFL PYsPYBns+EhaoCv7fEXQ6sB0KAT/A/QwiCelbt+EUiFm2pB+9Ip3xr7iyuBrN28q NT2/ucQ7v4QKDmAMLOdqGJuLedwwSP3e2hMX7eqPWxOXKBkgo5o7Hk/gdzCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713777946; x=1713864346; bh=jcigpvahltMO4FU7N5bgktFn4b0X cFmmk3Vf7CUJJaQ=; b=hM0X5/fqaJ540RwsBjAI166UEJbFyHVAVEAK8q+0qt2p vl7WL7iayNoQnJs6DWfLAvORf9Y7mZDaKI1jiVuINnQENKEyYHsHA3pHtxSIHkFi b6wOQSy+34IGkdHc2luwkIOf+AceFA8ppiZ9r7WpEIolFKz6TnJnoaFl0AFeGgg8 tLXxyw9XTbZYkDMVqMdWxg01D+1N5oG7Vr1arySxqg/NUM3TxCi89WXgnUh/03z/ fECjjBhsJbHe7FQc8PDBZOFRJzxjucQvoJQZOgcEdydh19O68OwBOLsAo50QPhyt 2mtd2c63jv1XlNyKAa/IHnwZznoheqTjPBU8fGwdSg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudekledgudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7E460B6008D; Mon, 22 Apr 2024 05:25:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: References: Date: Mon, 22 Apr 2024 11:25:25 +0200 From: "Arnd Bergmann" To: "Mark Rutland" , "Naresh Kamboju" Cc: "open list" , "Linux ARM" , lkft-triage@lists.linaro.org, "Linux Regressions" , "Anders Roxell" , "Marc Zyngier" , joey.gouly@arm.com, "Oliver Upton" Subject: Re: gcc-8: arm64/kvm/pauth.: Error: unknown architectural extension `pauth' Content-Type: text/plain On Mon, Apr 22, 2024, at 11:13, Mark Rutland wrote: > On Mon, Apr 22, 2024 at 02:04:43PM +0530, Naresh Kamboju wrote: > Given the minimum supported toolchain comes with an assembler that doesn't > necessarily support ARMv8.3, I reckon we'll either have to make NV pauth > support depend upon AS_HAS_ARMV8_3, or manually assemble the PACGA instruction. > > I suspect the latter is the better option. The .config linked from the report shows CONFIG_AS_VERSION=23101 CONFIG_ARM64_PTR_AUTH_KERNEL=y CONFIG_AS_HAS_ARMV8_3=y So it gets detected as supporting ARMv8.3. Is this the wrong conditional to check, or does it get misdetected for an unsupported assembler? Arnd