Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp275522rdb; Wed, 17 Jan 2024 01:13:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IElyV8oIRyIt2Cx7QcJsrN5vNHEnbPgYS/mzEuDdp3UYOpg90ipgCaQBOoZOydafNMHBZVE X-Received: by 2002:ae9:ea01:0:b0:783:54bb:a66a with SMTP id f1-20020ae9ea01000000b0078354bba66amr5846305qkg.23.1705482816892; Wed, 17 Jan 2024 01:13:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705482816; cv=pass; d=google.com; s=arc-20160816; b=kxpeL6XNDmNfT/SO+CSVVv3z+4yZ/UtnjaV7pNURl3sQQe5lTZgugZRCvjJFAv7koc H4VKypKGYp0E+8X1QZnStfuZX2940ZW9qjuK9/8SePwqCAojzHkBzgrHR7BzOw2akLbq w7e4Jige8ttuYBGPyfOW2Sr39nlQJjjp6sg+nsfOZxipSk9j1d8vkKXoSpEihBRPa+Mg te+J8fY/ISWyOo0OIuHtoFxEdatckYg2kZVAlOxxgM+fNKzxBELjhz8JP6AugpvDawFe 0vcQ6ea3KBvgtgF9rj9UlcDVIkN2ZLOactXl1BuIk3qH0x3XijmtjvMaxXItPex6inpR QiDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Wwyu1C0cyc8uW+GR2bf6x9B8R8CXK0267QnxkJZctz8=; fh=TMM30aKy8jgnl3YoqEdS44HjNDNbtNN43lvra0sdvo4=; b=oYpt+axcYK3R41v5ArfirPbm4+ew7P95T0D7kzAeqtUSQr40ZkGf06jrQeDYcB0DF4 EP4T1+bKybKVixP8h8hNP2KPJArnu3o/qK4yxR0v0dddjkvfZyK1PfqooPNY89r/+zr9 iZIm6W4kFeNgHHoX6ldUayg2gQnz6kkcTVtflM0FAT7yDFrPUAhRnEWtr3W06XeApoyp B8XNsJ0H7oCejVFK4HO6mSWe/dENdDh0cCepxLIbr1XQ11pCHQx8n3cYfWHftTCJ42Zz n8WnMHw0LA8wHU2G8dhzRL7G897c3g29RCzPCjNN+tt9DnKRfGKa/XYrEosGCp944/yr aaaA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pyisi1NY; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-28695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c16-20020a37e110000000b007830f79571fsi11028110qkm.436.2024.01.17.01.13.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 01:13:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-28695-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=@linaro.org header.s=google header.b=Pyisi1NY; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-28695-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-28695-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 6D2BD1C21A6B for ; Wed, 17 Jan 2024 09:13:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2596B13AE0; Wed, 17 Jan 2024 09:13:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Pyisi1NY" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 B250713FE4 for ; Wed, 17 Jan 2024 09:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705482805; cv=none; b=bwzQI8JXSAuW0MXyKVnhc3Z6Os+/G6ecAq1VYUuJEEMQnqLHTYAZDAOLv3WQB7iq30YcrQqEKn8b9PhcVVBNHX9Cxk5yafE7UZ8hm3OfnNwUWsb7tvZYYAnLy40kNE6tMX+Bb2w3/F+A/AFOWF6uQ3pn/SIhFpqy37yynF0ay8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705482805; c=relaxed/simple; bh=3QKG4X44VzuBpp0/MyF+g9YvHja0bvB6aou5vhWSoZU=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language: To:Cc:References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=OpCa+ipoRNcQPXJ8LaXSWnxZ/QyJAyn0cQaE+SltT8rlMRKlFHZcj3S+3tsgvQnlN7umx294Afb23FWxwOk3C14O85j31+9WaLktDOOizNV1/JKQEaEOebB5fTSQchP6KlwunTgwmxqvVZoXNV1JCxUgjpsrFebtACMZjXXS92I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Pyisi1NY; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2cdeb954640so6655771fa.3 for ; Wed, 17 Jan 2024 01:13:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705482802; x=1706087602; darn=vger.kernel.org; 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=Wwyu1C0cyc8uW+GR2bf6x9B8R8CXK0267QnxkJZctz8=; b=Pyisi1NYdbkco5BcsHIAcOFK7bNF8wYCKZ8MHxMWLaoht6FxWRgdZUXYZT3S8Gk6q/ Tk4ZAkousniJL19Zi5VtuU4kCrUHj6ohgCYOzKTYo21TPc8hyejiHjDrZQWtCTIaAYB4 MbofLk7JttO1LEEmSrD8+qQLYP2GhLy+ks30Z6td3o2GWOri6WLW8ppBPdXUSa38mKvQ P6DQZoLE+yyuVfeMvib97kaxlANKbGOETRQDG6z/MDwAaRxF2TX9nnSIGov5J7wdicxd GkkMv3tfvYnedEzC/hdn/+BR+4CuxJa5WEOPjB9fGD/dzfFza+ywyShJHFcVJZxd5d9v lOzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705482802; x=1706087602; 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=Wwyu1C0cyc8uW+GR2bf6x9B8R8CXK0267QnxkJZctz8=; b=wlX5wIyM82wTi18s9+pohe9e/n4RJnUnxgNqBSEWZWXKZtwRptqjMzXsaey8hhw62U 8Zk/6mTY4Quxr857hY4qDuOBOc5OwQ5qVUqMeb7uB+HOskgi6yoIrdNa3ez5nkBwm5Ac dSTT0CSIqmNvgilysknH5k9p2oXvuX+5k1La+ZKmd/DoIZpUgHs+WHyhd8x0E+7YPMud kHcZCh8el7z3QLlxmtKYBlNsBAqNcCHBgD/+dIzRMe5UVtwo/XchpLg9Cv6whOBJrE+l x4Gtb9fk2csjLM+sYjE8dD/c2GCAv5onygmoH+2cI4HNbcMhTmYvORUWzmfKT0iNXIYw ZVZA== X-Gm-Message-State: AOJu0YxUkOqnzgbxB58r9+0rAVg1eCFCAwqXkOHDbYrRtro8x3etNC/k D231YMklLKNf7z93aoHrbtbm32saBeWewg== X-Received: by 2002:a2e:8481:0:b0:2cd:7ac4:f9b5 with SMTP id b1-20020a2e8481000000b002cd7ac4f9b5mr4043594ljh.14.1705482801427; Wed, 17 Jan 2024 01:13:21 -0800 (PST) Received: from [172.30.204.250] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id l6-20020a2ea306000000b002cc8772c87bsm1888797lje.76.2024.01.17.01.13.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jan 2024 01:13:20 -0800 (PST) Message-ID: Date: Wed, 17 Jan 2024 10:13:15 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/6] PCI: qcom: Add missing icc bandwidth vote for cpu to PCIe path Content-Language: en-US To: Johan Hovold Cc: Bryan O'Donoghue , Krishna chaitanya chundru , Bjorn Andersson , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Rob Herring , Johan Hovold , Brian Masney , Georgi Djakov , linux-arm-msm@vger.kernel.org, vireshk@kernel.org, quic_vbadigan@quicinc.com, quic_skananth@quicinc.com, quic_nitegupt@quicinc.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20240112-opp_support-v6-0-77bbf7d0cc37@quicinc.com> <20240112-opp_support-v6-3-77bbf7d0cc37@quicinc.com> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 1/16/24 11:52, Johan Hovold wrote: > On Fri, Jan 12, 2024 at 11:33:15PM +0100, Konrad Dybcio wrote: >> On 12.01.2024 16:17, Bryan O'Donoghue wrote: >>> On 12/01/2024 14:22, Krishna chaitanya chundru wrote: >>>> CPU-PCIe path consits for registers PCIe BAR space, config space. >>>> As there is less access on this path compared to pcie to mem path >>>> add minimum vote i.e GEN1x1 bandwidth always. >>>> >>>> In suspend remove the cpu vote after register space access is done. >>>> >>>> Fixes: c4860af88d0c ("PCI: qcom: Add basic interconnect support") >>> >>> If this patch is a Fixes then don't you need the accompanying dts change as a parallel Fixes too ? >>> >>> i.e. without the dts update - you won't have the nodes in the dts to consume => applying this code to the stable kernel absent the dts will result in no functional change and therefore no bugfix. >> >> The Fixes tag denotes a bug fix, its use for backport autosel is just >> a nice "coincidence". >> >> Fixing a lack of a required icc path and having to rely on BL leftovers >> / keepalive bus settings is definitely worth this tag in my eyes. > > An incomplete implementation can sometimes be considered a bug, but not > always. If this is needed to enable a new use case, then it's hard to > argue that the original omission was a bug. > > And as I just mentioned to Krishna, the above Fixes tag is not correct > as that commit did not *introduce* any issue. It solved the bit that was > strictly needed for sc8280xp, but now it seems you may need something > more for an even newer platform (even if no details and motivation was > included in the commit message as it should have been). The PCIe hardware seems to be piggybacking off of others' bus bandwidth requests and I think it's just been pure luck that it didn't simply refuse to work on previous generations. So indeed, the commit message seems incomplete in explaining where the problem lies Konrad