Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
x2apic_uv_x.c File Reference
#include <linux/cpumask.h>
#include <linux/hardirq.h>
#include <linux/proc_fs.h>
#include <linux/threads.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/sched.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/cpu.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/pci.h>
#include <linux/kdebug.h>
#include <linux/delay.h>
#include <linux/crash_dump.h>
#include <asm/uv/uv_mmrs.h>
#include <asm/uv/uv_hub.h>
#include <asm/current.h>
#include <asm/pgtable.h>
#include <asm/uv/bios.h>
#include <asm/uv/uv.h>
#include <asm/apic.h>
#include <asm/ipi.h>
#include <asm/smp.h>
#include <asm/x86_init.h>
#include <asm/emergency-restart.h>
#include <asm/nmi.h>

Go to the source code of this file.

Data Structures

struct  redir_addr
 

Macros

#define UVH_NMI_MMR   UVH_SCRATCH5
 
#define UVH_NMI_MMR_CLEAR   (UVH_NMI_MMR + 8)
 
#define UV_NMI_PENDING_MASK   (1UL << 63)
 
#define PR_DEVEL(fmt, args...)   pr_devel("%s: " fmt, __func__, args)
 
#define DEST_SHIFT   UVH_RH_GAM_ALIAS210_REDIRECT_CONFIG_0_MMR_DEST_BASE_SHFT
 

Enumerations

enum  map_type { map_wb, map_uc, MAP__FUNCTION = 0, MAP__VARIABLE }
 

Functions

 DEFINE_PER_CPU (unsigned long, cpu_last_nmi_count)
 
 DEFINE_PER_CPU (int, x2apic_extra_bits)
 
 EXPORT_SYMBOL_GPL (uv_min_hub_revision_id)
 
 EXPORT_SYMBOL_GPL (uv_apicid_hibits)
 
enum uv_system_type get_uv_system_type (void)
 
int is_uv_system (void)
 
 EXPORT_SYMBOL_GPL (is_uv_system)
 
 DEFINE_PER_CPU (struct uv_hub_info_s, __uv_hub_info)
 
 EXPORT_PER_CPU_SYMBOL_GPL (__uv_hub_info)
 
 EXPORT_SYMBOL_GPL (uv_blade_info)
 
 EXPORT_SYMBOL_GPL (uv_node_to_blade)
 
 EXPORT_SYMBOL_GPL (uv_cpu_to_blade)
 
 EXPORT_SYMBOL_GPL (uv_possible_blades)
 
 EXPORT_SYMBOL (sn_rtc_cycles_per_second)
 
 late_initcall (uv_init_heartbeat)
 
int uv_set_vga_state (struct pci_dev *pdev, bool decode, unsigned int command_bits, u32 flags)
 
void __cpuinit uv_cpu_init (void)
 
int uv_handle_nmi (unsigned int reason, struct pt_regs *regs)
 
void uv_register_nmi_notifier (void)
 
void uv_nmi_init (void)
 
void __init uv_system_init (void)
 
 apic_driver (apic_x2apic_uv_x)
 

Variables

int uv_min_hub_revision_id
 
unsigned int uv_apicid_hibits
 
struct uv_blade_info * uv_blade_info
 
shortuv_node_to_blade
 
shortuv_cpu_to_blade
 
short uv_possible_blades
 
unsigned long sn_rtc_cycles_per_second
 

Macro Definition Documentation

Definition at line 418 of file x2apic_uv_x.c.

#define PR_DEVEL (   fmt,
  args... 
)    pr_devel("%s: " fmt, __func__, args)

Definition at line 50 of file x2apic_uv_x.c.

#define UV_NMI_PENDING_MASK   (1UL << 63)

Definition at line 45 of file x2apic_uv_x.c.

#define UVH_NMI_MMR   UVH_SCRATCH5

Definition at line 43 of file x2apic_uv_x.c.

#define UVH_NMI_MMR_CLEAR   (UVH_NMI_MMR + 8)

Definition at line 44 of file x2apic_uv_x.c.

Enumeration Type Documentation

enum map_type
Enumerator:
map_wb 
map_uc 
MAP__FUNCTION 
MAP__VARIABLE 

Definition at line 444 of file x2apic_uv_x.c.

Function Documentation

apic_driver ( apic_x2apic_uv_x  )
DEFINE_PER_CPU ( unsigned  long,
cpu_last_nmi_count   
)
DEFINE_PER_CPU ( int  ,
x2apic_extra_bits   
)
DEFINE_PER_CPU ( struct uv_hub_info_s  ,
__uv_hub_info   
)
EXPORT_PER_CPU_SYMBOL_GPL ( __uv_hub_info  )
EXPORT_SYMBOL ( sn_rtc_cycles_per_second  )
EXPORT_SYMBOL_GPL ( uv_min_hub_revision_id  )
EXPORT_SYMBOL_GPL ( uv_apicid_hibits  )
EXPORT_SYMBOL_GPL ( is_uv_system  )
EXPORT_SYMBOL_GPL ( uv_blade_info  )
EXPORT_SYMBOL_GPL ( uv_node_to_blade  )
EXPORT_SYMBOL_GPL ( uv_cpu_to_blade  )
EXPORT_SYMBOL_GPL ( uv_possible_blades  )
enum uv_system_type get_uv_system_type ( void  )

Definition at line 159 of file x2apic_uv_x.c.

int is_uv_system ( void  )

Definition at line 164 of file x2apic_uv_x.c.

late_initcall ( uv_init_heartbeat  )
void __cpuinit uv_cpu_init ( void  )

Definition at line 650 of file x2apic_uv_x.c.

int uv_handle_nmi ( unsigned int  reason,
struct pt_regs regs 
)

Definition at line 665 of file x2apic_uv_x.c.

void uv_nmi_init ( void  )

Definition at line 712 of file x2apic_uv_x.c.

void uv_register_nmi_notifier ( void  )

Definition at line 706 of file x2apic_uv_x.c.

int uv_set_vga_state ( struct pci_dev pdev,
bool  decode,
unsigned int  command_bits,
u32  flags 
)

Definition at line 623 of file x2apic_uv_x.c.

void __init uv_system_init ( void  )

Definition at line 724 of file x2apic_uv_x.c.

Variable Documentation

unsigned long sn_rtc_cycles_per_second

Definition at line 185 of file x2apic_uv_x.c.

unsigned int uv_apicid_hibits

Definition at line 57 of file x2apic_uv_x.c.

struct uv_blade_info* uv_blade_info

Definition at line 173 of file x2apic_uv_x.c.

short* uv_cpu_to_blade

Definition at line 179 of file x2apic_uv_x.c.

int uv_min_hub_revision_id

Definition at line 55 of file x2apic_uv_x.c.

short* uv_node_to_blade

Definition at line 176 of file x2apic_uv_x.c.

short uv_possible_blades

Definition at line 182 of file x2apic_uv_x.c.