/usr/src/linux-headers-5.15.0-190/arch/powerpc/include/asm
NameSizeModeActions
book3s/-0755rm
nohash/-0755rm
vdso/-0755rm
8xx_immap.h140990644editdlrm
accounting.h9080644editdlrm
agp.h5250644editdlrm
archrandom.h8380644editdlrm
asm-compat.h18820644editdlrm
asm-const.h4680644editdlrm
asm-offsets.h350644editdlrm
asm-prototypes.h51300644editdlrm
async_tx.h9080644editdlrm
atomic.h142670644editdlrm
backlight.h11150644editdlrm
barrier.h39770644editdlrm
bitops.h79130644editdlrm
bootx.h11420644editdlrm
bpf_perf_event.h2330644editdlrm
btext.h10060644editdlrm
bug.h40900644editdlrm
cache.h28880644editdlrm
cacheflush.h38510644editdlrm
cell-pmu.h34960644editdlrm
cell-regs.h97990644editdlrm
checksum.h57230644editdlrm
clocksource.h1850644editdlrm
cmpxchg.h122800644editdlrm
code-patching-asm.h3970644editdlrm
code-patching.h54430644editdlrm
compat.h33040644editdlrm
context_tracking.h2450644editdlrm
copro.h5930644editdlrm
cpm.h250644editdlrm
cpm1.h217110644editdlrm
cpm2.h495980644editdlrm
cpufeature.h9980644editdlrm
cpuidle.h34070644editdlrm
cputable.h232110644editdlrm
cputhreads.h38560644editdlrm
cputime.h30690644editdlrm
cpu_has_feature.h13390644editdlrm
cpu_setup_power.h5070644editdlrm
crashdump-ppc64.h6240644editdlrm
current.h6800644editdlrm
dbdma.h38090644editdlrm
dbell.h40250644editdlrm
dcr-generic.h9300644editdlrm
dcr-mmio.h10260644editdlrm
dcr-native.h38590644editdlrm
dcr-regs.h58460644editdlrm
dcr.h21080644editdlrm
debug.h18860644editdlrm
delay.h32970644editdlrm
device.h10160644editdlrm
disassemble.h21890644editdlrm
dma-direct.h3910644editdlrm
dma.h107250644editdlrm
drmem.h29700644editdlrm
dtl.h15150644editdlrm
dt_cpu_ftrs.h7560644editdlrm
edac.h11050644editdlrm
eeh.h154780644editdlrm
eeh_event.h8260644editdlrm
ehv_pic.h9630644editdlrm
elf.h62830644editdlrm
elfnote.h5270644editdlrm
emergency-restart.h430644editdlrm
emulated_ops.h20720644editdlrm
epapr_hcalls.h168270644editdlrm
exception-64e.h57850644editdlrm
exception-64s.h43500644editdlrm
exec.h2460644editdlrm
extable.h12050644editdlrm
fadump-internal.h43520644editdlrm
fadump.h10950644editdlrm
fb.h4830644editdlrm
feature-fixups.h98280644editdlrm
firmware.h53270644editdlrm
fixmap.h37230644editdlrm
floppy.h51110644editdlrm
fsl_85xx_cache_sram.h8120644editdlrm
fsl_gtm.h12030644editdlrm
fsl_hcalls.h176150644editdlrm
fsl_lbc.h104890644editdlrm
fsl_pamu_stash.h4110644editdlrm
fsl_pm.h11830644editdlrm
fs_pd.h10460644editdlrm
ftrace.h35500644editdlrm
futex.h22460644editdlrm
grackle.h3310644editdlrm
hardirq.h9480644editdlrm
head-64.h55070644editdlrm
heathrow.h25950644editdlrm
highmem.h20790644editdlrm
hmi.h9710644editdlrm
hugetlb.h21860644editdlrm
hvcall.h212500644editdlrm
hvconsole.h7900644editdlrm
hvcserver.h14730644editdlrm
hvsi.h28500644editdlrm
hw_breakpoint.h37350644editdlrm
hw_irq.h112180644editdlrm
hydra.h29480644editdlrm
i8259.h3610644editdlrm
ibmebus.h22040644editdlrm
icswx.h50900644editdlrm
ide.h5860644editdlrm
idle.h23720644editdlrm
imc-pmu.h39830644editdlrm
immap_cpm2.h107490644editdlrm
inst.h36830644editdlrm
interrupt.h183530644editdlrm
io-defs.h31640644editdlrm
io-workarounds.h13130644editdlrm
io.h313870644editdlrm
iommu.h102830644editdlrm
io_event_irq.h17460644editdlrm
ipic.h31410644editdlrm
irq.h13200644editdlrm
irqflags.h17770644editdlrm
irq_work.h2130644editdlrm
isa-bridge.h6540644editdlrm
jump_label.h13510644editdlrm
kasan.h13960644editdlrm
Kbuild2860644editdlrm
kdebug.h2910644editdlrm
kdump.h13990644editdlrm
kexec.h48380644editdlrm
kexec_ranges.h9430644editdlrm
keylargo.h110610644editdlrm
kfence.h6500644editdlrm
kgdb.h21560644editdlrm
kprobes.h28150644editdlrm
kup.h32590644editdlrm
kvm_asm.h49520644editdlrm
kvm_book3s.h172200644editdlrm
kvm_book3s_32.h8160644editdlrm
kvm_book3s_64.h183330644editdlrm
kvm_book3s_asm.h37770644editdlrm
kvm_book3s_uvmem.h27380644editdlrm
kvm_booke.h22330644editdlrm
kvm_booke_hv_asm.h19600644editdlrm
kvm_fpu.h21990644editdlrm
kvm_guest.h5660644editdlrm
kvm_host.h219660644editdlrm
kvm_para.h7520644editdlrm
kvm_ppc.h366990644editdlrm
libata-portmap.h2490644editdlrm
linkage.h5010644editdlrm
livepatch.h11400644editdlrm
local.h32580644editdlrm
lppaca.h50150644editdlrm
lv1call.h185550644editdlrm
machdep.h96300644editdlrm
macio.h39850644editdlrm
mc146818rtc.h7360644editdlrm
mce.h63960644editdlrm
mediabay.h13750644editdlrm
membarrier.h8770644editdlrm
mem_encrypt.h5320644editdlrm
mman.h14710644editdlrm
mmiowb.h3740644editdlrm
mmu.h112440644editdlrm
mmu_context.h96460644editdlrm
mmzone.h10030644editdlrm
module.h22840644editdlrm
module.lds.h950644editdlrm
mpc5xxx.h4390644editdlrm
mpc6xx.h1430644editdlrm
mpc52xx.h111000644editdlrm
mpc52xx_psc.h101250644editdlrm
mpc85xx.h23820644editdlrm
mpc5121.h38630644editdlrm
mpc8260.h7420644editdlrm
mpic.h143090644editdlrm
mpic_msgr.h34410644editdlrm
mpic_timer.h11830644editdlrm
msi_bitmap.h8670644editdlrm
nmi.h5790644editdlrm
nvram.h28340644editdlrm
ohare.h16840644editdlrm
opal-api.h316800644editdlrm
opal.h178430644editdlrm
paca.h87830644editdlrm
page.h103620644editdlrm
page_32.h16260644editdlrm
page_64.h27160644editdlrm
paravirt.h38810644editdlrm
parport.h9560644editdlrm
pasemi_dma.h232730644editdlrm
pci-bridge.h94810644editdlrm
pci.h36050644editdlrm
percpu.h8150644editdlrm
perf_event.h15090644editdlrm
perf_event_fsl_emb.h12520644editdlrm
perf_event_server.h71040644editdlrm
pgalloc.h20670644editdlrm
pgtable-be-types.h26010644editdlrm
pgtable-types.h18950644editdlrm
pgtable.h40470644editdlrm
pkeys.h42790644editdlrm
plpar_wrappers.h101930644editdlrm
pmac_feature.h133960644editdlrm
pmac_low_i2c.h31000644editdlrm
pmac_pfunc.h82370644editdlrm
pmc.h11160644editdlrm
pmi.h11770644editdlrm
pnv-ocxl.h30690644editdlrm
pnv-pci.h24320644editdlrm
powernv.h4540644editdlrm
ppc-opcode.h314190644editdlrm
ppc-pci.h22820644editdlrm
ppc4xx.h3280644editdlrm
ppc_asm.h205300644editdlrm
probes.h15420644editdlrm
processor.h118980644editdlrm
prom.h73240644editdlrm
ps3.h152190644editdlrm
ps3av.h234220644editdlrm
ps3gpu.h19280644editdlrm
ps3stor.h14080644editdlrm
pte-walk.h22810644editdlrm
ptrace.h105080644editdlrm
qspinlock.h20640644editdlrm
qspinlock_paravirt.h2210644editdlrm
reg.h644650644editdlrm
reg_8xx.h28670644editdlrm
reg_a2.h61280644editdlrm
reg_booke.h338820644editdlrm
reg_fsl_emb.h39610644editdlrm
rheap.h25780644editdlrm
rio.h4240644editdlrm
rtas-types.h29390644editdlrm
rtas.h125740644editdlrm
runlatch.h11840644editdlrm
seccomp.h10430644editdlrm
sections.h19820644editdlrm
secure_boot.h4760644editdlrm
security_features.h35090644editdlrm
secvar.h7650644editdlrm
serial.h4730644editdlrm
setjmp.h4000644editdlrm
setup.h24750644editdlrm
set_memory.h11600644editdlrm
sfp-machine.h126760644editdlrm
shmparam.h2060644editdlrm
signal.h3200644editdlrm
simple_spinlock.h66620644editdlrm
simple_spinlock_types.h4810644editdlrm
slice.h11210644editdlrm
smp.h78040644editdlrm
smu.h197890644editdlrm
sparsemem.h8430644editdlrm
spinlock.h4720644editdlrm
spinlock_types.h3820644editdlrm
spu.h239630644editdlrm
spu_csa.h61660644editdlrm
spu_info.h2720644editdlrm
spu_priv1.h51860644editdlrm
sstep.h47300644editdlrm
stackprotector.h7880644editdlrm
stacktrace.h2970644editdlrm
string.h25220644editdlrm
svm.h6520644editdlrm
swab.h1730644editdlrm
swiotlb.h3740644editdlrm
switch_to.h29660644editdlrm
synch.h20670644editdlrm
syscall.h30570644editdlrm
syscalls.h21890644editdlrm
task_size_32.h5440644editdlrm
task_size_64.h23900644editdlrm
tce.h8920644editdlrm
termios.h6530644editdlrm
thread_info.h61660644editdlrm
time.h29970644editdlrm
timex.h4630644editdlrm
tlb.h23080644editdlrm
tlbflush.h2710644editdlrm
tm.h6240644editdlrm
topology.h35360644editdlrm
trace.h46950644editdlrm
trace_clock.h3720644editdlrm
tsi108.h32640644editdlrm
tsi108_irq.h39160644editdlrm
tsi108_pci.h11910644editdlrm
types.h8220644editdlrm
uaccess.h142880644editdlrm
udbg.h20030644editdlrm
uic.h4030644editdlrm
ultravisor-api.h9410644editdlrm
ultravisor.h21010644editdlrm
uninorth.h84100644editdlrm
unistd.h14450644editdlrm
uprobes.h8010644editdlrm
user.h21920644editdlrm
vas.h75800644editdlrm
vdso.h10960644editdlrm
vdso_datapage.h35700644editdlrm
vermagic.h4900644editdlrm
vga.h12730644editdlrm
vio.h47340644editdlrm
vmalloc.h5540644editdlrm
word-at-a-time.h48780644editdlrm
xics.h45390644editdlrm
xive-regs.h50830644editdlrm
xive.h51910644editdlrm
xmon.h7330644editdlrm
xor.h10170644editdlrm
xor_altivec.h6830644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/powerpc/include/asm/cell-regs.h (9799B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * cbe_regs.h * * This file is intended to hold the various register definitions for CBE * on-chip system devices (memory controller, IO controller, etc...) * * (C) Copyright IBM Corporation 2001,2006 * * Authors: Maximino Aguilar (maguilar@us.ibm.com) * David J. Erb (djerb@us.ibm.com) * * (c) 2006 Benjamin Herrenschmidt , IBM Corp. */ #ifndef CBE_REGS_H #define CBE_REGS_H #include /* * * Some HID register definitions * */ /* CBE specific HID0 bits */ #define HID0_CBE_THERM_WAKEUP 0x0000020000000000ul #define HID0_CBE_SYSERR_WAKEUP 0x0000008000000000ul #define HID0_CBE_THERM_INT_EN 0x0000000400000000ul #define HID0_CBE_SYSERR_INT_EN 0x0000000200000000ul #define MAX_CBE 2 /* * * Pervasive unit register definitions * */ union spe_reg { u64 val; u8 spe[8]; }; union ppe_spe_reg { u64 val; struct { u32 ppe; u32 spe; }; }; struct cbe_pmd_regs { /* Debug Bus Control */ u64 pad_0x0000; /* 0x0000 */ u64 group_control; /* 0x0008 */ u8 pad_0x0010_0x00a8 [0x00a8 - 0x0010]; /* 0x0010 */ u64 debug_bus_control; /* 0x00a8 */ u8 pad_0x00b0_0x0100 [0x0100 - 0x00b0]; /* 0x00b0 */ u64 trace_aux_data; /* 0x0100 */ u64 trace_buffer_0_63; /* 0x0108 */ u64 trace_buffer_64_127; /* 0x0110 */ u64 trace_address; /* 0x0118 */ u64 ext_tr_timer; /* 0x0120 */ u8 pad_0x0128_0x0400 [0x0400 - 0x0128]; /* 0x0128 */ /* Performance Monitor */ u64 pm_status; /* 0x0400 */ u64 pm_control; /* 0x0408 */ u64 pm_interval; /* 0x0410 */ u64 pm_ctr[4]; /* 0x0418 */ u64 pm_start_stop; /* 0x0438 */ u64 pm07_control[8]; /* 0x0440 */ u8 pad_0x0480_0x0800 [0x0800 - 0x0480]; /* 0x0480 */ /* Thermal Sensor Registers */ union spe_reg ts_ctsr1; /* 0x0800 */ u64 ts_ctsr2; /* 0x0808 */ union spe_reg ts_mtsr1; /* 0x0810 */ u64 ts_mtsr2; /* 0x0818 */ union spe_reg ts_itr1; /* 0x0820 */ u64 ts_itr2; /* 0x0828 */ u64 ts_gitr; /* 0x0830 */ u64 ts_isr; /* 0x0838 */ u64 ts_imr; /* 0x0840 */ union spe_reg tm_cr1; /* 0x0848 */ u64 tm_cr2; /* 0x0850 */ u64 tm_simr; /* 0x0858 */ union ppe_spe_reg tm_tpr; /* 0x0860 */ union spe_reg tm_str1; /* 0x0868 */ u64 tm_str2; /* 0x0870 */ union ppe_spe_reg tm_tsr; /* 0x0878 */ /* Power Management */ u64 pmcr; /* 0x0880 */ #define CBE_PMD_PAUSE_ZERO_CONTROL 0x10000 u64 pmsr; /* 0x0888 */ /* Time Base Register */ u64 tbr; /* 0x0890 */ u8 pad_0x0898_0x0c00 [0x0c00 - 0x0898]; /* 0x0898 */ /* Fault Isolation Registers */ u64 checkstop_fir; /* 0x0c00 */ u64 recoverable_fir; /* 0x0c08 */ u64 spec_att_mchk_fir; /* 0x0c10 */ u32 fir_mode_reg; /* 0x0c18 */ u8 pad_0x0c1c_0x0c20 [4]; /* 0x0c1c */ #define CBE_PMD_FIR_MODE_M8 0x00800 u64 fir_enable_mask; /* 0x0c20 */ u8 pad_0x0c28_0x0ca8 [0x0ca8 - 0x0c28]; /* 0x0c28 */ u64 ras_esc_0; /* 0x0ca8 */ u8 pad_0x0cb0_0x1000 [0x1000 - 0x0cb0]; /* 0x0cb0 */ }; extern struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np); extern struct cbe_pmd_regs __iomem *cbe_get_cpu_pmd_regs(int cpu); /* * PMU shadow registers * * Many of the registers in the performance monitoring unit are write-only, * so we need to save a copy of what we write to those registers. * * The actual data counters are read/write. However, writing to the counters * only takes effect if the PMU is enabled. Otherwise the value is stored in * a hardware latch until the next time the PMU is enabled. So we save a copy * of the counter values if we need to read them back while the PMU is * disabled. The counter_value_in_latch field is a bitmap indicating which * counters currently have a value waiting to be written. */ struct cbe_pmd_shadow_regs { u32 group_control; u32 debug_bus_control; u32 trace_address; u32 ext_tr_timer; u32 pm_status; u32 pm_control; u32 pm_interval; u32 pm_start_stop; u32 pm07_control[NR_CTRS]; u32 pm_ctr[NR_PHYS_CTRS]; u32 counter_value_in_latch; }; extern struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np); extern struct cbe_pmd_shadow_regs *cbe_get_cpu_pmd_shadow_regs(int cpu); /* * * IIC unit register definitions * */ struct cbe_iic_pending_bits { u32 data; u8 flags; u8 class; u8 source; u8 prio; }; #define CBE_IIC_IRQ_VALID 0x80 #define CBE_IIC_IRQ_IPI 0x40 struct cbe_iic_thread_regs { struct cbe_iic_pending_bits pending; struct cbe_iic_pending_bits pending_destr; u64 generate; u64 prio; }; struct cbe_iic_regs { u8 pad_0x0000_0x0400[0x0400 - 0x0000]; /* 0x0000 */ /* IIC interrupt registers */ struct cbe_iic_thread_regs thread[2]; /* 0x0400 */ u64 iic_ir; /* 0x0440 */ #define CBE_IIC_IR_PRIO(x) (((x) & 0xf) << 12) #define CBE_IIC_IR_DEST_NODE(x) (((x) & 0xf) << 4) #define CBE_IIC_IR_DEST_UNIT(x) ((x) & 0xf) #define CBE_IIC_IR_IOC_0 0x0 #define CBE_IIC_IR_IOC_1S 0xb #define CBE_IIC_IR_PT_0 0xe #define CBE_IIC_IR_PT_1 0xf u64 iic_is; /* 0x0448 */ #define CBE_IIC_IS_PMI 0x2 u8 pad_0x0450_0x0500[0x0500 - 0x0450]; /* 0x0450 */ /* IOC FIR */ u64 ioc_fir_reset; /* 0x0500 */ u64 ioc_fir_set; /* 0x0508 */ u64 ioc_checkstop_enable; /* 0x0510 */ u64 ioc_fir_error_mask; /* 0x0518 */ u64 ioc_syserr_enable; /* 0x0520 */ u64 ioc_fir; /* 0x0528 */ u8 pad_0x0530_0x1000[0x1000 - 0x0530]; /* 0x0530 */ }; extern struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np); extern struct cbe_iic_regs __iomem *cbe_get_cpu_iic_regs(int cpu); struct cbe_mic_tm_regs { u8 pad_0x0000_0x0040[0x0040 - 0x0000]; /* 0x0000 */ u64 mic_ctl_cnfg2; /* 0x0040 */ #define CBE_MIC_ENABLE_AUX_TRC 0x8000000000000000LL #define CBE_MIC_DISABLE_PWR_SAV_2 0x0200000000000000LL #define CBE_MIC_DISABLE_AUX_TRC_WRAP 0x0100000000000000LL #define CBE_MIC_ENABLE_AUX_TRC_INT 0x0080000000000000LL u64 pad_0x0048; /* 0x0048 */ u64 mic_aux_trc_base; /* 0x0050 */ u64 mic_aux_trc_max_addr; /* 0x0058 */ u64 mic_aux_trc_cur_addr; /* 0x0060 */ u64 mic_aux_trc_grf_addr; /* 0x0068 */ u64 mic_aux_trc_grf_data; /* 0x0070 */ u64 pad_0x0078; /* 0x0078 */ u64 mic_ctl_cnfg_0; /* 0x0080 */ #define CBE_MIC_DISABLE_PWR_SAV_0 0x8000000000000000LL u64 pad_0x0088; /* 0x0088 */ u64 slow_fast_timer_0; /* 0x0090 */ u64 slow_next_timer_0; /* 0x0098 */ u8 pad_0x00a0_0x00f8[0x00f8 - 0x00a0]; /* 0x00a0 */ u64 mic_df_ecc_address_0; /* 0x00f8 */ u8 pad_0x0100_0x01b8[0x01b8 - 0x0100]; /* 0x0100 */ u64 mic_df_ecc_address_1; /* 0x01b8 */ u64 mic_ctl_cnfg_1; /* 0x01c0 */ #define CBE_MIC_DISABLE_PWR_SAV_1 0x8000000000000000LL u64 pad_0x01c8; /* 0x01c8 */ u64 slow_fast_timer_1; /* 0x01d0 */ u64 slow_next_timer_1; /* 0x01d8 */ u8 pad_0x01e0_0x0208[0x0208 - 0x01e0]; /* 0x01e0 */ u64 mic_exc; /* 0x0208 */ #define CBE_MIC_EXC_BLOCK_SCRUB 0x0800000000000000ULL #define CBE_MIC_EXC_FAST_SCRUB 0x0100000000000000ULL u64 mic_mnt_cfg; /* 0x0210 */ #define CBE_MIC_MNT_CFG_CHAN_0_POP 0x0002000000000000ULL #define CBE_MIC_MNT_CFG_CHAN_1_POP 0x0004000000000000ULL u64 mic_df_config; /* 0x0218 */ #define CBE_MIC_ECC_DISABLE_0 0x4000000000000000ULL #define CBE_MIC_ECC_REP_SINGLE_0 0x2000000000000000ULL #define CBE_MIC_ECC_DISABLE_1 0x0080000000000000ULL #define CBE_MIC_ECC_REP_SINGLE_1 0x0040000000000000ULL u8 pad_0x0220_0x0230[0x0230 - 0x0220]; /* 0x0220 */ u64 mic_fir; /* 0x0230 */ #define CBE_MIC_FIR_ECC_SINGLE_0_ERR 0x0200000000000000ULL #define CBE_MIC_FIR_ECC_MULTI_0_ERR 0x0100000000000000ULL #define CBE_MIC_FIR_ECC_SINGLE_1_ERR 0x0080000000000000ULL #define CBE_MIC_FIR_ECC_MULTI_1_ERR 0x0040000000000000ULL #define CBE_MIC_FIR_ECC_ERR_MASK 0xffff000000000000ULL #define CBE_MIC_FIR_ECC_SINGLE_0_CTE 0x0000020000000000ULL #define CBE_MIC_FIR_ECC_MULTI_0_CTE 0x0000010000000000ULL #define CBE_MIC_FIR_ECC_SINGLE_1_CTE 0x0000008000000000ULL #define CBE_MIC_FIR_ECC_MULTI_1_CTE 0x0000004000000000ULL #define CBE_MIC_FIR_ECC_CTE_MASK 0x0000ffff00000000ULL #define CBE_MIC_FIR_ECC_SINGLE_0_RESET 0x0000000002000000ULL #define CBE_MIC_FIR_ECC_MULTI_0_RESET 0x0000000001000000ULL #define CBE_MIC_FIR_ECC_SINGLE_1_RESET 0x0000000000800000ULL #define CBE_MIC_FIR_ECC_MULTI_1_RESET 0x0000000000400000ULL #define CBE_MIC_FIR_ECC_RESET_MASK 0x00000000ffff0000ULL #define CBE_MIC_FIR_ECC_SINGLE_0_SET 0x0000000000000200ULL #define CBE_MIC_FIR_ECC_MULTI_0_SET 0x0000000000000100ULL #define CBE_MIC_FIR_ECC_SINGLE_1_SET 0x0000000000000080ULL #define CBE_MIC_FIR_ECC_MULTI_1_SET 0x0000000000000040ULL #define CBE_MIC_FIR_ECC_SET_MASK 0x000000000000ffffULL u64 mic_fir_debug; /* 0x0238 */ u8 pad_0x0240_0x1000[0x1000 - 0x0240]; /* 0x0240 */ }; extern struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np); extern struct cbe_mic_tm_regs __iomem *cbe_get_cpu_mic_tm_regs(int cpu); /* Cell page table entries */ #define CBE_IOPTE_PP_W 0x8000000000000000ul /* protection: write */ #define CBE_IOPTE_PP_R 0x4000000000000000ul /* protection: read */ #define CBE_IOPTE_M 0x2000000000000000ul /* coherency required */ #define CBE_IOPTE_SO_R 0x1000000000000000ul /* ordering: writes */ #define CBE_IOPTE_SO_RW 0x1800000000000000ul /* ordering: r & w */ #define CBE_IOPTE_RPN_Mask 0x07fffffffffff000ul /* RPN */ #define CBE_IOPTE_H 0x0000000000000800ul /* cache hint */ #define CBE_IOPTE_IOID_Mask 0x00000000000007fful /* ioid */ /* some utility functions to deal with SMT */ extern u32 cbe_get_hw_thread_id(int cpu); extern u32 cbe_cpu_to_node(int cpu); extern u32 cbe_node_to_cpu(int node); /* Init this module early */ extern void cbe_regs_init(void); #endif /* CBE_REGS_H */