Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755569Ab3FQRwL (ORCPT ); Mon, 17 Jun 2013 13:52:11 -0400 Received: from mail.skyhub.de ([78.46.96.112]:43967 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753997Ab3FQRuZ (ORCPT ); Mon, 17 Jun 2013 13:50:25 -0400 From: Borislav Petkov To: Linux EFI Cc: Matt Fleming , Matthew Garrett , X86 ML , LKML , Borislav Petkov Subject: [PATCH -v2 0/4] EFI 1:1 mapping Date: Mon, 17 Jun 2013 19:50:12 +0200 Message-Id: <1371491416-11037-1-git-send-email-bp@alien8.de> X-Mailer: git-send-email 1.8.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1446 Lines: 40 From: Borislav Petkov Hi all, this is just a snapshot of the current state of affairs. The patchset starts to boot successfully on real hardware now but we're far away from the coverage we'd like to have before we even consider upstreaming it. And yes, considering the sick f*ck EFI is, we're keeping the 1:1 mapping optional and off by default (you need to boot with "efi=1:1_map" to enable it). Matt has picked up 1/4 already so I'll drop it when it lands into -tip and so on... Thanks for any suggestions, as always. Borislav Petkov (4): efi: Convert runtime services function ptrs x86, cpa: Map in an arbitrary pgd x86, efi: Add an efi= kernel command line parameter x86, efi: Map runtime services 1:1 arch/x86/boot/compressed/eboot.c | 2 +- arch/x86/include/asm/efi.h | 81 ++++++++++----- arch/x86/include/asm/pgtable_types.h | 3 +- arch/x86/mm/pageattr.c | 82 ++++++++++++---- arch/x86/platform/efi/efi.c | 184 +++++++++++++++++++++++++++++------ arch/x86/platform/efi/efi_stub_64.S | 56 +++++++++++ include/linux/efi.h | 28 +++--- 7 files changed, 348 insertions(+), 88 deletions(-) -- 1.8.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/