Skip to contentSkip to conversation

New: 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".

Bug 83381 [email protected] 1 participant 11 messages Aug 28, 2014 – Sep 5, 2014 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=83381

            Bug ID: 83381
           Summary: 4-ports 82576 detect 2 ports when add "intel_iommu=on
                    pci=assign-busses".
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.17.0-rc1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):linux
kvm.git Commit:54ad89b05ec49b90790de814647b244d3d2cc5ca qemu.git Commit:c47c61be8dcd91689c8fc77776db924d684c3b39 Host Kernel Version:3.17.0-rc1 Hardware:HSW-Desktop

Bug detailed description:
--------------------------
the 4-ports 82576 can detect 2 ports when add "intel_iommu=on pci=assign-busses" in kernel of grub.
the 4-ports 82576 can detect 4 ports without "intel_iommu=on pci=assign-busses" when add "intel_iommu=on", 4-ports 82576 detected 4 ports.
when add "pci=assign-busses" ,the 4-ports 82576 can detect 2 ports.

note:
kernel version: 3.0.0+ (kvm+qemu-kvm:e72ef590_fda19064)
1.the 4-ports 82576 can detect 4 ports when add "intel_iommu=on pci=assign-busses".
2. when add "intel_iommu=on" or "pci=assign-busses" to boot the system, 4-ports 82576 detected 4 ports

Reproduce steps:
----------------
1. add "intel_iommu=on pci=assign-busses" in kernel of grub
2. boot up the system
3. lspci | grep Eth

Current result:
----------------
4-ports 82576 detect 2 ports

Expected result:
----------------
4-ports 82576 detect 4 ports

Basic root-causing log:
----------------------

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#7 lore raw

[Bug 83381] 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=83381

Wanpeng Li <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #7 from Wanpeng Li <[email protected]> --- Hi Chao,

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#8 lore raw

[Bug 83381] 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=83381

Wanpeng Li <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Wanpeng Li <[email protected]> --- Cc Alex Williamson <[email protected]>

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#9 lore raw

[Bug 83381] 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=83381

--- Comment #9 from Alex Williamson <[email protected]> --- Is this a regression?

Has it ever worked?

Why is this filed against kvm since it appears to have no relation to qemu or kvm?

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#10 lore raw

[Bug 83381] 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=83381

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #10 from [email protected] ---
I greped its history, it was found on 3.9 kernel and was cerntain it was fine in 3.0. I think it shall be a regression.
As for the component it's related to, I agree we can change its component to kernle or else, other than KVM.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.