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
<marex> robher: ah so that is where it is, thanks
prabhakarlad has joined #armlinux
Pali has quit [Ping timeout: 240 seconds]
alpernebbi has quit [Ping timeout: 256 seconds]
Tokamak has quit [Ping timeout: 240 seconds]
alpernebbi has joined #armlinux
torez has quit [Quit: torez]
Tokamak has joined #armlinux
Tokamak has quit [Client Quit]
<wens> sboyd: could you take a look and possibly merge my Mediatek clk driver cleanup series? There are a couple other inflight series that would benefit from it, and I think we should figure out which series comes first.
mripard has quit [Ping timeout: 272 seconds]
mripard has joined #armlinux
macromorgan has quit [Quit: Leaving]
mag has quit [Remote host closed the connection]
mag has joined #armlinux
macromorgan has joined #armlinux
System_Error has quit [Ping timeout: 240 seconds]
System_Error has joined #armlinux
amitk has joined #armlinux
iivanov has joined #armlinux
cbeznea has joined #armlinux
frieder has joined #armlinux
headless has joined #armlinux
nsaenz has joined #armlinux
matthias_bgg has joined #armlinux
djrscally has joined #armlinux
sszy has joined #armlinux
Pali has joined #armlinux
m5zs7k has quit [Read error: Connection reset by peer]
m5zs7k_ has joined #armlinux
matthias_bgg has quit [Read error: Connection reset by peer]
alexels has joined #armlinux
m5zs7k_ is now known as m5zs7k
matthias_bgg has joined #armlinux
milkylainen has quit [Quit: Connection closed]
headless has quit [Quit: Konversation terminated!]
milkylainen has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
snalty has quit [Quit: ZNC 1.8.2 - https://znc.in]
snalty has joined #armlinux
prabhakarlad has joined #armlinux
Misotauros has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #armlinux
Amit_T has joined #armlinux
Amit_T has quit [Ping timeout: 240 seconds]
Tokamak has joined #armlinux
Amit_T has joined #armlinux
torez has joined #armlinux
jlinton has joined #armlinux
<mwalle> i try to boot linux on a at91 based board, but i don't get any output.. so i've enabled LL_DEBUG, but now I'm stuck with what should be in DEBUG_UART_VIRT. I know the physical address (and I see output from the decompressor) but I'm puzzled what the virt address should be
<geertu> mwalle: which AT91 is it? You can look at the offsets between phys and virt addresses in "git grep DEBUG_AT91 arch/arm/Kconfig.debug"
<mwalle> geertu: the "new" lan966x
<mwalle> (which I'm just replying to)
<mwalle> but either linux doesn't do any output or it is not working. thus I wanted to find out where that offset is coming from
<geertu> mwalle: So you know the offset from that link?
<geertu> ok
<mwalle> geertu: i fail to see where that offset is coming from. ie. linux will program the mmu for the peripherals, no?
<geertu> mwalle: For modern problems, there' usually no virtual offset to configure anymore.
<geertu> s/problems/platforms/ ;-)
<geertu> I'm a bit surprised LAN966x still has one (the Renesas SoCs no longer have)
<mwalle> geertu: is that a property of the SoC?
<geertu> arch/arm/include/debug/renesas-scif.S has:
<geertu> #define SCIF_VIRT ((SCIF_PHYS & 0x00ffffff) | 0xfd000000)
<geertu> #define SCIF_PHYS CONFIG_DEBUG_UART_PHYS
<geertu> So that's where the 0xfd000000 is coming from
<mwalle> geertu: thats where it is set, but why is it at fd00_0000 exactly?
<geertu> mwalle: debug_ll_io_init() I think
<mwalle> geertu: aah, so it is a made up address, and one could set it to any value?
<mwalle> well within reason
<geertu> mwalle: (after diving deeper in his memory) Yes, you have to pick an address that is "safe"
<geertu> Before, platforms used machine_desc.map_io(), and had to find a suitable address
<geertu> There's some context in 7a2071c58f36450f ("ARM: shmobile: Add early debugging support using SCIF(A)")
<geertu> Note that the iotable_init() calls have been long gone on these platforms, and lan966 doesn't ave them neither.
<mwalle> geertu: thanks for the hints, I'll dig deeper
<j`ey> /win 84
<j`ey> woops, sorry
prabhakarlad has quit [Quit: Client closed]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jlinton83 has joined #armlinux
jlinton has quit [Ping timeout: 256 seconds]
jlinton83 has quit [Quit: Client closed]
jlinton has joined #armlinux
<javierm> geertu: awesome patch-set! I'll take a look at this tomorrow
<mraynal> geertu: hey! I would like your input before getting my ax out
<mraynal> geertu: on rzn1 there is a nice system controller with a *lot* of different registers (clock, reset, dma, etc)
<mraynal> geertu: so far the entire area is taken by a clock node in the DT
<mraynal> but I need eg. to configure DMA there from somewhere else than the clock driver
headless has joined #armlinux
<mraynal> should I create an MFD driver and make the clk provider driver a child?
<javierm> mraynal: that's what done usually, yes
<javierm> mraynal: when there's a multi-function device whose register space is shared
<mraynal> javierm: do we need to reflect this with DT subnodes?
<mraynal> actually even with subnodes, I am wondering how I should hook up the DMA controller with this area
alexels has quit [Quit: WeeChat 3.4]
<mraynal> when the peripheral requests a DMA channel, I believe the DMA controller should set one bit in this particular area telling the system controller "this channel is used by this device" (kind of a mux), but exporting such an interface would require a fully custom interface
<javierm> mraynal: that's a very good question. Some MFD drivers expose the device topology to the DT but others don't
matthias_bgg has quit [Quit: Leaving]
Misotauros has joined #armlinux
nsaenz has quit [Remote host closed the connection]
Amit_T has quit [Quit: Leaving]
iivanov has quit [Quit: Leaving...]
XV8 has joined #armlinux
amitk has quit [Ping timeout: 240 seconds]
headless has quit [Ping timeout: 272 seconds]
XV8 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
XV8 has joined #armlinux
cbeznea has quit [Ping timeout: 252 seconds]
<sboyd> wens: sure thing
macromorgan has quit [Quit: Leaving]
darkapex has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
darkapex has joined #armlinux
frieder has quit [Remote host closed the connection]
XV9 has joined #armlinux
XV8 has quit [*.net *.split]
agraf has quit [*.net *.split]
sjg1 has quit [*.net *.split]
khilman has quit [*.net *.split]
scosu has quit [*.net *.split]
geertu has quit [*.net *.split]
kos_tom has quit [*.net *.split]
shoragan has quit [*.net *.split]
mrlemke has quit [*.net *.split]
ajb-lina- has quit [*.net *.split]
maz has quit [*.net *.split]
iwamatsu has quit [*.net *.split]
marex has quit [*.net *.split]
vup has quit [*.net *.split]
kristinam has quit [*.net *.split]
sjg1 has joined #armlinux
agraf has joined #armlinux
scosu has joined #armlinux
khilman has joined #armlinux
shoragan has joined #armlinux
maz has joined #armlinux
kos_tom has joined #armlinux
kristinam has joined #armlinux
marex has joined #armlinux
mrlemke has joined #armlinux
ajb-lina- has joined #armlinux
geertu has joined #armlinux
vup has joined #armlinux
iwamatsu has joined #armlinux
Grimler has quit [Ping timeout: 240 seconds]
Grimler has joined #armlinux
torez has quit [Quit: torez]
prabhakarlad has joined #armlinux
Grimler has quit [Ping timeout: 240 seconds]