From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751450AbeCLJC0 (ORCPT ); Mon, 12 Mar 2018 05:02:26 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33984 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751248AbeCLJCY (ORCPT ); Mon, 12 Mar 2018 05:02:24 -0400 X-Google-Smtp-Source: AG47ELv9HDBEUuOWtH7az3la5Zcm78cDWv3Q7UX9c5f9VCrGKIppwbVq6OMYOCGh7H9GJPm5TOLk6w== Date: Mon, 12 Mar 2018 10:02:20 +0100 From: Ingo Molnar To: Ard Biesheuvel , Andy Lutomirski Cc: linux-efi@vger.kernel.org, Thomas Gleixner , Sai Praneeth , linux-kernel@vger.kernel.org, "Lee, Chun-Yi" , Borislav Petkov , Tony Luck , Andy Lutomirski , "Michael S . Tsirkin" , Bhupesh Sharma , Ricardo Neri , Ravi Shankar Subject: Re: [PATCH 2/5] x86/efi: Replace efi_pgd with efi_mm.pgd Message-ID: <20180312090220.lmohpvj62v7l2qsc@gmail.com> References: <20180312084500.10764-1-ard.biesheuvel@linaro.org> <20180312084500.10764-3-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180312084500.10764-3-ard.biesheuvel@linaro.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ard Biesheuvel wrote: > From: Sai Praneeth > > Since the previous patch added support for efi_mm, let's handle efi_pgd > through efi_mm and remove global variable efi_pgd. > > Signed-off-by: Sai Praneeth Prakhya > Cc: "Lee, Chun-Yi" > Cc: Borislav Petkov > Cc: Tony Luck > Cc: Andy Lutomirski > Cc: Michael S. Tsirkin > Cc: Bhupesh Sharma > Cc: Ricardo Neri > Cc: Ravi Shankar > Tested-by: Bhupesh Sharma > Reviewed-by: Matt Fleming > Signed-off-by: Ard Biesheuvel > --- > arch/x86/platform/efi/efi_64.c | 17 ++++++++--------- > 1 file changed, 8 insertions(+), 9 deletions(-) > > diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c > index 0045efe9947b..8881e601c32d 100644 > --- a/arch/x86/platform/efi/efi_64.c > +++ b/arch/x86/platform/efi/efi_64.c > @@ -190,8 +190,6 @@ void __init efi_call_phys_epilog(pgd_t *save_pgd) > early_code_mapping_set_exec(0); > } > > -static pgd_t *efi_pgd; > - Hm, so there's some interaction here with: 116fef640859: x86/mm/dump_pagetables: Add the EFI pagetable to the debugfs 'page_tables' directory which is in tip:x86/mm. Could you please resolve that conflict? I'll sort out the topic branches afterwards. Thanks, Ingo