Hi all,
I'm happy to announce, that after many months of discussions, Microsoft
has released their Hyper-V Linux drivers under the GPLv2. Following
this message, will be the patches that add the drivers to the
drivers/staging/ tree, and a whole bunch of cleanups.
It's taken a long road to get
From: Hank Janssen hjans...@microsoft.com
These are the header files for the different Linux Hyper-V drivers to
use.
Signed-off-by: Hank Janssen hjans...@microsoft.com
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Hank Janssen hjans...@microsoft.com
This is the virtual block driver when running Linux on top of Hyper-V.
Signed-off-by: Hank Janssen hjans...@microsoft.com
Signed-off-by: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Greg Kroah-Hartman gre...@suse.de
First cut at what needs to be done to this codebase.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/TODO | 15 +++
1 file changed, 15
From: Greg Kroah-Hartman gre...@suse.de
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.
I also fixed up the direct access of bus_id, as that field is now gone.
The hv_vmbus code should now build properly, with no errors.
From: Greg Kroah-Hartman gre...@suse.de
Use the real mb call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/RingBuffer.c |4 ++--
From: Greg Kroah-Hartman gre...@suse.de
x86-64 needs a different config check. Thanks to Hank for the debugging
to determine the fix for this.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Greg Kroah-Hartman gre...@suse.de
Add the Hyper-V virtual network driver to the kernel build system.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Kconfig |7 +++
From: Greg Kroah-Hartman gre...@suse.de
The USHORT typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |1 -
From: Greg Kroah-Hartman gre...@suse.de
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc:
From: Greg Kroah-Hartman gre...@suse.de
The ULONGLONG and LONGLONG typedefs are now removed from the Hyper-V
driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Greg Kroah-Hartman gre...@suse.de
The UINT16 and INT16 typedefs are now removed from the Hyper-V driver
code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c
From: Greg Kroah-Hartman gre...@suse.de
The INTERNAL typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.h | 24
From: Greg Kroah-Hartman gre...@suse.de
Now that there are no users of the wrapper functions for spinlocks,
remove them.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |5
From: Greg Kroah-Hartman gre...@suse.de
The UINT8 and INT8 typedefs are now removed from the Hyper-V driver
code.
Had to include linux/kernel.h in a few places to get the
build to work properly as well.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
From: Greg Kroah-Hartman gre...@suse.de
The UINT64 and INT64 and UCHAR typedefs are now removed from the Hyper-V
driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/BlkVsc.c
From: Greg Kroah-Hartman gre...@suse.de
Use the correct __attribute__((packed)) one if it's really needed.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/RingBuffer.h |2 +-
From: Greg Kroah-Hartman gre...@suse.de
The PVOID typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c | 20
From: Greg Kroah-Hartman gre...@suse.de
Use the real printk call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/logging.h | 54
From: Greg Kroah-Hartman gre...@suse.de
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc:
From: Greg Kroah-Hartman gre...@suse.de
No one was even using them.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |1 -
drivers/staging/hv/osd.c | 14
From: Greg Kroah-Hartman gre...@suse.de
No one was even using them...
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |2 --
1 file changed, 2 deletions(-)
---
On Mon, Jul 20, 2009 at 09:00:25AM -0700, Greg Kroah-Hartman wrote:
Hi all,
I'm happy to announce, that after many months of discussions, Microsoft
has released their Hyper-V Linux drivers under the GPLv2. Following
this message, will be the patches that add the drivers to the
From: Greg Kroah-Hartman gre...@suse.de
The ULONG and LONG typedefs are now removed from the Hyper-V driver
code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/StorVsc.c|2
From: Greg Kroah-Hartman gre...@suse.de
The VOID typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c |2 +-
From: Greg Kroah-Hartman gre...@suse.de
The ULONG_PTR typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c |4 ++--
From: Greg Kroah-Hartman gre...@suse.de
Use the real kmalloc call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c |9 +++--
From: Greg Kroah-Hartman gre...@suse.de
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.
The driver was changed to use net_device_ops, as that is needed to build
and operate properly now.
The hv_netvsc code should now build
From: Greg Kroah-Hartman gre...@suse.de
Add the Hyper-V virtual scsi driver to the kernel build system.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Kconfig |6 ++
From: Greg Kroah-Hartman gre...@suse.de
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc:
From: Greg Kroah-Hartman gre...@suse.de
After LogMsg was converted to printk, lots of build warnings showed up
as no one was checking the arguments to LogMsg. This patch fixes them
all.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg
From: Greg Kroah-Hartman gre...@suse.de
This isn't needed at all.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |2 --
drivers/staging/hv/netvsc_drv.c |2 +-
2 files
From: Greg Kroah-Hartman gre...@suse.de
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc:
From: Greg Kroah-Hartman gre...@suse.de
Use the real kzalloc call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c |8
From: Greg Kroah-Hartman gre...@suse.de
Remove the unneeded #defines from osd.c
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/osd.c | 42 --
1
From: Greg Kroah-Hartman gre...@suse.de
Use the real kmalloc call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/ChannelMgmt.c |3 +--
From: Greg Kroah-Hartman gre...@suse.de
The SIZE_T typedef is now removed from the Hyper-V driver code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Connection.c |2 +-
From: Greg Kroah-Hartman gre...@suse.de
This isn't needed, or even used, at all.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/VmbusChannelInterface.h |9 -
From: Greg Kroah-Hartman gre...@suse.de
Use the real print_hex_dump_bytes call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/ChannelMgmt.c |3 ++-
From: Greg Kroah-Hartman gre...@suse.de
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.
I also fixed up the direct access of bus_id, as that field is now gone.
Lots of block api changes were needed, and I don't think I got
From: Greg Kroah-Hartman gre...@suse.de
Don't define things that are either already provided (like NULL), or you
shouldn't use (like TRUE and FALSE).
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Greg Kroah-Hartman gre...@suse.de
Use the real udelay call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/NetVsc.c |9 +
From: Greg Kroah-Hartman gre...@suse.de
The #define KERNEL_2_6_27 needs to be set, and I adjusted the include
directories a bit to get things to build properly.
I also fixed up the direct access of bus_id, as that field is now gone.
Some minor scsi api changes were needed as well.
The
From: Greg Kroah-Hartman gre...@suse.de
Add the Hyper-V virtual bus to the kernel build system.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/Kconfig |2 ++
drivers/staging/Makefile
On Mon, Jul 20, 2009 at 12:59:41PM -0400, Dave Jones wrote:
On Mon, Jul 20, 2009 at 09:28:10AM -0700, Greg KH wrote:
On Mon, Jul 20, 2009 at 09:00:25AM -0700, Greg Kroah-Hartman wrote:
Hi all,
I'm happy to announce, that after many months of discussions, Microsoft
has
From: Greg Kroah-Hartman gre...@suse.de
The kernel provides all of this, and actually gets it correct, so don't
try to redefine these types of things.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
From: Greg Kroah-Hartman gre...@suse.de
The BOOL and BOOLEAN typedefs are now removed from the Hyper-V driver
code.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/ChannelMgmt.c
From: Greg Kroah-Hartman gre...@suse.de
The kernel has the correct min() and max() functions, so use those.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/include/osd.h |3 ---
On Mon, Jul 20, 2009 at 01:15:23PM -0400, Dave Jones wrote:
On Mon, Jul 20, 2009 at 07:09:11PM +0200, Matthias Urlichs wrote:
Hi,
Dave Jones:
Given the numerous cleanup patches that already exist, is there any
reason
to not just post the cleaned up drivers ? It would
From: Greg Kroah-Hartman gre...@suse.de
Use the real kfree call instead of a wrapper function.
Cc: Hank Janssen hjans...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@suse.de
---
drivers/staging/hv/Channel.c |8
Greg KH gre...@suse.de writes:
It's the normal way of cleaning up code. Start with a known-working
piece of stuff, and incrementally clean it up.
I have to agree with David. This is essentially unreviewable
in the original state. It would be good if you could
do all the obvious cleanups
From: Greg Kroah-Hartman gre...@suse.de
Don't use the wrapper functions for this lock, make it a real
lock so that we know what is going on.
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
Cc:
On Mon, Jul 20, 2009 at 09:37:12PM +0200, Andi Kleen wrote:
Greg KH gre...@suse.de writes:
It's the normal way of cleaning up code. Start with a known-working
piece of stuff, and incrementally clean it up.
I have to agree with David. This is essentially unreviewable
in the original
On Mon, Jul 20, 2009 at 11:24:24PM +0200, Jan Engelhardt wrote:
On Monday 2009-07-20 18:00, Greg Kroah-Hartman wrote:
I'm happy to announce, that after many months of discussions, Microsoft
has released their Hyper-V Linux drivers under the GPLv2. Following
this message, will be the
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
This patch does not preserve the original code path if any of the
callers has a different irq
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
@@ -43,7 +43,7 @@ typedef struct _RING_BUFFER {
// volatile u32 InterruptMask;
// Ring data starts here + RingDataStartOffset !!! DO NOT place any
fields below this !!!
u8 Buffer[0];
-} STRUCT_PACKED RING_BUFFER;
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman gre...@suse.de
The ULONG and LONG typedefs are now removed from the Hyper-V driver
code
This conversion is not equivalent:
//
-// unsigned types
-//
-typedef unsigned int ULONG;
-
-//
-// signed
On Tue, Jul 21, 2009 at 01:39:19AM +0200, Arnd Bergmann wrote:
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
I don't think we really want to be doing a irqsave for this code, but I
left it alone to preserve the original codepath. It should be reviewed
later.
This patch does not
On Tue, Jul 21, 2009 at 02:00:16AM +0200, Arnd Bergmann wrote:
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman gre...@suse.de
The ULONG and LONG typedefs are now removed from the Hyper-V driver
code
This conversion is not equivalent:
//
-//
On Mon, Jul 20, 2009 at 07:38:23PM -0700, Greg KH wrote:
On Tue, Jul 21, 2009 at 02:00:16AM +0200, Arnd Bergmann wrote:
On Friday 17 July 2009, Greg Kroah-Hartman wrote:
From: Greg Kroah-Hartman gre...@suse.de
The ULONG and LONG typedefs are now removed from the Hyper-V driver
code
60 matches
Mail list logo