Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3527604pxf; Mon, 15 Mar 2021 11:32:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsg6LUnblU/ewMx0NEV8Ptvxz7jzzxa7VPeQqptt8swxUKRlYqmlDT3Go/0v00oruy5NdA X-Received: by 2002:a05:6402:3047:: with SMTP id bu7mr31566347edb.227.1615833173124; Mon, 15 Mar 2021 11:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833173; cv=none; d=google.com; s=arc-20160816; b=duYdaYBbETdUvIXGkiSKLnYPzWrOjFt6Zti2o8sa/CrlymTWpYrvPQDVPjgSXMFWkp QKy2o+dRG1O9lClHPEiDVSYnrRtN06h+lTPO3hRAcdT1YIx3ClI8cW98Wth74Xk7N/pm OFVgba7EIc5Ve0ebP/aFVd/6rPoOvb+Y2MoUQ+inH6+i/Tz/tPm8KSLGsr9Y//rElnap 3EDdwJ9Y4EKGcMHCVuEfxn4JS8A2Ouny2GQtRZOevJyDgXC+Vd6tiKm+KSWuSzuUS8G0 GZrBidG97gebEaE6Zjur9ets9Jr9E9wlWctcQXyxfY7fqds61jN8Tb8GJCLXRxciUkEO vUzQ== 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=kHLI0CiIFXR4oUvAiDG737KH1YuBR0atTIBWAcH0c2g=; b=RI1NW/dD6Ms29qh5pfnJWuGPgPhn/adyt+xDI/avxZkWkJH3sLRwWGr8gobmokEo5q 04eTeFfx/RVbrHWsF2MNBvg2Q2+rG7fdBiiN+9hLOfh1pgBdQNl+bmWupGS/0oUxN5Wi jDym+QswxkDldIEfAhAUd1KyiVQdn3NElMaqbcgM1PWZQ74WVMrCzDOoO4Rm0xGQapb+ 4ZwZX17es4Nu+AVhfHlp7vAw1zxHRHgM3EwFSjERzOQDKOGEp3oHDzTqsVk4QZydVOTO UgMawgl4/CJpG3mBun8o8kQfh0NWltAjCAt9U+j9HZTzX2Yze0xbjSOFJuWR57p57R9j RVxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VYIj1NPA; 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 hr14si12262646ejc.394.2021.03.15.11.32.30; Mon, 15 Mar 2021 11:32:53 -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=VYIj1NPA; 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 S233967AbhCOOm6 (ORCPT + 99 others); Mon, 15 Mar 2021 10:42:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:49700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234436AbhCOODW (ORCPT ); Mon, 15 Mar 2021 10:03:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9EAE464EF3; Mon, 15 Mar 2021 14:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615817002; bh=E3Sd3vDudxnoOXdOVJY+at6Yx0xucDAPaZs8gJgd/9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VYIj1NPAQaUIC4GDa/N7MoflTKfoz5lIDeIXnSjEs2+x8vWq3aqzP1BXpy5i454Ie A4yALj7rFVydJiDBJFiha9egNgZMoxLaCu1yHWdDi6iZvykvFwouB/nJL+M78vypZe n32D1SOXVoRPFrBPt52BE2Lx8jbsaMJwXWw3c+Ps= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sergey Shtylyov , "David S. Miller" , Sasha Levin Subject: [PATCH 5.10 241/290] sh_eth: fix TRSCER mask for R7S72100 Date: Mon, 15 Mar 2021 14:55:34 +0100 Message-Id: <20210315135550.147920244@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 [ Upstream commit 75be7fb7f978202c4c3a1a713af4485afb2ff5f6 ] According to the RZ/A1H Group, RZ/A1M Group User's Manual: Hardware, Rev. 4.00, the TRSCER register has bit 9 reserved, hence we can't use the driver's default TRSCER mask. Add the explicit initializer for sh_eth_cpu_data::trscer_err_mask for R7S72100. Fixes: db893473d313 ("sh_eth: Add support for r7s72100") Signed-off-by: Sergey Shtylyov Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/renesas/sh_eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 50fb372d417c..6d84266c03ca 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -560,6 +560,8 @@ static struct sh_eth_cpu_data r7s72100_data = { EESR_TDE, .fdr_value = 0x0000070f, + .trscer_err_mask = DESC_I_RINT8 | DESC_I_RINT5, + .no_psr = 1, .apr = 1, .mpr = 1, -- 2.30.1