Re: [net-next v6 14/14] octeontx2-af: cn10k: MAC internal loopback support
by kernel test robot
Hi Geetha,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Geetha-sowjanya/Add-Marvell-CN10...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e4b62cf7559f2ef9a022de235e5a09a8d7ded520
config: arm64-randconfig-r012-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/afa77ec1a9bc63606c505997158f4d394...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Geetha-sowjanya/Add-Marvell-CN10K-support/20210212-001410
git checkout afa77ec1a9bc63606c505997158f4d3940439f01
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c:731:38: warning: variable 'cgx_id' is uninitialized when used here [-Wuninitialized]
mac_ops = get_mac_ops(rvu_cgx_pdata(cgx_id, rvu));
^~~~~~
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c:726:11: note: initialize the variable 'cgx_id' to silence this warning
u8 cgx_id, lmac_id;
^
= '\0'
>> drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c:734:8: warning: variable 'lmac_id' is uninitialized when used here [-Wuninitialized]
lmac_id, en);
^~~~~~~
drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c:726:20: note: initialize the variable 'lmac_id' to silence this warning
u8 cgx_id, lmac_id;
^
= '\0'
2 warnings generated.
vim +/cgx_id +731 drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c
722
723 static int rvu_cgx_config_intlbk(struct rvu *rvu, u16 pcifunc, bool en)
724 {
725 struct mac_ops *mac_ops;
726 u8 cgx_id, lmac_id;
727
728 if (!is_cgx_config_permitted(rvu, pcifunc))
729 return -EPERM;
730
> 731 mac_ops = get_mac_ops(rvu_cgx_pdata(cgx_id, rvu));
732
733 return mac_ops->mac_lmac_intl_lbk(rvu_cgx_pdata(cgx_id, rvu),
> 734 lmac_id, en);
735 }
736
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[linux-stable-rc:linux-5.4.y 3729/4836] arch/riscv/include/asm/processor.h:68:2: error: implicit declaration of function 'barrier'
by kernel test robot
Hi Arvind,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head: 539f3bba2f5bb16b852f7d0cf50f8d39d0c4c4e3
commit: c2c5dc84ac51da90cadcb12554c69bdd5ac7aeeb [3729/4836] compiler.h: fix barrier_data() on clang
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.4.y
git checkout c2c5dc84ac51da90cadcb12554c69bdd5ac7aeeb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/prefetch.h:15,
from drivers/net/ethernet/intel/ice/ice_txrx.c:6:
arch/riscv/include/asm/processor.h: In function 'cpu_relax':
>> arch/riscv/include/asm/processor.h:68:2: error: implicit declaration of function 'barrier' [-Werror=implicit-function-declaration]
68 | barrier();
| ^~~~~~~
cc1: some warnings being treated as errors
vim +/barrier +68 arch/riscv/include/asm/processor.h
7db91e57a0acde Palmer Dabbelt 2017-07-10 59
7db91e57a0acde Palmer Dabbelt 2017-07-10 60
7db91e57a0acde Palmer Dabbelt 2017-07-10 61 static inline void cpu_relax(void)
7db91e57a0acde Palmer Dabbelt 2017-07-10 62 {
7db91e57a0acde Palmer Dabbelt 2017-07-10 63 #ifdef __riscv_muldiv
7db91e57a0acde Palmer Dabbelt 2017-07-10 64 int dummy;
7db91e57a0acde Palmer Dabbelt 2017-07-10 65 /* In lieu of a halt instruction, induce a long-latency stall. */
7db91e57a0acde Palmer Dabbelt 2017-07-10 66 __asm__ __volatile__ ("div %0, %0, zero" : "=r" (dummy));
7db91e57a0acde Palmer Dabbelt 2017-07-10 67 #endif
7db91e57a0acde Palmer Dabbelt 2017-07-10 @68 barrier();
7db91e57a0acde Palmer Dabbelt 2017-07-10 69 }
7db91e57a0acde Palmer Dabbelt 2017-07-10 70
:::::: The code at line 68 was first introduced by commit
:::::: 7db91e57a0acde126a162ababfb1e0ab190130cb RISC-V: Task implementation
:::::: TO: Palmer Dabbelt <palmer(a)dabbelt.com>
:::::: CC: Palmer Dabbelt <palmer(a)dabbelt.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[fuse:fs_fuse_split 5/5] fs/fuse/inode.c:1503:16: warning: variable 'fc' is uninitialized when used here
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git fs_fuse_split
head: 674d5faded4c40245ea02240e731aa82c7ab4c9e
commit: 674d5faded4c40245ea02240e731aa82c7ab4c9e [5/5] fuse: alloc initial fuse_conn and fuse_mount
config: powerpc-randconfig-r025-20210209 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git/commit/...
git remote add fuse https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git
git fetch --no-tags fuse fs_fuse_split
git checkout 674d5faded4c40245ea02240e731aa82c7ab4c9e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> fs/fuse/inode.c:1503:16: warning: variable 'fc' is uninitialized when used here [-Wuninitialized]
fuse_conn_put(fc);
^~
fs/fuse/inode.c:1466:22: note: initialize the variable 'fc' to silence this warning
struct fuse_conn *fc;
^
= NULL
1 warning generated.
vim +/fc +1503 fs/fuse/inode.c
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1460
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1461 static int fuse_fill_super(struct super_block *sb, struct fs_context *fsc)
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1462 {
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1463 struct fuse_fs_context *ctx = fsc->fs_private;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1464 struct file *file;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1465 int err;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1466 struct fuse_conn *fc;
fcee216beb9c15 Max Reitz 2020-05-06 1467 struct fuse_mount *fm;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1468
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1469 err = -EINVAL;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1470 file = fget(ctx->fd);
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1471 if (!file)
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1472 goto err;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1473
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1474 /*
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1475 * Require mount to happen from the same user namespace which
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1476 * opened /dev/fuse to prevent potential attacks.
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1477 */
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1478 if ((file->f_op != &fuse_dev_operations) ||
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1479 (file->f_cred->user_ns != sb->s_user_ns))
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1480 goto err_fput;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1481 ctx->fudptr = &file->private_data;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1482
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1483 err = -ENOMEM;
674d5faded4c40 Miklos Szeredi 2021-02-11 1484 fm = fuse_conn_new(sb->s_user_ns, &fuse_dev_fiq_ops, NULL, NULL, NULL);
674d5faded4c40 Miklos Szeredi 2021-02-11 1485 if (!fm)
fcee216beb9c15 Max Reitz 2020-05-06 1486 goto err_fput;
fcee216beb9c15 Max Reitz 2020-05-06 1487
fcee216beb9c15 Max Reitz 2020-05-06 1488 sb->s_fs_info = fm;
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1489
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1490 err = fuse_fill_super_common(sb, ctx);
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1491 if (err)
0cc2656cdb0b1f Stefan Hajnoczi 2018-06-13 1492 goto err_put_conn;
0720b315976447 Miklos Szeredi 2006-04-10 1493 /*
0720b315976447 Miklos Szeredi 2006-04-10 1494 * atomic_dec_and_test() in fput() provides the necessary
0720b315976447 Miklos Szeredi 2006-04-10 1495 * memory barrier for file->private_data to be visible on all
0720b315976447 Miklos Szeredi 2006-04-10 1496 * CPUs after this
0720b315976447 Miklos Szeredi 2006-04-10 1497 */
0720b315976447 Miklos Szeredi 2006-04-10 1498 fput(file);
fcee216beb9c15 Max Reitz 2020-05-06 1499 fuse_send_init(get_fuse_mount_super(sb));
d8a5ba45457e4a Miklos Szeredi 2005-09-09 1500 return 0;
d8a5ba45457e4a Miklos Szeredi 2005-09-09 1501
c2b8f006909b9b Miklos Szeredi 2009-01-26 1502 err_put_conn:
514b5e3ff45e6c Miklos Szeredi 2020-11-11 @1503 fuse_conn_put(fc);
514b5e3ff45e6c Miklos Szeredi 2020-11-11 1504 kfree(fm);
543b8f8662fe6d Tetsuo Handa 2018-05-01 1505 sb->s_fs_info = NULL;
c2b8f006909b9b Miklos Szeredi 2009-01-26 1506 err_fput:
c2b8f006909b9b Miklos Szeredi 2009-01-26 1507 fput(file);
c2b8f006909b9b Miklos Szeredi 2009-01-26 1508 err:
d8a5ba45457e4a Miklos Szeredi 2005-09-09 1509 return err;
d8a5ba45457e4a Miklos Szeredi 2005-09-09 1510 }
d8a5ba45457e4a Miklos Szeredi 2005-09-09 1511
:::::: The code at line 1503 was first introduced by commit
:::::: 514b5e3ff45e6cfc39cfa7c094727d8e6d885986 fuse: get rid of fuse_mount refcount
:::::: TO: Miklos Szeredi <mszeredi(a)redhat.com>
:::::: CC: Miklos Szeredi <mszeredi(a)redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
arch/x86/mm/pat/set_memory.c:95:19: error: 'DIRECT_MAP_2M_SPLIT' undeclared
by kernel test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20210129-103224/Steven-Ro...
head: c140cea32477ff764802c34df91fd920fee36903
commit: c140cea32477ff764802c34df91fd920fee36903 x86/mm: Tracking linear mapping split events
date: 2 weeks ago
config: i386-randconfig-a016-20210209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/c140cea32477ff764802c34df91fd920f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20210129-103224/Steven-Rostedt/sched-tracing-Reset-critical-timings-on-scheduling/20210129-032839
git checkout c140cea32477ff764802c34df91fd920fee36903
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/mm/pat/set_memory.c:90:6: warning: no previous prototype for 'update_split_page_event_count' [-Wmissing-prototypes]
90 | void update_split_page_event_count(int level)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/mm/pat/set_memory.c: In function 'update_split_page_event_count':
>> arch/x86/mm/pat/set_memory.c:95:19: error: 'DIRECT_MAP_2M_SPLIT' undeclared (first use in this function)
95 | count_vm_event(DIRECT_MAP_2M_SPLIT);
| ^~~~~~~~~~~~~~~~~~~
arch/x86/mm/pat/set_memory.c:95:19: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/mm/pat/set_memory.c:100:19: error: 'DIRECT_MAP_1G_SPLIT' undeclared (first use in this function)
100 | count_vm_event(DIRECT_MAP_1G_SPLIT);
| ^~~~~~~~~~~~~~~~~~~
vim +/DIRECT_MAP_2M_SPLIT +95 arch/x86/mm/pat/set_memory.c
89
90 void update_split_page_event_count(int level)
91 {
92 if (system_state == SYSTEM_RUNNING) {
93 if (level == PG_LEVEL_2M) {
94 #if defined(CONFIG_X86_64) || defined(CONFIG_X86_PAE)
> 95 count_vm_event(DIRECT_MAP_2M_SPLIT);
96 #else
97 count_vm_event(DIRECT_MAP_4M_SPLIT);
98 #endif
99 } else if (level == PG_LEVEL_1G) {
100 count_vm_event(DIRECT_MAP_1G_SPLIT);
101 }
102 }
103 }
104
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [PATCH v1 2/4] usb: typec: tps6598x: Add trace event for status register
by kernel test robot
Hi "Guido,
I love your patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v5.11-rc7 next-20210211]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Guido-G-nther/usb-typec-tps6598x...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: microblaze-randconfig-r026-20210209 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/17785e43289bc7b92db7b401cd53a37c7...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Guido-G-nther/usb-typec-tps6598x-Add-IRQ-flag-and-register-tracing/20210212-001108
git checkout 17785e43289bc7b92db7b401cd53a37c7a9faed2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=microblaze
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/usb/typec/./tps6598x_trace.h:137:1: note: in expansion of macro 'TRACE_EVENT'
137 | TRACE_EVENT(tps6598x_irq,
| ^~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:152:6: note: in expansion of macro 'TP_printk'
152 | TP_printk("event1=%s, event2=%s",
| ^~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:22:2: note: in expansion of macro '__print_flags'
22 | __print_flags(flags, "|", \
| ^~~~~~~~~~~~~
drivers/usb/typec/tps6598x.h:83:48: note: in expansion of macro 'BIT'
83 | #define TPS_REG_INT_USER_VID_ALT_MODE_ENTERED BIT(24+32)
| ^~~
drivers/usb/typec/./tps6598x_trace.h:65:5: note: in expansion of macro 'TPS_REG_INT_USER_VID_ALT_MODE_ENTERED'
65 | { TPS_REG_INT_USER_VID_ALT_MODE_ENTERED, "USER_VID_ALT_MODE_ENTERED" }, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:154:9: note: in expansion of macro 'show_irq_flags'
154 | show_irq_flags(__entry->event2))
| ^~~~~~~~~~~~~~
include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^~
include/trace/trace_events.h:367:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
367 | trace_seq_printf(s, print); \
| ^~~~~
include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS'
80 | PARAMS(print)); \
| ^~~~~~
drivers/usb/typec/./tps6598x_trace.h:137:1: note: in expansion of macro 'TRACE_EVENT'
137 | TRACE_EVENT(tps6598x_irq,
| ^~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:152:6: note: in expansion of macro 'TP_printk'
152 | TP_printk("event1=%s, event2=%s",
| ^~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:22:2: note: in expansion of macro '__print_flags'
22 | __print_flags(flags, "|", \
| ^~~~~~~~~~~~~
drivers/usb/typec/tps6598x.h:82:45: note: in expansion of macro 'BIT'
82 | #define TPS_REG_INT_USER_VID_ALT_MODE_EXIT BIT(25+32)
| ^~~
drivers/usb/typec/./tps6598x_trace.h:66:5: note: in expansion of macro 'TPS_REG_INT_USER_VID_ALT_MODE_EXIT'
66 | { TPS_REG_INT_USER_VID_ALT_MODE_EXIT, "USER_VID_ALT_MODE_EXIT" }, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:154:9: note: in expansion of macro 'show_irq_flags'
154 | show_irq_flags(__entry->event2))
| ^~~~~~~~~~~~~~
include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^~
include/trace/trace_events.h:367:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
367 | trace_seq_printf(s, print); \
| ^~~~~
include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS'
80 | PARAMS(print)); \
| ^~~~~~
drivers/usb/typec/./tps6598x_trace.h:137:1: note: in expansion of macro 'TRACE_EVENT'
137 | TRACE_EVENT(tps6598x_irq,
| ^~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:152:6: note: in expansion of macro 'TP_printk'
152 | TP_printk("event1=%s, event2=%s",
| ^~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:22:2: note: in expansion of macro '__print_flags'
22 | __print_flags(flags, "|", \
| ^~~~~~~~~~~~~
drivers/usb/typec/tps6598x.h:81:49: note: in expansion of macro 'BIT'
81 | #define TPS_REG_INT_USER_VID_ALT_MODE_ATTN_VDM BIT(26+32)
| ^~~
drivers/usb/typec/./tps6598x_trace.h:67:5: note: in expansion of macro 'TPS_REG_INT_USER_VID_ALT_MODE_ATTN_VDM'
67 | { TPS_REG_INT_USER_VID_ALT_MODE_ATTN_VDM, "USER_VID_ALT_MODE_ATTN_VDM" }, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:154:9: note: in expansion of macro 'show_irq_flags'
154 | show_irq_flags(__entry->event2))
| ^~~~~~~~~~~~~~
include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow]
7 | #define BIT(nr) (UL(1) << (nr))
| ^~
include/trace/trace_events.h:367:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
367 | trace_seq_printf(s, print); \
| ^~~~~
include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS'
80 | PARAMS(print)); \
| ^~~~~~
drivers/usb/typec/./tps6598x_trace.h:137:1: note: in expansion of macro 'TRACE_EVENT'
137 | TRACE_EVENT(tps6598x_irq,
| ^~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:152:6: note: in expansion of macro 'TP_printk'
152 | TP_printk("event1=%s, event2=%s",
| ^~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:22:2: note: in expansion of macro '__print_flags'
22 | __print_flags(flags, "|", \
| ^~~~~~~~~~~~~
drivers/usb/typec/tps6598x.h:80:50: note: in expansion of macro 'BIT'
80 | #define TPS_REG_INT_USER_VID_ALT_MODE_OTHER_VDM BIT(27+32)
| ^~~
drivers/usb/typec/./tps6598x_trace.h:68:5: note: in expansion of macro 'TPS_REG_INT_USER_VID_ALT_MODE_OTHER_VDM'
68 | { TPS_REG_INT_USER_VID_ALT_MODE_OTHER_VDM, "USER_VID_ALT_MODE_OTHER_VDM" })
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:154:9: note: in expansion of macro 'show_irq_flags'
154 | show_irq_flags(__entry->event2))
| ^~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h: In function 'trace_raw_output_tps6598x_status':
>> drivers/usb/typec/tps6598x.h:28:35: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
28 | #define TPS_STATUS_CONN_STATE(x) FIELD_GET(TPS_STATUS_CONN_STATE_MASK, (x))
| ^~~~~~~~~
include/trace/trace_events.h:367:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
367 | trace_seq_printf(s, print); \
| ^~~~~
include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS'
80 | PARAMS(print)); \
| ^~~~~~
drivers/usb/typec/./tps6598x_trace.h:157:1: note: in expansion of macro 'TRACE_EVENT'
157 | TRACE_EVENT(tps6598x_status,
| ^~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:169:6: note: in expansion of macro 'TP_printk'
169 | TP_printk("conn: %s, pp_5v0: %s, pp_hv: %s, pp_ext: %s, pp_cable: %s, "
| ^~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:81:2: note: in expansion of macro '__print_symbolic'
81 | __print_symbolic(TPS_STATUS_CONN_STATE((status)), \
| ^~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:81:19: note: in expansion of macro 'TPS_STATUS_CONN_STATE'
81 | __print_symbolic(TPS_STATUS_CONN_STATE((status)), \
| ^~~~~~~~~~~~~~~~~~~~~
drivers/usb/typec/./tps6598x_trace.h:171:9: note: in expansion of macro 'show_status_conn_state'
171 | show_status_conn_state(__entry->status),
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +28 drivers/usb/typec/tps6598x.h
26
27 #define TPS_STATUS_CONN_STATE_MASK GENMASK(3, 1)
> 28 #define TPS_STATUS_CONN_STATE(x) FIELD_GET(TPS_STATUS_CONN_STATE_MASK, (x))
29 #define TPS_STATUS_PP_5V0_SWITCH_MASK GENMASK(9, 8)
30 #define TPS_STATUS_PP_5V0_SWITCH(x) FIELD_GET(TPS_STATUS_PP_5V0_SWITCH_MASK, (x))
31 #define TPS_STATUS_PP_HV_SWITCH_MASK GENMASK(11, 10)
32 #define TPS_STATUS_PP_HV_SWITCH(x) FIELD_GET(TPS_STATUS_PP_HV_SWITCH_MASK, (x))
33 #define TPS_STATUS_PP_EXT_SWITCH_MASK GENMASK(13, 12)
34 #define TPS_STATUS_PP_EXT_SWITCH(x) FIELD_GET(TPS_STATUS_PP_EXT_SWITCH_MASK, (x))
35 #define TPS_STATUS_PP_CABLE_SWITCH_MASK GENMASK(15, 14)
36 #define TPS_STATUS_PP_CABLE_SWITCH(x) FIELD_GET(TPS_STATUS_PP_CABLE_SWITCH_MASK, (x))
37 #define TPS_STATUS_POWER_SOURCE_MASK GENMASK(19, 18)
38 #define TPS_STATUS_POWER_SOURCE(x) FIELD_GET(TPS_STATUS_POWER_SOURCE_MASK, (x))
39 #define TPS_STATUS_VBUS_STATUS_MASK GENMASK(21, 20)
40 #define TPS_STATUS_VBUS_STATUS(x) FIELD_GET(TPS_STATUS_VBUS_STATUS_MASK, (x))
41 #define TPS_STATUS_USB_HOST_PRESENT_MASK GENMASK(23, 22)
42 #define TPS_STATUS_USB_HOST_PRESENT(x) FIELD_GET(TPS_STATUS_USB_HOST_PRESENT_MASK, (x))
43 #define TPS_STATUS_LEGACY_MASK GENMASK(25, 24)
44 #define TPS_STATUS_LEGACY(x) FIELD_GET(TPS_STATUS_LEGACY_MASK, (x))
45
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[luto:x86/fixes 8/17] arch/x86/mm/tlb.c:538:10: error: 'MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE' undeclared
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/fixes
head: 087ddc16a1dd1d4cb567859f56eb0b28ef65ee6c
commit: 5b4882d107fcdde14bac4beebd53c39c80bb0d2f [8/17] x86/mm: Handle unlazying membarrier core sync in the arch code
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/commit/?id...
git remote add luto https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
git fetch --no-tags luto x86/fixes
git checkout 5b4882d107fcdde14bac4beebd53c39c80bb0d2f
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/init.h:5,
from arch/x86/mm/tlb.c:2:
arch/x86/mm/tlb.c: In function 'switch_mm_irqs_off':
arch/x86/mm/tlb.c:537:34: error: 'struct mm_struct' has no member named 'membarrier_state'
537 | if (unlikely(atomic_read(&next->membarrier_state) &
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
>> arch/x86/mm/tlb.c:538:10: error: 'MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE' undeclared (first use in this function)
538 | MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
arch/x86/mm/tlb.c:538:10: note: each undeclared identifier is reported only once for each function it appears in
538 | MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
vim +/MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE +538 arch/x86/mm/tlb.c
422
423 void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next,
424 struct task_struct *tsk)
425 {
426 struct mm_struct *real_prev = this_cpu_read(cpu_tlbstate.loaded_mm);
427 u16 prev_asid = this_cpu_read(cpu_tlbstate.loaded_mm_asid);
428 bool was_lazy = this_cpu_read(cpu_tlbstate.is_lazy);
429 unsigned cpu = smp_processor_id();
430 u64 next_tlb_gen;
431 bool need_flush;
432 u16 new_asid;
433
434 /*
435 * NB: The scheduler will call us with prev == next when switching
436 * from lazy TLB mode to normal mode if active_mm isn't changing.
437 * When this happens, we don't assume that CR3 (and hence
438 * cpu_tlbstate.loaded_mm) matches next.
439 *
440 * NB: leave_mm() calls us with prev == NULL and tsk == NULL.
441 */
442
443 /* We don't want flush_tlb_func_* to run concurrently with us. */
444 if (IS_ENABLED(CONFIG_PROVE_LOCKING))
445 WARN_ON_ONCE(!irqs_disabled());
446
447 /*
448 * Verify that CR3 is what we think it is. This will catch
449 * hypothetical buggy code that directly switches to swapper_pg_dir
450 * without going through leave_mm() / switch_mm_irqs_off() or that
451 * does something like write_cr3(read_cr3_pa()).
452 *
453 * Only do this check if CONFIG_DEBUG_VM=y because __read_cr3()
454 * isn't free.
455 */
456 #ifdef CONFIG_DEBUG_VM
457 if (WARN_ON_ONCE(__read_cr3() != build_cr3(real_prev->pgd, prev_asid))) {
458 /*
459 * If we were to BUG here, we'd be very likely to kill
460 * the system so hard that we don't see the call trace.
461 * Try to recover instead by ignoring the error and doing
462 * a global flush to minimize the chance of corruption.
463 *
464 * (This is far from being a fully correct recovery.
465 * Architecturally, the CPU could prefetch something
466 * back into an incorrect ASID slot and leave it there
467 * to cause trouble down the road. It's better than
468 * nothing, though.)
469 */
470 __flush_tlb_all();
471 }
472 #endif
473 this_cpu_write(cpu_tlbstate.is_lazy, false);
474
475 /*
476 * membarrier() support requires that, when we change rq->curr->mm:
477 *
478 * - If next->mm has membarrier registered, a full memory barrier
479 * after writing rq->curr (or rq->curr->mm if we switched the mm
480 * without switching tasks) and before returning to user mode.
481 *
482 * - If next->mm has SYNC_CORE registered, then we sync core before
483 * returning to user mode.
484 *
485 * In the case where prev->mm == next->mm, membarrier() uses an IPI
486 * instead, and no particular barriers are needed while context
487 * switching.
488 *
489 * x86 gets all of this as a side-effect of writing to CR3 except
490 * in the case where we unlazy without flushing.
491 *
492 * All other architectures are civilized and do all of this implicitly
493 * when transitioning from kernel to user mode.
494 */
495 if (real_prev == next) {
496 VM_WARN_ON(this_cpu_read(cpu_tlbstate.ctxs[prev_asid].ctx_id) !=
497 next->context.ctx_id);
498
499 /*
500 * Even in lazy TLB mode, the CPU should stay set in the
501 * mm_cpumask. The TLB shootdown code can figure out from
502 * from cpu_tlbstate.is_lazy whether or not to send an IPI.
503 */
504 if (WARN_ON_ONCE(real_prev != &init_mm &&
505 !cpumask_test_cpu(cpu, mm_cpumask(next))))
506 cpumask_set_cpu(cpu, mm_cpumask(next));
507
508 /*
509 * If the CPU is not in lazy TLB mode, we are just switching
510 * from one thread in a process to another thread in the same
511 * process. No TLB flush or membarrier() synchronization
512 * is required.
513 */
514 if (!was_lazy)
515 return;
516
517 /*
518 * Read the tlb_gen to check whether a flush is needed.
519 * If the TLB is up to date, just use it.
520 * The barrier synchronizes with the tlb_gen increment in
521 * the TLB shootdown code.
522 *
523 * As a future optimization opportunity, it's plausible
524 * that the x86 memory model is strong enough that this
525 * smp_mb() isn't needed.
526 */
527 smp_mb();
528 next_tlb_gen = atomic64_read(&next->context.tlb_gen);
529 if (this_cpu_read(cpu_tlbstate.ctxs[prev_asid].tlb_gen) ==
530 next_tlb_gen) {
531 /*
532 * We switched logical mm but we're not going to
533 * write to CR3. We already did smp_mb() above,
534 * but membarrier() might require a sync_core()
535 * as well.
536 */
537 if (unlikely(atomic_read(&next->membarrier_state) &
> 538 MEMBARRIER_STATE_PRIVATE_EXPEDITED_SYNC_CORE))
539 sync_core_before_usermode();
540
541 return;
542 }
543
544 /*
545 * TLB contents went out of date while we were in lazy
546 * mode. Fall through to the TLB switching code below.
547 * No need for an explicit membarrier invocation -- the CR3
548 * write will serialize.
549 */
550 new_asid = prev_asid;
551 need_flush = true;
552 } else {
553 /*
554 * Avoid user/user BTB poisoning by flushing the branch
555 * predictor when switching between processes. This stops
556 * one process from doing Spectre-v2 attacks on another.
557 */
558 cond_ibpb(tsk);
559
560 /*
561 * Stop remote flushes for the previous mm.
562 * Skip kernel threads; we never send init_mm TLB flushing IPIs,
563 * but the bitmap manipulation can cause cache line contention.
564 */
565 if (real_prev != &init_mm) {
566 VM_WARN_ON_ONCE(!cpumask_test_cpu(cpu,
567 mm_cpumask(real_prev)));
568 cpumask_clear_cpu(cpu, mm_cpumask(real_prev));
569 }
570
571 /*
572 * Start remote flushes and then read tlb_gen.
573 */
574 if (next != &init_mm)
575 cpumask_set_cpu(cpu, mm_cpumask(next));
576 next_tlb_gen = atomic64_read(&next->context.tlb_gen);
577
578 choose_new_asid(next, next_tlb_gen, &new_asid, &need_flush);
579
580 /* Let nmi_uaccess_okay() know that we're changing CR3. */
581 this_cpu_write(cpu_tlbstate.loaded_mm, LOADED_MM_SWITCHING);
582 barrier();
583 }
584
585 if (need_flush) {
586 this_cpu_write(cpu_tlbstate.ctxs[new_asid].ctx_id, next->context.ctx_id);
587 this_cpu_write(cpu_tlbstate.ctxs[new_asid].tlb_gen, next_tlb_gen);
588 load_new_mm_cr3(next->pgd, new_asid, true);
589
590 trace_tlb_flush(TLB_FLUSH_ON_TASK_SWITCH, TLB_FLUSH_ALL);
591 } else {
592 /* The new ASID is already up to date. */
593 load_new_mm_cr3(next->pgd, new_asid, false);
594
595 trace_tlb_flush(TLB_FLUSH_ON_TASK_SWITCH, 0);
596 }
597
598 /* Make sure we write CR3 before loaded_mm. */
599 barrier();
600
601 this_cpu_write(cpu_tlbstate.loaded_mm, next);
602 this_cpu_write(cpu_tlbstate.loaded_mm_asid, new_asid);
603
604 if (next != real_prev) {
605 cr4_update_pce_mm(next);
606 switch_ldt(real_prev, next);
607 }
608 }
609
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
adi-axi-adc.c:undefined reference to `devm_platform_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: ef04070692a21633ec6a60f80c19b6af44b3cf47 iio: adc: adi-axi-adc: add support for AXI ADC IP core
date: 10 months ago
config: s390-randconfig-r035-20210209 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout ef04070692a21633ec6a60f80c19b6af44b3cf47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x440): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x510): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x93c): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x3a): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x270): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x30c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/iio/adc/adi-axi-adc.o: in function `adi_axi_adc_probe':
>> adi-axi-adc.c:(.text+0x782): undefined reference to `devm_platform_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[linux-next:master 4021/10581] drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 671176b0016c80b3943cb5387312c886aba3308d
commit: 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20 [4021/10581] drm/i915/gem: Almagamate clflushes on freeze
config: x86_64-randconfig-a005-20210209 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD 671176b0016c80b3943cb5387312c886aba3308d builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/i915_gem.c: In function 'i915_gem_freeze_late':
>> drivers/gpu/drm/i915/i915_gem.c:1182:2: error: implicit declaration of function 'wbinvd_on_all_cpus' [-Werror=implicit-function-declaration]
1182 | wbinvd_on_all_cpus();
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/wbinvd_on_all_cpus +1182 drivers/gpu/drm/i915/i915_gem.c
1157
1158 int i915_gem_freeze_late(struct drm_i915_private *i915)
1159 {
1160 struct drm_i915_gem_object *obj;
1161 intel_wakeref_t wakeref;
1162
1163 /*
1164 * Called just before we write the hibernation image.
1165 *
1166 * We need to update the domain tracking to reflect that the CPU
1167 * will be accessing all the pages to create and restore from the
1168 * hibernation, and so upon restoration those pages will be in the
1169 * CPU domain.
1170 *
1171 * To make sure the hibernation image contains the latest state,
1172 * we update that state just before writing out the image.
1173 *
1174 * To try and reduce the hibernation image, we manually shrink
1175 * the objects as well, see i915_gem_freeze()
1176 */
1177
1178 with_intel_runtime_pm(&i915->runtime_pm, wakeref)
1179 i915_gem_shrink(i915, -1UL, NULL, ~0);
1180 i915_gem_drain_freed_objects(i915);
1181
> 1182 wbinvd_on_all_cpus();
1183 list_for_each_entry(obj, &i915->mm.shrink_list, mm.link)
1184 __start_cpu_write(obj);
1185
1186 return 0;
1187 }
1188
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[skeggsb:00.00-inst 87/87] drivers/gpu/drm/nouveau/nvkm/subdev/top/ga100.c:82 ga100_top_oneinit() warn: inconsistent indenting
by kernel test robot
tree: https://github.com/skeggsb/linux 00.00-inst
head: f6df392dddbb9e637b785e7e3d9337a74923dc10
commit: f6df392dddbb9e637b785e7e3d9337a74923dc10 [87/87] drm/nouveau/top/ga100: initial support
config: x86_64-randconfig-m001-20210211 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
drivers/gpu/drm/nouveau/nvkm/subdev/top/ga100.c:82 ga100_top_oneinit() warn: inconsistent indenting
vim +82 drivers/gpu/drm/nouveau/nvkm/subdev/top/ga100.c
23
24 static int
25 ga100_top_oneinit(struct nvkm_top *top)
26 {
27 struct nvkm_subdev *subdev = &top->subdev;
28 struct nvkm_device *device = subdev->device;
29 struct nvkm_top_device *info = NULL;
30 u32 data, type, inst;
31 int i, n, size = nvkm_rd32(device, 0x0224fc) >> 20;
32
33 for (i = 0, n = 0; i < size; i++) {
34 if (!info) {
35 if (!(info = nvkm_top_device_new(top)))
36 return -ENOMEM;
37 type = ~0;
38 inst = 0;
39 }
40
41 data = nvkm_rd32(device, 0x022800 + (i * 0x04));
42 nvkm_trace(subdev, "%02x: %08x\n", i, data);
43 if (!data && n == 0)
44 continue;
45
46 switch (n++) {
47 case 0:
48 type = (data & 0x3f000000) >> 24;
49 inst = (data & 0x000f0000) >> 16;
50 info->fault = (data & 0x0000007f);
51 break;
52 case 1:
53 info->addr = (data & 0x00fff000);
54 info->reset = (data & 0x0000001f);
55 break;
56 case 2:
57 info->runlist = (data & 0x0000fc00) >> 10;
58 info->engine = (data & 0x00000003);
59 break;
60 default:
61 break;
62 }
63
64 if (data & 0x80000000)
65 continue;
66 n = 0;
67
68 /* Translate engine type to NVKM engine identifier. */
69 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0)
70 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0)
71 switch (type) {
72 case 0x00000000: O_(NVKM_ENGINE_GR , 0); break;
73 case 0x0000000d: O_(NVKM_ENGINE_SEC2 , 0); break;
74 case 0x0000000e: I_(NVKM_ENGINE_NVENC , inst); break;
75 case 0x00000010: I_(NVKM_ENGINE_NVDEC , inst); break;
76 case 0x00000012: I_(NVKM_SUBDEV_IOCTRL, inst); break;
77 case 0x00000013: I_(NVKM_ENGINE_CE , inst); break;
78 case 0x00000014: O_(NVKM_SUBDEV_GSP , 0); break;
79 case 0x00000015: O_(NVKM_ENGINE_NVJPG , 0); break;
80 case 0x00000016: O_(NVKM_ENGINE_OFA , 0); break;
81 case 0x00000017: O_(NVKM_SUBDEV_FLA , 0); break;
> 82 break;
83 default:
84 break;
85 }
86
87 nvkm_debug(subdev, "%02x.%d (%8s): addr %06x fault %2d "
88 "runlist %2d engine %2d reset %2d\n", type, inst,
89 info->type == NVKM_SUBDEV_NR ? "????????" : nvkm_subdev_type[info->type],
90 info->addr, info->fault, info->runlist, info->engine, info->reset);
91 info = NULL;
92 }
93
94 return 0;
95 }
96
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months