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 E30E544C63 for ; Mon, 1 Dec 2025 13:33:24 +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=1764596006; cv=none; b=pOT5s/TksNq5Ct7KhDmSTTrQOgbGOZpFqE7eaVSU12bqt71qrrJqakB8xt3+QT+eD/a62MB8MxIYFvaB5p0pPEa7FJd4ttef2QPgoMVq19yHqpEyQuO0qWRv97W5LsY9Ydurp/1dIU7Dv6ggsc9BB2qrQXXhpqJdUWS1+ivyf7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764596006; c=relaxed/simple; bh=Qzg/Qa4X0fghhHDxtpfN3T32cZ/jefJmrSSpJzHtNqM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HP24p5FrsTk/I8ez6poWTBKmOWczBd1jydMvazfpyQVTWLh002H4fAWIdn94hBIVzVD3w5HrPeylCEytseQPLL8dmcG7E+zJvdcdt785MrgcW7A+DLWq1p/HnR6NVflzPtrm2WwQgNypgNFwFUcL4Ge/vk1YStp9eR5WzrvDqjo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=pDG6imcK; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="pDG6imcK" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-7b6dd81e2d4so3911205b3a.0 for ; Mon, 01 Dec 2025 05:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1764596004; x=1765200804; 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=6/zDtzLQ3mrDGsn5l6i06J8GNek6GlWuIZEcOWe0BHY=; b=pDG6imcK4GqOOmXjVUDPQy0NE/YFO2IfS2EsZ/Hlm/OFId2TMHSGZizybkCoDh0RSy T6X+63+lT5YJJ+EgT1iSfGLDL0lbYqoVzG9uTwfqvtLq3EQIeDa5w1e+ROHMt8HbVACI pKxPnQ4LK0xspm8Mw7O5UzA9jmOOQs5PBuLXgqPa1zM04O2oSOCu43PN5eHbXdpPCiU6 /M3jbqJFU0Q2jCHM94If43uPS1IFRNryN5Iggidj3GPozbVj0tAyF9mbnajN71//hM2r F5jnFxBUw7RBNi6J3dD9Lmk5jhBZ9F2mCxliFlIPJvrZgQ3yF2YtrcyveQrosRbKHqIj /cBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764596004; x=1765200804; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6/zDtzLQ3mrDGsn5l6i06J8GNek6GlWuIZEcOWe0BHY=; b=fK6UfdBu+cFlVQc8wGGuF97fMKDIt6rEJ7LKRkD6o+/EB7SCig9Z3ytGWYaEwTGC+W N8vbEbrN+BscQkxOcT6s/CwdfpMaGuRLWjO96kAip6AJhJgGt0aRx3YbStw1UCbzhWig pMA69S9jKZA0JvVsTn0/6Wmyo3V9OFKgIAwazYF1YiKForHlTTPd25leQgEdRRRKWgVw AC+TqtNFJHoLaREVnaCZL1fHapL68FP7ZL8oeSSYHamDytjsZ8PWNUgnZV+qjcxEzt+z VIhfoPDzdXdlYY9XK933vMqY2HAtiLwOFCAm01TGVSNXnHT9c9efbMXuUiPeVemg/mw7 AelA== X-Forwarded-Encrypted: i=1; AJvYcCWrhnPbJznoJRbKWJiu5v8wKjRMuPqmVnfzGyfGvV4e3g0PJs36WLjNYIGMM2buJy4md7duOpId+qxtyyg=@vger.kernel.org X-Gm-Message-State: AOJu0YyCgnnmm0pVYsT021mVf6aE+GNA9Ixdx0ptEXxIshSp/1X9F+Zw 9ljr91HtacvVCywPAiq3KAXpSI/zXa0icy9j6RpL/N03866J8O8z/BOjgbz0bJuCNUs= X-Gm-Gg: ASbGncuj3082W7Ry3UTheSsPUujBbnBtlnlbWcZ7M3nxXNSLNPYga/4PiFbLJtpGP/B 819U/Y3LhnCFbCZPyghkedIxoNn9WRL5rW1CvUq1Y3saMP/NGfQm2P0hIJBu91hlwF0GVpV8GYS 98B2FOYO9QCZKB8xa06+U+nxOSZsAu6JRwA/Em0N21s5Occw9zq6PuFAwdS5T5XFVplWuK6Yot4 65Ib2Nc+1iXl4wtXz981xY8zTssQRhUgTaMwMu+weeTsfEFAcSL/XC9dT4TgxLYR+14O6cvYOsb AxmfTWtLw1fn9sV2zKbut5FlDgbNa7GqNcD1+VBep5KDACf3U+XH8v4vjoUrqx5aEEmG9oYz1n8 TYZZBcTQ1B6oxfThOHeoNHvhchNTdArlzgDhCug2EONFDSsWQmzvKnI+0Cd4A2Ofk1ChyLjP6zd jXz6uL9DkVaodsAwpHWVWgNrbvZDiy X-Google-Smtp-Source: AGHT+IHKFtSw/hePVAblgBz7XowJWwPF88SK94EexlhYEAxjFsftk5tagEj2K8x0BHP2JoIqJWGmSA== X-Received: by 2002:a05:7022:41:b0:11b:b1ce:277a with SMTP id a92af1059eb24-11c9d8482b1mr22957607c88.28.1764596003940; Mon, 01 Dec 2025 05:33:23 -0800 (PST) Received: from sunil-laptop ([103.97.166.196]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11dcb057cb0sm72909407c88.9.2025.12.01.05.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Dec 2025 05:33:23 -0800 (PST) Date: Mon, 1 Dec 2025 19:03:09 +0530 From: Sunil V L To: huyuye Cc: ajones@ventanamicro.com, anup@brainfault.org, aou@eecs.berkeley.edu, atishp@rivosinc.com, bhelgaas@google.com, catalin.marinas@arm.com, conor.dooley@microchip.com, dfustini@tenstorrent.com, haibo1.xu@intel.com, lenb@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, rafael@kernel.org, robert.moore@intel.com, samuel.holland@sifive.com, tglx@linutronix.de, will@kernel.org, dai.hualiang@zte.com.cn, deng.weixian@zte.com.cn, guo.chang2@zte.com.cn, liu.qingtao2@zte.com.cn, wu.jiabao@zte.com.cn, lin.yongchun@zte.com.cn, hu.yuye@zte.com.cn, zhang.longxiang@zte.com.cn Subject: Re: [PATCH v7 08/17] ACPI: pci_link: Clear the dependencies after probe Message-ID: References: <20240729142241.733357-9-sunilvl@ventanamicro.com> <20251201130757.7032-1-huyuye812@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: <20251201130757.7032-1-huyuye812@163.com> On Mon, Dec 01, 2025 at 09:07:55PM +0800, huyuye wrote: > Hi, sunilvl > > Based on the above patch, I understand that you previously resolved dependencies between Link devices and PCI Host Bridges by calling acpi_dev_clear_dependencies(device). I would like to ask: on RISC‑V platforms, if we need to manage dependencies between multiple PCI Host Bridges, could this be addressed by adding a call to acpi_dev_clear_dependencies(device) at the end of the acpi_pci_root_add enumeration function? > > Initialization order dependencies can be defined via the ACPI _DEP method in the DSDT. For example, if host bridge B depends on host bridge A, bridge B should not be enumerated until bridge A is fully initialized. > Yes, that should work. Regards, Sunil