Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7428,3 +7428,89 @@
xmon commands.
off xmon is disabled.

ps3stor.cli_ver=
[HW] Version used for the communication between
the driver and the CLI.
Format: <uint>

ps3stor.g_aer_handle_support=
[HW] Enable/disable PCIe AER handling by the driver.
Format: <uint> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_device_busy_threshold=
[HW] Device busy threshold value.
Format: <uint>
Default: 8

ps3stor.g_direct_check_stream_enable=
[HW] Enable/disable stream detection on the direct path.
Format: <uint> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_direct_to_normal_enable=
[HW] Enable/disable switching from the direct
path to the normal path.
Format: <uint> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_enable_heartbeat=
[HW] Enable/disable the heartbeat query feature.
Format: <uint> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_latency_perf_mode_enable=
[HW] Enable/disable latency performance mode.
Format: <uint> {0 = disable, 1 = enable}
Default: 0

ps3stor.g_log_path=
[HW] Directory the host driver log file is saved
in. The path must be shorter than 80 chars.
Format: <string>
Default: /var/log

ps3stor.g_ps3_r1x_lock_enable=
[HW] R1x write conflict check feature enable/disable.
Format: <uint> {0 = disable, 1 = enable}
Default: 0

ps3stor.g_ps3_tagset_enable=
[HW] Enable/disable the shared host tagset.
Format: <int> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_scsi_cmd_timeout=
[HW] SCSI command timeout, in seconds.
Format: <uint> {10-255}
Default: 0 (the driver default of 90s is used)

ps3stor.g_smp_affinity_enable=
[HW] Enable/disable the SMP affinity feature.
Format: <int> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_throttle_que_depth=
[HW] IOC queue depth used when throttled due to
SCSI command timeouts.
Format: <uint>
Default: 16

ps3stor.g_use_clustering=
[HW] Enable/disable the SCSI mid-layer bio merge
feature.
Format: <uint> {0 = disable, 1 = enable}
Default: 1

ps3stor.g_version_verbose=
[HW] Display detailed version information about
the ps3stor driver.
Format: <string>

ps3stor.max_sgl_entries=
[HW] Preferred maximum number of SGEs used for a
single I/O. The actual value is determined by the
driver.
Format: <int> {128, 256, 262, 512}
Default: 262

2 changes: 1 addition & 1 deletion arch/arm64/configs/deepin_arm64_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ CONFIG_SCSI_PM8001=m
CONFIG_SCSI_BFA_FC=m
CONFIG_SCSI_VIRTIO=m
CONFIG_SCSI_CHELSIO_FCOE=m
CONFIG_SCSI_LINKDATA_PS3STOR=m
CONFIG_SCSI_PS3STOR=m
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_RDAC=m
CONFIG_SCSI_DH_HP_SW=m
Expand Down
2 changes: 1 addition & 1 deletion arch/loongarch/configs/deepin_loongarch_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ CONFIG_PCMCIA_AHA152X=m
CONFIG_PCMCIA_FDOMAIN=m
CONFIG_PCMCIA_QLOGIC=m
CONFIG_PCMCIA_SYM53C500=m
CONFIG_SCSI_LINKDATA_PS3STOR=m
CONFIG_SCSI_PS3STOR=m
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_RDAC=m
CONFIG_SCSI_DH_HP_SW=m
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/configs/deepin_x86_desktop_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ CONFIG_PCMCIA_AHA152X=m
CONFIG_PCMCIA_FDOMAIN=m
CONFIG_PCMCIA_QLOGIC=m
CONFIG_PCMCIA_SYM53C500=m
CONFIG_SCSI_LINKDATA_PS3STOR=m
CONFIG_SCSI_PS3STOR=m
CONFIG_SCSI_DH=y
CONFIG_SCSI_DH_RDAC=m
CONFIG_SCSI_DH_HP_SW=m
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ obj-$(CONFIG_SCSI_ENCLOSURE) += ses.o

obj-$(CONFIG_SCSI_HISI_SAS) += hisi_sas/

obj-$(CONFIG_SCSI_LINKDATA_PS3STOR) += linkdata/
obj-$(CONFIG_SCSI_PS3STOR) += linkdata/

# This goes last, so that "real" scsi devices probe earlier
obj-$(CONFIG_SCSI_DEBUG) += scsi_debug.o
Expand Down
16 changes: 1 addition & 15 deletions drivers/scsi/linkdata/Kconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# SPDX-License-Identifier: GPL-2.0-only
#
# Linkdata network device configuration
#

config SCSI_LINKDATA_PS3STOR
tristate "Linkdata ps3stor RAIDHBA card"
depends on PCI && SCSI
depends on SCSI_FC_ATTRS
select FW_LOADER
help
This driver support Linkdata ps3stor RAIDHBA card.

To compile this driver as a module choose M here; the module
will be called ps3stor.
source "drivers/scsi/linkdata/ps3stor/Kconfig"
28 changes: 1 addition & 27 deletions drivers/scsi/linkdata/Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
EXTRA_CFLAGS += -DPS3_CFG_RELEASE
EXTRA_CFLAGS += -DPS3_HARDWARE_ASIC
EXTRA_CFLAGS += -DPS3_MODEL_V200

obj-$(CONFIG_SCSI_LINKDATA_PS3STOR) += ps3stor.o

ps3stor-objs := ps3_cmd_channel.o ps3_device_update.o ps3_ioc_manager.o ps3_mgr_channel.o ps3_platform_utils.o ps3_scsi_cmd_err.o \
ps3_cmd_complete.o ps3_err_inject.o ps3_ioc_state.o ps3_mgr_cmd.o ps3_qos.o ps3_scsih.o \
ps3_cmd_statistics.o ps3_event.o ps3_ioctl.o ps3_mgr_cmd_err.o ps3_r1x_write_lock.o ps3_scsih_cmd_parse.o \
ps3_debug.o ps3_inject.o ps3_io_trace.o ps3_module_para.o ps3_rb_tree.o ps3_scsih_raid_engine.o \
ps3_device_manager.o ps3_instance_manager.o ps3_irq.o ps3_nvme_resp_to_scsi.o ps3_recovery.o ps3_trace_id_alloc.o \
ps3_device_manager_sas.o ps3_ioc_adp.o ps3_load.o ps3_pci.o ps3_sas_transport.o ps3_watchdog.o
ps3stor-objs += linux/ps3_base.o linux/ps3_cli.o linux/ps3_cli_debug.o linux/ps3_driver_log.o linux/ps3_dump.o linux/ps3_pcie_err_handle.o

ccflags-y += -Werror -frecord-gcc-switches
ccflags-y += $(call cc-option, -Wmaybe-uninitialized)
ccflags-y += -I$(srctree) \
-I$(srctree)/drivers/scsi/linkdata \
-I$(srctree)/drivers/scsi/linkdata/linux \
-I$(srctree)/drivers/scsi/linkdata/include \
-I$(srctree)/drivers/scsi/linkdata/include/htp_v200
ccflags-y += $(call cc-option, -mno-outline-atomics)

clean:
@rm -rf *.o *.d *.ko Module.* modules.* *.mod.* .*.d .*.cmd .tmp_versions *.o.ur-safe
@rm -rf ./linux/*.o
@rm -rf ./tags
@rm -rf ./output.log
obj-$(CONFIG_SCSI_PS3STOR) += ps3stor/
8 changes: 0 additions & 8 deletions drivers/scsi/linkdata/clean.sh

This file was deleted.

Loading