Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2730633ybv; Mon, 24 Feb 2020 10:28:40 -0800 (PST) X-Google-Smtp-Source: APXvYqzdXaUciUXGUg/idOQENzD+KA7JsaHfD6KoZe4vALufrcw8lzeEvECP+gkU5772dSu830fg X-Received: by 2002:a9d:4f17:: with SMTP id d23mr42244549otl.170.1582568920690; Mon, 24 Feb 2020 10:28:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582568920; cv=none; d=google.com; s=arc-20160816; b=Z3Cex7aI29WoLfJs3riHu83+S0iPnx7aMICJmATcrBEDgZSk90kch7crhyFLmgguyD XUWs7MGz9gQ4VzJDULwhl51NqTSd0gkK+zAiIyzrJiEXD19uGK2Jm3pAqKymfyuQfgTC XY1jACqbpkBCWM/H5dt3UwJdwJYNb1sV5UJhhSKgSIumsH08YoOZSMVch25iD3+D0Qzk IAtOxHH5iyybSF39iAVFrGcMoSRBDzJxnJj7F3mDy306Tj3lc6c5Ko+hEdoTOJVgAGMZ xI6j9GepsyWxFlbgn8s35f3zJFXIG7sXPHfNjjBA/WtoYi218E3AXXCHkVrsXZ1u9yQU m6sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MrKUG0B7eYSk1M5khvLuZNq23j1QXcVre857FpjhTKQ=; b=ogHh9i5uFEvHOiTtBh9B8gIZIy1EY916ZzdtNkKN6SOLYyVgKYG8XxZ9Yuhj3WZuSN 0wCFxjgd7nhNLCNDNIG6iAx9xgAYKHVVNwLuoErP8rJFJYBIx+7SQHGi/gkh6qOx1w2h EqNFDkJolintziwfAZef9Yz6GeiJoaTDn7lUlwpDiioCmHWnh6FQJ+ZbJpAOpyFiJuJz lgQloDcqvugK6JvhFDzeLdWiuiu6RY36hs09f0kRULb0ctCiZ1KEx7vGWA4KLax267QC YKw1gxI++coqH9H+YPJ611bECwr0XwZOd7JB0vbe/e7urAGppBIfLch3wFAxt5XfTgb2 MjeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FSrPnF7a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q26si5139350oij.38.2020.02.24.10.28.28; Mon, 24 Feb 2020 10:28:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=FSrPnF7a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbgBXS1d (ORCPT + 99 others); Mon, 24 Feb 2020 13:27:33 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:39382 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726208AbgBXS1d (ORCPT ); Mon, 24 Feb 2020 13:27:33 -0500 Received: by mail-pg1-f194.google.com with SMTP id j15so5573358pgm.6; Mon, 24 Feb 2020 10:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MrKUG0B7eYSk1M5khvLuZNq23j1QXcVre857FpjhTKQ=; b=FSrPnF7avWq6iRs7cohi5j4rz+s7j/Tj0f88zgou8HhnYzaSubzRiNGvLDDxomSnoz tOKCrVYoJ1uXY0Oi8+sGL1TTp8YiyhTpkTBAC0XUeJU32M4WBTWfDHU/8eJVkClk9AVa Lc2WB4xLIXNFlPSQ9kX1i/ZgubMsWMAsNb7llvf3jpDduZR0MfbeLevVxgCD76f6/Ow/ qIat1DOsl9nIs0S8N1oyS4IBd7vqOt3NeLeT/UNiVrttL+0ChhvJ40p2mrBOw2DMrjvA DVI29E8VpSnZrIygiPSgzv9BOSjkw00RZhVr2TZe3c4/oYtdsLligV2PmhwkDDM6R8Tn aUKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=MrKUG0B7eYSk1M5khvLuZNq23j1QXcVre857FpjhTKQ=; b=tAsBZ7A/pOB4ET5CzudmTS6w3MS8z5UwTkzLhTjlhbxjJgKzzJXkrzP2iatNeQ85TM 62YoTBN5CeElb29b4I5rUJEegH4MN/0bxeXa4yoYJ4k8utn+PtRktnzxLd5Hq392vArL zpAYt8paqYSZu/QDaYD+88CBcbUf+NnCjvFtE50hCy/or72sienDuPktm77f7/6iZHX+ toP0gFX1aDHGVZbbF0WhgEgKbeRPKQKmTYxwUFEPA7fKG1lmbD0VC7PeRic/SlFKJlm9 IxJExNk46wRHDHvG9e1LLLMXtJli5r8NlIE3b46cB2M8nnUqB+QhboDKO1Si2wExZnKU WfFA== X-Gm-Message-State: APjAAAVs4qWDG/BBmq8sz/sWxPakKd++pKLykI+BIrYsuMm4RoGZuxBc JBmWuqNk7p7i8eRKqmP239A= X-Received: by 2002:a62:7541:: with SMTP id q62mr52672610pfc.248.1582568852748; Mon, 24 Feb 2020 10:27:32 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id 70sm13434909pgd.28.2020.02.24.10.27.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Feb 2020 10:27:31 -0800 (PST) Date: Mon, 24 Feb 2020 10:27:30 -0800 From: Guenter Roeck To: Mika Westerberg Cc: Andy Shevchenko , 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: <20200224182730.GA29799@roeck-us.net> 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> <20200224105121.GK2667@lahna.fi.intel.com> <20200224112740.GL2667@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200224112740.GL2667@lahna.fi.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) 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 01:27:40PM +0200, Mika Westerberg wrote: > On Mon, Feb 24, 2020 at 12:51:25PM +0200, Mika Westerberg wrote: > > > 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. > > Actually I think this is the case here. > > I don't know the iTCO_wdt well enough to say if it could live without > the ICH_RES_IO_SMI. It looks like this register is used to disable SMI > generation but not sure how well it works if it is left to BIOS to > configure. I suppose these systems should use WDAT instead. > In practice the region is only used if if (turn_SMI_watchdog_clear_off >= p->iTCO_version) { where turn_SMI_watchdog_clear_off is 1 by default. It is also passed to vendor specific code, but that is only relevant for really old systems. In short, it isn't really needed for any recent-generation systems, and could be made optional with a few lines of code in iTCO_wdt.c. Guenter