-----Original Message-----
From: Wei Hu
Sent: 2019年11月27日 19:26
To: Rong Chen <rong.a.chen(a)intel.com>; kbuild test robot <lkp(a)intel.com>
Cc: kbuild-all(a)lists.01.org
Subject: RE: [kbuild-all] Re: [EXTERNAL] Re: [PATCH v2] video: hyperv: hyperv_fb:
Use physical memory for fb on HyperV Gen 1 VMs.
> -----Original Message-----
> From: Rong Chen <rong.a.chen(a)intel.com>
> Sent: 2019年11月27日 16:29
> To: Wei Hu <weh(a)microsoft.com>; kbuild test robot <lkp(a)intel.com>
> Cc: kbuild-all(a)lists.01.org
> Subject: Re: [kbuild-all] Re: [EXTERNAL] Re: [PATCH v2] video: hyperv:
hyperv_fb:
> Use physical memory for fb on HyperV Gen 1 VMs.
>
>
>
> On 11/27/19 3:57 PM, Wei Hu wrote:
> >
> >> -----Original Message-----
> >> From: Rong Chen <rong.a.chen(a)intel.com>
> >> Sent: 2019年11月27日 15:40
> >> To: Wei Hu <weh(a)microsoft.com>; kbuild test robot
<lkp(a)intel.com>
> >> Cc: kbuild-all(a)lists.01.org
> >> Subject: Re: [kbuild-all] Re: [EXTERNAL] Re: [PATCH v2] video: hyperv:
> hyperv_fb:
> >> Use physical memory for fb on HyperV Gen 1 VMs.
> >>
> >>
> >>
> >> On 11/26/19 1:10 PM, Wei Hu wrote:
> >>> Hello
> >>>
> >>>> Hi Wei,
> >>>>
> >>>> I love your patch! Yet something to improve:
> >>>>
> >>>> [auto build test ERROR on next-20191122] [cannot apply to
linus/master
> >> v5.4-
> >>>> rc8 v5.4-rc7 v5.4-rc6 v5.4] [if your patch is applied to the wrong
git tree,
> >> please
> >>>> drop us a note to help improve the system. BTW, we also suggest to
use
'--
> >> base'
> >>>> option to specify the base tree in git format-patch, please see
> >>>>
> >>
>
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackov
> >>
> erflow.com%2Fa%2F37406982&data=02%7C01%7Cweh%40microsoft.co
> >>
> m%7C0a066e2f4f2540c2a06808d771a89108%7C72f988bf86f141af91ab2d7cd
> >>
> 011db47%7C1%7C0%7C637102843751160438&sdata=CdmaSvX3I3TaGks
> >>>> ve9R7N0Z3Sx1ln5Z3CYHuL5thLrI%3D&reserved=0]
> >>>>
> >>>> url:
> >>>>
> >>
>
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
> >>>> com%2F0day-ci%2Flinux%2Fcommits%2FWei-Hu%2Fvideo-hyperv-
> >> hyperv_fb-
> >>>> Use-physical-memory-for-fb-on-HyperV-Gen-1-VMs%2F20191124-
> >>>>
> >>
> 163533&data=02%7C01%7Cweh%40microsoft.com%7C0a066e2f4f2540c
> >>>>
> 2a06808d771a89108%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7
> >>>>
> >>
> C637102843751160438&sdata=eDTZuM3ZJmVw6FXgcl9adf9qH9wMboNr
> >>>> aFC1KTjb6YE%3D&reserved=0
> >>>> base: b9d3d01405061bb42358fe53f824e894a1922ced
> >>>> config: i386-randconfig-b003-20191125 (attached as .config)
> >>>> compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
> >>>> reproduce:
> >>>> # save the attached .config to linux build tree
> >>>> make ARCH=i386
> >>>>
> >>>> If you fix the issue, kindly add following tag
> >>>> Reported-by: kbuild test robot <lkp(a)intel.com>
> >>>>
> ...
>
> >> Hi Wei,
> >>
> >> We can reproduce the issue with attached config file, CONFIG_CMA is not
> >> set in the config,
> >> I think it maybe the root cause and it's a kconfig dependency
problem.
> >>
> >> Best Regards,
> >> Rong Chen
> > Thanks Rong. Would you let me know if you hit this only when building 32 bit
> > kernel, or when building both 32 and 64 bit?
> >
> > The .config file you sent doesn't have CONFIG_CMA set. However, when I
was
> > building, the build process asked me about the CMA configurations. Hence,
in
> > my .config file have following lines:
> >
> > CONFIG_CMA=y
> > CONFIG_DMA_CMA=y
> > CONFIG_HAVE_DMA_CONTIGUOUS=y
> >
> > Why first two setting are no in your .config file?
>
> Hi Wei,
>
> The config was generated by randconfig, it means the current config
> dependency allows to not enable CONFIG_CMA.
>
Ok. I will add "select CMA if HAVE_DMA_CONTIGUOUS" in the patch.
Hello,
I was not able to reproduce this error with the .config file sent to me. Even with
CONFIG_CMA not set, I can still successfully build the do 'make ARCH=i386' with
out any error. Please provide the instructions to reproduce.
Thanks,
Wei