From: "André Przywara" <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 0/3] Ethernet support for Raspberry Pi 4
Date: Mon, 27 Jan 2020 01:20:30 +0000 [thread overview]
Message-ID: <b73ac950-69a1-8d82-08fe-6710c84de0fd@arm.com> (raw)
In-Reply-To: <70a60933-3001-9a16-9e51-b0fe7ef83758@suse.com>
On 26/01/2020 02:28, Matthias Brugger wrote:
> On 24/01/2020 01:26, André Przywara wrote:
[ ... ]
>> Found the culprit, after following a lead started by an over-lunch
>> discussion: Colleagues pointed out the SError (interrupts) early in the
>> kernel could just show because they just got unmasked when dropping into
>> EL1. And indeed in AArch64 U-Boot we keep Aborts masked - we don't clear
>> the A bit in DAIF normally (only for Freescale).
>> So allowing SError exceptions in U-Boot's start.S revealed that the
>> SError interrupt was actually triggered by the writel in write_hwaddr(),
>> I guess because the MAC wasn't reset before. And the SError condition
>> stayed pending all the time, until the kernel announced its interest in
>> being told about fatal errors - then it inherited U-Boot's error.
>
> Thanks for the explanation. I think the situation leaves space for improving.
> Either should we warn about a pending Abort before leaving U-Boot or we should
> allow aborts in general.
Definitively we should unmasks SErrors in U-Boot, since they point us to
serious problems, with this one here actually being somewhat on the
harmless side. Also U-Boot has exception handlers that dump useful
information, so we should use them.
But doing so would need to be done for all ARMv8 ports (in start.S), so
I am a bit reluctant to post something this late in the merge window
without proper testing on multiple platforms.
>> So for me the issue is fixed after adding the reset routine I sketched
>> in that thread before.
>>
>> But you mentioned that it still didn't work for you?
>>
>
> I just double checked and everything works fine. Please feel free to send a new
> version :)
Great, thanks! Did just that.
Cheers,
Andre
next prev parent reply other threads:[~2020-01-27 1:20 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-17 1:20 [PATCH v2 0/3] Ethernet support for Raspberry Pi 4 Andre Przywara
2020-01-17 1:20 ` [PATCH v2 1/3] net: Add support for Broadcom GENETv5 Ethernet controller Andre Przywara
2020-01-22 9:01 ` Matthias Brugger
2020-01-22 15:02 ` Daniel Schwierzeck
2020-01-22 15:36 ` Andre Przywara
2020-01-22 17:22 ` Daniel Schwierzeck
2020-01-22 18:00 ` Andre Przywara
2020-01-17 1:20 ` [PATCH v2 2/3] rpi4: Update memory map to accommodate scb devices Andre Przywara
2020-01-17 1:20 ` [PATCH v2 3/3] rpi4: Enable GENET Ethernet controller Andre Przywara
2020-01-22 10:04 ` [PATCH v2 0/3] Ethernet support for Raspberry Pi 4 LABBE Corentin
2020-01-22 12:06 ` Matthias Brugger
2020-01-22 17:18 ` Matthias Brugger
2020-01-22 17:34 ` Andre Przywara
2020-01-22 18:05 ` Matthias Brugger
2020-01-23 11:29 ` Andre Przywara
2020-01-23 19:37 ` Matthias Brugger
2020-01-24 0:26 ` André Przywara
2020-01-26 2:28 ` Matthias Brugger
2020-01-27 1:20 ` André Przywara [this message]
2020-01-25 17:58 ` Amit Tomer
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=b73ac950-69a1-8d82-08fe-6710c84de0fd@arm.com \
--to=andre.przywara@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox