From patchwork Tue Jul 4 21:03:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 13301585 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5520EB64DD for ; Tue, 4 Jul 2023 21:03:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbjGDVDf (ORCPT ); Tue, 4 Jul 2023 17:03:35 -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 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= Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@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,