Found an smp affinity issue during DDA of mpt3sas controllers on Hyperv 2016
From: bk rakesh
Date: Fri Oct 13 2017 - 15:09:24 EST
Hi,
I had found an issue during assigning mpt3sas controllers as DDA on
fedora-25 VM with kernel(4.11.x/4.14.0-rc4+) on microsoft Hyperv 2016.
Below is the logs after insmod of mpt3sas and pci-hyperv on
upstream(4.14.0-rc4+) kernel,
# dmesg
[ 37.442924] hv_vmbus: registering driver hv_pci
[ 37.445729] hv_pci 84e4a645-c888-42bd-baed-0c318f405004: PCI VMBus
probing: Using version 0x10002
[ 37.491216] ACPI: \: failed to evaluate _DSM (0x1001)
[ 37.492419] hv_pci 84e4a645-c888-42bd-baed-0c318f405004: PCI host
bridge to bus 6a05:00
[ 37.493593] pci_bus 6a05:00: root bus resource [mem
0xfe0000000-0xfe004ffff window]
[ 37.498918] pci 6a05:00:00.0: [1000:0097] type 00 class 0x010700
[ 37.514280] pci 6a05:00:00.0: reg 0x14: [mem 0xfe0040000-0xfe004ffff 64bit]
[ 37.517963] pci 6a05:00:00.0: reg 0x1c: [mem 0xfe0000000-0xfe003ffff 64bit]
[ 37.539500] pci 6a05:00:00.0: supports D1 D2
[ 37.546826] pci 6a05:00:00.0: BAR 3: assigned [mem
0xfe0000000-0xfe003ffff 64bit]
[ 37.553840] pci 6a05:00:00.0: BAR 1: assigned [mem
0xfe0040000-0xfe004ffff 64bit]
[ 50.432349] hv_balloon: Max. dynamic memory size: 6144 MB
[ 63.544379] mpt3sas version 15.100.00.00 loaded
[ 63.547088] mpt3sas 6a05:00:00.0: can't derive routing for PCI INT A
[ 63.548274] mpt3sas 6a05:00:00.0: PCI INT A: no GSI
[ 63.551308] mpt3sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED,
total mem (6100208 kB)
[ 63.612608] mpt3sas_cm0: MSI-X vectors supported: 96, no of cores:
8, max_msix_vectors: -1
[ 63.618711] mpt3sas0-msix0: PCI-MSI-X enabled: IRQ 24
[ 63.619867] mpt3sas0-msix1: PCI-MSI-X enabled: IRQ 25
[ 63.620912] mpt3sas0-msix2: PCI-MSI-X enabled: IRQ 26
[ 63.621971] mpt3sas0-msix3: PCI-MSI-X enabled: IRQ 27
[ 63.623033] mpt3sas0-msix4: PCI-MSI-X enabled: IRQ 28
[ 63.624468] mpt3sas0-msix5: PCI-MSI-X enabled: IRQ 29
[ 63.625660] mpt3sas0-msix6: PCI-MSI-X enabled: IRQ 30
[ 63.626844] mpt3sas0-msix7: PCI-MSI-X enabled: IRQ 31
[ 63.627876] mpt3sas_cm0: iomem(0x0000000fe0040000),
mapped(0xffffa48881870000), size(65536)
[ 63.628838] mpt3sas_cm0: ioport(0x0000000000000000), size(0)
[ 63.769014] mpt3sas_cm0: Allocated physical memory: size(17854 kB)
[ 63.770292] mpt3sas_cm0: Current Controller Queue Depth(11196),Max
Controller Queue Depth(11264)
[ 63.771380] mpt3sas_cm0: Scatter Gather Elements per IO(128)
[ 63.817884] mpt3sas_cm0: LSISAS3008: FWVersion(12.00.02.00),
ChipRevision(0x02), BiosVersion(08.29.02.00)
[ 63.818869] mpt3sas_cm0: Protocol=(
[ 63.818869] Initiator
[ 63.819836] ,Target
[ 63.820883] ),
[ 63.821907] Capabilities=(
[ 63.823080] TLR
[ 63.824033] ,EEDP
[ 63.824884] ,Snapshot Buffer
[ 63.825765] ,Diag Trace Buffer
[ 63.826568] ,Task Set Full
[ 63.827485] ,NCQ
[ 63.828251] )
[ 63.829822] scsi host1: Fusion MPT SAS Host
[ 63.831036] mpt3sas_cm0: sending port enable !!
[ 63.832098] do_IRQ: 6.178 No irq handler for vector
[ 63.832144] do_IRQ: 1.98 No irq handler for vector
Thanks,
Rakesh