All of lore.kernel.org
 help / color / mirror / Atom feed
* [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
@ 2013-05-13  2:00 ` Tiejun Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Tiejun Chen @ 2013-05-13  2:00 UTC (permalink / raw)
  To: agraf, scottwood; +Cc: kvm-ppc, kvm, linuxppc-dev

We can only use CONFIG_PPC_DOORBELL to control whether
the doorbell exception should be enabled.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
---
v3:

Just imporve the patch head.

v2: 

Use CONFIG_PPC_DOORBELL to replace CONFIG_KVM_E500MC as that control condition.


 arch/powerpc/kvm/booke.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index ac7ab08..2d063c7 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -794,7 +794,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
 		kvmppc_fill_pt_regs(&regs);
 		timer_interrupt(&regs);
 		break;
-#if defined(CONFIG_PPC_FSL_BOOK3E) || defined(CONFIG_PPC_BOOK3E_64)
+#if defined(CONFIG_PPC_DOORBELL)
 	case BOOKE_INTERRUPT_DOORBELL:
 		kvmppc_fill_pt_regs(&regs);
 		doorbell_exception(&regs);
-- 
1.7.9.5

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

* [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
@ 2013-05-13  2:00 ` Tiejun Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Tiejun Chen @ 2013-05-13  2:00 UTC (permalink / raw)
  To: agraf, scottwood; +Cc: linuxppc-dev, kvm, kvm-ppc

We can only use CONFIG_PPC_DOORBELL to control whether
the doorbell exception should be enabled.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
---
v3:

Just imporve the patch head.

v2: 

Use CONFIG_PPC_DOORBELL to replace CONFIG_KVM_E500MC as that control condition.


 arch/powerpc/kvm/booke.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index ac7ab08..2d063c7 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -794,7 +794,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
 		kvmppc_fill_pt_regs(&regs);
 		timer_interrupt(&regs);
 		break;
-#if defined(CONFIG_PPC_FSL_BOOK3E) || defined(CONFIG_PPC_BOOK3E_64)
+#if defined(CONFIG_PPC_DOORBELL)
 	case BOOKE_INTERRUPT_DOORBELL:
 		kvmppc_fill_pt_regs(&regs);
 		doorbell_exception(&regs);
-- 
1.7.9.5

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

* [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
@ 2013-05-13  2:00 ` Tiejun Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Tiejun Chen @ 2013-05-13  2:00 UTC (permalink / raw)
  To: agraf, scottwood; +Cc: kvm-ppc, kvm, linuxppc-dev

We can only use CONFIG_PPC_DOORBELL to control whether
the doorbell exception should be enabled.

Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
---
v3:

Just imporve the patch head.

v2: 

Use CONFIG_PPC_DOORBELL to replace CONFIG_KVM_E500MC as that control condition.


 arch/powerpc/kvm/booke.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c
index ac7ab08..2d063c7 100644
--- a/arch/powerpc/kvm/booke.c
+++ b/arch/powerpc/kvm/booke.c
@@ -794,7 +794,7 @@ static void kvmppc_restart_interrupt(struct kvm_vcpu *vcpu,
 		kvmppc_fill_pt_regs(&regs);
 		timer_interrupt(&regs);
 		break;
-#if defined(CONFIG_PPC_FSL_BOOK3E) || defined(CONFIG_PPC_BOOK3E_64)
+#if defined(CONFIG_PPC_DOORBELL)
 	case BOOKE_INTERRUPT_DOORBELL:
 		kvmppc_fill_pt_regs(&regs);
 		doorbell_exception(&regs);
-- 
1.7.9.5


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

* Re: [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
  2013-05-13  2:00 ` Tiejun Chen
  (?)
@ 2013-06-12 13:18   ` Alexander Graf
  -1 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2013-06-12 13:18 UTC (permalink / raw)
  To: Tiejun Chen; +Cc: scottwood, kvm-ppc, kvm, linuxppc-dev


On 13.05.2013, at 04:00, Tiejun Chen wrote:

> We can only use CONFIG_PPC_DOORBELL to control whether
> the doorbell exception should be enabled.
> 
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>

Thanks, applied to kvm-ppc-queue with a slightly changed patch description:

    KVM: PPC: Guard doorbell exception with CONFIG_PPC_DOORBELL

    Availablity of the doorbell_exception function is guarded by
    CONFIG_PPC_DOORBELL. Use the same define to guard our caller
    of it.

    Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
    [agraf: improve patch description]
    Signed-off-by: Alexander Graf <agraf@suse.de>

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

* Re: [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
@ 2013-06-12 13:18   ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2013-06-12 13:18 UTC (permalink / raw)
  To: Tiejun Chen; +Cc: scottwood, linuxppc-dev, kvm, kvm-ppc


On 13.05.2013, at 04:00, Tiejun Chen wrote:

> We can only use CONFIG_PPC_DOORBELL to control whether
> the doorbell exception should be enabled.
> 
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>

Thanks, applied to kvm-ppc-queue with a slightly changed patch description:

    KVM: PPC: Guard doorbell exception with CONFIG_PPC_DOORBELL

    Availablity of the doorbell_exception function is guarded by
    CONFIG_PPC_DOORBELL. Use the same define to guard our caller
    of it.

    Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
    [agraf: improve patch description]
    Signed-off-by: Alexander Graf <agraf@suse.de>

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

* Re: [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL
@ 2013-06-12 13:18   ` Alexander Graf
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Graf @ 2013-06-12 13:18 UTC (permalink / raw)
  To: Tiejun Chen; +Cc: scottwood, kvm-ppc, kvm, linuxppc-dev


On 13.05.2013, at 04:00, Tiejun Chen wrote:

> We can only use CONFIG_PPC_DOORBELL to control whether
> the doorbell exception should be enabled.
> 
> Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>

Thanks, applied to kvm-ppc-queue with a slightly changed patch description:

    KVM: PPC: Guard doorbell exception with CONFIG_PPC_DOORBELL

    Availablity of the doorbell_exception function is guarded by
    CONFIG_PPC_DOORBELL. Use the same define to guard our caller
    of it.

    Signed-off-by: Tiejun Chen <tiejun.chen@windriver.com>
    [agraf: improve patch description]
    Signed-off-by: Alexander Graf <agraf@suse.de>


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

end of thread, other threads:[~2013-06-12 13:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-13  2:00 [v3][KVM][PATCH 1/1] kvm:ppc: control doorbell exception with CONFIG_PPC_DOORBELL Tiejun Chen
2013-05-13  2:00 ` Tiejun Chen
2013-05-13  2:00 ` Tiejun Chen
2013-06-12 13:18 ` Alexander Graf
2013-06-12 13:18   ` Alexander Graf
2013-06-12 13:18   ` Alexander Graf

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.