Lines Matching +full:e +full:- +full:book
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Contains register definitions common to the Book E PowerPC
4 * specification. Notice that while the IBM-40x series of CPUs
5 * are not true Book E PowerPCs, they borrowed a number of features
6 * before Book E was finalized, and are included here as well. Unfortunately,
7 * they sometimes used different locations than true Book E CPUs did.
9 * Copyright 2009-2010 Freescale Semiconductor, Inc.
15 #include <asm/ppc-opcode.h>
19 #define MSR_UCLE_LG 26 /* User-mode cache lock enable */
26 #define MSR_CM_LG 31 /* Computation Mode (0=32-bit, 1=64-bit) */
167 #define SPRN_DCWR 0x3BA /* Data Cache Write-thru Register */
168 #define SPRN_SLER 0x3BB /* Little-endian real mode */
186 * SPRs which have conflicting definitions on true Book E versus classic,
204 #endif /* Book E */
223 #define CCR1_DPC 0x00000100 /* Disable L1 I-Cache/D-Cache parity checking */
240 #define MCSR_ICP 0x04000000 /* I-Cache Parity Error */
241 #define MCSR_DCSP 0x02000000 /* D-Cache Search Parity Error */
242 #define MCSR_DCFP 0x01000000 /* D-Cache Flush Parity Error */
252 #define MCSR_ICPERR 0x40000000UL /* I-Cache Parity Error */
255 #define MCSR_DCP_PERR 0x20000000UL /* D-Cache Push Parity Error */
256 #define MCSR_DCPERR 0x10000000UL /* D-Cache Parity Error */
267 #define MCSR_DCPERR_MC 0x20000000UL /* D-Cache Parity Error */
269 #define MCSR_NMI 0x00100000UL /* Non-Maskable Interrupt */
293 #define HID1_MPXTT 0x00000400 /* MPX re-map transfer type */
300 * DBSR bits which have conflicting definitions on true Book E versus IBM 40x.
339 #define ESR_MCI 0x80000000 /* Machine Check - Instruction */
340 #define ESR_IMCP 0x80000000 /* Instr. Machine Check - Protection */
341 #define ESR_IMCN 0x40000000 /* Instr. Machine Check - Non-config */
342 #define ESR_IMCB 0x20000000 /* Instr. Machine Check - Bus error */
343 #define ESR_IMCT 0x10000000 /* Instr. Machine Check - Timeout */
344 #define ESR_PIL 0x08000000 /* Program Exception - Illegal */
345 #define ESR_PPR 0x04000000 /* Program Exception - Privileged */
346 #define ESR_PTR 0x02000000 /* Program Exception - Trap */
348 #define ESR_DST 0x00800000 /* Storage Exception - Data miss */
349 #define ESR_DIZ 0x00400000 /* Storage Exception - Zone fault */
377 #define DBCR0_IA12 0x00200000 /* Instr Addr 1-2 range enable */
378 #define DBCR0_IA12X 0x00100000 /* Instr Addr 1-2 range eXclusive */
383 #define DBCR0_IA34 0x00020000 /* Instr Addr 3-4 range Enable */
384 #define DBCR0_IA34X 0x00010000 /* Instr Addr 3-4 range eXclusive */
385 #define DBCR0_IA12T 0x00008000 /* Instr Addr 1-2 range Toggle */
386 #define DBCR0_IA34T 0x00004000 /* Instr Addr 3-4 range Toggle */
389 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr0)
392 #define DBCR_IAC12MODE (DBCR0_IA12 | DBCR0_IA12X) /* IAC 1-2 Mode Bits */
395 #define DBCR_IAC34MODE (DBCR0_IA34 | DBCR0_IA34X) /* IAC 3-4 Mode Bits */
403 #define dbcr_dac(task) ((task)->thread.debug.dbcr1)
449 #define dbcr_dac(task) ((task)->thread.debug.dbcr0)
466 #define DBCR1_IAC12M 0x00800000 /* Instr Addr 1-2 range enable */
467 #define DBCR1_IAC12MX 0x00C00000 /* Instr Addr 1-2 range eXclusive */
468 #define DBCR1_IAC12AT 0x00010000 /* Instr Addr 1-2 range Toggle */
479 #define DBCR1_IAC34M 0x00000080 /* Instr Addr 3-4 range enable */
480 #define DBCR1_IAC34MX 0x000000C0 /* Instr Addr 3-4 range eXclusive */
481 #define DBCR1_IAC34AT 0x00000001 /* Instr Addr 3-4 range Toggle */
483 #define dbcr_iac_range(task) ((task)->thread.debug.dbcr1)
486 #define DBCR_IAC12MODE DBCR1_IAC12MX /* IAC 1-2 Mode Bits */
489 #define DBCR_IAC34MODE DBCR1_IAC34MX /* IAC 3-4 Mode Bits */
496 #define DBCR2_DAC12M 0x00800000 /* DAC 1-2 range enable */
497 #define DBCR2_DAC12MM 0x00400000 /* DAC 1-2 Mask mode*/
498 #define DBCR2_DAC12MX 0x00C00000 /* DAC 1-2 range eXclusive */
499 #define DBCR2_DAC12MODE 0x00C00000 /* DAC 1-2 Mode Bits */
500 #define DBCR2_DAC12A 0x00200000 /* DAC 1-2 Asynchronous */
572 #define DCWR_COPY 0 /* Copy-back */
573 #define DCWR_WRITE 1 /* Write-through */