Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp269612imn; Wed, 3 Aug 2022 03:09:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR76TnODdPUt3JSYoTGpiZjodKFxG5jrsoqHp3ADQyDPAgUS0aOOYHmgHhuMECmjFMBvZ5vJ X-Received: by 2002:a17:903:24e:b0:16b:9fa2:41e5 with SMTP id j14-20020a170903024e00b0016b9fa241e5mr25547597plh.127.1659521352887; Wed, 03 Aug 2022 03:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659521352; cv=none; d=google.com; s=arc-20160816; b=MclQdjrULPfXrl33QfitYVw4LUb9iVziR99bX9bOaMierSh/ZcTycCX5jtDt/u4MLH m4FbLpSISQ+RsnuYSfap7gBU5HWEE9zfFm4ve+XSu04kSAA8RlJndaglLfsdEhmGva9l N8ApDkifsvO2Osjdq7mA+m04ZJadWoWhJPopU1IAAa53G8FmTMqI4WF0IZxRCwJjqQih m/m2kSCqgdBrPH4IQWtVx0L43yeGdgXpe6biwk1NEKwm+4JlNs13tS/89rdkAhxdAO3Y 6ZkgPX8mR0QDUUR9+40KgMtci1FrEis3lu+ppoBUkMtDmYQsCXiU8ZNBeuUZARO2XL3Q f2HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=MYN4y5rellK8CG38HGx3PfXKwFdqO/HQ0TF+8pb1mVc=; b=RpzGivSmEp0eh+jXmTFId3QjeSDNBnGwiokRM0aFu+ltWk9iPqYUMjP5WibJwpcL+g mSrOK8q9WC1nMXjPx2r3sQ+cL1Sn+kMQB9RcHJWPN+2uN743nRcsSCj/+Wg8LBnu67B5 n1CWGzn3pv7Ee4C/10p3Yix299WwhdkUxGYXSBjpLtCb2u0hdKujVTALmg4ZFkwE5BMJ aMhNzxiefc9myv+MEpVGZ7EmtkeSUMutf8yM+g+fBWoOIbzIBmnpKlvnn9uMGW2KNa5x lTzXdPQkndZNIM+yPPfZrQCXNiDOzKq+2HEjUSvn0I8c/8ySWRlGWjs+vop2JPisCPYp irwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d3KNx4BQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r16-20020a63a550000000b0041bf06c8ee0si11379346pgu.61.2022.08.03.03.08.57; Wed, 03 Aug 2022 03:09:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=d3KNx4BQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237828AbiHCJvt (ORCPT + 99 others); Wed, 3 Aug 2022 05:51:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237506AbiHCJv2 (ORCPT ); Wed, 3 Aug 2022 05:51:28 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37E465C9E4; Wed, 3 Aug 2022 02:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659520208; x=1691056208; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eyD63yHFj2PWQ0A22oLOeTb3kXx5Fd7gFQUUhxz6C24=; b=d3KNx4BQEszMv7HU2ou4haNFg6WxEzfHT1DkYkkWeYsPJLNJ/F8JgIdS IkvON5EpJJzodComPyfSuvk9P7boz+QiVGn5wfHz6KH5eTiFm2LiR7lEi hMzfC1EB17x26lxbn3xXEF5/LA27g2+P+EgYvleK5EZQ6Ul5ZXwJqLvzO ybAHsPUEqm/2Y1HcglDqrigRZ24QxaWqrqt03caBN0qggQQUnyX7+/ujN RzUQvZEl6vZjsohlNnqqnLD3h370KW6azmiAysVc8u//bpS5vPYGrqrSc w+Se73lUN5SMzjJiPsA9vK+/1AYTSE5gN0gDC9XsA42MhdSFUYTgbvKTi w==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="272679345" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="272679345" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 02:50:07 -0700 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="729153417" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.162]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Aug 2022 02:50:04 -0700 Received: by lahna (sSMTP sendmail emulation); Wed, 03 Aug 2022 12:47:51 +0300 Date: Wed, 3 Aug 2022 12:47:51 +0300 From: Mika Westerberg To: Mario Limonciello Cc: Hans de Goede , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] gpiolib: acpi: Add support to ignore programming an interrupt Message-ID: References: <20220803042501.515-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220803042501.515-1-mario.limonciello@amd.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 02, 2022 at 11:24:59PM -0500, Mario Limonciello wrote: > gpiolib-acpi already had support for ignoring a pin for wakeup, but > if an OEM configures a floating pin as an interrupt source then > stopping it from being a wakeup won't do much good to stop the > interrupt storm. > > Add support for a module parameter and quirk infrastructure to > ignore interrupts as well. > > Signed-off-by: Mario Limonciello Reviewed-by: Mika Westerberg