Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp545176pxb; Tue, 3 Nov 2020 06:26:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8g0W9Wst+4TJkOAXlXnD+0JcjYwTqPnQmBN4kRnrOeYufBtDiaDbTVoE+2eBelZwGAVYu X-Received: by 2002:aa7:d888:: with SMTP id u8mr21199792edq.210.1604413607075; Tue, 03 Nov 2020 06:26:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604413607; cv=none; d=google.com; s=arc-20160816; b=bhnZio0KKkIr/SoAPqyy3+2/WJtaTYUHeUloRKcsJVn6qpRL3pP/BduImwU02ABbNT slgrsRULMihjVZ9H5WUScTTW8JMbQeBMwH5vkEsTb4dCO21SD7M9abvo2r3nyG8wIgcf 1ibg1M+F3EW4/lq8NaCzeoDfaximhc+RJsU5qM/G2FY3ICPqvBgxngDa+Li9HHaFJESw Uy6gFnLhLLlWVes+RpG2BmyvzoViPtbNw8yFV9/y85YN75evULtCzr7XmMqAAdwvoj5A Cx4Y4s/RF0BeornHwYJxQIrRDNFjO06WfwqW9emTRq1Vl2HJxyql/G+JVUzLJ+RahNh+ jBaw== 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=zQk/S97ZspWiP1IuSwnWiJWHXBzyWFTe6e9hOnmA6WE=; b=sr6G9OsBUZUcwlrkheRmpv9PkrEe8bQYBqKfPzmrmkJbA3n3b9QAZd86nYBOT3AeHb ay/CLpxSVLTb6+fmg6IWFqYTbTOmwSeHxnGmgnF+GmWKZEK3mbAwGYAH6bJXMk0J33yQ RLZBluWKs9C4FbADx+bQofU/SgWQ1VqRcKLo5HttKs8gyYoqVAef51HObSFmb8s82dwH /SV7j94Gry+zVhR/jIKnsQgZFaWo6WoJHWAzgZCcfO1Lqoib70q0MqiCf5LwmSjIxnkz Hdu+nG40y1gYH6n6DIs4AHxVwGM+49Ewe2CTPTQIrI0lWKtEQWgAiIkgOQVQ55AUUoh5 41vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=QalBqNAl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=oNuU5EJE; 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 p22si6887131edy.347.2020.11.03.06.26.22; Tue, 03 Nov 2020 06:26:47 -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=QalBqNAl; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=oNuU5EJE; 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 S1729708AbgKCOYT (ORCPT + 99 others); Tue, 3 Nov 2020 09:24:19 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:42596 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729705AbgKCOXE (ORCPT ); Tue, 3 Nov 2020 09:23:04 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1604413382; 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=zQk/S97ZspWiP1IuSwnWiJWHXBzyWFTe6e9hOnmA6WE=; b=QalBqNAlxHCvA00U58wEBxzceCcxe6LuAsBqou0YkPb69sAg6Dc5SsXKt0KflY23a9gqio HjzxxXFDEHPOtciZQw7z+k5kphA/aRZGpa5uBtMVlQwoKXVBP3fE2E4wMcWTv73gVzfg+Q Zg9dyWFt9POExqgBYBMYAHFscyYePzEwiWooI/iG1S94360E+p9lSWzbLJ3DvjlAf5ZT8i ieX0nGBK1p8OOBdsEvZZENvT755t6QTkbZKGBhG9jvVJIuVnS40MoXHNI5k+F+5+Lu+oyP PmvKmP4enLYz+aSV3PAhqcxvI8VG/x5iMkt4IzUR1/P9jmQiuzCpDHxaMV0lfA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1604413382; 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=zQk/S97ZspWiP1IuSwnWiJWHXBzyWFTe6e9hOnmA6WE=; b=oNuU5EJETbCC1hnFqgqleMG/b4FxXNvPyqRgnq0lRnt8yGGAJfGSdQPnE3oHZ+jbyiRbFu og17+KydbVPoo1Ag== To: Marc Zyngier Cc: Frank Wunderlich , Ryder Lee , linux-mediatek@lists.infradead.org, Frank Wunderlich , linux-kernel@vger.kernel.org, Matthias Brugger , linux-pci@vger.kernel.org, Bjorn Helgaas Subject: Re: Aw: Re: [PATCH] pci: mediatek: fix warning in msi.h In-Reply-To: <41e2e3ea115aa8cbbb9a5c313dca0210@kernel.org> References: <20201031140330.83768-1-linux@fw-web.de> <878sbm9icl.fsf@nanos.tec.linutronix.de> <87lfflti8q.wl-maz@kernel.org> <1604253261.22363.0.camel@mtkswgap22> <87k0v4u4uq.wl-maz@kernel.org> <87pn4w90hm.fsf@nanos.tec.linutronix.de> <87h7q791j8.fsf@nanos.tec.linutronix.de> <877dr38kt8.fsf@nanos.tec.linutronix.de> <901c5eb8bbaa3fe53ddc8f65917e48ef@kernel.org> <87k0v27mve.fsf@nanos.tec.linutronix.de> <41e2e3ea115aa8cbbb9a5c313dca0210@kernel.org> Date: Tue, 03 Nov 2020 15:23:02 +0100 Message-ID: <874km634ft.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 On Tue, Nov 03 2020 at 11:41, Marc Zyngier wrote: > On 2020-11-03 10:31, Thomas Gleixner wrote: > We can do that, although I worried that it isn't 100% reliable: > > pci_host_probe() ends up calling pci_add_device(), and will start > probing devices if the endpoint drivers have already registered > with the core code, long before the flag gets set. Bah, you're right. What a mess.