Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3323896pxf; Mon, 15 Mar 2021 07:09:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2LYdPQ1/2Pvt5qanZ2Gryu1nu2KxZj0l0ay79KU5YwXXvsAU5moneD48XvMOj+H70ouyH X-Received: by 2002:aa7:c345:: with SMTP id j5mr29405837edr.338.1615817341042; Mon, 15 Mar 2021 07:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615817341; cv=none; d=google.com; s=arc-20160816; b=Ar1H3PTq+gZnwsx4awOLjq3xY3RZs3/Fln+7JGrJHndlYQqgxrhrmmvimXRp0eKo1H suPj+cmUGnBkLXXWHgYqbd7mj/c1oiT7h0wPNa2WnrsnQSyNKUggeGJgYuHwTRMoMA6i wnWNVU+rk6ut1wU+cn0ubocXOY2b3/l7OL/JATtnpwTR7xv+0M39HjQXlIDJeNmW+Baj BASW3ekm6JtoiBfo0ZiHW6eCngQnfd3crMVtWiJc4K0ebdiwiodY/khlm+1egYrPXY2g ClDMIDahI3/yk/OQlq4VMzV/FyVA0ygCWl9PQC89otsqPOT2Vb+SvKxrOWd3HuLPw1Xs Zolw== 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=XUMPygP45+QDIt9sjmEUoFvAK6tWJaS0sJ/o7WdJang=; b=XTzgWovpQRXDZprB2mvXxOx8Od1JJCJXqRISSI5YEQvVyoM9eZ+lPjbUG3h9O2gww+ R/1wIFziPyYSrxmvmgauwGMiuwTpmXhp50/cHkef5yJi7p2BlJCOczG9thl9QgHmz5bW rXqygSIpxHdHf43jH4AXNsg1TfX1enOV8MJoi1+6N0O6mUosEzpSA05z5pzTZc4+RWcb LLMKxg6tqS7vyJHFhBqKYaHlkGoZybgotqXVFCGrkFusKISG5w47U/xzSfIF7WRR2YC0 m/GK4usOZPzQ56r/GBfmDRxZqTxZmkuLfYTgkQPvnqaEIHCIrmAwgmE9ldx3/oYWMzxu QoTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GQ24duU7; 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 jl16si11278434ejc.330.2021.03.15.07.08.37; Mon, 15 Mar 2021 07:09:01 -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=@linuxfoundation.org header.s=korg header.b=GQ24duU7; 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 S234979AbhCOOGv (ORCPT + 99 others); Mon, 15 Mar 2021 10:06:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:35176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232103AbhCON5q (ORCPT ); Mon, 15 Mar 2021 09:57:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 91D6B64EF0; Mon, 15 Mar 2021 13:57:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816654; bh=x/IlDJ8JHbbMUkHRvRPdn/2xOomMcPYzXEQhNmMiNiw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GQ24duU7HEtILaYfofiyZ0Bm/lD/n0altTitP0Tmp4R7ILKX0SKCRovUax9nLRN/S uL28TNh0QGFRQGxbkFCOuiDJRc2alaRgGAOdBgklBl9Nc+ERt8mF2DbDkgcwGWOQmo SDDxf8wZy8GvCN7Fkw9p9xLW3vhebcGdIQs3nvR8= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergey Shtylyov , "David S. Miller" Subject: [PATCH 5.10 036/290] sh_eth: fix TRSCER mask for SH771x Date: Mon, 15 Mar 2021 14:52:09 +0100 Message-Id: <20210315135543.140854196@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135541.921894249@linuxfoundation.org> References: <20210315135541.921894249@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: Greg Kroah-Hartman From: Sergey Shtylyov commit 8c91bc3d44dfef8284af384877fbe61117e8b7d1 upstream. According to the SH7710, SH7712, SH7713 Group User's Manual: Hardware, Rev. 3.00, the TRSCER register actually has only bit 7 valid (and named differently), with all the other bits reserved. Apparently, this was not the case with some early revisions of the manual as we have the other bits declared (and set) in the original driver. Follow the suit and add the explicit sh_eth_cpu_data::trscer_err_mask initializer for SH771x... Fixes: 86a74ff21a7a ("net: sh_eth: add support for Renesas SuperH Ethernet") Signed-off-by: Sergey Shtylyov Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/renesas/sh_eth.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -1089,6 +1089,9 @@ static struct sh_eth_cpu_data sh771x_dat EESIPR_CEEFIP | EESIPR_CELFIP | EESIPR_RRFIP | EESIPR_RTLFIP | EESIPR_RTSFIP | EESIPR_PREIP | EESIPR_CERFIP, + + .trscer_err_mask = DESC_I_RINT8, + .tsu = 1, .dual_port = 1, };