Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-27 Thread Torsten Duwe
On Mon, Jun 27, 2016 at 12:39:56AM +0200, Pavel Machek wrote: > Would it be possible to document which kind of guarantees live > patching needs from compiler? Sure, here you go, all required guarantees: Stick to the ABI. > I always assumed that whoever is preparing the patch does manual > inves

Re: [PATCH v10 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-06-27 Thread Leon Romanovsky
On Sat, Jun 25, 2016 at 06:29:31PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/24 19:48, Leon Romanovsky wrote: > >On Thu, Jun 16, 2016 at 10:35:11PM +0800, Lijun Ou wrote: > >>This patch mainly added the initial bare main driver. It > >>could get the relative configure information of net node.

RE: [PATCH v3] mwifiex: Reduce endian conversion for REG Host Commands

2016-06-27 Thread Amitkumar Karwar
Hi Prasun, > From: Prasun Maiti [mailto:prasunmait...@gmail.com] > Sent: Thursday, June 23, 2016 10:59 AM > To: Amitkumar Karwar > Cc: Nishant Sarmukadam; Linux Wireless; Linux Next; Linux Kernel; Kalle > Valo > Subject: [PATCH v3] mwifiex: Reduce endian conversion for REG Host > Commands > > For

[PATCH v2 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-27 Thread Florian Vaussard
Add device tree binding documentation for On Semiconductor NCP5623 I2C LED driver. The driver can independently control the PWM of the 3 channels with 32 levels of intensity. The current delivered by the current source can also be controlled. To do so, the led-max-microamp property is used by each

[PATCH v2 0/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Florian Vaussard
Hello, This series add a new driver for On Semiconductor NCP5623, a 3-channel I2C LED driver. It is used in our design to drive a RGB LED. The first patch introduces the device tree binding, while the second patch adds the driver itself. Best regards, Florian --- Jacek: I did not addressed your

[PATCH v2 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Florian Vaussard
The NCP5623 is a 3-channel LED driver from On Semiconductor controlled through I2C. The PWM of each channel can be independently set with 32 distinct levels. In addition, the intensity of the current source can be globally set using an external bias resistor fixing the reference current (Iref) and

Re: [PATCH v6] leds: documentation: 'ide-disk' to 'disk-activity'

2016-06-27 Thread Jacek Anaszewski
Hi Stephan, On 06/24/2016 07:16 PM, Stephan Linz wrote: Cc: Joseph Jezak Cc: Jörg Sommer Cc: Mark Rutland Signed-off-by: Stephan Linz Acked-by: Rob Herring Signed-off-by: Jacek Anaszewski --- Changes in v6: - Reorganize v5. Changes in v5: - Keep documentation for the old 'ide-disk'

Re: [PATCH 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Jacek Anaszewski
Hi Florian and Pavel, On 06/27/2016 07:46 AM, Florian Vaussard wrote: Hi Pavel, Le 26. 06. 16 à 23:49, Pavel Machek a écrit : Hi! +struct ncp5623_led { + bool active; + unsigned int led_no; + struct led_classdev ldev; + struct work_struct work; + struct ncp5623_

Re: [PATCH v2] libnvdimm, nfit: treat volatile virtual CD region as pmem

2016-06-27 Thread joeyli
On Sat, Jun 25, 2016 at 09:08:16AM -0700, Dan Williams wrote: > On Sat, Jun 25, 2016 at 5:21 AM, joeyli wrote: > > iOn Fri, Jun 24, 2016 at 10:59:56AM -0700, Dan Williams wrote: > >> On Fri, Jun 24, 2016 at 12:51 AM, Lee, Chun-Yi > >> wrote: > >> > This patch adds logic to treat volatile virtual

[PATCH] [perf]: update makefile message for installing required libs

2016-06-27 Thread neerajbadlani
From: Neeraj Badlani In case of missing library (libslang), give hint to install library (libslang2-dev) Since libslang-dev is not provided by Ubuntu's apt-package Signed-off-by: Neeraj Badlani --- tools/perf/config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [PATCH v4 05/29] x86/mm: Remove kernel_unmap_pages_in_pgd() and efi_cleanup_page_tables()

2016-06-27 Thread Borislav Petkov
Andy Lutomirski wrote: >kernel_unmap_pages_in_pgd() is dangerous: if a pgd entry in >init_mm.pgd were to be cleared, callers would need to ensure that >the pgd entry hadn't been propagated to any other pgd. > >Its only caller was efi_cleanup_page_tables(), and that, in turn, >was unused, so just

Re: [PATCH][RFC] cpufreq: Avoid warning during resume by return EAGAIN if cpufreq is unavailable

2016-06-27 Thread Viresh Kumar
On 27-06-16, 03:12, Rafael J. Wysocki wrote: > --- > drivers/cpufreq/cpufreq.c |7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > Index: linux-pm/drivers/cpufreq/cpufreq.c > === > --- linux-pm.orig/drivers/cpufreq/

Re: [PATCH] cpufreq: powernv: Replacing pstate_id with frequency table index

2016-06-27 Thread Akshay Adiga
Hi viresh, My apologies. I realize that i have messed it up a quite a few places. Surely with the checkpatch as well. I will send a v2 with corrections. On 06/27/2016 12:00 PM, Viresh Kumar wrote: Hi Akshay, Did you try running checkpatch for this? On 24-06-16, 19:33, Akshay Adiga wrote: d

Re: [Xen-devel] [PATCH v2 2/2] xen-pciback: clean up {bar,rom}_init()

2016-06-27 Thread Jan Beulich
>>> On 24.06.16 at 17:01, wrote: > On 07/06/16 07:31, Jan Beulich wrote: >> - drop unused function parameter of read_dev_bar() >> - drop rom_init() (now identical to bar_init()) >> - fold read_dev_bar() into its now single caller >> - simplify determination of 64-bit memory resource >> - use const

Re: [PATCH v10 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-06-27 Thread Wei Hu (Xavier)
On 2016/6/27 15:00, Leon Romanovsky wrote: On Sat, Jun 25, 2016 at 06:29:31PM +0800, Wei Hu (Xavier) wrote: On 2016/6/24 19:48, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:11PM +0800, Lijun Ou wrote: This patch mainly added the initial bare main driver. It could get the relative co

Re: [PATCH 4/5] rtc: m48t86: move m48t86.h to platform_data

2016-06-27 Thread Alexander Clouter
Acked-by: Alexander Clouter On Mon, Jun 27, 2016 at 12:03:02AM +0200, Alexandre Belloni wrote: m48t86.h belongs to include/linux/platform_data/ Signed-off-by: Alexandre Belloni --- Cc: Hartley Sweeten Cc: Ryan Mallon Cc: Alexander Clouter Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebastian He

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-27 Thread xinhui
On 2016年06月27日 14:45, Boqun Feng wrote: On Sun, Jun 26, 2016 at 02:59:26PM +0800, Boqun Feng wrote: [snip] This should be: extern struct vcpu_preempt_ops vcpu_preempt_ops; And I tested this one along with modified version of Xinhui's patch. The test showed that even in a not over-committed

Re: [PATCH] tipc: Use kmemdup instead of kmalloc and memcpy

2016-06-27 Thread Ying Xue
On 06/23/2016 12:49 PM, Amitoj Kaur Chawla wrote: > Replace calls to kmalloc followed by a memcpy with a direct call to > kmemdup. > > The Coccinelle semantic patch used to make this change is as follows: > @@ > expression from,to,size,flag; > statement S; > @@ > > - to = \(kmalloc\|kzalloc\)(si

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-27 Thread Roger Quadros
Hi Stephen, On 26/06/16 08:56, Stephen Boyd wrote: > Some Qualcomm PMICs have a misc device that performs USB id pin > detection via an interrupt. When the interrupt triggers, we > should read the interrupt line to see if it has gone high or low. > If the interrupt is low then the ID pin is ground

[RFC PATCH v3 1/2] power/cpuidle: enhance the precision of state select

2016-06-27 Thread Zhaoyang Huang
In previous version, cpu_pm_enter is invoked after the governor select the state, which cause the executing time of cpu_pm_enter is included in the idle time. Moving it before the state selection. Please refer to bellowing chart for detailed information current approach: static void cpu_idle_loop

[RFC PATCH v3 2/2] power/idle: enhance the precision of sleep_length

2016-06-27 Thread Zhaoyang Huang
As shown in bellowing chart, there should be a gap between tick_nohz_idle_enter(step '1') and tick_nohz_get_sleep_length (step '3') when idle, which comprise of the execution time of the code behind step '1' and a series of notify call(step2,4). Yes, for most of the scenarios, it would NOT be a pro

[PATCH] Staging: rtl8712: Fixed brace and comment style issue

2016-06-27 Thread Anuradha Weeraman
Fixed issues with coding style. Signed-off-by: Anuradha Weeraman --- drivers/staging/rtl8712/xmit_linux.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/staging/rtl8712/xmit_linux.c b/drivers/staging/rtl8712/xmit_linux.c index 695f9b9..1e86133 100644

Re: [PATCH 01/19] compat ABI: use non-compat openat and open_by_handle_at variants

2016-06-27 Thread Andreas Schwab
Yury Norov writes: > The only difference is that non-compat version forces O_LARGEFILE, > and it should be the default behaviour for all architectures, as > we don't support 32-bit off_t. The only exception is tile32, that > continues with compat version of syscalls. > > Signed-off-by: Yury Norov

[RFC PATCH 3/4] CHROMIUM: drm: bridge: Generic GPIO mux driver

2016-06-27 Thread Nicolas Boichat
This driver supports single input, 2 output display mux (e.g. HDMI mux), that provides its status via a GPIO. Signed-off-by: Nicolas Boichat --- drivers/gpu/drm/bridge/Kconfig| 11 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/generic-gpio-mux.c | 347 +

[RFC PATCH 0/4] drm: bridge: anx7688 and mux drivers

2016-06-27 Thread Nicolas Boichat
Hi all, This is a follow up to the 2 patches to add support for ANX7688 sent here: https://patchwork.kernel.org/patch/9187809/, thanks Archit and Philipp for the comments. I also added 2 patches to add support for a simple display MUX, as I'm facing similar issues while trying to implement it, i.

[RFC PATCHv2 1/4] FROMLIST: drm: bridge: anx7688: Add anx7688 bridge driver support.

2016-06-27 Thread Nicolas Boichat
ANX7688 is a HDMI to DP converter (as well as USB-C port controller), that has an internal microcontroller. The only reason a Linux kernel driver is necessary is to reject resolutions that require more bandwidth than what is available on the DP side. DP bandwidth and lane count are reported by the

[RFC PATCH 4/4] CHROMIUM: devicetree: Add GPIO display mux binding

2016-06-27 Thread Nicolas Boichat
Signed-off-by: Nicolas Boichat --- .../devicetree/bindings/drm/bridge/gpio-mux.txt| 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/bridge/gpio-mux.txt diff --git a/Documentation/devicetree/bindings/drm/bridge/gpio-mux.txt

[RFC PATCH 2/4] devicetree: Add ANX7688 transmitter binding

2016-06-27 Thread Nicolas Boichat
Signed-off-by: Nicolas Boichat Change-Id: I618ddf114bb93700daf6572d954191e10b6961c8 --- .../devicetree/bindings/drm/bridge/anx7688.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/drm/bridge/anx7688.txt diff --git a/Docu

Re: [PATCH 18/21] usb: chipidea: msm: Add reset controller for PHY POR bit

2016-06-27 Thread kbuild test robot
-USB-and-rewrite-USB2-HS-phy-support/20160627-102637 base: https://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb ci-for-usb-next config: x86_64-randconfig-s5-06271251 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to

Re: [PATCH 22/27] [AARCH64] ILP32: support stat syscall family

2016-06-27 Thread Andreas Schwab
Yury Norov writes: > From: Yury Norov > > stat and statfs structures has their layouts identical to lp64 > after changing off_t, ino_t etc sizes to 64-bit. It means we can > pass it to kernel same way as lp64 does. > > Signed-off-by: Yury Norov > --- > sysdeps/unix/sysv/linux/aarch64/bits/stat

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-27 Thread Peter Zijlstra
On Sun, Jun 26, 2016 at 12:59:01PM +0800, panxinhui wrote: > > > 在 2016年6月26日,03:12,Peter Zijlstra 写道: > > > > On Sun, Jun 26, 2016 at 01:27:51AM +0800, panxinhui wrote: > > > >> by the way I still think mutex_unlock has a big overload too. > > > > Do you mean overhead? > > > oh, maybe you a

Re: [PATCH 20/27] [AARCH64] Make lp64 and ilp32 directories.

2016-06-27 Thread Andreas Schwab
Yury Norov writes: > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > index 658f696..7dcbe65 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > +++ b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > @@ -25,7 +25,11 @@ > #defin

arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?

2016-06-27 Thread David Binderman
Hello there, linux-4.7-rc5/arch/powerpc/platforms/512x/clock-commonclk.c:824]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. Source code is snprintf(name, sizeof(name), "psc%d", mclk_idx); Regards David Binderman

[PATCH] sched/fair: avoid !CONFIG_SMP cpufreq update callbacks when go idle

2016-06-27 Thread Jisheng Zhang
This is to avoid cpufreq update callbacks when we go idle on UP platforms. Signed-off-by: Jisheng Zhang --- kernel/sched/fair.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index bdcbeea..236ec5b 100644 --- a/kernel/sched/fair.c

Re: [PATCH 20/27] [AARCH64] Make lp64 and ilp32 directories.

2016-06-27 Thread Arnd Bergmann
On Monday, June 27, 2016 9:56:13 AM CEST Andreas Schwab wrote: > Yury Norov writes: > > > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > > b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > > index 658f696..7dcbe65 100644 > > --- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > > +++

Re: [PATCH v10 04/22] IB/hns: Add RoCE engine reset function

2016-06-27 Thread Leon Romanovsky
On Sat, Jun 25, 2016 at 06:25:37PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/24 22:59, Leon Romanovsky wrote: > >On Thu, Jun 16, 2016 at 10:35:12PM +0800, Lijun Ou wrote: > >>This patch mainly added reset flow of RoCE engine in RoCE > >>driver. It is necessary when RoCE is loaded and removed.

[PATCH] usb: gadget: rndis: free response queue during REMOTE_NDIS_RESET_MSG

2016-06-27 Thread Amit Pundir
From: xerox_lin When rndis data transfer is in progress, some Windows7 Host PC is not sending the GET_ENCAPSULATED_RESPONSE command for receiving the response for the previous SEND_ENCAPSULATED_COMMAND processed. The rndis function driver appends each response for the SEND_ENCAPSULATED_COMMAND i

arch/powerpc/xmon/dis-asm.h: 2 * wrong specifiers ?

2016-06-27 Thread David Binderman
Hello there, linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:20]: (warning) %x in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [linux-4.7-rc5/arch/powerpc/xmon/dis-asm.h:26]: (warning) %x in format string (no. 1) requires 'unsigned int' but the argument type is

RE: [PATCH 04/21] usb: chipidea: Only read/write OTGSC from one place

2016-06-27 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Stephen Boyd > Sent: Sunday, June 26, 2016 3:28 PM > To: linux-...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-arm-

[PATCH] Register KEY_TOUCHPAD_TOGGLE with input device

2016-06-27 Thread Jan-Marek Glogowski
Probably just squash that into [PATCH] fujitsu-laptop: Support touchpad toggle hotkey on Skylake-based models Signed-off-by: Jan-Marek Glogowski --- fujitsu-laptop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-27 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 02:45:06PM +0800, Boqun Feng wrote: > +++ b/include/linux/vcpu_preempt.h > @@ -0,0 +1,82 @@ > +/* > + * Primitives for checking the vcpu preemption from the guest. > + */ > + > +static long __vcpu_preempt_count(void) > +{ > + return 0; > +} > + > +static bool __vcpu_has_

Re: [PATCH v2 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-27 Thread Jacek Anaszewski
Hi Florian, On 06/27/2016 09:03 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semiconductor NCP5623 I2C LED driver. The driver can independently control the PWM of the 3 channels with 32 levels of intensity. The current delivered by the current source can also be cont

Re: [PATCH] [perf]: update makefile message for installing required libs

2016-06-27 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 12:10:52AM -0700, neerajbadl...@gmail.com wrote: > From: Neeraj Badlani > > In case of missing library (libslang), give hint to install library > (libslang2-dev) > Since libslang-dev is not provided by Ubuntu's apt-package > > Signed-off-by: Neeraj Badlani > --- > tool

Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-27 Thread Jiri Kosina
On Mon, 27 Jun 2016, Pavel Machek wrote: > > Live patching, as we use it, deliberately disrupts the fabric of > > compile units; thus all assumptions a compiler can make about the > > control flow may be invalid. As an example, it could analyse that a > > callee does not touch a caller-saved regis

Re: [PATCH v2 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Jacek Anaszewski
Hi Florian, Thanks for the update. I have few comments below. On 06/27/2016 09:03 AM, Florian Vaussard wrote: The NCP5623 is a 3-channel LED driver from On Semiconductor controlled through I2C. The PWM of each channel can be independently set with 32 distinct levels. In addition, the intensity

Re: [PATCH] net: tc35815: fix spelling mistake on "descriptors"

2016-06-27 Thread David Miller
From: Colin King Date: Wed, 22 Jun 2016 17:42:21 +0100 > From: Colin Ian King > > trivial fixes to spelling mistakes of the word "descriptors" > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] ethernet: xircom: fix spelling mistakes on "excessive collisions"

2016-06-27 Thread David Miller
From: Colin King Date: Wed, 22 Jun 2016 18:35:05 +0100 > From: Colin Ian King > > trivial fixes to spelling mistakes of the words "excessive collisions" > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-27 Thread Pavel Machek
On Mon 2016-06-27 10:13:28, Jiri Kosina wrote: > On Mon, 27 Jun 2016, Pavel Machek wrote: > > > > Live patching, as we use it, deliberately disrupts the fabric of > > > compile units; thus all assumptions a compiler can make about the > > > control flow may be invalid. As an example, it could anal

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-27 Thread okaya
On 2016-06-27 02:27, Wim Osterholt wrote: On Sat, Jun 25, 2016 at 04:51:03AM -0400, ok...@codeaurora.org wrote: On 2016-06-24 21:39, Wim Osterholt wrote: Please apply the patches on top of clean 4.7-rc4 tree and apply them in order with git am 0001... git am 0002... It doesn't work that wa

Re: [PATCH v3 3/6] mm/cma: populate ZONE_CMA

2016-06-27 Thread Vlastimil Babka
On 05/26/2016 08:22 AM, js1...@gmail.com wrote: From: Joonsoo Kim Until now, reserved pages for CMA are managed in the ordinary zones where page's pfn are belong to. This approach has numorous problems and fixing them isn't easy. (It is mentioned on previous patch.) To fix this situation, ZONE_

Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-27 Thread Jiri Kosina
On Mon, 27 Jun 2016, Pavel Machek wrote: > > > I thought that in such case, person creating the live patch should > > > notice and adjust patch appropriately, at assembly level if > > > neccessary..? > > > > Yes, that still holds; a lot of things could be automated though, and > > creating the a

Re: kthread_stop insanity (Re: [[DEBUG] force] 2642458962: BUG: unable to handle kernel paging request at ffffc90000997f18)

2016-06-27 Thread Peter Zijlstra
On Sun, Jun 26, 2016 at 10:22:32PM -0700, Andy Lutomirski wrote: > kthread_stop is *sick*. > > struct kthread self; > > ... > > current->vfork_done = &self.exited; > > ... > > do_exit(ret); > > And then some other thread goes and waits for the completion, which is > *on the stack*

Re: [PATCH v2 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-27 Thread Florian Vaussard
Hi Jacek, Le 27. 06. 16 à 10:11, Jacek Anaszewski a écrit : > Hi Florian, > > On 06/27/2016 09:03 AM, Florian Vaussard wrote: >> Add device tree binding documentation for On Semiconductor NCP5623 I2C >> LED driver. The driver can independently control the PWM of the 3 >> channels with 32 levels o

Re: [PATCH v10 04/22] IB/hns: Add RoCE engine reset function

2016-06-27 Thread oulijun
Hi, Leon 在 2016/6/27 16:01, Leon Romanovsky 写道: > On Sat, Jun 25, 2016 at 06:25:37PM +0800, Wei Hu (Xavier) wrote: >> >> >> On 2016/6/24 22:59, Leon Romanovsky wrote: >>> On Thu, Jun 16, 2016 at 10:35:12PM +0800, Lijun Ou wrote: This patch mainly added reset flow of RoCE engine in RoCE dr

Re: [PATCH] Disable non-ABI-compliant optimisations for live patching

2016-06-27 Thread Pavel Machek
On Mon 2016-06-27 10:26:58, Jiri Kosina wrote: > On Mon, 27 Jun 2016, Pavel Machek wrote: > > > > > I thought that in such case, person creating the live patch should > > > > notice and adjust patch appropriately, at assembly level if > > > > neccessary..? > > > > > > Yes, that still holds; a lot

Re: [PATCH v2 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-27 Thread Jacek Anaszewski
On 06/27/2016 10:30 AM, Florian Vaussard wrote: Hi Jacek, Le 27. 06. 16 à 10:11, Jacek Anaszewski a écrit : Hi Florian, On 06/27/2016 09:03 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semiconductor NCP5623 I2C LED driver. The driver can independently control the P

[PATCH] xen-blkfront: save uncompleted reqs in blkfront_resume()

2016-06-27 Thread Bob Liu
Uncompleted reqs used to be 'saved and resubmitted' in blkfront_recover() during migration, but that's too later after multi-queue introduced. After a migrate to another host (which may not have multiqueue support), the number of rings (block hardware queues) may be changed and the ring and shadow

Re: [PATCH v2 01/11] clk: tegra: Switch to using critical clks

2016-06-27 Thread Peter De Schrijver
On Wed, Jun 22, 2016 at 02:16:30PM +0200, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, May 27, 2016 at 04:38:04PM -0400, Rhyland Klein wrote: > > Mark some of the required-to-be-enabled clks as critical clks. These > > need to be kept on through the disabling of unused clks d

Build regressions/improvements in v4.7-rc5

2016-06-27 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.7-rc5[1] compared to v4.6[2]. Summarized: - build errors: +9/-7 - build warnings: +1143/-796 JFYI, when comparing v4.7-rc5[1] to v4.7-rc4[3], the summaries are: - build errors: +9/-10 - build warnings: +272/-418 Note

Re: [PATCH] sched/fair: avoid !CONFIG_SMP cpufreq update callbacks when go idle

2016-06-27 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 03:56:03PM +0800, Jisheng Zhang wrote: > This is to avoid cpufreq update callbacks when we go idle on UP > platforms. How so? the patch only avoids calling the update for (!root) cgroups -- which makes sense, but I'm not seeing how that's related to going idle, or UP at all

Re: Build regressions/improvements in v4.7-rc5

2016-06-27 Thread Geert Uytterhoeven
On Mon, Jun 27, 2016 at 10:37 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.7-rc5[1] to v4.7-rc4[3], the summaries are: > - build errors: +9/-10 Nothing to report here (out-of-range relocations only). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH 1/2] kernel/sched: introduce vcpu preempted interface

2016-06-27 Thread Peter Zijlstra
On Sun, Jun 26, 2016 at 06:41:54AM -0400, Pan Xinhui wrote: > +#ifdef arch_vcpu_is_preempted > +static inline bool vcpu_is_preempted(int cpu) > +{ > + return arch_vcpu_is_preempted(cpu); > +} > +#else > +static inline bool vcpu_is_preempted(int cpu) > +{ > + return 0; > +} > +#endif > + >

Re: [PATCH v3 1/5] ARM: dts: meson: minix-neo-x8: define PMIC as power controller

2016-06-27 Thread Carlo Caione
On 25/06/16 18:15, Stefan Agner wrote: > The PMIC driver used to register itself as poweroff controller by > default, hence assuming that this device is using the PMIC as > system power controller. > > Signed-off-by: Stefan Agner > Reviewed-by: Marcel Ziswiler Acked-by: Carlo Caione -- Carlo

Re: [PATCH v2] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-27 Thread Mugunthan V N
On Friday 24 June 2016 05:13 PM, Grygorii Strashko wrote: > TI CPDMA currently uses a bitmap for tracking descriptors alloactions > allocations, but The genalloc already handles the same and can be used > as with special memory (SRAM) as with DMA cherent memory chank > (dma_alloc_coherent()). Hence

Re: [PATCH] sched/fair: avoid !CONFIG_SMP cpufreq update callbacks when go idle

2016-06-27 Thread Jisheng Zhang
Dear Peter, On Mon, 27 Jun 2016 10:37:21 +0200 Peter Zijlstra wrote: > On Mon, Jun 27, 2016 at 03:56:03PM +0800, Jisheng Zhang wrote: > > This is to avoid cpufreq update callbacks when we go idle on UP > > platforms. > > How so? the patch only avoids calling the update for (!root) cgroups -- >

Re: acpi: broken suspend to RAM with v4.7-rc1

2016-06-27 Thread Andrey Skvortsov
On 27 Jun, Zheng, Lv wrote: > Hi, > > > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > > Subject: Re: acpi: broken suspend to RAM with v4.7-rc1 > > > > On 24 Jun, Zheng, Lv wrote: > > > Hi, > > > > > > > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > > > > Subject: Re:

Re: [PATCH v4 01/29] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

2016-06-27 Thread Ingo Molnar
* Marcel Holtmann wrote: > Hi Andy, > > > SMP does ECB crypto on stack buffers. This is complicated and > > fragile, and it will not work if the stack is virtually allocated. > > > > Switch to the crypto_cipher interface, which is simpler and safer. > > > > Cc: Marcel Holtmann > > Cc: Gusta

Re: [PATCH v2 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Florian Vaussard
Hi Jacek, Le 27. 06. 16 à 10:14, Jacek Anaszewski a écrit : > Hi Florian, > > Thanks for the update. I have few comments below. > > On 06/27/2016 09:03 AM, Florian Vaussard wrote: >> The NCP5623 is a 3-channel LED driver from On Semiconductor controlled >> through I2C. The PWM of each channel ca

Re: [PATCH] thermal: fix race condition when updating cooling device

2016-06-27 Thread Michele DiGiorgio
Hi Eduardo, Rui, On 06/06/16 13:51, Javi Merino wrote: On Thu, Jun 02, 2016 at 03:25:31PM +0100, Michele Di Giorgio wrote: When multiple thermal zones are bound to the same cooling device, multiple kernel threads may want to update the cooling device state by calling thermal_cdev_update(). Havi

Re: [PATCH v2 1/2] leds: ncp5623: Add device tree binding documentation

2016-06-27 Thread Florian Vaussard
Le 27. 06. 16 à 10:33, Jacek Anaszewski a écrit : > On 06/27/2016 10:30 AM, Florian Vaussard wrote: >> Hi Jacek, >> >> Le 27. 06. 16 à 10:11, Jacek Anaszewski a écrit : >>> Hi Florian, >>> >>> On 06/27/2016 09:03 AM, Florian Vaussard wrote: Add device tree binding documentation for On Semico

Re: [PATCH] mmc: core: add auto bkops support

2016-06-27 Thread Ulf Hansson
[...] one possible way is to control it by mmc-utils on user space? So we should add a cmd for mmc-utils there? >>> >>> >>> That would be consistent with manual bkops. >>> >> >>> From my first impression I agree, as that is the policy we have been >> >> sticking to when writing to

[PATCH 04/10] firmware: tegra: add IVC library

2016-06-27 Thread Joseph Lo
The Inter-VM communication (IVC) is a communication protocol, which is designed for interprocessor communication (IPC) or the communication between the hypervisor and the virtual machine with a guest OS on it. So it can be translated as inter-virtual memory or inter-virtual machine communication. T

[PATCH 02/10] mailbox: tegra-hsp: Add HSP(Hardware Synchronization Primitives) driver

2016-06-27 Thread Joseph Lo
The Tegra HSP mailbox driver implements the signaling doorbell-based interprocessor communication (IPC) for remote processors currently. The HSP HW modules support some different features for that, which are shared mailboxes, shared semaphores, arbitrated semaphores, and doorbells. And there are mu

[PATCH 00/10] arm64: tegra: add BPMP support

2016-06-27 Thread Joseph Lo
Hi, This series introduce the first announced Boot and Power Management Processor (BPMP) for the new generation Tegra SoCs, which is designed for boot process handling and offloading the power management tasks from the CPU. We also add some very initial and basic support for Tegra186 SoC, which s

[PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-27 Thread Joseph Lo
Add DT binding for the Hardware Synchronization Primitives (HSP). The HSP is designed for the processors to share resources and communicate together. It provides a set of hardware synchronization primitives for interprocessor communication. So the interprocessor communication (IPC) protocols can us

[PATCH 03/10] Documentation: dt-bindings: firmware: tegra: add bindings of the BPMP

2016-06-27 Thread Joseph Lo
The BPMP is a specific processor in Tegra chip, which is designed for booting process handling and offloading the power management tasks from the CPU. The binding document defines the resources that would be used by the BPMP firmware driver, which can create the interprocessor communication (IPC) b

[PATCH 10/10] arm64: dts: tegra: Add NVIDIA P2771 board support

2016-06-27 Thread Joseph Lo
Add NVIDIA Tegra186 P2771 board support, which is a reference development board with P2597 I/O board and P3310 chip module on it. Signed-off-by: Joseph Lo --- arch/arm64/boot/dts/nvidia/Makefile| 1 + arch/arm64/boot/dts/nvidia/tegra186-p2771-.dts | 8 2 files change

Re: arch/powerpc/platforms/512x/clock-commonclk.c:824: wrong % specifier ?

2016-06-27 Thread Anatolij Gustschin
On Mon, 27 Jun 2016 08:59:42 +0100 David Binderman linuxdev.baldr...@gmail.com wrote: ... >linux-4.7-rc5/arch/powerpc/platforms/512x/clock-commonclk.c:824]: >(warning) %d in format string (no. 1) requires 'int' but the argument >type is 'size_t {aka unsigned long}'. mpc512x is 32-bit arch, size_t

[PATCH 08/10] arm64: dts: tegra: Add Tegra186 support

2016-06-27 Thread Joseph Lo
This adds the initial support of Tegra186 SoC, which can help to bring up the debug console and initrd for further developing. Signed-off-by: Joseph Lo --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 77 1 file changed, 77 insertions(+) create mode 100644 arch/ar

[PATCH 09/10] arm64: dts: tegra: Add NVIDIA Tegra186 P3310 main board support

2016-06-27 Thread Joseph Lo
Add NVIDIA Tegra186 P3310 main board support, which is a chip module with DRAM, nonvolatile storage, WiFi, ethernet and PMIC chips on it. It also needs an IO board and hooks on it to represent as an application platform. Signed-off-by: Joseph Lo --- arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

[PATCH 07/10] arm64: defconfig: Enable Tegra186 SoC

2016-06-27 Thread Joseph Lo
Enable Tegra186 SoC. Signed-off-by: Joseph Lo --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index f267eea101a7..033d9cb1e983 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defco

[PATCH] net: ethernet: tundra: Correct argument for pci_free_consistent

2016-06-27 Thread Amitoj Kaur Chawla
pci_free_consistent's argument 'struct pci_dev' should be NULL not 0. The Coccinelle semantic patch used to make this change is as follows: @@ @@ pci_free_consistent( - 0 + NULL , ...) Signed-off-by: Amitoj Kaur Chawla --- drivers/net/ethernet/tundra/tsi108_eth.c | 3 ++- 1 file changed, 2 i

[PATCH 05/10] firmware: tegra: add BPMP support

2016-06-27 Thread Joseph Lo
The Tegra BPMP (Boot and Power Management Processor) is designed for the booting process handling, offloading the power management tasks and some system control services from the CPU. It can be clock, DVFS, thermal/EDP, power gating operation and system suspend/resume handling. So the CPU and the d

Re: [PATCH 0/7] crypto: SHA256 multibuffer implementation

2016-06-27 Thread Herbert Xu
On Thu, Jun 23, 2016 at 06:40:41PM -0700, Megha Dey wrote: > From: Megha Dey > > In this patch series, we introduce the multi-buffer crypto algorithm on > x86_64 and apply it to SHA256 hash computation. The multi-buffer technique > takes advantage of the 8 data lanes in the AVX2 registers and al

[PATCH 06/10] soc/tegra: Add Tegra186 support

2016-06-27 Thread Joseph Lo
The Tegra186 has a combination of Denver and Cortex-A57 CPU cores and GPUs with Pascal architecture on it. It features with ADSP with Cortex-A9 CPU for audio processing, hardware video encoder/decoder with multi-format support, ISP for image capture processing and BPMP for the power managements. S

[PATCH v3] net: ethernet: ti: cpdma: switch to use genalloc

2016-06-27 Thread Grygorii Strashko
TI CPDMA currently uses a bitmap for tracking descriptors alloactions allocations, but The genalloc already handles the same and can be used as with special memory (SRAM) as with DMA cherent memory chank (dma_alloc_coherent()). Hence, switch to using genalloc and add desc_num property for each chan

Re: [PATCH V2] hwrng: OMAP: Fix assumption that runtime_get_sync will always succeed

2016-06-27 Thread Herbert Xu
On Fri, Jun 24, 2016 at 11:50:39AM -0500, Nishanth Menon wrote: > pm_runtime_get_sync does return a error value that must be checked for > error conditions, else, due to various reasons, the device maynot be > enabled and the system will crash due to lack of clock to the hardware > module. > > Bef

Re: [PATCH] mmc: core: add auto bkops support

2016-06-27 Thread Ulf Hansson
[...] >>> If I am not wrong, in current implementation of runtime suspend, >>> the driver stops BKOPS (send HPI) just before sending sleep command, >>> see _mmc_suspend(), depends on “MMC_CAP_AGGRESSIVE_PM” flag. >>> In this case, the eMMC device will not have enough time to perform internal >>> B

Re: [PATCH v2 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-27 Thread Jacek Anaszewski
On 06/27/2016 10:54 AM, Florian Vaussard wrote: Hi Jacek, Le 27. 06. 16 à 10:14, Jacek Anaszewski a écrit : Hi Florian, Thanks for the update. I have few comments below. On 06/27/2016 09:03 AM, Florian Vaussard wrote: The NCP5623 is a 3-channel LED driver from On Semiconductor controlled thr

[PATCH] net: marvell: Add separate config ANEG function for Marvell 88E1111

2016-06-27 Thread Harini Katakam
Marvell 88E currently uses the generic marvell config ANEG function. This function has a sequence accessing Page 5 and Register 31, both of which are not defined or reserved for this PHY. Hence this patch adds a new config ANEG function for Marvell 88E without these erroneous accesses. Sig

Re: BUG?: kernel does not (re)set irq smp_affinity to reboot_cpu

2016-06-27 Thread Marc Zyngier
[Thanks Maxime for pointing me to this discussion, +RMK] Hi Hans, On 26/06/16 17:00, Hans de Goede wrote: > Hi, > > I've just spend most of my Sunday debugging a problem > where Allwinner ARM SoC based boards will not shutdown when > using a Fedora 24 userland, where as the exact same > kernel w

[PATCH -v2 2/3] printk: Make the printk*once() variants return a value

2016-06-27 Thread Borislav Petkov
From: Borislav Petkov Date: Thu, 23 Jun 2016 10:41:30 +0200 Subject: [PATCH] printk: Make the printk*once() variants return a value Have printk*once() return a bool which denotes whether the string was printed or not so that calling code can react accordingly. Signed-off-by: Borislav Petkov Cc:

[PATCH] crypto: ux500: do not build with -O0

2016-06-27 Thread Arnd Bergmann
The ARM allmodconfig build currently warngs because of the ux500 crypto driver not working well with the jump label implementation that we started using for dynamic debug, which breaks building with 'gcc -O0': In file included from /git/arm-soc/include/linux/jump_label.h:105:0, fr

Re: [PATCH v2 00/15] drivers: net: cpsw: improve runtime pm

2016-06-27 Thread Mugunthan V N
On Friday 24 June 2016 11:53 PM, Grygorii Strashko wrote: > This series intended to improve runtime PM and allow CPSW to be > RPM suspended when all ethX netdevices are down. > > To achieve above goal it is required to relax runtime PM constraints for > Davinci MDIO which blocks CPSW runtime PM no

[PATCH] dsa: b53: avoid 'maybe-uninitialized' warning

2016-06-27 Thread Arnd Bergmann
In some configurations, gcc produces a warning for correct code in this driver: drivers/net/dsa/b53/b53_mmap.c: In function 'b53_mmap_read64': drivers/net/dsa/b53/b53_mmap.c:107:10: error: 'hi' may be used uninitialized in this function [-Werror=maybe-uninitialized] *val = ((u64)hi << 32) | lo;

[PATCH] 8250/fintek: rename IRQ_MODE macro

2016-06-27 Thread Arnd Bergmann
A bugfix for the fintek driver required defining some macros, but one of them clashes with a system header on ARM: drivers/tty/serial/8250/8250_fintek.c:34:0: error: "IRQ_MODE" redefined [-Werror] #define IRQ_MODE 0x70 In file included from /git/arm-soc/arch/arm/include/asm/ptrace.h:13:0,

Re: [GIT pull] x86 fixes for 4.7

2016-06-27 Thread Thomas Gleixner
On Sat, 25 Jun 2016, Linus Torvalds wrote: > I'm pretty sure that's not the final fix. And that it caused more > problems than it fixed, afaik. Sorry. That slipped through my attention. Thanks for spotting it! tglx

Re: [PATCH v3] ARM: sun8i: Add Parrot Board DTS

2016-06-27 Thread Maxime Ripard
On Fri, Jun 24, 2016 at 12:10:01PM +0200, Quentin Schulz wrote: > The Parrot Board is an evaluation board with an Allwinner R16 (assumed > to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host > and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2 > controllable buttons,

[PATCH] drm/mediatek: add ARM_SMCCC dependency

2016-06-27 Thread Arnd Bergmann
ARM SMCCC is only set for ARMv7 and ARMv8 CPUs, but we currently allow the driver to be build for older architecture levels as well, which results in a link failure: drivers/gpu/built-in.o: In function `mtk_hdmi_hw_make_reg_writable': :(.text+0x1e737c): undefined reference to `arm_smccc_smc' This

Re: [PATCH] mmc: sdhci-msm: fix spelling mistake: "Perpheral" -> "Peripheral"

2016-06-27 Thread Ulf Hansson
On 23 June 2016 at 11:52, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/sdhci-msm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

  1   2   3   4   5   6   7   8   9   >