]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: qcom: Remove the MSI descriptor abuse
authorThomas Gleixner <tglx@linutronix.de>
Wed, 19 Mar 2025 10:57:00 +0000 (11:57 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 9 Apr 2025 18:47:30 +0000 (20:47 +0200)
commite46a28cea29a0ca7d51c811acccf5d119b40c745
tree81841a32d255b01bbf13afe4fc9a5fd141e76ea2
parent71296eae5887de830a84e9b350bd360c560e74f9
scsi: ufs: qcom: Remove the MSI descriptor abuse

The driver abuses the MSI descriptors for internal purposes. Aside of core
code and MSI providers nothing has to care about their existence. They have
been encapsulated with a lot of effort because this kind of abuse caused
all sorts of issues including a maintainability nightmare.

Rewrite the code so it uses dedicated storage to hand the required
information to the interrupt handler and use a custom cleanup function to
simplify the error path.

No functional change intended.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Link: https://lore.kernel.org/all/20250319105506.805529593@linutronix.de
drivers/ufs/host/ufs-qcom.c