Re: [rtc-linux] [PATCH] driver: rtc: pcf2127: use OFS flag to detect unreliable date and warn the user

2015-06-10 Thread Andrea Scian
Dear Alexandre, On 08/06/2015 17:42, Alexandre Belloni wrote: Hi, This seems ok, a few comments below: On 26/05/2015 at 10:17:40 +0200, r...@dave-tech.it wrote : From: Andrea Scian I'm using PCF2127 in a custom ARM-based board and, by looking into PCF2127 datasheet I've found that, in my

[PATCH 3.12 068/111] libata: Ignore spurious PHY event on LPM policy change

2015-06-10 Thread Jiri Slaby
From: Gabriele Mazzotta 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09c5b4803a80a5451d950d6a539d2eb311dc0fb1 upstream. When the LPM policy is set to ATA_LPM_MAX_POWER, the device might generate a spurious PHY event that cuases errors on

Re: [PATCH] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-10 Thread Nicolas Ferre
Le 10/06/2015 16:55, Boris Brezillon a écrit : > On Wed, 10 Jun 2015 16:39:40 +0200 > Nicolas Ferre wrote: > >> Le 10/06/2015 15:55, Boris Brezillon a écrit : >>> Hi Nicolas, >>> >>> On Wed, 10 Jun 2015 15:42:44 +0200 >>> Nicolas Ferre wrote: >>> As some more information is added to the

[PATCH 3.12 040/111] fs, omfs: add NULL terminator in the end up the token list

2015-06-10 Thread Jiri Slaby
From: Sasha Levin 3.12-stable review patch. If anyone has any objections, please let me know. === commit dcbff39da3d815f08750552fdd04f96b51751129 upstream. match_token() expects a NULL terminator at the end of the token list so that it would know where to stop. Not having one

[PATCH 3.12 050/111] ASoC: mc13783: Fix wrong mask value used in mc13xxx_reg_rmw() calls

2015-06-10 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 545774bd6e1427d98dde77244329d2311c5eca6f upstream. mc13xxx_reg_rmw() won't change any bit if passing 0 to the mask field. Pass AUDIO_SSI_SEL instead of 0 for the mask field to

[PATCH 3.12 073/111] ARM: dts: imx27: only map 4 Kbyte for fec registers

2015-06-10 Thread Jiri Slaby
From: Philippe Reynes 3.12-stable review patch. If anyone has any objections, please let me know. === commit a29ef819f3f34f89a1b9b6a939b4c1cdfe1e85ce upstream. According to the imx27 documentation, fec has a 4 Kbyte memory space map. Moreover, the actual 16 Kbyte mapping overlaps

[PATCH 3.12 075/111] svcrpc: fix potential GSSX_ACCEPT_SEC_CONTEXT decoding failures

2015-06-10 Thread Jiri Slaby
From: Scott Mayhew 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9507271d960a1911a5168337d75c171cd91f upstream. In an environment where the KDC is running Active Directory, the exported composite name field returned in the context

[PATCH 3.12 076/111] thermal: step_wise: Revert optimization

2015-06-10 Thread Jiri Slaby
From: Jean Delvare 3.12-stable review patch. If anyone has any objections, please let me know. === Commit 178c2490b99f898efc06d1ad75cadc84f13021a6 ("thermal: step_wise: cdev only needs update on a new target state") broke driver acerhdf. That driver abused the step_wise thermal

[PATCH 3.12 030/111] storvsc: Set the SRB flags correctly when no data transfer is needed

2015-06-10 Thread Jiri Slaby
From: "K. Y. Srinivasan" 3.12-stable review patch. If anyone has any objections, please let me know. === commit dc45708ca9988656d706940df5fd102672c5de92 upstream. Set the SRB flags correctly when there is no data transfer. Without this change some IHV drivers will fail valid

[PATCH 3.12 078/111] Input: elantech - fix semi-mt protocol for v3 HW

2015-06-10 Thread Jiri Slaby
From: Benjamin Tissoires 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3c0213d17a09601e0c6c0ae0e27caf70d988290f upstream. When the v3 hardware sees more than one finger, it uses the semi-mt protocol to report the touches. However, it

[PATCH 3.12 065/111] ext4: check for zero length extent explicitly

2015-06-10 Thread Jiri Slaby
From: Eryu Guan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in

[PATCH 3.12 059/111] USB: cp210x: add ID for KCF Technologies PRN device

2015-06-10 Thread Jiri Slaby
From: Mark Edwards 3.12-stable review patch. If anyone has any objections, please let me know. === commit c735ed74d83f8ecb45c4c4c95a16853c9c3c8157 upstream. Added the USB serial console device ID for KCF Technologies PRN device which has a USB port for its serial console.

