New issue
Advanced search Search tips

Issue 601845 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

mosys: Add support for ec ioctl format used in upstream kernel and Chrome OS 4.4

Project Member Reported by groeck@chromium.org, Apr 8 2016

Issue description

The upstream kernel, and with it Chrome OS 4.4, use a different ioctl messaging format than Chrome OS 3.18 and earlier. Add support for mosys to support both the old and the new ioctl format.

 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 9 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/mosys/+/4787d43d23393bc925a54071abd74a517807fba9

commit 4787d43d23393bc925a54071abd74a517807fba9
Author: Guenter Roeck <groeck@chromium.org>
Date: Thu Apr 07 21:11:33 2016

mosys: cros_ec: Add support for upstream and cromeos-4.4 ioctl format

Upstream and Chrome OS v4.4 use a modified ioctl message format.
Auto-detect and support both formats.

BUG= chromium:601845 
BRANCH=None
TEST=Work on Samus with kernel 4.4 and 3.8/3.14/3.18

Change-Id: Iba06e8bd61de19c112086f59349cbd01a17c6432
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/338010
Reviewed-by: David Hendricks <dhendrix@chromium.org>

[modify] https://crrev.com/4787d43d23393bc925a54071abd74a517807fba9/drivers/google/cros_ec_dev.c
[modify] https://crrev.com/4787d43d23393bc925a54071abd74a517807fba9/include/drivers/google/cros_ec_dev.h

Comment 2 by groeck@chromium.org, Apr 12 2016

Status: Verified (was: Started)

Sign in to add a comment