Re: [PATCH 0/2] r8a77961 CMT test setup using UIO

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

 



Hi Magnus,

On Sun, Sep 20, 2020 at 3:04 AM Magnus Damm <damm@xxxxxxxxxxxxx> wrote:
> r8a77961 CMT test setup using UIO
>
> [PATCH 1/2] r8a77961 CMT0 device exposed via UIO
> [PATCH 2/2] UIO CMT test program
>
> These two patches contain kernel and user space modificatons to allow some
> basic testing from user space of the CMT0 device included on the r8a77961 SoC.
>
> For the kernel, simply apply the kernel patch (including a few debug printouts)
> and make sure to extend your kernel config with CONFIG_UIO_PDRV_GENIRQ=y.
>
> The following log shows how to execute the test program on the target:
>
> # ./uio-cmt-test
> found matching UIO device at /sys/class/uio/uio0/
> CLKE
> CMCSR
> CMCOR
> [   12.284451] irqhandler 20
> waiting 10s
> UIO write
> CLKE
> UIO read
> got CMT IRQ
> CLKE
> #

I guess you could test this device using the sh_cmt driver, and a generic
userspace timer test program (from tools/testing/selftests/?), too?

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



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux