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
mag has quit [Ping timeout: 252 seconds]
apritzel has quit [Ping timeout: 250 seconds]
Pali has quit [Ping timeout: 246 seconds]
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat_ is now known as heat
mag has joined #armlinux
matthias_bgg has quit [Ping timeout: 246 seconds]
matthias_bgg has joined #armlinux
elastic_dog has quit [Ping timeout: 264 seconds]
elastic_dog has joined #armlinux
heat has quit [Read error: Connection reset by peer]
heat has joined #armlinux
tachoknight has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cbeznea has joined #armlinux
heat has quit [Ping timeout: 250 seconds]
iivanov has joined #armlinux
marshmallow has quit [Quit: ZNC 1.9.x-git-170-9be0cae1 - https://znc.in]
marshmallow has joined #armlinux
matthias_bgg has quit [Ping timeout: 252 seconds]
apritzel has joined #armlinux
matthias_bgg has joined #armlinux
cbeznea1 has joined #armlinux
apritzel has quit [Ping timeout: 268 seconds]
cbeznea has quit [Read error: Connection reset by peer]
guillaume_g has joined #armlinux
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #armlinux
cbeznea1 has quit [Quit: Leaving.]
cbeznea has joined #armlinux
<geertu> sboyd: thx!
rvalue has quit [Ping timeout: 246 seconds]
<arnd> pulled everything I got for v6.1 now, the only thing that's missing is marcan's DT update
hanetzer has quit [Quit: WeeChat 3.6]
viorel_suman has joined #armlinux
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #armlinux
sszy has joined #armlinux
matthias_bgg has quit [Ping timeout: 268 seconds]
lag has quit [Ping timeout: 260 seconds]
headless has joined #armlinux
apritzel_ has joined #armlinux
mag has quit [Ping timeout: 250 seconds]
mag has joined #armlinux
_alice has joined #armlinux
monstr has joined #armlinux
chipxxx has quit [Read error: Connection reset by peer]
plappermaul has joined #armlinux
rvalue has joined #armlinux
matthias_bgg has joined #armlinux
lag_ has joined #armlinux
nipung has joined #armlinux
chipxxx has joined #armlinux
plappermaul has quit [Quit: Client closed]
lag_ has quit [Ping timeout: 250 seconds]
chipxxx has quit [Quit: Leaving]
chipxxx has joined #armlinux
lag has joined #armlinux
Pali has joined #armlinux
biju has joined #armlinux
cbeznea has quit [Quit: Leaving.]
headless has quit [Quit: Konversation terminated!]
plappermaul has joined #armlinux
<mwalle> maz: if you have some spare minutes, could you have a look at https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/tree/drivers/pinctrl/pinctrl-ocelot.c#n1839 if there is something fishy going on?
<mwalle> maz: the controller just supports edge triggered interrupts (both edges only, just a simple pin change interrupt), but the driver wants to support level interrupts
cbeznea has joined #armlinux
cbeznea has quit [Client Quit]
torez has joined #armlinux
<maz> mwalle: well, it will probably break badly in some edge cases.
chipxxx has quit [Read error: Connection reset by peer]
biju has quit [Ping timeout: 252 seconds]
chipxxx has joined #armlinux
<mvaittin> mwalle: maz I find this interesting. I believe the classic race for treating device which is designed to operate with level IRQs is a new IRQ firing between reading status and acking. This will traditionally cause the device to keep line asserted - and controller never sees another edge. By reading the code here it seems to me that controller overcomes this by checking the line-status after ack to ensure device has really released the line. I
<mvaittin> am interested in hearing if this actually works - or what are the corner-cases if it does not :) (I am not in any ways related to this code - just curious about the concept)
cbeznea has joined #armlinux
cbeznea has quit [Client Quit]
cbeznea has joined #armlinux
biju has joined #armlinux
<mwalle> maz: mvaittin: what i'm seeing is that the irq count increases (much) more than there are actual irqs. E.g. I'm using this for a simple phy interrupt, and the count increases by about 20 for each interrupt
<mwalle> (irq count in /proc/interrupts)
<mvaittin> mwalle: Thanks :) Then it seems definitely not good :)
<mwalle> i tried to debug it, but honestly, i'm not very familiar with the whole low level irq handling in linux. i'm seeing repeated calls to ocelot_irq_mask() and ocelot_irq_unmask()
<mwalle> mvaittin: well, it doesn't happen with all the phys, some seem to work properly.. maybe its just the phy which doesn't play nice by not deasserting the interrupt line after reading its interrupt status register. but then i should see the actual call to the phy interrupt routine, which i don't. mh
<mwalle> maz: i'll debug it further. I thought that maybe you'd instantly say, this cannot work at all ;)
heat has joined #armlinux
<prabhakarlad> Hi all, anyone given a shot to build the latest next (next-20220928) to build for arm64 (I am seeing build failures for defconfig)?
chipxxx has quit [Read error: Connection reset by peer]
<ardb> maz: is it permitted to combine GICv3 with v2m MSI frames?
<mwalle> prabhakarlad: related to memblk_nr_poison_inc etc?
chipxxx has joined #armlinux
<mwalle> prabhakarlad: i've build todays next successfully for aarch64, although not the defconfig
<maz> ardb: not architectturally. there is an amazons-special hack for their not-quite v2m that is allowed by the driver, but that's about it.
<maz> mwalle: it can probably be made to work, but I really don't have time to look at this and debug it (specially not without the HW).
<maz> ardb: I recently saw some macOS emulator using HVF exposing this combo, and shouted at the authors... ;-)
<ardb> maz: yeah it seems it is popping up in other places as well
<ardb> and supposedly windows supports it :-(
<maz> that's pretty daft, as GICv3-MBI is designed for that.
<maz> well, windows does all sort of stupid things, including accessing PMUs that don't exist.
<ardb> that uses setspi/clrspi right?
<ardb> (or sth like that)
<ardb> or is that something else (i mean the thing qualcomm were using)
<maz> ardb: yup. GICv2m only has the SETSPI version (edge only), while GICv3-MBI has both set and clr.
<maz> allowing level as well.
plappermaul has quit [Quit: Client closed]
<maz> ardb: to be honest, if they are using this for MSIs only, the programming interface is almost the same.
<ardb> maz: to the extent that one might cheat and describe MBI as a v2m ?
<maz> ardb: yeah, that could actually work.
<maz> you wouldn't get level MSI, but that's probably a good thing.
<ardb> you wouldn't need that for pci anyway
<maz> thankfully!
nipung has quit [Quit: Client closed]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
plappermaul has joined #armlinux
<prabhakarlad> mwalle: https://paste.debian.net/1255414/ (I couldn't paste the complete log)
hanetzer has joined #armlinux
heat_ has joined #armlinux
heat has quit [Read error: Connection reset by peer]
<robmur01> ardb: annoyingly SBSA does call out the v3/v2m combination, but the intent is purely for GICv3-unaware hypervisors using it in compatibility mode
<robmur01> (so essentially it's valid in hardware, but still nonsensical to expose to software as such)
tachoknight has joined #armlinux
guillaume_g has quit [Quit: Konversation terminated!]
<nathanchance> prabhakarlad: I think https://lore.kernel.org/20220929081642.1932200-1-keescook@chromium.org/ should be the fix for that issue
<prabhakarlad> nathanchance: thanks, Ill give that a try.
cbeznea has quit [Quit: Leaving.]
plappermaul has quit [Quit: Client closed]
plappermaul has joined #armlinux
plappermaul has quit [Client Quit]
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
viorel_suman has quit [Quit: WeeChat 3.5]
apritzel_ has quit [Ping timeout: 265 seconds]
lag_ has joined #armlinux
lag has quit [Ping timeout: 265 seconds]
monstr has quit [Remote host closed the connection]
heat_ is now known as heat
headless has joined #armlinux
amitk has quit [Ping timeout: 260 seconds]
apritzel has joined #armlinux
iivanov has quit [Quit: Leaving...]
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #armlinux
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #armlinux
chipxxx has quit [Read error: Connection reset by peer]
matthias_bgg has quit [Ping timeout: 268 seconds]
macromorgan has quit [Remote host closed the connection]
macromorgan has joined #armlinux
matthias_bgg has joined #armlinux
NukeDuke has joined #armlinux
HardWallzz has quit [Ping timeout: 246 seconds]
heat has quit [Remote host closed the connection]
heat has joined #armlinux
heat has quit [Remote host closed the connection]
heat has joined #armlinux
macromorgan has quit [Read error: Connection reset by peer]
headless has quit [Quit: Konversation terminated!]
macromorgan has joined #armlinux
matthias_bgg has quit [Quit: Leaving]
Pali has quit [Ping timeout: 250 seconds]
torez has quit [Quit: torez]
tlwoerner has quit [Read error: Connection reset by peer]
tlwoerner has joined #armlinux