| 1 | // ========== Copyright Header Begin ========================================== |
| 2 | // |
| 3 | // OpenSPARC T2 Processor File: memop.diaglist |
| 4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved |
| 5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. |
| 6 | // |
| 7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 8 | // |
| 9 | // This program is free software; you can redistribute it and/or modify |
| 10 | // it under the terms of the GNU General Public License as published by |
| 11 | // the Free Software Foundation; version 2 of the License. |
| 12 | // |
| 13 | // This program is distributed in the hope that it will be useful, |
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | // GNU General Public License for more details. |
| 17 | // |
| 18 | // You should have received a copy of the GNU General Public License |
| 19 | // along with this program; if not, write to the Free Software |
| 20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 | // |
| 22 | // For the avoidance of doubt, and except that if any non-GPL license |
| 23 | // choice is available it will apply instead, Sun elects to use only |
| 24 | // the General Public License version 2 (GPLv2) at this time for any |
| 25 | // software where a choice of GPL license versions is made |
| 26 | // available with the language indicating that GPLv2 or any later version |
| 27 | // may be used, or where a choice of which version of the GPL is applied is |
| 28 | // otherwise unspecified. |
| 29 | // |
| 30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 31 | // CA 95054 USA or visit www.sun.com if you need additional information or |
| 32 | // have any questions. |
| 33 | // |
| 34 | // ========== Copyright Header End ============================================ |
| 35 | <sys(memop_all) name=sys(memop_all)> |
| 36 | <sys(all)> |
| 37 | <sys(daily)> |
| 38 | |
| 39 | //////////////////////// |
| 40 | // Single thread diags |
| 41 | /////////////////////// |
| 42 | |
| 43 | <runargs -midas_args=-DCMP_THREAD_START=0x1 -finish_mask=1> |
| 44 | <runargs -sas> |
| 45 | |
| 46 | memop_all_atomics memop_all_atomics.s |
| 47 | |
| 48 | memop_all_mcu memop_all_mcu.s |
| 49 | |
| 50 | memop_all_stores memop_all_stores.s |
| 51 | |
| 52 | memop_byte_mask memop_byte_mask.s |
| 53 | |
| 54 | memop_ccx_packets memop_ccx_packets.s |
| 55 | |
| 56 | memop_halfword_byte_mask memop_halfword_byte_mask.s |
| 57 | |
| 58 | memop_l2_disable memop_l2_disable.s |
| 59 | |
| 60 | memop_word_byte_mask memop_word_byte_mask.s |
| 61 | |
| 62 | memop_all_loads memop_all_loads.s -vcs_run_args=+l2warm=1 |
| 63 | |
| 64 | </runargs> |
| 65 | |
| 66 | <runargs -nosas> |
| 67 | |
| 68 | #ifndef CCM |
| 69 | |
| 70 | // Must '-nosas' until Riesling support MCU CSR's |
| 71 | |
| 72 | memop_mcu_regs_ro memop_mcu_regs_ro.s |
| 73 | |
| 74 | memop_mcu_regs_rw memop_mcu_regs_rw.s |
| 75 | |
| 76 | memop_mcu_regs_other memop_mcu_regs_other.s -vcs_run_args=+mcu_errmon_disable |
| 77 | |
| 78 | #endif |
| 79 | |
| 80 | // Must use '-nosas' since follow me support is not there for SPU interrupts |
| 81 | |
| 82 | // memop_all_packet memop_all_packet.s -midas_args=-allow_tsb_conflicts |
| 83 | |
| 84 | memop_all_l2_banks memop_all_l2_banks.s |
| 85 | |
| 86 | memop_all_mcu_banks memop_all_mcu_banks.s |
| 87 | |
| 88 | memop_l2_vuad_access memop_l2_vuad_access.s |
| 89 | |
| 90 | memop_walk_one_addr memop_walk_one_addr.s |
| 91 | |
| 92 | memop_l2_control_reg memop_l2_control_reg.s |
| 93 | |
| 94 | </runargs> |
| 95 | |
| 96 | memop_mem_out_of_range memop_mem_out_of_range.s -vcs_run_args=+l2esr_mon_off -vcs_run_args=+8_FBDIMMS |
| 97 | |
| 98 | memop_l2_size memop_l2_size.s -midas_args=-allow_tsb_conflicts |
| 99 | |
| 100 | memop_all_byte_mask memop_all_byte_mask.s |
| 101 | |
| 102 | memop_l2_err_en_reg memop_l2_err_en_reg.s |
| 103 | |
| 104 | memop_l2_err_address_reg memop_l2_err_address_reg.s |
| 105 | |
| 106 | memop_l2_err_status_reg memop_l2_err_status_reg.s |
| 107 | |
| 108 | memop_l2_err_inject_reg memop_l2_err_inject_reg.s |
| 109 | |
| 110 | memop_l2_notdata_err_addr_reg memop_l2_notdata_err_addr_reg.s |
| 111 | |
| 112 | </runargs> |
| 113 | |
| 114 | ///////////////////////// |
| 115 | // Multiple thread diags |
| 116 | //////////////////////// |
| 117 | |
| 118 | <runargs -sas> |
| 119 | |
| 120 | memop_mt_l2_dep_store memop_mt_l2_dep_store.s -nosas -midas_args=-DCMP_THREAD_START=0xff -finish_mask=ff |
| 121 | |
| 122 | memop_mt_l2_miss_buff memop_mt_l2_miss_buff.s -midas_args=-DCMP_THREAD_START=0xff -finish_mask=ff |
| 123 | |
| 124 | memop_random_noatomic_multithrd memop_random_noatomic_multithrd.s -vcs_run_args=+TB_RANDOM_XIR -midas_args=-DPART_0_BASE=0x200000000 -midas_args=-DL2_REG_PROG -nofast_boot -vcs_run_args=+ios_0in_ras_chk_off |
| 125 | |
| 126 | #if (! defined FC) |
| 127 | |
| 128 | memop_mt_fpu_ld_st memop_mt_fpu_ld_st.s -midas_args=-DCMP_THREAD_START=0x01010101010101 -nosas -finish_mask=01010101010101 |
| 129 | |
| 130 | #endif |
| 131 | |
| 132 | #if (! defined CCM) |
| 133 | |
| 134 | memop_mt2_invalidate_l1 memop_mt2_invalidate_l1.s -midas_args=-DCMP_THREAD_START=0x3 -nosas -midas_args=-allow_tsb_conflicts -finish_mask=3 -midas_args=-DSYNC_THREADS |
| 135 | |
| 136 | #endif |
| 137 | |
| 138 | </runargs> |
| 139 | |
| 140 | //////////////////////// |
| 141 | |
| 142 | /////////////////////// |
| 143 | |
| 144 | <runargs -vcs_run_args=+0in_no_checksim_db -vcs_run_args=+0in_no_statistics > |
| 145 | |
| 146 | n2_8tload_weight_486046 n2_8tload_weight_486046.s -nosas -midas_args=-DCMP_THREAD_START=0xff -midas_args=-allow_tsb_conflicts -max_cycle=+3000000 -drm_freeram=4000 -drm_freeswap=2000 -tg_seed=1600189735 -finish_mask=ff |
| 147 | |
| 148 | </runargs> |
| 149 | |
| 150 | </sys(daily)> |
| 151 | </sys(all)> |
| 152 | |
| 153 | |
| 154 | //////////////////////// |
| 155 | // Long (over 20 hrs) memop diags |
| 156 | //////////////////////// |
| 157 | |
| 158 | <runargs -sas -midas_args=-DCMP_THREAD_START=0x1 -finish_mask=1> |
| 159 | |
| 160 | memop_l2_data_access memop_l2_data_access.s -nosas |
| 161 | |
| 162 | memop_l2_tag_access memop_l2_tag_access.s -nosas |
| 163 | |
| 164 | </runargs> |
| 165 | |
| 166 | </sys(memop_all)> |