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
apritzel has quit [Ping timeout: 272 seconds]
mraynal has quit [Remote host closed the connection]
mraynal has joined #armlinux
pg12 has quit [Ping timeout: 248 seconds]
pg12 has joined #armlinux
jclsn has quit [Ping timeout: 240 seconds]
jclsn has joined #armlinux
pg12 has quit [Ping timeout: 255 seconds]
pg12 has joined #armlinux
amitk has joined #armlinux
mdaadoun has joined #armlinux
mvaittin has joined #armlinux
monstr has joined #armlinux
monstr has quit [Ping timeout: 255 seconds]
milkylainen has quit [Ping timeout: 260 seconds]
milkylainen has joined #armlinux
<milkylainen>
Generic embedded question. How does one identify the mtd master device from userspace? iiuc, index and name can be anything? typically it would be mtd0, but I can't see any mtd flag or similar in the uapi telling me this is a master device? Or am I missing something?
<milkylainen>
using addpart or delpart ioctl on all the devices to check if one of them allows the call seems like a bad idea. :)
iivanov has joined #armlinux
mwalle has joined #armlinux
monstr has joined #armlinux
cbeznea has joined #armlinux
iivanov has quit [Remote host closed the connection]
prabhakarlad has joined #armlinux
Xogium has quit [Quit: Leaving.]
iivanov has joined #armlinux
amitk_ has joined #armlinux
amitk has quit [Ping timeout: 255 seconds]
sszy has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 246 seconds]
headless has joined #armlinux
mag has quit [Remote host closed the connection]
mag has joined #armlinux
ezulian has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
Nact has quit [Quit: Konversation terminated!]
rockosov has joined #armlinux
iivanov has quit [Remote host closed the connection]
iivanov has joined #armlinux
iivanov__ has joined #armlinux
iivanov has quit [Quit: Leaving]
iivanov__ has quit [Remote host closed the connection]
iivanov has joined #armlinux
luispm has joined #armlinux
sudeepholla has quit [Quit: Ex-Chat]
sudeepholla has joined #armlinux
headless has quit [Quit: Konversation terminated!]
Grimler has quit [Ping timeout: 240 seconds]
heat has joined #armlinux
nsaenz_ has joined #armlinux
iivanov has quit [Quit: Leaving]
iivanov has joined #armlinux
nsaenz has quit [Ping timeout: 272 seconds]
iivanov has quit [Client Quit]
iivanov has joined #armlinux
cbeznea_ has joined #armlinux
cbeznea has quit [Ping timeout: 258 seconds]
Grimler has joined #armlinux
Lucanis has quit [Ping timeout: 248 seconds]
Lucanis has joined #armlinux
krzk has quit [Ping timeout: 255 seconds]
AlexM_ has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
amitk_ has quit [Ping timeout: 260 seconds]
amitk has joined #armlinux
<prabhakarlad>
robmur01: I have DMA_GLOBAL_POOL selected for specific SoC (risc-v rz/five) and carve out of memory with shared-dma-pool node in the DT for non-coherenet platform. Enabling DMA_GLOBAL_POOL config is causing an regression on other platforms when using defconfig. I was under impression having DMA_GLOBAL_POOL enabled would only take into effect if
<prabhakarlad>
we had shared-dma-pool node in DT, but it doesn't look like it.
<prabhakarlad>
what should be the correct approach on using DMA_GLOBAL_POOL without causing regressions to other platforms?
krzk has joined #armlinux
nsaenz_ has quit [Read error: Connection reset by peer]
nsaenz has joined #armlinux
cbeznea has joined #armlinux
cbeznea_ has quit [Ping timeout: 255 seconds]
<robmur01>
prabhakarlad: oof, IIRC the global pool stuff was only really for nommu - not sure it's ever been expected to work that way
<robmur01>
yeah, basically it works for platforms where either every device is coherent (i.e. nommu without caches), or every device isn't (nommu with caches), where in the absence of a global pool there's no workable alternative anyway
<robmur01>
you'd need to change the fundamental dma_direct_alloc() behaviour
<prabhakarlad>
In my case the SoC is non-coherent as a result a memory is carved out for DMA using this pool.
<robmur01>
is there some reason the regular per-device coherency paths aren't enough?
<prabhakarlad>
tbh I haven't explored that path.
<robmur01>
if you have an MMU I'd expect you can just remap any old kernel memory non-cacheable, no?
<prabhakarlad>
SoC does have a MMU, can you please elaborate on it.
<prabhakarlad>
due to non coherence support the cache handling for L1/L2 is manually handled for DMA buffers for this SoC.
<robmur01>
right, DMA_DIRECT_REMAP should already take care of everything you need
torez has joined #armlinux
<prabhakarlad>
robmur01: thanks let me do some reading and ill respond the thread on ML.
cbeznea has quit [Remote host closed the connection]
cbeznea has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
monstr has quit [Remote host closed the connection]
prabhakarlad has joined #armlinux
biju has joined #armlinux
headless has joined #armlinux
<biju>
I ma seeing below message in next. Any one have seen this?