John Garry
f009c89df7
io: Provide _inX() and _outX()
...
Since commit a7851aa54c ("io: change outX() to have their own IO barrier
overrides") and commit 87fe2d543f ("io: change inX() to have their own
IO barrier overrides"), the outX and inX functions have memory barriers
which can be overridden.
However, the generic logic_pio lib has continued to use readl/writel et al
for IO port accesses, which has weaker barriers on arm64.
Provide generic _inX() and _outX(), which can be used by logic pio.
For consistency, we check for !defined({in,out}X) && !defined(_{in,out}X),
for defining _{in,out}X, while a check for just !defined({in,out}X) should
suffice.
Reviewed-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: John Garry <john.garry@huawei.com >
Signed-off-by: Wei Xu <xuwei5@hisilicon.com >
2020-05-07 14:54:18 +08:00
..
2019-12-06 13:36:31 -08:00
2020-02-17 20:12:17 +01:00
2019-12-01 06:29:19 -08:00
2015-06-23 13:35:49 +09:00
2017-11-02 11:10:55 +01:00
2019-06-03 12:32:56 +02:00
2019-02-13 08:07:31 +01:00
2019-02-13 08:07:31 +01:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2018-01-30 19:07:54 -08:00
2017-11-02 11:10:55 +01:00
2007-05-11 05:38:25 -04:00
2017-11-15 13:28:48 -08:00
2019-05-24 17:27:11 +02:00
2020-03-06 11:06:19 +01:00
2017-11-02 11:10:55 +01:00
2019-09-25 17:51:41 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-12-30 11:18:43 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-29 15:42:20 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2019-09-17 14:30:30 -07:00
2017-11-02 11:10:55 +01:00
2018-12-13 21:06:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-07 13:52:43 +01:00
2019-05-24 17:27:11 +02:00
2019-12-16 10:35:33 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-14 15:05:45 -08:00
2019-06-24 09:16:47 +10:00
2019-06-19 17:09:55 +02:00
2020-03-27 23:58:55 -04:00
2019-08-03 07:02:01 -07:00
2020-02-10 12:58:36 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 09:47:47 -07:00
2009-06-11 21:02:42 +02:00
2017-11-02 11:10:55 +01:00
2018-06-07 17:34:38 -07:00
2020-05-07 14:54:18 +08:00
2017-11-02 11:10:55 +01:00
2020-01-06 09:45:59 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-02 09:35:25 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-06 18:40:44 +01:00
2009-06-11 21:02:37 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2014-02-09 21:18:52 +01:00
2017-11-02 11:10:55 +01:00
2020-01-23 10:41:16 -08:00
2015-07-17 16:39:53 -07:00
2019-04-08 11:59:39 +01:00
2019-04-08 11:59:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-11-21 20:10:45 -05:00
2017-11-02 11:10:55 +01:00
2019-02-22 21:53:25 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-09 23:19:56 +01:00
2018-05-07 07:15:41 +02:00
2020-01-31 11:15:59 -08:00
2019-09-26 10:10:44 -07:00
2020-04-07 10:43:39 -07:00
2018-12-05 09:03:06 +01:00
2019-12-01 06:29:19 -08:00
2019-12-01 06:29:19 -08:00
2019-12-01 06:29:19 -08:00
2020-04-07 10:43:39 -07:00
2019-07-31 19:03:34 +02:00
2018-02-06 10:28:58 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-04-29 10:47:10 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2009-06-11 21:02:37 +02:00
2019-05-24 17:27:11 +02:00
2019-05-30 11:29:21 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-04-07 10:43:37 -07:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:05 -08:00
2017-11-02 11:10:55 +01:00
2019-04-23 21:51:41 +02:00
2017-11-02 11:10:55 +01:00
2011-03-01 15:49:39 +01:00
2017-11-02 11:10:55 +01:00
2020-03-31 17:29:33 -07:00
2013-09-30 14:31:02 -07:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:13 +02:00