public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: Nathan_Lynch@mentor•com (Nathan Lynch)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v10 4/6] ARM: add vdso user-space code
Date: Mon, 16 Feb 2015 14:05:15 -0600	[thread overview]
Message-ID: <54E24D7B.3050806@mentor.com> (raw)
In-Reply-To: <loom.20150213T053547-381@post.gmane.org>

On 02/12/2015 10:36 PM, Venkappa Mala wrote:
> Nathan Lynch <nathan_lynch <at> mentor.com> writes:
> 
>> +#ifdef CONFIG_ARM_ARCH_TIMER
>> +
>> +static notrace u64 get_ns(struct vdso_data *vdata)
>> +{
>> +	u64 cycle_delta;
>> +	u64 cycle_now;
>> +	u64 nsec;
>> +
>> +	cycle_now = arch_counter_get_cntvct();
> 
> Hello Nathan,
> 
> Regarding ARM:vDSO, I have enabled your patch set on Cortex-A7/ARMv7, 
> the vDSO is up and running using generic arch timer using physical 
> counter but not with VCT.

Hi,

Sorry for not seeing this earlier but it doesn't look like my address
was in the recipients list, and I just happened to catch up on list
traffic today.

It looks like Catalin already covered everything, but just to sum up --
the patches need to be updated to avoid enabling the VDSO gettimeofday
on systems where CNTVCT is not usable, for whatever reason.  I do not
intend to enable user space / VDSO access to CNTPCT to accommodate
systems that don't initialize the virtual counter/offset correctly.

  parent reply	other threads:[~2015-02-16 20:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 19:17 [PATCH v10 0/6] ARM: VDSO Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 1/6] ARM: use _install_special_mapping for sigpage Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 2/6] ARM: place sigpage at a random offset above stack Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 3/6] ARM: miscellaneous vdso infrastructure, preparation Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 4/6] ARM: add vdso user-space code Nathan Lynch
2015-02-13  4:36   ` Venkappa Mala
2015-02-13 10:54     ` Catalin Marinas
2015-02-13 12:01       ` Venkappa Mala
2015-02-13 14:14         ` Catalin Marinas
2015-02-13 14:56           ` Venkappa Mala
2015-02-13 15:32             ` Catalin Marinas
2015-02-18 12:12               ` Venkappa Mala
2015-02-20 21:52                 ` Christopher Covington
2015-02-24 10:17                   ` Catalin Marinas
2015-02-25 16:56                     ` Christopher Covington
2015-02-25 17:17                       ` Catalin Marinas
2015-02-16 20:05     ` Nathan Lynch [this message]
2015-02-19 12:26       ` Venkappa Mala
2014-09-22 19:18 ` [PATCH v10 5/6] ARM: vdso initialization, mapping, and synchronization Nathan Lynch
2014-09-22 19:18 ` [PATCH v10 6/6] ARM: add CONFIG_VDSO Kconfig and Makefile bits Nathan Lynch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54E24D7B.3050806@mentor.com \
    --to=nathan_lynch@mentor$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox