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

From: Jason Gunthorpe
Date: Wed Aug 21 2019 - 12:10:49 EST


On Wed, Aug 21, 2019 at 03:34:12PM +0000, Kuehling, Felix wrote:
>
> On 2019-08-20 8:36 a.m., Jason Gunthorpe wrote:
> > 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.
>
> Thanks Jason. I'm trying to follow what's going on here, but I can't
> find the commit hash quoted above in any of the public repositories I'm
> tracking

I was able to squash the one line fix, so the commit ID is gone, it is
now:

https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?h=hmm&id=c7d8b7824ff9de866a356e1892dbe9f191aa5d06

From

https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/log/?h=hmm

Jason