From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 D12CA21CC49 for ; Tue, 16 Sep 2025 13:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758027916; cv=none; b=cySpE/1nbGBT9RFQGiumqammAz7Lwbelh7fX5/HoTfYhjCpyUmvSuAxYb/IP/iCyubPzA4pfVCHMksqWCkuOkKLhSLPXALhR15cPpRKKp8a4jgdUg8xKswf79sJsjkxtDBktg5pp9W/eNlp/KpQvjRQqRREsGsl7qpLiaEvl1j8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758027916; c=relaxed/simple; bh=A3J/tFGOFdBX0jXW1C50S6raOvMVBUSgWZvi7Kanhlc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=B35K5JtjIVA4vST81YXpzAH+7IkVREsK+jIKISwqSG/louQaqU18RRWA/pfT0jl8Xu/YzbMrWmvFEnU2SkYvOFp7YBQaYMknFtlhw18FzfhzTv/lAuXLSUgo1I8FJoaw2oct6YLtrHN3frOSiIJR6rJWzLnVmdPDeboXnt1OFa4= 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=fos5Uf5H; arc=none smtp.client-ip=209.85.167.49 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="fos5Uf5H" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5718ee49659so434515e87.0 for ; Tue, 16 Sep 2025 06:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1758027913; x=1758632713; 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=7/8TL00Hlar3x8JkbaIO/sy+q7FGgNPnwJ9JADaoRL4=; b=fos5Uf5HmtyHtL+lmjA3a2H9HrHhg8P/6Oolr9AJUDGP9OMkPBwjrxX4OljDwPgr6d EGU3mAK2k3oxuwsvYOcV9dbWMOzECSpFh5rGQAoVPBdCYGIzcxU1qmZg5zk4kcKy1o8m ObLceXCuhryPZVREmWltfaDyU3ZSF1AB8tcM7qcx3s+Gz+c2nfs8LaVe1SpP50rIkaBH 5kjixBwE/ipFb5iKq7VUmS/Jj4sUhCRs8m+4ruHcLezKuG1xEXn3RG6EeIVEcmOnGCUs 3gWXyvDwyTqCB2iiTAz4a69UtfssPH55UjmP+s5EQSAjGrj7AA9BVG9u3gT7Ox6W1DjG Y+8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758027913; x=1758632713; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7/8TL00Hlar3x8JkbaIO/sy+q7FGgNPnwJ9JADaoRL4=; b=PIq2YRYJu87AWd+/n2gNf8zTaWcX8Z68Ovsvka+v4Njo9WI7ZHHjowODZtVn4+Qrtb 0Utd7nAXNvSWmsP4etOqoSXzN92X9vgkrbbgU9P6PY3ZdTFNuoF33yGYNHo93HOA5Hin HvQiFKwPi9qzZXVozlzpHIOg9PD5iYvMRVUAI3CKaJ8+r+ory9A6WSEtLnMp+w+iMUvv 305PRTRSRYHJ6WGAp2o+Y07Qgochw7RHGILE2+wpUi69p2OtreuzP13cVGCplOK2odRc OHK4y0VEjdojmEV5KcXd/f4R+eqi090PgV+CaGDkwqzTX6synODuuAKT9LBypO11Kb8I Uijg== X-Forwarded-Encrypted: i=1; AJvYcCXiXeKjAp/Sx7ozVx0h1YkElYi3SiYCniYEDXvEiXKDMhaEJSh5vhdnFS+VGGeS9rrgsTwSRRCyq5q/adA=@vger.kernel.org X-Gm-Message-State: AOJu0Yy+D4PW9a14jz2v0QfR9zUXx0phLzXo7hf7X7CAuaEOgcqOgxo1 cnrt6xplijM9K4lEK9iveSpPu5xibJNw5J4oez7VMogsMDDZykYOGIZOrjGbrz98UFk= X-Gm-Gg: ASbGnctL+uGLMqnX+P5U+shLCZRdZRjf5tSTR1IxD/ZZXjarDwHRhSgZSa04KGzROHf JANE4kIu4fLn4UkAUv+NKPmyThzZTldzdSd0nM9vYtW6JSkDQsQ1ruoXeAdNdt5W3NOj5ITn/2d dMgktbyqxpRPLxuiwWbmKRBj1wubtOoZL6iIdqkM8ih4gzcbWbdd9E0x+x8dYlpW8vV/IGR0WxF 7ei6JkEASlZzigwJhOyOcdR0t2QQWlVIPuJvpZF9DgpIwnBctR04sGLVejm8Wd4dPOYTmq9YMxc xKM8HV04RGBfsyjjw4rhFgZIGzatdMj4kUWlF9ODj4HxIIRaQXiozgI/vBtHRSjNUTa++pBxCjG 1FyfGZ+WbGWqF0ByohaTRSGzNhT/RYpWEgdrpxwqdqI8T7Y7s73wUSLInlDT+TRgG/w== X-Google-Smtp-Source: AGHT+IENshuIe1ZzBTlZI8ErHAIWfYofEIxwEqD/DxJUwphDcoj5NYeMYiaSJpT5gnIx28eNAX2rmA== X-Received: by 2002:a2e:bea2:0:b0:336:e445:92c5 with SMTP id 38308e7fff4ca-3513dd54c2amr23580931fa.3.1758027912735; Tue, 16 Sep 2025 06:05:12 -0700 (PDT) Received: from monster (c-85-229-7-191.bbcust.telenor.se. [85.229.7.191]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-34f1b2a931fsm33599691fa.47.2025.09.16.06.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Sep 2025 06:05:10 -0700 (PDT) Date: Tue, 16 Sep 2025 15:05:07 +0200 From: Anders Roxell To: Prabhakar Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Richard Cochran , Philipp Zabel , Russell King , Geert Uytterhoeven , Magnus Damm , Vladimir Oltean , Giuseppe Cavallaro , Jose Abreu , netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Biju Das , Fabrizio Castro , Lad Prabhakar Subject: Re: [PATCH net-next v3 3/3] net: stmmac: dwmac-renesas-gbeth: Add support for RZ/T2H SoC Message-ID: References: <20250908105901.3198975-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20250908105901.3198975-4-prabhakar.mahadev-lad.rj@bp.renesas.com> 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 In-Reply-To: <20250908105901.3198975-4-prabhakar.mahadev-lad.rj@bp.renesas.com> On 2025-09-08 11:59, Prabhakar wrote: > From: Lad Prabhakar > > Extend the Renesas GBETH stmmac glue driver to support the RZ/T2H SoC, > where the GMAC is connected through a MIIC PCS. Introduce a new > `has_pcs` flag in `struct renesas_gbeth_of_data` to indicate when PCS > handling is required. > > When enabled, the driver parses the `pcs-handle` phandle, creates a PCS > instance with `miic_create()`, and wires it into phylink. Proper cleanup > is done with `miic_destroy()`. New init/exit/select hooks are added to > `plat_stmmacenet_data` for PCS integration. > > Update Kconfig to select `PCS_RZN1_MIIC` when building the Renesas GBETH > driver so the PCS support is always available. > > Signed-off-by: Lad Prabhakar > --- > v2->v3: > - Dropped passing STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP flag in stmmac_flags > as it is always set for all the SoCs. > - Updated Kconfig to include RZ/T2H and RZ/N2H. > > v1->v2: > - No changes. The following warning is seen when doing a defconfig build (make defconfig) for arm64 on the Linux next-20250915 tag. First seen on next-20250915 Good: next-20250912 Bad: next-20250915 Regression Analysis: - New regression? yes - Reproducibility? yes Build regression: WARNING: unmet direct dependencies detected for PCS_RZN1_MIIC Reported-by: Linux Kernel Functional Testing This is the build warning: WARNING: unmet direct dependencies detected for PCS_RZN1_MIIC Depends on [n]: NETDEVICES [=y] && OF [=y] && (ARCH_RZN1 [=n] || COMPILE_TEST [=n]) Selected by [m]: - DWMAC_RENESAS_GBETH [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_STMICRO [=y] && STMMAC_ETH [=m] && STMMAC_PLATFORM [=m] && OF [=y] && (ARCH_RENESAS [=y] || COMPILE_TEST [=n]) WARNING: unmet direct dependencies detected for PCS_RZN1_MIIC Depends on [n]: NETDEVICES [=y] && OF [=y] && (ARCH_RZN1 [=n] || COMPILE_TEST [=n]) Selected by [m]: - DWMAC_RENESAS_GBETH [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_STMICRO [=y] && STMMAC_ETH [=m] && STMMAC_PLATFORM [=m] && OF [=y] && (ARCH_RENESAS [=y] || COMPILE_TEST [=n]) I: config: PASS in 0:00:01.592356 By reverting this patch the warning disapears. ## Source * Kernel version: 6.17.0-rc6 * Git tree: * https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next.git * Git describe: next-20250915 * Git commit: c3067c2c38316c3ef013636c93daa285ee6aaa2e * Architectures: arm64 * Toolchains: gcc and clang * Kconfigs: lkftconfigs ## Build * Build log: https://storage.tuxsuite.com/public/linaro/lkft/builds/32l4UF8KltAzu6kUpW3hXaYRWjZ/build.log * Test details: https://regressions.linaro.org/lkft/linux-next-master/next-20250915/log-parser-build-clang/general-unmet-dependencies-warning-unmet-direct-dependencies-detected-for-pcs_rzn_miic/ * Build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/32l4UF8KltAzu6kUpW3hXaYRWjZ/ * Kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/32l4UF8KltAzu6kUpW3hXaYRWjZ/config -- Linaro LKFT