Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp15580pxt; Wed, 11 Aug 2021 13:19:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze/0O++gDoxQuaHSVoiaE/Bn7SuRO/4dT+agDGnBceLvNVvvyYxXPm3AUeZZuHGahSsoTd X-Received: by 2002:a17:906:1615:: with SMTP id m21mr268208ejd.279.1628713159934; Wed, 11 Aug 2021 13:19:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628713159; cv=none; d=google.com; s=arc-20160816; b=KwLzqYC0o91ITIkN6/3tcQbin0acunNPHYJdrVt7IyCMMHl9hyKuXI+fhMhhWmgRb8 SQygNxlNSk8yW5CTTh4EQEcMwgphhXnqcS1d7LEULDRhWLwbNFhS/xVuYkyFlvFX4X+d nuSObsex8khr5hrM/riKIBDJkE1+3L//jvJFZ8Kux0GEPqZaDkAbfNkhsk6OsBRbs1C9 R3anbV81sDjeDwsmS3u4cUutA1ra40BPYZwtzsueTcY5xDvbxI3sr1gQArd4kMw65ZV0 Y2la3JXtLhQEZFo8ng2fiUC/NApjV9qHqQ9yR1SV95OrkpxNV+2AGxMWpcDwDAhkYfsA ExwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=3i9gORF7aVr50uAgX2YFovXHor8jJ/ezBLmWH8mblIo=; b=bkPuv9ptyHl12QNPfDqcD05QqYURs28ObWmgSeCDexa5t4JDRformtr8mxh18j8rHE OynwsoSKyKZDD6j8XbaBOLx4uRkr53jDP8mO/uGUiY3gezNcJANmBl4zTFklMueXQREm CKuG5xcp63p5uFWGDerNcAx6Gh3MewlOTgaAkbPYKQwmiRpzmFFZJefMriDncrXoG3qc U2OX0zv70wUHntCzSlc2XsYBz2YL9THgSx4Ec9iirKTunPqLMHbabKIGU5Njw1AK5oM+ Ok35aHfRTiZ9s+YfAhPHplB+kDW1bz79z0niClBNVL/3vc/Nm//SLdPhzvASTiVN30s6 lm0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gv13si153700ejb.158.2021.08.11.13.18.53; Wed, 11 Aug 2021 13:19:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231825AbhHKUPI (ORCPT + 99 others); Wed, 11 Aug 2021 16:15:08 -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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.25.1