[patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 02/54] Staging: hv: add the Hyper-V driver header files

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 04/54] Staging: hv: add the Hyper-V virtual block driver

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 07/54] Staging: hv: add a TODO file

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 08/54] Staging: hv: make the Hyper-V virtual bus code build

2009-07-20 Thread Greg Kroah-Hartman
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.

[patch 50/54] Staging: hv: osd: remove MemoryFence wrapper

2009-07-20 Thread Greg Kroah-Hartman
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 ++--

[patch 09/54] Staging: hv: use the correct #ifdef for x86-64

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 16/54] Staging: hv: add the Hyper-V virtual network driver to the build

2009-07-20 Thread Greg Kroah-Hartman
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 +++

[patch 24/54] Staging: hv: remove USHORT typedef

2009-07-20 Thread Greg Kroah-Hartman
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 -

[patch 44/54] Staging: hv: make Device-RequestLock a real spinlock

2009-07-20 Thread Greg Kroah-Hartman
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:

[patch 25/54] Staging: hv: remove ULONGLONG and LONGLONG typedefs

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 21/54] Staging: hv: remove UINT16 and INT16 typedefs

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 17/54] Staging: hv: remove INTERNAL typedef

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 48/54] Staging: hv: osd: remove spinlock wrapper functions

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 20/54] Staging: hv: remove UINT8 and INT8 typedefs

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 23/54] Staging: hv: remove UINT64 and INT64 and UCHAR typedefs

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 34/54] Staging: hv: remove STRUCT_PACKED and STRUCT_ALIGNED defines

2009-07-20 Thread Greg Kroah-Hartman
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 +-

[patch 18/54] Staging: hv: remove PVOID typedef

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 51/54] Staging: hv: osd: remove LogMsg wrapper

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 47/54] Staging: hv: make gVmbusConnection.ChannelLock a real spinlock

2009-07-20 Thread Greg Kroah-Hartman
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:

[patch 54/54] Staging: hv: osd: remove GetTickCount and GetTimestamp wrappers

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 29/54] Staging: hv: remove DWORD and BYTE typedefs

2009-07-20 Thread Greg Kroah-Hartman
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(-) ---

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg KH
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

[patch 27/54] Staging: hv: remove ULONG and LONG typedefs

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 19/54] Staging: hv: remove VOID typedef

2009-07-20 Thread Greg Kroah-Hartman
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 +-

[patch 26/54] Staging: hv: remove ULONG_PTR typedef

2009-07-20 Thread Greg Kroah-Hartman
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 ++--

[patch 38/54] Staging: hv: osd: remove MemAlloc wrapper

2009-07-20 Thread Greg Kroah-Hartman
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 +++--

[patch 15/54] Staging: hv: make the Hyper-V virtual network driver build

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 12/54] Staging: hv: add the Hyper-V virtual scsi driver to the build

2009-07-20 Thread Greg Kroah-Hartman
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 ++

[patch 45/54] Staging: hv: make netDevice-ReceivePacketListLock a real spinlock

2009-07-20 Thread Greg Kroah-Hartman
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:

[patch 53/54] Staging: hv: fix up printk warnings

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 35/54] Staging: hv: remove UNUSED_VAR usage

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 46/54] Staging: hv: make gVmbusConnection.ChannelMsgLock a real spinlock

2009-07-20 Thread Greg Kroah-Hartman
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:

[patch 39/54] Staging: hv: osd: remove MemAllocZeroed wrapper

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 31/54] Staging: hv: remove #defines from osd.c

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 40/54] Staging: hv: osd: remove MemAllocAtomic wrapper

2009-07-20 Thread Greg Kroah-Hartman
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 +--

[patch 28/54] Staging: hv: remove SIZE_T typedef

2009-07-20 Thread Greg Kroah-Hartman
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 +-

[patch 36/54] Staging: hv: remove FIELD_OFFSET usage

2009-07-20 Thread Greg Kroah-Hartman
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 -

[patch 52/54] Staging: hv: osd: remove PrintBytes wrapper

2009-07-20 Thread Greg Kroah-Hartman
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 ++-

[patch 13/54] Staging: hv: make the Hyper-V virtual block driver build

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 37/54] Staging: hv: remove TRUE, FALSE, and NULL usage

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 49/54] Staging: hv: osd: remove Sleep wrapper

2009-07-20 Thread Greg Kroah-Hartman
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 +

[patch 11/54] Staging: hv: make the Hyper-V virtual storage driver build

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 10/54] Staging: hv: add the Hyper-V virtual bus to the build

2009-07-20 Thread Greg Kroah-Hartman
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

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg KH
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

[patch 33/54] Staging: hv: remove PAGE_SIZE and PAGE_SHIFT and __builtin functions

2009-07-20 Thread Greg Kroah-Hartman
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 ---

[patch 30/54] Staging: hv: remove BOOL and BOOLEAN typedefs

2009-07-20 Thread Greg Kroah-Hartman
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

[patch 32/54] Staging: hv: remove MIN and MAX usages

2009-07-20 Thread Greg Kroah-Hartman
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 ---

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg KH
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

[patch 41/54] Staging: hv: osd: remove MemFree wrapper

2009-07-20 Thread Greg Kroah-Hartman
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

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Andi Kleen
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

[patch 43/54] Staging: hv: make RingInfo-RingLock a real spinlock

2009-07-20 Thread Greg Kroah-Hartman
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:

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg KH
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

Re: [patch 00/54] [Announce] Microsoft Hyper-V drivers for Linux

2009-07-20 Thread Greg KH
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

Re: [patch 47/54] Staging: hv: make gVmbusConnection.ChannelLock a real spinlock

2009-07-20 Thread Arnd Bergmann
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

Re: [patch 34/54] Staging: hv: remove STRUCT_PACKED and STRUCT_ALIGNED defines

2009-07-20 Thread Arnd Bergmann
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;

Re: [patch 27/54] Staging: hv: remove ULONG and LONG typedefs

2009-07-20 Thread Arnd Bergmann
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

Re: [patch 47/54] Staging: hv: make gVmbusConnection.ChannelLock a real spinlock

2009-07-20 Thread Greg KH
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

Re: [patch 27/54] Staging: hv: remove ULONG and LONG typedefs

2009-07-20 Thread Greg KH
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: // -//

Re: [patch 27/54] Staging: hv: remove ULONG and LONG typedefs

2009-07-20 Thread Greg KH
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