Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3512180pxf; Mon, 15 Mar 2021 11:10:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqZHk6mGJLfgC0wiKOSn+iULQ/ZSIhMXFqg/yNbNMNujTJp1SLabrjwrP6rACgKxG3aDZA X-Received: by 2002:a17:906:cf90:: with SMTP id um16mr25535035ejb.389.1615831841814; Mon, 15 Mar 2021 11:10:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615831841; cv=none; d=google.com; s=arc-20160816; b=kNMpY4/HsUDYbefpQnE+Z9YrJLOd1Sr915ndo+2btdha2yZIpGFP6DfWWh4ohRcPQB rLLMKoKpHjOUUO0vGXvabNUi3FmPoelUNYvvINmOShdMJXu/fSHHdvBEPASvzC037jvL c+WnkD3xW2Mn1rBu4kj05UhjDN+B/Me9AYuu4kgCTGTZJ720hj9O5G46jh6aWuMSXn4m SGh0WtEkARzBU4d35NQPsDbVVU4yuU5DSANVpaICn1M0hOwfoGANFcZz3JpW0yoB6pjm 0E8GhItDwWqYhSha8WnVpdV6I/8qAN0RRwG3qdHMllmxqsYTVa7i/2Xotm5n5NnnbEeJ eg8g== 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=inM9WNHJthWiZTmIG5r5Qb13LsODYgmUoAUY/jBwUYc=; b=x4tH1OzHr7bKQDBmy+NCO6rkffSH/HPnfJLyvGg/r33x13uKDFmy8OEKwaiZ/RswQ6 T1+AAtVM2ROfoqdx1/WXK2EebImyhwbaRfbdH7SmfF5yohi78iCTeiELWZcbk/wn68D0 8irTnyUYnuYJuGAfnvkxsGDhxmNuLbKGjb2A4OfiTiw4pSBESYBEfnHTtp5gLWY7W3yf eVD4gqERbJm+0/2piNj42rwxDACD5MnRA5DCMbURwwVOyY4Dw2Vb/NIeWzcLR9yNIFzh CyRRrEgmWiNu90UsMPYg0voOk8XgrIJP84YzmpCl0dMC8JXGLPSXW/5iQUfIj6pdhnlC tj3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2FMPfnQ3; 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 c14si12637177edn.523.2021.03.15.11.10.12; Mon, 15 Mar 2021 11:10:41 -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=2FMPfnQ3; 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 S230332AbhCOOKk (ORCPT + 99 others); Mon, 15 Mar 2021 10:10:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:36756 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232294AbhCON6W (ORCPT ); Mon, 15 Mar 2021 09:58:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8291D64F17; Mon, 15 Mar 2021 13:58:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816698; bh=RBMHtfWR8/h4oaQ3XyzfyTDDNsIXljpZNv7W7eIY3Tg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2FMPfnQ3YZGqcvpQOVx04/7CH/iF2GFdgKqsMRDxFehIlUQARfsJpkX4+1DtQTIF9 vIFlBxXvetdV4uxeFnfWcumRGqoyEIvlF2zbF+sXGU0qL6222jBsj7IkyqyEc18IxU J9f0LfYmhR7TabfJMt0b5WL25O7lxyGgEFMl+To8= 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.4 054/168] sh_eth: fix TRSCER mask for R7S9210 Date: Mon, 15 Mar 2021 14:54:46 +0100 Message-Id: <20210315135552.134023634@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135550.333963635@linuxfoundation.org> References: <20210315135550.333963635@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 @@ -828,6 +828,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,