Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26297809rwd; Mon, 3 Jul 2023 07:56:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4ghvymcfp2VK2TXLHeg8WJyLTLFfo5rAgcTHd1kS6wHND3ZMc6YTPB0nXNHNJYJZrtRik7 X-Received: by 2002:a05:6a20:4289:b0:124:eea9:6691 with SMTP id o9-20020a056a20428900b00124eea96691mr18415755pzj.31.1688396170354; Mon, 03 Jul 2023 07:56:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688396170; cv=none; d=google.com; s=arc-20160816; b=MzE8vd6gX9BcfHjF7hwVMmRdNh+Y9wiZ1AL1LlBEIG0j45rrOyn2eo9vub24gkLbAh MvcFcfwvXTVZKu274JtREQce2IS7L16pW+D6HqZBOm4H3nar7rpD5UYgiBUTybWCVa6W QuOMUWDNCFTUc7FAau6kW6dXIVr/hkNcmVmdwWMg8eFuSqUL8yySdXMaZCSLBNhvwISS MkrAMvdvhIX8545diEUu1XZXuY+Xg/q9KvjGAXPGBhgfoXdC1nReXQkfKhglFbZOV9/y V4kH3UwsGLo6iw3fN/dmkAgPWJF2tIAwlMaC3zLUTWREXdowelKZrOzjRjLhfjoIL5+v 96PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EdzWHkf1aaa1WsMyIhRj6KpzRSMZEp4+Px5Tx9YAjRc=; fh=Fe8aTdPW8gfRDCbGh8S6Jw+tuxswjDGoUq3kGurT1mI=; b=QrnqmPULTCeHuK2G393qFH2+rgYNUbwjrRPgMf/o9xACPqfgh8KN2nsybLzjkGG/cl bAPgucu1tN+1KiJiUAOnOLLdEph0/E6Id7mBaJSOWghz2D1zV9ZRICsARXCPJ9D9+ty2 5SleWsVk6wnKktsMAjotA7X0Av4Al3CLh1J6VH6xr4+JZ4+UQBWEU9g4DV07ib9aXnJ8 Z2xUyX9CLTueWBrNo0daIBRCR8EWNGn3i1Pz+1g7xBOaZ98kaAc4jWwhWr7+D5Fc63Yc +3N1O33HFgZZKgvuFsF0Td8d12T/Vs7JKPc8CWw28tBFuqb8UW+wG9HjNbLZcCyob+bT j9Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Cvvw45rN; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a63f508000000b00553a56f7b36si19764359pgh.522.2023.07.03.07.55.58; Mon, 03 Jul 2023 07:56:10 -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=@ti.com header.s=ti-com-17Q1 header.b=Cvvw45rN; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231448AbjGCOp2 (ORCPT + 99 others); Mon, 3 Jul 2023 10:45:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231355AbjGCOpL (ORCPT ); Mon, 3 Jul 2023 10:45:11 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95B6310D0; Mon, 3 Jul 2023 07:44:52 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 363Ei0xv066266; Mon, 3 Jul 2023 09:44:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1688395440; bh=EdzWHkf1aaa1WsMyIhRj6KpzRSMZEp4+Px5Tx9YAjRc=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=Cvvw45rNa5ezhkvHMcuAWc10NurKwUE0HvRjTSWMMydmmGgNiC9nA3YLRrzIyJFdY NlSwqwbVA9Y9NOs0iSbXPAqYPkQUcXfDDXoyd5meDrFMeXhNi4x62gsXcLOtHIWj5U XbcIun2TTAZKUjKi414Oyqoz19IflfDE4HfMfPL4= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 363Ei0i7034089 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 3 Jul 2023 09:44:00 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 3 Jul 2023 09:43:59 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 3 Jul 2023 09:43:59 -0500 Received: from [10.249.128.37] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 363Eht6L097671; Mon, 3 Jul 2023 09:43:56 -0500 Message-ID: <9bb176c9-f1e6-349e-5486-74e0ea6b5012@ti.com> Date: Mon, 3 Jul 2023 20:13:55 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [EXTERNAL] Re: [PATCH] PCI: j721e: Fix delay before PERST# deassert Content-Language: en-US To: Li Chen CC: Vignesh Raghavendra , Tom Joseph , Lorenzo Pieralisi , Krzysztof Wilczy_ski , Rob Herring , Bjorn Helgaas , linux-omap , linux-pci , linux-arm-kernel , linux-kernel References: <20230703112914.68806-1-a-verma1@ti.com> <1891c041807.fea67a55448140.3454059194195387266@linux.beauty> From: "Verma, Achal" In-Reply-To: <1891c041807.fea67a55448140.3454059194195387266@linux.beauty> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 7/3/2023 7:19 PM, Li Chen wrote: > Hi Achal, > ---- On Mon, 03 Jul 2023 19:29:14 +0800 Achal Verma wrote --- > > As per the PCIe Card Electromechanical specification REV. 3.0, PERST# > > signal should be de-asserted after minimum 100ms from the time power-rails > > become stable. Current delay of 100us is observed to be not enough on some > > custom platform implemented using TI's K3 SOCs. > > > > So, to ensure 100ms delay to give sufficient time for power-rails and > > refclk to become stable, change delay from 100us to 100ms. > > What problems could arise if the delay is too small? Would some endpoints not be able to detect it? If delay is small, cpu stall is reported during probe() while accessing PCIe registers in some cases. > > Regards, > Li