Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2281557pxb; Mon, 11 Jan 2021 06:00:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZ/DpV5+FSqRwfj0mmnwKrknQYPfC/LAi/ZAYM3X/hNNIKa31VUfDfpReF43tRYWU+5Fky X-Received: by 2002:aa7:cb16:: with SMTP id s22mr14795942edt.53.1610373621503; Mon, 11 Jan 2021 06:00:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610373621; cv=none; d=google.com; s=arc-20160816; b=XDwN2DiHYOgz1K43kk8MmJ7+VnUIl06g+R4+9IrkQ7EUTsMONhd2NhZc4vtcXmI107 t2x9nMwl1mvkDervmG7Z7GSvr3oKvQIk5FO3JoPu/aP3OY0aewnQni2bBzZ8BB4eylqO /RqJ2/4b1r2lKjM6/mOvOktA3HZRT4rg7rV0dK9mM9QcDNn8M2Iy7GC0TEKJWlw+kZYp 29gULZBXg9a3fLDkqz09QulNn9TYDe3JtF9oDjwve6rmmt1W9zdpniPsKiYgJC6n8pDW a1Z9QTVvYlGvWMwD+c7CdHHgPgAmzZrqM2/bmFBi1Zj9Ij3qMFSG6Y7FVtsg/PxvZqsx nuWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dCXT3hCw2RdaPIsxbCd23jGLAKM5HSBoB9rmpDG5BQA=; b=tqiZMHpho6mtGVoQvtssYCiPYb0aeKph5AsNO3m9zBopnLhVPA7/2T4MWRHvpNiIPA Q+d6W84+RW9FXttPGh7garuoFuuWl/pG+rXoIXqdbV/+s73dMWT1O7aLSphglRptfK+K 6Xl4aB06NZ+DUsI4cv/wDHX+NGqeiGWgerjwvWQVGgj3AXqSCgxeeOjPPS5e+OHZISh2 j2socYXSQR/sdtoTeXV+k8yCuNFIByq699bkLA/GlX06Q7ixvrgOffp3TkjYLFn959Go ErWeJVPTZStO5h6KQu2u1AGuQp01dEf5LqjjZH4yTFa5sch9sMcUixB3uPFOG1p56Gpo tW8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qa0NpytA; 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=pass (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 bo24si6616602edb.495.2021.01.11.05.59.56; Mon, 11 Jan 2021 06:00:21 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=qa0NpytA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730562AbhAKNzt (ORCPT + 99 others); Mon, 11 Jan 2021 08:55:49 -0500 Received: from mail.kernel.org ([198.145.29.99]:54614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729106AbhAKNHV (ORCPT ); Mon, 11 Jan 2021 08:07:21 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EB6D4227C3; Mon, 11 Jan 2021 13:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610370426; bh=rKXza5oLpiNJOwF26kjCTzS1RfXAa6fmSg4lfwpQjeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qa0NpytAtVZUVVNoOjA/BPVqBPaRkv+O2+BblXZ3ASrTn+CajGbW+nWDBD9E7aCf9 1SFzyOcVtswCBfy6qcE1YCr0DlHBSmSt9G2bluVqa4/p0Sfvuj3BBGcCCzJ0m/4J+Q /CLZ8aLu23dj8JfUm+Wv61WZJ5Z84RH5+wnRHKqM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marcin Wojtas , Stefan Chulski , Jakub Kicinski Subject: [PATCH 4.19 17/77] net: mvpp2: Fix GoP port 3 Networking Complex Control configurations Date: Mon, 11 Jan 2021 14:01:26 +0100 Message-Id: <20210111130037.245720640@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210111130036.414620026@linuxfoundation.org> References: <20210111130036.414620026@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Chulski [ Upstream commit 2575bc1aa9d52a62342b57a0b7d0a12146cf6aed ] During GoP port 2 Networking Complex Control mode of operation configurations, also GoP port 3 mode of operation was wrongly set. Patch removes these configurations. Fixes: f84bf386f395 ("net: mvpp2: initialize the GoP") Acked-by: Marcin Wojtas Signed-off-by: Stefan Chulski Link: https://lore.kernel.org/r/1608462149-1702-1-git-send-email-stefanc@marvell.com Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -954,7 +954,7 @@ static void mvpp22_gop_init_rgmii(struct regmap_read(priv->sysctrl_base, GENCONF_CTRL0, &val); if (port->gop_id == 2) - val |= GENCONF_CTRL0_PORT0_RGMII | GENCONF_CTRL0_PORT1_RGMII; + val |= GENCONF_CTRL0_PORT0_RGMII; else if (port->gop_id == 3) val |= GENCONF_CTRL0_PORT1_RGMII_MII; regmap_write(priv->sysctrl_base, GENCONF_CTRL0, val);