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
PeterChen has joined #armlinux
PeterChen has quit [Remote host closed the connection]
apritzel_ has quit [Ping timeout: 252 seconds]
tlwoerner has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
mvaittin has joined #armlinux
luispm has joined #armlinux
monstr has joined #armlinux
siak has joined #armlinux
vingu has quit [Quit: Leaving.]
vingu has joined #armlinux
headless has joined #armlinux
apritzel_ has joined #armlinux
siak has quit [Remote host closed the connection]
siak has joined #armlinux
apritzel_ has quit [Ping timeout: 252 seconds]
monstr has quit [Ping timeout: 252 seconds]
cbeznea has joined #armlinux
vingu has quit [Quit: Leaving.]
vingu has joined #armlinux
frieder has joined #armlinux
jclsn has joined #armlinux
biju has joined #armlinux
frieder has quit [Ping timeout: 252 seconds]
headless has quit [Quit: Konversation terminated!]
monstr has quit [Remote host closed the connection]
<ajb-linaro>
does the kernel mask IRQs from the GIC if the attached device (PCI) is currently not enabled? Can I trace this somehow?
nsaenz has quit [Remote host closed the connection]
<cambrian_invader>
afaik Linux generally masks all irqs that aren't used by any device
apritzel has quit [Ping timeout: 252 seconds]
System_Error has joined #armlinux
<ajb-linaro>
cambrian_invader: but would bouncing setpci -s "${pdev}" 4.w=0:4 for a device mask the IRQ? (context trying to working out if the vgic is loosing the pending IRQ while device is masked)
MelodyOwO has quit [Ping timeout: 260 seconds]
<cambrian_invader>
ajb-linaro: maybe try creating a perf probe on `mask_irq` and `unmask_irq` ?
<arnd>
ajb-linaro: pci_enable_device()/pci_disable_device() controls interrupts getting sent from the PCI device to the GIC, so if a device is disabled, the GIC is completely out of the loop
rvalue- has joined #armlinux
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
biju has quit [Quit: Konversation terminated!]
gclement has joined #armlinux
apritzel_ has joined #armlinux
nsaenz has joined #armlinux
cbeznea has quit [Ping timeout: 260 seconds]
nsaenz has quit [Ping timeout: 268 seconds]
<ajb-linaro>
arnd should interrupts queue for when the device is enabled again?
<arnd>
no
<arnd>
legacy PCI interrupts are level triggered, so they would remain active until acknowledged, but that's not the same as queuing. MSIs are probably just gone
Karyon has quit [Ping timeout: 245 seconds]
headless has quit [Quit: Konversation terminated!]