ip28-berr.c 15 KB

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