Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965617AbbEEFqL (ORCPT ); Tue, 5 May 2015 01:46:11 -0400 Received: from mga02.intel.com ([134.134.136.20]:18467 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965375AbbEEFqD (ORCPT ); Tue, 5 May 2015 01:46:03 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,370,1427785200"; d="scan'208";a="566353589" Date: Tue, 5 May 2015 13:47:00 +0800 From: Aaron Lu To: Marian Marinov Cc: "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: Patch breaks suspend Message-ID: <20150505054700.GB5505@aaronlu.sh.intel.com> References: <55453334.9030002@yuhu.biz> <2970725.6ieOiJg9HH@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2970725.6ieOiJg9HH@vostro.rjw.lan> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2032 Lines: 49 On Tue, May 05, 2015 at 01:37:33AM +0200, Rafael J. Wysocki wrote: > On Saturday, May 02, 2015 11:27:32 PM Marian Marinov wrote: > > Hi guys, > > I have Lenovo T520 with one SSD and one SATA drive. > > > > I tried to upgrade to Linux 4.0 and found that after suspend and resume I can't access the second (SATA) drive. Is it disappeared after resume? > > Both drives have bios encryption enabled. > > > > I did a bisect and found that the following patch causes the issue: > > commit 5d5132059a1f652de9dc2d62a8ff15561e648d11 > > Author: Rafael J. Wysocki > > Date: Sat Feb 22 00:48:31 2014 +0100 > > > > ACPI / ATA: Add hotplug contexts to ACPI companions of SATA devices > > > > Modify the SATA subsystem to add hotplug contexts to ACPI companions > > of SATA devices and ports instead of registering special ACPI dock > > operations using register_hotplug_dock_device(). > > > > That change will allow the entire code handling those special ACPI > > dock operations to be dropped in the next commit. > > > > Signed-off-by: Rafael J. Wysocki > > Reviewed-by: Aaron Lu > > Acked-by: Tejun Heo > > > > Unfortunately I do not understand this part of the code and have no idea what I can do. > > Any pointers would be very appreciated. > > Well, not right from the top of my head, but this looks really suspicious to me. > > Can you please file a bug entry for this at bugzilla.kernel.org (in the ACPI/BIOS > category), assign it to me and CC Aaron? Please attach dmesg, lspci and acpidump there when filing the bug, thanks. BTW, this commit has been in upstream since v3.15, is your last kernel in use older than v3.15? Thanks, Aaron -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/