Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3515764pxf; Mon, 15 Mar 2021 11:15:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN8Jw8XKxRup5iKk7vv/mYveYffgJFgTXcyAoZf6TEikIU5VONYR5tvMUyEftbUQA4nwUu X-Received: by 2002:a17:906:688:: with SMTP id u8mr24643425ejb.38.1615832145880; Mon, 15 Mar 2021 11:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832145; cv=none; d=google.com; s=arc-20160816; b=Y/pwMp3rc9ZkK3c6hj2bktfGhLe2Ll0qpalh6kkw9H4NApWY9eut4UQAx5WVVaJnZn UMUy8Z1zKhzUVG+m7jT8otDyzrjY7saL/+/ZNBGsh/+V/SIal1B6v05o6T/sWfPQN3Y1 C+8Kt/AibHJXXZRcNaK/hlzA87IyqYJvhYwqC4XY898b/q/zBNSnlrR9ezUQEbiIwYG1 sAyufKBJFQz5ywdKWqjIWS+IeqM7uYvYj8uU/IVjAPQQMq2Kc1bTXArBzWBR0uhX56F3 JjCiqIqB76KKoA/P6D4fVnVL0cCdrMjz6ojorXi9gbTd8fMCKkNleRGfGOGJehKFpqsP hkAA== 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=Yb1Ctm8MGZ3CsiRF11aOiRDS7gstK16O/kBoNllDSJM=; b=RaReOW49NDjFXZ0aAHR3L606295PsD3SsieElLusYwOdHsLEdSzqmtLZNug5iFE/zD mUht4cSqx63RXDgTcixMR9lqIrLYJDtDSQW2RmInUMIo/V9um3KhTMB64GK8/pN305X8 vvSJYxwvJ0fpYyFfD91jBxtQ7wMVzt0/EFwdMxwhRnK6UcqVZ4S3hADnxpajPPn6/pB1 IEblYkxcyVGpGtAj3rGYIBBTMgiDpngo8EvifMomRPYYVUI+C5brBqj17Zbow9tcMGaf 5Yof0lZ600ncsFG49QwR6Z6/x+riXPFjc0mnsb8xyvs2D8gmWmK5LDyGysIPADJw935Z epmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zkNkqTBi; 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 c8si11170691edq.326.2021.03.15.11.15.22; Mon, 15 Mar 2021 11:15:45 -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=zkNkqTBi; 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 S236670AbhCOOOu (ORCPT + 99 others); Mon, 15 Mar 2021 10:14:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35446 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232611AbhCON7H (ORCPT ); Mon, 15 Mar 2021 09:59:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4EF5764F37; Mon, 15 Mar 2021 13:58:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816738; bh=xfuYCF86pl2ijoVTDxp9JwsGjSp0X9QY2GIlvNONb3E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zkNkqTBiAO7VE0oktixF5+JUmSIo/idr+sWvH375Kc8Qibub+iJExwAeuMSvPm0Mz LRHw8ievbftsiSHL4sPU4A2NksFdj2e0pKpGlQuPpdrB0tX5IKCYlUeIB5TOTwmltP zovwyeUI6i8Kg5mRqbCkP50sUc2pyw+dGlJU/OzE= 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 4.19 037/120] sh_eth: fix TRSCER mask for R7S9210 Date: Mon, 15 Mar 2021 14:56:28 +0100 Message-Id: <20210315135721.216407367@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135720.002213995@linuxfoundation.org> References: <20210315135720.002213995@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 @@ -825,6 +825,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,