17f5e49167cfca5c2c0d04863b8373736448238b |
|
30-Sep-2014 |
Benjamin Romer <benjamin.romer@unisys.com> |
staging: unisys: fix camelcase function uisqueue_InterlockedOr() Clean up CamelCase names: uisqueue_InterlockedOr => uisqueue_interlocked_or Target => tgt Set => set Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
d870f87dec6d01d1c323d0560885d49a58143efa |
|
20-Sep-2014 |
Catalina Mocanu <catalina.mocanu@gmail.com> |
staging: unisys: virthba: remove unnecessary return statement This fixes the following checkpatch.pl warning: WARNING: void function return statements are not generally useful Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
912f102890c1d45b4357ec3ade8f982443431749 |
|
19-Aug-2014 |
Honggang Li <enjoymindful@gmail.com> |
staging: unisys/virthba/virthba.c print u64 with %llu drivers/staging/unisys/virthba/virthba.c:520:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘u64’ [-Wformat=] drivers/staging/unisys/virthba/virthba.c:749:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘u64’ [-Wformat=] drivers/staging/unisys/virthba/virthba.c:1142:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘u64’ [-Wformat=] drivers/staging/unisys/virthba/virthba.c:1151:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘u64’ [-Wformat=] After apply the patch: linux-next]$ make C=1 drivers/staging/unisys/virthba/virthba.o CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHECK drivers/staging/unisys/virthba/virthba.c CC [M] drivers/staging/unisys/virthba/virthba.o Signed-off-by: Honggang Li <enjoymindful@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
5fc0229ae5e68b8b20552b3b1944255583476c35 |
|
31-Jul-2014 |
Benjamin Romer <benjamin.romer@unisys.com> |
staging: unisys: remove U64 type This patch switches all use of the U64 typedef to use the kernel's u64 type instead. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
b3c55b13a1e458878e813c4fe2cccfa97c75f884 |
|
31-Jul-2014 |
Benjamin Romer <benjamin.romer@unisys.com> |
staging: unisys: remove U32 type This patch switches all use of the U32 typedef to use the kernel's u32 type instead. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
c242233e5b578ef08362d98171c10519876d0d93 |
|
29-Jul-2014 |
Benjamin Romer <benjamin.romer@unisys.com> |
staging: unisys: remove U8 type This patch switches all use of the U8 typedef to use the kernel's u8 type instead. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
cfe4571f72270b6b31fbf38000f5b3d6299a22d5 |
|
22-Jul-2014 |
Erik Arfvidson <erik.arfvidson@unisys.com> |
staging: unisys: fix and remove virthba comments This patch fixes formatting and cleans up unneeded comments Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
79014eb1f25e145ea0dc70c628d1ad24106afba3 |
|
21-Jul-2014 |
Erik Arfvidson <erik.arfvidson@unisys.com> |
staging: unisys: added virthba enable_ints entry This patch adds enable_ints entry to virthba directory Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
5d1501913b5234254ba1e5ab6168b55a3ad1e5f7 |
|
21-Jul-2014 |
Erik Arfvidson <erik.arfvidson@unisys.com> |
staging: unisys: added virthba rqwait entry This patch adds the rqwait entry into the virthba debugfs directory Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
d9c5607e51a08214864487c44decbf4858546caa |
|
21-Jul-2014 |
Erik Arfvidson <erik.arfvidson@unisys.com> |
staging: unisys: added virthba debugfs dir and info entry This patch adds virthba debugfs directory and info entry Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
29a2600ce4d1aa178b07a6993fe8ab46828a86cf |
|
21-Jul-2014 |
Erik Arfvidson <erik.arfvidson@unisys.com> |
staging: unisys: remove virthba proc files This patch removes all proc entries, directories, and functions Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
836bee9eee6d13cb4f3bf2a53133fab576877dac |
|
26-Jun-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: remove references to __DATE__ and __TIME__ The use of __DATE__ and __TIME__ is no longer allowed in the kernel so this commit removes those. They were once useful when the drivers were being built externally, but now that the drivers are in the kernel the use of the macros is redundant since the kernel already has the same information elsewhere. In addition, using these macros breaks the build if using gcc 4.9.0 Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
385914c39df504d9497f82c3b7189f9e57fdb2c5 |
|
22-May-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: virthba: declare virthba_queue_command as static virthba_queue_command() is only used inside virthba.c so declare it static. Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
fcd0157ece8a1bf36b877a9c8078ea721678a38b |
|
28-Apr-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: detect s-Par firmware This patch adds support for detection of s-Par firmware by checking for the hypervisor bit in the CPU capabilities, and then querying the hypervisor ID cpuid leaf. This functionality will be used by the unisys drivers to determine if they are being loaded on an s-Par platform and refuse to load if no s-Par firmware is present. This fixes a problem reported from upstream where a panic occurs if the unisys drivers are loaded on a non s-Par system. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Ken Cox <jkc@redhat.com> Tested by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
87995171ac35995c4b5f2801d81a5facd8e006d6 |
|
24-Apr-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: virthba: add MODULE_DEVICE_TABLE Add x86_cpu_id struct and call to MODULE_DEVICE_TABLE so this module will be auto loaded on boot. Signed-off-by: Ken Cox <jkc@redhat.com> Tested-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
f6d0c1e62b111bef3be279e4bf1bc2a6d560e205 |
|
23-Apr-2014 |
Benjamin Romer <benjamin.romer@unisys.com> |
staging: unisys: fix copyright notices This patch changes all of the various representations of the copyright symbol to (C). Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
fb90c6095f6d4c86ac2e3d5aacece544dde39b5c |
|
14-Apr-2014 |
Masanari Iida <standby24x7@gmail.com> |
staging: unisys: Fix typo in comment and printk Fix spelling typo in comments and printk within unisys. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
5494f95bad1d7c7a238feee8e2bf5a6db8f9c54e |
|
14-Apr-2014 |
Masanari Iida <standby24x7@gmail.com> |
staging: unisys: Fix format string mismatch in virthba.c Fix format string mismatch in info_proc_read() within virthba.c. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
a3acc83a4a2b8e1a6f8f3c5bdcfa3bb5f5f9e338 |
|
18-Mar-2014 |
Silvio F <silvio.fricke@gmail.com> |
staging: unisys: kmalloc/memset to kzalloc conversation This patch solves the Coccinelle warning: "kzalloc should be used instead of kmalloc/memset" This patch is a fixup for linux-next: 97a84f1203786985856a0d4b49b1d7cc387238ce "Staging: unisys: Replace kmalloc/memset with kzalloc" The ALLOC_CMDRSP #define is after transformation to kzalloc only a rename for kzalloc and was completly removed. Signed-off-by: Silvio F <silvio.fricke@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
a8d7f21d14e2b24dc18d53d597df290b89bb115c |
|
13-Mar-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: Clean multiple sparse warnings Cleaned up multiple sparse warnings, mostly due to improper access of I/O space. Also declared functions and variables that were only used locally as static. Removed ULTRA_disp_channel_header(), ULTRA_disp_channel(), ULTRA_disp_vnic_channel() because they were never called. Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
97a84f1203786985856a0d4b49b1d7cc387238ce |
|
14-Mar-2014 |
Andreea-Cristina Bernat <bernat.ada@gmail.com> |
Staging: unisys: Replace kmalloc/memset with kzalloc This patch solves the Coccinelle warning: "kzalloc should be used instead of kmalloc/memset". Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
|
61a0bc0f1fd235cb0af8413432beb5fed8101ad1 |
|
07-Mar-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: Fix multiple variable length array declarations There were multiple variable length arrays declared on the stack in proc handlers: char buf[count]; I changed these to be fixed length arrays. Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
bed3b10d20e34683ddc596f7858fef076d148390 |
|
07-Mar-2014 |
Ken Cox <jkc@redhat.com> |
Staging: unisys: virthba: Fix variable length array A character array was declared on the stack with variable length. This has been corrected to use a fixed length. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
927c7927eee73e195afc5b76ffb91bd72e3cb03d |
|
05-Mar-2014 |
Ken Cox <jkc@redhat.com> |
staging: unisys: Give exported symbols unique names Many exported symbols had very generic names. This commit changes the names so that they will be unique. Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
dc95086172dbbad107e9ac7fd09666c824fd86e3 |
|
04-Mar-2014 |
Ken Cox <jkc@redhat.com> |
staging: virthba driver to access shared SCSI hba The virthba module provides access to a shared SCSI host bus adapter and one or more disk devices, by proxying SCSI commands between the guest and the service partition that owns the shared SCSI adapter, using a channel between the guest and the service partition. The disks that appear on the shared bus are defined by the s-Par configuration and enforced by the service partition, while the guest driver handles sending commands and handling responses. Each disk is shared as a whole to a guest. Sharing the bus adapter in this way provides resiliency; should the device encounter an error, only the service partition is rebooted, and the device is reinitialized. This allows guests to continue running and to recover from the error. Signed-off-by: Ken Cox <jkc@redhat.com> Cc: Ben Romer <sparmaintainer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|