Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2559254rdb; Wed, 21 Feb 2024 11:20:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUEAsZ9j5JQ3bpaIMY9zCcZPzA4ctYOO4u40DJYTc7Ic9SoOb3r9u15jBmyYbJfCSegOVGcKpdNT5m/9JsWUHztXrwtxiKVC4O2U7qTfQ== X-Google-Smtp-Source: AGHT+IEvqGQv91N4/mwFRvwlUZHttSEnP76b9SdTUHbjvZwYtGg5p8HZYOSAHaGugi31c/OXdpRP X-Received: by 2002:a05:6402:134d:b0:564:a4e9:368c with SMTP id y13-20020a056402134d00b00564a4e9368cmr6148114edw.23.1708543234584; Wed, 21 Feb 2024 11:20:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708543234; cv=pass; d=google.com; s=arc-20160816; b=DLkUwoGrQXIBG4cQ6a5BwptjjNSvpdwpabsXSxfdGNEvBUJ5KF0+BQoRgFxXPCaB4I 535xzXAOPy7zoBDMwCIVru4BRl8jjYxFaZH7Ro5sDpt524EfC4NLkNH1JRq0ElR82HCy AY4CK8ndPLpYHyYWxzCT2KXrO5JsGbxnXGYiQTibzh7oB0UpAqBw8T5fvRIjivVxlWsT 5xEev7cEgVKDgBl7mweX2mML2JtmErbQtr9IcE0I4HUBTrBFOal2jHKsbMO4hE+/JhP6 BhFm/Vs8tYjRsWB8rnPPqTOB73mKQiv5d6QXjC7C4gM/WIF9LgqF6Ss3X1WpiVdnThry NBLA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RkBIvhKoE5A92yW0y/HwydSwX4MVkrST6eOJEZhn7jU=; fh=2cOLKalsvJWgp6X/iQQOoa8XWKauU+XcecEfmW3UZwY=; b=LeAusDFfsGVfWMQzBAH7kETsO2vkBU0GD0TzX6WPD41EODAAGkTcDoYAPkSUZDSX0v 0uZpbfn7x9FmWCn/zpkifVyWE27rQYnC2Jpy7c8aGvucba8JWe7XNssZooIrydPdiQf2 R+pLVaCvbyTMaLirYkZBIMmAZ95AHwN2OmUCzIz6CC8w3rxYzownyIj1iFNPw8nMJ/eN zOCi/MZOYgp2FaAdDr8PU1AsC0sxV+FGofXnkjuc44AiptwsbKAtlkOkOy8a395QczGb ejOtD7sfW9xYEisuz4dJWijUQMW3lKcebJdn6IvAS4mArr8l3ScS+StPBkp2RmqgIo+9 8bnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fM7bxuzf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75354-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c14-20020a50d64e000000b005647c583050si2861972edj.332.2024.02.21.11.20.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 11:20:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fM7bxuzf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-75354-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75354-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 576581F221ED for ; Wed, 21 Feb 2024 19:20:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D085585C7F; Wed, 21 Feb 2024 19:20:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fM7bxuzf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E284D83A06; Wed, 21 Feb 2024 19:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708543221; cv=none; b=LfEaDtLNfCxEXpkDasfer0/6tUxUNGHCBuQete8jVHb3bftuD1YwNE0Rw5INgggRD/GMf4ZACE7oqvKl3guoQaN2dq1s6tWdjF2AmJ2XP9qs4+kRY0UDtj6Sc/VEyX42c5x4Bn83ecjzVzTWiV4nzXJYZDS1agPmBFwpHR5cHvQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708543221; c=relaxed/simple; bh=LHJE1R6CeCVbz5voxdhxWZEEGGRoTCqvuitIhyGxW/Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SuSitFXWqsfJaHykw+zFaWa8/gefwcdPGkxu+n6pXT+I/9pm6HaO9MINfXB2LZVzPYZJliw5AoDeWRrSel+ZCxpd+Lam+FJ/ijXMMO7JEjtZzft7HsQFfQvKltcxO4cHMib+VJ2I9cGE/fnwpsc89mKFZQlRHKtNcksjYtkL4Lg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fM7bxuzf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5294CC433F1; Wed, 21 Feb 2024 19:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708543220; bh=LHJE1R6CeCVbz5voxdhxWZEEGGRoTCqvuitIhyGxW/Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fM7bxuzf37U7KgkBjE4t6xl7196zWQ3zUCNoJ+agd+QN1cy+Xyq7yQXJHO1ESLu+m WfRkNjkseH24zdDLgFE1SQHiWbwcIsKTde/kK/nypgvvdaArvLxpMbxTv/DpPdea0Y h/S2n8KTkPnE0y1deFIAUzbMSfmwY+RBO7FMARe9q8Qz3/FxPYnixoXp6/h5t4/vuP uoT778pZQf+ryGuzNashUCuvUxs+4C4xh9U2NIQYurkPfiYpJq05pv7AaQTTfFstDU 3dg2YeZnziQRTHuGFAV/FX2fhdlhfvtEv0Qil9L1OpaX49KYycDzgKOwtGXtT8v3X9 UMMPgrMEFWVIg== Date: Wed, 21 Feb 2024 19:20:11 +0000 From: Mark Brown To: Thiago Jung Bauermann Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , Andrew Morton , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Arnd Bergmann , Oleg Nesterov , Eric Biederman , Kees Cook , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v8 33/38] kselftest/arm64: Add a GCS test program built with the system libc Message-ID: <084d97c0-a84c-49e1-a1e2-d864dbfcce0e@sirena.org.uk> References: <20240203-arm64-gcs-v8-0-c9fec77673ef@kernel.org> <20240203-arm64-gcs-v8-33-c9fec77673ef@kernel.org> <87sf1n7uea.fsf@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2wtnap7o07IPW6JY" Content-Disposition: inline In-Reply-To: <87sf1n7uea.fsf@linaro.org> X-Cookie: The second best policy is dishonesty. --2wtnap7o07IPW6JY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 19, 2024 at 11:15:57PM -0300, Thiago Jung Bauermann wrote: > The only issue as can be seen above is that the can_call_function test > is failing. The child is getting a GCS Segmentation fault when returning > from fork(). > I tried debugging it with GDB, but I don't see what's wrong since the > address in LR matches the first entry in GCSPR. Here is the > debug session: I'm simply not seeing this in my testing. There's *something* going on somewhere, I had another report of a similarish thing elsewhere, but not in any way that I've ever been able to reproduce. It smells like there might be something missing with the page tables... --2wtnap7o07IPW6JY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXWTOoACgkQJNaLcl1U h9BQigf/fQNxlJZgGDgIILMsKObHoXWsq3JdCPlraW9xJegPTEC5/TbR57O6F0Ds /m4Si6b75N7h1+TLJWetmyKnGAMNBss9qHx2swhi78CdwKsefp4GKaivaFWVKxRx srdyCavP5tHvbc4O2WqN4A8HZY2ekXKnaXvmz/1DtfvKpV5hgYKBo99ISPLrMVpC gX/jBaUd5GFOX6ImWBzN30pXfHRJXBr0DiXBrTlxoevDfu7GvQN4qECSqBxM2s1F Q0vvblI/SBO9CX3h1Pnbdr4VleVLI3arjc4YTBiaPY8cVjHyb1RkUeUrRWVXRzU8 pzYSSKqd4kQ61qa9FEiZhZs13o9otQ== =eqM2 -----END PGP SIGNATURE----- --2wtnap7o07IPW6JY--