Thanks Joseph. In the meantime, I finished the bisect. It tells me the following commit is to blame:
87bd13c6f9776e18ab9a5192325c54621db8a2af is the first bad commit commit 87bd13c6f9776e18ab9a5192325c54621db8a2af Author: Jarkko Sakkinen <[email protected]> Date: Mon Jun 27 07:10:51 2016 -0600 tpm_crb: fix mapping of the buffers BugLink: http://bugs.launchpad.net/bugs/1596469 On my Lenovo x250 the following situation occurs: [18697.813871] tpm_crb MSFT0101:00: can't request region for resource [mem 0xacdff080-0xacdfffff] The mapping of the control area overlaps the mapping of the command buffer. The control area is mapped over page, which is not right. It should mapped over sizeof(struct crb_control_area). Fixing this issue unmasks another issue. Command and response buffers can overlap and they do interleave on this machine. According to the PTP specification the overlapping means that they are mapped to the same buffer. The commit has been also on a Haswell NUC where things worked before applying this fix so that the both code paths for response buffer initialization are tested. Cc: [email protected] Fixes: 1bd047be37d9 ("tpm_crb: Use devm_ioremap_resource") Signed-off-by: Jarkko Sakkinen <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> (cherry picked from linux-next commit 0af6e0a2da2e4fedaa2743333da438d3b879192b) Signed-off-by: Tim Gardner <[email protected]> Acked-by: Stefan Bader <[email protected]> Acked-by: Brad Figg <[email protected]> Signed-off-by: Kamal Mostafa <[email protected]> :040000 040000 84dfc36e75e151c51541109acdf6dc2a7a620398 a236ec06194abc467c852316b1b50f3b3a9ae7f0 M drivers That also leads me to try a workaround. When I blacklist the tpm_crb module, I can suspend to my hearts delight. Or at least, more than two times in a row ;) ** Tags added: bisect-done tpm workaround -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1620089 Title: REGRESSION: Laptop hangs during second time it suspends Status in linux package in Ubuntu: Confirmed Bug description: On Kubuntu 15.10 I had a problem with the suspend functionality on my laptop. The second time it suspends it would hang, and a hard reset was necessary to resolve the problem. After the update to 16.04, the problem was resolved (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1552216) I updated my laptop using the xenial-updates repository. After the upgrade to linux 4.4.0-31, the suspend issue returned. I have also tried later updates (4.4.0-34 and 4.4.0-36), but the issue is also present in those versions. I therefore still use 4.4.0-28. I tried bisecting, but after a few iterations it messed up my boot partition, and after repairing that, I no longer took the time to finish the bisection. (see https://launchpad.net/ubuntu/+source/linux/4.4.0-31.50 for changelog) I have a short bit (but not complete work) of the git bisect log: $ git bisect log # bad: [2a1e175b928aefed1fd3c90c98e845f764fa8684] UBUNTU: Ubuntu-4.4.0-31.50 # good: [a6409cad137621e2b43d9f49c757fbc996539e85] UBUNTU: Ubuntu-4.4.0-28.47 git bisect start 'Ubuntu-4.4.0-31.50' 'Ubuntu-4.4.0-28.47' # bad: [44d66d94ed3e6e2434b06af7180a441cbf2b9f83] UBUNTU: Ubuntu-4.4.0-29.48 git bisect bad 44d66d94ed3e6e2434b06af7180a441cbf2b9f83 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-28-generic 4.4.0-28.47 ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13 Uname: Linux 4.4.0-28-generic x86_64 NonfreeKernelModules: zfs zunicode zcommon znvpair zavl ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: jan 9230 F.... pulseaudio Date: Sun Sep 4 19:42:54 2016 HibernationDevice: RESUME=UUID=321acbbf-9a6a-4825-8f47-a89d56536272 InstallationDate: Installed on 2016-02-03 (214 days ago) InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 8087:0a2a Intel Corp. Bus 001 Device 003: ID 0bda:57eb Realtek Semiconductor Corp. Bus 001 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: HP HP Pavilion Notebook ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic.efi.signed root=UUID=43cbb8c2-c0ce-40e2-a795-3a506e63d450 ro nogpumanager quiet splash pci=noaer PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-4.4.0-28-generic N/A linux-backports-modules-4.4.0-28-generic N/A linux-firmware 1.160 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/18/2015 dmi.bios.vendor: Insyde dmi.bios.version: F.77 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 80A4 dmi.board.vendor: HP dmi.board.version: 91.1C dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnInsyde:bvrF.77:bd12/18/2015:svnHP:pnHPPavilionNotebook:pvrType1ProductConfigId:rvnHP:rn80A4:rvr91.1C:cvnHP:ct10:cvrChassisVersion: dmi.product.name: HP Pavilion Notebook dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1620089/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

