From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2C519CA5FAB for ; Mon, 28 Sep 2026 23:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mNJ9EQTb9EhZSRLIfFhsexjG/9vlXpvQd7QC1CJS9lA=; b=HtUPsLyWEBQF2x xLa35h7UcYukaSvf+0rtX3duk8+8RGN3swEibOs/LCzPV1HEkhhuL/FGECEvlijhV/xS8jcxwC2VK cmBolCjugxT08WZdH1Nt6KPyJwOvzhg3u23Ga/ASETzzQe/gO7NlsIEL4wwzV+Wo6622srQf4eduo GvOpJVKVfRJtKQayS40nx1Yg0LwM3acJPuKjofHn+Jdd6God2gs3YXkUvQRuUIgit+2aEDyzMq3Db Zjuf+qQXLWQkH5yI/keY+Zyz/U/P9aTcpxU0hrk3sVJpU0pfi/rfXaXJgnWRo+v2OB4VE0dU3e65T FRAYoHDMffsnJVlmWHLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBKem-00000001rOa-43Xg; Mon, 28 Sep 2026 23:21:12 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xBKek-00000001rNF-01W0 for linux-riscv@lists.infradead.org; Mon, 28 Sep 2026 23:21:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790637667; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4bDunkmKzxTEgKxBi/DaPG7+roKleuHpKwgE8PS3EY8=; b=eVsgI7gEDIEmI/1fIUFBfRCecYUatD8BHgZRmoWEyVDUq7tQ2NV9xFKVgU0O8DwC9jjdMe Wbct7p5bZs2osz68nHkP9pXfghKw54TIXMFFpIqwU1vmz8nPSPc0Ut3hkrj49WntDcIZON jVMnuTy4A9qKU5CKha2B1P32fd6HYZU= Received: from mail-yx1-f70.google.com (mail-yx1-f70.google.com [74.125.224.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-589-AZES7r52MDalx8McFfe2LA-1; Mon, 28 Sep 2026 19:19:35 -0400 X-MC-Unique: AZES7r52MDalx8McFfe2LA-1 X-Mimecast-MFC-AGG-ID: AZES7r52MDalx8McFfe2LA_1790637575 Received: by mail-yx1-f70.google.com with SMTP id 956f58d0204a3-66f8ab159abso1876574d50.3 for ; Mon, 28 Sep 2026 16:19:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790637575; x=1791242375; 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=4bDunkmKzxTEgKxBi/DaPG7+roKleuHpKwgE8PS3EY8=; b=SBO5Mp042pUIvmyscfOR8sJAQ/D8bYtPwY6prPgX9rnhEQSMN13jVbqAFEdVNKDtAz jbcb6AlxNdgKyI2PZS2vPyYGbgUJmop0EW7Su1mVsgHsl5ocWdERvEDXuPTz5rg98VRZ 3+OXsSrGSIgJ2o4KuKJjXDvwBRrPokCPsAF+MDjb7gvR8OHeRzFEEPVdpcLfkghCCTaq Qd9VwuWWA3O3mbKiljyq616VRVdWijhMMBpbc7/bbs+ziSFAGzJEd/Hy+cuCTzZZRm/K nMxUKYXgQY2Ro14zIpLXkFjjRCs9s0qW0XSScxfKCSv3LI38vlu0MX4iiAk8QgtVLNbR WpsA== X-Forwarded-Encrypted: i=1; AKwUvByxvCZJYsf/Bqq9uB63lcsNmmum+yPNmEIz0t+ao3v1bhIpYOkIukjfnFwZXKVpIfl50E6RfPk9uiEzxA==@lists.infradead.org X-Gm-Message-State: AFq9FYI4DS/O4d5pcDCVCZegP6T/L9q8xRu3LHUdtuUR4lfdWQjEZeRL nzPLaXQx9JhYQ3BOv7CCnTswbXGpdqFuJoDW6I2BiXzX2pQMtogBJ4JilibQSxI5/e54eoR/Cfw mfytKcsT0hI9Yl9sxLjJU0XTimH21zGnKuW9Nif610v1Vm2g87L1kvLZej8+Iu36sqa9idg== X-Gm-Gg: AYBFou3ngQzw4XxxOgNJluTiP1+5Q9tgyKjvIfxC4Dc+25PcEsBxEZfJCM+t3L2lLn2 EtrG+N5EAavx+dXe1ELd4nZK/BWBH8lff38KtKUaCu2R3D3HY0/BRxDS0vOOxoEZH8+sVDqF4r3 KOhPb+b3OVfwSjgigWrqfk2IvV5ycSMnJREhH2ZuwmqxGKc8FG8S0sUhX+WjRhwBfUMPrWM5/PS mlHcUJneiCrs2ZuxXTuqcJqKA3xhRHStAYMfAPLTFmLjQ0WfuBzajkZD1xORA+RaK+ftK5QQ37Z iCl0JRUx+MDOXbDZXAdjM/jBJ64GfJve2He/SLPDsVkntRx0aicsEg== X-Received: by 2002:a05:690c:3181:b0:8a8:889d:2ea with SMTP id 00721157ae682-8ab3b5249c4mr5722517b3.48.1790637575113; Mon, 28 Sep 2026 16:19:35 -0700 (PDT) X-Received: by 2002:a05:690c:3181:b0:8a8:889d:2ea with SMTP id 00721157ae682-8ab3b5249c4mr5722437b3.48.1790637574673; Mon, 28 Sep 2026 16:19:34 -0700 (PDT) Received: from rhdev ([2600:1700:f361:20bf::14c1]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8a860f9cdb0sm51374117b3.24.2026.09.28.16.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2026 16:19:34 -0700 (PDT) From: Jennifer Berringer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, James Morris , Jennifer Berringer Subject: [PATCH 1/4] riscv: dts: spacemit: k3-com260: keep dldo4 enabled Date: Mon, 28 Sep 2026 19:18:04 -0400 Message-ID: <20260928231807.1757995-2-jberring@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260928231807.1757995-1-jberring@redhat.com> References: <20260928231807.1757995-1-jberring@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: aOPHJgFCijON_95hSbBGsTWWw5A4lLDeYiD96J0ttIU_1790637575 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260928_162110_128898_16F917D6 X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org From: James Morris dldo4 on the P1 PMIC is marked regulator-boot-on, but has no consumer described in the device tree. The regulator core can therefore disable the firmware-enabled rail during unused-regulator cleanup. Enabling pcie4_rc on a K3 CoM260 Dev Kit without this change while the board's included RTL8852BE module is connected to the M.2 E-key slot results in CPU hard-lock, as seen in kernel log: [ 32.521536] dldo4: disabling [ 48.125823] watchdog: CPU3: Watchdog detected hard LOCKUP on cpu 4 [ 64.125829] watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [ 64.125926] Hardware name: SpacemiT K3 CoM260 IFX (DT) [ 64.125928] epc : smp_call_function_many_cond+0x158/0x740 [ 64.125938] ra : smp_call_function_many_cond+0x11a/0x740 GitHub Copilot assisted with diagnosis and build and test automation, and changelog drafting. Fixes: cfe5c91cb73c ("riscv: dts: spacemit: k3: Initial support for CoM260-IFX board") Assisted-by: GitHub-Copilot:gpt-sol-5.6 Signed-off-by: James Morris (Microsoft) Signed-off-by: Jennifer Berringer --- arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi index 92dea86397798..054bfff7413a3 100644 --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi @@ -187,6 +187,7 @@ dldo3: dldo3 { dldo4: dldo4 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; }; -- 2.55.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 EADCA49B449 for ; Mon, 28 Sep 2026 23:19:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790637579; cv=none; b=KMECuJRyYqYzvSBYvKGHg21yi7F85EX6Vy2J0EONMEECopDpts23QgIMOEboItjLwI3Nr985daZOgx6LcH1AghOgmYXhBSf+M1mhOqoHQdd+TYE20rCdENSiKUT0sabMABAvFeiPF/4pcFyFGU+2W/5wKNgc0hBko6Yvm8OkmqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790637579; c=relaxed/simple; bh=8Hpl/jJQXgMDIx/9aRjnDimcwY9u+PRuHlp14LtJI1M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:content-type; b=chafKkp1HS33TRw0WdqdtDkC47MwQ+HRJZ4n8c+chZ/6uzUL6B3OzYmUamAIkbmEjbp5vYQsVSA/N99ppz+GVjuGZTX29XVPvRVxb3T80eA+31AoUCBJ2QwMSycVWwpPi4IcmZWuQeM/wusabKqLJtuC09HytactfPvtcO6T9bc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=GaB3jPL+; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="GaB3jPL+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790637577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4bDunkmKzxTEgKxBi/DaPG7+roKleuHpKwgE8PS3EY8=; b=GaB3jPL+Dd6SZ/XPk3D40SWCgSbtUQwK8RA94cBlGT8kH6cVBq6f37JWQOhmgg7ynjHnu9 fybb9T8n7IdWwKsU3K2PZ62czHtnRaDq+6KvN7MOvcK0vVv6ZKbF8fCFOwkiRkdwlHreMN 88x+yaab4WfakWBB22ycbIGWNngKFIM= Received: from mail-yw1-f199.google.com (mail-yw1-f199.google.com [209.85.128.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-659-L8N6VgRRPdSrY8U-WHKDRg-1; Mon, 28 Sep 2026 19:19:35 -0400 X-MC-Unique: L8N6VgRRPdSrY8U-WHKDRg-1 X-Mimecast-MFC-AGG-ID: L8N6VgRRPdSrY8U-WHKDRg_1790637575 Received: by mail-yw1-f199.google.com with SMTP id 00721157ae682-8546e211940so50629417b3.0 for ; Mon, 28 Sep 2026 16:19:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790637575; x=1791242375; 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=4bDunkmKzxTEgKxBi/DaPG7+roKleuHpKwgE8PS3EY8=; b=TOP6u2NIyKCbDDRcjkz8VDxONBDXmIZJdNhWYuu2J8q5HFPhTlMYs6QMS/WinJWkRe BT9zDF+cU6R5MOaAkGStjlXAHbZrfoV3470oLSTB28494iXjxbprGAJNm3MX0f62m0J1 C65szdJ68apIrN8bNHHgGX6vpZxslTWn7M+8ZhtaFue/koLRzDXfgbXdRcSLZ781BzeL O3x2SZUE/0vZz9SpvV88Z8SJCARqscge+Ol6b0Z5w5fXxZBhz2pWp43l5ddKno/O/kgN Ac/hQiU7LqcJtJ24dIgmAgFUXFNVDpRIH4xkGNqkMKGarg9bTqYYryIoQc0At5w8dIF6 qk4g== X-Forwarded-Encrypted: i=1; AKwUvBzYid2cJ+2t16plSGe0Y1DCbS41LOt0jMl+ohurMmSbWAsKd9Df+oOHCO392s0p6nP+Y+XfBQ94tQ==@lists.linux.dev X-Gm-Message-State: AFq9FYIe9NrlEQOCpRsLNVnd8fwY5IWDtY8dXXo63hBi6gDOBcV38+Em aDAiZdgTxVujOsc690AnwahtMi0Ch6hwk4TxwUdiBz7Xxu9iNYkb/kgKkCUqb+wJesbIbkhkj+G XYcIRwQ2XM1uaS7WkllcP9TvXI3UhmHn6IBB8veXAvQHhNV8KrIUAvQWI03zO X-Gm-Gg: AYBFou3s7PXP9GGDj1eHKCHQYj4utJALHP0IyZu21wzSFRg6jMR2c2rEYlfdgszMz89 2K6QrJWHBJnLirMsEAb1Xc+tQG88nIPeKlrd3qt9uISL50CPLjIBVpHP8W06fcYQ2yt8eZXyDhf CCKt6eHwKbfN115wELNfQpkm1EWQu1o+Mm8VGUTp+tXKmd011Ddwb6fiJZwIqB4tYwB0X1Jvk83 ATyee6JEagK0Nhv2HhSybcEOFFTU8AkEO7Vr/HEqXaktF/PQaAwGeGU9yGgOMeI3Nq19oIY2G0Y rPKEGNm6ThMJOSPglqUkIBtTetaegSym0J54rjXdqdaz/tzAjm3G9Q== X-Received: by 2002:a05:690c:3181:b0:8a8:889d:2ea with SMTP id 00721157ae682-8ab3b5249c4mr5722557b3.48.1790637575140; Mon, 28 Sep 2026 16:19:35 -0700 (PDT) X-Received: by 2002:a05:690c:3181:b0:8a8:889d:2ea with SMTP id 00721157ae682-8ab3b5249c4mr5722437b3.48.1790637574673; Mon, 28 Sep 2026 16:19:34 -0700 (PDT) Received: from rhdev ([2600:1700:f361:20bf::14c1]) by smtp.gmail.com with ESMTPSA id 00721157ae682-8a860f9cdb0sm51374117b3.24.2026.09.28.16.19.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Sep 2026 16:19:34 -0700 (PDT) From: Jennifer Berringer To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, James Morris , Jennifer Berringer Subject: [PATCH 1/4] riscv: dts: spacemit: k3-com260: keep dldo4 enabled Date: Mon, 28 Sep 2026 19:18:04 -0400 Message-ID: <20260928231807.1757995-2-jberring@redhat.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260928231807.1757995-1-jberring@redhat.com> References: <20260928231807.1757995-1-jberring@redhat.com> Precedence: bulk X-Mailing-List: spacemit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: jp55OowIekg-VwaUGUmq5FRFWU9SZV112mKQRXzI9WQ_1790637575 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true From: James Morris dldo4 on the P1 PMIC is marked regulator-boot-on, but has no consumer described in the device tree. The regulator core can therefore disable the firmware-enabled rail during unused-regulator cleanup. Enabling pcie4_rc on a K3 CoM260 Dev Kit without this change while the board's included RTL8852BE module is connected to the M.2 E-key slot results in CPU hard-lock, as seen in kernel log: [ 32.521536] dldo4: disabling [ 48.125823] watchdog: CPU3: Watchdog detected hard LOCKUP on cpu 4 [ 64.125829] watchdog: BUG: soft lockup - CPU#1 stuck for 26s! [ 64.125926] Hardware name: SpacemiT K3 CoM260 IFX (DT) [ 64.125928] epc : smp_call_function_many_cond+0x158/0x740 [ 64.125938] ra : smp_call_function_many_cond+0x11a/0x740 GitHub Copilot assisted with diagnosis and build and test automation, and changelog drafting. Fixes: cfe5c91cb73c ("riscv: dts: spacemit: k3: Initial support for CoM260-IFX board") Assisted-by: GitHub-Copilot:gpt-sol-5.6 Signed-off-by: James Morris (Microsoft) Signed-off-by: Jennifer Berringer --- arch/riscv/boot/dts/spacemit/k3-com260.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi index 92dea86397798..054bfff7413a3 100644 --- a/arch/riscv/boot/dts/spacemit/k3-com260.dtsi +++ b/arch/riscv/boot/dts/spacemit/k3-com260.dtsi @@ -187,6 +187,7 @@ dldo3: dldo3 { dldo4: dldo4 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-boot-on; }; -- 2.55.0