Pali Rohár
45aefe3d22
ata: ahci: mvebu: Make SATA PHY optional for Armada 3720
...
Older ATF does not provide SMC call for SATA phy power on functionality and
therefore initialization of ahci_mvebu is failing when older version of ATF
is using. In this case phy_power_on() function returns -EOPNOTSUPP.
This patch adds a new hflag AHCI_HFLAG_IGN_NOTSUPP_POWER_ON which cause
that ahci_platform_enable_phys() would ignore -EOPNOTSUPP errors from
phy_power_on() call.
It fixes initialization of ahci_mvebu on Espressobin boards where is older
Marvell's Arm Trusted Firmware without SMC call for SATA phy power.
This is regression introduced in commit 8e18c8e58d ("arm64: dts: marvell:
armada-3720-espressobin: declare SATA PHY property") where SATA phy was
defined and therefore ahci_platform_enable_phys() on Espressobin started
failing.
Fixes: 8e18c8e58d ("arm64: dts: marvell: armada-3720-espressobin: declare SATA PHY property")
Signed-off-by: Pali Rohár <pali@kernel.org >
Tested-by: Tomasz Maciej Nowak <tmn505@gmail.com >
Cc: <stable@vger.kernel.org > # 5.1+: ea17a0f153 : phy: marvell: comphy: Convert internal SMCC firmware return codes to errno
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2020-10-09 12:47:56 -06:00
..
2020-01-22 10:32:51 -07:00
2020-08-23 17:36:59 -05:00
2019-05-30 11:29:52 -07:00
2019-05-24 17:27:12 +02:00
2019-05-24 17:27:12 +02:00
2020-04-07 14:49:45 -06:00
2019-05-30 11:26:41 -07:00
2020-10-09 12:47:56 -06:00
2019-05-24 17:27:12 +02:00
2020-10-02 14:53:37 -06:00
2019-06-19 17:09:07 +02:00
2019-06-19 17:09:55 +02:00
2019-07-05 10:17:18 -06:00
2019-10-25 14:26:41 -06:00
2019-05-21 11:28:45 +02:00
2020-10-02 14:51:52 -06:00
2020-10-09 12:47:56 -06:00
2019-11-06 20:34:25 -07:00
2020-06-14 01:57:21 +09:00
2020-10-09 12:47:56 -06:00
2019-11-01 08:50:51 -06:00
2019-05-21 10:50:45 +02:00
2020-09-04 13:19:19 -07:00
2020-08-23 17:36:59 -05:00
2020-03-26 10:28:19 -06:00
2020-04-07 14:45:15 -06:00
2020-03-26 10:28:20 -06:00
2020-09-04 13:19:19 -07:00
2020-03-26 10:28:17 -06:00
2019-05-21 11:28:46 +02:00
2020-03-12 07:38:47 -06:00
2017-11-02 11:10:55 +01:00
2019-07-29 16:00:14 -06:00
2020-03-26 10:28:20 -06:00
2020-03-26 10:28:19 -06:00
2019-05-21 10:50:45 +02:00
2018-01-11 17:23:23 -06:00
2019-05-21 10:50:45 +02:00
2020-01-29 21:13:25 -07:00
2019-11-08 07:26:31 -07:00
2019-05-21 10:50:45 +02:00
2020-08-23 17:36:59 -05:00
2018-03-01 13:59:03 -08:00
2019-08-23 06:58:50 -06:00
2020-10-02 17:51:30 -06:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-11-18 10:18:59 +01:00
2019-05-21 10:50:45 +02:00
2018-03-19 07:41:36 -07:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2018-08-24 13:20:33 -07:00
2019-05-21 10:50:45 +02:00
2018-02-18 05:26:07 -08:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 11:28:46 +02:00
2020-01-22 10:31:55 -07:00
2019-05-21 10:50:45 +02:00
2018-02-18 05:23:25 -08:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2020-01-06 09:45:59 +01:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2020-01-29 20:54:51 -07:00
2019-05-21 10:50:45 +02:00
2019-08-26 13:58:59 -06:00
2019-02-08 06:42:55 -07:00
2019-11-01 08:50:51 -06:00
2019-05-21 10:50:45 +02:00
2020-01-06 09:45:59 +01:00
2019-05-21 11:28:46 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:37:00 +02:00
2020-08-23 17:36:59 -05:00
2019-08-26 13:58:59 -06:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:45 +02:00
2019-06-05 17:37:06 +02:00
2019-05-21 10:50:45 +02:00
2019-11-01 08:50:51 -06:00
2019-05-30 11:26:32 -07:00
2019-12-25 17:08:33 -07:00
2019-05-21 10:50:45 +02:00
2017-11-02 11:10:55 +01:00
2020-10-02 14:53:11 -06:00
2020-04-23 09:59:30 -06:00
2020-08-23 17:36:59 -05:00
2019-12-25 17:08:33 -07:00
2020-08-23 17:36:59 -05:00
2019-05-21 11:28:46 +02:00
2019-11-01 08:50:51 -06:00
2020-06-04 21:14:50 -06:00
2019-11-01 08:50:51 -06:00
2019-11-01 08:50:51 -06:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2020-08-23 17:36:59 -05:00
2019-05-21 11:28:46 +02:00
2019-08-26 13:58:59 -06:00
2019-08-26 13:58:59 -06:00
2017-11-02 11:10:55 +01:00