Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp952571lqh; Sat, 1 Jun 2024 03:17:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3eGoF4Hxx33YzhdZf3XEvIwI9bHrTIhGb7W/AJs4dcmUIGCUt6esPynYywomrugoZUwzJQUgTyEaOmIaK8ccjAvgKCulzyp455o717Q== X-Google-Smtp-Source: AGHT+IGEK1Z8/wm/M1LIVCATQJ7QMTU6v7F/7YbO7FVA2qeDDG21YjDW44cyowlwfcwYXLphEu8m X-Received: by 2002:a17:906:cec6:b0:a63:5421:85b0 with SMTP id a640c23a62f3a-a6822447756mr298144266b.75.1717237074324; Sat, 01 Jun 2024 03:17:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717237074; cv=pass; d=google.com; s=arc-20160816; b=l+DXYMMnVAHb2C12DbiYPcx0OtSSUxM1l0DIdZ7C+jWRZL9ZBNK9qgcHEIWNNs07Si G5l7pCGgtPbIYrxHSRhSY5YqYtrTcgsVn+WrEGtcPlQ5xr9biLzkFkP/pdi6Izgy/kA6 tZpVignQeqePNDc1m9KjYV+NmHkndoScuKmL8YdPI4Ix71uD+QObjR6tjup2ry5uQRJp t2NuxEDzKeutCyXW3sEvgYn4CuC+E9lrKqIvedlQxsm7ZWefyrWwuecKEJcLq/SBEnAd rASn0ZpF/Lyqn+mECvzsprEn7V2vUbNqlJAfcK9UAScqE/0ZPR9/7dZxui/lebhMnvvs KYaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eZs/keCiUAE+MZGtDTC1xEjlWrpw1bNweotdJpekoSQ=; fh=T/UFZKW38GDExlaakmuW7u09s5+xW23vpwLIzzUgI4M=; b=j020tDNvGJMfVzRc3anJOkuywvJTmlZHXy7FBPiP3sWE3+1dvvqdAU0a94+hDLTWgE 4DGAfPE7ks/Hb8sboPdzPc7n0hBiWhn52mPq9wM3mBpdVFzuU7KHQ/tCRoB15bCstbMD /vRHAvdWwWFB6nbxhVYxrRdXweoqH02vdLHqjqNGVj4CBILInV+31rttww0cOLTRiH3h 3fRx9JBT7//7NrIzF2ngohZXi9U7lhG75bPbeHu6J9h7KQkaEpmG04BrOIuRwxjNdbd1 BSa2BwceIdY5StcYa07L9KdM/O3YuVaZ74keZPR3ae5sidVllG0ZvEEEQIfW1liDUeoI Rerg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=I7ohPjh1; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-196678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196678-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68a0f6109bsi88228066b.596.2024.06.01.03.17.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 03:17:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=I7ohPjh1; arc=pass (i=1 spf=pass spfdomain=t-8ch.de dkim=pass dkdomain=t-8ch.de dmarc=pass fromdomain=t-8ch.de); spf=pass (google.com: domain of linux-kernel+bounces-196678-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196678-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=t-8ch.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7EABC1F24C76 for ; Fri, 31 May 2024 10:38:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CCA0156248; Fri, 31 May 2024 10:38:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b="I7ohPjh1" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4BB9155C8E; Fri, 31 May 2024 10:38:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717151886; cv=none; b=lXNxXnonethysvIO/V3qYAjJu2laPlzb9Xqqt4QPUyFz4AX2bG40iE8PnQwH8ZP3XuuvnYfqAtZEGcAsaKOFwQQdz5ychDunPi6mQEfHl4t0we5Y7XDHrCGMpKwqrYvgynk3yFU1qc+2kHo8P+Kgh2ud3DxMEr6+GbAtRFc83UY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717151886; c=relaxed/simple; bh=vGS6g45uGnxHvSSNpUZ+06i5ODxlJer7tFN7ZSsuT3o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Q3Pgcc5lTEnJytAjbd87DHSVg5/wS+AX67Qlm+cIJuP5AXuavmKqS4WsSRQZwov6HxlcA2r2m4uxWr/9teIN80mBOc3GdVKCQdsjFqoQBvCCzBgCEoZWEHTw8NKcpNZ3UDPW4IUfLUApvdXKjcxyRzsBWHvaakJFm9MUjxGN5iI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de; spf=pass smtp.mailfrom=t-8ch.de; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b=I7ohPjh1; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=t-8ch.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1717151875; bh=vGS6g45uGnxHvSSNpUZ+06i5ODxlJer7tFN7ZSsuT3o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I7ohPjh1avznzAaPb8T6T7o4LUKfcwAdQet/t5H/NpzpKtL4FfFYE/P4ucUbW6j3T SVCdjqM8Wjgnc2pwGNtt1GO02xrFZlLwFVHFyxJZ+e9XpapKCWzfDo1XUUKQbyUt48 AxPK4mJsasUNb4FlIbz/JCnDeDv20T49z8G9QMSQ= Date: Fri, 31 May 2024 12:37:54 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: =?utf-8?B?UmVuw6k=?= Rebe Cc: Wolfram Sang , Guenter Roeck , linux-hwmon@vger.kernel.org, Hristo Venev , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Radu Sabau , Paul Menzel Subject: Re: [PATCH 2/3] hwmon: Add support for SPD5118 compliant temperature sensors Message-ID: <2b3ca226-339e-40f3-908f-bf8adcb94504@t-8ch.de> References: <20240529205204.81208-1-linux@roeck-us.net> <20240529205204.81208-3-linux@roeck-us.net> <34a4292e-c4db-4b40-822e-b892e1444045@t-8ch.de> <16e448f1-cfc9-4e88-b3f1-55e1856d1405@roeck-us.net> <0a2ed64d-06d9-45e8-a054-4ded4429f952@t-8ch.de> <20240531093154.rna2vwbfx7csu2sj@ninjato> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On 2024-05-31 12:01:35+0000, René Rebe wrote: > On May 31, 2024, at 11:31, Wolfram Sang wrote: > >>> Wolfgang seems to think it's important: > > > > Wolfram, please. Sorry, Wolfram. > > > >>> https://lore.kernel.org/lkml/tdia472d4pow2osabef24y2ujkkquplfajxmmtk5pnxllsdxsz@wxzynz7llasr/ > >>> > >> > >> Ok, but that doesn't explain the reason. Wolfram, Paul, why do you > >> think this is needed ? Note that I am not opposed to adding spd > >> eeprom support, but I'd like to know why I am doing it before > >> I spend time on it. > > > > A working eeprom driver is needed to get 'decode-dimms' from the > > i2c-tools package working. Jean reported that EEPROM access for DDR5 is > > different from DDR4, so it needs a separate driver. And > > i2c_register_spd() then needs to be updated to use the new driver for > > DDR5. > > Well my original downstream driver already had eeprom access: > > https://svn.exactcode.de/t2/trunk/package/kernel/linux/spd-5118.patch > > Note there are some surrounding -2, and parity patches around this patch. That would need to be rewritten to use the nvmem APIs though, I guess. If nobody wants to do it, I'm volunteering. Thomas