linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (kvm tree related)
@ 2010-07-26  4:27 Stephen Rothwell
  2010-08-02  0:33 ` Stephen Rothwell
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2010-07-26  4:27 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Joerg Roedel

Hi all,

After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

cc1: warnings being treated as errors
arch/powerpc/kvm/44x_tlb.c: In function 'kvmppc_mmu_map':
arch/powerpc/kvm/44x_tlb.c:319: error: format '%lx' expects type 'long unsigned int', but argument 2 has type 'gfn_t'

Caused by commit 05c07e00b15e00632a2502dcbf253415449e89da ("KVM: Use u64
for frame data types").  I applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 26 Jul 2010 14:25:12 +1000
Subject: [PATCH] kvm: u64's should be printed with %llx

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/kvm/44x_tlb.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c
index 8123125..9b9b5cd 100644
--- a/arch/powerpc/kvm/44x_tlb.c
+++ b/arch/powerpc/kvm/44x_tlb.c
@@ -316,7 +316,8 @@ void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 gvaddr, gpa_t gpaddr,
 	gfn = gpaddr >> PAGE_SHIFT;
 	new_page = gfn_to_page(vcpu->kvm, gfn);
 	if (is_error_page(new_page)) {
-		printk(KERN_ERR "Couldn't get guest page for gfn %lx!\n", gfn);
+		printk(KERN_ERR "Couldn't get guest page for gfn %llx!\n",
+			(unsigned long long)gfn);
 		kvm_release_page_clean(new_page);
 		return;
 	}
-- 
1.7.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 14+ messages in thread
* linux-next: build failure after merge of the final tree (kvm tree related)
@ 2011-05-25  3:28 Stephen Rothwell
  2011-05-25  8:02 ` Heiko Carstens
  0 siblings, 1 reply; 14+ messages in thread
From: Stephen Rothwell @ 2011-05-25  3:28 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Heiko Carstens

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

cc1: warnings being treated as errors
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c: In function '__kvm_set_memory_region':
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:654: error: cast to pointer from integer of different size
arch/powerpc/kvm/../../../virt/kvm/kvm_main.c:654: error: cast to pointer from integer of different size

Caused by commit 95de6ce677d6 ("KVM: add missing void __user * cast to
access_ok() call").

I have reverted that commit for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build failure after merge of the final tree (kvm tree related)
@ 2011-02-21  6:56 Stephen Rothwell
  2011-02-21  8:10 ` Huang Ying
  2011-02-28  2:15 ` Stephen Rothwell
  0 siblings, 2 replies; 14+ messages in thread
From: Stephen Rothwell @ 2011-02-21  6:56 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti
  Cc: linux-next, linux-kernel, Huang Ying, David Miller, Andrew Morton

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

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

mm/memory.c: In function '__get_user_pages':
mm/memory.c:1584: error: 'EHWPOISON' undeclared (first use in this function)

Caused by commit b1c4f2836370f5c8207d4c61e91c93bd6a4ce27a ("mm: make
__get_user_pages return -EHWPOISON for HWPOISON page optionally") from
the kvm tree.

Not all architectures use include/asm-generic/errno.h ...

I have reverted that commit (and commits
d47b742c5661385b927c03188549b2d2004b80f4 "KVM: Replace
is_hwpoison_address with __get_user_pages" and
eef8839430b72deac59e9ec51eb56c44512fcc66 "mm: remove is_hwpoison_address"
which depend on it) for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build failure after merge of the final tree (kvm tree related)
@ 2010-09-03  1:32 Stephen Rothwell
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Rothwell @ 2010-09-03  1:32 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Alexander Graf

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

Hi all,

After merging the final tree, the next-20100831 (and later) build
(powerpc allmodconfig) failed like this:

include/asm/kvm_para.h:24: included file 'linux/of.h' is not exported

Caused by commit 6e13db5991fea393973f284ec3e951ae8ac3795c ("KVM: PPC:
Implement hypervisor interface").  The include of linux/of.h needs to be
protected by __KERNEL__ .

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* linux-next: build failure after merge of the final tree (kvm tree related)
@ 2010-04-07  6:40 Stephen Rothwell
  0 siblings, 0 replies; 14+ messages in thread
From: Stephen Rothwell @ 2010-04-07  6:40 UTC (permalink / raw)
  To: Avi Kivity, Marcelo Tosatti; +Cc: linux-next, linux-kernel, Alexander Graf

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

Hi all,

After merging the final tree, today's linux-next build (powerpc ppc44x_defconfig)
failed like this:

arch/powerpc/kvm/built-in.o: In function `kvm_vcpu_ioctl_interrupt':
(.text+0x4840): undefined reference to `kvmppc_core_dequeue_external'

Caused by commit 6fc1eb3ee0ad1667b217d993e9bd26089f2b0b32 ("KVM: PPC:
Allow userspace to unset the IRQ line") from the kvm tree.  I guess an
implementation was forgotten.

I reverted the whole kvm tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2011-05-26  6:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26  4:27 linux-next: build failure after merge of the final tree (kvm tree related) Stephen Rothwell
2010-08-02  0:33 ` Stephen Rothwell
2010-08-02  3:40   ` Avi Kivity
2010-08-02  4:25     ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2011-05-25  3:28 Stephen Rothwell
2011-05-25  8:02 ` Heiko Carstens
2011-05-26  6:42   ` Avi Kivity
2011-02-21  6:56 Stephen Rothwell
2011-02-21  8:10 ` Huang Ying
2011-02-28  2:15 ` Stephen Rothwell
2011-02-28  2:28   ` Huang Ying
2011-02-28  9:36     ` Avi Kivity
2010-09-03  1:32 Stephen Rothwell
2010-04-07  6:40 Stephen Rothwell

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).