Displaying 2 results from an estimated 2 matches for "pci_mmcfg_base_addr".
2005 Aug 31
0
[PATCH] Re: SMP dom0 with 8 cpus of i386
...kernels virtual address space, hence it is implemented using
a single fix-mapped page. This page is mapped to the desired physical
address for every PCI mmconfig access, as seen in the following code
from mmconfig.c .
static inline void pci_exp_set_dev_base(int bus, int devfn)
{
u32 dev_base = pci_mmcfg_base_addr | (bus << 20) | (devfn << 12);
if (dev_base != mmcfg_last_accessed_device) {
mmcfg_last_accessed_device = dev_base;
set_fixmap_nocache(FIX_PCIE_MCFG, dev_base);
}
}
static int pci_mmcfg_read(unsigned int seg, unsigned int bus,
unsigned int devfn, i...
2005 Sep 01
0
RE: [PATCH] Re: SMP dom0 with 8 cpus of i386
...nce it is implemented using a single fix-mapped
> page. This page is mapped to the desired physical address for
> every PCI mmconfig access, as seen in the following code from
> mmconfig.c .
>
> static inline void pci_exp_set_dev_base(int bus, int devfn) {
> u32 dev_base = pci_mmcfg_base_addr | (bus << 20) | (devfn << 12);
> if (dev_base != mmcfg_last_accessed_device) {
> mmcfg_last_accessed_device = dev_base;
> set_fixmap_nocache(FIX_PCIE_MCFG, dev_base);
> }
> }
>
> static int pci_mmcfg_read(unsigned int seg, unsigned int bus,...