linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
@ 2021-05-14 23:08 kernel test robot
  2021-05-14 23:22 ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2021-05-14 23:08 UTC (permalink / raw)
  To: Guo Ren; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2388 bytes --]

Hi Guo,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   25a1298726e97b9d25379986f5d54d9e62ad6e93
commit: 18c07d23da5a48525b2955aa269b8bb108c19300 csky: Fixup calltrace panic
date:   1 year ago
config: csky-randconfig-r036-20210515 (attached as .config)
compiler: csky-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/?id=18c07d23da5a48525b2955aa269b8bb108c19300
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 18c07d23da5a48525b2955aa269b8bb108c19300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=csky 

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

All errors (new ones prefixed by >>):

>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
      14 | #error "You should define DTCM_RAM_BASE"
         |  ^~~~~
   arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
     109 | void *tcm_alloc(size_t len)
         |       ^~~~~~~~~
   arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
     124 | void tcm_free(void *addr, size_t len)
         |      ^~~~~~~~


vim +14 arch/csky/mm/tcm.c

f525bb2c9e7cf1 Guo Ren 2019-11-27  11  
f525bb2c9e7cf1 Guo Ren 2019-11-27  12  #ifdef CONFIG_HAVE_DTCM
f525bb2c9e7cf1 Guo Ren 2019-11-27  13  #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @14  #error "You should define DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  15  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  16  

:::::: The code at line 14 was first introduced by commit
:::::: f525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 csky: Tightly-Coupled Memory or Sram support

:::::: TO: Guo Ren <guoren@linux.alibaba.com>
:::::: CC: Guo Ren <guoren@linux.alibaba.com>

---
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: 31237 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
  2021-05-14 23:08 arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE" kernel test robot
@ 2021-05-14 23:22 ` Randy Dunlap
  2021-05-18 11:48   ` [kbuild-all] " Chen, Rong A
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2021-05-14 23:22 UTC (permalink / raw)
  To: kernel test robot, Guo Ren; +Cc: kbuild-all, linux-kernel

On 5/14/21 4:08 PM, kernel test robot wrote:
> Hi Guo,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   25a1298726e97b9d25379986f5d54d9e62ad6e93
> commit: 18c07d23da5a48525b2955aa269b8bb108c19300 csky: Fixup calltrace panic
> date:   1 year ago
> config: csky-randconfig-r036-20210515 (attached as .config)
> compiler: csky-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/?id=18c07d23da5a48525b2955aa269b8bb108c19300
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout 18c07d23da5a48525b2955aa269b8bb108c19300
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=csky 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
>       14 | #error "You should define DTCM_RAM_BASE"
>          |  ^~~~~
>    arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
>      109 | void *tcm_alloc(size_t len)
>          |       ^~~~~~~~~
>    arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
>      124 | void tcm_free(void *addr, size_t len)
>          |      ^~~~~~~~
> 
> 
> vim +14 arch/csky/mm/tcm.c
> 
> f525bb2c9e7cf1 Guo Ren 2019-11-27  11  
> f525bb2c9e7cf1 Guo Ren 2019-11-27  12  #ifdef CONFIG_HAVE_DTCM
> f525bb2c9e7cf1 Guo Ren 2019-11-27  13  #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
> f525bb2c9e7cf1 Guo Ren 2019-11-27 @14  #error "You should define DTCM_RAM_BASE"
> f525bb2c9e7cf1 Guo Ren 2019-11-27  15  #endif
> f525bb2c9e7cf1 Guo Ren 2019-11-27  16  


I.e., the person or bot that is running the kernel configurator should
set/define the Kconfig symbol CONFIG_DTCM_RAM_BASE.

Please do so in your scripts.
Thanks.

> :::::: The code at line 14 was first introduced by commit
> :::::: f525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 csky: Tightly-Coupled Memory or Sram support
> 
> :::::: TO: Guo Ren <guoren@linux.alibaba.com>
> :::::: CC: Guo Ren <guoren@linux.alibaba.com>



-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [kbuild-all] Re: arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
  2021-05-14 23:22 ` Randy Dunlap
@ 2021-05-18 11:48   ` Chen, Rong A
  0 siblings, 0 replies; 5+ messages in thread
