[PATCH v1 3/6] ARM: davinci: don't use static clk_lookup

2017-12-01 Thread David Lechner
In preparation of moving to the common clock framework, usage of static struct clk_lookup is removed. The common clock framework uses an opaque struct clk, so we won't be able to use static tables as was previously done. Each CPU family is given a new CPU-specific init_time function that

[PATCH v1 2/6] ARM: davinci: move davinci_clk_init() to init_time

2017-12-01 Thread David Lechner
This moves the call of davinci_clk_init() from map_io to init_time for all boards. This is the proper place to init clocks. This is also done in preparation for moving to the common clock framework. Signed-off-by: David Lechner --- arch/arm/mach-davinci/da830.c | 2 --

[PATCH v1 6/6] ARM: davinci: remove clock debugfs

2017-12-01 Thread David Lechner
This removed the debugfs entry for mach-davinci clocks. The clocks now use the common clock framework, which provides debugfs already, so this code is redundant. Signed-off-by: David Lechner --- arch/arm/mach-davinci/clock.c | 79 ---

[PATCH v1 1/6] ARM: davinci: clean up map_io functions

2017-12-01 Thread David Lechner
This cleans up the map_io functions in the board init files for mach-davinci. Most of the boards had a wrapper function around _init(). This wrapper is removed and the function is used directly. Additionally, the _init() functions are renamed to _map_io() to match the field name. Signed-off-by:

[PATCH v1 4/6] ARM: davinci: make davinci_clk_reset() static

2017-12-01 Thread David Lechner
This makes davinci_clk_reset() static. It is not used anywhere else. Signed-off-by: David Lechner --- arch/arm/mach-davinci/clock.c | 3 +-- arch/arm/mach-davinci/clock.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/clock.c

Re: [PATCH 9/9] ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

2017-12-01 Thread Nicolin Chen
[PATCH 9/9] ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h Please ignore the "9/9" in the tag...I forgot to clean it. It would be removed after getting applied though...

[PATCH] perf c2c: Add a tip about cacheline events

2017-12-01 Thread Sangwon Hong
Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Sangwon Hong --- tools/perf/Documentation/tips.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt index

Re: [PATCH v5 10/12] perf util: Reuse thread_map__new_by_uid to enumerate threads from /proc

2017-12-01 Thread Jin, Yao
On 12/1/2017 11:02 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Dec 01, 2017 at 11:44:25AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Dec 01, 2017 at 06:57:34PM +0800, Jin Yao escreveu: Perf already has a function thread_map__new_by_uid() which can enumerate all threads from /proc by

[PATCH 9/9] ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

2017-12-01 Thread Nicolin Chen
The machine driver links both imx-ssi (legacy non-DT driver) and fsl_ssi (up-to-date DT based driver). So It also includes both imx-ssi.h and fsl_ssi.h header files. This creates a limitation for two header files -- they can't define anything with identical names. Since the eukrea-tlv320 machine

Re: [PATCH] compiler, clang: handle randomizable anonymous structs

2017-12-01 Thread Alexei Starovoitov
On Thu, Nov 09, 2017 at 12:16:45PM +0530, Sandipan Das wrote: > The GCC randomize layout plugin can randomize the member > offsets of sensitive kernel data structures. To use this > feature, certain annotations and members are added to the > structures which affect the member offsets even if this

[PATCH v1 0/6] ARM: davinci: convert to common clock framework

2017-12-01 Thread David Lechner
This series takes the first steps towards moving mach-davinci to the common clock framework. Basically, this series does some cleanup and rearranging to get things ready for the conversion. Then in "ARM: davinci: convert to common clock framework" we actually make the conversion. This is done by

RISC-V Memory Consistency Model Draft Specification

2017-12-01 Thread Palmer Dabbelt
I'm not sure what the best way to make sure this gets to all the right people is, so I've CC'd everyone I could find who contributed to our recent RISC-V related memory model discussions on LKML. Sorry if this ends up blowing up someone's inbox. Daniel Lustig, the chair of the RISC-V memory

Re: [PATCH v5 10/12] perf util: Reuse thread_map__new_by_uid to enumerate threads from /proc

2017-12-01 Thread Jin, Yao
On 12/1/2017 10:44 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Dec 01, 2017 at 06:57:34PM +0800, Jin Yao escreveu: Perf already has a function thread_map__new_by_uid() which can enumerate all threads from /proc by uid. This patch creates a static function enumerate_threads() which reuses the

[PATCH 2/2] x86/kpti: Reference all cpu_entry_area pagetables in the usermode tables

2017-12-01 Thread Andy Lutomirski
We were manually configuring cpu_entry_area in the usermode tables. This was error-prone and wasted memory. (Not much memory, but still.) Instead, just reference the same pagetables. This avoids needing to keep the KPTI code and the normal cpu_entry_area code in sync, since the KPTI code no

