From patchwork Wed Aug 11 20:14:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Schneider X-Patchwork-Id: 495516 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD29CC4320A for ; Wed, 11 Aug 2021 20:14:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C17A761058 for ; Wed, 11 Aug 2021 20:14:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232030AbhHKUPH (ORCPT ); Wed, 11 Aug 2021 16:15:07 -0400 Received: from foss.arm.com ([217.140.110.172]:57854 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231878AbhHKUPG (ORCPT ); Wed, 11 Aug 2021 16:15:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2A77C13A1; Wed, 11 Aug 2021 13:14:42 -0700 (PDT) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.194.46]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C5D753F40C; Wed, 11 Aug 2021 13:14:40 -0700 (PDT) From: Valentin Schneider To: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, linux-pm@vger.kernel.org Cc: Thomas Gleixner , Peter Zijlstra , Sebastian Andrzej Siewior , Daniel Bristot de Oliveira , Ingo Molnar , "Rafael J. Wysocki" Subject: [PATCH v3 0/2] cpu_pm: cpu_pm_notifier_chain vs PREEMPT_RT Date: Wed, 11 Aug 2021 21:14:30 +0100 Message-Id: <20210811201432.1976916-1-valentin.schneider@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org Hi folks, This is v3 of: http://lore.kernel.org/r/20210811131405.1731576-1-valentin.schneider@arm.com which addresses cpu_pm's notifier chain not playing nice with PREEMPT_RT. Revisions ========= v1 -> v2 ++++++++ o Reword changelog; clarify comments (Sebastian) o Delete atomic_notifier_call_chain_robust() (Sebastian) Valentin Schneider (2): cpu_pm: Make notifier chain use a raw_spinlock_t notifier: Remove atomic_notifier_call_chain_robust() include/linux/notifier.h | 2 -- kernel/cpu_pm.c | 50 ++++++++++++++++++++++++++++++---------- kernel/notifier.c | 19 --------------- 3 files changed, 38 insertions(+), 33 deletions(-)