devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Silvan Murer <silvan.murer@gmail.com>
To: thor.thayer@linux.intel.com, devicetree@vger.kernel.org
Cc: dinguyen@kernel.org
Subject: Re: [PATCH] Change timer interrupt to edge sensitive
Date: Tue, 7 Aug 2018 21:23:14 +0200	[thread overview]
Message-ID: <1389dc3f-080f-cbea-8db0-76ad6b0628c3@gmail.com> (raw)
In-Reply-To: <1533210074-4996-1-git-send-email-silvan.murer@gmail.com>

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?

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>;
>  		};
>  


  reply	other threads:[~2018-08-07 21:39 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 [this message]
2018-08-07 22:03   ` Thor Thayer
2018-08-15 15:11     ` Dinh Nguyen

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=1389dc3f-080f-cbea-8db0-76ad6b0628c3@gmail.com \
    --to=silvan.murer@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).