John Baldwin
5569a8b8df
Revision 233677 broke certain machines. Specifically, if the firmware/BIOS
...
assigned conflicting ranges to BARs then leaving the BARs alone could
result in one device stealing mmio accesses intended to go to a second
device. Prior to 233677 the PCI bus driver attempted to handle this case
by clearing the BAR to 0 depending on BARs based at 0 not decoding (which
is not guaranteed to be true). Now when a conflicting BAR is detected the
following steps are taken:
1) If hw.pci.realloc_bars (a new tunable) is enabled (default is enabled),
then ignore the current BAR setting from the firmware and attempt to
allocate a fresh resource range for the BAR.
2) If 1) failed (or was disabled), disable decoding for the relevant
BAR type (e.g. disable mem decoding for a memory BAR) and emit a
warning if booting verbose.
Tested by: Alex Keda <admin@lissyara.su>
MFC after: 1 week
2013-05-09 19:24:50 +00:00
..
2013-04-14 09:55:48 +00:00
2013-05-08 12:53:21 +00:00
2013-04-22 15:51:06 +00:00
2013-01-30 18:01:20 +00:00
2013-02-12 16:57:20 +00:00
2013-02-05 00:37:45 +00:00
2013-03-09 02:32:23 +00:00
2013-02-12 16:57:20 +00:00
2013-02-12 16:57:20 +00:00
2013-05-02 16:09:06 +00:00
2013-02-12 16:57:20 +00:00
2013-04-17 02:33:56 +00:00
2012-12-04 09:32:43 +00:00
2012-12-17 06:01:57 +00:00
2013-04-30 18:29:05 +00:00
2013-01-30 18:01:20 +00:00
2013-01-30 18:01:20 +00:00
2013-02-12 16:57:20 +00:00
2012-12-04 09:32:43 +00:00
2013-04-14 09:55:48 +00:00
2013-04-14 14:02:34 +00:00
2013-05-09 15:57:55 +00:00
2013-03-18 23:31:22 +00:00
2013-01-30 18:01:20 +00:00
2013-03-01 22:05:20 +00:00
2012-12-04 09:32:43 +00:00
2013-04-02 00:57:54 +00:00
2013-04-30 05:08:17 +00:00
2012-12-04 09:32:43 +00:00
2013-02-12 16:57:20 +00:00
2012-12-04 09:32:43 +00:00
2013-05-06 21:57:44 +00:00
2013-02-07 15:20:54 +00:00
2013-04-28 07:00:36 +00:00
2013-04-17 11:42:40 +00:00
2013-01-30 18:01:20 +00:00
2013-05-06 13:34:36 +00:00
2013-04-30 18:48:11 +00:00
2013-04-28 20:46:32 +00:00
2012-12-04 09:32:43 +00:00
2013-02-18 22:47:16 +00:00
2013-01-30 18:01:20 +00:00
2013-02-26 18:30:47 +00:00
2012-12-04 09:32:43 +00:00
2013-01-30 18:01:20 +00:00
2013-01-30 18:01:20 +00:00
2013-04-17 11:40:10 +00:00
2013-05-03 20:09:17 +00:00
2012-12-04 09:32:43 +00:00
2013-02-19 18:22:25 +00:00
2012-12-04 09:32:43 +00:00
2013-01-30 18:01:20 +00:00
2013-04-10 23:20:09 +00:00
2013-04-23 18:30:33 +00:00
2013-04-08 08:37:57 +00:00
2013-05-09 17:07:30 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-01-30 18:01:20 +00:00
2012-12-04 09:32:43 +00:00
2013-05-08 20:58:41 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-03-27 18:06:28 +00:00
2013-01-30 18:01:20 +00:00
2013-03-19 14:15:41 +00:00
2012-12-04 09:32:43 +00:00
2013-04-14 09:55:48 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-11-23 19:20:38 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-14 09:55:48 +00:00
2013-04-30 23:36:48 +00:00
2013-04-24 19:00:45 +00:00
2013-04-28 20:55:45 +00:00
2013-05-02 14:55:21 +00:00
2013-03-01 01:42:31 +00:00
2013-01-02 22:01:26 +00:00
2013-03-09 15:04:44 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-26 12:50:32 +00:00
2013-02-12 16:57:20 +00:00
2013-03-25 14:30:34 +00:00
2013-04-17 21:21:27 +00:00
2012-12-04 09:32:43 +00:00
2013-04-17 11:47:32 +00:00
2013-04-14 09:55:48 +00:00
2013-01-13 16:57:11 +00:00
2013-04-14 09:55:48 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-05-02 01:36:52 +00:00
2013-04-30 16:18:29 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-02-19 19:25:50 +00:00
2012-12-04 09:32:43 +00:00
2013-04-26 12:50:32 +00:00
2012-12-04 09:32:43 +00:00
2013-02-21 02:34:04 +00:00
2013-04-02 19:39:31 +00:00
2013-04-14 09:55:48 +00:00
2012-12-04 09:32:43 +00:00
2013-03-20 05:31:34 +00:00
2013-04-14 09:55:48 +00:00
2013-04-27 23:07:49 +00:00
2013-01-30 18:01:20 +00:00
2013-05-03 10:37:59 +00:00
2013-04-24 19:00:45 +00:00
2013-04-17 11:40:10 +00:00
2013-04-18 12:43:06 +00:00
2012-12-04 09:32:43 +00:00
2013-04-17 11:47:32 +00:00
2013-01-30 18:01:20 +00:00
2013-01-27 00:16:36 +00:00
2013-05-02 16:01:04 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-29 22:48:53 +00:00
2013-04-01 16:23:34 +00:00
2012-12-04 09:32:43 +00:00
2013-04-12 17:56:47 +00:00
2013-01-30 18:01:20 +00:00
2013-01-30 18:01:20 +00:00
2013-03-08 18:08:12 +00:00
2012-12-04 09:32:43 +00:00
2013-05-09 19:24:50 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-26 12:50:32 +00:00
2013-02-21 12:40:52 +00:00
2013-03-18 19:22:51 +00:00
2013-05-08 18:25:46 +00:00
2012-12-04 09:32:43 +00:00
2013-04-19 00:30:52 +00:00
2013-04-30 16:18:29 +00:00
2013-04-17 11:40:10 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-27 22:38:29 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-02-21 07:19:50 +00:00
2013-04-18 12:43:06 +00:00
2013-03-18 04:46:17 +00:00
2012-12-04 09:32:43 +00:00
2012-12-13 03:33:01 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-05-05 19:09:34 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-02-25 14:06:24 +00:00
2013-03-04 14:00:58 +00:00
2013-01-13 16:57:11 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-02-12 16:57:20 +00:00
2012-12-04 09:32:43 +00:00
2013-04-14 09:55:48 +00:00
2013-04-14 09:55:48 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-04-27 23:07:49 +00:00
2012-12-04 09:32:43 +00:00
2013-05-03 13:33:36 +00:00
2012-12-04 09:32:43 +00:00
2013-04-14 09:55:48 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2013-01-30 18:01:20 +00:00
2013-01-30 18:01:20 +00:00
2013-02-27 19:03:31 +00:00
2012-12-04 09:32:43 +00:00
2013-01-11 10:22:09 +00:00
2013-02-12 16:57:20 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-04 09:32:43 +00:00
2012-12-18 16:15:20 +00:00
2012-12-04 09:32:43 +00:00
2013-04-17 11:56:11 +00:00
2012-12-04 09:32:43 +00:00