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=-10.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 D7CAFC433ED for ; Fri, 21 May 2021 10:58:03 +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 939F661164 for ; Fri, 21 May 2021 10:58:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 939F661164 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=6nlEx2hxepKAcmvxLKF+/8j2Tmqs7S4Yb41uNtVne4s=; b=BKMIeDstNdu9Bp949+6/TnfzpA lAZ5vdeyD3YOjOmLNBv+Lsnt5upPFZs8ncDQUNJPCRYiolHproFoeUY1cEoJerbXz6t9rGQjqInKk 4u0WOmlroM8PvgXpeVNgmCPZNZ+9uAIyR1VJM/51DRCUjQXi/xAilDhj+cglv0fsizhHxTO2DeAgl UnEqmt5HCZqZRz+8XQ5SsNuCCO3+LbtODZhB9nFrk2vNxbM63QOwQsSnJxksyp4fNMf/O8kz6gAqr 7xM+tJfdBfiKnoRnYuQlfmNyIPEA0lqLhspq6IPovWiwVMywlW1y3nU2iRpntZyphosBrEGRywyr1 oY5QtmRg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lk2op-0053Se-2a; Fri, 21 May 2021 10:55:51 +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 1lk2oj-0053RX-Ri for linux-arm-kernel@desiato.infradead.org; Fri, 21 May 2021 10:55:47 +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=4P+W2npoh/UHZtzE+QPWYygoukShFSv6HGL0iDz44ng=; b=KTzXcq3DIwFM0noTgl+KHeW00J rZu6s690nfIces+G9//9x5n0mxQiiCaDfzyvszRZtqI0a/c9CCdV9zNotrY71wIfCNvJ1ZZ6QjIIT cZsdcN9Y/vFaSGWpnTRxxCjzSWVVZ0ChNLKNugKY0Zq2OR5++2UhmHNIDWYRKaY2VU/DRTu7FMlMV Gg1ziJtS/YnQKRUpdoZ+u7R64b8BS/c0poZ8/b9OS76jH8jCNZ6zI9k2f1KrAWH8HosJ4sbCpKn1G mloeHebo0quV13QiHy7cC5frH/F0SIsYV4Dq66MgcT1G3IFycadrf5rKCx8kedY3AFyf9arukNRcT Dnlxsvhg==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lk2oh-00H3R8-5w for linux-arm-kernel@lists.infradead.org; Fri, 21 May 2021 10:55:44 +0000 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-Disposition: inline In-Reply-To: <20210518094725.7701-5-will@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210521_035543_264491_B074B18A X-CRM114-Status: GOOD ( 10.96 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel