Hi Michal, Testing is completed and below are the test cases coved on
the shared kernel:

- Driver load/unlaod
- virtual drive creation (R0, R1) and deletion
- JBOD creation and deletion
- IO run with different profiles (4k...1M) on VDs and JBODs,
- Controller reset while running IOs
- Event handling

One observation we are seeing below:

The stack trace is seen below while loading the driver which needs to be
resolved. I think this is related to the irq allocation and it ssems to
be coming from the kernel. It is non-functional issue. But needs to be
looked. Otherwise all other important test cases are passed.

[    1.110598] megaraid_sas 0000:07:00.0: BAR:0x0  BAR's 
base_addr(phys):0x0000383800000000  mapped virt_addr:0x00000000ef9d91eb
[    1.110616] megaraid_sas 0000:07:00.0: FW now in Ready state
[    1.110620] megaraid_sas 0000:07:00.0: 63 bit DMA mask and 63 bit consistent 
mask
[    1.110849] megaraid_sas 0000:07:00.0: firmware supports msix        : (128)
[    1.135718] megaraid_sas 0000:07:00.0: requested/available msix 18/18 
poll_queue 0
[    1.135769]  megasas_alloc_irq_vectors+0x215/0x220 [megaraid_sas]
[    1.135784]  megasas_init_fw+0x816/0x12f0 [megaraid_sas]
[    1.135797]  megasas_probe_one+0x196/0x5b0 [megaraid_sas]
[    1.135870]  megasas_init+0xd9/0xff0 [megaraid_sas]
[    1.135880]  ? __pfx_megasas_init+0x10/0x10 [megaraid_sas]
[    1.136099] megaraid_sas 0000:07:00.0: current msix/online cpus      : 
(18/10)
[    1.136102] megaraid_sas 0000:07:00.0: RDPQ mode     : (enabled)
[    1.136107] megaraid_sas 0000:07:00.0: Current firmware supports maximum 
commands: 9197       LDIO threshold: 0
[    1.151461] megaraid_sas 0000:07:00.0: Performance mode :Balanced (latency 
index = 8)
[    1.151470] megaraid_sas 0000:07:00.0: FW supports sync cache        : Yes
[    1.151476] megaraid_sas 0000:07:00.0: megasas_disable_intr_fusion is called 
outbound_intr_mask:0x40000009
[    1.235523] megaraid_sas 0000:07:00.0: FW supports atomic descriptor : Yes
[    1.277447] megaraid_sas 0000:07:00.0: FW provided supportMaxExtLDs: 1       
max_lds: 240
[    1.277453] megaraid_sas 0000:07:00.0: controller type       : MR(8192MB)
[    1.277458] megaraid_sas 0000:07:00.0: Online Controller Reset(OCR)  : 
Enabled
[    1.277464] megaraid_sas 0000:07:00.0: Secure JBOD support   : Yes
[    1.277469] megaraid_sas 0000:07:00.0: NVMe passthru support : Yes
[    1.277475] megaraid_sas 0000:07:00.0: FW provided TM TaskAbort/Reset 
timeout        : 6 secs/60 secs
[    1.277482] megaraid_sas 0000:07:00.0: JBOD sequence map support     : Yes
[    1.277487] megaraid_sas 0000:07:00.0: PCI Lane Margining support    : Yes
[    1.298706] megaraid_sas 0000:07:00.0: NVME page size        : (4096)
[    1.308938] megaraid_sas 0000:07:00.0: megasas_enable_intr_fusion is called 
outbound_intr_mask:0x40000000
[    1.308943] megaraid_sas 0000:07:00.0: INIT adapter done
[    1.309668] megaraid_sas 0000:07:00.0: Snap dump wait time   : 15
[    1.309672] megaraid_sas 0000:07:00.0: pci id                : 
(0x1000)/(0x10e2)/(0x1000)/(0x4020)
[    1.309675] megaraid_sas 0000:07:00.0: unevenspan support    : no
[    1.309678] megaraid_sas 0000:07:00.0: firmware crash dump   : no
[    1.309681] megaraid_sas 0000:07:00.0: JBOD sequence map     : enabled
[    1.309796] megaraid_sas 0000:07:00.0: Max firmware commands: 8172 shared 
with default hw_queues = 10 poll_queues 0
[    1.319585] megaraid_sas 0000:07:00.0: scanning for scsi0...

-- 
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/2107492

Title:
  [SRU][24.04.03]: megaraid_sas: Features and Bug Fixes

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Noble:
  Won't Fix
Status in linux source package in Oracular:
  Won't Fix
Status in linux source package in Plucky:
  In Progress

Bug description:
  [Impact]
  We can see that the megaraid_sas driver inbox version in the 24.04.02 point 
kernel is 07.727.03.00-rc1 which is old. We would request to include the 
following megaraid_sas driver patch set in the upcoming 24.04.03 point release 
(tentative release is on June-July).

  [Fix]
  megaraid_sas driver Upstream commits:

  1b4902f0a4f2 scsi: megaraid_sas: Driver version update to 07.734.00.00-rc1
  aad9945623ab scsi: megaraid_sas: Block zero-length ATA VPD inquiry
  b79e4a2d3e5f scsi: megaraid_sas: Make most module parameters static
  0ea163a18b17 scsi: usb: Rename the RESERVE and RELEASE constants
  bd326a5ad639 scsi: replace blk_mq_pci_map_queues with blk_mq_map_hw_queues
  c9a71ca13f71 scsi: Constify struct pci_device_id
  c17618cf664d scsi: Eliminate scsi_register() and scsi_unregister() usage & 
docs
  47c2e30afcec scsi: Rename .device_configure() into .sdev_configure()
  ed638918f4df scsi: Rename .slave_alloc() and .slave_destroy()
  50740f4dc78b scsi: megaraid_sas: Fix for a potential deadlock
  5f60d5f6bbc1 move asm/unaligned.h to linux/unaligned.h
  571d81b482f0 scsi: megaraid_sas: Remove trailing space after \n newline
  b97c0741c7dc scsi: Expand all create*_workqueue() invocations
  29b4a4975077 scsi: megaraid_sas: struct MR_HOST_DEVICE_LIST: Replace 
1-element array with flexible array
  ed8ab02c85b3 scsi: megaraid_sas: struct MR_LD_VF_MAP: Replace 1-element 
arrays with flexible arrays
  aa57abe6a7f9 megaraid_sas: don't set QUEUE_FLAG_NOMERGES
  529ed2d8b670 scsi: megaraid_sas: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
  b57089d32c2c scsi: megaraid_sas: Switch to using ->device_configure
  e75f7555e1e7 scsi: megaraid: Indent Kconfig option help text

  
  [Test Plan]

  [Where problems could occur]

  [Other Info]

  
https://code.launchpad.net/~mreed8855/ubuntu/+source/linux/+git/plucky/+ref/lp_2107492_megaraid_sas_update_3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2107492/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to