Booting takes very long time on Intel Braswell caused by eMMC
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HWE Next |
Fix Released
|
High
|
Adam Lee | ||
linux (Ubuntu) |
Fix Released
|
High
|
Adam Lee | ||
Trusty |
Fix Released
|
High
|
Adam Lee | ||
Utopic |
Fix Released
|
High
|
Adam Lee | ||
Vivid |
Fix Released
|
High
|
Adam Lee | ||
Wily |
Fix Released
|
High
|
Adam Lee |
Bug Description
This patch could fix this issue, otherwise booting will take very long time.
4e93b9a6abc0d02
mmc: card: Don't access RPMB partitions for normal read/write
During kernel boot, it will try to read some logical sectors
of each block device node for the possible partition table.
But since RPMB partition is special and can not be accessed
by normal eMMC read / write CMDs, it will cause below error
messages during kernel boot:
...
mmc0: Got data interrupt 0x00000002 even though no data operation was in progress.
mmcblk0rpmb: error -110 transferring data, sector 0, nr 32, cmd response 0x900, card status 0xb00
mmcblk0rpmb: retrying using single block read
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
mmcblk0rpmb: timed out sending r/w cmd command, card status 0x400900
end_request: I/O error, dev mmcblk0rpmb, sector 0
Buffer I/O error on device mmcblk0rpmb, logical block 0
end_request: I/O error, dev mmcblk0rpmb, sector 8
Buffer I/O error on device mmcblk0rpmb, logical block 1
end_request: I/O error, dev mmcblk0rpmb, sector 16
Buffer I/O error on device mmcblk0rpmb, logical block 2
end_request: I/O error, dev mmcblk0rpmb, sector 24
Buffer I/O error on device mmcblk0rpmb, logical block 3
...
This patch will discard the access request in eMMC queue if
it is RPMB partition access request. By this way, it avoids
trigger above error messages.
Fixes: 090d25fe224c ("mmc: core: Expose access to RPMB partition")
Signed-off-by: Yunpeng Gao <email address hidden>
Signed-off-by: Chuanxiao Dong <email address hidden>
Tested-by: Michael Shigorin <email address hidden>
Signed-off-by: Ulf Hansson <email address hidden>
Changed in linux (Ubuntu): | |
importance: | Medium → High |
Changed in hwe-next: | |
importance: | Undecided → High |
assignee: | nobody → Adam Lee (adam8157) |
Changed in hwe-next: | |
status: | New → In Progress |
no longer affects: | linux (Ubuntu Wily) |
no longer affects: | linux (Ubuntu Vivid) |
Changed in linux (Ubuntu Utopic): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu Trusty): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu Utopic): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Trusty): | |
importance: | Undecided → High |
assignee: | nobody → Adam Lee (adam8157) |
Changed in linux (Ubuntu Utopic): | |
assignee: | nobody → Adam Lee (adam8157) |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Utopic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Vivid): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Vivid): | |
importance: | Undecided → High |
assignee: | nobody → Adam Lee (adam8157) |
tags: | added: verification-done-trusty |
Changed in hwe-next: | |
status: | In Progress → Fix Released |
it needs lots of other commits too, makes no sense to backport them all, especially we don't have plan to support braswell in trusty 3.13