Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp539425rdb; Thu, 22 Feb 2024 11:13:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWcG4GpTdDJHhUalM3jDI56sGXnTlVXZspLeO6RAH2yb+PKymiupFan2sH5se/Drq8tHYh/9odUdIQjnXBx81vJPKAtnVDo5/QOIUbkzQ== X-Google-Smtp-Source: AGHT+IHiTMeEOupr3ss3pKLrv1izq/lYtLxXLb1DgUxuKemuyJTJdlpGEwZDLgnDZHl+lnJfKuV1 X-Received: by 2002:aa7:c894:0:b0:565:42a4:82ff with SMTP id p20-20020aa7c894000000b0056542a482ffmr2157376eds.0.1708629188934; Thu, 22 Feb 2024 11:13:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708629188; cv=pass; d=google.com; s=arc-20160816; b=Y0EDzgeHLnO36Gc3W624clDmk93I4gNrBopQGyQcmfR3S5ylTYL0ddjMDXIggPxaHg jW+QDpugj3CdhtWsoVzP9iowVU+a55NWQRVh5iPk792SipOV8hNiG+FTXFVBgdpTZcRZ Rf/6iYEFVuOS8RJMvZKhWbuCjRAzS/x9ir5sv5RFVH33l1Vxzj0NDnWnO2UI5QSlLGXR cPXkYdJadMIMqoGOA11iX/MMxiOKsGQmtsN918h3sxIzubHVG9TX6DrwiQ4D96ieN0RE SltFsFTEhvKTsX3smNOpNILtvkNL9qNdQA0w62hf7NkwjKaoL+J+QoRY0jCr4u0bd542 emEw== 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=MxSnHI9/kTpjM5dzM/6k9gN8ugr1Kwv6fRSbDehyK5Y=; fh=2cOLKalsvJWgp6X/iQQOoa8XWKauU+XcecEfmW3UZwY=; b=QS4Lct4fxiKmXvFErHuIjczYyAuzPChuEQlubUgQizcGYolC2fJCVYAf/Ngm5Tbm0n OqlSNLPKwXaqZ2iXNahoZ8zVw1bEjOpaLWdQH7jv7dbllo6+e21D5n3ycNnMnqT+y8vn RxBUZ/4vDQ0qF/L+Kie8ud2D6zPE/bTxdu7z1J7N4jTLvUImE34FL79wNp8dChw0qIfE k3SGNb0OhAga0qDjjZ8fc+YHXmw1nDsL9cFIH63ZIj7MQPdbI40Od//jfd2NTMbqrC6p dFIgr6dGTbYrtPVFVPDOFAQewUNS8a2EgthpfKcHpuDJffJ9sSf1FpNOwIwhKOviKdoO Gh+A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qtyLjiQP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77228-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77228-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 bo12-20020a0564020b2c00b00564d24c0b5csi2455912edb.500.2024.02.22.11.13.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 11:13:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77228-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=qtyLjiQP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77228-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77228-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 ACA1F1F253A1 for ; Thu, 22 Feb 2024 19:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63F4D14B823; Thu, 22 Feb 2024 19:11:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qtyLjiQP" 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 6E12A14B806; Thu, 22 Feb 2024 19:11:13 +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=1708629073; cv=none; b=qzYhGGzXT5I/lkRWhQMYhSedYZ2Ea5qfY2F5+F+aAl3Cxo0SOuNQbatURdB7a8MG4blKLD249YBDT6V4ybMVkfYuBFvd0qaEw/jqtxxtKz/f3mjE+Ayen+xNjJXVzEbnPudL9jTO5YwXLBNGhYTB5Bk+C0ejRkYRqyB6fym2n0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708629073; c=relaxed/simple; bh=8nrfNIHr+Eb25TRq75f4NF1/J8WEqatyymrtaLx6QLM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TRxvJ5DGdITMNMNUMtFn8ihph7M0ZtPjbfI6UreXfh86kIFgVJN9ozmbVwt/ZK3tLnln9AWaJlIMgqH48SzjBHdB+9a8tbdU34/1zsaaS/tc+yTgaooq/+cPRMIPtn5S/hGclEOSGASGuCmR2H1tm0mcUqvGKtlhUvxvy+4ZUx4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qtyLjiQP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0452C433C7; Thu, 22 Feb 2024 19:11:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708629073; bh=8nrfNIHr+Eb25TRq75f4NF1/J8WEqatyymrtaLx6QLM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qtyLjiQPSFvaJ9M7rV182imqkcwMJbcYO+r+dMGBtOYxSYpBaVnRvNZ11XJBROR9e sFol8k1v+wYlFvUyUBro/7AQx2+kDhj5NNqwRD48ht2iA7YBv6eSnjKNmaHOBzNY49 rCeBnV+yiSRZ9mKiMtIIEvMu8x1IIfnswGl/xXqSXqac+W3bzu7M/y7q2JSc3d+Esh ud72RE65wIOLdDAYaE/5y0Ovalrhl4By/n4OFtjms2QwzNoKpCgzpJBTr/WkDAs+28 qka5RHZp4Vb35lhxNepvftYRS6jQtzsIH6LXS5xsnjOXHpO0swqcwz1+VYW/6fI51S 2PJtnLCwdBOSQ== Date: Thu, 22 Feb 2024 19:11:04 +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: <9b899b4e-7410-4c3b-967b-7794dac742e4@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="ZHq996jFPNViQlH3" Content-Disposition: inline In-Reply-To: <87sf1n7uea.fsf@linaro.org> X-Cookie: I have accepted Provolone into my life! --ZHq996jFPNViQlH3 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 believe based on prior discussions that you're running this using shrinkwrap - can you confirm exactly how please, including things like which firmware configuration you're using? I'm using current git with shrinkwrap run \ --rtvar KERNEL=arch/arm64/boot/Image \ --rtvar ROOTFS=${ROOTFS} \ --rtvar CMDLINE="${CMDLINE}" \ --overlay=arch/v9.4.yaml ns-edk2.yaml and a locally built yocto and everything seems perfectly happy. --ZHq996jFPNViQlH3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXXnEcACgkQJNaLcl1U h9A9hgf+IJIWILnaAT0TG0s4fwHDFwBgAEwmbr/85IsiE58YLlQn3tHAkAETsExB EtAk73IgOoaGfvFDcKF9Zq3PjE2iQ3r+Lh1A6/nyUdQBcMaZSES4ioXx5cwwjqFX m6lWkAiAzHxqFN++5z9gfq4lT3HjZQ3TFVE8y4Ij6vmmOeTIINFEGovAi330xkEZ prLXALb7+ONnUB3jG7VDY7Gx7HF+jt2Qd9gAz1KNNrBCEJT2fImUVEI1P/15iww7 Xxm2Udbwd52h580B1x1sa7tMEFRi34tvmKx+2HHSgGFQ/a10LFpE4VnsW1vHUzGn 2k8W5X8LkpXaHbgoXUGBMqDMFlKkWw== =owiX -----END PGP SIGNATURE----- --ZHq996jFPNViQlH3--