From patchwork Thu Sep 23 10:11:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 1531674 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=oxxyF5Dy; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4HFWCW0mBWz9tD5 for ; Thu, 23 Sep 2021 20:11:18 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mTLh7-00010Z-S4; Thu, 23 Sep 2021 10:11:09 +0000 Received: from smtp-relay-canonical-0.internal ([10.131.114.83] helo=smtp-relay-canonical-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mTLh6-00010S-3o for kernel-team@lists.ubuntu.com; Thu, 23 Sep 2021 10:11:08 +0000 Received: from localhost.localdomain (unknown [103.229.218.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id D06D84049E for ; Thu, 23 Sep 2021 10:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632391866; bh=MuzwgMR7pDcRwUGkEuLKOHL0O1VgHx6MsnEVVIOPxMc=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=oxxyF5DyUxwi0mfXsrSb+rOs62EE4Pc0wRWKnpznhI/nGvNnKivwCx9d4+gSY7uk8 8TrZ5a/fvtvILBq8rSJDozjVgRu2JMzO9KXgeeMgJKhgko4QDFPBGUNaXfmeHiOu+s RN+D9Na2O23uqU5Rr4AEbnLOIxLFrwzp+HCoQQ+WrEHT2O1PMF7jjTf7cnq84AdABZ JT130OMCINjOKqcE9A5k/73BL8cZTyHhIp9GYed9xHeEirA1PqPM2xWXlGeipP7NPf +15PTo/8rUYQjYTg1LBRC9O71reATUY8txpFTqbVnb2CqrFwv53PYJW/KMG4HhLyCV KU7AUD03rb7Ww== From: Hui Wang To: kernel-team@lists.ubuntu.com Subject: [SRU][F/H/I/unstable][PATCH 0/1] Fix a keyboard issue for some medion laptops Date: Thu, 23 Sep 2021 18:11:00 +0800 Message-Id: <20210923101102.12562-1-hui.wang@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1909814 [Impact] The keyboard of some medion laptops can't work under Linux. [Fix] Backport a upstream patch, after applying the patch, the keyboard will skip the irq override from the acpi resource layer, and the keyboard could work normally. [Test] Booting the patched kernel, use the keyboard to do the input. [Where problems could occur] The patch will skip the irq override based on the DMI info, so if a medion laptop which has the same DMI info and the irq 1 needs to be overriden, this patch will introduce regression on the machine, but this possibility is very low. If this happens, we will consider to add more DMI match info in the table. Hui Wang (1): ACPI: resources: Add DMI-based legacy IRQ override quirk drivers/acpi/resource.c | 49 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) Acked-by: Tim Gardner Acked-by: Stefan Bader Acked-by: Tim Gardner