Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3524248pxf; Mon, 15 Mar 2021 11:28:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzF6nim0BnUcrjeFPjYeMaOyNWr+kJzOifgZ7BRA68hX/kE0eHvX2EVTJiZD1fwZKKsWV/F X-Received: by 2002:a17:907:1693:: with SMTP id hc19mr24820193ejc.28.1615832906809; Mon, 15 Mar 2021 11:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832906; cv=none; d=google.com; s=arc-20160816; b=E+DRY1RRJio16ur5bI3ehamK/8ajCUOKYOJMamYyuWJ9Eux1ahSizQNKv/XDvRL6E5 acvXPAsKVDQAvNLJslojBUuoorBz5GL7RENR44dBbO5kNo3OerEc8qOc1cxPovwk3xdd 6qyM0dMwArNMpiJc7et8MkB+fG7M99nwUbdfsfWGsngN9m4aEjeD4KOIXemz0VYVFBD+ j8Isdl0xwU4u9vb20/lZAsiIfEyNEqT5tGgCjkMxq7cYP6+2WXiZE1nvO9VJH0ZaB8Gg pF8AuaEt9E0Ddk2GA5RaCwsdEjBy5JkFkU3YqyDuXiUu4xonOzoTg67NocmmaODu5rlO Jffw== 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=of4nA01VQ4R9PKjW1mux1hNvpPpV4iowuLCRMaOoJaM=; b=0jsy+0B0ERNFyQMZ3RGYvSlDpXLjBfGAey2SIBdY+4Kd8jsLe0i2OIKpAMJEHKBPAY nwIZOqJ1HJ3iNxoRHz4Mm0MKIRfQwrBD74BKv5h91CM10vZw/gVPe708YM+qZVlQv5zW YXsygv44tSjAbvxqCsRWfzVfeMnsT7V9+AWnQagC10CmlW/ktUqlg7UMu5pT/tCHmPRw zRd4LGrvGIUfubBRllTnOQ8D+OQhm9M9A55X1lPHQ5NHwDI826uQtx8KMXVYJNiWW3AZ advpcOYw/w+q5HKH6TTkvLwR+yCNhLGZ6lpiddxhG9gdMSa0mDV3+AIDxKPXbG9chZnj 2/pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dxMuJgQd; 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 z23si12306286ejw.362.2021.03.15.11.27.59; Mon, 15 Mar 2021 11:28:26 -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=dxMuJgQd; 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 S234704AbhCOOb2 (ORCPT + 99 others); Mon, 15 Mar 2021 10:31:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:37820 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233197AbhCOOBK (ORCPT ); Mon, 15 Mar 2021 10:01:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C94AA64EF8; Mon, 15 Mar 2021 14:00:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816834; bh=yKxm+gGEX77Yzcc03ZKJ+sTiaF0sQsPtK8F1W46HQwc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dxMuJgQdFECdrUVXN2Y4f3mXw/THNCmaigB1wN+5YhELdvt0M+u5Ejv6YvVnu6o38 6q8cCSqFMIapKLprBMOA8jejRgN7Cv2LqiLkcl1NzvqbXuljhenrlBbwdmXoZ8cKNQ e2/ifLEJzjRyy0j/f6uZxxbIIa5c09bjo9fNqI2I= 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.4 143/168] sh_eth: fix TRSCER mask for R7S72100 Date: Mon, 15 Mar 2021 14:56:15 +0100 Message-Id: <20210315135555.035960416@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 [ 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 91d234b18195..a042f4607b0d 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -610,6 +610,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