Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3519328pxf; Mon, 15 Mar 2021 11:21:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwM3cByaNKh2HjUZYHmK+h6BMxAFnSf9QTnq+aO85pqzNnUC+4L/hbjsJn7UHrl+Ht/xOsv X-Received: by 2002:a17:906:30da:: with SMTP id b26mr25096321ejb.376.1615832475065; Mon, 15 Mar 2021 11:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832475; cv=none; d=google.com; s=arc-20160816; b=NWPZqLJe4jLM/l12wcGX1azk30TfmzCpQoPgAbYSV7ISenvxf7NENGSU3RWQdipW4F KvsUBHRM+y99T5rtI/M1nAE4dr6icB+pfoviTLDAbaZZvx1xAkwqY+PQ9a5TnqjIcIBI j3VaWih8t5IuHNbFqisZtIoYHfS5oe/6PS78w5jp1BW4U9UaqO6R995K+CG5iydDSqbQ 46fZ+cnQ+RJ8Y8+2FUb3+VDuE5rUJdfEzxQMDilJ1KZzRED6lA139zwlldWOanm+e7Um o1SVeJNx4TORIhoiDCc6Dpmja4b9HL326ezFsC6ZeED39UpqLo5ixo+0E4LNYPQ+ZYEl IfWg== 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=OeCyXTfKRlsUgbboCGARUbA+5o4BpMZl1DLx9M9huhE=; b=oQUB7XGiL5wIbbBn22HHQvO+URzH45C3UdfckuXjrV2lNFZWeKOmvdyCYGJG5/lmEI 27q/MhsN3PUOXxoZdKryqgf2UWek2DCEGh5MDDUw3w78LbdIVNLXfPty93QcKTn67mP/ G6NabZuXtFysf6bl+M7cRfBNueQkRhM7OSZAQhnisKB0DUpIgfk87rIGIbQTtB1wxRIk NcPfd21gikRoT7k0tlOFIhUMUYNoOPn04D537Z9TnOFWvS1Re1xoI1IyHIqnTCKBveK5 j0X+L4e3LSIAGtiBgEgySADtQC6IW9Ee54LO74W4+nxmry32ZZ0CHiDrxMWsHs0DRdtx 8Gzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XW1OrsK0; 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 m18si11922566edv.199.2021.03.15.11.20.52; Mon, 15 Mar 2021 11:21:15 -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=XW1OrsK0; 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 S237713AbhCOOTn (ORCPT + 99 others); Mon, 15 Mar 2021 10:19:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:37632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbhCON7v (ORCPT ); Mon, 15 Mar 2021 09:59:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 67E8464F4A; Mon, 15 Mar 2021 13:59:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816771; bh=ZZ+YeAks4pW1cWLAxWfu5jU4iiFdjFcSyOTYi8m24OU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XW1OrsK0E9vZ35GLMbJwZPpOtSnT3uq1naEITIfSZGlg786vVtGh4L5IXvtfZm61V am9Dd4D9lyqQgCRa+fg6QwpdTvD+PYp2FV3up5lakyUIqjm1BqrOvGNf8RuQfs7YTh b41JgdIP79Gjs5M5UiBrw1TdNQgRKwx3UquM0g2o= 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.11 115/306] sh_eth: fix TRSCER mask for R7S9210 Date: Mon, 15 Mar 2021 14:52:58 +0100 Message-Id: <20210315135511.536003669@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@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 165bc5a4f30eee4735845aa7dbd6b738643f2603 upstream. According to the RZ/A2M Group User's Manual: Hardware, Rev. 2.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 R7S9210. Fixes: 6e0bb04d0e4f ("sh_eth: Add R7S9210 support") Signed-off-by: Sergey Shtylyov Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/renesas/sh_eth.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -780,6 +780,8 @@ static struct sh_eth_cpu_data r7s9210_da .fdr_value = 0x0000070f, + .trscer_err_mask = DESC_I_RINT8 | DESC_I_RINT5, + .apr = 1, .mpr = 1, .tpauser = 1,