mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: [PATCH 1/1] x86: irq: Handle VMBUS driver being a module
  2014-04-02  6:51 [PATCH 1/1] x86: irq: Handle VMBUS driver being a module K. Y. Srinivasan
@ 2014-04-02  6:25 ` KY Srinivasan
  2014-04-02  7:55 ` [tip:x86/urgent] x86/platform/hyperv: " tip-bot for K. Y. Srinivasan
  1 sibling, 0 replies; 3+ messages in thread
From: KY Srinivasan @ 2014-04-02  6:25 UTC (permalink / raw)
  To: KY Srinivasan, x86, linux-kernel, olaf, apw, jasowang, tglx, hpa

Thomas,

With the Hyper-V irq cleanup that you checked in, currently Hyper-V interrupts are not being displayed when
Hyper-V is configured as a module. This patch fixes the issue.

Regards,

K. Y

> -----Original Message-----
> From: K. Y. Srinivasan [mailto:kys@microsoft.com]
> Sent: Tuesday, April 1, 2014 11:52 PM
> To: x86@kernel.org; linux-kernel@vger.kernel.org; olaf@aepfle.de;
> apw@canonical.com; jasowang@redhat.com; tglx@linutronix.de;
> hpa@zytor.com
> Cc: KY Srinivasan
> Subject: [PATCH 1/1] x86: irq: Handle VMBUS driver being a module
> 
> Hyper-V VMBUS driver can be a module; handle this case correctly. Please
> apply.
> 
> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
> ---
>  arch/x86/kernel/irq.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
> index 42805fa..283a76a 100644
> --- a/arch/x86/kernel/irq.c
> +++ b/arch/x86/kernel/irq.c
> @@ -125,7 +125,7 @@ int arch_show_interrupts(struct seq_file *p, int prec)
>  		seq_printf(p, "%10u ", per_cpu(mce_poll_count, j));
>  	seq_printf(p, "  Machine check polls\n");
>  #endif
> -#if defined(CONFIG_HYPERV) || defined(CONFIG_XEN)
> +#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
>  	seq_printf(p, "%*s: ", prec, "THR");
>  	for_each_online_cpu(j)
>  		seq_printf(p, "%10u ", irq_stats(j)->irq_hv_callback_count);
> --
> 1.7.4.1


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

* [PATCH 1/1] x86: irq: Handle VMBUS driver being a module
@ 2014-04-02  6:51 K. Y. Srinivasan
  2014-04-02  6:25 ` KY Srinivasan
  2014-04-02  7:55 ` [tip:x86/urgent] x86/platform/hyperv: " tip-bot for K. Y. Srinivasan
  0 siblings, 2 replies; 3+ messages in thread
From: K. Y. Srinivasan @ 2014-04-02  6:51 UTC (permalink / raw)
  To: x86, linux-kernel, olaf, apw, jasowang, tglx, hpa; +Cc: K. Y. Srinivasan

Hyper-V VMBUS driver can be a module; handle this case correctly. Please apply.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
 arch/x86/kernel/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 42805fa..283a76a 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -125,7 +125,7 @@ int arch_show_interrupts(struct seq_file *p, int prec)
 		seq_printf(p, "%10u ", per_cpu(mce_poll_count, j));
 	seq_printf(p, "  Machine check polls\n");
 #endif
-#if defined(CONFIG_HYPERV) || defined(CONFIG_XEN)
+#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
 	seq_printf(p, "%*s: ", prec, "THR");
 	for_each_online_cpu(j)
 		seq_printf(p, "%10u ", irq_stats(j)->irq_hv_callback_count);
-- 
1.7.4.1


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

* [tip:x86/urgent] x86/platform/hyperv: Handle VMBUS driver being a module
  2014-04-02  6:51 [PATCH 1/1] x86: irq: Handle VMBUS driver being a module K. Y. Srinivasan
  2014-04-02  6:25 ` KY Srinivasan
@ 2014-04-02  7:55 ` tip-bot for K. Y. Srinivasan
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for K. Y. Srinivasan @ 2014-04-02  7:55 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, kys, tglx

Commit-ID:  f704a7d7f1d815621cb4c47f7a94787e1bd7c27c
Gitweb:     http://git.kernel.org/tip/f704a7d7f1d815621cb4c47f7a94787e1bd7c27c
Author:     K. Y. Srinivasan <kys@microsoft.com>
AuthorDate: Tue, 1 Apr 2014 23:51:42 -0700
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Wed, 2 Apr 2014 09:49:47 +0200

x86/platform/hyperv: Handle VMBUS driver being a module

Hyper-V VMBUS driver can be a module; handle this case
correctly. Please apply.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: olaf@aepfle.de
Cc: apw@canonical.com
Cc: jasowang@redhat.com
Link: http://lkml.kernel.org/r/1396421502-23222-1-git-send-email-kys@microsoft.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/x86/kernel/irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 42805fa..283a76a 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -125,7 +125,7 @@ int arch_show_interrupts(struct seq_file *p, int prec)
 		seq_printf(p, "%10u ", per_cpu(mce_poll_count, j));
 	seq_printf(p, "  Machine check polls\n");
 #endif
-#if defined(CONFIG_HYPERV) || defined(CONFIG_XEN)
+#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
 	seq_printf(p, "%*s: ", prec, "THR");
 	for_each_online_cpu(j)
 		seq_printf(p, "%10u ", irq_stats(j)->irq_hv_callback_count);

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

end of thread, other threads:[~2014-04-02  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02  6:51 [PATCH 1/1] x86: irq: Handle VMBUS driver being a module K. Y. Srinivasan
2014-04-02  6:25 ` KY Srinivasan
2014-04-02  7:55 ` [tip:x86/urgent] x86/platform/hyperv: " tip-bot for K. Y. Srinivasan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®