From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1ECD5F9F1 for ; Wed, 20 Dec 2023 07:06:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e4v8eU6P" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19959C433C8; Wed, 20 Dec 2023 07:06:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703055991; bh=aqzaxpXe6LTTVc8cTSBLr+98OD76iO090+q9kA7M6XE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e4v8eU6PDQi2xNor36bb6aGIQ/oNN/cwtgh2tSRBwAaoBQV0baNvK0ATNYfhRULe+ kgsY+/hvV9FPklWt5Rmrf7FLmLkY6FBUA/CoVS3bdLZWJtjzPM5fhp6lgsGemxL4zd 56UQoBLwAW7BveH4Wwunagk2x6Xtegs4N2iFZ1U56Qxds9eMoKcKi2YJn7FUdi9yUL E3QcBjKa36jOjOl9RYJo4s796CSpzl5dguKP27RxO4oPqXo6meA/NNqKSX8RY3nKaC ylz7OIGIL8ItgDvmCF+eH8mJgQ/PoWHHb7wTmkZBpAosbMfN0MckHJ2JogMk52TAPC HiHXX+qdUWCyg== Message-ID: <62e520d2-4327-461f-95a2-602f0800ebc6@kernel.org> Date: Wed, 20 Dec 2023 16:06:27 +0900 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/4] PCI: designware-ep: Allow pci_epc_set_bar() update inbound map address Content-Language: en-US To: Manivannan Sadhasivam Cc: Niklas Cassel , Frank Li , Vidya Sagar , "helgaas@kernel.org" , "kishon@ti.com" , "lorenzo.pieralisi@arm.com" , "kw@linux.com" , "jingoohan1@gmail.com" , "gustavo.pimentel@synopsys.com" , "lznuaa@gmail.com" , "hongxing.zhu@nxp.com" , "jdmason@kudzu.us" , "dave.jiang@intel.com" , "allenbh@gmail.com" , "linux-ntb@googlegroups.com" , "linux-pci@vger.kernel.org" References: <20220222162355.32369-1-Frank.Li@nxp.com> <20220222162355.32369-2-Frank.Li@nxp.com> <20231219175900.GA24515@thinkpad> <20231220060357.GA3544@thinkpad> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20231220060357.GA3544@thinkpad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/20/23 15:03, Manivannan Sadhasivam wrote: >> We have core_init and link_up notifiers for EPF drivers. Adding link_down and >> core_exit notifiers would make a lot of sense :) A core_reset notifier could >> also be a solution. >> > > Yeah, I'm thinking along those lines. > >> Adding that would also help EPF drivers to handle links going down temporarily >> (which can happen). Right now, an EPF driver can only deal with such event by >> tracking if it gets multiple link_up events. >> > > There is already link_down notifier that I introduced a while back. But it is > only used by MHI_EPF driver. I missed that. I need that notifier :) -- Damien Le Moal Western Digital Research