[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-13 Thread Chandrakanth Patil
Yes, it's an Ubuntu VM running on a RHEL host. It shouldn't make a difference, 
right?
The same issue could occur on bare metal as well.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  7f9f953d537a scsi: mpi3mr: Schedule 

Re: [Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-13 Thread Jeff Lane 
Does that warning appear on bare metal running ubuntu, or on a ubuntu vm on
an ubuntu host?  This appears to be on an ubuntu VM running on a RHEL host?

Hardware name: Red Hat KVM/RHEL, BIOS 1.16.1-1.el9 04/01/2014


On Wed, Dec 13, 2023 at 1:25 PM Chandrakanth Patil <
2045...@bugs.launchpad.net> wrote:

> This warning will not appear in the 22.04.2 kernel. Maybe UBSAN enabled
> in this kernel leads to this warning.
>
> Note: This is just a warning and there is no functional impact.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2045233
>
> Title:
>   [Ubuntu 22.04.04]: mpi3mr driver update request
>
> Status in linux package in Ubuntu:
>   Confirmed
> Status in linux source package in Jammy:
>   Opinion
> Status in linux source package in Mantic:
>   Confirmed
> Status in linux source package in Noble:
>   Confirmed
>
> Bug description:
>   This BZ has been initiated to incorporate the mpi3mr driver from
> upstream into the upcoming Ubuntu
>   releases (Ubuntu 22.04.x point releases). Below are the commit IDs for
> the latest upstream version (v6.8).
>
>   The 22.04 LTS point kernel already includes the latest mpi3mr driver
>   version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
>   to the subsequent patches.
>
>   The commit IDs listed below are in sequential order from bottom to top,
> indicating the order
>   for applying the patches.
>
>   b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
>   1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
>   cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
>   c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from
> SAS4116
>   6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
>   82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
>   9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
>   d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after
> controller reset
>   e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
>   d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
>   6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
>   9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time
> out
>   f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
>   144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
>   2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in
> mpi3mr_expander_add()
>   2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect
> chain frame allocation
>   a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code
> (0xF002)
>   b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
>   1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
>   e74f2fbd8b06 scsi: mpi3mr: Update copyright year
>   80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
>   e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
>   f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when
> target is removed
>   22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
>   23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
>   3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
>   ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
>   c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
>   d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
>   d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in
> mpi3mr_remove()
>   7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
>   f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
>   8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
>   4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
>   ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware
> init path
>   0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller
> init
>   5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced
> logging is enabled
>   02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling
> interrupt
>   66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
>   e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
>   339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
>   eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to
> alltgt_info->dmi
>   fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
>   ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
>   f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
>   d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
>   7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
>   65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
>   

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-13 Thread Chandrakanth Patil
This warning will not appear in the 22.04.2 kernel. Maybe UBSAN enabled
in this kernel leads to this warning.

Note: This is just a warning and there is no functional impact.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-13 Thread Chandrakanth Patil
Hi Jeff,

I have covered the required testing and found no critical issues except
the below minor issues.

[Wed Dec 13 22:05:56 2023] memcpy: detected field-spanning write (size 128) of 
single field "bsg_reply_buf->reply_buf" at 
drivers/scsi/mpi3mr/mpi3mr_app.c:1658 (size 1)
[Wed Dec 13 22:05:56 2023] WARNING: CPU: 4 PID: 3587 at 
drivers/scsi/mpi3mr/mpi3mr_app.c:1658 mpi3mr_bsg_process_mpt_cmds+0x1302/0x14c0 
[mpi3mr]
[Wed Dec 13 22:05:56 2023] Modules linked in: mpi3mr tls intel_rapl_msr 
intel_rapl_common kvm_amd ccp kvm binfmt_misc irqbypass crct10dif_pclmul 
polyval_clmulni polyval_generic ghash_clmulni_intel aesni_intel crypto_simd 
cryptd nls_iso8859_1 input_leds serio_raw joydev bochs drm_vram_helper 
drm_ttm_helper ttm mac_hid drm_kms_helper qemu_fw_cfg sch_fq_codel msr 
parport_pc ppdev lp parport drm efi_pstore ip_tables x_tables autofs4 ses 
enclosure hid_generic usbhid hid crc32_pclmul i2c_i801 ahci psmouse i2c_smbus 
libahci lpc_ich scsi_transport_sas virtio_rng xhci_pci xhci_pci_renesas [last 
unloaded: mpi3mr]
[Wed Dec 13 22:05:56 2023] CPU: 4 PID: 3587 Comm: kworker/4:2H Tainted: G   
 W  OE  6.5.0-14-generic #14
[Wed Dec 13 22:05:56 2023] Hardware name: Red Hat KVM/RHEL, BIOS 1.16.1-1.el9 
04/01/2014
[Wed Dec 13 22:05:56 2023] Workqueue: kblockd blk_mq_run_work_fn
[Wed Dec 13 22:05:56 2023] RIP: 0010:mpi3mr_bsg_process_mpt_cmds+0x1302/0x14c0 
[mpi3mr]
[Wed Dec 13 22:05:56 2023] Code: b9 01 00 00 00 48 89 c6 4c 89 55 90 48 c7 c2 
58 2f 2a c0 48 c7 c7 a8 2f 2a c0 48 89 45 98 c6 05 4e a8 00 00 01 e8 8e d1 a6 
c6 <0f> 0b 4c 8b 55 90 48 8b 45 98 e9 3b ff ff ff 31 db e9 a4 fd ff ff
[Wed Dec 13 22:05:56 2023] RSP: 0018:acd300243c38 EFLAGS: 00010246
[Wed Dec 13 22:05:56 2023] RAX:  RBX: 9190d4fe7540 RCX: 

[Wed Dec 13 22:05:56 2023] RDX:  RSI:  RDI: 

[Wed Dec 13 22:05:56 2023] RBP: acd300243cf8 R08:  R09: 

[Wed Dec 13 22:05:56 2023] R10:  R11:  R12: 
9191c6ba9100
[Wed Dec 13 22:05:56 2023] R13: 9191c3fb8830 R14: 9190d4fe7000 R15: 

[Wed Dec 13 22:05:56 2023] FS:  () 
GS:91923bd0() knlGS:
[Wed Dec 13 22:05:56 2023] CS:  0010 DS:  ES:  CR0: 80050033
[Wed Dec 13 22:05:56 2023] CR2: 0213ecf8 CR3: 0a04a000 CR4: 
00350ee0
[Wed Dec 13 22:05:56 2023] Call Trace:
[Wed Dec 13 22:05:56 2023]  
[Wed Dec 13 22:05:56 2023]  ? show_regs+0x6d/0x80
[Wed Dec 13 22:05:56 2023]  ? __warn+0x89/0x160
[Wed Dec 13 22:05:56 2023]  ? mpi3mr_bsg_process_mpt_cmds+0x1302/0x14c0 [mpi3mr]
[Wed Dec 13 22:05:56 2023]  ? report_bug+0x17e/0x1b0
[Wed Dec 13 22:05:56 2023]  ? handle_bug+0x51/0xa0
[Wed Dec 13 22:05:56 2023]  ? exc_invalid_op+0x18/0x80
[Wed Dec 13 22:05:56 2023]  ? asm_exc_invalid_op+0x1b/0x20
[Wed Dec 13 22:05:56 2023]  ? mpi3mr_bsg_process_mpt_cmds+0x1302/0x14c0 [mpi3mr]
[Wed Dec 13 22:05:56 2023]  ? mpi3mr_bsg_process_mpt_cmds+0x1302/0x14c0 [mpi3mr]
[Wed Dec 13 22:05:56 2023]  mpi3mr_bsg_request+0x23/0x70 [mpi3mr]
[Wed Dec 13 22:05:56 2023]  bsg_queue_rq+0xac/0x100
[Wed Dec 13 22:05:56 2023]  blk_mq_dispatch_rq_list+0x153/0x550
[Wed Dec 13 22:05:56 2023]  __blk_mq_sched_dispatch_requests+0xa4/0x190
[Wed Dec 13 22:05:56 2023]  ? finish_task_switch.isra.0+0x89/0x2b0
[Wed Dec 13 22:05:56 2023]  blk_mq_sched_dispatch_requests+0x37/0x80
[Wed Dec 13 22:05:56 2023]  blk_mq_run_work_fn+0x3f/0x90
[Wed Dec 13 22:05:56 2023]  process_one_work+0x223/0x440
[Wed Dec 13 22:05:56 2023]  worker_thread+0x4d/0x3f0
[Wed Dec 13 22:05:56 2023]  ? srso_untrain_ret+0x2/0x2
[Wed Dec 13 22:05:56 2023]  ? __pfx_worker_thread+0x10/0x10
[Wed Dec 13 22:05:56 2023]  kthread+0xf2/0x120
[Wed Dec 13 22:05:56 2023]  ? __pfx_kthread+0x10/0x10
[Wed Dec 13 22:05:56 2023]  ret_from_fork+0x47/0x70
[Wed Dec 13 22:05:56 2023]  ? __pfx_kthread+0x10/0x10
[Wed Dec 13 22:05:56 2023]  ret_from_fork_asm+0x1b/0x30
[Wed Dec 13 22:05:56 2023]  
[Wed Dec 13 22:05:56 2023] ---[ end trace  ]---


- The above warning will appear only once after the driver load and it will not 
appear for subsequent 
  management commands
- The rep_buf is a flexible array which can grow in run time and whose memory 
is already allocated and 
  it will never grow beyond the allocated memory.
- This is a false positive (maybe UBSAN is responsible for throwing this 
warning)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-12 Thread Chandrakanth Patil
Hi Jeff,

I will install it quickly and cover the required dev testing. I will
update the test here ASAP.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  7f9f953d537a scsi: mpi3mr: Schedule IRQ kthreads only on non-RT 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-12 Thread Jeff Lane 
Hi Chandrakanth,

Can you install and test this test kernel onto a 22.04.3 deployment?

THere's a tarball you can find here:

https://people.canonical.com/~kamal/for-jeffl/

that has all the test packages for you. YOu probably don't need all of
them, at a minimum:

linux-image-unsigned
linux-modules
linux-modules-extra

Possibly linux-headers too.

Please let me know ASAP, that shoudl include all the requested commits.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-11 Thread Chandrakanth Patil
Hi Jeff,

Please include the below critical defects if enhancement is not
possible:

07ac6adda4d3 scsi: mpi3mr: Fetch correct device dev handle for status reply 
descriptor
f8fb3f39148e scsi: mpi3mr: Block PEL Enable Command on Controller Reset and 
Unrecoverable State
c01d515687e3 scsi: mpi3mr: Clean up block devices post controller reset
e5aab848dfdf scsi: mpi3mr: Refresh sdev queue depth after controller reset

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-11 Thread Jeff Lane 
The cutoff is January 3 for patch submission.  And We are closed for the
holidays after this friday.  I do not nkow that these are going to make
22.04.4 initially.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-11 Thread Chandrakanth Patil
Thank you, Jeff. We have a few more critical bug fixes patches and one
feature update. And below are the commit IDs:

d0a60e3edaa4 scsi: mpi3mr: Update driver version to 8.5.1.0.0
9536af615dc9 scsi: mpi3mr: Support for preallocation of SGL BSG data buffers 
part-3
fb231d7deffb scsi: mpi3mr: Support for preallocation of SGL BSG data buffers 
part-2
c432e1675239 scsi: mpi3mr: Support for preallocation of SGL BSG data buffers 
part-1
07ac6adda4d3 scsi: mpi3mr: Fetch correct device dev handle for status reply 
descriptor
f8fb3f39148e scsi: mpi3mr: Block PEL Enable Command on Controller Reset and 
Unrecoverable State
c01d515687e3 scsi: mpi3mr: Clean up block devices post controller reset
e5aab848dfdf scsi: mpi3mr: Refresh sdev queue depth after controller reset

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-01 Thread Jeff Lane 
I ran a quick check.  Everything up to these exists already in our 6.5
kernel.

9134211f7bed missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2~5
6f81b1cfdf33 missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2~4
d9adb81e67e9 missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2~3
e7a8648e1ce2 missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2~2
d9a5ab0ea98f missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2~1
9a9068b2afa0 missing in Ubuntu, possibly upstream at v6.6-rc1~11^2~45^2
82b2fb52d6ec does not appear in Ubuntu. Best guess on first appearance 
upstream: v6.7-rc1
6fa21eab82be does not appear in either ubuntu or the upstream kernel.
c9260ff28ee5 does not appear in either ubuntu or the upstream kernel.
cb5b60894602 does not appear in either ubuntu or the upstream kernel.
1193a89d2b6d does not appear in either ubuntu or the upstream kernel.
b4d94164ff32 does not appear in either ubuntu or the upstream kernel.

Those last five are not in any tree I checked (mainline, linux-next).

I'd rather not pull any of these until they've landed at least in linux-
next.  Otherwise,

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-12-01 Thread Jeff Lane 
** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Mantic)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Noble)
 Assignee: (unassigned) => Jeff Lane  (bladernr)

** Changed in: linux (Ubuntu Mantic)
 Assignee: (unassigned) => Jeff Lane  (bladernr)

** Changed in: linux (Ubuntu Noble)
   Status: New => Confirmed

** Changed in: linux (Ubuntu Mantic)
   Status: New => Confirmed

** Changed in: linux (Ubuntu Jammy)
   Status: New => Opinion

** Changed in: linux (Ubuntu Jammy)
   Importance: Undecided => Wishlist

** Changed in: linux (Ubuntu Mantic)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Noble)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Jammy:
  Opinion
Status in linux source package in Mantic:
  Confirmed
Status in linux source package in Noble:
  Confirmed

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-11-30 Thread Sumit Saxena
** Description changed:

  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
- releases (24.04 LTS and 22.04.x point releases). Below are the commit IDs for 
the latest upstream version (v6.8).
+ releases (Ubuntu 22.04.x point releases). Below are the commit IDs for the 
latest upstream version (v6.8).
  
  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond to
  the subsequent patches.
  
  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.
  
  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  7f9f953d537a scsi: mpi3mr: Schedule IRQ kthreads only on non-RT kernels
  47cd930ee6ae scsi: mpi3mr: Support new power management framework
  ee6f2d6bb2a0 scsi: mpi3mr: Update mpi3 header files
  5ba207e55e7f scsi: mpi3mr: Fix error code in mpi3mr_transport_smp_handler()
  a113c02f5738 scsi: mpi3mr: Fix error codes in mpi3mr_report_manufacture()
  7f90bc70d1a6 scsi: mpi3mr: Block I/Os while refreshing target dev objects
  2745ce0e6d30 scsi: mpi3mr: Refresh SAS ports 

[Kernel-packages] [Bug 2045233] Re: [Ubuntu 22.04.04]: mpi3mr driver update request

2023-11-30 Thread Sumit Saxena
** Summary changed:

- mpi3mr driver update request
+ [Ubuntu 22.04.04]: mpi3mr driver update request

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2045233

Title:
  [Ubuntu 22.04.04]: mpi3mr driver update request

Status in linux package in Ubuntu:
  New

Bug description:
  This BZ has been initiated to incorporate the mpi3mr driver from upstream 
into the upcoming Ubuntu
  releases (24.04 LTS and 22.04.x point releases). Below are the commit IDs for 
the latest upstream version (v6.8).

  The 22.04 LTS point kernel already includes the latest mpi3mr driver
  version 8.0.0.69.0. Therefore, the listed commit IDs below correspond
  to the subsequent patches.

  The commit IDs listed below are in sequential order from bottom to top, 
indicating the order
  for applying the patches.

  b4d94164ff32 scsi: mpi3mr: driver version upgrade to 8.5.0.0.50
  1193a89d2b6d scsi: mpi3mr: Add support for status reply descriptor
  cb5b60894602 scsi: mpi3mr: Increase maximum number of PHYs to 64 from 32
  c9260ff28ee5 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
  6fa21eab82be scsi: mpi3mr: Add support for SAS5116 PCI IDs
  82b2fb52d6ec scsi: mpi3mr: Split off bus_reset function from host_reset
  9a9068b2afa0 scsi: mpi3mr: Update driver version to 8.5.0.0.0
  d9a5ab0ea98f scsi: mpi3mr: Enhance handling of devices removed after 
controller reset
  e7a8648e1ce2 scsi: mpi3mr: WRITE SAME implementation
  d9adb81e67e9 scsi: mpi3mr: Add support for more than 1MB I/O
  6f81b1cfdf33 scsi: mpi3mr: Update MPI Headers to version 3.00.28
  9134211f7bed scsi: mpi3mr: Invoke soft reset upon TSU or event ack time out
  f762326b2baa scsi: mpi3mr: Propagate sense data for admin queue SCSI I/O
  144679dfb584 scsi: mpi3mr: Fix the type used for pointers to bitmap
  2a954832015d scsi: mpi3mr: Use -ENOMEM instead of -1 in mpi3mr_expander_add()
  2acc635a0e5e scsi: mpi3mr: Use IRQ save variants of spinlock to protect chain 
frame allocation
  a3d27dfdcfc2 scsi: mpi3mr: Handle soft reset in progress fault code (0xF002)
  b85f82f3c92a scsi: mpi3mr: Declare SCSI host template const
  1ea41edd88f2 scsi: mpi3mr: Update driver version to 8.4.1.0.0
  e74f2fbd8b06 scsi: mpi3mr: Update copyright year
  80b8fd0231d5 scsi: mpi3mr: Fix W=1 compilation warnings
  e5f596bc2592 scsi: mpi3mr: Update MPI Headers to revision 27
  f1dec6b1e25e scsi: mpi3mr: Avoid escalating to higher level reset when target 
is removed
  22beef38e52c scsi: mpi3mr: Modify MUR timeout value to 120 seconds
  23b3d1cf1572 scsi: mpi3mr: Fix admin queue memory leak upon soft reset
  3f1254ed01d0 scsi: mpi3mr: Successive VD delete and add causes FW fault
  ce756daa36e1 scsi: mpi3mr: Fix expander node leak in mpi3mr_remove()
  c798304470ca scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc()
  d4caa1a4255c scsi: mpi3mr: Fix sas_hba.phy memory leak in mpi3mr_remove()
  d0f3c3728da8 scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove()
  7d2b02172b6a scsi: mpi3mr: Fix config page DMA memory leak
  f305a7b6ca21 scsi: mpi3mr: Fix throttle_groups memory leak
  8e45183978d6 scsi: mpi3mr: Bad drive in topology results kernel crash
  4f297e856a7b scsi: mpi3mr: NVMe command size greater than 8K fails
  ba8a9ba41fbd scsi: mpi3mr: Return proper values for failures in firmware init 
path
  0a319f162949 scsi: mpi3mr: Wait for diagnostic save during controller init
  5b06a7169c59 scsi: mpi3mr: Driver unload crashes host when enhanced logging 
is enabled
  02ca7da2919a scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt
  66b381d874fa scsi: mpi3mr: Remove unneeded version.h include
  e39ea831ebad scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
  339e61565f81 scsi: mpi3mr: Use number of bits to manage bitmap sizes
  eeb270aee3e0 scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi
  fb428a2005fc scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()
  ae7d45f5283d scsi: mpi3mr: Fix an issue found by KASAN
  f0a43ba6c66c scsi: mpi3mr: Refer CONFIG_SCSI_MPI3MR in Makefile
  d347a951906b scsi: mpi3mr: Remove usage of dma_get_required_mask() API
  7d21fcfb4095 scsi: mpi3mr: Suppress command reply debug prints
  65244389b1b3 scsi: mpi3mr: Select CONFIG_SCSI_SAS_ATTRS
  c863a2dcb9b0 scsi: mpi3mr: Remove unnecessary cast
  f616efbee9d6 scsi: mpi3mr: Update driver version to 8.2.0.3.0
  2e31be8697b1 scsi: mpi3mr: Fix scheduling while atomic type bug
  f84e8b5bb57e scsi: mpi3mr: Scan the devices during resume time
  130fc180a481 scsi: mpi3mr: Free enclosure objects during driver unload
  bad2f28da625 scsi: mpi3mr: Handle 0xF003 Fault Code
  f2a79d2030ad scsi: mpi3mr: Graceful handling of surprise removal of PCIe HBA
  7f9f953d537a scsi: mpi3mr: Schedule IRQ kthreads only on non-RT kernels
  47cd930ee6ae scsi: mpi3mr: Support new power management framework
  ee6f2d6bb2a0 scsi: mpi3mr: Update mpi3 header files
  5ba207e55e7f scsi: mpi3mr: Fix