Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3543220pxb; Tue, 19 Apr 2022 05:08:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzbxu/Q7DV9ZRp4y6jho9A7Axal3ioAjPYiPAZRP1dWU2MXLO9ulmRxuYqUBNPhXTIpQYD X-Received: by 2002:a63:5243:0:b0:3a2:ce74:1187 with SMTP id s3-20020a635243000000b003a2ce741187mr14287743pgl.334.1650370093693; Tue, 19 Apr 2022 05:08:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650370093; cv=none; d=google.com; s=arc-20160816; b=m+0yKN0zcGCr3UNv7F/YXivuhpFd4MMvXl/ggRbf6zcPX8+uCgPtZLWjWDPoFzXH3f 6qYcfxRnubsHmdLtZ9QjIk8AutxbOBJT0T3QBY/OSALIuYpbP0xwxK73gO/5QQv5hwAe yWGP9CxL8Il3Dfdqam9CVlLn2V7xy6aGZXtN/JJtgdjStIL1jD0MQT26d/VoblQ53Pjg YW71TBKesoUzxMVNlPQ5T+iUoSAawpT7YvvZlZu8GkLBztDru5GG/rvuR+M6FtMhRpD1 /IJQkUBs4IlF5Ss1gZEpxQ8R1eHyP3F1Zl2Bd8rk1BIVNCKt2xodNvJDY4OZ9hFoF+Pr gCDA== 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=mGWxv/qota/JshJiLK9mcfcLcUXUwT9NkI4w3aXnwsE=; b=YmM8dVBZctr0afrd6742zkn1WNnab5JkZr4ewje7LzKctKkvri4+zaU+OE6bqbNy6a mzSXEXoN1SpFFr14+C69hiQ/kUcRYYGFr3JWW5i5KEJZsHWUhzbMQwWoW/qjCkDcJQD5 Y4upRdxciBBKRj8U7x1/wXGdEG23RveFrQFR1k3WFi6PwlwaB1D1+In+4KfOHsvVlqSt gDkB5H0xrnY/YBiZEzknqWAMqf8GnobGRKabb7AZJauXywnCQYUljxS6m0W26wTX24/a I8DMXqE2ztX5tuyzugRuJQ88uYVpUo+iF7M5B6GtVftRcBkklKC0ZLq3ZIQfInIEL/Ki ymOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BRLJRAM6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020a056a00229500b004fb36904b3esi12767800pfe.9.2022.04.19.05.08.00; Tue, 19 Apr 2022 05:08:13 -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=@gmail.com header.s=20210112 header.b=BRLJRAM6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235239AbiDRQUZ (ORCPT + 99 others); Mon, 18 Apr 2022 12:20:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346059AbiDRQUY (ORCPT ); Mon, 18 Apr 2022 12:20:24 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457582CE2B; Mon, 18 Apr 2022 09:17:44 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-2f19fdba41fso18692317b3.3; Mon, 18 Apr 2022 09:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mGWxv/qota/JshJiLK9mcfcLcUXUwT9NkI4w3aXnwsE=; b=BRLJRAM6c4CTKa9943BLdzY274Da7Gk76ZH+uFpSX6pUtz6TPcxsEk/jNKjVOuMN+a HcEP9XqzUKeT06kLFtfKlWdNwbU+wkAWwhFub0lyjCq9Opij8cKGZfczmS0M4uzEGLJF +59kT9/fyltIEL1RVB9BW8W81FABIUsmVd9couP7iIcapJoY5P5Gh9jgvqIvOtr//bPk 7zvJfX4X7uyKiTRopzYzY4n/uwrjXG+DDsYNVvf7hnBs4br/ON6llX48ghv2JqmRtWpT kOq71eBViGMD6nnTUISoAsAqmbCBxV/pbZriCXqo79zTuKs02sNMuKZYqENpYYCIAOML zEHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mGWxv/qota/JshJiLK9mcfcLcUXUwT9NkI4w3aXnwsE=; b=Rbdbsj5X3FOpEi/oLaFPAkNjTTRWBcICfDFkOdfNRxlq/qhbZ14ZUaV48Cj3j8rroV I9LrYAX9+DhyRrXRKJFjn5aByM0oC1rmPeu1hEi/QollpsTSB6Rhd4hGj047E+aVz8OO qbBJqP1B83hU7BYBMStT5WGoGwmuq0LdAdTmpGmd1r9TqubCdIWinXe8ot3zsg/EhEz4 uBGfaCC+is7CA8mLChpewKWMQu072Xc0fA/x5qOV9OKj6ZA2LyGjWVTq5+aiM5k8FBBO kQuQx5xLURCxe98YdB769x7G27bpU7mYiTdzY0Pv9rTqd1hddUBT1W3/2XqUSEwyK1lF XpBg== X-Gm-Message-State: AOAM530pe/RmrAA6j7vE+SvRVx0IDqKYNs64/FfW+9Ucw4bD6ouzd6lp 5Kky45+KmgL+Zvzn5bcoeHDkKp0/kvGzUJ7L9rU= X-Received: by 2002:a81:5904:0:b0:2eb:f900:882e with SMTP id n4-20020a815904000000b002ebf900882emr10602126ywb.281.1650298662641; Mon, 18 Apr 2022 09:17:42 -0700 (PDT) MIME-Version: 1.0 References: <20220418155313.GA1101563@bhelgaas> In-Reply-To: <20220418155313.GA1101563@bhelgaas> From: Peter Geis Date: Mon, 18 Apr 2022 12:17:31 -0400 Message-ID: Subject: Re: Re: [RFC/RFT 4/6] PCI: rockchip-dwc: add pcie bifurcation To: Bjorn Helgaas Cc: Frank Wunderlich , Rob Herring , Frank Wunderlich , "open list:ARM/Rockchip SoC..." , Kishon Vijay Abraham I , Vinod Koul , Krzysztof Kozlowski , Heiko Stuebner , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , Philipp Zabel , Johan Jonker , Michael Riesch , "open list:GENERIC PHY FRAMEWORK" , devicetree , arm-mail-list , Linux Kernel Mailing List , PCI Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 Mon, Apr 18, 2022 at 11:53 AM Bjorn Helgaas wrote: > > On Sun, Apr 17, 2022 at 11:08:02AM +0200, Frank Wunderlich wrote: > > > On Sat, Apr 16, 2022 at 03:54:56PM +0200, Frank Wunderlich wrote: > > > > From: Frank Wunderlich > > > > > > > > PCIe Lanes can be split to 2 slots with bifurcation. > > > > Add support for this in existing pcie driver. > > > > Is the "rockchip,bifurcation" DT property something that should be > > > generalized so it's not rockchip-specific? Other controllers are > > > likely to support similar functionality. > > > > I do not know if other controllers support similar functionality, > > but i ack a property without vendor prefix is better. Should i use > > "bifurcation" as name or do you think about a different name which > > is more generic? > > Really a question for Rob about what name would be good and where it > should go. It might be good to define this as a lane map. In the Rockchip implementation it's only 2+0 or 1+1, but that isn't guaranteed if this is made into a standard definition. So perhaps: pcie-bifurcation-map = <0>, <1>; pcie-bifurcation-map = <1>; pcie-bifurcation-map = <4>, <5>, <6>, <7>;