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!]
<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.
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!]