Re: linux-next: build warning after merge of the pinctrl tree

2017-06-30 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Jun 30, 2017 at 6:56 AM, Stephen Rothwell wrote: > After merging the pinctrl tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/pinctrl/pinctrl-rza1.c: In function 'rza1_pinctrl_probe': > drivers/pinctrl/pinctrl-rza1.c:1260:5: warning: 'r

Re: [PATCH 0/5] Last bits for initial 5-level paging enabling

2017-06-30 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > > > Can I apply them in this order cleanly, without breaking bisection: > > > > > > > x86/mm: Rename tasksize_32bit/64bit to task_size_32bit/64bit > > > > x86/mpx: Do not allow MPX if we have mappings above 47-bit > > > > x86/mm: Prepare to expose larger addr

[PATCH v2] clocksource: em_sti: fix error return codes in em_sti_probe()

2017-06-30 Thread Gustavo A. R. Silva
Propagate the return values of platform_get_irq and devm_request_irq on failure. Cc: Frans Klaver Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Use 'ret' instead of 'irq' for taking the result of devm_request_irq. drivers/clocksource/em_sti.c | 11 ++- 1 file changed, 6 insert

Re: [PATCH v2 04/19] media: camss: Add CSIPHY files

2017-06-30 Thread Todor Tomov
Hi Sakari, On 06/30/2017 02:53 AM, Sakari Ailus wrote: > Hi Todor, > > On Thu, Jun 29, 2017 at 07:36:47PM +0300, Todor Tomov wrote: +/* + * csiphy_link_setup - Setup CSIPHY connections + * @entity: Pointer to media entity structure + * @local: Pointer to local pad + * @re

[PATCH] crypto: omap-aes: fix error return code in omap_aes_probe()

2017-06-30 Thread Gustavo A. R. Silva
Propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/crypto/omap-aes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/omap-aes.c b/drivers/crypto/omap-aes.c index 5120a17..c376a3e 100644 --- a/drivers/crypto/omap-aes.c +++

Re: [RFC][PATCHv3 2/5] printk: introduce printing kernel thread

2017-06-30 Thread Sergey Senozhatsky
Hello, On (06/29/17 16:33), Sergey Senozhatsky wrote: [..] > On (06/28/17 14:19), Petr Mladek wrote: > [..] > > > so I try to minimize the negative impact of RT prio here. printk_kthread > > > is not special any more. it's an auxiliary kthread that we sometimes > > > wake_up. the thing is that pri

RE: [PATCH 00/17] v2 net generic subsystem refcount conversions

2017-06-30 Thread Reshetova, Elena
> From: Elena Reshetova > Date: Wed, 28 Jun 2017 14:54:49 +0300 > > > If there are no objections to the patches, please merge them via > > respective trees. > > This doesn't apply cleanly to the net-next tree, please respin. Sorry, will rebase to the net-next and send new version today. The cu

Re: [PATCH] perf tools: set no branch type for dummy event in PT

2017-06-30 Thread Jiri Olsa
On Thu, Jun 29, 2017 at 03:50:29PM +, Liang, Kan wrote: > > > > > > On Thu, Jun 29, 2017 at 03:31:45PM +, Liang, Kan wrote: > > > > SNIP > > > > > > > static int intel_pt_recording_options(struct auxtrace_record *itr, > > > > > struct perf_evlist *e

[PATCH] crypto: omap-des: fix error return code in omap_des_probe()

2017-06-30 Thread Gustavo A. R. Silva
Print and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/crypto/omap-des.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/omap-des.c b/drivers/crypto/omap-des.c index 0bcab00..d37c950 100644 --- a/dr

Re: git send-email (w/o Cc: stable)

2017-06-30 Thread Borislav Petkov
On Thu, Jun 29, 2017 at 03:11:37PM -0700, Luck, Tony wrote: > So there is a "--cc-cmd" option that can do the same as those "-cc" arguments. > Combine that with --suppress-cc=bodycc and things get a bit more automated. Yeah, whatever works for you. I did play with cc-cmd somewhat but can't be bot

Re: [PATCH/RFC 0/4] perf annotate: Add --source-only option and the new source code TUI view

2017-06-30 Thread Taeung Song
Hi, On 06/29/2017 04:11 PM, Namhyung Kim wrote: Hello, On Wed, Jun 28, 2017 at 11:53:22AM +0200, Milian Wolff wrote: On Wednesday, June 28, 2017 5:18:08 AM CEST Taeung Song wrote: Hi, The --source-only option and new source code TUI view can show the result of performance analysis based on f

Re: [PATCH v5 0/6] g_NCR5380: PDMA fixes and cleanup

2017-06-30 Thread Finn Thain
On Thu, 29 Jun 2017, Ondrej Zary wrote: > The write corruption is still there. I'm afraid it can't be fixed > without rolling "start" back (or inceasing residual) if an error > occured, something like this: > > --- a/drivers/scsi/g_NCR5380.c > +++ b/drivers/scsi/g_NCR5380.c > @@ -619,6 +621,9 @

Re: [RESEND PATCH v4] clk: stm32h7: Add stm32h743 clock driver

2017-06-30 Thread Gabriel FERNANDEZ
On 06/30/2017 02:20 AM, Stephen Boyd wrote: > On 06/29, Gabriel FERNANDEZ wrote: >> >> On 06/28/2017 05:59 PM, Stephen Boyd wrote: >>> On 06/27, Gabriel FERNANDEZ wrote: On 06/22/2017 12:07 AM, Stephen Boyd wrote: > readl_poll_timeout? > if i use readl_poll_timeout (wich use 'kt

[PATCH] devfreq: rk3399_dmc: fix error code in rk3399_dmcfreq_probe()

2017-06-30 Thread Gustavo A. R. Silva
Print and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/devfreq/rk3399_dmc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c index 40a2499..1b89ebb 100

RE: [PATCH] staging: fsl-dpaa2/eth: Remove dead code

2017-06-30 Thread Bogdan Purcareata
> -Original Message- > From: Ioana Radulescu [mailto:ruxandra.radule...@nxp.com] > Sent: Thursday, June 29, 2017 7:26 PM > To: gre...@linuxfoundation.org > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; > ag...@suse.de; a...@arndb.de; linux-arm-ker...@lists.infradead.org; Bog

Re: [RFC PATCH 2/3] drivers: misc: eeprom: at24: support reading mac eeprom from different addresses

2017-06-30 Thread Uwe Kleine-König
Hallo, On Thu, Jun 29, 2017 at 02:39:10PM +0300, Claudiu Beznea wrote: > diff --git a/include/linux/platform_data/at24.h > b/include/linux/platform_data/at24.h > index 271a4e2..d55c454 100644 > --- a/include/linux/platform_data/at24.h > +++ b/include/linux/platform_data/at24.h > @@ -50,6 +50,7 @@

[PATCH] iio: Add LTC2471/LTC2473 driver

2017-06-30 Thread Mike Looijmans
The LTC2741 and LTC2473 are single voltage ADC chips. The LTC2473 is similar to the LTC2471 but outputs a signed differential value. Datasheet: http://cds.linear.com/docs/en/datasheet/24713fb.pdf Signed-off-by: Mike Looijmans --- Note: Moved from "hwmon" subsystem to "iio" as discussed per e-m

Re: [PATCH] mm: convert three more cases to kvmalloc

2017-06-30 Thread Michal Hocko
On Thu 29-06-17 22:13:26, Mikulas Patocka wrote: > > > On Thu, 29 Jun 2017, Michal Hocko wrote: [...] > > > Index: linux-2.6/kernel/bpf/syscall.c > > > === > > > --- linux-2.6.orig/kernel/bpf/syscall.c > > > +++ linux-2.6/kernel/bpf/

[PATCH] devfreq: tegra: fix error code in tegra_devfreq_probe()

2017-06-30 Thread Gustavo A. R. Silva
Print and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/devfreq/tegra-devfreq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/devfreq/tegra-devfreq.c b/drivers/devfreq/tegra-devfreq.c index 214fff9..a

[PATCH v3] acpi: handle the acpi hotplug schedule error

2017-06-30 Thread Lee, Chun-Yi
Kernel should decrements the reference count of acpi device when the scheduling of acpi hotplug work failed, and evaluates _OST to notify BIOS the failure. v3: More simplify the code. (Rafael J. Wysocki) v2: To simplify the code. (Andy Shevchenko) Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Mich

Re: [PATCH RESEND 0/7] Introduce MEDIA_VERSION to end KENREL_VERSION abuse in media

2017-06-30 Thread Johannes Thumshirn
On Thu, Jun 29, 2017 at 10:01:05AM -0700, Stephen Hemminger wrote: > If you read Linus's comments on version. > Driver version is meaningless and there is a desire to rip it out of all > drivers. The reason is that drivers must always behave the same, i.e you > can't use version to change API/ABI b

Re: [linux-next] cpus stalls detected few hours after booting next kernel

2017-06-30 Thread Nicholas Piggin
On Fri, 30 Jun 2017 10:52:18 +0530 Abdul Haleem wrote: > On Fri, 2017-06-30 at 00:45 +1000, Nicholas Piggin wrote: > > On Thu, 29 Jun 2017 20:23:05 +1000 > > Nicholas Piggin wrote: > > > > > On Thu, 29 Jun 2017 19:36:14 +1000 > > > Nicholas Piggin wrote: > > > > > > I don't *think* the replay

Re: [PATCH 1/2] KVM: nVMX: Implement EPTP switching for the L1 hypervisor

2017-06-30 Thread Paolo Bonzini
- Original Message - > From: "Bandan Das" > To: k...@vger.kernel.org > Cc: pbonz...@redhat.com, linux-kernel@vger.kernel.org > Sent: Friday, June 30, 2017 1:29:55 AM > Subject: [PATCH 1/2] KVM: nVMX: Implement EPTP switching for the L1 hypervisor > > This is a mix of emulation/passthrou

Re: [PATCH V2 2/2] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration

2017-06-30 Thread Ingo Molnar
* Daniel Bristot de Oliveira wrote: > There is a problem in the migrate_disable()/enable() implementation > regarding the number of migratory tasks in the rt/dl RQs. The problem > is the following: > > When a task is attached to the rt runqueue, it is checked if it either > can run in more than

[PATCH] dmaengine: idma64: print error message on platform_get_irq failure

2017-06-30 Thread Gustavo A. R. Silva
Print error message on platform_get_irq failure before return. Signed-off-by: Gustavo A. R. Silva --- drivers/dma/idma64.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/idma64.c b/drivers/dma/idma64.c index 1953e57..08ade66 100644 --- a/drivers/dma/idma64.c +

RFC: changed error code when binding unix socket twice

2017-06-30 Thread Michal Kubecek
Hello, commit 0fb44559ffd6 ("af_unix: move unix_mknod() out of bindlock") moves the special file creation in unix_bind() before u->bindlock is taken in order to avoid an ABBA deadlock with do_splice(). As a side effect, it also moves the check for existence of the special file (which would result

Re: [PATCH] mm: Fix overflow check in expand_upwards()

2017-06-30 Thread Helge Deller
* Helge Deller : > On 30.06.2017 01:02, Jörn Engel wrote: > > I believe the overflow check was correct, then got subtly broken by > > commit bd726c90b6b8 > > Author: Helge Deller > > Date: Mon Jun 19 17:34:05 2017 +0200 > > > > Allow stack to grow up to address space limit >

Re: [PATCH v2 04/20] gcc-plugins: Add the randstruct plugin

2017-06-30 Thread Arnd Bergmann
On Fri, Jun 30, 2017 at 12:53 AM, Kees Cook wrote: > On Thu, Jun 29, 2017 at 3:08 PM, Arnd Bergmann wrote: >> On Fri, May 26, 2017 at 10:17 PM, Kees Cook wrote: >> I noticed new build errors that bisected back to this patch, which has >> now showed up >> in linux-next again: > > (FWIW this is ra

Re: [PATCH V1 9/9] arm64: dts: add ccu for SC9860

2017-06-30 Thread Chunyan Zhang
Hi Stephen, Thanks for your every so clear and detailed answer, thank you. On 30 June 2017 at 08:57, Stephen Boyd wrote: > On 06/22, Chunyan Zhang wrote: >> Hi Stephen, >> >> On 20 June 2017 at 09:24, Stephen Boyd wrote: >> > On 06/18, Chunyan Zhang wrote: >> >> > >> >> + compatible

Re: [PATCH v2 0/4] Add xxhash and zstd modules

2017-06-30 Thread David Sterba
On Thu, Jun 29, 2017 at 12:41:04PM -0700, Nick Terrell wrote: > lib/zstd/Makefile | 18 + > lib/zstd/bitstream.h | 374 + > lib/zstd/compress.c| 3479 > > lib/zstd/decompress.c | 2526

Re: [PATCH v1] xen/input: add multi-touch support

2017-06-30 Thread Oleksandr Andrushchenko
Hi, Dmitry! On 06/29/2017 10:24 PM, Dmitry Torokhov wrote: On June 29, 2017 11:40:30 AM PDT, Oleksandr Andrushchenko wrote: Hi, Dmitry! First of all thank you for both the comments and the patch On 06/29/2017 11:17 AM, Dmitry Torokhov wrote: Hi Oleksandr, On Fri, Jun 23, 2017 at 09:09:55A

[PATCH] dmaengine: zynqmp_dma: fix error return code in zynqmp_dma_chan_probe()

2017-06-30 Thread Gustavo A. R. Silva
Print error message and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/dma/xilinx/zynqmp_dma.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c i

[PATCH] dt-bindings: nvmem: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-06-30 Thread sean.wang
From: Sean Wang This updates dt-binding documentation for MediaTek MT7622 and MT7623 SoC. For the both SoCs supported all rely on the fallback binding of the generic case with "mediatek,efuse". Signed-off-by: Sean Wang Signed-off-by: Andrew-CT Chen --- Documentation/devicetree/bindings/nvmem/

[PATCH] ocfs2: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 44021088 3855281598 fs/oc

Re: [PATCH -mm -v2 0/6] mm, swap: VMA based swap readahead

2017-06-30 Thread Huang, Ying
Hi, Minchan, Minchan Kim writes: > Hi Huang, > > Ccing Johannes: > > I don't read this patch yet but I remember Johannes tried VMA-based > readahead approach long time ago so he might have good comment. Thanks a lot for your information and connecting! Hi, Johannes, Do you have time to take a

[PATCH] dmaengine: zx: add check on platform_get_irq return value

2017-06-30 Thread Gustavo A. R. Silva
Check return value from call to platform_get_irq(), so in case of failure print error message and propagate the return value. Signed-off-by: Gustavo A. R. Silva --- drivers/dma/zx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/dma/zx_dma.c b/drivers/dma/zx_dma.c index 2bb

Re: [PATCH v2 04/20] gcc-plugins: Add the randstruct plugin

2017-06-30 Thread Ard Biesheuvel
On 30 June 2017 at 07:35, Arnd Bergmann wrote: > On Fri, Jun 30, 2017 at 12:53 AM, Kees Cook wrote: >> On Thu, Jun 29, 2017 at 3:08 PM, Arnd Bergmann wrote: >>> On Fri, May 26, 2017 at 10:17 PM, Kees Cook wrote: >>> I noticed new build errors that bisected back to this patch, which has >>> now

Re: [PATCH V1 7/9] clk: sprd: add adjustable pll support

2017-06-30 Thread Chunyan Zhang
Hi Stephen, On 30 June 2017 at 09:44, Stephen Boyd wrote: > On 06/22, Chunyan Zhang wrote: >> On 20 June 2017 at 09:37, Stephen Boyd wrote: >> > On 06/18, Chunyan Zhang wrote: >> >> diff --git a/drivers/clk/sprd/Makefile b/drivers/clk/sprd/Makefile >> >> index 83232e5..c593a93 100644 >> >> --- a

Re: [PATCH RFC 2/2] dt-bindings: add binding documentation for Allwinner CSI

2017-06-30 Thread Yong
On Fri, 30 Jun 2017 11:41:50 +0800 Chen-Yu Tsai wrote: > On Fri, Jun 30, 2017 at 5:19 AM, Rob Herring wrote: > > On Tue, Jun 27, 2017 at 07:07:34PM +0800, Yong Deng wrote: > >> Add binding documentation for Allwinner CSI. > > > > For the subject: > > > > dt-bindings: media: Add Allwinner Camera

Re: [PATCH 6/9] RISC-V: Device, timer, IRQs, and the SBI

2017-06-30 Thread Tobias Klauser
On 2017-06-30 at 00:52:44 +0200, Palmer Dabbelt wrote: > On Thu, 29 Jun 2017 01:39:25 PDT (-0700), tklau...@distanz.ch wrote: > > On 2017-06-28 at 20:55:35 +0200, Palmer Dabbelt wrote: > > [...] > >> diff --git a/arch/riscv/include/asm/device.h > >> b/arch/riscv/include/asm/device.h > >> new fil

[PATCH] nvmem: core: remove unneeded NULL check

2017-06-30 Thread Dan Carpenter
"p" is the list iterator so it can't be NULL. Static checkers complain about this unnecessary check because we dereference the list iterator to get the next item in the list so we'd be in trouble if it really was NULL. I have removed the check. Signed-off-by: Dan Carpenter diff --git a/drivers

[PATCH] fs: 9p: v9fs: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 2739 80 282847 b1f fs/9p

[GIT PULL] overlayfs fixes for 4.12-final

2017-06-30 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus Fix two bugs in copy-up code. One introduced in 4.11 and one in 4.12-rc. Thanks, Miklos --- Miklos Szeredi (2): ovl: copy-up: don't unlock between lookup and link ovl: don'

[PATCH] phy: phy-twl4030-usb: silence an uninitialized variable warning

2017-06-30 Thread Dan Carpenter
The "check" variable isn't necessarily initialized when we print it out in the debugging messages. It's a pretty haphazard affair and it doesn't matter very much what we initialize "check" to. Signed-off-by: Dan Carpenter diff --git a/drivers/phy/ti/phy-twl4030-usb.c b/drivers/phy/ti/phy-twl403

Re: [PATCH] devfreq: tegra: fix error code in tegra_devfreq_probe()

2017-06-30 Thread Chanwoo Choi
Hi, On 2017년 06월 30일 16:22, Gustavo A. R. Silva wrote: > Print and propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/devfreq/tegra-devfreq.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/de

[PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap

2017-06-30 Thread Dan Carpenter
BITS_TO_LONGS() gives us the number of longs we need, but we want to allocate the number of bytes. Fixes: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP") Signed-off-by: Dan Carpenter diff --git a/drivers/irqchip/irq-mvebu-gicp.c b/drivers/irqchip/irq-mvebu-gicp.c index 4

Re: [PATCH] devfreq: rk3399_dmc: fix error code in rk3399_dmcfreq_probe()

2017-06-30 Thread Chanwoo Choi
Hi, On 2017년 06월 30일 16:15, Gustavo A. R. Silva wrote: > Print and propagate the return value of platform_get_irq on failure. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/devfreq/rk3399_dmc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/devfre

[PATCH 1/2] scsi: lpfc: spin_lock_irq() is not nestable

2017-06-30 Thread Dan Carpenter
We're calling spin_lock_irq() multiple times, the problem is that on the first spin_unlock_irq() then we will re-enable IRQs and we don't want that. Fixes: 966bb5b71196 ("scsi: lpfc: Break up IO ctx list into a separate get and put list") Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/l

Re: [PATCH v2 04/19] media: camss: Add CSIPHY files

2017-06-30 Thread Sakari Ailus
Hi Todor, On Fri, Jun 30, 2017 at 10:00:25AM +0300, Todor Tomov wrote: > Hi Sakari, > > On 06/30/2017 02:53 AM, Sakari Ailus wrote: > > Hi Todor, > > > > On Thu, Jun 29, 2017 at 07:36:47PM +0300, Todor Tomov wrote: > +/* > + * csiphy_link_setup - Setup CSIPHY connections > + * @en

[PATCH] powerpc/64s: watchdog false positive warning at CPU unplug

2017-06-30 Thread Nicholas Piggin
CPU unplug will call stop_wd_on_cpu regardless if the watchdog has been configured to be enabled on that CPU. Don't warn in the case it's not in our enabled mask, this is a valid case. Fixes: powerpc-64s-implement-arch-specific-hardlockup-watchdog.patch Reported-by: Santosh Sivaraj Signed-off-by:

Re: [PATCH] irqchip/irq-mvebu-gicp: allocate enough memory for spi_bitmap

2017-06-30 Thread Thomas Petazzoni
Hello, On Fri, 30 Jun 2017 11:00:49 +0300, Dan Carpenter wrote: > BITS_TO_LONGS() gives us the number of longs we need, but we want to > allocate the number of bytes. > > Fixes: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell > GICP") > Signed-off-by: Dan Carpenter Indeed: A

Re: [PATCH] dmaengine: idma64: print error message on platform_get_irq failure

2017-06-30 Thread Vladimir Zapolskiy
Hello Gustavo, On 06/30/2017 10:34 AM, Gustavo A. R. Silva wrote: > Print error message on platform_get_irq failure before return. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/dma/idma64.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/dma/idma64.

Re: [PATCH] vmalloc: respect the GFP_NOIO and GFP_NOFS flags

2017-06-30 Thread Michal Hocko
On Thu 29-06-17 22:25:09, Mikulas Patocka wrote: > The __vmalloc function has a parameter gfp_mask with the allocation flags, > however it doesn't fully respect the GFP_NOIO and GFP_NOFS flags. The > pages are allocated with the specified gfp flags, but the pagetables are > always allocated with GF

Re: [PATCH v2 2/2] thermal: core: Allow to disable polling when disabling thermal zone.

2017-06-30 Thread Enric Balletbo Serra
Hi Rui, 2017-06-30 7:05 GMT+02:00 Zhang Rui : > On Thu, 2017-06-29 at 18:50 +0200, Enric Balletbo i Serra wrote: >> Under each thermal zone there is a optional file called "mode". >> Writing >> enabled or disabled to this file allows a given thermal zone to be >> enabled >> or disabled, but in cur

Re: [PATCH RFC] x86/smpboot: Unbreak CPU0 hotplug

2017-06-30 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > A hang on CPU0 onlining after a preceding offlining is observed. Trace > shows that CPU0 is stuck in check_tsc_sync_target() waiting for source > CPU to run check_tsc_sync_source() but this never happens. Source CPU, > in its turn, is stuck on synchronize_sched() which

Re: [PATCH v2 04/20] gcc-plugins: Add the randstruct plugin

2017-06-30 Thread Arnd Bergmann
On Fri, Jun 30, 2017 at 9:55 AM, Ard Biesheuvel wrote: > On 30 June 2017 at 07:35, Arnd Bergmann wrote: >> On Fri, Jun 30, 2017 at 12:53 AM, Kees Cook wrote: >>> The first obviously won't fly. The second just bypasses the problem >>> forcing it to be exposed by other people later. The third is l

Re: [v3 5/6] mm, oom: don't mark all oom victims tasks with TIF_MEMDIE

2017-06-30 Thread Michal Hocko
On Thu 29-06-17 14:45:13, Roman Gushchin wrote: > On Thu, Jun 29, 2017 at 10:53:57AM +0200, Michal Hocko wrote: > > On Wed 21-06-17 22:19:15, Roman Gushchin wrote: > > > We want to limit the number of tasks which are having an access > > > to the memory reserves. To ensure the progress it's enough

Re: [PATCH v1.1 2/2] drm: rcar-du: Repair vblank for DRM page flips using the VSP1

2017-06-30 Thread Kuninori Morimoto
Hi Kieran > -static void rcar_du_vsp_complete(void *private) > +static void rcar_du_vsp_complete(void *private, bool completed) > { > struct rcar_du_crtc *crtc = private; > > - rcar_du_crtc_finish_page_flip(crtc); > + if (crtc->vblank_enable) > + drm_crtc_handle_vblan

Re: [PATCH v2 3/8] objtool: stack validation 2.0

2017-06-30 Thread Ingo Molnar
* Josh Poimboeuf wrote: > This is a major rewrite of objtool. Instead of only tracking frame > pointer changes, it now tracks all stack-related operations, including > all register saves/restores. > > In addition to making stack validation more robust, this also paves the > way for undwarf gen

Re: [PATCH] cpuidle: menu: allow state 0 to be disabled

2017-06-30 Thread Nicholas Piggin
On Thu, 29 Jun 2017 22:57:33 +0200 "Rafael J. Wysocki" wrote: > On Mon, Jun 26, 2017 at 7:38 AM, Nicholas Piggin wrote: > > The menu driver does not allow state0 to be disabled completely. > > If it is disabled but other enabled states don't meet latency > > requirements, it is still used. > > >

Re: [PATCH 2/2] mm, memory_hotplug: remove zone restrictions

2017-06-30 Thread Michal Hocko
On Fri 30-06-17 11:09:51, Wei Yang wrote: > On Thu, Jun 29, 2017 at 3:35 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > Michal, > > I love the idea very much. > > > Historically we have enforced that any kernel zone (e.g ZONE_NORMAL) has > > to precede the Movable zone in the physical

Re: [PATCH 3/6] i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus

2017-06-30 Thread Andy Shevchenko
On Fri, Jun 30, 2017 at 3:54 AM, Chris Packham wrote: > Rather than returning -ENODEV if i2c_pca_add_numbered_bus() fails, > propagate the error to aid debugging. > + Suggested-by ? You or Wolfram can use below if you agree on it (I'm fine either way): Suggested-by: Andy Shevchenko > Signed-o

[PATCH V3 25/37] perf script: Add synthesized Intel PT power and ptwrite events

2017-06-30 Thread Adrian Hunter
Add definitions for synthesized Intel PT events for power and ptwrite. Signed-off-by: Adrian Hunter --- Changes in V3: Avoid using __packed tools/perf/builtin-script.c | 114 +- tools/perf/util/event.h | 118 +++

[PATCH V3 33/37] perf intel-pt: Synthesize new power and ptwrite events

2017-06-30 Thread Adrian Hunter
Synthesize new power and ptwrite events. Signed-off-by: Adrian Hunter --- Changes in V3: Use perf_synth__raw_size() and perf_synth__raw_data() as a result of avoiding __packed tools/perf/util/intel-pt.c | 283 + 1 file changed, 283

Re: [RFC 0/5] drivers: Add boot constraints core

2017-06-30 Thread Viresh Kumar
On 30-06-17, 14:36, Chen-Yu Tsai wrote: > = On Fri, Jun 30, 2017 at 1:12 PM, Viresh Kumar > wrote: > > Right, but someone needs to get the regulator first to have that > > considered by the regulator core while deciding the final range. > > AFAIK the regulator core automatically corrects any vo

Re: [PATCH 5/6] i2c: pca-platform: use device_property_read_u32

2017-06-30 Thread Andy Shevchenko
On Fri, Jun 30, 2017 at 3:54 AM, Chris Packham wrote: > Use device_property_read_u32 instead of of_property_read_u32_index to > lookup the "clock-frequency" property. My comments below. > > Signed-off-by: Chris Packham > --- > drivers/i2c/busses/i2c-pca-platform.c | 9 - > 1 file chang

Re: [task_work] 46a4746d9a: inconsistent{IN-HARDIRQ-W}->{HARDIRQ-ON-W}usage

2017-06-30 Thread Will Deacon
On Fri, Jun 30, 2017 at 02:19:20PM +0800, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 46a4746d9a364a9b0267c19be0f8419e9b72ad37 ("task_work: Replace > spin_unlock_wait() with lock/unlock pair") > https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git

Re: Regarding your thread on LKML - drm_radeon spamming alloc_contig_range [WAS: Re: PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy]

2017-06-30 Thread Michal Hocko
[CC Vlastimil, Joonsoo] On Thu 29-06-17 17:47:05, Robin H. Johnson wrote: > CC'd back to LKML. > > On Thu, Jun 29, 2017 at 06:11:00PM +0530, Kumar Abhishek wrote: > > Hi Robin, > > > > I am an independent developer who stumbled upon your thread on the LKML > > after facing a similar issue - my k

Re: [PATCH v2] PCI / PM: Avoid using device_may_wakeup() for runtime PM

2017-06-30 Thread Mika Westerberg
On Fri, Jun 30, 2017 at 12:37:00AM +0200, Rafael J. Wysocki wrote: > On Friday, June 23, 2017 02:58:11 PM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > pci_target_state() calls device_may_wakeup() which checks whether > > or not the device may wake up the system from sleep states,

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Tomi Valkeinen
On 30/06/17 09:41, Tomi Valkeinen wrote: > So, I don't know... I guess I need to try to invent some horrible hacks > around the driver to somehow manage the omap3 problems. Perhaps > disabling/enabling the outputs when sync lost happens... Well, I tried that (attached), but it didn't work either.

Re: [PATCH 6/8] drm: Allow DSI devices to be registered before the host registers.

2017-06-30 Thread Andrzej Hajda
On 29.06.2017 17:22, Eric Anholt wrote: > Andrzej Hajda writes: > >> On 29.06.2017 07:03, Archit Taneja wrote: >>> On 06/28/2017 01:28 AM, Eric Anholt wrote: When a mipi_dsi_host is registered, the DT is walked to find any child nodes with compatible strings. Those get registered as DSI

Re: [PATCH] irqchip: gicv3-its: Use NUMA aware memory allocation for ITS tables

2017-06-30 Thread Marc Zyngier
On 30/06/17 04:01, Ganapatrao Kulkarni wrote: > On Fri, Jun 30, 2017 at 8:04 AM, Ganapatrao Kulkarni > wrote: >> Hi Shanker, >> >> On Sun, Jun 25, 2017 at 9:16 PM, Shanker Donthineni >> wrote: >>> The NUMA node information is visible to ITS driver but not being used >>> other than handling errata

Re: [PATCH V2 2/2] rt: Increase/decrease the nr of migratory tasks when enabling/disabling migration

2017-06-30 Thread Daniel Bristot de Oliveira
On 06/30/2017 09:30 AM, Ingo Molnar wrote: > > * Daniel Bristot de Oliveira wrote: > >> There is a problem in the migrate_disable()/enable() implementation >> regarding the number of migratory tasks in the rt/dl RQs. The problem >> is the following: >> >> When a task is attached to the rt runq

Re: [PATCH V2 25/37] perf script: Add synthesized Intel PT power and ptwrite events

2017-06-30 Thread Adrian Hunter
On 06/30/2017 05:08 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Jun 29, 2017 at 05:13:54PM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Thu, Jun 29, 2017 at 10:56:25PM +0300, Adrian Hunter escreveu: >>> On 06/28/2017 11:26 PM, Arnaldo Carvalho de Melo wrote: Right, and I've not been able

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Aaro Koskinen
Hi, On Fri, Jun 30, 2017 at 09:41:35AM +0300, Tomi Valkeinen wrote: > On 29/06/17 21:50, Aaro Koskinen wrote: > > On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote: > >> On 15/06/17 01:11, Aaro Koskinen wrote: > >>> When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and ther

Re: [PATCH 3/6] i2c: pca-platform: propagate error from i2c_pca_add_numbered_bus

2017-06-30 Thread Wolfram Sang
On Fri, Jun 30, 2017 at 11:40:51AM +0300, Andy Shevchenko wrote: > On Fri, Jun 30, 2017 at 3:54 AM, Chris Packham > wrote: > > Rather than returning -ENODEV if i2c_pca_add_numbered_bus() fails, > > propagate the error to aid debugging. > > > > + Suggested-by ? > > You or Wolfram can use below if

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Tomi Valkeinen
On 30/06/17 11:58, Aaro Koskinen wrote: > Hi, > > On Fri, Jun 30, 2017 at 09:41:35AM +0300, Tomi Valkeinen wrote: >> On 29/06/17 21:50, Aaro Koskinen wrote: >>> On Thu, Jun 15, 2017 at 09:51:06AM +0300, Tomi Valkeinen wrote: On 15/06/17 01:11, Aaro Koskinen wrote: > When booting v4.12-rc5

Re: [PATCH 5/6] i2c: pca-platform: use device_property_read_u32

2017-06-30 Thread Wolfram Sang
> > - i2c->algo_data.i2c_clock = 59000; > > + ret = device_property_read_u32(&pdev->dev, > > "clock-frequency", > > + &i2c->algo_data.i2c_clock); > > + if (ret) > > + i2c->algo_data.i2c_cl

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-30 Thread Mika Westerberg
On Thu, Jun 29, 2017 at 05:16:15PM +0100, John Garry wrote: > On 16/06/2017 12:24, Rafael J. Wysocki wrote: > > > > > >> > > > > > > >> > It causes acpi_default_enumeration() to be called but it should > > > > > >> > be fine > > > > > >> > as we are dealing with platform device anyway. > > > > >>

Re: [Patch v5 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-06-30 Thread Smitha T Murthy
On Wed, 2017-06-28 at 22:04 +0200, Kamil Debski wrote: > Hi, > > Please find my comments inline. > > On 19 June 2017 at 07:10, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst |

[PATCH v2] f2fs: introduce __check_sit_bitmap

2017-06-30 Thread Chao Yu
After we introduce discard thread, discard command can be issued concurrently with data allocating, this patch adds new function to heck sit bitmap to ensure that userdata was invalid in which on-going discard command covered. Signed-off-by: Chao Yu --- v2: remove sentry_lock to avoid ABBA deadlo

[PATCH net-next v8 0/2] Add loopback support in phy_driver and hns ethtool fix

2017-06-30 Thread Lin Yun Sheng
This Patch Set add set_loopback in phy_driver and use it to setup loopback when doing ethtool phy self_test. Patch V8: Respin the Patch based on net-next Patch V7: 1. Add comment why resume the phy in hns_nic_config_phy_loopback. 2. Fix a typo error in patch description.

[PATCH net-next v8 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-30 Thread Lin Yun Sheng
Use function set_loopback in phy_driver to setup phy loopback when doing ethtool self test. Signed-off-by: Lin Yun Sheng --- drivers/net/ethernet/hisilicon/hns/hnae.h| 1 + drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 105 --- 2 files changed, 35 insertions(+)

[PATCH net-next v8 1/2] net: phy: Add phy loopback support in net phy framework

2017-06-30 Thread Lin Yun Sheng
This patch add set_loopback in phy_driver, which is used by MAC driver to enable or disable phy loopback. it also add a generic genphy_loopback function, which use BMCR loopback bit to enable or disable loopback. Signed-off-by: Lin Yun Sheng Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli

Re: [PATCH NET V5 2/2] net: hns: Use phy_driver to setup Phy loopback

2017-06-30 Thread Yunsheng Lin
Hi, Andrew On 2017/6/29 21:56, Andrew Lunn wrote: >>> You only call dev_close() if the device is running. What if somebody >>> runs the self test on an interface when it has never been opened? It >>> looks like you will call phy_resume(). But since it has never been >>> suspended, you could be in

[PATCH] ASoC: ak4642: make arrays fs_list and ps_list static const

2017-06-30 Thread Colin King
From: Colin Ian King Don't populate the arrays fs_list and ps_list on the stack but make them static const. Makes the object code smaller: Before: textdata bss dec hex filename 120844888 64 17036428c sound/soc/codecs/ak4642.o After: textdata bss

Re: [PATCH RFC 08/26] locking: Remove spin_unlock_wait() generic definitions

2017-06-30 Thread Will Deacon
On Thu, Jun 29, 2017 at 05:01:16PM -0700, Paul E. McKenney wrote: > There is no agreed-upon definition of spin_unlock_wait()'s semantics, > and it appears that all callers could do just as well with a lock/unlock > pair. This commit therefore removes spin_unlock_wait() and related > definitions fr

[PATCH v2 RESEND] f2fs: introduce __check_sit_bitmap

2017-06-30 Thread Chao Yu
After we introduce discard thread, discard command can be issued concurrently with data allocating, this patch adds new function to heck sit bitmap to ensure that userdata was invalid in which on-going discard command covered. Signed-off-by: Chao Yu --- v2: remove sentry_lock to avoid ABBA deadlo

Re: [PATCH 0/7] userfaultfd: enable zeropage support for shmem

2017-06-30 Thread Mike Rapoprt
Hi, Any updates/comments? On June 20, 2017 9:20:45 AM GMT+03:00, Mike Rapoport wrote: >Hi, > >These patches enable support for UFFDIO_ZEROPAGE for shared memory. > >The first two patches are not strictly related to userfaultfd, they are >just minor refactoring to reduce amount of code duplicat

Re: [PATCH RFC 12/26] arm64: Remove spin_unlock_wait() arch-specific definitions

2017-06-30 Thread Will Deacon
On Thu, Jun 29, 2017 at 05:01:20PM -0700, Paul E. McKenney wrote: > There is no agreed-upon definition of spin_unlock_wait()'s semantics, > and it appears that all callers could do just as well with a lock/unlock > pair. This commit therefore removes the underlying arch-specific > arch_spin_unlock

Re: [PATCH] mm/memory-hotplug: Switch locking to a percpu rwsem

2017-06-30 Thread Michal Hocko
[CC Vladimir and Heiko who were touching this area lately] On Thu 29-06-17 18:11:15, Thomas Gleixner wrote: > Andrey reported a potential deadlock with the memory hotplug lock and the > cpu hotplug lock. > > The reason is that memory hotplug takes the memory hotplug lock and then > calls stop_mac

[PATCH] net: axienet: add of_phy_connect call for XAE_PHY_TYPE_MII case

2017-06-30 Thread Alvaro Gamez Machado
This IP core has support for mii connectivity to the phy, so be ready to connect to it when this is the case. Signed-off-by: Alvaro Gamez Machado --- drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/xi

Re: [PATCH v9 5/7] ACPI: Translate the I/O range of non-MMIO devices before scanning

2017-06-30 Thread John Garry
On 30/06/2017 10:05, Mika Westerberg wrote: On Thu, Jun 29, 2017 at 05:16:15PM +0100, John Garry wrote: On 16/06/2017 12:24, Rafael J. Wysocki wrote: It causes acpi_default_enumeration() to be called but it should be fine as we are dealing with platform device anyway. I do not quite understa

[PATCH] eCryptfs: constify attribute_group structures.

2017-06-30 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 6122 636 2467821a7e fs/ec

[PATCH] mfd: rtsx: make arrays depth and cd_mask static const

2017-06-30 Thread Colin King
From: Colin Ian King Don't populate the arrays depath and cd_mask on the stack but make them static const. Makes the object code smaller: textdata bss dec hex filename 254137216 448 330778135 drivers/mfd/rtsx_pcr.o textdata bss dec hex file

Re: [PATCH v5] drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus

2017-06-30 Thread Maxime Ripard
Hi, On Fri, Jun 30, 2017 at 08:22:13AM +1000, Jonathan Liu wrote: > Hi Maxime, > > On 30 June 2017 at 01:56, Maxime Ripard > wrote: > > On Wed, Jun 28, 2017 at 08:39:33PM +1000, Jonathan Liu wrote: > >> >> + u32 int_status; > >> >> + u32 fifo_status; > >> >> + /* Read needs empty fla

Re: [PATCH] [media] davinci/dm644x: work around ccdc_update_raw_params trainwreck

2017-06-30 Thread Lad, Prabhakar
Hi Arnd, On Tue, Jun 27, 2017 at 12:08 PM, Arnd Bergmann wrote: > On Tue, Jun 27, 2017 at 12:13 PM, Sekhar Nori wrote: >> On Tuesday 20 June 2017 06:36 PM, Lad, Prabhakar wrote: >>> Hi Arnd, >>> >>> Thanks for the patch. >>> >>> On Fri, Jun 9, 2017 at 10:36 PM, Arnd Bergmann wrote: Now tha

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-30 Thread Aaro Koskinen
Hi, On Fri, Jun 30, 2017 at 11:47:55AM +0300, Tomi Valkeinen wrote: > > So, I don't know... I guess I need to try to invent some horrible hacks > > around the driver to somehow manage the omap3 problems. Perhaps > > disabling/enabling the outputs when sync lost happens... > > Well, I tried that (

Re: [PATCH 2/2] mm, memory_hotplug: remove zone restrictions

2017-06-30 Thread Wei Yang
On Fri, Jun 30, 2017 at 4:39 PM, Michal Hocko wrote: > On Fri 30-06-17 11:09:51, Wei Yang wrote: >> On Thu, Jun 29, 2017 at 3:35 PM, Michal Hocko wrote: >> > From: Michal Hocko >> > >> >> Michal, >> >> I love the idea very much. >> > > You haven't written your sequence of onlining but if you us

[GIT PULL] sound fixes for 4.12

2017-06-30 Thread Takashi Iwai
Linus, please pull sound fixes for v4.12 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.12 The topmost commit is d94815f917da770d42c377786dc428f542e38f71 sound fixes for 4.12 Two last-minute H

  1   2   3   4   5   6   7   8   >