Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp433219pxb; Thu, 12 Nov 2020 07:22:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzJr+Jnc9/3gQJQ5ZAtcXA9txwA/Y7qaBiEtfSCMtmFIFPhsBsPdt2wHcYuSOjcpaaqmvgV X-Received: by 2002:a05:6402:38f:: with SMTP id o15mr237566edv.73.1605194570203; Thu, 12 Nov 2020 07:22:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605194570; cv=none; d=google.com; s=arc-20160816; b=u3lUjUCVSbr+ANGhe5kuKIW7bzRk4WeSPyqFYdenzTAzueyjzvaW5cee1BVnA2oczv FBUpaObYqNmXWqYlzpw4zsj6OAHcxV6Sf/Vr6EKpqT8hOPOhe2jARyKTgNpaz8ATvg1B WRHSZXV6tSolPUY6oc8lON1LA8hFO6aPEypHge0kllgcqAYiAV/UdE/soim2c3pUfT7g MCMy0XH10TGm1yHja3Me36QQi2MsA0WY+rnnExf1XMKT8cCkSVCVjWnjTHutMDtaTida 4LB9WJFqG6hblY9NMJur/Iy+cn61xawhI1219kuzrdJtt9Y+90WkXR2s3EZbo4/nFfOz AphQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=agGytP2/PxrD6HdXqGAuy03iJZcEBb4+WEPn1OkpUoY=; b=J8cRIStEgt8mCGE1CMNyZ6kBv94zgtTxabBpKUqNttu/N5AyP+Ici9CrQ9y+cfZhM0 3L/QhjzOqguEdoAccKgQhUCHxhX2exWzUY/h4RjdLonkrafF5c9DCKw0OC2vksylQd64 eqfyoC/kC3MdeBjc7D80krBScysus2R0k4zHYUlsfgGwnXAbzugxoDfWvVZGWu388FQL /XuzSgFjc0Vabmt44Y5oQmGm4ebO4HqH1pnDSCI/JgHGrhcIt+eTCQyFZ2T7D4HDu+Ph qrnryByQXhseUWf9p2a5k3NFUBjJBEFkQRBByosdgSaDbhL2NfbAE/DNB43H3gMvj1Ca EgQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3aM4Iilk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Lv2IqEdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si3535301eja.87.2020.11.12.07.22.25; Thu, 12 Nov 2020 07:22:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=3aM4Iilk; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=Lv2IqEdi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728586AbgKLPS0 (ORCPT + 99 others); Thu, 12 Nov 2020 10:18:26 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:45340 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728346AbgKLPS0 (ORCPT ); Thu, 12 Nov 2020 10:18:26 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605194304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=agGytP2/PxrD6HdXqGAuy03iJZcEBb4+WEPn1OkpUoY=; b=3aM4IilkkU0xEOJEYSQd1hmEqdFkHn8jAsqqH43Gr2WYbPm4EWg8o6PnKPPYpWEUfg5em0 CrkMxX0rtOoTBHSqOiS2bIDUN2mfDYu9vQSuX8gdjJJXhGx06iMc2CXPjL9jCv9FjTifxt uVtlDKcPFT/T5uSztIULaMiZqJpldD7SxYssbR15JZcci/S9I16YmRTqpaUUFY5IRXgdd2 J3HzX4lP/qOz+GCof+DpjC8ykxuUYg19zcChLVnUKx78WjuuX1A4kqYlgh9T9lobWluOvs GCKNp4wn92XIbkfPX/+eE7Ps0D48mtngYiTtUac5467oBGdXU/fE78Wgq17bHg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605194304; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=agGytP2/PxrD6HdXqGAuy03iJZcEBb4+WEPn1OkpUoY=; b=Lv2IqEdi1qkvj7YNIX4gttzR6NFKXNORHb79P1h95gfmxiqgR3L9Asy2Nvhxp41LIcpRna Q0sdEygGMl1vmBCw== To: Jason Gunthorpe , Ziyad Atiyyeh , Itay Aveksis , Moshe Shemesh Cc: LKML , x86@kernel.org, Joerg Roedel , iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, Bjorn Helgaas , Marc Zyngier , David Woodhouse Subject: Re: REGRESSION: Re: [patch V2 00/46] x86, PCI, XEN, genirq ...: Prepare for device MSI In-Reply-To: <87mtzmmzk6.fsf@nanos.tec.linutronix.de> References: <20200826111628.794979401@linutronix.de> <20201112125531.GA873287@nvidia.com> <87mtzmmzk6.fsf@nanos.tec.linutronix.de> Date: Thu, 12 Nov 2020 16:18:23 +0100 Message-ID: <87k0uqmwn4.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 12 2020 at 15:15, Thomas Gleixner wrote: > On Thu, Nov 12 2020 at 08:55, Jason Gunthorpe wrote: >> On Wed, Aug 26, 2020 at 01:16:28PM +0200, Thomas Gleixner wrote: >> They were unable to bisect further into the series because some of the >> interior commits don't boot :( >> >> When we try to load the mlx5 driver on a bare metal VF it gets this: >> >> [Thu Oct 22 08:54:51 2020] DMAR: DRHD: handling fault status reg 2 >> [Thu Oct 22 08:54:51 2020] DMAR: [INTR-REMAP] Request device [42:00.2] f= ault index 1600 [fault reason 37] Blocked a compatibility format interrupt = request >> [Thu Oct 22 08:55:04 2020] mlx5_core 0000:42:00.1 eth4: Link down >> [Thu Oct 22 08:55:11 2020] mlx5_core 0000:42:00.1 eth4: Link up >> [Thu Oct 22 08:55:54 2020] mlx5_core 0000:42:00.2: mlx5_cmd_eq_recover:2= 64:(pid 3390): Recovered 1 EQEs on cmd_eq >> [Thu Oct 22 08:55:54 2020] mlx5_core 0000:42:00.2: wait_func_handle_exec= _timeout:1051:(pid 3390): cmd0: CREATE_EQ(0=C3=83=C2=97301) recovered after= timeout >> [Thu Oct 22 08:55:54 2020] DMAR: DRHD: handling fault status reg 102 >> [Thu Oct 22 08:55:54 2020] DMAR: [INTR-REMAP] Request device [42:00.2] f= ault index 1600 [fault reason 37] Blocked a compatibility format interrupt = request >> >> If you have any idea Ziyad and Itay can run any debugging you like. >> >> I suppose it is because this series is handing out compatability >> addr/data pairs while the IOMMU is setup to only accept remap ones >> from SRIOV VFs? > > So the issue seems to be that the VF device has the default irq domain > assigned and not the remapping domain. Let me stare into the code to see > how these VF devices are set up and registered with the IOMMU/remap > unit. Found the reason. Will fix it after walking the dogs. Brain needs some fresh air. Thanks, tglx