[PATCH 12/12] fsl/fman: Add FMan MAC driver

2015-06-10 Thread Madalin Bucur
From: Igal Liberman This patch adds the Ethernet MAC driver support. Signed-off-by: Igal Liberman Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/inc/mac.h | 136 drivers/net/ethernet/freescale/fman/mac/Makefile | 3 +-

[PATCH 3.12 043/111] xen/events: don't bind non-percpu VIRQs with percpu chip

2015-06-10 Thread Jiri Slaby
From: David Vrabel 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77bb3dfdc0d554befad58fdefbc41be5bc3ed38a upstream. A non-percpu VIRQ (e.g., VIRQ_CONSOLE) may be freed on a different VCPU than it is bound to. This can result in a race

[PATCH 09/12] fsl/fman: Add FMan MAC support

2015-06-10 Thread Madalin Bucur
From: Igal Liberman Add Frame Manger MAC Driver support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: tGEC, dTSEC and mEMAC Signed-off-by: Igal Liberman Signed-off-by: Madalin Bucur ---

[PATCH 3.12 013/111] HID: debug: fix error handling in hid_debug_events_read()

2015-06-10 Thread Jiri Slaby
From: Jiri Kosina 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8fec02a73e31407e14986fca67dab48d4f777f0e upstream. In the unlikely case of hdev vanishing while hid_debug_events_read() was sleeping, we can't really break out of the case

[PATCH 3.12 014/111] Input: usbtouchscreen - add new model from IRTOUCHSYSTEMS

2015-06-10 Thread Jiri Slaby
From: Lars Poeschel 3.12-stable review patch. If anyone has any objections, please let me know. === commit dbea4032f8024e5ea886341f7c39cf023e30e828 upstream. This adds support for another model of IRTOUCH SYSTEMS Co.,LtD infrared touchscreens. The USB vendorID/deviceID is

[PATCH 04/12] fsl/fman: Add the FMan port FLIB

2015-06-10 Thread Madalin Bucur
From: Igal Liberman The FMan Port FLib provides basic API used by the drivers to configure and control the FMan Port hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig| 1 + drivers/net/ethernet/freescale/fman/Makefile | 2 +

[PATCH 3.12 000/111] 3.12.44-stable review

2015-06-10 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.44 release. There are 111 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Jun 12 15:30:52 CEST 2015. Anything

[PATCH 3.12 041/111] lguest: fix out-by-one error in address checking.

2015-06-10 Thread Jiri Slaby
From: Rusty Russell 3.12-stable review patch. If anyone has any objections, please let me know. === commit 83a35114d0e4583e6b0ca39502e68b6a92e2910c upstream. This bug has been there since day 1; addresses in the top guest physical page weren't considered valid. You could map

Re: [Xen-devel] [Patch V4 00/16] xen: support pv-domains larger than 512GB

2015-06-10 Thread David Vrabel
On 08/06/15 13:06, Juergen Gross wrote: > Support 64 bit pv-domains with more than 512GB of memory. > > Tested with 64 bit dom0 on machines with 8GB and 1TB and 32 bit dom0 on a > 8GB machine. Conflicts between E820 map and different hypervisor populated > memory areas have been tested via a fake

[PATCH 06/12] fsl/fman: Add the FMan MAC FLIB

2015-06-10 Thread Madalin Bucur
From: Igal Liberman The FMan MAC FLib provides basic API used by the drivers to configure and control the FMan MAC hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile | 1 + drivers/net/ethernet/freescale/fman/mac/Makefile | 5 +

[PATCH 05/12] fsl/fman: Add the FMan MAC FLIB headers

2015-06-10 Thread Madalin Bucur
From: Igal Liberman The FMan MAC FLib provides basic API used by the drivers to configure and control the FMan MAC hardware. Signed-off-by: Igal Liberman --- .../net/ethernet/freescale/fman/flib/fsl_enet.h| 275 +++ .../ethernet/freescale/fman/flib/fsl_fman_dtsec.h | 791

[PATCH 11/12] fsl/fman: Add FMan Port Support

2015-06-10 Thread Madalin Bucur
From: Igal Liberman This patch adds The FMan Port configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fm.c | 487 ++-

Re: [Cluster-devel] [PATCH] dlm: remove unnecessary error check

2015-06-10 Thread David Teigland
On Wed, Jun 10, 2015 at 11:10:44AM +0800, Guoqing Jiang wrote: > The remove_from_waiters could only be invoked after failed to > create_message, right? > Since send_message always returns 0, this patch doesn't touch anything > about the failure > path, and it also doesn't change the original

[PATCH 01/12] fsl/fman: Add the FMan FLIB headers

