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,

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 ;

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

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

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

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

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

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

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

[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(-) --

[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

[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]:

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

[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

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

[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

[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

[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

[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.

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

2017-01-10 Thread Boris Brezillon
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 > :: branch date: 2

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

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

[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

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

[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

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

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

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

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

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 > >

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 + >

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

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> >> --- >>

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

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

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

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

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

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

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 >> --- >>

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,

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

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 > >

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

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

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

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

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:

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

[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

[PATCH 2/2] tools: perf: fix build error in uapi/linux/mman.h

2017-01-10 Thread Sudeep Holla
All the other occurrence refer "uapi/asm-generic/*.h" directly instead of "uapi/asm/*.h" in tools/include except mman.h. Without this patch, the following build failure is seen. In file included from util/event.c:2:0: tools/include/uapi/linux/mman.h:4:27: fatal error: uapi/asm/mman.h: No such

[RFC 1/6] perf/core: create active and inactive event groups

2017-01-10 Thread David Carrillo-Cisneros
Currently, perf uses pinned_groups and flexible_groups for sched in/out. We can do better because: - sched out only cares about the ACTIVE events, this is usually a small set of events. - There can be many events in these lists thate are no relevant to the scheduler (e.g. other

[RFC 3/6] perf/core: use rb-tree to sched in event groups

2017-01-10 Thread David Carrillo-Cisneros
During sched in, only events that match the current CPU and cgroup can be scheduled in. These events should be added to the PMU in increasing timestamp order to guaratee fairness in the event rotation. In task contexts, events with no CPU affinity or with affinity to the current CPU are eligible.

[RFC 0/6] optimize ctx switch with rb-tree

2017-01-10 Thread David Carrillo-Cisneros
Following the discussion in: https://patchwork.kernel.org/patch/9420035/ This is is an early version of a series of perf context switches optimizations. The main idea is to create and maintain a list of inactive events sorted by timestamp, and a rb-tree index to index it. The rb-tree's key are

Re: [PATCH] PCI: designware: fix asynchronous external abort in keystone PCIe h/w

2017-01-10 Thread Joao Pinto
Hi, Às 4:41 PM de 1/9/2017, Murali Karicheri escreveu: > On 01/04/2017 02:32 PM, Murali Karicheri wrote: >> Recent fixes for iATU unroll support introduced a bug that causes >> asynchronous external abort in Keystone PCIe h/w which doesn't have >> ATU port and the corresponding register. So the

[RFC 2/6] perf/core: add a rb-tree index to inactive_groups

2017-01-10 Thread David Carrillo-Cisneros
Add a rb-tree that indexes inactive events by {CPU/cgroup,flexible,stamp}. The original idea by Peter Z. was to sort task events in an rb-tree using {pmu,cpu,timestamp} as key. Having the PMU as part of the key gets complicated for contexts that share pmus (i.e. software context) because all

[RFC 6/6] perf/core: use rb-tree index to optimize filtered perf_iterate_ctx

2017-01-10 Thread David Carrillo-Cisneros
A version of perf_iterate_ctx uses event_filter_match. Replace it with the rb-tree. Signed-off-by: David Carrillo-Cisneros --- kernel/events/core.c | 64 ++-- 1 file changed, 47 insertions(+), 17 deletions(-) diff --git a/kernel/events/core.c

[RFC 4/6] perf/core: avoid rb-tree traversal when no inactive events

2017-01-10 Thread David Carrillo-Cisneros
Avoid unnecessary rb-tree queries. Signed-off-by: David Carrillo-Cisneros --- include/linux/perf_event.h | 2 ++ kernel/events/core.c | 17 +++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-10 Thread Ingo Molnar
* Thomas Garnier wrote: > Coming back on that after a bit more testing. The LTR instruction > check if the busy bit is already set, if already set then it will just > issue a #GP given a bad selector: > > [0.00] general protection fault: 0040 [#1] SMP > ... > [0.00] RIP:

[RFC 5/6] perf/core: rotation no longer necessary. Behavior has changed. Beware

2017-01-10 Thread David Carrillo-Cisneros
The sched in/out process updates timestamps and "rotates" ctx->inactive_groups. This changes the speed at which rotation happens. Before events will rotate one event per interruption, now they will rotate q events each timer interruption. Where q is the number of events added to the pmu per sched

Re: [PATCH 01/12 linux-next] udf: use __packed instead of __attribute__ ((packed))

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:49, Fabian Frederick wrote: > defined in linux/compiler-gcc.h > > Signed-off-by: Fabian Frederick Thanks. Applied. Honza > --- > fs/udf/ecma_167.h | 98 >

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

2017-01-10 Thread Sami Farin
On Tue, Jan 10, 2017 at 10:22:41 +0100, Michal Hocko wrote: > 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:

Re: [Intel-gfx] 4.10-rc2 oops in DRM connector code

2017-01-10 Thread Daniel Vetter
On Mon, Jan 09, 2017 at 09:42:22AM -0800, Dave Hansen wrote: > On 01/09/2017 08:59 AM, Daniel Vetter wrote: > > On Mon, Jan 9, 2017 at 5:50 PM, Dave Hansen wrote: > >> On 01/09/2017 08:41 AM, Daniel Vetter wrote: > >>> On Mon, Jan 9, 2017 at 2:40 PM, Dave Hansen wrote: > Well, now I found

Re: [PATCH] Documentation/livepatch: remove the limitation for schedule() patching

2017-01-10 Thread Miroslav Benes
On Mon, 9 Jan 2017, Josh Poimboeuf wrote: > On Mon, Jan 09, 2017 at 01:50:19PM +0100, Miroslav Benes wrote: > > There is still one thing which I don't understand. Why __schedule() > > (patched or the original) is not on the stack. The actual "sleep" > > should happen in __switch_to_asm() which

Re: [PATCH 02/12 linux-next] udf: use pointer for kernel_long_ad argument

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:50, Fabian Frederick wrote: > Having struct kernel_long_ad laarr[EXTENT_MERGE_SIZE] > in all function arguments could be understood as by-value parameter. > Use kernel_long_ad pointer for functions depending on > inode_getblk() > > Signed-off-by: Fabian Frederick Yeah, it

Re: [PATCH 03/12 linux-next] udf: merge bh free

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:51, Fabian Frederick wrote: > Merge all bh free at one place. > > Signed-off-by: Fabian Frederick Thanks. Applied. Honza > --- > fs/udf/inode.c | 28 ++-- > 1 file changed, 10

Re: [PATCH 04/12 linux-next] udf: remove unneeded line break

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:52, Fabian Frederick wrote: > Signed-off-by: Fabian Frederick Thanks. Applied. Honza > --- > fs/udf/inode.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/fs/udf/inode.c

Re: [PATCH 05/12 linux-next] udf: remove empty condition

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:53, Fabian Frederick wrote: > loc & 0x02 is empty since first git version in 2005 in > udf_add_extendedattr() > > Signed-off-by: Fabian Frederick Thanks. Applied. Honza > --- > fs/udf/misc.c | 2 -- > 1

Re: [PATCH v3 13/15] livepatch: change to a per-task consistency model

2017-01-10 Thread Petr Mladek
On Fri 2017-01-06 14:07:34, Josh Poimboeuf wrote: > On Fri, Dec 23, 2016 at 11:18:03AM +0100, Petr Mladek wrote: > > On Fri 2016-12-23 10:24:35, Miroslav Benes wrote: > > > > > > diff --git a/kernel/livepatch/patch.c b/kernel/livepatch/patch.c > > > > > > index 5efa262..e79ebb5 100644 > > > > > >

Re: [PATCH v2] drm: Schedule the output_poll_work with 1s delay if we have delayed event

2017-01-10 Thread Daniel Vetter
On Mon, Jan 09, 2017 at 11:50:59AM -0500, Sean Paul wrote: > On Mon, Jan 9, 2017 at 9:31 AM, Peter Ujfalusi wrote: > > Instead of scheduling the work to handle the initial delayed event, use 1s > > delay. > > > > This delay should not be needed, but Optimus/nouveau will fail in a > > mysterious

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

2017-01-10 Thread Alexandre Belloni
On 10/01/2017 at 10:52:56 +0100, Peter Rosin wrote : > 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. > It doesn't have to be long but it has to be present. > > On

Re: [PATCH v2] drm: Schedule the output_poll_work with 1s delay if we have delayed event

2017-01-10 Thread Daniel Vetter
On Tue, Jan 10, 2017 at 11:40:59AM +0100, Daniel Vetter wrote: > On Mon, Jan 09, 2017 at 11:50:59AM -0500, Sean Paul wrote: > > On Mon, Jan 9, 2017 at 9:31 AM, Peter Ujfalusi > > wrote: > > > Instead of scheduling the work to handle the initial delayed event, use 1s > > > delay. > > > > > > This

Re: [PATCH 06/12 linux-next] udf: add udf_ajust_time

2017-01-10 Thread Jan Kara
On Fri 06-01-17 21:53:54, Fabian Frederick wrote: > Merge timespec affectations > > Signed-off-by: Fabian Frederick Thanks. I've just renamed the function to udf_trim_crtime() which better describes what it does. Honza > --- >

[PATCH] vme: Fix wrong pointer utilization in ca91cx42_slave_get

2017-01-10 Thread Augusto Mecking Caringi
In ca91cx42_slave_get function, the value pointed by vme_base pointer is set through: *vme_base = ioread32(bridge->base + CA91CX42_VSI_BS[i]); So it must be dereferenced to be used in calculation of pci_base: *pci_base = (dma_addr_t)*vme_base + pci_offset; This bug was caught thanks to the

Re: [PATCH v3 13/15] livepatch: change to a per-task consistency model

2017-01-10 Thread Miroslav Benes
> > > --- a/kernel/sched/idle.c > > > +++ b/kernel/sched/idle.c > > > @@ -9,6 +9,7 @@ > > > #include > > > #include > > > #include > > > +#include > > > > > > #include > > > > > > @@ -264,6 +265,9 @@ static void do_idle(void) > > > > > > sched_ttwu_pending(); > > >

Re: [RFC PATCH] vring: Force use of DMA API for ARM-based systems

2017-01-10 Thread Jean-Philippe Brucker
On 09/01/17 14:54, Will Deacon wrote: > On Mon, Jan 09, 2017 at 11:24:04AM +, Robin Murphy wrote: >> On 06/01/17 21:51, Andy Lutomirski wrote: >>> On Fri, Jan 6, 2017 at 10:32 AM, Robin Murphy wrote: On 06/01/17 17:48, Jean-Philippe Brucker wrote: > It used to work with 4.9, but

Re: [PATCH 1/2] arm64: dma_mapping: allow PCI host driver to limit DMA mask

2017-01-10 Thread Arnd Bergmann
On Monday, January 9, 2017 9:57:46 PM CET Christoph Hellwig wrote: > > - architecture should stop breaking 64-bit DMA when driver attempts to > > set 64-bit dma mask, > > > > - NVMe should issue proper blk_queue_bounce_limit() call based on what > > is actually set mask, > > Or even better

[PATCH 2/2] ubifs: Move tnc_read_hashed_node() to get rid of prototypes.

2017-01-10 Thread Richard Weinberger
Reviewed-by: David Gstir Signed-off-by: Richard Weinberger --- fs/ubifs/tnc.c | 97 -- 1 file changed, 46 insertions(+), 51 deletions(-) diff --git a/fs/ubifs/tnc.c b/fs/ubifs/tnc.c index 709aa098dd46..ce69f170b7c5 100644 ---

[PATCH 1/2] ubifs: Fix journal replay wrt. xattr nodes

2017-01-10 Thread Richard Weinberger
When replaying the journal it can happen that a journal entry points to a garbage collected node. This is the case when a power-cut occurred between a garbage collect run and a commit. In such a case nodes have to be read using the failable read functions to detect whether the found node matches

[PATCH v4 3/4] dt-bindings: phy: Add support for QMP phy

2017-01-10 Thread Vivek Gautam
Qualcomm chipsets have QMP phy controller that provides support to a number of controller, viz. PCIe, UFS, and USB. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v3: - Added #clock-cells = <1>, indicating that phy is a clock

[PATCH v4 2/4] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2017-01-10 Thread Vivek Gautam
PHY transceiver driver for QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller present on Qualcomm chipsets. Signed-off-by: Vivek Gautam Reviewed-by: Stephen Boyd --- Changes since v3: - Added 'Reviewed-by' from Stephen. - Fixed debug message for

[PATCH v4 1/4] dt-bindings: phy: Add support for QUSB2 phy

2017-01-10 Thread Vivek Gautam
Qualcomm chipsets have QUSB2 phy controller that provides HighSpeed functionality for DWC3 controller. Adding dt binding information for the same. Signed-off-by: Vivek Gautam Acked-by: Rob Herring --- Changes since v3: - Added 'Acked-by' from Rob. - Removed 'reset-names' and

[PATCH v4 0/4] phy: USB and PCIe phy drivers for Qcom chipsets

2017-01-10 Thread Vivek Gautam
This patch series adds couple of PHY drivers for Qualcomm chipsets. a) qcom-qusb2 phy driver: that provides High Speed USB functionality. b) qcom-qmp phy driver: that is a combo phy providing support for USB3, PCIe, UFS and few other controllers. The patches are based on next branch of

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

2017-01-10 Thread Willy Tarreau
On Tue, Jan 10, 2017 at 11:00:32AM +0100, Greg KH wrote: > 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

<    9   10   11   12   13   14   15   16   17   18   >