Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp607547rwl; Wed, 12 Apr 2023 01:12:48 -0700 (PDT) X-Google-Smtp-Source: AKy350Yi3NfOF9fwjDkv8DADsT7H4kdkmnvj7JrtDhnEPGs9YSDGJEuCtQKBQteEF//6aS460Ozz X-Received: by 2002:a05:6a20:a91f:b0:d5:9216:9182 with SMTP id cd31-20020a056a20a91f00b000d592169182mr13760357pzb.9.1681287168195; Wed, 12 Apr 2023 01:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681287168; cv=none; d=google.com; s=arc-20160816; b=nM7PgVjL1IAtmqwglX0x8TCu/R+RrDqu3DaPlSinHSn5Ax8572KYEQjoKNHRlZ3qRl 87KbIJvrG7WMTGyCE7Bh26HSCe2VX3FO24zQPzbuChQ4Z8WxVk4HoL5cd0K1iePDJnf+ P7/uEP2rF+Nxtpfo0ZLSg1IY2LyHBsGbP0cssCTxpGV72phK5wjhievEoOyGgvxtxNBd WB+6yMwqfaLQpbdy92yZDeQFKfy3urQGHD5+msOgOofgs4S/3p17BtGvZ04aJDm2JBX7 ieaRP9pkqCz75tWDBC45Xi60lIwBrcg1fiXkw566Ek2iwYxCBc7p318iIo9S+a/ykfow Hgtg== 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=C/dGyY5TVITXQ9f4V3PWQDgLG26tGuInk2+5HFdtqR8=; b=Bqk67/OQ+aEmMyQFTBnEZBFVPUwUIMphNSenTfFt4Z/+CPG8hUBtjWS4QCucB44gdD 8q3fG5VuoEry3BGzxw+W0cPOrW2/sHwHxkJCzPK/yDjRwGo9kJCqFotsf/yzLRFhcpx4 9b3B6c5UCSpk1b74YrSCj7jozqTnqpqzFOtBs+nV2Qlmhu6pQzgryp621L7w5tBekFYd 4yNbwx+SqJy46nwjZsvDePhs6t9bA1Nh0MwAYlwjK3uC0gU4v+/iPpfpbe1F/TDoMAwo gJ+BPEeegFmhMsK6EMogr7MIKLUyrHcrkLU0tWu0i7X0Vc4NYe40v8T2eEmruw2ryAfI OQpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c+2NF6or; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w68-20020a626247000000b006280630a37bsi15479607pfb.320.2023.04.12.01.12.36; Wed, 12 Apr 2023 01:12:48 -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=@linaro.org header.s=google header.b=c+2NF6or; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbjDLIJN (ORCPT + 99 others); Wed, 12 Apr 2023 04:09:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjDLIJK (ORCPT ); Wed, 12 Apr 2023 04:09:10 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33CB24EF2 for ; Wed, 12 Apr 2023 01:09:09 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-504ae85c94bso1708757a12.2 for ; Wed, 12 Apr 2023 01:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681286947; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=C/dGyY5TVITXQ9f4V3PWQDgLG26tGuInk2+5HFdtqR8=; b=c+2NF6or5H/VIFSDJXyhSL+skI9ti8M2domvgV4yoDxz7yfc28S8trr32nb2BeOton sRYRm54/JE9s0pd1E+K3QrhhEpSvioNkGpkDHuaAmwGE5XnKzc/oH2aJvvcnXi5QIXZR 3gTl1osfhP/7NvYulngudhiVVyKtASlOs2BD0ouCglCkguhiu9375QXPtZyt3aRu6gSX 6jcRErDcQ4Mwt0WVUczPRWufNVz/+yaeh2VvW2pK5jyP5xAlChaB1fMfMaF6R97ZbdrP l4wmrrmMv5/qwVkFRTbiCUBzbgHaoVyrOmXLKsgGBQ+Vcd+Y0IiWSnHmo38sPBjOMsHC deCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681286947; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C/dGyY5TVITXQ9f4V3PWQDgLG26tGuInk2+5HFdtqR8=; b=csVym7VMbJM+TQw2NTcTM0KX9DVYV02GXbt+yQwetSsD0ep8CL7wS4ou+d3pxFsZWt dJp/0J2/Nvjv/mG9PC3f5YsV/c4xyuucQYo9OEJgjj1MQDal4YVeN3pgo594FW0gWGAq Z7MtIY7YIN0/7sab/mTJrUqVRqvZ6A9MO0CkxulPrkNHJtBI+1+U/i8NvtdtJaYZqiqf M+e5NcPeHGETVZGBjJ6B0hIWoqzeoglEbm15C10lhrYDtNfYGQgquQdH1IVIo1MMK3qb +z2AM5aNznn0aHmzZGihSEDfD4AZF3OD2mrLAt2xJrEE7Kz0spkyk0fygqABb0P8qfsL YqvA== X-Gm-Message-State: AAQBX9c6FO3R6R1KStY6emgs0f2NBa7k0k+YHwtKWM4RA19pCDXOadjn 2cwo2UoGU03xsBMFnsFyNyNfuA== X-Received: by 2002:a05:6402:1154:b0:504:c269:1497 with SMTP id g20-20020a056402115400b00504c2691497mr1462520edw.27.1681286947468; Wed, 12 Apr 2023 01:09:07 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:8fa0:9989:3f72:b14f? ([2a02:810d:15c0:828:8fa0:9989:3f72:b14f]) by smtp.gmail.com with ESMTPSA id h2-20020a50c382000000b004ad601533a3sm6626809edf.55.2023.04.12.01.09.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Apr 2023 01:09:07 -0700 (PDT) Message-ID: <5a28e520-63e4-dbcf-5b3e-e5097f02dea2@linaro.org> Date: Wed, 12 Apr 2023 10:09:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v2 1/3] dt-bindings: PCI: brcmstb: Add two optional props Content-Language: en-US To: Jim Quinlan , linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Cyril Brulebois , Phil Elwell , bcm-kernel-feedback-list@broadcom.com, james.quinlan@broadcom.com Cc: Florian Fainelli , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Krzysztof Kozlowski , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list References: <20230411165919.23955-1-jim2101024@gmail.com> <20230411165919.23955-2-jim2101024@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230411165919.23955-2-jim2101024@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 11/04/2023 18:59, Jim Quinlan wrote: > Regarding "brcm,enable-l1ss": > > The Broadcom STB/CM PCIe HW -- a core that is also used by RPi SOCs -- > requires the driver probe() to deliberately place the HW one of three > CLKREQ# modes: > > (a) CLKREQ# driven by the RC unconditionally > (b) CLKREQ# driven by the EP for ASPM L0s, L1 > (c) Bidirectional CLKREQ#, as used for L1 Substates (L1SS). > > The HW+driver can tell the difference between downstream devices that > need (a) and (b), but does not know when to configure (c). Further, the > HW may cause a CPU abort on boot if guesses wrong regarding the need for > (c). So we introduce the boolean "brcm,enable-l1ss" property to indicate > that (c) is desired. Setting this property only makes sense when the > downstream device is L1SS-capable and the OS is configured to activate > this mode (e.g. policy==superpowersave). > > This property is already present in the Raspian version of Linux, but the > upstream driver implementaion that will follow adds more details and typo, implementation > discerns between (a) and (b). > > Regarding "brcm,completion-timeout-us" > > Our HW will cause a CPU abort if the L1SS exit time is longer than the > PCIe transaction completion abort timeout. We've been asked to make this > configurable, so we are introducing "brcm,completion-timeout-us". > > Signed-off-by: Jim Quinlan What happened here? Where is the changelog? Best regards, Krzysztof