Stefano Stabellini
e058632670
xen/arm,arm64: fix xen_dma_ops after 815dd18 "Consolidate get_dma_ops..."
...
The following commit:
commit 815dd18788fe0d41899f51b91d0560279cf16b0d
Author: Bart Van Assche <bart.vanassche@sandisk.com>
Date: Fri Jan 20 13:04:04 2017 -0800
treewide: Consolidate get_dma_ops() implementations
rearranges get_dma_ops in a way that xen_dma_ops are not returned when
running on Xen anymore, dev->dma_ops is returned instead (see
arch/arm/include/asm/dma-mapping.h:get_arch_dma_ops and
include/linux/dma-mapping.h:get_dma_ops).
Fix the problem by storing dev->dma_ops in dev_archdata, and setting
dev->dma_ops to xen_dma_ops. This way, xen_dma_ops is returned naturally
by get_dma_ops. The Xen code can retrieve the original dev->dma_ops from
dev_archdata when needed. It also allows us to remove __generic_dma_ops
from common headers.
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Tested-by: Julien Grall <julien.grall@arm.com>
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: <stable@vger.kernel.org> [4.11+]
CC: linux@armlinux.org.uk
CC: catalin.marinas@arm.com
CC: will.deacon@arm.com
CC: boris.ostrovsky@oracle.com
CC: jgross@suse.com
CC: Julien Grall <julien.grall@arm.com>
2017-05-02 11:14:42 +02:00
..
2016-12-02 11:49:55 -08:00
2015-03-25 11:49:30 +00:00
2016-12-22 14:34:24 +01:00
2016-11-05 20:59:06 +00:00
2016-11-29 09:14:48 +00:00
2017-04-07 11:22:10 +01:00
2015-03-27 13:44:35 +00:00
2016-12-26 13:05:17 -05:00
2017-02-22 10:46:44 -08:00
locking/atomic, arch/arm64: Implement atomic{,64}_fetch_{add,sub,and,andnot,or,xor}{,_relaxed,_acquire,_release}()
2016-06-16 10:48:21 +02:00
2016-09-09 18:12:34 +01:00
2016-06-16 10:48:32 +02:00
2016-09-09 18:12:28 +01:00
2014-04-18 11:40:33 +02:00
2014-12-22 16:47:32 +00:00
2016-02-18 18:16:53 +00:00
2016-02-23 17:43:25 +00:00
2017-03-30 09:37:20 +02:00
2015-10-28 19:09:17 +00:00
2016-11-23 18:05:52 +00:00
2015-10-28 18:32:12 +00:00
2016-06-21 15:09:11 +01:00
2016-09-23 17:19:25 +01:00
2016-09-09 18:12:34 +01:00
2017-03-02 08:42:36 +01:00
2012-09-17 13:42:21 +01:00
2015-05-19 16:09:29 +01:00
2016-07-12 16:09:37 +01:00
2017-04-07 11:22:08 +01:00
2017-03-10 17:45:16 +00:00
2015-06-19 14:46:39 +01:00
2017-04-07 11:22:08 +01:00
2017-03-30 19:15:37 +01:00
2016-09-09 11:41:13 +01:00
2016-11-07 18:15:21 +00:00
2017-05-02 11:14:42 +02:00
2017-05-02 11:14:42 +02:00
2014-11-05 09:03:25 +01:00
2017-04-05 12:27:24 +02:00
2016-11-07 18:15:21 +00:00
2017-04-07 11:22:08 +01:00
2016-03-25 16:37:42 -07:00
2016-10-20 09:50:54 +01:00
2017-03-28 18:23:23 -04:00
2012-09-17 13:42:04 +01:00
2016-02-26 15:22:53 +00:00
2014-05-08 11:31:57 +02:00
2015-01-29 17:24:39 +00:00
2016-03-04 18:19:17 +00:00
2016-11-21 17:33:47 +00:00
2016-02-16 15:12:32 +00:00
2015-12-21 17:26:00 +00:00
2016-11-18 17:26:14 +00:00
2015-10-21 15:35:58 +01:00
2013-06-07 10:39:45 +00:00
2017-01-10 17:11:23 +00:00
2016-11-01 09:43:26 -06:00
2015-07-27 11:08:40 +01:00
2015-12-21 17:26:01 +00:00
2016-07-19 16:59:40 +01:00
2015-08-03 11:34:15 +02:00
2016-02-18 18:16:44 +00:00
2017-02-01 09:14:07 +01:00
2016-11-21 18:48:53 +00:00
2016-06-27 16:31:25 +01:00
2016-06-16 19:20:51 +01:00
2017-02-27 18:43:45 -08:00
2017-02-02 18:33:01 +00:00
2016-11-04 17:56:28 +00:00
2014-07-11 04:57:44 -07:00
2016-10-21 17:25:47 +01:00
2017-03-09 09:13:50 +00:00
2016-09-08 12:53:00 +02:00
2016-05-20 15:39:42 +02:00
2017-02-22 18:22:53 -08:00
2014-04-30 04:18:57 -07:00
2012-10-20 11:12:01 +01:00
2017-02-06 19:00:23 +00:00
2012-09-17 13:41:56 +01:00
2017-02-22 10:46:44 -08:00
2017-03-02 08:42:37 +01:00
2016-11-07 18:15:21 +00:00
2016-04-15 18:06:09 +01:00
2016-10-17 12:42:16 +01:00
2016-11-16 18:05:10 +00:00
2016-12-15 11:32:32 +01:00
2016-06-03 10:57:18 +01:00
2015-12-21 14:40:54 +00:00
2016-03-07 10:40:02 -06:00
2016-11-11 18:25:43 +00:00
2016-12-13 16:39:21 -08:00
2016-06-24 17:23:52 -07:00
2016-09-09 11:43:50 +01:00
2016-08-25 18:00:29 +01:00
2017-03-09 11:48:47 -08:00
2017-01-31 16:44:07 +00:00
2016-12-05 10:42:34 +00:00
2015-05-19 15:27:42 +01:00
2017-01-10 12:38:06 +00:00
2016-11-07 18:15:04 +00:00
2017-02-15 12:20:29 +00:00
2014-11-28 10:24:59 +00:00
2016-08-25 18:00:30 +01:00
2015-12-02 14:00:10 +00:00
2014-08-06 12:56:16 +02:00
2015-07-29 18:32:09 +01:00
2016-12-02 10:50:57 +00:00
2014-08-19 20:23:02 +01:00
2015-07-27 11:09:34 +01:00
2016-10-03 08:58:35 -07:00
2016-11-11 18:25:43 +00:00
2014-07-09 12:23:48 +01:00
2015-12-21 17:26:02 +00:00
2016-04-21 14:58:21 +02:00
2016-04-21 14:58:21 +02:00
2016-04-21 14:58:21 +02:00
2012-10-11 11:05:13 +01:00
2015-10-12 17:46:36 +01:00
2016-11-11 18:25:44 +00:00
2013-06-07 10:39:45 +00:00
2014-07-10 11:06:00 +01:00
2017-01-12 12:31:09 +00:00
2016-08-31 13:45:46 +01:00
2016-11-21 18:48:53 +00:00
2013-06-10 17:58:20 +01:00
2015-10-07 11:56:21 +01:00
2017-02-01 15:41:50 +00:00
2016-04-15 18:06:09 +01:00
2016-08-25 18:00:29 +01:00
2017-03-28 18:23:24 -04:00
2017-03-21 18:10:40 +00:00
2017-03-21 18:10:40 +00:00
2016-11-07 18:15:21 +00:00
2016-07-12 16:06:32 +01:00
2012-09-17 13:42:09 +01:00
2017-01-13 11:19:25 +00:00
2016-12-24 11:46:01 -08:00