Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-10 Thread Boris Brezillon
On Mon, 09 Jan 2017 19:14:43 -0800 Stefan Agner wrote: > >> > >> > > >> > But, while reviewing your patch I realized this was actually unneeded > >> > (see the explanation in my previous review). > >> > > >> > > > >> > > Now it depends on cstate.enabled flag. > >> > > > >> > > So we end up wi

[V2 2/2] arm64: dts: Add dts files for Hisilicon Hi3660 SoC

2017-01-10 Thread Chen Feng
Add initial dtsi file to support Hisilicon Hi3660 SoC with support of Octal core CPUs in two clusters(4 * A53 & 4 * A73). Also add dts file to support HiKey960 development board which based on Hi3660 SoC. The output console is earlycon "earlycon=pl011,0xfdf05000". And the con_init uart5 with a fix

Re: [RFC] coccicheck: add a test for repeat memory fetches

2017-01-10 Thread Julia Lawall
On Tue, 10 Jan 2017, Pengfei Wang wrote: > > > 在 2017年1月10日,下午2:06,Julia Lawall 写道: > > > > > > > > On Mon, 9 Jan 2017, Kees Cook wrote: > > > >> Okay, this adds a few tests, for people to examine. > >> > >> reusercopy-cook.cocci: > >> My original test, with recent updates from Julia. > >> > >>

Re: [PATCH 0/3] per cpu resume latency

2017-01-10 Thread Alex Shi
Hi All, Is there any comments for the testing or the patch? Thanks! Alex On 01/05/2017 11:48 PM, Alex Shi wrote: > On 01/05/2017 11:29 PM, Alex Shi wrote: >> > cpu_dma_latency is designed to keep all cpu awake from deep c-state. >> > That is good keep system with short response latency. But some

Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-10 Thread Jan Kara
On Mon 09-01-17 09:34:48, Gu Zheng wrote: > This change was missed the tmpfs modification in In CVE-2016-7097 > commit 073931017b49 ("posix_acl: Clear SGID bit when setting > file permissions") > It can test by xfstest generic/375, which failed to clear > setgid bit in the following test case on tm

Re: [PATCH v8 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-10 Thread Sudip Mukherjee
On Monday 09 January 2017 11:13 PM, Andy Shevchenko wrote: On Tue, Jan 10, 2017 at 12:25 AM, Sudip Mukherjee wrote: On Monday 09 January 2017 12:14 AM, Andy Shevchenko wrote: + /* +* Setup Multipurpose Input/Output pins. +*/ + if (idx == 0) + setup_g

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

2017-01-10 Thread Boris Brezillon
Hi Punnaiah, On Tue, 10 Jan 2017 06:03:25 + Punnaiah Choudary Kalluri wrote: > Hi Rob, > >Thanks for the review. > > > -Original Message- > > From: Rob Herring [mailto:r...@kernel.org] > > Sent: Tuesday, January 10, 2017 11:06 AM > > To: Punnaiah Choudary Kalluri > > Cc: d

[PATCH v5 0/2] Support for Axentia TSE-850

2017-01-10 Thread Peter Rosin
Hi! changes v4 -> v5 - comment from Rob about the memory node made me look closer and the memory size is actually updated by the bootloader, and that hid the fact that the entry was always faulty. This version specifies the correct memory size from the start, which is 64MB. - ack from Rob c

[PATCH] block: Don't register a registered bdi device

2017-01-10 Thread Yijing Wang
This issue is same as Sreekanth Reddy's report bug, link:https://patchwork.kernel.org/patch/9394471/ so I quoted the calltrace Sreekanth Reddy's report. Observing below kernel panic while creating second raid disk on LSI SAS3008 HBA card. [ +0.55] [ cut here ] [ +0.00

[PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board

2017-01-10 Thread Peter Rosin
Signed-off-by: Peter Rosin --- arch/arm/configs/sama5_defconfig | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index aca8625b6fc9..bf5b3a73e38c 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/a

[PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850

2017-01-10 Thread Peter Rosin
Acked-by: Rob Herring Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ MAINTAINERS | 8 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/at91-linea.dtsi | 53 + ar

Re: [PATCH] tmpfs: clear S_ISGID when setting posix ACLs

2017-01-10 Thread Al Viro
On Tue, Jan 10, 2017 at 09:03:01AM +0100, Jan Kara wrote: > On Mon 09-01-17 09:34:48, Gu Zheng wrote: > > This change was missed the tmpfs modification in In CVE-2016-7097 > > commit 073931017b49 ("posix_acl: Clear SGID bit when setting > > file permissions") > > It can test by xfstest generic/375,

Re: [PATCH v2 0/2] phy: Replace the deprecated extcon API

2017-01-10 Thread Chanwoo Choi
Hi Kishon, Could you review these patches or pick up them if there is no any comment? On 2016년 12월 30일 13:11, Chanwoo Choi wrote: > This patches just replace the deprecated extcon API without any change > of extcon operation and use the resource-managed function for > extcon_register_notifier().

[PATCH] scsi: remove useless acpi functions in the head file

2017-01-10 Thread Hanjun Guo
From: Hanjun Guo commit f1bc1e4c44b1 ("ata: acpi: rework the ata acpi bind support") removed scsi_register_acpi_bus_type() and scsi_unregister_acpi_bus_type(), but forgot to remove them in the head file, do it now. Signed-off-by: Hanjun Guo --- include/scsi/scsi.h | 10 -- 1 file chang

Re: [RFC] coccicheck: add a test for repeat memory fetches

2017-01-10 Thread Vaishali Thakkar
On Tue, Jan 10, 2017 at 1:31 PM, Julia Lawall wrote: > > > On Tue, 10 Jan 2017, Pengfei Wang wrote: > >> >> > 在 2017年1月10日,下午2:06,Julia Lawall 写道: >> > >> > >> > >> > On Mon, 9 Jan 2017, Kees Cook wrote: >> > >> >> Okay, this adds a few tests, for people to examine. >> >> >> >> reusercopy-cook.co

Re: [PATCH v2 0/6] usb: Replace the deprecated extcon API

2017-01-10 Thread Chanwoo Choi
Hi Felipe, These patches have already acked-by tag from you. Could you please apply them if there is additional comment? On 2016년 12월 30일 13:08, Chanwoo Choi wrote: > This patches just replace the deprecated extcon API without any change > of extcon operation and use the resource-managed function

Re: [PATCH v2] usb: musb: sunxi: Uses the resource-managed extcon API when registering extcon notifier

2017-01-10 Thread Chanwoo Choi
Hi Felipe, This patch got the acked-by from Bin Liu and. Could you please apply this patch? On 2016년 12월 30일 13:19, Chanwoo Choi wrote: > This patch just uses the resource-managed extcon API when registering > the extcon notifier. > > Signed-off-by: Chanwoo Choi > Acked-by: Maxime Ripard > Ack

Re: kernel 4.9 iwlwifi startup error

2017-01-10 Thread Fabio Coatti
In data martedì 10 gennaio 2017 00:21:51 CET, Luca Coelho ha scritto: > On Tue, 2017-01-03 at 13:42 +1100, Andrew Donnellan wrote: > > On 02/01/17 21:12, Fabio Coatti wrote: > > > Hi all, > > > I'm using kernel 4.9 and maybe half of the times I boot my laptop I get > > > the > > > error reported be

Re: kernel 4.9 iwlwifi startup error

2017-01-10 Thread Luca Coelho
On Tue, 2017-01-10 at 09:21 +0100, Fabio Coatti wrote: > In data martedì 10 gennaio 2017 00:21:51 CET, Luca Coelho ha scritto: > > On Tue, 2017-01-03 at 13:42 +1100, Andrew Donnellan wrote: > > > On 02/01/17 21:12, Fabio Coatti wrote: > > > > Hi all, > > > > I'm using kernel 4.9 and maybe half of t

Re: [PATCH 8/8] mmc-core: Use kmalloc_array() in mmc_alloc_sg()

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:55, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 22:10:40 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This

Re: [PATCH 7/8] mmc-core: Use kcalloc() in mmc_test_alloc_mem()

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:50, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 21:43:12 +0100 * The script "checkpatch.pl" pointed information out like the following. WARNING: Prefer kcalloc over kzalloc with multiply Thus fix the affected source code place. Reviewed-by: Shawn L

Re: [PATCH v3 05/15] livepatch/powerpc: add TIF_PATCH_PENDING thread flag

2017-01-10 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: Add the TIF_PATCH_PENDING thread flag to enable the new livepatch per-task consistency model for powerpc. The bit getting set indicates the thread has a pending patch which needs to be applied when the thread exits the kernel. The bit

Re: [PATCH 6/8] mmc/core/mmc_test: Improve a size determination in five functions

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:49, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 21:25:44 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux

RE: eMMC boot problem: switch to bus width 8 ddr failed

2017-01-10 Thread Bough Chen
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Shawn Lin > Sent: Monday, January 09, 2017 3:10 PM > To: Clemens Gruber ; Shawn Lin > ; linux-...@vger.kernel.org > Cc: shawn@rock-chips.com; Ulf Hansson ; Linus > Wall

Re: [V9fs-developer] 9pfs hangs since 4.7

2017-01-10 Thread Greg Kurz
On Sun, 8 Jan 2017 05:46:39 + Al Viro wrote: > On Sat, Jan 07, 2017 at 06:15:23PM +, Al Viro wrote: > > On Sat, Jan 07, 2017 at 05:19:10PM +, Al Viro wrote: > > > > > released) simply trigger virtio_queue_notify_vq() again? It *is* a bug > > > (if we get a burst filling a previous

Re: [PATCH 4/4] mm, page_alloc: Add a bulk page allocator

2017-01-10 Thread Mel Gorman
On Tue, Jan 10, 2017 at 12:00:27PM +0800, Hillf Danton wrote: > > It shows a roughly 50-60% reduction in the cost of allocating pages. > > The free paths are not improved as much but relatively little can be batched > > there. It's not quite as fast as it could be but taking further shortcuts > > w

Re: [PATCH 5/8] mmc/core/mmc_test: Combine substrings for 5 messages

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:47, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 20:56:48 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines yup, the print shouldn't blindly split itself to shut up "WARNING: line over

Re: [PATCH 4/8] mmc/core/mmc_test: Add some spaces for better code readability

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:46, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 20:25:39 +0100 Use space characters at some source code places according to the Linux coding style convention. Reviewed-by: Shawn Lin Signed-off-by: Markus Elfring --- drivers/mmc/core/mmc_test.c | 42

Re: [PATCH 3/8] mmc-core: Use seq_puts() in mtf_testlist_show()

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:45, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 19:48:28 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: Prefer seq_puts to seq_printf it saves some lock time, Reviewed-by: Shawn Lin Thus fix the affected source

Re: [Cocci] [PATCH] coccicheck: add a test for repeat copy_from_user

2017-01-10 Thread Vaishali Thakkar
On Tuesday 10 January 2017 01:51 PM, Pengfei Wang wrote: 在 2017年1月10日,上午1:05,Vaishali Thakkar 写道: On Tuesday 27 December 2016 11:51 PM, Julia Lawall wrote: I totally dropped the ball on this. Many thanks to Vaishali for resurrecting it. Some changes are suggested below. On Tue, 26 Apr 201

Re: [PATCH net v2 5/5] net: qcom/emac: fix of_node and phydev leaks

2017-01-10 Thread Johan Hovold
On Mon, Jan 09, 2017 at 01:49:53PM -0600, Timur Tabi wrote: > On 11/24/2016 12:21 PM, Johan Hovold wrote: > > + if (!has_acpi_companion(&pdev->dev)) > > + put_device(&adpt->phydev->mdio.dev); > > I was wondering if, instead of calling put_device() only on non-ACPI systems, > would it

Re: [PATCH v2 1/3] dt-bindings: gpio: Add binding documentation for gpio-thunderx

2017-01-10 Thread Linus Walleij
On Mon, Jan 9, 2017 at 8:44 PM, David Daney wrote: > On 01/09/2017 11:36 AM, Linus Walleij wrote: >>> +Optional Properties: >>> +- compatible: "cavium,thunder-8890-gpio", unused as PCI driver binding >>> is used. >>> +- interrupt-controller: Marks the device node as an interrupt >>> controller. >

Re: [patch] mm, thp: add new background defrag option

2017-01-10 Thread Vlastimil Babka
On 01/10/2017 04:38 AM, Hugh Dickins wrote: > On Mon, 9 Jan 2017, David Rientjes wrote: >> On Mon, 9 Jan 2017, Vlastimil Babka wrote: >> Any suggestions for a better name for "background" are more than welcome. >>> >>> Why not just "madvise+defer"? >>> >> >> Seeing no other activity regardin

Re: [PATCH 2/8] mmc-core: Fix a typo in a comment line

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:43, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 19:05:37 +0100 Add a missing character in the function description. Good catch! Reviewed-by: Shawn Lin Signed-off-by: Markus Elfring --- drivers/mmc/core/mmc_test.c | 2 +- 1 file changed, 1 insertion

Re: [PATCH 1/8] mmc-core: Use kmalloc_array() in mmc_test_area_init()

2017-01-10 Thread Shawn Lin
On 2017/1/9 5:42, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 8 Jan 2017 18:44:26 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This

Re: [PATCH] perf: protect group_leader from races that cause ctx

2017-01-10 Thread Peter Zijlstra
On Fri, Jan 06, 2017 at 12:39:17PM -0800, Kees Cook wrote: > > Reported-by: Kees Cook > > I was just relaying a fix. I noted the original reporter in the first > patch, how they asked to be credited: > > Reported-by: Di Shen (@returnsme) of KeenLab (@keen_lab), Tencent That's not a valid tag, c

RE: [PATCH v7 1/2] mtd: arasan: Add device tree binding documentation

2017-01-10 Thread Punnaiah Choudary Kalluri
Hi Boris, Thanks. I will implement these changes and send the next series. Regards, Punnaiah > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] > Sent: Tuesday, January 10, 2017 1:36 PM > To: Punnaiah Choudary Kalluri > Cc: Rob Herring ; dw...@inf

Re: [PATCH v3 02/15] x86/entry: define _TIF_ALLWORK_MASK flags explicitly

2017-01-10 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: The _TIF_ALLWORK_MASK macro automatically includes the least-significant 16 bits of the thread_info flags, which is less than obvious and tends to create confusion and surprises when reading or modifying the code. Define the flags expl

Re: [PATCH v5 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-10 Thread Vinod Koul
On Sat, Jan 07, 2017 at 12:15:30PM +0530, Kedareswara rao Appana wrote: > When driver is handling AXI DMA SoftIP > When user submits multiple descriptors back to back on the S2MM(recv) > side with the current driver flow the last buffer descriptor next bd > points to a invalid location resulting th

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-10 Thread Sergey Senozhatsky
On (01/09/17 17:56), Petr Mladek wrote: > I have looked at this once again. Please, do you have a real-life > example when the "printk messages dropped" was not printed? . > By other words, the search for a visible message is finished when > we find one or when the entire log buffer is check

Re: [PATCHv14 2/3] usb: USB Type-C connector class

2017-01-10 Thread Heikki Krogerus
Hi Guenter, On Mon, Jan 09, 2017 at 08:59:32AM -0800, Guenter Roeck wrote: > > +/** > > + * typec_register_partner - Register a USB Type-C Partner > > + * @port: The USB Type-C Port the partner is connected to > > + * @desc: Description of the partner > > + * > > + * Registers a device for USB Typ

Re: [PATCH v7 5/8] IIO: add bindings for STM32 timer trigger driver

2017-01-10 Thread Benjamin Gaignard
2017-01-09 19:04 GMT+01:00 Rob Herring : > On Thu, Jan 05, 2017 at 10:25:41AM +0100, Benjamin Gaignard wrote: >> Define bindings for STM32 timer trigger >> >> version 4: >> - remove triggers enumeration from DT >> - add reg parameter >> >> version 3: >> - change file name >> - add cross reference w

Re: [PATCH v7 2/8] MFD: add STM32 Timers driver

2017-01-10 Thread Benjamin Gaignard
2017-01-09 19:00 GMT+01:00 Rob Herring : > On Thu, Jan 05, 2017 at 10:25:38AM +0100, Benjamin Gaignard wrote: >> This hardware block could at used at same time for PWM generation >> and IIO timers. >> PWM and IIO timer configuration are mixed in the same registers >> so we need a multi fonction dri

Re: [PATCH v4 01/10] power: supplies: bq27xxx: rename BQ27500 allow for deprecation in future.

2017-01-10 Thread Pali Rohár
On Tuesday 10 January 2017 16:25:29 Chris Lapa wrote: > From: Chris Lapa > > The BQ275XX definition exists only to satisfy backwards compatibility. > > tested: yes Instead "tested: yes" we use: "Tested-by: name " line. > Signed-off-by: Chris Lapa > Acked-by: Pali Rohár > Reviewed-by: Andrew

Re: [PATCH tip/master v4] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2017-01-10 Thread Peter Zijlstra
On Mon, Jan 09, 2017 at 11:36:48AM -0600, Josh Poimboeuf wrote: > BTW, I think we'll have more problems with generated code if/when we > move to an x86 DWARF unwinder, because it won't have any idea how to > unwind past generated code. Long term I wonder if it would make sense > to create some kin

[PATCH net 2/2] r8152: fix rx issue for runtime suspend

2017-01-10 Thread Hayes Wang
Pause the rx and make sure the rx fifo is empty when the autosuspend occurs. If the rx data comes when the driver is canceling the rx urb, the host controller would stop getting the data from the device and continue it after next rx urb is submitted. That is, one continuing data is split into two

[PATCH net 0/2] r8152: fix autosuspend issue

2017-01-10 Thread Hayes Wang
Avoid rx is split into two parts when runtime suspend occurs. Hayes Wang (2): r8152: split rtl8152_suspend function r8152: fix rx issue for runtime suspend drivers/net/usb/r8152.c | 80 +++-- 1 file changed, 64 insertions(+), 16 deletions(-) -- 2

[PATCH net 1/2] r8152: split rtl8152_suspend function

2017-01-10 Thread Hayes Wang
Split rtl8152_suspend() into rtl8152_system_suspend() and rtl8152_rumtime_suspend(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 57 ++--- 1 file changed, 40 insertions(+), 17 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net

[PATCH v5 0/5] powernv:stop: Use psscr_val,mask provided by firmware

2017-01-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" This is the fifth iteration of the patchset to use the psscr_val and psscr_mask provided by the firmware for each of the stop states. The previous versions can be found here: [v4]: https://lkml.org/lkml/2016/12/9/288 [v3]: https://lkml.org/lkml/2016/11/10/37 [v2]: https

Re: [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board

2017-01-10 Thread Nicolas Ferre
Le 10/01/2017 à 09:08, Peter Rosin a écrit : > Signed-off-by: Peter Rosin I know that most of the entries in this configuration file are direct additions to the kernel but what about moving some of your additions to modules? Regards, > --- > arch/arm/configs/sama5_defconfig | 7 ++- > 1 fi

[PATCH v5 1/5] powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro

2017-01-10 Thread Gautham R. Shenoy
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_SEQ that puts the CPU to an idle state and never returns. On ISA v3.0, when the ESL and EC bits in the PSSCR are zero, the CPU is expected to w

Re: [PATCH v3 08/15] livepatch: separate enabled and patched states

2017-01-10 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can remain registered with ftrace indefinitely until the unpa

[PATCH v5 2/5] powernv:stop: Uniformly rename power9 to arch300

2017-01-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Balbir pointed out that in idle_book3s.S and powernv/idle.c some functions and variables had power9 in their names while some others had arch300. This patch uniformly renames all instances of "power9" in the variables/function/comments occuring in these files to "arch30

[PATCH v5 3/5] cpuidle:powernv: Add helper function to populate powernv idle states.

2017-01-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" In the current code for powernv_add_idle_states, there is a lot of code duplication while initializing an idle state in powernv_states table. Add an inline helper function to populate the powernv_states[] table for a given idle state. Invoke this for populating the "Nap

[PATCH v5 4/5] powernv: Pass PSSCR value and mask to power9_idle_stop

2017-01-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The arch300_idle_stop method currently takes only the requested stop level as a parameter and picks up the rest of the PSSCR bits from a hand-coded macro. This is not a very flexible design, especially when the firmware has the capability to communicate the psscr value a

[PATCH v5 5/5] Documentation:powerpc: Add device-tree bindings for power-mgt

2017-01-10 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Document the device-tree bindings defining the the properties under the @power-mgt node in the device tree that describe the idle states for Linux running on baremetal POWER servers. Signed-off-by: Gautham R. Shenoy --- [v4]-> [v5]: Fixed a couple of typos. .../devic

Re: [PATCH v6 16/17] mtd: nand: hynix: Rework NAND ID decoding to extract more information

2017-01-10 Thread Boris Brezillon
rong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Boris-Brezillon/mtd-nand-allow-vendor-specific-detection-initialization/20170110-01 > base: git://git.infradead.org/linux-mtd.git master > ::

Re: [PATCH v3 09/15] livepatch: remove unnecessary object loaded check

2017-01-10 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: klp_patch_object()'s callers already ensure that the object is loaded, so its call to klp_is_object_loaded() is unnecessary. This will also make it possible to move the patching code into a separate file. Signed-off-by: Josh Poimboeuf

Re: [PATCH v3 10/15] livepatch: move patching functions into patch.c

2017-01-10 Thread Kamalesh Babulal
On Thursday 08 December 2016 11:38 PM, Josh Poimboeuf wrote: Move functions related to the actual patching of functions and objects into a new patch.c file. Signed-off-by: Josh Poimboeuf Reviewed-by: Kamalesh Babulal -- cheers, Kamalesh.

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

2017-01-10 Thread Boris Brezillon
On Tue, 10 Jan 2017 08:48:09 + Punnaiah Choudary Kalluri wrote: > Hi Boris, > > Thanks. I will implement these changes and send the next series. Please wait a bit. I still need to review the driver. > > Regards, > Punnaiah > > > -Original Message- > > From: Boris Brezillon [mai

[PATCH v2 0/2] media: rc: add support for IR receiver on MT7623 SoC

2017-01-10 Thread sean.wang
From: Sean Wang This patchset introduces consumer IR (CIR) support on MT7623 SoC that also works on other similar SoCs and implements raw mode for more compatibility with different protocols. The driver simply reports the duration of pulses and spaces to rc-core logic to decode. Changes since v

Re: [RESEND RFC 1/3] mmc: sdhci: Add platform_dumpregs callback support to sdhci_ops.

2017-01-10 Thread Shawn Lin
On 2017/1/10 14:41, Ritesh Harjani wrote: From: Sahitya Tummala Add new host operation ->platform_dumpregs to provide a mechanism through which host drivers can dump platform specific registers in addition to SDHC registers during error conditions. Although we have been preventing from addin

[PATCH v2 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-10 Thread sean.wang
From: Sean Wang This patch adds driver for IR controller on MT7623 SoC. and should also work on similar Mediatek SoC. Currently testing successfully on NEC and SONY remote controller only but it should work on others (lirc, rc-5 and rc-6). Signed-off-by: Sean Wang Reviewed-by: Sean Young ---

Re: [tip:x86/urgent] x86/CPU: Add native CPUID variants returning a single datum

2017-01-10 Thread Borislav Petkov
On Mon, Jan 09, 2017 at 04:19:29PM -0800, h...@zytor.com wrote: > Any reason to not make these interfaces (leaf, subleaf) from the start? Two, actually: 1. I modelled them after the cpuid_(op) versions 2. I don't think we need the subleaf variant right now. But, when we do, we can do that when

[PATCH v2 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-10 Thread sean.wang
From: Sean Wang This patch adds documentation for devicetree bindings for Mediatek consumer IR controller. Signed-off-by: Sean Wang --- .../devicetree/bindings/media/mtk-cir.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/

Re: [BUG] How to crash 4.9.2 x86_64: vmscan: shrink_slab

2017-01-10 Thread Michal Hocko
On Mon 09-01-17 23:02:10, Sami Farin wrote: > # sysctl vm.vfs_cache_pressure=-100 > > kernel: vmscan: shrink_slab: super_cache_scan+0x0/0x1a0 negative objects to > delete nr=-6640827866535449472 > kernel: vmscan: shrink_slab: super_cache_scan+0x0/0x1a0 negative objects to > delete nr=-6640827866

Re: [PATCH v2 1/4] lib: Update LZ4 compressor module based on LZ4 v1.7.2.

2017-01-10 Thread Sven Schmidt
On 01/08/2017 12:25 PM, Greg KH wrote: >On Sat, Jan 07, 2017 at 05:55:42PM +0100, Sven Schmidt wrote: >> This patch updates LZ4 kernel module to LZ4 v1.7.2 by Yann Collet. >> The kernel module is inspired by the previous work by Chanho Min. >> The updated LZ4 module will not break existing code sin

Re: [PATCH 1/3] arm64: dts: Pine64: add MMC support

2017-01-10 Thread kbuild test robot
Hi Andre, [auto build test ERROR on mripard/sunxi/for-next] [also build test ERROR on next-20170110] [cannot apply to robh/for-next v4.10-rc3] [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

Re: [PATCH v8 0/5] Add support for the STM32F4 I2C

2017-01-10 Thread Linus Walleij
On Thu, Jan 5, 2017 at 10:07 AM, M'boumba Cedric Madianga wrote: > This patchset adds support for the I2C controller embedded in STM32F4xx SoC. > It enables I2C transfer in interrupt mode with Standard-mode and Fast-mode bus > speed. The whole series: Reviewed-by: Linus Walleij Looks perfect f

Re: [RESEND 3/3] ARM: davinci_all_defconfig: enable iio and ADS7950

2017-01-10 Thread Sekhar Nori
On Monday 09 January 2017 09:41 PM, David Lechner wrote: > This enables the iio subsystem and the TI ADS7950 driver. This is used by > LEGO MINDSTORMS EV3, which has an ADS7957 chip. > > Signed-off-by: David Lechner > --- > arch/arm/configs/davinci_all_defconfig | 7 +++ > 1 file changed, 7

Re: [PATCH] tools: gpio add .gitignore for generated files

2017-01-10 Thread Linus Walleij
On Thu, Jan 5, 2017 at 10:32 PM, Shuah Khan wrote: > Add .gitignore for generated files. > > Signed-off-by: Shuah Khan > --- > tools/gpio/.gitignore | 4 > 1 file changed, 4 insertions(+) > create mode 100644 tools/gpio/.gitignore > > diff --git a/tools/gpio/.gitignore b/tools/gpio/.gitig

Re: [PATCH v2] mm: Respect FOLL_FORCE/FOLL_COW for thp

2017-01-10 Thread Michal Hocko
On Fri 06-01-17 11:18:44, Kirill A. Shutemov wrote: > On Thu, Jan 05, 2017 at 08:50:25PM -0500, Keno Fischer wrote: > > In 19be0eaff ("mm: remove gup_flags FOLL_WRITE games from > > __get_user_pages()"), > > the mm code was changed from unsetting FOLL_WRITE after a COW was resolved > > to > > set

Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850

2017-01-10 Thread Alexandre Belloni
Hi, This needs a commit message, please add one. On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : > Acked-by: Rob Herring > Signed-off-by: Peter Rosin > --- > Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ > MAINTAINERS | 8 + > arch/arm

Re: [RESEND 1/3] ARM: davinci_all_defconfig: enable DA8xx pinconf

2017-01-10 Thread Sekhar Nori
On Monday 09 January 2017 09:41 PM, David Lechner wrote: > This enables the DA8xx pinconf driver by default. It is needed by LEGO > MINDSTORMS EV3. > > Signed-off-by: David Lechner Applied to v4.11/defconfig Thanks, Sekhar

Re: [RESEND 2/3] ARM: davinci_all_defconfig: Enable PWM modules

2017-01-10 Thread Sekhar Nori
On Monday 09 January 2017 09:41 PM, David Lechner wrote: > This enables PWM and the TI ECAP and EHRWPM modules. These are used on LEGO > MINDSTORMS EV3. > > Signed-off-by: David Lechner Applied to v4.11/defconfig Thanks, Sekhar

Re: [PATCH] clk: qcom: gdsc: Fix handling of hw control enable/disable

2017-01-10 Thread Stanimir Varbanov
Hi Rajendra, Thanks for the patch! On 01/10/2017 07:54 AM, Rajendra Nayak wrote: > Once a gdsc is brought in and out of HW control, there is a > power down and up cycle which can take upto 1us. Polling on > the gdsc status immediately after the hw control enable/disable > can mislead software/fir

Re: [PATCH v2 1/4] lib: Update LZ4 compressor module based on LZ4 v1.7.2.

2017-01-10 Thread Sven Schmidt
On 01/08/2017 12:23 PM, Greg KH wrote: > On Sat, Jan 07, 2017 at 05:55:43PM +0100, Sven Schmidt wrote: >> This patch updates the unlz4 wrapper to work with the new LZ4 kernel module >> version. >> >> Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> >> --- >> lib/decompress_unlz4.c

Re: [PATCH] mm/hugetlb.c: fix reservation race when freeing surplus pages

2017-01-10 Thread Michal Hocko
On Mon 09-01-17 11:56:07, Mike Kravetz wrote: > The routine return_unused_surplus_pages decrements the global > reservation count, and frees any unused surplus pages that were > backing the reservation. Commit 7848a4bf51b3 ("mm/hugetlb.c: > add cond_resched_lock() in return_unused_surplus_pages()"

Re: [PATCH v2 2/6] KVM: x86: decouple irqchip_in_kernel() and pic_irqchip()

2017-01-10 Thread Paolo Bonzini
On 10/01/2017 06:09, Peter Xu wrote: >> Was wondering if FULL/SPLIT would be a better naming. However I also >> find irqchip_kernel() vs irqchip_in_kernel() slightly confusing. > Me too. Since we have kvm_irqchip_mode enum above, how about renaming > irqchip_{kernel|split}() into irqchip_mode_{ke

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-10 Thread Borislav Petkov
On Tue, Jan 10, 2017 at 02:27:16AM +0100, Rafael J. Wysocki wrote: > Well, if the https://patchwork.kernel.org/patch/9504277/ patch from Lv > worked, the attached one should work too (please test), but it can be > justified in a slightly more convincing way. No workie: diff --git a/drivers/acpi/o

Re: [PATCH v2 5/6] KVM: x86: prevent setup of invalid routes

2017-01-10 Thread Paolo Bonzini
On 10/01/2017 06:26, Peter Xu wrote: > On Fri, Dec 16, 2016 at 04:10:05PM +0100, Radim Krčmář wrote: >> The check in kvm_set_pic_irq() and kvm_set_ioapic_irq() was just a >> temporary measure until the code improved enough for us to do this. >> >> This changes APIC in a case when KVM_SET_GSI_ROUT

Re: [PATCH] staging: most: hdm-usb: Fix sparse warning cast to restricted __le16

2017-01-10 Thread Christian Gromm
On Mon, 9 Jan 2017 21:25:56 -0600 Eric Salem wrote: > Fixed the following sparse warning: > > drivers/staging/most/hdm-usb/hdm_usb.c:158:16: warning: > cast to restricted __le16 > > by correcting the variable's type (also updated sizeof). > > Signed-off-by: Eric Salem Acked-by: Christian Gro

Re: [PATCH v2 4/4] fs/pstore: fs/squashfs: Change usage of LZ4 to comply with new LZ4 module version

2017-01-10 Thread Sven Schmidt
Hi Kees, On 01/07/2017 10:33 PM, Kees Cook wrote: >On Sat, Jan 7, 2017 at 8:55 AM, Sven Schmidt ><4ssch...@informatik.uni-hamburg.de> wrote: >> This patch updates fs/pstore and fs/squashfs to use the updated functions >> from >> the new LZ4 module. >> >> Signed-off-by: Sven Schmidt <4ssch.

Re: [PATCH 0/4] ARM: dts: mt7623: Add initial Geek Force support

2017-01-10 Thread Andreas Färber
Hi, Am 10.01.2017 um 08:00 schrieb John Crispin: > On 08/01/2017 14:30, Andreas Färber wrote: >> >> Andreas Färber (4): >> Documentation: devicetree: Add vendor prefix for AsiaRF >> Documentation: devicetree: arm: mediatek: Add Geek Force board >> ARM: dts: mt7623: Add Geek Force config >>

Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850

2017-01-10 Thread Peter Rosin
On 2017-01-10 10:29, Alexandre Belloni wrote: > Hi, > > This needs a commit message, please add one. There's not all that much to say, but ok, I'll add something. > On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : >> Acked-by: Rob Herring >> Signed-off-by: Peter Rosin >> --- >> Documentat

Re: [PATCH net-next v2] net: dsa: make "label" property optional for dsa2

2017-01-10 Thread Jiri Pirko
Mon, Jan 09, 2017 at 07:06:39PM CET, f.faine...@gmail.com wrote: >On 01/09/2017 09:58 AM, Jiri Pirko wrote: >> Mon, Jan 09, 2017 at 06:42:07PM CET, f.faine...@gmail.com wrote: >>> On 01/09/2017 08:06 AM, Jiri Pirko wrote: Mon, Jan 09, 2017 at 04:45:33PM CET, vivien.dide...@savoirfairelinux.com

Re: [PATCH v2 1/4] lib: Update LZ4 compressor module based on LZ4 v1.7.2.

2017-01-10 Thread Greg KH
On Tue, Jan 10, 2017 at 10:32:17AM +0100, Sven Schmidt wrote: > On 01/08/2017 12:23 PM, Greg KH wrote: > > And follow the proper kernel coding style rules, putting your patches > > through scripts/checkpatch.pl should help you out here. > > Sorry, I didn't know about that particular script. I alre

Re: [PATCH v2 1/4] lib: Update LZ4 compressor module based on LZ4 v1.7.2.

2017-01-10 Thread Greg KH
On Tue, Jan 10, 2017 at 10:21:16AM +0100, Sven Schmidt wrote: > On 01/08/2017 12:25 PM, Greg KH wrote: > >On Sat, Jan 07, 2017 at 05:55:42PM +0100, Sven Schmidt wrote: > >> This patch updates LZ4 kernel module to LZ4 v1.7.2 by Yann Collet. > >> The kernel module is inspired by the previous work by

Re: linux-next: manual merge of the y2038 tree with the net-next tree

2017-01-10 Thread Arnd Bergmann
Hmm, I thought I had removed that commit when you asked me about it last week. I've done it now, the conflict should be gone tomorrow. On Tue, Jan 10, 2017 at 3:52 AM, Stephen Rothwell wrote: > Hi Arnd, > > Today's linux-next merge of the y2038 tree got a conflict in: > > fs/afs/main.c > > betw

Re: [PATCH] tpm_tis: Check return values from get_burstcount.

2017-01-10 Thread Greg KH
On Mon, Jan 09, 2017 at 11:46:58PM +0200, Jarkko Sakkinen wrote: > From: Josh Zimmerman > > If the TPM we're connecting to uses a static burst count, it will report > a burst count of zero throughout the response read. However, get_burstcount > assumes that a response of zero indicates that the T

Re: [PATCH v4 1/9] clk: stm32f4: Update DT bindings documentation

2017-01-10 Thread Alexandre Torgue
On 01/09/2017 08:33 PM, Stephen Boyd wrote: On 01/09, Alexandre Torgue wrote: Hi Stephen, On 12/22/2016 01:10 AM, Stephen Boyd wrote: On 12/13, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez Creation of dt include file for specific stm32f4 clocks. These specific clocks are not de

Re: [PATCH 3/4] x86/unwind: include __schedule() in stack traces

2017-01-10 Thread Miroslav Benes
On Mon, 9 Jan 2017, Josh Poimboeuf wrote: > In the following commit: > > 0100301bfdf5 ("sched/x86: Rewrite the switch_to() code") > > ... the layout of the 'inactive_task_frame' struct was designed to have > a frame pointer header embedded in it, so that the unwinder could use > the 'bp' and '

Re: [PATCH 3/4] ARM: dts: stm32: stm32f7: Enable clocks for STM32F746 boards

2017-01-10 Thread Alexandre Torgue
Hi Gabriel On 01/06/2017 02:59 PM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch enables clocks for STM32F746 boards. Signed-off-by: Gabriel Fernandez --- In commit header, "stm32f7" is not usefull. arch/arm/boot/dts/stm32f746.dtsi | 29 +++-

Re: [PATCHv14 2/3] usb: USB Type-C connector class

2017-01-10 Thread Oliver Neukum
On Fri, 2017-01-06 at 12:54 +0200, Heikki Krogerus wrote: > Hi guys, > > On Thu, Jan 05, 2017 at 05:54:02PM +0200, Mika Westerberg wrote: > > I wonder if "source sink" instead is better? Along the lines of > > /sys/power/state. > > > > Then you can print "[source] sink" when source is selected

Re: [PATCH] perf: protect group_leader from races that cause ctx

2017-01-10 Thread Ingo Molnar
* Kees Cook wrote: > > [...] > > Reported-by: Kees Cook > > I was just relaying a fix. I noted the original reporter in the first > patch, how they asked to be credited: > > Reported-by: Di Shen (@returnsme) of KeenLab (@keen_lab), Tencent So while it's OK to not give an email address (unlik

Re: [PATCH 4.9 000/116] 4.9.2-stable review

2017-01-10 Thread Greg Kroah-Hartman
On Mon, Jan 09, 2017 at 10:19:31AM -0800, Kevin Hilman wrote: > Greg Kroah-Hartman writes: > > > On Fri, Jan 06, 2017 at 09:42:24PM -0800, kernelci.org bot wrote: > >> stable-rc boot: 513 boots: 4 failed, 489 passed with 20 offline > >> (v4.9.1-117-ge3bc65e52a08) > >> > >> Full Boot Summary: >

Re: [PATCH] drm/exynos: constify exynos_drm_crtc_ops structures

2017-01-10 Thread Daniel Vetter
On Mon, Jan 09, 2017 at 11:24:53PM +0530, Bhumika Goyal wrote: > Declare exynos_drm_crtc_ops structures as const as they are only passed > as an argument to the function exynos_drm_crtc_create. This argument is > of type const struct exynos_drm_crtc_ops *, so exynos_drm_crtc_ops > structures having

Re: [PATCH 0/4] ARM: dts: mt7623: Add initial Geek Force support

2017-01-10 Thread John Crispin
(resend, hit the wrong reply button) On 10/01/2017 10:48, Andreas Färber wrote: > Hi, > > Am 10.01.2017 um 08:00 schrieb John Crispin: >> On 08/01/2017 14:30, Andreas Färber wrote: >>> >>> Andreas Färber (4): >>> Documentation: devicetree: Add vendor prefix for AsiaRF >>> Documentation: device

Re: [PATCH 4/4] dt-bindings: mfd: Add STM32F7 RCC numeric constants into DT include file

2017-01-10 Thread Alexandre Torgue
Hi Gabriel On 01/06/2017 02:59 PM, gabriel.fernan...@st.com wrote: From: Gabriel Fernandez This patch lists STM32F7's RCC numeric constants. It will be used by clock and reset drivers, and DT bindings. Signed-off-by: Gabriel Fernandez can you please split this commit ? (one part for bindin

[PATCH 1/2] tools: perf: fix linker error when libelf config is disabled

2017-01-10 Thread Sudeep Holla
When libelf is disabled in the configuration, we get the following linker error: LINK libperf-jvmti.so ld: cannot find -lelf Makefile.perf:515: recipe for target 'libperf-jvmti.so' failed Jiri pointed out that both librt and libelf are not really required. So this patch fixes the linker

  1   2   3   4   5   6   7   8   9   10   >