aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/x86.c
diff options
context:
space:
mode:
authorFrancisco Iglesias <frasse.iglesias@gmail.com>2022-04-12 00:18:35 +0200
committerMichael S. Tsirkin <mst@redhat.com>2022-05-16 16:15:40 -0400
commit8e58f6ec24f64b7d88f2b01d39049011f5097fae (patch)
tree01a75c118270b5944ed60f28927898f51f1bc025 /hw/i386/x86.c
parent76b1b64370007234279ea4cc8b09c98cbd2523de (diff)
include/hw/pci/pcie_host: Correct PCIE_MMCFG_BUS_MASK
According to [1] address bits 27 - 20 are mapped to the bus number (the TLPs bus number field is 8 bits). Below is the formula taken from Table 7-1 in [1]. " Memory Address | PCI Express Configuration Space A[(20+n-1):20] | Bus Number, 1 ≤ n ≤ 8 " [1] PCI Express® Base Specification Revision 5.0 Version 1.0 Signed-off-by: Francisco Iglesias <frasse.iglesias@gmail.com> Message-Id: <20220411221836.17699-2-frasse.iglesias@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/x86.c')
0 files changed, 0 insertions, 0 deletions