Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp487268imm; Fri, 28 Sep 2018 01:44:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV62U+GEJ3RLHMCt/p3eC+PjOaHMYZUD+OCCjiHShFw1cw7YSCVu+Xsm+h65cBXa3iYPKkbiC X-Received: by 2002:a17:902:6b47:: with SMTP id g7-v6mr15470766plt.128.1538124240079; Fri, 28 Sep 2018 01:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538124240; cv=none; d=google.com; s=arc-20160816; b=b83WuWgp3ejEp3qOkS5VkBXrTkn09Tz9rhl00hLgfuZIKWlC57wWruzrgOKkwgUnAS NXGBP2fC4QAuiLKRlY2683fggykJLmPhAHCB25GKD4niHnvDofaH/Tpi0efnDo0hyOmR KB3mW76vIb+xcyiO3zK85glBzCh3kb39QQ1JMU54aQyXEd76SMgXYvg3nOIqIL/4YZ6/ SmAkqG60npey1mN2hdsgd7RA8BfVEJ/kZnCqpbY3qx7ZkB2GotjZqjJehOYrLeE+AksU Si7O2Ph8JWmV3FVaH+dO60vERub5jOhcmE8uM6pxwzd/BrlTC46FvUwckBzHbygNxpcf kKyA== 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=XtpzZ9z9D5DPJAZAqg9zIW+VJnsjD+flloKCaGnEFSo=; b=km4zl7wErxyBSUDCwh0Yg4Tsvn9mBtGY/AyMeR5f+2H0sI049lbkIYxbt5/oXwdaBb lpXAZhp+Ng3iG5yZHwn1SyV27Zlm6CYgGvVUzo689KRAA3Wm2q4n2b4eOXBDZm9Arpxv JGkGXFxnBMsWOfkiQhSPvVCNp9rQ31NG5wwXPQqKIO82WP/0wvRxXrk8upQpmy3pK/y2 LqKtcqMP+huI8L0OxYMfbj1D1eehXsYDr69P3UL+tKCj291jgNIvxW+ptotIg6b3Ss0u 0Tn/Se7mxj32y0SZVZEFsCQ9Bi06DOqlXKG4q6T8vikfDWiOK8gNTf60SiDvzRYLX1Th gyEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="far/vZ5U"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b2-v6si4300081pgk.491.2018.09.28.01.43.43; Fri, 28 Sep 2018 01:44:00 -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=@linaro.org header.s=google header.b="far/vZ5U"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729193AbeI1PFB (ORCPT + 99 others); Fri, 28 Sep 2018 11:05:01 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:35697 "EHLO mail-qt1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728868AbeI1PFA (ORCPT ); Fri, 28 Sep 2018 11:05:00 -0400 Received: by mail-qt1-f177.google.com with SMTP id z14-v6so5809594qtn.2 for ; Fri, 28 Sep 2018 01:42:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XtpzZ9z9D5DPJAZAqg9zIW+VJnsjD+flloKCaGnEFSo=; b=far/vZ5U+EUZsrEefK/T6T6s074MPQzv1qIxiT1KiNggOEJ2OSuct24EcF2UfCK0RG QfWzvpZIKFY7QBT2JKyJiyoPTj5B+5G4KcugtNcBS33SPzG3nb7S8rCM+O7LlBsS0O3s Gm6iVqNnep6ovhD33aL+b8vLgXEoZnyReonBE= 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=XtpzZ9z9D5DPJAZAqg9zIW+VJnsjD+flloKCaGnEFSo=; b=aBHqi9ol05f0WL8qY8MMb5w9OtUTGvO2wsiN+KGM0/XFjTug7UgkwWQrXPF0devm1G 7qwts5gr2MafC5wEHfhe4No/BY82sDEJnLhKgREz2Qf1lDCQdk8JkOEmv6i1fOJYY3/h 8o9nQdaYiMP2b04rPWEj5uekP10iArzauJU5SaJ0N1Is5L6jnNuB4wAfvLiRYiO+mmD5 9UtI6/OxGnSWQiD+H/cocHQZuuGdHL2RzjhlSLFMpDgsqylI1J4/8dDHfA13d9WjAf3U G6LIwr0kOas60hT81ciVJu/WDAVq/VGHHRUl+1a7hCAxdQ4/V0X78wLj9uj89msb6Ys3 PXuw== X-Gm-Message-State: ABuFfog6PX+icm3QFxrSSNCMDFLg6QpLjhOj7hSRBDKevl5BcdVbZKFS dkFf1W2dcm8NVW8jGROLSrLqHnC4Xrv8WFSh9YeaaA== X-Received: by 2002:aed:3a68:: with SMTP id n95-v6mr11784964qte.283.1538124139546; Fri, 28 Sep 2018 01:42:19 -0700 (PDT) MIME-Version: 1.0 References: <20180926074756.GD2664@lahna.fi.intel.com> In-Reply-To: From: Linus Walleij Date: Fri, 28 Sep 2018 10:42:07 +0200 Message-ID: Subject: Re: sdhci driver card-detect is broken because gpiolib can't fallback to _CRS? To: Rajat Jain Cc: Andy Shevchenko , Mika Westerberg , Andy Shevchenko , Dmitry Torokhov , "open list:GPIO SUBSYSTEM" , ACPI Devel Maling List , "linux-kernel@vger.kernel.org" , Adrian Hunter , Ulf Hansson , linux-mmc , rajatxjain@gmail.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 Thu, Sep 27, 2018 at 7:57 PM Rajat Jain wrote: > > Patches are welcome, I think. > > > > Btw, is there any existing hardware on the market with such BIOS? > > Yes, all the chrome books available in the market (at least the ones > released in last 3 years) have same ACPI layout (provide _DSD for > card-detect). They are all working fine today because they use an > older kernel, but if we update them to the latest kernel, this part > will be broken. This is not looking good at all. Andy should we revert the patch or do you have some other quick fix in mind we could do? It seems reverting the patch could be bad for the mctrl patches IIUC, but this regression seems even more serious. Yours, Linus Walleij