From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f200.google.com (mail-qk0-f200.google.com [209.85.220.200]) by kanga.kvack.org (Postfix) with ESMTP id C80CE6B1D03 for ; Tue, 21 Aug 2018 01:20:12 -0400 (EDT) Received: by mail-qk0-f200.google.com with SMTP id w8-v6so16930965qkf.8 for ; Mon, 20 Aug 2018 22:20:12 -0700 (PDT) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com. [66.111.4.25]) by mx.google.com with ESMTPS id d5-v6si6682078qkf.371.2018.08.20.22.20.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Aug 2018 22:20:11 -0700 (PDT) Date: Tue, 21 Aug 2018 07:20:00 +0200 From: Greg KH Subject: Re: [PATCH] x86/mm: Simplify p[g4um]d_page() macros Message-ID: <20180821052000.GB23615@kroah.com> References: <20180820203705.16212-1-andi@firstfloor.org> <20180820203705.16212-2-andi@firstfloor.org> <20180820220422.7qrayn7wivmejr24@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180820220422.7qrayn7wivmejr24@two.firstfloor.org> Sender: owner-linux-mm@kvack.org List-ID: To: Andi Kleen Cc: Linus Torvalds , stable , Andi Kleen , Tom Lendacky , Alexander Potapenko , Andrey Ryabinin , Andrew Lutomirski , Arnd Bergmann , Borislav Petkov , Brijesh Singh , Dave Young , Dmitry Vyukov , Jonathan Corbet , Konrad Rzeszutek Wilk , Larry Woodman , Matt Fleming , "Michael S. Tsirkin" , Paolo Bonzini , Peter Zijlstra , Radim =?utf-8?B?S3LEjW3DocWZ?= , Rik van Riel , Toshi Kani , kasan-dev , KVM list , linux-arch , "open list:DOCUMENTATION" , linux-efi , linux-mm , Ingo Molnar On Mon, Aug 20, 2018 at 03:04:23PM -0700, Andi Kleen wrote: > On Mon, Aug 20, 2018 at 02:57:39PM -0700, Linus Torvalds wrote: > > On Mon, Aug 20, 2018 at 1:37 PM Andi Kleen wrote: > > > > > > From: Andi Kleen > > > > > > Create a pgd_pfn() macro similar to the p[4um]d_pfn() macros and then > > > use the p[g4um]d_pfn() macros in the p[g4um]d_page() macros instead of > > > duplicating the code. > > > > When doing backports, _please_ explicitly specify which commit this is > > upstream too. > > Ok. > > > > > Also, the original upstream patch is credited to Tom Lendacky. > > Okay. > > > > > Or is there something I'm not seeing, and this is different from > > commit fd7e315988b7 ("x86/mm: Simplify p[g4um]d_page() macros")? > > No it's Tom's patch just ported to the older tree with some minor > changes. I just fat fingered it while doing the commit Ok, I've fixed this up by hand now, please be more careful next time. greg k-h