Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3527344pxf; Mon, 15 Mar 2021 11:32:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo59UijHuKaENr2chrn1Lk8xWqcyvjLIdnz/jH7PRwF0bm/TATRts2fmX40cNdT6iftODI X-Received: by 2002:a17:906:19d9:: with SMTP id h25mr26002778ejd.453.1615833153747; Mon, 15 Mar 2021 11:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833153; cv=none; d=google.com; s=arc-20160816; b=vNiFRtWOUD31zE8r2uODTr1oXFJ8ceVB96xmC9T0CKJODD7iy6e2oW96ugk2DuvuRL olas1lmsnNSIixlysw0uDPYUBd0N3MbQ4hgFU8XpR1R3/egEnmb1z1n3GqYSWk6z9+4m Rh6ID1FHMm9Ew1zelxb3ZkbrBzpglJ8C4/mHPBFp3/yKVKRDvq9WhgH/z3R4wQ4H9aDQ Oz0xq03dYm8Pwpv0r7IljYuhAfnHsXzAjw+5lGK8QIKNHmHJ/2jJt8dLReSGZJQZ8aeP 6+guKRnH299HteebZMJVJNyfVSqu+JOohg6xVriVdH7ROfZufQcce+dBytznabL+laVU Chrw== 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=VoLPcLK+cgdI0ClOnCUOCxE0zqCvnXU7DsZ627RsK6c=; b=BypsJaBAdATbT0Hzj7AdIsjOKsDd70AOdWerZQ0gX/1kINacdlhaRWM7xPBQ3R2FYk Y4uATjLwh4spN9Em5YAX1JafqRHvEZMxczhN3PdRQxrqDkzQVhcce7xtUoQWDp2ZrIuI 4IxQakT/a380/FdoU7fxWhpBYc2kWqJqKyHTDavrJ0xcMNRCjo1/PL3w1LjstIMdQm33 Mq3u1VQliuK7RbR1fSAqKVWvVbZCSBINFlRM00rDpayXG5D/z+cQHhWyZnGF4wlnT7gq iOu/+iHLpoFy2G7pxl9CPAK5Nu/sF6aU9/scCLklr3xHD3Y+/k0nMRQD9G54BfJH4fAE lSXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B0TsvwsU; 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 qw16si10626682ejb.673.2021.03.15.11.32.10; Mon, 15 Mar 2021 11:32:33 -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=B0TsvwsU; 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 S232921AbhCOOl6 (ORCPT + 99 others); Mon, 15 Mar 2021 10:41:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:49380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234082AbhCOOCy (ORCPT ); Mon, 15 Mar 2021 10:02:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1FF7A64EEF; Mon, 15 Mar 2021 14:02:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816974; bh=Q1YXNqEzfzI1SCGqkqq9bYqxLhmTCfcq65w/M53JeGw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=B0TsvwsUDVxUNi9az0QJmpW+fNF/c4WaT9CmEJv3q8jHkKarNbuCF3PriyTuANFvc 94h+6F9oedqzDP7nBZdo2Uf5vCQYeDeLX/onIal4t5yJ0g81CE1QMk7AGPuS0LHLfi CdbD/RIcrCZ9DUvz4Qp11LkwfMJAtK365Bk+LjUM= 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.11 239/306] sh_eth: fix TRSCER mask for R7S72100 Date: Mon, 15 Mar 2021 14:55:02 +0100 Message-Id: <20210315135515.721541218@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 [ 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 1dfecfd938cf..f029c7c03804 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -560,6 +560,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