Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1257454pxa; Thu, 20 Aug 2020 06:56:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVFxb+Ob3nz1/fRDjIbxyexHBWyIo6cU/2qKphOQf3S4RICSg0CF6BVxUHS9kUprIt7Vk9 X-Received: by 2002:aa7:c70b:: with SMTP id i11mr2957726edq.272.1597931811848; Thu, 20 Aug 2020 06:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597931811; cv=none; d=google.com; s=arc-20160816; b=H91u7oCXBtl8GjIa/tic5IoorGzpMX8UItDJMnT19z6NVWa+3Z/rxTfOOcdEUYa926 vaA/8getRMsw/SIVHxlLJFSEkaxlZOP63oTtKzYUfRsVPmrsbsqoZT9SO2gJ/lrehRWZ k7Tp8HGNn39ewGSZbFEIONmwY8wpQ3jsZJOiqUdaTXZoXSXhFG4lPEDDeSUcAipLll77 7wiDsrZdNzNwhuBQc2WMKS2vZ93D0MdP0RYznUqLUfOM7prsV2qdQycy/4p5Q3vCn+Iq PdiCUo1wyRJWn4KNrAIgS3L9RuZm8SZi+PZreDqha0qnPW6oPhjoumuGEEcXRG9eIDOB rxug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2mUSMZK+oSJfqqR1TUQtRwGSwajuF2oZu47koaJ5GN4=; b=r0YUEYSIGz0Qumoq5cD62ktT/ePASCw8mZmsy/hLG0KNM85SdqrnQ4osTIlLVRSgg2 anBUTvn7OfUCVNyV0q654w9EICJ05ZhEMvgzGib9FWQaSU5BAk5DDUvk1cv0Rq/LBLBv 44b0R6c/p39ZiqhERQ3Pi9kvenQwp4ZQvYmpeWmhzqZxbcY3F2ZKTfukcBiTWMNbC745 z9kKNJeyAqzIIEUdtbsxNxTyoqQxoSDaC2+mdsvRGFtb4P+vXwU4Tuc2Gx2L+1TNgCrQ MJVFjQcz6mZkhQNEv+Q4phZOwTxn+zIgM4DZx30e9Lt/K2eCjSKLsgZrDZaBSDLx4Pzi 0nSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oX48WyAY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si1332513edr.523.2020.08.20.06.56.27; Thu, 20 Aug 2020 06:56:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oX48WyAY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730348AbgHTNz7 (ORCPT + 99 others); Thu, 20 Aug 2020 09:55:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:33672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727849AbgHTJ0F (ORCPT ); Thu, 20 Aug 2020 05:26:05 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2331C22CB2; Thu, 20 Aug 2020 09:26:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597915564; bh=e/fhm8qM9lB2e6f7dde7Wmy2InYUdJ/w2gSLWcKuwrE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oX48WyAYq53AbENG6CrPT+m4jr4aiNXlGhyG8m6eN5XkNhWWHsppjBzyug+aGGRpS tGJ/2Am7sD+ujb92YqqFnsf7gurQ5jJVuS1SSiRgEQqUplbzhKxV6AdLcTzukHBAiw sgG4AahTi4fW2dclXI00DB2hrI4Z9wUs9npB6pt4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonathan McDowell , "David S. Miller" Subject: [PATCH 5.8 057/232] net: ethernet: stmmac: Disable hardware multicast filter Date: Thu, 20 Aug 2020 11:18:28 +0200 Message-Id: <20200820091615.548537559@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan McDowell commit df43dd526e6609769ae513a81443c7aa727c8ca3 upstream. The IPQ806x does not appear to have a functional multicast ethernet address filter. This was observed as a failure to correctly receive IPv6 packets on a LAN to the all stations address. Checking the vendor driver shows that it does not attempt to enable the multicast filter and instead falls back to receiving all multicast packets, internally setting ALLMULTI. Use the new fallback support in the dwmac1000 driver to correctly achieve the same with the mainline IPQ806x driver. Confirmed to fix IPv6 functionality on an RB3011 router. Cc: stable@vger.kernel.org Signed-off-by: Jonathan McDowell Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.c @@ -351,6 +351,7 @@ static int ipq806x_gmac_probe(struct pla plat_dat->has_gmac = true; plat_dat->bsp_priv = gmac; plat_dat->fix_mac_speed = ipq806x_gmac_fix_mac_speed; + plat_dat->multicast_filter_bins = 0; err = stmmac_dvr_probe(&pdev->dev, plat_dat, &stmmac_res); if (err)