2022-09-18 11:27:06

by kernel test robot

[permalink] [raw]
Subject: ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!

Hi Javier,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a335366bad1364a07f49df9da1fdfa6d411a5f39
commit: a0f25a6bb319aa05e04dcf51707c97c2881b4f47 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
date: 8 months ago
config: m68k-randconfig-r016-20220918 (https://download.01.org/0day-ci/archive/20220918/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 12.1.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=a0f25a6bb319aa05e04dcf51707c97c2881b4f47
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a0f25a6bb319aa05e04dcf51707c97c2881b4f47
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DRM_TTM
Depends on [n]: HAS_IOMEM [=y] && DRM [=m] && MMU [=n]
Selected by [m]:
- DRM_TTM_HELPER [=m] && HAS_IOMEM [=y] && DRM [=m]
- DRM_HISI_HIBMC [=m] && HAS_IOMEM [=y] && DRM [=m] && PCI [=y] && (ARM64 || COMPILE_TEST [=y])

--
0-DAY CI Kernel Test Service
https://01.org/lkp


2022-09-20 07:15:51

by Randy Dunlap

[permalink] [raw]
Subject: Re: ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!



On 9/18/22 04:08, kernel test robot wrote:
> Hi Javier,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

On 2022-June-19 Javier said that he would merge my patch:

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

What's up, Javier?


> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: a335366bad1364a07f49df9da1fdfa6d411a5f39
> commit: a0f25a6bb319aa05e04dcf51707c97c2881b4f47 drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled
> date: 8 months ago
> config: m68k-randconfig-r016-20220918 (https://download.01.org/0day-ci/archive/20220918/[email protected]/config)
> compiler: m68k-linux-gcc (GCC) 12.1.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=a0f25a6bb319aa05e04dcf51707c97c2881b4f47
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout a0f25a6bb319aa05e04dcf51707c97c2881b4f47
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <[email protected]>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
>>> ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!
>
> Kconfig warnings: (for reference only)
> WARNING: unmet direct dependencies detected for DRM_TTM
> Depends on [n]: HAS_IOMEM [=y] && DRM [=m] && MMU [=n]
> Selected by [m]:
> - DRM_TTM_HELPER [=m] && HAS_IOMEM [=y] && DRM [=m]
> - DRM_HISI_HIBMC [=m] && HAS_IOMEM [=y] && DRM [=m] && PCI [=y] && (ARM64 || COMPILE_TEST [=y])
>

--
~Randy

2022-09-20 10:12:26

by Javier Martinez Canillas

[permalink] [raw]
Subject: Re: ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!

Hello Randy,

On 9/20/22 08:04, Randy Dunlap wrote:
>
>
> On 9/18/22 04:08, kernel test robot wrote:
>> Hi Javier,
>>
>> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> On 2022-June-19 Javier said that he would merge my patch:
>
> https://lore.kernel.org/dri-devel/[email protected]/
>
> What's up, Javier?
>
>

Sorry, you are right. I've pushed now to drm-misc (drm-misc-fixes)
after fixing the commit message and Fixes tag as we talked before:

https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes&id=d8a79c030549

--
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat

2022-09-20 14:59:26

by Randy Dunlap

[permalink] [raw]
Subject: Re: ERROR: modpost: "vmf_insert_pfn_prot" [drivers/gpu/drm/ttm/ttm.ko] undefined!



On 9/20/22 02:19, Javier Martinez Canillas wrote:
> Hello Randy,
>
> On 9/20/22 08:04, Randy Dunlap wrote:
>>
>>
>> On 9/18/22 04:08, kernel test robot wrote:
>>> Hi Javier,
>>>
>>> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>>
>> On 2022-June-19 Javier said that he would merge my patch:
>>
>> https://lore.kernel.org/dri-devel/[email protected]/
>>
>> What's up, Javier?
>>
>>
>
> Sorry, you are right. I've pushed now to drm-misc (drm-misc-fixes)
> after fixing the commit message and Fixes tag as we talked before:
>
> https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes&id=d8a79c030549

Yes. Thanks.

--
~Randy