Every function handling the mode within the regulator core uses an unsigned
int for mode, except for regulator_mode_constrain. This patch changes the
type of mode within regulator_mode_constrain which fixes several instances
where we are passing pointers to unsigned ints then treating them as an in
On 29/11/16 11:19, Juergen Gross wrote:
> On 29/11/16 12:14, Jan Beulich wrote:
> On 29.11.16 at 11:50, wrote:
>>> --- a/drivers/scsi/xen-scsifront.c
>>> +++ b/drivers/scsi/xen-scsifront.c
>>> @@ -184,8 +184,6 @@ static struct vscsiif_request *scsifront_pre_req(struct
>>> vscsifrnt_info *info
The regulator subsystem has used GPIOs internally for a while, however,
end drivers must still specify their enable GPIO using a GPIO number. This
patch allows the end drivers to specify the enable GPIO using GPIOD
directly.
Signed-off-by: Charles Keepax
---
drivers/regulator/core.c | 38
These flags are in use for filesystems with backing storage: PG_error,
PG_writeback and PG_readahead.
Signed-off-by: Kirill A. Shutemov
---
include/linux/page-flags.h | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/linux/page-flags.h b/include/linux/page-fl
Most page cache allocation happens via readahead (sync or async), so if
we want to have significant number of huge pages in page cache we need
to find a ways to allocate them from readahead.
Unfortunately, huge pages doesn't fit into current readahead design:
128 max readahead window, assumption o
Most of work happans on head page. Only when we need to do copy data to
userspace we find relevant subpage.
We are still limited by PAGE_SIZE per iteration. Lifting this limitation
would require some more work.
Signed-off-by: Kirill A. Shutemov
---
mm/filemap.c | 5 -
1 file changed, 4 inse
This patch adds basic functionality to put huge page into page cache.
At the moment we only put huge pages into radix-tree if the range covered
by the huge page is empty.
We ignore shadow entires for now, just remove them from the tree before
inserting huge page.
Later we can add logic to accumu
From: Naoya Horiguchi
Currently, hugetlb pages are linked to page cache on the basis of hugepage
offset (derived from vma_hugecache_offset()) for historical reason, which
doesn't match to the generic usage of page cache and requires some routines
to covert page offset <=> hugepage offset in commo
We writeback whole huge page a time.
Signed-off-by: Kirill A. Shutemov
---
mm/filemap.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/mm/filemap.c b/mm/filemap.c
index ec976ddcb88a..52be2b457208 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -405,9 +405,14 @@ static int __filemap_fda
As with shmem_undo_range(), truncate_inode_pages_range() removes huge
pages, if it fully within range.
Partial truncate of huge pages zero out this part of THP.
Unlike with shmem, it doesn't prevent us having holes in the middle of
huge page we still can skip writeback not touched buffers.
With
We want mmap(NULL) to return PMD-aligned address if the inode can have
huge pages in page cache.
Signed-off-by: Kirill A. Shutemov
---
mm/huge_memory.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
index a15d566b14f6..9c6ba124ba50 1006
We need to account huge pages according to its size to get background
writaback work properly.
Signed-off-by: Kirill A. Shutemov
---
fs/fs-writeback.c | 10 +++---
include/linux/backing-dev.h | 10 ++
include/linux/memcontrol.h | 22 ++---
mm/migrate.c| 1
Write path allocate pages using pagecache_get_page(). We should be able
to allocate huge pages there, if it's allowed. As usually, fallback to
small pages, if failed.
Signed-off-by: Kirill A. Shutemov
---
mm/filemap.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff
Here's respin of my huge ext4 patchset on top of Matthew's patchset with
few changes and fixes (see below).
Please review and consider applying.
I don't see any xfstests regressions with huge pages enabled. Patch with
new configurations for xfstests-bld is below.
The basics are the same as with
Call ext4_da_should_update_i_disksize() for head page with offset
relative to head page.
Signed-off-by: Kirill A. Shutemov
---
fs/ext4/inode.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 21662bcbbbcb..e89249c03d2f 100644
---
On Mon, Nov 28, 2016 at 01:50:04PM -0800, Matthew Wilcox wrote:
> From: Matthew Wilcox
>
> Hi Andrew,
>
> Please include these patches in the -mm tree for 4.10. Mostly these
> are improvements; the only bug fixes in here relate to multiorder
> entries (which are unused in the 4.9 tree). The ID
Do not assume length of bio segment is never larger than PAGE_SIZE.
With huge pages it's HPAGE_PMD_SIZE (2M on x86-64).
Signed-off-by: Kirill A. Shutemov
---
drivers/block/brd.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/block/brd.c b/drivers/b
It simply matches changes to __block_write_begin_int().
Signed-off-by: Kirill A. Shutemov
---
fs/ext4/inode.c | 35 +--
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index d3143dfe9962..21662bcbbbcb 100644
--- a/
Change ext4_writepage() and underlying ext4_bio_write_page().
It basically removes assumption on page size, infer it from struct page
instead.
Signed-off-by: Kirill A. Shutemov
---
fs/ext4/inode.c | 10 +-
fs/ext4/page-io.c | 11 +--
2 files changed, 14 insertions(+), 7 deleti
This reverts commit 356e1c23292a4f63cfdf1daf0e0ddada51f32de8.
After conversion of huge tmpfs to multi-order entries, we don't need
this anymore.
Signed-off-by: Kirill A. Shutemov
---
include/linux/radix-tree.h | 1 -
lib/radix-tree.c | 74 -
We writeback whole huge page a time. Let's adjust iteration this way.
Signed-off-by: Kirill A. Shutemov
---
include/linux/mm.h | 1 +
include/linux/pagemap.h | 1 +
mm/page-writeback.c | 17 -
3 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/include/linu
Let's add FileHugePages and FilePmdMapped fields into meminfo and smaps.
It indicates how many times we allocate and map file THP.
Signed-off-by: Kirill A. Shutemov
---
drivers/base/node.c| 6 ++
fs/proc/meminfo.c | 4
fs/proc/task_mmu.c | 5 -
include/linux/mmzone.h
Reduce code size and simplify code.
Before:
text data bss dec hex filename
46341 525288064 106933 1a1b5 drivers/hwmon/dme1737.o
After:
text data bss dec hex filename
39216 35768 384 75368 12668 drivers/hwmon/dme1737.o
A slight behavioral
On 29/11/16 12:14, Jan Beulich wrote:
On 29.11.16 at 11:50, wrote:
>> --- a/drivers/scsi/xen-scsifront.c
>> +++ b/drivers/scsi/xen-scsifront.c
>> @@ -184,8 +184,6 @@ static struct vscsiif_request *scsifront_pre_req(struct
>> vscsifrnt_info *info)
>>
>> ring_req = RING_GET_REQUEST(&(in
Hi Eduardo,
On 29 November 2016 00:59, Eduardo Valentin, wrote:
> On Wed, Oct 26, 2016 at 05:56:37PM +0100, Steve Twiss wrote:
> > +Optional properties:
> > +
> > +- dlg,tjunc-temp-polling-period-ms : Specify the polling period, measured
> > +in milliseconds, between thermal zone device update
On Tuesday, November 29, 2016 4:04:59 PM CET Maninder Singh wrote:
> This patch fixes NULL pointer dereference when pos->file is NULL.
>
> caught with static analysis tool.
> Signed-off-by: Maninder Singh
> Signed-off-by: Vaneet Narang
> ---
> scripts/dtc/srcpos.c | 3 +--
> 1 file changed, 1 i
CC linux-renesas-soc
On Tue, Sep 27, 2016 at 9:33 PM, Babu Moger wrote:
> These patches limit the static allocations for lockdep data structures
> used for debugging locking correctness. For sparc, all the kernel's code,
> data, and bss, must have locked translations in the TLB so that we don't
>
>>> On 29.11.16 at 11:50, wrote:
> --- a/drivers/scsi/xen-scsifront.c
> +++ b/drivers/scsi/xen-scsifront.c
> @@ -184,8 +184,6 @@ static struct vscsiif_request *scsifront_pre_req(struct
> vscsifrnt_info *info)
>
> ring_req = RING_GET_REQUEST(&(info->ring), ring->req_prod_pvt);
>
> -
Hi Eduardo,
Thanks for your response.
On 29 November 2016 01:24, Eduardo Valentin, wrote:
> On Wed, Oct 26, 2016 at 05:56:39PM +0100, Steve Twiss wrote:
> > +config DA9062_THERMAL
> > + tristate "DA9062/DA9061 Dialog Semiconductor thermal driver"
> > + depends on MFD_DA9062
> > + depends o
On 2016/11/21 18:01, Lorenzo Pieralisi wrote:
This patch series is v9 of a previous posting:
https://lkml.org/lkml/2016/11/16/386
v8 -> v9
- Updated bypass flag handling in ARM SMMU v3 according to
reviews
- Removed SMMUv1/v2 configuration interrupt handling
-
[...]
>>>
>>>Sorry that I didn't make myself clear.
>>>
>>>Our host PHY delay line consists of hundreds of sampling points.
>>>Each sampling point represents a different phase shift.
>>>
>>>In lower speed mode, our host driver will scan the delay line.
>>>It will select an
On Mon, Nov 28, 2016 at 07:56:48PM -0800, Hugh Dickins wrote:
> On Mon, 14 Nov 2016, Kirill A. Shutemov wrote:
> > On Fri, Nov 11, 2016 at 01:41:11PM -0800, Hugh Dickins wrote:
> > >
> > > Certainly the new condition is easier to understand than the old
> > > condition:
> > > which is a plus, eve
On Mon, Nov 28, 2016 at 11:43 PM, David Miller wrote:
> From: Anatoly Pugachev
> Date: Mon, 28 Nov 2016 23:40:34 +0300
>
>> On Mon, Nov 28, 2016 at 5:29 PM, Geert Uytterhoeven
>> wrote:
>>> On Mon, Nov 28, 2016 at 3:27 PM, Geert Uytterhoeven
>>> wrote:
JFYI, when comparing v4.9-rc7[1] to v
Looks like my boot issue might be kvm related. System boots fine with
CONFIG_KVM=m
--- .config 2016-11-29 02:41:24.753930839 -0800
+++ .config.working 2016-11-29 02:41:11.029065291 -0800
@@ -3544,7 +3544,7 @@
# CONFIG_IMG_ASCII_LCD is not set
# CONFIG_UIO is not set
# CONFIG_VFIO is not set
-
On Tue, Nov 29, 2016 at 11:55:47AM +0100, Jacek Anaszewski wrote:
> On 11/29/2016 11:21 AM, Tin Huynh wrote:
> > This patch enables ACPI support for leds-pca963x driver.
> >
> > Signed-off-by: Tin Huynh
> > ---
> > drivers/leds/leds-pca963x.c | 25 -
> > 1 files changed
On Fri, Nov 25, 2016 at 04:34:32PM +0100, Vincent Guittot wrote:
> During fork, the utilization of a task is init once the rq has been
> selected because the current utilization level of the rq is used to set
> the utilization of the fork task. As the task's utilization is still
> null at this step
DCFG/DSTS.FULLSPEED can be either 0x1 or 0x3.
Let's call 0x1 as DCFG/DSTS_FULLSPEED1 and 0x3 as DCFG/DSTS_FULLSPEED3.
Signed-off-by: Roger Quadros
---
drivers/usb/dwc3/core.h | 8
drivers/usb/dwc3/gadget.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/driver
DCFG.DEVSPD == 0x3 is not valid and we need to set
DCFG.DEVSPD to 0x1 for full speed mode.
Signed-off-by: Roger Quadros
---
drivers/usb/dwc3/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 1dfa56a5f..797e013
Hi,
Although full speed gadget mode isn't really broken on my boards,
we are not strictly following the dwc3 manual with regards to
the DCFG.DEVSPD configuration. This series fixes that.
cheers,
-roger
Roger Quadros (2):
usb: dwc3: gadget: Fix full speed mode
usb: dwc3: gadget: Clean up DCFG
On 11/29/2016 11:21 AM, Tin Huynh wrote:
This patch enables ACPI support for leds-pca963x driver.
Signed-off-by: Tin Huynh
---
drivers/leds/leds-pca963x.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
Change from V1:
-Add CONFIG_ACPI.
diff --git a/driv
On Monday 28 November 2016 05:45 PM, Bartosz Golaszewski wrote:
> Due to memory throughput constraints any display mode for which the
> pixel clock rate exceeds the recommended value of 37500 KHz must be
> filtered out.
I think there might be more reasons than memory throughput constraints
for the
When allocating a new ring slot for a request don't advance the
producer index until the request is really ready to go to the backend.
Otherwise only partially filled requests will be visible to the
backend in case of errors on the frontend side.
In scsifront_action_handler() free the request id i
Hi Allan,
On 29/11/16 08:54, ASIX_Allan [Office] wrote:
> Dear Jon ,
>
> We can reproduce your issue on x86 Linux kernel 4.9.0-rc system in our site
> and modified the following code can fix this issue. Please let us know if
> you still have problems. Thanks a lot.
>
> static void ax88772_suspen
Vinod,
On 11/17/2016 02:50 PM, Peter Ujfalusi wrote:
> Some slave devices uses address window instead of single register for read
> and/or write of data. With the src/dst_port_window_size the address window
> can be specified and the DMAengine driver should use this information to
> correctly set
On Tue, Nov 29, 2016 at 05:21:50PM +0700, Tin Huynh wrote:
> This patch enables ACPI support for leds-pca963x driver.
>
> Signed-off-by: Tin Huynh
Acked-by: Mika Westerberg
Signed-off-by: Neil Armstrong
---
.../bindings/display/meson/meson-drm.txt | 134 +
1 file changed, 134 insertions(+)
create mode 100644
Documentation/devicetree/bindings/display/meson/meson-drm.txt
diff --git a/Documentation/devicetree/bindings/display/meson/meso
Add myself as maintainer for Amlogic DRM drivers.
Signed-off-by: Neil Armstrong
---
MAINTAINERS | 9 +
1 file changed, 9 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9cab85a..b6e80c5 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4085,6 +4085,15 @@ S: Supported
F:
The Amlogic Meson Display controller is composed of several components :
DMC|---VPU (Video Processing Unit)|--HHI--|
| vd1 ___ __ | |
D |---| ||| |||
Add Video Processing Unit and CVBS Output nodes, and enable CVBS on selected
boards.
Signed-off-by: Neil Armstrong
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 46 ++
.../boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts| 4 ++
arch/arm64/boot/dts/amlogic/meson-gxb
This a repost of the previous RFC at [1] with fixes, the following patches will
be sent via a PULL Request once the Amlogic maintainer acks and takes the DT
patches to avoid merges conflicts.
The Amlogic Meson SoCs embeds a Video Processing Unit able to output at least
a Composite/CVBS Video with
On Fri, Nov 25, 2016 at 1:33 AM, Nikolaus Rath wrote:
> On Nov 24 2016, Miklos Szeredi wrote:
>> On Thu, Nov 24, 2016 at 12:11 AM, Nikolaus Rath wrote:
>>> Hello,
>>>
>>> Currently, both a call to umount(2) and writing "1" to
>>> /sys/fs/fuse/connections/NNN/abort will put the /dev/fuse fd into
On Tue, Nov 29, 2016 at 10:01:15AM +, Andrey Utkin wrote:
> Regarding logout scrollback clearing not working for me. ncurses-6.0-rc1
> which I tested it with is the latest available in Gentoo portage, please
> confirm whether I need any newer version, or should I tune something
> else. I'd appr
On 10/11/16 18:54, Gautham R. Shenoy wrote:
> From: "Gautham R. Shenoy"
>
> Currently all the low-power idle states are expected to wake up
> at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SEQ
> that puts the CPU to an idle state and never returns.
>
> On ISA_300, when the ESL
This patch fixes NULL pointer dereference when pos->file is NULL.
caught with static analysis tool.
Signed-off-by: Maninder Singh
Signed-off-by: Vaneet Narang
---
scripts/dtc/srcpos.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/dtc/srcpos.c b/scripts/dtc/srcpos
David Howells wrote:
> It would have to be more like pr_err("Hard-coded device addresses, irqs and
> dma channels are not permitted when the kernel is locked down."), possibly
> with the addition of either "The driver has been disabled" or "These settings
> have been ignored".
That should be "Co
Hi Marcin,
On mar., nov. 29 2016, Marcin Wojtas wrote:
> Gregory,
>
> 2016-11-29 11:19 GMT+01:00 Gregory CLEMENT
> :
>> Hi Marcin,
>>
>> On mar., nov. 29 2016, Marcin Wojtas wrote:
>>
>>> Hi Gregory,
>>>
>>> Another remark below, sorry for noise.
>>>
>>> 2016-11-29 10:37 GMT+01:00 Gregory C
On Tue, 29 Nov 2016, Daniel Vetter wrote:
> We already had a super-short blurb, but worth extending it I think:
> We're still pretty far away from anything like a consensus, but
> there's clearly a lot of people who prefer an as-light as possible
> approach to converting existing .txt files to .rs
Hi Ulf,
On 2016/11/29 15:49, Ulf Hansson wrote:
> On 29 November 2016 at 03:53, Ziji Hu wrote:
>> Hi Ulf,
>>
>> On 2016/11/28 23:16, Ulf Hansson wrote:
>>> On 28 November 2016 at 12:38, Ziji Hu wrote:
Hi Ulf,
On 2016/11/28 19:13, Ulf Hansson wrote:
>>
>> As you suggest
On Mon, Nov 28, 2016 at 05:03:36PM -0600, Grygorii Strashko wrote:
> +static void cpts_calc_mult_shift(struct cpts *cpts)
> +{
> + u64 frac, maxsec, ns;
> + u32 freq, mult, shift;
> +
> + freq = clk_get_rate(cpts->refclk);
> +
> + /* Calc the maximum number of seconds which we can r
Gregory,
2016-11-29 11:19 GMT+01:00 Gregory CLEMENT :
> Hi Marcin,
>
> On mar., nov. 29 2016, Marcin Wojtas wrote:
>
>> Hi Gregory,
>>
>> Another remark below, sorry for noise.
>>
>> 2016-11-29 10:37 GMT+01:00 Gregory CLEMENT
>> :
>>> Until now the virtual address of the received buffer were st
Analog Devices ADG792A/G is a triple 4:1 mux.
Signed-off-by: Peter Rosin
---
.../devicetree/bindings/misc/mux-adg792a.txt | 82 ++
1 file changed, 82 insertions(+)
create mode 100644 Documentation/devicetree/bindings/misc/mux-adg792a.txt
diff --git a/Documentation/dev
When a multiplexer changes how an iio device behaves (for example
by feeding different signals to an ADC), this driver can be used
to create one virtual iio channel for each multiplexer state.
Depends on the generic multiplexer subsystem.
Cache any ext_info values from the parent iio channel, cre
Am 29.11.2016 um 10:23 schrieb Daniel Vetter :
> We already had a super-short blurb, but worth extending it I think:
> We're still pretty far away from anything like a consensus, but
> there's clearly a lot of people who prefer an as-light as possible
> approach to converting existing .txt files
Signed-off-by: Peter Rosin
---
.../devicetree/bindings/i2c/i2c-mux-simple.txt | 81 ++
1 file changed, 81 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mux-simple.txt
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mux-simple.txt
b/Do
Hi!
v4 -> v5 changes
- remove support for fancier dt layouts and go back to the phandle
approach from v2 and before, killing the horrible non-working
refcounting crap from v4 and avoiding a bunch of life-time issues
in v3.
- introduce the concept of a mux-chip, that can hold one or more
mu
On Mon, Nov 28, 2016 at 11:52:41PM -0600, Josh Poimboeuf wrote:
> On Mon, Nov 28, 2016 at 04:40:21PM -0800, Paul E. McKenney wrote:
> > On Mon, Nov 28, 2016 at 03:54:11PM -0600, Josh Poimboeuf wrote:
> > > On Thu, Nov 24, 2016 at 12:33:48PM -0500, Vince Weaver wrote:
> > > >
> > > > This is on a s
On 2016/11/27 7:15, subas...@codeaurora.org wrote:
> On 2016-11-26 02:13, Yisheng Xie wrote:
>> --
>> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
>> index 706309f..40e9285 100644
>> --- a/kernel/sysctl.c
>> +++ b/kernel/sysctl.c
>> @@ -2485,10 +2485,14 @@ static int __do_pr
On Sat, Nov 26, 2016 at 9:05 PM, Eric Dumazet wrote:
>> I actually see multiple places where skb_network_offset() is used as
>> an argument to skb_pull().
>> So I guess every place can potentially be buggy.
>
> Well, I think the intent is to accept a negative number.
I'm not sure that was the int
Add a new minimalistic subsystem that handles multiplexer controllers.
When multiplexers are used in various places in the kernel, and the
same multiplexer controller can be used for several independent things,
there should be one place to implement support for said multiplexer
controller.
A singl
This is a generic simple i2c mux that uses the generic multiplexer
subsystem to do the muxing.
The user can select if the mux is to be mux-locked and parent-locked
as described in Documentation/i2c/i2c-topology.
Signed-off-by: Peter Rosin
---
drivers/i2c/muxes/Kconfig | 13 +++
driver
Signed-off-by: Peter Rosin
---
.../devicetree/bindings/misc/mux-controller.txt| 153 +
.../devicetree/bindings/misc/mux-gpio.txt | 85
MAINTAINERS| 5 +
3 files changed, 243 insertions(+)
create mode 100644
On 11/29/2016 11:09 AM, Tin Huynh wrote:
Hi
I got a small bug when compiling without CONFIG_ACPI
I will send out the patch to fix the problem later.
Dropping the patch then.
Could you share the details?
Thanks,
Jacek Anaszewski
On Tue, Nov 29, 2016 at 5:04 PM, Jacek Anaszewski
wrote:
Hi Ti
This patch enables ACPI support for leds-pca963x driver.
Signed-off-by: Tin Huynh
---
drivers/leds/leds-pca963x.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
Change from V1:
-Add CONFIG_ACPI.
diff --git a/drivers/leds/leds-pca963x.c b/drivers/leds/leds
Hi Marcin,
On mar., nov. 29 2016, Marcin Wojtas wrote:
> Hi Gregory,
>
> Another remark below, sorry for noise.
>
> 2016-11-29 10:37 GMT+01:00 Gregory CLEMENT
> :
>> Until now the virtual address of the received buffer were stored in the
>> cookie field of the rx descriptor. However, this fie
Hi Marcin,
On mar., nov. 29 2016, Marcin Wojtas wrote:
> Hi Gregory,
>
> Apparently HWBM had a mistake in implementation, please see below.
>
> 2016-11-29 10:37 GMT+01:00 Gregory CLEMENT
> :
>> Until now the virtual address of the received buffer were stored in the
>> cookie field of the rx d
On Mon, Nov 28, 2016 at 12:56 PM, Amir Goldstein wrote:
> On Mon, Nov 28, 2016 at 12:35 PM, Miklos Szeredi wrote:
>> On Mon, Nov 28, 2016 at 10:10 AM, Amir Goldstein wrote:
[...]
>>> I may be way off here, but why do you need to lookup entry and get ino
>>> from xattr at all? Wouldn't it be ea
those functions should not be used outside of rmi_core.ko.
There is no point in exporting them to the world.
It looks like rmi_read_pdt_entry() should be static too.
Signed-off-by: Benjamin Tissoires
---
drivers/input/rmi4/rmi_driver.c | 15 ++-
drivers/input/rmi4/rmi_driver.h | 3
On Mon, Nov 28, 2016 at 05:03:33PM -0600, Grygorii Strashko wrote:
> From: WingMan Kwok
>
> When a CPTS user does not exit gracefully by disabling cpts
> timestamping and leaving a joined multicast group, the system
> continues to receive and timestamps the ptp packets which eventually
> occupy a
On Fri, Nov 25, 2016 at 10:21:21AM +0200, Sakari Ailus wrote:
Hi Sakari,
> On Wed, Nov 23, 2016 at 04:15:11PM +, Javi Merino wrote:
> > On Wed, Nov 23, 2016 at 05:10:42PM +0200, Sakari Ailus wrote:
> > > Hi Javi,
> >
> > Hi Sakari,
> >
> > > On Wed, Nov 23, 2016 at 10:09:57AM +, Javi Mer
On Mon, Nov 28, 2016 at 05:03:34PM -0600, Grygorii Strashko wrote:
> CPTS module and IRQs are always enabled when CPTS is registered,
> before starting overflow check work, and disabled during
> deregistration, when overflow check work has been canceled already.
> So, It doesn't require to (re)enab
If struct rmi_device_platform_data contains pointers to other struct,
it gets difficult to allocate a fixed size struct and copy it over between
drivers.
Change the pointers into a struct and change the code in rmi4 accordingly.
Reviewed-by: Andrew Duggan
Signed-off-by: Benjamin Tissoires
---
This partially reverts commit 29fd0ec2bdbe ("Input: synaptics-rmi4 -
add support for F34 device reflash")
irq_mutex should be used only to protect data->current_irq_mask, not
preventing incoming input to be processed while the upgrade of the
firmware is happening. We can simply disable the irqs wh
Extend the inkern api with functions for reading and writing ext_info
of iio channels.
Signed-off-by: Peter Rosin
---
drivers/iio/inkern.c | 60
include/linux/iio/consumer.h | 37 +++
2 files changed, 97 insertions(+)
These fields are not used anywhere, there is no point in carrying them.
Signed-off-by: Benjamin Tissoires
---
include/linux/rmi.h | 4
1 file changed, 4 deletions(-)
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 27dd9aa..0b118ab 100644
--- a/include/linux/rmi.h
+++ b/include
Signed-off-by: Peter Rosin
---
.../bindings/iio/multiplexer/iio-mux.txt | 51 ++
MAINTAINERS| 6 +++
2 files changed, 57 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iio/multiplexer/iio-mux.txt
diff --
Analog Devices ADG792A/G is a triple 4:1 mux.
Signed-off-by: Peter Rosin
---
drivers/misc/Kconfig | 12
drivers/misc/Makefile | 1 +
drivers/misc/mux-adg792a.c | 154 +
3 files changed, 167 insertions(+)
create mode 100644 drivers/m
This patch enables ACPI support for mux-pca954x driver.
Signed-off-by: Tin Huynh
---
drivers/i2c/muxes/i2c-mux-pca954x.c | 28 +++-
1 files changed, 27 insertions(+), 1 deletions(-)
Change from V4:
-Add ACPI_PTR.
Change from V3:
-Readd CONFIG_ACPI.
Change from V2:
From: Lyude Paul
This adds basic functionality for PS/2 passthrough on Synaptics
Touchpads using RMI4 through smbus.
Reviewed-by: Andrew Duggan
Signed-off-by: Lyude Paul
Signed-off-by: Benjamin Tissoires
---
drivers/input/mouse/psmouse-base.c | 6 +
drivers/input/rmi4/Kconfig |
On Tue, Nov 29, 2016 at 07:02:23PM +0900, Chanwoo Choi wrote:
> This patchs split out the extcon APIs of extcon provider driver in order to
> prevent the direct access of struct extcon_dev by extcon consumer driver.
> The extcon consumer driver don't need to handle the extcon provider APIs.
>
> Th
On Mon, Nov 28, 2016 at 05:03:32PM -0600, Grygorii Strashko wrote:
> +static int cpts_of_parse(struct cpts *cpts, struct device_node *node)
> +{
> + int ret = -EINVAL;
> + u32 prop;
> +
> + if (of_property_read_u32(node, "cpts_clock_mult", &prop))
> + goto of_error;
> +
From: Andrew Duggan
With the addition of HID and F12 support in the synaptics-rmi4 driver
touchpads which had been using the hid-multitouch driver can now
be support by the synaptics-rmi4 via hid-rmi. The advantage is that
additional data can be reported from the RMI registers which is not
availa
From: Andrew Duggan
The Synaptics RMI4 driver provides support for RMI4 devices. Instead of
duplicating the RMI4 processing code, make hid-rmi a transport driver
and register it with the Synaptics RMI4 core.
Signed-off-by: Andrew Duggan
Signed-off-by: Benjamin Tissoires
---
drivers/hid/Kconfi
From: Andrew Duggan
Signed-off-by: Andrew Duggan
Signed-off-by: Benjamin Tissoires
---
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-rmi.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index 2da75d4..e5356dc
Hi
I got a small bug when compiling without CONFIG_ACPI
I will send out the patch to fix the problem later.
On Tue, Nov 29, 2016 at 5:04 PM, Jacek Anaszewski
wrote:
> Hi Tin,
>
> Thanks for the update.
>
> On 11/29/2016 10:15 AM, Mika Westerberg wrote:
>>
>> Acked-by: Mika Westerberg
>
>
> Mika,
The HID implementation of RMI4 provides the data during
the interrupt (in the input report). We need to provide
a way for this transport driver to provide the attention
data while calling an IRQ.
We use a fifo in rmi_core to not lose any incoming event.
Signed-off-by: Benjamin Tissoires
---
dri
Hi guys,
This series applies on top of Dmitry's synaptics-rmi4 branch.
Patches 1-6 are cleanups which should be applied on this branch before it
gets merged with linux-next IMO. Nick, I updated the patch since our last
tests from last week. I'd be glad if you could give an other spin at testing
(
Now that we have a proper API to set the attention data, there is
no point in keeping it in the transport driver.
Signed-off-by: Benjamin Tissoires
---
drivers/input/rmi4/rmi_driver.c | 5 ++---
drivers/input/rmi4/rmi_f03.c| 13 +++--
drivers/input/rmi4/rmi_f11.c| 12 ++-
From: Dennis Wassenberg
First check if there are data available passed by the transport device.
If data available use these data. If there are no data available
try to read the rmi block if dsata are passed this way.
This is the way the other rmi function handlers will do this.
This patch is ne
Typos...
Signed-off-by: Benjamin Tissoires
---
include/linux/rmi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/rmi.h b/include/linux/rmi.h
index 8499b6a..27dd9aa 100644
--- a/include/linux/rmi.h
+++ b/include/linux/rmi.h
@@ -108,7 +108,7 @@ struct rmi_2d_se
Set the .enabled boolean and trigger an event processing when enabling
for edge-triggered systems.
Signed-off-by: Benjamin Tissoires
---
drivers/input/rmi4/rmi_driver.c | 83 +++--
drivers/input/rmi4/rmi_driver.h | 2 +
include/linux/rmi.h | 1 +
901 - 1000 of 1099 matches
Mail list logo