[PATCH v6 08/10] coresight: config: Add preloaded configurations

kernel test robot lkp at intel.com
Fri Apr 9 15:32:24 BST 2021


Hi Mike,

I love your patch! Yet something to improve:

[auto build test ERROR on next-20210408]
[also build test ERROR on v5.12-rc6]
[cannot apply to soc/for-next lwn/docs-next linus/master v5.12-rc6 v5.12-rc5 v5.12-rc4]
[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/Mike-Leach/CoreSight-configuration-management-ETM-strobing/20210409-183900
base:    6145d80cfc62e3ed8f16ff584d6287e6d88b82b9
config: arm-randconfig-s032-20210409 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-279-g6d5d9b42-dirty
        # https://github.com/0day-ci/linux/commit/e97fc23237355b8b816f4e4864206f91a41652cc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mike-Leach/CoreSight-configuration-management-ETM-strobing/20210409-183900
        git checkout e97fc23237355b8b816f4e4864206f91a41652cc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm 

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

All errors (new ones prefixed by >>):

   In file included from drivers/hwtracing/coresight/coresight-etm4x-cfg.h:10,
                    from drivers/hwtracing/coresight/coresight-cfg-afdo.c:8:
>> drivers/hwtracing/coresight/coresight-etm4x.h:143:10: fatal error: asm/sysreg.h: No such file or directory
     143 | #include <asm/sysreg.h>
         |          ^~~~~~~~~~~~~~
   compilation terminated.


sparse warnings: (new ones prefixed by >>)
>> drivers/hwtracing/coresight/coresight-cfg-preload.c:15:9: sparse: sparse: Using plain integer as NULL pointer
   drivers/hwtracing/coresight/coresight-cfg-preload.c:20:9: sparse: sparse: Using plain integer as NULL pointer

vim +143 drivers/hwtracing/coresight/coresight-etm4x.h

03336d0f4d0d74 Suzuki K Poulose 2021-02-01  142  
03336d0f4d0d74 Suzuki K Poulose 2021-02-01 @143  #include <asm/sysreg.h>
03336d0f4d0d74 Suzuki K Poulose 2021-02-01  144  #define ETM4x_REG_NUM_TO_SYSREG(n)				\
03336d0f4d0d74 Suzuki K Poulose 2021-02-01  145  	sys_reg(2, 1, ETM4x_CRn(n), ETM4x_CRm(n), ETM4x_Op2(n))
03336d0f4d0d74 Suzuki K Poulose 2021-02-01  146  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 39117 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210409/1825236d/attachment-0001.gz>


More information about the linux-arm-kernel mailing list