Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3778558pxj; Mon, 24 May 2021 14:51:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypxoICBRj+ZRPL8RsW4dlHqqRS+u+Z8o6tI2ILWEkcON69noJNnqCo0zT42G+UOnHHb+ky X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr28273482edy.177.1621893070260; Mon, 24 May 2021 14:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621893070; cv=none; d=google.com; s=arc-20160816; b=C6UwBWCMgLhy7yyBEO97alSPPD9P6vm7YBnnZNID7zx4mQPPG1wETHQUy4A0EF4DTP T+0n5IAIgwkBkjUhNcFlympzsMwTVgDnXscZzMZrQwrYG/ahB88l0rdF0Z8qIXcN+odP vMuy6Kwr6vMtI6cxPGNgHpo665AOPsnz+5X5HQk4X3IxUiEjmOpYpBx1s6xoFbr3/MzD LlJ7kAc3/F5IlJQCzaKPBHGuIbvwjgIYjULQwwXmxyKTw1SHUOcxwbGUuujNzUgCjeFf Gi/KTzh1ZiGSXPiF9qNvz1MJqEoSreHFKt0X+zzwwUrwARzrLExZtA9O/PhtQR3VO9/V nx7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=e0m4Nm11D+H+OUUN7MItkus8M492tfutf3UU5zQIoYU=; b=ij8A5r85H7XRr/K6Z+C+bP7lJBdpnUBKb8TgpyqVbCuLBE1YvvjPwGFB0MPeHEaATS YtLmbxL3P39vGuJO8NkStKyYrT2XAxC8dZc+Kv+HyGmO/YhHnPUD8lMriD/l8MIceO7P riNqcDuFvqHAiiJQNf4fI0B6dFCnc5ScEWFi47Mc1j2YCWywCKqVgUuG3+6x2cixudz3 rd6O1BJ1JR4BnssP4O4xIIAaneHB1CmDOaMVNlyDwcjI2hb5p+QPUGMtBarU8t0WvYjO XI/iSzjMqoinJwbJsDEzV5xnnhGRv2prV3IU1d0fU2s69P7/DioOgtND7L4fVPnMlK8m ROKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqlUf1co; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gn1si13776120ejc.725.2021.05.24.14.50.47; Mon, 24 May 2021 14:51:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqlUf1co; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233856AbhEXVr5 (ORCPT + 99 others); Mon, 24 May 2021 17:47:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:48842 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232693AbhEXVr5 (ORCPT ); Mon, 24 May 2021 17:47:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 80D7B6140F; Mon, 24 May 2021 21:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621892788; bh=pIqcwhnobnjNtorg38viD7Ev04FdWPKbGKaiT70sphw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sqlUf1coLr/eocDF0EyjRwzf6YJvk2jL0KLJC3/80LIoV1iV/SHgWo0LJElWlXM6p VkYfo6o3495XQ0gUwyw4FeIYHKnKH06ZwUJvJH7wh56Ou/GmgW45m6EXuysQLL2jaR 5SLgBzFlcTuMfUSW7GFsCpCsr9GJJM5VBUQgPhhsRwFZQRBcB6Zg9Xce88IXlFtLtx c5ivaG7kcgdQA9KAkhnTxFDg01DNFKOpPwuQXMQ1xT3+yejxO0JTIfyyE6fYhQFom/ rLs1KaAhZnJroH/ZPgGFxVwCDdZrAX7MU0Hfp9TEY6MWdJ/XQLVQ6Ef8vwN6OUEg+e pw/HP7TqPYgfw== Date: Mon, 24 May 2021 22:46:22 +0100 From: Will Deacon To: Qais Yousef Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas , Marc Zyngier , Greg Kroah-Hartman , Peter Zijlstra , Morten Rasmussen , Suren Baghdasaryan , Quentin Perret , Tejun Heo , Li Zefan , Johannes Weiner , Ingo Molnar , Juri Lelli , Vincent Guittot , "Rafael J. Wysocki" , kernel-team@android.com Subject: Re: [PATCH v6 21/21] Documentation: arm64: describe asymmetric 32-bit support Message-ID: <20210524214622.GI15545@willie-the-truck> References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-22-will@kernel.org> <20210521173721.untjfglvxja6v6ot@e107158-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210521173721.untjfglvxja6v6ot@e107158-lin.cambridge.arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 21, 2021 at 06:37:21PM +0100, Qais Yousef wrote: > On 05/18/21 10:47, Will Deacon wrote: > > Document support for running 32-bit tasks on asymmetric 32-bit systems > > and its impact on the user ABI when enabled. > > > > Signed-off-by: Will Deacon > > --- > > .../admin-guide/kernel-parameters.txt | 3 + > > Documentation/arm64/asymmetric-32bit.rst | 149 ++++++++++++++++++ > > Documentation/arm64/index.rst | 1 + > > 3 files changed, 153 insertions(+) > > create mode 100644 Documentation/arm64/asymmetric-32bit.rst > > > > [...] > > > +Cpusets > > +------- > > + > > +The affinity of a 32-bit task may include CPUs that are not explicitly > > +allowed by the cpuset to which it is attached. This can occur as a > > +result of the following two situations: > > + > > + - A 64-bit task attached to a cpuset which allows only 64-bit CPUs > > + executes a 32-bit program. > > + > > + - All of the 32-bit-capable CPUs allowed by a cpuset containing a > > + 32-bit task are offlined. > > + > > +In both of these cases, the new affinity is calculated according to step > > +(2) of the process described in `execve(2)`_ and the cpuset hierarchy is > > +unchanged irrespective of the cgroup version. > > nit: Should we call out that we're breaking cpuset-v1 behavior? Don't feel > strongly about it. I think the text is pretty clear that the new behaviour documented here applies to cpuset-v1 and I wouldn't say we're breaking anything as we're not changing any of the existing behaviours. Will