Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28163320rwd; Tue, 4 Jul 2023 14:15:44 -0700 (PDT) X-Google-Smtp-Source: APBJJlEA6kpkrJyxpRJoqgnpHvA0AeSzqUE96roHGToXw1pRCfsccCht/ncJ+QB/kKE39iplrDh8 X-Received: by 2002:a05:6a00:2da7:b0:641:3bf8:6514 with SMTP id fb39-20020a056a002da700b006413bf86514mr17712946pfb.10.1688505344369; Tue, 04 Jul 2023 14:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688505344; cv=none; d=google.com; s=arc-20160816; b=P0RfJ29/ngtvPMn/GXlJq38DMZYyttAC0y3P3X5gw/1sIim3qVyVjffAVIaor8KCbs NZyOYlif+9F42J6KOYi8vvGmtqc6oeUkJClXKyW/V1uHy2vfXiclOfywEC5WM4scq3g5 esULABz0MdWubxGKhtOYzefDSxS05ORL/VJqTMnYt7RviHk0fS7CK2/s+nB/EjbLakso XES4wX4MqyHR0yBQXA3MoOmQMuJsCwaxaACdSrQ2oIPP+TycfSLUNOoLMorAD6LfRHQb nFdIw/716wPWlieU5A35pZwQmT/laZobPYjSHRUOTlYr8UBqDa8KZQ/UISybCIbagThY u5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:dkim-signature:from; bh=2FyWBApHLy+9ZgPJC0YzgYmTxrZLsJAs1IrsJ+5TcA4=; fh=JY4fAt/SOBgkPkA6yvuZYKNiu14lMwNCg4yibpl7qnw=; b=pB/bZdA6vg7t3coqavZ13JL8DMq0GONWknKqXGvvYQStvjraC7klmredqzCZOJamcH aa8EhVEc/Jo/n92NACBZa05ljkZGW2C5pM82qMr37WieYczP2PjQJ5WDARLPDRDPHxdD 3ucXVKT2IMXNJNaBiQQJCtuN1kklM3uPuRneBgT8BT5b3YSAaxi8fTt34VgzFsZj5oks WlHHk6rLOtFwirlYpuOm0eLue4aZZ0l6UypKdGWC91vVv/+LcZs4kst4HpzY7bHqBVyJ vOV4l+0R0pB5Q0I8xXBxacEsPxO9FwWsAVFkgYEQicmSMMLFWreLaxg2+hmD1vPyTSkz 9pBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=bGkweJ79; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y64-20020a638a43000000b0054fd4d7d642si20865079pgd.4.2023.07.04.14.15.30; Tue, 04 Jul 2023 14:15:44 -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=@weissschuh.net header.s=mail header.b=bGkweJ79; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbjGDVDh (ORCPT + 99 others); Tue, 4 Jul 2023 17:03:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbjGDVDd (ORCPT ); Tue, 4 Jul 2023 17:03:33 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1639810C9; Tue, 4 Jul 2023 14:03:31 -0700 (PDT) From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1688504608; bh=jbuSoqRMhzPRGDqEOj7GbSYGStk9q68+nfDVDFfIYZk=; h=From:Subject:Date:To:Cc:From; b=bGkweJ794JmmVfgxTLgjYK550ygLtrWMHmBiuvhVIL0LA6ASD2LOXJBaFumsOJFY2 +lX6NidkgD7Xebf3x+pExjSGcYvmtMNzncuZXS8It5X3Fbx/Ai2A9uxvQIcpRiy3/5 iZQ7dfHXdpvS6w1zr0ljHbhxn0pd9fEx5CxEY6W8= Subject: [PATCH 0/2] platform/x86: thinkpad_acpi: lockdep support Date: Tue, 04 Jul 2023 23:03:16 +0200 Message-Id: <20230704-thinkpad_acpi-lockdep-v1-0-60129548a738@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIABSJpGQC/x3MTQqAIBBA4avErBPsD6mrRIQ5Yw2FiUYE0t2Tl t/ivQSRAlOEoUgQ6ObIp8uoygLMpt1KgjEbalk3UslWXBu73WuctfEsjtPsSF4oJNujsn21dJB bH8jy83/H6X0/Ud86AGcAAAA= To: Henrique de Moraes Holschuh , Hans de Goede , Mark Gross Cc: ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1688504608; l=601; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=jbuSoqRMhzPRGDqEOj7GbSYGStk9q68+nfDVDFfIYZk=; b=IHtg3/hynCvHsKnNvwKePQhZ9CcGpO3NqWiRP3PTAPABieoutwNtXLusQcBZgmP+0fX/6PJw2 Q44HqUOfIh1B4QQoB+Ve0A2z86X7XoK5l+i/Hb3EI4nbWjmhz0+DP7A X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Validate locking requirements in thinkpad_acpi through lockdep. Signed-off-by: Thomas Weißschuh --- Thomas Weißschuh (2): platform/x86: thinkpad_acpi: take mutex for hotkey_mask_{set,get} platform/x86: thinkpad_acpi: use lockdep annotations drivers/platform/x86/thinkpad_acpi.c | 45 ++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 17 deletions(-) --- base-commit: 03275585cabd0240944f19f33d7584a1b099a3a8 change-id: 20230704-thinkpad_acpi-lockdep-7def9d7f91b5 Best regards, -- Thomas Weißschuh