nakbas1 has joined #beagle
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #beagle
nakbas1 has quit [Quit: nakbas1]
brook has joined #beagle
nakbas1 has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
xet7 has joined #beagle
nakbas1 has quit [Quit: nakbas1]
brook has quit [Remote host closed the connection]
brook has joined #beagle
starblue has quit [Ping timeout: 260 seconds]
starblue has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
brook has quit [Remote host closed the connection]
nakbas1 has joined #beagle
nakbas1 has quit [Client Quit]
brook has joined #beagle
nakbas1 has joined #beagle
lucascastro has joined #beagle
ikarso has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
nakbas1 has quit [Ping timeout: 260 seconds]
lucascastro has quit [Quit: Leaving]
lucascastro has joined #beagle
lucascastro has quit [Read error: Connection reset by peer]
mvaittin has quit [Ping timeout: 268 seconds]
brook has quit [Read error: Connection reset by peer]
brook has joined #beagle
rob_w has joined #beagle
mvaittin has joined #beagle
samnob has quit [Ping timeout: 260 seconds]
samnob has joined #beagle
florian has joined #beagle
samnob has quit [Ping timeout: 264 seconds]
samnob has joined #beagle
Shadyman has quit [Remote host closed the connection]
samnob has quit [Excess Flood]
samnob has joined #beagle
Stat_headcrabed has joined #beagle
ft has quit [Quit: leaving]
Stat_headcrabed has quit [Ping timeout: 246 seconds]
libredev has quit [Ping timeout: 255 seconds]
samnob has quit [Ping timeout: 260 seconds]
samnob has joined #beagle
libredev has joined #beagle
samnob has quit [Ping timeout: 264 seconds]
samnob_ has joined #beagle
samnob_ has quit [Ping timeout: 260 seconds]
samnob has joined #beagle
samnob has quit [Ping timeout: 255 seconds]
samnob has joined #beagle
rob_w has quit [Remote host closed the connection]
samnob has quit [Excess Flood]
samnob has joined #beagle
samnob has quit [Ping timeout: 255 seconds]
samnob has joined #beagle
buzzmarshall has joined #beagle
brook has quit [Remote host closed the connection]
mvaittin has quit [Remote host closed the connection]
mvaittin has joined #beagle
mvaittin has quit [Ping timeout: 255 seconds]
xet7 has quit [Remote host closed the connection]
brook has joined #beagle
brook_ has joined #beagle
brook_ has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
brook has quit [Ping timeout: 240 seconds]
brook_ has quit [Remote host closed the connection]
mvaittin has joined #beagle
brook has joined #beagle
starblue has quit [Ping timeout: 264 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
Stat_headcrabed has joined #beagle
hnv has joined #beagle
mvaittin has quit [Ping timeout: 260 seconds]
brook has quit [Remote host closed the connection]
florian has quit [Quit: Ex-Chat]
brook has joined #beagle
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #beagle
Stat_headcrabed has quit [Client Quit]
<rcn-ee> zmatt: pinged you over email, uio is on the chopping block, last chance for your piece.. https://lore.kernel.org/lkml/2024032631-excursion-opposing-be36@gregkh/t/
hnv has quit [Quit: Client closed]
vagrantc has joined #beagle
nakbas1 has joined #beagle
nakbas1 has quit [Client Quit]
brook has quit [Ping timeout: 260 seconds]
brook has joined #beagle
lucascastro has joined #beagle
ft has joined #beagle
<zmatt> rcn-ee: I do agree with Andrew that if the mainline driver has been broken for ages, and nobody is interested in patching up the driver in mainline, then instead of maintaining the patches out-of-tree one may as well maintain the entire driver out-of-tree
brook has quit [Remote host closed the connection]
<zmatt> it's a pretty trivial driver anyway
brook has joined #beagle
<zmatt> the main benefit it offers over the generic uio_pdrv_genirq is slightly more efficient irq handling and the facility to allocate a chunk of shared ddr memory... honestly I'd really like a better way to allocate such memory, e.g. maybe a way to attach a dmabuf to the pru driver (to keep it pinned and provide its physical address to userspace)
<zmatt> remoteproc-pru still has no way to do that either right?
<zmatt> I remember you ended up using uio for shared memory anyway even after officially switching to remoteproc (but only for pru memory, no way to allocate ddr memory)
jfsimon has quit [Remote host closed the connection]
brook has quit [Ping timeout: 268 seconds]
xet7 has joined #beagle
jfsimon1981 has quit [Ping timeout: 260 seconds]
nakbas1 has joined #beagle
nakbas1 has quit [Client Quit]
darkapex has quit [Remote host closed the connection]
darkapex has joined #beagle
nakbas1 has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
xet7 has quit [Ping timeout: 246 seconds]
brook has joined #beagle
brook has quit [Remote host closed the connection]
xet7 has joined #beagle
brook has joined #beagle
nakbas1 has quit [Ping timeout: 268 seconds]
nakbas1 has joined #beagle
brook_ has joined #beagle
brook has quit [Ping timeout: 255 seconds]
brook_ has quit [Remote host closed the connection]
<rcn-ee> and that remoteproc memory sharing hack @jkridner was a one off..idk.. memory access and irq was the big thing uio allowed (easily).. to andrew's point, what do we need to add to remoteproc_pruss that would make uio users happy.. i kinda want to say it needs to allow existing firmware to load.. idk..
<rcn-ee> we will probally revert and backport it forever, but it would be nice to have a forward option.. (some newer ti parts don't even have pruss)
lucascastro has quit [Quit: Leaving]
<jkridner> zmatt had pointed out that we could memory map the data memory under the remoteproc driver.
<jkridner> i think that is enough for *most* uio users, though something like prudebug would not work with it.
<jkridner> unclear if this can be a use case for putting the driver upstream, maintaining out of tree or motivation to add more debug features to remoteproc.
<jkridner> gdb on remoteproc sounds sane to me.
<rcn-ee> the nice thing, Andrew is wiling to add something... We need to figure out what we need and ask for it.. didn't your mem just use memmap to grab it?
<rcn-ee> ^ @jkridner patch
<rcn-ee> i thought irq control was also important to uio/pruss users..
<rcn-ee> (or lack of hard irq, do what you want irq)
<jkridner> yeah. irq is important too.
<jkridner> but, you can do fast circular buffers without it.
<jkridner> with what i got, mmap and /dev/mem was all that you needed for shared memory.
<jkridner> i had c examples in cloud9-examples.
<rcn-ee> then it's mostly pinging https://github.com/dinuxbg/gnuprumcu hey new interface.. i don't know who is maintaining llvm..
<rcn-ee> honestly, mainline will want something sane... mmap /dev/mem is off the table, it'll probally be dmabuf or cma
<rcn-ee> cma is just a carve out, dmabuf would be dynamic
<rcn-ee> dmabuf would be (more) dynamic
<rcn-ee> do we have any hope of running old binaries.. toggle i/o should work.. but memory and irq assumptions probally break..
starblue has quit [Ping timeout: 264 seconds]
brook has joined #beagle
starblue has joined #beagle
nakbas2 has joined #beagle
nakbas1 has quit [Ping timeout: 268 seconds]
nakbas2 is now known as nakbas1
brook has quit [Remote host closed the connection]
brook has joined #beagle
nakbas1 has quit [Quit: nakbas1]
vagrantc has quit [Ping timeout: 255 seconds]
nakbas1 has joined #beagle
<zmatt> the ddr memory allocated by uio-pruss is also at a runtime address
<zmatt> you can see my ddr-ping passes the address to the pru program
<zmatt> but honestly if you were to extend remoteproc with enough access to allow everything you can do with uio, then you'll have eliminated every reason to use remoteproc in the first place
<zmatt> for userspace users anyway, remoteproc is more useful for kernel users
<zmatt> like, remoteproc is really designed with the idea of loading some fixed-function blob onto a remote core with an associated kernel driver to manage it and interact with it
<zmatt> but in the usage model where a user is developing custom code that spans between linux userspace and pru, the ideas behind remoteproc just don't work and its protections serve no benefit and just get in the way
<zmatt> it's just overhead and inflexibility
<zmatt> so while I do think uio could be improved upon, I don't think shoehorning all of its functionality into remoteproc makes much sense
brook has quit [Remote host closed the connection]
<zmatt> btw for irqs you can still use uio_pdrv_genirq anyway, with or without demultiplexing through a ti,pruss-intc device
<zmatt> the only difference is that when the irq fires, uio-pruss will disable the irq in the pru-intc which means userspace needs to do a register write to reenable it, while uio_pdrv_genirq will disable the interrupt in the kernel hence userspace needs to do a system call (write()) to reenable it