2020-11-21 01:29:57

by kernel test robot

[permalink] [raw]
Subject: undefined reference to `start_isolate_page_range'

Hi Michal,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4ccf7a01e805f04defd423fb410f47a13af76399
commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
date: 10 months ago
config: microblaze-randconfig-s031-20201121 (attached as .config)
compiler: microblaze-linux-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-134-gb59dbdaf-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2602276d3d3811b1a48c48113042cd75fcbfc27d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
# 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=microblaze

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
>> (.text+0xa1fc): undefined reference to `start_isolate_page_range'
>> microblaze-linux-ld: (.text+0xa40c): undefined reference to `test_pages_isolated'
>> microblaze-linux-ld: (.text+0xa47c): undefined reference to `undo_isolate_page_range'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]


Attachments:
(No filename) (1.73 kB)
.config.gz (25.07 kB)
Download all attachments

2020-11-23 01:17:51

by Randy Dunlap

[permalink] [raw]
Subject: Re: undefined reference to `start_isolate_page_range'

On 11/20/20 5:26 PM, kernel test robot wrote:
> Hi Michal,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 4ccf7a01e805f04defd423fb410f47a13af76399
> commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
> date: 10 months ago
> config: microblaze-randconfig-s031-20201121 (attached as .config)
> compiler: microblaze-linux-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-134-gb59dbdaf-dirty
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2602276d3d3811b1a48c48113042cd75fcbfc27d
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
> # 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=microblaze
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>):
>
> microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
>>> (.text+0xa1fc): undefined reference to `start_isolate_page_range'
>>> microblaze-linux-ld: (.text+0xa40c): undefined reference to `test_pages_isolated'
>>> microblaze-linux-ld: (.text+0xa47c): undefined reference to `undo_isolate_page_range'


FTR: This is a Kconfig problem in drivers/gpu/drm/aspeed/Kconfig
and it is fixed in linux-next and drm-misc-next.

https://lore.kernel.org/dri-devel/[email protected]/

--
~Randy

2020-11-23 15:23:56

by Michal Simek

[permalink] [raw]
Subject: Re: undefined reference to `start_isolate_page_range'



On 23. 11. 20 2:13, Randy Dunlap wrote:
> On 11/20/20 5:26 PM, kernel test robot wrote:
>> Hi Michal,
>>
>> FYI, the error/warning still remains.
>>
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head: 4ccf7a01e805f04defd423fb410f47a13af76399
>> commit: 2602276d3d3811b1a48c48113042cd75fcbfc27d microblaze: Wire CMA allocator
>> date: 10 months ago
>> config: microblaze-randconfig-s031-20201121 (attached as .config)
>> compiler: microblaze-linux-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-134-gb59dbdaf-dirty
>> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2602276d3d3811b1a48c48113042cd75fcbfc27d
>> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> git fetch --no-tags linus master
>> git checkout 2602276d3d3811b1a48c48113042cd75fcbfc27d
>> # 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=microblaze
>>
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <[email protected]>
>>
>> All errors (new ones prefixed by >>):
>>
>> microblaze-linux-ld: mm/page_alloc.o: in function `alloc_contig_range':
>>>> (.text+0xa1fc): undefined reference to `start_isolate_page_range'
>>>> microblaze-linux-ld: (.text+0xa40c): undefined reference to `test_pages_isolated'
>>>> microblaze-linux-ld: (.text+0xa47c): undefined reference to `undo_isolate_page_range'
>
>
> FTR: This is a Kconfig problem in drivers/gpu/drm/aspeed/Kconfig
> and it is fixed in linux-next and drm-misc-next.
>
> https://lore.kernel.org/dri-devel/[email protected]/
>

Thanks for letting me know.
Michal

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs