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
scosu_ has joined #armlinux
scosu has quit [Ping timeout: 246 seconds]
shailangsa has quit [Ping timeout: 268 seconds]
shailangsa has joined #armlinux
amitk has joined #armlinux
ChanServ has quit [shutting down]
ChanServ has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 268 seconds]
iivanov has joined #armlinux
guillaume_g has joined #armlinux
frieder has joined #armlinux
frieder has quit [Ping timeout: 246 seconds]
frieder has joined #armlinux
Pali has joined #armlinux
sszy has joined #armlinux
frieder has quit [Ping timeout: 258 seconds]
frieder has joined #armlinux
matthias_bgg has joined #armlinux
djrscally has joined #armlinux
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
monstr has joined #armlinux
luispm has joined #armlinux
mixfix41 has joined #armlinux
pg12 has quit [Ping timeout: 246 seconds]
shoragan[m] has quit [Quit: Bridge terminating on SIGTERM]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
mvaittin has quit [Quit: Bridge terminating on SIGTERM]
a3f has quit [Quit: Bridge terminating on SIGTERM]
sha has quit [Quit: Bridge terminating on SIGTERM]
psydroid has joined #armlinux
mvaittin has joined #armlinux
a3f has joined #armlinux
sha has joined #armlinux
shoragan[m] has joined #armlinux
pg12 has joined #armlinux
bps has joined #armlinux
bps has joined #armlinux
torez has joined #armlinux
monstr has quit [Ping timeout: 246 seconds]
monstr has joined #armlinux
<ukleinek> broonie: would you consider spi-mux working currently? I'm on v5.13 and see: https://paste.debian.net/1204888/
<geertu> ukleinek: His only way out would be a systemd joke ;-)
<ukleinek> geertu: looking at spi_add_device() I'm willing to bet it is not a problem in systemd
scosu_ has quit [Ping timeout: 255 seconds]
<broonie> ukleinek: I have no idea, I've never seen a system that might need it.
scosu has joined #armlinux
<mkl_> hey scosu
<broonie> ukleinek: Nobody else reported any issues, I guess they might have some different ordering WRT when drivers are registered?
guillaume_g has quit [Quit: Konversation terminated!]
guillaume_g has joined #armlinux
monstr has quit [Remote host closed the connection]
frieder has quit [Remote host closed the connection]
iivanov has quit [Ping timeout: 268 seconds]
iivanov has joined #armlinux
<scosu> hi mkl_
guillaume_g has quit [Quit: Konversation terminated!]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<ukleinek> broonie: ah, it might work with spi-mux as module ...
<ukleinek> scosu: hey, long time no read
<scosu> ukleinek: true, and long time no see ;)
<broonie> ukleinek: In any case, it does look like a bug.
headless has joined #armlinux
<marex> ukleinek: spi mux has its share of issues
<ukleinek> broonie: I guess the problem started to appear with ddf75be47ca748f8b12d28ac64d624354fddf189
<broonie> Proably.
matthias_bgg has quit [Read error: Connection reset by peer]
<marex> ukleinek: just out of curiosity, how is your spi mux wired exactly ?
matthias_bgg has joined #armlinux
<marex> ukleinek: I recall that if you had GPIO expander on SPI nCS0 , which controlled the mux , things were rather juicy
<marex> sboyd_: hey, is there some way to specify, in DT, that I want clock to be kept enabled all the time at specific frequency (say a soc clock which are output on a pin, but have no consumer except for some external gizmo) ? I can imagine assigned-clock-rates is the frequency part, but what about the "keep the clock enabled" part ?
<marex> I think I am looking for something like gpio-hog, except for clock
<ukleinek> marex: the setup is pretty much Documentation/devicetree/bindings/spi/spi-mux.yaml, for now (i.e. prototype phase) with a single GPIO
<ukleinek> marex: what is juicy?
<ukleinek> marex: different problem than https://paste.debian.net/1204888/ ?
<marex> ukleinek: last time I tried, it was full of locking issues
<ukleinek> marex: there is a locking issue, the one I identified is recursive use of spi_add_lock
<marex> ukleinek: what is controlling your mux ?
<marex> ukleinek: soc gpio or spi gpio expander ?
<ukleinek> soc gpio
<marex> oh, then that should be no problem
* ukleinek can imagine the problems you get if you need spi to drive the spi mux
<marex> ukleinek: it is juicy :)
<ukleinek> marex: the motivation to use a spi-mux is that the imx8 has only one native CS and the native CS is useful in this scenario because we need CS_WORD
Nact has joined #armlinux
matthias_bgg has quit [Ping timeout: 255 seconds]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #armlinux
milkylainen_ has joined #armlinux
prabhakarlad has quit [Ping timeout: 246 seconds]
prabhakarlad has joined #armlinux
cmarinas has joined #armlinux
<ukleinek> broonie, marex: I reverted ddf75be47ca748f8b12d28ac64d624354fddf189 now, it still triggers a lockdep splat
<ukleinek> broonie: I'm convince that the goal of ddf75be47ca748f8b12d28ac64d624354fddf189 should better be reached using the refcounting provided by the device core instead.
<ukleinek> s/convince/convinced/
<broonie> I would have thought so too TBH.
<ukleinek> the lockdep splat is about .io_mutex because there is no nesting annotation
headless has quit [Quit: Konversation terminated!]
* ukleinek wonders about "Phone: (+49)-8142-66989-56 Email: marex@denx.de" in the commit log created by b4 for 20210718211143.143557-1-marex@denx.de
<ukleinek> ah, that is picked up from the footer of Marek's reply, lol
<ukleinek> marex: Oh, the joy of corporate email footers: https://git.kernel.org/linus/ce91c6220947e4efa0db564cc50baa0151d8872b
<ukleinek> geertu: I just learned you used to work for Sony from 746ce939a2729fc6f15944f65d7b15574a243692
iivanov has left #armlinux [Leaving...]
<broonie> ahahah I bet that's b4...
<broonie> Or could be someone downloading the patch from patchwork as well.
<marex> ukleinek: much better than plain email ;-)
<ukleinek> broonie: yeah, happens with b4 on 20210718211143.143557-1-marex@denx.de, too.
<marex> ukleinek: I actively remove the footer from any ML stuff, maybe I forgot it somewhere accidentally ?
<marex> darn
* broonie just reported it to Konstantin via IRC, should probably do a proper report but I'm finishing for today.
<marex> maybe everything under -- should be dropped ?
<marex> broonie: thanks
<broonie> b4 probably ought to be --- - yes eactly.
<marex> well I should also drop those footers from ML traffic, this one got through by accident
<ukleinek> broonie: I'm about to write a mail to tools@linux.kernel.org
<broonie> ukleinek: ack
<marex> btw is b4 collecting the AB tags too ?
<ukleinek> marex: yes it doesn
<ukleinek> s/n/./
<marex> oh
<ukleinek> marex: it even searches aggressively, e.g. double checks all relevant archives for cross posted patches
<marex> ukleinek: if I wasn't so tired, I'd probably ask if it picked any ptx footers too :)
* ukleinek grepped for Phone: and didn't find any
<ukleinek> I think the ptx standard footer doesn't hit that problem in b4. It doesn't match ^[A-Za-z-]*:.*@ which I would expect b4 to use
<marex> ukleinek: that is not the regex for valid email address though :-)
Nact has quit [Ping timeout: 265 seconds]
<ukleinek> marex: the regex is: ^(\w\S+):\s+.*\S+@\S+\.\S+, which is only little better.
<marex> ukleinek: I seem to recall it was much longer than that
<ukleinek> marex: there is no regex to match all valid email addresses
Nact has joined #armlinux
<marex> ukleinek: how come ?
<broonie> the regex language is too weak to cope with the full glory of what is permitted by the RFCs.
<marex> I thought the matching was turing complete, so it should be possible to implement that match
<marex> but I also saw a rather long attempts, indeed
amitk has quit [Ping timeout: 258 seconds]
<Pali> ukleinek: I think that regex presented at that site is incomplete
<Pali> it is missing parsing of nested comments, which are allowed in email addresses per RFC5322 (and lot of people forget about it)
<Pali> ukleinek: this is "more complete" regex: https://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
<marex> that is more what I had in mind, but is that really complete ?
<Pali> no, due to nested comments
<Pali> complete regex can be written in Perl regex dialect
<Pali> it is part of Perl test suite
<Pali> line 15
<Pali> this is fully complete but uses backreferences and other perlre constructions
<Pali> which basically allows to write grammar-in-regex
<Pali> and beware that time complexity in the worst case is exponential
<Pali> (of length of input string to check)
<Pali> and personal experience? never try to parse or check email address by regex... either it will be incorrect or it can be misused for DoS attacks
apritzel has joined #armlinux
djrscally has quit [Ping timeout: 268 seconds]
Pali has quit [Ping timeout: 255 seconds]
torez has quit [Quit: torez]