ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #armlinux
luispm has quit [Ping timeout: 255 seconds]
luispm has joined #armlinux
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
heat has quit [Ping timeout: 265 seconds]
amitk_ has joined #armlinux
matthias_bgg has quit [Write error: Connection reset by peer]
matthias_bgg has joined #armlinux
cbeznea has joined #armlinux
monstr has joined #armlinux
luispm has quit [Quit: Leaving]
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
iivanov_ has joined #armlinux
iivanov_ has quit [Client Quit]
iivanov_ has joined #armlinux
iivanov_ has quit [Quit: Leaving]
iivanov_ has joined #armlinux
iivanov_ has quit [Client Quit]
guillaume_g has joined #armlinux
bps has quit [Ping timeout: 264 seconds]
<linusw__> marcan: don't know if it adds anything but on systems I have run usually the UART is on an "armed" pad ring meaning the system will autonomously wake up from sleep when an event occurs on say RX, just from an edge transition, and at that point that pin is handled like "some kind of GPIO".
<linusw__> then what happens is that autonomous system wakes up the system and the UART driver restores state and ... invariably lose the first character typed on the TTY.
<linusw__> In all cases I've seen it has been "OK let's lose that first character on the TTY tough luck, work finished".
<marcan> heh, yeah, doesn't surprise me
<marcan> not really relevant to us since we don't actually involve wakeups in any of this, it's just about keeping the UART alive when debugging sleep
frieder has joined #armlinux
<geertu> marcan: Looking at genpd_power_off(), a child device not being runtime-suspended is treated the same as the genpd's power_off() method runnig -EBUSY.
bps has joined #armlinux
bps has quit [Changing host]
bps has joined #armlinux
Misotauros has quit [Ping timeout: 240 seconds]
<geertu> Does it work for you if you return -EBUSY from the serial driver's runtime_suspend callback?
<marcan> geertu: not a child device, a *child PD* (which makes sense but is not useful here)
<geertu> Or is that hanlded differently elsewhere
<geertu> Oh right
<marcan> runtime_suspend isn't involved here, it's normal suspend. you *can* abort runtime_suspend but if you try to return an error from the suspend callback it aborts the entire suspend
<geertu> list_for_each_entry() { ... if (...) not_suspended++; } does handle child devices, not child genpds
<marcan> genpd_power_off is for runtime PM
<marcan> you want genpd_sync_power_off
<marcan> that is the one used in the suspend path and does not have that check
<geertu> Then we probably need a similar check there ;-)
<marcan> well, that would break for devices that don't support runtime PM but do support sleep
<marcan> since it'd leave all those power domains on
<marcan> there needs to be some way for the *device* to choose whether it remains powered in sleep or not, opt-in
<geertu> I'm not aware of any such method, except what I use in the rmobile-sysc driver
<javierm> marcan: there are some subsystem specific mechanisms such as the "keep-power-in-suspend" for MMC, but it is indeed surprising that there isn't something generic for this
<geertu> Apparently most systems have the UART in an always-on genpd
<geertu> So it's the first person who needs support for it and can't hack it into his genpd driver, who has to make it work in a generic way ;-)
<marcan> javierm: there basically is, the wakeup_path thing, it's just named way more specifically than it should be :p
<marcan> I'm using that now and it works
<geertu> The wakeup_path parts (both genpd and irqchip) were in a similar bad shape some years ago, as apparently no one needed them fully working before
prabhakarlad has joined #armlinux
luispm has joined #armlinux
<geertu> FWIW, the "PC people" don't understand irqchips, serial ports, and memory controllers in a non-always-on genpd ;-)
<javierm> marcan: right, funny that even some comments are more general than the wakeup use case, i.e:
<javierm> include/linux/pm_domain.h: * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain
<javierm> err, sorry I meant: include/linux/pm_domain.h: * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered
<marcan> yup
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
PobodysNerfect has joined #armlinux
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #armlinux
sszy has joined #armlinux
Misotauros has joined #armlinux
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
PobodysNerfect has joined #armlinux
headless has joined #armlinux
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
PobodysNerfect has joined #armlinux
prabhakarlad has quit [*.net *.split]
pharonix71 has quit [*.net *.split]
headless_ has joined #armlinux
headless has quit [Ping timeout: 255 seconds]
headless_ has quit [Client Quit]
headless has joined #armlinux
rockosov has quit [Remote host closed the connection]
rockosov has joined #armlinux
PobodysNerfect has quit [Quit: Gone to sleep. ZZZzzz…]
PobodysNerfect has joined #armlinux
headless has quit [Quit: Konversation terminated!]
PobodysNerfect has quit [Client Quit]
PobodysNerfect has joined #armlinux
<geertu> ardb: At first, I had missed the "..." in "[GIT PULL 4/4] ARM: SoC devicetree changes for 6.4
<geertu> ", and was thus investigating what happened to the other changes...
<geertu> grr, silly TAB-complete s/ardb/arnd/
<geertu> arnd: ^
<arnd> geertu: sorry about that, there were ober 800 commits in that branch, so I had to edit the shortlog to get below 100kb
tomde has joined #armlinux
cbeznea has quit [Read error: Connection reset by peer]
cbeznea has joined #armlinux
<geertu> arnd: I understand :-)
tomde has quit [Quit: Leaving]
prabhakar has joined #armlinux
amitk_ has quit [Ping timeout: 276 seconds]
heat has joined #armlinux
pharonix71 has joined #armlinux
prabhakar has quit [Quit: Connection closed]
matthias_bgg has quit [Quit: Leaving]
headless has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
monstr has quit [Remote host closed the connection]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
bps has quit [Ping timeout: 246 seconds]
headless has quit [Remote host closed the connection]
headless has joined #armlinux
npcomp has quit [Ping timeout: 255 seconds]
torez has joined #armlinux
npcomp has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
bps has quit [Changing host]
bps has quit [Ping timeout: 260 seconds]
luispm has quit [Quit: Leaving]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
bret has quit [Ping timeout: 255 seconds]
bret has joined #armlinux
cbeznea has quit [Quit: Leaving.]
macromorgan has joined #armlinux
frieder has quit [Remote host closed the connection]
macromorgan has quit [Quit: Leaving]
Bitweasil- is now known as Bitweasil
cbeznea has joined #armlinux
elastic_1 has joined #armlinux
elastic_1 is now known as elastic_dog
elastic_dog has quit [Killed (calcium.libera.chat (Nickname regained by services))]
PobodysNerfect_ has joined #armlinux
PobodysNerfect has quit [Ping timeout: 255 seconds]
pharonix71 has quit [Remote host closed the connection]
headless has quit [Quit: Konversation terminated!]
cbeznea has quit [Quit: Leaving.]
torez has quit [Quit: torez]
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux