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
heat has quit [Read error: Connection reset by peer]
heat_ has joined #armlinux
heat_ is now known as heat
apritzel_ has quit [Ping timeout: 240 seconds]
jclsn has quit [Ping timeout: 248 seconds]
jclsn has joined #armlinux
heat has quit [Ping timeout: 240 seconds]
luispm has joined #armlinux
mal`` has quit [Quit: Leaving]
monstr has joined #armlinux
apritzel_ has joined #armlinux
mal`` has joined #armlinux
apritzel_ has quit [Ping timeout: 246 seconds]
_sfo has joined #armlinux
iivanov has joined #armlinux
cbeznea has joined #armlinux
guillaume_g has joined #armlinux
sszy has joined #armlinux
Turingtoast has joined #armlinux
bps2 has joined #armlinux
Turingtoast has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
monstr has quit [Remote host closed the connection]
monstr has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
apritzel has joined #armlinux
Turingtoast has joined #armlinux
headless has joined #armlinux
amitk has joined #armlinux
iivanov has quit [Remote host closed the connection]
tom5760 has quit [Remote host closed the connection]
bryanb has quit [Remote host closed the connection]
d4ve has quit [Remote host closed the connection]
d4ve has joined #armlinux
bryanb has joined #armlinux
tom5760 has joined #armlinux
iivanov has joined #armlinux
bps2 has quit [Ping timeout: 240 seconds]
apritzel has quit [Ping timeout: 240 seconds]
amitk has quit [Ping timeout: 246 seconds]
amitk has joined #armlinux
apritzel_ has joined #armlinux
bps2 has joined #armlinux
headless has quit [Quit: Konversation terminated!]
prabhakarlad has quit [Quit: Client closed]
cbeznea has quit [Quit: Leaving.]
bps3 has joined #armlinux
bps2 has quit [Ping timeout: 246 seconds]
amitk__ has quit [Quit: leaving]
<linusw__>
ardb: some platforms have TCM/SRAM on-chip memory, do you know if someone toyed with the idea to move computing intensive kernel code such as cryptos into these memories?
<linusw__>
I thought about it long ago when I implemented TCM support but all I ever saw people load was to sideload algorithms into them from userspace.
<ardb>
linusw__: i worked on a system in the past where we used it for DMA
<ardb>
which was non-coherent so the SRAM was much faster
<ardb>
for CPU intensive stuff it doesn't make a great deal of difference unless you are concerned about confidentiality
<ardb>
(i.e., sniffing the DRAM signal lines)
<linusw__>
hm that would be a pretty good reason to use it actually
<linusw__>
yeah it will probably not speed up much if you already have l2cache which will be just as fast +/- overhead
<linusw__>
for SRAM... if the system has actual TCM memory that is as fast as l1cache, which is really fast. But I hear people don't make them much anymore.
<ardb>
yeah the system i implemented this on was a NXP arm9
<ardb>
and this was 10+ years ago
<arnd>
linusw__: I remember looking through a kernel tree for a Quantenna SoC that this
cbeznea has joined #armlinux
<arnd>
This was a slow ARC CPU, not ARM, but the idea was the same: they must have manually profiled the kernel to see which functions were in the hot path for packet forwarding and moved them into ITCM at link time to improve performance of their routers
<linusw__>
the reason I asked was because I added proper support for the SRAM in ux500 and it has 640K of SRAM, quite a lot, so was thinking why we kind of need a mechanism to just put that into the generic memory pool
<linusw__>
Because we are using like ... 1K of it.
<robmur01>
enough to run all of MS-DOS! :D
<linusw__>
hehe
<arnd>
linusw__: geertu mentioned the RZ/A1 the other day, this even has 9MB (iirc) of SRAM, which means you can either run it entirely from SRAM, or you use a larger external DRAM and the SRAM gets wasted
<linusw__>
we have a DT attribute "pool" but it doesn't mean "global pool" instead "local pool you can use if you request it specially"
<arnd>
linusw__: a low-effort method to move code into sram might be have a way to have an entire loadable module allocated from sram instead of using vmalloc, using a new flag to the finit_module() syscall
apritzel_ has quit [Ping timeout: 240 seconds]
monstr has quit [Remote host closed the connection]
apritzel has joined #armlinux
heat has joined #armlinux
torez has joined #armlinux
amitk has quit [Ping timeout: 256 seconds]
DynamiteDan has quit [Excess Flood]
DynamiteDan has joined #armlinux
nsaenz_ has joined #armlinux
cbeznea has quit [Quit: Leaving.]
guillaume_g has quit [Quit: Konversation terminated!]