Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2793467pxy; Tue, 3 Aug 2021 15:40:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzc/pYkXl4X33XSN5BHM+UCj/xcI4Tb3IUt8a/t9ED+tDqJu8M3WGXjA8BorPhbUUDXqGC X-Received: by 2002:aa7:c9d8:: with SMTP id i24mr28406383edt.79.1628030416010; Tue, 03 Aug 2021 15:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628030416; cv=none; d=google.com; s=arc-20160816; b=hgDOdEf4v+NpfpuBrpH3N3CQdfqAKgPsSHwENPLJyPczKqYBwHjwScYGr1glGYBvIZ 7y32Mnfx2vATIHELyrb5ZBfTOV8TJjAEkxLPGKsERsWtk8ZAmZULQmwcIbmGeoLZJOFc uVMYLBow4WuTqQLbMKaXNOmoPMaIbj6MaRTQ67F+U/AP5EwN99YVghzTSNt2w46Ltohf 8cHBye5zXOH49mzuvk0XChcpI23BpCRD/P/HGkXoHRXzrU8qrDQeU/ibYuUP4hYDZZZs 9glswr99rvdCLyBoEC7BsjjirlBnAfz/qLQAoT0p25zwNGJVVOMpMw9hkmSzTwYwOK77 8jFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=z6B+IeuJ+c1WvmxILtKvBCSgmWBxVfqPeVqHGv6fkr4=; b=TAh1/tEf5b+98cTpwWmFql47bQTQg8eD4j0wZxizPNO5cprdFC9QeA3wQUEikrL/6y K61NzWhTr7Nhi9Zr5pluhFdYT35Oqh/52MAHxxW+AhXxohKJK99KD2De4+iDYaDinPxt ao4kZBuWdF8ZJAVDENv1k4/dnbFAiS8nWER/67fbCup3tN+rciN+EHVE5XPsl+/Rhjwr 2Px1BUENOemPqs7hZuFpRI/EG0b+WOpue+nEdoWZr+yRCWznLp+0cXFk2ENhiGp+sFbo EUkRq7TZM+wKEr1vSESlhzsaFTTQkjbjohtTaU/OclRnRukurledAAtrs1iiX8jMBV5q Qp7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s5haClTx; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si142367ejb.393.2021.08.03.15.39.53; Tue, 03 Aug 2021 15:40:15 -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=@kernel.org header.s=k20201202 header.b=s5haClTx; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232135AbhHCWMI (ORCPT + 99 others); Tue, 3 Aug 2021 18:12:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:40478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbhHCWMH (ORCPT ); Tue, 3 Aug 2021 18:12:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2ECC060EE8; Tue, 3 Aug 2021 22:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628028716; bh=vSQLD2Dx1iWptSqQt/0j5xCISU3XPMV2GPsXMPEtfV0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=s5haClTxAMXXK+SMtVRQLn48uZKTcUAX14akEg9/wY3BQwYq7AVRcJt5h8zntzWFp /UIT4jYCDh4j67dB934kbf0xKBY0ExfvhUpJLULbpvC9CRLDIfYnc8qFl1r0lBviUg oZFikuRWBM1+EjbbORbQrpPJKFGgOwkP2YiUNOEafg5yicWOMdVeCmIA/ol3lWG4N0 0zBHnEOLov3Y9JnsSytJSucCkhh9DNixVMsecqjjjMcdBykCUp72WEzqHqi5CruOHu j43AHg8y0n5589bpPH9Uk1xP1ZoR1kINMMjfcpYG3F3OQtuHRimmywvEoeL4L6M6KX MDsWmeSO3lv9w== Received: by mail-ed1-f47.google.com with SMTP id p21so980211edi.9; Tue, 03 Aug 2021 15:11:56 -0700 (PDT) X-Gm-Message-State: AOAM533bDacAEsEox1AgNDbp9nbedMzfs3TVsGyUlXie3pVglXRdu4Lg mhIsFrli/3j/ZRa8CW9uZS073lRgvst9tW5vbQ== X-Received: by 2002:a05:6402:291d:: with SMTP id ee29mr28816734edb.289.1628028714789; Tue, 03 Aug 2021 15:11:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rob Herring Date: Tue, 3 Aug 2021 16:11:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 0/4] DT schema changes for HiKey970 PCIe hardware to work To: Mauro Carvalho Chehab Cc: Linuxarm , mauro.chehab@huawei.com, Binghui Wang , Gustavo Pimentel , Jingoo Han , Xiaowei Song , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , PCI , linux-phy@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 2, 2021 at 10:39 PM Mauro Carvalho Chehab wrote: > > Hi Rob, > > That's the third version of the DT bindings for Kirin 970 PCIE and its > corresponding PHY. > > It is identical to v2, except by: > - pcie@7,0 { // Lane 7: Ethernet > + pcie@7,0 { // Lane 6: Ethernet Can you check whether you have DT node links in sysfs for the PCI devices? If you don't, then something is wrong still in the topology or the PCI core is failing to set the DT node pointer in struct device. Though you don't rely on that currently, we want the topology to match. It's possible this never worked on arm/arm64 as mainly powerpc relied on this. I'd like some way to validate the DT matches the PCI topology. We could have a tool that generates the DT structure based on the PCI topology. > at Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml > > IMO, the best would be to merge this series via your tree, as it > depends on the patch converting the DT bindings for the PCIe DWC > driver. Yes, agreed. Rob