Ming Lei
65710cb6ea
firmware loader: simplify pages ownership transfer
...
This patch doesn't transfer ownership of pages' buffer to the
instance of firmware until the firmware loading is completed,
which will simplify firmware_loading_store a lot, so help
to introduce the following cache_firmware and uncache_firmware
mechanism during system suspend-resume cycle.
In fact, this patch fixes one bug: if writing data into
firmware loader device is bypassed between writting 1 and 0 to
'loading', OOPS will be triggered without the patch.
Also handle the vmap failure case, and add some comments to make
code more readable.
Signed-off-by: Ming Lei <ming.lei@canonical.com >
Cc: Linus Torvalds <torvalds@linux-foundation.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-08-16 13:13:18 -07:00
..
2012-03-08 10:50:35 -08:00
2012-07-30 11:54:53 -07:00
2012-07-27 15:14:26 -07:00
2012-08-02 11:50:24 -07:00
2012-08-16 13:13:18 -07:00
2012-07-27 11:15:03 -04:00
2012-08-01 09:06:47 -07:00
2012-07-17 14:49:24 -03:00
2012-07-31 19:07:42 -07:00
2012-07-30 17:25:13 -07:00
2012-07-23 16:31:31 -07:00
2012-07-16 23:23:52 -07:00
2012-07-30 09:45:53 -07:00
2012-07-26 14:28:55 -07:00
2012-07-31 19:07:42 -07:00
2011-10-31 19:31:43 -04:00
2012-05-23 14:07:06 -07:00
2012-08-02 11:45:42 -07:00
2012-07-29 21:11:05 -03:00
2012-08-16 10:42:11 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 12:41:17 -07:00
2012-07-30 10:06:23 -07:00
2012-07-31 18:47:44 -07:00
2012-08-13 18:43:21 -07:00
2012-07-30 10:10:26 -07:00
2012-07-31 19:07:42 -07:00
2012-07-26 14:28:55 -07:00
2012-07-12 07:54:45 -07:00
2012-07-15 17:33:17 +01:00
2012-07-30 07:47:27 -07:00
2012-07-31 19:07:42 -07:00
2012-07-24 16:24:11 -07:00
2012-07-29 23:18:30 -07:00
2012-07-27 08:16:07 +08:00
2012-08-02 11:34:40 -07:00
2012-07-31 18:47:44 -07:00
2012-05-14 12:52:52 -07:00
2012-07-30 17:25:17 -07:00
2012-07-31 19:07:42 -07:00
2012-07-30 17:25:34 -07:00
2012-08-01 16:41:07 -07:00
2012-08-01 16:41:07 -07:00
2012-08-02 11:52:39 -07:00
2012-07-24 14:07:22 -07:00
2012-07-24 16:17:07 -07:00
2012-07-24 16:17:07 -07:00
2012-07-27 15:14:26 -07:00
2012-07-24 14:05:46 -07:00
2012-07-31 23:27:31 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-07-26 07:45:20 +02:00
2012-07-31 00:51:09 +02:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-07-31 19:25:39 -07:00
2012-07-26 18:09:01 -07:00
2012-08-01 09:02:41 -07:00
2012-08-01 17:14:52 +09:00
2012-08-01 16:41:07 -07:00
2012-08-02 11:52:39 -07:00
2012-08-01 10:26:23 -07:00
2012-07-31 18:08:25 -07:00
2012-08-01 13:48:54 +09:00
2012-08-01 10:26:23 -07:00
2012-07-31 08:16:24 -06:00
2012-07-22 01:22:23 +03:00
2012-08-01 10:45:12 -07:00
2011-10-14 02:56:02 -05:00
2012-07-20 08:59:03 +01:00
2012-07-19 15:39:39 -07:00
2012-07-26 11:25:33 -07:00
2012-08-02 11:50:24 -07:00
2012-07-24 16:17:07 -07:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00