Bjorn Helgaas
d739a099d0
PCI: Don't add disabled subtractive decode bus resources
...
For a subtractive decode bridge, we previously added and printed all
resources of the primary bus, even if they were not valid. In the example
below, the bridge 00:1c.3 has no windows enabled, so there are no valid
resources on bus 02. But since 02:00.0 is subtractive decode bridge, we
add and print all those invalid resources, which don't really make sense:
pci 0000:00:1c.3: PCI bridge to [bus 02-03]
pci 0000:02:00.0: PCI bridge to [bus 03] (subtractive decode)
pci 0000:02:00.0: bridge window [??? 0x00000000 flags 0x0] (subtractive decode)
Add and print the subtractively-decoded resources only if they are valid.
There's an example in the dmesg log attached to the bugzilla below (but
this patch doesn't fix the bug reported there).
Link: https://bugzilla.kernel.org/show_bug.cgi?id=73141
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
2014-05-23 10:47:20 -06:00
..
2014-04-08 21:34:51 +02:00
2014-04-05 15:37:40 -07:00
2014-04-02 16:23:38 -07:00
2014-03-25 21:06:02 -04:00
2014-04-11 13:25:08 -07:00
2014-03-27 14:20:04 -04:00
2014-04-12 14:49:50 -07:00
2014-04-02 20:53:45 -07:00
2014-04-05 15:37:40 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 10:24:18 -07:00
2014-04-07 14:55:46 -07:00
2014-04-02 20:53:45 -07:00
2014-04-08 13:28:02 +02:00
2014-04-08 13:27:40 +02:00
2014-04-03 09:28:16 -07:00
2014-03-21 11:16:30 +09:00
2014-04-10 08:55:08 -07:00
2014-04-04 09:50:07 -07:00
2014-03-19 14:41:58 +09:00
2014-03-08 11:51:13 -08:00
2014-04-11 11:58:33 -07:00
2014-03-02 19:53:09 -08:00
2014-04-07 10:24:18 -07:00
2014-04-08 09:52:16 -07:00
2014-04-04 09:50:07 -07:00
2014-04-01 16:13:21 -07:00
2014-04-09 08:35:31 -07:00
2014-04-09 08:45:40 -07:00
2014-04-08 13:27:40 +02:00
2014-04-07 10:24:18 -07:00
2014-04-12 16:51:08 -07:00
2014-04-05 18:32:31 -07:00
2014-04-05 18:46:26 -07:00
2014-04-05 15:37:40 -07:00
2014-04-08 12:41:13 -04:00
2014-04-10 09:06:10 -07:00
2014-04-07 16:35:52 -07:00
2014-03-07 15:54:48 +11:00
2014-03-09 10:22:46 -07:00
2014-04-11 17:20:38 -07:00
2014-04-08 11:01:12 -03:00
2014-02-28 16:47:21 -08:00
2014-04-01 15:14:04 -07:00
2014-04-09 08:39:39 -07:00
2014-04-07 16:36:09 -07:00
2014-04-09 08:39:39 -07:00
2014-04-07 10:17:30 -07:00
2014-04-12 17:31:22 -07:00
2014-03-11 00:47:09 +01:00
2014-04-07 10:59:20 -07:00
2014-04-07 10:17:30 -07:00
2014-03-20 13:43:46 +01:00
2014-02-28 16:22:42 -08:00
2014-05-23 10:47:20 -06:00
2014-04-01 15:14:04 -07:00
2014-04-05 15:37:40 -07:00
2014-04-03 16:44:15 -07:00
2014-04-10 12:11:56 -04:00
2014-04-02 14:10:21 -07:00
2014-03-17 11:14:34 +01:00
2014-04-07 14:55:46 -07:00
2014-03-07 10:24:48 -05:00
2014-04-01 16:43:18 -04:00
2014-04-05 18:32:31 -07:00
2014-04-07 16:36:07 -07:00
2014-04-11 13:30:05 -07:00
2014-02-24 11:16:16 +02:00
2014-03-27 01:28:19 +01:00
2014-04-05 15:37:40 -07:00
2014-04-08 12:02:28 -07:00
2014-02-20 13:34:11 -05:00
2014-04-12 18:02:16 -07:00
2014-04-05 15:38:41 -07:00
2014-04-11 13:35:49 -07:00
2014-03-08 22:15:52 -08:00
2014-04-12 17:31:22 -07:00
2014-04-12 17:31:22 -07:00
2014-04-10 09:15:46 -07:00
2014-04-12 12:38:53 -07:00
2014-04-12 16:51:08 -07:00
2014-04-03 14:05:02 -07:00
2014-04-12 16:51:08 -07:00
2014-04-10 08:52:35 -07:00
2014-03-13 11:27:57 +10:30
2014-02-18 08:09:40 -08:00
2014-02-28 15:27:09 -08:00
2014-04-07 14:55:46 -07:00
2014-04-07 17:50:18 -07:00
2014-02-28 15:36:37 -08:00
2014-02-28 15:36:37 -08:00