firmware/isci: update to oem parameter format v1.3
PATCH 1/1 firmware/isci: update to oem parameter format v1.3
v1.1 allows finer grained tuning of the SSC (spread-spectrum-clocking) settings for SAS and SATA. See notes in probe_roms.h
v1.3 allows the attenuation of the attached cables to be specified to the driver in terms of 'short', 'medium', and 'long' (see probe_roms.h). These settings (per phy) are retrieved from the platform oem-parameters (BIOS rom), the fallback firmware blob, or via a module parameter override.
---
for linux-firmware.git
isci/README | 2 + isci/create_fw.c | 53 +++++++++++++++-------------- isci/create_fw.h | 13 ++++++- isci/isci_firmware.bin | Bin isci/probe_roms.h | 89 ++++++++++++++++++++++++++++++++++++++++++++++-- 5 files changed, 125 insertions(+), 32 deletions(-)
isci/README +1 -1
@@ -31,6 +31,6 @@ Header Type - u8: 0xf ============================================================================== -Place isci_firmware.bin in /lib/firmware +Place isci_firmware.bin in /lib/firmware/isci Be sure to recreate the initramfs image to include the firmware.
isci/create_fw.c +27 -26
66 lines not on this page · raw message
isci/create_fw.h +11 -2
@@ -58,11 +58,20 @@ static const unsigned long long sas_addr[2][4] = { { 0x5FCFFFFF00000001ULL, 0x5FCFFFFF00000002ULL } };#endif +static const int cable_selection[2 ][4 ]; +/* Maximum number of concurrent device spin up */ static const int max_num_concurrent_dev_spin_up =1 ;/* enable of ssc operation */ -static const int enable_ssc; +/* +* NOTE: also see probe_roms.h. This value can be set for ssc values. +* Values can be set for: +* ssc_sata_tx_spread_level +* ssc_sas_tx_spread_level +* ssc_sas_tx_type +*/ +static const __u8 enable_ssc;/* AFE_TX_AMP_CONTROL */ static const unsigned int afe_tx_amp_control0 =0x000bdd08 ;
@@ -72,6 +81,6 @@ static const unsigned int afe_tx_amp_control3 = 0x000afc6e;static const char blob_name[] ="isci_firmware.bin" ;static const char sig[] ="ISCUOEMB" ; -static const unsigned char version =0x10 ; +static const unsigned char version =ISCI_ROM_VER_LATEST ;#endif
isci/isci_firmware.bin binary +0 -0
isci/probe_roms.h +86 -3
107 lines not on this page · raw message
Ben Hutchings
AppliedQuoted 8 lines · Dan Williams
v1.1 allows finer grained tuning of the SSC (spread-spectrum-clocking) settings for SAS and SATA. See notes in
probe_roms.hv1.3 allows the attenuation of the attached cables to be specified to the driver in terms of 'short', 'medium', and 'long' (see
probe_roms.h). These settings (per phy) are retrieved from the platform oem-parameters (BIOS rom), the fallback firmware blob, or via a module parameter override.
[...]
Applied, thanks.
Ben.
Signature · 2 lines
Ben Hutchings Make three consecutive correct guesses and you will be considered an expert.