lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 22 Jun 2020 08:58:09 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Sultan Alsawaf <sultan@...neltoast.com>
Cc:     Aaron Ma <aaron.ma@...onical.com>,
        Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
        Benjamin Tissoires <benjamin.tissoires@...hat.com>,
        Hans de Goede <hdegoede@...hat.com>,
        HungNien Chen <hn.chen@...dahitech.com>,
        Jarkko Nikula <jarkko.nikula@...ux.intel.com>,
        Jiri Kosina <jikos@...nel.org>,
        Kai-Heng Feng <kai.heng.feng@...onical.com>,
        linux-i2c@...r.kernel.org, linux-input@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Mika Westerberg <mika.westerberg@...ux.intel.com>,
        Pavel Balan <admin@...ma.net>, Tin Huynh <tnhuynh@....com>,
        Wolfram Sang <wsa@...nel.org>,
        You-Sheng Yang <vicamo.yang@...onical.com>,
        Sultan Alsawaf <sultan@...neltoast.com>, lkp@...ts.01.org
Subject: [HID] 0b987151f0: kmsg.i2c_designware_i2c_designware.#:
 controller_timed_out

Greeting,

FYI, we noticed the following commit (built with gcc-9):

commit: 0b987151f0180d48dcef44d3c67f2dc5c6564348 ("[PATCH 2/2] HID: i2c-hid: Use block reads when possible to save power")
url: https://github.com/0day-ci/linux/commits/Sultan-Alsawaf/i2c-hid-Save-power-by-reducing-i2c-xfers-with-block-reads/20200615-050443
base: https://git.kernel.org/cgit/linux/kernel/git/wsa/linux.git i2c/for-next

in testcase: suspend-stress
with following parameters:

	mode: freeze
	iterations: 10



on test machine: 4 threads Skylake with 8G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen@...el.com>


kern  :debug : [   11.777472] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 283
kern  :debug : [   11.777930] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -17 after 1 usecs
kern  :debug : [   11.793085] calling  acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] @ 287
kern  :debug : [   11.793473] initcall acpi_cpufreq_init+0x0/0x1000 [acpi_cpufreq] returned -17 after 0 usecs
kern  :err   : [   12.118024] i2c_designware i2c_designware.0: controller timed out
kern  :warn  : [   12.143529] i2c_designware i2c_designware.0: timeout in disabling adapter
kern  :warn  : [   12.164029] i2c_designware i2c_designware.0: timeout waiting for bus ready
kern  :err   : [   12.164433] i2c_hid i2c-ITE8396:00: failed to reset device.
kern  :warn  : [   12.185027] i2c_designware i2c_designware.0: timeout waiting for bus ready
kern  :err   : [   12.185431] i2c_hid i2c-ITE8396:00: failed to change power setting.
kern  :info  : [   12.539283] [drm] Initialized i915 1.6.0 20200313 for 0000:00:02.0 on minor 0
kern  :info  : [   12.541703] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
kern  :info  : [   12.542333] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input9
kern  :debug : [   12.542942] probe of LNXVIDEO:00 returned 1 after 2678 usecs
kern  :info  : [   12.543495] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
kern  :debug : [   12.544108] probe of 0000:00:02.0 returned 1 after 1235581 usecs
kern  :debug : [   12.544900] initcall i915_init+0x0/0x70 [i915] returned 0 after 733716 usecs
kern  :warn  : [   12.678480] i915 0000:00:02.0: DP-1: EDID is invalid:
kern  :warn  : [   12.678778] 	[00] BAD  00 ff ff ff ff ff ff 00 ff ff ff ff ff ff ff ff
kern  :warn  : [   12.679164] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.679528] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.679892] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.680262] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.680627] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.680987] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :warn  : [   12.681361] 	[00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
kern  :info  : [   12.695329] fbcon: i915drmfb (fb0) is primary device
kern  :warn  : [   13.226027] i2c_designware i2c_designware.0: timeout waiting for bus ready
kern  :err   : [   13.226041] i2c_hid i2c-ITE8396:00: failed to change power setting.



To reproduce:

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Rong Chen


View attachment "config-5.7.0-rc4-00164-g0b987151f0180" of type "text/plain" (202609 bytes)

View attachment "job-script" of type "text/plain" (4901 bytes)

Download attachment "kmsg.xz" of type "application/x-xz" (78876 bytes)

View attachment "suspend-stress" of type "text/plain" (3778 bytes)

View attachment "job.yaml" of type "text/plain" (3995 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