Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp281892rwi; Sun, 9 Oct 2022 23:30:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5fUKUEbx4tqlTpywZCw6KNSFtaZkJBGy6xF8icBMaJ4suxwpKnwCfBKUWAKnjz+/wyeFMP X-Received: by 2002:a05:6402:274c:b0:459:3339:570e with SMTP id z12-20020a056402274c00b004593339570emr16851671edd.259.1665383415568; Sun, 09 Oct 2022 23:30:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1665383415; cv=pass; d=google.com; s=arc-20160816; b=xuhJsm+RYcBHZjmg2c1iQ3OHQgbYJPsZJ9aNQu8IjrvwSfaibIyLVaea/ymNQIdeJc WtxbTKZTDCtV8AIveyENp56bUMZNxyNx5MYtuDmYgaOR6vAmSOMc7DkHMq03AL4JdiI0 QeRNqvRVKqcC6vhc+YrXDIQ50sEoGvUmTRYFjT4z1RPxXSfnsdZ821M+yesV5qsi/q2n y1pWNZQbdT4C/JYOM9AUkIwulra1gzYFrqmEIgmkeLD7zoID4T9hr/NlVDFhoPrH8fy6 sBd8hwz25bbqCccY4cKf3vgYXMxCCWPpjrdIoWdjowPCHVRhkzDigOdYvW/IMTvsgK/i FwZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Q656zymrsoO0PwHK5P4mUxaZXwXizIamEaO6FZpyjVU=; b=kHP2A154cYQwyCk8DGrgZj8lznuAP5fgG0CWBDRhxWkTUfEwtFvHvFc+ZapgrJFyG5 AfYY6oLgsyAex7dOHejNbbbjOle4CKOgtMgznK129t2e4lrLwvelOejqvdtFPy+bFpKO CS5otg3iBS+g17kFeQjVX8PhLXHxY004wtoXWPNq/+adjdaPK/quLkemVyzdLVZM0Pu2 73hJl1MD8+//APzMwwmZlHWMEst2eY3YwZHMz7AfuW+gpkFbtlu9Xw2+xhX7nMWxNtzC zHYY+37U9ezj3+aH5WHp4ElPXdk23WkLsXnrHwqrAUSEKezvjt4nWm8QqALhd3/OX2uz 87Iw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=DrpUdpsv; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp15-20020a170906c14f00b0078212b2e6e2si618535ejc.75.2022.10.09.23.29.49; Sun, 09 Oct 2022 23:30:15 -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=@Nvidia.com header.s=selector2 header.b=DrpUdpsv; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231523AbiJJGCf (ORCPT + 99 others); Mon, 10 Oct 2022 02:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbiJJGCa (ORCPT ); Mon, 10 Oct 2022 02:02:30 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2065.outbound.protection.outlook.com [40.107.244.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D06922613A; Sun, 9 Oct 2022 23:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LG0C8zOv0hFwcy+4+iRy7ghCX0nNNXDxB48cdNL9RNLZKHZAnTHp9/dnmPRGJKpYdjLbS/F/CXjgZhDhhjGl4KHoX7WlJ+5ByqVt5CJrB4Jw+/mlznpzOgHE7O+YxNqR2KIKK8zwyVgivhx5yVsBWCus2ouoAuxCTnglmHyCZaifw5eyUJa6nB9A9zgjJ6SoYGdHKRUOUAygmq1aumLG7G1Cnc47sfzHJhdNQQ6cxa5pNa+7/wRocEL2DycGV9Yr/luAaUaFKmAabKziLgAJI+Pe8BspPg1ZwbrmbHw+8ukqMtlrZOBjYEB1qE6JQKx2Iu6Q09ePfmQCnxN53yMcHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q656zymrsoO0PwHK5P4mUxaZXwXizIamEaO6FZpyjVU=; b=cOzmGaJUgTMu3IVf71txadNT7uC2cOsl4Aa/f+9yAM5vWfi5aa87BthGYP6kkQkU/3DlbikyMlJnf+JM8/rddiLhevSObqi6FFJQvRyb1pJ7kPnl/pNekKYZq3i/oAD88L33Z7xpxgHtt1V1oLIA/qjxaacQ3mO1jLc+HrlLGC5iC3/ccYNMoQF1BsZE+cVVlTCLiHWzifsDjIvM/G7nCBEd3zpQYrT3SbmcsZ1dXWE5gFT4tflF1m5mDvpXROlsBvkyOtAWlPhM85z35XmHgnedH6Zh5X8ZQUgsnMDpI31R/jTGmzTXZ8cuBW/I8p8y28iUxurD5Vseq8guxCLpIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q656zymrsoO0PwHK5P4mUxaZXwXizIamEaO6FZpyjVU=; b=DrpUdpsvujGfDuLHnaZYFdhLYWZ9GP8t0CrVROMzALPTrRhRQZUIbhN5SZDfANPqe6OWa2/UvgJJ55uqdM881iBzHyGBQuyBZQKnq9NHui05K1R71clKI0RWRJ0BrwGGxEEicYQ4xNRMFi089BLe2M/cWURogcLIGzMgUWjNkV6Li4zxRReReCuKlzN6+nB0SZrOJ/8MSAQcTCJdNFz6WGWa7fqut2YSmH4aH9sqONV5H1eZspRIz77xKd8y+cSfaqmQQx2lY0t3ipB0ZbMqnPHmIoq6ivqaVZqrvB5+OMGgcZqgTfhJTLANPIF4ffsHau3NDGwcWSMp3oVttBudOg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; Received: from BN8PR12MB2900.namprd12.prod.outlook.com (2603:10b6:408:69::18) by CH2PR12MB4101.namprd12.prod.outlook.com (2603:10b6:610:a8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Mon, 10 Oct 2022 06:02:27 +0000 Received: from BN8PR12MB2900.namprd12.prod.outlook.com ([fe80::d9ae:c30e:ce3d:9cb3]) by BN8PR12MB2900.namprd12.prod.outlook.com ([fe80::d9ae:c30e:ce3d:9cb3%7]) with mapi id 15.20.5676.031; Mon, 10 Oct 2022 06:02:27 +0000 Message-ID: <96dd0b76-00b6-4f18-640a-7540fab13ea7@nvidia.com> Date: Mon, 10 Oct 2022 11:32:14 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [PATCH V1] PCI: dwc: Use dev_info for PCIe link down event logging Content-Language: en-US To: Rob Herring , Manivannan Sadhasivam Cc: Bjorn Helgaas , Jon Hunter , Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof Wilczynski , Bjorn Helgaas , Thierry Reding , PCI , "linux-kernel@vger.kernel.org" , Krishna Thota , Manikanta Maddireddy , sagar.tv@gmail.com References: <20220913200746.GA619956@bhelgaas> <20220914062411.GD16459@workstation> <20220915145241.GE4550@workstation> From: Vidya Sagar In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MAXP287CA0005.INDP287.PROD.OUTLOOK.COM (2603:1096:a00:49::16) To BN8PR12MB2900.namprd12.prod.outlook.com (2603:10b6:408:69::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8PR12MB2900:EE_|CH2PR12MB4101:EE_ X-MS-Office365-Filtering-Correlation-Id: 033b8a40-924e-4685-2581-08daaa850218 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3Jb9H/xMV/LQ992+lzVbd0Qijn5wG3ZVJVoDoQDNjIThLANb/F6HE2UdnK5WAUdit+zu9faO49/iAdZQM/eDouag0pk59VoAfsgX3hMJG55N7vZAqlcBjKRRxpn6UiN4gb6I4P4rvaeYn5s3trlRdxaI+AaddzxYXWAHjMXZFPrNUghmgVzDtK9vcoq3iRet6yLwnMFNTPDe8FSV0Fd+E2Ixm0Zg2x0tPqOFJyfVXkM+Tfu3z70pgAO9ZsqHvNn8DTZW5sezk+4rUw0UBB1Is1DxXHGzI2eb0aXlHvjsH1twoFCGW4Apjyvu11Xmc9B6Kcoj/6jzKOSbpfP6D6LGDdzvaG9QzGBapQ3NU2c3/sANOnOHeqdhkCUGbbccXMFF4fhlFD92MsvmIc9WwgKHoIXW6UQdU9fPYHVpopBkSYvPT5onwiQNa5l/ubu8KpjVK7MdURJubIJTbzSftk4ZiL5p4pefh7MHfdwoUmyyHsJGS29OOL0/P94cDlGfeqvV2BvnS7kQL5Pat4kUWJKUsWsTvUiD16EamZKMnm3Z0vOap+mNoh8L4f6c3mn7D2QpEJMsIkNZpt07Yk6MXFovCQz+3Bs1JIw3H8mAIvBkLZNRecG28CJajS2/9yynzQTttA224C/AiShoOzdYFp0YE8qr14lAW6adhtCSTw3z4MWhv8TtFzjnwPWLCREz8UhNb1P++j+dgWF8p+AlHe/lNYOozc0Fs274rCZMNjjnumnNk+cNjSFhIPf2rHBSlPBeCMwwN99SiTdwbY+wnDFw0asNyFS478r3yfqa6DFaOhM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB2900.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(136003)(346002)(39860400002)(366004)(396003)(451199015)(83380400001)(6512007)(186003)(31686004)(2616005)(26005)(7416002)(66476007)(2906002)(31696002)(86362001)(5660300002)(4326008)(53546011)(8676002)(66946007)(66556008)(316002)(6506007)(38100700002)(6486002)(478600001)(6666004)(54906003)(110136005)(41300700001)(8936002)(36756003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VDg4eGozK0lKYy9KRU1UcVlXcVJTTy94UEpHTFovZFY2dWYwOEhoaXUzTXdS?= =?utf-8?B?cndJTFJCK1BXV0RQemJoVzFLdWNJZlgvNHRpN1l0UVVhNUVpZW1NNHRnbnRT?= =?utf-8?B?VGIxT2MvRktaaXRXSXFFdlF0ckJmZUZEQjRBZ29Ma1hOcFZBemN5OEZ0VXh3?= =?utf-8?B?bjdmdkUyajBtcmxTRUdYYUV1R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ubGI0RW0yRHh2eXVy?= =?utf-8?B?eEdOU0ZiQ0I2QUNZWDJDcU1yeFU5NFBiMWZuNjlaSkNnckowdWppa0xXNVk4?= =?utf-8?B?TFRqTUxJYlY0QWtJSmhCa2VPekZiem9TRmd0Nzg0MHp1MEJZTHZOVU5HdzZR?= =?utf-8?Q?iCeVtzurc0s0R0Gj5mKPUlMya?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 033b8a40-924e-4685-2581-08daaa850218 X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB2900.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2022 06:02:27.2917 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wmQhD411hsd9cn6PWPXzbMaUGHkPCaQggJV1tCOi1z209YPAOW30jtsb9E2uJngsuhQJTdIl98WXfYfAUI9HnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4101 X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_NONE 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 10/4/2022 6:23 PM, Rob Herring wrote: > External email: Use caution opening links or attachments > > > On Thu, Sep 15, 2022 at 9:52 AM Manivannan Sadhasivam > wrote: >> >> On Thu, Sep 15, 2022 at 09:16:27AM -0500, Rob Herring wrote: >>> On Wed, Sep 14, 2022 at 1:24 AM Manivannan Sadhasivam >>> wrote: >>>> >>>> On Tue, Sep 13, 2022 at 03:07:46PM -0500, Bjorn Helgaas wrote: >>>>> On Tue, Sep 13, 2022 at 06:00:30PM +0100, Jon Hunter wrote: >>>>>> On 13/09/2022 17:51, Manivannan Sadhasivam wrote: >>>>>>> On Tue, Sep 13, 2022 at 03:42:37PM +0530, Vidya Sagar wrote: >>>>>>>> Some of the platforms (like Tegra194 and Tegra234) have open slots and >>>>>>>> not having an endpoint connected to the slot is not an error. >>>>>>>> So, changing the macro from dev_err to dev_info to log the event. >>>>>>> >>>>>>> But the link up not happening is an actual error and -ETIMEDOUT is being >>>>>>> returned. So I don't think the log severity should be changed. >>>>>> >>>>>> Yes it is an error in the sense it is a timeout, but reporting an error >>>>>> because nothing is attached to a PCI slot seems a bit noisy. Please note >>>>>> that a similar change was made by the following commit and it also seems >>>>>> appropriate here ... >>>>>> >>>>>> commit 4b16a8227907118e011fb396022da671a52b2272 >>>>>> Author: Manikanta Maddireddy >>>>>> Date: Tue Jun 18 23:32:06 2019 +0530 >>>>>> >>>>>> PCI: tegra: Change link retry log level to debug >>>>>> >>>>>> >>>>>> BTW, we check for error messages in the dmesg output and this is a new error >>>>>> seen as of Linux v6.0 and so this was flagged in a test. We can ignore the >>>>>> error, but in this case it seem more appropriate to make this a info or >>>>>> debug level print. >>>>> >>>>> Can you tell whether there's a device present, e.g., via Slot Status >>>>> Presence Detect? If there's nothing in the slot, I don't know why we >>>>> would print anything at all. If a card is present but there's no >>>>> link, that's probably worthy of dev_info() or even dev_err(). >>>>> >>>> >>>> I don't think all form factors allow for the PRSNT pin to be wired up, >>>> so we cannot know if the device is actually present in the slot or not all >>>> the time. Maybe we should do if the form factor supports it? >>>> >>>>> I guess if you can tell the slot is empty, there's no point in even >>>>> trying to start the link, so you could avoid both the message and the >>>>> timeout by not even calling dw_pcie_wait_for_link(). >>>> >>>> Right. There is an overhead of waiting for ~1ms during boot. >>> >>> Async probe should mitigate that, right? Saravana is working toward >>> making that the default instead of opt in, but you could opt in now. >>> >> >> No. The delay is due to the DWC core waiting for link up that depends on >> the PCIe device to be present on the slot. > > Yes, I understand that already. > >> The driver probe order >> doesn't apply here. > > I'm not talking about probe order, but rather async probe enabling > parallel probing. If waiting for the link happens asynchronously, then > other probes can happen in parallel and you won't see the delay (until > you run out of cores or all the other probes are faster). Are you suggesting to break the existing probe of DWC based PCIe platform drivers into two i.e. sync part that handles the sequence up until link up and the async part that starts after link is up (or after LIKUP_TIMEOUT if link doesn't come up). - Vidya Sagar > > Rob >