Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1000147imc; Mon, 11 Mar 2019 04:23:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUERFy3lkG+kH1qJ3QMSToUNLFgFx/M5RVNTMl1CXGIWP7LnVc16PrUxV0e3xnFyFVq/7n X-Received: by 2002:a62:4188:: with SMTP id g8mr33442897pfd.205.1552303385125; Mon, 11 Mar 2019 04:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552303385; cv=none; d=google.com; s=arc-20160816; b=E2uII5hu8jSivXpInJJrtZF2/xdFtduNZr4ppVoM7IZho+NTtmepNxS0T3ZY5oIuLw Lrj1iuOaOlXElNXm611P3RMnHiMb5/sK4lGatgdhaEa0KH78CppXbePFsjYwPRXDiZPn 0Mp5qheiYdQuAElu2Z1t6E2+g/OMUBOqYau7JxZLvzkXHanXsPAWatBrhadRCk9JXb5N /EY2e/QJTx4kOItreuDtZBXHakNL9vEYPwMt4mSUWeYeny5E5GsJ+yuEmcc35Yt1RszP A3zYJl1KN00fW+iljqjtnk6+vOmWC0MsNRx0MpBS5ukxm33x0qdLBQv7mgLUCfvALR4t xxeg== 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=xaIRr6mp6L8lub4bfg2aX/G05tl+7aPJEyklNOvuxzc=; b=TJznfvr1mPurwXXuf+UI8F1Kf9NzhyF6vJ40MXOs9f5tQ4ZvXsNL2JtSILorC590Cl 4Q9Sdl1w1MGjSjW1fKEjJXcLL/2gkw6yAVIQN6wPM0S4HPMBaqk9BC5tBPk/ZOr5oW6E fHc8yoKM/ZpJoeOC7RSyEOcWRdSkjBTUTqxdmb9sCQOwV2/TyII1D2UP5nFrtIKVglzg OWW8tntGoxGAStKZyGXB64uivJ+s+ve4/DRuQQ2UQqhUA1OZMQDKc3nNDUNVNuznw0uA GZx1ec+/6bawuSB+XF9Zx1q4v1g9LP4LM5BlUkhyiXobWm+On7lodSDR797QwqRt5QuZ gbuw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9si5161205pgt.73.2019.03.11.04.22.49; Mon, 11 Mar 2019 04:23:05 -0700 (PDT) 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727411AbfCKLWT (ORCPT + 99 others); Mon, 11 Mar 2019 07:22:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41086 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727239AbfCKLWT (ORCPT ); Mon, 11 Mar 2019 07:22:19 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3B1B307DAAD; Mon, 11 Mar 2019 11:22:18 +0000 (UTC) Received: from shalem.localdomain.com (ovpn-117-37.ams2.redhat.com [10.36.117.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4728A5C579; Mon, 11 Mar 2019 11:22:17 +0000 (UTC) From: Hans de Goede To: Jarkko Nikula , Wolfram Sang , Andy Shevchenko , Mika Westerberg , Lee Jones Cc: Hans de Goede , linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] intel-lpss-pci-i2c: Fix oops when there is no ACPI fwnode Date: Mon, 11 Mar 2019 12:22:14 +0100 Message-Id: <20190311112216.31391-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Mon, 11 Mar 2019 11:22:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Here is a patch series fixing an oops when there is no ACPI fwnode associated with a PCI enumerated LPSS I2C controller: https://bugzilla.redhat.com/show_bug.cgi?id=1687065 This is fixed by the first patch in this series, which modifies i2c-designware-platdrv.c to fix this. The fix is enabled conditionally because otherwise it might break things on platforms where i2c-designware controllers are enumerated through e.g. devicetree. The second patch modifies intel-lpss-pci.c to pass the new "linux,use-dynamic-adapter-nr" devicetree property to activate the fix. The first patch should be merged first, so that the devicetree prop name is "stable", then the second patch can be merged independently through the mfd tree. Regards, Hans