search for: pci_exp_set_dev_base

Displaying 2 results from an estimated 2 matches for "pci_exp_set_dev_base".

2005 Aug 31
0
[PATCH] Re: SMP dom0 with 8 cpus of i386
...irtual address space. On i386 it will consume too much of the 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 i...
2005 Sep 01
0
RE: [PATCH] Re: SMP dom0 with 8 cpus of i386
...ill consume too much of the 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); > } > } > &...