~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/asm/sibyte/sb1250_l2c.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/include/asm/sibyte/sb1250_l2c.h (Architecture i386) and /arch/sparc64/include/asm-sparc64/sibyte/sb1250_l2c.h (Architecture sparc64)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 
  2 /*  ******************************************    
  3     *  SB1250 Board Support Package               
  4     *                                             
  5     *  L2 Cache constants and macros              
  6     *                                             
  7     *  This module contains constants useful f    
  8     *  level 2 cache.                             
  9     *                                             
 10     *  SB1250 specification level:  User's man    
 11     *                                             
 12     ******************************************    
 13     *                                             
 14     *  Copyright 2000,2001,2002,2003              
 15     *  Broadcom Corporation. All rights reserv    
 16     *                                             
 17     ******************************************    
 18                                                   
 19                                                   
 20 #ifndef _SB1250_L2C_H                             
 21 #define _SB1250_L2C_H                             
 22                                                   
 23 #include <asm/sibyte/sb1250_defs.h>               
 24                                                   
 25 /*                                                
 26  * Level 2 Cache Tag register (Table 5-3)         
 27  */                                               
 28                                                   
 29 #define S_L2C_TAG_MBZ               0             
 30 #define M_L2C_TAG_MBZ               _SB_MAKEMA    
 31                                                   
 32 #define S_L2C_TAG_INDEX             5             
 33 #define M_L2C_TAG_INDEX             _SB_MAKEMA    
 34 #define V_L2C_TAG_INDEX(x)          _SB_MAKEVA    
 35 #define G_L2C_TAG_INDEX(x)          _SB_GETVAL    
 36                                                   
 37 #define S_L2C_TAG_TAG               17            
 38 #define M_L2C_TAG_TAG               _SB_MAKEMA    
 39 #define V_L2C_TAG_TAG(x)            _SB_MAKEVA    
 40 #define G_L2C_TAG_TAG(x)            _SB_GETVAL    
 41                                                   
 42 #define S_L2C_TAG_ECC               40            
 43 #define M_L2C_TAG_ECC               _SB_MAKEMA    
 44 #define V_L2C_TAG_ECC(x)            _SB_MAKEVA    
 45 #define G_L2C_TAG_ECC(x)            _SB_GETVAL    
 46                                                   
 47 #define S_L2C_TAG_WAY               46            
 48 #define M_L2C_TAG_WAY               _SB_MAKEMA    
 49 #define V_L2C_TAG_WAY(x)            _SB_MAKEVA    
 50 #define G_L2C_TAG_WAY(x)            _SB_GETVAL    
 51                                                   
 52 #define M_L2C_TAG_DIRTY             _SB_MAKEMA    
 53 #define M_L2C_TAG_VALID             _SB_MAKEMA    
 54                                                   
 55 /*                                                
 56  * Format of level 2 cache management address     
 57  */                                               
 58                                                   
 59 #define S_L2C_MGMT_INDEX            5             
 60 #define M_L2C_MGMT_INDEX            _SB_MAKEMA    
 61 #define V_L2C_MGMT_INDEX(x)         _SB_MAKEVA    
 62 #define G_L2C_MGMT_INDEX(x)         _SB_GETVAL    
 63                                                   
 64 #define S_L2C_MGMT_QUADRANT         15            
 65 #define M_L2C_MGMT_QUADRANT         _SB_MAKEMA    
 66 #define V_L2C_MGMT_QUADRANT(x)      _SB_MAKEVA    
 67 #define G_L2C_MGMT_QUADRANT(x)      _SB_GETVAL    
 68                                                   
 69 #define S_L2C_MGMT_HALF             16            
 70 #define M_L2C_MGMT_HALF             _SB_MAKEMA    
 71                                                   
 72 #define S_L2C_MGMT_WAY              17            
 73 #define M_L2C_MGMT_WAY              _SB_MAKEMA    
 74 #define V_L2C_MGMT_WAY(x)           _SB_MAKEVA    
 75 #define G_L2C_MGMT_WAY(x)           _SB_GETVAL    
 76                                                   
 77 #define S_L2C_MGMT_ECC_DIAG         21            
 78 #define M_L2C_MGMT_ECC_DIAG         _SB_MAKEMA    
 79 #define V_L2C_MGMT_ECC_DIAG(x)      _SB_MAKEVA    
 80 #define G_L2C_MGMT_ECC_DIAG(x)      _SB_GETVAL    
 81                                                   
 82 #define S_L2C_MGMT_TAG              23            
 83 #define M_L2C_MGMT_TAG              _SB_MAKEMA    
 84 #define V_L2C_MGMT_TAG(x)           _SB_MAKEVA    
 85 #define G_L2C_MGMT_TAG(x)           _SB_GETVAL    
 86                                                   
 87 #define M_L2C_MGMT_DIRTY            _SB_MAKEMA    
 88 #define M_L2C_MGMT_VALID            _SB_MAKEMA    
 89                                                   
 90 #define A_L2C_MGMT_TAG_BASE         0x00D00000    
 91                                                   
 92 #define L2C_ENTRIES_PER_WAY       4096            
 93 #define L2C_NUM_WAYS              4               
 94                                                   
 95                                                   
 96 #if SIBYTE_HDR_FEATURE(1250, PASS3) || SIBYTE_    
 97 /*                                                
 98  * L2 Read Misc. register (A_L2_READ_MISC)        
 99  */                                               
100 #define S_L2C_MISC_NO_WAY               10        
101 #define M_L2C_MISC_NO_WAY               _SB_MA    
102 #define V_L2C_MISC_NO_WAY(x)            _SB_MA    
103 #define G_L2C_MISC_NO_WAY(x)            _SB_GE    
104                                                   
105 #define M_L2C_MISC_ECC_CLEANUP_DIS      _SB_MA    
106 #define M_L2C_MISC_MC_PRIO_LOW          _SB_MA    
107 #define M_L2C_MISC_SOFT_DISABLE_T       _SB_MA    
108 #define M_L2C_MISC_SOFT_DISABLE_B       _SB_MA    
109 #define M_L2C_MISC_SOFT_DISABLE_R       _SB_MA    
110 #define M_L2C_MISC_SOFT_DISABLE_L       _SB_MA    
111 #define M_L2C_MISC_SCACHE_DISABLE_T     _SB_MA    
112 #define M_L2C_MISC_SCACHE_DISABLE_B     _SB_MA    
113 #define M_L2C_MISC_SCACHE_DISABLE_R     _SB_MA    
114 #define M_L2C_MISC_SCACHE_DISABLE_L     _SB_MA    
115 #endif /* 1250 PASS3 || 112x PASS1 */             
116                                                   
117                                                   
118 #endif                                            
119                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php