Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3518787pxf; Mon, 15 Mar 2021 11:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1wRyrP/KbJEsa9aKtOy/zVgeNkW4orH8VPFYInasfaXFihpZQSjj3MzUxHe7PLMy3beqU X-Received: by 2002:a17:907:78d9:: with SMTP id kv25mr25729062ejc.415.1615832429017; Mon, 15 Mar 2021 11:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832429; cv=none; d=google.com; s=arc-20160816; b=tM7SuGhKG+a9RufafvKD5hy8kHd0IRnDBCac3/CMBx1Rd+Q5GbVsQxw7WNozc2jzPg SoqRIsBdXBAjAnCceULbh8/lcKK3d/LTBC4elrXtGmG27LGesEdT0JeLKyCfsJ/C0lXw nKv5fAXKZn+bC1f0kSoCoHGdqYDc+dUQi732qkbaPXYHKgCl4J0Q22IPrEx8DFdi1flC uu8RyNig3mkBR5iSG0Dbxc+mWaGGEFkb2MSCombg8b/II5J+qhaI8kYprpGYnrJHk2// Pxab2ldU2FzXsN4VoMPib7eE4OjCTeVXXodZ/osuCwWIslXkomiyYMkS9YDJTOPlxeeh 5Qsw== 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=WkDulFt0BAUnA5iMvFyQAuO8uvGj+7sDzeKRY5nqh2wFbaEIVSEjPlqYVtqw/Eybbg js7A5+yduxTAPoru7l5I3l9xx6ncyuvN0VrqgjSgsypV9IAAoWv/jDnByzGAErDWg/P4 NypMwb/uPKNfnMF4QDE9CGeGV26xRRw+yDRgn3GthI56cHcZxnlG21OqaXtkHfuQgV7w 5uK05gsfoSY50Qq9Du41BN29JO6ec62mNTEM5oIGAwu5xflmJhtX7ntVr++79TDH19je 62Jg/I1tEEG2ukiojOBAn6KEayTMftP7AJ5jjoBjv34Io37MY2utakQQzR/8vI+i9UMJ yUCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MbhTPsMn; 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 n19si11617022edq.224.2021.03.15.11.20.06; Mon, 15 Mar 2021 11:20:29 -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=MbhTPsMn; 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 S237591AbhCOOSw (ORCPT + 99 others); Mon, 15 Mar 2021 10:18:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:34900 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232648AbhCON7l (ORCPT ); Mon, 15 Mar 2021 09:59:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D2D5164F80; Mon, 15 Mar 2021 13:59:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816764; bh=ZZ+YeAks4pW1cWLAxWfu5jU4iiFdjFcSyOTYi8m24OU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MbhTPsMnO8W4Vq64AtzM8uJp7hqstWLxYUjOK4Rp4fRpe/M/2G/ZA4tkOYeXs0Neq XIVl5ACeJIGY7/mvEnnO2PG9F3thRZLHw0WN2fXZVgEu65+u/GZ5p0XOZ4j83zrJZc gW/M8KuI4/xjvLZbKHgLZgSGxVdHUlxL9LBXWQmM= 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 101/290] sh_eth: fix TRSCER mask for R7S9210 Date: Mon, 15 Mar 2021 14:53:14 +0100 Message-Id: <20210315135545.329133422@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 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,