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.133.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 E9C2E3128A7 for ; Sat, 27 Dec 2025 16:24:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766852680; cv=none; b=VfiS6jY7ji5+nAu/D/t81LBI0BOFtfsZ8nR8NhSnyRLWOjFwlFyrEff4OB2fsgOWmsOvdCmDa6dyA0HDOjdGFMKfYAqV0yrwu47XSxqe0bFSG6jz+vCUo203eC1zSgfYKbWdWByGcTcfNvzpOiOSHbKI1zySqLHoMDfsUcZpOJE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766852680; c=relaxed/simple; bh=8YNXVPWR0u96ITfCMf9F3KyEcp7wyChe154P/vlG+F4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JjEZv8fxAbykWg3M2xKW7QZMLYn4CBASveZFT5sxvepPz1OcyFpUC8KC66SAn9awWqxY+nkqYQ43gDvNkGoeO4gv9AK0XQXi7IPm6S9UvhmSjpT2R3eh8J4Vk1ZbLa/jpA8xWvrV6ZPvKjSZlHJj1S3jiSU9VzHezYQE5bJ1J1o= 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=YfWK07ZZ; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=D80BnxxX; arc=none smtp.client-ip=170.10.133.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="YfWK07ZZ"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="D80BnxxX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1766852678; 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=/0pFoW0fxxbGtsoDZJaaxbA0XpDtBn2L+88OYPdKiVs=; b=YfWK07ZZ3bqY4jAUY4IdVwC/dftD/H0oQM9okyCrKIDqfjvhnc3e4te4zcM5RCkbk4uTCD ADNa3iszQ6CQCB6on6V4ccgFF+3drdA73pJaZEe3jT4+21MxodsUWWM2CQC0SCwp1Nzi+q qSozPUglKjQbfTMnAAYBWN6PxvWnL+0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-52-DDkXbWEnNTugx8hvt1gbwA-1; Sat, 27 Dec 2025 11:24:36 -0500 X-MC-Unique: DDkXbWEnNTugx8hvt1gbwA-1 X-Mimecast-MFC-AGG-ID: DDkXbWEnNTugx8hvt1gbwA_1766852675 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-47a83800743so44316305e9.0 for ; Sat, 27 Dec 2025 08:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1766852675; x=1767457475; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/0pFoW0fxxbGtsoDZJaaxbA0XpDtBn2L+88OYPdKiVs=; b=D80BnxxXldZctW7uC96JpOjh/xRkxAeLTfUEvP+h6EtvmzokmhQGvRmt9D00JzVEzr hXHixkUAmhS6jubU0aj6D+478cDgK1FHq4oVMXu6znffdCVekwpQvXsyqQ+7fP0Au7mU HtLEUr3463N4hc6nGG5GlG+Qz/miskNhRdgUHuzX+q2A3a81dlPje4Lh7D+ksZvsVNFi u+gqTtSGT9TGioYqHTj0I8K3hBJgvB+EVnTj3kjvFJMcw4sqvQ3ZuDZy1bS2DlKA17/H QDLRw6HiKdc9eSBuKLaO8QDpuONXCImnx30EdReIBbdrD26wmKwT7h6ruqfFxkKa3tDR Yp3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766852675; x=1767457475; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/0pFoW0fxxbGtsoDZJaaxbA0XpDtBn2L+88OYPdKiVs=; b=GbI0YmAaPsUtFx4D1SW6P9sPfITtAuYO5bnhKoRI23tCCp81P53ALJJG4v8Tl5LD9v diEnMD4NsbttyX3zA9W2pK7yGnIE4yekH22MPH6NutBpG1z92UZeQQgOnWyjjnPY1L08 L0wG8GylYuyWCJDk/R7QmMSYBclOTAxydTNXl/vIantujKRrMnTvM9LfS7KUe83Z9VW8 cXMJu3p2syP4jEU4ojJnC8bf9d8cGTecWJoM5e6slink16h+clKFCaSdiZCKHVXhp8y5 C6yzkLuckWBXBCBQh1gDXnNjh7y8Z+370PPpEP2DFbxYgKUheyj/PtBCjmcivTqOfLgw 36lQ== X-Forwarded-Encrypted: i=1; AJvYcCWDJzzKl9U0KrYUtPB4E4rf947MJQs9eWQDMcw+PiLQetyp5qiQOyRaRFowB+hduhH+FSiYXBrljCfYZKY=@vger.kernel.org X-Gm-Message-State: AOJu0YybXGVCN5/b0cWibBYoeU3T/NCSeR/F93O0umMpim6gs7ZAm0wM utizvy8Bt5tE37Z8Ph6Rqz2GHuJBVHSfFgh9B20bzxcUCqIPjIpKH0Z5JCgiFMzBb2Y9sQsvqIl FKA2bgaGTvnewFwD/4C5+EFbT1sad++JcT+BCgV/4gkSEzfGaRiQSJiDcOjVJ3NB78Q== X-Gm-Gg: AY/fxX7zG/Wp01qI51hLE1Mqc6/PCXNEzu7mXYyJ4yqtEx+xtHZze9JaCV8buCnZ3zz CSy6jRXeUHFwJBMw5eKMytRtCqXECXFtXNd00jdSt3/tHK8dAmAGLSVpyO8Y8tW28W6tCIwDmIK Vm2jdS/nYl/eL8xt0BB7m6LfNwo4SdwoV46ux5Oyt9czi407tBZ3IoPoakEZNNzh4wOBdPWZEzM NqJibi+fWqB8cXYgORrazC05EBVEVMIoHqzIov44WLcl8edi4VNQ5/nIkkltVxG1/L5oRMPk9qI 5+71nzYu6hJpsAHsRGDUlw5Ga7kiw2mttDmpRYtjZ/6oSuoZiLwYJuEirLP8WOXPptqTocZ813I EHiHl42TATRFPaw== X-Received: by 2002:a05:600c:4746:b0:477:9fa0:7495 with SMTP id 5b1f17b1804b1-47d18be144fmr257527155e9.14.1766852675261; Sat, 27 Dec 2025 08:24:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+n6rR4mCRXdumkBNyVc/341HA3AYN1kUq6F6siD1Lcd+ziTKXrb+aL7jp1MXCilbI6b58Tg== X-Received: by 2002:a05:600c:4746:b0:477:9fa0:7495 with SMTP id 5b1f17b1804b1-47d18be144fmr257526865e9.14.1766852674879; Sat, 27 Dec 2025 08:24:34 -0800 (PST) Received: from [192.168.88.32] ([169.155.232.231]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47be396c909sm194725735e9.0.2025.12.27.08.24.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Dec 2025 08:24:34 -0800 (PST) Message-ID: <80be718c-3592-43bf-b3ab-8e1b9d3cf41a@redhat.com> Date: Sat, 27 Dec 2025 17:24:31 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v2] net: stmmac: dwmac: Add a fixup for the Micrel KSZ9131 PHY To: Stefan Eichenberger , andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-stm32@st-md-mailman.stormreply.com Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org, robh@kernel.org, francesco.dolcini@toradex.com, Stefan Eichenberger References: <20251223101240.10634-1-eichest@gmail.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20251223101240.10634-1-eichest@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/23/25 11:10 AM, Stefan Eichenberger wrote: > From: Stefan Eichenberger > > Add a fixup to the stmmac driver to keep the preamble before the SFD > (Start Frame Delimiter) on the Micrel KSZ9131 PHY when the driver is > used on an NXP i.MX8MP SoC. > > This allows to workaround errata ERR050694 of the NXP i.MX8MP that > states: > ENET_QOS: MAC incorrectly discards the received packets when Preamble > Byte does not precede SFD or SMD. > > The bit which disables this feature is not documented in the datasheet > from Micrel, but has been found by NXP and Micrel following this > discussion: > https://community.nxp.com/t5/i-MX-Processors/iMX8MP-eqos-not-working-for-10base-t/m-p/2151032 > > It has been tested on Verdin iMX8MP from Toradex by forcing the PHY to > 10MBit. Without bit 2 being set in the remote loopback register, no > packets are received. With the bit set, reception works fine. > > Signed-off-by: Stefan Eichenberger ## Form letter - net-next-closed The net-next tree is closed for new drivers, features, code refactoring and optimizations due to the merge window and the winter break. We are currently accepting bug fixes only. Please repost when net-next reopens after Jan 2nd. RFC patches sent for review only are obviously welcome at any time.