From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 9DED6329E50 for ; Tue, 27 Jan 2026 08:55:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769504160; cv=none; b=E/CBHYFO64YlKlUYpxk864q+gk6bTS3mwA4C8+ZpiGG0T3xS5x/IGlFRmrjsLSv6nqKbBdcp1YX6cm0U+MMGFk6H52VugO64Kay3DzrQBq4RIxhcvGhV/GWeIkf8cfj/gKeoVE7gQwPcRJ869LF5IAaP+IpF3ysfnviiVBXycu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769504160; c=relaxed/simple; bh=uMKblArHl5A9jcSFlaLTAYlOk8eq3QqLeD+7zdgmwRM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=V57MdJJ845rEg85hwhgK+AZhhReOg6Czt5hE0uUGWAM2awMG+gKglcEJk8xPx2hc1PkVVtGYO9Ihw0SJmmZFsa5oliTcJCWTbLOUY8DHyFFmDwnnLCXyN8SeG/URbHBJWbvj38ZXVgPh7hcsHYE/WY9HuWekfbq8czFtrMQ48Uo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=a7NdCjAL; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="a7NdCjAL" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-47ff94b46afso46892775e9.1 for ; Tue, 27 Jan 2026 00:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769504157; x=1770108957; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=J6gcw78eDfCGKXCKZBLgnF/iPeG+D4+74BvG9CfzhIA=; b=a7NdCjALzVrFuDYprpgbei/cfz0vbzMpZmWos9idjaZZE/MCFcAtuJZLCko+b5LSzH 09wbUKiRBGHojrvUDxIUsATiCy34rSU2dzKYP3pbO2Kgeotenkhyx3pjqYL3VMKe6BWx RzWgvPFj26K4ltrzc1GgUJcjqNHqkVaOz17V3JSfL41aiI5U/RujPJaZQUG2VNXAJ4o6 4MeV+/bkPFI2Ap53CpMWLVnxlEgIrMqXN3IzOsXpucPwNGonLJXGHVQz0zgLd1RJDxAk FtqeOGNjSn3bhqwd0JrlhO2u/mjOcqQ8h0aLY4e2mvaylzGx7s7L4U524qj0ytRhexR9 jdRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769504157; x=1770108957; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J6gcw78eDfCGKXCKZBLgnF/iPeG+D4+74BvG9CfzhIA=; b=OP/HNKq6DYGoKmdrApChOBIO9FwO+0V5TmOd4nvnVw1W/F6o3e2Ka5Xu6si1fA5DmL 8R/V+OyNGYIkaomynWwPUAC0MfjJDzDaNLCzKIJt5/AnVbxfahZiScOJx07bWKHCoOdt ISR/0oTOMrSFT1ZO4mlazmRr6jY0DI5M6OfOCz3+71gQhpPSaHOJprzo+FJRlASYJ0Fp eb6HDsORkgiWKcBzWVF61UDcMFh5cPUrN85grSQyi2RxDaB0IJQv0QZqAVobegLMfZog bteK+0wNHBw6WOmj6Kzt5L3sLm0G2+aKtOHOrqfL71ZaF5D1cRayEeiOEncS0Xsi5/Ur QpAA== X-Forwarded-Encrypted: i=1; AJvYcCV7JR3QQsUsyVR+qd6yd+LvUap+v2MyCgVg9j2+QukER3WB/nZYDBb5GilOkVarVPR8/CFa1Vn15NcA/M8=@vger.kernel.org X-Gm-Message-State: AOJu0YytqXz2C5Vp+OEHhVocp62vOIyBsHWbl534CMMMIEhvzsqpoFxm BLdhQvRT5UJgLIcrDC+44ttSUCiywnLMGj96RJkYhHdlmpTKZ70VQJKTTcO4VOAbD/k= X-Gm-Gg: AZuq6aKgehAYamzZXg6Qn8tKSHJeP+6+t7FkWe6gkMlVsXjNR352wKPrn1+sSi7Cbw1 Fq2w7g3uP95SrP6GxOap5N4TueLLQ8M0FrLMjVghQBMoCuZ1Xv1pFzYOpUV8QG+SQ6Z1Nzz79rv 0Hj+znsBQLwQLiBafuE8ep+eYKOcLujugy6g7Sy5ET0vnlVD1BoA0PuvkkiUXrfyHU8aY+i7ieE tNEHOKlwnvJPck5/DrZDGv8PQOGhe8T3qsD3Qu/sKYxAjodTEIIHSyjGPgwm8yy1Bmn+mfAFzoY ntgqOj+KdCn3kIvciLeP3n9OZWozCs0FBEg1dUtPuB1VSbQxHDrPhPPbleDQfHqD5E+VkFRtP5I ZLbyy7xWMNeKJjpY/O+6BpPTgOM4ZNgAc50jzzLUILcUHU4Zx6uMlgDUE4LdwnuwxtncYG3xVBD 2x1lfTpW+eF4NaVcg= X-Received: by 2002:a05:600c:33a6:b0:47d:52ef:c572 with SMTP id 5b1f17b1804b1-48069e0fd24mr6300105e9.1.1769504156658; Tue, 27 Jan 2026 00:55:56 -0800 (PST) Received: from localhost ([41.210.143.248]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48066c42895sm50695725e9.14.2026.01.27.00.55.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jan 2026 00:55:56 -0800 (PST) Date: Tue, 27 Jan 2026 11:55:49 +0300 From: Dan Carpenter To: Simon Horman Cc: "Russell King (Oracle)" , robh@kernel.org, kuba@kernel.org, festevam@gmail.com, ghennadi.procopciuc@oss.nxp.com, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, andrew+netdev@lunn.ch, shawnguo@kernel.org, mbrugger@suse.com, mcoquelin.stm32@gmail.com, linaro-s32@linaro.org, davem@davemloft.net, s.hauer@pengutronix.de, edumazet@google.com, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, conor+dt@kernel.org, krzk+dt@kernel.org, devicetree@vger.kernel.org, Frank.li@nxp.com, chester62515@gmail.com, netdev@vger.kernel.org, kernel@pengutronix.de, pabeni@redhat.com, jan.petrous@oss.nxp.com, linux-stm32@st-md-mailman.stormreply.com, s32@nxp.com Subject: Re: [v4,1/3] net: stmmac: s32: use a syscon for S32_PHY_INTF_SEL_RGMII Message-ID: References: <8f2139e8adf02b485a4c84d558fc23f78cf04add.1769195864.git.dan.carpenter@linaro.org> <20260126152430.1390514-1-horms@kernel.org> 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: On Mon, Jan 26, 2026 at 04:01:27PM +0000, Simon Horman wrote: > But at any rate, I think the key question is should the case > where regmap_write() returns an error be handled in > s32_gmac_write_phy_intf_select() (by some means)? Generally if register read/writes fail then there is nothing you can do a the software level, you need to buy a new computer. However, in this case we may eventually put the registers behind an SCMI interface so probably checking is a good idea. Could I leave the error message out? The callers has an error message and if you ever see the error message, and even with SCMI, the fix is probably still to buy a new computer. regards, dan carpenter