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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 1F21FC2BB40 for ; Thu, 17 Dec 2020 10:56:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 BBFD02389B for ; Thu, 17 Dec 2020 10:56:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBFD02389B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=3eccv60KoZGI9FqJAKWbTjUMf8oWH98zkYOp0ZLZ7Rc=; b=rqomN6EtJOA7Tc3tNFF0/Wo3z J71OvEc3zSsH/kED8b4LzkQBfZVgR9PSxN4QxnrjT1x12s5T0+FM2gCeVwhFZIa1hNtsJ4ArOFI3l cL8wt7ZJcBksGhNI1lYNBLiJLyGTWdZ106iEq0oMivIZPNZ/WGylGZe+Rfj37EAC5xiNZWcIywzQ5 T1Ql+ElSE9Xc7vPH3Q1mlGYX5QmUNaxiMGS4+3WlNhDZojrquVpRhL2z5AGcBaasDZzqZGgC3WP2R Am4blocldINshd/lt+GPRQZesjnGHNLtIuUnBfmjVJqT8jQgMjZFlSh0ipNuwtdd5q0gyElTIR/w1 Nfdmm+KOA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpqwg-0004yc-Jb; Thu, 17 Dec 2020 10:55:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpqwd-0004xt-Sb for linux-arm-kernel@merlin.infradead.org; Thu, 17 Dec 2020 10:55:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=Ycg1OWAhAt+ZzpKUE25E7HoWCVHWxaXFmMVVBcTRYoc=; b=NX0krpKMDNxEPEbp50YVfpAz4B hyMdM2+iQL70Wd2u931sbt7vRbCXKNXaBjRhXJptWC11dhxVFLsaBcKUDNVWwn5DtkuUar0yPhU3b 8xLaBCsCa5Agp8bQGosbLmujhoHo+gATn89UWeH1Ok+FZiMFDCFI/VKJJlnxFiGUdhRu/lAjI8ESE MdaoVigvRXpekClccOpK2+UWLGEjnjvCamelEi6uRV3r9VeL85PlTrXJiDz760jRD64NnT2mK6GQw t+80Xn9VhHbYMiTq3g/WumfWH+8VD+dyHACE8qhA+xB1DDsIm5fR23eG/WIOmQ52WiIe0PuYlbxSG THr/Gwow==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpqwZ-0004TP-58; Thu, 17 Dec 2020 10:55:35 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 9246D305C11; Thu, 17 Dec 2020 11:55:33 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 67014202395BD; Thu, 17 Dec 2020 11:55:33 +0100 (CET) Date: Thu, 17 Dec 2020 11:55:33 +0100 From: Peter Zijlstra To: Will Deacon Subject: Re: [PATCH v5 00/15] An alternative series for asymmetric AArch32 systems Message-ID: <20201217105533.GV3040@hirez.programming.kicks-ass.net> References: <20201208132835.6151-1-will@kernel.org> <20201215173645.GJ3040@hirez.programming.kicks-ass.net> <20201215185012.GA15566@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201215185012.GA15566@willie-the-truck> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Marc Zyngier , kernel-team@android.com, Vincent Guittot , Juri Lelli , Quentin Perret , Catalin Marinas , Johannes Weiner , linux-kernel@vger.kernel.org, Qais Yousef , Ingo Molnar , Li Zefan , Greg Kroah-Hartman , Tejun Heo , Suren Baghdasaryan , Morten Rasmussen , linux-arm-kernel@lists.infradead.org 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, Dec 15, 2020 at 06:50:12PM +0000, Will Deacon wrote: > On Tue, Dec 15, 2020 at 06:36:45PM +0100, Peter Zijlstra wrote: > > IOW, any (accidental or otherwise) trip through a 32bit helper, will > > destroy user state (the affinity mask: 0x3c). > > Yes, that's correct, and I agree that it's a rough edge. If you're happy > with the idea of adding an extra mask to make this work, then I can start > hacking that up Yeah, I'm afraid we'll have to, this asymmetric muck is only going to get worse from here on. Anyway, I think we can avoid adding another cpumask_t to task_struct and do with a cpumask_t * insteads. After all, for 'normal' tasks, the task_cpu_possible_mask() will be cpu_possible_mask and we don't need to carry anything extra. Only once we hit one of these assymetric ISA things, can the task allocate the additional cpumask and retain the full mask. > (although I doubt I'll get something out before the new > year at this point). Yeah, we're all about to shut down for a bit, I'll not be looking at email for 2 weeks either, so even if you send it, I might not see it until the next year. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel