RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1967502 - [aarch64] [qemu] Compile the PCIe expander bridge
Summary: [aarch64] [qemu] Compile the PCIe expander bridge
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: aarch64
OS: Linux
medium
medium
Target Milestone: beta
: 9.0 Beta
Assignee: Eric Auger
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1924294 1967187
TreeView+ depends on / blocked
 
Reported: 2021-06-03 09:17 UTC by Eric Auger
Modified: 2021-12-07 21:24 UTC (History)
10 users (show)

Fixed In Version: qemu-kvm-6.0.0-7.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:20:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/centos-stream/src qemu-kvm merge_requests 14 0 None None None 2021-06-24 12:06:50 UTC

Description Eric Auger 2021-06-03 09:17:51 UTC
On aarch64 we would like the pcie expander bridge to be enabled. So we need to set the CONFIG_PXB config in default-configs/devices/aarch64-rh-devices.mak.

Comment 1 Eric Auger 2021-06-15 12:29:41 UTC
qemu support was brought upstream by the following series:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg761016.html

This corresponds to the following downstream commits

fe1127da11  unit-test: Add the binary file and clear diff.h (6 months ago) <Yubo Miao>
1da638b165  unit-test: Add testcase for pxb (6 months ago) <Yubo Miao>
128e232281  unit-test: The files changed. (6 months ago) <Yubo Miao>
451b157041  acpi: Align the size to 128k (6 months ago) <Yubo Miao>
6f9765fbad  acpi/gpex: Build tables for pxb (6 months ago) <Yubo Miao>
37d5c0a8ff  acpi: Extract crs build form acpi_build.c (6 months ago) <Yubo Miao>
09fad16744  hw/arm/virt: Write extra pci roots into fw_cfg (6 months ago) <Jiahui Cen>
0abd38885a  fw_cfg: Refactor extra pci roots addition (6 months ago) <Jiahui Cen>
a0e2905b41  acpi/gpex: Extract two APIs from acpi_dsdt_add_pci (6 months ago) <Yubo Miao>

Comment 2 Eric Auger 2021-06-24 11:45:23 UTC
I tested at QEMU level with the following command add-on:

-device pxb-pcie,bus_nr=4,id=bridge,bus=pcie.0 -device pcie-root-port,bus=bridge,chassis=4,id=pcie.11,io-reserve=0 -device virtio-net-pci,bus=pcie.11,netdev=nic0,mac=6a:f5:10:b1:3d:d2 -netdev tap,id=nic0,script=/home/augere/TEST/SCRIPTS/qemu-ifup,downscript=/home/augere/TEST/SCRIPTS/qemu-ifdown

The NIC worked fine (rhel9 guest).

Comment 9 Eric Auger 2021-07-11 05:28:24 UTC
Hi Qunfang,

I tested the PCIe expander bridge with qemu-kvm-6.0.0-7.el9 at qemu level and it works for me. Please move the BZ to VERIFIED.

Thanks

Eric

Comment 10 Qunfang Zhang 2021-07-12 00:52:37 UTC
(In reply to Eric Auger from comment #9)
> Hi Qunfang,
> 
> I tested the PCIe expander bridge with qemu-kvm-6.0.0-7.el9 at qemu level
> and it works for me. Please move the BZ to VERIFIED.
> 
> Thanks
> 
> Eric

Thank you Eric!


Note You need to log in before you can comment on or make changes to this bug.