Message ID | 20230704-thinkpad_acpi-lockdep-v1-0-60129548a738@weissschuh.net |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp1459991vqx; Tue, 4 Jul 2023 14:06:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGQX6sWWmRBWCKULFQDIKMotwN2QSgGKifZczaKMsvkoPfB0xPHKgZdKD5GH2CcW4RLoEXg X-Received: by 2002:a17:902:b18f:b0:1b8:a463:c6fe with SMTP id s15-20020a170902b18f00b001b8a463c6femr3177510plr.50.1688504761099; Tue, 04 Jul 2023 14:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688504761; cv=none; d=google.com; s=arc-20160816; b=AtMELDPCYFhFMPLLJ3BfYy/21hvdegOAVdPkh9FdhUSQBtWYVS8q5e6dOWERrLzvUT AAOP6QLICzBOPTPJ947BuQnQwQl/YZVhaBN+6UEg0oqK/0wCAZwps7pfhY/OAbejeP1J kWFs7HNnyop0+sk6PLQE5jAhsx2mNoeZZExrP8EyTDfSdzPrK/DEKK3MqtmDgKvGsLVZ nMFHG6d5G/kwTPumR6maL7yEEdpxQSKkLsJ2bTIrq39E3ZIF7ILK2dj7nQaJqXCPrU8W H8lbb+Bpc0tZ7m+HzcNiM/fyPyJUKbr1Rk0p95KDio0/9Zjn2Q199wlBL3afZtQxL8nP 8+Fw== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o16-20020a170902d4d000b001b530ede2besi22996686plg.614.2023.07.04.14.05.48; Tue, 04 Jul 2023 14:06:01 -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 S231296AbjGDVDi (ORCPT <rfc822;tebrre53rla2o@gmail.com> + 99 others); Tue, 4 Jul 2023 17:03:38 -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 <rfc822;linux-kernel@vger.kernel.org>); 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?= <linux@weissschuh.net> 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 <hmh@hmh.eng.br>, Hans de Goede <hdegoede@redhat.com>, Mark Gross <markgross@kernel.org> 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?= <linux@weissschuh.net> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770525568408363463?= X-GMAIL-MSGID: =?utf-8?q?1770525568408363463?= |
Series |
platform/x86: thinkpad_acpi: lockdep support
|
|
Message
Thomas Weißschuh
July 4, 2023, 9:03 p.m. UTC
Validate locking requirements in thinkpad_acpi through lockdep.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
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,
Comments
Hi, On 7/4/23 23:03, Thomas Weißschuh wrote: > Validate locking requirements in thinkpad_acpi through lockdep. > > Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Thank you for your patch-series, I've applied the series to my review-hans branch: https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while. Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window. Regards, Hans > --- > 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,