Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2429457lqt; Mon, 22 Apr 2024 10:21:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUo27zVPbKlodKRAos/9KMVXqbM0TIv8Rl5+48ypdg1MUHLPN2mxqdL3Gi2U2NIRoGT/IW/PY7y5s/5Omw9Ft3aSrHrdCai/AT74ADFFw== X-Google-Smtp-Source: AGHT+IEWY8M/1FgvyU67p2DEb03wB6pSWiV9Q/6e6G15W6cpj+7AhUB9OavkRdP4adFpGyrn1scn X-Received: by 2002:a05:620a:530e:b0:78d:6d44:35fe with SMTP id oo14-20020a05620a530e00b0078d6d4435femr11938775qkn.37.1713806479375; Mon, 22 Apr 2024 10:21:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713806479; cv=pass; d=google.com; s=arc-20160816; b=YjByjM5PjxykGzkq3iZuQ87SNleuqkm68NKICLs7osHtYvFMlFExCfP7Khp6+8Qj1D ER2SSBHuyfqv8oXaaQuhT/bGHm+jtzV+ZoutJFSPNomdxS7B6bHi4pOY308frP9fE5pi w2d/4DB9w4fKkL3waaqP5nHP3d2jm66S03Qc4Mt2icGsP6xpwGVeFHj2GNvtwSmU+TCR qMHAzY8TNOgcPhObMhkKr8+wTN7ZxTMoKL4U0VIlVyFbPMftYxP6Huygpp/+Kk+zbyQV ylkRflEdbFIWUzSepUUndtcBRXXe+i0o7MbCYae87B21UOGdbXxjlpGeJuYgwpLXH0xZ EbGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent: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=mw0vzaVj80MBeiDvpiEVDkw8GFspvD740nz0U1BsN04=; fh=T3NoPpywsdfksRMAc/mEbRorbPh9ni3P6QnRu4QdUqk=; b=OHRYaeowJFDg5TEZJGtKYrm+jU2LEfuppnC0TPH8eZIlXpJjjNYysumZzhvB0NoR4A Pl7S1jyLBLb3QYDAfzRppI6/3Dw3zu2g7Fvfk7UBsM2pAAhAvdGEp0dpqoJ8E0iMzzsT VGV0tCmcsdVh4ldv7WL8qwn/DEr12l4rxwZ2B/qLOlrO/r78hVX7D2/SPCsvVjAK7WzS g/IyrVWuYrzHo/0vYx6rhTMnPneO+gRnupb/ofvnq2ibXuYyXpyrNFWoiD6KPgeKssg7 ltq0Yk4PqcD99X+e01bBKz4y7zF5ussQYmsjkm59VUXmZj658Yx3FDfkVjjSRRdN1Y2/ 5Vww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DIJ9ieH5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-153794-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153794-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c22-20020ae9e216000000b0078d63bcf803si10635823qkc.406.2024.04.22.10.21.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 10:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153794-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=@kernel.org header.s=k20201202 header.b=DIJ9ieH5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-153794-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153794-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1C7C51C21089 for ; Mon, 22 Apr 2024 17:21:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08135153BE9; Mon, 22 Apr 2024 17:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DIJ9ieH5" 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 27616153BCF; Mon, 22 Apr 2024 17:21:14 +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=1713806475; cv=none; b=p9TdXOTd0e3ST7xm2gA5CX7vT8aCiwhIRBUfK1lfifx05Iat2R3XWE2L7ThLMIGQ/BTDMEKgnHHybAlHG0Pxe6fey9PUh5qdpVuLj3iUsXjEK33aUi31Q0nLMNxDdZGE8AmaC61xjN6sk0OmRAyaZEmHBAeCjTn2vkErlMGhJmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713806475; c=relaxed/simple; bh=FV2TUJKtwirxm+DazLdq+MAfYd7Y+YmL4J1Jaqx2Izc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eWw+gytKMj27HKvsRqWOrKToClq+RUkzSMGINF5KY4zHmmR7FsLJW1B6wJYVEhTaeOYxGnS0ornaGwvFVOGk52yiMPk5LIEk8tUCYiGbvaFxnSfdN6ZyZfvaOwWMJp3UDlkIyUtLs9XvniEx7M+PmkubDXT+m5LdJgoMGu2oUXo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DIJ9ieH5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40E67C113CC; Mon, 22 Apr 2024 17:21:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713806474; bh=FV2TUJKtwirxm+DazLdq+MAfYd7Y+YmL4J1Jaqx2Izc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DIJ9ieH5lXiEuSkFe73f4Pcnx7rkadU0wqXw23nokeklWX8Zm7ECLOdagMtbrWUlB cR8EfZOOD7wdefTzUbaxPmt94ksDywAbhnzzyA49ow6zR21g/JOfyYOAcJ0RK6JM9V KZBwfbcGkM1bF66kcSVz9wOo9R2wZHiuVbJiM6aqNh5+0zg6Twt7hr+etKIKeCvQS7 f3ZgazFmhqpDOK0vwitrJHp/CxKl7szWwcLkEq9ocvxPEpPxqXCd3kczr16iv96ovs JirZcx7x0cSYwH5pGl6LE7S/rdxna8jDIxIblMdh4Bkof5WL2gDVYcB8bufUwJ6jKY GB8cmY/GQo21A== Date: Mon, 22 Apr 2024 18:21:08 +0100 From: Will Deacon To: Dev Jain Cc: shuah@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anshuman.Khandual@arm.com, suzuki.poulose@arm.com, ryan.roberts@arm.com, rob.herring@arm.com, Catalin.Marinas@arm.com, broonie@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk Subject: Re: [PATCH v2 0/4] A new selftests/ directory for arm compatibility testing Message-ID: <20240422172108.GD6223@willie-the-truck> References: <20240422070717.2194201-1-dev.jain@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240422070717.2194201-1-dev.jain@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) On Mon, Apr 22, 2024 at 12:37:13PM +0530, Dev Jain wrote: > This series introduces the selftests/arm directory, which tests 32 and 64-bit > kernel compatibility with 32-bit ELFs running on the Aarch platform. > The need for this bucket of tests is that 32 bit applications built on legacy > ARM architecture must not break on the new Aarch64 platforms and the 64-bit > kernel. The kernel must emulate the data structures, system calls and the > registers according to Aarch32, when running a 32-bit process; this directory > fills that testing requirement. > > One may find similarity between this directory and selftests/arm64; it is > advisable to refer to that since a lot has been copied from there itself. Isn't this going to be difficult to maintain if we have two divergent copies of the same stuff? From a very quick skim, a bunch of the signals stuff is idential to what we have on arm64... Will