]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bfa: Fix 1860 port initialize when ATC is enabled
authorVijaya Mohan Guvva <vmohan@brocade.com>
Mon, 13 May 2013 09:33:24 +0000 (02:33 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 26 Jun 2013 18:59:02 +0000 (11:59 -0700)
commit0e7d3353848bbbe6059c5b77f6643b4d1c515c97
tree1f557c057111ae297efdd85f9220a645b2d0f327
parentf10063a8706d6865757186c9e0bf09053d553d4b
[SCSI] bfa: Fix 1860 port initialize when ATC is enabled

On Xen kernels, if ATC (address translation cache) is enabled, the
first PCIe DMA read from the adapter fails with an error. This is due to
a bug ASIC, which leads to a failure of 1860 ports to be initialised.

This patch includes the fix to disable Invalidated Tag Match Enable
capability by setting the bit 26 of CHIP_MISC_PRG to 0, by default it is
set to 1.

Signed-off-by: Anil Gurumurthy <agurumur@brocade.com>
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_ioc_ct.c