From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=128.30.2.78 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796407183; b=wcsi3Z1vSR+g65dKxvkv7BLavqKtAJyqHHHVunqlYthxNP3bhOgZKN/PMySqp3ob2nHd K+oUNB/p92U/jd0JxWyVDWj+ajCBr3icF8zagwVtewZ2kYRhY+BIZ6iR1LtpYuvmLDmFw feM6aBR+6kmSekBIOUAHtQ12cwgYoH4sfmAP/obFiK5doPsNNWFHvaBcrwgfrg4z7P9n0 PqJZO7dZSk7IucrWjBFH94pBd9cG0VdmM4GU5yCOwlmD7NXXebRGhkVSYkieTCAw6D/t4 z0J2qc78fOPMasuE54elOdVuRJK5inqbiqJdMANqSSmspL7wdyvHcCgOiSsE7tTMtJg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796407183; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=g7fyY6dBsU1D4XLjXhb9UGuM1jJhlLR6h/xxXIcYCwA=; b=ZABkcFKgLhx1RNDIQdzzCdnuW9BrGwltO0GDJ1FMpyAKEiroctcvjqI0CRJZxfJzZoo2 S8hCCHeale3tD3LBGB7uNvqFXfdvCp4yibB6LgfMdSLCp0uPHgGSjr00XZnWeXewz8f4f j6ecgPJynXxqy6OZ6E6cYbSxUfmd1jyFK6gtdVS++D5LSuH8YeAyV+GXumL22rZqTxDwq m18BrGW2WmCiVJ6sz2k6ouhdHDtr9XcSABCwhwc0QYxqPEa2MRE8oNPJ31eQqXrHLpM2r FesPjwT6rAjDTk+Yp2UJkU7MBmlP0czcVnOsD002f/VXWRKu15jgN832tf/r3f8COlg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=csail.mit.edu; spf=pass smtp.mailfrom=csail.mit.edu; dkim=pass header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=CzjPjiFK; arc=none smtp.remote-ip=128.30.2.78 Received: from outgoing2021.csail.mit.edu (outgoing2021.csail.mit.edu [128.30.2.78]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ECBFB606A695; Fri, 4 Dec 2026 17:59:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org ECBFB606A695 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=csail.mit.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csail.mit.edu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outgoing.csail.mit.edu header.i=@outgoing.csail.mit.edu header.a=rsa-sha256 header.s=test20231205 header.b=CzjPjiFK DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=outgoing.csail.mit.edu; s=test20231205; h=In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=g7fyY6dBsU1D4XLjXhb9UGuM1jJhlLR6h/xxXIcYCwA=; t=1796407182; x=1797271182; b=CzjPjiFK4hdTeGJ6hSqXnfA6sK5IOuA+npuizgcVVLeHqoBOmynRrKH8Opf9Y jCCG3cpKXE5neilXsu8dWVfkHx4Uy8fmcloO9S/4qkO7IhY/u78frvUWH5JkLv+8JYAKsUnIAH4or HHJh9Jb28r/QPLneGZu9o4RI0jOd4IxJFLTbmgA4Rxe2eycVaFpyFucj83gNcbj5PQrDxlSnhgqAd CXpaOOt3pSqddiMHK4Dt1kuat6Hd6OIbgmZL4z2TnxEp+ED6lmKYVePonjoySfmjx2v0tVlQ7HH8b OJvRS6JFraLZUxhcf7dIYQ7txmbsWr42RAU4C4vpF012/I4BJw==; Received: from [49.207.236.45] (helo=csail.mit.edu) by outgoing2021.csail.mit.edu with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1xZXYt-006czi-R5; Fri, 04 Dec 2026 12:59:12 -0500 Date: Fri, 4 Dec 2026 23:28:50 +0530 From: "Srivatsa S. Bhat" To: "Rafael J. Wysocki (Intel)" Cc: Jassi Brar , Michal Simek , Saeed Nowshadi , Tanmay Shah , Tejas Patel , Rajan Vaja , Greg Kroah-Hartman , Abhyuday Godhasara , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heinrich Schuchardt , Anup Patel , Conor Dooley , Caleb James DeLisle , Daniel Lezcano , Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , Herve Codina , Chris Packham , Markus Stockhausen , Sander Vanheule , Lorenzo Pieralisi , Sudeep Holla , Ulf Hansson , Christian Loehle , Anup Patel , Atish Patra , Suzuki K Poulose , Mike Leach , James Clark , Leo Yan , Alexander Shishkin , Yeoreum Yun , Radu Rendec , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Lee Jones , Pavel Machek , Griffin Kroah-Hartman , Lukasz Luba , Jens Wiklander , Sumit Garg , Etienne Carriere , Andrew Morton , Zqiang , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Jiri Olsa , Ian Rogers , Adrian Hunter , Guo Ren , Mao Han , Mete Durlu , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Palmer Dabbelt , linux-riscv@lists.infradead.org, linux-mips@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org, coresight@lists.linaro.org, linux-leds@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-perf-users@vger.kernel.org, linux-csky@vger.kernel.org, linux-s390@vger.kernel.org, Prasanna Kumar T S M , Saurabh Sengar , Thara Gopinath Subject: Re: [PATCH 10/14] powercap/dtpm_cpu, hotplug: Update name & callback to match the hotplug state Message-ID: References: <20261204-fix-cpuhp-state-names-v1-0-32e62361ce1d@csail.mit.edu> <20261204-fix-cpuhp-state-names-v1-10-32e62361ce1d@csail.mit.edu> X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Dec 04, 2026 at 01:40:54PM +0100, Rafael J. Wysocki (Intel) wrote: > On Thu, Dec 3, 2026 at 8:20 PM Srivatsa S. Bhat (Microsoft) > wrote: > > > > The powercap dtpm_cpu driver registers a CPU hotplug teardown callback > > at CPUHP_AP_DTPM_CPU_DEAD, but names the state "dtpm_cpu:offline". This > > is misleading because the 'offline' suffix denotes the (teardown-only > > state within the) ONLINE section, and not the PREPARE section where this > > callback actually runs. > > > > Rename it to "dtpm_cpu:dead", following the naming convention documented > > in Documentation/core-api/cpu_hotplug.rst. > > > > Also, rename the registered CPU hotplug teardown callback to match the > > state that it is associated with. > > > > No functional change intended, > > So Fixes: is not applicable AFAICS. > Got it, thank you! I'll drop the fixes tag throughout this series in v2. > > except for the update to the name string, > > which gets reflected in sysfs output and instrumentation. > > > > Fixes: 4570ddda4338 ("powercap/drivers/dtpm: Encapsulate even more the code") > > Signed-off-by: Srivatsa S. Bhat (Microsoft) > > --- Regards, Srivatsa