From: Chen, Rong A @ 2021-05-18 11:48 UTC (permalink / raw)
  To: Randy Dunlap, kernel test robot, Guo Ren; +Cc: kbuild-all, linux-kernel

Hi Randy,

On 5/15/2021 7:22 AM, Randy Dunlap wrote:
> On 5/14/21 4:08 PM, kernel test robot wrote:
>> Hi Guo,
>>
>> First bad commit (maybe != root cause):
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head:   25a1298726e97b9d25379986f5d54d9e62ad6e93
>> commit: 18c07d23da5a48525b2955aa269b8bb108c19300 csky: Fixup calltrace panic
>> date:   1 year ago
>> config: csky-randconfig-r036-20210515 (attached as .config)
>> compiler: csky-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/?id=18c07d23da5a48525b2955aa269b8bb108c19300
>>          git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>          git fetch --no-tags linus master
>>          git checkout 18c07d23da5a48525b2955aa269b8bb108c19300
>>          # save the attached .config to linux build tree
>>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=csky
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <lkp@intel.com>
>>
>> All errors (new ones prefixed by >>):
>>
>>>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
>>        14 | #error "You should define DTCM_RAM_BASE"
>>           |  ^~~~~
>>     arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
>>       109 | void *tcm_alloc(size_t len)
>>           |       ^~~~~~~~~
>>     arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
>>       124 | void tcm_free(void *addr, size_t len)
>>           |      ^~~~~~~~
>>
>>
>> vim +14 arch/csky/mm/tcm.c
>>
>> f525bb2c9e7cf1 Guo Ren 2019-11-27  11
>> f525bb2c9e7cf1 Guo Ren 2019-11-27  12  #ifdef CONFIG_HAVE_DTCM
>> f525bb2c9e7cf1 Guo Ren 2019-11-27  13  #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
>> f525bb2c9e7cf1 Guo Ren 2019-11-27 @14  #error "You should define DTCM_RAM_BASE"
>> f525bb2c9e7cf1 Guo Ren 2019-11-27  15  #endif
>> f525bb2c9e7cf1 Guo Ren 2019-11-27  16
> 
> 
> I.e., the person or bot that is running the kernel configurator should
> set/define the Kconfig symbol CONFIG_DTCM_RAM_BASE.
> 
> Please do so in your scripts.

Thanks for the advice, we have added it in the script.

Best Regards,
Rong Chen


> Thanks.
> 
>> :::::: The code at line 14 was first introduced by commit
>> :::::: f525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 csky: Tightly-Coupled Memory or Sram support
>>
>> :::::: TO: Guo Ren <guoren@linux.alibaba.com>
>> :::::: CC: Guo Ren <guoren@linux.alibaba.com>
> 
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
@ 2021-03-04 15:43 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-03-04 15:43 UTC (permalink / raw)
  To: Guo Ren; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3250 bytes --]

Hi Guo,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f69d02e37a85645aa90d18cacfff36dba370f797
commit: 18c07d23da5a48525b2955aa269b8bb108c19300 csky: Fixup calltrace panic
date:   10 months ago
config: csky-randconfig-r035-20210304 (attached as .config)
compiler: csky-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/?id=18c07d23da5a48525b2955aa269b8bb108c19300
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 18c07d23da5a48525b2955aa269b8bb108c19300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky 

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

All errors (new ones prefixed by >>):

   arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"
       9 | #error "You should define ITCM_RAM_BASE"
         |  ^~~~~
>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
      14 | #error "You should define DTCM_RAM_BASE"
         |  ^~~~~
>> arch/csky/mm/tcm.c:18:2: error: #error "You should define correct DTCM_RAM_BASE"
      18 | #error "You should define correct DTCM_RAM_BASE"
         |  ^~~~~
   arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
     109 | void *tcm_alloc(size_t len)
         |       ^~~~~~~~~
   arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
     124 | void tcm_free(void *addr, size_t len)
         |      ^~~~~~~~


vim +14 arch/csky/mm/tcm.c

