Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1398024pxj; Fri, 21 May 2021 13:15:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+DSK+dFf6HKd4JXozmcNVCYFaHPW6Hg4IlfTsTyvmKp3DYJzK2PzXppi+Ko9xOnKZnLri X-Received: by 2002:a17:907:724b:: with SMTP id ds11mr11797078ejc.108.1621628140259; Fri, 21 May 2021 13:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628140; cv=none; d=google.com; s=arc-20160816; b=SsA8fBeOvWuzg4XV4m1ktZKvjwpRXq3JzELT9eJXz7/UtidhSBmU6XNsR8BOk9mYn0 SHRq+BzqRuVB1FALml+VXbx6ZRy49TN8aEEYVwsitMwiXAmQPFkm4YUhY14TQ3j9Adbd AER9ESe7uEVsFZTg0K/e3BXk60aOqipiz5EBBwH9pZw35+Mzb79mf/yo4PgEnwJjiJr9 c4TXR0dtiz2PCXVH7GbKOBfyqnvyvXQpopStEw8W3pX5HPC1OMQnDelkP2mb7f98xqN0 BT0L9Pzj6zES7JKYpYrGu2d+Ee9x4eqIuwUlttyXXH8Cx/U3hS390pbxmWpF2beaTPx7 R8RQ== 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; bh=4P+W2npoh/UHZtzE+QPWYygoukShFSv6HGL0iDz44ng=; b=o9sA5Va6sj8MBs1i7LPSrHyfiOdH3+idHmwPa4m6xywMbNq3hPciftNkQQiUh58vkQ +kaIzB22ZapbP/OD4rTgX81jl2Lp2ibyXU2DihVh1I00K5ow6OFHL8u0EJEyVNYz41iS w1lCf9rn9FwQIGNk4Zy8z9iQffkaiIG8gdJJKMbZYeR9bilAJXn6tkwQ4G/xd8TUeYPQ 9iMa+/6IxT5RHb+yuhdxskX++XCuOmGYMfG9mF97DgV+9U6dsM9OzGtsLipJi9CfXIMb pc2k49291j2l8T8YibSKPYlUTN/6Cb5B3r4P14Byfc40SxBDFq5Q58VitKImEw41jD6Z RYRA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bm2si1680688edb.202.2021.05.21.13.15.17; Fri, 21 May 2021 13:15:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233120AbhEUK5F (ORCPT + 99 others); Fri, 21 May 2021 06:57:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:43572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbhEUK5F (ORCPT ); Fri, 21 May 2021 06:57:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5F49A6108D; Fri, 21 May 2021 10:55:39 +0000 (UTC) Date: Fri, 21 May 2021 11:55:37 +0100 From: Catalin Marinas To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Zyngier , Greg Kroah-Hartman , Peter Zijlstra , Morten Rasmussen , Qais Yousef , 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 04/21] arm64: Kill 32-bit applications scheduled on 64-bit-only CPUs Message-ID: <20210521105536.GF6675@arm.com> References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-5-will@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518094725.7701-5-will@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 10:47:08AM +0100, Will Deacon wrote: > Scheduling a 32-bit application on a 64-bit-only CPU is a bad idea. > > Ensure that 32-bit applications always take the slow-path when returning > to userspace on a system with mismatched support at EL0, so that we can > avoid trying to run on a 64-bit-only CPU and force a SIGKILL instead. > > Signed-off-by: Will Deacon Reviewed-by: Catalin Marinas