Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp9064564rwb; Thu, 24 Nov 2022 07:38:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf4QH6nwQ791xCUDVXs20PlALSCtj3svrvSJZUiq5Cwf/ks7M81lO0bHR0/s0kG496OqaYiC X-Received: by 2002:a17:906:e0d7:b0:7b9:a74b:f16a with SMTP id gl23-20020a170906e0d700b007b9a74bf16amr7399806ejb.192.1669304339145; Thu, 24 Nov 2022 07:38:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669304339; cv=none; d=google.com; s=arc-20160816; b=EcED3rT04MuHFbrAIrVULKgXzUT2NepPe+JxJW6R7NfNn3Er1LLJGgVEL9S9xnyU60 1zbNDKHRnZ16vabQB21vyrC7FB3XajOmxaQIRMkqGQRxZOqmP6gzSPjD6McTN1T84XYo H4xtVBPeuhk7aEgc/4D4QmAvKLE+hNG/BZep6f80X7fm8ox/eyor6bKZHkB93h1g0r6S jE1seq2IbADgx3J088lwDsBnxLQVqGowx1vGzuQxRE4fmdNdQrW9sLr9/0awP/KYzqd/ T61ZXi/rIT8jOiW1t5lCFp2iWHUm0QZvyaJ9TC0f+Tq1OhIBjj9zyL84m23m+f86Lcvf pGkw== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=R0aMYsPot2Cc7oq/Rax295Xkb9Vir2RNZBvjjC86qDQ=; b=ytB1QbfbXRmzLGgPsp1U7qzbuG1tLBvqxmRqGqRXnSYFVBzjtwD6WfPKdjh7UP4uWU SMJU/iYiPV+xFwYDioXWJuOLjPZabOhwI4p0T1aYtnBKcur2OHYW3iBeNT1K0U4H2FQW +TJVp+RDjtF8d+8AQk4Yw8AKGVbtYgL0+ewXBe5mZdJHRtY2DIjpOCCMPWkJuArUG0Ba p4w2sSPyh2PPWJLLSc+P5MXYvmSzhIiwAYCM19Ys3OGvyg7d+8Jn/fOx/G5ru2RLkSk7 0sSMXYCrI3SOrJhK78fTfizk00kbbBvJt3BiNiqhhN4+oGzq2QmqP6NLFqKO/ju8wmU3 cJvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=RkQyHRUI; 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=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rh16-20020a17090720f000b007acbaeed9besi875865ejb.398.2022.11.24.07.38.37; Thu, 24 Nov 2022 07:38:59 -0800 (PST) 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=@bootlin.com header.s=gm1 header.b=RkQyHRUI; 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=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229787AbiKXO6a (ORCPT + 86 others); Thu, 24 Nov 2022 09:58:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiKXO6Y (ORCPT ); Thu, 24 Nov 2022 09:58:24 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F18125204; Thu, 24 Nov 2022 06:58:22 -0800 (PST) Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 245BBFF808; Thu, 24 Nov 2022 14:58:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669301899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=R0aMYsPot2Cc7oq/Rax295Xkb9Vir2RNZBvjjC86qDQ=; b=RkQyHRUIq3cVAh2+AjZw3WMevLFXThJ7Tr/U63jUkglsa9tuz8M9ci/BsWcqxuallO+zEx Kk93ln2Ua86pPD+BP+bxzjynSqb3cwt96/ksNj4HA15O+r00QG5+A9QEAn3IiQMmGKGFGN gIBZ4Rrdr9mIOhCVZG/WwRdRgHXGzWSblbvk4+hsvIz44/uSi4FNyYqQ6KXUQnzp8qLiNG qZ29U9qBVqdJ5AOPApWqR1DB1IdlvuYjVQWfJd+BfVYWsrcAa+Sp31ndRD7nCCbMlsGyEU JQvN5BxcH2sO6plOXPi4ktfinr11BPTE9tuMcqNeQcTcgROB+bpKGLq4u7FLiw== Date: Thu, 24 Nov 2022 15:58:17 +0100 From: Thomas Petazzoni To: Vadym Kochan Cc: Bjorn Helgaas , Lorenzo Pieralisi , Rob Herring , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , Krzysztof Kozlowski , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Elad Nachman , Raz Adashi , Yuval Shaia Subject: Re: [PATCH v2 2/3] PCI: armada8k: Add AC5 SoC support Message-ID: <20221124155817.5f372417@windsurf> In-Reply-To: <20221124135829.2551873-3-vadym.kochan@plvision.eu> References: <20221124135829.2551873-1-vadym.kochan@plvision.eu> <20221124135829.2551873-3-vadym.kochan@plvision.eu> Organization: Bootlin X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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 Hello, On Thu, 24 Nov 2022 15:58:27 +0200 Vadym Kochan wrote: > -static int armada8k_pcie_start_link(struct dw_pcie *pci) > -{ > - u32 reg; > - > - /* Start LTSSM */ > - reg = dw_pcie_readl_dbi(pci, PCIE_GLOBAL_CONTROL_REG); > - reg |= PCIE_APP_LTSSM_EN; > - dw_pcie_writel_dbi(pci, PCIE_GLOBAL_CONTROL_REG, reg); > - > - return 0; > -} So this code is going away, but I don't see it being re-added anywhere. I don't think anything in the code you are adding that sets the LTSSM_EN bit in PCIE_GLOBAL_CONTROL_REG. Am I missing something? Thomas -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com