x86, mrst, pci: return 0 for non-present pci bars

Moorestown PCI code has special handling of devices with fixed BARs. In
case of BAR sizing writes, we need to update the fake PCI MMCFG space with real
size decode value.

When a BAR is not present, we need to return 0 instead of ~0. ~0 will be
treated as device error per bugzilla 12006.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
LKML-Reference: <1273873281-17489-2-git-send-email-jacob.jun.pan@linux.intel.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>

authored by Jacob Pan and committed by H. Peter Anvin e4af4268 2b107d93

+1 -1
+1 -1
arch/x86/pci/mrst.c
··· 109 109 decode++; 110 110 decode = ~(decode - 1); 111 111 } else { 112 - decode = ~0; 112 + decode = 0; 113 113 } 114 114 115 115 /*