lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1557219151-32212-1-git-send-email-kernelfans@gmail.com>
Date:   Tue,  7 May 2019 16:52:29 +0800
From:   Pingfan Liu <kernelfans@...il.com>
To:     x86@...nel.org
Cc:     Pingfan Liu <kernelfans@...il.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
        "H. Peter Anvin" <hpa@...or.com>,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Cao jin <caoj.fnst@...fujitsu.com>, Wei Huang <wei@...hat.com>,
        Chao Fan <fanc.fnst@...fujitsu.com>,
        Nicolai Stange <nstange@...e.de>,
        Dou Liyang <douly.fnst@...fujitsu.com>,
        linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] x86/boot: support to handle exception in early boot

The boot code becomes a little complicated, and hits some bugs, e.g.
Commit 3a63f70bf4c3a ("x86/boot: Early parse RSDP and save it in
boot_params") broke kexec boot on EFI systems.

There is few hint when bug happens. Catching the exception and printing
message can give a immediate help, instead of adding more debug_putstr() to
narraw down the problem.

Although no functional dependency, but in order to show message, the early
console should be ready. I have sent a separate series:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1992923.html
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1992919.html

Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: Borislav Petkov <bp@...en8.de>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Cao jin <caoj.fnst@...fujitsu.com>
Cc: Wei Huang <wei@...hat.com>
Cc: Chao Fan <fanc.fnst@...fujitsu.com>
Cc: Nicolai Stange <nstange@...e.de>
Cc: Dou Liyang <douly.fnst@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org

Pingfan Liu (2):
  x86/idt: split out idt routines
  x86/boot: set up idt for very early boot stage

 arch/x86/boot/compressed/head_64.S | 11 +++++++
 arch/x86/boot/compressed/misc.c    | 61 ++++++++++++++++++++++++++++++++++++
 arch/x86/include/asm/idt.h         | 64 ++++++++++++++++++++++++++++++++++++++
 arch/x86/kernel/idt.c              | 58 +---------------------------------
 4 files changed, 137 insertions(+), 57 deletions(-)
 create mode 100644 arch/x86/include/asm/idt.h

-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