Derek Robson
b8edc44c42
staging: unisys: visorhba - octal permissions
...
Fixed style of permissions to octal.
Found using checkpatch
Signed-off-by: Derek Robson <robsonde@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-06-25 16:31:21 +02:00
Sameer Wadgaonkar
d70dd24521
staging: unisys: visorbus: remove channel_addr check in handle_command
...
Removed a check for physaddr=0 in handle_command() function in
visorchipset.c.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:14 +02:00
Sameer Wadgaonkar
d36c4857cb
staging: unisys: visorbus: add comment to explain polling logic in controlvm_periodic_work
...
Added a comment to explain polling frequency variation logic in
controlvm_periodic_logic() in visorchipset.c.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:14 +02:00
Sameer Wadgaonkar
172f4c367c
staging: unisys: include: renamed structure spar_io_channel_protocol in iochannel.h to match driver namespace
...
Renamed structure spar_io_channel_protocol to visor_io_channel and
changed "visor bus" to "visorbus" in a comment in visornic_main.c
and visorhba_main.c.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:14 +02:00
Sameer Wadgaonkar
68646323cd
staging: unisys: include: renamed #defines in iochannel.h to match driver namespace
...
Renamed #defines
* ULTRA_VHBA_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_VHBA_CHANNEL_SIGNATURE
* ULTRA_VNIC_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_VNIC_CHANNEL_SIGNATURE
* ULTRA_VSWITCH_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_VSWITCH_CHANNEL_SIGNATURE
* ULTRA_VHBA_CHANNEL_PROTOCOL_VERSIONID to
VISOR_VHBA_CHANNEL_VERSIONID
* ULTRA_VNIC_CHANNEL_PROTOCOL_VERSIONID to
VISOR_VNIC_CHANNEL_VERSIONID
* ULTRA_VSWITCH_CHANNEL_PROTOCOL_VERSIONID to
VISOR_VSWITCH_CHANNEL_VERSIONID
* SPAR_VHBA_CHANNEL_OK_CLIENT to VISOR_VHBA_CHANNEL_OK_CLIENT
* SPAR_VNIC_CHANNEL_OK_CLIENT to VISOR_VNIC_CHANNEL_OK_CLIENT
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
c75ebe5e30
staging: unisys: include: renamed #defines in channel.h to match driver namespace
...
Renamed #defines
* ULTRA_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_CHANNEL_SIGNATURE
* SPAR_CHANNEL_SERVER_READY to
VISOR_CHANNEL_SERVER_READY
* ULTRA_VALID_CHANNELCLI_TRANSITION
VISOR_VALID_CHANNELCLI_TRANSITION
* ULTRA_CLIERRORBOOT_THROTTLEMSG_DISABLED to
VISOR_CLIERRORBOOT_THROTTLEMSG_DISABLED
* ULTRA_CLIERRORBOOT_THROTTLEMSG_NOTATTACHED to
VISOR_CLIERRORBOOT_THROTTLEMSG_NOTATTACHED
* ULTRA_CLIERRORBOOT_THROTTLEMSG_BUSY to
VISOR_CLIERRORBOOT_THROTTLEMSG_BUSY
* ULTRA_IO_DRIVER_ENABLES_INTS to
VISOR_DRIVER_ENABLES_INTS
* ULTRA_IO_CHANNEL_IS_POLLING to
VISOR_CHANNEL_IS_POLLING
* ULTRA_IO_IOVM_IS_OK_WITH_DRIVER_DISABLING_INTS to
VISOR_IOVM_OK_DRIVER_DISABLING_INTS
* ULTRA_IO_DRIVER_DISABLES_INTS to
VISOR_DRIVER_DISABLES_INTS
* ULTRA_IO_DRIVER_SUPPORTS_ENHANCED_RCVBUF_CHECKING to
VISOR_DRIVER_ENHANCED_RCVBUF_CHECKING
* ULTRA_CHANNEL_ENABLE_INTS to
VISOR_CHANNEL_ENABLE_INTS
* SPAR_VHBA_CHANNEL_PROTOCOL_UUID to VISOR_VHBA_CHANNEL_UUID
* SPAR_VHBA_CHANNEL_PROTOCOL_UUID_STR to
VISOR_VHBA_CHANNEL_UUID_STR
* SPAR_VNIC_CHANNEL_PROTOCOL_UUID to VISOR_VNIC_CHANNEL_UUID
* SPAR_VNIC_CHANNEL_PROTOCOL_UUID_STR to
VISOR_VNIC_CHANNEL_UUID_STR
* SPAR_SIOVM_UUID to VISOR_SIOVM_UUID
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
315dfc84d1
staging: unisys: include: renamed function spar_check_channel in channel.h to match driver namespace
...
Renamed function spar_check_channel() to visor_check_channel().
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
bac41a2f68
staging: unisys: visorinput: removed enum in ultrainputreport.h to match driver namespace
...
Removed enum ultra_inputaction in ultrainputreport.h and changed
elements to #defnes.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
c2093c804c
staging: unisys: visorinput: renamed structures in ultrainputreport.h to match driver namespace
...
Renamed structures
* ultra_inputactivity to visor_inputactivity
* ultra_inputreport to visor_inputreport
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
785542c660
staging: unisys: visorinput: renamed #defines in visorinput.c to match driver namespace
...
Renamed #defines
* SPAR_KEYBOARD_CHANNEL_PROTOCOL_UUID to
VISOR_KEYBOARD_CHANNEL_UUID
* SPAR_KEYBOARD_CHANNEL_PROTOCOL_UUID_STR to
VISOR_KEYBOARD_CHANNEL_UUID_STR
* SPAR_MOUSE_CHANNEL_PROTOCOL_UUID to
VISOR_MOUSE_CHANNEL_UUID
* SPAR_MOUSE_CHANNEL_PROTOCOL_UUID_STR to
VISOR_MOUSE_CHANNEL_UUID_STR
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
d3ad6e69ca
staging: unisys: visorbus: renamed enum in controlvmchannel.h to match driver namespace
...
Renamed enum and its members
* ultra_chipset_feature to visor_chipset_feature
* ULTRA_CHIPSET_FEATURE_REPLY to VISOR_CHIPSET_FEATURE_REPLY
* ULTRA_CHIPSET_FEATURE_PARA_HOTPLUG to
VISOR_CHIPSET_FEATURE_PARA_HOTPLUG
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
545f091389
staging: unisys: visorbus: renamed structures in controlvmchannel.h to match driver namespace
...
Renamed structures
* spar_segment_state to visor_segment_state
* efi_spar_indication to efi_visor_indication
* spar_controlvm_channel_protocol to visor_controlvm_channel
* spar_controlvm_parameters_header to
visor_controlvm_parameters_header
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
c5a28902b4
staging: unisys: visorbus: renamed #defines in controlvmchannel.h to match driver namespace
...
Renamed #defines
* SPAR_CONTROLVM_CHANNEL_PROTOCOL_UUID to
VISOR_CONTROLVM_CHANNEL_UUID
* ULTRA_CONTROLVM_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_CONTROLVM_CHANNEL_SIGNATURE
* ULTRA_CONTROLVM_CHANNEL_PROTOCOL_VERSIONID to
VISOR_CONTROLVM_CHANNEL_VERSIONID
* SPAR_CONTROLVM_CHANNEL_OK_CLIENT to
VISOR_CONTROLVM_CHANNEL_OK_CLIENT
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
a27ded9272
staging: unisys: visorbus: renamed #defines in visorchipset.c to match driver namespace
...
Renamed #defines
* UNISYS_SPAR_LEAF_ID to UNISYS_VISOR_LEAF_ID
* UNISYS_SPAR_ID_EBX to UNISYS_VISOR_ID_EBX
* UNISYS_SPAR_ID_ECX to UNISYS_VISOR_ID_ECX
* UNISYS_SPAR_ID_EDX to UNISYS_VISOR_ID_EDX
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
2b8ec7da96
staging: unisys: visorbus: renamed #define in visorchannel.c to match driver namespace
...
Renamed SPAR_CONSOLEVIDEO_CHANNEL_PROTOCOL_GUID to
VISOR_CONSOLEVIDEO_CHANNEL_GUID and renamed const
spar_video_guid to visor_video_guid
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
55c71ebaf6
staging: unisys: visorbus: renamed structures in vbuschannel.h to match driver namespace
...
Renamed structures
* ultra_vbus_deviceinfo to visor_vbus_deviceinfo
* spar_vbus_headerinfo to visor_vbus_headerinfo
* spar_vbus_channel_protocol to visor_vbus_channel
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:13 +02:00
Sameer Wadgaonkar
734721746e
staging: unisys: visorbus: renamed #defines in vbuschannel.h to match driver namespace
...
Renamed #defines:
* SPAR_VBUS_CHANNEL_PROTOCOL_UUID to VISOR_VBUS_CHANNEL_UUID
* SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE to
VISOR_VBUS_CHANNEL_SIGNATURE
* SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID to
VISOR_VBUS_CHANNEL_VERSIONID
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
8b0a6cfa7f
staging: unisys: visorbus: renamed functions like my_device_* to match driver namespace
...
Renamed functions
* my_device_create() to visorbus_device_create()
* my_device_changestate() to visorbus_device_changestate()
* my_device_destroy() to visorbus_device_destroy()
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
451072e3f0
staging: unisys: visorbus: renamed function initiate_chipset_device_pause_resume to match driver namespace
...
Renamed function initiate_chipset_device_pause_resume() to
visorchipset_initiate_device_pause_resume().
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
c0b44136c8
staging: unisys: visorbus: renamed functions like chipset_device_* to match driver namespace
...
Renamed functions
* chipset_device_create() to visorchipset_device_create()
* chipset_device_destroy() to visorchipset_device_destroy()
* chipset_device_pause() to visorchipset_device_pause()
* chipset_device_resume() to visorchipset_device_resume()
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
4f96c7308e
staging: unisys: visorbus: renamed functions like chipset_bus_* to match driver namespace
...
Renamed functions
* chipset_bus_create() to visorchipset_bus_create()
* chipset_bus_destroy() to visorchipset_bus_destroy()
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
9e78fd35df
staging: unisys: visorbus: renamed functions like *_bus_instance to match driver namespace
...
Renamed functions
* create_bus_instance() to visorbus_create_instance()
* remove_bus_instance() to visorbus_remove_instance()
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
f8b5a21feb
staging: unisys: visorbus: renamed functions like device_*_response to match driver namespace
...
Renamed functions
* device_create_response() to visorbus_device_create_response()
* device_destroy_response() to visorbus_device_destroy_response()
* device_pause_response() to visorbus_device_pause_response()
* device_resume_response() to visorbus_device_resume_response()
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
63847f17f7
staging: unisys: visorbus: renamed functions like bus_*_response to match driver namespace
...
Renamed functions bus_create_response() to visorbus_create_response()
and bus_destroy_response() to visorbus_destroy_response().
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Sameer Wadgaonkar
ec17cb8a6c
staging: unisys: visorbus: renamed functions bus_create, bus_destroy and bus_configure to match driver namespace
...
Renamed the functions bus_create() to visorbus_create(),
bus_destroy() to visorbus_destroy() and bus_configure() to
visorbus_configure
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Jon Frisch
603a1989c6
staging: unisys: visorbus: rename typ to cr_type
...
This patch renames enum crash_obj_type typ to cr_type.
Signed-off-by: Jon Frisch <jon.frisch@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-25 18:53:12 +02:00
Marcos Paulo de Souza
789bf45ace
staging: unisys: Solve sparse warning
...
The following commit fixes the following sparse report:
drivers/staging//unisys/visorhba/visorhba_main.c:660:29: warning: cast to restricted __le64
by casting readq (which is unsigned long on x86) to u64, as expected by the seq_printf call.
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com >
Acked-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-05-15 07:41:58 +02:00
Sameer Wadgaonkar
3c2bf0bd08
staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y
...
The root issue is that we are not allowed to have items on the
stack being passed to "DMA" like operations. In this case we have
a vmcall and an inline completion of scsi command.
This patch fixes the issue by moving the variables on stack in
do_scsi_nolinuxstat() to heap memory.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:55:53 +02:00
Sameer Wadgaonkar
bb1fb8ac39
staging: unisys: visorbus: fix s-Par to boot with option CONFIG_VMAP_STACK set to y
...
The root issue is that we are not allowed to have items on the
stack being passed to "DMA" like operations. In this case we have
vmcall operation that was using parameters from the stack.
This patch fixes the issue by moving the variables on stack in
issue_vmcall_io_controlvm_addr() to vmcall_controlvm_addr struct.
Signed-off-by: Sameer Wadgaonkar <sameer.wadgaonkar@unisys.com >
Signed-off-by: David Kershner <david.kershner@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:55:53 +02:00
David Kershner
372b9f2276
staging: unisys: visorbus: remove POSTCODE from visorchipset_init
...
Remove POSTCODEs from visorchipset_init and replace them with dev_err when
needed.
Since there are no more POSTCODEs in the code, we can get rid of the data
in the header file as well.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:55:53 +02:00
David Kershner
0f7453af97
staging: unisys: visorbus: remove postcodes in setup_crash_devices_work_queue
...
Replace postcodes with dev_err in the function
setup_crash_device_work_queue.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
d9b89ef189
staging: unisys: visorbus: refactor setup_crash_devices_work_queue
...
The if statement was sending us down the happy path with the error path
in the else. This can be simplified by having the if be the error and
just falling through with the good path.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
03662df811
staging: unisys: visorbus: get rid of POSTCODES in my_device_changestate
...
Replace POSTCODEs with dev_err in the function my_device_changestate.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
a8c26e4bc2
staging: unisys: visorbus: remove POSTCODE from my_device_create
...
Replace the POSTCODEs with dev_err in my_device_create.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
71a0265d27
staging: unisys: visorbus: remove POSTCODE from bus_configure
...
Remove the POSTCODE logging from bus_configure, replace it with an
error message if we fail dumping the errno.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
055bc9093b
staging: unisys: visorbus: remove POSTCODEs from bus_create
...
Removed the POSTCODEs from the function bus_create.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:51:20 +02:00
David Kershner
35301b8762
staging: unisys: visorbus: get rid of POSTCODEs in save_crash_msg
...
Replace POSTCODES in save_crash_msg with dev_err handling.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
804aab3be1
staging: unisys: visorbus: remove postcodes in visorbus_init
...
Remove the POSTCODES in visorbus_init. Since there are no more POSTCODES
in visorbus_main.c we can remove the reference to the vmcallinterface
header file.
No need for vmcallinterface in visorbus_main.c
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
81aaca2f5d
staging: unisys: visorbus: remove noisy postcode from visorchipset_exit
...
The postcodes in visorchipset_exit were not displaying errors, they can
just be removed.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
5e259c4b06
staging: unisys: visorbus: remove noisy postcode in bus_destroy
...
Since kzalloc will display error the postcode becomes redundant, it
can be removed.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
646c7eb5d2
staging: unisys: visorbus: remove noisy postcodes
...
Get rid of postcodes from visorbus_main.c that are just informational.
They were not logging errors, we don't need to replace them with
anything.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
450333f10a
staging: unisys: visorbus: remove POSTCODE in create_bus_instance
...
Remove postcodes from create_bus_instance. If there is an error log
it with dev_err.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
402a343a24
staging: unisys: visorbus: remove POSTCODE from chispet_init
...
Get rid of the postcodes from the function chipset_init. They were
being noisy, so don't replace them with errors.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
ebdc1b8833
staging: unisys: visorbus: remove POSTCODE from create_visor_device
...
Remove POSTCODES from create_visor_device, when we fail log an error
with dev_err.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
8c8c975f37
staging: unisys: visorbus: remove NORETRY
...
Allow retry when allocating memory.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
9b2cae6dec
staging: unisys: visorbus: handle visorchannel_write errors in code
...
Catch and report back errors when visorchannel_write fails.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
04dbc09b25
staging: unisys: visorbus: add timeout to controlvm_periodic_work
...
Limit the amount that gets pulled from the queue on each try so we don't
get stuck in an infinite loop if something has gone wrong with the s-Par
firmware.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
d02bde9d37
staging: unisys: visorbus: update comment
...
Comment was outdated and did not reflect what was actually happening.
Update the comment to reflect reality.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
027b03e717
staging: unisys: visorbus: fixed indentation
...
Moved the brace to the left to fix the indentation issue.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00
David Kershner
c1d28da7a2
staging; unisys: visorbus: replace uint32 with int
...
Shouldn't use uint32 in the kernel, it can be replaced with int here.
Signed-off-by: David Kershner <david.kershner@unisys.com >
Reviewed-by: Tim Sell <timothy.sell@unisys.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2017-04-28 11:49:52 +02:00