On 08/01/2015 04:26 AM, jiang.bi...@zte.com.cn wrote:
> Hannes Reinecke 写于 2015/07/31 21:17:33:
>
>> Hannes Reinecke
>> 2015/07/31 21:17
>>
>> 收件人
>>
>> jiang.bi...@zte.com.cn, linux-scsi@vger.kernel.org, jbottom...@odin.com,
>
>>
>> 抄送
>>
>> 主题
>>
>> Re: [Patch] scsi_error: should not get se
scsi_ioctl: support persistent reserve commands through ioctl for
non-root user.
Scsi persistent reserve commands need to be used for non-root user in
many scenarios.
EPERM error will be returned by sg_io() when PERSISTENT_RESERVE_OUT
or PERSISTENT_RESERVE_IN command is sent through ioctl() for
no
The hostdata array, which is denoted by 'hba' in ufs driver, should
not be accessed after calling scsi_host_put().
Signed-off-by: Akinobu Mita
Cc: Vinayak Holikatti
Cc: "James E.J. Bottomley"
Cc: Christoph Hellwig
Cc: Dolev Raviv
Cc: Sujit Reddy Thumma
Cc: Subhash Jadavani
Cc: Hannes Reinec
Every time the driver is reloaded, the warning message
"Unbalanced pm_runtime_enable!" is triggered due to unbalanced
power.disable_depth. This is because pm_runtime_enable() is called
during driver probe but pm_runtime_disable() is missed on driver remove.
This also restores the device's runtime
This patch set addresses several issues caused by driver reloading in
ufs driver. The first version of this series was sent on March 28.
This version gained three more fixes.
* Changes from v1
- Call pm_runtime_put_noidle() where idle callback shouldn't be called
- Prevent IRQ handler accessing a
On driver removal, pm_runtime_get_sync() is called, but
pm_runtime_put_*() is missed. So once the driver is reloaded, the
device's power.usage_count is unbalanced and the idle callback for the
device will never be called.
Signed-off-by: Akinobu Mita
Cc: Vinayak Holikatti
Cc: "James E.J. Bottoml
As UFS driver registers IRQ handler as a shared IRQ, when
CONFIG_DEBUG_SHIRQ=y, an extra call will be made while unregistering
the IRQ handler. Unfortunately, the extra call will accesses already
freed hostdata. This is because devm_request_irq() is used to register
IRQ handler so that it will be
While accessing a UFS device, the module reference count for core driver
(ufshcd) is incremented but not incremented for the actual glue driver
(ufshcd-pci or ufshcd-pltfrm). Because these drivers allocate scsi hosts
with scsi_host_template defined in ufshcd module. So these drivers always
can be
The ufs driver calls scsi_device_get() in ufshcd_set_dev_pwr_mode()
in order to avoid manual delete of UFS device W-LUN by holding the
reference.
But scsi_device_get() has been changed to fail when the LLD module is
in the process of being unloaded. So it no longer doesn't work if the
module is u
On 07/31/2015 05:12 PM, Bart Van Assche wrote:
> Hello Doug,
>
> Please apply the following three patches at your earliest convenience:
>
> 0001-IB-srp-Constify-a-function-argument.patch
> 0002-IB-srp-Handle-partial-connection-success-correctly.patch
> 0003-IB-srp-Bump-driver-version-and-release-
10 matches
Mail list logo