bauruine has quit [Remote host closed the connection]
paddymahoney has joined #riscv
pedja has joined #riscv
radu242757 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242757 is now known as radu24275
BootLayer_ has quit [Quit: Leaving]
jjido has joined #riscv
JanC has quit [Quit: 'k zien d'r mee weh zi]
JanC has joined #riscv
JanC has quit [Remote host closed the connection]
elastic_dog has quit [Quit: elastic_dog]
JanC has joined #riscv
elastic_dog has joined #riscv
motherfsck has quit [Ping timeout: 248 seconds]
paddymahoney has quit [Remote host closed the connection]
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
* bjdooks
also needs to deal with platforms that don#t have any dma32 capable memory
motherfsck has joined #riscv
<conchuod>
bjdooks: eww
<bjdooks>
yeah
<conchuod>
Being responsible for one such platform where having PCI working "well" means no DMA32, it's a giant pain
<bjdooks>
I think the DMA32 stuff in the kernel needs looking at again... either some form of "null iommu" or something like that
<bjdooks>
although the dw-pcie should be able to create an very simple iommu as it does have some address translation units in it
<bjdooks>
but that's more work than i'd like to do at the moment
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #riscv
radu242755 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242755 is now known as radu24275
hb9fxx has quit [Ping timeout: 260 seconds]
BootLayer has joined #riscv
muurkha has joined #riscv
aerkiaga has joined #riscv
Trifton has left #riscv [#riscv]
Trifton has joined #riscv
Trifton has quit [Quit: Error: no route to host]
jack_lsw has joined #riscv
jack_lsw has quit [Quit: Back to the real world]
dor has quit [Ping timeout: 255 seconds]
jacklsw has joined #riscv
aerkiaga has quit [Remote host closed the connection]
elastic_dog has quit [Ping timeout: 246 seconds]
elastic_dog has joined #riscv
radu242754 has joined #riscv
radu24275 has quit [Ping timeout: 255 seconds]
radu242754 is now known as radu24275
<conchuod>
arnd: if I'm sending PRs to instead of Palmer what is your rc cutoff?
wingsorc has joined #riscv
<prabhakarlad>
Hi all, I am currently investigating on adding alternative_call_x() (something like what x86 has) so that we can call c functions from ALTERNATIVE() macros. So to start with Im experimenting by calling something like "asm volatile("call testfunc" : : : ) from a C function. When I run this testfunc() is being called once it returns to caller
<prabhakarlad>
function I get "Unable to handle kernel paging request". Any pointers on what I could be missing?
<prabhakarlad>
on the x86 implementation sp is added in the clobber list, I tried the same but this had no effect.
sympt has joined #riscv
rneese has quit []
aburgess has quit [Ping timeout: 255 seconds]
<dh`>
at an absolute minimum an asm that does a call needs to mark all the caller-save registers destroyed
<dh`>
but really, doing that is just a bad idea, not sure what horrible linux thing you might be trying to deal with but it can't be the right answer
<prabhakarlad>
so I am experimenting doing on similar lines.
<prabhakarlad>
so in the clobber list I added the "memory", "x1", "x2" and I no more see "Unable to handle kernel paging request".
jacklsw has quit [Quit: Back to the real life]
<dh`>
I'm not going to ask why that's not just an ordinary call
<prabhakarlad>
dh`::)
<prabhakarlad>
In brief to apply the errata's runtime.
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #riscv
indy has joined #riscv
aerkiaga has joined #riscv
crabbedhaloablut has quit [Write error: Connection reset by peer]
tusko has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
tusko has joined #riscv
prabhakarlad has quit [Quit: Client closed]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
prabhakarlad has joined #riscv
jellydonut has quit [Quit: jellydonut]
jellydonut has joined #riscv
jjido has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<arnd>
conchuod: I don't have a strict cutoff, it all depends on the contents. If there is a lot of stuff for a given release, I'd prefer to get the bulk of it early, plus some later fixups over getting everything close to some cutoff point. It also helps to have your tree already in linux-next
<conchuod>
My tree for microchip stuffs already in next, so that should be okay
<conchuod>
Once palmer sends a mail about other dt stuff, should I put it on the same branch or would you rather things kept separate?
<courmisch>
prabhakarlad: if the callee is not implemented in assembler with strictly a controlled set of clobber, you'd need to mark all aX, tX, faX, ftX, and vX registers plus ra. It's going to be a mess
<courmisch>
alternatives should be written mostly with actual *inline* assembler, IMO
<conchuod>
arnd: I'll try and have whatever sorted for like rc6, that's what I had been aiming for.
<prabhakarlad>
courmisch: thanks for the suggestion. I'll give that a shot.
<prabhakarlad>
agreed alternatives should be written with actual assembler, the problem is that for the CMO stuff we got quite some C code.
radu242754 has joined #riscv
<courmisch>
if it's a lot of code, you'd need to write it as out-of-line assembler, so the function can have minimal clobbers. Similar to compiler run-time functions
<courmisch>
either way, that requires assembler
radu24275 has quit [Ping timeout: 255 seconds]
radu242754 is now known as radu24275
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #riscv
wingsorc has quit [Quit: Leaving]
aburgess has joined #riscv
<prabhakarlad>
thanks for the pointer, Ill have to do some ground work on it.
Trifton has joined #riscv
vagrantc has joined #riscv
radu242751 has joined #riscv
BootLayer has quit [Quit: Leaving]
radu24275 has quit [Ping timeout: 246 seconds]
radu242751 is now known as radu24275
aerkiaga has quit [Remote host closed the connection]
Trifton has quit [Ping timeout: 248 seconds]
Trifton has joined #riscv
radu24275 has quit [Read error: Connection reset by peer]
radu24275 has joined #riscv
jmdaemon has joined #riscv
rneese has joined #riscv
rneese has quit [Client Quit]
pedja has quit [Quit: Leaving]
Trifton has quit [Ping timeout: 272 seconds]
bjoto has quit [Ping timeout: 248 seconds]
radu242757 has joined #riscv
radu24275 has quit [Ping timeout: 246 seconds]
radu242757 is now known as radu24275
elastic_dog has quit [Remote host closed the connection]