Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4244140yba; Wed, 17 Apr 2019 07:35:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzPQpXykOZFgCrZ0vru8TLdiih+uUSzbmUhjSAxnp+7TewbmBuaF8CS2efaddSZnJNAlOEO X-Received: by 2002:a62:a513:: with SMTP id v19mr89065730pfm.212.1555511742579; Wed, 17 Apr 2019 07:35:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555511742; cv=none; d=google.com; s=arc-20160816; b=Gx5PALUKbaMyOLeTdsXstxZiyVDxFB8Bt+kSWNC5NypvA825ISjZ9oqSBo4mEuJlG9 Ruto+YLvcaBRG8x6Sfae6KlJPafRXAXtf9pUW0wqpDxJIfqM2Xs4QZWgkmF361ZYTeWy tMsPYfl/IVl8IihcziNktfzKpNP3OTGXEVlI4gWLmczR7RuIyWHWQ4XbVZBElFSDuh3T 6bewcloJKIt9FouqNd46hhitBwlVCkB0wGRA09F0p/XNF1tDbFuywLmYs3D7IDkfT1SX XOPkbpL6rxcbU1aV7u9Gzt7Q8DVN33TpA1UP01szSOrY/zct8g+oTW0JzuRTQWxlvVa8 cMZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UDi1VBi3Er+JacX8csYXUb+XVOVabealOpPN8Cz72S4=; b=yhFGEwk5PpAR+jpq94AUCAO+4FS74DUtULs0sc2ZubP6mkiH8HTO++2OAMH3NzGXdn aTbda+OzVxaJJQq+28N4c50Rkczuu1oRnadTiTOVrPviRQ9cgv1hanBpSYCxyo3pxuIE m6dLsN44nZ17/V/S/4h0qfTFUyyj9WhEv5Ov+EPcb6/TKoT4tWmF2YZQhbwZK1k4IYzf K2X9MRU9jqQeMXbaRYKUfcbJY6vG3/O7hsvoStnOnR3Fo87+60xWAK4H1wdj8xiw5tVg YM6xSt/mozMYycYsF/Nf62F7qrV/H/ASo5Rpvnn/dekY77eTZS6xD7TlzoPWslFAjBF8 lkBQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f91si26362232plb.378.2019.04.17.07.35.27; Wed, 17 Apr 2019 07:35:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732589AbfDQOdb (ORCPT + 99 others); Wed, 17 Apr 2019 10:33:31 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:45810 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732557AbfDQOd3 (ORCPT ); Wed, 17 Apr 2019 10:33:29 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 96F8BA78; Wed, 17 Apr 2019 07:33:28 -0700 (PDT) Received: from [10.1.196.69] (e112269-lin.cambridge.arm.com [10.1.196.69]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E33E03F557; Wed, 17 Apr 2019 07:33:24 -0700 (PDT) Subject: Re: [PATCH v8 00/20] Convert x86 & arm64 to use generic page walk To: Dave Hansen , linux-mm@kvack.org, Linus Torvalds Cc: Mark Rutland , Dave Hansen , Arnd Bergmann , Ard Biesheuvel , Peter Zijlstra , Catalin Marinas , x86@kernel.org, Will Deacon , linux-kernel@vger.kernel.org, =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Ingo Molnar , Borislav Petkov , Andy Lutomirski , "H. Peter Anvin" , James Morse , Thomas Gleixner , Andrew Morton , linux-arm-kernel@lists.infradead.org, "Liang, Kan" References: <20190403141627.11664-1-steven.price@arm.com> <4e804c87-1788-8903-ccc9-55953aa6da36@arm.com> <3b9561d0-3bde-ef7a-0313-c2cc6216f94d@intel.com> From: Steven Price Message-ID: <3acbf061-8c97-55eb-f4b6-163a33ea4d73@arm.com> Date: Wed, 17 Apr 2019 15:28:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <3b9561d0-3bde-ef7a-0313-c2cc6216f94d@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/04/2019 15:44, Dave Hansen wrote: > On 4/10/19 7:56 AM, Steven Price wrote: >> Gentle ping: who can take this? Is there anything blocking this series? > > First of all, I really appreciate that you tried this. Every open-coded > page walk has a set of common pitfalls, but is pretty unbounded in what > kinds of bugs it can contain. I think this at least gets us to the > point where some of those pitfalls won't happen. That's cool, but I'm a > worried that it hasn't gotten easier in the end. My plan was to implement the generic infrastructure and then work to remove the per-arch code for ptdump debugfs where possible. This patch series doesn't actually get that far because I wanted to get some confidence that the general approach would be accepted. > Linus also had some strong opinions in the past on how page walks should > be written. He needs to have a look before we go much further. Fair enough. I'll post the initial work I've done on unifying the x86/arm64 ptdump code - the diffstat is a bit nicer on that - but there's still work to be done so I'm posting just as an RFC. Thanks, Steve