Re: [PATCH] iio: adc: ad799x: leave sysfs naming to the core

2015-09-25 Thread Lars-Peter Clausen
On 09/25/2015 11:54 AM, Martin Kepplinger wrote: > This shouldn't change anything since the core calls the events folder > "events" anyways. > > Signed-off-by: Martin Kepplinger Acked-by: Lars-Peter Clausen -- To unsubscribe from this list: send the line

Re: [RFC v2 07/18] kthread: Allow to cancel kthread work

2015-09-25 Thread Petr Mladek
On Tue 2015-09-22 15:35:13, Tejun Heo wrote: > On Mon, Sep 21, 2015 at 03:03:48PM +0200, Petr Mladek wrote: > > /** > > + * try_to_grab_pending_kthread_work - steal kthread work item from > > worklist, > > + * and disable irq > > + * @work: work item to steal > > + * @is_dwork: @work is a

Re: [RFC v7 25/41] richacl: Isolate the owner and group classes

2015-09-25 Thread Andreas Gruenbacher
Here is another minor improvement that produces deny aces with fewer permissions in them and avoids creating unnecessary deny aces in some cases. Andreas --- fs/richacl_compat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/richacl_compat.c b/fs/richacl_compat.c

Re: [PATCH] m68k/sun3: Fix virtual addresses of clock and interrupt register

2015-09-25 Thread Tom Bogendoerfer
On Fri, Sep 25, 2015 at 09:21:34AM +0200, Geert Uytterhoeven wrote: > On Mon, Sep 14, 2015 at 11:40 AM, Alexander Kuleshov > wrote: > > The MMU base is 32 bits size - 0xfe00, seems that we missed > > one zero in the definition of the clock and interrupt register > >

Re: [PATCH 08/15] block, dax, pmem: reference counting infrastructure

2015-09-25 Thread Christoph Hellwig
On Thu, Sep 24, 2015 at 05:03:18PM -0700, Dan Williams wrote: > That makes sense to me, especially because drivers/nvdimm/blk.c is > broken in the same way as drivers/nvdimm/pmem.c and it would be > awkward to have it use blk_dax_get() / blk_dax_put(). The > percpu_refcount should be valid for

Re: omapdss: Division by zero in kernel

2015-09-25 Thread Pali Rohár
On Thursday 17 September 2015 07:16:44 Pavel Machek wrote: > > > > if (image->depth == 1) { > > > if (p->fix.visual == FB_VISUAL_TRUECOLOR || > > > p->fix.visual == FB_VISUAL_DIRECTCOLOR) { > > > fgcolor = > > >

Re: [PATCH v3 1/4] mm, documentation: clarify /proc/pid/status VmSwap limitations

2015-09-25 Thread Michal Hocko
[Sorry for a really long delay] On Wed 05-08-15 15:01:22, Vlastimil Babka wrote: > The documentation for /proc/pid/status does not mention that the value of > VmSwap counts only swapped out anonymous private pages and not shmem. This is > not obvious, so document this limitation. This is

Re: [PATCH] input: fix data race __ps2_command

2015-09-25 Thread Pali Rohár
On Monday 07 September 2015 16:04:35 Dmitry Vyukov wrote: > The data race happens on ps2dev->cmdcnt and ps2dev->cmdbuf contents. > __ps2_command reads that data concurrently with the interrupt handler. > As the result, for example, if a response arrives just after the > timeout, __ps2_command can

Re: [PATCH 07/22] arm64: Keep track of CPU feature registers

2015-09-25 Thread Dave Martin
On Wed, Sep 16, 2015 at 03:21:05PM +0100, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > This patch adds an infrastructure to keep track of the CPU feature > registers on the system. For each register, the infrastructure keeps > track of the system wide safe

Re: linux: sata_nv: adma support

2015-09-25 Thread Pali Rohár
On Tuesday 04 August 2015 20:06:57 Pali Rohár wrote: > On Monday 03 August 2015 05:02:15 Robert Hancock wrote: > > On Sun, Aug 2, 2015 at 3:08 AM, Pali Rohár > > wrote: > > > On Sunday 02 August 2015 03:45:32 Robert Hancock wrote: > > >> On Sat, Aug 1, 2015 at 2:09 PM, Pali

Re: + kernelh-make-abs-work-with-64-bit-types.patch added to -mm tree

2015-09-25 Thread Michal Nazarewicz
On Thu, Sep 24 2015, Linus Torvalds wrote: > One thing that *is* interesting is "what if 'long' and 's64' are the > same size?" In particular, it means that right now Michal's patch > *always* returns "long" on a 64-bit architecture, but will return > "long" or "s64" on a 32-bit one. That’s not

Re: [PATCH] ASoC: sgtl5000: fix bad register MIC_BIAS_VOLTAGE setup on probe

2015-09-25 Thread Mark Brown
On Fri, Sep 25, 2015 at 04:21:27PM +0200, Gianluca Renzi wrote: > snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL, > SGTL5000_BIAS_R_MASK, > - sgtl5000->micbias_voltage << SGTL5000_BIAS_R_SHIFT); > + sgtl5000->micbias_voltage

[PATCH v5] mfd: tps6105x: Fix possible NULL pointer access.

2015-09-25 Thread Grigoryev Denis
tps6105 driver provides two cells. One is for GPIO and another one is for selected mode depending on platform data. When tps6105x is used in GPIO-only mode, this driver calls mfd_add_devices() with mfd_cell .name == NULL. This value causes an oops in platform_device_register() later. The

Re: [PATCH v2 08/25] powerpc/8xx: Map IMMR area with 512k page at a fixed address

2015-09-25 Thread Scott Wood
On Fri, 2015-09-25 at 14:46 +, David Laight wrote: > From: Scott Wood > > Sent: 24 September 2015 21:14 > > > Isn't this a more general problem? > > > > > > If there are multiple remap requests for the same physical page > > > shouldn't the kernel be just increasing a reference count

[PATCH 1/4] lib/vsprintf.c: handle invalid format specifiers more robustly

2015-09-25 Thread Rasmus Villemoes
If we meet any invalid or unsupported format specifier, 'handling' it by just printing it as a literal string is not safe: Presumably the format string and the arguments passed gcc's type checking, but that means something like sprintf(buf, "%n %pd", , dentry) would end up interpreting as a

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Johannes Berg
On Fri, 2015-09-25 at 09:41 -0700, Viresh Kumar wrote: > Signed-off-by: Viresh Kumar > --- > V3->V4: > - Create a local variable instead of changing type of global_lock > (Rafael) Err, surely that wasn't what Rafael meant, since it's clearly impossible to use a

[PATCH 2/4] lib/vsprintf.c: also improve sanity check in bstr_printf()

2015-09-25 Thread Rasmus Villemoes
Quoting from 2aa2f9e21e4e ("lib/vsprintf.c: improve sanity check in vsnprintf()"): On 64 bit, size may very well be huge even if bit 31 happens to be 0. Somehow it doesn't feel right that one can pass a 5 GiB buffer but not a 3 GiB one. So cap at INT_MAX as was probably the intention

Re: [PATCH 2/7] tools build: Add test for missing include

2015-09-25 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 23, 2015 at 12:33:57PM +0200, Jiri Olsa escreveu: > The current build framework fails to cope with header file > removal. The reason is the removed header file stays in the > .cmd file target rule and force the build to fail. So, where is this test hooked up, is the way to test this

[PATCH 0/4] printf stuff

2015-09-25 Thread Rasmus Villemoes
A few printf-related patches I've been sitting on. I also have some documentation updates, but I'll wait until I see Martin's patch [1] in -next. There's also the %pb issue [2], but I'm not sure there's consensus on the best fix for that. [1] https://lkml.org/lkml/2015/9/24/256 [2]

Re: [Patch v3 00/10] Add RPM/SMD Support for QCOM platforms

2015-09-25 Thread Mark Brown
On Thu, Sep 24, 2015 at 02:18:49PM -0500, Andy Gross wrote: > This patch set cleans up the documentation that is currently in place for the > SMD, SMD-RPM, and SMD-RPM regulators. In addition, this patch set adds > support > for the PM8916 found on MSM8916 platforms and the PMA8084 found on

Re: [PATCH v3 4/5] regulators: tps65912: Add regulator driver for the TPS65912 PMIC

2015-09-25 Thread Mark Brown
On Thu, Sep 24, 2015 at 09:52:53AM -0500, Andrew F. Davis wrote: > +static int tps65912_regulator_probe(struct platform_device *pdev) > +{ > + struct tps65912 *tps = dev_get_drvdata(pdev->dev.parent); > + struct regulator_init_data *init_data; > + const struct tps_info *template; > +

[PATCH V1 0/6] ASoC: tlv320aic26: Add device tree support and bug fixes

2015-09-25 Thread Cormier, Jonathan
Hi, The following patches were created to get the tlv320aic26 working on our AM335x SoM. This patch series relies on commit 93d0ad8f374c "ASoC: tlv320aic26: Convert to params_width()" for proper operation. Changes since RFC: - Removed the unecessary "#if defined(CONFIG_OF)" - Dropped the DSP_B

Re: [PATCH 0/2] convert to use generic irq handler

2015-09-25 Thread santosh.shilim...@oracle.com
On 9/25/15 12:28 PM, Grygorii Strashko wrote: This patch series contains patches which fixes wrong APIs usage in atomic context on RT-kernel. The final goal is to make TI OMAP GPIO driver compatible with -RT kernel as much as possible. Patch 1: required to be compatible with -RT kernel, because

Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support

2015-09-25 Thread Boris Ostrovsky
On 09/25/2015 03:35 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 25, 2015 at 03:19:57PM -0400, Boris Ostrovsky wrote: On 09/25/2015 03:01 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 25, 2015 at 01:17:40PM -0400, Boris Ostrovsky wrote: On 09/25/2015 12:07 PM, Vitaly Kuznetsov wrote: Also, I

RE: [PATCH v3 1/5] Input: goodix - reset device at init

2015-09-25 Thread Tirdea, Irina
> -Original Message- > From: Bastien Nocera [mailto:had...@hadess.net] > Sent: 25 September, 2015 17:44 > To: Tirdea, Irina; linux-in...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Rob Herring; Pawel Moll; Ian Campbell; > Kumar Gala; Purdila, Octavian; Dmitry Torokhov; Mark >

Re: [PATCH 08/15] block, dax, pmem: reference counting infrastructure

2015-09-25 Thread Williams, Dan J
On Fri, 2015-09-25 at 04:32 -0700, Christoph Hellwig wrote: > On Thu, Sep 24, 2015 at 05:03:18PM -0700, Dan Williams wrote: > > That makes sense to me, especially because drivers/nvdimm/blk.c is > > broken in the same way as drivers/nvdimm/pmem.c and it would be > > awkward to have it use

Re: [PATCH] PM / OPP: Fix typo modifcation -> modification

2015-09-25 Thread Rafael J. Wysocki
On Thursday, September 24, 2015 01:58:21 PM Viresh Kumar wrote: > On 24 September 2015 at 12:28, Stephen Boyd wrote: > > Reported-by: Viresh Kumar > > Signed-off-by: Stephen Boyd > > --- > > drivers/base/power/opp/core.c | 6

RE: [PATCH v6 4/9] Input: goodix - write configuration data to device

2015-09-25 Thread Tirdea, Irina
> -Original Message- > From: Bastien Nocera [mailto:had...@hadess.net] > Sent: 25 September, 2015 17:41 > To: Tirdea, Irina; Dmitry Torokhov; Aleksei Mamlin; > linux-in...@vger.kernel.org > Cc: Mark Rutland; Purdila, Octavian; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 25, 2015 05:13:04 PM Alan Stern wrote: > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > > > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > > > > > We are missing the "no remote wakeup" bit now (well,

[PATCH 0/3] Docs: dt: update binding for Freescale Management Complex

2015-09-25 Thread Stuart Yoder
Update the binding for the Freescale Management Complex to include definition of ranges, msi-parent, and dpmac subnodes. Stuart Yoder (3): Docs: dt: fsl-mc: update binding to include msi-parent Docs: dt: fsl-mc update binding to include definition of ranges Docs: dt: fsl-mc: update binding

[PATCH 2/3] Docs: dt: fsl-mc update binding to include definition of ranges

2015-09-25 Thread Stuart Yoder
Define a ranges property to specify the mapping between the MC address space and the system address space. Signed-off-by: Stuart Yoder --- .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 30 +- 1 file changed, 29 insertions(+), 1 deletion(-)

Re: [PATCH linux-next v10 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-25 Thread Lee Jones
On Thu, 24 Sep 2015, Cyrille Pitchen wrote: > This patch documents the DT bindings for the Atmel Flexcom which will be > introduced by sama5d2x SoCs. These bindings will be used by the actual > Flexcom driver to be sent in another patch. > > Signed-off-by: Cyrille Pitchen

Re: [PATCH v2 0/5] Support CPR on MSM8916

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 18, 2015 05:52:04 PM Stephen Boyd wrote: > This patch series adds support for CPR on MSM8916. The first > patch exposes a corner voting API to the CPR driver so that we can > change the corner for the MX regulator. If possible I would > like to make this patch prettier, but I

Re: [PATCH -tip 2/3] sched/wake_q: Relax to acquire semantics

2015-09-25 Thread Paul E. McKenney
On Wed, Sep 23, 2015 at 08:43:21AM +0200, Martin Schwidefsky wrote: > On Tue, 22 Sep 2015 08:28:22 -0700 > "Paul E. McKenney" wrote: > > > On Tue, Sep 22, 2015 at 04:33:07PM +0200, Martin Schwidefsky wrote: > > > On Tue, 22 Sep 2015 21:29:14 +0800 > > > Boqun Feng

Re: [RFC v2 3/7] powerpc: atomic: Implement atomic{,64}_{add,sub}_return_* variants

2015-09-25 Thread Paul E. McKenney
On Wed, Sep 23, 2015 at 08:07:55AM +0800, Boqun Feng wrote: > On Tue, Sep 22, 2015 at 08:25:40AM -0700, Paul E. McKenney wrote: > > On Tue, Sep 22, 2015 at 07:37:04AM +0800, Boqun Feng wrote: > > > On Tue, Sep 22, 2015 at 07:26:56AM +0800, Boqun Feng wrote: > > > > On Mon, Sep 21, 2015 at

Re: [RFC v7 25/41] richacl: Isolate the owner and group classes

2015-09-25 Thread J. Bruce Fields
On Fri, Sep 25, 2015 at 01:25:41PM +0200, Andreas Gruenbacher wrote: > Here is another minor improvement that produces deny aces with fewer > permissions in them and avoids creating unnecessary deny aces in some > cases. Looks good.--b. > > Andreas > > --- > fs/richacl_compat.c | 5 ++--- > 1

[PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module

2015-09-25 Thread Marek Belisko
If either twl4030_charger or twl4030_madc is configured as MODULE, we get build (link) errors. To solve, the direct call of twl4030_get_madc_conversion() is replaced by a call to iio_read_channel_processed(). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko

[PATCH v3] ARM: dts: twl4030: Add iio properties for bci subnode

2015-09-25 Thread Marek Belisko
Added new iio properties which are required for twl4030-charger driver and allow to use twl4030-madc indirectly. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi

[PATCH v3] Documentation: DT: twl-charger: document new iio properties

2015-09-25 Thread Marek Belisko
Document added iio properties to avoid using direct function call from twl4030-madc driver. Signed-off-by: Marek Belisko --- Documentation/devicetree/bindings/power/twl-charger.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-25 Thread Theodore Ts'o
On Fri, Sep 25, 2015 at 03:07:54PM -0400, Austin S Hemmelgarn wrote: > > Interestingly, based on what dieharder is already saying about performance, > /dev/urandom is slower than AES_OFB (at least, on this particular system, > happy to provide hardware specs if someone wants). Yeah, not

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Viresh Kumar
On 25 September 2015 at 13:33, Rafael J. Wysocki wrote: > You're going to change that into bool in the next patch, right? Yeah. > So what if bool is a byte and the field is not word-aligned Its between two 'unsigned long' variables today, and the struct isn't packed. So, it

Re: [PATCH 01/19] SUNRPC: fix variable type

2015-09-25 Thread J. Bruce Fields
ACK. Assuming Trond gets this.--b. On Thu, Sep 24, 2015 at 04:00:09PM +0200, Andrzej Hajda wrote: > Due to incorrect len type bc_send_request returned always zero. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. >

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Rafael J. Wysocki
On Friday, September 25, 2015 01:25:49 PM Viresh Kumar wrote: > On 25 September 2015 at 13:33, Rafael J. Wysocki wrote: > > You're going to change that into bool in the next patch, right? > > Yeah. > > > So what if bool is a byte and the field is not word-aligned > > Its

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-25 Thread Michal Marek
Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a): > > > On 23 September 2015 19:50:52 GMT+10:00, Michal Marek > wrote: >> On 2015-09-23 07:40, Michael Ellerman wrote: >>> +else ifneq ($(wildcard >> arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) >>> @$(kecho) "*** Default

Re: [PATCH 1/2] audit: stop an old auditd being starved out by a new auditd

2015-09-25 Thread Paul Moore
On Friday, September 25, 2015 07:10:19 AM Richard Guy Briggs wrote: > On 15/09/24, Paul Moore wrote: > > On Friday, September 18, 2015 03:59:58 AM Richard Guy Briggs wrote: ... > > XXX > > ??? Sorry, ignore that. The "XXX" was a placeholder for me while I was reviewing your patch; normally I

Re: [PATCH v3 3/5] mfd: tps65912: Add driver for the TPS65912 PMIC

2015-09-25 Thread Lee Jones
On Fri, 25 Sep 2015, Andrew F. Davis wrote: > On 09/25/2015 11:50 AM, Lee Jones wrote: > >On Thu, 24 Sep 2015, Andrew F. Davis wrote: > > > >>This patch adds support for TPS65912 mfd device. It provides > >>communication through the I2C and SPI interfaces. It contains > >>the following

[PATCH 1/3] Docs: dt: fsl-mc: update binding to include msi-parent

2015-09-25 Thread Stuart Yoder
The Freescale Management Complex and all associated objects use message interrupts, and thus an msi-parent is required. Signed-off-by: Stuart Yoder --- Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v3 2/4] KVM: arm/arm64: check power_off in kvm_arch_vcpu_runnable

2015-09-25 Thread Eric Auger
kvm_arch_vcpu_runnable now also checks whether the power_off flag is set. Signed-off-by: Eric Auger Reviewed-by: Christoffer Dall --- arch/arm/kvm/arm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/kvm/arm.c

[PATCH v3 3/4] KVM: arm/arm64: check power_off in critical section before VCPU run

2015-09-25 Thread Eric Auger
In case a vcpu off PSCI call is called just after we executed the vcpu_sleep check, we can enter the guest although power_off is set. Let's check the power_off state in the critical section, just before entering the guest. Signed-off-by: Eric Auger Reported-by: Christoffer

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Viresh Kumar
On 25-09-15, 22:58, Rafael J. Wysocki wrote: > Say you have three adjacent fields in a structure, x, y, z, each one byte > long. > Initially, all of them are equal to 0. > > CPU A writes 1 to x and CPU B writes 2 to y at the same time. > > What's the result? But then two CPUs can update the

Re: [PATCH] of: add vendor prefix for Socionext Inc.

2015-09-25 Thread Rob Herring
On Wed, Sep 9, 2015 at 3:04 AM, Lee Jones wrote: > On Wed, 09 Sep 2015, Masahiro Yamada wrote: >> 2015-08-25 0:11 GMT+09:00 Rob Herring : >> > On Mon, Aug 24, 2015 at 1:57 AM, Lee Jones wrote: >> >> On Wed, 29 Jul 2015, Masahiro

[PATCH cgroup/for-4.4] cgroup: fix too early usage of static_branch_disable()

2015-09-25 Thread Tejun Heo
49d1dc4b8179 ("cgroup: implement static_key based cgroup_subsys_enabled() and cgroup_subsys_on_dfl()") converted cgroup enabled test to use static_key; however, cgroup_disable() is called before static_key subsystem itself is initialized and thus leads to the following warning when

[GIT PULL] cgroup fixes for v4.3-rc2

2015-09-25 Thread Tejun Heo
Hello, Linus. Another cgroup fix pull. The cgroup writeback support got inadvertently enabled for traditional hierarchies revealing two regressions which are currently being worked on. It shouldn't have been enabled on traditional hierarchies, so disable it on them. This is enough for making

[PATCH RFC] x86: Reduce MAX_LOCAL_APIC and MAX_IO_APICS

2015-09-25 Thread Denys Vlasenko
Before this change MAX_LOCAL_APIC had the fixed value of 32*1024. Such a big value causes several data arrays to be quite oversized: phys_cpu_present_map is 4 kbytes (one bit per apic id), __apicid_to_node[] is 64 kbytes, apic_version[] is 128 kbytes. On "usual" systems, APIC ids simply go from

Re: [PATCH V2] PM / OPP: of_property_count_u32_elems() can return errors

2015-09-25 Thread Rafael J. Wysocki
On Tuesday, September 22, 2015 09:51:27 AM Stephen Boyd wrote: > On 09/22, Viresh Kumar wrote: > > of_property_count_u32_elems() will never return 0, but a -ve error value > > of a positive count. And so the current !count check is wrong. > > > > Also, a missing "opp-microvolt" property isn't a

Re: [RFC PATCH] PM / Runtime: runtime: Add sysfs option for forcing runtime suspend

2015-09-25 Thread Alan Stern
On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > On Friday, September 25, 2015 10:29:55 AM Alan Stern wrote: > > On Fri, 25 Sep 2015, Rafael J. Wysocki wrote: > > > > > We are missing the "no remote wakeup" bit now (well, there is a PM QoS > > > flag, > > > but it isn't very useful, so I'd

[PATCH 3/3] Docs: dt: fsl-mc: update binding to define dpmac subnodes

2015-09-25 Thread Stuart Yoder
The fsl-mc node may optionally have dpmac sub-nodes that describe the relationship between the Ethernet MACs which belong to the MC and the Ethernet PHYs on the system board. Signed-off-by: Stuart Yoder --- .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 45

Re: [PATCH linux-next v10 1/3] mfd: atmel-flexcom: create include file with macros used by DT bindings

2015-09-25 Thread Lee Jones
On Thu, 24 Sep 2015, Cyrille Pitchen wrote: > This patch defines some macros to be used as value for the > "atmel,flexcom-mode" DT property. This value is then written into > the Operating Mode (OPMODE) bit field of the Flexcom Mode Register. > > Signed-off-by: Cyrille Pitchen

Re: Glibc recvmsg from kernel netlink socket hangs forever

2015-09-25 Thread Steven Schlansker
On Sep 24, 2015, at 10:34 PM, Guenter Roeck wrote: > Herbert, > > On 09/24/2015 09:58 PM, Herbert Xu wrote: >> On Thu, Sep 24, 2015 at 09:36:53PM -0700, Guenter Roeck wrote: >>> >>> http://comments.gmane.org/gmane.linux.network/363085 >>> >>> might explain your problem.

[PATCH v3 1/4] KVM: arm/arm64: rename pause into power_off

2015-09-25 Thread Eric Auger
The kvm_vcpu_arch pause field is renamed into power_off to prepare for the introduction of a new pause field. Also vcpu_pause is renamed into vcpu_sleep since we will sleep until both power_off and pause are false. Signed-off-by: Eric Auger Reviewed-by: Christoffer Dall

[PATCH v3 4/4] KVM: arm/arm64: implement kvm_arm_[halt,resume]_guest

2015-09-25 Thread Eric Auger
We introduce kvm_arm_halt_guest and resume functions. They will be used for IRQ forward state change. Halt is synchronous and prevents the guest from being re-entered. We use the same mechanism put in place for PSCI former pause, now renamed power_off. A new flag is introduced in arch vcpu state,

[PATCH v3 0/4] KVM: arm/arm64: guest synchronous halt/resume

2015-09-25 Thread Eric Auger
This series introduces the capability to synchronously exit the guest and prevent it from being re-entered. This modality will be used by IRQ forwarding series when changing the state of the IRQ. Former pause flag used when starting the vcpu in KVM_ARM_VCPU_POWER_OFF state, in PSCI calls and in

Re: x86_64: MAX_LOCAL_APIC way too big?

2015-09-25 Thread Jiang Liu
On 2015/9/26 0:16, Denys Vlasenko wrote: > For 64-bit kernels, MAX_LOCAL_APIC is 32k: > > #ifdef CONFIG_X86_32 > ... > #else > # define MAX_IO_APICS 128 > # define MAX_LOCAL_APIC 32768 > #endif > > (It seems to be a bit of a misnomer, it's not a maximum > number of APICs we support, it's the

Re: [RFC] PCI: Unassigned Expansion ROM BARs

2015-09-25 Thread Myron Stowe
On Fri, Sep 25, 2015 at 7:31 AM, Myron Stowe wrote: > On Thu, Sep 24, 2015 at 10:35 PM, Yinghai Lu wrote: >> On Thu, Sep 24, 2015 at 12:01 PM, Yinghai Lu wrote: >> >>> Or do we want to keep a white list to say which device should

Re: [alsa-devel] [PATCH] ASoC: sgtl5000: fix bad register MIC_BIAS_VOLTAGE setup on probe

2015-09-25 Thread Fabio Estevam
On Fri, Sep 25, 2015 at 1:50 PM, Mark Brown wrote: > On Fri, Sep 25, 2015 at 04:21:27PM +0200, Gianluca Renzi wrote: > >> snd_soc_update_bits(codec, SGTL5000_CHIP_MIC_CTRL, >> SGTL5000_BIAS_R_MASK, >> - sgtl5000->micbias_voltage

Re: [PATCH] soc: qcom: smd: Reject send of too big packets

2015-09-25 Thread Andy Gross
On Thu, Sep 24, 2015 at 06:37:18PM -0700, Bjorn Andersson wrote: > Attempting to find room for a packet that's bigger than the fifo will > never succeed and the calling process will be sleeping forever in the > loop, waiting for enough room. So fail early instead. > > Reported-by: Courtney Cavin

Re: [PATCH v4 16/22] pinctrl: Probe pinctrl devices on demand

2015-09-25 Thread Linus Walleij
On Mon, Sep 7, 2015 at 5:23 AM, Tomeu Vizoso wrote: > When looking up a pin controller through its OF node, probe it if it > hasn't already. > > The goal is to reduce deferred probes to a minimum, as it makes it very > cumbersome to find out why a device failed to

Re: [PATCH v2 2/2] EDAC: Fix sysfs dimm_label store operation

2015-09-25 Thread Borislav Petkov
On Thu, Sep 24, 2015 at 01:59:27PM -0600, Toshi Kani wrote: > On Thu, 2015-09-24 at 21:15 +0200, Borislav Petkov wrote: > > On Thu, Sep 24, 2015 at 01:06:04PM -0600, Toshi Kani wrote: > > > edac-utils(1) checks empty labels and shows them as "ch%d" [1]. So, > > > I think empty labels are

Applied "regmap: Add generic macro to define regmap_irq" to the regmap tree

2015-09-25 Thread Mark Brown
The patch regmap: Add generic macro to define regmap_irq has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: fuse scalability part 1

2015-09-25 Thread Ashish Samant
On 09/25/2015 05:11 AM, Miklos Szeredi wrote: On Thu, Sep 24, 2015 at 9:17 PM, Ashish Samant wrote: We did some performance testing without these patches and with these patches (with -o clone_fd option specified). We did 2 types of tests: 1. Throughput test : We

[PATCH v2 5/8] spi: imx: Add support for loopback for ECSPI controllers

2015-09-25 Thread Anton Bondarenko
Support for ECSPI loopback for IMX51,IMX53 and IMX6Q using TEST register. Signed-off-by: Mohsin Kazmi Signed-off-by: Anton Bondarenko --- drivers/spi/spi-imx.c | 20 1 file changed, 16 insertions(+), 4 deletions(-)

[PATCH v2 4/8] spi: imx: add selection for iMX53 and iMX6 controller type

2015-09-25 Thread Anton Bondarenko
ECSPI contorller for iMX53 and iMX6 has few hardware issues in slave mode and (32*n+1) SPI word size handling comparing to iMX51. The change add possibility to detect the SPI controller is use and apply workarounds/limitations. Documentation for device tree bindings updated Signed-off-by: Anton

[PATCH 0/1] ns: introduce proc_get_ns_by_fd()

2015-09-25 Thread Oleg Nesterov
On 09/25, Konstantin Khlebnikov wrote: > > +struct ns_common *proc_ns_fdget(int fd, int nstype, struct fd *fd_ref) > { > - struct file *file; > + struct ns_common *ns; > + struct fd f; > > - file = fget(fd); > - if (!file) > + f = fdget(fd); > + if (!f.file) >

[PATCH v2 7/8] spi: imx: defer spi initialization, if DMA engine is pending

2015-09-25 Thread Anton Bondarenko
If SPI device supports DMA mode, but DMA controller is not yet available due to e.g. a delay in the corresponding kernel module initialization, retry to initialize SPI driver later on instead of falling back into PIO only mode. Signed-off-by: Vladimir Zapolskiy

[PATCH 1/1] ns: introduce proc_get_ns_by_fd()

2015-09-25 Thread Oleg Nesterov
Introduce proc_get_ns_by_fd() so that get_net_ns_by_fd() becomes one-liner. It will have another CLONE_NEWPID user soon. TODO: proc_get_ns_by_fd() can share some code with proc_ns_fget(). Signed-off-by: Oleg Nesterov --- fs/nsfs.c| 24

Re: [PATCH v4 4/7] fs: Limit file caps to the user namespace of the super block

2015-09-25 Thread Eric W. Biederman
Seth Forshee writes: > On Thu, Sep 24, 2015 at 04:59:35PM -0500, Eric W. Biederman wrote: >> Seth Forshee writes: >> >> > Capability sets attached to files must be ignored except in the >> > user namespaces where the mounter is

Re: [PATCH v2] f2fs: fix to correct freed section number during gc

2015-09-25 Thread Jaegeuk Kim
On Fri, Sep 25, 2015 at 05:50:55PM +0800, Chao Yu wrote: > This patch fixes to maintain the right section count freed in garbage > collecting when triggering a foreground gc. > > Besides, when a foreground gc is running on current selected section, once > we fail to gc one segment, it's better to

Re: [PATCH] richacl: Possible other write-through fix

2015-09-25 Thread J. Bruce Fields
On Fri, Sep 25, 2015 at 06:45:59PM +0200, Andreas Gruenbacher wrote: > 2015-09-24 20:33 GMT+02:00 J. Bruce Fields : > > On Sat, Sep 05, 2015 at 12:27:21PM +0200, Andreas Gruenbacher wrote: > >> +int > >> +richacl_apply_masks(struct richacl **acl, kuid_t owner) > >> +{ > >> +

Re: [PATCH 09/14] ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart

2015-09-25 Thread Kevin Hilman
.org found some new boot failures in -next on 8064[1]. I bisected it down to this patch, which landed in linux next in the form of commit d3a578ed4310 ARM: dts: ifc6410: Add missing pinctrl to gsbi7 uart. Kevin [1] http://kernelci.org/boot/qcom-apq8064-ifc6410/job/next/kernel/next-20150925/defconfig/mu

Re: [PATCH 06/10] mm, page_alloc: Rename __GFP_WAIT to __GFP_RECLAIM

2015-09-25 Thread Johannes Weiner
On Mon, Sep 21, 2015 at 11:52:38AM +0100, Mel Gorman wrote: > __GFP_WAIT was used to signal that the caller was in atomic context and > could not sleep. Now it is possible to distinguish between true atomic > context and callers that are not willing to sleep. The latter should clear >

Re: [PATCH 1/3] Make /dev/urandom scalable

2015-09-25 Thread Austin S Hemmelgarn
On 2015-09-25 07:41, Austin S Hemmelgarn wrote: On 2015-09-24 16:14, Theodore Ts'o wrote: On Thu, Sep 24, 2015 at 03:11:23PM -0400, Austin S Hemmelgarn wrote: That is a startling result. Please say what architecture, kernel version, dieharder version and commandline arguments you are using to

[PATCH 1/2] gpio: omap: move pm runtime in irq_chip.irq_bus_lock/sync_unlock

2015-09-25 Thread Grygorii Strashko
The PM runtime API can't be used in atomic contex on -RT even if it's configured as irqsafe. As result, below error report can be seen when PM runtime API called from IRQ chip's callbacks irq_startup/irq_shutdown/irq_set_type, because they are protected by RAW spinlock: BUG: sleeping function

[PATCHv4 1/3] of: Add vendor prefix for Analogix Semiconductor, Inc.

2015-09-25 Thread Enric Balletbo i Serra
Analogix Semiconductor develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt |

[PATCHv4 3/3] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-09-25 Thread Enric Balletbo i Serra
At the moment it only supports ANX7814. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support and supports HDMI to DP pass-through mode. Signed-off-by: Enric Balletbo i Serra ---

Re: [PATCH] net: via/Kconfig: GENERIC_PCI_IOMAP required if PCI not selected

2015-09-25 Thread David Miller
From: Sergei Shtylyov Date: Fri, 25 Sep 2015 21:03:52 +0300 > Hello. > > On 9/24/2015 1:16 PM, Sudip Mukherjee wrote: > >> The builds of allmodconfig of avr32 is failing with: >> >> drivers/net/ethernet/via/via-rhine.c:1098:2: error: implicit >> declaration

Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support

2015-09-25 Thread Konrad Rzeszutek Wilk
On Fri, Sep 25, 2015 at 03:19:57PM -0400, Boris Ostrovsky wrote: > On 09/25/2015 03:01 PM, Konrad Rzeszutek Wilk wrote: > >On Fri, Sep 25, 2015 at 01:17:40PM -0400, Boris Ostrovsky wrote: > >>On 09/25/2015 12:07 PM, Vitaly Kuznetsov wrote: > Also, I am not sure I see how this new op will be

Re: [PATCH v3 4/5] regulators: tps65912: Add regulator driver for the TPS65912 PMIC

2015-09-25 Thread Andrew F. Davis
On 09/25/2015 01:05 PM, Mark Brown wrote: On Thu, Sep 24, 2015 at 09:52:53AM -0500, Andrew F. Davis wrote: +static int tps65912_regulator_probe(struct platform_device *pdev) +{ + struct tps65912 *tps = dev_get_drvdata(pdev->dev.parent); + struct regulator_init_data *init_data; +

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Viresh Kumar
On 25-09-15, 19:42, Johannes Berg wrote: > On Fri, 2015-09-25 at 09:41 -0700, Viresh Kumar wrote: > > > Signed-off-by: Viresh Kumar > > --- > > V3->V4: > > - Create a local variable instead of changing type of global_lock > > (Rafael) > > Err, surely that wasn't what

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-25 Thread Viresh Kumar
On 25-09-15, 20:49, Johannes Berg wrote: > Ok, then, but that means Rafael is completely wrong ... > debugfs_create_bool() takes a *pointer* and it needs to be long-lived, > it can't be on the stack. You also don't get a call when it changes. Ahh, ofcourse. My bad as well... I think we can

Re: [PATCH 05/10] mm, page_alloc: Distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd

2015-09-25 Thread Johannes Weiner
On Fri, Sep 25, 2015 at 01:51:06PM +0100, Mel Gorman wrote: > On Thu, Sep 24, 2015 at 04:55:09PM -0400, Johannes Weiner wrote: > > On Mon, Sep 21, 2015 at 11:52:37AM +0100, Mel Gorman wrote: > > > @@ -119,10 +134,10 @@ struct vm_area_struct; > > > #define GFP_USER (__GFP_WAIT | __GFP_IO |

Re: [PATCH] xen/pvhvm: add soft reset on kexec/kdump support

2015-09-25 Thread Konrad Rzeszutek Wilk
On Fri, Sep 25, 2015 at 01:17:40PM -0400, Boris Ostrovsky wrote: > On 09/25/2015 12:07 PM, Vitaly Kuznetsov wrote: > >>Also, I am not sure I see how this new op will be used in the > >>hypervisor --- currently AFAICS it is only processed under > >>is_hardware_domain(). Are there other patches that

Re: [PATCH 07/10] mm, page_alloc: Delete the zonelist_cache

2015-09-25 Thread Johannes Weiner
On Mon, Sep 21, 2015 at 11:52:39AM +0100, Mel Gorman wrote: > The zonelist cache (zlc) was introduced to skip over zones that were > recently known to be full. This avoided expensive operations such as the > cpuset checks, watermark calculations and zone_reclaim. The situation > today is different

Re: [PATCH v3 3/5] mfd: tps65912: Add driver for the TPS65912 PMIC

2015-09-25 Thread Andrew F. Davis
On 09/25/2015 11:50 AM, Lee Jones wrote: On Thu, 24 Sep 2015, Andrew F. Davis wrote: This patch adds support for TPS65912 mfd device. It provides communication through the I2C and SPI interfaces. It contains the following components: - Regulators - GPIO controller Signed-off-by: Andrew

[PATCH V2 0/3] Updates to mce_amd_inj module

2015-09-25 Thread Aravind Gopalakrishnan
This patchset is mostly a resend of earlier patches which got acceptance into maintainer's tree but did not make it into upstream. Original versions of patches 2 and 3 of this patchset- a. http://marc.info/?l=linux-edac=143327679901253=2 b. http://marc.info/?l=linux-edac=143392472509250=2 Changes

[PATCH V2 3/3] RAS, mce_amd_inj: Inject errors on NBC for bank 4 errors

2015-09-25 Thread Aravind Gopalakrishnan
Bank 4 MCEs are logged and reported only on the node base core (NBC) in a socket. Refer to the D18F3x44[NbMcaToMstCpuEn] field in Fam10h and later BKDGs. The node base core (NBC) is the lowest numbered core in the node. This patch ensures that we inject the error on the NBC for bank 4 errors.

[PATCH V2 1/3] RAS, mce_amd_inj: Return early on invalid input

2015-09-25 Thread Aravind Gopalakrishnan
Invalid input such as these are currently reported on dmesg- $> echo sweet > flags [ 122.079139] flags_write: Invalid flags value: et Even if the 'flags' attribute has been updated correctly- $> cat flags sw But the input as a whole is wrong and we should not be writing anything to the file.

Re: Multiple potential races on vma->vm_flags

2015-09-25 Thread Kirill A. Shutemov
On Wed, Sep 23, 2015 at 08:42:26PM -0400, Sasha Levin wrote: > On 09/23/2015 09:08 AM, Andrey Konovalov wrote: > > On Wed, Sep 23, 2015 at 3:39 AM, Hugh Dickins wrote: > >> > This is totally untested, and one of you may quickly prove me wrong; > >> > but I went in to fix your

Re: [PATCH 10/10] mm, page_alloc: Only enforce watermarks for order-0 allocations

2015-09-25 Thread Johannes Weiner
On Mon, Sep 21, 2015 at 01:03:17PM +0100, Mel Gorman wrote: > The primary purpose of watermarks is to ensure that reclaim can always > make forward progress in PF_MEMALLOC context (kswapd and direct reclaim). > These assume that order-0 allocations are all that is necessary for > forward progress.

Re: [PATCH] regmap: Add HCI support

2015-09-25 Thread Marcel Holtmann
Hi Loic, > Add HCI support to the regmap API. > Some HCI/BT devices provide register access via their HCI interface. > (e.g. FM registers access for Intel BT/FM combo chip) > > Read/Write operations are performed via a HCI transaction composed of > a HCI command (host->controller) followed by a

Re: [PATCH] UBI: Validate data_size

2015-09-25 Thread Richard Weinberger
Am 24.09.2015 um 12:37 schrieb David Gstir: > >> On 22.09.2015, at 23:58, Richard Weinberger wrote: >> >> Make sure that data_size is less than LEB size. >> Otherwise a handcrafted UBI image is able to trigger >> an out of bounds memory access in ubi_compare_lebs(). >> >> Cc:

<    3   4   5   6   7   8   9   10   11   12   >