]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: cxlflash: Use IDR to manage adapter contexts
authorUma Krishnan <ukrishn@linux.vnet.ibm.com>
Thu, 26 Oct 2017 19:35:21 +0000 (14:35 -0500)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 27 Mar 2018 19:10:07 +0000 (14:10 -0500)
commitdb1f1d0a3028e5cd11b1e56c64f6e07972451be1
tree01de95ad1bb2ef3a466554f86bd41cd2b0db02b5
parent79a0b6648ec91c6c67b29b396143e885e895a437
UBUNTU: SAUCE: cxlflash: Use IDR to manage adapter contexts

BugLink: http://bugs.launchpad.net/bugs/1752672
A range of PASIDs are used as identifiers for the adapter contexts. These
contexts may be destroyed and created randomly. Use an IDR to keep track
of contexts that are in use and assign a unique identifier to new ones.

Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com>
Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/scsi/cxlflash/ocxl_hw.c
drivers/scsi/cxlflash/ocxl_hw.h