Displaying 2 results from an estimated 2 matches for "pci_config_lock".
2005 Aug 31
0
[PATCH] Re: SMP dom0 with 8 cpus of i386
...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) || (devfn > 255) || (reg > 4095))
return -EINVAL;
spin_lock_irqsave(&pci_config_lock, flags);
pci_exp_set_dev_base(bus, devfn);
switch (len) {
At the time of boot the PCI mmconfig space is accessed thousands
times, one after another; that causes fixed map & unmap continuously
very fast for a long time. Currently the fix-mapped virtual address for
Shared_info_page...
2005 Sep 01
0
RE: [PATCH] Re: SMP dom0 with 8 cpus of i386
..._mmcfg_read(unsigned int seg, unsigned int bus,
> unsigned int devfn, int reg, int len, u32 *value) {
> unsigned long flags;
>
> if (!value || (bus > 255) || (devfn > 255) || (reg > 4095))
> return -EINVAL;
>
> spin_lock_irqsave(&pci_config_lock, flags);
>
> pci_exp_set_dev_base(bus, devfn);
>
> switch (len) {
>
> At the time of boot the PCI mmconfig space is accessed
> thousands times, one after another; that causes fixed map &
> unmap continuously very fast for a long time. Currently the
>...