Re: [PATCH 1/2] devicetree: i2c-hid: Add regulator support

2016-12-05 Thread Benjamin Tissoires
On Dec 02 2016 or thereabouts, Brian Norris wrote: > From: Caesar Wang > > Document a "vdd-supply" and an initialization delay. Can be used for > powering on/off a HID. > > Signed-off-by: Caesar Wang > Cc: Rob Herring > Cc: Jiri Kosina > Cc: linux-in...@vger.kernel.org > Signed-off-by: Brian

Build regressions/improvements in v4.9-rc8

2016-12-05 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.9-rc8[1] compared to v4.8[2]. Summarized: - build errors: +7/-3 - build warnings: +1620/-1082 JFYI, when comparing v4.9-rc8[1] to v4.9-rc7[3], the summaries are: - build errors: +5/-10 - build warnings: +426/-271 Not

[PATCH] MAINTAINERS: add 2967 SoC drivers to ARM ZTE architecture

2016-12-05 Thread Baoyou Xie
Add the 2967 SoC drivers as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ad199da..ba787ac 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[GIT PULL] Please pull powerpc/linux.git powerpc-4.9-7 tag

2016-12-05 Thread Michael Ellerman
Hi Linus, Please pull what is hopefully the last batch of powerpc fixes for 4.9. The following changes since commit 984d7a1ec67ce3a46324fa4bcb4c745bbc266cf2: powerpc/mm: Fixup kernel read only mapping (2016-11-25 14:18:25 +1100) are available in the git repository at: git://git.kernel.org/

Re: [PATCH 04/15] Drivers: hv: vmbus: Prevent sending data on a rescinded channel

2016-12-05 Thread Dan Carpenter
On Thu, Dec 01, 2016 at 09:28:41AM -0800, k...@exchange.microsoft.com wrote: > From: K. Y. Srinivasan > > After the channel is rescinded, the host does not read from the rescinded > channel. > Fail writes to a channel that has already been rescinded What are the user visible effects of this bug

Re: [patch net v2] net: fec: fix compile with CONFIG_M5272

2016-12-05 Thread Fabio Estevam
On Mon, Dec 5, 2016 at 6:16 AM, Nikita Yushchenko wrote: > Commit 4dfb80d18d05 ("net: fec: cache statistics while device is down") > introduced unconditional statistics-related actions. > > However, when driver is compiled with CONFIG_M5272, staticsics-related > definitions do not exist, which res

Re: [PATCH 2/3 v2] ALSA: usb-audio: avoid setting of sample rate multiple times on bus

2016-12-05 Thread Takashi Sakamoto
On Dec 5 2016 16:32, Jiada Wang wrote: Hi Sakamoto On 11/30/2016 02:45 AM, Takashi Sakamoto wrote: Hi Jiada, I don't oppose this patch. Nevertheless, your description is not necessarily correct. On Nov 30 2016 16:59, Jiada Wang wrote: From: Daniel Girnus ALSA usually calls the prepare func

Re: [PATCH 2/2] mm: page_alloc: High-order per-cpu page allocator v5

