Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3017009imm; Mon, 24 Sep 2018 14:10:14 -0700 (PDT) X-Google-Smtp-Source: ACcGV60uc5oMQJS3tKJnsnSF9EI0EmGgYyfpveDN1YVMCsklTqhMShHAweoB+VoQJJNJgMDoFKrY X-Received: by 2002:a62:ff09:: with SMTP id b9-v6mr539561pfn.46.1537823414642; Mon, 24 Sep 2018 14:10:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537823414; cv=none; d=google.com; s=arc-20160816; b=EOUElnS2qCp2stuFy+K2IrJNK6hVX6Jpyw6r9oXXGTNxpd+4ciHgmE0JUXt5zBONqc b+bMxFsSE3JJSROar4wCQ+Enbg2Q7mPAp59GoTERHXezf+530NzSTBjmVFDy2kO34Whc zrlGEx4tepQJnvk4kd0Gntioy64pbtzh2F44a1XJYB233BNfsQKvdlHjGzRKu2rY/UMy Y/iXg/o2N5zwRLwEpN7orza0oo44a1KCXLcxDrdYZkAl49ZeQ7bqr0/TWITWZ03PvZkK tqpauWtqavBhZAzie/2fdJGyTUZf++aaVpLzWeD3o9e90MX3veRS+khH3AqhjOMN39QJ kftw== 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=CrALZ6L3Llp7eeLcIXR7AOc6ugMP3S6GPPXEOFTJH2g=; b=GsJJVeIaIR6caN7Ulkuk6ce9yy3x0rrxpErUSOhaQO9qy8EL0UL00LRjnAPBmT9boT W+J2Rij2AnsJmH8hgrK5V2lYwV0szItE3N2YapuOD1s2pJcu4ymtKsTfldcT7UqIFof1 jUZC8+GOqoJbbuuWFEHAfjO4qkbCyIhIZ1AKcsu3hpil/WhjbEVpoSzfApMfVH8NboQ9 RuNnNDac0Ng8zaf8L/V/D+J5yZeo2JNqmUMQHC0y1lNsqHp1/dg6tUd2jIwhJCI3X+n1 7v2rRIdRSFWsG97AkJhKI1p3QE67bBrPCznVwgTDquf9toajSQ4kzVBtlBl8qC/LaKf2 uU6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="h/tqEWJB"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s125-v6si317595pfb.335.2018.09.24.14.09.59; Mon, 24 Sep 2018 14:10:14 -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=@gmail.com header.s=20161025 header.b="h/tqEWJB"; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728523AbeIYDNa (ORCPT + 99 others); Mon, 24 Sep 2018 23:13:30 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:39060 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbeIYDN3 (ORCPT ); Mon, 24 Sep 2018 23:13:29 -0400 Received: by mail-qt1-f194.google.com with SMTP id c25-v6so5381367qtp.6; Mon, 24 Sep 2018 14:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CrALZ6L3Llp7eeLcIXR7AOc6ugMP3S6GPPXEOFTJH2g=; b=h/tqEWJBio0nQjestvOCUy2xcrlPIo9O9yMb2mOO1R/BLS65KlAe+Kk1n+fFATuADi OaX/EchFmuZJR+cXeN1L96WqY4bt5Vvvqlem+JxgrDeczSn/BSYLagQcRLP340uDh+Vo T7YY97xEhwxEPICMhJ6sL5hYkYXs1vYNcScSWMFqINce3PY8WDSZ8fnYXUROsA5EgyoG xBQxPMfaRSU6JxVv+3j5lvv+ldXdANQ4nvk/nybwJkmMTMLdfUExXzlQz8nGnjqRDiv/ 9QW9pSbaYd0ZPdCNtZy3dp3xclizutv9zfzf4/jpleJhHGZerWbQPpgk9d25LLS7c5Fi zr4w== 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=CrALZ6L3Llp7eeLcIXR7AOc6ugMP3S6GPPXEOFTJH2g=; b=Iyuos0pEaGw2rHPrFRluZpj8dBTlNbazFx40A7teF4Rcii+p5vGkevwQdRCSu0+1qx FL9/3nkoDuTAr26GO8BheU3dJwhJc+J/5FNXqmFtmbqT/B9RvV9zLz6PFB96hMBh3umW 2rB77t28jYimbitUYKdEkE5/t005BU/JmtjVvnIVqtFu/SfWJRnUWY3jpfoWb77/ZRni cmKi7DLiSfHj70+sg4C/n4Tu8W7gNwitCIO8fwaFCMR8KpZJ5mQmvctJ5sLyTBBQjCam i3EPHjVzw1sjhcnnyz065/IA0aqYrPD8g5j8eAqTVxiHWZfZfMbAg/tYsBTqvUHD13gc j6bw== X-Gm-Message-State: ABuFfoiklJBJp890lb156whnxB7eaGBNXC7mXkFou/VHuzl2xhk6hoFw mu4JkIVmjaf1G5dcB/vLpLIxYeKKW4rtbG6kQxY= X-Received: by 2002:ac8:16c5:: with SMTP id y5-v6mr537415qtk.187.1537823361611; Mon, 24 Sep 2018 14:09:21 -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: Andy Shevchenko Date: Tue, 25 Sep 2018 00:09:10 +0300 Message-ID: Subject: Re: [PATCH] pinctrl: icelake: Fix the resource number for community-4/5 To: Rajat Jain Cc: subrata.banik@intel.com, Mika Westerberg , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Rajat Jain , aamir.bohra@intel.com 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 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. -- With Best Regards, Andy Shevchenko