Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3035127imm; Mon, 24 Sep 2018 14:32:37 -0700 (PDT) X-Google-Smtp-Source: ACcGV62j3tRqBWPHShOLQjCStnfKazHLj+/kw+Ye0Zr7Lud2So9Q5rrhXxYVEY9eYJBMUvSPwo+L X-Received: by 2002:a63:5c10:: with SMTP id q16-v6mr523573pgb.452.1537824757929; Mon, 24 Sep 2018 14:32:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537824757; cv=none; d=google.com; s=arc-20160816; b=C4mkfHp0raduMfP6O5kZPNN+2K/fe/S94ooBUM/EBdEC2nbXjjvFr0yyfUhZuHJ99P FHhmQ3pDoCXAH9JyIYbKhFuStipTje5NVoriITH/7LZIJxTqW9Bprm59El/XmnKUPSTc WqophG+iAGrwJpxeUXiX3Nf64MfbwZimKvIYrs83z7+/zxuANgSZt1foXXymESvyvide /DDU0g5VcxMvgFkF8KeyqiXjFnlohnHagj+gEHQTK1leryoeBC7B5yAjjDgpoNmOzKJa CKAgVpizY7qz9RsD9X7v1pKr9SupWoC4TxiprSMoBQxUq/fk9ZAN2gJtSul2T3BXUQrk 7JMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iCQdQoqktnHJG+dO1puQns3GcqMmQH8Oh2YapciV1YU=; b=ZgL+5Y3F3kAFW2ccpZGWTqbrip3rs+6y4XuI7rQ8zjOHi6c1gzwWgO1yABpUI8GU02 fW3L86j8l/eFtGwPLzl7JGW1PhKdaC5Glj1grhbYdtTtyFQTBUJDr3vkDABEC9d5I1Oo 1VD+X8zHYw/vM7+ploKMnxN/DN4h5F0OypLVKycZTtjZlahWSQGgWhyWMmzz30o1m215 OcIi3G96sviqj1jkTrSAqT+H/PEF33isQ/DzpDI2LQ8r3rWtedQ4haWREcgR1pZM4zn5 kySdqDSB2f0ZQyX70KRBrbf6rLbHr/Snri4vvbyd1DdeyuwPyhBBzSZGd717unaVtMFw 8uqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=wSQD+oNx; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8-v6si450032pls.13.2018.09.24.14.32.22; Mon, 24 Sep 2018 14:32:37 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=wSQD+oNx; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728647AbeIYDgV (ORCPT + 99 others); Mon, 24 Sep 2018 23:36:21 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:33553 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728271AbeIYDgV (ORCPT ); Mon, 24 Sep 2018 23:36:21 -0400 Received: by mail-yw1-f68.google.com with SMTP id x67-v6so8508878ywg.0 for ; Mon, 24 Sep 2018 14:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iCQdQoqktnHJG+dO1puQns3GcqMmQH8Oh2YapciV1YU=; b=wSQD+oNxbgzRvgvtPg631Fgic62sfnL2k2WgTMWgHkyS9B85ZaAzHQ1HFQDOp/wYka qoL8SHvNpOq8618NXtYaJewEm7I5M/JmEuE2ZKJxGMLcrW1zHmqkGBnGklnWjNv0y6PM O2oO9A7LMh/jTk3dBTkERyjSPaH7nxN6Lr1c4cWh8nLZV2l0GbaBNePsstoyn74sOcSu nOSvlyvvMCsXHQbdkB1KwjlxazLGwe0abztEDwjwelmAI7qnwk02LVZYhuo7CUoRvxSs KMVv3hfU7zUzYe/beYANeviQ7xtbuF/jWwHuf6yRftDUBcF5FXiHDP1JFpoK6Cn3FEBT +D4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iCQdQoqktnHJG+dO1puQns3GcqMmQH8Oh2YapciV1YU=; b=tojwo3x7x0RFmxqPQhRfkgTiMyEp7oAE8+AEvn6xBNLOdDhOXlMT1qGJ2FINGtEj4H Z/SsYuywoiF5x4P6kgXsV4QMeySORHc1Qf0NrOFw/7eNcI9eTe3BwKtYgYzAL/KjXQ4v k7RpgYYWCLSrWNW1c9/4BBVE7wvUYRgRhgt4sa6Ga14gQv3fpW4+CoQRdpFP8zeH4y95 GuzI5VZkCl4E5Ereax5vmwaNa5MQMWQEmLi9HpEPAokv2QbW5+bGow1GfUP4mfuBAJim EcnC+0W+oaBDTKYWAblQy+HA2EYgm17jzlO5ItTbgQ+4qdAazVfueNHbFKEBRC71UY7s tE2A== X-Gm-Message-State: ABuFfoiK2YkEemFB1TQfZNQHOplVdKe3YtN539VV/aSUV9P4LyhP4/U5 W3obT9pW82B6cB8pCiDnblVKNZMcUvSP+ehmzJDbSg== X-Received: by 2002:a81:b64c:: with SMTP id h12-v6mr364166ywk.119.1537824728097; Mon, 24 Sep 2018 14:32:08 -0700 (PDT) MIME-Version: 1.0 References: <20180913223143.12664-1-rajatja@google.com> <20180924135935.GP15943@smile.fi.intel.com> <70D28D5DAE32E9429B09AA8B7C84AC472C0000CB@BGSMSX106.gar.corp.intel.com> In-Reply-To: From: Rajat Jain Date: Mon, 24 Sep 2018 14:31:31 -0700 Message-ID: Subject: Re: [PATCH] pinctrl: icelake: Fix the resource number for community-4/5 To: Andy Shevchenko Cc: "Banik, Subrata" , Mika Westerberg , Linus Walleij , linux-gpio@vger.kernel.org, Linux Kernel Mailing List , Rajat Jain , "Bohra, Aamir" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 24, 2018 at 2:09 PM Andy Shevchenko wrote: > > On Mon, Sep 24, 2018 at 8:04 PM Rajat Jain wrote: > > On Mon, Sep 24, 2018 at 7:54 AM Banik, Subrata wrote: > > > > First of all, this is pre-production chip, so, I don't think there is a bug in the driver (yet) discovered. > > > > > > Looking to the above ASL code I may conclude that is definitely is *not* from our reference BIOS. > > > I have checked two versions of it and found that in both we have the following mapping: > > > for LP variant: there are only 4 communities are exported for H variant: there are only 5 communities are exported > > > > > > So, I guess the problem is in ASL code you provided. It simple should not export that community at all. > > > > > > In case you need to do so, there are ways: > > > - contact Intel and ask for a change in reference BIOS > > > - acquire another ACPI ID for the case, or, perhaps use special constants like > > > _HRV for that purpose (also need to contact Intel while doing that) > > > > As Subrata clarified (Subrata & Aamir are from Intel's Coreboot team), > > that is not *the* Intel reference BIOS that you are using, but it is > > *an* Intel generated BIOS/Coreboot image. > > Ah, interesting. > > > Andy, can you please let us know in what order are the resources laid > > out in your reference BIOS for the case when it exports 5 communities > > (i.e. community-0-2, 4-5)? > > We have no hardware with such PCH to answer to this question. LP > version exports only 4 communities and order of them as per existing > driver. Got it, thanks. From your response earlier: > Looking to the above ASL code I may conclude that is definitely is *not* from our reference BIOS. > I have checked two versions of it and found that in both we have the following mapping: > for LP variant: there are only 4 communities are exported > for H variant: there are only 5 communities are exported 1) Do you know or recall, the order of communities in ACPI in the H variant? Of course, this is a request for help for getting the info. 2) Trying to understand how would the kernel support both LP and H variant. Is it the assumption that the H variant will have a different ACPI ID than the LP variant (i.e. not "INT3455")? Because it will also have the same problem that we are seeing I think. Thanks for all your help, Rajat > > > -- > With Best Regards, > Andy Shevchenko