Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-04-28 Thread Andrei Warkentin
On Thu, Apr 28, 2011 at 1:00 PM, Colin Cross wrote: > On Thu, Apr 28, 2011 at 3:33 AM, Linus Walleij > wrote: >> 2011/3/5 Linus Walleij : >> >>> This patch is a squash of patches from Gary King and Ulf >>> Hansson done in Android trees, hopefully fixing the issue properly. >>> >>> The csd sector

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-04-28 Thread Colin Cross
On Thu, Apr 28, 2011 at 3:33 AM, Linus Walleij wrote: > 2011/3/5 Linus Walleij : > >> This patch is a squash of patches from Gary King and Ulf >> Hansson done in Android trees, hopefully fixing the issue properly. >> >> The csd sector count reported by eMMC 4.3+ cards includes the boot >> partitio

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-04-28 Thread Linus Walleij
2011/3/5 Linus Walleij : > This patch is a squash of patches from Gary King and Ulf > Hansson done in Android trees, hopefully fixing the issue properly. > > The csd sector count reported by eMMC 4.3+ cards includes the boot > partition size; subtract this from the size reported to the disk > sinc

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-03-06 Thread Colin Cross
On Sun, Mar 6, 2011 at 4:22 AM, Linus Walleij wrote: > 2011/3/6 Andrei Warkentin : > >> I think Colin mentioned the emmc spec doesn't subtract the boot >> sectors, just that some out of spec devices do... (sounds like another >> use for mmc blk quirks) > > In which case it sounds like it will be t

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-03-06 Thread Linus Walleij
2011/3/6 Andrei Warkentin : > I think Colin mentioned the emmc spec doesn't subtract the boot > sectors, just that some out of spec devices do... (sounds like another > use for mmc blk quirks) In which case it sounds like it will be the majority of them deviating from the spec right now given tha

Re: [PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-03-05 Thread Andrei Warkentin
On Mar 5, 2011 6:16 AM, "Linus Walleij" wrote: > This patch is a squash of patches from Gary King and Ulf > Hansson done in Android trees, hopefully fixing the issue properly. > > The csd sector count reported by eMMC 4.3+ cards includes the boot > partition size; subtract this from the size repor

[PATCH] mmc: subtract boot sectors from disk size for eMMC 4.3+ devices

2011-03-05 Thread Linus Walleij
This patch is a squash of patches from Gary King and Ulf Hansson done in Android trees, hopefully fixing the issue properly. The csd sector count reported by eMMC 4.3+ cards includes the boot partition size; subtract this from the size reported to the disk since the boot partition is inaccessible.