* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
[not found] ` <8833ba2600208a05940943636a3bd8b6af6a9fe4.camel@linux.intel.com>
@ 2022-05-18 4:07 ` Paul Menzel
2022-05-18 15:39 ` srinivas pandruvada
0 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2022-05-18 4:07 UTC (permalink / raw)
To: Srinivas Pandruvada
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
Dear Srinivas,
Thank you for your reply.
Am 13.05.22 um 01:07 schrieb srinivas pandruvada:
> On Thu, 2022-05-12 at 17:01 +0200, Paul Menzel wrote:
>> On the Dell XPS 13 9310, firmware 2.2.0 04/06/2021, with Debian
>> sid/unstable, Linux 5.17.3 logs a lot of the messages below:
>>
>> timeout waiting for response from ISHTP device
>>
>> Please find the output of `dmesg` attached.
>>
> It seems that sensor FW is not responding after resume.
>
> What is
> # cat /sys/power/mem_sleep
$ cat /sys/power/mem_sleep
[s2idle]
Kind regards,
Paul
PS: I think, Intel should have a Dell XPS 13 9310 available in some test
labs. If not, Dell (Cc) should be able to provide access to one.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
2022-05-18 4:07 ` hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device Paul Menzel
@ 2022-05-18 15:39 ` srinivas pandruvada
2022-05-18 18:06 ` Paul Menzel
0 siblings, 1 reply; 6+ messages in thread
From: srinivas pandruvada @ 2022-05-18 15:39 UTC (permalink / raw)
To: Paul Menzel
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Hi Paul,
Attached a diff. Please use git apply and build kernel. And attach
dmesg. I want to see where did it fail.
Thanks,
Srinivas
On Wed, 2022-05-18 at 06:07 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Thank you for your reply.
>
> Am 13.05.22 um 01:07 schrieb srinivas pandruvada:
>
> > On Thu, 2022-05-12 at 17:01 +0200, Paul Menzel wrote:
>
> > > On the Dell XPS 13 9310, firmware 2.2.0 04/06/2021, with Debian
> > > sid/unstable, Linux 5.17.3 logs a lot of the messages below:
> > >
> > > timeout waiting for response from ISHTP device
> > >
> > > Please find the output of `dmesg` attached.
> > >
> > It seems that sensor FW is not responding after resume.
> >
> > What is
> > # cat /sys/power/mem_sleep
>
> $ cat /sys/power/mem_sleep
> [s2idle]
>
>
> Kind regards,
>
> Paul
>
>
> PS: I think, Intel should have a Dell XPS 13 9310 available in some
> test
> labs. If not, Dell (Cc) should be able to provide access to one.
[-- Attachment #2: ish_debug_1.diff --]
[-- Type: text/x-patch, Size: 2217 bytes --]
diff --git a/drivers/hid/intel-ish-hid/ipc/pci-ish.c b/drivers/hid/intel-ish-hid/ipc/pci-ish.c
index 8e9d9450cb83..5b811fa8f15b 100644
--- a/drivers/hid/intel-ish-hid/ipc/pci-ish.c
+++ b/drivers/hid/intel-ish-hid/ipc/pci-ish.c
@@ -263,6 +263,9 @@ static void __maybe_unused ish_resume_handler(struct work_struct *work)
struct pci_dev *pdev = to_pci_dev(ish_resume_device);
struct ishtp_device *dev = pci_get_drvdata(pdev);
uint32_t fwsts = dev->ops->get_fw_status(dev);
+ struct device *device = &pdev->dev;
+
+ dev_info(device, "%s suspend_flag:%d fw_status:%x\n", __func__, dev->suspend_flag, IPC_IS_ISH_ILUP(fwsts));
if (ish_should_leave_d0i3(pdev) && !dev->suspend_flag
&& IPC_IS_ISH_ILUP(fwsts)) {
@@ -283,8 +286,10 @@ static void __maybe_unused ish_resume_handler(struct work_struct *work)
* If the flag is not cleared, something is wrong with ISH FW.
* So on resume, need to go through init sequence again.
*/
- if (dev->resume_flag)
+ if (dev->resume_flag) {
+ dev_info(device, "%s resume_flag:%d will call ish_init\n", __func__, dev->resume_flag);
ish_init(dev);
+ }
} else {
/*
* Resume from the D3, full reboot of ISH processor will happen,
@@ -307,7 +312,9 @@ static int __maybe_unused ish_suspend(struct device *device)
struct pci_dev *pdev = to_pci_dev(device);
struct ishtp_device *dev = pci_get_drvdata(pdev);
+ dev_info(device, "%s\n", __func__);
if (ish_should_enter_d0i3(pdev)) {
+ dev_info(device, "%s suspend_flag:%d\n", __func__, dev->suspend_flag);
/*
* If previous suspend hasn't been asnwered then ISH is likely
* dead, don't attempt nested notification
@@ -326,12 +333,14 @@ static int __maybe_unused ish_suspend(struct device *device)
msecs_to_jiffies(25));
if (dev->suspend_flag) {
+ dev_info(device, "%s suspend_flag:%d FW halted\n", __func__, dev->suspend_flag);
/*
* It looks like FW halt, clear the DMA bit, and put
* ISH into D3, and FW would reset on resume.
*/
ish_disable_dma(dev);
} else {
+ dev_info(device, "%s suspend_flag:%d S0ix suspended\n", __func__, dev->suspend_flag);
/*
* Save state so PCI core will keep the device at D0,
* the ISH would enter D0i3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
2022-05-18 15:39 ` srinivas pandruvada
@ 2022-05-18 18:06 ` Paul Menzel
2022-05-18 18:48 ` srinivas pandruvada
2022-05-18 19:55 ` srinivas pandruvada
0 siblings, 2 replies; 6+ messages in thread
From: Paul Menzel @ 2022-05-18 18:06 UTC (permalink / raw)
To: Srinivas Pandruvada
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
Dear Srinivas,
Am 18.05.22 um 17:39 schrieb srinivas pandruvada:
> Attached a diff. Please use git apply and build kernel. And attach
> dmesg. I want to see where did it fail.
As written, the device is used in production by a user, so I am not
sure, if I can get the device to test self-built Linux kernel images to
debug this issue. It would really be better to get access to such a
device from Dell or in some Intel lab.
Kind regards,
Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
2022-05-18 18:06 ` Paul Menzel
@ 2022-05-18 18:48 ` srinivas pandruvada
2022-05-18 19:55 ` srinivas pandruvada
1 sibling, 0 replies; 6+ messages in thread
From: srinivas pandruvada @ 2022-05-18 18:48 UTC (permalink / raw)
To: Paul Menzel
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
Hi Paul,
On Wed, 2022-05-18 at 20:06 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Am 18.05.22 um 17:39 schrieb srinivas pandruvada:
>
> > Attached a diff. Please use git apply and build kernel. And attach
> > dmesg. I want to see where did it fail.
>
> As written, the device is used in production by a user, so I am not
> sure, if I can get the device to test self-built Linux kernel images
> to
> debug this issue. It would really be better to get access to such a
> device from Dell or in some Intel lab.
>
Let me try to get one.
You described some firmware version. Where did you see that? Do you
mean BIOS version?
Thanks,
Srinivas
>
> Kind regards,
>
> Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
2022-05-18 18:06 ` Paul Menzel
2022-05-18 18:48 ` srinivas pandruvada
@ 2022-05-18 19:55 ` srinivas pandruvada
2022-06-09 16:43 ` Paul Menzel
1 sibling, 1 reply; 6+ messages in thread
From: srinivas pandruvada @ 2022-05-18 19:55 UTC (permalink / raw)
To: Paul Menzel
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
Hi Paul,
Good news, is that I can get to one 9310 system.
Manufacturer: Dell Inc.
Product Name: XPS 13 9310
I had
"
bios_date:12/10/2020
bios_release:1.2
bios_vendor:Dell Inc.
bios_version:1.2.5
"
Didn't observe any issue with ISH after multiple suspend/resume
Update to the latest available from Dell website
BIOS Information
Vendor: Dell Inc.
Version: 3.6.0
Release Date: 03/17/2022
Still no issue.
I am using
5.17.7-200.fc35.x86_64
So suggest to updated to the latest BIOS from Dell website and
reproduce.
Thanks,
Srinivas
On Wed, 2022-05-18 at 20:06 +0200, Paul Menzel wrote:
> Dear Srinivas,
>
>
> Am 18.05.22 um 17:39 schrieb srinivas pandruvada:
>
> > Attached a diff. Please use git apply and build kernel. And attach
> > dmesg. I want to see where did it fail.
>
> As written, the device is used in production by a user, so I am not
> sure, if I can get the device to test self-built Linux kernel images
> to
> debug this issue. It would really be better to get access to such a
> device from Dell or in some Intel lab.
>
>
> Kind regards,
>
> Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device
2022-05-18 19:55 ` srinivas pandruvada
@ 2022-06-09 16:43 ` Paul Menzel
0 siblings, 0 replies; 6+ messages in thread
From: Paul Menzel @ 2022-06-09 16:43 UTC (permalink / raw)
To: Srinivas Pandruvada
Cc: Jiri Kosina, Even Xu, Zhang Lixu, Benjamin Tissoires, linux-input,
LKML, Dell.Client.Kernel
Dear Srinivas,
Am 18.05.22 um 21:55 schrieb srinivas pandruvada:
> Good news, is that I can get to one 9310 system.
Awesome.
> Manufacturer: Dell Inc.
> Product Name: XPS 13 9310
>
> I had
> "
> bios_date:12/10/2020
> bios_release:1.2
> bios_vendor:Dell Inc.
> bios_version:1.2.5
> "
>
> Didn't observe any issue with ISH after multiple suspend/resume
>
> Update to the latest available from Dell website
>
> BIOS Information
> Vendor: Dell Inc.
> Version: 3.6.0
> Release Date: 03/17/2022
>
>
> Still no issue.
>
> I am using
> 5.17.7-200.fc35.x86_64
>
> So suggest to updated to the latest BIOS from Dell website and
> reproduce.
I had access to the system, and I have not seen that ISHTP message since
May 16th, 2022 so with the old 2.2.0 and current 3.6.0 system firmware.
But it also was not always present beforehand, so no idea, if something
special has to be done (like attach a device) to trigger it.
Until the message shows up again, let’s consider the issue fixed though.
Thank you for your time.
Kind regards,
Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-06-09 16:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <289be79b-8fbb-d171-a1e5-5d8218dff39d@molgen.mpg.de>
[not found] ` <8833ba2600208a05940943636a3bd8b6af6a9fe4.camel@linux.intel.com>
2022-05-18 4:07 ` hid-sensor-hub 001F:8087:0AC2.0002: timeout waiting for response from ISHTP device Paul Menzel
2022-05-18 15:39 ` srinivas pandruvada
2022-05-18 18:06 ` Paul Menzel
2022-05-18 18:48 ` srinivas pandruvada
2022-05-18 19:55 ` srinivas pandruvada
2022-06-09 16:43 ` Paul Menzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).