<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/scsi/mpt3sas/mpi, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/scsi/mpt3sas/mpi?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/scsi/mpt3sas/mpi?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-09-01T03:39:57Z</updated>
<entry>
<title>scsi: mpt3sas: Add support for ATTO ExpressSAS H12xx GT devices</title>
<updated>2022-09-01T03:39:57Z</updated>
<author>
<name>Bradley Grove</name>
<email>bgrove@attotech.com</email>
</author>
<published>2022-08-05T17:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=91cf186aa1bfea06c7438b16eb40a612a4c3b87a'/>
<id>urn:sha1:91cf186aa1bfea06c7438b16eb40a612a4c3b87a</id>
<content type='text'>
Add ATTO's PCI IDs and modify the driver to handle the unique NVRAM
structure used by ATTO's devices.

Link: https://lore.kernel.org/r/20220805174609.14830-1-bgrove@attotech.com
Co-developed-by: Rob Crispo &lt;rcrispo@attotech.com&gt;
Signed-off-by: Rob Crispo &lt;rcrispo@attotech.com&gt;
Signed-off-by: Bradley Grove &lt;bgrove@attotech.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Convert to flexible arrays</title>
<updated>2022-02-08T04:16:34Z</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2022-02-01T22:39:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=d20b3dae630f6718a72f7ab68c3b8c8e897bf09f'/>
<id>urn:sha1:d20b3dae630f6718a72f7ab68c3b8c8e897bf09f</id>
<content type='text'>
This converts to a flexible array instead of the old-style 1-element
arrays. The existing code already did the correct math for finding the size
of the resulting flexible array structure, so there is no binary
difference.

The other two structures converted to use flexible arrays appear to have no
users at all.

Link: https://lore.kernel.org/r/20220201223948.1455637-1-keescook@chromium.org
Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one</title>
<updated>2021-03-17T04:04:40Z</updated>
<author>
<name>Gustavo A. R. Silva</name>
<email>gustavoars@kernel.org</email>
</author>
<published>2021-03-10T23:59:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a1c4d7741323eff1d9c5baca8337ac3ac4630649'/>
<id>urn:sha1:a1c4d7741323eff1d9c5baca8337ac3ac4630649</id>
<content type='text'>
Dynamic memory allocation isn't actually needed and it can be replaced by
statically allocating memory for struct object io_unit_pg3 with 36
hardcoded entries for its GPIOVal array.

Also, this helps the with ongoing efforts to enable -Warray-bounds by
fixing the following warning:

drivers/scsi/mpt3sas/mpt3sas_ctl.c: In function ‘BRM_status_show’:
drivers/scsi/mpt3sas/mpt3sas_ctl.c:3257:63: warning: array subscript 24 is above array bounds of ‘U16[1]’ {aka ‘short unsigned int[1]’} [-Warray-bounds]
 3257 |  backup_rail_monitor_status = le16_to_cpu(io_unit_pg3-&gt;GPIOVal[24]);
./include/uapi/linux/byteorder/little_endian.h:36:51: note: in definition of macro ‘__le16_to_cpu’
   36 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
      |                                                   ^
drivers/scsi/mpt3sas/mpt3sas_ctl.c:3257:31: note: in expansion of macro ‘le16_to_cpu’
 3257 |  backup_rail_monitor_status = le16_to_cpu(io_unit_pg3-&gt;GPIOVal[24]);

Link: https://github.com/KSPP/linux/issues/109
Link: https://lore.kernel.org/lkml/202103101058.16ED27BE3@keescook/
Link: https://lore.kernel.org/r/20210310235951.GA108661@embeddedor
Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: Gustavo A. R. Silva &lt;gustavoars@kernel.org&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Update MPI Headers to v02.00.57</title>
<updated>2020-01-03T03:23:16Z</updated>
<author>
<name>Sreekanth Reddy</name>
<email>sreekanth.reddy@broadcom.com</email>
</author>
<published>2019-12-26T11:13:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1ade26b616cc2da0b7277a97e3799c99bae0655b'/>
<id>urn:sha1:1ade26b616cc2da0b7277a97e3799c99bae0655b</id>
<content type='text'>
Update MPI Headers to version 02.00.57.

