Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp514740imm; Mon, 1 Oct 2018 13:45:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV63JY9ooNsDGxlQ1o5DyWliwPrwknxfuzOoT4iR9Xo+qTqke5J0h+gC/Q65P1EtuYmRNn21s X-Received: by 2002:a63:78cc:: with SMTP id t195-v6mr11581839pgc.329.1538426744566; Mon, 01 Oct 2018 13:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538426744; cv=none; d=google.com; s=arc-20160816; b=XTUlhKPckI9MP6AOzkwVKtHNotSs4Il3mDpPJIN9OSTFr4Mo/SDp6aLAuUP1oGLzCb V3N4+1z5KxVf5mso6AqtjgEjhYb+RnIq9xy31mplDOq1yCdFNqI+15Q2HzECDAXkQ/T6 20Ozsrj+ADgqu4ak/UujMmk82aQFQXmebwOyfF79dII+VlD7sv2xulQuPALEMMpwxS5U SnZRZSPlYBZq3RUbbx3YXkrhwowmVg3kbm87SGpbv7GlmRWLusrPUEmIMsSzp4FV8Suy p688Ff58xOIEcqX/+kdq3Q4Vazh2NKL9JmRe2Ht+25U+MYZS7yHaa5Jlfz8w4R+zfcJi 6Bnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=sAozqltruqLaPW3vEy/GQ2e78SQygReVUHoN3pE32f4=; b=GHD96eqHIkjNkLP4vOp2jfIocHWcQittZ5ikkIYe4PcfGk10kgn2SYQQkvUZybv8Hx O68ukGY7e8DKX0JTL6WpFDuIuij2s3EQiOHMUAwnwc5YbI+MBX7n14guUXXc1O7VY0dN z4wJArs0FgCRhUp8Nlbn2iYxd3Yt+wEThBUa0VM04IwG062pzpRcvQrZuDvd+c8lJPih BkG1n+Gx2TLU0vVeytBqfvNwori31s6vfPB9bZl9jRDroru2kLNToDC/U1HV/lExealu ekwqETD1pxZgD4EVEKwOQuukV3p7B6F0ec5atwoufRAlUyhphu86tp9Nf8PbGo7Mr1IS jrAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=BRZGAbFz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=android.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4-v6si13249273pgm.591.2018.10.01.13.45.29; Mon, 01 Oct 2018 13:45:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@android.com header.s=20161025 header.b=BRZGAbFz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=android.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbeJBDYm (ORCPT + 99 others); Mon, 1 Oct 2018 23:24:42 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44020 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725936AbeJBDYm (ORCPT ); Mon, 1 Oct 2018 23:24:42 -0400 Received: by mail-pf1-f194.google.com with SMTP id p24-v6so1586857pff.10 for ; Mon, 01 Oct 2018 13:45:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=sAozqltruqLaPW3vEy/GQ2e78SQygReVUHoN3pE32f4=; b=BRZGAbFzzy2ZBbhcof1z/k0UjdbadnDoG8+JN9AnpXYcqiPXTOnxqFrTmvSvz9OdE+ L8ESI01hUsS1/ZVAFToxKTjsrKP9DQdhe09tc9RZ3wI6UQEdN6V7+4v34z4E3jEtdFqn qt3kHUuZcN/SztJETmI6Yz831gwDt9pmnAJP5eJiLKe1rOA7fIthNPF0dfrRxidZHxL0 I68ExO+1bwJfcphKWBS5VHRS3SSSoMoTThcgGO/vxLicz74Dey/HxQlLeuo+8NfqGaTL B5WWuM6F5f57taDhPHxgMst55n43A9WxnhH53ehB6tOMmkD1qEN3ovCd3cKeN8E+xa/0 TZlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=sAozqltruqLaPW3vEy/GQ2e78SQygReVUHoN3pE32f4=; b=LDniffi61mjp9FADrbnf8Q86eL8xoEeL/SicGZE+t/WAoGRgD6ipRaxQ01Rj5Ns3Rz zVc6Fg75XFt/5ze0KGcfQqbvZe5d6MTbSS12BcHxn5ynh0hQ/HonGBcN4VAxI4wMezRi Zv9HjF9AYBnmTaP327DpC7entEdVes3UePucIVauOId7TqQDW4vU7FJnRWzbmNxkgOn0 +gJS2xNQw23T2pG9rb+8DVEG1H9DkCbQoBtIgMZy2ymHdjxJN4QtDIMeo2IjTedlfdZn Sxl+S1xapG67H8R1ZPjuFtbDfU604Ei4CfNMVbUBDcVGjEcFsSGRenevcN9L3fKbzXpU WXdw== X-Gm-Message-State: ABuFfog+X1V234RzUG/unxuhXZUyXBUiFRQ2uRJ1tR16sd3x+7ygd6Cr oWfsVfnbYoH6eRlMS53uRqzP6g== X-Received: by 2002:a63:61d0:: with SMTP id v199-v6mr11846771pgb.242.1538426705122; Mon, 01 Oct 2018 13:45:05 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([2620:0:1000:1612:b4fb:6752:f21f:3502]) by smtp.googlemail.com with ESMTPSA id z5-v6sm19067649pfh.83.2018.10.01.13.44.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Oct 2018 13:45:04 -0700 (PDT) Subject: Re: RESEND and REBASE arm+arm64+aarch32 vdso rewrite To: John Stultz Cc: lkml , James Morse , Russell King , Catalin Marinas , Will Deacon , Andy Lutomirski , Dmitry Safonov , Mark Rutland , Laura Abbott , Kees Cook , Ard Biesheuvel , Andy Gross , Kevin Brodsky , Andrew Pinski , Thomas Gleixner , linux-arm-kernel , Jeremy Linton References: <20181001175845.168430-1-salyzyn@android.com> From: Mark Salyzyn Message-ID: <8c09a380-7bc8-a353-aeb7-6591e6c57f68@android.com> Date: Mon, 1 Oct 2018 13:44:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/01/2018 11:49 AM, John Stultz wrote: > On Mon, Oct 1, 2018 at 10:58 AM, Mark Salyzyn wrote: >> Last sent 23 Nov 2016. >> >> The following 23 patches are rebased and resent, and represent a >> rewrite of the arm and arm64 vDSO into C, adding support for arch32 >> (32-bit user space hosted 64-bit kernels) and into a common library >> that other (arm, or non-arm) architectures may utilize. > So I feel like this has gone around a few times w/o much comment from > the arm/arm64 maintainers. I'm not sure if there's a reason? I am "forming an opinion"(tm) that ARM is not interested in any work on 32 bit arm architectures. They have no manpower that they are willing to devote to this. Despite the gain of 0.4% for screen-on battery life, where Android has a mix of 64 and 32 bit applications, thus still relevant _today_ on 64 bit architectures (providing vDSO32 for 32-bit applications). > I worry part of the issue is the scope of this patch set is a little > unwieldy (covering two architectures + generic code) might leave > maintainers thinking/hoping someone else should review it. Original was submitted by ARM author as a complete patch series. Failed, so I took it over and have broken them up into 5 logical groups of adjustments to divide and conquer. Was submitted one group at a time, out of eventually 5, with more than a month between them with no up-streaming action. They were reworked based on comments and split into smaller pieces (the first 12 were a much smaller set for example). Over the years (yes, it has been years) I have settled on resending the 23 patches, still has 5 groups, and each individual patch is tested one at a time, so they can be taken individually from each set. ARM has complained that they want them all at one time because individually they represent more work. So the whole set is here ready to go. > > It seems the patchset is already somewhat broken up into separate > sets, so I might recommend picking just one area and focus on > upstreaming that first. Maybe the in-arch cleanups for arm and then > arm64 and then maybe do the move to lib? They are in set-order, The first 12 can be taken one at a time to modernize arm so that it is up-to-date with the assembler code for arm64. More or less the order you just outlined. TahDah :-) -- Mark