Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp656771img; Fri, 22 Mar 2019 06:03:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqznDqeblD28jYs0LKQOWVaq2q4khUFRWUuZu3SLmzw//NT0Znr0aRy2IwcCBjJuJA8fv1nq X-Received: by 2002:aa7:8102:: with SMTP id b2mr9044222pfi.69.1553259825363; Fri, 22 Mar 2019 06:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553259825; cv=none; d=google.com; s=arc-20160816; b=OU+pOLnXUkMIsvN8yBXDN8M9Qxme9d9PMAJ1K1kg1JIbvjDe60LvW9gW63UI78vLIX 8OHN+GSEO7cDuk+LwgC1UyOfC7EG15Cqmy3iKw3g+88l1zV4UjsYweQF2ZfAwggmnpxS mzLkPoveUQ7f9Iw0Ab8/IHbw9Ry+uYSdR1ftzGf3VsG85A6pfmjED9h1fLVemVsm4XN+ 5FgOBbriL7nmOK4Ln4kgJyNagnvDAL63gh19dqqngBThVDgpAcG/O2cQUYleJnjTHnfJ DphNgElSSrZxF2fcmW5V3h76s7Dz+RwtX2e9AOgy4wPk2QtttOU0O0NsG47ZTZ7e1YaB 4/cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oMq5lykRaQaIukEQJAiRWwsnX/VfsNDCmYr1ARRnIE8=; b=0PLcO/RyGekn4IINzSA1eRiIHyUn9njLAcS5SUPek9HeJ7SgHCh+Vv2/QJK7/1/0Ld DFvn/yObfvaxcfiXu0tB1eU4Wzlp1tU3q2jj4LrzQQmc9OCSvdFzz1pHyydn6jl7Fhcw 4PeYxaPSjQkZSLFP1D7okh42lSslQHj7hWQnAO+/WS5675KijLxbVXoBRvBrO9pzR8TC nwq74kvnQW2j6rJTJE2UxlxdPVrjUJ+GI7BA0CU1UQBagXyeiMzZs0RwDAkA1onBij+Q u88/rt6PkD+cHXgy2bMy7hGxTzTODkVd3HH6nziFdDu6xUzKB2YKIayA2V+vYin+Doux xdaw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m30si3006851pgb.493.2019.03.22.06.03.29; Fri, 22 Mar 2019 06:03:45 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731793AbfCVNBb (ORCPT + 99 others); Fri, 22 Mar 2019 09:01:31 -0400 Received: from mga18.intel.com ([134.134.136.126]:43881 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731007AbfCVLm7 (ORCPT ); Fri, 22 Mar 2019 07:42:59 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Mar 2019 04:42:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,256,1549958400"; d="scan'208";a="154749600" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga004.fm.intel.com with ESMTP; 22 Mar 2019 04:42:56 -0700 Received: from andy by smile with local (Exim 4.92) (envelope-from ) id 1h7IZa-0001v2-Vx; Fri, 22 Mar 2019 13:42:54 +0200 Date: Fri, 22 Mar 2019 13:42:54 +0200 From: Andy Shevchenko To: Ian W MORRISON Cc: benjamin.tissoires@redhat.com, hdegoede@redhat.com, mika.westerberg@linux.intel.com, 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 Subject: Re: [PATCH] Skip deferred request irqs for devices known to fail Message-ID: <20190322114254.GT9224@smile.fi.intel.com> References: <20190322110515.21499-1-ianwmorrison@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190322110515.21499-1-ianwmorrison@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 22, 2019 at 10:05:15PM +1100, Ian W MORRISON wrote: Thanks for the patch, my comments below. > Patch ca876c7483b6 "gpiolib-acpi: make sure we trigger edge events at > least once on boot" causes the MINIX family of mini PCs to fail to boot > resulting in a "black screen". > This patch excludes MINIX devices from executing this trigger in order > to successfully boot. Hmm... Feels like this is symptomatic healing. Hans, do you have anything in mind about this case? > #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. -- With Best Regards, Andy Shevchenko