Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1534451pxb; Fri, 13 Nov 2020 15:44:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmGUMmEpZa4vg3iI52e2x9sdsc9mbYUXSV6CkK1LHe1O88FdFP4GpiKTXXHj2BvhCjrbwX X-Received: by 2002:a17:906:349b:: with SMTP id g27mr4674703ejb.512.1605311045945; Fri, 13 Nov 2020 15:44:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605311045; cv=none; d=google.com; s=arc-20160816; b=qMRBW8tlWybHv3l94xkrmgIZObkZT/jSrNMAKRFcVKF4rLR7KGBG2Msc7dUwKkuC5U lfI9aCvSSxq9fUvaQKPsoesbpeZmuGaVNJPw2Ar0dYbzpaFlj5c+ZzoHjJiv2p7GjqBr AqTTKry5siA0t559Y3DNPBQFOmSldVFA26HSg/mWfvLe33mTWd+oR8wqOGbWBOBxCZXj OSkKQ6+51+McbC2ORzWFtjRfMisRDi/6TUMUQXLGVhHakLtrWCo/1tMnd2nRZt/HQwdb XWwYeZxwWtJWrn/2jRIAXATRkgiSI78su1ywL+NF3t5w6Gh93iv9ZhSP7U/o3fW7RynN rlzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=eV1maNi6vuGWhMNE13VARkM72eq295CJo6jJCk4UikM=; b=wjZ9QwRtKBr4UDg6E6BBuOFwsRbrgIH8aIdzSJjeKjcihSWZUR5ve6N99UMVZ/ZMHi RCd3L29CpFq3nzkdmSu1sSr4pxSOPjc7buG4k2dYPRkZ4YpXGht6edLOYkujHqwXx5JV U4YhgPszo644c2CV/DSO+QcNoVkAp0wxVrBVc87nc+CrG0wW5U1HQi/cBuKObw7lIAsB /gHyOJu+b/yXXCycEBlVT9i0svSOrnkF17oz2R6KvPZZqeM81ywNBZIf2i9RbCfczGcm S2o/rZIDT1UlbUt4L87I4F9AsWhJ4Gfv42ad8y3CcT7HxuGfCPb3T/KrTZfCUW3dBYbe oi6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linutronix.de header.s=2020 header.b=kCv0ezlJ; dkim=neutral (no key) header.i=@linutronix.de header.b=TNqY+jtv; 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=fail (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 m16si6664257ejc.357.2020.11.13.15.43.43; Fri, 13 Nov 2020 15:44:05 -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=fail header.i=@linutronix.de header.s=2020 header.b=kCv0ezlJ; dkim=neutral (no key) header.i=@linutronix.de header.b=TNqY+jtv; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbgKMXkN (ORCPT + 99 others); Fri, 13 Nov 2020 18:40:13 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:55938 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbgKMXkM (ORCPT ); Fri, 13 Nov 2020 18:40:12 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1605310810; 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: in-reply-to:in-reply-to:references:references; bh=eV1maNi6vuGWhMNE13VARkM72eq295CJo6jJCk4UikM=; b=kCv0ezlJIzNFkY80MPj+DrD+sB2GSaqpvpOpo3Qd7FEjJJ3stu9HGrjahGb5qzIE0h03Qn iS3AvDg13mQNgctLX2MnuY8QIdfj+BCL9pAxf1EmuX16S6OJ9BLqiYnMh4RLmLct24ZHsQ QG9ApUt/6q75848TCgS0Hle14hA2o7LhyAvEyoRW6jqVkStWa4quLj5oQlYQWeXSs7ofJa yLi5xcp0NVZg/YQOcUMBhwdwLqUU/kDzzsjmga8tHoMgwe1LEX4wDC4BTimeGAsMdPaOb4 CgbWm+rE5ajbumm9iBWYVf93LpSR94p/IWA/XjV8biVp/xO/X9DQrQSrmenB1Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1605310810; 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: in-reply-to:in-reply-to:references:references; bh=eV1maNi6vuGWhMNE13VARkM72eq295CJo6jJCk4UikM=; b=TNqY+jtvCWIkSpk+1qI+9rFlsVm6anlCNRixUaxIDKTrlNdl0Z5Z7JnbJxlI86vPTXbw9V joxm4GO3bLoFETCQ== To: Bjorn Helgaas , "Guilherme G. Piccoli" Cc: linux-pci@vger.kernel.org, kexec@lists.infradead.org, x86@kernel.org, linux-kernel@vger.kernel.org, bhelgaas@google.com, dyoung@redhat.com, bhe@redhat.com, vgoyal@redhat.com, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, andi@firstfloor.org, lukas@wunner.de, okaya@kernel.org, kernelfans@gmail.com, ddstreet@canonical.com, gavin.guo@canonical.com, jay.vosburgh@canonical.com, kernel@gpiccoli.net, shan.gavin@linux.alibaba.com, Eric Biederman Subject: Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks In-Reply-To: <87ft5cltqa.fsf@nanos.tec.linutronix.de> References: <20201113164638.GA1019448@bjorn-Precision-5520> <87ft5cltqa.fsf@nanos.tec.linutronix.de> Date: Sat, 14 Nov 2020 00:40:10 +0100 Message-ID: <87d00gltb9.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bjorn, On Sat, Nov 14 2020 at 00:31, Thomas Gleixner wrote: > On Fri, Nov 13 2020 at 10:46, Bjorn Helgaas wrote: >> pci_device_shutdown() still clears the Bus Master Enable bit if we're >> doing a kexec and the device is in D0-D3hot, which should also disable >> MSI/MSI-X. Why doesn't this solve the problem? Is this because the >> device causing the storm was in PCI_UNKNOWN state? > > That's indeed a really good question. So we do that on kexec, but is that true when starting a kdump kernel from a kernel crash? I doubt it. Thanks, tglx