From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (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 B1C5B1B0420 for ; Mon, 17 Mar 2025 18:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742237077; cv=none; b=O22gXGVV5EtndT8OzbXr5zA0mkFj25NXPjljpTcBaWLNlylA/5nPsDjdwR3rpEWpei1cQcFhTXXW0waFxm2Eg2wmP6uYl/Dxm/myD0sB8F/Zvf59AzBve3fuEW+mBPwwhcAGjlFmG7xtLuZAM7yNj4oMgWJIeM0hWeUR4AOSJxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742237077; c=relaxed/simple; bh=9iOXAs2PFt3YwJampbSJRtPXBI4s7pqVxzc8QTfv/EU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DcWymOla93Ko/jJscaLME4TiSBpTeDaczodRnOTkqO8hie0DV3blxBpQgLC8OSm7dGwrYIEUxDu7Lre2HNcF8unga4sD44t37rjc32f7WYVHub1o70I75VD7uvTqM1e+W6UXs85Hp0GnDjozAC6hkKeBH0VW2Jwe0PVbtXOdjs4= 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=m3gWHrZV; arc=none smtp.client-ip=209.85.214.170 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m3gWHrZV" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-224019ad9edso40053345ad.1 for ; Mon, 17 Mar 2025 11:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1742237075; x=1742841875; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=oR3+sjzXfF1kJu70R/WOS6OhxjSB2FVGl0MhcctQyD8=; b=m3gWHrZVN+5WRiJmJyXiBIUVN0+g6de0QDYfaFmZZQiXDeHdr+PH4ee/RNF+UfzqRo rN/jhhO61+/pOt5JyzcrECGkWsoWwGbeuVB3WZeE1pREW3HeSSJI27dZSOM1a4qh0Z6g Xg53snEUJGQ/WaGfm8tZkb8UnXDblgNGg2pzT6mzhZosK2cU/1NOsEjqc/I5fd9qoWKB 3W0hBWu8VVj8WAeid9ff4WuerDCdSbDRfpe3H0uyFQtvHdkToqNKkjhEzCHUK6pF568S hFDlAddtbrKr2YNXzUQl6vnzlWWz+d/FDnZoS506XD3kPuE98JKXbPJRjssg+EJQbSfH EuNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742237075; x=1742841875; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oR3+sjzXfF1kJu70R/WOS6OhxjSB2FVGl0MhcctQyD8=; b=T/NK1dRCs5CextXcTca2WH+RDl8djIB5JOfJt7g3X8A+N63C12Tqw8i8vuF02F+jzE dOyQTmuCwO61fEUwc2DUXVi9VJJdL0FNwN/GwOo9iwUksVKlHe+g6UrDAwxbDUm3lIsf 49O79xbTphyC6t/AS9XrDImCaXN7+hpYNSXrBN40xPe3a421y1SU3Wf8/Sqj3zeP4L4Q sKNl70sYYKY1IaY18NWSbcllgNl1/Qw8DrKVvhSBBHYJYmgZd7lZYkuxbyZhR/i2e0+U x5IabrRWDA2I8YaqiiFgopYHjHo6MwmV6pI3Kw6Opw1QDTewWpVklhgXVdVTK7K9mSO7 iSZw== X-Forwarded-Encrypted: i=1; AJvYcCVGqc6D93tzRht2916FAIfi2bpeSKAQ8benE+EdUg1AUldHI0SK2VTP1BXBbW4gOBuIw7z7N2u+vP7JGJI=@vger.kernel.org X-Gm-Message-State: AOJu0YzFVACpo1zE8pWsWAZ3ZuzdH2qOxJjBHS3zgcIj+wRUNIN9yuPJ 8P3eHnfowfrahkBJKLyYdUeoXGb6Uhp0bfouo5FQnadiu+7mucMrACHDKjjMNA== X-Gm-Gg: ASbGnctOJmnZF8hqxwhrEuBfv0Cx0/X6T5xRFrZzPNSC1dp/VegMQdowWKADgLPP1YE vZVPwIfcPEKw1+pUsz+Zh6nGp4hC3EDC3Dei+gyCkA8s+l0fTJzPgYLcUz85WrqmCqAfdmbAeD3 5Mb7lzfp1QkkP6vmw24lohHX4p42CvNkG/2Vr+tHfLw27qw/r3RQYQPmG41FVTjlS0kAXDyUeck xaBEqTwjee6C1mtsXdC8XcbSaWKxuq+qT7/N1EhZLftZnS/sxMNtsyEjmHU4YrdsVzwQYqCztJi l7TDYCU7Xsk01yAAr2PFHE+aJ1skzW6Th3XZaH6t1WdfBL7Lg6M+Mg7tZY/R9txmOA== X-Google-Smtp-Source: AGHT+IGISBTwHnOEY2bEJPR+BTe1q1qlpEiRYXNfbcGJ9ZaqciEpkdDRztt/9NPlZLzrMm9yu+GByw== X-Received: by 2002:a17:902:e5c7:b0:215:94eb:adb6 with SMTP id d9443c01a7336-2262c5edffemr7634215ad.40.1742237074779; Mon, 17 Mar 2025 11:44:34 -0700 (PDT) Received: from thinkpad ([120.60.130.16]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68884fcsm79360525ad.16.2025.03.17.11.44.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Mar 2025 11:44:34 -0700 (PDT) Date: Tue, 18 Mar 2025 00:14:27 +0530 From: Manivannan Sadhasivam To: Bjorn Helgaas Cc: Frank Li , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , Siddharth Vadapalli , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH RFC NOT TESTED 0/2] PCI: dra7xx: Try to clean up dra7xx_pcie_cpu_addr_fixup() Message-ID: <20250317184427.7wkcr7jwu53r5jog@thinkpad> References: <20250313060521.kjue4la47xd7g4te@thinkpad> <20250317173008.GA933389@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250317173008.GA933389@bhelgaas> On Mon, Mar 17, 2025 at 12:30:08PM -0500, Bjorn Helgaas wrote: > On Thu, Mar 13, 2025 at 11:35:21AM +0530, Manivannan Sadhasivam wrote: > > On Wed, Mar 05, 2025 at 11:20:21AM -0500, Frank Li wrote: > > > This patches basic on > > > https://lore.kernel.org/imx/20250128-pci_fixup_addr-v9-0-3c4bb506f665@nxp.com/ > > > > > > I have not hardware to test. > > > > > > Look for driver owner, who help test this and start move forward to remove > > > cpu_addr_fixup() work. > > > > If you remove cpu_addr_fixup() callback, it will break backwards > > compatibility with old DTs. > > Do you have any pointers to DTs that will be broken? Or to commits > where they were fixed? > Any patch that fixes issues in DT and then makes the required changes in the driver without accounting for the old DTs will break backwards compatibility. > > You should fix the existing DTs and continue carrying the callback > > for a while. > > Any insight into where these existing DTs are used and how long > they're likely to live? > There is no fixed rule in this afaik. Just like we continue to support old hardwares, we need to continue supporting old DTs for some time. The best we can do is provide some warning so that users can update their DTBs. Then we can get rid of the old DT support in the driver after some time. That's why I asked Frank to add the warning previously. - Mani -- மணிவண்ணன் சதாசிவம்