[PATCH 0/2] KPTI: get rid of cpu_entry_area mapping duplication

2017-12-01 Thread Andy Lutomirski
I like this variant much better. It might also fix the nasty bug tglx and peterz were chasing. Andy Lutomirski (2): Undo the split of setup_cpu_entry_area x86/kpti: Reference all cpu_entry_area pagetables in the usermode tables arch/x86/include/asm/fixmap.h | 14 +---

[PATCH 1/2] Undo the split of setup_cpu_entry_area

2017-12-01 Thread Andy Lutomirski
This is obviously a hack. Either the patch should be adjusted back to the version I sent or trap_init should forcibly initialize all PMDs by something like __set_fixmap(..., __mkpte(0)); or however it's spelled. --- arch/x86/kernel/smpboot.c | 2 ++ arch/x86/kernel/traps.c | 6 +- 2 files

Re: [PATCH 16/21] x86/entry/64: Use a per-CPU trampoline stack for IDT entries

2017-12-01 Thread Kevin Easton
> From: Dave Hansen > > The "SYSENTER" stack is used for a lot more than SYSENTER now. > Give it a better string to display in stack dumps. > > We should probably cleanse the 64-bit code of the remaining > "SYSENTER" nomenclature too at some point. > >

Re: [PATCH v5 02/12] perf util: Define a structure for runtime shadow stats

2017-12-01 Thread Jin, Yao
On 12/1/2017 10:02 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Dec 01, 2017 at 06:57:26PM +0800, Jin Yao escreveu: Perf has a set of static variables to record the runtime shadow metrics stats. While if we want to record the runtime shadow stats for per-thread, it will be the limitation.

Re: [PATCH v5 03/12] perf util: Extend rbtree to support shadow stats

2017-12-01 Thread Jin, Yao
On 12/1/2017 10:10 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Dec 01, 2017 at 06:57:27PM +0800, Jin Yao escreveu: Previously the rbtree was used to link generic metrics. Try to make the one line subject more descriptive, I'm changing it to: perf stat: Extend rbtree to support per-thread

Re: [PATCH 9/9] ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

2017-12-01 Thread Nicolin Chen
On Fri, Dec 01, 2017 at 10:23:25PM -0800, Nicolin Chen wrote: > The eukrea-tlv320 driver is still compiled successfully without > any erorr using imx_v6_v6_defconfig, after removing it. A typo here, should be imx_v6_v7_defconfig. Sending a v2 anyway. Please ignore this version. Thanks.

[PATCH v2] ASoC: eukrea-tlv320: Remove include line of fsl_ssi.h

2017-12-01 Thread Nicolin Chen
The machine driver links both imx-ssi (legacy non-DT driver) and fsl_ssi (up-to-date DT based driver). So It also includes both imx-ssi.h and fsl_ssi.h header files. This creates a limitation for two header files -- they can't define anything with identical names. Since the eukrea-tlv320 machine

Re: [PATCH 0/2] Add devicetree for Axentia Nattis

2017-12-01 Thread Peter Rosin
On 2017-12-02 02:05, Javier Martinez Canillas wrote: > Hello Peter, > > On Fri, Dec 1, 2017 at 11:44 PM, Peter Rosin wrote: >> Hi! >> >> I'd like to add a devicetree for our Nattis to the kernel. The >> Nattis is a device for showing departures for public transportation >>

[PATCH v1 5/6] ARM: davinci: convert to common clock framework

2017-12-01 Thread David Lechner
This converts the clocks in mach-davinci to the common clock framework. Most of the patch just involves renaming struct clk to struct davinci_clk. There is also a struct clk_hw added to provide the bridge between the existing clock implementation and the common clock framework. In clock.c: *

[PATCH net-next v2] net: dsa: Allow compiling out legacy support

2017-12-01 Thread Florian Fainelli
Introduce a configuration option: CONFIG_NET_DSA_LEGACY allowing to compile out support for the old platform device and Device Tree binding registration. Support for these configurations is scheduled to be removed in 4.17. Signed-off-by: Florian Fainelli --- Changes in v2:

[PATCH] fix system_state checking in early_ioremap

2017-12-01 Thread Dave Young
Since below commit earlyprintk=efi,keep does not work any more with a warning in mm/early_ioremap.c: WARN_ON(system_state >= SYSTEM_RUNNING): commit 69a78ff226fe ("init: Introduce SYSTEM_SCHEDULING state") Reason is the the original assumption is SYSTEM_BOOTING equal to system_state <

[PATCH V5 3/7] device property: Introduce a common API to fetch device match data

