[Feature] ISH (Intel Sensor Hub) support

Bug #1645521 reported by XiongZhang
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intel
Fix Released
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Undecided
Robert Hooker
Zesty
Fix Released
Undecided
Robert Hooker

Bug Description

Integrete ISH kernel driver and ISH driver should provoide following interface to user
(1) Batch Mode----Get the hardware batch buffer size/count,Set the batch timeout value: 4.13 138bc7969c24c6cbba28e919c2376ad10a46fc60
(2) Wakeup/non-wakeup----checking if one sensor is wakeup instance or non-wakeup instance.For wakeup instance, when batch buffer is full or wait timeout, system must be woken up and receive batched sensor events.
(3) Timestamp ---- expose the sensor event timestamp to user space for sync
(4) physical sensors-----support exposing following physical sensors:Accelerometer,Gyroscope,Magnetic,Field,Pressure,Light,Proximity
(5) Advanced sensor----support exposing following advanced sensors:
Gravity,Linear Acceleration,Rotation Vector,Orientation,Game Rotation,Geomagentic Rotation,Step Detector,Step Counter,Terminal,Significant motion,Wakeup Gesture,Glance Gesture,Tilt,PanZoon,Lift and Look
(6)multiple sensor instance support
(7)private command support ---- support set/get path for private command set and response get, because some advanced sensor needs different special command to work properly.
(8)User defined sensor support--- exposing non-pre-defined sensors.
Because customer may add a new sensor in firmware, and hope sensor driver can expose it as a unknown sensor automatically, then application can use it directly without any code change.

HW: Broxton-p

Upstream Schedule:
Basic Sensor Driver: 4.9
Advanced Sensor Driver: TBD

CVE References

Revision history for this message
quanxian (quanxian-wang) wrote :

The target kernel is 4.9, it should be done.

Revision history for this message
quanxian (quanxian-wang) wrote :

Sorry, there are still some features are not enabled. Keep tuning

Revision history for this message
quanxian (quanxian-wang) wrote :

[Sensor] Timestamp: 4.11-rc1:a96cd0f901eecd9589477cc2cd46bdb4f1f3e49a

Robert Hooker (sarvatt)
information type: Proprietary → Public
Changed in linux (Ubuntu):
assignee: nobody → Robert Hooker (sarvatt)
status: New → In Progress
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
quanxian (quanxian-wang) wrote :

only one sub-feature commitid provided, still have more commitid for sub-feature. Keep tune.
Status should be incomplete.

Thanks

Revision history for this message
Robert Hooker (sarvatt) wrote :

yeah only the linux task for 17.04 is closed, zesty kernel features are now done and the rest will have to go into 17.10

Revision history for this message
quanxian (quanxian-wang) wrote :

right. thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (21.0 KiB)

This bug was fixed in the package linux - 4.10.0-19.21

---------------
linux (4.10.0-19.21) zesty; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1680535

  * ADT regressions caused by "audit: fix auditd/kernel connection state
    tracking" (LP: #1680532)
    - SAUCE: Revert "audit: fix auditd/kernel connection state tracking"

  * Miscellaneous Ubuntu changes
    - [Config] updateconfigs to update CONFIG_GENERIC_CSUM for ppc64el
      This cleans up behind a Kconfig change that went undetected.

linux (4.10.0-18.20) zesty; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1680168

  * smartpqi driver needed in initram disk and installer (LP: #1680156)
    - UBUNU: [Config] Add smartpqi to d-i

linux (4.10.0-17.19) zesty; urgency=low

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1679718

  * Fix CVE-2017-7308 (LP: #1678009)
    - net/packet: fix overflow in check for priv area size
    - net/packet: fix overflow in check for tp_frame_nr
    - net/packet: fix overflow in check for tp_reserve

  * apparmor: oops on boot if parameters set on grub command line (LP: #1678048)
    - SAUCE: apparmor: fix parameters so that the permission test is bypassed at boot

  * apparmor: does not provide a way to detect policy updataes (LP: #1678032)
    - SAUCE: apparmor: add policy revision file interface

  * apparmor does not make support of query data visible (LP: #1678023)
    - SAUCE: apparmor: add label data availability to the feature set

  * apparmor query interface does not make supported query info available
    (LP: #1678030)
    - SAUCE: apparmor: add information about the query inteface to the feature set

  * change_profile incorrect when using namespaces with a compound stack
    (LP: #1677959)
    - SAUCE: apparmor: fix label parse for stacked labels

  * Zesty update to v4.10.8 stable release (LP: #1678930)
    - xfrm: policy: init locks early
    - xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window
    - xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder
    - KVM: nVMX: Fix nested VPID vmx exec control
    - KVM: x86: cleanup the page tracking SRCU instance
    - virtio_balloon: init 1st buffer in stats vq
    - pinctrl: qcom: Don't clear status bit on irq_unmask
    - c6x/ptrace: Remove useless PTRACE_SETREGSET implementation
    - h8300/ptrace: Fix incorrect register transfer count
    - mips/ptrace: Preserve previous registers for short regset write
    - sparc/ptrace: Preserve previous registers for short regset write
    - metag/ptrace: Preserve previous registers for short regset write
    - metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS
    - metag/ptrace: Reject partial NT_METAG_RPIPE writes
    - qla2xxx: Allow vref count to timeout on vport delete.
    - sched/rt: Add a missing rescheduling point
    - usb: musb: fix possible spinlock deadlock
    - Linux 4.10.8

  * [Hyper-V] pci-hyperv: Use device serial number as PCI domain (LP: #1667527)
    - net/mlx4_core: Use cq quota in SRIOV when creating completion EQs
    - PCI: hv: Use device serial number as PCI domain

  * Miscellaneous Ubuntu changes
    - [Config] flash-kernel should be a...

Changed in linux (Ubuntu Zesty):
status: Fix Committed → Fix Released
Changed in intel:
status: New → Fix Released
Revision history for this message
quanxian (quanxian-wang) wrote :

Sensor batch mode patches
4.13 138bc7969c24c6cbba28e919c2376ad10a46fc60

description: updated
Revision history for this message
Alice Liu (dxliu) wrote :

Sub feature: [Sensor] User defined sensor support
Commit id:
4a7de0519df5e8fb89cef6ee062330ffe4b50a4d
4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea
Merged in kernel v4.8.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.