aboutsummaryrefslogtreecommitdiff
path: root/drivers/parisc
diff options
context:
space:
mode:
authorWesley Sheng2019-04-15 22:41:42 +0800
committerBjorn Helgaas2019-04-18 08:31:37 -0500
commit083c1b5e50b701899dc32445efa8b153685260d5 (patch)
tree5d902d7e6903be1dfebd868a51c702b47623c739 /drivers/parisc
parentba8a39820d4614b2b04ac74a48d1f8de677de750 (diff)
switchtec: Fix unintended mask of MRPC event
When running application tool switchtec-user's `firmware update` and `event wait` commands concurrently, sometimes the firmware update speed reduced significantly. It is because when the MRPC event happened after MRPC event occurrence check but before the event mask loop reaches its header register in event ISR, the MRPC event would be masked unintentionally. Since there's no chance to enable it again except for a module reload, all the following MRPC execution completion checks time out. Fix this bug by skipping the mask operation for MRPC event in event ISR, same as what we already do for LINK event. Fixes: 52eabba5bcdb ("switchtec: Add IOCTLs to the Switchtec driver") Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Diffstat (limited to 'drivers/parisc')
0 files changed, 0 insertions, 0 deletions