summaryrefslogtreecommitdiffstats
path: root/drivers/of/irq.c
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2015-10-21 15:11:26 -0500
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 17:01:07 +0900
commit2843fdbddd188edb4d7e60f72f513ad8b82d1a54 (patch)
treeb6fec4c84c8ed9a99897fa7bfc6397ff7ba48f2d /drivers/of/irq.c
parent22fe1ae80fd14cb64be61d004b5e6c324bb6e984 (diff)
downloadlinux-stable-2843fdbddd188edb4d7e60f72f513ad8b82d1a54.tar.gz
linux-stable-2843fdbddd188edb4d7e60f72f513ad8b82d1a54.tar.bz2
linux-stable-2843fdbddd188edb4d7e60f72f513ad8b82d1a54.zip
cxlflash: Fix data corruption when vLUN used over multiple cards
If the same virtual LUN is accessed over multiple cards, only accesses made over the first card will be valid. Accesses made over the second card will go to the wrong LUN causing data corruption. This is because the global LUN's mode word was being used to determine whether the LUN table for that card needs to be programmed. The mode word would be setup by the first card, causing the LUN table for the second card to not be programmed. By unconditionally initializing the LUN table (not depending on the mode word), the problem is avoided. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/of/irq.c')
0 files changed, 0 insertions, 0 deletions