Tomasz Nowicki
feb199ebef
PCI: thunder-pem: Fix legacy firmware PEM-specific resources
...
SZ_16M PEM resource size includes PEM-specific register and its children
resources. Reservation of the whole SZ_16M range leads to child device
driver failure when pcieport driver is requesting resources:
pcieport 0004:1f:00.0: can't enable device: BAR 0 [mem 0x87e0c0f00000-0x87e0c0ffffff 64bit] not claimed
So we cannot reserve full 16M here and instead we want to reserve
PEM-specific register only which is SZ_64K.
At the end increase PEM resource to SZ_16M since this is what
thunder_pem_init() call expects for proper initialization.
Fixes: 9abb27c759 ("PCI: thunder-pem: Add legacy firmware support for Cavium ThunderX host controller")
Signed-off-by: Tomasz Nowicki <tn@semihalf.com >
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com >
CC: stable@vger.kernel.org # v4.10+
2017-04-03 15:10:21 -05:00
..
2017-03-03 16:48:48 -08:00
2017-03-02 08:42:29 +01:00
2017-03-03 21:36:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 11:38:56 -08:00
2017-03-03 21:36:56 -08:00
2017-02-19 00:26:37 +01:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-03-03 10:16:38 -08:00
2017-03-03 16:15:48 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 10:16:38 -08:00
2017-03-04 10:42:53 -08:00
2017-03-02 08:42:40 +01:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-02-20 12:47:44 -08:00
2017-02-27 18:43:46 -08:00
2017-02-28 20:29:41 -08:00
2017-03-02 08:42:27 +01:00
2017-02-23 08:46:04 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-02-27 18:43:47 -08:00
2017-02-24 17:46:54 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 17:41:27 -08:00
2017-03-04 11:26:18 -08:00
2017-03-02 08:42:40 +01:00
2017-03-01 10:01:56 -08:00
2017-03-02 08:42:28 +01:00
2017-02-20 16:42:43 -08:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:37 +01:00
2017-02-23 15:57:04 -08:00
2017-02-17 14:08:19 -07:00
2017-02-21 11:51:42 -08:00
2017-02-22 12:14:01 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 11:38:56 -08:00
2017-03-04 17:31:39 -08:00
2017-02-27 18:43:47 -08:00
2017-03-01 00:49:42 -08:00
2017-03-03 10:53:35 -08:00
2017-02-22 19:23:14 -08:00
2017-03-02 08:42:40 +01:00
2017-03-03 16:20:06 -08:00
2017-03-02 08:42:32 +01:00
2017-04-03 15:10:21 -05:00
2017-03-02 08:42:27 +01:00
2017-02-23 11:53:22 -08:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:27 +01:00
2017-02-27 18:43:47 -08:00
2017-03-02 08:42:29 +01:00
2017-02-22 18:22:53 -08:00
2017-03-01 09:46:02 -08:00
2017-02-27 18:43:45 -08:00
2017-02-20 17:23:57 -08:00
2017-03-02 13:53:13 -08:00
2017-02-23 15:57:04 -08:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 21:36:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:27 +01:00
2017-03-04 11:26:18 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 01:45:16 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-01 06:15:10 -08:00
2017-03-02 08:42:31 +01:00
2017-02-23 11:53:22 -08:00