From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 A13C42153C9 for ; Fri, 20 Dec 2024 12:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734697952; cv=none; b=rj0kGO1VDbAQJIOddKroHy6Bns9wGZfIPzoFWo6BnlKMlc6iAPykkByxtYpCjaFWYIWD+8UvCpTWtq1OI17sDk8AjrYQAvxeIK3fnKuVuFLoa1bdzFLxR0uAXYjO1qBzT708FYHk/8DUKX1nqmBNB9xmOrHax0c6F+TTWCTdQjQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734697952; c=relaxed/simple; bh=vk07zozYwtpe1+cPc2KclignhFvzpMNco127jRDNi0s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bva03VZsjJQbxSjfJScLvAxIX/AXNPOSceF879BTNB08HTISzQtz9YvkODsQkHdXOXi4OugWgXKoOYhzPhekloU5oJL72Ij88jW18EjLuc9uz4CWD12OfaHQPW4+H17Nr79J4bSCMB/ExtUfGgSl52IlpU6JK0/0zZzC4NBq4is= 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=ncsKx/7y; arc=none smtp.client-ip=209.85.210.179 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="ncsKx/7y" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-725ecc42d43so1535978b3a.3 for ; Fri, 20 Dec 2024 04:32:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734697950; x=1735302750; 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=AZQLvxQfbQ2yfFsFhMBSf4jBM/n8hKFCqlH/yM+9TIA=; b=ncsKx/7ymKXevAcY0rGy/CfuvzxFy2X+gq9TgrpRd7SNNO2OGEyrNeiLcwOoo+je+n bDEbP4fzEtW4aTItPh5QrPsi9J+OAZ+KCrBiPlj6sJtjEifhBHEalko0vEFPE2go0VVj opxIDTSfO9Gk6rCE7oBnFIxddDin3x+V56mQhYQFI7758cYIvzp0inDYU1oFCrsGjWuM 7m2mQYzHqCwpQqaaWYwQwCwbn93ezjftqPUODpHmxVvbowzgPKaGWY38aUhIof4cqQ2A iKXayZFvtThcb/QYVIoNekUYuePwXGZeV/zWzRAimJv1Cagzb4kWUQkZoSGvXymTE8ym n+Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734697950; x=1735302750; 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=AZQLvxQfbQ2yfFsFhMBSf4jBM/n8hKFCqlH/yM+9TIA=; b=LcMQGDgRWuHG9rBp70Q0vxa9+trW7TtY5KrQABxTWt+ArC4yfEvKO/tpcfEWDkQNzn t2ypXWIzLzDgxqhgQQBZ8Lw52OEhdv/Y0eu/F2hg4imntEFu1adITQ01+OxpHQPmS5i4 H6TwbClt1AvbSpiBO+BK70wxki4jQRmu5r7EZDPyDoFvACCxRaf+RWBtiM6pY8rPniL0 BjNBFxFq8OJxkyMxpeop1iWUBPKUF025T1pJz7ONIA7LrDnN/8d5U6ifX1SBwigyP3pp YQI/Kb0hk6MI2o795VaDMakpEuw0uj2BqrhwSPeFKjMb/0cRW0IelwgbBK6/ob4cBP0S 0+5w== X-Forwarded-Encrypted: i=1; AJvYcCUIctpVCddY6SkxkMQvp/oaGJR6HePJgL7Edl4nfHEWjD2Rqn+tTLD+Fw8/3mZODFqt/DSQO3UTdYSI8q8=@vger.kernel.org X-Gm-Message-State: AOJu0YwwCFO5QW0x4uMeRqatynKPLE78McotxqviGtMQaMF8VUlSlAI9 rbNwgl6/gE0GRgXKyqrtGn5wXTvqKyTkZQOpxYBf1EAbUh7reI3StT5z/RfGm2aPUAW9Z99iikE = X-Gm-Gg: ASbGncs54Qt4xjhHOpzNxFN4CRXGO8EXF0wFEMeNkbp9UHCVifW9P0w7Y+177W+ynAO cEK7uucXjg3GkK42im+NeV0Mv7lSQEsFfRkLD4QDNWzYTVEaHdW/KPoS+lYY8ukJJVd/MTVouIb UOIIeUpn1YEeIpynQ3yM2C70RRaDg8s4SE2D21FUiJaQDBGQeHyShXfVAGh2p5cHf5QO9mL89wr 4eGMK/46SLIolTjblz98qcNLsCIZ3dvqHJZl2UelTCH7qXhEnqRBfYq6aUr+ES4MfbKLQ== X-Google-Smtp-Source: AGHT+IEW0uspGj9Ws2R06d8k4ZCODLKGf1OyTjKYW1LTMgGOGZCWO4oWUqfBgHV7yU8/7KeFiFsbKw== X-Received: by 2002:a05:6a20:244a:b0:1db:ff76:99d7 with SMTP id adf61e73a8af0-1e5e07ef1afmr6053387637.35.1734697950010; Fri, 20 Dec 2024 04:32:30 -0800 (PST) Received: from thinkpad ([117.213.102.140]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad81641esm2970472b3a.3.2024.12.20.04.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2024 04:32:29 -0800 (PST) Date: Fri, 20 Dec 2024 18:02:16 +0530 From: Manivannan Sadhasivam To: Hans Zhang <18255117159@163.com> Cc: Siddharth Vadapalli , lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, thomas.richard@bootlin.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, rockswang7@gmail.com Subject: Re: [PATCH] PCI: cadence: Fixed cdns_pcie_host_link_setup return value. Message-ID: <20241220123216.za6kzma4q2kyfhln@thinkpad> References: <999ad91d-9b61-b939-a043-4ab3f07c72a1@163.com> <20241219094906.wzn7ripjxrvbmwbh@thinkpad> <20241219112051.pjr3a4evtftlpxau@thinkpad> <3bbb298a-6f84-6be7-69c6-eaeaa088cc0e@163.com> <20241219133545.jiyqdzbkpwfu2rcv@thinkpad> <44c74561-a4db-4550-a07e-67f51556dd03@163.com> 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: <44c74561-a4db-4550-a07e-67f51556dd03@163.com> On Fri, Dec 20, 2024 at 03:27:22PM +0800, Hans Zhang wrote: > > > On 12/19/24 08:35, Manivannan Sadhasivam wrote: > > > > We have 5 PCIe controllers, and if a few of them are not connected to the > > > device. And it will affect the boot time. > > > > > > > Why are you enabling all controllers? Can't you just enable the ones you know > > the endpoints are going to be connected? I'm just trying to see if we can avoid > > having a quirk. > > Our SOC has a PC product situation, and there may be PCIe slots on the PCB, > but the device may not be plugged in. So we need to enable all ports. > Since you are trying to fail probe for the unused slots, your hardware is not supporting hotplug as well I hope. > > If you do not know, then you need to introduce a quirk for your platform. > > But that requires your controller driver to be upstreamed. We cannot provide > > hooks for downstream drivers in upstream. > > Our controller driver currently has no plans for upstream and needs to wait > for notification from the boss. > Then the quirk patch has to wait until your driver is submitted upstream. - Mani -- மணிவண்ணன் சதாசிவம்