All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <maz@kernel.org>
To: kernel test robot <lkp@intel.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	Ricardo Koller <ricarkol@google.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [linux-next:master 12154/12271] tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
Date: Wed, 23 Jun 2021 08:59:59 +0100	[thread overview]
Message-ID: <87r1gtau4g.wl-maz@kernel.org> (raw)
In-Reply-To: <202106230606.sNbagz4E-lkp@intel.com>

+ Paolo, Vitaly, Ricardo,

On Tue, 22 Jun 2021 23:54:17 +0100,
kernel test robot <lkp@intel.com> wrote:
> 
> Hi Stephen,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   4238b1710eadd18dd16de0288a2bc5bb84614b4e
> commit: 954e285eafdd4ac36b114a7f6abce3f792591ea8 [12154/12271] Merge remote-tracking branch 'kvm-arm/next'
> config: x86_64-rhel-8.3-kselftests (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=954e285eafdd4ac36b114a7f6abce3f792591ea8
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 954e285eafdd4ac36b114a7f6abce3f792591ea8
>         # save the attached .config to linux build tree
>         make W=1 ARCH=x86_64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All error/warnings (new ones prefixed by >>):
> 
>    x86_64/hyperv_features.c: In function 'main':
> >> x86_64/hyperv_features.c:618:2: warning: implicit declaration of function 'vm_handle_exception' [-Wimplicit-function-declaration]
>      618 |  vm_handle_exception(vm, GP_VECTOR, guest_gp_handler);
>          |  ^~~~~~~~~~~~~~~~~~~
>    /usr/bin/ld: /tmp/ccIBsVo3.o: in function `main':
> >> tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
>    collect2: error: ld returned 1 exit status
> --
>    x86_64/hyperv_features.c: In function 'main':
> >> x86_64/hyperv_features.c:618:2: warning: implicit declaration of function 'vm_handle_exception' [-Wimplicit-function-declaration]
>      618 |  vm_handle_exception(vm, GP_VECTOR, guest_gp_handler);
>          |  ^~~~~~~~~~~~~~~~~~~
>    /usr/bin/ld: /tmp/cc7zqGvp.o: in function `main':
> >> tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
>    collect2: error: ld returned 1 exit status
>

This stems from the following commit:

commit b78f4a596692f6805e796a4c13f2d921b8a95166
Author: Ricardo Koller <ricarkol@google.com>
Date:   Thu Jun 10 18:10:15 2021 -0700

    KVM: selftests: Rename vm_handle_exception
    
    Rename the vm_handle_exception function to a name that indicates more
    clearly that it installs something: vm_install_exception_handler.
    
    Reported-by: kernel test robot <oliver.sang@intel.com>
    Suggested-by: Marc Zyngier <maz@kernel.org>
    Suggested-by: Andrew Jones <drjones@redhat.com>
    Signed-off-by: Ricardo Koller <ricarkol@google.com>
    Reviewed-by: Andrew Jones <drjones@redhat.com>
    Signed-off-by: Marc Zyngier <maz@kernel.org>
    Link: https://lore.kernel.org/r/20210611011020.3420067-2-ricarkol@google.com

If there is a stable branch with this patch on it, I can take it in
the kvmarm tree and fix it up myself. Otherwise, Paolo could take the
stable branch at [1] (or even that particular commit which is right on
top of v5.13-rc4) and do a similar fixup. Just let me know.

Thanks,

	M.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/selftest/debug

-- 
Without deviation from the norm, progress is not possible.


WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <maz@kernel.org>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 12154/12271] tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
Date: Wed, 23 Jun 2021 08:59:59 +0100	[thread overview]
Message-ID: <87r1gtau4g.wl-maz@kernel.org> (raw)
In-Reply-To: <202106230606.sNbagz4E-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 3464 bytes --]

+ Paolo, Vitaly, Ricardo,

On Tue, 22 Jun 2021 23:54:17 +0100,
kernel test robot <lkp@intel.com> wrote:
> 
> Hi Stephen,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   4238b1710eadd18dd16de0288a2bc5bb84614b4e
> commit: 954e285eafdd4ac36b114a7f6abce3f792591ea8 [12154/12271] Merge remote-tracking branch 'kvm-arm/next'
> config: x86_64-rhel-8.3-kselftests (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=954e285eafdd4ac36b114a7f6abce3f792591ea8
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 954e285eafdd4ac36b114a7f6abce3f792591ea8
>         # save the attached .config to linux build tree
>         make W=1 ARCH=x86_64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All error/warnings (new ones prefixed by >>):
> 
>    x86_64/hyperv_features.c: In function 'main':
> >> x86_64/hyperv_features.c:618:2: warning: implicit declaration of function 'vm_handle_exception' [-Wimplicit-function-declaration]
>      618 |  vm_handle_exception(vm, GP_VECTOR, guest_gp_handler);
>          |  ^~~~~~~~~~~~~~~~~~~
>    /usr/bin/ld: /tmp/ccIBsVo3.o: in function `main':
> >> tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
>    collect2: error: ld returned 1 exit status
> --
>    x86_64/hyperv_features.c: In function 'main':
> >> x86_64/hyperv_features.c:618:2: warning: implicit declaration of function 'vm_handle_exception' [-Wimplicit-function-declaration]
>      618 |  vm_handle_exception(vm, GP_VECTOR, guest_gp_handler);
>          |  ^~~~~~~~~~~~~~~~~~~
>    /usr/bin/ld: /tmp/cc7zqGvp.o: in function `main':
> >> tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception'
>    collect2: error: ld returned 1 exit status
>

This stems from the following commit:

commit b78f4a596692f6805e796a4c13f2d921b8a95166
Author: Ricardo Koller <ricarkol@google.com>
Date:   Thu Jun 10 18:10:15 2021 -0700

    KVM: selftests: Rename vm_handle_exception
    
    Rename the vm_handle_exception function to a name that indicates more
    clearly that it installs something: vm_install_exception_handler.
    
    Reported-by: kernel test robot <oliver.sang@intel.com>
    Suggested-by: Marc Zyngier <maz@kernel.org>
    Suggested-by: Andrew Jones <drjones@redhat.com>
    Signed-off-by: Ricardo Koller <ricarkol@google.com>
    Reviewed-by: Andrew Jones <drjones@redhat.com>
    Signed-off-by: Marc Zyngier <maz@kernel.org>
    Link: https://lore.kernel.org/r/20210611011020.3420067-2-ricarkol(a)google.com

If there is a stable branch with this patch on it, I can take it in
the kvmarm tree and fix it up myself. Otherwise, Paolo could take the
stable branch at [1] (or even that particular commit which is right on
top of v5.13-rc4) and do a similar fixup. Just let me know.

Thanks,

	M.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/selftest/debug

-- 
Without deviation from the norm, progress is not possible.

  reply	other threads:[~2021-06-23  8:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 22:54 [linux-next:master 12154/12271] tools/testing/selftests/kvm/x86_64/hyperv_features.c:618: undefined reference to `vm_handle_exception' kernel test robot
2021-06-22 22:54 ` kernel test robot
2021-06-23  7:59 ` Marc Zyngier [this message]
2021-06-23  7:59   ` Marc Zyngier
2021-06-23  8:39   ` Paolo Bonzini
2021-06-23  8:39     ` Paolo Bonzini
2021-06-24  1:01   ` Ricardo Koller
2021-06-24  1:01     ` Ricardo Koller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r1gtau4g.wl-maz@kernel.org \
    --to=maz@kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=pbonzini@redhat.com \
    --cc=ricarkol@google.com \
    --cc=vkuznets@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.