1. 14 Oct, 2009 3 commits
    • Cyrill Gorcunov's avatar
      x86, apic: Limit apic dumping, introduce new show_lapic= setup option · 2626eb2b
      Cyrill Gorcunov authored
      In case if a system has a large number of cpus printing apics
      contents may consume a long time period.
      
      We limit such an output by 1 apic by default. But to have an
      ability to see all apics or some part of them we introduce
      "show_lapic" setup option which allow us to limit/unlimit the
      number of APICs being dumped.
      
      Example: apic=debug show_lapic=5, or apic=debug show_lapic=all
      
      Also move apic_verbosity checking upper that way so helper routines
      do not need to inspect it at all.
      Suggested-by: default avatarYinghai Lu <yinghai@kernel.org>
      Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
      Cc: yinghai@kernel.org
      Cc: macro@linux-mips.org
      LKML-Reference: <20091013201022.926793122@openvz.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      2626eb2b
    • Cyrill Gorcunov's avatar
      x86, apic: Use apic noop driver · a933c618
      Cyrill Gorcunov authored
      In case if apic were disabled we may use the whole apic NOOP driver
      instead of sparse poking the some functions in apic driver.
      
      Also NOOP would catch any inappropriate apic operation calls (not
      just read/write).
      Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
      Cc: yinghai@kernel.org
      Cc: macro@linux-mips.org
      LKML-Reference: <20091013201022.747817361@openvz.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a933c618
    • Cyrill Gorcunov's avatar
      x86, apic: Introduce the NOOP apic driver · 9844ab11
      Cyrill Gorcunov authored
      Introduce NOOP APIC driver. We should use it in case if apic was
      disabled due to hardware of software/firmware problems (including
      user requested to disable it case).
      
      The driver is attempting to catch any inappropriate apic operation
      call with warning issue.
      
      Also it is possible to use some apic operation like IPI calls,
      read/write without checking for apic presence which should make
      callers code easier.
      Signed-off-by: default avatarCyrill Gorcunov <gorcunov@openvz.org>
      Cc: yinghai@kernel.org
      Cc: macro@linux-mips.org
      LKML-Reference: <20091013201022.534682104@openvz.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      9844ab11
  2. 13 Oct, 2009 18 commits
  3. 12 Oct, 2009 19 commits