All of lore.kernel.org
 help / color / mirror / Atom feed
From: Murali Karicheri <m-karicheri2@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer
Date: Fri, 4 Apr 2014 13:20:03 -0400	[thread overview]
Message-ID: <533EE9C3.4020606@ti.com> (raw)
In-Reply-To: <4f0a897f.12abf.1452c39bd10.Coremail.fenghua@phytium.com.cn>

On 4/4/2014 6:12 AM, FengHua wrote:
>
>
>> -----Original Messages-----
>> From: "Andrianov, Vitaly" <vitalya@ti.com>
>> Sent Time: 2014-04-03 19:22:34 (Thursday)
>> To: "Masahiro Yamada" <yamada.m@jp.panasonic.com>, "Karicheri, Muralidharan" <m-karicheri2@ti.com>
>> Cc: "Rini, Tom" <trini@ti.com>, "u-boot at lists.denx.de" <u-boot@lists.denx.de>
>> Subject: Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer
>>
>> Hi Masahiro,
>>
>>> -----Original Message-----
>>> From: u-boot-bounces at lists.denx.de [mailto:u-boot-
>>> bounces at lists.denx.de] On Behalf Of Masahiro Yamada
>>> Sent: Wednesday, April 02, 2014 9:46 PM
>>> To: Karicheri, Muralidharan
>>> Cc: Rini, Tom; u-boot at lists.denx.de
>>> Subject: Re: [U-Boot] [PATCH v5 3/9] arm: add support for arch timer
>>>
>>> Hi Murali,
>>>
>>> On Tue, 1 Apr 2014 14:44:23 -0400
>>> Murali Karicheri <m-karicheri2@ti.com> wrote:
>>>
>>>> From: Vitaly Andrianov <vitalya@ti.com>
>>>>
>>>> This patch add basic support for the architecture timer found on
>>>> recent
>>>> ARMv7 based SoCs.
>>>>
>>>> Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>> Acked-by: Tom Rini <trini@ti.com>
>>>> ---
>>>>   arch/arm/lib/Makefile     |    1 +
>>>>   arch/arm/lib/arch_timer.c |   58
>>> +++++++++++++++++++++++++++++++++++++++++++++
>>>
>>>
>>>
>>> I am not familiar with this timer, but your commit description implies
>>> it is specific to ARMv7.
>>>
>>> If so, it looks like it should go to arch/arm/cpu/armv7/ .
>>> Is this right?
>> This is for arch timer implemented in ARM Cortex-A15 which is ARMv7.
>> I believe the same arch timer is in ARMv8. So, it is not specific to
>> ARMv7 only. The commit description mentioned only ARMv7 because the
>> driver was designed and tested on ARMv7.
>>
> If we want to apply the arch_timer.c to armv8,  the get_ticks() function should be modified
> due to mrrc instuction.
> Furthermore, armv8 now make use of timer infrastructure of lib/time.c.
> Only get_tbclk() and timer_read_counter() are architecture specific and declared in generic_timer.c.
> We'd better construct a common arch timer structure across arm platform.
>
> Best regards,
> David
>
>
>
>
>
The v6 of the series just posted has moved the arch_timer.c to 
arch/arm/cpu/armv7 folder
as requested by you.

Regards,

Murali

  reply	other threads:[~2014-04-04 17:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 18:44 [U-Boot] [PATCH v5 0/9] Add support for keystone2 SoC and K2HK EVM Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 1/9] fdt: call ft_board_setup_ex() at the end of image_setup_libfdt() Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 2/9] tools: mkimage: add support for gpimage format Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 3/9] arm: add support for arch timer Murali Karicheri
2014-04-03  1:46   ` Masahiro Yamada
2014-04-03 11:22     ` Andrianov, Vitaly
2014-04-04 10:12       ` FengHua
2014-04-04 17:20         ` Murali Karicheri [this message]
2014-04-01 18:44 ` [U-Boot] [PATCH v5 4/9] NAND: DaVinci: allow forced disable of subpage writes Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 5/9] i2c, davinci: move i2c_defs.h to the drivers/i2c directory Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 6/9] i2c, davinci: convert driver to new mutlibus/mutliadapter framework Murali Karicheri
2014-04-02  4:30   ` Heiko Schocher
2014-04-01 18:44 ` [U-Boot] [PATCH v5 7/9] k2hk: add support for k2hk SOC and EVM Murali Karicheri
2014-04-03 12:32   ` Ivan Khoronzhuk
2014-04-01 18:44 ` [U-Boot] [PATCH v5 8/9] spi: davinci: add support for multiple bus and chip select Murali Karicheri
2014-04-01 18:44 ` [U-Boot] [PATCH v5 9/9] k2hk-evm: add configuration for spi1 and spi2 support Murali Karicheri

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=533EE9C3.4020606@ti.com \
    --to=m-karicheri2@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.