Dave Stevenson
79fdb9e72b
usb: dwc_otg: Use dma allocation for mphi dummy_send buffer
...
The FIQ driver used a kzalloc'ed buffer for dummy_send,
passing a kernel virtual address to the hardware block.
The buffer is only ever used for a dummy read, so it
should be harmless, but there is the chance that it will
cause exceptions.
Use a dma allocation so that we have a genuine bus address,
and read from that.
Free the allocation when done for good measure.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org >
2019-04-02 12:56:13 +01:00
..
2019-04-02 12:55:01 +01:00
2019-04-02 12:56:13 +01:00
2018-07-13 15:41:56 +02:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-05-31 12:54:22 +02:00
2018-07-24 18:44:00 +02:00
2018-03-09 09:43:52 -08:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-06-25 21:44:43 +08:00
2018-06-25 21:44:43 +08:00
2018-05-04 14:35:12 -07:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-06-28 19:32:42 +09:00
2018-04-22 15:58:23 +02:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-03-09 09:43:53 -08:00
2017-11-07 15:45:02 +01:00
2017-11-04 11:48:02 +01:00
2018-07-20 12:50:37 +10:00
2018-02-15 18:45:34 +01:00
2018-07-13 15:41:56 +02:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-02-05 09:41:54 -08:00
2018-01-24 08:49:51 +01:00
2018-04-23 09:50:57 +02:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-05-31 12:54:22 +02:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-06-12 16:19:22 -07:00
2018-05-31 12:54:22 +02:00
2018-05-31 12:54:22 +02:00
2017-11-02 11:10:55 +01:00
2017-11-07 15:45:02 +01:00
2018-12-13 09:16:15 +01:00
2018-05-31 12:54:22 +02:00
2018-06-12 16:19:22 -07:00
2017-11-07 15:45:02 +01:00
2018-05-31 12:54:21 +02:00
2017-11-02 11:10:55 +01:00
2017-11-07 15:52:29 +01:00
2018-03-26 15:57:14 +02:00
2019-04-02 12:55:01 +01:00
2019-04-02 12:55:01 +01:00
2017-11-04 11:48:02 +01:00
2018-11-13 11:08:33 -08:00
2018-01-09 16:15:19 +01:00
2018-06-12 16:19:22 -07:00
2018-07-24 18:44:00 +02:00
2018-05-31 12:54:21 +02:00
2018-02-15 18:43:57 +01:00
2017-11-04 11:48:02 +01:00
2017-11-07 15:45:02 +01:00
2018-03-09 09:43:52 -08:00
2017-11-04 11:48:02 +01:00
2018-03-09 09:43:53 -08:00
2017-11-04 11:48:02 +01:00
2018-07-20 12:50:37 +10:00
2017-11-04 11:48:02 +01:00
2018-02-15 18:45:34 +01:00
2017-11-04 11:48:02 +01:00
2017-11-04 11:48:02 +01:00
2017-11-04 11:48:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2018-05-31 12:54:21 +02:00
2017-11-21 15:57:07 -08:00
2017-11-02 11:10:55 +01:00
2018-06-01 13:24:51 +02:00
2018-06-01 13:24:51 +02:00
2019-01-09 17:38:39 +01:00
2017-11-07 15:45:02 +01:00
2017-11-04 11:48:02 +01:00
2018-03-16 15:40:19 +01:00
2017-11-02 11:10:55 +01:00
2017-11-07 15:45:02 +01:00
2018-09-05 14:36:53 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-31 12:54:21 +02:00
2018-01-17 15:08:56 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-17 15:08:56 +01:00
2017-12-12 13:16:07 +01:00
2017-12-08 17:43:52 +01:00
2018-07-16 09:09:24 +02:00
2018-05-24 18:03:07 +02:00
2018-05-24 18:03:07 +02:00
2018-05-24 18:03:09 +02:00
2017-11-07 15:53:48 +01:00
2018-03-22 13:40:10 +01:00
2018-03-22 13:40:10 +01:00
2018-12-01 09:37:25 +01:00
2018-12-29 13:37:54 +01:00
2018-09-10 20:40:29 +02:00
2018-05-24 18:03:08 +02:00
2018-12-01 09:37:25 +01:00
2018-01-09 16:21:28 +01:00
2017-11-07 15:45:02 +01:00
2017-11-07 15:45:02 +01:00
2019-03-10 07:17:20 +01:00
2018-12-01 09:37:25 +01:00
2017-11-07 15:45:02 +01:00
2018-07-06 16:37:19 +02:00
2017-11-07 15:45:02 +01:00
2018-12-01 09:37:25 +01:00
2018-12-01 09:37:25 +01:00
2017-11-07 15:45:02 +01:00
2018-06-25 21:16:27 +08:00
2018-12-13 09:16:20 +01:00
2018-12-29 13:37:54 +01:00