Re: linux-next: Tree for Aug 19 (amdgpu)

From: Jason Gunthorpe
Date: Tue Aug 20 2019 - 08:36:50 EST


On Tue, Aug 20, 2019 at 11:45:54AM +1000, Stephen Rothwell wrote:
> Hi all,
>
> On Mon, 19 Aug 2019 18:34:41 -0700 Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
> >
> > On 8/19/19 2:18 AM, Stephen Rothwell wrote:
> > > Hi all,
> > >
> > > Changes since 20190816:
> > >
> >
> > on x86_64:
> >
> > ../drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c: In function âamdgpu_exitâ:
> > ../drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:1471:2: error: implicit declaration of function âmmu_notifier_synchronizeâ; did you mean â__sync_synchronizeâ? [-Werror=implicit-function-declaration]
> > mmu_notifier_synchronize();
> > ^~~~~~~~~~~~~~~~~~~~~~~~
> > __sync_synchronize
> >
> >
> > Full randconfig file is attached.
>
> Caused by commit
>
> 6832c9dc8358 ("hmm: use mmu_notifier_get/put for 'struct hmm'")
>
> from the hmm tree.
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c need to include linux/mmu_notifier.h

Ah yes, thanks, it is because of !CONFIG_HMM_MIRROR in this
randconfig. I've fixed it up.

Regards,
Jason