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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB302C48BF6 for ; Thu, 29 Feb 2024 22:14:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 19EC16B0093; Thu, 29 Feb 2024 17:14:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 14F826B0095; Thu, 29 Feb 2024 17:14:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 016626B0098; Thu, 29 Feb 2024 17:14:00 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id E578B6B0093 for ; Thu, 29 Feb 2024 17:14:00 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id B5C8014131F for ; Thu, 29 Feb 2024 22:14:00 +0000 (UTC) X-FDA: 81846245040.14.D19858C Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by imf07.hostedemail.com (Postfix) with ESMTP id DBA4F40015 for ; Thu, 29 Feb 2024 22:13:58 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=CtEsORHi; spf=pass (imf07.hostedemail.com: domain of thiago.bauermann@linaro.org designates 209.85.167.174 as permitted sender) smtp.mailfrom=thiago.bauermann@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1709244838; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=F0bbqczj3Keglw64JiNfdvO4M759XtAlzANrlsOPWOc=; b=hH50/L5HhxzdIgnOTw4IOiZWIxwncrV2lTZGaCfnUqpuJyD7iO+79lxT6bB374YU7k4+o1 DL14zXzLxYYsi5CDyyWUp9y4NP5h5wMnEfQ1w1jmQIgwzv/z22PEf7UDvlnBzvhGDsHYw/ f3MgkhamO7BYIuZZLB+6ylUgYgI1mr8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1709244838; a=rsa-sha256; cv=none; b=aMbzVmWQXQveXEEpOrXVKSYaxd6QfwGkGzZRdQA7BFsQygd5up7R6Q+gaR8G0/Qoq3HPfy fgRmDu7Kh5BXCxuwITwUPs+y3d2SrrOX2jGfCCmhLMEt1QF3r7umCWbIMYPA28B0Iff/el 771GMqZ1J2nODFkSBkTG7yF7rOfSnf8= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=CtEsORHi; spf=pass (imf07.hostedemail.com: domain of thiago.bauermann@linaro.org designates 209.85.167.174 as permitted sender) smtp.mailfrom=thiago.bauermann@linaro.org; dmarc=pass (policy=none) header.from=linaro.org Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3bb9b28acb4so1055557b6e.2 for ; Thu, 29 Feb 2024 14:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709244838; x=1709849638; darn=kvack.org; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=F0bbqczj3Keglw64JiNfdvO4M759XtAlzANrlsOPWOc=; b=CtEsORHik0KzyNDfhkL7WPvfubcbShT69cWHcsfWfCRnhiDr/cFTscBEod2ELrlovP OICcU6/UlU8E9weJQGsOIBNSg6fROLzqVmVJq/7yHwSkFOGi7jGU3tBBJ5w34lMGS//D K8N1R+5G2Oqc4+9M8sm6mkUxTXaIv64YmdNV3CzKQvj0jVDIhHJ1tOUdP0azzS/3KRj+ sE8E2fCW7s5nKod/HMacJP2poRRqWnh0c2I4RZHOmQSW1fHJOGKbRNcGl9cEBl1bpLSn lOG5STfwL9sb6hDjknTZhz7qSzGZsVYrTurwnkU/ukg6Dy1vTWQ25k1AzAYP8rANm6d/ ooGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709244838; x=1709849638; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=F0bbqczj3Keglw64JiNfdvO4M759XtAlzANrlsOPWOc=; b=sJco8Xslsc8jwxdvhSt3DUpokIGeMaYn+/d/Su8j6FdDKkbxXKccFoZ18v3DfRjYsM SAkwbZAmiPxPzckOpZeRqKjM2tQ56B70FuvN4/Pgoxfn+WVkAT/p8O07f4aKMFvZOA1n SjOHR0hkovM1tdxicE/M/mJdaAZ5cq0IMrB+mwNWJ4OahtNNv+7GKJLcXx4RlSEZaRqT 8rXUxhznFRbY4vN9P0x9vkaV3shMeaiQcuCIImwuNrlvkoEe0bVgKPuTdDHzWq2H+wwK 63rrRjqDjmHxAP/85JqQrupYoavjeHGPlzEXSXekuRWXm7pIO0FsR3Vu4Bz51MIzHiby BUTA== X-Forwarded-Encrypted: i=1; AJvYcCVsX2h+KvLFbm0Z1mtX7NvsliPBq9szqA/DCPAhRNRpfgnE8woSYzbLd4UoI9Q4rnS4sF2cG3cUeDUx/7Ucw6slV2k= X-Gm-Message-State: AOJu0Ywe0fVD2tb2hN7Lm04n62DdkG5Fuh7nhex5lCrf8adYXwbN0bg7 9Z/mkOlPS/uvKd9lpQ9encritUVB9cs66KBUe9CZctu5CY+FtpL1fygoA4E2+Io= X-Google-Smtp-Source: AGHT+IHdJxypAmK3qvNYc2vGOAmkw9y2ZwPcLUGqtAKe2grsU0Su0E62P6Tt4LBvrgbMxt6+5DcYzg== X-Received: by 2002:a05:6808:438f:b0:3c1:c2e6:b046 with SMTP id dz15-20020a056808438f00b003c1c2e6b046mr3051822oib.23.1709244837897; Thu, 29 Feb 2024 14:13:57 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:a90b:ac37:af4a:feb9]) by smtp.gmail.com with ESMTPSA id ei4-20020a056a0080c400b006e57e220ceasm1771460pfb.6.2024.02.29.14.13.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 14:13:57 -0800 (PST) References: <20240203-arm64-gcs-v8-0-c9fec77673ef@kernel.org> <20240203-arm64-gcs-v8-33-c9fec77673ef@kernel.org> <87sf1n7uea.fsf@linaro.org> <9b899b4e-7410-4c3b-967b-7794dac742e4@sirena.org.uk> <87ttlzsyro.fsf@linaro.org> User-agent: mu4e 1.10.8; emacs 29.1 From: Thiago Jung Bauermann To: Mark Brown 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 In-reply-to: Date: Thu, 29 Feb 2024 19:13:55 -0300 Message-ID: <878r329avw.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: DBA4F40015 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: 7xyagawpp79drtsgwj5axqjnkbzx9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ZJEflBh86Ca8SoUnhihttxl/QH9CykLRYEcijmvgEbeMyCH6lA2Rj/I4u6rvZnG7g63Ax+bsJGiiJYzsQ6OdFXN+fiJNhiNDPG8HI5/D3ztTOfECX9jJe5cLD9vcFmRn0Y7NnaI3+/7FAcN2BAxym5uo0g6FRQIB0G7OqZ24APNtZo6N5vFuLtJCCrFsyhXDD4yivVwD/vG1PdjGKBOcLwno2sTnS79vCAp/XPcCiVhD0FWTPXnz79vx2yWijB58Ust/9tgboD+FII5YcJh3ZtPDJjIu3m56SBFmD8iOCxELQOq5+NI7nw0XbvDENzg935sKZw+xfmJTkyE2WVGXHd7XiMtIwWVSXI/8/5eJ3TvJ/+4KV1GIrL+UjbfmsYC/2BfKEm1YQncr6draZ1BpbgBpimOsDyLG16HzxCbaumO+ZnQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Mark Brown writes: > [[PGP Signed Part:Undecided]] > On Thu, Feb 22, 2024 at 11:24:59PM -0300, Thiago Jung Bauermann wrote: >> Mark Brown writes: > >> > 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. >> >> Yes, this is how I'm running it: >> >> CMDLINE="Image dtb=fdt.dtb console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda2 ip=dhcp maxcpus=1" >> >> shrinkwrap run \ >> --rtvar=KERNEL=Image-gcs-v8-v6.7-rc4-14743-ga551a7d7af93 \ > > I guess that's bitrotted? Ah, sorry. When I renamed the Image I messed up the kernel version in the filename, but I did confirm via "uname -r" that I was running the correct version: 6.8.0-rc2-ga551a7d7af93. >> My rootfs is Ubuntu 22.04.3. In case it's useful, my kernel config is >> here: > > ... > >> https://people.linaro.org/~thiago.bauermann/gcs/config-v6.8.0-rc2 > > Thanks, it seems to be something in your config that's making a > difference - I can see issues with that. Hopefully that'll help me get > to the bottom of this quickly. I spent a bunch of time fighting with > Ubuntu images to get them running but once I did they didn't seem to > make much difference. In that case, it's interesting that I still run into the problem with the defconfig. One thing I failed to mention and perhaps is relevant considering your result, is that I didn't copy the modules into the disk image, so the FVP was running just with was built into the kernel. That was actually the main reason for me to use a custom config: I didn't want to have to deal with kernel modules, so I created a config that didn't have any. -- Thiago