Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1151997rdd; Wed, 10 Jan 2024 10:06:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcLMdCvoOfKwjJlq181Uva7vIXmLAXhpDFyo2jYgMZpPoTLuSla9R1sALnPxuBg+AKTLNQ X-Received: by 2002:a05:622a:18c:b0:429:be59:b69c with SMTP id s12-20020a05622a018c00b00429be59b69cmr273217qtw.42.1704909962799; Wed, 10 Jan 2024 10:06:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704909962; cv=none; d=google.com; s=arc-20160816; b=Msug4fHrwaWwwl0iiwBCzMLh0FAa6HhZ1Y9LCvPo4dUd9sHmN24/fwGHT6iPktTzJe dA9l3a7IbeOa/ihEwIge8tWvQuSehCqc/4cOTAG18ZtEWIIwIQUEtQUtkpkVaeXeUDLa l/B2SKJ+a9k006/xrlCCMShtBgY5C6haUpaIxyvhRQ85SyRsXi1ZE5x2ChYjxrE40z+D TVNRqgIcywvPm5IIBGrxzSTqFpnEL/REYC+OQ4302XohBv8nt5do4FLDdWVE1z3/lQSB L11URl/3LCcPahWbF6J3J5R7aYVs+qNhBjZ4naHMYEOka4El/FrFrLqP25EiCIoiGc+R RAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=LGS8rxlW8J08cvxQUR+pLZrZLbq/2MHwQf3nkmNV2JU=; fh=ZGZMeo9Dwe4FuCGzQGdWEEIyInNGYFvRO3jhn0T20vk=; b=Mp6EBBYH0jNNj3F5GYC9mxzXQVdJ4f3ZaIIiqoRe/nmncAOFTqO4LDYifeMTKejfQu Fjp35Stt0No4FwXRxJSvBerrGPEykIxMxeLweN9KrPETQPTemUlelC5BS++jJtrvqFXG i9yhrXOZBZBZ/tSUvqzbG8Ii2Rjc0jv3FTl1W9YwoSp72CKm9N3dS1dI/RqkEcLQzCT1 JVHI8GVAA0hutYtskKul0dP01a7v1FnBseJ/FadzPPnHAwrGz5TUFWsiK4w/mXJkUdIW jUVFIBvimWm2rW+nucfgyRtjcu0hIFFVndkX8EOb33iTtxhsPwiR2NEw3zKxK3c2dNJv /SfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=geKefePS; spf=pass (google.com: domain of linux-kernel+bounces-22586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c22-20020a05622a025600b004299106f6d2si4638499qtx.693.2024.01.10.10.06.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 10:06:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=geKefePS; spf=pass (google.com: domain of linux-kernel+bounces-22586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22586-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8EAAB1C21445 for ; Wed, 10 Jan 2024 18:06:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D0744D5AB; Wed, 10 Jan 2024 18:05:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="geKefePS" Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com [209.85.222.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 833984D12E; Wed, 10 Jan 2024 18:05:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ua1-f49.google.com with SMTP id a1e0cc1a2514c-7cc14b91230so3066906241.0; Wed, 10 Jan 2024 10:05:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704909933; x=1705514733; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LGS8rxlW8J08cvxQUR+pLZrZLbq/2MHwQf3nkmNV2JU=; b=geKefePSrSR0895IcValV1sCDNDQoLsvzgIaRzutdAd7qU8uNaQkuXwrx9BqwyFMJR R6W4uvzW6aaLDEpMOEjImrUyyTsYMsnIq0vbhMOtoqZWf2+tWcV9n+EU0X5OPjL9fNgZ ymDrRm8z7kzSIWmxf77wAengwpB1T9Pv1y9yPu8uZGSYhq7EkczPqP49LCS3L63Yy4/F qKl4KvxbqkKKhDA4hNZaaQ1mVPZ64LzoJKEbg7wgXCcPAoh16OuCo5Lfo84w5a7tvVGN VSn+GexcJYWrw1jFg89hcSFgHuRk1d5uckuloLPeLeN5ad08pfEfzDOpurT80ZoOfC+f OVqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704909933; x=1705514733; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LGS8rxlW8J08cvxQUR+pLZrZLbq/2MHwQf3nkmNV2JU=; b=cD8KpUhEXI9AZOYSkEXG+bY5TESHNW9pQyopWGOECGHl099xyF83rDzL49T6HlKxqO yygbQSFQ2Oy8jphRGZFTnGxzkxoceFnXRNgu7wQyF9Pnn9YRs+kYGJabb1+umj49S9YB 6q8RXVmxtBH0DoAt27ZE2KAiWHjyj6YH3i/5WV24Mjb/n89LctRtI5jHN4iCskU6Pgql y1k7QvhPfbMSFnc78cUjy041bmC8dZcEtRUUDrELX16lYLhPAB053FgE1VDy+3NoH19H wUXD2pcnimA1kfplw9brzH1xglw8HFvahafQR1yiWAgTqmvJeK+l+1yfX36Q+ps/sa3m Rx5Q== X-Gm-Message-State: AOJu0Yy6ETH+x7SuDgHFVMipwFssrZErcsngw7WrH0e/PeXEaf2T1bDt pHwZ2mfPpcHsn9GJ+J/ybz6td31WDp5xe1RcNmODjXnI X-Received: by 2002:a05:6122:328d:b0:4b7:185e:b866 with SMTP id cj13-20020a056122328d00b004b7185eb866mr668271vkb.9.1704909933279; Wed, 10 Jan 2024 10:05:33 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231213195947.GA1056194@bhelgaas> In-Reply-To: <20231213195947.GA1056194@bhelgaas> From: Jim Quinlan Date: Wed, 10 Jan 2024 13:05:21 -0500 Message-ID: Subject: Re: [PATCH v8 0/2] PCI: brcmstb: Configure appropriate HW CLKREQ# mode To: Bjorn Helgaas Cc: Florian Fainelli , Cyril Brulebois , Jim Quinlan , linux-pci@vger.kernel.org, Nicolas Saenz Julienne , Bjorn Helgaas , Lorenzo Pieralisi , Phil Elwell , bcm-kernel-feedback-list@broadcom.com, Conor Dooley , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Krzysztof Kozlowski , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , open list , "moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE" , Lorenzo Pieralisi , Rob Herring Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 2:59=E2=80=AFPM Bjorn Helgaas = wrote: > > On Tue, Dec 12, 2023 at 03:51:12PM -0800, Florian Fainelli wrote: > > On 11/26/23 12:19, Cyril Brulebois wrote: > > > Hi Jim, > > > > > > Jim Quinlan (2023-11-13): > > > > V8 -- Un-advertise L1SS capability when in "no-l1ss" mode (Bjorn) > > > > -- Squashed last two commits of v7 (Bjorn) > > > > -- Fix DT binding description text wrapping (Bjorn) > > > > -- Fix incorrect Spec reference (Bjorn) > > > > s/PCIe Spec/PCIe Express Mini CEM 2.1 specification/ > > > > -- Text substitutions (Bjorn) > > > > s/WRT/With respect to/ > > > > s/Tclron/T_CLRon/ > > > > > > > > v7 -- Manivannan Sadhasivam suggested (a) making the property look = like a > > > > network phy-mode and (b) keeping the code simple (not counti= ng clkreq > > > > signal appearances, un-advertising capabilites, etc). This = is > > > > what I have done. The property is now "brcm,clkreq-mode" an= d > > > > the values may be one of "safe", "default", and "no-l1ss". = The > > > > default setting is to employ the most capable power savings = mode. > > > > > > Still: > > > > > > Tested-by: Cyril Brulebois > > > > Thanks Cyril! Bjorn, Lorenzo, any chance this can be applied soon? Than= ks! > > Seems OK to me if Lorenzo or Krzysztof W. are OK with it. > Bjorn, What is the status of this submission? Stock Linux on RPi4 CM4 systems with a PCIe device panic on boot until this commit is applied. Regards, Jim Quinilan Broadcom STB/CM