2015-06-10 Thread Madalin Bucur
From: Igal Liberman This patch presents the FMan Foundation Libraries (FLIB) headers. The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman --- .../ethernet/freescale/fman/flib/common/general.h | 41 ++

[PATCH 03/12] fsl/fman: Add the FMan port FLIB headers

2015-06-10 Thread Madalin Bucur
From: Igal Liberman The FMan Port Flib provides basic API used by the drivers to configure and control the FMan Port hardware. Signed-off-by: Igal Liberman --- .../net/ethernet/freescale/fman/flib/fman_common.h | 73 .../ethernet/freescale/fman/flib/fsl_fman_port.h | 427

[PATCH 07/12] fsl/fman: Add FMan MURAM support

2015-06-10 Thread Madalin Bucur
From: Igal Liberman Add Frame Manager Multi-User RAM support. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig| 1 + drivers/net/ethernet/freescale/fman/Makefile | 6 +- drivers/net/ethernet/freescale/fman/fm_muram.c | 127

[PATCH 10/12] fsl/fman: Add FMan SP support

2015-06-10 Thread Madalin Bucur
From: Igal Liberman Add Storage Profiles support. The Storage Profiles contain parameters that are used by the FMan in order to store frames being received on the Rx ports, or to determine the parameters that affect writing the Internal Context in the frame margin on Tx. Signed-off-by: Igal

[PATCH 00/12] Freescale DPAA FMan

2015-06-10 Thread Madalin Bucur
The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the accelerators. One of

Re: [PATCH v2 3/4] VFIO: platform: populate the reset function on probe

2015-06-10 Thread Eric Auger
On 06/10/2015 05:10 PM, Alex Williamson wrote: > On Wed, 2015-06-10 at 13:44 +0200, Eric Auger wrote: >> On 06/09/2015 08:26 PM, Alex Williamson wrote: >>> On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote: The reset function lookup happens on vfio-platform probe. The reset module load

Re: [PATCH v4] seccomp: add ptrace options for suspend/resume

