ip28-berr.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * ip28-berr.c: Bus error handling.
  4. *
  5. * Copyright (C) 2002, 2003 Ladislav Michl (ladis@linux-mips.org)
  6. * Copyright (C) 2005 Peter Fuerst (pf@net.alphadv.de) - IP28
  7. */
  8. #include <linux/init.h>
  9. #include <linux/kernel.h>
  10. #include <linux/sched.h>
  11. #include <linux/sched/debug.h>
  12. #include <linux/sched/signal.h>
  13. #include <linux/seq_file.h>
  14. #include <asm/addrspace.h>
  15. #include <asm/traps.h>
  16. #include <asm/branch.h>
  17. #include <asm/irq_regs.h>
  18. #include <asm/sgi/mc.h>
  19. #include <asm/sgi/hpc3.h>
  20. #include <asm/sgi/ioc.h>
  21. #include <asm/sgi/ip22.h>
  22. #include <asm/r4kcache.h>
  23. #include <linux/uaccess.h>
  24. #include <asm/bootinfo.h>
  25. static unsigned int count_be_is_fixup;
  26. static unsigned int count_be_handler;
  27. static unsigned int count_be_interrupt;
  28. static int debug_be_interrupt;
  29. static unsigned int cpu_err_stat; /* Status reg for CPU */
  30. static unsigned int gio_err_stat; /* Status reg for GIO */
  31. static unsigned int cpu_err_addr; /* Error address reg for CPU */
  32. static unsigned int gio_err_addr; /* Error address reg for GIO */
  33. static unsigned int extio_stat;
  34. static unsigned int hpc3_berr_stat; /* Bus error interrupt status */
  35. struct hpc3_stat {
  36. unsigned long addr;
  37. unsigned int ctrl;
  38. unsigned int cbp;
  39. unsigned int ndptr;
  40. };
  41. static struct {
  42. struct hpc3_stat pbdma[8];
  43. struct hpc3_stat scsi[2];
  44. struct hpc3_stat ethrx, ethtx;
  45. } hpc3;
  46. static struct {
  47. unsigned long err_addr;
  48. struct {
  49. u32 lo;
  50. u32 hi;
  51. } tags[1][2], tagd[4][2], tagi[4][2]; /* Way 0/1 */
  52. } cache_tags;
  53. static inline void save_cache_tags(unsigned busaddr)
  54. {
  55. unsigned long addr = CAC_BASE | busaddr;
  56. int i;
  57. cache_tags.err_addr = addr;
  58. /*
  59. * Starting with a bus-address, save secondary cache (indexed by
  60. * PA[23..18:7..6]) tags first.
  61. */
  62. addr &= ~1L;
  63. #define tag cache_tags.tags[0]
  64. cache_op(Index_Load_Tag_S, addr);
  65. tag[0].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */
  66. tag[0].hi = read_c0_taghi(); /* PA[39:36] */
  67. cache_op(Index_Load_Tag_S, addr | 1L);
  68. tag[1].lo = read_c0_taglo(); /* PA[35:18], VA[13:12] */
  69. tag[1].hi = read_c0_taghi(); /* PA[39:36] */
  70. #undef tag
  71. /*
  72. * Save all primary data cache (indexed by VA[13:5]) tags which
  73. * might fit to this bus-address, knowing that VA[11:0] == PA[11:0].
  74. * Saving all tags and evaluating them later is easier and safer
  75. * than relying on VA[13:12] from the secondary cache tags to pick
  76. * matching primary tags here already.
  77. */
  78. addr &= (0xffL << 56) | ((1 << 12) - 1);
  79. #define tag cache_tags.tagd[i]
  80. for (i = 0; i < 4; ++i, addr += (1 << 12)) {
  81. cache_op(Index_Load_Tag_D, addr);
  82. tag[0].lo = read_c0_taglo(); /* PA[35:12] */
  83. tag[0].hi = read_c0_taghi(); /* PA[39:36] */
  84. cache_op(Index_Load_Tag_D, addr | 1L);
  85. tag[1].lo = read_c0_taglo(); /* PA[35:12] */
  86. tag[1].hi = read_c0_taghi(); /* PA[39:36] */
  87. }
  88. #undef tag
  89. /*
  90. * Save primary instruction cache (indexed by VA[13:6]) tags
  91. * the same way.
  92. */
  93. addr &= (0xffL << 56) | ((1 << 12) - 1);
  94. #define tag cache_tags.tagi[i]
  95. for (i = 0; i < 4; ++i, addr += (1 << 12)) {
  96. cache_op(Index_Load_Tag_I, addr);
  97. tag[0].lo = read_c0_taglo(); /* PA[35:12] */
  98. tag[0].hi = read_c0_taghi(); /* PA[39:36] */
  99. cache_op(Index_Load_Tag_I, addr | 1L);
  100. tag[1].lo = read_c0_taglo(); /* PA[35:12] */
  101. tag[1].hi = read_c0_taghi(); /* PA[39:36] */
  102. }
  103. #undef tag
  104. }
  105. #define GIO_ERRMASK 0xff00
  106. #define CPU_ERRMASK 0x3f00
  107. static void save_and_clear_buserr(void)
  108. {
  109. int i;
  110. /* save status registers */
  111. cpu_err_addr = sgimc->cerr;
  112. cpu_err_stat = sgimc->cstat;
  113. gio_err_addr = sgimc->gerr;
  114. gio_err_stat = sgimc->gstat;
  115. extio_stat = sgioc->extio;
  116. hpc3_berr_stat = hpc3c0->bestat;
  117. hpc3.scsi[0].addr = (unsigned long)&hpc3c0->scsi_chan0;
  118. hpc3.scsi[0].ctrl = hpc3c0->scsi_chan0.ctrl; /* HPC3_SCTRL_ACTIVE ? */
  119. hpc3.scsi[0].cbp = hpc3c0->scsi_chan0.cbptr;
  120. hpc3.scsi[0].ndptr = hpc3c0->scsi_chan0.ndptr;
  121. hpc3.scsi[1].addr = (unsigned long)&hpc3c0->scsi_chan1;
  122. hpc3.scsi[1].ctrl = hpc3c0->scsi_chan1.ctrl; /* HPC3_SCTRL_ACTIVE ? */
  123. hpc3.scsi[1].cbp = hpc3c0->scsi_chan1.cbptr;
  124. hpc3.scsi[1].ndptr = hpc3c0->scsi_chan1.ndptr;
  125. hpc3.ethrx.addr = (unsigned long)&hpc3c0->ethregs.rx_cbptr;
  126. hpc3.ethrx.ctrl = hpc3c0->ethregs.rx_ctrl; /* HPC3_ERXCTRL_ACTIVE ? */
  127. hpc3.ethrx.cbp = hpc3c0->ethregs.rx_cbptr;
  128. hpc3.ethrx.ndptr = hpc3c0->ethregs.rx_ndptr;
  129. hpc3.ethtx.addr = (unsigned long)&hpc3c0->ethregs.tx_cbptr;
  130. hpc3.ethtx.ctrl = hpc3c0->ethregs.tx_ctrl; /* HPC3_ETXCTRL_ACTIVE ? */
  131. hpc3.ethtx.cbp = hpc3c0->ethregs.tx_cbptr;
  132. hpc3.ethtx.ndptr = hpc3c0->ethregs.tx_ndptr;
  133. for (i = 0; i < 8; ++i) {
  134. /* HPC3_PDMACTRL_ISACT ? */
  135. hpc3.pbdma[i].addr = (unsigned long)&hpc3c0->pbdma[i];
  136. hpc3.pbdma[i].ctrl = hpc3c0->pbdma[i].pbdma_ctrl;
  137. hpc3.pbdma[i].cbp = hpc3c0->pbdma[i].pbdma_bptr;
  138. hpc3.pbdma[i].ndptr = hpc3c0->pbdma[i].pbdma_dptr;
  139. }
  140. i = 0;
  141. if (gio_err_stat & CPU_ERRMASK)
  142. i = gio_err_addr;
  143. if (cpu_err_stat & CPU_ERRMASK)
  144. i = cpu_err_addr;
  145. save_cache_tags(i);
  146. sgimc->cstat = sgimc->gstat = 0;
  147. }
  148. static void print_cache_tags(void)
  149. {
  150. u32 scb, scw;
  151. int i;
  152. printk(KERN_ERR "Cache tags @ %08x:\n", (unsigned)cache_tags.err_addr);
  153. /* PA[31:12] shifted to PTag0 (PA[35:12]) format */
  154. scw = (cache_tags.err_addr >> 4) & 0x0fffff00;
  155. scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 5) - 1);
  156. for (i = 0; i < 4; ++i) { /* for each possible VA[13:12] value */
  157. if ((cache_tags.tagd[i][0].lo & 0x0fffff00) != scw &&
  158. (cache_tags.tagd[i][1].lo & 0x0fffff00) != scw)
  159. continue;
  160. printk(KERN_ERR
  161. "D: 0: %08x %08x, 1: %08x %08x (VA[13:5] %04x)\n",
  162. cache_tags.tagd[i][0].hi, cache_tags.tagd[i][0].lo,
  163. cache_tags.tagd[i][1].hi, cache_tags.tagd[i][1].lo,
  164. scb | (1 << 12)*i);
  165. }
  166. scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 6) - 1);
  167. for (i = 0; i < 4; ++i) { /* for each possible VA[13:12] value */
  168. if ((cache_tags.tagi[i][0].lo & 0x0fffff00) != scw &&
  169. (cache_tags.tagi[i][1].lo & 0x0fffff00) != scw)
  170. continue;
  171. printk(KERN_ERR
  172. "I: 0: %08x %08x, 1: %08x %08x (VA[13:6] %04x)\n",
  173. cache_tags.tagi[i][0].hi, cache_tags.tagi[i][0].lo,
  174. cache_tags.tagi[i][1].hi, cache_tags.tagi[i][1].lo,
  175. scb | (1 << 12)*i);
  176. }
  177. i = read_c0_config();
  178. scb = i & (1 << 13) ? 7:6; /* scblksize = 2^[7..6] */
  179. scw = ((i >> 16) & 7) + 19 - 1; /* scwaysize = 2^[24..19] / 2 */
  180. i = ((1 << scw) - 1) & ~((1 << scb) - 1);
  181. printk(KERN_ERR "S: 0: %08x %08x, 1: %08x %08x (PA[%u:%u] %05x)\n",
  182. cache_tags.tags[0][0].hi, cache_tags.tags[0][0].lo,
  183. cache_tags.tags[0][1].hi, cache_tags.tags[0][1].lo,
  184. scw-1, scb, i & (unsigned)cache_tags.err_addr);
  185. }
  186. static inline const char *cause_excode_text(int cause)
  187. {
  188. static const char *txt[32] =
  189. { "Interrupt",
  190. "TLB modification",
  191. "TLB (load or instruction fetch)",
  192. "TLB (store)",
  193. "Address error (load or instruction fetch)",
  194. "Address error (store)",
  195. "Bus error (instruction fetch)",
  196. "Bus error (data: load or store)",
  197. "Syscall",
  198. "Breakpoint",
  199. "Reserved instruction",
  200. "Coprocessor unusable",
  201. "Arithmetic Overflow",
  202. "Trap",
  203. "14",
  204. "Floating-Point",
  205. "16", "17", "18", "19", "20", "21", "22",
  206. "Watch Hi/Lo",
  207. "24", "25", "26", "27", "28", "29", "30", "31",
  208. };
  209. return txt[(cause & 0x7c) >> 2];
  210. }
  211. static void print_buserr(const struct pt_regs *regs)
  212. {
  213. const int field = 2 * sizeof(unsigned long);
  214. int error = 0;
  215. if (extio_stat & EXTIO_MC_BUSERR) {
  216. printk(KERN_ERR "MC Bus Error\n");
  217. error |= 1;
  218. }
  219. if (extio_stat & EXTIO_HPC3_BUSERR) {
  220. printk(KERN_ERR "HPC3 Bus Error 0x%x:<id=0x%x,%s,lane=0x%x>\n",
  221. hpc3_berr_stat,
  222. (hpc3_berr_stat & HPC3_BESTAT_PIDMASK) >>
  223. HPC3_BESTAT_PIDSHIFT,
  224. (hpc3_berr_stat & HPC3_BESTAT_CTYPE) ? "PIO" : "DMA",
  225. hpc3_berr_stat & HPC3_BESTAT_BLMASK);
  226. error |= 2;
  227. }
  228. if (extio_stat & EXTIO_EISA_BUSERR) {
  229. printk(KERN_ERR "EISA Bus Error\n");
  230. error |= 4;
  231. }
  232. if (cpu_err_stat & CPU_ERRMASK) {
  233. printk(KERN_ERR "CPU error 0x%x<%s%s%s%s%s%s> @ 0x%08x\n",
  234. cpu_err_stat,
  235. cpu_err_stat & SGIMC_CSTAT_RD ? "RD " : "",
  236. cpu_err_stat & SGIMC_CSTAT_PAR ? "PAR " : "",
  237. cpu_err_stat & SGIMC_CSTAT_ADDR ? "ADDR " : "",
  238. cpu_err_stat & SGIMC_CSTAT_SYSAD_PAR ? "SYSAD " : "",
  239. cpu_err_stat & SGIMC_CSTAT_SYSCMD_PAR ? "SYSCMD " : "",
  240. cpu_err_stat & SGIMC_CSTAT_BAD_DATA ? "BAD_DATA " : "",
  241. cpu_err_addr);
  242. error |= 8;
  243. }
  244. if (gio_err_stat & GIO_ERRMASK) {
  245. printk(KERN_ERR "GIO error 0x%x:<%s%s%s%s%s%s%s%s> @ 0x%08x\n",
  246. gio_err_stat,
  247. gio_err_stat & SGIMC_GSTAT_RD ? "RD " : "",
  248. gio_err_stat & SGIMC_GSTAT_WR ? "WR " : "",
  249. gio_err_stat & SGIMC_GSTAT_TIME ? "TIME " : "",
  250. gio_err_stat & SGIMC_GSTAT_PROM ? "PROM " : "",
  251. gio_err_stat & SGIMC_GSTAT_ADDR ? "ADDR " : "",
  252. gio_err_stat & SGIMC_GSTAT_BC ? "BC " : "",
  253. gio_err_stat & SGIMC_GSTAT_PIO_RD ? "PIO_RD " : "",
  254. gio_err_stat & SGIMC_GSTAT_PIO_WR ? "PIO_WR " : "",
  255. gio_err_addr);
  256. error |= 16;
  257. }
  258. if (!error)
  259. printk(KERN_ERR "MC: Hmm, didn't find any error condition.\n");
  260. else {
  261. printk(KERN_ERR "CP0: config %08x, "
  262. "MC: cpuctrl0/1: %08x/%05x, giopar: %04x\n"
  263. "MC: cpu/gio_memacc: %08x/%05x, memcfg0/1: %08x/%08x\n",
  264. read_c0_config(),
  265. sgimc->cpuctrl0, sgimc->cpuctrl0, sgimc->giopar,
  266. sgimc->cmacc, sgimc->gmacc,
  267. sgimc->mconfig0, sgimc->mconfig1);
  268. print_cache_tags();
  269. }
  270. printk(KERN_ALERT "%s, epc == %0*lx, ra == %0*lx\n",
  271. cause_excode_text(regs->cp0_cause),
  272. field, regs->cp0_epc, field, regs->regs[31]);
  273. }
  274. /*
  275. * Check, whether MC's (virtual) DMA address caused the bus error.
  276. * See "Virtual DMA Specification", Draft 1.5, Feb 13 1992, SGI
  277. */
  278. static int addr_is_ram(unsigned long addr, unsigned sz)
  279. {
  280. int i;
  281. for (i = 0; i < boot_mem_map.nr_map; i++) {
  282. unsigned long a = boot_mem_map.map[i].addr;
  283. if (a <= addr && addr+sz <= a+boot_mem_map.map[i].size)
  284. return 1;
  285. }
  286. return 0;
  287. }
  288. static int check_microtlb(u32 hi, u32 lo, unsigned long vaddr)
  289. {
  290. /* This is likely rather similar to correct code ;-) */
  291. vaddr &= 0x7fffffff; /* Doc. states that top bit is ignored */
  292. /* If tlb-entry is valid and VPN-high (bits [30:21] ?) matches... */
  293. if ((lo & 2) && (vaddr >> 21) == ((hi<<1) >> 22)) {
  294. u32 ctl = sgimc->dma_ctrl;
  295. if (ctl & 1) {
  296. unsigned int pgsz = (ctl & 2) ? 14:12; /* 16k:4k */
  297. /* PTEIndex is VPN-low (bits [22:14]/[20:12] ?) */
  298. unsigned long pte = (lo >> 6) << 12; /* PTEBase */
  299. pte += 8*((vaddr >> pgsz) & 0x1ff);
  300. if (addr_is_ram(pte, 8)) {
  301. /*
  302. * Note: Since DMA hardware does look up
  303. * translation on its own, this PTE *must*
  304. * match the TLB/EntryLo-register format !
  305. */
  306. unsigned long a = *(unsigned long *)
  307. PHYS_TO_XKSEG_UNCACHED(pte);
  308. a = (a & 0x3f) << 6; /* PFN */
  309. a += vaddr & ((1 << pgsz) - 1);
  310. return cpu_err_addr == a;
  311. }
  312. }
  313. }
  314. return 0;
  315. }
  316. static int check_vdma_memaddr(void)
  317. {
  318. if (cpu_err_stat & CPU_ERRMASK) {
  319. u32 a = sgimc->maddronly;
  320. if (!(sgimc->dma_ctrl & 0x100)) /* Xlate-bit clear ? */
  321. return cpu_err_addr == a;
  322. if (check_microtlb(sgimc->dtlb_hi0, sgimc->dtlb_lo0, a) ||
  323. check_microtlb(sgimc->dtlb_hi1, sgimc->dtlb_lo1, a) ||
  324. check_microtlb(sgimc->dtlb_hi2, sgimc->dtlb_lo2, a) ||
  325. check_microtlb(sgimc->dtlb_hi3, sgimc->dtlb_lo3, a))
  326. return 1;
  327. }
  328. return 0;
  329. }
  330. static int check_vdma_gioaddr(void)
  331. {
  332. if (gio_err_stat & GIO_ERRMASK) {
  333. u32 a = sgimc->gio_dma_trans;
  334. a = (sgimc->gmaddronly & ~a) | (sgimc->gio_dma_sbits & a);
  335. return gio_err_addr == a;
  336. }
  337. return 0;
  338. }
  339. /*
  340. * MC sends an interrupt whenever bus or parity errors occur. In addition,
  341. * if the error happened during a CPU read, it also asserts the bus error
  342. * pin on the R4K. Code in bus error handler save the MC bus error registers
  343. * and then clear the interrupt when this happens.
  344. */
  345. static int ip28_be_interrupt(const struct pt_regs *regs)
  346. {
  347. int i;
  348. save_and_clear_buserr();
  349. /*
  350. * Try to find out, whether we got here by a mispredicted speculative
  351. * load/store operation. If so, it's not fatal, we can go on.
  352. */
  353. /* Any cause other than "Interrupt" (ExcCode 0) is fatal. */
  354. if (regs->cp0_cause & CAUSEF_EXCCODE)
  355. goto mips_be_fatal;
  356. /* Any cause other than "Bus error interrupt" (IP6) is weird. */
  357. if ((regs->cp0_cause & CAUSEF_IP6) != CAUSEF_IP6)
  358. goto mips_be_fatal;
  359. if (extio_stat & (EXTIO_HPC3_BUSERR | EXTIO_EISA_BUSERR))
  360. goto mips_be_fatal;
  361. /* Any state other than "Memory bus error" is fatal. */
  362. if (cpu_err_stat & CPU_ERRMASK & ~SGIMC_CSTAT_ADDR)
  363. goto mips_be_fatal;
  364. /* GIO errors other than timeouts are fatal */
  365. if (gio_err_stat & GIO_ERRMASK & ~SGIMC_GSTAT_TIME)
  366. goto mips_be_fatal;
  367. /*
  368. * Now we have an asynchronous bus error, speculatively or DMA caused.
  369. * Need to search all DMA descriptors for the error address.
  370. */
  371. for (i = 0; i < sizeof(hpc3)/sizeof(struct hpc3_stat); ++i) {
  372. struct hpc3_stat *hp = (struct hpc3_stat *)&hpc3 + i;
  373. if ((cpu_err_stat & CPU_ERRMASK) &&
  374. (cpu_err_addr == hp->ndptr || cpu_err_addr == hp->cbp))
  375. break;
  376. if ((gio_err_stat & GIO_ERRMASK) &&
  377. (gio_err_addr == hp->ndptr || gio_err_addr == hp->cbp))
  378. break;
  379. }
  380. if (i < sizeof(hpc3)/sizeof(struct hpc3_stat)) {
  381. struct hpc3_stat *hp = (struct hpc3_stat *)&hpc3 + i;
  382. printk(KERN_ERR "at DMA addresses: HPC3 @ %08lx:"
  383. " ctl %08x, ndp %08x, cbp %08x\n",
  384. CPHYSADDR(hp->addr), hp->ctrl, hp->ndptr, hp->cbp);
  385. goto mips_be_fatal;
  386. }
  387. /* Check MC's virtual DMA stuff. */
  388. if (check_vdma_memaddr()) {
  389. printk(KERN_ERR "at GIO DMA: mem address 0x%08x.\n",
  390. sgimc->maddronly);
  391. goto mips_be_fatal;
  392. }
  393. if (check_vdma_gioaddr()) {
  394. printk(KERN_ERR "at GIO DMA: gio address 0x%08x.\n",
  395. sgimc->gmaddronly);
  396. goto mips_be_fatal;
  397. }
  398. /* A speculative bus error... */
  399. if (debug_be_interrupt) {
  400. print_buserr(regs);
  401. printk(KERN_ERR "discarded!\n");
  402. }
  403. return MIPS_BE_DISCARD;
  404. mips_be_fatal:
  405. print_buserr(regs);
  406. return MIPS_BE_FATAL;
  407. }
  408. void ip22_be_interrupt(int irq)
  409. {
  410. struct pt_regs *regs = get_irq_regs();
  411. count_be_interrupt++;
  412. if (ip28_be_interrupt(regs) != MIPS_BE_DISCARD) {
  413. /* Assume it would be too dangerous to continue ... */
  414. die_if_kernel("Oops", regs);
  415. force_sig(SIGBUS, current);
  416. } else if (debug_be_interrupt)
  417. show_regs((struct pt_regs *)regs);
  418. }
  419. static int ip28_be_handler(struct pt_regs *regs, int is_fixup)
  420. {
  421. /*
  422. * We arrive here only in the unusual case of do_be() invocation,
  423. * i.e. by a bus error exception without a bus error interrupt.
  424. */
  425. if (is_fixup) {
  426. count_be_is_fixup++;
  427. save_and_clear_buserr();
  428. return MIPS_BE_FIXUP;
  429. }
  430. count_be_handler++;
  431. return ip28_be_interrupt(regs);
  432. }
  433. void __init ip22_be_init(void)
  434. {
  435. board_be_handler = ip28_be_handler;
  436. }
  437. int ip28_show_be_info(struct seq_file *m)
  438. {
  439. seq_printf(m, "IP28 be fixups\t\t: %u\n", count_be_is_fixup);
  440. seq_printf(m, "IP28 be interrupts\t: %u\n", count_be_interrupt);
  441. seq_printf(m, "IP28 be handler\t\t: %u\n", count_be_handler);
  442. return 0;
  443. }
  444. static int __init debug_be_setup(char *str)
  445. {
  446. debug_be_interrupt++;
  447. return 1;
  448. }
  449. __setup("ip28_debug_be", debug_be_setup);