2017-12-01 Thread Sinan Kaya
There is an OF/ACPI function to obtain the driver data. We want to hide OF/ACPI details from the device drivers and abstract following the device family of functions. Signed-off-by: Sinan Kaya --- drivers/base/property.c | 7 +++ include/linux/fwnode.h | 4

[PATCH V5 5/7] ACPI: properties: Implement get_match_data() callback

2017-12-01 Thread Sinan Kaya
Now that we have a get_match_data() callback as part of the firmware node, implement the ACPI specific piece for it. Signed-off-by: Sinan Kaya --- drivers/acpi/property.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/acpi/property.c

[PATCH V5 1/7] Documentation: DT: qcom_hidma: Bump HW revision for the bugfixed HW

2017-12-01 Thread Sinan Kaya
A new version of the HIDMA IP has been released with bug fixes. Bumping the hardware version to differentiate from others. Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH V5 7/7] dmaengine: qcom_hidma: Add identity register support

2017-12-01 Thread Sinan Kaya
The location for destination event channel register has been relocated from offset 0x28 to 0x40. Update the code accordingly. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH V5 6/7] dmaengine: qcom_hidma: Add support for the new revision

2017-12-01 Thread Sinan Kaya
Add support for probing the newer HW and also organize MSI capable hardware into an array for maintenance reasons. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma.c | 34 +- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git

[PATCH 1/1] timecounter: Make cyclecounter struct part of timecounter struct

2017-12-01 Thread Sagar Arun Kamble
There is no real need for the users of timecounters to define cyclecounter and timecounter variables separately. Since timecounter will always be based on cyclecounter, have cyclecounter struct as member of timecounter struct. Suggested-by: Chris Wilson Signed-off-by:

[PATCH V5 2/7] ACPI / bus: Introduce acpi_get_match_data() function

2017-12-01 Thread Sinan Kaya
OF has of_device_get_match_data() function to extract driver specific data structure. Add a similar function for ACPI. Signed-off-by: Sinan Kaya --- drivers/acpi/bus.c | 13 + include/linux/acpi.h | 8 2 files changed, 21 insertions(+) diff --git

[PATCH V5 4/7] OF: properties: Implement get_match_data() callback

2017-12-01 Thread Sinan Kaya
Now that we have a get_match_data() callback as part of the firmware node, implement the OF specific piece for it. Signed-off-by: Sinan Kaya --- drivers/of/property.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/of/property.c

[PATCH v2] ubsan: don't handle misaligned address when support unaligned access

2017-12-01 Thread Ding Tianhong
The ubsan always report Warning just like: UBSAN: Undefined behaviour in ../include/linux/etherdevice.h:386:9 load of misaligned address ffc069ba0482 for type 'long unsigned int' which requires 8 byte alignment CPU: 0 PID: 901 Comm: sshd Not tainted 4.xx+ #1 Hardware name: linux,dummy-virt

Re: [PATCH v5 06/12] perf util: Update and print per-thread shadow stats

2017-12-01 Thread Jin, Yao
On 12/1/2017 10:21 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Dec 01, 2017 at 06:57:30PM +0800, Jin Yao escreveu: The functions perf_stat__update_shadow_stats() and perf_stat__print_shadow_statss() are called to update and print the shadow stats on a set of static variables. But the static

Re: [PATCH tip/core/rcu 20/21] checkpatch: Add warnings for {smp_,}read_barrier_depends()

2017-12-01 Thread Joe Perches
On Fri, 2017-12-01 at 13:44 -0800, Paul E. McKenney wrote: > On Fri, Dec 01, 2017 at 12:14:17PM -0800, Joe Perches wrote: > > On Fri, 2017-12-01 at 11:51 -0800, Paul E. McKenney wrote: > > > Now that both smp_read_barrier_depends() and read_barrier_depends() > > > are being de-emphasized, warn if

Re: [PATCH 2/2] ipc: Fix ipc data structures inconsistency

2017-12-01 Thread Manfred Spraul
Hi, On 12/01/2017 06:20 PM, Davidlohr Bueso wrote: On Thu, 30 Nov 2017, Philippe Mikoyan wrote: As described in the title, this patch fixes id_ds inconsistency when ctl_stat runs concurrently with some ds-changing function, e.g. shmat, msgsnd or whatever. For instance, if shmctl(IPC_STAT) is

4.14.0: built-in drivers now require built-in firmware?

