Re: [PATCH 02/46] cxl/port: Keep port->uport valid for the entire life of a port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Cameron wrote:
> On Thu, 23 Jun 2022 19:45:14 -0700
> Dan Williams <dan.j.williams@xxxxxxxxx> wrote:
> 
> > The upcoming region provisioning implementation has a need to
> > dereference port->uport during the port unregister flow. Specifically,
> > endpoint decoders need to be able to lookup their corresponding memdev
> > via port->uport.
> > 
> > The existing ->dead flag was added for cases where the core was
> > committed to tearing down the port, but needed to drop locks before
> > calling device_unregister(). Reuse that flag to indicate to
> > delete_endpoint() that it has no "release action" work to do as
> > unregister_port() will handle it.
> > 
> > Fixes: 8dd2bc0f8e02 ("cxl/mem: Add the cxl_mem driver")
> 
> From the explanation I'm not seeing why this has a fixes tag?

True, that can be dropped as the crash scenario that found the need for
this was not relevant at that older baseline.



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux