Re: [PATCH] drm/rockchip: Set line flag config register in vop_crtc_enable

2017-04-27 Thread Mark yao
On 2017年04月27日 14:54, Jeffy Chen wrote: We need to set vop config done after update line flag config, it's a new requirement for chips newer than rk3368. Since we would only use line flag irq for vact_end, let's move it to vop_crtc_enable. Signed-off-by: Jeffy Chen looks good for me: Acked-

Re: [PATCH 1/2] sched/fair: Fix how load gets propagated from cfs_rq to its sched_entity

2017-04-27 Thread Vincent Guittot
On 27 April 2017 at 00:40, Tejun Heo wrote: > Hello, > > On Wed, Apr 26, 2017 at 06:51:23PM +0200, Vincent Guittot wrote: >> > It's not temporary. The weight of a group is its shares, which is its >> > load fraction of the configured weight of the group. Assuming UP, if >> > you configure a grou

Re: [PATCH 3/6] drm: fourcc byteorder: add bigendian support to drm_mode_legacy_fb_format

2017-04-27 Thread Michel Dänzer
On 27/04/17 03:45 PM, Gerd Hoffmann wrote: > Hi, > >>> That is done using the RADEON_TILING_SWAP_{16,32}BIT flag mentioned in >>> another thread? >> >> Right. >> >> >>> What about dumb bos? You've mentioned the swap flag isn't used for >>> those. Which implies they are in little endian byte or

Re: [PATCH v2] clk: sunxi-ng: Fix dependency on SUNXI_CCU_GATE

2017-04-27 Thread Maxime Ripard
On Wed, Apr 26, 2017 at 01:53:19PM +0200, Corentin Labbe wrote: > When CONFIG_SUNXI_CCU is set but no other SUNXI_CCU is selected i got > the following build error: > drivers/built-in.o: In function `ccu_pll_notifier_cb': > drivers/clk/sunxi-ng/ccu_common.c:71: undefined reference to > `ccu_gate_h

Re: [PATCH -mm -v10 1/3] mm, THP, swap: Delay splitting THP during swap out

2017-04-27 Thread Huang, Ying
Minchan Kim writes: > On Tue, Apr 25, 2017 at 08:56:56PM +0800, Huang, Ying wrote: >> From: Huang Ying >> >> In this patch, splitting huge page is delayed from almost the first >> step of swapping out to after allocating the swap space for the >> THP (Transparent Huge Page) and adding the THP i

Re: [linux-sunxi] Re: [PATCH v5 02/11] clk: sunxi-ng: add support for DE2 CCU

