ATTO 6G SAS/SATA HBA Driver
James,
Now that we are finishing up development for our esas2r driver, we are planning to start work on a kernel driver for our PM8001 based 6G SAS/SATA HBA product. We have some questions about the best way to proceed.
While we haven't done thorough testing, our hardware appears to work with the existing PM8001 kernel driver. The problem is that the existing kernel driver doesn't support all the features of the hardware or match the feature set of the current closed source driver. For example, our closed source driver supports SES emulation over I2C and SGPIO. Our closed source driver also has custom PHY settings to support longer cable lengths. We also have a set of propriety management tools we'd like to work with the open source driver, though it looks like the PM8001's sysfs interface provides most of the functionality we need.
What are our options for supporting these features? I see that Adaptec had an out-of-tree driver for their PM8001 card that supports additional features. We'd prefer to have a kernel driver that fully supports our hardware, either based on the existing PM8001 driver or our closed source code base. Is that possible?
Signature · 6 lines
Bradley Grove System Software Engineer ATTO Technology, Inc. Phone: +1.716.691.1999 ext. 144 Fax +1.716.691.9353 "Powering the World's Networks & Storage"
James Bottomley
maintainerQuoted 10 lines · Bradley Grove
James,
Now that we are finishing up development for our esas2r driver, we are planning to start work on a kernel driver for our PM8001 based 6G SAS/SATA HBA product. We have some questions about the best way to proceed.
While we haven't done thorough testing, our hardware appears to work
with the existing PM8001 kernel driver. The problem is that the
existing kernel driver doesn't support all the features of the hardware or match the feature set of the current closed source driver.
It depends what the features are.
Quoted 2 lines
For example, our closed source driver supports SES emulation over
I2C and SGPIO.
Well, this one wouldn't be acceptable in the pm8001 driver, but if you wanted to add it to a more appropriate one: like sgpio support to the in-kernel ses driver. I2C is probably a little harder because it needs to be added somewhere in the I2C subsystem.
Quoted 2 lines
Our closed source driver also has custom PHY settings to support longer cable lengths.
If other drivers are likely to have something similar, then we could put this in the sas transport class, otherwise driver sysfs files would be the way to go.
Quoted 9 lines
We also have a set of propriety management tools we'd like to work with the open source driver, though it looks like the PM8001's sysfs interface provides most of the functionality we need.
What are our options for supporting these features? I see that Adaptec had an out-of-tree driver for their PM8001 card that supports additional
features. We'd prefer to have a kernel driver that fully supports our
hardware, either based on the existing PM8001 driver or our closed
source code base. Is that possible?
So the best option is figuring out how to add the features you need to Linux, which doesn't necessarily mean adding them to this particular driver.
James