From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 614E542E8D6 for ; Fri, 31 Jul 2026 14:31:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785508317; cv=none; b=ULrYDuHY3v/O/9g7Lf8fTQourebqwKDi3d19n4IWFo+OKEgM+/4pGtqxmWwP6FBiAXfAZ3kELy9RpbzYHtnLpv7FngkOKr7xbO5JCMBOH63IByjGUBMI2k5v/GqooJ30g1oz9Ex7KZkcod0e6empIT5E2fymRbA+dvuNOjpvzjg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785508317; c=relaxed/simple; bh=l9fwqzHxeMnBKlvaOPLHoKvNOlfOY6llkdvXG3LCTf4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nMxLwM2jgOVrECjka/2UZUXLh3HV4XNbBZNW9Yjpw1jklkgqoRJTqAnzYcc1GjPvNrEOMclPBdMj9irohQTVLFdPE09SHKP9ofwZdjfEmNeT5abAt2G+9R6NyTsgyNyK34h/kprZnn/iV4s0TOP7la98qWJq336GLgcolmT22PM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QWA9cIfp; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QWA9cIfp" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2ceb096e675so12209095ad.0 for ; Fri, 31 Jul 2026 07:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785508313; x=1786113113; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to:content-type; bh=sCV7rUk4XsmSK/bBAvmYQSxoopJ6iff6FRBs63f8X+o=; b=QWA9cIfpnby4d1/84sLFxJK9JV8nt+TRDZomsA7ycxz7l+dpWy3QQT+lvbf56t1z6b LAYvy7SGmuA8rYkAarHg4nC5nQBGMZOlvrNlF1ywz6edbiKhSjkEhSrXBmOfWuysu6aM dr+UUMi85z208OYSLNN+S/yfWtga+mXw30x7Irnz+mFW+WBfB7ogXsHeFtL5jeONHj0t 54KZcTvBLxdKo+fUC1DuojcU7/6dTlxNG3IhiIgPm3QTGGNMrJnxTPmZiIPC9Y4zpi2D NZf79/UUSdVKIDcW8IFLRZG21KdnBPHs6dLP8wtOq3/DwLvTXQX9+Z4MLQMFretrH6bg bhWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785508313; x=1786113113; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=sCV7rUk4XsmSK/bBAvmYQSxoopJ6iff6FRBs63f8X+o=; b=ia+v52Yv7lHCC5TWEMP2Ld+UoBr6qx2TJFLN9N5kkprN55NfoxbTIv0Z98WA101ZSr p6A8Jo4oZiP56xwtLTAZAFNQL5LoPFi/OdBdDAi7NDJ8bDvhBZYFUHeNjCzuUspqJcpL o7Z3dpyu0TAQNC1sfUPdXWkGRikG7kbbRt1AbqhqUPNQP8NVXZolxMZj2a7D+LiNyQK/ pN0dn8wv2CwNsDtm0J1PxcP6zSyTwgWKsYHJ1gugrFWvmandzK7XAJAaHByyp1m9Z8a0 +f8reQ6VL2mNYP72VRxs/pYWhznJPaWEQIMy9SwdQOqJCmiqKgh2/EgGv0OrPtXy4C1Z igyA== X-Forwarded-Encrypted: i=1; AHgh+Rr2MOZ9Rv7RkDqq81jrnIRQdxvSGRz35r5jucoxR16WRtpwelKmcez3IZahKL/NRQACje8ZCITX5h5IdQw=@vger.kernel.org X-Gm-Message-State: AOJu0YyMV7D/NghNxMZ5890okF7f3wtbBTKpJTiSwdBm1yhDFFuIjTMF 60OA/o2ZpqObu/0Vim0vpjbe9ITheqs5iJVHoMJMCsd2gwgWoMtR99No X-Gm-Gg: AR+sD113zuVRPzhqlS37CTLyrJi0udHio9UxfuUYASeNIZH+uP5otRPXuS/ZBezK+VC LP01cFWA0dDYDVGTuCetG4dyDQj2SVCiVNVmSeIPOt+d7RM00fRl2owDpA0KmOy9hUGP6B+weM9 2G/veQYRq+HMIkNCZv1Y0wchkcePlo9uCeFE1D/X4YwO+xp2apCKv+sX9wrwtsP7zs4XEA2b7Zm EiqQzNANEUq5AgB3aPccKc4faEQWMDRrh/uz1Vu5BAxNW5BvISgQcMI38t4j22OGvlS4F7X9CC1 EBBb3gMrTQdMYv+ZXWQn6OobRDAnHkzsCxwk2pBb4Cfj0SBrQ+pRBTRo7wyX0AXCT+oIS5+Owev S1Zc0/JQmzBLNFCpj2gRcbQnzWpCoO2vxPi+awbVzGzpVIvqFMq8mSFdobZLpoy+OdtFvy+oSnl I4anYkLtoz7tePHzCT56r7+TFCT6XwU/rsIMK8GQLaW2QfslM6YrXF1hXr0WbL/PahNnW+x1Stc A== X-Received: by 2002:a17:902:e5cd:b0:2ca:d7a0:1312 with SMTP id d9443c01a7336-2d05229a2a8mr2499625ad.25.1785508312949; Fri, 31 Jul 2026 07:31:52 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:da43:aeff:fecc:bfd5]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2d04b0eb7c3sm6097115ad.54.2026.07.31.07.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2026 07:31:52 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 31 Jul 2026 07:31:51 -0700 From: Guenter Roeck To: Vincent Jardin Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , Shuah Khan , Charles Hsu , Markus Elfring , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Subject: Re: [PATCH v7 4/4] hwmon: pmbus: mpq8646: gate the writes Message-ID: <179a2f2f-b932-4a27-ab6c-cb70f821cdc1@roeck-us.net> References: <20260730-mpq8646_v0-v7-0-e7c7ad768d5d@free.fr> <20260730-mpq8646_v0-v7-4-e7c7ad768d5d@free.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260730-mpq8646_v0-v7-4-e7c7ad768d5d@free.fr> On Thu, Jul 30, 2026 at 05:44:02PM +0200, Vincent Jardin wrote: > From: Vincent Jardin > > The write cases of debugfs entries are provisioning and bench > helpers. By designs the MPQ8646 powers the CPU core rail, > so a wrong write can brown out the board or persist a bad > setpoint into finite-cycle NVM. > Said differently: some wrong register writes can and likely > will physically damage or destroy the chip and/or the board. > > To be safe, it is disabled by default behind a > CONFIG_SENSORS_MPQ8646_DEBUG_UNSAFE and we print an explicit warning > banner at probe time when they are built in. > > Signed-off-by: Vincent Jardin Applied. Thanks, Guenter