From: kernel test robot <lkp@intel.com> To: Geert Uytterhoeven <geert+renesas@glider.be> Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Daniel Vetter <daniel.vetter@ffwll.ch> Subject: drivers/gpu/drm/kmb/kmb_dsi.c:812:2: warning: unused function 'set_test_mode_src_osc_freq_target_low_bits' Date: Wed, 20 Jan 2021 13:50:06 +0800 [thread overview] Message-ID: <202101201353.8OWqrEBp-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 5260 bytes --] Hi Geert, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: ade896460e4a62f5e4a892a98d254937f6f5b64c drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY date: 2 months ago config: mips-randconfig-r022-20210120 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1) 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=ade896460e4a62f5e4a892a98d254937f6f5b64c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout ade896460e4a62f5e4a892a98d254937f6f5b64c # 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@intel.com> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/kmb/kmb_dsi.c:812:2: warning: unused function 'set_test_mode_src_osc_freq_target_low_bits' set_test_mode_src_osc_freq_target_low_bits(struct kmb_dsi ^ >> drivers/gpu/drm/kmb/kmb_dsi.c:824:2: warning: unused function 'set_test_mode_src_osc_freq_target_hi_bits' set_test_mode_src_osc_freq_target_hi_bits(struct kmb_dsi ^ fatal error: error in backend: Nested variants found in inline asm string: '.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif' clang-12: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 12.0.0 (git://gitmirror/llvm_project 22b68440e1647e16b5ee24b924986207173c02d1) Target: mips-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cross/clang-22b68440e1/bin clang-12: note: diagnostic msg: Makefile arch drivers include kernel mm scripts source usr vim +/set_test_mode_src_osc_freq_target_low_bits +812 drivers/gpu/drm/kmb/kmb_dsi.c 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 810 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 811 static inline void 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 @812 set_test_mode_src_osc_freq_target_low_bits(struct kmb_dsi *kmb_dsi, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 813 u32 dphy_no, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 814 u32 freq) 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 815 { 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 816 /* Typical rise/fall time=166, refer Table 1207 databook, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 817 * sr_osc_freq_target[7:0] 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 818 */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 819 test_mode_send(kmb_dsi, dphy_no, TEST_CODE_SLEW_RATE_DDL_CYCLES, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 820 (freq & 0x7f)); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 821 } 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 822 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 823 static inline void 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 @824 set_test_mode_src_osc_freq_target_hi_bits(struct kmb_dsi *kmb_dsi, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 825 u32 dphy_no, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 826 u32 freq) 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 827 { 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 828 u32 data; 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 829 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 830 /* Flag this as high nibble */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 831 data = ((freq >> 6) & 0x1f) | (1 << 7); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 832 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 833 /* Typical rise/fall time=166, refer Table 1207 databook, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 834 * sr_osc_freq_target[11:7] 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 835 */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 836 test_mode_send(kmb_dsi, dphy_no, TEST_CODE_SLEW_RATE_DDL_CYCLES, data); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 837 } 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 838 :::::: The code at line 812 was first introduced by commit :::::: 98521f4d4b4cb265374a4b1e13b41287a1960243 drm/kmb: Mipi DSI part of the display driver :::::: TO: Anitha Chrisanthus <anitha.chrisanthus@intel.com> :::::: CC: Sam Ravnborg <sam@ravnborg.org> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 35438 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: drivers/gpu/drm/kmb/kmb_dsi.c:812:2: warning: unused function 'set_test_mode_src_osc_freq_target_low_bits' Date: Wed, 20 Jan 2021 13:50:06 +0800 [thread overview] Message-ID: <202101201353.8OWqrEBp-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 5343 bytes --] Hi Geert, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: ade896460e4a62f5e4a892a98d254937f6f5b64c drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY date: 2 months ago config: mips-randconfig-r022-20210120 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1) 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=ade896460e4a62f5e4a892a98d254937f6f5b64c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout ade896460e4a62f5e4a892a98d254937f6f5b64c # 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@intel.com> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/kmb/kmb_dsi.c:812:2: warning: unused function 'set_test_mode_src_osc_freq_target_low_bits' set_test_mode_src_osc_freq_target_low_bits(struct kmb_dsi ^ >> drivers/gpu/drm/kmb/kmb_dsi.c:824:2: warning: unused function 'set_test_mode_src_osc_freq_target_hi_bits' set_test_mode_src_osc_freq_target_hi_bits(struct kmb_dsi ^ fatal error: error in backend: Nested variants found in inline asm string: '.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif' clang-12: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 12.0.0 (git://gitmirror/llvm_project 22b68440e1647e16b5ee24b924986207173c02d1) Target: mips-unknown-linux-gnu Thread model: posix InstalledDir: /opt/cross/clang-22b68440e1/bin clang-12: note: diagnostic msg: Makefile arch drivers include kernel mm scripts source usr vim +/set_test_mode_src_osc_freq_target_low_bits +812 drivers/gpu/drm/kmb/kmb_dsi.c 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 810 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 811 static inline void 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 @812 set_test_mode_src_osc_freq_target_low_bits(struct kmb_dsi *kmb_dsi, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 813 u32 dphy_no, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 814 u32 freq) 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 815 { 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 816 /* Typical rise/fall time=166, refer Table 1207 databook, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 817 * sr_osc_freq_target[7:0] 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 818 */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 819 test_mode_send(kmb_dsi, dphy_no, TEST_CODE_SLEW_RATE_DDL_CYCLES, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 820 (freq & 0x7f)); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 821 } 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 822 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 823 static inline void 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 @824 set_test_mode_src_osc_freq_target_hi_bits(struct kmb_dsi *kmb_dsi, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 825 u32 dphy_no, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 826 u32 freq) 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 827 { 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 828 u32 data; 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 829 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 830 /* Flag this as high nibble */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 831 data = ((freq >> 6) & 0x1f) | (1 << 7); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 832 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 833 /* Typical rise/fall time=166, refer Table 1207 databook, 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 834 * sr_osc_freq_target[11:7] 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 835 */ 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 836 test_mode_send(kmb_dsi, dphy_no, TEST_CODE_SLEW_RATE_DDL_CYCLES, data); 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 837 } 98521f4d4b4cb265 Anitha Chrisanthus 2020-11-04 838 :::::: The code@line 812 was first introduced by commit :::::: 98521f4d4b4cb265374a4b1e13b41287a1960243 drm/kmb: Mipi DSI part of the display driver :::::: TO: Anitha Chrisanthus <anitha.chrisanthus@intel.com> :::::: CC: Sam Ravnborg <sam@ravnborg.org> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 35438 bytes --]
next reply other threads:[~2021-01-20 5:54 UTC|newest] Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-20 5:50 kernel test robot [this message] 2021-01-20 5:50 ` drivers/gpu/drm/kmb/kmb_dsi.c:812:2: warning: unused function 'set_test_mode_src_osc_freq_target_low_bits' kernel test robot 2021-02-27 23:07 kernel test robot 2021-02-27 23:07 ` kernel test robot 2021-08-21 16:31 kernel test robot 2021-08-21 16:31 ` kernel test robot 2021-09-05 0:04 kernel test robot 2021-09-05 0:04 ` kernel test robot 2021-09-28 14:59 kernel test robot 2021-09-28 14:59 ` kernel test robot 2021-09-28 15:39 ` Geert Uytterhoeven 2021-09-28 15:39 ` Geert Uytterhoeven 2021-09-28 15:39 ` Geert Uytterhoeven 2021-09-28 16:43 ` Nathan Chancellor 2021-09-28 16:43 ` Nathan Chancellor 2021-09-28 18:09 ` Geert Uytterhoeven 2021-09-28 18:09 ` Geert Uytterhoeven 2021-09-28 18:09 ` Geert Uytterhoeven 2021-11-07 20:40 kernel test robot 2021-11-07 20:40 ` kernel test robot 2021-12-11 5:34 kernel test robot 2021-12-11 5:34 ` kernel test robot 2022-06-29 17:56 kernel test robot 2022-06-29 18:03 ` Geert Uytterhoeven 2022-06-29 18:03 ` Geert Uytterhoeven
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=202101201353.8OWqrEBp-lkp@intel.com \ --to=lkp@intel.com \ --cc=clang-built-linux@googlegroups.com \ --cc=daniel.vetter@ffwll.ch \ --cc=geert+renesas@glider.be \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.