From: Dinh Nguyen <dinguyen@kernel.org>
To: thor.thayer@linux.intel.com,
Silvan Murer <silvan.murer@gmail.com>,
devicetree@vger.kernel.org
Subject: Re: [PATCH] Change timer interrupt to edge sensitive
Date: Wed, 15 Aug 2018 10:11:20 -0500 [thread overview]
Message-ID: <e772272a-b433-e33c-e40d-bf12408aa77d@kernel.org> (raw)
In-Reply-To: <5b224914-48b8-19d8-53da-52c8121bb723@linux.intel.com>
On 08/07/2018 05:03 PM, Thor Thayer wrote:
> Hi Silvan,
>
> On 08/07/2018 02:23 PM, Silvan Murer wrote:
>> Hi Thor,
>>
>> Did you saw my patch? I think the default configuration for the timer
>> interrupt should be <1 13 0xf01>
>>
>> Otherwise, the driver get the error "GIC: PPI13 is secure or
>> misconfigured"
>>
>> Base on the ARM documentation it is a edge sensitive trigger:
>> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0407f/CCHEIGIC.html
>>
>> Or do I understand something wrong?
>>
> This looks correct. In fact, our socfpga.dtsi base file uses the rising
> edge.
>
>> Best regards,
>> Silvan
>>
>>
>> On 02.08.2018 13:41, Silvan Murer wrote:
>>> Signed-off-by: Silvan Murer <silvan.murer@gmail.com>
>>> ---
>>> arch/arm/boot/dts/socfpga_arria10.dtsi | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi
>>> b/arch/arm/boot/dts/socfpga_arria10.dtsi
>>> index 791ca15..52a7025 100644
>>> --- a/arch/arm/boot/dts/socfpga_arria10.dtsi
>>> +++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
>>> @@ -748,7 +748,7 @@
>>> timer@ffffc600 {
>>> compatible = "arm,cortex-a9-twd-timer";
>>> reg = <0xffffc600 0x100>;
>>> - interrupts = <1 13 0xf04>;
>>> + interrupts = <1 13 0xf01>;
>>> clocks = <&mpu_periph_clk>;
>>> };
>>>
>>
> Reviewed-by: Thor Thayer <thor.thayer@linux.intel.com>
>
Applied!
Thanks,
Dinh
prev parent reply other threads:[~2018-08-15 18:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 11:41 [PATCH] Change timer interrupt to edge sensitive Silvan Murer
2018-08-07 19:23 ` Silvan Murer
2018-08-07 22:03 ` Thor Thayer
2018-08-15 15:11 ` Dinh Nguyen [this message]
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=e772272a-b433-e33c-e40d-bf12408aa77d@kernel.org \
--to=dinguyen@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=silvan.murer@gmail.com \
--cc=thor.thayer@linux.intel.com \
/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.