All of lore.kernel.org
 help / color / mirror / Atom feed
* cros_ec_lpcs on framework: packet too long (4 bytes, expected 0)
@ 2023-06-20  8:12 David Rheinsberg
  2023-06-20  9:53 ` Tzung-Bi Shih
  2023-06-21  3:25 ` Dustin Howett
  0 siblings, 2 replies; 7+ messages in thread
From: David Rheinsberg @ 2023-06-20  8:12 UTC (permalink / raw)
  To: chrome-platform; +Cc: Benson Leung, Guenter Roeck

Hi

(bcc: Dustin Howett and Tzung-Bi Shih, who signed off the original framework patches)

Using the cros-ec over lpc device on the Framework-13, I occasionally get:

    cros_ec_lpcs cros_ec_lpcs.0: packet too long (4 bytes, expected 0)

Afterwards, the entire EC seems to be inactive and none of its controllers work, anymore (temperature sensors are stale, keyboard defunct, etc.). A reboot fixes the issues.

I cannot trigger this issue reliably, yet it seems to happen exclusively under heavy load. Do you have any recommendations how to debug this further?

I failed tracing where the error happens and why any further functionality of the EC is disabled thereafter. Does the driver end communication on an error? Or is this likely a firmware issue and just indicative of the firmware failing?

If you have any recommendations how to enabled the cros-tracing/debug features, I'd gladly run a custom kernel for a while to see where the failure originates.

Thanks
David

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-26 13:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20  8:12 cros_ec_lpcs on framework: packet too long (4 bytes, expected 0) David Rheinsberg
2023-06-20  9:53 ` Tzung-Bi Shih
2023-06-20 10:33   ` David Rheinsberg
2023-06-21  4:57     ` Tzung-Bi Shih
2023-06-26 13:09       ` David Rheinsberg
2023-06-21  3:25 ` Dustin Howett
2023-06-26 13:04   ` David Rheinsberg

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.