On Mon, Jan 15, 2018 at 6:57 AM, Greentime Hu <green.hu@xxxxxxxxx> wrote: > From: Rick Chen <rickchen36@xxxxxxxxx> > > VDSO needs real-time cycle count to ensure the time accuracy. > Unlike others, nds32 architecture does not define clock source, > hence VDSO needs atcpit100 offering real-time cycle count > to derive the correct time. > > Signed-off-by: Vincent Chen <vincentc@xxxxxxxxxxxxx> > Signed-off-by: Rick Chen <rickchen36@xxxxxxxxx> > Signed-off-by: Greentime Hu <green.hu@xxxxxxxxx> I'm a bit puzzled by this patch, can you explain how the vdso actually manages to access the clock hardware? It looks like you make the physical address and the register offset available to user space, but how does it end up accessing it? Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html