diff options
author | Jacob Pan <[email protected]> | 2010-05-14 14:41:14 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2010-05-16 22:45:36 -0700 |
commit | e4af4268a34d8cd28c46a03161fc017cbd2db887 (patch) | |
tree | cc07341098ee5e12b235da9af44b9d793ac01c06 /tools/perf/util/trace-event-scripting.c | |
parent | 2b107d93635616db0c3f893c8cc2e6d5cd8d77b2 (diff) |
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 <[email protected]>
LKML-Reference: <[email protected]>
Acked-by: Jesse Barnes <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions