All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: "Numan Demirdöğen" <if.gnu.linux@gmail.com>,
	jason.low2@hpe.com, Waiman.Long@hpe.com,
	paulmck@linux.vnet.ibm.com, tglx@linutronix.de
Cc: dmitry.torokhov@gmail.com, peterz@infradead.org,
	mingo@redhat.com, linux-kernel@vger.kernel.org,
	linux-input@vger.kernel.org
Subject: [regression, bisected] Keyboard not responding after resuming from suspend/hibernate
Date: Thu, 25 Oct 2018 09:49:03 +0200	[thread overview]
Message-ID: <20181025074903.GA9323@amd> (raw)
In-Reply-To: <20181019102031.77015d44@korsan.localdomain>

[-- Attachment #1: Type: text/plain, Size: 6682 bytes --]

Hi!

Here's problem bisected down to:

commit 9d659ae14b545c4296e812c70493bfdc999b5c1c
Author: Peter Zijlstra <peterz@infradead.org>
Date:   Tue Aug 23 14:40:16 2016 +0200

    locking/mutex: Add lock handoff to avoid starvation

    Implement lock handoff to avoid lock starvation.

Numan, I assume revert of that patch on the 4.18 kernel still makes it
work?

Peter, any ideas?

								Pavel

On Fri 2018-10-19 10:20:31, Numan Demirdöğen wrote:
> On Fri, 31 Aug 2018 21:53:11 +0300
> Numan Demirdöğen <if.gnu.linux@gmail.com> wrote:
> 
> >If I put laptop to suspend or hibernate by closing lid, power
> >manager or any other method and then I resume/wake up laptop, keyboard
> >is not responding. My laptop is a Sony Vaio VPCEH2F1E. 
> >
> >Steps to produce bug:
> >1. Boot
> >2. Put laptop to sleep
> >3. Resume
> >
> >What I expect to happen: Keyboard responds to key press.
> >What happens: Keyboard does not respond but mouse and trackball are
> >working.
> >
> >git bisect point 9d659ae14b545c4296e812c70493bfdc999b5c1c as the first
> >bad commit.
> >
> >Bad commit link:
> >https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=9d659ae14b545c4296e812c70493bfdc999b5c1c
> >
> > Link to actual bug report:
> >https://bugzilla.kernel.org/show_bug.cgi?id=195471
> >
> >awk -f ver_linux
> >Linux korsan 4.18.5-arch1-1-ARCH #1 SMP PREEMPT Fri Aug 24 12:48:58
> >UTC 2018 x86_64 GNU/Linux GNU C               	8.2.0
> >GNU Make            	4.2.1
> >Binutils            	2.31.1
> >Util-linux          	2.32.1
> >Mount               	2.32.1
> >Module-init-tools   	25
> >E2fsprogs           	1.44.4
> >Jfsutils            	1.1.15
> >Reiserfsprogs       	3.6.27
> >Xfsprogs            	4.17.0
> >Pcmciautils         	018
> >Linux C Library     	2.28
> >Dynamic linker (ldd)	2.28
> >Linux C++ Library   	6.0.25
> >Procps              	3.3.15
> >Kbd                 	2.0.4
> >Console-tools       	2.0.4
> >Sh-utils            	8.29
> >Udev                	239
> >Wireless-tools      	30
> >Modules Loaded      	ac agpgart ahci arc4 ath ath3k ath9k
> >ath9k_common ath9k_hw atkbd battery bluetooth bpfilter ccm cdrom
> >cfg80211 coretemp crc16 crc32c_generic crc32c_intel crc32_pclmul
> >crct10dif_pclmul cryptd drm drm_kms_helper ecdh_generic ehci_hcd
> >ehci_pci evdev ext4 fb_sys_fops fscrypto fuse ghash_clmulni_intel
> >gpio_ich hid hid_generic i2c_algo_bit i2c_i801 i8042 i915 input_leds
> >intel_cstate intel_gtt intel_powerclamp intel_rapl intel_rapl_perf
> >intel_uncore iptable_filter iptable_mangle iptable_nat ip_tables
> >irqbypass iTCO_vendor_support iTCO_wdt jbd2 kvm kvm_intel led_class
> >libahci libata libcrc32c libps2 lpc_ich mac80211 mac_hid mbcache mei
> >mei_me mousedev msr nf_conntrack nf_conntrack_ipv4 nf_defrag_ipv4
> >nf_nat nf_nat_ipv4 pcc_cpufreq psmouse rfkill rtc_cmos scsi_mod sd_mod
> >serio serio_raw snd snd_hda_codec snd_hda_codec_conexant
> >snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_core snd_hda_intel
> >snd_hwdep snd_pcm snd_timer sony_laptop soundcore sr_mod syscopyarea
> >sysfillrect sysimgblt usb_common usbcore usbhid x86_pkg_temp_thermal
> >x_tables
> >
> >dmesg | grep i8042
> >[    0.574078] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M]
> >at 0x60,0x64 irq 1,12 [    0.575936] serio: i8042 KBD port at
> >0x60,0x64 irq 1 [    0.576143] serio: i8042 AUX port at 0x60,0x64 irq
> >12 [    0.618880] input: AT Translated Set 2 keyboard
> >as /devices/platform/i8042/serio0/input/input3 [   11.248435] input:
> >AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input5
> >
> >cat /proc/interrupts 
> >           CPU0       CPU1       CPU2       CPU3       
> >  0:          8          0          0          0   IO-APIC
> > 2-edge      timer 1:          0          0          0      10286
> > IO-APIC   1-edge      i8042 8:          0          0
> > 0          1   IO-APIC   8-edge      rtc0 9:          0
> > 9479          0          0   IO-APIC   9-fasteoi   acpi 12:
> > 0          0     370114          0   IO-APIC  12-edge      i8042
> > 16:     197457          0          0          0   IO-APIC
> > 16-fasteoi   ehci_hcd:usb1, ath9k 19:          0          0
> > 0          0   IO-APIC  19-fasteoi   i801_smbus 23:
> > 0          0      71055          0   IO-APIC  23-fasteoi
> > ehci_hcd:usb2 24:          0      74549          0          0
> > PCI-MSI 512000-edge      ahci[0000:00:1f.2] 25:          0
> > 14          0          0   PCI-MSI 360448-edge      mei_me
> > 26:          0          0     138870          0   PCI-MSI
> > 32768-edge      i915 27:          0          0          0
> > 330   PCI-MSI 442368-edge      snd_hda_intel:card0
> >NMI:         24         22         25         21   Non-maskable
> >interrupts LOC:     534734     446934     603337     440320   Local
> >timer interrupts SPU:          0          0          0          0
> >Spurious interrupts PMI:         24         22         25         21
> >Performance monitoring interrupts IWI:         26         12
> >43115         22   IRQ work interrupts RTR:          0
> >0          0          0   APIC ICR read retries RES:      95282
> >76970      60242      46409   Rescheduling interrupts CAL:
> >66746      75300      70554      69119   Function call interrupts
> >TLB:      50929      54528      51413      48017   TLB shootdowns
> >TRM:          0          0          0          0   Thermal event
> >interrupts THR:          0          0          0          0
> >Threshold APIC interrupts DFR:          0          0
> >0          0   Deferred Error APIC interrupts MCE:          0
> >0          0          0   Machine check exceptions MCP:
> >18         19         19         19   Machine check polls
> >HYP:          0          0          0          0   Hypervisor callback
> >interrupts HRE:          0          0          0          0   Hyper-V
> >reenlightenment interrupts HVS:          0          0
> >0          0   Hyper-V stimer0 interrupts ERR:          0
> >MIS:          0 PIN:          0          0          0          0
> >Posted-interrupt notification event NPI:          0
> >0          0          0   Nested posted-interrupt event PIW:
> >0          0          0          0   Posted-interrupt wakeup event
> >
> >P.S: My native language is not English.
> >
> 
> Hi,
> 
> I am forwarding this e-mail which describes a problem related to
> suspend/hibernate at the advise of Pavel Machek.
> 



-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  reply	other threads:[~2018-10-25  7:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31 18:53 PROBLEM: Keyboard not responding after resuming from suspend/hibernate Numan Demirdöğen
2018-08-31 19:16 ` Peter Zijlstra
2018-08-31 19:38   ` Numan Demirdöğen
2018-09-03  8:53 ` Numan Demirdöğen
2018-09-18 18:54   ` Pavel Machek
2018-10-19  7:20 ` Fw: " Numan Demirdöğen
2018-10-25  7:49   ` Pavel Machek [this message]
2018-10-28 19:06     ` [regression, bisected] " Numan Demirdöğen
2018-11-30 12:44       ` Numan Demirdöğen
2018-11-30 12:44         ` Numan Demirdöğen
2018-12-02 22:28         ` Pavel Machek
2018-12-18  7:23           ` Numan Demirdöğen
2019-03-14 19:54             ` Peter Zijlstra
  -- strict thread matches above, loose matches on Subject: below --
2019-06-25 13:54 Numan Demirdöğen
2019-07-31  9:07 Numan Demirdöğen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181025074903.GA9323@amd \
    --to=pavel@ucw.cz \
    --cc=Waiman.Long@hpe.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=if.gnu.linux@gmail.com \
    --cc=jason.low2@hpe.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.