hi Geert,
On 01/10/2020 16:11, Geert Uytterhoeven wrote:
Hi Grygorii et al,
On Thu, Oct 1, 2020 at 2:56 PM Grygorii Strashko
<grygorii.strashko@xxxxxx> wrote:
On 01/10/2020 11:22, Laurent Pinchart wrote:
On Thu, Oct 01, 2020 at 11:17:48AM +0300, Tony Lindgren wrote:
-rc7 spends most of it's time:
[ 7.635530] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
[ 14.956671] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 15.005211] IP-Config: Complete:
1. Is irq=POLL normal behavior for your board?
2. As this is a Micrel PHY, perhaps you are affected by the changes in
the configuration defaults in commit bcf3440c6dd78bfe ("net: phy:
micrel: add phy-mode support for the KSZ9031 PHY")?
See also the performance drop figures in the description of quick fix
9b23203c32ee02cd ("ravb: Mask PHY mode to avoid inserting delays twice")
(and better solution
https://lore.kernel.org/linux-renesas-soc/20201001101008.14365-1-geert+renesas@xxxxxxxxx)
It's not about Ethernet PHY and I've tried different board am571x-idk.
The boot delay introduced first very early during boot:
[ 1.729201] calling omap_l3_init+0x0/0x10 @ 1
[ 1.733791] initcall omap_l3_init+0x0/0x10 returned 0 after 0 usecs
[ 1.740314] calling gate_vma_init+0x0/0x70 @ 1
[ 1.744976] initcall gate_vma_init+0x0/0x70 returned 0 after 0 usecs
[ 1.751522] calling customize_machine+0x0/0x30 @ 1
[ 3.823114] initcall customize_machine+0x0/0x30 returned 0 after 2011718 usecs
[ 3.830566] calling init_atags_procfs+0x0/0xec @ 1
[ 3.835583] No ATAGs?
And the long time above with customize_machine() ends up being
pdata_quirks_init() calling of_platform_populate().
And was narrowed down to ^ of_platform_populate() - above customize_machine() costs 2sec.
related discussion https://lkml.org/lkml/2020/6/17/452
--
Best regards,
grygorii