From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4AC2DC388F7 for ; Tue, 3 Nov 2020 14:24:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EF0C622264 for ; Tue, 3 Nov 2020 14:24:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="QalBqNAl"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="oNuU5EJE" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729636AbgKCOYT (ORCPT ); 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-pci@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.