search for: mmcfg_last_accessed_device

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

2005 Aug 31
0
[PATCH] Re: SMP dom0 with 8 cpus of i386
...ge. 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, int reg, int len, u32 *value) { unsigned long flags; if (!value || (bus > 255)...
2005 Sep 01
0
RE: [PATCH] Re: SMP dom0 with 8 cpus of i386
...esired 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, int reg, int len, u32 *value) { > unsigned long f...