Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp308439pxb; Wed, 11 Nov 2020 04:21:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgkjexLq9dJ9K5zUJkcTTugNijgrpYJnLBOUWS/mLs/71ytIUTXN9WKcRsEcFoQUQDIR6S X-Received: by 2002:a17:906:2b06:: with SMTP id a6mr26001938ejg.283.1605097316251; Wed, 11 Nov 2020 04:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605097316; cv=none; d=google.com; s=arc-20160816; b=SptqWWZzf22xFgyO8uN7xIzDG6amlW0K0TX/SWoVfIl98OBcYbkwc50kc819PRLILL 6k7EyeDWpb3FiPuWJj/0/0JD9UPNEzn/hceuSAq15Z15spzqs7mZUQojYtVaOOWDa37X q+QLhNdugJBJ36Pe5cP/QGDaoyeYGMqjGTWkWhgQwuhrNkGk/9haHtOuLn+RdXsDpsWQ yf/NFqvjHacTDgnEU9xoGVdYI82S8LnoQzlFI3Bv+5vGnlkzZbLYPGo7L9VIIapYXx6K exYQV14/FSCN67rNCvvXLQq24RmZtm1IYygvcz5RxXSg1w9NFwcLqhRUtbVzw9pIFLsL nvJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=AkpZsn6qBwZX1sms/iwKUW6kQ5ok+qXehG4C8uy7vUo=; b=x2il6BQ0MK15em2FT/H68jqvxmS/WyZZGhtOC7qt3ctq2y/iW6/D5MHe4xSCJuSljg 8AFCmVsV0i4I4Iytcrmuv/81PlUZ4w+9MUrWiOAHteyimWX1/vqMF5Kt1HZ95Wh8w39k BfgzUe8TTfF95mK+FbbEKnSrE8/kz8Y3PtpGR1qcEZUnAZPi2hCKVCbBmkrjEF01q3Kw 8Rhy3ZK8xrLyRWZ3+/itLljM0bNAspY4ckf0SjXik9UHbA0C3zxR9dWWgTkDe7hfNW+v 1gUqwU9q++F4Y5XASeBJV80XIZE7MQDXhBBbHMfnH5CAjQLnP+EI5LAGHFFz87p7rzJw hM5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si1184464ejx.734.2020.11.11.04.21.31; Wed, 11 Nov 2020 04:21:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726111AbgKKMSN (ORCPT + 99 others); Wed, 11 Nov 2020 07:18:13 -0500 Received: from mga17.intel.com ([192.55.52.151]:6097 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbgKKMQF (ORCPT ); Wed, 11 Nov 2020 07:16:05 -0500 IronPort-SDR: if+ilNbfvERO7DguXrCdYqWD3FXFIIZEYXRld43cPevjgRsfLe7rAEjJpAmKotthxieCZOrRRu m6Pd56CqeiXA== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="149984855" X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="149984855" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 04:15:29 -0800 IronPort-SDR: P0pxOyGYOJXKe5WjlCj0CoXCOjRax99APokYTyNSKuPFTrHrvLEVn0MYLxrN2Co+5fOKc4Am2B nM6KIiM7rTug== X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="541768713" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 04:15:27 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kcp37-005u0W-C7; Wed, 11 Nov 2020 14:16:29 +0200 Date: Wed, 11 Nov 2020 14:16:29 +0200 From: Andy Shevchenko To: Evan Green Cc: Andy Shevchenko , "stable@vger.kernel.org" , Linus Walleij , Mika Westerberg , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] pinctrl: intel: Fix Jasperlake hostown offset Message-ID: <20201111121629.GL4077@smile.fi.intel.com> References: <20201110144932.1.I54a30ec0a7eb1f1b791dc9d08d5e8416a1e8e1ef@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 10, 2020 at 04:03:57PM -0800, Evan Green wrote: > On Tue, Nov 10, 2020 at 3:48 PM Andy Shevchenko > wrote: > > On Wednesday, November 11, 2020, Evan Green wrote: > >> > >> GPIOs that attempt to use interrupts get thwarted with a message like: > >> "pin 161 cannot be used as IRQ" (for instance with SD_CD). This is because > >> the JSL_HOSTSW_OWN offset is incorrect, so every GPIO looks like it's > >> owned by ACPI. > > > > > > Funny, I have created a similar patch few hours ago. Are you sure this is enough? In mine I have also padcfglock updated. But I have to confirm that, that’s why I didn’t send it out. > > Oh weird! I didn't check padcfglock since it didn't happen to be > involved in the bug I was tracking down. I was trying to clean out > some skeletons in my kernel closet [1] and debugged it down to this. > > If you want to smash the two patches together I'm fine with that. Let > me know, and CC me if you do post something. Can you test that 0x90 is correct value for padcfglock offset? > [1] https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/master/overlay-dedede/sys-kernel/chromeos-kernel-5_4/files/0001-CHROMIUM-pinctrl-intel-Allow-pin-as-IRQ-even-in-ACPI.patch -- With Best Regards, Andy Shevchenko