On Wed, Dec 12, 2018 at 4:31 PM Tony Lindgren <tony@xxxxxxxxxxx> wrote: > * Reizer, Eyal <eyalr@xxxxxx> [181212 07:27]: > > I Just tried on an available am335x-evm using 4.20.0-rc1 which I believe has all the patches merged already. > > I am using the same script and not seeing any failure yet. > > See below: > > > > root@am335x-evm:/usr/share/wl18xx# uname -r > > 4.20.0-rc1-11287-gf487c00 > > root@am335x-evm:/usr/share/wl18xx# > > root@am335x-evm:/usr/share/wl18xx# > > root@am335x-evm:/usr/share/wl18xx# > > root@am335x-evm:/usr/share/wl18xx# > > root@am335x-evm:/usr/share/wl18xx# while true; do ifconfig wlan0 down; ifconfig wlan0 up; done; > > [1378786.491101] wlcore: down > > [1378787.093006] wlcore: PHY firmware version: Rev 8.2.0.0.242 > > [1378787.168523] wlcore: firmware booted (Rev 8.9.0.1.79) > > [1378787.215897] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready > ... > > Yeah I was seeing the same yesterday when I tried it. > > Could it be that there needs to be a little msleep() after > loading the firmware on some platforms and before enabling > PM runtime? The issue I'm having seems to happen when trying to load the firmware, getting stuck in mmc_wait_for_req_done -> wait_for_completion, so the firmware is never really fully loaded when the hang happens. Cheers, -- Ricardo Salveti de Araujo