[PATCH] mmc: mmci: Fixup and cleanup code for DMA handling

Ulf Hansson ulf.hansson at linaro.org
Thu Dec 13 05:59:28 EST 2012


On 28 November 2012 15:00, Ulf Hansson <ulf.hansson at linaro.org> wrote:
> On 21 November 2012 16:22, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>> On 16 October 2012 13:44, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>>> On 16 October 2012 10:17, Linus Walleij <linus.walleij at linaro.org> wrote:
>>>> On Tue, Oct 16, 2012 at 9:16 AM, Ulf Hansson <ulf.hansson at linaro.org> wrote:
>>>>
>>>>> This code has not been tested on a "legacy" ARM PL180 but only for
>>>>> ux500 boards. Even if it should affect DMA handling we should test
>>>>> this properly. Would be great if you were able to help out, I guess
>>>>> you still have available hardware for these tests?
>>>>
>>>> I can test the Integrator/CP and Realview in IRQ/PIO mode and
>>>> the U300 in DMA mode.
>>>
>>> Great!
>>>
>>>>
>>>> I need some help to provoke errorpath in DMA mode though,
>>>> so any hints are welcome...
>>>
>>> One good option could be to stress test card insert/removal sequences,
>>> while at the same time doing read/write requests.
>>>
>>>>
>>>> Yours,
>>>> Linus Walleij
>>>
>>> Kind regards
>>> Ulf Hansson
>>
>> Just a kind reminder for Linus; did you manage to do some tests for
>> these patches?
>>
>> Kind regards
>> Ulf Hansson
>
> I have now tested these patches for ARM-RealView PB1176. Looks good! I
> stress tested card insert/remove at the same time you write/read to
> the card. Error handling is stable.
>
> Kind regards
> Ulf Hansson

For clarification. Skip this patch.

The next version is rebased on top of 3.7 and is thus not based on
"mmc: mmci: Support non-power-of-two block sizes for ux500v2 variant",
which needs some rework.

Kind regards
Ulf Hansson



More information about the linux-arm-kernel mailing list