2017-12-01 Thread Bob Tracy
The subject question is due to trouble encountered on a DEC Alpha getting the 4.14.0 kernel to see the machine's SCSI disks at boot time. I'm using the standard kernel source tree, and have long made it a practice to build-in the drivers for devices required at boot time (such as for the video

[PATCH v2] net: macb: change GFP_KERNEL to GFP_ATOMIC

2017-12-01 Thread Julia Lawall
Function gem_add_flow_filter called on line 2958 inside lock on line 2949 but uses GFP_KERNEL Generated by: scripts/coccinelle/locks/call_kern.cocci Fixes: ae8223de3df5 ("net: macb: Added support for RX filtering") CC: Rafal Ozieblo Signed-off-by: Julia Lawall

RE: [PATCH 01/43] x86/decoder: Add new TEST instruction pattern

2017-12-01 Thread Robert Elliott (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Ingo Molnar > Sent: Friday, November 24, 2017 3:14 AM > To: linux-kernel@vger.kernel.org > Subject: [PATCH 01/43] x86/decoder: Add new TEST instruction pattern > >

[PATCH] KVM: X86: Reduce the overhead when lapic_timer_advance is disabled

2017-12-01 Thread Wanpeng Li
When I run ebizzy in a 32 vCPUs guest on a 32 pCPUs Xeon box, I can observe ~8000 kvm_wait_lapic_expire CurAvg/s through kvm_stat tool even if the advance tscdeadline hrtimer expiration is disabled. Each call to wait_lapic_expire() will consume ~70 cycles when a timer fires since

Re: KASAN: stack-out-of-bounds Read in xfrm_state_find (3)

2017-12-01 Thread Dmitry Vyukov
On Fri, Dec 1, 2017 at 8:27 AM, Steffen Klassert wrote: > On Wed, Nov 22, 2017 at 08:05:00AM -0800, syzbot wrote: >> syzkaller has found reproducer for the following crash on >> 0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c >>

Re: [PATCH v3 4/4] DTS: Pandora: fix panel compatibility string

2017-12-01 Thread Tomi Valkeinen
On 01/12/17 00:06, Sebastian Reichel wrote: How about let's call it a "typo fix" then? :) >>> >>> Well, it is not really a typo. >> >> Well what if the stable people pick it into earlier stable series >> based on the word fix in the subject? That has happened before. >> >> I suggest you

Re: [PATCH 0/4] Backported amdgpu ttm deadlock fixes for 4.14

2017-12-01 Thread Christian König
Am 01.12.2017 um 01:23 schrieb Lyude Paul: I haven't gone to see where it started, but as of late a good number of pretty nasty deadlock issues have appeared with the kernel. Easy reproduction recipe on a laptop with i915/amdgpu prime with lockdep enabled: DRI_PRIME=1 glxinfo Acked-by:

Re: [Intel-gfx] [RFC PATCH 3/6] drm/i915: Add HDCP framework + base implementation

2017-12-01 Thread Ramalingam C
On Friday 01 December 2017 01:06 PM, Daniel Vetter wrote: On Fri, Dec 01, 2017 at 12:53:31PM +0530, Ramalingam C wrote: Sean, IMHO, it will good if we can have all generic hdcp1.4 authentication flow in drm helpers and all interested display drivers to use them. This Design will make the

Re: [PATCH v13 5/7] mm, oom: add cgroup v2 mount option for cgroup-aware OOM killer

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 15:28:22, Roman Gushchin wrote: > Add a "groupoom" cgroup v2 mount option to enable the cgroup-aware > OOM killer. If not set, the OOM selection is performed in > a "traditional" per-process way. > > The behavior can be changed dynamically by remounting the cgroupfs. Is it ok to

[PATCH v5 2/6] dt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation

2017-12-01 Thread Neil Armstrong
Solomon Goldentek Display Corporation is a Taiwanese LCD/LCM manufacturer. Company Site: http://www.goldentek.com.tw Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1

[PATCH v5 6/6] ARM: imx_v6_v7_defconfig: Add missing config for DART-MX6 SoM

2017-12-01 Thread Neil Armstrong
This patch adds the missing configs for the DART-MX6 SoM support : - SERDEV bluetooth driver + SERIAL_DEV_BUS configs - WL18XX driver - DEFAULT_ON Led Trigger Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong ---

[PATCH v5 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-12-01 Thread Neil Armstrong
This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 SoM Carrier-Board. This Carrier-Board has the following : - LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display - HDMI Connector - USB Host + USB OTG Connector - 10/100/1000 Mbps Ethernet -

[PATCH v5 1/6] ARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT

2017-12-01 Thread Neil Armstrong
Add missing pinmux entry for OSC32K_32K_OUT on pad ENET_RXD0 used by the Variscite DART-MX6 SoM. Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/imx6dl-pinfunc.h | 1 + arch/arm/boot/dts/imx6q-pinfunc.h | 1 + 2

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Michal Hocko
On Fri 01-12-17 17:29:51, Dave Young wrote: > On 12/01/17 at 10:19am, Michal Hocko wrote: > > On Fri 01-12-17 16:56:57, Dave Young wrote: > > > On 11/30/17 at 10:35am, Michal Hocko wrote: > > [...] > > > > Can we exclude that range from the memblock allocator instead? E.g. what > > > > happens if

Re: [PATCH] wlcore, wl1251: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Joe Perches
On Fri, 2017-12-01 at 09:34 +, Colin King wrote: > Trivial fix to spelling mistake in error message text. [] > diff --git a/drivers/net/wireless/ti/wl1251/init.c > b/drivers/net/wireless/ti/wl1251/init.c [] > @@ -311,7 +311,7 @@ static int wl1251_hw_init_data_path_config(struct wl1251 > *wl)

[PATCH v4 11/15] soundwire: cdns: Add cadence library

2017-12-01 Thread Vinod Koul
Cadence IP implements SoundWire Master. Add base cadence library initialization and interrupt handling Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/soundwire/Kconfig

Re: [GIT PULL] hash addresses printed with %p

2017-12-01 Thread Ard Biesheuvel
On 1 December 2017 at 09:48, Greg Kroah-Hartman wrote: > On Thu, Nov 30, 2017 at 05:18:42PM +, Ard Biesheuvel wrote: >> On 30 November 2017 at 17:10, Greg Kroah-Hartman >> wrote: >> > On Thu, Nov 30, 2017 at 04:32:35PM +, Greg

Re: [PATCH v8 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-01 Thread Srinivas Kandagatla
On 01/12/17 09:51, Greg Kroah-Hartman wrote: On Thu, Nov 30, 2017 at 08:25:26PM +0100, Philippe Ombredanne wrote: On Thu, Nov 30, 2017 at 6:41 PM, wrote: [] diff --git a/drivers/slimbus/sched.c b/drivers/slimbus/sched.c new file mode 100644 index

RE: [PATCH 1/2] mtd: spi-nor: add a API to restore the addressing mode

2017-12-01 Thread Z.q. Hou
Hi Cyrille, Thanks a lot for your comments! > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] > Sent: 2017年12月1日 16:53 > To: Z.q. Hou ; linux-...@lists.infradead.org; > linux-kernel@vger.kernel.org; computersforpe...@gmail.com; >

RE: [PATCH 2/2] mtd: m25p80: restore the addressing mode when stop using the flash

2017-12-01 Thread Z.q. Hou
Hi Cyrille, Thanks for your comments! > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] > Sent: 2017年12月1日 16:58 > To: Z.q. Hou ; linux-...@lists.infradead.org; > linux-kernel@vger.kernel.org; computersforpe...@gmail.com; >

Re: [PATCH v18 06/10] virtio_ring: add a new API, virtqueue_add_one_desc

2017-12-01 Thread Wei Wang
On 12/01/2017 03:38 AM, Michael S. Tsirkin wrote: On Wed, Nov 29, 2017 at 09:55:22PM +0800, Wei Wang wrote: Current virtqueue_add API implementation is based on the scatterlist struct, which uses kaddr. This is inadequate to all the use case of vring. For example: - Some usages don't use IOMMU,

Re: [PATCH v3 1/4] omapdrm: panel: fix compatible vendor string for td028ttec1

2017-12-01 Thread Tomi Valkeinen
On 01/12/17 03:57, Rob Herring wrote: >> diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> index 0a38a0e8c925..a0dfa14f4fab 100644 >> --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c >> +++

Re: [PATCH v5] HID: hid-multitouch: support fine-grain orientation reporting

2017-12-01 Thread Jiri Kosina
On Thu, 12 Oct 2017, Wei-Ning Huang wrote: > From: Wei-Ning Huang > > The current hid-multitouch driver only allow the report of two > orientations, vertical and horizontal. We use the Azimuth orientation > usage 0x3F under the Digitizer usage page to report orientation if

[GIT PULL] Immutable branch between MFD and LED due for the v4.16 merge window

2017-12-01 Thread Lee Jones
Enjoy! The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-leds-v4.16 for you to fetch changes up to

Re: [PATCH v4 1/5] soc: qcom: Introduce QMI encoder/decoder

2017-12-01 Thread Jitendra Sharma
Hi Bjorn, Few minor comments .. On 11/30/2017 6:46 AM, Bjorn Andersson wrote: Add the helper library for encoding and decoding QMI encoded messages. The implementation is taken from lib/qmi_encdec.c of the Qualcomm kernel (msm-3.18). Modifications has been made to the public API, source

[PATCH] wlcore, wl1251: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Signed-off-by: Colin Ian King --- drivers/net/wireless/ti/wl1251/init.c | 2 +- drivers/net/wireless/ti/wlcore/acx.c | 2 +- 2 files changed, 2 insertions(+), 2

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Philippe Ombredanne
Neil, On Fri, Dec 1, 2017 at 10:19 AM, Neil Armstrong wrote: > Hi Philippe, > > On 01/12/2017 10:02, Philippe Ombredanne wrote: >> On Fri, Dec 1, 2017 at 9:54 AM, Neil Armstrong >> wrote: >>> On 30/11/2017 01:39, Shawn Guo wrote: On Wed,

[PATCH] scsi: csiostor: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Signed-off-by: Colin Ian King --- drivers/scsi/csiostor/csio_mb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v4 1/2] livepatch: send a fake signal to all blocking tasks

2017-12-01 Thread Michael Ellerman
Jiri Kosina writes: > On Wed, 15 Nov 2017, Miroslav Benes wrote: >> Live patching consistency model is of LEAVE_PATCHED_SET and >> SWITCH_THREAD. This means that all tasks in the system have to be marked >> one by one as safe to call a new patched function. Safe means when a >>

[PATCH 1/3] vhost: fix skb leak in handle_rx()

2017-12-01 Thread wexu
From: Wei Xu Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev@vger.kernel.org/msg187936.html Eventually we figured out that it was a

Re: [PATCH v8 01/13] Documentation: Add SLIMbus summary

2017-12-01 Thread Jonathan Neuschäfer
Hi, some small nits below. On Thu, Nov 30, 2017 at 05:41:48PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > SLIMbus (Serial Low Power Interchip Media Bus) is a specification > developed by MIPI (Mobile Industry Processor Interface) alliance. >

Re: [PATCH v1] PCI: Remove PCI_REASSIGN_ALL_RSRC use on arm and arm64

2017-12-01 Thread Lorenzo Pieralisi
On Thu, Nov 30, 2017 at 02:15:05PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > On arm, PCI_REASSIGN_ALL_RSRC is used only in pcibios_assign_all_busses(), > which helps decide whether to reconfigure bridge bus numbers. It has > nothing to do with BAR assignments.

[PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk

2017-12-01 Thread Matthias Brugger
The driver name "ahci" is already used by the ahci platform driver. This leads to the following error: Error: Driver 'ahci' is already registered, aborting... Change the name to ahci-mtk to fix this. Signed-off-by: Matthias Brugger --- drivers/ata/ahci_mtk.c | 2 +- 1 file

Re: [PATCH 02/18] vchecker: introduce the valid access checker

2017-12-01 Thread Joonsoo Kim
On Fri, Dec 01, 2017 at 01:08:13PM +0800, kbuild test robot wrote: > Hi Joonsoo, > > I love your patch! Yet something to improve: Thanks! I will fix all the error from kbuild bot on next spin. Thanks.

Re: [PATCH v4 1/3] drm/bridge/synopsys: dsi: stop clobbering drvdata

2017-12-01 Thread Philippe CORNU
Dear Nickey, Many thanks for your patch. I am sorry to say that but you can not add my "Acked-by" to this patch because this code is different from the "original" one from Brian (which got my "Acked-by"). Sometimes it is not an issue because differences are not important but in this

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Lee Jones
On Thu, 30 Nov 2017, Bjorn Andersson wrote: > The pointer returned by of_device_get_match_data() doesn't have the same > size as u32 on 64-bit architectures, causing a compile warning when > compile-testing the driver on such platform. > > Cast the return value of of_device_get_match_data() to

Re: [PATCH 2/2] mtd: m25p80: restore the addressing mode when stop using the flash

2017-12-01 Thread Cyrille Pitchen
Hi Hou, Le 24/11/2017 à 11:08, Zhiqiang Hou a écrit : > From: Hou Zhiqiang > > Add .shutdown function to restore the addressing mode in reboot > process, and add the same operation to the .remove function. > > Signed-off-by: Hou Zhiqiang > --- >

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 11/30/17 at 12:25pm, Pavel Tatashin wrote: > Hi Dave, > > Because unavailable memory can be in the middle of a section, I think > a proper fix would be to do pfn_valid() check only at the beginning of > section. Otherwise, we might miss zeroing a struct page is in the > middle of a section

Re: [PATCH v4 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-12-01 Thread Neil Armstrong
Hi Shawn, On 30/11/2017 01:43, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:56AM +0100, Neil Armstrong wrote: >> This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 >> SoM Carrier-Board. >> >> This Carrier-Board has the following : >> - LVDS interface for the

Re: [PATCH] mm: check pfn_valid first in zero_resv_unavail

2017-12-01 Thread Dave Young
On 11/30/17 at 10:35am, Michal Hocko wrote: > On Thu 30-11-17 14:04:31, Dave Young wrote: > > With latest kernel I get below bug while testing kdump: > > > > [0.00] BUG: unable to handle kernel paging request at > > ea00034b1040 > > [0.00] IP: zero_resv_unavail+0xbd/0x126 > >

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Lee Jones
On Fri, 01 Dec 2017, Pavel Machek wrote: > On Fri 2017-12-01 07:57:15, Lee Jones wrote: > > On Thu, 30 Nov 2017, Bjorn Andersson wrote: > > > - led->ledtype = (u32)of_device_get_match_data(>dev); > > > + led->ledtype = (u32)(unsigned long)of_device_get_match_data(>dev); > > > > Wouldn't

Re: [PATCH v4 6/6] ARM: configs: Add missing config for DART-MX6 SoM

2017-12-01 Thread Neil Armstrong
Hi Shawn, On 30/11/2017 01:46, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:57AM +0100, Neil Armstrong wrote: >> This patch adds the missing configs for the DART-MX6 SoM support : >> - SERDEV bluetooth driver + SERIAL_DEV_BUS configs >> - WL18XX driver >> - DEFAULT_ON Led Trigger >> >>

[PATCH 1/2] arm64: dts: a64-olinuxino: Enable RTL8723BS WiFi

2017-12-01 Thread Jagan Teki
Enable RTL8723BS WiFi chip on a64-olinuxino board: - WiFi SDIO interface is connected to MMC1 - WiFi REG_ON pin connected to gpio PL2: attach to mmc-pwrseq - WiFi HOST_WAKE pin connected to gpio PL3 To make rtl8723bs chip to work build it as module to and run CONFIG_RTL8723BS=m Signed-off-by:

[PATCH 2/2] arm64: allwinner: a64-sopine: Use dcdc1 regulator instead of vcc3v3

2017-12-01 Thread Jagan Teki
Since current tree support AXP803 regulators, replace fixed regulator vcc3v3 with AXP803 dcdc1 regulator. Tested mmc0 on sopine baseboard. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 2 +-

[PATCH] dmaengine: timb_dma: fix spelling mistake: "Couldnt" -> "Couldn't"

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message text. Signed-off-by: Colin Ian King --- drivers/dma/timb_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/timb_dma.c

Re: [PATCH] ARM64: dts: meson-axg: enable IR controller

2017-12-01 Thread Jerome Brunet
On Fri, 2017-12-01 at 09:36 +0800, Yixun Lan wrote: > Enable IR remote controller which find in Amlogic's Meson-AXG SoC. > > Signed-off-by: Yixun Lan > --- > arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++ > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14

[PATCH v4 04/15] soundwire: Add MIPI DisCo property helpers

2017-12-01 Thread Vinod Koul
MIPI Discovery And Configuration (DisCo) Specification for SoundWire specifies properties to be implemented for SoundWire Masters and Slaves. The DisCo spec doesn't mandate these properties. However, SDW bus cannot work without knowing these values. The helper functions read the Master and Slave

[PATCH v4 07/15] regmap: Add SoundWire bus support

2017-12-01 Thread Vinod Koul
SoundWire bus provides sdw_read() and sdw_write() APIs for Slave devices to program the registers. Provide support in regmap for SoundWire bus. Signed-off-by: Hardik T Shah Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul

[PATCH v4 02/15] soundwire: Add SoundWire bus type

2017-12-01 Thread Vinod Koul
This adds the base SoundWire bus type, bus and driver registration. along with changes to module device table for new SoundWire device type. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/Kconfig| 2 +

[PATCH v4 05/15] soundwire: Add SoundWire MIPI defined registers

2017-12-01 Thread Vinod Koul
From: Sanyog Kale MIPI SoundWire spec defines standard SoundWire registers mandatory for SoundWire Slave devices, so add them. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul ---

[PATCH v4 01/15] Documentation: Add SoundWire summary

2017-12-01 Thread Vinod Koul
From: Sanyog Kale SoundWire is a new Linux bus which implements a new MIPI bus protocol 'SoundWire'. The summary of SoundWire bus and API is documented in the 'summary' file. Signed-off-by: Sanyog Kale Signed-off-by: Hardik T Shah

Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 12:01:17, Jason Gunthorpe wrote: > On Thu, Nov 30, 2017 at 10:32:42AM -0800, Dan Williams wrote: > > > Who and how many LRU pages can pin that way and how do you prevent nasty > > > users to DoS systems this way? > > > > I assume this is something the RDMA community has had to

Re: [PATCHSET v2] cgroup, writeback, btrfs: make sure btrfs issues metadata IOs from the root cgroup

2017-12-01 Thread Jan Kara
On Wed 29-11-17 13:38:26, Chris Mason wrote: > On 11/29/2017 12:05 PM, Tejun Heo wrote: > >On Wed, Nov 29, 2017 at 09:03:30AM -0800, Tejun Heo wrote: > >>Hello, > >> > >>On Wed, Nov 29, 2017 at 05:56:08PM +0100, Jan Kara wrote: > >>>What has happened with this patch set? > >> > >>No idea. cc'ing

Re: [PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-12-01 Thread Neil Armstrong
On 30/11/2017 01:39, Shawn Guo wrote: > On Wed, Nov 29, 2017 at 11:20:55AM +0100, Neil Armstrong wrote: >> This patch adds support for the Variscite DART-MX6 SoM with : >> - i.MX6 Quad or Dual Lite SoC >> - 1Gb/2Gb LPDDR2 >> - 4-64 GB eMMC >> - Camera Interface >> - HDMI+CEC interface >> - LVDS /

[PATCH] mm, oom: simplify alloc_pages_before_oomkill handling

2017-12-01 Thread Michal Hocko
Recently added alloc_pages_before_oomkill gained new caller with this patchset and I think it just grown to deserve a simpler code flow. What do you think about this on top of the series? --- >From f1f6035ea0df65e7619860b013f2fabdda65233e Mon Sep 17 00:00:00 2001 From: Michal Hocko

Re: [PATCH 2/2] regulator: sc2731: Add regulator driver to support Spreadtrum SC2731 PMIC

2017-12-01 Thread Philippe Ombredanne
Erik, On Fri, Dec 1, 2017 at 9:58 AM, Erick Chen wrote: > Add regulator driver for Spreadtrum SC2731 device. > It has 17 general purpose LDOs, BUCKs generator and > digital output to control regulators. > > Signed-off-by: Erick Chen >

Re: [PATCH V4 3/5] device property: Introduce a common API to fetch device match data

2017-12-01 Thread Sakari Ailus
Hi Sinan, Thanks for the patch. On Thu, Nov 30, 2017 at 09:52:54PM -0500, Sinan Kaya wrote: > There is an OF/ACPI function to obtain the driver data. We want to hide > OF/ACPI details from the device drivers and abstract following the device > family of functions. > > Signed-off-by: Sinan Kaya

Re: BUG: support for at24 multi-slave-address eeproms is broken.

2017-12-01 Thread Bartosz Golaszewski
2017-11-30 23:34 GMT+01:00 Sakari Ailus : > Hi Sven, > > On Thu, Nov 30, 2017 at 02:03:23PM -0500, Sven Van Asbroeck wrote: >> Summary >> --- >> Some at24 eeproms have multiple i2c slave addresses. A patch introduced >> between 4.14-rc5 and 4.14-rc6 breaks support

[PATCH v4 3/3] mm/mempolicy: add nodes_empty check in SYSC_migrate_pages

2017-12-01 Thread Yisheng Xie
As in manpage of migrate_pages, the errno should be set to EINVAL when none of the node IDs specified by new_nodes are on-line and allowed by the process's current cpuset context, or none of the specified nodes contain memory. However, when test by following case: new_nodes = 0;

Re: [Qemu-devel] [PATCH] firmware: Use PTR_ERR_OR_ZERO()

2017-12-01 Thread Stefan Hajnoczi
On Tue, Nov 28, 2017 at 10:40:27PM +0100, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > drivers/firmware/efi/efi.c:610:8-14: WARNING: PTR_ERR_OR_ZERO can be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > >

Re: [PATCH net-next 4/5] bpftool: implement cgdetach command

2017-12-01 Thread Quentin Monnet
2017-11-30 13:43 UTC+ ~ Roman Gushchin > Implement cgdetach command, which allows to detach the bpf > program from a cgroup. It takes program id and attach type > as arguments. > > Example: > $ ./bpftool cgdetach /sys/fs/cgroup/user.slice/ device 1 > > Signed-off-by: Roman

Re: [PATCH v2] leds: pm8058: Silence pointer to integer size warning

2017-12-01 Thread Pavel Machek
On Fri 2017-12-01 07:57:15, Lee Jones wrote: > On Thu, 30 Nov 2017, Bjorn Andersson wrote: > > > The pointer returned by of_device_get_match_data() doesn't have the same > > size as u32 on 64-bit architectures, causing a compile warning when > > compile-testing the driver on such platform. > > >

Re: [PATCH] KVM: X86: Reduce the overhead when lapic_timer_advance is disabled

2017-12-01 Thread Paolo Bonzini
On 01/12/2017 09:15, Wanpeng Li wrote: > When I run ebizzy in a 32 vCPUs guest on a 32 pCPUs Xeon box, I can observe > ~8000 kvm_wait_lapic_expire CurAvg/s through kvm_stat tool even if the > advance > tscdeadline hrtimer expiration is disabled. Each call to wait_lapic_expire() > will consume

  1   2   3   4   5   6   7   8   9   10   >