2016-12-05 Thread Mel Gorman
On Mon, Dec 05, 2016 at 12:06:19PM +0900, Joonsoo Kim wrote: > On Fri, Dec 02, 2016 at 09:04:49AM +, Mel Gorman wrote: > > On Fri, Dec 02, 2016 at 03:03:46PM +0900, Joonsoo Kim wrote: > > > > @@ -1132,14 +1134,17 @@ static void free_pcppages_bulk(struct zone > > > > *zone, int count, > > > >

Re: [PATCH 3/8] rtc: add STM32 RTC driver

2016-12-05 Thread Amelie DELAUNAY
On 12/02/2016 07:05 PM, Mathieu Poirier wrote: On Fri, Dec 02, 2016 at 03:09:56PM +0100, Amelie Delaunay wrote: This patch adds support for the STM32 RTC. Signed-off-by: Amelie Delaunay --- drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile| 1 + drivers/rtc/rtc-stm32.c | 777 +++

Re: [PATCH] drm/radeon: don't add files at control minor debugfs directory

2016-12-05 Thread Daniel Vetter
On Mon, Dec 05, 2016 at 09:48:02AM +0100, Christian König wrote: > Am 05.12.2016 um 09:39 schrieb Nicolai Stange: > > Christian König writes: > > > > > Am 05.12.2016 um 08:27 schrieb Daniel Vetter: > > > > On Sat, Dec 03, 2016 at 03:47:00PM +0100, Nicolai Stange wrote: > > > > > Since commit 8a35

RE: [PATCH v9 07/16] drivers: acpi: implement acpi_dma_configure

2016-12-05 Thread Sricharan
Hi Lorenzo, > >On Sat, Dec 3, 2016 at 11:39 AM, Lorenzo Pieralisi > wrote: >> On Sat, Dec 03, 2016 at 03:11:09AM +0100, Rafael J. Wysocki wrote: >>> On Fri, Dec 2, 2016 at 4:38 PM, Lorenzo Pieralisi >>> wrote: >>> > Rafael, Mark, Suravee, >>> > >>> > On Mon, Nov 21, 2016 at 10:01:39AM +, Lore

Re: [PATCH 1/1] mtd: ubi: fix improper return value

2016-12-05 Thread Artem Bityutskiy
On Mon, 2016-12-05 at 09:23 +0100, Boris Brezillon wrote: > I started to implement that too but unfortunately never had the time > to > finish it :-(. > Don't know why you were trying to move to kzalloc-ed buffer, but my > goal was to avoid the extra copy when the controller transfers data > using

Re: [net-next][PATCH 02/18] RDS: mark few internal functions static to make sparse build happy

2016-12-05 Thread Sergei Shtylyov
Hello! On 12/5/2016 9:57 AM, Santosh Shilimkar wrote: Fixes below warnings: warning: symbol 'rds_send_probe' was not declared. Should it be static? warning: symbol 'rds_send_ping' was not declared. Should it be static? warning: symbol 'rds_tcp_accept_one_path' was not declared. Should it be sta

Re: [PATCH] drm/radeon: don't add files at control minor debugfs directory

2016-12-05 Thread Christian König
Am 05.12.2016 um 09:39 schrieb Nicolai Stange: Christian König writes: Am 05.12.2016 um 08:27 schrieb Daniel Vetter: On Sat, Dec 03, 2016 at 03:47:00PM +0100, Nicolai Stange wrote: Since commit 8a357d10043c ("drm: Nerf DRM_CONTROL nodes"), a struct drm_device's ->control member is always NUL

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-12-05 Thread Maxime Ripard
On Mon, Dec 05, 2016 at 04:59:44PM +0800, Icenowy Zheng wrote: > > 2016年12月5日 16:52于 Maxime Ripard 写道: > > > > On Fri, Dec 02, 2016 at 10:22:30PM +0800, Icenowy Zheng wrote: > > > > > > > > > 01.12.2016, 17:36, "Maxime Ripard" : > > > > On Mon, Nov 28, 2016 at 12:29:07AM +, André Przywara

Re: [RFC PATCH v2] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Christian Borntraeger
On 12/05/2016 10:26 AM, Xishi Qiu wrote: > A compiler could re-read "old_flags" from the memory location after reading > and calculation "flags" and passes a newer value into the cmpxchg making > the comparison succeed while it should actually fail. > > Signed-off-by: Xishi Qiu > Suggested-by: C

Re: [PATCH 3/8] rtc: add STM32 RTC driver

2016-12-05 Thread Amelie DELAUNAY
Hi Mathieu, Thanks for reviewing On 12/02/2016 06:56 PM, Mathieu Poirier wrote: > On Fri, Dec 02, 2016 at 03:09:56PM +0100, Amelie Delaunay wrote: >> This patch adds support for the STM32 RTC. > > Hello Amelie, > >> >> Signed-off-by: Amelie Delaunay >> --- >> drivers/rtc/Kconfig | 10 + >>

Re: [PATCH] perf/core: remove invalid warning from list_update_cgroup_event

2016-12-05 Thread David Carrillo-Cisneros
>> The warning introduced in commit: >> >> 979bfef8607c ("perf/core: Do not set cpuctx->cgrp for unscheduled cgroups") > > That commit doesn't exist. > > You instead mean this one, right? Ups, got it from the wrong tree. Yes, that's the one I meant. > > 864c2357ca89 ("perf/core: Do not set cpuc

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-05 Thread Emmanuel Vadot
On Mon, 5 Dec 2016 10:28:21 +0100 Maxime Ripard wrote: > On Thu, Dec 01, 2016 at 11:24:14AM +0100, Emmanuel Vadot wrote: > > > > > > If num-cs isn't present nothing prevent to start a transfer > > > > > > with a non-valid CS pin, resulting in an error. num-cs are > > > > > > default property es

Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork

2016-12-05 Thread Vincent Guittot
On 4 December 2016 at 00:25, Matt Fleming wrote: > On Fri, 25 Nov, at 04:34:32PM, Vincent Guittot wrote: >> During fork, the utilization of a task is init once the rq has been >> selected because the current utilization level of the rq is used to set >> the utilization of the fork task. As the tas

Re: [PATCH 1/1] usb: xhci: fix possible wild pointer

2016-12-05 Thread Lu Baolu
Hi, On 12/02/2016 09:39 PM, Mathias Nyman wrote: > On 02.12.2016 04:29, Lu Baolu wrote: >> handle_cmd_completion() frees a command structure which might >> be still referenced by xhci->current_cmd. This might cause >> problem when xhci->current_cmd is accessed after that. >> >> A real-life case co

Re: [PATCH v2 3/3] ARM: da850: fix da850_set_pll0rate()

2016-12-05 Thread Bartosz Golaszewski
2016-12-05 9:45 GMT+01:00 Sekhar Nori : > On Friday 02 December 2016 09:08 PM, Bartosz Golaszewski wrote: >> This function is broken - its second argument is an index to the freq >> table, not the requested clock rate in Hz. It leads to an oops when >> called from clk_set_rate() since this argument

Re: [PATCH v6 2/2] mtd: nand: Add support for Arasan Nand Flash Controller

2016-12-05 Thread kbuild test robot
Hi Punnaiah, [auto build test ERROR on mtd/master] [also build test ERROR on v4.9-rc8 next-20161205] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Punnaiah-Choudary-Kalluri/mtd-arasan-Add

Re: [PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-12-05 Thread Maxime Ripard
On Thu, Dec 01, 2016 at 11:24:14AM +0100, Emmanuel Vadot wrote: > > > > > If num-cs isn't present nothing prevent to start a transfer > > > > > with a non-valid CS pin, resulting in an error. num-cs are > > > > > default property especially made for this and a SPI driver > > > > > should try to g

Re: [PATCH 2/2 v2] sched: use load_avg for selecting idlest group

2016-12-05 Thread Vincent Guittot
Le Saturday 03 Dec 2016 à 21:47:07 (+), Matt Fleming a écrit : > On Fri, 02 Dec, at 07:31:04PM, Brendan Gregg wrote: > > > > For background, is this from the "A decade of wasted cores" paper's > > patches? > > No, this patch fixes an issue I originally reported here, > > https://lkml.kerne

[RFC PATCH v2] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Xishi Qiu
A compiler could re-read "old_flags" from the memory location after reading and calculation "flags" and passes a newer value into the cmpxchg making the comparison succeed while it should actually fail. Signed-off-by: Xishi Qiu Suggested-by: Christian Borntraeger --- mm/mmzone.c | 2 +- 1 file

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread Miklos Szeredi
[Added a few more CCs] On Mon, Dec 5, 2016 at 1:51 AM, Patrick Plagwitz wrote: > Mounting an overlayfs with an NFSv4 lowerdir and an ext4 upperdir causes > copy_up operations, specifically the function copy_up.c:ovl_copy_xattr, to > fail with EOPNOTSUPP. > For example, having the following fold

Re: [RFC PATCH] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Xishi Qiu
On 2016/12/5 16:50, Christian Borntraeger wrote: > On 12/05/2016 09:31 AM, Christian Borntraeger wrote: >> On 12/05/2016 09:23 AM, Xishi Qiu wrote: >>> By reading the code, I find the following code maybe optimized by >>> compiler, maybe page->flags and old_flags use the same register, >>> so use

Re: [PATCH v3 -next 1/2] ARM: sunxi: add support for H2+ SoC

2016-12-05 Thread Maxime Ripard
On Fri, Dec 02, 2016 at 11:05:12PM +0800, Icenowy Zheng wrote: > Allwinner H2+ is a quad-core Cortex-A7 SoC. > > It is very like H3, that they share the same SoC ID (0x1680), and H3 > memory maps as well as drivers works well on the SoC. > > Signed-off-by: Icenowy Zheng Fixed the alphabetical o

Re: [PATCH v5 2/3] mtd: nand: Add support for Arasan Nand Flash Controller

2016-12-05 Thread Boris Brezillon
+Marek who reviewed v6 Hi Punnaiah, I see you sent a v6, but you never answered the questions/remarks I had in this email. Can you please try to answer them (I'd like to understand how the controller works)? Thanks, Boris On Wed, 9 Mar 2016 10:50:07 +0100 Boris Brezillon wrote: > Hi Punnaia

Re: [PATCH v3 1/3] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2016-12-05 Thread Gautham R Shenoy
Hi Balbir, On Tue, Nov 29, 2016 at 09:42:20PM +1100, Balbir Singh wrote: > > > On 10/11/16 18:54, Gautham R. Shenoy wrote: > > From: "Gautham R. Shenoy" > > > > Currently all the low-power idle states are expected to wake up > > at reset vector 0x100. Which is why the macro IDLE_STATE_ENTER_SE

Re: [patch net v2] net: fec: fix compile with CONFIG_M5272

2016-12-05 Thread Geert Uytterhoeven
On Mon, Dec 5, 2016 at 9:16 AM, Nikita Yushchenko wrote: > Commit 4dfb80d18d05 ("net: fec: cache statistics while device is down") > introduced unconditional statistics-related actions. > > However, when driver is compiled with CONFIG_M5272, staticsics-related > definitions do not exist, which res

[PATCH 3/3] iio: cros_ec_activity: add ChromeOS EC Activity Sensors

2016-12-05 Thread Thierry Escande
From: Gwendal Grignou This patch adds a driver for handling activity/gesture recognition coming from the EC. Only significant motion is currently supported. It is an incomplete driver: activity can be set, but ring buffer must be used to receive interruption. Signed-off-by: Gwendal Grignou Sign

Re: [linux-sunxi] [PATCH v3 -next 2/2] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-12-05 Thread Maxime Ripard
Hi Icenowy, On Sat, Dec 03, 2016 at 09:24:19PM +0800, Icenowy Zheng wrote: > > 2016年12月3日 下午5:43于 Jernej Skrabec > 写道: > > > > Hi, > > > > Dne petek, 02. december 2016 17.42.04 UTC+1 je oseba Chen-Yu Tsai > napisala: > >> > >> Hi, > >> > >> On Fri, Dec 2, 2016 at 11:0

Re: [PATCH 1/1] input: usbhid: fix improper check

2016-12-05 Thread Oliver Neukum
On Sun, 2016-12-04 at 13:10 +0800, Pan Bian wrote: > From: Pan Bian > > Function hid_post_reset() returns 0 on success, or 1 on failures. It seems like hid_post_reset() is buggy in not returning a proper error code in the failure case. So your diagnosis is right, but the fix is at the wrong plac

Re: [PATCH 1/1 v2] xen: xenbus: set error code on failure

2016-12-05 Thread Juergen Gross
On 05/12/16 09:22, Pan Bian wrote: > Variable err is initialized with 0. As a result, the return value may > be 0 even if get_zeroed_page() fails to allocate memory. This patch fixes > the bug, initializing err with "-ENOMEM". > > v1 is reviewed by: Juergen Gross I didn't say so. > Signed-off-

[PATCH 0/3] Add ChromeOS EC Activity Sensors driver

2016-12-05 Thread Thierry Escande
Hi, This patchset adds support for an activity sensors driver handling activity/gesture recognition coming from the EC. Only significant motion is currently supported. Moreover it is an incomplete driver: activity can be set and ring buffer must be used to receive interruption. This patchset depe

Re: [PATCH 1/1 v2] xen: set error code on failures

2016-12-05 Thread Juergen Gross
On 05/12/16 09:23, Pan Bian wrote: > Variable rc is reset in the loop, and its value will be non-negative > during the second and after repeat of the loop. If it fails to allocate > memory then, it may return a non-negative integer, which indicates no > error. This patch fixes the bug, assigning "-

[PATCH 2/3] iio: core: Add double tap as possible gesture

2016-12-05 Thread Thierry Escande
From: Gwendal Grignou This adds the IIO_MOD_DOUBLE_TAP entry to the iio_modifier enum and the corresponding "double_tap" string to the iio_modifier_names array. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- drivers/iio/industrialio-core.c | 1 + include/uapi/linux/iio/type

[PATCH v2 5/6] net: stmmac: add support for independent DMA pbl for tx/rx

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel GMAC and newer supports independent programmable burst lengths for DMA tx/rx. Add new optional devicetree properties representing this. To be backwards compatible, snps,pbl will still be valid, but snps,txpbl/snps,rxpbl will override the value in snps,pbl if set. If the IP i

[PATCH v2 6/6] net: smmac: allow configuring lower pbl values

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel The driver currently always sets the PBLx8/PBLx4 bit, which means that the pbl values configured via the pbl/txpbl/rxpbl DT properties are always multiplied by 8/4 in the hardware. In order to allow the DT to configure lower pbl values, while at the same time not changing beh

Re: [PATCH 2/2] HID: i2c-hid: support regulator power on/off

2016-12-05 Thread Benjamin Tissoires
On Dec 02 2016 or thereabouts, Dmitry Torokhov wrote: > On Fri, Dec 02, 2016 at 02:19:00PM -0800, Brian Norris wrote: > > On some boards, we need to enable a regulator before using the HID, and > > it's also nice to save power in suspend by disabling it. Support an > > optional "vdd-supply" and a c

[PATCH 1/3] mfd: cros_ec: Add activity motion sense definitions

2016-12-05 Thread Thierry Escande
From: Gwendal Grignou This adds motion sense definitions to the commands header related to the activity sensors attached behind the ChromeOS Embedded Controller. Supported activities are MOTION and DOUBLE_TAP. Signed-off-by: Gwendal Grignou Signed-off-by: Thierry Escande --- include/linux/mfd

Re: [PATCH v2 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Bartosz Golaszewski
2016-12-05 9:38 GMT+01:00 Sekhar Nori : > On Friday 02 December 2016 09:08 PM, Bartosz Golaszewski wrote: >> The aemif clock is added twice to the lookup table in da850.c. This >> breaks the children list of pll0_sysclk3 as we're using the same list >> links in struct clk. When calling clk_set_rate

Re: [PATCH linux-firmware] LICENCE.siano: Add copyright years

2016-12-05 Thread Mauro Carvalho Chehab
Em Mon, 5 Dec 2016 04:11:05 + Ben Hutchings escreveu: > A copyright notice is supposed to specify the years the work was > created. > > Mauro Carvalho Chehab writes: > > The oldest copyright I found for the Siano Linux driver is 2005, as > > you can see at: > > drivers/media/common/

[PATCH v2 4/6] net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel DMA_BUS_MODE_RPBL_MASK is really 6 bits, just like DMA_BUS_MODE_PBL_MASK. Signed-off-by: Niklas Cassel --- drivers/net/ethernet/stmicro/stmmac/dwmac1000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac1000.h b/

Re: [PATCH] drm/radeon: don't add files at control minor debugfs directory

2016-12-05 Thread Michel Dänzer
On 05/12/16 05:48 PM, Christian König wrote: > Am 05.12.2016 um 09:39 schrieb Nicolai Stange:>> >> I'll send compile-only tested patches either tonight or tomorrow. Shall >> they cover the oopses only or the dead code as well? > > Please start with the ops, cause we certainly will get complains ab

[PATCH v2 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel commit 64c3b252e9fc ("net: stmmac: fixed the pbl setting with DT") changed the parsing of the DT binding. Before 64c3b252e9fc, snps,fixed-burst and snps,mixed-burst were parsed regardless if the property snps,pbl existed or not. After the commit, fixed burst and mixed burst a

[PATCH v2 0/6] net: stmmac: make DMA programmable burst length more configurable

2016-12-05 Thread Niklas Cassel
hardware. All new DT properties are optional, and created in a way that it will not affect any existing DT configurations. Changes since V1: Created cover-letter. Rebased patch set against next-20161205, since conflicting patches to stmmac_platform.c has been merged since V1. Niklas Cassel (6

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-12-05 Thread Maxime Ripard
On Fri, Dec 02, 2016 at 04:10:46PM +, Andre Przywara wrote: > Hi, > > On 02/12/16 14:32, Icenowy Zheng wrote: > > > > > > 02.12.2016, 22:30, "Hans de Goede" : > >> Hi, > >> > >> On 02-12-16 15:22, Icenowy Zheng wrote: > >>> 01.12.2016, 17:36, "Maxime Ripard" : > On Mon, Nov 28, 2016 a

Re: [RFC PATCH 0/3] Add a new flag for ITS device to control indirect route

2016-12-05 Thread Marc Zyngier
On 05/12/16 03:11, majun (Euler7) wrote: > Hi Marc: > > 在 2016/12/2 17:35, Marc Zyngier 写道: >> On 02/12/16 09:29, majun (Euler7) wrote: >>> >>> >>> 在 2016/12/1 17:07, Marc Zyngier 写道: On 01/12/16 07:45, Majun wrote: > From: MaJun > > For current ITS driver, two level table (indir

Re: [PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-05 Thread Lee Jones
On Sat, 03 Dec 2016, Jonathan Cameron wrote: > On 02/12/16 13:22, Lee Jones wrote: > > On Fri, 02 Dec 2016, Benjamin Gaignard wrote: > > > >> Add general purpose timers and it sub-nodes into DT for stm32f4. > >> Define and enable pwm1 and pwm3 for stm32f469 discovery board > >> > >> version 3: > >

Re: [tip:efi/core] efi/libstub: Make efi_random_alloc() allocate below 4 GB on 32-bit

2016-12-05 Thread Ard Biesheuvel
On 4 December 2016 at 21:38, Matt Fleming wrote: > On Sun, 04 Dec, at 02:31:23PM, Ard Biesheuvel wrote: >> On 4 December 2016 at 14:17, Matt Fleming wrote: >> > >> > Ard, was this picked up for the correct tip branch? If it fixes a >> > build failure it should have gone into tip/efi/urgent, right

Re: [PATCH v2] arm64: dts: zx: add pcu_domain node for zx296718

2016-12-05 Thread Shawn Guo
On Mon, Dec 05, 2016 at 04:17:51PM +0800, Baoyou Xie wrote: > This patch adds the pcu_domain node, so it can be used > by zte-soc's power domain driver. > > Signed-off-by: Baoyou Xie I'm fine with the patch itself, but I need to wait the driver and bindings being accepted to apply it. Shawn >

Re: [PATCH] perf/core: remove invalid warning from list_update_cgroup_event

2016-12-05 Thread Peter Zijlstra
On Sun, Dec 04, 2016 at 12:46:17AM -0800, David Carrillo-Cisneros wrote: > The warning introduced in commit: > > 979bfef8607c ("perf/core: Do not set cpuctx->cgrp for unscheduled cgroups") That commit doesn't exist. You instead mean this one, right? 864c2357ca89 ("perf/core: Do not set cpuctx

Re: [PATCH v2 2/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-12-05 Thread Maxime Ripard
On Fri, Dec 02, 2016 at 10:22:30PM +0800, Icenowy Zheng wrote: > > > 01.12.2016, 17:36, "Maxime Ripard" : > > On Mon, Nov 28, 2016 at 12:29:07AM +, André Przywara wrote: > >>  > Something more interesting happened. > >>  > > >>  > Xunlong made a add-on board for Orange Pi Zero, which exposes

Re: [PATCH v1 1/2] Add crypto driver support for some MediaTek chips

2016-12-05 Thread Corentin Labbe
Hello I have two minor comment. On Mon, Dec 05, 2016 at 03:01:23PM +0800, Ryder Lee wrote: > This adds support for the MediaTek hardware accelerator on > mt7623/mt2701/mt8521p SoC. > > This driver currently implement: > - SHA1 and SHA2 family(HMAC) hash alogrithms. There is a typo for algorithm

Re: [RFC PATCH] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Christian Borntraeger
On 12/05/2016 09:31 AM, Christian Borntraeger wrote: > On 12/05/2016 09:23 AM, Xishi Qiu wrote: >> By reading the code, I find the following code maybe optimized by >> compiler, maybe page->flags and old_flags use the same register, >> so use ACCESS_ONCE in page_cpupid_xchg_last() to fix the proble

Re: [PATCH 2/2] arm: dts: sun8i: reuse the uart1 node of iNet D978 rev2 board

2016-12-05 Thread Maxime Ripard
On Fri, Dec 02, 2016 at 11:19:13PM +0800, Icenowy Zheng wrote: > As a uart1 node is added into sun8i-reference-design-tablet.dtsi, simply > use it in iNet D978 rev2 device tree. > > Signed-off-by: Icenowy Zheng I'd like to see more consolidation before that change is needed. If we find more boar

Re: [PATCH 1/2 v2] sched: fix find_idlest_group for fork

2016-12-05 Thread Peter Zijlstra
On Tue, Nov 29, 2016 at 02:46:10PM +, Morten Rasmussen wrote: > On Tue, Nov 29, 2016 at 12:42:43PM +0100, Peter Zijlstra wrote: > > On Tue, Nov 29, 2016 at 10:57:59AM +, Morten Rasmussen wrote: > > > > @@ -5708,13 +5708,6 @@ static int select_idle_cpu(struct task_struct > > > > *p, struct

[PATCH] e820: use module_platform_driver

2016-12-05 Thread Johannes Thumshirn
Use module_platform_driver for the e820 driver instead of open-coding it. Signed-off-by: Johannes Thumshirn --- drivers/nvdimm/e820.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/nvdimm/e820.c b/drivers/nvdimm/e820.c index 11ea901..6f9a6ff 100644 --- a

TO

2016-12-05 Thread 78
Office.pdf Description: Adobe PDF document

Re: [PATCH] drm/radeon: don't add files at control minor debugfs directory

2016-12-05 Thread Nicolai Stange
Christian König writes: > Am 05.12.2016 um 08:27 schrieb Daniel Vetter: >> On Sat, Dec 03, 2016 at 03:47:00PM +0100, Nicolai Stange wrote: >>> Since commit 8a357d10043c ("drm: Nerf DRM_CONTROL nodes"), a >>> struct drm_device's ->control member is always NULL. >>> >>> In the case of CONFIG_DEBUG_

Re: [PATCH v2 1/3] ARM: da850: fix infinite loop in clk_set_rate()

2016-12-05 Thread Sekhar Nori
On Friday 02 December 2016 09:08 PM, Bartosz Golaszewski wrote: > The aemif clock is added twice to the lookup table in da850.c. This > breaks the children list of pll0_sysclk3 as we're using the same list > links in struct clk. When calling clk_set_rate(), we get stuck in > propagate_rate(). > >

Re: [PATCH v6 1/2] mtd: arasan: Add device tree binding documentation

2016-12-05 Thread Boris Brezillon
On Mon, 5 Dec 2016 05:25:54 +0100 Marek Vasut wrote: > On 12/05/2016 05:11 AM, Punnaiah Choudary Kalluri wrote: > > This patch adds the dts binding document for arasan nand flash > > controller. > > > > Signed-off-by: Punnaiah Choudary Kalluri > > Acked-by: Rob Herring > > --- > > changes in v

Re: [PATCH v2 2/3] locking/percpu-rwsem: Rework writer block/wake to not use wait-queues

2016-12-05 Thread Peter Zijlstra
On Fri, Dec 02, 2016 at 06:18:39PM -0800, Davidlohr Bueso wrote: > @@ -102,8 +103,13 @@ void __percpu_up_read(struct percpu_rw_semaphore *sem) >*/ > __this_cpu_dec(*sem->read_count); > > + rcu_read_lock(); > + writer = rcu_dereference(sem->writer); Don't think this is correc

Re: [PATCH]PTP:PTP_CHARDEV:add input parameters check to avoid the NULL pointer reference

2016-12-05 Thread Richard Cochran
On Mon, Dec 05, 2016 at 08:02:02AM +, Deng Feng wrote: > When we call one function which contained pointers as input parameters, > we must check the pointers are NULL or not before we make use of them, > which avoid the NULL pointer reference . NAK. These functions belong to an internal kerne

Re: [PATCH v3 3/7] PWM: add pwm-stm32 DT bindings

2016-12-05 Thread Lee Jones
On Mon, 05 Dec 2016, Thierry Reding wrote: > On Fri, Dec 02, 2016 at 11:17:18AM +0100, Benjamin Gaignard wrote: > > Define bindings for pwm-stm32 > > > > version 2: > > - use parameters instead of compatible of handle the hardware configuration > > > > Signed-off-by: Benjamin Gaignard > > --- >

Re: [RFC PATCH] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Christian Borntraeger
On 12/05/2016 09:23 AM, Xishi Qiu wrote: > By reading the code, I find the following code maybe optimized by > compiler, maybe page->flags and old_flags use the same register, > so use ACCESS_ONCE in page_cpupid_xchg_last() to fix the problem. please use READ_ONCE instead of ACCESS_ONCE for future

Re: [PATCH v3 4/7] PWM: add pwm driver for stm32 plaftorm

2016-12-05 Thread Lee Jones
On Mon, 05 Dec 2016, Thierry Reding wrote: > On Fri, Dec 02, 2016 at 11:17:19AM +0100, Benjamin Gaignard wrote: > > This driver add support for pwm driver on stm32 platform. > > "adds". Also please use PWM in prose because it's an abbreviation. > > > The SoC have multiple instances of the hardwa

[RFC PATCH] mm: use ACCESS_ONCE in page_cpupid_xchg_last()

2016-12-05 Thread Xishi Qiu
By reading the code, I find the following code maybe optimized by compiler, maybe page->flags and old_flags use the same register, so use ACCESS_ONCE in page_cpupid_xchg_last() to fix the problem. Signed-off-by: Xishi Qiu --- mm/mmzone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH 1/1] mtd: ubi: fix improper return value

2016-12-05 Thread Boris Brezillon
On Mon, 05 Dec 2016 09:09:34 +0200 Artem Bityutskiy wrote: > On Sun, 2016-12-04 at 21:52 +0100, Richard Weinberger wrote: > > We should better think about how to get ubi_self_check_all_ff() > > fixed. > > When enabled on a modern NAND, vmalloc() is likely to fail now and > > then > > since len is

[PATCH 1/1 v2] xen: xenbus: set error code on failure

2016-12-05 Thread Pan Bian
Variable err is initialized with 0. As a result, the return value may be 0 even if get_zeroed_page() fails to allocate memory. This patch fixes the bug, initializing err with "-ENOMEM". v1 is reviewed by: Juergen Gross Signed-off-by: Pan Bian --- drivers/xen/xenbus/xenbus_probe.c | 2 +- 1 fi

[PATCH 1/1 v2] xen: set error code on failures

2016-12-05 Thread Pan Bian
Variable rc is reset in the loop, and its value will be non-negative during the second and after repeat of the loop. If it fails to allocate memory then, it may return a non-negative integer, which indicates no error. This patch fixes the bug, assigning "-ENOMEM" to rc when kzalloc() or alloc_page(

[PATCH v2] arm64: dts: zx: add pcu_domain node for zx296718

2016-12-05 Thread Baoyou Xie
This patch adds the pcu_domain node, so it can be used by zte-soc's power domain driver. Signed-off-by: Baoyou Xie --- arch/arm64/boot/dts/zte/zx296718.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi ind

[patch net v2] net: fec: fix compile with CONFIG_M5272

2016-12-05 Thread Nikita Yushchenko
Commit 4dfb80d18d05 ("net: fec: cache statistics while device is down") introduced unconditional statistics-related actions. However, when driver is compiled with CONFIG_M5272, staticsics-related definitions do not exist, which results into build errors. Fix that by adding explicit handling of !d

[PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-05 Thread Maninder Singh
This patch corrects format specifier for printing 64 bit addresses. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- arch/arm64/kernel/signal.c | 2 +- arch/arm64/kvm/sys_regs.c | 8 ++-- arch/arm64/mm/fault.c | 15 ++- arch/arm64/mm/mmu.c| 4 ++--

[PATCH 1/1] arm64: Correcting format specifier for printing 64 bit addresses

2016-12-05 Thread Maninder Singh
This patch corrects format specifier for printing 64 bit addresses. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- arch/arm64/kernel/signal.c | 2 +- arch/arm64/kvm/sys_regs.c | 8 ++-- arch/arm64/mm/fault.c | 15 ++- arch/arm64/mm/mmu.c| 4 ++--

Re: [PATCH 1/2] ARM: dts: sun8i: Specify memblock for Nano Pi M1

2016-12-05 Thread Maxime Ripard
On Mon, Dec 05, 2016 at 11:00:31AM +0900, Milo Kim wrote: > The board has DDR3 512MB. This patch helps scanning the memory and > adding memblock through the DT. > > Signed-off-by: Milo Kim > --- > arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts | 5 + > 1 file changed, 5 insertions(+) > > diff --g

Re: Linux 4.9: Reported regressions as of Sunday, 2016-12-04

2016-12-05 Thread Adam Borowski
On Sun, Dec 04, 2016 at 01:26:05PM +0100, Thorsten Leemhuis wrote: > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04 https://www.spinics.net/lists/linux-kbuild/msg13635.html > Stat: 16-11-11 https://www.spinics.net/lists/linux-kbuild/msg13696.html > Note: Nothi

[v3 PATCH] netlink: Do not schedule work from sk_destruct

2016-12-05 Thread Herbert Xu
On Mon, Dec 05, 2016 at 03:26:00PM +0800, Herbert Xu wrote: > On Mon, Dec 05, 2016 at 03:19:46PM +0800, Herbert Xu wrote: > > > > Thanks for the patch. It'll obviously work but I wanted avoid that > > because it penalises the common path for the rare case. > > > > Andrey, please try this patch an

Re: [PATCH] drm/radeon: don't add files at control minor debugfs directory

2016-12-05 Thread Daniel Vetter
On Mon, Dec 05, 2016 at 08:42:49AM +0100, Christian König wrote: > Am 05.12.2016 um 08:27 schrieb Daniel Vetter: > > On Sat, Dec 03, 2016 at 03:47:00PM +0100, Nicolai Stange wrote: > > > Since commit 8a357d10043c ("drm: Nerf DRM_CONTROL nodes"), a > > > struct drm_device's ->control member is alway

[PATCH 1/2] usb: host: xhci: Fix possible wild pointer when handling abort command

2016-12-05 Thread Baolin Wang
When current command was supposed to be aborted, host will free the command in handle_cmd_completion() function. But it might be still referenced by xhci->current_cmd, which need to set NULL. Signed-off-by: Baolin Wang --- This patch is based on Lu Baolu's new fix patch: usb: xhci: fix possible w

[PATCH 2/2] usb: host: xhci: Handle the right timeout command

2016-12-05 Thread Baolin Wang
If a command event is found on the event ring during an interrupt, we need to stop the command timer with del_timer(). Since del_timer() can fail if the timer is running and waiting on the xHCI lock, then it maybe get the wrong timeout command in xhci_handle_command_timeout() if host fetched a new

<    4   5   6   7   8   9