Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4452731imw; Tue, 19 Jul 2022 06:56:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sc0dE/mAw26I7gzauXx2nvpU7eNYtLq+Mr2y3LziZaSjGyRB4W2l8EfvsWcLq3QBXAw65A X-Received: by 2002:a05:6402:2997:b0:43b:247b:89cb with SMTP id eq23-20020a056402299700b0043b247b89cbmr35168233edb.91.1658238999418; Tue, 19 Jul 2022 06:56:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658238999; cv=none; d=google.com; s=arc-20160816; b=g76jjUGRB6f8q1V3Zc7BHjxxiUqOOKDMYwMSfKcCBvOu33Zh0ofg1EvRqAXXgVNyZd SJxrMdmBhRxE3Muhmqv5LQBBm5uRAwXKxnwnQNacrnBko9bGedwVJ9t1RE/vzIo50DKM mDi7jGftd2B2h4+7lNJIm7uxkwLDFKpqVjtVWOvFGSlPWWMuXnshD+kHKi2xRzB4IxWc HFHNbAQ1riwdPeiKRl+2A9TUAAKXlB8+Alu87obzMjt57GedmZOI0wsP6EWLZqD6Eh/8 oocCDgPHMFwewrug5gNRGDGW6QPqatvzCS+yeMjgc6eFq2ky784ZnADxseaeUYPN/K11 sPFQ== 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=9vBH+hkXF67gnEtyilnNp9kitxA/5W0PyuGNxv/kPPo=; b=KTleDA1lNVx1/m39RvN1CHqK6DWKVQ2k6COiNXTwz5gUE7IXYn1sABfBaaaYgewqgA RX7NU8CkwQdHpNdKH1+49y/IDF3Rf3ovk/riZcwq8OVtjloh/tlxa0NSMSfFHYDivm+d fKD3k/f6B20Rd86HTYUENRfh+Cd9kpDMIHbyaXhJwm4q4XTVmSAbKJO1wzR3juXv7SgJ cTiCYOnpGmzZ1XPxRmOtBK8HZ1yd6hVoR62tRdPHkSph8rR7qJc4RQa9PQkWIoUWS7Fw SSgYFWVMFfsWhVt3R9lu6/4LkYYVxI82Gymvan78NjA+/U43wkpRPzUve0Bx1oVFdF3l socA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="yr2Jlck/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jr4-20020a170906a98400b006feb890dc1asi17664977ejb.886.2022.07.19.06.56.14; Tue, 19 Jul 2022 06:56:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="yr2Jlck/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S243099AbiGSNMg (ORCPT + 99 others); Tue, 19 Jul 2022 09:12:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243357AbiGSNLx (ORCPT ); Tue, 19 Jul 2022 09:11:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B757467159; Tue, 19 Jul 2022 05:29:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4C29060DD0; Tue, 19 Jul 2022 12:29:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 18236C341C6; Tue, 19 Jul 2022 12:29:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658233763; bh=YGB2Y6+ruG1k6sJM1H3ucWmg5fcVAC+DaG+pHm9VLSM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yr2Jlck/NdMwFhxaNJG696fq7gyyqMwF6ykpKbZsysoQ4xpYUkmvbjB8EXNxXjkM3 neS7BqGEqU1gUm+PA7mM/mcLHorkSJi7nOGTyNQRsNANk4lA0tZz/4Kp3pdJn/XBQJ Jl2qiXgtDyzHJoJ+u6d+jD2ZhN6TIuUdLb18xnPM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Neeli , Marc Kleine-Budde , Sasha Levin Subject: [PATCH 5.18 212/231] Revert "can: xilinx_can: Limit CANFD brp to 2" Date: Tue, 19 Jul 2022 13:54:57 +0200 Message-Id: <20220719114731.697702498@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220719114714.247441733@linuxfoundation.org> References: <20220719114714.247441733@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Neeli [ Upstream commit c6da4590fe819dfe28a4f8037a8dc1e056542fb4 ] This reverts commit 05ca14fdb6fe65614e0652d03e44b02748d25af7. On early silicon engineering samples observed bit shrinking issue when we use brp as 1. Hence updated brp_min as 2. As in production silicon this issue is fixed, so reverting the patch. Link: https://lore.kernel.org/all/20220609082433.1191060-2-srinivas.neeli@xilinx.com Signed-off-by: Srinivas Neeli Signed-off-by: Marc Kleine-Budde Signed-off-by: Sasha Levin --- drivers/net/can/xilinx_can.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c index 43f0c6a064ba..75b4db4d050b 100644 --- a/drivers/net/can/xilinx_can.c +++ b/drivers/net/can/xilinx_can.c @@ -259,7 +259,7 @@ static const struct can_bittiming_const xcan_bittiming_const_canfd2 = { .tseg2_min = 1, .tseg2_max = 128, .sjw_max = 128, - .brp_min = 2, + .brp_min = 1, .brp_max = 256, .brp_inc = 1, }; @@ -272,7 +272,7 @@ static const struct can_bittiming_const xcan_data_bittiming_const_canfd2 = { .tseg2_min = 1, .tseg2_max = 16, .sjw_max = 16, - .brp_min = 2, + .brp_min = 1, .brp_max = 256, .brp_inc = 1, }; -- 2.35.1