2015-06-10 Thread Tycho Andersen
Hi Andy, On Tue, Jun 09, 2015 at 06:08:42PM -0700, Andy Lutomirski wrote: > > > + if (unlikely(data & PTRACE_O_SUSPEND_SECCOMP)) { > > + if (!config_enabled(CONFIG_CHECKPOINT_RESTORE) || > > + !config_enabled(CONFIG_SECCOMP)) > > +

Re: [BUG] mpc8323_rdb platform doesn't boot since kernel 3.16

2015-06-10 Thread leroy christophe
Le 06/06/2015 17:32, Rob Herring a écrit : On Sat, Jun 6, 2015 at 6:20 AM, christophe leroy wrote: I've got a MPC8323 RDB evaluation platform from freescale kernel 4.0 doesn't boot kernel 3.16 doesn't boot kernel 3.15 boots ok I disected the issue down to your commit "of/fdt: Convert FDT

Re: RFC: futex_wait() can DoS the tick

2015-06-10 Thread Thomas Gleixner
On Wed, 10 Jun 2015, Mike Galbraith wrote: > The above was handed to me by a colleague working on a Xen guest that > livelocked. I at first though Xen arch must have a weird problem, but > when I tried proggy on my desktop box, while it didn't stop the tick > completely as it did the Xen box, it

[PATCH v3 3/3] ASoC: wm_adsp: Add basic debugfs entries

2015-06-10 Thread Richard Fitzgerald
This patch adds some debugfs nodes to get information about the currently running firmware. Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/wm_adsp.c | 195 +++- sound/soc/codecs/wm_adsp.h | 11 ++- 2 files changed, 202 insertions(+), 4

[PATCH v3 2/3] ASoC: wm_adsp: create ALSA controls from wm_adsp driver

2015-06-10 Thread Richard Fitzgerald
Now that we have a codec_probe stage initialization in the wm_adsp driver, we can make the wm_adsp driver create its own ALSA controls instead of having that responsibility pushed to every codec driver. Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/wm5102.c |4

[PATCH v3 1/3] ASoC: wm_adsp: Add code_probe and codec_remove stubs

2015-06-10 Thread Richard Fitzgerald
Currently the only init function in wm_adsp is called by the codec driver early in its probe before the codec has been registered with SOC. This patch adds stubs for the codec_probe and codec_remove stages and calls them from WM5102 and WM5110 codec drivers. This allows us to hang anything that

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Christoph Hellwig
On Wed, Jun 10, 2015 at 11:03:35AM -0400, Matthew Wilcox wrote: > On Wed, Jun 10, 2015 at 02:12:02PM +0200, Christoph Hellwig wrote: > > Btw, I don't think this actually is safe without refcounting your kmap > > structure. > > > > The driver model ->remove callback can be called at any time,

Re: [PATCH v2 3/4] VFIO: platform: populate the reset function on probe

2015-06-10 Thread Alex Williamson
On Wed, 2015-06-10 at 13:44 +0200, Eric Auger wrote: > On 06/09/2015 08:26 PM, Alex Williamson wrote: > > On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote: > >> The reset function lookup happens on vfio-platform probe. The reset > >> module load is requested and a reference to the function

Re: [PATCH] crypto/drbg: report backend_cra_name when allocation fails

2015-06-10 Thread Stephan Mueller
Am Wednesday 10 June 2015, 22:27:48 schrieb Sergey Senozhatsky: Hi Sergey, >Be more verbose and also report ->backend_cra_name when >crypto_alloc_shash() or crypto_alloc_cipher() fail in >drbg_init_hash_kernel() or drbg_init_sym_kernel() >correspondingly. > >Example > DRBG: could not allocate

Re: [PATCH] Input: goodix - do not explicitly set evbits in input device

2015-06-10 Thread Bastien Nocera
On Wed, 2015-06-10 at 10:39 -0400, Benjamin Tissoires wrote: > On Jun 10 2015 or thereabouts, Bastien Nocera wrote: > > On Tue, 2015-06-09 at 11:52 -0700, Dmitry Torokhov wrote: > > > input_mt_init_slots() will do that for us. > > > > I'm guessing you know what you're doing here, but I couldn't

[RESEND PROTO] ARM: at91/dt: proto dt

2015-06-10 Thread Ludovic Desroches
Signed-off-by: Ludovic Desroches Conflicts: arch/arm/boot/dts/Makefile --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4ek_proto.dts | 243 ++ arch/arm/boot/dts/sama5d4_proto-pinfunc.h | 463 +++

[RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-06-10 Thread Ludovic Desroches
Using a string to describe a pin in the device tree can be not enough. Some controllers may need extra information to fully describe a pin. It concerns mainly controllers which have a per pin muxing approach which don't fit well the notions of groups and functions. Instead of using a pin name, a

[RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-06-10 Thread Ludovic Desroches
When having a controller which allows per pin muxing, declaring with which groups a function can be used is a useless constraint since groups are something virtual. Signed-off-by: Ludovic Desroches --- drivers/pinctrl/pinmux.c | 58 +++---

[RESEND PROTO] pinctrl: rough draft for a future controller

2015-06-10 Thread Ludovic Desroches
Draft for a future controller which can mux each pin to any functions. There are up to 6 functions plus a gpio mode (gpio controller driver won't be included in the pincontroller driver). There is a concept of ioset. An ioset is a set of pins for a device. A device can have several iosets. There

[RESEND PATCH 0/2] get pinctrl more flexible for per pin muxing controllers

2015-06-10 Thread Ludovic Desroches
Hi, The way pins, groups and functions are tied is too constraining for some controllers. It concerns mainly the ones we don't care about groups and functions, each pin can be muxed to any functions. The goal of these two patches is too remove some of the constraints. I have added the prototype

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Matthew Wilcox
On Wed, Jun 10, 2015 at 02:12:02PM +0200, Christoph Hellwig wrote: > Btw, I don't think this actually is safe without refcounting your kmap > structure. > > The driver model ->remove callback can be called at any time, which > will ioremap the memory and remap the kmap structure. But at this >

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Andi Kleen
> > > - duplicate the destination code inside the function > > > - convert the jump to a call > > > > That all won't work for a lot of cases. > > Hm, could you give an example? Just a standard *_user exception handler. > > Well, I don't see how that's really a logical conclusion. What's

Re: clustered MD

2015-06-10 Thread David Teigland
On Tue, Jun 09, 2015 at 10:33:08PM -0500, Goldwyn Rodrigues wrote: > >>>some real world utility to warrant the potential maintenance effort. > >> > >>We do have a valid real world utility. It is to provide > >>high-availability of RAID1 storage over the cluster. The > >>distributed locking is

Re: [PATCH v14 4/4] cgroup: implement the PIDs subsystem

2015-06-10 Thread Aleksa Sarai
Hi Tejun, > Patches 3-4 look good to me. Will apply once v4.3 dev window opens. Do you want me to update Documentation/cgroups/ to include a description of this? -- Aleksa Sarai (cyphar) www.cyphar.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 1/1] perf,tools: add time out to force stop endless mmap processing

2015-06-10 Thread kan . liang
From: Kan Liang perf top reads all threads' /proc/xxx/maps. If there is any threads which generating a keeping growing huge /proc/xxx/maps, perf will do infinite loop in perf_event__synthesize_mmap_events. This patch fixes this issue by adding a time out to force stop this kind of endless mmap

Re: [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers

2015-06-10 Thread Ludovic Desroches
On Wed, Jun 10, 2015 at 08:14:50AM -0600, Stephen Warren wrote: > On 06/10/2015 01:33 AM, Linus Walleij wrote: > >On Wed, Jun 3, 2015 at 3:31 PM, Nicolas Ferre > >wrote: > >>Le 04/05/2015 10:56, Ludovic Desroches a écrit : > >>> > >>>The way pins, groups and functions are tied is too

Re: [PATCH v3] sbs-battery: add option to always register battery

2015-06-10 Thread Frans Klaver
On Wed, Jun 10, 2015 at 04:52:05PM +0200, Sebastian Reichel wrote: > Hi Frans, > > On Wed, Jun 10, 2015 at 02:16:56PM +0200, Frans Klaver wrote: > > Commit a22b41a31e53 ("sbs-battery: Probe should try talking to the > > device") introduced a step in probing the SBS battery, that tries to > > talk

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Petr Mladek
On Wed 2015-06-10 16:31:55, Petr Mladek wrote: > On Wed 2015-06-10 14:55:09, Peter Zijlstra wrote: > > Hi, > > > > I just stumbled upon: > > > > a9edc8809328 ("x86/nmi: Perform a safe NMI stack trace on all CPUs") > > > > Which is not dissimilar to what I've proposed in the past. Except its

Re: [PATCH v2 00/10] kdbus: macros fixes

2015-06-10 Thread Sergei Zviagintsev
Hi On Wed, Jun 10, 2015 at 04:13:49PM +0200, David Herrmann wrote: > Next time, please merge most of these changes to reduce the number of > patches and review-overhead. But looks all good to me, much > appreciated. Thank you for response, I will keep that in mind. -- To unsubscribe from this

Re: [PATCH] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-10 Thread Boris Brezillon
On Wed, 10 Jun 2015 16:39:40 +0200 Nicolas Ferre wrote: > Le 10/06/2015 15:55, Boris Brezillon a écrit : > > Hi Nicolas, > > > > On Wed, 10 Jun 2015 15:42:44 +0200 > > Nicolas Ferre wrote: > > > >> As some more information is added to the PCR register, we'd better use > >> a copy of its

Re: [PATCH v3] sbs-battery: add option to always register battery

2015-06-10 Thread Sebastian Reichel
Hi Frans, On Wed, Jun 10, 2015 at 02:16:56PM +0200, Frans Klaver wrote: > Commit a22b41a31e53 ("sbs-battery: Probe should try talking to the > device") introduced a step in probing the SBS battery, that tries to > talk to the device before actually registering it, saying: > > this driver

RE: [PATCH v5] Fix the resolution issue in ChromeOS

2015-06-10 Thread Hn Chen
Hi, Frans, > Alright, I was just wondering. Seems like a waste to be waiting for something > that's already finished ;-). > There's of course a risk that times may fluctuate between firmware versions. > Did you take that into account in the code? > Or is there a hard maximum time for these

Re: A race condition between debugfs and seq_file operation

2015-06-10 Thread gre...@linuxfoundation.org
On Wed, Jun 10, 2015 at 04:00:37PM +0200, Matthias Schiffer wrote: > On 06/10/2015 07:20 AM, gre...@linuxfoundation.org wrote: > > On Wed, Jun 10, 2015 at 05:00:03AM +, Lisa Du wrote: > >>> -Original Message- > >>> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] >

[PATCH] perf, record: Ammend option summaries

2015-06-10 Thread Peter Zijlstra
Because there's too many options and I cannot read, I frequently get confused between -c and -P, and try to do things like: perf record -P 5 -- foo Which does not work; try and make the option description slightly longer and hopefully less confusing. Signed-off-by: Peter Zijlstra (Intel)

Re: [PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:09:48AM +0900, Krzysztof Kozlowski wrote: > The fix for NULL pointer exception related to calling uevent for not > finished probe caused to set all writeable properties as non-writeable. > This was caused by checking if property is writeable before the initial >

Re: [PATCH] Doc:pps: Fix typo in pps.txt

2015-06-10 Thread Rodolfo Giometti
On Wed, Jun 10, 2015 at 12:53:47PM +0900, Masanari Iida wrote: > This patch fix a spelling typo in Documentation/pps/pps.txt > > Signed-off-by: Masanari Iida Acked-by: Rodolfo Giometti -- HCE Engineering e-mail: giome...@hce-engineering.com GNU/Linux Solutions

Re: [PATCH 2/2] drivercore: Fix unregistration path of platform devices

2015-06-10 Thread Ricardo Ribalda Delgado
Hello Greg On Wed, Jun 10, 2015 at 4:38 PM, Kevin Hilman wrote: > On Wed, Jun 10, 2015 at 12:11 AM, Ricardo Ribalda Delgado > At this stage of the cycle (merge window opening soon, maintainers > trying to stabilize their stuff for Linus) we want to see linux-next > approaching some level of

Re: [PATCH 1/2] power_supply: max17042: Add OF support for setting thresholds

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:11:38AM +0900, Krzysztof Kozlowski wrote: > The commit edd4ab055931 ("power: max17042_battery: add HEALTH and TEMP_* > properties support") added support for setting voltage and temperature > thresholds with platform data. For DeviceTree default of 0 was always >

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-10 Thread Ulf Hansson
On 9 June 2015 at 10:47, Sascha Hauer wrote: > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequency scaling

[PATCH] NFS: Convert use of __constant_htonl to htonl

2015-06-10 Thread Vaishali Thakkar
In little endian cases, the macro htonl unfolds to __swab32 which provides special case for constants. In big endian cases, __constant_htonl and htonl expand directly to the same expression. So, replace __constant_htonl with htonl with the goal of getting rid of the definition of __constant_htonl

Re: [PATCH 1/1] perf tools: Check access permission when reading /proc/kcore file.

2015-06-10 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 10, 2015 at 11:01:33AM +0800, Li Zhang escreveu: > When using command perf report --kallsyms=/proc/kallsyms with a non-root > user, symbols are resolved. Then select one symbol and annotate it, it > reports the error as the following: > Can't annotate __clear_user: No vmlinux file with

Re: [RFC,v3 02/10] dpaa_eth: add support for DPAA Ethernet

2015-06-10 Thread Eric Dumazet
On Wed, 2015-06-10 at 07:38 +, Madalin-Cristian Bucur wrote: > Hi Eric, > > Can you please tell us if this change would be for the better? > > I was about to say yes to this request but checked and no other Ethernet > driver seems to use the queue trans_start. > I was able to find your

RE: [PATCH v5] Fix the resolution issue in ChromeOS

2015-06-10 Thread Hn Chen
Hi, Dmitry, Thanks for your suggestion ! > Thank you for making changes, I have some more comments. By the way, have you > tried running scripts/checkpatch.pl over your patch? > It often picks up some common issues. I did the check before I submit the patch every time. Below is the way what I

Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-06-10 Thread Fu Wei
On 10 June 2015 at 22:36, Fu Wei wrote: > On 10 June 2015 at 22:22, Timur Tabi wrote: >> Fu Wei wrote: >>> >>> Another weakness of only using WOR is the timeout limited by this >>> 32bit register. >>> 10s @400MHz generic Timer >>> >>> I don't think this limit is good for a server, once the

Re: [PATCH] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-10 Thread Nicolas Ferre
Le 10/06/2015 15:55, Boris Brezillon a écrit : > Hi Nicolas, > > On Wed, 10 Jun 2015 15:42:44 +0200 > Nicolas Ferre wrote: > >> As some more information is added to the PCR register, we'd better use >> a copy of its content and modify just the peripheral-related bits. >> Implement a

Re: [PATCH] Input: goodix - do not explicitly set evbits in input device

2015-06-10 Thread Benjamin Tissoires
On Jun 10 2015 or thereabouts, Bastien Nocera wrote: > On Tue, 2015-06-09 at 11:52 -0700, Dmitry Torokhov wrote: > > input_mt_init_slots() will do that for us. > > I'm guessing you know what you're doing here, but I couldn't find where > the EV_SYN bit would have been set in the

Re: [PATCH 2/2] drivercore: Fix unregistration path of platform devices

2015-06-10 Thread Kevin Hilman
On Wed, Jun 10, 2015 at 12:11 AM, Ricardo Ribalda Delgado wrote: > Hi Kevin, Hi Grant, Hi Greg > > Although I do not agree with everything exposed by Grant, I understand > his concerns as a Maintainer with future support of the code. Also > there is no point in wasting more energy in discussing

Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-06-10 Thread Fu Wei
On 10 June 2015 at 22:22, Timur Tabi wrote: > Fu Wei wrote: >> >> Another weakness of only using WOR is the timeout limited by this >> 32bit register. >> 10s @400MHz generic Timer >> >> I don't think this limit is good for a server, once the server is in a >> heavy load > > > Perhaps, but if

Re: [PATCHv6 27/36] mm: differentiate page_mapped() from page_mapcount() for compound pages

2015-06-10 Thread Vlastimil Babka
On 06/03/2015 07:05 PM, Kirill A. Shutemov wrote: Let's define page_mapped() to be true for compound pages if any sub-pages of the compound page is mapped (with PMD or PTE). On other hand page_mapcount() return mapcount for this particular small page. This will make cases like

[PATCH] gpiolib: unexport requested gpios on gpiochip removal

2015-06-10 Thread Bartosz Golaszewski
When a GPIO expander device is removed - e.g. via i2c-adapter new_device/delete_device interface - with some GPIOs still requested, gpiochip_remove() function will emit a warning but remove the chip anyway. If we then reinstantiate this device and try to export any of the GPIOs still requested on

Re: [PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Javier Martinez Canillas
Hello Chanho, Thanks a lot for your feedback. On 06/10/2015 03:40 PM, Chanho Park wrote: > Hi, > > On Wed, Jun 10, 2015 at 10:10 PM, Javier Martinez Canillas > wrote: >> The Exynos interrupt combiner IP looses its state when the SoC enters >> into a low power state during a Suspend-to-RAM.

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 04:11:04PM +0200, Andi Kleen wrote: > > In most cases there are ways to keep the optimizations. For example: > > > > - grow the function bounds to keep the jump internal > > So you mean moving it after the ret? That still means icache bloat. No, in most cases it just

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-10 Thread Petr Mladek
On Wed 2015-06-10 14:55:09, Peter Zijlstra wrote: > Hi, > > I just stumbled upon: > > a9edc8809328 ("x86/nmi: Perform a safe NMI stack trace on all CPUs") > > Which is not dissimilar to what I've proposed in the past. Except its > squirreled away in some far and dark corner of one arch. >

Re: [PATCH 1/1] irqchip: exynos-combiner: Save IRQ enable set on suspend

2015-06-10 Thread Javier Martinez Canillas
Hello Shuah, Thanks a lot for your feedback. On 06/10/2015 03:30 PM, Shuah Khan wrote: > On Wed, Jun 10, 2015 at 7:10 AM, Javier Martinez Canillas > wrote: >> The Exynos interrupt combiner IP looses its state when the SoC enters >> into a low power state during a Suspend-to-RAM. This means that

Re: [RFC] panic_on_oom_timeout

2015-06-10 Thread Michal Hocko
On Wed 10-06-15 21:20:58, Tetsuo Handa wrote: > Michal Hocko wrote: [...] > > This patch implements panic_on_oom_timeout sysctl which is active > > only when panic_on_oom!=0 and it configures a maximum timeout for > > the OOM killer to resolve the OOM situation. If the system is still > > under

[PATCH 3/3] ASoC: mediatek: Add machine driver for rt5650 rt5676 codec

2015-06-10 Thread Koro Chen
This is the DPCM based machine driver with rt5650 and rt5676 Signed-off-by: Koro Chen Signed-off-by: Nicolas Boichat --- .../bindings/sound/mt8173-rt5650-rt5676.txt| 15 ++ sound/soc/mediatek/Kconfig | 12 + sound/soc/mediatek/Makefile|

Re: [PATCH] firmware: ACPI iBFT firmware support on EFI machines

2015-06-10 Thread Josh Boyer
On Wed, Jun 10, 2015 at 2:32 AM, Hannes Reinecke wrote: > The iBFT firmware tables can also be specified via ACPI tables > when using EFI firmware. The 'iscsi_ibft_find' module is only > for legacy X86 BIOS, so it needs to be skipped for all other > architectures. If this is only valid for X86,

[PATCH 2/3] ASoC: mediatek: Add machine driver for MAX98090 codec

2015-06-10 Thread Koro Chen
This is the DPCM based machine driver with MAX98090 Signed-off-by: Koro Chen --- .../devicetree/bindings/sound/mt8173-max98090.txt | 17 ++ sound/soc/mediatek/Kconfig | 11 + sound/soc/mediatek/Makefile| 2 +

[PATCH 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-10 Thread Koro Chen
This is the DPCM based platform driver of AFE (Audio Front End) unit. Signed-off-by: Koro Chen Signed-off-by: Sascha Hauer --- .../devicetree/bindings/sound/mtk-afe-pcm.txt | 45 + sound/soc/Kconfig |1 + sound/soc/Makefile

[PATCH 0/3] ASoC: Mediatek: Add support for MT8173 SoC

2015-06-10 Thread Koro Chen
This adds basic support for the Mediatek AFE (Audio Front End) unit for MT8173. This patch is based on Linux 4.1-rc1 and Sascha's SCPSYS power patch [1]. The AFE unit comprises several memory interfaces that communicate with CPU, a multi input multi output digital audio interconnect, and several

Re: [PATCH v4 5/7] Watchdog: introduce ARM SBSA watchdog driver

2015-06-10 Thread Timur Tabi
Fu Wei wrote: Another weakness of only using WOR is the timeout limited by this 32bit register. 10s @400MHz generic Timer I don't think this limit is good for a server, once the server is in a heavy load Perhaps, but if that's the limitation of the hardware, then so be it. -- Sent by an

[PATCH v3] iio: light: Add support for ROHM RPR0521 sensor

2015-06-10 Thread Daniel Baluta
This patch adds support for ROHM RPR0521 ambient light and proximity sensor. It offers raw readings for intensity and proximity. Signed-off-by: Daniel Baluta --- Changes since v2: (after Peter's review) * replaced calibscale with scale * several style fixes (new lines, spellings,

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 03:42:41PM +0200, Pavel Machek wrote: > On Wed 2015-06-10 07:06:08, Josh Poimboeuf wrote: > > The previous version of this patch set was named "Compile-time stack > > frame pointer validation". I changed the subject from "frame pointer > > validation" to "asm code

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-06-10 Thread David Woodhouse
On Wed, 2015-06-10 at 17:32 +0800, Li, ZhenHua wrote: > > Is PASID part of new specs? Is there any plan to upgrade the driver to > support the latest vt-d specs? Yes, and yes. I'm currently working on the latter — and the extended page table support in 4.1 is the precursor to that work. --

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Andi Kleen
> In most cases there are ways to keep the optimizations. For example: > > - grow the function bounds to keep the jump internal So you mean moving it after the ret? That still means icache bloat. > - duplicate the destination code inside the function > - convert the jump to a call That all

[PATCH v4 19/19] NTB: Increase transport MTU to 64k from 16k

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Benchmarking showed a significant performance increase with the MTU size to 64k instead of 16k. Change the driver default to 64k. Signed-off-by: Dave Jiang --- drivers/ntb/ntb_transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] sched:Prefer numa hotness over cache hotness

2015-06-10 Thread Rik van Riel
On 06/10/2015 03:03 AM, Srikar Dronamraju wrote: > The current load balancer may not try to prevent a task from moving out > of a preferred node to a less preferred node. The reason for this being: > > - Since sched features NUMA and NUMA_RESIST_LOWER are disabled by > default,

Re: A race condition between debugfs and seq_file operation

2015-06-10 Thread Matthias Schiffer
On 06/10/2015 07:20 AM, gre...@linuxfoundation.org wrote: > On Wed, Jun 10, 2015 at 05:00:03AM +, Lisa Du wrote: >>> -Original Message- >>> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] >>> Sent: 2015年6月10日 5:12 >>> To: Lisa Du >>> Cc:

[PATCH v4 09/19] NTB: Reset transport QP link stats on down

2015-06-10 Thread Allen Hubbe
Reset the link stats when the link goes down. In particular, the TX and RX index and count must be reset, or else the TX side will be sending packets to the RX side where the RX side is not expecting them. Reset all the stats, to be consistent. Signed-off-by: Allen Hubbe ---

[PATCH v4 02/19] NTB: Add NTB hardware abstraction layer

2015-06-10 Thread Allen Hubbe
Abstract the NTB device behind a programming interface, so that it can support different hardware and client drivers. Signed-off-by: Allen Hubbe --- This was split from the larger patch in v1..v3. This is the first part of the split. The new NTB api is added in this patch, without the noise

[PATCH v4 13/19] NTB: Rate limit ntb_qp_link_work

2015-06-10 Thread Allen Hubbe
When the ntb transport is connecting and waiting for the peer, the debug console receives lots of debug level messages about the remote qp link status being down. Rate limit those messages. Signed-off-by: Allen Hubbe --- drivers/ntb/ntb_transport.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v4 17/19] NTB: Default to CPU memcpy for performance

2015-06-10 Thread Allen Hubbe
From: Dave Jiang Disable DMA usage by default, since the CPU provides much better performance with write combining. Provide a module parameter to enable DMA usage when offloading the memcpy is preferred. Signed-off-by: Dave Jiang Signed-off-by: Allen Hubbe --- drivers/ntb/ntb_transport.c |

Re: [PATCH v7 07/10] tracing: Add 'hist' event trigger command

2015-06-10 Thread Masami Hiramatsu
On 2015/06/09 6:32, Tom Zanussi wrote: > 'hist' triggers allow users to continually aggregate trace events, > which can then be viewed afterwards by simply reading a 'hist' file > containing the aggregation in a human-readable format. > > The basic idea is very simple and boils down to a

Re: [PATCH 0/2] get pinctrl more flexible for per pin muxing controllers

2015-06-10 Thread Stephen Warren
On 06/10/2015 01:33 AM, Linus Walleij wrote: On Wed, Jun 3, 2015 at 3:31 PM, Nicolas Ferre wrote: Le 04/05/2015 10:56, Ludovic Desroches a écrit : The way pins, groups and functions are tied is too constraining for some controllers. It concerns mainly the ones we don't care about groups and

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