From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.219.49 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792697241; b=ZiEnzdH+vx/ymxLvZNolyP82hpoHHMyBkn1RvO3NYggc1KzLRDt8yRqDWHy2vumfFkFv oniipGb2EfprOYy6MuMSpEukEKtD3xCiT7K+sAAQz4AXAtUkQJxW6A7KSmSu2Q1H4WNKK 3qrdVT0Yikt4jsT5uDQsOD/q4Peytgh4Zt7k6sVNwPu8wCczsLJFxcAaBO31Q6jQnx2Tr umC+m+sWTVqczBcYyi0yDrl8TjXWjTo2kmR6RIOerTQmTvV5K76xsC8ZKzSofkT6cLoB2 APZXuDw2t9wTVGn8LP+BHnfkabq0CXsccovy3/R/Poygyn4/sBfBF8qX+m/s/xec5xw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792697241; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=UvQHobgH8Zb4rHJc4CXfEofhf12rBgJ9G+UkmAWeH18=; b=kyeyt+6U/8adilTRTuWGNmtg+MqMxxQU+7ONxhO00odB6Y2iBlEqYPecMMnvh9XyBmKA fkbyvIqw3X+JkhAPF6nHeaoXK67rikGVnfer5M6Nqi+VIKO4o4WYJmQeDDnBfbu5bdhYv IN7UoZH4A9cQAZA4EoPHT9a9NDMfDfuatJgkzTHWGPhibVDsJe5w4BuzKG17z751waXoF lup6LdpyvlmEA+j7AWaXkIz+i/BbC0am2RL/fBZQb0dJLjswi/5J3LKxkb7Ve/dY/RF+Y RDG4wGpvW7yTUevXkR3qsQJ3WZToPE+Ino73EL0EcI2/la80Q2O5EpAehC4kkj+Avrw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=thinkoid.org; spf=none smtp.mailfrom=thinkoid.org; dkim=pass header.d=thinkoid-org.20251104.gappssmtp.com header.i=@thinkoid-org.20251104.gappssmtp.com header.a=rsa-sha256 header.s=20251104 header.b=zhfZQOTK; arc=none smtp.remote-ip=209.85.219.49 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F424606A319 for ; Thu, 22 Oct 2026 19:27:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4F424606A319 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=thinkoid.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=thinkoid.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=thinkoid-org.20251104.gappssmtp.com header.i=@thinkoid-org.20251104.gappssmtp.com header.a=rsa-sha256 header.s=20251104 header.b=zhfZQOTK Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-917bab38b14so2481416d6.3 for ; Thu, 22 Oct 2026 12:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thinkoid-org.20251104.gappssmtp.com; s=20251104; t=1792697239; x=1793302039; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=UvQHobgH8Zb4rHJc4CXfEofhf12rBgJ9G+UkmAWeH18=; b=zhfZQOTKLhfJXm5LG7URakF+NxBk8bk9htV9atsIWMIUWrU23y7Sfypddxdak+rC3i PMYT/8uaey1X82aqk34aRLpVr2lJfr0AV634/gAmPx50zofgvvaTW+QNmNoCja4ZjVaL 02Nx8Bpbt+v1DsTKhFrexDMQGgpCYQjPIHqvvbCxam1OokDmFvqL2Zf8/2AY3S3aLOUW jTRqtHAprU7w3Ia1FulRoOXZLlwn71GzVkf+/kB8LtXmBY1Y6fhfUSWgxlpTFRVIU4xE s2NVxm4x4w5wU+lSdKeE4oHSfpC5VkQdC1Lh7ikpJgQbh1u39glIH6sgf/+glyqalNrw 6qNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792697239; x=1793302039; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=UvQHobgH8Zb4rHJc4CXfEofhf12rBgJ9G+UkmAWeH18=; b=ull2i47GUHQtRtstZ1foHvZNzkSFDoRJIUUg3aPe7lqksjxjcJyewA+xfjmoyX+jU9 oYAVVuPOyROwURStLzlxJbXPJ3f1Mik+YzB7nIU74cVAE+koZ6VWD041H59ZLN7tsJ18 A4+mztjx5wpBV4K4kuaT6iVKoO0MVurzJL1XnZXn35ZaKqRsAUaceYkWeb79HHpgvAKC L3xtu8cbCCEX9XqXnFTXNDhDhDqtKDu66bxI1MPCuFazBVe9SBREYx9/lNf/0/fL88M6 xOi7cHqMDOfd601a6Ds97veSvQr9cZ5XY5XjpiE8XmdbpUxOnCS6GVP9nAD7IrOMlJdl N5mA== X-Forwarded-Encrypted: i=1; AKwUvBzoMiEmV5Fk/LDQO92IESF112gm3H5iT3YU0ABY3I7lpwHGh6AuzDS1qCxxwvvO8VH/Ii1Srg09IiB5GEk=@vger.kernel.org X-Gm-Message-State: AFq9FYL6e4xA0ND77B9X8cvbPfHrA60cWsuWFgSjmbUu1CxNjBWM4NR1 R8PPyQyYwkfOYS8lH3Vf6OlIOavb+CqnBQZ5wfUtWarGCm7d5AgUqny79jbADwKV4T0= X-Gm-Gg: AYBFou3KguGVvbj3Js8Pwgny2anY67DyypneN6YWqoyDD9Z8WdbgA2HBdXyY45+Eou2 BWD0BU6OYqO7wt55XVYFSv6x5u3U/uudVb+1c1yu1cyfwfvU54zlWPVVBBpHQgpkchJLEmrGj+0 YWKCoMCT1bH0dXDzPekOyWWJmBesZqthV4Kj77+ks1fRw6a+CseVelPKV+tTgfd2No9V9aYcgBQ MAdiyBmmnCzDbDDkDiEQrCD+RI+BTqYqnw6McB3Q9R2W5HqGWmCzxn0qytxeIHLntm0JKa76+4F P3iJRJowOd5pcbEbx/gu9EYaRsux4jMyfJk18M6vsyBBzKijadaAO4orzNBglN3a7bB5kSUeDcp zHUVebF4Q7e8PixqzQzeZR0pNbJ3hhrYVDEEggI2wypj9NRxwTCeKHx9bYDjXebQnvkpMd472PU y0tfMTNoIT7cuTQqVq/8q7uc7W3wu4I/KddRaCf0i/mjTFHW7AJ2mhxZeOIKPd44rBYc79N42Cd frsoN3k2kVpvgdoMupVXwkLx0An9BGAmgIi X-Received: by 2002:a05:620a:44d3:b0:93e:fa30:f1dc with SMTP id af79cd13be357-93f6f8c01cemr79549185a.72.1792697238908; Thu, 22 Oct 2026 12:27:18 -0700 (PDT) Received: from behemoth ([2605:a601:9b7d:cc00::c]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93f6fb82b87sm30290185a.13.2026.10.22.12.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 12:27:18 -0700 (PDT) From: Liviu Nicoara To: Aleksandrs Vinarskis Cc: Michael Burch , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Bryan O'Donoghue , Kees Cook , "Gustavo A . R . Silva" , Abel Vesa , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, Abel Vesa , Tobias Heider , Val Packett , Neil Armstrong , Stephan Gerhold , linux-hardening@vger.kernel.org, Dmitry Baryshkov , Konrad Dybcio Subject: Re: [PATCH v6 3/3] arm64: dts: qcom: x1e80100-dell-xps13-9345: introduce EC Date: Thu, 22 Oct 2026 15:27:09 -0400 Message-ID: <20261022192709.12149-1-lnicoara@thinkoid.org> X-Mailer: git-send-email 2.56.0 In-Reply-To: References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, 22 Oct 2026 17:07:25 +0000, Aleksandrs Vinarskis wrote: > I do not think the left charger you identified is correct - how did > you arrive to that conclusion? Curious to compare to my method. I am afraid my method was simpler and coarser than yours: one run per port, nineteen samples ten seconds apart, the charger feeding the system only (battery at 96 % and not charging), on a 7.2.6 kernel with all four GPIO channels in one DTB. The deltas over three minutes: Channel Left charger Right charger 0x14b AMUX2_GPIO +1.6 -0.9 0x145 AMUX2_THM +0.1 +3.4 0x146 AMUX3_THM +0.8 -0.1 0x14a AMUX1_GPIO -0.2 +1.3 0x144 AMUX1_THM -0.1 +0.2 0x148 AMUX5_THM -0.2 +1.2 0x147 AMUX4_THM +0.1 +1.8 0x14d AMUX4_GPIO +0.0 -0.0 The other channels fell or held while 0x14b rose, so it was not the board warming as a whole. But 1.6 C in three minutes, against your 2.3 C in ten seconds on the right, might mean that 0x14b is a sensor somewhere on the left side of the board, not necessarily on the left port's power path. Under SSD load it moved with 0x146 and fell with it in cool-down, which puts it close to the SSD. "Left charger" was my reading of the sign pattern. Your ten-second test is probably the better discriminator for a sensor on a power path. If nothing answers the left charger in ten seconds, the simpler reading is that the left port has no thermistor of its own among these seven. > pm8550_gpio_02 does NOT clearly follow. In your test you have > waited multiple minutes, which is enough to heat up a larger > area on the motherboard. Agreed. In your left run it was the only channel with a positive delta while the board drifted down, which is the same weak signal I had, and no more than that. On the two AMUX3/AMUX4 GPIO channels: neither carries a thermistor on this unit, and your tables say the same for yours. 0x14c reads 130.048 C on every sample, the last row of the conversion table, where the driver clamps a voltage at or below the lowest it knows. Its input sits near 0 V. Windows' ADC configuration sets up only PM8550 GPIO3 and GPIO4 as analog inputs, for AMUX1 and AMUX2, so the pin behind AMUX3 is in its digital default, and PM8550's low GPIOs read back here as inputs with a 10 uA pull-down. 0x14d held 34.7 C within 0.1 C through both chargers and two load runs on this unit, and 35.8 to 36.0 C through every one of your tests, the hairdryer included. That is a biased pin, not a sensor. Both nodes can go. > ADC5_GEN3_AMUX1_GPIO_100K_PU - Likely "lpddr5_therm" I cannot separate 0x14a from 0x144 and 0x148 by heating. Under a one-core load reading a file from /dev/shm they rose 14.0, 14.4 and 14.2 C in lockstep, while the SoC's mem TSENS zone rose 20 C. Your RAM stress warmed every PMIC die by 1 to 4 C as well, so it does not single out 0x14a either. The three sit with the SoC; which one is the memory I cannot tell. > Looks more like "sys_therm5" is the actual keyboard thermistor. Consistent with what I see. 0x147 is the coolest of the seven, 29 C at idle, and nearly indifferent to board loads: it gained 2.0 C where 0x144 gained 9.2 under SSD I/O, and 2.5 C where 0x144 gained 14.4 under the CPU load. A sensor away from the board, on the skin side, fits. On 0x146: under four minutes of direct-I/O reads it rose 8.2 C against 10.0 C on the NVMe's own sensor, the largest share of any channel, and it fell at once when the load stopped while the SoC-side channels kept rising. Under the CPU-only control its share halved. I would keep "ssd_conn_therm" on it with partial confidence, but I will not argue if it goes with the others. > Alternatively, I am leaning to drop the labels for anything we are > not sure about... Or just give them pirate names. Jk. Agreed. 0x145 as the right charger is what both of us measured. Everything else is a guess until the teardown. Numbering sys_therm from 1 matches Windows' SYS_THERM1 to 7, so that helps too. One consequence on my side: the 9345 thermal-zones patch (20261006185557.23016-1-lnicoara@thinkoid.org) names its zones chg-left on 0x14b and ssd on 0x146. I will respin it with neutral names for the zones that are not settled, so the two patches agree. Happy to test a v7, including a lid close on the EC interrupt line, which my v6 run did not cover. I love this laptop, but I will not open it up just to pinpoint the right thermistors' locations. Liviu