t once per
> > transfer. Smaller boundaries are taken care of by counting
> > the transferred bytes.
> >
> > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=28462
> >
> > Signed-off-by: Mikko Vinni
>
> I know you posted this as an RFC, but I'
https://bugzilla.kernel.org/show_bug.cgi?id=28462
Signed-off-by: Mikko Vinni
---
This is alternative to
http://article.gmane.org/gmane.linux.kernel.mmc/6497
The main concern about the original patch was that it won't
work for if the boundary is made smaller and a large transfer
would cross the boundary t
Hi,
> Then we'll have a "useless" update. Won't hurt AFAICS, but might
> surprise people examining the debug output.
Ok.
> > I only compile tested this so far, so no proper patch yet, but what I would
> > write based on the comments is something like this:
>
> (Sidenote: Indentation is bro
Wolfram Sang wrote:
> > > > Signed-off-by: Mikko Vinni yahoo.com>
> > >
> > > Proper EMail please.
> >
> > Hm, @gmail.com? (cc added for further emails)
>
> I was just referring to using "" instead of "@". The p
host->mmc->max_blk_size);
BUG_ON(data->blocks > 65535);
I thought the first BUG_ON makes sure that the transfer doesn't go too big.
Then again, I might be missing something. Is 524288 not in bytes?
>
> > Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=28462
mably stopped.
As long as each transfer is at most 512KB in size (on this hardware
the max seems to be 65536 bytes), this fix is needed at most once
per transfer.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=28462
Signed-off-by: Mikko Vinni yahoo.com>
---
Sent on 2011-02-21 21:23:32 G
mably stopped. As long as each transfer
is at most 512KB in size (on this hardware the max seems to be
65536 bytes), this fix is neeeded at most once per transfer.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=28462
Signed-off-by: Mikko Vinni
diff --git a/drivers/mmc/host/sdhci.c b/driver
o be modules.
Mikko
- Original Message
> From: Mikko Vinni
> To: linux-mmc; Chris Ball
> Sent: Thu, January 20, 2011 11:04:23 PM
> Subject: SD card reads corrupted (JMicron card reader)
>
> Hi,
>
> I have an HP Pavilion dv5 laptop, which has an integrated memory card r
Hi,
I have an HP Pavilion dv5 laptop, which has an integrated memory card reader
(labeled with "SD*MS/Pro*MMC*XD) and appearing with lspci as:
0a:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller
0a:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controlle