Skip to content
Snippets Groups Projects
Select Git revision
  • 55d2d0ad2fb4325f615d1950486fbc5e6fba1769
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

arch

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Chunyu Hu authored and Thomas Gleixner committed
    On a secondary, idt is first loaded in cpu_init() with load_current_idt(),
    i.e. no exceptions can be handled before that point.
    
    The conversion of WARN() to use UD requires the IDT being loaded earlier as
    any warning between start_secondary() and load_curren_idt() in cpu_init()
    will result in an unhandled @UD exception and therefore fail the bringup of
    the CPU.
    
    Install the IDT handlers right in start_secondary() before calling cpu_init().
    
    [ tglx: Massaged changelog ]
    
    Fixes: 9a93848f ("x86/debug: Implement __WARN() using UD0")
    Signed-off-by: default avatarChunyu Hu <chuhu@redhat.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: stable@vger.kernel.org
    Cc: peterz@infradead.org
    Cc: bp@alien8.de
    Cc: rostedt@goodmis.org
    Cc: luto@kernel.org
    Link: https://lkml.kernel.org/r/1511792499-4073-1-git-send-email-chuhu@redhat.com
    55d2d0ad
    History
    Name Last commit Last update
    ..