Link: https://lore.kernel.org/r/20191226111333.26131-2-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy &lt;sreekanth.reddy@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Update MPI headers to 2.6.8 spec</title>
<updated>2019-08-08T02:46:19Z</updated>
<author>
<name>Suganath Prabu</name>
<email>suganath-prabu.subramani@broadcom.com</email>
</author>
<published>2019-08-03T13:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=635ee6c73034ea4488a8e26bb0d0291d83146863'/>
<id>urn:sha1:635ee6c73034ea4488a8e26bb0d0291d83146863</id>
<content type='text'>
Updated MPI to 2.6.8 specification and header files to 2.00.54.

Signed-off-by: Suganath Prabu &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Enable interrupt coalescing on high iops</title>
<updated>2019-06-18T23:46:26Z</updated>
<author>
<name>Suganath Prabu S</name>
<email>suganath-prabu.subramani@broadcom.com</email>
</author>
<published>2019-05-31T12:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=2426f20903ff4ee83cef585b2130ed45adc865d8'/>
<id>urn:sha1:2426f20903ff4ee83cef585b2130ed45adc865d8</id>
<content type='text'>
Enable interrupt coalescing only on high iops queues.

In ioc config page 1, offset 0x14 (ProductSpecific field) is used to
determine interrupt coalescing enabled/disabled on per reply descriptor
post queue group(8) basis.  If 31st bit is zero, then interrupt coalescing
is enabled for all reply descriptor post queues. If 31st bit is set to one,
then user can enable/disable interrupt coalescing on per reply descriptor
post queue group(8) basis. So to enable interrupt coalescing only on first
reply descriptor post queue group (i.e. on high iops queues), set bit 0 and
31.

This configuration should reset during driver unload or shutdown to the
default settings. For this, the driver takes copy of default ioc page 1 and
copies back the default or unmodified ioc page1 during unload and
shutdown. This means that on next driver load (e.g. if older version driver
is loaded by user), current modified changes on ioc page1 won't take
effect.

Signed-off-by: Suganath Prabu S &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Add support for NVMe Switch Adapter</title>
<updated>2019-02-05T03:52:21Z</updated>
<author>
<name>Suganath Prabu S</name>
<email>suganath-prabu.subramani@broadcom.com</email>
</author>
<published>2019-01-29T12:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8f8384503e40c65cfe36b82772c5b7a6403abc5b'/>
<id>urn:sha1:8f8384503e40c65cfe36b82772c5b7a6403abc5b</id>
<content type='text'>
Added device ID for NVMe Switch Adapter (Ambrosia).
VID: 0x1000
DID: 0x02B1

Signed-off-by: Suganath Prabu S &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Rename mpi endpoint device ID macro.</title>
<updated>2019-02-05T03:52:21Z</updated>
<author>
<name>Suganath Prabu S</name>
<email>suganath-prabu.subramani@broadcom.com</email>
</author>
<published>2019-01-29T12:14:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1244790d178bb09cfb59a70fa3d294d342631736'/>
<id>urn:sha1:1244790d178bb09cfb59a70fa3d294d342631736</id>
<content type='text'>
MPI Endpoint is a PCIe switch based on MPI2.

Renaming device ID macro from MPI2_MFGPAGE_DEVID_SAS2308_MPI_EP to
MPI2_MFGPAGE_DEVID_SWITCH_MPI_EP.

Signed-off-by: Suganath Prabu S &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Update MPI headers to support Aero controllers</title>
<updated>2018-11-07T01:16:01Z</updated>
<author>
<name>Suganath Prabu</name>
<email>suganath-prabu.subramani@broadcom.com</email>
</author>
<published>2018-10-25T14:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ff92b9dd9268507e23fc10cc4341626cef50367c'/>
<id>urn:sha1:ff92b9dd9268507e23fc10cc4341626cef50367c</id>
<content type='text'>
Updating MPI headers to the latest version 2.6.7 to add support to the
driver to detect the new 3816 and 3916 chip based controllers.  Separate
out firmware image data from mpi2_ioc.h to new file mpi2_image.h

Signed-off-by: Suganath Prabu &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: mpt3sas: Update MPI Headers</title>
<updated>2018-05-08T04:34:20Z</updated>
<author>
<name>Chaitra P B</name>
<email>chaitra.basappa@broadcom.com</email>
</author>
<published>2018-04-24T09:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=65928d1f4130a48732034c2f31b2b0790694537f'/>
<id>urn:sha1:65928d1f4130a48732034c2f31b2b0790694537f</id>
<content type='text'>
Update MPI Files to support protocol level reset for NVMe device.

Signed-off-by: Chaitra P B &lt;chaitra.basappa@broadcom.com&gt;
Signed-off-by: Suganath Prabu S &lt;suganath-prabu.subramani@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
</feed>
