Pali Rohár
657177ad8e
pci: pci_mvebu: Fix read_config() with PCI_SIZE_8 or PCI_SIZE_16
...
When reading 8 or 16 bits from config space, use appropriate readb() or
readw() calls. This ensures that PCIe controller does not read more bits
from endpoint card as asked by read_config() function.
Technically there should not be an issue with reading data from config
space which are not later used as there are no clear-by-read registers.
But it is better to use correct read operation based on requested size.
Signed-off-by: Pali Rohár <pali@kernel.org >
Reviewed-by: Marek Behún <marek.behun@nic.cz >
Reviewed-by: Stefan Roese <sr@denx.de >
2021-11-03 06:45:26 +01:00
..
2021-07-06 10:38:03 -06:00
2021-09-16 11:46:44 -04:00
2021-09-30 08:08:56 -04:00
2021-08-05 19:46:35 -04:00
2021-08-31 17:47:49 -04:00
2021-08-22 11:04:52 +02:00
2021-03-22 19:23:27 +13:00
2021-07-06 10:38:03 -06:00
2021-10-20 10:59:09 +08:00
2021-10-25 14:54:06 +01:00
2021-10-31 08:46:44 -04:00
2021-09-25 09:46:15 -06:00
2021-09-30 09:08:16 -04:00
2021-09-30 09:08:16 -04:00
2021-10-05 08:50:15 -04:00
2021-10-26 15:26:45 -04:00
2021-09-27 21:38:34 -04:00
2021-10-12 16:48:38 -04:00
2021-09-30 09:08:16 -04:00
2021-09-30 08:08:56 -04:00
2021-10-31 11:25:39 -04:00
2021-07-06 10:38:03 -06:00
2021-10-21 07:52:15 -04:00
2021-08-30 14:13:28 -04:00
2021-10-31 08:46:44 -04:00
2021-07-06 10:38:03 -06:00
2021-07-06 10:38:03 -06:00
2021-09-27 21:38:34 -04:00
2021-10-20 14:24:09 -04:00
2021-10-29 18:22:32 +09:00
2021-10-23 10:49:28 -04:00
2021-07-06 10:38:03 -06:00
2021-10-20 10:59:09 +08:00
2021-10-12 16:49:21 -04:00
2021-09-25 09:46:15 -06:00
2021-11-03 06:45:26 +01:00
2021-07-06 10:38:03 -06:00
2021-10-25 14:49:28 +01:00
2021-10-31 11:25:39 -04:00
2021-10-25 14:51:03 +01:00
2021-10-12 15:18:39 +03:00
2021-09-28 18:50:56 +03:00
2021-10-20 10:59:09 +08:00
2021-10-05 08:50:15 -04:00
2021-10-05 08:50:15 -04:00
2021-10-11 10:46:44 +01:00
2021-08-31 17:47:49 -04:00
2021-10-20 14:24:09 -04:00
2021-09-04 12:26:02 -04:00
2021-10-31 11:25:39 -04:00
2021-07-06 10:38:03 -06:00
2021-08-26 08:08:11 +02:00
2021-07-06 10:38:03 -06:00
2021-10-23 10:49:28 -04:00
2021-10-31 08:46:44 -04:00
2021-07-20 23:33:54 +02:00
2021-10-07 16:08:23 +08:00
2021-07-23 07:13:25 -04:00
2021-09-30 09:08:16 -04:00
2021-10-12 12:01:00 -04:00
2021-09-25 09:46:15 -06:00
2021-07-06 10:38:03 -06:00
2021-10-30 22:54:57 +02:00
2021-10-12 11:01:17 +01:00
2021-09-13 18:23:13 -04:00
2021-10-01 21:08:18 -04:00
2021-07-06 10:38:03 -06:00
2021-10-25 14:54:26 +01:00
2021-09-30 08:08:56 -04:00
2021-10-31 08:46:44 -04:00
2021-10-31 08:46:44 -04:00