f525bb2c9e7cf1 Guo Ren 2019-11-27   7  
f525bb2c9e7cf1 Guo Ren 2019-11-27   8  #if (CONFIG_ITCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27  @9  #error "You should define ITCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  10  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  11  
f525bb2c9e7cf1 Guo Ren 2019-11-27  12  #ifdef CONFIG_HAVE_DTCM
f525bb2c9e7cf1 Guo Ren 2019-11-27  13  #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @14  #error "You should define DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  15  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  16  
f525bb2c9e7cf1 Guo Ren 2019-11-27  17  #if (CONFIG_DTCM_RAM_BASE == CONFIG_ITCM_RAM_BASE)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @18  #error "You should define correct DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  19  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  20  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  21  

:::::: The code at line 14 was first introduced by commit
:::::: f525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 csky: Tightly-Coupled Memory or Sram support

:::::: TO: Guo Ren <guoren@linux.alibaba.com>
:::::: CC: Guo Ren <guoren@linux.alibaba.com>

---
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: 23907 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
@ 2021-02-04  9:48 kernel test robot
  0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-02-04  9:48 UTC (permalink / raw)
  To: Guo Ren; +Cc: kbuild-all, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 3242 bytes --]

Hi Guo,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   61556703b610a104de324e4f061dc6cf7b218b46
commit: 18c07d23da5a48525b2955aa269b8bb108c19300 csky: Fixup calltrace panic
date:   9 months ago
config: csky-randconfig-r006-20210204 (attached as .config)
compiler: csky-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/?id=18c07d23da5a48525b2955aa269b8bb108c19300
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 18c07d23da5a48525b2955aa269b8bb108c19300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky 

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

All error/warnings (new ones prefixed by >>):

   arch/csky/mm/tcm.c:9:2: error: #error "You should define ITCM_RAM_BASE"
       9 | #error "You should define ITCM_RAM_BASE"
         |  ^~~~~
>> arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE"
      14 | #error "You should define DTCM_RAM_BASE"
         |  ^~~~~
>> arch/csky/mm/tcm.c:18:2: error: #error "You should define correct DTCM_RAM_BASE"
      18 | #error "You should define correct DTCM_RAM_BASE"
         |  ^~~~~
   arch/csky/mm/tcm.c:109:7: warning: no previous prototype for 'tcm_alloc' [-Wmissing-prototypes]
     109 | void *tcm_alloc(size_t len)
         |       ^~~~~~~~~
   arch/csky/mm/tcm.c:124:6: warning: no previous prototype for 'tcm_free' [-Wmissing-prototypes]
     124 | void tcm_free(void *addr, size_t len)
         |      ^~~~~~~~
--
   drivers/misc/altera-stapl/altera.c: In function 'altera_execute':
>> drivers/misc/altera-stapl/altera.c:2113:1: warning: the frame size of 4236 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    2113 | }
         | ^


vim +14 arch/csky/mm/tcm.c

f525bb2c9e7cf1 Guo Ren 2019-11-27  11  
f525bb2c9e7cf1 Guo Ren 2019-11-27  12  #ifdef CONFIG_HAVE_DTCM
f525bb2c9e7cf1 Guo Ren 2019-11-27  13  #if (CONFIG_DTCM_RAM_BASE == 0xffffffff)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @14  #error "You should define DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  15  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  16  
f525bb2c9e7cf1 Guo Ren 2019-11-27  17  #if (CONFIG_DTCM_RAM_BASE == CONFIG_ITCM_RAM_BASE)
f525bb2c9e7cf1 Guo Ren 2019-11-27 @18  #error "You should define correct DTCM_RAM_BASE"
f525bb2c9e7cf1 Guo Ren 2019-11-27  19  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  20  #endif
f525bb2c9e7cf1 Guo Ren 2019-11-27  21  

:::::: The code at line 14 was first introduced by commit
:::::: f525bb2c9e7cf1e3c43ab57704c9e1c836d30b34 csky: Tightly-Coupled Memory or Sram support

:::::: TO: Guo Ren <guoren@linux.alibaba.com>
:::::: CC: Guo Ren <guoren@linux.alibaba.com>

---
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: 38264 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-18 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 23:08 arch/csky/mm/tcm.c:14:2: error: #error "You should define DTCM_RAM_BASE" kernel test robot
2021-05-14 23:22 ` Randy Dunlap
2021-05-18 11:48   ` [kbuild-all] " Chen, Rong A
  -- strict thread matches above, loose matches on Subject: below --
2021-03-04 15:43 kernel test robot
2021-02-04  9:48 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).