Bjorn Helgaas
45d004f4af
PCI: Update BARs using property bits appropriate for type
...
The BAR property bits (0-3 for memory BARs, 0-1 for I/O BARs) are supposed
to be read-only, but we do save them in res->flags and include them when
updating the BAR.
Mask the I/O property bits with ~PCI_BASE_ADDRESS_IO_MASK (0x3) instead of
PCI_REGION_FLAG_MASK (0xf) to make it obvious that we can't corrupt bits
2-3 of I/O addresses.
Use PCI_ROM_ADDRESS_MASK for ROM BARs. This means we'll only check the top
21 bits (instead of the 28 bits we used to check) of a ROM BAR to see if
the update was successful.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
2016-11-29 08:14:47 -06:00
..
2016-10-14 12:50:05 -07:00
2016-09-30 10:28:51 +02:00
2016-10-06 17:03:41 +02:00
2016-10-07 18:46:28 -07:00
2016-10-11 15:06:33 -07:00
2016-10-07 09:46:56 +02:00
2016-10-07 21:23:40 -07:00
2016-10-15 10:03:15 -07:00
2016-10-07 21:34:49 -07:00
2016-10-07 21:23:40 -07:00
2016-10-14 12:46:13 -07:00
2016-10-15 09:26:12 -07:00
2016-10-10 14:04:16 -07:00
2016-10-07 16:46:30 -07:00
2016-10-11 00:01:20 +02:00
2016-10-06 17:13:54 -07:00
2016-10-11 18:12:22 -07:00
2016-10-04 12:06:26 -07:00
2016-10-07 21:23:40 -07:00
2016-10-11 23:17:08 +02:00
2016-10-11 18:12:22 -07:00
2016-10-07 11:58:38 -07:00
2016-09-27 12:35:49 +02:00
2016-10-04 10:56:14 -07:00
2016-10-11 23:37:26 +02:00
2016-10-07 18:46:30 -07:00
2016-10-05 14:50:51 -07:00
2016-10-14 13:43:08 -07:00
2016-10-14 13:19:30 -07:00
2016-10-11 12:52:41 -07:00
2016-10-15 09:26:12 -07:00
2016-10-07 14:42:05 -07:00
2016-10-06 17:36:53 -07:00
2016-09-27 12:33:47 +02:00
2016-10-11 15:06:33 -07:00
2016-10-14 15:17:12 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-10-10 20:16:43 -07:00
2016-10-03 20:17:35 -07:00
2016-10-11 17:34:10 -07:00
2016-11-17 17:11:17 -06:00
2016-10-07 16:46:30 -07:00
2016-10-11 15:06:32 -07:00
2016-10-07 21:23:40 -07:00
2016-10-15 09:26:12 -07:00
2016-10-10 20:16:43 -07:00
2016-11-29 08:14:47 -06:00
2016-09-22 09:39:16 +01:00
2016-10-07 21:23:40 -07:00
2016-10-07 21:23:40 -07:00
2016-10-13 16:52:39 -07:00
2016-10-06 18:21:15 -07:00
2016-10-11 15:06:32 -07:00
2016-10-13 10:20:06 -04:00
2016-10-11 15:06:32 -07:00
2016-10-12 11:05:23 -07:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-10-07 09:28:53 -07:00
2016-10-14 11:37:50 -07:00
2016-10-14 11:07:42 -07:00
2016-10-11 15:06:33 -07:00
2016-09-27 12:43:34 +02:00
2016-10-11 17:34:10 -07:00
2016-10-12 11:05:23 -07:00
2016-10-11 15:06:33 -07:00
2016-10-15 09:26:12 -07:00
2016-09-29 13:36:38 -06:00
2016-10-15 09:26:12 -07:00
2016-09-27 12:43:35 +02:00
2016-10-13 16:44:20 -07:00
2016-10-06 11:19:10 -07:00
2016-09-23 13:00:04 +02:00