Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5926094rwl; Tue, 11 Apr 2023 11:57:33 -0700 (PDT) X-Google-Smtp-Source: AKy350ZrjQFfVyuefL01p/OgngfFakhkayr5C7O5G4nRKhf9Hrsv9sAU3zrYEeSTxkKChOsxBMe9 X-Received: by 2002:a05:6402:1806:b0:4ac:b6b2:1233 with SMTP id g6-20020a056402180600b004acb6b21233mr11903115edy.30.1681239453254; Tue, 11 Apr 2023 11:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681239453; cv=none; d=google.com; s=arc-20160816; b=f57anXXz5eyrJni8W3FFZ0qbphHWbXE64/kk1jGxVX/Dcvs+x7OgQBX9SuMQuwlAtY Z8FLPKX+mk7ko2H0j+59ocFe4/sU2TfwkqHPvAaWJW+ztjjN35Iq3sDA9/BMDm326Ml+ ElHgVwWj5nkkIt4TCNLdS1g50er8itRPC9Kb3mdhfh5x6rv2hwESqqy2DPjAa3mfsh6u xRMjIWqTMw1RX9KmSr6cYM/3AUiU+mDeVdZP22ky8SuePXX52wJYW9Exgxt+HDNcJo3E Qpwm54QRTFotLem98H9ouxfnSg6LAMtuC1AieIaZdcZvt7sS3GV7aiDi9P9GfJ9iBtql NxAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=kPhjsjYWnnhMyWGG6/QzkgOE4aekP4KvSE1/uveu+bU=; b=lyt7jGR4CK2tpKMYIuHhi9ddqVbJP4MD9omxMeRpuP9Csq5AaNBXbZlvsC9UKt1f2Y eE8X8K34DZ4u6qNauyqwB9/IuJXSMtNvuaKL0D7rKus2x7Pe2zc62J4Rd8Q06uEaG9Rf YE9F2epDrmJ2uvN6liIMTS7daLZt84Bs3pvaJFHxixlBAo8Ai9jJVeqk11HDXHh+/cRf ACqT3fB+qoaVg6Xv/6WO8zJQH/s3WLK2pa9Aoj5EFpDf5PK3xhOt0n+EkPd4lf3fri/V O+kS/1BdR45l1R04xmZxDdhVC+6sqyCQiY6u2VBJvZSv2BUMtngf9L2k1zCQUjWuupHh c4qQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vm4-20020a170907b68400b0094e05d844dbsi2420257ejc.717.2023.04.11.11.57.04; Tue, 11 Apr 2023 11:57:33 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjDKSyX convert rfc822-to-8bit (ORCPT + 99 others); Tue, 11 Apr 2023 14:54:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjDKSyV (ORCPT ); Tue, 11 Apr 2023 14:54:21 -0400 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0E59558B; Tue, 11 Apr 2023 11:54:19 -0700 (PDT) Received: by mail-ej1-f45.google.com with SMTP id dm2so23000475ejc.8; Tue, 11 Apr 2023 11:54:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681239258; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E4sDlaAqhvNysrKAM2xiktRjb3nWENL9FOHGuHRar+k=; b=WbFSEJdKAA0kDYyzTzxkQhzhUOUTJNGxoWUFzlEx7XS1Thkncmjy+8mlHQ27e9Wetu 57Ei17qs7IKxRKrVWBzXcN/hPydA+tRel170GK4o7CnsKg42kAiwzrVxg+gp9hayQ/Om fQ9Un5qouxqpDvSSKyXBfjIkwbAGShwTU8hpfI1afnZai2tvao4ID4WVH/rKfp9g3qtg 8pjgSRwIE6uT9JGOdOwlipJ7UPIftP8XowJcYPGuPYnVjHO+fX+zFmRYJ6uPI4phW6B3 1TfDEKD8f3jzaBr3CgrsIKXE7NI2nJBvNrxmq1VhNPZukqJMcEQugsgBr0Iqtxx8D9hl 10mQ== X-Gm-Message-State: AAQBX9dV0NibdzrLb863Lj8xjNymwGeBZzqSG1NEwQ7yLsgEDWKmfqaE PtUn0nXCT1kibx/wllsCUtKIKy3dGdYrmJhXBkI9i4En X-Received: by 2002:a17:907:8a0e:b0:94e:7ce:4d1f with SMTP id sc14-20020a1709078a0e00b0094e07ce4d1fmr1950390ejc.2.1681239258238; Tue, 11 Apr 2023 11:54:18 -0700 (PDT) MIME-Version: 1.0 References: <20230411183144.6932-1-pmenzel@molgen.mpg.de> In-Reply-To: <20230411183144.6932-1-pmenzel@molgen.mpg.de> From: "Rafael J. Wysocki" Date: Tue, 11 Apr 2023 20:54:07 +0200 Message-ID: Subject: Re: [PATCH] ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA To: Paul Menzel Cc: "Rafael J. Wysocki" , Len Brown , lore982@yahoo.com, Tamim Khan , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=0.5 required=5.0 tests=FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no 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, Apr 11, 2023 at 8:32 PM Paul Menzel wrote: > > Like the ASUS ExpertBook B2502CBA and various ASUS Vivobook laptops, the > ASUS ExpertBook B1502CBA has an ACPI DSDT table that describes IRQ 1 as > ActiveLow while the kernel overrides it to Edge_High. > > $ sudo dmesg | grep DMI > DMI: ASUSTeK COMPUTER INC. ASUS EXPERTBOOK B1502CBA_B1502CBA/B1502CBA, BIOS B1502CBA.300 01/18/2023 > $ grep -A 40 PS2K dsdt.dsl | grep IRQ -A 1 > IRQ (Level, ActiveLow, Exclusive, ) > {1} > > This prevents the keyboard from working. To fix this issue, add this laptop > to the skip_override_table so that the kernel does not override IRQ 1. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=217323 > Cc: lore982@yahoo.com > Cc: Tamim Khan > Signed-off-by: Paul Menzel > --- > drivers/acpi/resource.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c > index a222bda7e15b..cade3a9e38bb 100644 > --- a/drivers/acpi/resource.c > +++ b/drivers/acpi/resource.c > @@ -432,6 +432,13 @@ static const struct dmi_system_id asus_laptop[] = { > DMI_MATCH(DMI_BOARD_NAME, "S5602ZA"), > }, > }, > + { > + .ident = "Asus ExpertBook B1502CBA", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), > + DMI_MATCH(DMI_BOARD_NAME, "B1502CBA"), > + }, > + }, > { > .ident = "Asus ExpertBook B2402CBA", > .matches = { > -- Applied as 6.3-rc material, thanks!