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=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 54D2FC74A21 for ; Wed, 10 Jul 2019 16:04:55 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E8E22064A for ; Wed, 10 Jul 2019 16:04:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E8E22064A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92) (envelope-from ) id 1hlF4x-0006kI-6y; Wed, 10 Jul 2019 12:04:23 -0400 Received: from mga01.intel.com ([192.55.52.88]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hlF4u-0006k5-L5 for kernelnewbies@kernelnewbies.org; Wed, 10 Jul 2019 12:04:20 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 09:04:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,475,1557212400"; d="scan'208";a="166113633" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.145]) by fmsmga008.fm.intel.com with ESMTP; 10 Jul 2019 09:04:17 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1hlF4p-0005Ro-Tx; Wed, 10 Jul 2019 19:04:15 +0300 Date: Wed, 10 Jul 2019 19:04:15 +0300 From: Andy Shevchenko To: Linus Walleij Subject: Re: GPIO Driver for Skylake-Y PCH Message-ID: <20190710160415.GN9224@smile.fi.intel.com> References: <15515.1560627024@turing-police> <20190617080614.GX9224@smile.fi.intel.com> <61e483bc-6bf9-4438-87de-7a01fac1ae5b@www.fastmail.com> <20190618084034.GI9224@smile.fi.intel.com> <20190621101206.GI9224@smile.fi.intel.com> <5606da30-626f-4cdc-8274-3a0271bff82f@www.fastmail.com> <3442d71f-1621-48b8-bbd7-7031d8a25653@www.fastmail.com> <20190625110815.GU9224@smile.fi.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Valdis =?utf-8?Q?Kl=C4=93tnieks?= , Alexander Ivanov , =?iso-8859-1?Q?Bj=F8rn?= Mork , Jean Delvare , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, Jun 25, 2019 at 04:10:23PM +0200, Linus Walleij wrote: > On Tue, Jun 25, 2019 at 1:08 PM Andy Shevchenko > wrote: > > On Mon, Jun 24, 2019 at 11:39:42AM -0700, Alexander Ivanov wrote: > > > On Fri, 21 Jun 2019 10:39 -07:00, Alexander Ivanov wrote: > > > > On Fri, 21 Jun 2019 03:12 -07:00, Andy Shevchenko > > > > wrote: > > There is no issue with kernel. ACPI tables provided by firmware, so, > > vendor of your firmware decided to turn off this device. > > In Linux we usually respect users and contributors more than > vendors, so if there are users that need to access this device > and the firmware doesn't let them, but there is a way for us to > fix that, then we should provide the tools. > > But I guess that would happen in the ACPI core? Linus, there is another problem, if we even work around this (you should ask Rafael, indeed), the MMIO resources, provided by the table is solely generated by BIOS. The IP, AFAIK, has a possibility to be reallocated in the address space. The user will need BIOS to clarify that, it can't be done in OS (GPIO is exposed as not a PCI device). -- With Best Regards, Andy Shevchenko _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies