arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:49: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

From: kernel test robot
Date: Sun May 23 2021 - 00:16:55 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34c5c89890d6295621b6f09b18e7ead9046634bc
commit: f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7 scripts: kernel-doc: improve parsing for kernel-doc comments syntax
date: 5 weeks ago
config: mips-randconfig-r014-20210523 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b4fd512c36ca344a3ff69350219e8b0a67e9472a)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f9bbc12ccb35ac8b3fa01cec1a19cb523a7707c7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:49: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* __cvmx_interrupt_gmxx_rxx_int_en_enable enables all interrupt bits in cvmx_gmxx_rxx_int_en_t
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:230: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* __cvmx_interrupt_pcsx_intx_en_reg_enable enables all interrupt bits in cvmx_pcsx_intx_en_reg_t
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:271: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* __cvmx_interrupt_pcsxx_int_en_reg_enable enables all interrupt bits in cvmx_pcsxx_int_en_reg_t
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:301: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* __cvmx_interrupt_spxx_int_msk_enable enables all interrupt bits in cvmx_spxx_int_msk_t
arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c:340: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* __cvmx_interrupt_stxx_int_msk_enable enables all interrupt bits in cvmx_stxx_int_msk_t
--
arch/mips/cavium-octeon/executive/cvmx-l2c.c:285: warning: Cannot understand * @INTERNAL
on line 285 - I thought it was a doc line
arch/mips/cavium-octeon/executive/cvmx-l2c.c:579: warning: Cannot understand * @INTERNAL
on line 579 - I thought it was a doc line
>> arch/mips/cavium-octeon/executive/cvmx-l2c.c:768: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Return log base 2 of the number of sets in the L2 cache
arch/mips/cavium-octeon/executive/cvmx-l2c.c:861: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Flush a line from the L2 cache


vim +49 arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c

