[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1554734088-5755-1-git-send-email-wesley.sheng@microchip.com>
Date: Mon, 8 Apr 2019 22:34:46 +0800
From: Wesley Sheng <wesley.sheng@...rochip.com>
To: <kurt.schwemmer@...rosemi.com>, <logang@...tatee.com>,
<bhelgaas@...gle.com>, <linux-pci@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
CC: <wesleyshenggit@...a.com>, <wesley.sheng@...rochip.com>,
<kelvin.cao@...rochip.com>
Subject: [PATCH 0/2] Fix two bugs of switchtec module
Hi, Everyone,
This patch series fix two bugs of switchtec module.
The first is introduced by device spec definition issue: the maximum
supported PCIe function number by hardware should be 255 instead of
the false number of 48. Rectify it in driver and for backward
compatible, a new ioctl and corresponding data structure are created,
while keep the deprecated one.
The second is MRPC event unintentionally masked at corner case.
Fix this bug by skipping the mask operation for MRPC event in event ISR
like what we already do for LINK event.
Regard,
Wesley
Wesley Sheng (2):
switchtec: Fix false maximum supported PCIe function number issue
switchtec: Fix unintended mask of MRPC event
drivers/pci/switch/switchtec.c | 42 +++++++++++++++++++++++++-----------
include/linux/switchtec.h | 2 +-
include/uapi/linux/switchtec_ioctl.h | 13 ++++++++++-
3 files changed, 42 insertions(+), 15 deletions(-)
--
2.7.4
Powered by blists - more mailing lists