Re: [PATCH 1/7] staging: fsl-mc: MC bus IRQ support

2015-05-05 Thread Dan Carpenter
On Tue, May 05, 2015 at 02:56:41PM -0500, Scott Wood wrote: > > Don't insist that you must be special and different from everyone else. > > There are some users of U16_MAX, U32_MAX, and U64_MAX. Why use a limit > for a different type than is being used? Why have s16/s32 at all if > you're going

[PATCH v3 1/2] staging: sm750fb: cleanup white space

2015-05-05 Thread Charles Rose
This patch fixes "space prohibited" errors reported by checkpatch.pl. Signed-off-by: Charles Rose --- drivers/staging/sm750fb/ddk750_chip.c | 12 ++-- drivers/staging/sm750fb/ddk750_power.c | 8 drivers/staging/sm750fb/sm750_accel.c | 2 +- drivers/staging/sm750fb/sm750_help

[PATCH v3 2/2] staging: sm750fb: cleanup indentation

2015-05-05 Thread Charles Rose
This patch fixes indentation errors/warnings reported by checkpatch.pl. Signed-off-by: Charles Rose --- drivers/staging/sm750fb/ddk750_mode.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_mode.c b/drivers/staging/sm7

Re: [PATCH v2 2/2] staging: sm750fb: cleanup indentation

2015-05-05 Thread Charles Rose
On 05/03/2015 03:35 PM, Greg KH wrote: On Fri, Apr 24, 2015 at 11:10:56AM -0400, Charles Rose wrote: This patch fixes indentation errors/warnings reported by checkpatch.pl. Signed-off-by: Charles Rose --- drivers/staging/sm750fb/ddk750_mode.c | 24 1 file changed, 1

Question about the function,ni_stc_dma_channel_select_bitfield

2015-05-05 Thread nick
Greetings All, I am wondering if in the function,ni_stc_dma_channel_select_bitfield the line: return 1 << channel; is guaranteed to be below the threshold that guarantees us to not overflow on a unsigned 32 integer due to bit wise shifting to the left. Thanks Nick _

RE: [PATCH V2 net-next 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-05-05 Thread KY Srinivasan
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Thursday, April 30, 2015 9:37 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; ja

[PATCH 105/141] staging: unisys: move hypervisor calls into visorbus

2015-05-05 Thread Benjamin Romer
From: David Kershner Move hypervisor calls into visorbus and move vbusdeviceinfo.h into visorbus. Drivers will call into that to update clientInfo field. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- .../unisys/common-spar/include/iovmcall_gnuc.h | 49 - .../unisys/

[PATCH 110/141] staging: unisys: Move files out of common-spar

2015-05-05 Thread Benjamin Romer
From: David Kershner Move last three files out of common-spar iochannel.h --> include (will be used by visorhba and visornic) version.h --> moved to include controlvmcompletionstatus.h --> moved to visorbus, part of controlvmchannel.h Signed-off-by: David Kershner Signed-off-by

[PATCH 128/141] staging: unisys: Convert the bus/device creation to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus The next layer is the bus/device creation to be converted over to struct visor_device. Again because memory was allocated already and the channel created, the code is simplified. No lookups, very few sanity checks. Eventually most of these functions could be dissolved into the

[PATCH 127/141] staging: unisys: Convert the notifier functions to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus The next stage is the notifier functions are converted to use struct visor_device. The cleanup here is nice because no allocation is needed. No lookup needed. No channel creation needed. Things simplify down to the obvious calls. Signed-off-by: Don Zickus Signed-off-by: Ben

[PATCH 131/141] staging: unisys: Convert init/exit routines to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus Another conversion of the init/exit routines with various other functions used during init thrown in here. Most of the conversion is mechanical. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 36 -

[PATCH 051/141] staging: unisys: visorchannel_clear(): Avoid 64KB memory leak

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorchannel.c i

[PATCH 132/141] staging: unisys: Remove dead code leftover from conversion

2015-05-05 Thread Benjamin Romer
From: Don Zickus Now that the conversion to struct visor_device is complete, remove all the cruft left behind. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c| 53 - drivers/staging/unisys/visorbus/visorbus_private.h |

[PATCH 103/141] staging: unisys: Remove unused livedump_info

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.

[PATCH 125/141] staging: unisys: Convert cmd functions to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus This patch handles the first round of conversion of the initial vmchannel command to use/allocate a struct visor_device instead of the _info struct. This is accomplished by using the find_device_by_id function implemented in an earlier patch. Most of the conversion is straight

[PATCH 112/141] staging: unisys: get rid of sparstop

2015-05-05 Thread Benjamin Romer
From: David Kershner Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/sparstop.h | 29 - 1 file changed, 29 deletions(-) delete mode 100644 drivers/staging/unisys/include/sparstop.h diff --git a/drivers/staging/unisys/

[PATCH 055/141] staging: unisys: memregion: Embed memregion in struct channel

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen This changes the API for visor_memregion_create() to require a pre-allocated struct memregion. Embedding this in struct channel avoids a layer of additional kmalloc()'s and error checks. Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/vi

[PATCH 060/141] staging: unisys: remove unused #define in controlvmchannel

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch remove unused controlvmchannel.h #defines Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../staging/unisys/common-spar/include/channels/controlvmchannel.h | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/unisys/common

[PATCH 126/141] staging: unisys: Convert the epilog functions to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus This patch is the second wave of changes to the _epilog functions to struct visor_device. Straightforward conversion, nothing really complicated here other than the nice cleanup because device is now known. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/

[PATCH 087/141] staging: unisys: move timskmod.h functionality

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes all timksmod.h pound defines. It also removes visorkmodutils.c since it no longer has any use by itself. Since visorkmodutils.c is no longer needed the module_init for visorchipset.c is modified to call visorutil_spar_detect directly instead of the extern v

[PATCH 030/141] staging: unisys: unify devmajorminor attributes into visorbus_main.c

2015-05-05 Thread Benjamin Romer
From: Prarit Bhargava The code in devmajorminor_attr.[ch] only creates sysfs files and is called only in visorbus_main.c. This code should be unified into visorbus_main.c. The only changes are a forward declaration issue with register_devmajorminor_attributes() and making the functions static.

[PATCH 135/141] staging: unisys: Include missing headers

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen This fixes the build breakage caused by recent removal of -I flags in the Makefiles Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/guestlinuxdebug.h | 1 - drivers/staging/unisys/include/vbushelper.h | 2 -- drivers/staging

[PATCH 071/141] staging: unisys: get rid of serialloopbacktest

2015-05-05 Thread Benjamin Romer
From: David Kershner serialloopbacktest is no longer supported. Get rid of it. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 7 --- drivers/staging/unisys/visorbus/visorchipset.c | 2 +- 2 files changed, 1 insertion(+),

[PATCH 084/141] staging: unisys: remove BOOL,TRUE,FALSE definitions

2015-05-05 Thread Benjamin Romer
From: Prarit Bhargava These shouldn't be defined in the code and can be replaced with the standard bool, true, and false usage that the kernel uses. Signed-off-by: Prarit Bhargava Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/periodic_work.h| 6 +-- drivers/staging/uni

[PATCH 025/141] staging: unisys: Dissolve visorchannel.h

2015-05-05 Thread Benjamin Romer
From: Don Zickus This header is needed by other drivers and should be in a global namespace. In addition, functionally it is part of visorbus, so roll the contents into that header file. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus.h

[PATCH 026/141] staging: unisys: Move visorbus.h to public namespace

2015-05-05 Thread Benjamin Romer
From: Don Zickus Turn visorbus.h into a public header that all visor* drivers will include. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/visorbus.h | 214 + drivers/staging/unisys/visorbus/visorbus.h | 214

[PATCH 120/141] staging: unisys: Clean up device sysfs attributes

2015-05-05 Thread Benjamin Romer
From: Don Zickus Properly hook into the struct device groups element. This allows the core infrastructure to manage the files instead of the bus layer. And makes the code easier to read. I didn't clean up the _show functions just modified them a bit to handle the different args for now. Signe

[PATCH 088/141] staging: unisys: remove charqueue.c

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes charqueue.[ch] since it no longer called Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorutil/Makefile| 2 +- drivers/staging/unisys/visorutil/charqueue.c | 127 --- drivers/stagi

[PATCH 093/141] staging: unisys: visorchannel: Make visorchannel_create take a gfp_t

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen This allows the caller to specify an appropriate GFP flag instead of hardcoding the lowest common denominator. Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- .../common-spar/include/channels/controlvmchannel.h| 5 + drivers/staging/unisys/include/vis

[PATCH 141/141] staging: unisys: Get rid of unused function

2015-05-05 Thread Benjamin Romer
From: David Kershner The function find_visor_device_by_channel was not used, get rid of it. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/unis

[PATCH 129/141] staging: unisys: Convert the responders to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus This is the next stage of conversion, the command responders to struct visor_device. Most of this is mechanical and straightforward. I will point out some quirks that I ran into and what I did: - bus_responder - bus_info_clear is no longer used as I am now expecting the core

[PATCH 086/141] staging: unisys: add ACPI and PCI requirement to Kconfig

2015-05-05 Thread Benjamin Romer
Later patches will require PCI and ACPI support in the kernel, so add these features to the Kconfig. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/unisys/Kconfig b/drivers/staging/unisys/Kconfig index 50223c

[PATCH 056/141] staging: unisys: visorchannel_get_memregion() isn't used

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/visorbus.h | 1 - drivers/staging/unisys/visorbus/visorchannel.c | 7 --- 2 files changed, 8 deletions(-) diff --git a/drivers/staging/unisys/include/visorbus.h b/drivers/

[PATCH 064/141] staging: unisys: rename variable to reserverd since it is unused

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch renames send_irq_handle to reserved1 since this variable is unused in the guest side. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 2 +- 1 file changed, 1 insertion(+),

[PATCH 117/141] staging: unisys: remove unused bus attribute code

2015-05-05 Thread Benjamin Romer
From: Don Zickus This was replaced by an earlier patch and it not needed. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 197 1 file changed, 197 deletions(-) diff --git a/drivers/staging/unisys/visorbus/

[PATCH 108/141] staging: unisys: vbuschannel belonsg to visorbus

2015-05-05 Thread Benjamin Romer
From: David Kershner Move vbuschannel.h into visorbus. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- .../common-spar/include/channels/vbuschannel.h | 94 -- drivers/staging/unisys/visorbus/vbuschannel.h | 94 ++ 2 files change

[PATCH 076/141] staging: unisys: memregion: {un, }mapit() are no longer used

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- .../staging/unisys/visorutil/memregion_direct.c| 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers/staging/unisys/visorutil/memregion_direct.c b/drivers/staging/unisys/visorutil

[PATCH 137/141] staging: unisys: Hide contents of pending_msg_hdr

2015-05-05 Thread Benjamin Romer
From: Don Zickus The pending_msg_hdr element of struct visor_device should really be private and not public. Currently there is no easy way to do that without allocating memory and passing it along from the command notifier all the way to the command responder. I tried to minimize the change an

[PATCH 062/141] staging: unisys: remove server crust from visorchipset.

2015-05-05 Thread Benjamin Romer
From: David Kershner The visorchipset driver originally serviced both servers and clients. This implementation is client only so remove some more server side implementation. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c|

[PATCH 115/141] staging: unisys: Wire up proper device attr for bus

2015-05-05 Thread Benjamin Romer
From: Don Zickus This patch moves the attributes to underneath the bus device correctly. This will help remove a bunch of cruft from the code and let the kernel infrastructure manage the sysfs files instead of the driver. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/sta

[PATCH 073/141] staging: unisys: memregion: Eliminate visor_memregion_destroy()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 6 +- drivers/staging/unisys/visorutil/memregion.h| 1 - drivers/staging/unisys/visorutil/memregion_direct.c | 9 - 3 files changed, 5 inse

[PATCH 070/141] staging: unisys: cleanup and align iochannel.h comments

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch reorganizes, aligns, and corrects grammar mistakes on comments. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../common-spar/include/channels/iochannel.h | 240 +++-- 1 file changed, 124 insertions(+), 116 deletions(-)

[PATCH 140/141] staging: unisys: Clean up diag_serverity enum

2015-05-05 Thread Benjamin Romer
From: David Kershner Get rid of unused values in the enum. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/diagchannel.h | 32 +++- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/drivers/staging/unisys/inc

[PATCH 123/141] staging: unisys: Add a function to set the clientpartition

2015-05-05 Thread Benjamin Romer
From: Don Zickus This patch is an attempt to help hide the channel info behind accessory functions. I was trying to keep visorchannel as private as possible. The only function missing that seemed to be needed for now was the ability to set the clientpartition. So I expose that here. Signed-of

[PATCH 116/141] staging: unisys: Move the visorbus device underneath devices

2015-05-05 Thread Benjamin Romer
From: Don Zickus Mimicing what other drivers do, this seems appropriate. Yeah, it is a bus, but it is a bus _device_. This makes things work better and smoother. Now the sysfs looks like [root@dhcp-17-174 visorbus]# ls -l /sys/bus/visorbus/devices/ total 0 lrwxrwxrwx. 1 root root 0 Apr 17 16:

[PATCH 133/141] staging: unisys: Remove unused intr

2015-05-05 Thread Benjamin Romer
From: Don Zickus The conversion to visor_device caused some compile issues.The main problem was the new fields in 'struct visor_device' were not public. Remove one that wasn't being used for now. struct irq_info intr Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging

[PATCH 054/141] staging: unisys: memregion: move struct memregion to memregion.h

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorutil/memregion.h| 6 +- drivers/staging/unisys/visorutil/memregion_direct.c | 6 -- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/staging/unisys

[PATCH 031/141] staging: unisys: rename visorchannel_funcs.c to visorchannel.c

2015-05-05 Thread Benjamin Romer
From: Prarit Bhargava visorchannel_funcs.c is a remnant of the separate visorchannel directory. It should be called visorchannel now. Signed-off-by: Prarit Bhargava Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/Makefile | 2 +- drivers/staging/unisys/visorbus/

[PATCH 067/141] staging: unisys: remove unused CONTROLVM_CHIPSET_SHUTDOWN

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson this patch removes unused chipset command on the guest CONTROLVM_CHIPSET_SHUTDOWN Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/dri

[PATCH 114/141] staging: unisys: Embed struct device for easier handling of attr

2015-05-05 Thread Benjamin Romer
From: Don Zickus Handling the sysfs attributes become easier to deal with when you can just run container_of(dev) to get devdata. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 28 - 1 file changed, 9 inser

[PATCH 119/141] staging: unisys: Remove dead kobj structs

2015-05-05 Thread Benjamin Romer
From: Don Zickus Remove stale code. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c | 32 - 1 file changed, 32 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unis

[PATCH 095/141] staging: unisys: parser: Remove unused functions and mark others static

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 201 + 1 file changed, 4 insertions(+), 197 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/uni

[PATCH 077/141] staging: unisys: visorchannel_write(): Use memcpy_toio() directly

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/visorch

[PATCH 074/141] staging: unisys: memregion: Eliminate visor_memregion_resize()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 17 +++-- drivers/staging/unisys/visorutil/memregion.h| 1 - drivers/staging/unisys/visorutil/memregion_direct.c | 16 3

[PATCH 072/141] staging: unisys: Eliminate visor_memregion_create()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 15 ++- drivers/staging/unisys/visorutil/memregion.h | 2 -- .../staging/unisys/visorutil/memregion_direct.c| 22 --

[PATCH 035/141] staging: unisys: moving file.h functionality to visorchipset.h

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson this patch simply migrates file.h functionality to visorchipset.h Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 5 +++-- drivers/staging/unisys/visorchipset/file.h | 25 --

[PATCH 094/141] staging: unisys: visorchipset: Declare parser_init_byte_stream() static

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen In addition remove unused parser_init() Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/

[PATCH 048/141] staging: unisys: visorchipset: parser_init_guts(): Localize memregion usage

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visor

[PATCH 052/141] staging: unisys: visorchannel_clear(): No need to use vmalloc here

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Using a page is sufficient, and avoids the cost of vmalloc/vfree Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/

[PATCH 022/141] staging: unisys: Remove write-only variable g_del_dump_msg_hdr

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorc

[PATCH 044/141] staging: unisys: visorbus: visorchannel_create_guts() always has parent == NULL

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchannel.c b/drivers/staging/unisys/visorbus/v

[PATCH 068/141] staging: unisys: remove unused chipset feature PCIVBUS

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes unused chipset feature ULTRA_CHIPSET_FEATURE_PCIVBUS Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/stagi

[PATCH 002/141] staging: unisys: Move MYDRVNAME to visorchipset.h

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/globals.h | 2 -- drivers/staging/unisys/visorchipset/visorchipset.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorchip

[PATCH 033/141] staging: unisys: remove visorbus_private.h

2015-05-05 Thread Benjamin Romer
From: Prarit Bhargava visorbus_private.h is only included from visorbus_main.c and has no other purpose. The code can be easily moved into visorbus_main.c. Signed-off-by: Prarit Bhargava Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c| 27 +++- d

[PATCH 096/141] staging: unisys: parser_init_guts(): standard_payload_header is always false

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 37 +++--- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unis

[PATCH 063/141] staging: unisys: remove unused CONTROL_VM messages from enum

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes CONTROL_VM disk messages from enum since they are completely unused. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../staging/unisys/common-spar/include/channels/controlvmchannel.h | 5 - 1 file changed, 5 deletions(-) diff --

[PATCH 066/141] staging: unisys: remove unused device_map and guest_devices struct

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes unused struct in the controlvm_channel message and replaces it with a char reserved inorder to mantain same message size. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../common-spar/include/channels/controlvmchannel.h | 20 +

[PATCH 045/141] staging: unisys: memregion: Nothing uses overlap allocations, so nuke it

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorutil/memregion.h | 2 - .../staging/unisys/visorutil/memregion_direct.c| 52 +++--- 2 files changed, 7 insertions(+), 47 deletions(-) diff --git a/drivers/st

[PATCH 101/141] staging: unisys: Remove unused visorchipset_save_message()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 56 -- 1 file changed, 56 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visor

[PATCH 024/141] staging: unisys: Move visorchannel into visorbus

2015-05-05 Thread Benjamin Romer
From: Don Zickus visorchannel seems to be a necessary component to visorbus and can never function as a standalone module. Let's treat it like a visorbus feature that is always enabled. Signed-off-by: Don Zickus Signed-off-by: Benjamin Romer --- drivers/staging/unisys/Kconfig

[PATCH 027/141] staging: unisys: Remove unused driver

2015-05-05 Thread Benjamin Romer
From: Don Zickus The visorchannel feature is rolled into visorbus now and its headers are public under visorbus.h. Remove the unused driver, the old header file and all the ccflag includes in the Makefile. Also remove VISORCHANNEL from all Kconfigs as it is not needed. Signed-off-by: Don Zicku

[PATCH 090/141] staging: unisys: move periodic_work.c into the visorbus directory

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch removes visorutil directory, move periodic_work.c into the visorbus directory. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/Kconfig | 1 - drivers/staging/unisys/visorbus/Makefile | 1 + dr

[PATCH 017/141] staging: unisys: finddevice() doesn't need to be inline

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/visorchipset.h | 12 .../unisys/visorchipset/visorchipset_main.c| 32 -- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/dr

[PATCH 107/141] staging: unisys: Move channel.h to include. Controvlm to visorbus

2015-05-05 Thread Benjamin Romer
From: David Kershner Channel.h is used by all channels, it needs to be in include. Controlvm Channel is only used by visorbus, it needs to just be there. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- .../unisys/common-spar/include/channels/channel.h | 590 --

[PATCH 069/141] staging: unisys: remove unused #define in iochannel.h

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch simply remove all unused #define's in iochannel.h Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../common-spar/include/channels/iochannel.h | 137 - 1 file changed, 137 deletions(-) diff --git a/drivers/staging/unis

[PATCH 034/141] staging: unisys: remove visorchipset_umode.h

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson removes visorchipset_umode.h and pass functionality to visorchipset.h Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 1 - drivers/staging/unisys/visorchipset/visorchipset.h | 1 + .../unisys/visorchip

[PATCH 100/141] staging: unisys: visorchipset_file_{init, cleanup}(): mark static

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset

[PATCH 082/141] staging: unisys: Eliminate visor_memregion_write()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen visorchannel's signal code should call visorchannel_write() directly. This is more consistent and cleaner, and allows us to remove the last memregion call. Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 34

[PATCH 092/141] staging: unisys: remove visorutil from top level Makefile

2015-05-05 Thread Benjamin Romer
The visorutil directory is still mentioned in the top level makefile for the Unisys drivers, so remove it. Signed-off-by: Benjamin Romer --- drivers/staging/unisys/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/Makefile b/drivers/staging/unisys/Makefile index

[PATCH 014/141] staging: unisys: Remove write-only visorchipset_bus_info.dev_no

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/visorchipset.h | 1 - drivers/staging/unisys/visorchipset/visorchipset_main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visor

[PATCH 046/141] staging: unisys: memregion: Use proper errno for mapit()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- .../staging/unisys/visorutil/memregion_direct.c| 28 +- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/drivers/staging/unisys/visorutil/memregion_direct.c b/drivers/stagin

[PATCH 050/141] staging: unisys: visorchipset.c: No need to include memregion.h anymore

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index 9390ed6..e0f

[PATCH 124/141] staging: unisys: Add checks for creation

2015-05-05 Thread Benjamin Romer
From: Don Zickus There was a bunch of channel creation checks before the visorchannel_create function was called, moving some of those checks inside. This keeps the outside code cleaner and handles the situation where a caller forgets to make these checks. Signed-off-by: Don Zickus Signed-off-

[PATCH 121/141] staging: unisys: Prep for removing 'info' structs

2015-05-05 Thread Benjamin Romer
From: Don Zickus The visorbus driver has three _info structs lying around (device, bus, channel) that store subsets of info from the bigger structs. Having these structs around make resource handling very difficult and more complicated than it needs to be. Use the device infrastructure and inst

[PATCH 065/141] staging: unisys: controlvmchannel.h comment aligment and cleanup

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch is a comment aligment and cleanup for controlvmchannel.h. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- .../include/channels/controlvmchannel.h| 231 ++--- 1 file changed, 107 insertions(+), 124 deletions(-) diff -

[PATCH 130/141] staging: unisys: Convert the device attributes to visor_device

2015-05-05 Thread Benjamin Romer
From: Don Zickus Convert the device attribute files to properly use visor_device. This removes a whole bunch of checks and assumptions and simplifies the code. Everything is straightforward. No testing down as I can't mimic channel info correctl. Signed-off-by: Don Zickus Signed-off-by: Benja

[PATCH 111/141] staging: unisys: Get rid of references to common-spar

2015-05-05 Thread Benjamin Romer
From: David Kershner Makefiles still had common-spar listed in ccflags. This gets rid of them. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/Makefile | 2 -- drivers/staging/unisys/visorchannel/Makefile | 2 -- 2 files changed, 4 deletion

[PATCH 104/141] staging: unisys: Remove appos_subsystems.h

2015-05-05 Thread Benjamin Romer
From: David Kershner Get rid of common-spar/include/diagnostics/appos_subsystems.h. No one is using it. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- .../include/diagnostics/appos_subsystems.h | 310 - drivers/staging/unisys/include/uisutils.h

[PATCH 098/141] staging: unisys: visorchipset: Remove unused cache allocator

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 39 -- 1 file changed, 39 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visor

[PATCH 036/141] staging: unisys: remove file.c and pass functionality to visorchipset

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch trasitions the include files and functions from file.c and places them into visorchipset_main.c Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/Makefile | 2 +- drivers/staging/unisys/visorchipset/file

[PATCH 102/141] staging: unisys: visorchipset_init(): Simplify initial checks

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchipset.c | 40 +++--- 1 file changed, 17 insertions(+), 23 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/uni

[PATCH 053/141] staging: unisys: decouple visor_memregion_{read, write}()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- .../staging/unisys/visorutil/memregion_direct.c| 26 -- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/drivers/staging/unisys/visorutil/memregion_direct.c b/drivers/staging

[PATCH 113/141] staging: unisys: remove remaining utility headers

2015-05-05 Thread Benjamin Romer
From: David Kershner remove uisqueue.h, uisthread.h, and uisutils.h replace HOSTADDRESS with u64 remove "uisutils.h" from header list in visorchipset.c Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/uisqueue.h | 396

[PATCH 019/141] staging: unisys: Avoid some == 0 checks

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorchipset/file.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/file.c b/drivers/staging/unisys/visorchipset/file.c

[PATCH 037/141] staging: unisys: move parser.[ch] functionality into visorchipset

2015-05-05 Thread Benjamin Romer
From: Erik Arfvidson This patch moves includes files and functions from parser.[ch] into visorchipset. Signed-off-by: Erik Arfvidson Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorbus_main.c| 2 +- drivers/staging/unisys/visorchipset/Makefile | 2 +- driv

[PATCH 075/141] staging: unisys: memregion: Eliminate visor_memregion_get_*() functions

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 7 +++ drivers/staging/unisys/visorutil/memregion.h| 3 --- drivers/staging/unisys/visorutil/memregion_direct.c | 21 - 3 fil

[PATCH 081/141] staging: unisys: Eliminate visor_memregion_read()

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/visorbus/visorchannel.c | 11 +-- drivers/staging/unisys/visorutil/memregion.h| 2 -- drivers/staging/unisys/visorutil/memregion_direct.c | 12 3 files cha

[PATCH 083/141] staging: unisys: Finally remove the last remnants of memregion

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- drivers/staging/unisys/include/visorbus.h | 1 - drivers/staging/unisys/visorbus/visorchannel.c | 53 ++ drivers/staging/unisys/visorchannel/globals.h | 1 - drivers/staging

[PATCH 020/141] staging: unisys: No point in checking != 0

2015-05-05 Thread Benjamin Romer
From: Jes Sorensen Signed-off-by: Jes Sorensen Signed-off-by: Benjamin Romer --- .../unisys/visorchipset/visorchipset_main.c| 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/st

[PATCH 106/141] staging: unisys: Move controlframework into controlvmchannel.h

2015-05-05 Thread Benjamin Romer
From: David Kershner Controlframework was only needed by controlvmchannel, move the structures into that header file. Signed-off-by: David Kershner Signed-off-by: Benjamin Romer --- .../include/channels/controlframework.h| 62 -- .../include/channels/controlvmc

  1   2   >