80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 46
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 47
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 48 /**
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 @49 * __cvmx_interrupt_gmxx_rxx_int_en_enable enables all interrupt bits in cvmx_gmxx_rxx_int_en_t
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 50 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 51 void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block)
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 52 {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 53 union cvmx_gmxx_rxx_int_en gmx_rx_int_en;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 54 cvmx_write_csr(CVMX_GMXX_RXX_INT_REG(index, block),
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 55 cvmx_read_csr(CVMX_GMXX_RXX_INT_REG(index, block)));
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 56 gmx_rx_int_en.u64 = 0;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 57 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 58 /* Skipping gmx_rx_int_en.s.reserved_29_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 59 gmx_rx_int_en.s.hg2cc = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 60 gmx_rx_int_en.s.hg2fld = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 61 gmx_rx_int_en.s.undat = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 62 gmx_rx_int_en.s.uneop = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 63 gmx_rx_int_en.s.unsop = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 64 gmx_rx_int_en.s.bad_term = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 65 gmx_rx_int_en.s.bad_seq = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 66 gmx_rx_int_en.s.rem_fault = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 67 gmx_rx_int_en.s.loc_fault = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 68 gmx_rx_int_en.s.pause_drp = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 69 /* Skipping gmx_rx_int_en.s.reserved_16_18 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 70 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 71 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 72 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 73 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 74 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 75 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 76 /* Skipping gmx_rx_int_en.s.reserved_9_9 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 77 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 78 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 79 /* Skipping gmx_rx_int_en.s.reserved_5_6 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 80 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 81 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 82 /* Skipping gmx_rx_int_en.s.reserved_2_2 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 83 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 84 /* Skipping gmx_rx_int_en.s.reserved_0_0 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 85 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 86 if (OCTEON_IS_MODEL(OCTEON_CN30XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 87 /* Skipping gmx_rx_int_en.s.reserved_19_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 88 /*gmx_rx_int_en.s.phy_dupx = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 89 /*gmx_rx_int_en.s.phy_spd = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 90 /*gmx_rx_int_en.s.phy_link = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 91 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 92 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 93 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 94 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 95 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 96 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 97 gmx_rx_int_en.s.niberr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 98 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 99 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 100 /*gmx_rx_int_en.s.lenerr = 1; // Length errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 101 gmx_rx_int_en.s.alnerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 102 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 103 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 104 gmx_rx_int_en.s.maxerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 105 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 106 gmx_rx_int_en.s.minerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 107 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 108 if (OCTEON_IS_MODEL(OCTEON_CN50XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 109 /* Skipping gmx_rx_int_en.s.reserved_20_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 110 gmx_rx_int_en.s.pause_drp = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 111 /*gmx_rx_int_en.s.phy_dupx = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 112 /*gmx_rx_int_en.s.phy_spd = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 113 /*gmx_rx_int_en.s.phy_link = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 114 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 115 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 116 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 117 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 118 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 119 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 120 gmx_rx_int_en.s.niberr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 121 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 122 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 123 /* Skipping gmx_rx_int_en.s.reserved_6_6 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 124 gmx_rx_int_en.s.alnerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 125 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 126 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 127 /* Skipping gmx_rx_int_en.s.reserved_2_2 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 128 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 129 /* Skipping gmx_rx_int_en.s.reserved_0_0 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 130 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 131 if (OCTEON_IS_MODEL(OCTEON_CN38XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 132 /* Skipping gmx_rx_int_en.s.reserved_19_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 133 /*gmx_rx_int_en.s.phy_dupx = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 134 /*gmx_rx_int_en.s.phy_spd = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 135 /*gmx_rx_int_en.s.phy_link = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 136 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 137 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 138 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 139 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 140 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 141 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 142 gmx_rx_int_en.s.niberr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 143 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 144 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 145 /*gmx_rx_int_en.s.lenerr = 1; // Length errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 146 gmx_rx_int_en.s.alnerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 147 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 148 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 149 gmx_rx_int_en.s.maxerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 150 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 151 gmx_rx_int_en.s.minerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 152 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 153 if (OCTEON_IS_MODEL(OCTEON_CN31XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 154 /* Skipping gmx_rx_int_en.s.reserved_19_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 155 /*gmx_rx_int_en.s.phy_dupx = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 156 /*gmx_rx_int_en.s.phy_spd = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 157 /*gmx_rx_int_en.s.phy_link = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 158 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 159 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 160 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 161 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 162 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 163 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 164 gmx_rx_int_en.s.niberr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 165 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 166 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 167 /*gmx_rx_int_en.s.lenerr = 1; // Length errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 168 gmx_rx_int_en.s.alnerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 169 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 170 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 171 gmx_rx_int_en.s.maxerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 172 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 173 gmx_rx_int_en.s.minerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 174 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 175 if (OCTEON_IS_MODEL(OCTEON_CN58XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 176 /* Skipping gmx_rx_int_en.s.reserved_20_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 177 gmx_rx_int_en.s.pause_drp = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 178 /*gmx_rx_int_en.s.phy_dupx = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 179 /*gmx_rx_int_en.s.phy_spd = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 180 /*gmx_rx_int_en.s.phy_link = 1; */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 181 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 182 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 183 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 184 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 185 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 186 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 187 gmx_rx_int_en.s.niberr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 188 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 189 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 190 /*gmx_rx_int_en.s.lenerr = 1; // Length errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 191 gmx_rx_int_en.s.alnerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 192 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 193 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 194 gmx_rx_int_en.s.maxerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 195 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 196 gmx_rx_int_en.s.minerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 197 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 198 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 199 /* Skipping gmx_rx_int_en.s.reserved_29_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 200 gmx_rx_int_en.s.hg2cc = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 201 gmx_rx_int_en.s.hg2fld = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 202 gmx_rx_int_en.s.undat = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 203 gmx_rx_int_en.s.uneop = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 204 gmx_rx_int_en.s.unsop = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 205 gmx_rx_int_en.s.bad_term = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 206 gmx_rx_int_en.s.bad_seq = 0;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 207 gmx_rx_int_en.s.rem_fault = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 208 gmx_rx_int_en.s.loc_fault = 0;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 209 gmx_rx_int_en.s.pause_drp = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 210 /* Skipping gmx_rx_int_en.s.reserved_16_18 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 211 /*gmx_rx_int_en.s.ifgerr = 1; */
92a76f6d8545efc arch/mips/cavium-octeon/executive/cvmx-interrupt-decodes.c Adam Buchbinder 2016-02-25 212 /*gmx_rx_int_en.s.coldet = 1; // Collision detect */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 213 /*gmx_rx_int_en.s.falerr = 1; // False carrier error or extend error after slottime */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 214 /*gmx_rx_int_en.s.rsverr = 1; // RGMII reserved opcodes */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 215 /*gmx_rx_int_en.s.pcterr = 1; // Bad Preamble / Protocol */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 216 gmx_rx_int_en.s.ovrerr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 217 /* Skipping gmx_rx_int_en.s.reserved_9_9 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 218 gmx_rx_int_en.s.skperr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 219 gmx_rx_int_en.s.rcverr = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 220 /* Skipping gmx_rx_int_en.s.reserved_5_6 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 221 /*gmx_rx_int_en.s.fcserr = 1; // FCS errors are handled when we get work */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 222 gmx_rx_int_en.s.jabber = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 223 /* Skipping gmx_rx_int_en.s.reserved_2_2 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 224 gmx_rx_int_en.s.carext = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 225 /* Skipping gmx_rx_int_en.s.reserved_0_0 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 226 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 227 cvmx_write_csr(CVMX_GMXX_RXX_INT_EN(index, block), gmx_rx_int_en.u64);
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 228 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 229 /**
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 230 * __cvmx_interrupt_pcsx_intx_en_reg_enable enables all interrupt bits in cvmx_pcsx_intx_en_reg_t
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 231 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 232 void __cvmx_interrupt_pcsx_intx_en_reg_enable(int index, int block)
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 233 {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 234 union cvmx_pcsx_intx_en_reg pcs_int_en_reg;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 235 cvmx_write_csr(CVMX_PCSX_INTX_REG(index, block),
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 236 cvmx_read_csr(CVMX_PCSX_INTX_REG(index, block)));
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 237 pcs_int_en_reg.u64 = 0;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 238 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 239 /* Skipping pcs_int_en_reg.s.reserved_12_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 240 /*pcs_int_en_reg.s.dup = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 241 pcs_int_en_reg.s.sync_bad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 242 pcs_int_en_reg.s.an_bad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 243 pcs_int_en_reg.s.rxlock_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 244 pcs_int_en_reg.s.rxbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 245 /*pcs_int_en_reg.s.rxerr_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 246 pcs_int_en_reg.s.txbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 247 pcs_int_en_reg.s.txfifo_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 248 pcs_int_en_reg.s.txfifu_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 249 pcs_int_en_reg.s.an_err_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 250 /*pcs_int_en_reg.s.xmit_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 251 /*pcs_int_en_reg.s.lnkspd_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 252 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 253 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 254 /* Skipping pcs_int_en_reg.s.reserved_12_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 255 /*pcs_int_en_reg.s.dup = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 256 pcs_int_en_reg.s.sync_bad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 257 pcs_int_en_reg.s.an_bad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 258 pcs_int_en_reg.s.rxlock_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 259 pcs_int_en_reg.s.rxbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 260 /*pcs_int_en_reg.s.rxerr_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 261 pcs_int_en_reg.s.txbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 262 pcs_int_en_reg.s.txfifo_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 263 pcs_int_en_reg.s.txfifu_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 264 pcs_int_en_reg.s.an_err_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 265 /*pcs_int_en_reg.s.xmit_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 266 /*pcs_int_en_reg.s.lnkspd_en = 1; // This happens during normal operation */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 267 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 268 cvmx_write_csr(CVMX_PCSX_INTX_EN_REG(index, block), pcs_int_en_reg.u64);
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 269 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 270 /**
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 271 * __cvmx_interrupt_pcsxx_int_en_reg_enable enables all interrupt bits in cvmx_pcsxx_int_en_reg_t
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 272 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 273 void __cvmx_interrupt_pcsxx_int_en_reg_enable(int index)
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 274 {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 275 union cvmx_pcsxx_int_en_reg pcsx_int_en_reg;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 276 cvmx_write_csr(CVMX_PCSXX_INT_REG(index),
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 277 cvmx_read_csr(CVMX_PCSXX_INT_REG(index)));
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 278 pcsx_int_en_reg.u64 = 0;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 279 if (OCTEON_IS_MODEL(OCTEON_CN56XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 280 /* Skipping pcsx_int_en_reg.s.reserved_6_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 281 pcsx_int_en_reg.s.algnlos_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 282 pcsx_int_en_reg.s.synlos_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 283 pcsx_int_en_reg.s.bitlckls_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 284 pcsx_int_en_reg.s.rxsynbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 285 pcsx_int_en_reg.s.rxbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 286 pcsx_int_en_reg.s.txflt_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 287 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 288 if (OCTEON_IS_MODEL(OCTEON_CN52XX)) {
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 289 /* Skipping pcsx_int_en_reg.s.reserved_6_63 */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 290 pcsx_int_en_reg.s.algnlos_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 291 pcsx_int_en_reg.s.synlos_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 292 pcsx_int_en_reg.s.bitlckls_en = 0; /* Happens if XAUI module is not installed */
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 293 pcsx_int_en_reg.s.rxsynbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 294 pcsx_int_en_reg.s.rxbad_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 295 pcsx_int_en_reg.s.txflt_en = 1;
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 296 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 297 cvmx_write_csr(CVMX_PCSXX_INT_EN_REG(index), pcsx_int_en_reg.u64);
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 298 }
80ff0fd3ab64514 drivers/staging/octeon/cvmx-interrupt-decodes.c David Daney 2009-05-05 299

:::::: The code at line 49 was first introduced by commit
:::::: 80ff0fd3ab6451407a20c19b80c1643c4a6d6434 Staging: Add octeon-ethernet driver files.

:::::: TO: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>
:::::: CC: Ralf Baechle <ralf@xxxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip