Linux Kernel
3.7.1
|
#include <linux/numa.h>
#include <asm/types.h>
#include <asm/percpu.h>
#include <asm/sn/types.h>
#include <asm/sn/sn_cpuid.h>
Go to the source code of this file.
Data Structures | |
struct | sn_hub_info_s |
Macros | |
#define | MAX_TIO_NODES MAX_NUMNODES |
#define | MAX_COMPACT_NODES (MAX_NUMNODES + MAX_TIO_NODES) |
#define | MAX_NUMALINK_NODES 16384 |
#define | sn_hub_info (&__get_cpu_var(__sn_hub_info)) |
#define | is_shub2() (sn_hub_info->shub2) |
#define | is_shub1() (sn_hub_info->shub2 == 0) |
#define | enable_shub_wars_1_1() (sn_hub_info->shub_1_1_found) |
#define | sn_cnodeid_to_nasid (&__get_cpu_var(__sn_cnodeid_to_nasid[0])) |
Functions | |
DECLARE_PER_CPU (struct sn_hub_info_s, __sn_hub_info) | |
DECLARE_PER_CPU (short, __sn_cnodeid_to_nasid[MAX_COMPACT_NODES]) | |
void | sn_flush_all_caches (long addr, long bytes) |
bool | sn_cpu_disable_allowed (int cpu) |
Variables | |
u8 | sn_partition_id |
u8 | sn_system_size |
u8 | sn_sharing_domain_size |
u8 | sn_region_size |
#define enable_shub_wars_1_1 | ( | ) | (sn_hub_info->shub_1_1_found) |
#define is_shub1 | ( | ) | (sn_hub_info->shub2 == 0) |
#define is_shub2 | ( | ) | (sn_hub_info->shub2) |
#define MAX_COMPACT_NODES (MAX_NUMNODES + MAX_TIO_NODES) |
#define MAX_TIO_NODES MAX_NUMNODES |
#define sn_cnodeid_to_nasid (&__get_cpu_var(__sn_cnodeid_to_nasid[0])) |
#define sn_hub_info (&__get_cpu_var(__sn_hub_info)) |
DECLARE_PER_CPU | ( | struct sn_hub_info_s | , |
__sn_hub_info | |||
) |
DECLARE_PER_CPU | ( | short | , |
__sn_cnodeid_to_nasid | [MAX_COMPACT_NODES] | ||
) |
sn_flush_all_caches - flush a range of address from all caches (incl. L4) : identity mapped region 7 address to start flushing : number of bytes to flush
Flush a range of addresses from all caches including L4. All addresses fully or partially contained within to + are flushed from all caches.