linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen/pvh: add missing prototype to header
@ 2021-11-19 15:39 Juergen Gross
  2021-11-19 16:47 ` Dave Hansen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Juergen Gross @ 2021-11-19 15:39 UTC (permalink / raw)
  To: xen-devel, x86, linux-kernel
  Cc: Juergen Gross, Boris Ostrovsky, Stefano Stabellini,
	Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
	H. Peter Anvin, kernel test robot

The prototype of mem_map_via_hcall() is missing in its header, so add
it.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file")
Signed-off-by: Juergen Gross <jgross@suse.com>
---
 arch/x86/include/asm/xen/hypervisor.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h
index 4957f59deb40..5adab895127e 100644
--- a/arch/x86/include/asm/xen/hypervisor.h
+++ b/arch/x86/include/asm/xen/hypervisor.h
@@ -64,6 +64,7 @@ void xen_arch_unregister_cpu(int num);
 
 #ifdef CONFIG_PVH
 void __init xen_pvh_init(struct boot_params *boot_params);
+void __init mem_map_via_hcall(struct boot_params *boot_params_p);
 #endif
 
 #endif /* _ASM_X86_XEN_HYPERVISOR_H */
-- 
2.26.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] xen/pvh: add missing prototype to header
  2021-11-19 15:39 [PATCH] xen/pvh: add missing prototype to header Juergen Gross
@ 2021-11-19 16:47 ` Dave Hansen
  2021-11-20  2:24   ` Philip Li
  2021-11-19 22:25 ` Boris Ostrovsky
  2021-11-22 22:04 ` Boris Ostrovsky
  2 siblings, 1 reply; 5+ messages in thread
From: Dave Hansen @ 2021-11-19 16:47 UTC (permalink / raw)
  To: Juergen Gross, xen-devel, x86, linux-kernel
  Cc: Boris Ostrovsky, Stefano Stabellini, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, Dave Hansen, H. Peter Anvin,
	kernel test robot

On 11/19/21 7:39 AM, Juergen Gross wrote:
> The prototype of mem_map_via_hcall() is missing in its header, so add
> it.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file")
> Signed-off-by: Juergen Gross <jgross@suse.com>

$ git describe a43fb7da53007e67ad
v4.20-rc6-5-ga43fb7da5300

Better late than never, I guess.  I wonder what made 0day find this now.

I also guess the one mem_map_via_hcall() call site just used the __weak
definition so it didn't cause problems if there wasn't a declaration in
the header.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] xen/pvh: add missing prototype to header
  2021-11-19 15:39 [PATCH] xen/pvh: add missing prototype to header Juergen Gross
  2021-11-19 16:47 ` Dave Hansen
@ 2021-11-19 22:25 ` Boris Ostrovsky
  2021-11-22 22:04 ` Boris Ostrovsky
  2 siblings, 0 replies; 5+ messages in thread
From: Boris Ostrovsky @ 2021-11-19 22:25 UTC (permalink / raw)
  To: Juergen Gross, xen-devel, x86, linux-kernel
  Cc: Stefano Stabellini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, H. Peter Anvin, kernel test robot


On 11/19/21 10:39 AM, Juergen Gross wrote:
> The prototype of mem_map_via_hcall() is missing in its header, so add
> it.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file")
> Signed-off-by: Juergen Gross <jgross@suse.com>


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] xen/pvh: add missing prototype to header
  2021-11-19 16:47 ` Dave Hansen
@ 2021-11-20  2:24   ` Philip Li
  0 siblings, 0 replies; 5+ messages in thread
From: Philip Li @ 2021-11-20  2:24 UTC (permalink / raw)
  To: Dave Hansen
  Cc: Juergen Gross, xen-devel, x86, linux-kernel, Boris Ostrovsky,
	Stefano Stabellini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, H. Peter Anvin, kernel test robot

On Fri, Nov 19, 2021 at 08:47:49AM -0800, Dave Hansen wrote:
> On 11/19/21 7:39 AM, Juergen Gross wrote:
> > The prototype of mem_map_via_hcall() is missing in its header, so add
> > it.
> > 
> > Reported-by: kernel test robot <lkp@intel.com>
> > Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file")
> > Signed-off-by: Juergen Gross <jgross@suse.com>
> 
> $ git describe a43fb7da53007e67ad
> v4.20-rc6-5-ga43fb7da5300
> 
> Better late than never, I guess.  I wonder what made 0day find this now.
hi Dave, we recently find some unexpected failures for certain bisections,
with the fix, such failures are rerun to see whether we can successfully detect 
bad commits, which i think this resulted in extra but late finding on old
commit on mainline. We will keep scan our bisection process to further improve
it to reduce this kind late reporting.

> 
> I also guess the one mem_map_via_hcall() call site just used the __weak
> definition so it didn't cause problems if there wasn't a declaration in
> the header.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] xen/pvh: add missing prototype to header
  2021-11-19 15:39 [PATCH] xen/pvh: add missing prototype to header Juergen Gross
  2021-11-19 16:47 ` Dave Hansen
  2021-11-19 22:25 ` Boris Ostrovsky
@ 2021-11-22 22:04 ` Boris Ostrovsky
  2 siblings, 0 replies; 5+ messages in thread
From: Boris Ostrovsky @ 2021-11-22 22:04 UTC (permalink / raw)
  To: Juergen Gross, xen-devel, x86, linux-kernel
  Cc: Stefano Stabellini, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, H. Peter Anvin, kernel test robot


On 11/19/21 10:39 AM, Juergen Gross wrote:
> The prototype of mem_map_via_hcall() is missing in its header, so add
> it.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Fixes: a43fb7da53007e67ad ("xen/pvh: Move Xen code for getting mem map via hcall out of common file")
> Signed-off-by: Juergen Gross <jgross@suse.com>



Applied to for-linus-5.16c


-boris


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-22 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19 15:39 [PATCH] xen/pvh: add missing prototype to header Juergen Gross
2021-11-19 16:47 ` Dave Hansen
2021-11-20  2:24   ` Philip Li
2021-11-19 22:25 ` Boris Ostrovsky
2021-11-22 22:04 ` Boris Ostrovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).