2017-04-27 Thread Maxime Ripard
On Mon, Apr 24, 2017 at 06:26:51PM +0800, icen...@aosc.io wrote: > 在 2017-04-24 16:51,Maxime Ripard 写道: > > Hi, > > > > On Sun, Apr 23, 2017 at 06:37:45PM +0800, Icenowy Zheng wrote: > > > +static const struct of_device_id sunxi_de2_clk_ids[] = { > > > + { > > > + .compatible = "allwinner,

Re: [PATCH] drm/i915/gvt: fix typo: "supporte" -> "support"

2017-04-27 Thread Zhenyu Wang
On 2017.04.25 10:05:12 +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to typo in WARN_ONCE message > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/i915/gvt/handlers.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/gvt/h

Re: [PATCH 2/2] x86/KASLR: Use old ident map page table if physical randomization failed

2017-04-27 Thread Baoquan He
On 04/26/17 at 12:12pm, Kees Cook wrote: > On Wed, Apr 26, 2017 at 3:39 AM, Baoquan He wrote: > > Dave found when kdump kernel will reset to bios immediately if kaslr > > is enabled and physical randomization failed to faind a new position > > for kernel. But nokaslr works in this case. > > > > Th

Re: [PATCH v5 31/32] x86: Add sysfs support for Secure Memory Encryption

2017-04-27 Thread Dave Young
On 04/21/17 at 02:55pm, Dave Hansen wrote: > On 04/18/2017 02:22 PM, Tom Lendacky wrote: > > Add sysfs support for SME so that user-space utilities (kdump, etc.) can > > determine if SME is active. > > > > A new directory will be created: > > /sys/kernel/mm/sme/ > > > > And two entries within t

[PATCH 2/3] arm64: ls1012a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index cffebb4..3b65d67 100644 --

[PATCH 1/3] arm64: ls1046a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index 4a164b8..1a8f1f4 100644 --

[PATCH 3/3] arm64: ls2080a: dts: add ftm0 nodes

2017-04-27 Thread ying.zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi index e5935f2..e32e477 100644 ---

Re: [RFC PATCHv2 3/3] drm/vgem: Enable dmabuf import interfaces

2017-04-27 Thread Chris Wilson
On Wed, Apr 26, 2017 at 02:12:30PM -0700, Laura Abbott wrote: > Enable the GEM dma-buf import interfaces in addition to the export > interfaces. This lets vgem be used as a test source for other allocators > (e.g. Ion). > > Signed-off-by: Laura Abbott > --- > v2: Don't require vgem allocated buff

Re: [PATCH] iio: core: Fix suspicious sizeof usage

2017-04-27 Thread Orson Zhai
On Thu, Apr 27, 2017 at 06:32:22AM +0100, Jonathan Cameron wrote: > On 25/04/17 02:16, Orson Zhai wrote: > > Pointer size is variours in different system, say 32bit for 4 and 64bit > > for 8. The 'sizeof(infomask)' may lead to wrong bit numbers. > > > > Signed-off-by: Orson Zhai > That's certainl

Re: [PATCH v3 2/2] mfd: axp20x-i2c: Document that this must be builtin on x86

2017-04-27 Thread Lee Jones
On Fri, 21 Apr 2017, Hans de Goede wrote: > On x86 the axp288 PMIC provides an ACPI OpRegion handler, which must be > available before other drivers using it are loaded, which can only be > ensured if the mfd, OpRegionr and i2c-bus drivers are built in. > > Since the axp20x mfd code is used on no

[git pull] vfs.git fixes

2017-04-27 Thread Al Viro
* fix orangefs handling of faults on write() - I'd missed that one back when orangefs was going through review. * readdir counterpart of "9p: cope with bogus responses from server in p9_client_{read,write}" - server might be lying or broken, and we'd better not overrun the kmalloc'e

Re: [Xen-devel] xen_exit_mmap() questions

2017-04-27 Thread Jan Beulich
>>> On 27.04.17 at 02:55, wrote: > The point of CR3 loading here, I believe, is to make sure the hypervisor > knows that the (v)CPU is no longer using the the mm's cr3 (we are > loading swapper_pgdir here). Correct, or else there would still be a non-zero refcount for the page tables hanging of

Re: [PATCH v4 2/3] powerpc/fadump: Use the correct VMCOREINFO_NOTE_SIZE for phdr

2017-04-27 Thread Mahesh Jagannath Salgaonkar
On 04/26/2017 12:41 PM, Dave Young wrote: > Ccing ppc list > On 04/20/17 at 07:39pm, Xunlei Pang wrote: >> vmcoreinfo_max_size stands for the vmcoreinfo_data, the >> correct one we should use is vmcoreinfo_note whose total >> size is VMCOREINFO_NOTE_SIZE. >> >> Like explained in commit 77019967f06b

[PATCH 3/4] Add new Alps U1 Touchpad device

2017-04-27 Thread Masaki Ota
From: Masaki Ota -Add new Alps U1 Touchpad device ID -Laptop names that use this Touchpad:HP Elitebook x360 1030 G2 Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 3 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 5 insertions(+) diff --git a/drivers/hi

[PATCH 2/4] Support Alps HID I2C T4 Touchpad device

2017-04-27 Thread Masaki Ota
From: Masaki Ota -Support Alps HID I2C T4 Touchpad device. -Laptop names that use this Touchpad:HP Zbook Studio, Elitebook Folio G1, Elitebook 1030 G1, Elitebook 1040 G3. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 345 ++--- drivers/hid/h

[PATCH 0/4] Support new Alps HID I2C Touchpad device

2017-04-27 Thread Masaki Ota
Hi, Benjamin, I modified the patch and added the code that supports Alps USB Touchpad as PATCH 4/4. Best Regards, Masaki Ota

[PATCH 1/4] Replace Alps U1 Touchpad code

2017-04-27 Thread Masaki Ota
>From Masaki Ota - Separate U1 device initialization from common initialization. Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 188 ++--- 1 file changed, 99 insertions(+), 89 deletions(-) diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hi

[PATCH 4/4] Add Alps T4 USB Touchpad device ID

2017-04-27 Thread Masaki Ota
From: Masaki Ota -Support Alps T4 USB Touchpad device -Laptop names that use this Touchpad:Elite x2 1012 G1 Tablet, HP Pro x2 612 G2 Signed-off-by: Masaki Ota --- drivers/hid/hid-alps.c | 37 ++--- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h | 1 + 3 f

Re: [RFC PATCHv2 0/3] dma_buf import support for vgem

2017-04-27 Thread Chris Wilson
On Wed, Apr 26, 2017 at 02:12:27PM -0700, Laura Abbott wrote: > Hi, > > This is v2 of my proposal to add dma_buf import functions for vgem. > Big changes from v1: > > - A device is required for dma_buf attach to work. The existing vgem driver > intentionally does not use one as it provides a good

[PATCH v2] x86/KASLR: Use old ident map page table if physical randomization failed

2017-04-27 Thread Baoquan He
Dave found kdump kernel with kaslr enabled will reset to bios immediately if physical randomization failed to find a new position for kernel. But kernel with 'nokaslr' option works in this case. The reason is kaslr will install a new page table for ident mapping, while it missed to consider buildi

Re: [PATCH 2/2] dax: fix data corruption due to stale mmap reads

2017-04-27 Thread Jan Kara
On Wed 26-04-17 16:52:36, Ross Zwisler wrote: > On Wed, Apr 26, 2017 at 10:52:35AM +0200, Jan Kara wrote: > > On Tue 25-04-17 16:59:36, Ross Zwisler wrote: > > > On Tue, Apr 25, 2017 at 01:10:43PM +0200, Jan Kara wrote: > > > <> > > > > Hum, but now thinking more about it I have hard time figuring

Re: [PATCH v4 2/4] zram: implement deduplication in zram

2017-04-27 Thread Sergey Senozhatsky
Hello, On (04/27/17 15:57), Joonsoo Kim wrote: [..] > I tested with your benchmark and found that contention happens > since the data page is perfectly the same. All the written data (2GB) > is de-duplicated. yes, a statically filled buffer to guarantee that compression/decompression numbers/impa

Re: [PATCH v4 0/4] zram: implement deduplication in zram

2017-04-27 Thread Sergey Senozhatsky
On (04/26/17 09:52), js1...@gmail.com wrote: > From: Joonsoo Kim > > Changes from v3 > o fix module build problem > o make zram_dedup_enabled() statically return false if CONFIG_ZRAM_DEDUP=n the entire patch set Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH -v3 0/13] mm: make movable onlining suck less

2017-04-27 Thread Michal Hocko
Hi all, Andrew prefers to take this after the merge window so I will repost the full series then. Any feedback is still highly appreciated of course. -- Michal Hocko SUSE Labs

Re: [PATCH 07/13] mm: consider zone which is not fully populated to have holes

2017-04-27 Thread Michal Hocko
I plan to fold the following into this patch. --- >From 2cdb8e398eaeddf8b743bddb421dc5d9e49e442d Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Thu, 27 Apr 2017 09:53:01 +0200 Subject: [PATCH] fold me "mm: consider zone which is not fully populated to have holes" - clarify pfn_valid semantic

Re: [PATCH 08/13] mm, compaction: skip over holes in __reset_isolation_suitable

2017-04-27 Thread Michal Hocko
On Fri 21-04-17 14:05:11, Michal Hocko wrote: > From: Michal Hocko > > __reset_isolation_suitable walks the whole zone pfn range and it tries > to jump over holes by checking the zone for each page. It might still > stumble over offline pages, though. Skip those by checking PageReserved. ups, fo

Re: [PATCH v6 2/5] firmware: add extensible driver data API

2017-04-27 Thread Luis R. Rodriguez
On Thu, Apr 27, 2017 at 08:44:27AM +0300, Luca Coelho wrote: > On Thu, 2017-04-27 at 05:16 +0200, Luis R. Rodriguez wrote: > > > > @@ -1460,6 +1471,128 @@ void release_firmware(const struct firmware *fw) > > > >   } > > > >   EXPORT_SYMBOL(release_firmware); > > > >   > > > > +static int _driver_d

Re: [PATCH v2] clk: sunxi-ng: Fix dependency on SUNXI_CCU_GATE

2017-04-27 Thread Corentin Labbe
On Thu, Apr 27, 2017 at 09:04:36AM +0200, Maxime Ripard wrote: > On Wed, Apr 26, 2017 at 01:53:19PM +0200, Corentin Labbe wrote: > > When CONFIG_SUNXI_CCU is set but no other SUNXI_CCU is selected i got > > the following build error: > > drivers/built-in.o: In function `ccu_pll_notifier_cb': > > dr

[PATCH v5 1/3] kexec: Move vmcoreinfo out of the kernel's .bss section

2017-04-27 Thread Xunlei Pang
As Eric said, "what we need to do is move the variable vmcoreinfo_note out of the kernel's .bss section. And modify the code to regenerate and keep this information in something like the control page. Definitely something like this needs a page all to itself, and ideally far away from any other k

[PATCH v5 2/3] powerpc/fadump: Use the correct VMCOREINFO_NOTE_SIZE for phdr

2017-04-27 Thread Xunlei Pang
vmcoreinfo_max_size stands for the vmcoreinfo_data, the correct one we should use is vmcoreinfo_note whose total size is VMCOREINFO_NOTE_SIZE. Like explained in commit 77019967f06b ("kdump: fix exported size of vmcoreinfo note"), it should not affect the actual function, but we better fix it, also

[PATCH v5 3/3] kdump: Protect vmcoreinfo data under the crash memory

2017-04-27 Thread Xunlei Pang
Currently vmcoreinfo data is updated at boot time subsys_initcall(), it has the risk of being modified by some wrong code during system is running. As a result, vmcore dumped may contain the wrong vmcoreinfo. Later on, when using "crash", "makedumpfile", etc utility to parse this vmcore, we probab

Re: [PATCH] perf/x86/intel/pt: Allow disabling branch tracing

2017-04-27 Thread Adrian Hunter
On 06/02/17 19:19, Andi Kleen wrote: > On Mon, Feb 06, 2017 at 06:05:29PM +0200, Alexander Shishkin wrote: >> Andi Kleen writes: >> >>> Alexander Shishkin writes: >>> Now that Intel PT supports more types of trace content than just branch tracing, it may be useful to allow the user to d

Re: [PATCH] drivers: input: joystick: Add PSX (Play Station 1/2) pad with SPI driver.

2017-04-27 Thread Dmitry Torokhov
Hi, Thank you for making the changes. I have some more comments though. On Tue, Apr 25, 2017 at 11:44:22PM +0900, AZO wrote: > PSX pads can be connected directry SPI bus. > > Signed-off-by: AZO Please use your real name on the signoffs (apologies in advance in case it is your proper name). >

[PATCH v5 00/10] Renesas RZ/A1 pin and gpio controller

2017-04-27 Thread Jacopo Mondi
Hi Geert, this is 5th round of gpio/pincontroller for RZ/A1 devices. I have updated the pin controller driver to use the newly introduced "pinctrl_enable()" function. This is required since v4.11-rc7 as otherwise, as reported by Chris Brandt, the pin controller does not start. I have incorpora

[PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-04-27 Thread Jacopo Mondi
Add bi-directional and output-enable pin configuration properties. bi-directional allows to specify when a pin shall operate in input and output mode at the same time. This is particularly useful in platforms where input and output buffers have to be manually enabled. output-enable is just syntac

[PATCH v5 02/10] pinctrl: generic: Add macros to unpack properties

2017-04-27 Thread Jacopo Mondi
Add PIN_CONF_UNPACK_PARAM and PIN_CONF_UNPACK_ARGS macros useful to unpack generic properties and their arguments Signed-off-by: Jacopo Mondi --- include/linux/pinctrl/pinconf-generic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/pinctrl/pinconf-generic.h

[PATCH v5 05/10] arm: dts: dt-bindings: Add Renesas RZ/A1 pinctrl header

2017-04-27 Thread Jacopo Mondi
Add dt-bindings for Renesas r7s72100 pin controller header file. Signed-off-by: Jacopo Mondi --- include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16 1 file changed, 16 insertions(+) create mode 100644 include/dt-bindings/pinctrl/r7s72100-pinctrl.h diff --git a/include/dt-bind

[PATCH v5 04/10] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-04-27 Thread Jacopo Mondi
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin controller. Signed-off-by: Jacopo Mondi --- .../bindings/pinctrl/renesas,rza1-pinctrl.txt | 219 + 1 file changed, 219 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/renes

[PATCH v5 03/10] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-04-27 Thread Jacopo Mondi
Add combined gpio and pin controller driver for Renesas RZ/A1 r7s72100 SoC. Signed-off-by: Jacopo Mondi --- drivers/pinctrl/Kconfig| 11 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-rza1.c | 995 + 3 files changed, 1007 insert

[PATCH v5 07/10] arm: dts: genmai: Add SCIF2 pin group

2017-04-27 Thread Jacopo Mondi
Add pin configuration subnode for SCIF2 serial debug interface. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s7

[PATCH v5 08/10] arm: dts: genmai: Add RIIC2 pin group

2017-04-27 Thread Jacopo Mondi
Add pin configuration subnode for RIIC2 interface. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts in

[PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-27 Thread Jacopo Mondi
Add pin configuration subnode for ETHER ethernet controller. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-genmai.dts | 41 +++ 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.d

[PATCH v5 09/10] arm: dts: genmai: Add user led device nodes

2017-04-27 Thread Jacopo Mondi
Add device nodes for user leds on Genmai board. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dt

[PATCH v5 06/10] arm: dts: r7s72100: Add pin controller node

2017-04-27 Thread Jacopo Mondi
Add pin controller node with 12 gpio controller sub-nodes to r7s72100 dtsi. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- arch/arm/boot/dts/r7s72100.dtsi | 78 + 1 file changed, 78 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100.d

Re: [PATCH 1/2] wcn36xx: Pass used skb to ieee80211_tx_status()

2017-04-27 Thread Johannes Berg
> @@ -371,7 +371,7 @@ static void reap_tx_dxes(struct wcn36xx *wcn, > struct wcn36xx_dxe_ch *ch) >   info = IEEE80211_SKB_CB(ctl->skb); >   if (!(info->flags & > IEEE80211_TX_CTL_REQ_TX_STATUS)) { >   /* Keep frame until TX status

[PATCH v2 2/2] ACPI: Fix memory mapping leaks in current sysfs dumpable ACPI tables support.

2017-04-27 Thread Lv Zheng
This patch adds balanced acpi_get_table()/acpi_put_table() support for sysfs table dumping code so that no need to call acpi_get_validated_table(). Since ACPICA does not use all of the tables, this can help to reduce some usless memory mappings by utilizing the new table handling APIs. The origin

[PATCH v2 1/2] ACPICA: Tables: Fix regression introduced by a too early mechanism enabling

2017-04-27 Thread Lv Zheng
In the Linux kernel side, acpi_get_table() clones haven't been fully balanced by acpi_put_table() invocations. In ACPICA side, due to the design change, there are also unbalanced acpi_get_table_by_index() invocations requiring special care to be cleaned up. So it is not a good timing to report acp

Re: [patch V2 00/24] cpu/hotplug: Convert get_online_cpus() to a percpu_rwsem

2017-04-27 Thread Sebastian Siewior
On 2017-04-26 11:32:36 [+0100], Mark Rutland wrote: > > So we could end up calling static_branch_enable_cpuslocked() > > without actually holding the lock. Should we do a cpu_hotplug_begin/done in > > setup_cpu_feature_capabilities ? I agree it doesn't look that nice. > > Thoughts ? > > I agree t

Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg

2017-04-27 Thread Vincent Guittot
On 27 April 2017 at 02:30, Tejun Heo wrote: > Hello, Vincent. > > On Wed, Apr 26, 2017 at 12:21:52PM +0200, Vincent Guittot wrote: >> > This is from the follow-up patch. I was confused. Because we don't >> > propagate decays, we still should decay the runnable_load_avg; >> > otherwise, we end up

Re: [PATCH 2/2] sched/fair: Always propagate runnable_load_avg

2017-04-27 Thread Vincent Guittot
On 27 April 2017 at 00:52, Tejun Heo wrote: > Hello, > > On Wed, Apr 26, 2017 at 08:12:09PM +0200, Vincent Guittot wrote: >> On 24 April 2017 at 22:14, Tejun Heo wrote: >> Can the problem be on the load balance side instead ? and more >> precisely in the wakeup path ? >> After looking at the tra

[PATCH 1/2] sched: Staticize pick_next_task_dl() and build_sched_domain()

2017-04-27 Thread Viresh Kumar
pick_next_task_dl() and build_sched_domain() aren't used outside deadline.c and topology.c. Make them static. Signed-off-by: Viresh Kumar --- kernel/sched/deadline.c | 2 +- kernel/sched/topology.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/deadline.c b/

[PATCH 2/2] sched: topology: Initialize span_weight from sd_init()

2017-04-27 Thread Viresh Kumar
Most of the sched domain structure gets initialized from sd_init() and it looks reasonable to initialize span_weight too from it. Currently it is getting initialized from build_sched_domains(), which doesn't looks to be the ideal place for doing so. With this change we need to additionally reset

Re: [PATCH] mm, zone_device: replace {get, put}_zone_device_page() with a single reference

2017-04-27 Thread Kirill A. Shutemov
On Wed, Apr 26, 2017 at 05:55:31PM -0700, Dan Williams wrote: > Kirill points out that the calls to {get,put}_dev_pagemap() can be > removed from the mm fast path if we take a single get_dev_pagemap() > reference to signify that the page is alive and use the final put of the > page to drop that ref

Re: [PATCH v5 02/10] pinctrl: generic: Add macros to unpack properties

2017-04-27 Thread Geert Uytterhoeven
On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add PIN_CONF_UNPACK_PARAM and PIN_CONF_UNPACK_ARGS macros useful to > unpack generic properties and their arguments > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geer

Re: [PATCH v5 03/10] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-04-27 Thread Geert Uytterhoeven
On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add combined gpio and pin controller driver for Renesas RZ/A1 > r7s72100 SoC. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linu

Re: [PATCH v5 04/10] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-04-27 Thread Geert Uytterhoeven
On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add device tree bindings documentation for Renesas RZ/A1 gpio and pin > controller. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots o

Re: [PATCH v5 05/10] arm: dts: dt-bindings: Add Renesas RZ/A1 pinctrl header

2017-04-27 Thread Geert Uytterhoeven
On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add dt-bindings for Renesas r7s72100 pin controller header file. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven > --- /dev/null > +++ b/include/dt-bindings/pinctrl/r7s72100-pinctrl.h > @@ -0,0 +1,16 @@ > +#define RZA1_PI

Re: [PATCH v5 00/10] Renesas RZ/A1 pin and gpio controller

2017-04-27 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: >this is 5th round of gpio/pincontroller for RZ/A1 devices. > > I have updated the pin controller driver to use the newly introduced > "pinctrl_enable()" function. > This is required since v4.11-rc7 as otherwise, as reported by

Re: [PATCH V2] x86/tboot: add an option to disable iommu force on

2017-04-27 Thread Joerg Roedel
On Thu, Apr 27, 2017 at 08:51:42AM +0200, Ingo Molnar wrote: > > + tboot_noforce [Default Off] > > + Do not force the Intel IOMMU enabled under tboot. > > + By default, tboot will force Intel IOMMU on, which > > + could harm performanc

Re: [PATCH 2/3] selinux: add checksum to policydb

2017-04-27 Thread Sebastien Buisson
2017-04-26 20:30 GMT+02:00 Stephen Smalley : > This seems like an odd place to trigger the computation. I noticed that the policy as exposed via /sys/fs/selinux/policy can also be modified in security_set_bools(). So in order to limit the places from where to compute the policy checksum, I moved t

Re: [PATCH] net: hso: register netdev later to avoid a race condition

2017-04-27 Thread Johan Hovold
On Wed, Apr 26, 2017 at 07:26:40PM +0200, Andreas Kemnade wrote: > If the netdev is accessed before the urbs are initialized, > there will be NULL pointer dereferences. That is avoided by > registering it when it is fully initialized. > Reported-by: H. Nikolaus Schaller > Signed-off-by: Andreas K

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-27 Thread Joerg Roedel
Sricharan, On Wed, Apr 26, 2017 at 06:15:08PM +0200, Ralph Sennhauser wrote: > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time > for platform/amba/pci bus devices") causes a kernel panic as in the log > below on an armada-385. Reverting the commit fixes the issue. Any insigh

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-27 Thread Sricharan R
Hi Joerg, On 4/27/2017 2:14 PM, Joerg Roedel wrote: > Sricharan, > > On Wed, Apr 26, 2017 at 06:15:08PM +0200, Ralph Sennhauser wrote: >> Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time >> for platform/amba/pci bus devices") causes a kernel panic as in the log >> below on an

Re: ipsec doesn't route TCP with 4.11 kernel

2017-04-27 Thread Steffen Klassert
On Wed, Apr 26, 2017 at 10:01:34PM -0700, Cong Wang wrote: > (Cc'ing netdev and IPSec maintainers) > > On Tue, Apr 25, 2017 at 6:08 PM, Don Bowman wrote: > > I'm not sure how to describe this. > > > > 4.11rc2 worked, after that, no. We had some recent IPsec GRO changes, this could influence TCP.

Re: [PATCH] ubifs: Return -ENOKEY from rename if encryption keys are missing

2017-04-27 Thread David Oberhollenzer
Hi Eric, On 04/27/2017 12:52 AM, Eric Biggers wrote: > Hi David, > > On Wed, Apr 26, 2017 at 01:48:10PM +0200, David Oberhollenzer wrote: >> On 04/25/2017 07:54 PM, Eric Biggers wrote: >>> Did you test that this change actually does anything? Unlike ext4 and f2fs, >>> ubifs calls fscrypt_setup_f

Re: [PATCH 1/2] sched/fair: Fix how load gets propagated from cfs_rq to its sched_entity

2017-04-27 Thread Vincent Guittot
On 27 April 2017 at 00:27, Tejun Heo wrote: > Hello, Vincent. > > On Wed, Apr 26, 2017 at 06:14:17PM +0200, Vincent Guittot wrote: >> > + if (gcfs_rq->load.weight) { >> > + long shares = calc_cfs_shares(gcfs_rq, gcfs_rq->tg); >> > >> > + load = min(gcfs_rq->runnab

4.11.0-rc8+/x86_64 desktop lockup until applications closed

2017-04-27 Thread Arthur Marsh
I came home yesterday to discover my desktop KDE/plasma session locked up until I could shutdown firefox and chromium from a console login. The desktop then became responsive and I could then restart firefox and chromium. the 4GiB swap space was nearly full, but the OOM killer apparently d

[PATCH] usb: gadget: udc-xilinx: clean up a variable name

2017-04-27 Thread Dan Carpenter
"ep->udc->lock" and "udc->lock" are the same thing. It confuses Smatch if we don't use the same name consistently. Signed-off-by: Dan Carpenter diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index 588e2531b8b8..de207a90571e 100644 --- a/drivers/usb/gadge

Cgroups, burst

2017-04-27 Thread Kamil Kamiński
Hey, Is there an easy way to burst CPU resources with cgroups when needed? For example I want to restrict 20% of CPU per process and for example i want to allow process to use 100% of CPU for 30 sec (burst). I mean i want restrict CPU usage at 20% per process, not per group. Restrict resources pe

RE: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2017-04-27 Thread Kashyap Desai
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Martin K. Petersen > Sent: Thursday, April 27, 2017 3:55 AM > To: Sreekanth Reddy > Cc: Martin K. Petersen; j...@kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vg

Re: [PATCH] iio:ad5064: Add support for ltc2633 and similar devices

2017-04-27 Thread Lars-Peter Clausen
On 04/27/2017 07:52 AM, Jonathan Cameron wrote: > On 26/04/17 10:44, Mike Looijmans wrote: >> The Linear Technology LTC2631, LTC2633 and LTC2635 are very similar >> to the AD5064 device, in particular the LTC2627. >> >> This patch adds support for those devices. Only the LTC2633 has been >> tested,

Re: [RFC] tty: pty -- Add ability to setup next pty number for ptmx open

2017-04-27 Thread Cyrill Gorcunov
On Fri, Mar 17, 2017 at 1:56 PM, Cyrill Gorcunov wrote: > When we restore PTY terminals we do iterate over open() calls to reach > the index used at checkpoint time (say application opened a number of > terminals, then closed all other except last one) which of course very > inconvenient. > > The

Re: [PATCH v6 1/5] skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow

2017-04-27 Thread Jason A. Donenfeld
Hey Dave, David Laight and I have been discussing offlist. It occurred to both of us that this could just be turned into a loop because perhaps this is actually just tail-recursive. Upon further inspection, however, the way the current algorithm works, it's possible that each of the fraglist skbs

Re: 4.11.0-rc8+/x86_64 desktop lockup until applications closed

2017-04-27 Thread Michal Hocko
On Thu 27-04-17 18:36:38, Arthur Marsh wrote: [...] > [55363.482931] QXcbEventReader: page allocation stalls for 10048ms, order:0, > mode:0x14200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null) Are there more of these stalls? [...] > [55363.483040] Mem-Info: > [55363.483044] active_anon:1479559 inactive

[PATCH 0/4] hwmon-NCT: Fine-tuning for four function implementations

2017-04-27 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 27 Apr 2017 11:18:22 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Use devm_kcalloc() in nct6683_create_attr_group() Adjust five checks for null pointers Use devm_kcalloc() in nct6775_create_attr

[PATCH 1/4] hwmon-nct6683: Use devm_kcalloc() in nct6683_create_attr_group()

2017-04-27 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 27 Apr 2017 10:10:36 +0200 Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "devm_kcalloc". This issue was detected by using the Coccinelle software. Sig

[PATCH 2/4] hwmon-nct6683: Adjust five checks for null pointers

2017-04-27 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 27 Apr 2017 10:22:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code pla

[PATCH 3/4] hwmon-nct6775: Use devm_kcalloc() in nct6775_create_attr_group()

2017-04-27 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 27 Apr 2017 10:35:36 +0200 Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "devm_kcalloc". This issue was detected by using the Coccinelle software. Sig

[PATCH 4/4] hwmon-nct6775: Adjust seven checks for null pointers

2017-04-27 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 27 Apr 2017 10:55:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus fix the affected source code pla

Re: [PATCH] net: macb: fix phy interrupt parsing

2017-04-27 Thread Nicolas Ferre
Le 26/04/2017 à 12:06, Alexandre Belloni a écrit : > Since 83a77e9ec415, the phydev irq is explicitly set to PHY_POLL when > there is no pdata. It doesn't work on DT enabled platforms because the > phydev irq is already set by libphy before. > > Fixes: 83a77e9ec415 ("net: macb: Added PCI wrapper f

Re: [PATCH 1/7] mm/hugetlb/migration: Use set_huge_pte_at instead of set_pte_at

2017-04-27 Thread Naoya Horiguchi
On Mon, Apr 17, 2017 at 10:41:40PM +0530, Aneesh Kumar K.V wrote: > The right interface to use to set a hugetlb pte entry is set_huge_pte_at. Use > that instead of set_pte_at. > > Signed-off-by: Aneesh Kumar K.V Reviewed-by: Naoya Horiguchi

Re: [PATCH 2/7] mm/follow_page_mask: Split follow_page_mask to smaller functions.

2017-04-27 Thread Naoya Horiguchi
On Mon, Apr 17, 2017 at 10:41:41PM +0530, Aneesh Kumar K.V wrote: > Makes code reading easy. No functional changes in this patch. In a followup > patch, we will be updating the follow_page_mask to handle hugetlb hugepd > format > so that archs like ppc64 can switch to the generic version. This spl

pull-request: wireless-drivers-next 2017-04-27

2017-04-27 Thread Kalle Valo
Hi Dave, here's a pull request for net-next, more info in the tag below. This should be the last pull request to net-next for 4.12. Please let me know if there are any problems. Kalle The following changes since commit 7acedaf5c4355f812cfef883ac28bf15f7d9205e: net: move xdp_prog field in RX c

Re: [PATCH V2] cpuidle: check dev before usage in cpuidle_use_deepest_state

2017-04-27 Thread Andy Shevchenko
On Thu, 2017-04-27 at 01:47 +, Li, Fei wrote: > In case of there is no cpuidle devices registered, dev will be null, > and > panic will be triggered like below; > In this patch, add checking of dev before usage, like that done in > cpuidle_idle_call. > > Panic without fix: > [  184.961328] BUG

Re: [PATCH 3/7] mm/hugetlb: export hugetlb_entry_migration helper

2017-04-27 Thread Naoya Horiguchi
On Mon, Apr 17, 2017 at 10:41:42PM +0530, Aneesh Kumar K.V wrote: > We will be using this later from the ppc64 code. Change the return type to > bool. > > Signed-off-by: Aneesh Kumar K.V Reviewed-by: Naoya Horiguchi

Re: [PATCH V4 1/9] PM / OPP: Allow OPP table to be used for power-domains

2017-04-27 Thread Sudeep Holla
On 26/04/17 14:55, Mark Brown wrote: > On Wed, Apr 26, 2017 at 10:02:39AM +0530, Rajendra Nayak wrote: >>> On 17/04/17 06:27, Viresh Kumar wrote: > > If we are looking this power-domains with performance as just some > *advanced regulators*, I don't like the complexity added. > >> + Mar

Linux 4.10.13

2017-04-27 Thread Greg KH
I'm announcing the release of the 4.10.13 kernel. All users of the 4.10 kernel series must upgrade. The updated 4.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.10.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.10.13

2017-04-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 9689d3f644ea..8285f4de02d1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 10 -SUBLEVEL = 12 +SUBLEVEL = 13 EXTRAVERSION = NAME = Fearless Coyote diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S i

Re: Linux 4.9.25

2017-04-27 Thread Greg KH
diff --git a/Makefile b/Makefile index 50436f502d81..8e18c63388c4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 24 +SUBLEVEL = 25 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S ind

Linux 4.9.25

2017-04-27 Thread Greg KH
I'm announcing the release of the 4.9.25 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.64

2017-04-27 Thread Greg KH
I'm announcing the release of the 4.4.64 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.64

2017-04-27 Thread Greg KH
diff --git a/Makefile b/Makefile index ec52973043f6..17708f5dc169 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 63 +SUBLEVEL = 64 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c index f91ee2f27b41..01cf1

Re: [stable 3.18 PATCH] clk: at91: usb: fix determine_rate prototype again

2017-04-27 Thread Greg KH
On Fri, Apr 21, 2017 at 02:45:23PM +0200, Arnd Bergmann wrote: > We had an incorrect backport of > 4591243102fa ("clk: at91: usb: propagate rate modification to the parent clk") > that was fixed incorrectly in linux-3.18.y by > 76723e7ed589 ("clk: at91: usb: fix determine_rate prototype") > > as s

Re: [PATCH v5 10/10] arm: dts: genmai: Add ethernet pin group

2017-04-27 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Apr 27, 2017 at 10:19 AM, Jacopo Mondi wrote: > Add pin configuration subnode for ETHER ethernet controller. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven > --- a/arch/arm/boot/dts/r7s72100-genmai.dts > +++ b/arch/arm/boot/dts/r7s72100-genmai.dts > @@ -77

Re: [PATCH, 3.18-stable regression] gadgetfs: fix uninitialized variable in error handling

2017-04-27 Thread Greg KH
On Fri, Apr 21, 2017 at 03:06:12PM +0200, Arnd Bergmann wrote: > gcc warns about a bug in 3.18.y: > > drivers/usb/gadget/legacy/inode.c:648:10: warning: 'value' may be used > > This is caused by the backport of f01d35a15fa0416 from 4.0 to 3.18: > c81fc59be42c6e0 gadgetfs: use-after-free in ->aio_

  1   2   3   4   5   6   7   >