Re: [PATCH] ata: do not schedule hot plug if it is a sas host

2018-02-27 Thread Jason Yan
On 2018/2/28 2:22, Tejun Heo wrote: diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c >index 11c3137d7b0a..97aeac45b22c 100644 >--- a/drivers/ata/libata-eh.c >+++ b/drivers/ata/libata-eh.c >@@ -1384,7 +1384,9 @@ void ata_eh_detach_dev(struct ata_device *dev) > >if (ata_scsi_off

Re: [PATCH] ata: do not schedule hot plug if it is a sas host

2018-02-27 Thread Tejun Heo
On Tue, Feb 27, 2018 at 03:08:01PM +0800, Jason Yan wrote: > We've got a kernel panic when using sata disk with sas controller: > > [115946.152283] Unable to handle kernel NULL pointer dereference at virtual > address 07d8 > [115946.223963] CPU: 0 PID: 22175 Comm: kworker/0:1 Tainted: G

[PATCH] ata: do not schedule hot plug if it is a sas host

2018-02-26 Thread Jason Yan
We've got a kernel panic when using sata disk with sas controller: [115946.152283] Unable to handle kernel NULL pointer dereference at virtual address 07d8 [115946.223963] CPU: 0 PID: 22175 Comm: kworker/0:1 Tainted: GW OEL 4.14.0 #1 [115946.232925] Workqueue: events ata_scsi_hotpl