Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1851974ybl; Sun, 18 Aug 2019 12:00:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyW/PN7Xv8+xRmLh6ZqtS4mdiTRb60fiW3Z7ugQCFo7X5GNWuDnV7q6S+EfaHUdkmi9SxL4 X-Received: by 2002:a62:2603:: with SMTP id m3mr21457455pfm.163.1566154826582; Sun, 18 Aug 2019 12:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566154826; cv=none; d=google.com; s=arc-20160816; b=bQa18un4qTcjHgobQaL6Bh8IdriEln1N8PplNI8eQl/bPbbRBG7uekqGu83UEKzhub X+iufiSNWawCIgGxvSXjZVXfyXX5n/s/NJW9x444BO6yWPhbVtIla5GO/dIjJGcrok5G c4eNOAo/Redwqp8FQmVPFQRX4h9wVRN2ibhvVOqtJXHBjjyumbzE6y85HNMB8wf1VFRL FGCBcDgEmkdkavy0uadO3PhMElE7eHyLxdWjuKj0qhspGJeW/FSOvt99JCv2kUuM2HQq rbOOL6ijqY5L7V4aePkIXkHgj5LSksRx2WA8iBK/zycHeDsdBT0co7SUCYzoQtp0AVoI Uddg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=rLnw+O344r+V6G+bSidLmsGPxTIhpm+W7MqHjsCtkcU=; b=HFVXm0dAHZIqORJ7D/hrm79hnwxPBHuPxq0UiV52TQkSkyaaa0jEwFBHW/MFt1PNk7 EAVgokXipcuSAZkJgfIUnhz/iJ7TOxaXjTM8k6QCHzuBconEv3PMoQbEHtwOELqZR6SJ jOR9iQlea9HiqCfk3QDRNe0La8uD4OeDYyzTgCwixhRpm18bvJs0XBngnESmjueW+EU1 V+7Ho2mJ8E16xEP8vdNCiGLAd0nNoJ5KX2NBDufXwhSEtV2zw2lrrHjSZ6ZVPqG3DFcF 1Sdk+44jefT8coOdgSBxS1w244KadYLxEZisAMnt3jbNibuCgJYC1IDrcL095YxuRRD9 NyHg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a191si8153914pge.93.2019.08.18.12.00.10; Sun, 18 Aug 2019 12:00:26 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726953AbfHRS7O (ORCPT + 99 others); Sun, 18 Aug 2019 14:59:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36556 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfHRS7N (ORCPT ); Sun, 18 Aug 2019 14:59:13 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 36B6C34CC for ; Sun, 18 Aug 2019 18:59:13 +0000 (UTC) Received: by mail-wr1-f70.google.com with SMTP id v15so4071275wrg.13 for ; Sun, 18 Aug 2019 11:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rLnw+O344r+V6G+bSidLmsGPxTIhpm+W7MqHjsCtkcU=; b=bVP5YbL0l8yDRp0TDjJoFATZ+s2MVCIjXwvQrIcSALpALg8sbT0IfJot/G6iub/imW znsAdzb0TAdcEaMNOdIfikAfwZhxUxSL7SGlcUtcNr57GyzrMQP2ghuK6wyenknTGpKe gnqMU2mT5J57EBCDR6XKEadlLPQ5b187Qmti+PQNeX2wS5CeBLEtbkuOBg8NHXA8IMiI GollarKxqzubr7ItDzwnaxhXdHHJD23Et1+B9RHHLUmkNJrePNHl6HTbDx7fv4BIAxo5 TVlJkgB6wMh49D6IGRPnFPQaWLLqGdQ2hIwiGiWAcBmOz0aN/gR78YPDSqSzc15kYs5F Lxzw== X-Gm-Message-State: APjAAAVYP/jwmeNnroU0pST8I1NkYKYUUfzR/suGZ3JisflASR1YPbyS QRrrBbZtJiXTjQgcHfTTEBHvQZo+hexsZ9uKCVHbkSwTKil4DtS7Fr3Z6JGTJveEWe7jpLa/bEr dQEnIYV+VhOXX5O4dMfkJiwdu X-Received: by 2002:adf:9d8b:: with SMTP id p11mr21383308wre.226.1566154752036; Sun, 18 Aug 2019 11:59:12 -0700 (PDT) X-Received: by 2002:adf:9d8b:: with SMTP id p11mr21383299wre.226.1566154751896; Sun, 18 Aug 2019 11:59:11 -0700 (PDT) Received: from shalem.localdomain (84-106-84-65.cable.dynamic.v4.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id s2sm10777294wrp.32.2019.08.18.11.59.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Aug 2019 11:59:10 -0700 (PDT) Subject: Re: [PATCH] Skip deferred request irqs for devices known to fail To: Ian W MORRISON Cc: benjamin.tissoires@redhat.com, mika.westerberg@linux.intel.com, Andy Shevchenko , linus.walleij@linaro.org, bgolaszewski@baylibre.com, linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20190322110515.21499-1-ianwmorrison@gmail.com> From: Hans de Goede Message-ID: Date: Sun, 18 Aug 2019 20:59:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ian, et. al., On 23-03-19 04:39, Ian W MORRISON wrote: > Hi Hans, > >> IMHO we need to root-cause this problem a bit more before applying this >> kludge. >> >> Can you provide an ACPI dump of one of the affected machines ? >> > > Attached is an ACPI dump. First of all sorry for taking way too long to get back to you on this. So I've taken a look at all the _AEI code in the DSDT, a whole bunch of it seems copy and pasted from various tablets, but nothing really stands out as being a likely cause of this. As such I guess we may need to go with the blacklist patch you suggested which sucks, but having these devices not boot sucks even harder. I guess this problem did not magically fix it self in the mean time (with newer kernels) ? Can you resubmit your patch with Andy's review remarks addressed? In case you've lost Andy's reply I will reproduce the review remarks below. Regards, Hans p.s. Andy's review remarks as promised: > #include > #include > #include > +#include This should be in order. > /* Run deferred acpi_gpiochip_request_irqs() */ > +/* but exclude devices known to fail */ /* * This should be done in the similar style * as for multi-line comments. Like this one. */ > + dmi_id = dmi_first_match(skip_deferred_request_irqs_table); > + Redundant blank line. > + if (! dmi_id) { No space here, however, better to write positive conditional.