Re: spi: tests driver to test basic alignment/length issues via loopback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Martin,

On Wed, Nov 25, 2015 at 7:56 PM, Martin Sperl <kernel@xxxxxxxxxxxxxxxx> wrote:
> So I had to write a small test driver that allows for generate all sorts
> of spi_messages with different length, rx/tx_buf alignments and more to
> get generated - right now it submits something like 360 distinct
> spi_messages:

Thanks!

> * transfers starting on a page with rx and tx_buf set
>   * length: 1, 16, 32, 64, 128, 256, 1024, 4096, 128k

I think you should add a few lengths that are not powers of two
(e.g. prime numbers).

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux