Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1550348
| From | zhangfei <zhangfei.gao@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/3] scsi: hisi_sas: lock sensitive regions when servicing CQ interrupt |
| Date | 2017-01-04 02:30 +0100 |
| Message-ID | <sVIyS-668-5@gated-at.bofh.it> (permalink) |
| References | <sVvUZ-5CH-3@gated-at.bofh.it> <sVvUZ-5CH-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2017年01月03日 20:24, John Garry wrote: > There is a bug in the current driver in that certain hisi_hba > and port structure elements which we access when servicing > the CQ interrupt do not use thread-safe accesses; these include > hisi_sas_port linked-list of active slots (hisi_sas_port.entry), > bitmap of currently allocated IPTT (in hisi_hba.slot_index_tags), > and completion queue read pointer. > > As a solution, lock these elements with the hisi_hba.lock. > > Signed-off-by: John Garry <john.garry@huawei.com> > Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com> Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/3] scsi: hisi_sas: lock sensitive regions when servicing CQ interrupt John Garry <john.garry@huawei.com> - 2017-01-03 13:00 +0100 Re: [PATCH 2/3] scsi: hisi_sas: lock sensitive regions when servicing CQ interrupt zhangfei <zhangfei.gao@linaro.org> - 2017-01-04 02:30 +0100
csiph-web