[PATCH cgroup/for-4.15-fixes] cgroup: fix css_task_iter crash on CSS_TASK_ITER_PROC

2017-12-20 Thread Tejun Heo
Hello, Applied the following to cgroup/for-4.15-fixes. Will push out to linus later this week. I could reproduce the problem reliably and am pretty sure this is the right fix but I'd greatly appreciate if you guys can confirm the fix too. Thank you very much. -- 8< -- >From 74d0833c659

Re: [PATCH 2/2] mtd: spi-nor: cadence-quadspi: Add support for direct access mode

2017-12-20 Thread Cyrille Pitchen
Hi Vignesh, Le 07/12/2017 à 07:38, Vignesh R a écrit : > Cadence QSPI controller provides direct access mode through which flash > can be accessed in a memory-mapped IO mode. This enables read/write to > flash using memcpy*() functions. This mode provides higher throughput > for both read/write op

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Daniel Vetter
On Wed, Dec 20, 2017 at 3:55 PM, Max Staudt wrote: > On 12/20/2017 11:14 AM, Daniel Vetter wrote: >> btw since I'm probably sounding a bit too grumpy here: I'd very much >> support this. I think bootsplash in kernel has a bunch of uses, and it >> shouldn't be hard to get non-suse people to cheer f

Re: [PATCH v3 0/9] memfd: add sealing to hugetlb-backed memory

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 15:15:50, Marc-André Lureau wrote: > Hi > > On Wed, Nov 15, 2017 at 4:13 AM, Mike Kravetz wrote: > > +Cc: Andrew, Michal, David > > > > Are there any other comments on this patch series from Marc-André? Is > > anything > > else needed to move forward? > > > > I have reviewed the

Re: [PATCH 2/2] input - leds: fix input_led_disconnect path

2017-12-20 Thread Benjamin Tissoires
On Sat, Dec 16, 2017 at 1:48 AM, Dmitry Torokhov wrote: > Hi Benjamin, > > On Thu, Dec 14, 2017 at 02:25:22PM +0100, Benjamin Tissoires wrote: >> Before unregistering the led classes, we have to be sure there is no >> more events in the input pipeline. >> Closing the input node before removing the

RE: [PATCH 0/4] tpm: fix PS/2 devices not working on Braswell systems due CLKRUN enabled

2017-12-20 Thread Shaikh, Azhar
>-Original Message- >From: linux-integrity-ow...@vger.kernel.org [mailto:linux-integrity- >ow...@vger.kernel.org] On Behalf Of alexander.stef...@infineon.com >Sent: Wednesday, December 20, 2017 6:07 AM >To: javi...@redhat.com; hdego...@redhat.com; linux- >ker...@vger.kernel.org >Cc: ja...

Re: [PATCH v2 0/2] eeprom: at24: write-protect pin support

2017-12-20 Thread Bartosz Golaszewski
2017-12-20 16:00 GMT+01:00 Andy Shevchenko : > On Wed, Dec 20, 2017 at 2:41 PM, Bartosz Golaszewski wrote: >> 2017-12-20 11:21 GMT+01:00 Andy Shevchenko : >>> On Wed, Dec 20, 2017 at 10:26 AM, Bartosz Golaszewski wrote: AT24 EEPROMs have a write-protect pin, which - when pulled high - i

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 04:01:10PM +0100, Peter Zijlstra wrote: > Well, you shouldn't mix atomic and non-atomic ops to the same word, > that's asking for trouble. > > But why don't you do something like: > > nohz_kick() > > flags = NOHZ_STAT; > if (!only_update) > flags

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Patrick Bellasi
On 20-Dec 15:52, Rafael J. Wysocki wrote: > On Wednesday, December 20, 2017 3:31:00 PM CET Patrick Bellasi wrote: > > On 20-Dec 14:28, Peter Zijlstra wrote: > > > On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > > > > On 20-Dec 09:31, Peter Zijlstra wrote: > > > > > > > > Didn't

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 03:23:01PM +0100, Vincent Guittot wrote: > On 20 December 2017 at 15:03, Peter Zijlstra wrote: > > On Fri, Dec 01, 2017 at 06:01:56PM +, Brendan Jackman wrote: > >> @@ -8955,8 +8964,20 @@ static void nohz_balancer_kick(void) > >> if (ilb_cpu >= nr_cpu_ids) > >>

Re: [PATCH v2 0/2] eeprom: at24: write-protect pin support

2017-12-20 Thread Andy Shevchenko
On Wed, Dec 20, 2017 at 2:41 PM, Bartosz Golaszewski wrote: > 2017-12-20 11:21 GMT+01:00 Andy Shevchenko : >> On Wed, Dec 20, 2017 at 10:26 AM, Bartosz Golaszewski wrote: >>> AT24 EEPROMs have a write-protect pin, which - when pulled high - >>> inhibits writes to the upper quadrant of memory (alt

Re: [PATCH] Fix: membarrier: add missing preempt off around smp_call_function_many

2017-12-20 Thread Mathieu Desnoyers
Hi Linus, Peter, Ingo, Now that membarrier.c has been moved from kernel/ to kernel/sched/, should I route this membarrier fix through the scheduler maintainers, or is it OK to send it to you directly ? Thanks, Mathieu - On Dec 15, 2017, at 2:23 PM, Mathieu Desnoyers mathieu.desnoy...@effic

Re: [PATCH 1/2] mtd: spi-nor: cadence-quadspi: Refactor indirect read/write sequence.

2017-12-20 Thread Cyrille Pitchen
Hi Vignesh, Le 07/12/2017 à 07:38, Vignesh R a écrit : > Move configuring of indirect read/write start address to > cqspi_indirect_*_execute() function and rename cqspi_indirect_*_setup() > function. This will help to reuse cqspi_indirect_*_setup() function for > supporting direct access mode. >

Re: [PATCH net-next 1/2] virtio_net: allow hypervisor to indicate linkspeed and duplex setting

2017-12-20 Thread Michael S. Tsirkin
On Thu, Dec 14, 2017 at 02:33:53PM -0500, Jason Baron wrote: > If the hypervisor exports the link and duplex speed, let's use that instead > of the default unknown speed. The user can still overwrite it later if > desired via: 'ethtool -s'. This allows the hypervisor to set the default > link speed

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Max Staudt
On 12/20/2017 11:14 AM, Daniel Vetter wrote: > btw since I'm probably sounding a bit too grumpy here: I'd very much > support this. I think bootsplash in kernel has a bunch of uses, and it > shouldn't be hard to get non-suse people to cheer for it (makes merging > easier if it's not just a one-off

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Rafael J. Wysocki
On Wednesday, December 20, 2017 3:31:00 PM CET Patrick Bellasi wrote: > On 20-Dec 14:28, Peter Zijlstra wrote: > > On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > > > On 20-Dec 09:31, Peter Zijlstra wrote: > > > > > > Didn't juri have patches to make DL do something sane? But ye

Re: [PATCH] vfb: fix video mode and line_length being set when loaded

2017-12-20 Thread Pieter "PoroCYon" Sluys
Geert Uytterhoeven: > Please add your "Signed-off-by", cfr. > Documentation/process/submitting-patches.rst. Sorry I knew I would've messed up *something*. > You can drop the tests for 2 and 4, as these are no longer used by the driver. Done that. Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Pi

Re: [PATCH v3 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter

2017-12-20 Thread Patrick Bellasi
On 20-Dec 15:33, Peter Zijlstra wrote: > On Thu, Nov 30, 2017 at 11:47:18AM +, Patrick Bellasi wrote: > > Currently, sg_cpu's flags are set to the value defined by the last call > > of the cpufreq_update_util(); for RT/DL classes this corresponds to the > > SCHED_CPUFREQ_{RT/DL} flags always be

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 03:47:23PM +0100, Rafael J. Wysocki wrote: > > Well, we still need flags for crap like IO-WAIT IIRC. That's sugov > > internal state and not something the scheduler actually already knows. > > Not only sugov to be precise, but yes. Oh, right, intel_pstate also consumes tha

[PATCH] clocksource/drivers/mips-gic-timer: Add pr_fmt and reword pr_* messages

2017-12-20 Thread Matt Redfearn
Several messages from the MIPS GIC driver include the text "GIC", "GIC timer", etc, but the format is not standard. Add a pr_fmt of "mips-gic-timer: " and reword the messages now that they will be prefixed with the driver name. Signed-off-by: Matt Redfearn --- drivers/clocksource/mips-gic-timer

Re: [PATCH] ARM: mediatek: use more generic prompts for SoCs with ARMv7

2017-12-20 Thread Matthias Brugger
On 12/18/2017 10:39 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Supported MediaTek SoCs with ARMv7 are not limited within MT65xx or MT81xx > and thus use more generic words to prompt users as the other vendors > usually use. > > Signed-off-by: Sean Wang > --- > arch/arm/mach-medi

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Rafael J. Wysocki
On Wednesday, December 20, 2017 2:28:26 PM CET Peter Zijlstra wrote: > On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > > On 20-Dec 09:31, Peter Zijlstra wrote: > > > > Didn't juri have patches to make DL do something sane? But yes, I think > > > those flags are part of the probl

Re: Regression: unable to boot after commit bd9240a18edf ("x86/apic: Add TSC_DEADLINE quirk due to errata") - Surface Pro 4 SKL

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 10:08:21PM +0800, Zhang Rui wrote: > > Does this help? > > > No. Bah!, does this at least get you a IRQ0 line in /proc/interrupts? > > diff --git a/arch/x86/kernel/time.c b/arch/x86/kernel/time.c > > index 749d189f8cd4..45675072771c 100644 > > --- a/arch/x86/kernel/time.

Re: [PATCH v1 4/4] arm64: dts: mediatek: add mt2712 cpufreq related device nodes

2017-12-20 Thread Matthias Brugger
On 12/17/2017 07:05 PM, Rafael J. Wysocki wrote: > On Tuesday, December 12, 2017 10:34:42 AM CET Matthias Brugger wrote: >> Hi, >> >> On 12/12/2017 08:26 AM, Viresh Kumar wrote: >>> On 12-12-17, 02:17, Rafael J. Wysocki wrote: On Monday, December 11, 2017 8:57:19 AM CET Viresh Kumar wrote: >

Re: [PATCH RESEND] cpufreq: schedutil: Use idle_calls counter of the remote CPU

2017-12-20 Thread Rafael J. Wysocki
On Tuesday, December 19, 2017 8:32:09 PM CET Joel Fernandes wrote: > On Tue, Dec 19, 2017 at 10:48 AM, Peter Zijlstra wrote: > > On Tue, Dec 19, 2017 at 09:47:12AM -0800, Joel Fernandes wrote: > >> Since the recent remote cpufreq callback work, its possible that a cpufreq > >> update is triggered

Re: [PATCH] kvm/vmx: Use local vmx variable in vmx_get_msr()

2017-12-20 Thread Paolo Bonzini
On 20/12/2017 12:50, Borislav Petkov wrote: > From: Borislav Petkov > > ... just like in vmx_set_msr(). > > No functionality change. > > Signed-off-by: Borislav Petkov > Cc: Paolo Bonzini > Cc: "Radim Krčmář" > --- > arch/x86/kvm/vmx.c | 11 ++- > 1 file changed, 6 insertions(+), 5

RE: [PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread David Laight
From: Crt Mori > Sent: 20 December 2017 14:20 > > There is no option to perform 64bit integer sqrt on 32bit platform. > Added stronger typed int_sqrt64 enables the 64bit calculations to > be performed on 32bit platforms. Although int_sqrt() is a rough > approximation, the same algorithm is used in

Re: [PATCH 14/15] dax: associate mappings with inodes, and warn if dma collides with truncate

2017-12-20 Thread Jan Kara
On Tue 19-12-17 17:11:38, Dan Williams wrote: > On Fri, Nov 10, 2017 at 1:08 AM, Christoph Hellwig wrote: > >> + struct { > >> + /* > >> + * ZONE_DEVICE pages are never on an lru or handled > >> by > >> + * a slab allocator

Re: [PATCH 0/4] tpm: fix PS/2 devices not working on Braswell systems due CLKRUN enabled

2017-12-20 Thread Javier Martinez Canillas
Hello Alexander, On 12/20/2017 03:07 PM, alexander.stef...@infineon.com wrote: >> Hi Hans, >> >> Thanks a lot for your feedback. >> >> On 12/20/2017 12:43 PM, Hans de Goede wrote: >>> Hi, >>> >>> On 20-12-17 12:35, Javier Martinez Canillas wrote: Hello, Commit 5e572cab92f0 ("tpm: En

Re: [PATCH 1/2] livepatch: Remove immediate feature

2017-12-20 Thread Petr Mladek
On Fri 2017-12-08 18:25:22, Miroslav Benes wrote: > immediate flag has been used to disable per-task consistency and patch > all tasks immediately. It could be useful if the patch doesn't change any > function or data semantics. > > However, it causes problems on its own. The consistency problem i

Re: [PATCH v3 1/6] cpufreq: schedutil: reset sg_cpus's flags at IDLE enter

2017-12-20 Thread Peter Zijlstra
On Thu, Nov 30, 2017 at 11:47:18AM +, Patrick Bellasi wrote: > Currently, sg_cpu's flags are set to the value defined by the last call > of the cpufreq_update_util(); for RT/DL classes this corresponds to the > SCHED_CPUFREQ_{RT/DL} flags always being set. > > When multiple CPUs share the same

Re: [PATCH V2 02/10] clk: reparent orphans after critical clocks enabled

2017-12-20 Thread Dong Aisheng
On Thu, Nov 02, 2017 at 12:36:09AM -0700, Stephen Boyd wrote: > On 07/13, Dong Aisheng wrote: > > The orphan clocks reparent operation should be moved after the critical > > clocks enabled, otherwise it may get a chance to disable a newly > > registered critical clock which triggers the following w

Re: [Qemu-devel] [PATCH 2/2] qemu: add linkspeed and duplex setting to virtio-net

2017-12-20 Thread Yan Vugenfirer
> On 20 Dec 2017, at 16:31, Michael S. Tsirkin wrote: > > On Tue, Dec 19, 2017 at 11:52:39AM -0500, Jason Baron wrote: >> >> >> On 12/19/2017 04:19 AM, Yan Vugenfirer wrote: >>> On 18 Dec 2017, at 18:04, Jason Baron via Qemu-devel mailto:qemu-de...@nongnu.org>> wrote: >>

Re: [Qemu-devel] [PATCH 2/2] qemu: add linkspeed and duplex setting to virtio-net

2017-12-20 Thread Michael S. Tsirkin
On Tue, Dec 19, 2017 at 11:52:39AM -0500, Jason Baron wrote: > > > On 12/19/2017 04:19 AM, Yan Vugenfirer wrote: > > > >> On 18 Dec 2017, at 18:04, Jason Baron via Qemu-devel > >> mailto:qemu-de...@nongnu.org>> wrote: > >> > >> > >> > >> On 12/18/2017 06:34 AM, Yan Vugenfirer wrote: > >>> >

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Patrick Bellasi
On 20-Dec 14:28, Peter Zijlstra wrote: > On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > > On 20-Dec 09:31, Peter Zijlstra wrote: > > > > Didn't juri have patches to make DL do something sane? But yes, I think > > > those flags are part of the problem. > > > > He recently repos

Re: [PATCH V2 01/10] clk: clk-divider: add CLK_DIVIDER_ZERO_GATE clk support

2017-12-20 Thread Dong Aisheng
On Thu, Nov 02, 2017 at 12:50:39AM -0700, Stephen Boyd wrote: > On 07/13, Dong Aisheng wrote: > > diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c > > index 9bb472c..55f8c41 100644 > > --- a/drivers/clk/clk-divider.c > > +++ b/drivers/clk/clk-divider.c > > @@ -123,6 +123,9 @@ unsi

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Vincent Guittot
On 20 December 2017 at 15:09, Peter Zijlstra wrote: > On Fri, Dec 01, 2017 at 06:01:56PM +, Brendan Jackman wrote: > >> @@ -9210,7 +9256,15 @@ static void nohz_idle_balance(struct rq *this_rq, >> enum cpu_idle_type idle) >> cpu_load_update_idle(rq); >>

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Vincent Guittot
On 20 December 2017 at 15:03, Peter Zijlstra wrote: > On Fri, Dec 01, 2017 at 06:01:56PM +, Brendan Jackman wrote: >> @@ -8955,8 +8964,20 @@ static void nohz_balancer_kick(void) >> if (ilb_cpu >= nr_cpu_ids) >> return; >> >> - if (test_and_set_bit(NOHZ_BALANCE_KICK, noh

Re: [PATCH, RFT] ARM: use --fix-v4bx to allow building ARMv4 with future gcc

2017-12-20 Thread Arnd Bergmann
On Wed, Dec 20, 2017 at 2:46 PM, Ard Biesheuvel wrote: > On 20 December 2017 at 13:00, Arnd Bergmann wrote: >> For consistency, I'm passing the --fix-v4bx flag for both the >> vmlinux final link and the individual loadable modules. >> The module loader code already interprets the R_ARM_V4BX reloc

Re: [PATCH v2 2/2] sched/fair: Update blocked load from newly idle balance

2017-12-20 Thread Peter Zijlstra
On Fri, Dec 01, 2017 at 06:01:57PM +, Brendan Jackman wrote: > @@ -7913,6 +7928,29 @@ static inline void update_sd_lb_stats(struct lb_env > *env, struct sd_lb_stats *sd > if (child && child->flags & SD_PREFER_SIBLING) > prefer_sibling = 1; > > +#ifdef CONFIG_NO_HZ_COMMON

Re: [PATCH v9 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Crt Mori
On 20 December 2017 at 10:56, Joe Perches wrote: > On Wed, 2017-12-20 at 10:33 +0100, Crt Mori wrote: >> There is no option to perform 64bit integer sqrt on 32bit platform. >> Added stronger typed int_sqrt64 enables the 64bit calculations to >> be performed on 32bit platforms. Although int_sqrt()

[PATCH v10 0/3] iio: temperataure: MLX90632

2017-12-20 Thread Crt Mori
Hi everybody, With the sensor now available to broad public, it is time to also share the driver with the community. MLX90632 is just 3x3mm in size, but with factory calibration offers instant usage in every project. Driver currently provides basic functionality, but I might add some more fancy f

[PATCH v10 1/3] lib: Add strongly typed 64bit int_sqrt

2017-12-20 Thread Crt Mori
There is no option to perform 64bit integer sqrt on 32bit platform. Added stronger typed int_sqrt64 enables the 64bit calculations to be performed on 32bit platforms. Although int_sqrt() is a rough approximation, the same algorithm is used in int_sqrt64() as good enough on 32bit platform. Signed-o

Re: [PATCH] kfree_rcu() should use the new kfree_bulk() interface for freeing rcu structures

2017-12-20 Thread Michal Hocko
On Tue 19-12-17 12:02:03, Rao Shoaib wrote: > BTW -- This is my first ever patch to Linux, so I am still learning the > etiquette. Reading through Documentation/process/submitting-patches.rst might be really helpful. Good luck! -- Michal Hocko SUSE Labs

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Max Staudt
On 12/20/2017 11:06 AM, Neil Armstrong wrote: > My 2cents about this patchset: > You did a good job about all the animation and splash logic, but for me all > this fbcon > stuff is a huge hack, please use a standard and modern display subsystem en > leave fbcon > die alone Thanks for the com

Re: [PATCH v3 0/9] memfd: add sealing to hugetlb-backed memory

2017-12-20 Thread Marc-André Lureau
Hi On Wed, Nov 15, 2017 at 4:13 AM, Mike Kravetz wrote: > +Cc: Andrew, Michal, David > > Are there any other comments on this patch series from Marc-André? Is > anything > else needed to move forward? > > I have reviewed the patches in the series. David Herrmann (the original > memfd_create/fi

Re: [PATCH v3,net-next 2/2] ip6_gre: fix potential memory leak in ip6erspan_rcv

2017-12-20 Thread William Tu
On Tue, Dec 19, 2017 at 6:07 PM, Haishuang Yan wrote: > If md is NULL, tun_dst must be freed, otherwise it will cause memory > leak. > > Fixes: ef7baf5e083c ("ip6_gre: add ip6 erspan collect_md mode") > Cc: William Tu > Signed-off-by: Haishuang Yan > > --- > Changes since v3: > * Rebase on lat

Re: [RFC PATCH 09/12] mmc: sdhci: Use software timer when timeout greater than hardware capablility

2017-12-20 Thread Adrian Hunter
On 14/12/17 15:09, Kishon Vijay Abraham I wrote: > Errata i834 in AM572x Sitara Processors Silicon Revision 2.0, 1.1 > (SPRZ429K July 2014–Revised March 2017 [1]) mentions > Under high speed HS200 and SDR104 modes, the functional clock for MMC > modules will reach up to 192 MHz. At this frequency,

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Max Staudt
On 12/20/2017 10:43 AM, Daniel Vetter wrote: > On Tue, Dec 19, 2017 at 07:40:12PM +0100, Max Staudt wrote: >> On 12/19/2017 06:26 PM, Daniel Vetter wrote: >>> So essentially you're telling me that on a current general purpose >>> distro the gfx driver loading is a dumpster fire, and we're fixing >>

[PATCH v2 3/3] phy: core: Update the runtime PM section in the docs to reflect changes

2017-12-20 Thread Ulf Hansson
Let's update and clarify he phy documentation, to reflect the latest changes around the runtime PM deployment in the phy core. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Ulf Hansson --- Documentation/phy.txt | 29 - 1 file changed, 16 insertions

Re: [PATCH] s390/decompressor: add fortify_panic as x86 has.

2017-12-20 Thread Michal Suchánek
On Wed, 13 Dec 2017 09:33:17 +0100 Heiko Carstens wrote: > From 4ec2a3fd66bb5b1da35807bc2e382f9b8d9eebb8 Mon Sep 17 00:00:00 2001 > From: Heiko Carstens > Date: Wed, 13 Dec 2017 09:21:59 +0100 > Subject: [PATCH] s390/sclp: disable FORTIFY_SOURCE for early sclp code > > Michal Suchanek reported

[PATCH v2 2/3] phy: core: Drop unused runtime PM APIs

2017-12-20 Thread Ulf Hansson
The phy core already deploys runtime PM support, so there seems to be no obvious reason for having dedicated APIs to control runtime PM for phys. Therefore, let's remove the APIs altogether and instead convert internal needed functions to be static. Signed-off-by: Ulf Hansson --- drivers/phy/ph

[PATCH v2 1/3] phy: core: Move runtime PM reference counting to the parent device

2017-12-20 Thread Ulf Hansson
The runtime PM deployment in the phy core is deployed using the phy core device, which is created by the phy core and assigned as a child device of the phy provider device. The behaviour around the runtime PM deployment cause some issues during system suspend, in cases when the phy provider device

[PATCH v2 0/3] phy: core: Re-work runtime PM deployment and fix an issue

2017-12-20 Thread Ulf Hansson
Changes in v2: - Address scenario, pointed out by Kishon, that runtime PM may be enabled by the phy provider driver, *after* it have called devm_phy_create() or phy_create(). The intend of this series is to simplify the runtime PM deployment in the phy core, but while doing

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Peter Zijlstra
On Fri, Dec 01, 2017 at 06:01:56PM +, Brendan Jackman wrote: > @@ -9210,7 +9256,15 @@ static void nohz_idle_balance(struct rq *this_rq, enum > cpu_idle_type idle) > cpu_load_update_idle(rq); > rq_unlock_irq(rq, &rf); > > - reba

Re: Regression: unable to boot after commit bd9240a18edf ("x86/apic: Add TSC_DEADLINE quirk due to errata") - Surface Pro 4 SKL

2017-12-20 Thread Zhang Rui
On Tue, 2017-12-19 at 18:23 +0100, Peter Zijlstra wrote: > On Tue, Dec 19, 2017 at 05:01:55PM +0100, Peter Zijlstra wrote: > > > > On Tue, Dec 19, 2017 at 11:42:41PM +0800, Zhang Rui wrote: > > > > > > On Tue, 2017-12-19 at 16:23 +0100, Peter Zijlstra wrote: > > > > > > > > > > > [0.00]

RE: [PATCH 0/4] tpm: fix PS/2 devices not working on Braswell systems due CLKRUN enabled

2017-12-20 Thread Alexander.Steffen
> Hi Hans, > > Thanks a lot for your feedback. > > On 12/20/2017 12:43 PM, Hans de Goede wrote: > > Hi, > > > > On 20-12-17 12:35, Javier Martinez Canillas wrote: > >> Hello, > >> > >> Commit 5e572cab92f0 ("tpm: Enable CLKRUN protocol for Braswell > systems") > >> added logic in the TPM TIS drive

[PATCH v3] xen/balloon: Mark unallocated host memory as UNUSABLE

2017-12-20 Thread Boris Ostrovsky
Commit f5775e0b6116 ("x86/xen: discard RAM regions above the maximum reservation") left host memory not assigned to dom0 as available for memory hotplug. Unfortunately this also meant that those regions could be used by others. Specifically, commit fa564ad96366 ("x86/PCI: Enable a 64bit BAR on AMD

[PATCH] fs: fat: add ioctl to modify fat filesystem volume label

2017-12-20 Thread Chen Guanqiao
The FAT filesystem volume label can be read with FAT_IOCTL_GET_VOLUME_LABEL and written with FAT_IOCTL_SET_VOLUME_LABEL. Signed-off-by: Chen Guanqiao --- fs/fat/fat.h | 1 + fs/fat/file.c | 51 +++ fs/fat/inode.c

Re: [PATCH v3 19/19] fs: handle inode->i_version more efficiently

2017-12-20 Thread Jeff Layton
On Tue, 2017-12-19 at 09:07 +1100, Dave Chinner wrote: > On Mon, Dec 18, 2017 at 02:35:20PM -0500, Jeff Layton wrote: > > [PATCH] SQUASH: add memory barriers around i_version accesses > > Why explicit memory barriers rather than annotating the operations > with the required semantics and getting t

Re: [PATCH v2 1/2] sched: force update of blocked load of idle cpus

2017-12-20 Thread Peter Zijlstra
On Fri, Dec 01, 2017 at 06:01:56PM +, Brendan Jackman wrote: > @@ -8955,8 +8964,20 @@ static void nohz_balancer_kick(void) > if (ilb_cpu >= nr_cpu_ids) > return; > > - if (test_and_set_bit(NOHZ_BALANCE_KICK, nohz_flags(ilb_cpu))) > + if (test_and_set_bit(NOHZ_BALAN

[GIT PULL] MFD fixes for v4.15

2017-12-20 Thread Lee Jones
Good afternoon Linus, 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 mfd-fixes-4.15 for you to fetch changes up

Re: [PATCH V4 1/1] clk: bulk: add of_clk_bulk_get()

2017-12-20 Thread Dong Aisheng
On Fri, Sep 29, 2017 at 03:48:21PM -0700, Stephen Boyd wrote: > On 09/26, Dong Aisheng wrote: > > 'clock-names' property is optinal in DT, so of_clk_bulk_get() is introduced > > s/optinal/optional/ > Got it. > > here to handle this for DT users without 'clock-names' specified. > > > > Cc: Step

Re: [PATCH v2 1/2] mm/memcg: try harder to decrease [memory,memsw].limit_in_bytes

2017-12-20 Thread Michal Hocko
On Wed 20-12-17 16:21:13, Andrey Ryabinin wrote: > mem_cgroup_resize_[memsw]_limit() tries to free only 32 (SWAP_CLUSTER_MAX) > pages on each iteration. This makes practically impossible to decrease > limit of memory cgroup. Tasks could easily allocate back 32 pages, > so we can't reduce memory usa

[PATCH v2 2/5] dt-bindings: Add vendor prefix for emtrion GmbH

2017-12-20 Thread jan.tuerk
From: Jan Tuerk emtrion is a system integrator and manufacturer of embedded systems. Website: https://www.emtrion.de Signed-off-by: Jan Tuerk Reviewed-by: Andreas Färber Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) di

[PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable DA0963 PMIC support.

2017-12-20 Thread jan.tuerk
From: Jan Tuerk All recent emtrion modules based on i.mx6 make use of the DA0963. Therefore enable it with the following defaults: - CONFIG_MFD_DA9063=y - CONFIG_REGULATOR_DA9063=y - CONFIG_DA9063_WATCHDOG=m - CONFIG_RTC_DRV_DA9063=m MFD and REGULATOR are built-in

[PATCH v2 4/5] ARM: dts: Add support for emtrion emCON-MX6 series

2017-12-20 Thread jan.tuerk
From: Jan Tuerk This patch adds support for the emtrion GmbH emCON-MX6 modules. They are available with imx.6 Solo, Dual-Lite, Dual and Quad equipped with Memory from 512MB to 2GB (configured by U-Boot). Our default developer-Kit ships with the Avari baseboard and the EDT ETM0700G0BDH6 Display (

[PATCH v2 0/5] Add basic support for emtrion emCON-MX6 modules

2017-12-20 Thread jan.tuerk
From: Jan Tuerk The following patch-series adds support for emtrion's emCON-MX6 modules with all their dependencies. The focus is based on the emtrion standard developer-kit configuration. It includes a new vendor-prefix, an new simple-panel type, a small modification of the imx6dl.dtsi, as

[PATCH v2 3/5] ARM: dts: imx: Add an cpu0 label for imx6dl devices.

2017-12-20 Thread jan.tuerk
From: Jan Tuerk Adding the label cpu0 allows the adjustment of cpu-parameters by reference in overlaying dtsi files in the same way as it is possible for imx6q devices. Signed-off-by: Jan Tuerk Reviewed-by: Andreas Färber --- arch/arm/boot/dts/imx6dl.dtsi | 2 +- 1 file changed, 1 insertion(+

[PATCH v2 1/5] drm/panel: Add support for the EDT ETM0700G0BDH6

2017-12-20 Thread jan.tuerk
From: Jan Tuerk The Emerging Display Technology ETM0700G0BDH6 is exactly the same display as the ETM0700G0DH6, exept the pixelclock polarity. Therefore re-use the ETM0700G0DH6 modes. It is used by default on emtrion Avari based development kits. Signed-off-by: Jan Tuerk --- .../bindings/displa

Re: [PATCH, RFT] ARM: use --fix-v4bx to allow building ARMv4 with future gcc

2017-12-20 Thread Ard Biesheuvel
Hi Arnd, On 20 December 2017 at 13:00, Arnd Bergmann wrote: > gcc-6.0 and later marks support for ARMv3 and ARMv4 as 'deprecated', > meaning that this is expected to be removed at some point in the future, > with gcc-8.0 as the earliest. > > When building the kernel, the difference between ARMv4

Re: [PATCH v2 3/4] usb: phy: Add Kconfig entry for Tegra PHY driver

2017-12-20 Thread Dmitry Osipenko
On 20.12.2017 16:17, kbuild test robot wrote: > Hi Dmitry, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on balbi-usb/next] > [also build test ERROR on v4.15-rc4 next-20171220] > [if your patch is applied to the wrong git tree, please drop

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Alexander Sverdlin
Hi Arnd! On Wed Dec 20 14:14:07 2017 Arnd Bergmann wrote: > > If it will be still possible to build the binary kernel of the same > > size after the conversion, I'm in for testing, otherwise it will not > > fit into Flash any more... > > I think there is an increase in code size that comes mainl

Re: [PATCH v3 1/7] typec: tcpm: Add PD Rev 3.0 definitions to PD header

2017-12-20 Thread kbuild test robot
help improve the system] url: https://github.com/0day-ci/linux/commits/Adam-Thomson/typec-tcpm-Add-sink-side-support-for-PPS/20171220-205656 config: i386-randconfig-x016-201751 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Peter Zijlstra
On Wed, Dec 20, 2017 at 12:55:46PM +, Patrick Bellasi wrote: > On 20-Dec 09:31, Peter Zijlstra wrote: > > Didn't juri have patches to make DL do something sane? But yes, I think > > those flags are part of the problem. > > He recently reposted them here: > > https://lkml.kernel.org/r/20171

Re: [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

2017-12-20 Thread Julia Lawall
On Wed, 20 Dec 2017, Joe Perches wrote: > On Wed, 2017-12-20 at 10:59 +0100, Greg Kroah-Hartman wrote: > > > > Why you didn't send that patch to the sysfs maintainer is a bit odd... > > > > :) > > > > > > So here's an opportunity for you: > > > > > > The sysfs maintainer hasn't added include/l

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Lukasz Majewski
Hi Linus, > On Wed, Dec 13, 2017 at 9:52 AM, Lukasz Majewski > wrote: > >> On Wed Dec 13 08:34:22 2017 Linus Walleij > >> wrote: > >> > On Tue, Dec 12, 2017 at 12:36 AM, Lukasz Majewski > >> > wrote: Out of curiosity: Liebherr is obviously doing heavy-duty > >> > industrial control systems. L

[PATCH v2 2/2] mm/memcg: Consolidate mem_cgroup_resize_[memsw]_limit() functions.

2017-12-20 Thread Andrey Ryabinin
mem_cgroup_resize_limit() and mem_cgroup_resize_memsw_limit() are almost identical functions. Instead of having two of them, we could pass an additional argument to mem_cgroup_resize_limit() and by using it, consolidate all the code in a single function. Signed-off-by: Andrey Ryabinin --- mm/mem

Re: [PATCH] livepatch: add locking to force and signal functions

2017-12-20 Thread Miroslav Benes
On Wed, 20 Dec 2017, Petr Mladek wrote: > On Wed 2017-12-20 10:28:07, Miroslav Benes wrote: > > klp_send_signals() and klp_force_transition() do not acquire klp_mutex, > > because it seemed to be superfluous. A potential race in > > klp_send_signals() was harmless and there was nothing in > > klp_

Re: [PATCH v6 00/11] Intel SGX Driver

2017-12-20 Thread Jarkko Sakkinen
On Wed, Dec 20, 2017 at 01:33:46AM +0200, Jarkko Sakkinen wrote: > On Tue, 2017-12-12 at 15:07 +0100, Pavel Machek wrote: > > On Sat 2017-11-25 21:29:17, Jarkko Sakkinen wrote: > > > Intel(R) SGX is a set of CPU instructions that can be used by > > > applications to > > > set aside private regions

[PATCH v2 1/2] mm/memcg: try harder to decrease [memory,memsw].limit_in_bytes

2017-12-20 Thread Andrey Ryabinin
mem_cgroup_resize_[memsw]_limit() tries to free only 32 (SWAP_CLUSTER_MAX) pages on each iteration. This makes practically impossible to decrease limit of memory cgroup. Tasks could easily allocate back 32 pages, so we can't reduce memory usage, and once retry_count reaches zero we return -EBUSY.

Re: [PATCH v2 3/4] usb: phy: Add Kconfig entry for Tegra PHY driver

2017-12-20 Thread kbuild test robot
Hi Dmitry, Thank you for the patch! Yet something to improve: [auto build test ERROR on balbi-usb/next] [also build test ERROR on v4.15-rc4 next-20171220] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [RFC PATCH v2 03/13] bootsplash: Flush framebuffer after drawing

2017-12-20 Thread Max Staudt
On 12/19/2017 10:01 PM, Ray Strode wrote: > Hi, > > On Tue, Dec 19, 2017 at 10:41 AM, Max Staudt wrote: >> I'm hooking into the in-kernel terminal emulator, because the bootsplash is a >> functional extension of that. It just happens that fbcon sits on top of FB, >> so I >> work with what I get.

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Arnd Bergmann
On Wed, Dec 20, 2017 at 2:00 PM, Alexander Sverdlin wrote: > Hi! > > On Wed Dec 20 13:50:28 2017 Arnd Bergmann wrote: >> I'm generally more interested in the multiplatform conversion than >> the DT conversion, and I think converting this one to multiplatform >> isn't actually that hard, and doesn

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Lukasz Majewski
Hi Arnd, > On Wed, Dec 20, 2017 at 1:33 PM, Linus Walleij > wrote: > > On Wed, Dec 13, 2017 at 9:52 AM, Lukasz Majewski > > wrote: > > > > > There is a point where supporting old board files will stand in > > the way and cost a lot in maintenance (like moving drivers our > > of arch/arm, or m

Re: [PATCH] irqchip/gic-v3-its: Flush GICR caching for a cross node collection move of an irq

2017-12-20 Thread Marc Zyngier
On 20/12/17 09:34, Ganapatrao Kulkarni wrote: > Hi Marc, > > On Wed, Dec 20, 2017 at 2:56 PM, Marc Zyngier wrote: >> On 20/12/17 09:15, Ganapatrao Kulkarni wrote: >>> When an interrupt is moved, it is possible that an implementation that >>> supports caching might still have cached data for a pre

Re: [PATCH v1] mfd: ab8500: introduce DEFINE_SHOW_ATTRIBUTE() macro

2017-12-20 Thread Lee Jones
On Thu, 14 Dec 2017, Andy Shevchenko wrote: > This macro deduplicates a lot of similar code in the ab8500-debugfs.c module. > Targeting to be moved to seq_file.h eventually. > > Signed-off-by: Andy Shevchenko > --- > drivers/mfd/ab8500-debugfs.c | 406 > +++-

Re: [PATCH] livepatch: add locking to force and signal functions

2017-12-20 Thread Petr Mladek
On Wed 2017-12-20 10:28:07, Miroslav Benes wrote: > klp_send_signals() and klp_force_transition() do not acquire klp_mutex, > because it seemed to be superfluous. A potential race in > klp_send_signals() was harmless and there was nothing in > klp_force_transition() which needed to be synchronized.

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Max Staudt
On 12/19/2017 09:30 PM, Ray Strode wrote: > Hi, > >> For example, having a userspace splash that starts as early as it can >> (thus on vesafb/efifb on a PC) will cause the KMS driver to fail >> reserving the entirety of video RAM, and thus fail loading. This cannot be >> fixed. > well the fix the

[PATCH, RFT] ARM: use --fix-v4bx to allow building ARMv4 with future gcc

2017-12-20 Thread Arnd Bergmann
gcc-6.0 and later marks support for ARMv3 and ARMv4 as 'deprecated', meaning that this is expected to be removed at some point in the future, with gcc-8.0 as the earliest. When building the kernel, the difference between ARMv4 and ARMv4T is relatively small because the kernel never runs THUMB inst

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Alexander Sverdlin
Hi! On Wed Dec 20 13:50:28 2017 Arnd Bergmann wrote: > I'm generally more interested in the multiplatform conversion than > the DT conversion, and I think converting this one to multiplatform > isn't actually that hard, and doesn't have a significant risk for > regressions, the main work is to co

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Arnd Bergmann
On Wed, Dec 20, 2017 at 1:48 PM, Linus Walleij wrote: > On Mon, Dec 18, 2017 at 12:55 PM, Arnd Bergmann wrote: >> On Sun, Dec 17, 2017 at 10:28 PM, Lukasz Majewski wrote: It would also be helpful to test whether the -march=armv4t/--fix-v4bx workaround produces working binaries for

Re: [RFC PATCH v2 3/8] sched/cpufreq_schedutil: make worker kthread be SCHED_DEADLINE

2017-12-20 Thread Peter Zijlstra
On Tue, Dec 05, 2017 at 01:34:00PM +0100, Juri Lelli wrote: > > What about using for all these wrappers the same utility function you > > already use in this source file? I.e. > > > > if (unlikely(dl_entity_is_special(dl_se))) > > return; > > __add_rq_bw(dl_se->dl_b

Re: [PATCH 2/4] sched: cpufreq: Keep track of cpufreq utilization update flags

2017-12-20 Thread Patrick Bellasi
On 20-Dec 09:31, Peter Zijlstra wrote: > On Wed, Dec 20, 2017 at 09:34:46AM +0530, Viresh Kumar wrote: > > On 19-12-17, 20:25, Peter Zijlstra wrote: > > > Yeah, not happy about this either; we had code that did the right thing > > > without this extra tracking I think. > > > > Sure, but how do you

Re: [RFC PATCH v2 1/8] sched/cpufreq_schedutil: make use of DEADLINE utilization signal

2017-12-20 Thread Peter Zijlstra
On Tue, Dec 05, 2017 at 04:34:10PM +, Patrick Bellasi wrote: > On 05-Dec 16:24, Juri Lelli wrote: > However, I'm not an expert, on those systems can we really set a > minimum guaranteed performance level? If you look at the Intel SDM, Volume 3, 14.4 Hardware-Controlled Performance States (HWP)

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Arnd Bergmann
On Wed, Dec 20, 2017 at 1:33 PM, Linus Walleij wrote: > On Wed, Dec 13, 2017 at 9:52 AM, Lukasz Majewski wrote: > > There is a point where supporting old board files will stand in > the way and cost a lot in maintenance (like moving drivers our > of arch/arm, or modernizing misc subsystems). The

Re: [PATCH v5 0/4] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-20 Thread Linus Walleij
On Mon, Dec 18, 2017 at 12:55 PM, Arnd Bergmann wrote: > On Sun, Dec 17, 2017 at 10:28 PM, Lukasz Majewski wrote: >>> On Sun, Dec 17, 2017 at 8:41 PM, Lukasz Majewski >>> wrote: >>> >> >> We also need to think about upholding support in GCC for >>> >> >> ARMv4(t) for the foreseeable future if th

Re: [RFC PATCH v2 00/13] Kernel based bootsplash

2017-12-20 Thread Johannes Thumshirn
On Wed, Dec 20, 2017 at 11:22:36AM +, Daniel Stone wrote: > > Also plymouth grabs the escape character of HPE iLOs, which is a serious > > no-go. > > I'm not entirely sure what this means, but maybe it's best addressed > as a bug report to the Plymouth developers? One of them is in this > thre

Re: [RFC PATCH 2/2] ASoC: select sysclk clock from mlck clock provider in wm8994 driver

2017-12-20 Thread Olivier MOYSAN
Hello Mark, On 12/19/2017 10:35 AM, Mark Brown wrote: > On Fri, Dec 15, 2017 at 03:15:22PM +, Olivier MOYSAN wrote: > >> You are right. wm8994 allows to select either MCLK for each AIF. >> From this point of view, the current patch is too limiting. >> MCLK information in DT allows to enforc

Re: [PATCH v2 0/2] eeprom: at24: write-protect pin support

2017-12-20 Thread Bartosz Golaszewski
2017-12-20 11:21 GMT+01:00 Andy Shevchenko : > On Wed, Dec 20, 2017 at 10:26 AM, Bartosz Golaszewski wrote: >> AT24 EEPROMs have a write-protect pin, which - when pulled high - >> inhibits writes to the upper quadrant of memory (although it has been >> observed that on some chips it disables writi

<    2   3   4   5   6   7   8   9   10   >