2021-07-14 00:44:10 +02:00
|
|
|
#ifndef _ASM_E16C_H_
|
|
|
|
#define _ASM_E16C_H_
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Machine (based on E16C processor) topology:
|
|
|
|
* E16C is NUMA system on distributed memory and can have several nodes.
|
|
|
|
* Each node can have some memory (faster to access) and max 16 CPUs (cores)
|
|
|
|
* Node number is the same as chip-processor number
|
|
|
|
* Some nodes (CPUs) can be without memory
|
|
|
|
* LAPIC cluster number is the same as node number
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
struct pt_regs;
|
|
|
|
|
|
|
|
extern void boot_e16c_setup_arch(void);
|
|
|
|
extern void e16c_setup_machine(void);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define E16C_NR_NODE_CPUS 16
|
|
|
|
#define E16C_MAX_NR_NODE_CPUS 16
|
|
|
|
|
|
|
|
#define E16C_NODE_IOLINKS 1
|
|
|
|
|
2022-01-17 12:36:48 +01:00
|
|
|
#define E16C_PCICFG_AREA_PHYS_BASE E2S_PCICFG_AREA_PHYS_BASE
|
|
|
|
#define E16C_PCICFG_AREA_SIZE E2S_PCICFG_AREA_SIZE
|
2021-07-14 00:44:10 +02:00
|
|
|
|
2022-01-17 12:36:48 +01:00
|
|
|
#define E16C_NSR_AREA_PHYS_BASE E2S_NSR_AREA_PHYS_BASE
|
2021-07-14 00:44:10 +02:00
|
|
|
|
2021-07-14 00:45:56 +02:00
|
|
|
#define E16C_SIC_MC_SIZE 0x60
|
|
|
|
#define E16C_SIC_MC_COUNT 8
|
2021-07-14 00:44:10 +02:00
|
|
|
|
|
|
|
#define E16C_L3_CACHE_SHIFT E8C_L3_CACHE_SHIFT
|
|
|
|
#define E16C_L3_CACHE_BYTES E8C_L3_CACHE_BYTES
|
|
|
|
|
|
|
|
#endif /* _ASM_E16C_H_ */
|