Re: [PATCH v2] Add virtio-input driver.

2015-03-21 Thread Michael S. Tsirkin
On Fri, Mar 20, 2015 at 01:39:29PM +0100, Gerd Hoffmann wrote: > virtio-input is basically evdev-events-over-virtio, so this driver isn't > much more than reading configuration from config space and forwarding > incoming events to the linux input layer. > > Signed-off-by: Gerd Hoffmann > --- > M

Re: [PATCH 1/1] Add virtio-input driver.

2015-03-21 Thread Michael S. Tsirkin
On Fri, Mar 20, 2015 at 11:28:47AM +0100, Gerd Hoffmann wrote: > Hi, > > > > +static int virtinput_send_status(struct virtio_input *vi, > > > + u16 type, u16 code, s32 value) > > > +{ > > > + struct virtio_input_event *stsbuf; > > > + struct scatterlist sg[1]; > > > + >

Re: [PATCHv3 0/2] N900 Modem Speech Support

2015-03-21 Thread Sebastian Reichel
Hi, On Sat, Mar 21, 2015 at 08:09:15PM +0100, Sebastian Reichel wrote: > [1] git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git > branch/cmt-speech-2 This should actually be: git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi.git branch/cmt-speech-3 -- Sebastian signat

[PATCHv3 2/2] HSI: nokia-modem: Add cmt-speech support

2015-03-21 Thread Sebastian Reichel
Register cmt-speech driver in nokia-modem driver and forward hsi channel information. Signed-off-by: Sebastian Reichel --- drivers/hsi/clients/Kconfig | 2 +- drivers/hsi/clients/nokia-modem.c | 32 +++- 2 files changed, 32 insertions(+), 2 deletions(-) diff -

[PATCHv3 1/2] HSI: cmt_speech: Add cmt-speech driver

2015-03-21 Thread Sebastian Reichel
From: Kai Vehmanen Introduces the cmt-speech driver, which implements a character device interface for transferring speech data frames over HSI/SSI. The driver is used to exchange voice/speech data between the Nokia N900/N950/N9's modem and its cpu. Signed-off-by: Kai Vehmanen Signed-off-by: C

[PATCHv3 0/2] N900 Modem Speech Support

2015-03-21 Thread Sebastian Reichel
Hi, This patchset contains the missing speech data support for the Nokia N900 modem. Userland access goes via /dev/cmt_speech. The API is implemented in libcmtspeechdata, which is used by ofono and the freesmartphone.org project. Apart from that the device is also used by the phone binaries distr

Re: [PATCH v9 tip 3/9] tracing: attach BPF programs to kprobes

2015-03-21 Thread Alexei Starovoitov
On 3/21/15 5:14 AM, Masami Hiramatsu wrote: > (2015/03/21 8:30), Alexei Starovoitov wrote: >> >> Note, kprobes are _not_ a stable kernel ABI, so bpf programs attached to >> kprobes must be recompiled for every kernel version and user must supply >> correct >> LINUX_VERSION_CODE in attr.kern_versio

Re: [PATCH V7] Allow compaction of unevictable pages

2015-03-21 Thread Peter Zijlstra
On Fri, Mar 20, 2015 at 03:17:03PM -0700, Andrew Morton wrote: > On Fri, 20 Mar 2015 09:49:50 -0400 Eric B Munson wrote: > > > Currently, pages which are marked as unevictable are protected from > > compaction, but not from other types of migration. The POSIX real time > > extension explicitly s

Re: [PATCH v9 tip 1/9] bpf: make internal bpf API independent of CONFIG_BPF_SYSCALL ifdefs

2015-03-21 Thread Masami Hiramatsu
(2015/03/21 8:30), Alexei Starovoitov wrote: > From: Daniel Borkmann > > Socket filter code and other subsystems with upcoming eBPF support should > not need to deal with the fact that we have CONFIG_BPF_SYSCALL defined or > not. > > Having the bpf syscall as a config option is a nice thing and

Re: [PATCH 05/45] drm.h: include stdlib.h in userspace

2015-03-21 Thread Mikko Rapeli
On Fri, Mar 20, 2015 at 08:25:40PM +, Emil Velikov wrote: > On 23 February 2015 at 10:35, Mikko Rapeli wrote: > > On Mon, Feb 23, 2015 at 10:26:58AM +, Emil Velikov wrote: > >> On 16/02/15 23:05, Mikko Rapeli wrote: > >> > Fixes compilation error: > >> > > >> > drm/drm.h:132:2: error: unk

Re: [PATCH v9 tip 2/9] tracing: add kprobe flag

2015-03-21 Thread Masami Hiramatsu
(2015/03/21 8:30), Alexei Starovoitov wrote: > add TRACE_EVENT_FL_KPROBE flag to differentiate kprobe type of tracepoints, > since bpf programs can only be attached to kprobe type of > PERF_TYPE_TRACEPOINT perf events. > Looks ok to me. Reviewed-by: Thank you! > Signed-off-by: Alexei Starovoi

Re: [PATCH v9 tip 3/9] tracing: attach BPF programs to kprobes

2015-03-21 Thread Masami Hiramatsu
(2015/03/21 8:30), Alexei Starovoitov wrote: > User interface: > struct perf_event_attr attr = {.type = PERF_TYPE_TRACEPOINT, .config = > event_id, ...}; > event_fd = perf_event_open(&attr,...); > ioctl(event_fd, PERF_EVENT_IOC_SET_BPF, prog_fd); > > prog_fd is a file descriptor associated with B

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-21 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data,

[PATCH v5] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-21 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data,