Skip to content
Snippets Groups Projects
Select Git revision
  • 4b1669e8d1e4e6cb65b3b114fced6ca9bc39ddea
  • 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
    Dou Liyang authored and Thomas Gleixner committed
    There are three places which initialize the interrupt delivery modes:
    
    1) init_bsp_APIC() which is called early might setup the through-local-APIC
       virtual wire mode on non SMP systems.
    
    2) In an SMP-capable system, native_smp_prepare_cpus() tries to switch to
       symmetric I/O model.
    
    3) In UP system with UP_LATE_INIT=y, the local APIC and I/O APIC are set up
       in smp_init().
    
    There is no technical reason to make these initializations at random places
    and run the kernel with the potentially wrong mode through the early boot
    stage, but it has a problematic side effect: The late switch to symmetric
    I/O mode causes dump-capture kernel to hang when the kernel command line
    option 'notsc' is active.
    
    Provide a new function to unify that three positions. Preparatory patch to
    initialize an interrupt mode directly.
    
    Signed-off-by: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Cc: yinghai@kernel.org
    Cc: bhe@redhat.com
    Link: https://lkml.kernel.org/r/1505293975-26005-3-git-send-email-douly.fnst@cn.fujitsu.com
    4b1669e8
    History
    Name Last commit Last update
    ..