All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org,
	Liu Yu <yu.liu@freescale.com>
Subject: [PATCH 1/3] Subject: powerpc/fsl-booke: declare tlbcam_index for use in c
Date: Wed, 14 Jan 2009 10:47:36 -0600	[thread overview]
Message-ID: <b45a8d8bb4536aed9fc9db62fb8aa80f7f895920.1231950854.git.hollisb@us.ibm.com> (raw)
In-Reply-To: <1231951658-21108-1-git-send-email-hollisb@us.ibm.com>

From: Liu Yu <yu.liu@freescale.com>

So, KVM needs to read tlbcam_index to know exactly
which TLB1 entry is unused by host.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
---
 arch/powerpc/include/asm/mmu-fsl-booke.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/include/asm/mmu-fsl-booke.h b/arch/powerpc/include/asm/mmu-fsl-booke.h
index 3f941c0..4285b64 100644
--- a/arch/powerpc/include/asm/mmu-fsl-booke.h
+++ b/arch/powerpc/include/asm/mmu-fsl-booke.h
@@ -75,6 +75,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlbcam_index;
+
 typedef struct {
 	unsigned int	id;
 	unsigned int	active;
-- 
1.5.6.6


WARNING: multiple messages have this Message-ID (diff)
From: Hollis Blanchard <hollisb@us.ibm.com>
To: avi@redhat.com
Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org,
	Liu Yu <yu.liu@freescale.com>
Subject: [PATCH 1/3] Subject: powerpc/fsl-booke: declare tlbcam_index for use in c
Date: Wed, 14 Jan 2009 16:47:36 +0000	[thread overview]
Message-ID: <b45a8d8bb4536aed9fc9db62fb8aa80f7f895920.1231950854.git.hollisb@us.ibm.com> (raw)
In-Reply-To: <1231951658-21108-1-git-send-email-hollisb@us.ibm.com>

From: Liu Yu <yu.liu@freescale.com>

So, KVM needs to read tlbcam_index to know exactly
which TLB1 entry is unused by host.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
---
 arch/powerpc/include/asm/mmu-fsl-booke.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/include/asm/mmu-fsl-booke.h b/arch/powerpc/include/asm/mmu-fsl-booke.h
index 3f941c0..4285b64 100644
--- a/arch/powerpc/include/asm/mmu-fsl-booke.h
+++ b/arch/powerpc/include/asm/mmu-fsl-booke.h
@@ -75,6 +75,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlbcam_index;
+
 typedef struct {
 	unsigned int	id;
 	unsigned int	active;
-- 
1.5.6.6


  reply	other threads:[~2009-01-14 16:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 16:47 e500 KVM build fixes for 2.6.29 Hollis Blanchard
2009-01-14 16:47 ` Hollis Blanchard
2009-01-14 16:47 ` Hollis Blanchard [this message]
2009-01-14 16:47   ` [PATCH 1/3] Subject: powerpc/fsl-booke: declare tlbcam_index for use in c Hollis Blanchard
2009-01-14 16:47   ` [PATCH 2/3] Subject: kvm: ppc: Fix e500 warnings and some spelling problems Hollis Blanchard
2009-01-14 16:47     ` Hollis Blanchard
2009-01-14 16:47   ` [PATCH 3/3] Subject: kvm: ppc: Move to new TLB invalidate interface Hollis Blanchard
2009-01-14 16:47     ` Hollis Blanchard
     [not found] ` <1231951658-21108-1-git-send-email-hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2009-01-15  9:36   ` e500 KVM build fixes for 2.6.29 Avi Kivity
2009-01-15  9:36     ` Avi Kivity
2009-01-15 17:19     ` Hollis Blanchard
2009-01-15 17:19       ` Hollis Blanchard

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=b45a8d8bb4536aed9fc9db62fb8aa80f7f895920.1231950854.git.hollisb@us.ibm.com \
    --to=hollisb@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=yu.liu@freescale.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.