Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4922728ybv; Wed, 26 Feb 2020 05:23:44 -0800 (PST) X-Google-Smtp-Source: APXvYqztkujLLTbwQugAWGMHqi05of/XPcMxBWeLSuD42wT3xuhGxXl12ny3IjM0yNOpH7320X6/ X-Received: by 2002:aca:cd46:: with SMTP id d67mr3071329oig.156.1582723424103; Wed, 26 Feb 2020 05:23:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582723424; cv=none; d=google.com; s=arc-20160816; b=NRIpCZ84EcZ5xXJ/1xVoQWrF6Ng6mrjJlScmb9C2x2ds6VKUWfrwYlFfN/HmNSbidY y/NtqN1cz+I/KJhM1yGUi++ScAOYwm+oNRjhwc9amD5+hHbcOEXftG2nmViKDxcqo0J6 GVeSqNAujlZTB4AnemMj5c3D3P9pQAR9QgG7JLIf/txkPjvY5sKxDEy8xTcxqyZOYdhL Sx8dcIARKOri5hMNX4qBy0t2gULklYj9u7cTzuqYosyJfT/wpi4aw5KQTtAGJk7SSx9j 86EvYbyQCESKCzliOg8hCbX8UxkMbojrfkK3X2+S4Fh66SyypNaZHV9u4ASv4vGlDa2t NCFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=G7jPIsDrgN9VZBcVQlkD6IPRS/LXZEWHK2bea5d+8Qk=; b=VfGFRFAEgBbwVl8yFOP1QxyYF5qd5Ch6gErGWJrDEQuFbPis7yHCkSNnueG9aBTa4N 05p00LyOc3TtdcJ1NualaOj2FLQG6wKC3lkb6/oEmN8HaTwGeZfoj+wN7y9tk901ThhE V4qraY45Ud5I8La5Czg6Pk42fB94peugdmiat9JDe8iy53IG5Ne9aIrA2b+vJx5rUL1S kpBLLChTiObs3jN1dDS2y26I0pj7/11n37huntJMm74ARBRB79H41kDNWZNbS3BSxFGv xPSnzQ0xTKL3ptnDFHRQbVZVaHUlgCslvyX2DMU/qBScMFVc+FVkL/63FmcS7zeZlrMl IHtQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f23si1129477oto.205.2020.02.26.05.23.30; Wed, 26 Feb 2020 05:23:44 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727190AbgBZNVj (ORCPT + 99 others); Wed, 26 Feb 2020 08:21:39 -0500 Received: from mga06.intel.com ([134.134.136.31]:39882 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbgBZNV2 (ORCPT ); Wed, 26 Feb 2020 08:21:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2020 05:21:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,488,1574150400"; d="scan'208";a="231395660" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga008.jf.intel.com with ESMTP; 26 Feb 2020 05:21:23 -0800 Received: by black.fi.intel.com (Postfix, from userid 1001) id 94465252; Wed, 26 Feb 2020 15:21:22 +0200 (EET) From: Mika Westerberg To: Guenter Roeck , Jean Delvare , Wim Van Sebroeck , Wolfram Sang Cc: Martin Volf , Andy Shevchenko , Jarkko Nikula , Mika Westerberg , linux-i2c@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] i2c: i801: Fix iTCO_wdt resource creation if PMC is not present Date: Wed, 26 Feb 2020 16:21:19 +0300 Message-Id: <20200226132122.62805-1-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This series aims to fix the issue reported by Martin Volf [1] that prevents the nct6775 driver from loading. I added Fixes tag to the last patch but not stable tag because the other two patches it depends are not really stable material IMO. Please let me know if there is a better way to organize these :) I tested this on Intel Whiskey Lake based system (CNL derived) and on Comet Lake-V based system (SPT derived and the iTCO_wdt still works and I can see the expected resources in /proc/ioports and /proc/iomem. The previous version of the patch series can be found here: https://lore.kernel.org/linux-hwmon/20200225123802.88984-1-mika.westerberg@linux.intel.com/ Changes from the previous version: * Call request_region() also for iTCO_vendorsupport * Drop the core populating ICH_RES_IO_SMI completely from i2c-i801.c [1] https://lore.kernel.org/linux-hwmon/CAM1AHpQ4196tyD=HhBu-2donSsuogabkfP03v1YF26Q7_BgvgA@mail.gmail.com/ Mika Westerberg (3): watchdog: iTCO_wdt: Export vendorsupport watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device drivers/i2c/busses/i2c-i801.c | 45 +++++++------------------- drivers/watchdog/iTCO_vendor.h | 2 ++ drivers/watchdog/iTCO_vendor_support.c | 16 +++++---- drivers/watchdog/iTCO_wdt.c | 28 +++++++++------- 4 files changed, 39 insertions(+), 52 deletions(-) -- 2.25.0