OSDN Git Service

hw/cxl/component: Implement host bridge MMIO (8.2.5, table 142)
authorBen Widawsky <ben.widawsky@intel.com>
Fri, 29 Apr 2022 14:40:48 +0000 (15:40 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 13 May 2022 10:13:36 +0000 (06:13 -0400)
commit6e4e3ae936e6bc1501fc0d67444738cec7a1e78a
treea0380b1a23b364b50d9b7a0c49ef8e2f6d4f9a39
parent92fd46b68a0ca2f37d46fd69616034b2703966b2
hw/cxl/component: Implement host bridge MMIO (8.2.5, table 142)

CXL host bridges themselves may have MMIO. Since host bridges don't have
a BAR they are treated as special for MMIO.  This patch includes
i386/pc support.
Also hook up the device reset now that we have have the MMIO
space in which the results are visible.

Note that we duplicate the PCI express case for the aml_build but
the implementations will diverge when the CXL specific _OSC is
introduced.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Co-developed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220429144110.25167-24-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/i386/pc.c
hw/pci-bridge/pci_expander_bridge.c
include/hw/cxl/cxl.h