mmc: Drop "eMMC: Don't initialize partitions on RPMB flagged areas"
Upstream commit 4e93b9a6abc0 ("mmc: card: Don't access RPMB partitions for normal read/write") looks like a cleaner solution.
This commit is contained in:
parent
30da8b4d4f
commit
f0fc9d4c04
|
@ -21,6 +21,9 @@ linux (4.2.1-1) UNRELEASED; urgency=medium
|
|||
(CVE-2015-6937)
|
||||
* Set ABI to 1
|
||||
* e1000e: Fix tight loop implementation of systime read algorithm
|
||||
* mmc: Drop "eMMC: Don't initialize partitions on RPMB flagged areas", as
|
||||
upstream commit 4e93b9a6abc0 ("mmc: card: Don't access RPMB partitions for
|
||||
normal read/write") looks like a cleaner solution
|
||||
|
||||
[ Aurelien Jarno ]
|
||||
* [mips*el] Fix BPF assembly code for pre-R2 CPUs. (fixes FTBFS)
|
||||
|
|
|
@ -1,27 +0,0 @@
|
|||
From: Nell Hardcastle <nell@dev-nell.com>
|
||||
Date: Thu, 29 May 2014 22:06:50 -0700
|
||||
Subject: [PATCH] eMMC: Don't initialize partitions on RPMB flagged areas.
|
||||
Origin: https://dev-nell.com/rpmb-emmc-errors-under-linux.html
|
||||
Bug-Debian: https://bugs.debian.org/782038
|
||||
|
||||
Prevents a lot of pointless hanging at boot on some devices.
|
||||
---
|
||||
[bwh: An RPMB is unlikely to be useful on any platform supported by a Debian
|
||||
kernel, so I think it's best to hide them for now. Once we are confident
|
||||
that userland will ignore them or the kernel does a better job of avoiding
|
||||
hanging reads, we can drop this patch.]
|
||||
|
||||
drivers/mmc/card/block.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/drivers/mmc/card/block.c
|
||||
+++ b/drivers/mmc/card/block.c
|
||||
@@ -2258,7 +2258,7 @@ static int mmc_blk_alloc_parts(struct mm
|
||||
return 0;
|
||||
|
||||
for (idx = 0; idx < card->nr_parts; idx++) {
|
||||
- if (card->part[idx].size) {
|
||||
+ if (card->part[idx].size && !(card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB)) {
|
||||
ret = mmc_blk_alloc_part(card, md,
|
||||
card->part[idx].part_cfg,
|
||||
card->part[idx].size >> 9,
|
|
@ -68,7 +68,6 @@ bugfix/all/disable-some-marvell-phys.patch
|
|||
bugfix/all/aic94xx-remove-broken-fallback-for-missing-ctrl-a.patch
|
||||
bugfix/all/rtsx_usb_ms-use-msleep_interruptible-in-polling-loop.patch
|
||||
bugfix/all/net-mv643xx-disable-tso-by-default.patch
|
||||
debian/emmc-don-t-initialize-partitions-on-rpmb-flagged-areas.patch
|
||||
|
||||
# Reproducible docs
|
||||
bugfix/all/scripts-kernel-doc-parse-kernel-doc-deterministicall.patch
|
||||
|
|
Loading…
Reference in New Issue