Staging: hv: Add the necessary dependencies to hyperv Kconfig
Subsystems (2)
PATCH 1/1 Staging: hv: Add the necessary dependencies to hyperv Kconfig
The vmbus driver dependes on ACPI and PCI subsystems. Change Kconfig to reflect this.
--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/hv/Kconfig +1 -1
@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operating
Signature · 1 line
1.7.4.1
Quoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0
drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operating
ACPI itself depends on PCI. It also depends on IA64 || X86. Will the vmbus driver work with IA64? If so the depends on could just be:
depends on ACPI && m
Also, default n is redudant since n is the default anyway.
Regards,
Hartley
Quoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0
drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operating
ACPI itself depends on PCI. It also depends on IA64 || X86. Will the vmbus driver work with IA64? If so the depends on could just be:
depends on ACPI && m
Also, default n is redudant since n is the default anyway.
Regards,
Hartley
Quoted 38 lines
-----Original Message-----
From: H Hartley Sweeten [mailto:[email protected]]
Sent: Wednesday, May 04, 2011 2:44 PM
To: KY Srinivasan; [email protected]; [email protected]; [email protected]; [email protected]
Cc: Haiyang Zhang
Subject: RE: [PATCH 1/1] Staging: hv: Add the necessary dependencies to hypervKconfigQuoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI. It also depends on IA64 || X86. Will the vmbus driver work with IA64? If so the depends on could just be:
Quoted 1 line
depends on ACPI && m
Good point; vmbus will not work on IA64 though. So, minimally we would want X86 && ACPI. I will resend this with this change.
Regards,
K. Y
Quoted 5 lines
Also, default n is redudant since n is the default anyway.
Regards,
Hartley
Quoted 38 lines
-----Original Message-----
From: H Hartley Sweeten [mailto:[email protected]]
Sent: Wednesday, May 04, 2011 2:44 PM
To: KY Srinivasan; [email protected]; [email protected]; [email protected]; [email protected]
Cc: Haiyang Zhang
Subject: RE: [PATCH 1/1] Staging: hv: Add the necessary dependencies to hypervKconfigQuoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI. It also depends on IA64 || X86. Will the vmbus driver work with IA64? If so the depends on could just be:
Quoted 1 line
depends on ACPI && m
Good point; vmbus will not work on IA64 though. So, minimally we would want X86 && ACPI. I will resend this with this change.
Regards,
K. Y
Quoted 5 lines
Also, default n is redudant since n is the default anyway.
Regards,
Hartley
Quoted 11 lines · H Hartley Sweeten
Quoted 10 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 14 lines
drivers/staging/hv/Kconfig line 6
Quoted 12 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Still? I thought that got removed a while ago.
Quoted 1 line
It also depends on IA64 || X86. Will the vmbus driver work with IA64?
No.
Quoted 3 lines
If so the depends on could just be:
depends on ACPI && m
No, see above for the IA64 reason.
Quoted 1 line
Also, default n is redudant since n is the default anyway.
True, but it doesn't hurt either :)
thanks,
greg k-h
Quoted 27 lines · On Wed, 4 May 2011 11:53:38 -0700 Greg KH wrote:
Quoted 11 lines · H Hartley Sweeten
Quoted 10 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)Quoted 14 lines
drivers/staging/hv/Kconfig line 6
Quoted 12 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Quoted 1 line
Still? I thought that got removed a while ago.
Still. Len has written in the past that technically there is no such dependency, but in reality there is, for now at least. IIRC.
Quoted 6 lines
Quoted 1 line
It also depends on IA64 || X86. Will the vmbus driver work with IA64?
No.
Quoted 2 lines
If so the depends on could just be:
Quoted 7 lines
Quoted 1 line
depends on ACPI && mNo, see above for the IA64 reason.
Quoted 1 line
Also, default n is redudant since n is the default anyway.
True, but it doesn't hurt either :)
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
Quoted 29 lines · Randy Dunlap
Quoted 27 lines · On Wed, 4 May 2011 11:53:38 -0700 Greg KH wrote:
Quoted 25 lines · H Hartley Sweeten
Quoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Quoted 4 lines
Quoted 1 line
Still? I thought that got removed a while ago.
Still. Len has written in the past that technically there is no such dependency, but in reality there is, for now at least. IIRC.
Ok, but then we should still say we depend on PCI to handle if/when ACPI removes that dependancy in the future. It doesn't hurt here at all.
thanks,
greg k-h
Quoted 42 lines
-----Original Message-----
From: [email protected] [mailto:devel- [email protected]] On Behalf Of Greg KH
Sent: Wednesday, May 04, 2011 3:40 PM
To: Randy Dunlap
Cc: [email protected]; [email protected]; H Hartley Sweeten; Haiyang Zhang; [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: Add the necessary dependencies to hypervKconfigQuoted 29 lines · Randy Dunlap
Quoted 27 lines · On Wed, 4 May 2011 11:53:38 -0700 Greg KH wrote:
Quoted 25 lines · H Hartley Sweeten
Quoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Still? I thought that got removed a while ago.
Still. Len has written in the past that technically there is no such dependency, but in reality there is, for now at least. IIRC.
Ok, but then we should still say we depend on PCI to handle if/when ACPI removes that dependancy in the future. It doesn't hurt here at all.
Greg,
I have sent you both versions of this patch; one with explicit dependency on PCI and one with implicit dependency on PCI; you decide.
Regards,
K. Y
Quoted 47 lines · KY Srinivasan
Quoted 47 lines
-----Original Message-----
From: [email protected] [mailto:devel- [email protected]] On Behalf Of Greg KH
Sent: Wednesday, May 04, 2011 3:40 PM
To: Randy Dunlap
Cc: [email protected]; [email protected]; H Hartley Sweeten; Haiyang Zhang; [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: Add the necessary dependencies to hypervKconfigQuoted 33 lines · Randy Dunlap
Quoted 27 lines · On Wed, 4 May 2011 11:53:38 -0700 Greg KH wrote:
Quoted 11 lines · H Hartley Sweeten
Quoted 10 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)Quoted 14 lines
drivers/staging/hv/Kconfig line 6
Quoted 12 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Quoted 1 line
Still? I thought that got removed a while ago.
Still. Len has written in the past that technically there is no such dependency, but in reality there is, for now at least. IIRC.
Quoted 6 lines
Quoted 2 lines
Ok, but then we should still say we depend on PCI to handle if/when ACPI removes that dependancy in the future. It doesn't hurt here at all.
Greg,
I have sent you both versions of this patch; one with explicit dependency on PCI and one with implicit dependency on PCI; you decide.
Thanks, I'll pick one :)
Quoted 30 lines · On Wed, 4 May 2011 12:39:54 -0700 Greg KH wrote:
Quoted 29 lines · Randy Dunlap
Quoted 27 lines · On Wed, 4 May 2011 11:53:38 -0700 Greg KH wrote:
Quoted 25 lines · H Hartley Sweeten
Quoted 15 lines · K. Y. Srinivasan
The vmbus driver dependes on ACPI and PCI subsystems. Change
Kconfigto reflect this.Signed-off-by K. Y. Srinivasan <[email protected]>Signed-off-by Haiyang Zhang <[email protected]>--- drivers/staging/hv/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/staging/hv/Kconfig +0
-0drivers/staging/hv/Kconfig line 6
Quoted 7 lines
drivers/staging/hv/Kconfig +1
-1@@ -1,6 +1,6 @@ config HYPERV tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m default n help Select this option to run Linux as a Hyper-V client operatingACPI itself depends on PCI.
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Still? I thought that got removed a while ago.
Still. Len has written in the past that technically there is no such dependency, but in reality there is, for now at least. IIRC.
Ok, but then we should still say we depend on PCI to handle if/when ACPI removes that dependancy in the future. It doesn't hurt here at all.
Yes, I prefer that also.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
drivers/staging/hv/Kconfig line 3
Quoted 4 lines · K. Y. Srinivasan
config HYPERV
drivers/staging/hv/Kconfig +1
-1tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && m
I can't see anything preventing this driver from beeing built-in, so the "depends on m" should probably go away.
Quoted 8 lines · Christoph Hellwig
drivers/staging/hv/Kconfig line 3
Quoted 4 lines · K. Y. Srinivasan
config HYPERV
drivers/staging/hv/Kconfig +1
-1tristate "Microsoft Hyper-V client drivers" - depends on X86 && m + depends on X86 && ACPI && PCI && mI can't see anything preventing this driver from beeing built-in, so the "depends on m" should probably go away.
Originally there were some problems with some bad global symbols. Hopefully those should all be resolved now, but it can't hurt to review the code to verify this first.
thanks,
greg k-h