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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E8BAC47076 for ; Fri, 21 May 2021 17:37:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C826611AB for ; Fri, 21 May 2021 17:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238227AbhEURiv (ORCPT ); Fri, 21 May 2021 13:38:51 -0400 Received: from foss.arm.com ([217.140.110.172]:52418 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232624AbhEURit (ORCPT ); Fri, 21 May 2021 13:38:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0E7621424; Fri, 21 May 2021 10:37:26 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B42003F73D; Fri, 21 May 2021 10:37:23 -0700 (PDT) Date: Fri, 21 May 2021 18:37:21 +0100 From: Qais Yousef To: Will Deacon 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: <20210521173721.untjfglvxja6v6ot@e107158-lin.cambridge.arm.com> References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-22-will@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210518094725.7701-22-will@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Cheers -- Qais Yousef 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 X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7604C4707A for ; Fri, 21 May 2021 17:39:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8E6F761244 for ; Fri, 21 May 2021 17:39:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E6F761244 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bwm9vU0eHqFDsqNn/G5Mv9mLkvJNYMs5ErQcnF1St+E=; b=i49NpfdyE+JdQxVqy5wiSCVu6S 1ZuYLkbCXt+z+FfD88kBpLZJ8JMg63QBbpWpfwO7wxJsIXH4rAy8z8EOAUfPabdJo4Q/TJEAxEaf0 K0eyzv+cpiKs/Qee5nShcnFcMbVw+enEniGT0AqcW/V+RdEknXmeXMS+Y6LVnryxCl4J89e51rf2N yM6m7GPNyuXwh9DeLtSfJ8ss/RfWK3be/yf39YBknAm/Ty5/aQctVxWdOm6u+/Nco/7WeQTItkijp TdcPbg/RhreC9XYix+SKEhUhzO9vGz2U6qWSvLjBEcH453O2c5MDVaj1UtVIpPOdvjKzqHA0zfiYj VWmKAPgA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk95f-000XlM-L6; Fri, 21 May 2021 17:37:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk95Y-000XkW-M4 for linux-arm-kernel@desiato.infradead.org; Fri, 21 May 2021 17:37:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Vdzm9I5Cwqtsdguqe73vF4Er3J88rXcoFF4x2zigLW0=; b=x+LHsnPKf7ORQ2hGOJYx7vJNkr RvHV3ok2XTlGtbEdrezcgdNMX0eNuTjaRKsNvHSU7mkscI+k7+7cuIYQUs6uGJcoH+Rephr5Aot3P OqD5UKIjPVkI3Sf4NjcjNdilo1oinvr1fd/5MOO6KvgkrRfmuZTxmDU9o1EFjcQmlc8Ju13xlZ7h9 LSdjn4gVjMCR54Kz8pVm1gqJWYiE2tIx5cGLbEWtnkL8m96CCDmiGfR1n4N51rIizQh20is/CJfPv KdJ7rDc3OfWv1vFaw7iFFRlDqaNL2AZS9cM+BVtpIstQleKNJmipxuGzclEvQgHmZNHahmlCPh+qo 4VYlKbTg==; Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lk95V-00HJpU-SR for linux-arm-kernel@lists.infradead.org; Fri, 21 May 2021 17:37:31 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0E7621424; Fri, 21 May 2021 10:37:26 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B42003F73D; Fri, 21 May 2021 10:37:23 -0700 (PDT) Date: Fri, 21 May 2021 18:37:21 +0100 From: Qais Yousef To: Will Deacon 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: <20210521173721.untjfglvxja6v6ot@e107158-lin.cambridge.arm.com> References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-22-will@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210518094725.7701-22-will@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210521_103729_986612_411E42DE X-CRM114-Status: GOOD ( 13.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Cheers -- Qais Yousef _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel