[PATCH] xen block: remove driver_data direct access of struct device

2009-04-30 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so

[PATCH] xen: remove driver_data direct access of struct device from more drivers

2009-05-04 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@suse.de In the near future, the driver core is going to not allow direct access to the driver_data pointer in struct device. Instead, the functions dev_get_drvdata() and dev_set_drvdata() should be used. These functions have been around since the beginning, so

[PATCH 49/64] xen block: remove driver_data direct access of struct device

2009-06-15 Thread Greg Kroah-Hartman
kernel versions. Cc: xen-de...@lists.xensource.com Cc: virtualizat...@lists.osdl.org Acked-by: Chris Wright chr...@sous-sol.org Acked-by: Jeremy Fitzhardinge jeremy.fitzhardi...@citrix.com Signed-off-by: Greg Kroah-Hartman gre...@suse.de --- drivers/block/xen-blkfront.c | 14 +++--- 1

[PATCH 62/64] xen: remove driver_data direct access of struct device from more drivers

2009-06-15 Thread Greg Kroah-Hartman
kernel versions. Cc: xen-de...@lists.xensource.com Cc: virtualizat...@lists.osdl.org Acked-by: Chris Wright chr...@sous-sol.org Cc: Jeremy Fitzhardinge jer...@xensource.com Signed-off-by: Greg Kroah-Hartman gre...@suse.de --- drivers/input/xen-kbdfront.c |8 drivers/net/xen-netfront.c

[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 --- drivers/staging/hv

[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 --- drivers/staging/hv

[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 ++-- drivers/staging/hv

[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 --- drivers/staging

[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 +++ drivers

[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 - drivers

[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 --- drivers/staging/hv/include

[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 Signed-off

[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 +- drivers

[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(-) --- a/drivers

[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 +- drivers

[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 ++-- drivers

[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 +++-- drivers

[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 ++ drivers

[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 Kroah

[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 drivers

[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 +-- drivers/staging/hv

[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 +- drivers

[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 - drivers

[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 14/54] Staging: hv: add the Hyper-V virtual block driver to the build

2009-07-20 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman gre...@suse.de Add the Hyper-V virtual block 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 +++ drivers

[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 --- drivers

[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 + drivers

[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

[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

[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 --- drivers

[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 --- drivers

[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 drivers/staging

[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

[PATCH 10/36] VIDEO: xen-fb, switch to for_each_console

2011-01-06 Thread Greg Kroah-Hartman
...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman gre...@suse.de --- drivers/video/xen-fbfront.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/xen-fbfront.c b/drivers/video/xen-fbfront.c index 428d273..4abb0b9 100644 --- a/drivers/video/xen-fbfront.c +++ b

Re: [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION

2012-07-24 Thread Greg Kroah-Hartman
On Tue, Jul 24, 2012 at 01:26:20AM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org As requested by Anthony, here is a patch against target-pending/for-next-merge to expose an ABI version to userspace via a new VHOST_SCSI_GET_ABI_VERSION ioctl operation.

[ 01/82] virtio-blk: Call del_gendisk() before disable guest kick

2012-08-13 Thread Greg Kroah-Hartman
-disk is not freed until put_disk(vblk-disk). Signed-off-by: Asias He as...@redhat.com Cc: virtualization@lists.linux-foundation.org Cc: k...@vger.kernel.org Acked-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre

[ 02/82] virtio-blk: Reset device after blk_cleanup_queue()

2012-08-13 Thread Greg Kroah-Hartman
-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -576,8 +576,6 @@ static void

[ 03/82] virtio-blk: Use block layer provided spinlock

2012-08-13 Thread Greg Kroah-Hartman
. Signed-off-by: Asias He as...@redhat.com Cc: virtualization@lists.linux-foundation.org Cc: k...@vger.kernel.org Acked-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c

Re: [PATCH] virtio_console: correct error message on failure of debugfs_create_dir

2012-12-24 Thread Greg Kroah-Hartman
On Mon, Dec 24, 2012 at 11:55:46AM +, Arnd Bergmann wrote: On Friday 21 December 2012, Amit Shah wrote: On (Thu) 20 Dec 2012 [14:11:21], Sasha Levin wrote: debugfs_create_dir() returns NULL if it fails, there's little point in calling PTR_ERR on it. debugfs_create_dir() does

Re: [PATCH] virtio_console: correct error message on failure of debugfs_create_dir

2012-12-24 Thread Greg Kroah-Hartman
On Mon, Dec 24, 2012 at 01:24:52PM -0500, Sasha Levin wrote: On Mon, Dec 24, 2012 at 12:39 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Dec 24, 2012 at 11:55:46AM +, Arnd Bergmann wrote: On Friday 21 December 2012, Amit Shah wrote: On (Thu) 20 Dec 2012 [14:11:21

Re: [PATCH] arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

2013-02-24 Thread Greg Kroah-Hartman
On Sun, Feb 24, 2013 at 05:51:44PM +0800, Dongsheng Song wrote: On Sun, Feb 24, 2013 at 1:03 AM, Kees Cook keesc...@chromium.org wrote: On Sat, Feb 23, 2013 at 3:59 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On Sat, Feb 23, 2013 at 3:29 PM, Kees Cook keesc...@chromium.org wrote:

Re: [PATCH] arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

2013-02-25 Thread Greg Kroah-Hartman
On Mon, Feb 25, 2013 at 12:39:27PM +, Stefano Stabellini wrote: On Sun, 24 Feb 2013, Greg Kroah-Hartman wrote: You should not have unstable options in the kernel in the first place, sorry. With the premise that the removal of CONFIG_EXPERIMENTAL is not an issue for me personally

Re: [PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found

2013-06-11 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2013 at 09:39:50AM +0800, wenchao wrote: cc to Greg for 3.9. formletter This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. /formletter

Re: [PATCH 3/3] PCI: mark pci_scan_bus_parented() as __deprecated

2013-06-20 Thread Greg Kroah-Hartman
On Fri, Jun 21, 2013 at 01:01:05AM +0800, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com Mark pci_scan_bus_parented() as __deprecated and clean up outdated comments. Why not just delete the function, if no in-kernel users are calling it, it's no longer needed at all. thanks, greg

Re: [patch] virtio: console: fix error handling for debugfs_create_dir()

2013-07-21 Thread Greg Kroah-Hartman
On Sun, Jul 21, 2013 at 11:36:25AM +0200, Arnd Bergmann wrote: On Saturday 20 July 2013, Dan Carpenter wrote: On Fri, Jul 19, 2013 at 12:28:41PM +0200, Arnd Bergmann wrote: On Friday 19 July 2013, Dan Carpenter wrote: debugfs_create_dir() returns ERR_PTR(-ENODEV) if debugfs is disabled.

Re: [patch v2] virtio: console: cleanup an error message

2013-07-22 Thread Greg Kroah-Hartman
On Mon, Jul 22, 2013 at 11:41:00PM +0300, Dan Carpenter wrote: The PTR_ERR(NULL) here is not useful. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- v2: completely different diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 1b456fe..4cf46d8 100644

Re: [PATCH 4/5] Intel MIC Card Driver Changes for Virtio Devices.

2013-07-24 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:35PM -0700, Sudeep Dutt wrote: +/* + * Intel MIC Platform Software Stack (MPSS) + * + * Copyright(c) 2013 Intel Corporation. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License,

Re: [patch v2] virtio: console: cleanup an error message

2013-07-29 Thread Greg Kroah-Hartman
On Mon, Jul 29, 2013 at 12:41:31PM +0530, Amit Shah wrote: On (Mon) 22 Jul 2013 [23:41:00], Dan Carpenter wrote: The PTR_ERR(NULL) here is not useful. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- v2: completely different diff --git a/drivers/char/virtio_console.c

Re: [patch v2] virtio: console: cleanup an error message

2013-07-29 Thread Greg Kroah-Hartman
On Mon, Jul 29, 2013 at 04:35:38PM +0300, Dan Carpenter wrote: On Mon, Jul 29, 2013 at 06:12:31AM -0700, Greg Kroah-Hartman wrote: On Mon, Jul 29, 2013 at 12:41:31PM +0530, Amit Shah wrote: On (Mon) 22 Jul 2013 [23:41:00], Dan Carpenter wrote: The PTR_ERR(NULL) here is not useful

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Boots and shuts down the card via sysfs entries. c) Allocates and maps a device page for communication with the card driver and updates the device

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: This patch enables the following: a) Initializes the Intel MIC X100 PCIe devices. b) Boots and shuts down the card via sysfs entries. c) Allocates and maps a device page for communication with the card driver and updates the device

Re: [PATCH 0/5] Enable Drivers for Intel MIC X100 Coprocessors.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:31PM -0700, Sudeep Dutt wrote: An Intel MIC X100 device is a PCIe form factor add-in coprocessor card based on the Intel Many Integrated Core (MIC) architecture that runs a Linux OS. It is a PCIe endpoint in a platform and therefore implements the three required

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: --- /dev/null +++ b/drivers/misc/mic/common/mic_device.h @@ -0,0 +1,81 @@ +/* + * Intel MIC Platform Software Stack (MPSS) + * + * Copyright(c) 2013 Intel Corporation. + * + * This program is free software; you can redistribute

Re: [PATCH 1/5] Intel MIC Host Driver for X100 family.

2013-08-01 Thread Greg Kroah-Hartman
On Thu, Aug 01, 2013 at 05:36:34PM -0700, Sudeep Dutt wrote: On Wed, 2013-07-31 at 18:51 -0700, Greg Kroah-Hartman wrote: On Wed, Jul 24, 2013 at 08:31:32PM -0700, Sudeep Dutt wrote: --- /dev/null +++ b/drivers/misc/mic/common/mic_device.h @@ -0,0 +1,81 @@ +/* + * Intel MIC

Re: [PATCH v2 1/7] Intel MIC Host Driver for X100 family.

2013-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 08:04:07PM -0700, Sudeep Dutt wrote: diff --git a/drivers/misc/mic/host/mic_common.h b/drivers/misc/mic/host/mic_common.h new file mode 100644 index 000..55b0337 --- /dev/null +++ b/drivers/misc/mic/host/mic_common.h @@ -0,0 +1,30 @@ +/* + * Intel MIC Platform

Re: [PATCH v2 1/7] Intel MIC Host Driver for X100 family.

2013-08-12 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 08:04:07PM -0700, Sudeep Dutt wrote: +/** + * struct mic_device - MIC device information for each card. + * + * @name: Unique name for this MIC device. + * @mmio: MMIO bar information. + * @pdev: The PCI device structure. + * @family: The MIC family to which this

Re: [PATCH v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-04 Thread Greg Kroah-Hartman
(..) as per feedback from Greg Kroah-Hartman. b) Patch 7 signal documentation, sleep workaround removal and sysfs access API cleanups as per feedback from Michael S. Tsirkin. v1 = v2: @ http://lwn.net/Articles/563131/ a) License wording cleanup, sysfs ABI documentation, patch 1

Re: [PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.

2013-09-05 Thread Greg Kroah-Hartman
Very minor nits, you can change this in a future add-on patch: +static DEVICE_ATTR(family, S_IRUGO, mic_show_family, NULL); This should use DEVICE_ATTR_RO(), so that we don't have to audit the permissions of your DEVICE_ATTR() files. +static DEVICE_ATTR(stepping, S_IRUGO, mic_show_stepping,

Re: [PATCH RESEND v3 1/7] Intel MIC Host Driver for X100 family.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:31PM -0700, Sudeep Dutt wrote: drivers/misc/mic/common/mic_device.h | 37 +++ drivers/misc/mic/host/mic_device.h| 109 + Two different files, with the same name? You are asking for trouble in the future, getting them confused :)

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
Again, very minor fixups for later (I can even do them...) +static DEVICE_ATTR(state, S_IRUGO|S_IWUSR, mic_show_state, mic_store_state); DEVICE_ATTR_RW() please. Same for the other attributes you create in this patch. thanks, greg k-h ___

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What:/sys/class/mic/mic(x)/cmdline +Date:August 2013 +KernelVersion: 3.11 +Contact: Sudeep Dutt sudeep.d...@intel.com +Description: + An Intel MIC device runs a Linux OS during

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-05 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What:/sys/class/mic/mic(x)/firmware +Date:August 2013 +KernelVersion: 3.11 +Contact: Sudeep Dutt sudeep.d...@intel.com +Description: + When read, this sysfs entry provides the

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Greg Kroah-Hartman
On Fri, Sep 06, 2013 at 11:41:03AM -0700, Sudeep Dutt wrote: On Thu, 2013-09-05 at 22:01 -0700, Greg Kroah-Hartman wrote: On Thu, Sep 05, 2013 at 04:41:55PM -0700, Sudeep Dutt wrote: +What:/sys/class/mic/mic(x)/firmware +Date:August 2013 +KernelVersion: 3.11

Re: [PATCH RESEND v3 3/7] Intel MIC Host Driver, card OS state management.

2013-09-06 Thread Greg Kroah-Hartman
On Fri, Sep 06, 2013 at 11:29:17AM -0700, Sudeep Dutt wrote: On Thu, 2013-09-05 at 21:58 -0700, Greg Kroah-Hartman wrote: Again, very minor fixups for later (I can even do them...) +static DEVICE_ATTR(state, S_IRUGO|S_IWUSR, mic_show_state, mic_store_state); DEVICE_ATTR_RW

Re: [PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-26 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 04:41:20PM -0700, Sudeep Dutt wrote: ChangeLog: = v2 = v3: a) Patch 1 data structure cleanups, header file include cleanups, IDA interface reuse and switching to device_create_with_groups(..) as per feedback from Greg Kroah-Hartman. b) Patch 7 signal

Re: [PATCH RESEND v3 0/7] Enable Drivers for Intel MIC X100 Coprocessors.

2013-09-26 Thread Greg Kroah-Hartman
On Thu, Sep 05, 2013 at 06:36:08PM -0700, Joe Perches wrote: Whitespace neatening... Multiline statement argument alignment. Argument wrapping. Use kmalloc_array instead of kmalloc. --- -ENOSIGNEDOFFBY :( ___ Virtualization mailing list

[PATCH 5/8] virtio: convert bus code to use dev_groups

2013-10-07 Thread Greg Kroah-Hartman
-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- Rusty and Michael, I can take this through my driver-core tree if you don't want to take it through yours, just let me know what works best for you. drivers/virtio/virtio.c | 27 +++ 1 file changed, 19 insertions(+), 8

Re: [PATCH char-misc-linus 4/5] misc: mic: Fix sparse warnings and other endianness issues.

2013-11-26 Thread Greg Kroah-Hartman
On Tue, Nov 26, 2013 at 10:14:21AM -0800, Ashutosh Dixit wrote: Endianness issues are now consistent as per the documentation in host/mic_virtio.h. Note that the host can be both BE or LE whereas the card is always LE. Memory space sparse warnings are fixed for now by using __force. This is

Re: [PATCH char-misc-linus v3 0/6] misc: mic: Fixes for 3.13-final

2013-11-27 Thread Greg Kroah-Hartman
On Wed, Nov 27, 2013 at 08:58:37AM -0800, Ashutosh Dixit wrote: These patches fix various issues which were reported or found with the MIC driver. All now applied, thanks. greg k-h ___ Virtualization mailing list

Re: [PATCH net 1/3] kref: add kref_sub_return

2014-02-12 Thread Greg Kroah-Hartman
On Wed, Feb 12, 2014 at 06:38:21PM +0200, Michael S. Tsirkin wrote: It is sometimes useful to get the value of the reference count after decrement. For example, vhost wants to execute some periodic cleanup operations once number of references drops below a specific value, before it reaches

Re: [PATCH net 1/3] kref: add kref_sub_return

2014-02-12 Thread Greg Kroah-Hartman
On Wed, Feb 12, 2014 at 07:35:24PM +0200, Michael S. Tsirkin wrote: On Wed, Feb 12, 2014 at 08:56:30AM -0800, Greg Kroah-Hartman wrote: On Wed, Feb 12, 2014 at 06:38:21PM +0200, Michael S. Tsirkin wrote: It is sometimes useful to get the value of the reference count after decrement

[PATCH 3.4 22/24] virtio-blk: Use block layer provided spinlock

2014-02-18 Thread Greg Kroah-Hartman
-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -21,8 +21,6 @@ struct workqueue_struct *virtblk_wq; struct virtio_blk

Re: [PATCH] virtio-blk: make the queue depth configurable

2014-03-19 Thread Greg Kroah-Hartman
and SENSOR_ATTR_2? Side effect of stricter permissions means removing the unnecessary S_IFREG from drivers/pci/slot.c. Suggested-by: Joe Perches j...@perches.com Cc: Bjorn Helgaas bhelg...@google.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Rusty Russell ru

[PATCH 3.4 46/88] virtio-blk: Reset device after blk_cleanup_queue()

2014-06-09 Thread Greg Kroah-Hartman
Signed-off-by: Ben Hutchings b...@decadent.org.uk Cc: Yijing Wang wangyij...@huawei.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block

[PATCH 3.4 45/88] virtio-blk: Call del_gendisk() before disable guest kick

2014-06-09 Thread Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -581,13 +581,13 @@ static void __devexit virtblk_remove(str vblk

[PATCH 3.15 002/139] block: virtio_blk: dont hold spin lock during world switch

2014-06-28 Thread Greg Kroah-Hartman
=randread Cc: Rusty Russell ru...@rustcorp.com.au Cc: Michael S. Tsirkin m...@redhat.com Cc: virtualization@lists.linux-foundation.org Signed-off-by: Ming Lei ming@canonical.com Acked-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Jens Axboe ax...@fb.com Signed-off-by: Greg Kroah-Hartman gre

Re: [PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts

2014-07-01 Thread Greg Kroah-Hartman
to add: Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Re: [PATCH driver-core-linus] kernfs: kernfs_notify() must be useable from non-sleepable contexts

2014-07-02 Thread Greg Kroah-Hartman
On Wed, Jul 02, 2014 at 10:14:16AM -0400, Tejun Heo wrote: Hello, On Tue, Jul 01, 2014 at 01:51:48PM -0700, Greg Kroah-Hartman wrote: Looks good to me, do you want to take this with your other kernfs patches for 3.16-final? Or if you don't have that, I can take it through my tree, it's

Re: [PATCH 52/56] drivers/char/virtio: support compiling out splice

2014-11-13 Thread Greg Kroah-Hartman
On Thu, Nov 13, 2014 at 10:23:29PM +0100, Pieter Smith wrote: Compile out splice support from virtio character driver when the splice-family of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is undefined). Signed-off-by: Pieter Smith pie...@boesman.nl ---

Re: [PATCH] virtio_console: fix sparse warnings

2015-02-03 Thread Greg Kroah-Hartman
On Mon, Dec 01, 2014 at 01:35:57PM +0200, Michael S. Tsirkin wrote: CHECK drivers/char/virtio_console.c drivers/char/virtio_console.c:687:36: warning: incorrect type in argument 1 (different address spaces) drivers/char/virtio_console.c:687:36:expected void [noderef] asn:1*to

  1   2   >