From: Michal Simek <monstr@monstr.eu>
To: Tim Sander <tim@krieglstein.org>
Cc: "linux-arm@lists.infradead.org" <linux-arm@lists.infradead.org>,
linux-kernel@vger.kernel.org,
Michal Simek <michal.simek@xilinx.com>,
Russell King <linux@arm.linux.org.uk>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: FIQ on xilinx cortex a9 zynq
Date: Tue, 01 Apr 2014 15:26:57 +0200 [thread overview]
Message-ID: <533ABEA1.8030603@monstr.eu> (raw)
In-Reply-To: <8605883.1pbkKagGpT@dabox>
[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]
Hi Tim,
On 02/28/2014 05:53 PM, Tim Sander wrote:
> Hi
>
> I am currently trying to get the FIQ interrupt working with linux. I want to
> have the FIQ to have an interrupt which is not masked by linux and gives the
> lowest irq latencys the hardware can deliver.
>
> In the case of the xilinx zynx i have seen that the ICCICR register enables
> the FIQ via the fittingly named config bit FiqEn. Enabling this bit "as is" does
> not seem to work as the kernel works in secure mode and thus all interrupts
> delivered suddenly are delivered in FIQ context which is obviously not a good
> idea.
yes. I don't know why but Linux on Zynq in secure mode.
As I mentioned in u-boot thread there is secure monitor available
here https://github.com/serngawy/OpenVirtualization
where Linux is switched to non-secure mode.
Unfortunately this secure monitor is not done in nice way
but at least it proved that Linux can run in non secure mode.
Regarding GIC setup here should be experts to tell you how to do it.
If you need some help to get Linux running on Zynq in non secure mode
please ping me we can look at it. I tried it some months ago.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]
prev parent reply other threads:[~2014-04-01 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 16:53 FIQ on xilinx cortex a9 zynq Tim Sander
2014-04-01 13:26 ` Michal Simek [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=533ABEA1.8030603@monstr.eu \
--to=monstr@monstr.eu \
--cc=linux-arm@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=michal.simek@xilinx.com \
--cc=tglx@linutronix.de \
--cc=tim@krieglstein.org \
/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