Re: [PATCH] ubi: Reject MLC NAND

2018-03-07 Thread Richard Weinberger
Pavel, Am Mittwoch, 7. März 2018, 00:18:05 CET schrieb Pavel Machek: > On Sat 2018-03-03 11:45:54, Richard Weinberger wrote: > > While UBI and UBIFS seem to work at first sight with MLC NAND, you will > > most likely lose all your data upon a power-cut or due to read/write > > disturb. > > In orde

Re: [PATCH v2 2/3] ARM: dts: STi: Remove useless stdout-path for STi boards

2018-03-07 Thread Patrice CHOTARD
Hi Rob On 03/06/2018 02:26 PM, Rob Herring wrote: > On Tue, Mar 6, 2018 at 2:07 AM, wrote: >> From: Patrice Chotard >> >> As serial interface is already specified into bootargs, >> stdout-path can be removed. > > Wrong way around. stdout-path is preferred over using console in bootargs. Ah so

Re: [PATCH v2 3/3] tty: st-asc: Update tty alias

2018-03-07 Thread Patrice CHOTARD
Hi Rob On 03/06/2018 02:29 PM, Rob Herring wrote: > On Tue, Mar 6, 2018 at 2:07 AM, wrote: >> From: Patrice Chotard >> >> Since dtc v1.4.6-9-gaadd0b65c987, aliases property name >> must include only lowercase and '-'. >> >> After having updated all STi boards serial aliases from "ttyASN" >> to

Re: [PATCH 6/7] perf auxtrace: Make auxtrace_queues__add_buffer() allocate struct buffer

2018-03-07 Thread Adrian Hunter
On 06/03/18 22:25, Arnaldo Carvalho de Melo wrote: > Em Tue, Mar 06, 2018 at 11:13:17AM +0200, Adrian Hunter escreveu: >> In preparation for supporting AUX area sampling buffers, >> auxtrace_queues__add_buffer() needs to be more generic. To that end, move >> memory allocation for struct buffer into

[PATCH V1] Input: pm8941-pwrkey: add resin key capabilities

2018-03-07 Thread Tirupathi Reddy
Add resin key support to handle different types of key events defined in different platforms. Signed-off-by: Tirupathi Reddy --- .../bindings/input/qcom,pm8941-pwrkey.txt | 20 ++- drivers/input/misc/pm8941-pwrkey.c | 63 +- 2 files changed, 81 in

Re: [PATCH 2/5] staging: vc04_services: Remove cache-line-size property.

2018-03-07 Thread Phil Elwell
Hi Eric, On 06/03/2018 19:02, Eric Anholt wrote: Stefan Wahren writes: Hi Eric, Am 05.03.2018 um 21:28 schrieb Eric Anholt: This was just a way for the DT-passed value to get out of sync with what Linux has configured the ARM for. Signed-off-by: Eric Anholt --- .../interface/vchiq_arm

Re: [PATCH 4.4 03/34] mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM

2018-03-07 Thread Boris Brezillon
On Tue, 06 Mar 2018 21:22:30 + Ben Hutchings wrote: > On Fri, 2018-03-02 at 09:50 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Sascha Hauer > > > > > > [ Upstream commit fdf2e8210

[PATCH v6 0/3] add support for Mediatek High-Speed DMA controller on MT7622 and MT7623 SoC

2018-03-07 Thread sean.wang
From: Sean Wang Changes since v5: - use C99 style comments at the first two lines - remove unused header includes - use directly KBUILD_MODNAME as a driver name - use DMA_SLAVE_BUSWIDTH_4_BYTES to reflect the real bus width - refine comments - refine code style aligning with 80 chars and wrap - u

[PATCH v6 1/3] dt-bindings: dmaengine: Add MediaTek High-Speed DMA controller bindings

2018-03-07 Thread sean.wang
From: Sean Wang Document the devicetree bindings for MediaTek High-Speed DMA controller which could be found on MT7623 SoC or other similar Mediatek SoCs. Signed-off-by: Sean Wang --- .../devicetree/bindings/dma/mtk-hsdma.txt | 33 ++ 1 file changed, 33 insertions(

[PATCH v6 2/3] dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC

2018-03-07 Thread sean.wang
From: Sean Wang MediaTek High-Speed DMA controller (HSDMA) on MT7622 and MT7623 SoC has a single ring is dedicated to memory-to-memory transfer through ring based descriptor management. Even though there is only one physical ring available inside HSDMA, the driver can be easily extended to the s

[PATCH v6 3/3] dmaengine: mediatek: update MAINTAINERS entry with MediaTek DMA driver

2018-03-07 Thread sean.wang
From: Sean Wang I work for MediaTek and maintain SoC targeting to home gateway and also will keep extending and testing the function. Signed-off-by: Sean Wang --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3bdc260..d3c33d7 100644 --

Re: [PATCH 4.4 03/34] mtd: nand: gpmi: Fix failure when a erased page has a bitflip at BBM

2018-03-07 Thread Richard Weinberger
Boris, Am Mittwoch, 7. März 2018, 09:12:36 CET schrieb Boris Brezillon: > On Tue, 06 Mar 2018 21:22:30 + > > Ben Hutchings wrote: > > On Fri, 2018-03-02 at 09:50 +0100, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me > > > know. > > > >

[PATCH v10 00/10] livepatch: Atomic replace feature

2018-03-07 Thread Petr Mladek
The atomic replace allows to create cumulative patches. They are useful when you maintain many livepatches and want to remove one that is lower on the stack. In addition it is very useful when more patches touch the same function and there are dependencies between them. Changes against v9: + F

[PATCH v10 01/10] livepatch: Use lists to manage patches, objects and functions

2018-03-07 Thread Petr Mladek
From: Jason Baron Currently klp_patch contains a pointer to a statically allocated array of struct klp_object and struct klp_objects contains a pointer to a statically allocated array of klp_func. In order to allow for the dynamic allocation of objects and functions, link klp_patch, klp_object, a

[PATCH v10 07/10] livepatch: Correctly handle atomic replace for not yet loaded modules

2018-03-07 Thread Petr Mladek
The atomic replace feature uses dynamically allocated struct klp_func to handle functions that will no longer be patched. These structures are of the type KLP_FUNC_NOP. They cause the ftrace handler to jump to the original code. But the address of the original code is not known until the patched mo

[PATCH v10 04/10] livepatch: Allow to unpatch only functions of the given type

2018-03-07 Thread Petr Mladek
From: Jason Baron We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. For this, we will need to dynamically create funcs and objects for functions that are no longer patched. The dynamically allocated objects wil

[PATCH v10 06/10] livepatch: Add atomic replace

2018-03-07 Thread Petr Mladek
From: Jason Baron Sometimes we would like to revert a particular fix. Currently, this is not easy because we want to keep all other fixes active and we could revert only the last applied patch. One solution would be to apply new patch that implemented all the reverted functions like in the origi

[PATCH v10 03/10] livepatch: Initial support for dynamic structures

2018-03-07 Thread Petr Mladek
From: Jason Baron We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. For this, we will need to dynamically create funcs and objects for functions that are no longer patched. This patch adds basic framework to ha

[PATCH v10 02/10] livepatch: Free only structures with initialized kobject

2018-03-07 Thread Petr Mladek
We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. For this, we will need to dynamically create funcs and objects for functions that are no longer patched. We will want to reuse the existing init() and free() func

[PATCH v10 08/10] livepatch: Improve dynamic struct klp_object detection and manipulation

2018-03-07 Thread Petr Mladek
The check for dynamically allocated objects was too optimistic. There might exist livepatches that modify an object only with callbacks. They are statically defined and have "funcs" array empty. A solution would be to check also the callback pointers in klp_is_object_dynamic(). But it still might

[PATCH v10 10/10] livepatch: Atomic replace and cumulative patches documentation

2018-03-07 Thread Petr Mladek
User documentation for the atomic replace feature. It makes it easier to maintain livepatches using so-called cumulative patches. Signed-off-by: Petr Mladek Acked-by: Miroslav Benes --- Documentation/livepatch/cumulative-patches.txt | 83 ++ 1 file changed, 83 insertions

[PATCH v10 09/10] livepatch: Allow to replace even disabled patches

2018-03-07 Thread Petr Mladek
Patches without the replace flag might depend on each other. It makes sense to enforce the order in which they are enabled and disabled. The situation is different when the patch replaces all existing ones. It should make the life easier for both: patch producers and users. Such a patch should be

[PATCH v10 05/10] livepatch: Support separate list for replaced patches.

2018-03-07 Thread Petr Mladek
From: Jason Baron We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. The replaced patches will stay registered because they are typically unregistered by some package uninstall scripts. But we will remove these

Re: [GIT PULL 0/9] perf/urgent fixes

2018-03-07 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 58bdf601c2de6071d0386a7a6fa707bd04761c47: > > Merge branch 'i2c/for-current-fixed' of > git://git.ke

[tip:perf/urgent] perf kallsyms: Fix the usage on the man page

2018-03-07 Thread tip-bot for Sangwon Hong
Commit-ID: f6d3f35e006496c282ccbb67494d90b04f6cba10 Gitweb: https://git.kernel.org/tip/f6d3f35e006496c282ccbb67494d90b04f6cba10 Author: Sangwon Hong AuthorDate: Mon, 12 Feb 2018 04:37:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 11:48:37 -0300 perf kallsyms:

[tip:perf/urgent] perf top: Fix annoying fallback message on older kernels

2018-03-07 Thread tip-bot for Kan Liang
Commit-ID: 626af862da9c650e80bdea44684be9334f8eb75b Gitweb: https://git.kernel.org/tip/626af862da9c650e80bdea44684be9334f8eb75b Author: Kan Liang AuthorDate: Mon, 26 Feb 2018 10:17:10 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 11:48:56 -0300 perf top: Fix ann

Re: [PATCH] kernel/sys_ni: sort cond_syscall() entries

2018-03-07 Thread Ingo Molnar
* Dominik Brodowski wrote: > Shuffle the cond_syscall() entries in kernel/sys_ni.c around so that they > are kept in the same order as in include/uapi/asm-generic/unistd.h. For > better structuring, add the same comments as in that file, but keep a few > additional comments and extend the commen

[tip:perf/urgent] perf record: Fix crash in pipe mode

2018-03-07 Thread tip-bot for Jiri Olsa
Commit-ID: cfacbabd1d9c35d2a179650b2911f17a8d8620b8 Gitweb: https://git.kernel.org/tip/cfacbabd1d9c35d2a179650b2911f17a8d8620b8 Author: Jiri Olsa AuthorDate: Fri, 2 Mar 2018 17:13:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 11:52:41 -0300 perf record: Fix c

[tip:perf/urgent] tools headers: Sync copy of kvm UAPI headers

2018-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d976a6e9d9614a951dc21aaf2fbebdeca567dcfa Gitweb: https://git.kernel.org/tip/d976a6e9d9614a951dc21aaf2fbebdeca567dcfa Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 5 Mar 2018 11:56:40 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 11:56:40 -0300 too

[tip:perf/urgent] perf stat: Fix CVS output format for non-supported counters

2018-03-07 Thread tip-bot for Ilya Pronin
Commit-ID: 40c21898ba5372c14ef71717040529794a91ccc2 Gitweb: https://git.kernel.org/tip/40c21898ba5372c14ef71717040529794a91ccc2 Author: Ilya Pronin AuthorDate: Mon, 5 Mar 2018 22:43:53 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 6 Mar 2018 10:53:52 -0300 perf stat: Fix C

[tip:perf/urgent] tools headers: Sync x86's cpufeatures.h

2018-03-07 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4caea0574c5009901d1976980579ccd26dbf358a Gitweb: https://git.kernel.org/tip/4caea0574c5009901d1976980579ccd26dbf358a Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 5 Mar 2018 12:07:52 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 12:07:52 -0300 too

[tip:perf/urgent] perf auxtrace: Prevent decoding when --no-itrace

2018-03-07 Thread tip-bot for Adrian Hunter
Commit-ID: 2e2967f4c398e0f984a6c04daa3a79512e2bb74e Gitweb: https://git.kernel.org/tip/2e2967f4c398e0f984a6c04daa3a79512e2bb74e Author: Adrian Hunter AuthorDate: Tue, 6 Mar 2018 11:13:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 6 Mar 2018 11:05:47 -0300 perf auxtrace:

[tip:perf/urgent] perf tools: Fix trigger class trigger_on()

2018-03-07 Thread tip-bot for Adrian Hunter
Commit-ID: de19e5c3c51fdb1ff20d0f61d099db902ff7494b Gitweb: https://git.kernel.org/tip/de19e5c3c51fdb1ff20d0f61d099db902ff7494b Author: Adrian Hunter AuthorDate: Wed, 28 Feb 2018 10:39:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 6 Mar 2018 11:31:14 -0300 perf tools: F

Re: Linux & FAT32 label

2018-03-07 Thread Pali Rohár
On Monday 27 November 2017 13:13:01 Karel Zak wrote: > On Sun, Nov 26, 2017 at 08:19:25PM +0100, Pali Rohár wrote: > > On Monday 20 November 2017 12:12:56 Karel Zak wrote: > > > Go ahead and send patch :-) (also with LABEL_FATBOOT=) > > > > Ok, I prepared patches for util-linux including LABEL_FAT

Re: [PATCH v3 3/4] rtc: isl1208: add support for isl1219 with tamper detection

2018-03-07 Thread Denis OSTERLAND
Am Dienstag, den 06.03.2018, 21:42 +0100 schrieb Alexandre Belloni: > On 05/03/2018 at 10:43:52 +, Denis OSTERLAND wrote: > > > > diff --git a/Documentation/devicetree/bindings/rtc/isil,isl1219.txt > > b/Documentation/devicetree/bindings/rtc/isil,isl1219.txt > > new file mode 100644 > > index

Re: [PATCH] dts: sunxi: Add eMMC for NanoPi M1 Plus

2018-03-07 Thread Maxime Ripard
On Fri, Mar 02, 2018 at 10:38:52PM +0100, Emmanuel Vadot wrote: > The NanoPi-M1-Plus have a 8GB eMMC, add a node for it. > This eMMC is always powered with 3.3V. > > Signed-off-by: Emmanuel Vadot Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Ker

[PATCH] PCI: fix semicolon.cocci warnings

2018-03-07 Thread Julia Lawall
From: Fengguang Wu Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git pci-header-cleanup head: 40fb7646c6ec16d2fd3de422be876baca

Re: [PATCH v2 0/6] Add mmc support for STM32F7 boards

2018-03-07 Thread Lee Jones
On Mon, 05 Mar 2018, Alexandre Torgue wrote: > Hi Patrice, > > On 03/01/2018 11:53 AM, patrice.chot...@st.com wrote: > > From: Patrice Chotard > > > > This series adds : > > _ SDIO pins definition for STM32F7 SoCs family > > _ add sdio1 DT entry for STM32F746 Discovery board > > _ add sdi

Re: [PATCH] staging: most: Remove unnecessary usage of BUG_ON().

2018-03-07 Thread Christian Gromm
On 07.03.2018 02:31, Quytelda Kahja wrote: There is no need for the calls to BUG_ON() in this driver, which are used to check if mbo or mbo->context are NULL; mbo is never NULL, and if mbo->context is NULL it would have already been dereferenced and oopsed before reaching the BUG_ON(). Signed-of

Re: Regression from efi: call get_event_log before ExitBootServices

2018-03-07 Thread Thiebaud Weksteen
Hi, Thanks for testing and sending this report! This patch relies heavily on the functions exposed by the firmware. My first guess would be that some of these may not be implemented correctly by the manufacturer. Could you share more information on this specific device? Do you have any link to th

Re: [RFC 3/4] trace_uprobe: Support SDT markers having semaphore

2018-03-07 Thread Ravi Bangoria
On 03/06/2018 05:29 PM, Peter Zijlstra wrote: > On Wed, Feb 28, 2018 at 01:23:44PM +0530, Ravi Bangoria wrote: >> Userspace Statically Defined Tracepoints[1] are dtrace style markers >> inside userspace applications. These markers are added by developer at >> important places in the code. Each ma

Re: WARNING: kmalloc bug in memdup_user

2018-03-07 Thread Dmitry Vyukov
On Wed, Mar 7, 2018 at 8:23 AM, Leon Romanovsky wrote: > On Tue, Mar 06, 2018 at 10:59:02PM -0800, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on upstream commit >> ce380619fab99036f5e745c7a865b21c59f005f6 (Tue Mar 6 04:31:14 2018 +) >> Merge tag 'please-pull-ia64_misc' of >>

[PATCH] rcu: exp: Fix "must hold exp_mutex" comments for QS reporting functions

2018-03-07 Thread Boqun Feng
Since commit d9a3da0699b2 ("rcu: Add expedited grace-period support for preemptible RCU"), there are comments for some funtions in rcu_report_exp_rnp()'s call-chain saying that exp_mutex or its predecessors needs to be held. However, exp_mutex and its predecessors are merely used for synchronize b

[PATCH] PCI/hotplug: ppc: correct a php_slot usage after free

2018-03-07 Thread wei . guo . simon
From: Simon Guo In pnv_php_unregister_one(), pnv_php_put_slot() might kfree php_slot structure. But there is pci_hp_deregister() after that with php_slot reference. This patch moves pnv_php_put_slot() to the end of function. Signed-off-by: Simon Guo --- drivers/pci/hotplug/pnv_php.c | 2 +- 1

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 3:21 AM, Sergey Senozhatsky wrote: > Hello Arnd, > > On (03/06/18 14:27), Arnd Bergmann wrote: > [..] >> As we are now removing blackfin, based on the latest discussion, this >> part should no longer be necessary. > > When is this going to happen? 4.17? Originally I planned

Re: dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 2:29 AM, Mike Snitzer wrote: > On Tue, Mar 06 2018 at 4:33pm -0500, > Arnd Bergmann wrote: > >> On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer wrote: >> > On Thu, Feb 22 2018 at 10:56am -0500, >> > Arnd Bergmann wrote: >> >> > >> > Mikulas already sent a fix for this: >>

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-07 Thread Petr Mladek
On Wed 2018-03-07 11:21:27, Sergey Senozhatsky wrote: > Hello Arnd, > > On (03/06/18 14:27), Arnd Bergmann wrote: > [..] > > As we are now removing blackfin, based on the latest discussion, this > > part should no longer be necessary. > > When is this going to happen? 4.17? > > [..] > > nds32 cu

[PATCH v3 3/3] tty: st-asc: Update tty alias

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must include only lowercase and '-'. After having updated all STi boards serial aliases from "ttyASN" to "serialN", st-asc driver need to be updated accordingly as tty aliases id is retrieved using of_alias_get_id().

[PATCH v3 2/3] ARM: dts: STi: Remove console=serialN from bootargs for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard As serial interface is already specified into stdout-path property, "console=serialN,115200" from bootargs can be removed. Signed-off-by: Patrice Chotard --- v3: _ remove "console=serialN,115200" from bootargs and use prefered stdout-path property v2: _ none arch/

[PATCH v3 1/3] ARM: dts: STi: Fix aliases property name for STi boards

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Update serial aliases from "ttyASN" to more common "serialN". Since dtc v1.4.6-9-gaadd0b65c987, aliases property name must be lowercase only. This allows to fix following dtc warnings: arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property

[PATCH v3 0/3] Fix STi aliases property name

2018-03-07 Thread patrice.chotard
From: Patrice Chotard Since dtc v1.4.6-9-gaadd0b65c987, when compiling dtb with W=1 option, the following warnings are triggered : arch/arm/boot/dts/stih418-b2199.dtb: Warning (alias_paths): /aliases: aliases property name must include only lowercase and '-' arch/arm/boot/dts/stih407-b2120.

Re: [PATCH] ARM: dts: BCM5301X: add missing LEDs for Buffalo WZR-900DHP

2018-03-07 Thread Rafał Miłecki
On 5 March 2018 at 15:36, wrote: > From: INAGAKI Hiroshi > > Buffalo WZR-900DHP has 8 LEDs, but there is not LED definitions in the > dts and cannot configure these LEDs. > I Added missing LED definitions for WZR-900DHP. > > Signed-off-by: INAGAKI Hiroshi Looks almost good, thanks for sending

Re: [PATCH V3 1/2] [media] Add Rockchip RK1608 driver

2018-03-07 Thread Linus Walleij
On Tue, Mar 6, 2018 at 2:59 AM, Wen Nuan wrote: Thank you for the patch! Nice improvements over all! > From: Leo Wen > > Rk1608 is used as a PreISP to link on Soc, which mainly has two functions. > One is to download the firmware of RK1608, and the other is to match the > extra sensor such as c

Re: [RFC 3/4] trace_uprobe: Support SDT markers having semaphore

2018-03-07 Thread Peter Zijlstra
On Wed, Mar 07, 2018 at 02:16:13PM +0530, Ravi Bangoria wrote: > > W.T.H. is that called a semaphore? afaict its just a usage-counter. > > I totally agree with you. But it's not me who named it semaphore :) > > Please refer to "Semaphore Handling" section at: > https://sourceware.org/systemtap/wi

Re: [PATCH] MAINTAINERS: Add linux/of_*.h headers to appropriate subsystems

2018-03-07 Thread Linus Walleij
On Tue, Mar 6, 2018 at 4:13 PM, Rob Herring wrote: > The DeviceTree support code for specific subsystems are maintained by > the respective subsystem maintainers. However, only the DT > maintainers are listed for most of the linux/of_*.h headers. Fix this > and add the headers to the appropriate

Re: [PATCH 1/2] infiniband: qplib_fp: fix pointer cast

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 12:45 AM, Jason Gunthorpe wrote: > On Wed, Mar 07, 2018 at 12:25:14AM +0100, Arnd Bergmann wrote: >> On Wed, Feb 28, 2018 at 10:15 PM, Jason Gunthorpe wrote: >> > On Tue, Feb 20, 2018 at 09:56:26PM +0100, Arnd Bergmann wrote: >> >> Building for a 32-bit target results in a

Re: [PATCH v2] mm: might_sleep warning

2018-03-07 Thread Vlastimil Babka
On 03/06/2018 11:40 PM, Pavel Tatashin wrote: > Robot reported this issue: > https://lkml.org/lkml/2018/2/27/851 > > That is introduced by: > mm: initialize pages on demand during boot > > The problem is caused by changing static branch value within spin lock. > Spin lock disables preemption, and

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-07 Thread Petr Mladek
Ah, there was a mid-air collision. Arnd already answered most of my questions and even more. On Wed 2018-03-07 09:46:27, Arnd Bergmann wrote: > On Wed, Mar 7, 2018 at 3:21 AM, Sergey Senozhatsky > wrote: > > On (03/06/18 14:27), Arnd Bergmann wrote: > >> Weak symbols are generally discouraged in

Re: [PATCH v2 0/6] Add mmc support for STM32F7 boards

2018-03-07 Thread Patrice CHOTARD
Hi Lee On 03/07/2018 09:35 AM, Lee Jones wrote: > On Mon, 05 Mar 2018, Alexandre Torgue wrote: > >> Hi Patrice, >> >> On 03/01/2018 11:53 AM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard >>> >>> This series adds : >>>_ SDIO pins definition for STM32F7 SoCs family >>>_ add sdio

Re: [PATCH v2 1/2] dt-bindings: thermal: add binding for MT7622 SoC

2018-03-07 Thread Sean Wang
Hi, Rui just a gentle ping to the both patches Sean On Sat, 2018-02-17 at 16:49 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add devicetree bindings for MediaTek MT7622 thermal controller > > Changes v1 -> v2: add tag from Rob > > Signed-off-by: Sean Wang > Signed-off-

Re: [PATCH] MAINTAINERS: Add linux/of_*.h headers to appropriate subsystems

2018-03-07 Thread Joerg Roedel
On Tue, Mar 06, 2018 at 09:13:34AM -0600, Rob Herring wrote: > The DeviceTree support code for specific subsystems are maintained by > the respective subsystem maintainers. However, only the DT > maintainers are listed for most of the linux/of_*.h headers. Fix this > and add the headers to the appr

Re: [PATCH v2 1/4] dt-bindings: soc: add SCPSYS binding for MT7623 and MT7623A SoC

2018-03-07 Thread Sean Wang
Hi, Matthias just a gentle ping to the four related patches Sean On Wed, 2018-02-07 at 18:22 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > document the binding for enabling SCPSYS on MediaTek MT7623 and MT7623A > SoC. Where MT7623 SoC has the same definition about power do

Re: [PATCH] soc: mediatek: fix the mistaken pointer accessed when subdomains are added

2018-03-07 Thread Sean Wang
Hi, Matthis also a gentle ping for the patch Sean On Fri, 2018-02-09 at 02:07 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Fix the pointer to struct scp_subdomian not being moved forward > when each sub-domain is expected to be iteratively added through >

Ref..............

2018-03-07 Thread Ahmed Zama
Dear Friend, I have something very profitable to share with you .But only need your permision to disclose it. Thanks Ahmed Zama

[PATCH] setlocalversion: use any tag

2018-03-07 Thread Gioh Kim
I googled about '+' mark in kernel version number. Many people also do not understand why their kernel version includes '+'. And many people creates an empty .scmversion file to remove it. I also create the empty .scmversion file whenever I clean the kernel tree. If setlocalversion script uses both

Re: [alsa-devel] [PATCH v3 19/25] ASoC: qcom: q6afe: add support to MI2S ports

2018-03-07 Thread Rohit Kumar
On 2/13/2018 10:28 PM, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6afe.h | 10 +++ sound/soc/qcom/qdsp6/q6afe.c | 111 + sound/soc/qcom/qdsp6/q6afe.h

[PATCHv2 2/5] x86/boot/compressed/64: Find a place for 32-bit trampoline

2018-03-07 Thread Kirill A. Shutemov
If a bootloader enables 64-bit mode with 4-level paging, we might need to switch over to 5-level paging. The switching requires the disabling of paging, which works fine if kernel itself is loaded below 4G. But if the bootloader puts the kernel above 4G (not sure if anybody does this), we would lo

Re: [PATCH v5 1/4] sched/fair: add util_est on top of PELT

2018-03-07 Thread Peter Zijlstra
On Tue, Mar 06, 2018 at 07:58:51PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 05:01:50PM +, Patrick Bellasi wrote: > > +static inline void util_est_enqueue(struct cfs_rq *cfs_rq, > > + struct task_struct *p) > > +{ > > + unsigned int enqueued; > > + >

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-07 Thread Greentime Hu
2018-03-07 17:09 GMT+08:00 Petr Mladek : > Ah, there was a mid-air collision. Arnd already answered most of my > questions and even more. > > On Wed 2018-03-07 09:46:27, Arnd Bergmann wrote: >> On Wed, Mar 7, 2018 at 3:21 AM, Sergey Senozhatsky >> wrote: >> > On (03/06/18 14:27), Arnd Bergmann wro

Re: [PATCH 05/10] hwmon: generic-pwm-tachometer: Add generic PWM based tachometer

2018-03-07 Thread Rajkumar Rampelli
On Wednesday 28 February 2018 07:59 PM, Guenter Roeck wrote: On 02/27/2018 11:03 PM, Mikko Perttunen wrote: On 02/28/2018 08:12 AM, Rajkumar Rampelli wrote: On Wednesday 28 February 2018 11:28 AM, Guenter Roeck wrote: On 02/27/2018 09:38 PM, Rajkumar Rampelli wrote: On Wednesday 21 Februa

[PATCH] target: tcm_loop: use put_device() if device_register fail

2018-03-07 Thread Arvind Yadav
if device_register() returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav --- drivers/target/loopback/tcm_loop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c in

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 10:44 AM, Greentime Hu wrote: > 2018-03-07 17:09 GMT+08:00 Petr Mladek : >> Ah, there was a mid-air collision. Arnd already answered most of my >> questions and even more. >> >> On Wed 2018-03-07 09:46:27, Arnd Bergmann wrote: >>> On Wed, Mar 7, 2018 at 3:21 AM, Sergey Senoz

Re: [PATCH V2 2/2] dt-bindings: Document the Rockchip RK1608 bindings

2018-03-07 Thread Sakari Ailus
Hi Wen, On Mon, Feb 26, 2018 at 04:25:04PM +0800, Wen Nuan wrote: > From: Leo Wen > > Add DT bindings documentation for Rockchip RK1608. > > Changes V2: > - Delete spi-min-frequency property. > - Add the external sensor's control pin and clock properties. > - Delete the '&pinctrl' node. > > Si

[PATCH] driver-core: Log the BUG() causing driver

2018-03-07 Thread Florian Schmaus
I triggerd the BUG_ON(), which was added in f48f3febb2cbfd0f2ecee7690835ba745c1034a4, when booting a domU Xen domain. Since there was no contextual information logged, I needed to attach kgdb to determine the culprit (the wmi-bmof driver in my case). Signed-off-by: Florian Schmaus --- drivers/ba

Re: [PATCH] staging: lustre: Remove VLA usage

2018-03-07 Thread Tobin C. Harding
On Tue, Mar 06, 2018 at 09:46:08PM -0800, Kees Cook wrote: > The kernel would like to remove all VLA usage. This switches to a > simple kasprintf() instead. > > Signed-off-by: Kees Cook > --- > drivers/staging/lustre/lustre/llite/xattr.c | 19 +-- > 1 file changed, 13 insertions(

[PATCH] ssb:: use put_device() if device_register fail

2018-03-07 Thread Arvind Yadav
if device_register() returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav --- drivers/ssb/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 65420a9..c4449e0 100644 --- a/drivers/ssb/mai

Re: [RFC V3 0/3] perf stat: improvements for handling of multiple PMUs

2018-03-07 Thread Jiri Olsa
On Tue, Mar 06, 2018 at 09:04:41AM -0500, Agustin Vega-Frias wrote: > This series of patches adds some simple improvements to the way perf stat > handles PMUs that have multiple instances by: > > 1. Adding glob-like matching in addition to the prefix-based matching >introduced previously (patc

Re: [PATCH v6] arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2018-03-07 Thread Will Deacon
On Tue, Mar 06, 2018 at 01:33:00PM -0600, Shanker Donthineni wrote: > > I also confirmed with Thomas Speier, we can skip __flush_icache_all() if > > DIC=1. Thanks, > Planning to patch __flush_icache_all() itself instead of changing the > callers. This > way we can avoid "ic ialluis" completely.

Re: [PATCH] watchdog: sbsa: use 32-bit read for WCV

2018-03-07 Thread Robert Richter
On 28.02.18 02:52:20, Jayachandran C wrote: > According to SBSA spec v3.1 section 5.3: > All registers are 32 bits in size and should be accessed using > 32-bit reads and writes. If an access size other than 32 bits > is used then the results are IMPLEMENTATION DEFINED. > [...] > The Gene

Re: [PATCH v16 00/13] support "task_isolation" mode

2018-03-07 Thread Yury Norov
Hi Chris, (CC Cavium people) Thanks for your series. On Fri, Nov 03, 2017 at 01:04:39PM -0400, Chris Metcalf wrote: > Here, finally, is a new spin of the task isolation work (v16), with > changes based on the issues that were raised at last year's Linux > Plumbers Conference and in the email dis

[PATCH] nds32: To use the generic dump_stack()

2018-03-07 Thread Greentime Hu
Use the generic dump_stack() instead of nds32 one because they are doing the same thing. Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann --- arch/nds32/kernel/traps.c | 12 1 file changed, 12 deletions(-) diff --git a/arch/nds32/kernel/traps.c b/arch/nds32/kernel/traps.c index

[PATCH] nds32: fix building failed if using elf toolchain.

2018-03-07 Thread Greentime Hu
OUTPUT_FORMAT is not necessary here and the elf toolchain doesn't support these formats. Since kernel should be built pass with elf or Linux toolchain. This can be removed from vdso.ld.S These are the built failed messages. VDSOL arch/nds32/kernel/vdso/vdso.so.dbg /home/users/greentime/tmp/

Re: [PATCH v5 3/4] sched/cpufreq_schedutil: use util_est for OPP selection

2018-03-07 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 05:01:52PM +, Patrick Bellasi wrote: > static inline unsigned long cpu_util_cfs(struct rq *rq) > { > + if (!sched_feat(UTIL_EST)) > + return READ_ONCE(rq->cfs.avg.util_avg); > + > + return max_t(unsigned long, > + READ_ONCE(rq->cfs.

Re: [PATCH 1/2] infiniband: qplib_fp: fix pointer cast

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 10:05 AM, Arnd Bergmann wrote: > A small complication is that I wrote the changelog for the build warning > on 32-bit architectures, which is more elaborate. kernelci.org for > some reasons currently skips the allmodconfig build on all 32-bit > architectures (I should ask t

Re: [PATCH V2 1/8] perf evlist: Store 'overwrite' in struct perf_mmap

2018-03-07 Thread Jiri Olsa
On Tue, Mar 06, 2018 at 10:36:00AM -0500, kan.li...@linux.intel.com wrote: > From: Kan Liang > > It has been determined that the map is for overwrite mode > (evlist->overwrite_mmap) or non-overwrite mode (evlist->mmap) when > calling perf_evlist__alloc_mmap(). > Store the information in struct pe

Re: [PATCH 5/9] x86/dumpstack: Improve opcodes dumping in the Code: section

2018-03-07 Thread Borislav Petkov
On Tue, Mar 06, 2018 at 10:47:56AM -0800, Linus Torvalds wrote: > Are these always serialized? For oopses, I think we end up serializing > with die_lock, but is that always the case? Hmm, good question. > Maybe at least a comment about why a static allocation is ok? Well, I'm afraid it is not ok

Re: [PATCH v5 02/12] [media] cxd2880-spi: Add support for CXD2880 SPI interface

2018-03-07 Thread Mauro Carvalho Chehab
Em Thu, 18 Jan 2018 17:46:10 +0900 escreveu: > From: Yasunari Takiguchi > > This is the SPI adapter part of the driver for the > Sony CXD2880 DVB-T2/T tuner + demodulator. Thanks for the patches! The patch series look ok. Just a few nitpicks that could be solved later. I had to apply a few p

Re: [PATCH v2 1/3] mfd: syscon: Set name of regmap_config

2018-03-07 Thread Mark Brown
On Tue, Mar 06, 2018 at 10:58:26PM +0800, JeffyChen wrote: > even this is already fixed by a430ab205d29 ("regmap: debugfs: Disambiguate > dummy debugfs file name") > but maybe we can still have this for a better debugfs name? That's why the facility is there. Please don't top post, reply in lin

Re: [PATCH] perf mmap: Discard head in overwrite_rb_find_range

2018-03-07 Thread Jiri Olsa
On Tue, Mar 06, 2018 at 07:44:23PM +0800, Yisheng Xie wrote: > In overwrite mode, start will be set to head in perf_mmap__read_init. > Therefore, it is no need to set the start one more in > overwrite_rb_find_range and *start can be used as head instead of > passing head to overwrite_rb_find_range.

Re: [PATCH] crypto: hash.h: Prevent use of req->digest in ahash update

2018-03-07 Thread Kamil Konieczny
On 06.03.2018 19:04, Tom Lendacky wrote: > On 3/6/2018 5:45 AM, Kamil Konieczny wrote: >> Prevent improper use of req->digest field in ahash update, init, export and > > Shouldn't that be req->result (here and below)? Yes, it should, I will send version 2 soon, thank you. Best regards, Kamil Kon

[PATCH] slimbus: core: use put_device() instead of kfree()

2018-03-07 Thread Arvind Yadav
Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav --- drivers/slimbus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/core.c

Re: [PATCH v1 1/9] PCI/PM: Move pcie_clear_root_pme_status() to core

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:29 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Move pcie_clear_root_pme_status() from the port driver to the PCI core so > it will be available even when the port driver isn't present. No > functional change intended. > > Signed-off-by: Bjorn Helgaas

Re: [PATCH v1 2/9] PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driver

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:34 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > fe31e69740ed ("PCI/PCIe: Clear Root PME Status bits early during system > resume") added a .resume_noirq() callback to the PCIe port driver to clear > the PME Status bit during resume to work around a BIOS i

Re: [PATCH v1 3/9] PCI/PM: Clear PCIe PME Status bit for Root Complex Event Collectors

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:40 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Per PCIe r4.0, sec 6.1.6, Root Complex Event Collectors can generate PME > interrupts on behalf of Root Complex Integrated Endpoints. > > Linux does not currently enable PME interrupts from RC Event Collect

Re: [PATCH v1 4/9] PCI/portdrv: Disable port driver in compat mode

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:45 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The "pcie_ports=compat" kernel parameter sets pcie_ports_disabled, which is > intended to disable the PCIe port driver. But even when it was disabled, > we registered pcie_portdriver so we could work around

Re: [PATCH v4 1/2] dt-binding: timer: document NPCM7xx timer DT bindings

2018-03-07 Thread Tomer Maimon
Sorry for the late response On 2 March 2018 at 03:51, Joel Stanley wrote: > Hi Tomer, > > On Tue, Feb 27, 2018 at 1:06 AM, Tomer Maimon wrote: >> Added device tree binding documentation for Nuvoton NPCM7xx timer. >> >> Signed-off-by: Tomer Maimon >> Acked-by: Rob Herring >> Reviewed-by: Brenda

[PATCH] audit: set TIF_AUDIT_SYSCALL only if audit filter has been populated

2018-03-07 Thread Jiri Kosina
From: Jiri Kosina There is no point going through all the audit slow path syscall entry/exit in case the audit daemon is running, but hasn't populated the audit filter with any rules whatsoever. Only set TIF_AUDIT_SYSCALL in case the number of populated audit rules is non-zero. Originally-by

Re: [PATCH v1 5/9] PCI/portdrv: Remove pcie_port_bus_type link order dependency

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:51 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > The pcie_port_bus_type must be registered before drivers that depend on it > can be registered. Those drivers include: > > pcied_init()# PCIe native hotplug driver > aer_service_init()

Re: [PATCH v1 6/9] PCI/portdrv: Remove unused PCIE_PORT_SERVICE_VC

2018-03-07 Thread Rafael J. Wysocki
On Wednesday, March 7, 2018 7:13:56 AM CET Bjorn Helgaas wrote: > From: Bjorn Helgaas > > No driver registers for PCIE_PORT_SERVICE_VC, so remove it. > > This removes the VC "service" files from /sys/bus/pci_express/devices, > e.g., :07:00.0:pcie108, :08:04.0:pcie208 (all the files that

Re: [PATCH v5 4/4] sched/fair: update util_est only on util_avg updates

2018-03-07 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 05:01:53PM +, Patrick Bellasi wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 8364771f7301..1bf9a86ebc39 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -3047,6 +3047,29 @@ static inline void cfs_rq_util_change(struct cfs_rq >

  1   2   3   4   5   6   7   8   9   10   >