summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-08-09 10:31:08 +0800
committerDavid S. Miller <davem@davemloft.net>2019-08-09 13:44:32 -0700
commit130509213baeb3cada40c19dd87341a6787f8b23 (patch)
tree4b34146753ca683b301f8c4afb594d6fae29a408 /fs/fuse
parent9e6717af61dfe6de304562602364a19d70c886d4 (diff)
net: hns3: fix interrupt clearing error for VF
Currently, VF driver has two kinds of interrupts, reset & CMDQ RX. For revision 0x21, according to the UM, each interrupt should be cleared by write 0 to the corresponding bit, but the implementation writes 0 to the whole register in fact, it will clear other interrupt at the same time, then the VF will loss the interrupt. But for revision 0x20, this interrupt clear register is a read & write register, for compatible, we just keep the old implementation for 0x20. This patch fixes it, also, adds a new register for reading the interrupt status according to hardware user manual. Fixes: e2cb1dec9779 ("net: hns3: Add HNS3 VF HCL(Hardware Compatibility Layer) Support") Fixes: b90fcc5bd904 ("net: hns3: add reset handling for VF when doing Core/Global/IMP reset") Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions