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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03D45C433EF for ; Mon, 20 Jun 2022 19:08:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244894AbiFTTIX (ORCPT ); Mon, 20 Jun 2022 15:08:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244329AbiFTTIT (ORCPT ); Mon, 20 Jun 2022 15:08:19 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E08AB63CB; Mon, 20 Jun 2022 12:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=I9JnMjmAl+wncDy9zdMXbHRNZeq3DoxfwmauEBSTDeE=; b=GOD56Y9zHryF7WAzDRI2QyaXi0 8Cl1YZtE109vd3tf4jUQK7fuLgZ8IBznPOW0z3bIqxY5jr+ILsIL5U3+ii8Wy7FGP4CDFNpRsyhf6 EYlTuP+VVQwBeIR4nwoeQfb3FifwOoyapKabT1f19gAhtYmPoFyleuzIZ/tO6Tw8Y+jE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1o3Mku-007dzr-0I; Mon, 20 Jun 2022 21:08:12 +0200 Date: Mon, 20 Jun 2022 21:08:11 +0200 From: Andrew Lunn To: Marcin Wojtas Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org, rafael@kernel.org, andriy.shevchenko@linux.intel.com, lenb@kernel.org, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, hkallweit1@gmail.com, gjb@semihalf.com, jaz@semihalf.com, tn@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, upstream@semihalf.com Subject: Re: [net-next: PATCH 08/12] ACPI: scan: prevent double enumeration of MDIO bus children Message-ID: References: <20220620150225.1307946-1-mw@semihalf.com> <20220620150225.1307946-9-mw@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220620150225.1307946-9-mw@semihalf.com> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Mon, Jun 20, 2022 at 05:02:21PM +0200, Marcin Wojtas wrote: > The MDIO bus is responsible for probing and registering its respective > children, such as PHYs or other kind of devices. > > It is required that ACPI scan code should not enumerate such > devices, leaving this task for the generic MDIO bus routines, > which are initiated by the controller driver. I suppose the question is, should you ignore the ACPI way of doing things, or embrace the ACPI way? At least please add a comment why the ACPI way is wrong, despite this being an ACPI binding. Andrew