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=-0.8 required=3.0 tests=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 D4409C3567B for ; Mon, 24 Feb 2020 10:51:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EC732080D for ; Mon, 24 Feb 2020 10:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbgBXKv0 (ORCPT ); Mon, 24 Feb 2020 05:51:26 -0500 Received: from mga06.intel.com ([134.134.136.31]:44085 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726673AbgBXKv0 (ORCPT ); Mon, 24 Feb 2020 05:51:26 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Feb 2020 02:51:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,479,1574150400"; d="scan'208";a="349895885" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga001.fm.intel.com with SMTP; 24 Feb 2020 02:51:21 -0800 Received: by lahna (sSMTP sendmail emulation); Mon, 24 Feb 2020 12:51:21 +0200 Date: Mon, 24 Feb 2020 12:51:21 +0200 From: Mika Westerberg To: Andy Shevchenko Cc: Guenter Roeck , Martin Volf , Jean Delvare , Wolfram Sang , linux-i2c@vger.kernel.org, linux-hwmon@vger.kernel.org, Linux Kernel Mailing List , Jarkko Nikula Subject: Re: [regression] nct6775 does not load in 5.4 and 5.5, bisected to b84398d6d7f90080 Message-ID: <20200224105121.GK2667@lahna.fi.intel.com> References: <1bdbac08-86f8-2a57-2b0d-8cd2beb2a1c0@roeck-us.net> <85356d1a-f90d-e94d-16eb-1071d4e94753@roeck-us.net> <20200224101800.GJ2667@lahna.fi.intel.com> <20200224103731.GA10400@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224103731.GA10400@smile.fi.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 24, 2020 at 12:37:31PM +0200, Andy Shevchenko wrote: > On Mon, Feb 24, 2020 at 12:18:00PM +0200, Mika Westerberg wrote: > > On Sat, Feb 22, 2020 at 01:26:48PM -0800, Guenter Roeck wrote: > > > On 2/22/20 12:49 PM, Martin Volf wrote: > > > > On Sat, Feb 22, 2020 at 8:05 PM Guenter Roeck wrote: > > ... > > > > > devfn = PCI_DEVFN(PCI_SLOT(pci_dev->devfn), 2); > > I'm wondering if > > pci_dev_is_present(...); > > returns false here. Well that might also be the case since lspci shows this: 00:1f.0 ISA bridge: Intel Corporation Z390 Chipset LPC/eSPI Controller (rev 10) 00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) 00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10) PMC is 1f.2 and not present here. However, it may be that the PMC is still there it just does not "enumerate" because its devid/vendorid are set to 0xffff. Similar hiding was done for the P2SB bridge.