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=-15.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,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 D6246C2B9F7 for ; Tue, 25 May 2021 02:07:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 985A56141D for ; Tue, 25 May 2021 02:07:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 985A56141D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=bombadil.20210309; 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=Tucorrr1YY2y7VCytNBvuX4soM18z179J8hzNJy0tXk=; b=ETtEuXSSvDVkyE JAII2yQBQG+oxUmN6mzIj2kzNkJ9CSwBgB/9mWVVPOKu69cL8g5TkbgSnyOhIb2d5fO3HKnb/bTCc czHQh/x8tUX644g8rrEJ/6B1xBi40FmTPGh2UUTn81lTp9DvJ0Ly9NpcorCcXezPgBPAOEWnmOMbZ yMCahgIWgFZaXW19SHEm2K3toHLIIePy/5R2Y8JJ/dim/eWk0XWqo1MAZebGIkfOKCmpMzRW4pkqk j+A9pkS8e+Nfn0QNw6pKHlrtDRlefM0hyuoxxL53r4hXRuE9YstbpNyZY5AAtVj09zhLoKmz1qMv+ Oq+bO+EqqSfWkgndB1mw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llMQI-002qLY-DX; Tue, 25 May 2021 02:03:59 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1llH5I-001oji-8t for linux-arm-kernel@lists.infradead.org; Mon, 24 May 2021 20:21:57 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 46E6B611B0; Mon, 24 May 2021 20:21:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621887713; bh=6RQbeZvmHXBMt1SBEvj3/LaSGxCxDFKh6HhXV2ArOG8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lrk3isTbZPPXvOC+CovDArTMGcqXbhESJwjjvs5Lg3lcjHy0br1AINvTzwqRGHVie PGiNFnx/d8ZMAkTENyirJgidZ1KLVN/daTrLjqJ2yjOAxDezC8TOEC0LP7t1242mcV irhl2pgdxhRavUJ4MOcibx3NQJ0kSaHkEyS6Yo0gpzK9oB8pU9l/tXTbR9M5Qe6Elz 4bRHwxSIaWtVoKwjqQx9q0IqOn2p7LKV73bMX4s03AWvfx2vObgEmXCCzGcWKi/qJX TH3giUR/SK5oonVkFButmNZ9rWR7o0tA39JRRl/jaEWeguI99KwwCP5YQ73RzZ0Bo1 paS9ftr+WVSJg== Date: Mon, 24 May 2021 21:21:47 +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 02/21] arm64: Allow mismatched 32-bit EL0 support Message-ID: <20210524202146.GC15545@willie-the-truck> References: <20210518094725.7701-1-will@kernel.org> <20210518094725.7701-3-will@kernel.org> <20210521152255.tosr4jwok6cjg6sf@e107158-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210521152255.tosr4jwok6cjg6sf@e107158-lin.cambridge.arm.com> 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-20210524_132156_394123_2CD32493 X-CRM114-Status: GOOD ( 16.18 ) 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 Fri, May 21, 2021 at 04:22:55PM +0100, Qais Yousef wrote: > On 05/18/21 10:47, Will Deacon wrote: > > When confronted with a mixture of CPUs, some of which support 32-bit > > applications and others which don't, we quite sensibly treat the system > > as 64-bit only for userspace and prevent execve() of 32-bit binaries. > > > > Unfortunately, some crazy folks have decided to build systems like this > > with the intention of running 32-bit applications, so relax our > > sanitisation logic to continue to advertise 32-bit support to userspace > > on these systems and track the real 32-bit capable cores in a cpumask > > instead. For now, the default behaviour remains but will be tied to > > a command-line option in a later patch. > > > > Signed-off-by: Will Deacon > > --- > > arch/arm64/include/asm/cpucaps.h | 3 +- > > Heads up. I just tried to apply this on 5.13-rc2 and it failed because cpucaps. > was removed; it's autogenerated now. > > See commit 0c6c2d3615ef: ()"arm64: Generate cpucaps.h") Yup, cheers. I'll sort that out once we're at the stage where we're merging patches. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel