Yet another WARN [ 2.667483] WARNING: CPU: 6 PID: 1 at drivers/iommu/amd_iommu.c:2124 0xffffffff812cd85a() [ 2.667484] Modules linked in: [ 2.667488] CPU: 6 PID: 1 Comm: swapper/0 Tainted: G U 4.4.2-plx+ #6 [ 2.667489] Hardware name: empty empty/S8225, BIOS 'V3.03 ' 11/01/2012 [ 2.667490] ffffffff815efa4c ffffffff8121e0d6 0000000000000000 ffffffff81033fef [ 2.667492] ffff880422992180 ffff8804230e0098 ffff8804229c0800 ffff880423934000 [ 2.667493] ffff880422a0c000 ffffffff812cd85a ffff880422992180 ffff8804230e0098 [ 2.667495] Call Trace: [ 2.667497] [] ? 0xffffffff8121e0d6 [ 2.667498] [] ? 0xffffffff81033fef [ 2.667499] [] ? 0xffffffff812cd85a [ 2.667500] [] ? 0xffffffff812cd886 [ 2.667500] [] ? 0xffffffff812cd9a7 [ 2.667501] [] ? 0xffffffff814fa559 [ 2.667502] [] ? 0xffffffff812cb3aa [ 2.667502] [] ? 0xffffffff812cb9da [ 2.667503] [] ? 0xffffffff812ceaa3 [ 2.667504] [] ? 0xffffffff812ca7e8 [ 2.667504] [] ? 0xffffffff812ca808 [ 2.667505] [] ? 0xffffffff81306adf [ 2.667506] [] ? 0xffffffff812cb33a [ 2.667507] [] ? 0xffffffff8172b08a [ 2.667507] [] ? 0xffffffff8170c281 [ 2.667508] [] ? 0xffffffff8172b1d5 [ 2.667509] [] ? 0xffffffff8172b250 [ 2.667509] [] ? 0xffffffff8170c28f [ 2.667510] [] ? 0xffffffff810003df [ 2.667511] [] ? 0xffffffff81708e04 [ 2.667511] [] ? 0xffffffff814f62c8 [ 2.667512] [] ? 0xffffffff814f62cd [ 2.667513] [] ? 0xffffffff814facef [ 2.667513] [] ? 0xffffffff814f62c8 [ 2.667514] ---[ end trace 0000000000000001 ]--- 27.02.2016 12:58, Thomas Gleixner пишет: > On Sat, 27 Feb 2016, Thomas Gleixner wrote: >> --- a/drivers/iommu/amd_iommu.c >> +++ b/drivers/iommu/amd_iommu.c >> @@ -1952,10 +1952,10 @@ static int __attach_device(struct iommu_ >> int ret; >> >> /* >> - * Must be called with IRQs disabled. Warn here to detect early >> - * when its not. >> + * Must be called with IRQs disabled on a non RT kernel. Warn here to >> + * detect early when its not. >> */ >> - WARN_ON(!irqs_disabled()); >> + WARN_ON_NORT(!irqs_disabled()); > That wants to be > > + WARN_ON_NONRT(!irqs_disabled()); > > of course. > > -ENOTAWAKEYET >