From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy2-f12.google.com (mail-dy2-f12.google.com [74.125.229.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FA5F29992B for ; Thu, 1 Oct 2026 04:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.229.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790828350; cv=none; b=Jaz57PosdoRlaRJIQ63Sey8GQANk6/1hTlIE4JoRINmjmVZm8nol6DH2CS40iXFMsmESiUoIBN2wiBvjd/gEHNzzrqsNa96z0XIEqDdZ/ADNg8PRRcuaJrIda2xyVbNJdCFr1sumXGCpEIJsLB7jYzcH8lNrJFKjP8oVXVvyQjA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790828350; c=relaxed/simple; bh=fIM13QEFlmcI9y+ExG4Tih5mXaHroRUcHVgG/rxTxl0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Dx0ZjIkKsPzWcDiKD/Zkvrw5tOKlM2cYu2JYeNd50LBOMGcJQ3hGFZPPfndSslS5spS1uTV3IF6fiLPW897HpZUuLlbMoq4weJUAH2S5gb+47cJVXLFlajLGcut3yQ1Tx6GsBxc84pfaNd3l+7tO7u6uBcCgOX43ZiqmCrjEzbo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=rNPSpOC0; arc=none smtp.client-ip=74.125.229.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rNPSpOC0" Received: by mail-dy2-f12.google.com with SMTP id 5a478bee46e88-328664c2da6so5216993eec.1 for ; Wed, 30 Sep 2026 21:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790828349; x=1791433149; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=fIM13QEFlmcI9y+ExG4Tih5mXaHroRUcHVgG/rxTxl0=; b=rNPSpOC0046BjPIBhf0FvKKYMBinE/zoK/GQK+x092mKtmZ2Irfh9qz0nTi8J5DaI3 5aUjrAY5nDJGLai8Lf20LqypGGlWc64RKMW+7KLUpKjfFFyD2ox5ellIqojsvolcA8uO +zh00lfncWudq2NEi91wAZr1Lxu+M+v0LO7rSxeo8vuxAlxnEX5CcyeCNmHQo+8RzQll nU7CPO78xPV2wCFFq21128hmoZzWE6hGjo6gRKYSCgEwesUReyrR9UPK7KkqRy3Jv0r3 jILrSDlgsFptRt+rBm79T2NHFT++VhMB44ArRhOuOI5mpEn/e3CVehEzZqEFrKrSvbqk UEnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790828349; x=1791433149; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=fIM13QEFlmcI9y+ExG4Tih5mXaHroRUcHVgG/rxTxl0=; b=N0ff+BdnM9jgmFMYHXRQPeax/OROC6WX8mI0HzAfvtMA7kD0C/jyGIWihYG7NQ8IVQ iv+Uog403yTMJROY0tYfPFo7k804pj4gFrV1urs9lULMUZSYZmaa61LG0s0ddB0tumFr xIMkk7dLsSV+Mv3V6RrMAoQiJBwToSe/xOjgF4s58Irq9s9ZvKXuSD4kmvo5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5:c280 with SMTP id 5a478bee46e88-34cdb5f92b7mr3311931eec.10.1790828348454; Wed, 30 Sep 2026 21:19:08 -0700 (PDT) Received: from rahuls-x2elite ([157.51.37.69]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-34db315e8ecsm3877424eec.6.2026.09.30.21.19.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2026 21:19:07 -0700 (PDT) From: Rahul Pon To: Linus Walleij Cc: Andy Shevchenko , Mika Westerberg , Mika Westerberg , "Rafael J. Wysocki" , Len Brown , Bartosz Golaszewski , linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI: GED: Support GpioInt event resources Date: Thu, 1 Oct 2026 09:48:56 +0530 Message-ID: <20261001041856.1984-1-theflyingrahul@gmail.com> X-Mailer: git-send-email 2.55.0.windows.5 In-Reply-To: References: <20260930111505.1108-1-theflyingrahul@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, Oct 1, 2026 at 1:52 AM Linus Walleij wrote: > I don't understand the patch at all, but I understand that Andy or Mika must > review it otherwise it's not going anywhere, so looping them in. Thanks, Linus. Andy, Mika: some context that should have been in the commit message. ACPI 6.6 section 5.6.9.2 says a GED _CRS contains only Interrupt resource descriptors, so this firmware is outside the spec. It is still the only source of lid events here: LIGE's _CRS is a single GpioInt on the GPIO controller (pin 960), and the controller's _AEI lists one other, unrelated pin. ECGE is the same, with pin 768. On Windows, the in-box ACPI device driver (acpidev.inf) binds both GED devices, and the lid works there. For _EVT, section 5.6.9.3 passes the GSI number, which a GpioInt does not have. The patch passes the pin number from the GpioInt descriptor, as section 5.6.5.3 does for _EVT under _AEI. Both _EVT methods on this laptop ignore Arg0. If the approach is acceptable, v2 will state the spec deviation in the commit message. Thanks, Rahul