Re: [PATCH 3/3] RISC-V: Allow booting kernel from any 4KB aligned address

2019-03-18 Thread Mike Rapoport
On Sat, Mar 16, 2019 at 04:55:30AM +0530, Anup Patel wrote: > On Fri, Mar 15, 2019 at 9:52 PM Anup Patel wrote: > > > > On Fri, Mar 15, 2019 at 9:28 PM Mike Rapoport wrote: > > > > > > I still don't get why it is that important to relax alignment of the > > > kernel > > > load address. Provided

Re: [PATCH] tty: atmel_serial: fix a NULL pointer dereference

2019-03-18 Thread Richard Genoud
Le 15/03/2019 à 18:16, Kangjie Lu a écrit : > In case dmaengine_prep_dma_cyclic fails, the fix returns a proper > error code to avoid NULL pointer dereference. > > Signed-off-by: Kangjie Lu > Fixes: 34df42f59a60 ("serial: at91: add rx dma support") Acked-by: Richard Genoud > > --- > V2: simpli

[PATCH v2] mm: Fix __dump_page when mapping->host is not set

2019-03-18 Thread Oscar Salvador
Swap mapping->host is NULL, so let us protect __dump_page() for such cases. Fixes: 1c6fb1d89e73c ("mm: print more information about mapping in __dump_page") Signed-off-by: Oscar Salvador Acked-by: Michal Hocko --- mm/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm

Re: [PATCH 0/2] Unlock 1GB-hugetlb on x86_64

2019-03-18 Thread Oscar Salvador
On Mon, Mar 04, 2019 at 09:51:45AM +0100, Oscar Salvador wrote: > RFC -> V1: > - Split up the patch > - Added Michal's Acked-by > > The RFC version of this patch was discussed here [1], and it did not find any > objection. > I decided to split up the former patch because one of the cha

[PATCH V5 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-18 Thread Anson Huang
i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) inside, add TPM PWM driver support. Signed-off-by: Anson Huang --- Changes since V4: - improve register read/write using bit field operations; - correct some logic issue; - ONLY disable clock when PWM is NOT i

RE: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-18 Thread Anson Huang
Hi,Uwe Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2019年3月15日 17:36 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker..

[PATCH V5 0/5] Add i.MX7ULP EVK PWM backlight support

2019-03-18 Thread Anson Huang
i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support and also add backlight support for MIPI-DSI display. Anson Huang (5): dt-bindings: pwm: Add i.MX TPM PWM binding pwm: Add i.MX TPM PWM driver support A

[PATCH V5 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-18 Thread Anson Huang
Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. Signed-off-by: Anson Huang --- No changes. --- Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/imx-t

[PATCH V5 3/5] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default

2019-03-18 Thread Anson Huang
Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP TPM PWM. Signed-off-by: Anson Huang --- No changes. --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 5586a50..57

[PATCH V5 4/5] ARM: dts: imx7ulp: Add pwm0 support

2019-03-18 Thread Anson Huang
Add i.MX7ULP EVK board PWM0 support. Signed-off-by: Anson Huang --- No changes. --- arch/arm/boot/dts/imx7ulp-evk.dts | 12 arch/arm/boot/dts/imx7ulp.dtsi| 10 ++ 2 files changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7u

[PATCH V5 5/5] ARM: dts: imx7ulp-evk: Add backlight support

2019-03-18 Thread Anson Huang
This patch adds i.MX7ULP EVK board MIPI-DSI backlight support. Signed-off-by: Anson Huang --- No changes. --- arch/arm/boot/dts/imx7ulp-evk.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts index 3f5ea18..f90f2f

Re: [PATCH] spi: spi-fsl-spi: support use of the SPISEL_BOOT signal on MPC8309

2019-03-18 Thread Rasmus Villemoes
ping On 06/03/2019 11.32, Rasmus Villemoes wrote: > The MPC8309 has a dedicated signal, SPISEL_BOOT, usually used as chip > select for the flash device from which the bootloader is loaded. It is > not an ordinary gpio, but is simply controlled via the SPI_CS register > in the system configuration.

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
It fixes the below issue. 1. Large size buffer allocation using cma_alloc successful with unevictable pages. cma_alloc of current kernel will fail due to unevictable pages. Solved the below issue of cma_alloc ---

Re: [PATCH v2 07/45] drivers: tty: serial: 8250_uniphier: use devm_ioremap_resource()

2019-03-18 Thread Masahiro Yamada
On Fri, Mar 15, 2019 at 7:35 AM Enrico Weigelt, metux IT consult wrote: > > Instead of fetching out data from a struct resource for passing > it to devm_ioremap(), directly use devm_ioremap_resource() > > Signed-off-by: Enrico Weigelt, metux IT consult > --- NACK. This patch would break my dr

[PATCH] arm64: ptrace: Add function argument access API

2019-03-18 Thread Masami Hiramatsu
Add regs_get_argument() which returns N th argument of the function call. On arm64, it supports up to 8th argument. Note that this chooses most probably assignment, in some case it can be incorrect (e.g. passing data structure or floating point etc.) This enables ftrace kprobe events to access ker

Re: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-18 Thread Uwe Kleine-König
On Mon, Mar 18, 2019 at 07:41:02AM +, Anson Huang wrote: > Hi,Uwe > > > + val &= ~PWM_IMX_TPM_SC_CMOD; > > > + writel(val, tpm->base + PWM_IMX_TPM_SC); > > > > As this interrupts the output, please only do it if necessary. > > OK, will do it ONLY when it is enabled previously. I think you on

Re: [PATCH V5 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-18 Thread Stefan Agner
On 18.03.2019 08:41, Anson Huang wrote: > Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. > > Signed-off-by: Anson Huang > --- > No changes. > --- > Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19 > +++ > 1 file changed, 19 insertions(+) > c

Re: [PATCH] percpu/module resevation: change resevation size iff X86_VSMP is set

2019-03-18 Thread Eial Czerwacki
Greetings Paul, On 3/15/19 12:19 AM, Paul E. McKenney wrote: > On Thu, Mar 14, 2019 at 10:36:19AM -0700, Tejun Heo wrote: >> On Wed, Mar 13, 2019 at 04:11:55PM -0700, Paul E. McKenney wrote: >>> commit 34f67df09cc0c6bf082a7cfca435373caeeb8d82 >>> Author: Paul E. McKenney >>> Date: Wed Mar 13 16

[PATCH] arm64: dts: mt2712: Remove un-used property for PCIe

2019-03-18 Thread honghui.zhang
From: Honghui Zhang The "num-lanes" property for PCIe is not used, remove it. Signed-off-by: Honghui Zhang --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi i

Re: [PATCH] hostfs: fix mismatch between link_file definition and declaration

2019-03-18 Thread Colin Ian King
On 17/03/2019 23:49, Richard Weinberger wrote: > Am Montag, 18. März 2019, 00:09:09 CET schrieb Colin King: >> From: Colin Ian King >> >> The function link_file declaration in the header file has the order >> of the two arguments (from, to) swapped when compared to the definition >> arguments of (

[PATCH v9] Add basic and clock support for Mediatek MT8183 SoC

2019-03-18 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. Based on v5.1-rc1 and http://lists.infradead.org/pipermail/linux-mediatek/2019-Ma

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Vlastimil Babka
On 3/15/19 11:11 AM, Pankaj Suryawanshi wrote: > > [ cc Aneesh kumar, Anshuman, Hillf, Vlastimil] Can you send a proper patch with changelog explaining the change? I don't know the context of this thread. > From: Pankaj Suryawanshi > Sent: 15 March 2019 11:35:05 > To: Kirill Tkhai; Michal Hocko

[PATCH v9] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-03-18 Thread Erin Lo
From: Ben Ho Add basic chip support for Mediatek 8183, include uart node with correct uart clocks, pwrap device Add clock controller nodes, include topckgen, infracfg, apmixedsys and subsystem. Signed-off-by: Ben Ho Signed-off-by: Erin Lo Signed-off-by: Seiya Wang Signed-off-by: Weiyi Lu Si

Re: [PATCH 2/2] Revert "x86/hpet: Reduce HPET counter read contention"

2019-03-18 Thread Zhenzhong Duan
On 2019/3/15 22:17, Waiman Long wrote: On 03/15/2019 05:25 AM, Peter Zijlstra wrote: On Thu, Mar 14, 2019 at 04:42:12PM +0800, Zhenzhong Duan wrote: This reverts commit f99fd22e4d4bc84880a8a3117311bbf0e3a6a9dc. It's unnecessory after commit "acpi_pm: Fix bootup softlockup due to PMTMR counte

Re: [PATCH 4/6] nvmem: sunxi_sid: Read out data in native format

2019-03-18 Thread Chen-Yu Tsai
On Mon, Mar 18, 2019 at 4:42 PM Maxime Ripard wrote: > > Hi, > > On Mon, Mar 18, 2019 at 03:33:52PM +0800, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > Originally the SID e-fuses were thought to be in big-endian format. > > Later sources show that they are in fact native or little-endian. >

Re: [PATCH] hostfs: fix mismatch between link_file definition and declaration

2019-03-18 Thread Walter Harms
Hi, Colin is obvously right with that. But my guess is that the error occured because the pattern (from, to) is brocken here. Also Maybe the maintainer can fix that. just my 2 cents, re, wh Am 18.03.2019 00:09, schrieb Colin King: > From: Colin Ian King > > The function link_file declarati

Enabling -Wint-in-bool-context

2019-03-18 Thread Masahiro Yamada
Hi Arnd, I saw several commits from you fixing -Wint-in-bool-context warnings. Thanks! I guess we are almost ready to remove KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context) In there any concern about re-enabling this warning? When I asked 0-day bot to test it some days ag

Re: [PATCH] perf pmu: Fix parser error for uncore event alias

2019-03-18 Thread Jiri Olsa
On Fri, Mar 15, 2019 at 11:00:14AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > Perf fails to parse uncore event alias, for example: > > #perf stat -e unc_m_clockticks -a --no-merge sleep 1 > event syntax error: 'unc_m_clockticks' >\___ parser error >

Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
Hello shrink_page_list() returns , number of pages reclaimed, when pages is unevictable it returns VM_BUG_ON_PAGE(PageLRU(page) || PageUnevicatble(page),page); We can add the unevictable pages in reclaim list in shrink_page_list(), return total number of reclaim pages including unevictable pag

Re: [PATCH v2 0/5] phy: tegra: xusb: Add Tegra186 support

2019-03-18 Thread Kishon Vijay Abraham I
Hi Thierry, On 21/02/19 9:16 PM, Thierry Reding wrote: > From: Thierry Reding > > This series adds support for Tegra186 to the XUSB pad controller driver. > Patch 1 extends the device tree bindings with support for Tegra186 while > patches 2-4 are preparatory work for the final patch 5 that adds

[PATCH v2 00/19] locking/lockdep: Add comments and make some code

2019-03-18 Thread Yuyang Du
Hi Peter, I recently looked at some system hang issues. While at it, I tried to use and understand lockdep. These patches are made as a result. I believe they should have helped me, so hopefully they do for others as well. Change from v1: - Rebased the patch series. - Added more no-functional-cha

[PATCH v2 04/19] locking/lockdep: Remove useless conditional macro

2019-03-18 Thread Yuyang Du
Since #defined(CONFIG_PROVE_LOCKING) is used in the scope of #ifdef CONFIG_PROVE_LOCKING, it can be removed. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index d

[PATCH v2 02/19] locking/lockdep: Add description and explanation in lockdep design doc

2019-03-18 Thread Yuyang Du
More words are added to lockdep design document regarding key concepts, which helps people understand the design as well as read the reports. Signed-off-by: Yuyang Du --- Documentation/locking/lockdep-design.txt | 89 +++- 1 file changed, 64 insertions(+), 25 deletion

[PATCH v2 09/19] locking/lockdep: Define INITIAL_CHAIN_KEY for chain keys to start with

2019-03-18 Thread Yuyang Du
Chain keys are computed using Jenkins hash function, which needs an initial hash to start with. Dedicate a macro to make this clear and configurable. A later patch changes this initial chain key. Signed-off-by: Yuyang Du --- include/linux/lockdep.h | 1 + init/init_task.c | 2 +- kern

[PATCH v2 05/19] locking/lockdep: Adjust indents for function definitions

2019-03-18 Thread Yuyang Du
Being paranoid to see function arguments lines are aligned. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 63 +++- 1 file changed, 30 insertions(+), 33 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index dea49

[PATCH v2 12/19] locking/lockdep: Update comment

2019-03-18 Thread Yuyang Du
An out-of-nowhere comment is removed. While at it, add more explanatory comments. Such a trivial patch! Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index

[PATCH v2 01/19] locking/lockdep: Change all print_*() return type to void

2019-03-18 Thread Yuyang Du
Since none of the print_*() function's return value is necessary, change their return type to void. No functional change. In cases where an invariable return value is used, this change slightly improves readability, i.e.: print_x(); return 0; is definitely better than: r

[PATCH v2 07/19] locking/lockdep: Update obsolete struct field description

2019-03-18 Thread Yuyang Du
The lock_chain struct definition has outdated comment, update it. Signed-off-by: Yuyang Du --- include/linux/lockdep.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 79c3873..1258a62 100644 --- a/include/linux/lock

[PATCH v2 15/19] locking/lockdep: Remove __cq_empty()

2019-03-18 Thread Yuyang Du
__cq_empty() can be embeded in __cq_dequeue(), removing it. We get slightly simpler code. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/kernel/locking/lockdep.c b/k

[PATCH v2 17/19] locking/lockdep: Combine check_noncircular and check_redundant

2019-03-18 Thread Yuyang Du
These two functions are essentially duplicates, combine them. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 29 ++--- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index

[PATCH v2 18/19] locking/lockdep: Update comments on dependency search

2019-03-18 Thread Yuyang Du
The breadth-first search is implemented as flat-out non-recursive now, but the comments are still describing it as recursive, update the comments in that regard. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) d

[PATCH v2 11/19] locking/lockdep: Remove unused argument in validate_chain()

2019-03-18 Thread Yuyang Du
Its lockdep_map argument is not used, remove it. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index e8871f2..dcff644 100644 --- a/kernel/locking/lockdep

[PATCH v2 08/19] locking/lockdep: Use lockdep_init_task for task initiation consistently

2019-03-18 Thread Yuyang Du
Despite that there is a lockdep_init_task() which does nothing, lockdep initiates tasks by assigning lockdep fields and does so inconsistently. Fix this by using lockdep_init_task(). Signed-off-by: Yuyang Du --- include/linux/lockdep.h | 7 ++- init/init_task.c | 2 ++ kernel/fork

[PATCH v2 10/19] locking/lockdep: Change the range of class_idx in held_lock struct

2019-03-18 Thread Yuyang Du
held_lock->class_idx is used to point to the class of the held lock. The index is shifted by 1 to make index 0 mean no class, which results in class index shifting back and forth but is not worth doing so. The reason is: (1) there will be no "no-class" held_lock to begin with, and (2) index 0 seem

[PATCH v2 06/19] locking/lockdep: Print the right depth for chain key colission

2019-03-18 Thread Yuyang Du
Since chains are separated by irq context, so when printing a chain the depth should be consistent with it. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 3

[PATCH v2 14/19] locking/lockdep: Change type of the element field in circular_queue

2019-03-18 Thread Yuyang Du
The element field is an array in struct circular_queue to keep track of locks in the search. Making it the same type as the locks avoids type cast. Also fix a typo. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 23 +-- 1 file changed, 13 inse

[PATCH v2 19/19] locking/lockdep: Change if to else-if when checking bfs errors

2019-03-18 Thread Yuyang Du
After BFS searching, we check whether there is an error. These checks are exclusive, so we can use "else if" instead of "if", which results in a bit optimized code. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 18 +- 1 file changed, 9 insertions(

[PATCH v2 16/19] locking/lockdep: Use function pointer to avoid constant checks

2019-03-18 Thread Yuyang Du
In search of a dependency in the lock graph, there is contant check for forward or backward search. Use a function pointer to avoid that check. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 27 +++ 1 file changed, 15 insertions(+), 12 dele

[PATCH v2 13/19] locking/lockdep: Remove unnecessary function pointer argument

2019-03-18 Thread Yuyang Du
check_prev_add() always has save_trace() as an input argument, which is unnecessary. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 250ba64..de731b8 10

Re: [PATCH 4/6] nvmem: sunxi_sid: Read out data in native format

2019-03-18 Thread Maxime Ripard
On Mon, Mar 18, 2019 at 04:45:19PM +0800, Chen-Yu Tsai wrote: > On Mon, Mar 18, 2019 at 4:42 PM Maxime Ripard > wrote: > > > > Hi, > > > > On Mon, Mar 18, 2019 at 03:33:52PM +0800, Chen-Yu Tsai wrote: > > > From: Chen-Yu Tsai > > > > > > Originally the SID e-fuses were thought to be in big-endia

[PATCH v2 03/19] locking/lockdep: Adjust lock usage bit character checks

2019-03-18 Thread Yuyang Du
The lock usage bit characters are defined and determined with tricks. Use a macro and add some explanation to make it a bit clearer. Then adjust the logic to check the usage, which optimizes the code a bit. No functional change. Signed-off-by: Yuyang Du --- kernel/locking/lockdep.c |

Re: [PATCH] x86/vdso: include generic __lshrdi3 in 32-bit vDSO

2019-03-18 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 04:18:31PM -0700, h...@zytor.com wrote: > Note: it is also probably no reason to use -Os/-Oz for the vdso. Is anyone actually using -Os and CONFIG_CC_OPTIMIZE_FOR_SIZE ? I've been staring at compiler output a lot lately and -Os really generates atrocious crap. That is, sho

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-18 Thread Yan, Zheng
On Tue, Mar 12, 2019 at 10:22 PM Luis Henriques wrote: > > The CephFS kernel client does not enforce quotas set in a directory that > isn't visible from the mount point. For example, given the path > '/dir1/dir2', if quotas are set in 'dir1' and the filesystem is mounted with > > mount -t ceph

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-18 Thread Gregory Farnum
On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote: > After reading the code carefully. I feel a little uncomfortable with > the "lookup_ino" in get_quota_realm. how about populating directories > above the 'mount subdir' during mounting (similar to cifs_get_root ). Isn't that going to be a proble

Re: Enabling -Wint-in-bool-context

2019-03-18 Thread Arnd Bergmann
On Mon, Mar 18, 2019 at 9:46 AM Masahiro Yamada wrote: > > Hi Arnd, > > I saw several commits from you > fixing -Wint-in-bool-context warnings. > Thanks! > > > I guess we are almost ready to remove > > KBUILD_CFLAGS += $(call cc-disable-warning, int-in-bool-context) > > > In there any concern ab

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
Hello shrink_page_list() returns , number of pages reclaimed, when pages is unevictable it returns VM_BUG_ON_PAGE(PageLRU(page) || PageUnevicatble(page),page); We can add the unevictable pages in reclaim list in shrink_page_list(), return total number of reclaim pages including unevictable p

Re: [PATCH 07/12] platform/x86: intel_cht_int33fe: Provide software node for all components

2019-03-18 Thread Heikki Krogerus
On Sun, Mar 17, 2019 at 10:36:03PM +0200, Andy Shevchenko wrote: > On Fri, Mar 15, 2019 at 6:58 PM Heikki Krogerus > wrote: > > > > Software nodes provide two features that we will need later. > > 1) Software nodes can have references to other software nodes. > > 2) Software nodes can exist before

Re: [PATCH 1/5] reset: add acquired/released state for exclusive reset controls

2019-03-18 Thread Thierry Reding
On Thu, Feb 21, 2019 at 04:28:58PM +0100, Thierry Reding wrote: > On Thu, Feb 21, 2019 at 04:25:53PM +0100, Thierry Reding wrote: > > From: Philipp Zabel > > > > There are cases where a driver needs explicit control over a reset line > > that is exclusively conneted to its device, but this contro

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-18 Thread Yan, Zheng
On Mon, Mar 18, 2019 at 5:06 PM Gregory Farnum wrote: > > On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote: > > After reading the code carefully. I feel a little uncomfortable with > > the "lookup_ino" in get_quota_realm. how about populating directories > > above the 'mount subdir' during mount

Re: [PATCH] lib: Add shared copy of __lshrti3 from libgcc

2019-03-18 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 03:06:37PM -0700, Nick Desaulniers wrote: > On Fri, Mar 15, 2019 at 1:54 PM Matthias Kaehlcke wrote: > > > > The compiler may emit calls to __lshrti3 from the compiler runtime > > library, which results in undefined references: > > > > arch/x86/kvm/x86.o: In function `mul_u

Re: [PATCH v2 1/4] perf: Add a 'percore' event qualifier

2019-03-18 Thread Jiri Olsa
On Sun, Mar 17, 2019 at 12:34:25AM +0800, Jin Yao wrote: SNIP > static bool config_term_shrinked; > @@ -950,6 +951,7 @@ config_term_avail(int term_type, struct > parse_events_error *err) > case PARSE_EVENTS__TERM_TYPE_CONFIG2: > case PARSE_EVENTS__TERM_TYPE_NAME: > case PARSE_

Re: [PATCH v1 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-03-18 Thread Pierre Yves MORDRET
Hi Lucas, I'm going to resend a new version on this DT. I have to move this region elsewhere. However I didn't get your feedback about statement I did. Would it be possible to have your feelings ? Thanks :) On 2/25/19 4:57 PM, Pierre Yves MORDRET wrote: > Hi again, > > On 2/15/19 5:14 PM, Luc

Re: [PATCH v2 0/4] perf: Support a new 'percore' event qualifier

2019-03-18 Thread Jiri Olsa
On Sun, Mar 17, 2019 at 12:34:24AM +0800, Jin Yao wrote: > The 'percore' event qualifier which sums up the event counts for both > hardware threads in a core. For example, > > perf stat -e cpu/event=0,umask=0x3,percore=1/,cpu/event=0,umask=0x3/ > > In this example, we count the event 'ref-cycles'

Re: [PATCH v9 0/2] PWM support for HiFive Unleashed

2019-03-18 Thread Andreas Schwab
On Mär 15 2019, Yash Shah wrote: > Use the open-source FSBL from: > https://github.com/sifive/freedom-u540-c000-bootloader > > Modify the fsbl/ux00_fsbl.dts file and re-build the fsbl.bin That doesn't even compile. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 01

[PATCH 5.0 01/43] connector: fix unsafe usage of ->real_parent

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Li RongQing [ Upstream commit 6d2b0f02f5a07a4bf02e4cbc90d7eaa85cac2986 ] proc_exit_connector() uses ->real_parent lockless. This is not safe that its parent can go away at any moment, so use RC

[PATCH 5.0 19/43] tcp: do not report TCP_CM_INQ of 0 for closed connections

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Soheil Hassas Yeganeh [ Upstream commit 6466e715651f9f358e60c5ea4880e4731325827f ] Returning 0 as inq to userspace indicates there is no more data to read, and the application needs to wait for

[PATCH 5.0 12/43] net/x25: fix use-after-free in x25_device_event()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 95d6ebd53c79522bf9502dbc7e89e0d63f94dae4 ] In case of failure x25_connect() does a x25_neigh_put(x25->neighbour) but forgets to clear x25->neighbour pointer, thus

[PATCH 5.0 15/43] ravb: Decrease TxFIFO depth of Q3 and Q2 to one

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Masaru Nagai [ Upstream commit ae9819e339b451da7a86ab6fe38ecfcb6814e78a ] Hardware has the CBS (Credit Based Shaper) which affects only Q3 and Q2. When updating the CBS settings, even if the dr

[PATCH 5.0 13/43] net/x25: reset state in x25_connect()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ee74d0bd4325efb41e38affe5955f920ed973f23 ] In case x25_connect() fails and frees the socket neighbour, we also need to undo the change done to x25->state. Before

[PATCH 5.0 16/43] route: set the deleted fnhe fnhe_daddr to 0 in ip_del_fnhe to fix a race

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit ee60ad219f5c7c4fb2f047f88037770063ef785f ] The race occurs in __mkroute_output() when 2 threads lookup a dst: CPU A CPU B find_exception()

[PATCH 5.0 14/43] pptp: dst_release sk_dst_cache in pptp_sock_destruct

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 9417d81f4f8adfe20a12dd1fadf73a618cbd945d ] sk_setup_caps() is called to set sk->sk_dst_cache in pptp_connect, so we have to dst_release(sk->sk_dst_cache) in pptp_sock

[PATCH 5.0 18/43] sctp: remove sched init from sctp_stream_init

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 2e990dfd13974d9eae493006f42ffb48707970ef ] syzbot reported a NULL-ptr deref caused by that sched->init() in sctp_stream_init() set stream->rr_next = NULL. kasan: G

[PATCH 5.0 11/43] net: sit: fix UBSAN Undefined behaviour in check_6rd

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Miaohe Lin [ Upstream commit a843dc4ebaecd15fca1f4d35a97210f72ea1473b ] In func check_6rd,tunnel->ip6rd.relay_prefixlen may equal to 32,so UBSAN complain about it. UBSAN: Undefined behaviour i

[PATCH 5.0 02/43] fou, fou6: avoid uninit-value in gue_err() and gue6_err()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5355ed6388e23b69a00d48398a68d022135e6486 ] My prior commit missed the fact that these functions were using udp_hdr() (aka skb_transport_header()) to get access to

[PATCH 5.0 17/43] rxrpc: Fix client call queueing, waiting for channel

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: David Howells [ Upstream commit 69ffaebb90369ce08657b5aea4896777b9d6e8fc ] rxrpc_get_client_conn() adds a new call to the front of the waiting_calls queue if the connection it's going to use al

[PATCH 5.0 28/43] net: hns3: fix to stop multiple HNS reset due to the AER changes

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Shiju Jose [ Upstream commit 69b51bbb03f73e04c486f79d1556b2d9becf4dbc ] The commit bfcb79fca19d ("PCI/ERR: Run error recovery callbacks for all affected devices") affected the non-fatal error r

[PATCH 5.0 20/43] tcp: Dont access TCP_SKB_CB before initializing it

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit f2feaefdabb0a6253aa020f65e7388f07a9ed47c ] Since commit eeea10b83a13 ("tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb()"), tcp_vX_fill_cb is only called after tc

[PATCH 5.0 22/43] vxlan: Fix GRO cells race condition between receive and link delete

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit ad6c9986bcb627c7c22b8f9e9a934becc27df87c ] If we receive a packet while deleting a VXLAN device, there's a chance vxlan_rcv() is called at the same time as vxla

[PATCH 5.0 23/43] vxlan: test dev->flags & IFF_UP before calling gro_cells_receive()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 59cbf56fcd98ba2a715b6e97c4e43f773f956393 ] Same reasons than the ones explained in commit 4179cb5a4c92 ("vxlan: test dev->flags & IFF_UP before calling netif_rx()

[PATCH 5.0 34/43] ALSA: firewire-motu: fix construction of PCM frame for capture direction

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit f97a0944a72b26a2bece72516294e112a890f98a upstream. In data blocks of common isochronous packet for MOTU devices, PCM frames are multiplexed in a shape of '24 bit * 4 Aud

[PATCH 5.0 36/43] ALSA: hda - add more quirks for HP Z2 G4 and HP Z240

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jaroslav Kysela commit 167897f4b32c2bc18b3b6183029a33fb420a114e upstream. Apply the HP_MIC_NO_PRESENCE fixups for the more HP Z2 G4 and HP Z240 models. Reported-by: Jeff Burrell Signed-off-by

[PATCH 5.0 35/43] ALSA: hda: Extend i915 component bind timeout

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit cfc35f9c128cea8fce6a5513b1de50d36f3b209f upstream. I set 10 seconds for the timeout of the i915 audio component binding with a hope that recent machines are fast enough to h

[PATCH 5.0 31/43] f2fs: wait on atomic writes to count F2FS_CP_WB_DATA

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 31867b23d7d1ee3535136c6a410a6cf56f666bfc upstream. Otherwise, we can get wrong counts incurring checkpoint hang. IO_W (CP: -24, Data: 24, Flush: ( 001), Discard

[PATCH 5.0 37/43] ALSA: hda/realtek: Enable audio jacks of ASUS UX362FA with ALC294

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jian-Hong Pan commit 8bb37a2a4d7c02affef554f5dc05f6d2e39c31f9 upstream. The ASUS UX362FA with ALC294 cannot detect the headset MIC and outputs through the internal speaker and the headphone. T

[PATCH 5.0 30/43] net: sched: flower: insert new filter to idr after setting its mask

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Buslov [ Upstream commit ecb3dea400d3beaf611ce76ac7a51d4230492cf2 ] When adding new filter to flower classifier, fl_change() inserts it to handle_idr before initializing filter extensions

[PATCH 5.0 24/43] net/mlx4_core: Fix reset flow when in command polling mode

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit e15ce4b8d11227007577e6dc1364d288b8874fbe ] As part of unloading a device, the driver switches from FW command event mode to FW command polling mode. Part of

[PATCH 5.0 27/43] net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn [ Upstream commit 7cbbee050c959f41b512599bafd99685f419ce26 ] By default, the switch driver is expected to configure CPU and DSA ports to their maximum speed. For the 6341 and 6390 f

[PATCH 5.0 03/43] gro_cells: make sure device is up in gro_cells_receive()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2a5ff07a0eb945f291e361aa6f6becca8340ba46 ] We keep receiving syzbot reports [1] that show that tunnels do not play the rcu/IFF_UP rules properly. At device disma

[PATCH 5.0 33/43] ALSA: bebob: use more identical mod_alias for Saffire Pro 10 I/O against Liquid Saffire 56

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Sakamoto commit 7dc661bd8d3261053b69e4e2d0050cd1ee540fc1 upstream. ALSA bebob driver has an entry for Focusrite Saffire Pro 10 I/O. The entry matches vendor_id in root directory and mod

[PATCH 5.0 29/43] vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: "Adalbert Lazăr" [ Upstream commit 4c404ce23358d5d8fbdeb7a6021a9b33d3c3c167 ] Previous to commit 22b5c0b63f32 ("vsock/virtio: fix kernel panic after device hot-unplug"), vsock_core_init() was c

[PATCH 5.0 26/43] net/mlx4_core: Fix qp mtt size calculation

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit 8511a653e9250ef36b95803c375a7be0e2edb628 ] Calculation of qp mtt size (in function mlx4_RST2INIT_wrapper) ultimately depends on function roundup_pow_of_two.

[PATCH REBASED 4/4] mm: Generalize putback scan functions

2019-03-18 Thread Kirill Tkhai
This combines two similar functions move_active_pages_to_lru() and putback_inactive_pages() into single move_pages_to_lru(). This remove duplicate code and makes object file size smaller. Before: textdata bss dec hex filename 570824732 128 61942f1f6 mm/vmscan.o A

[PATCH 5.0 41/43] perf/x86/intel: Make dev_attr_allow_tsx_force_abort static

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: kbuild test robot commit c634dc6bdedeb0b2c750fc611612618a85639ab2 upstream. Fixes: 400816f60c54 ("perf/x86/intel: Implement support for TSX Force Abort") Signed-off-by: kbuild test robot Signe

[PATCH 5.0 04/43] ipv4/route: fail early when inet dev is missing

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 22c74764aa2943ecdf9f07c900d8a9c8ba6c9265 ] If a non local multicast packet reaches ip_route_input_rcu() while the ingress device IPv4 private data (in_dev) is NULL

[PATCH REBASED 2/4] mm: Move nr_deactivate accounting to shrink_active_list()

2019-03-18 Thread Kirill Tkhai
We know which LRU is not active. Signed-off-by: Kirill Tkhai Reviewed-by: Daniel Jordan --- mm/vmscan.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index e610737b36df..d2adabe4457d 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2040

[PATCH 5.0 06/43] lan743x: Fix RX Kernel Panic

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Whitehead [ Upstream commit dd9d9f5907bb475f8b1796c47d4ecc7fb9b72136 ] It has been noticed that running the speed test at www.speedtest.net occasionally causes a kernel panic. Investigat

[PATCH 4.20 02/52] gro_cells: make sure device is up in gro_cells_receive()

2019-03-18 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2a5ff07a0eb945f291e361aa6f6becca8340ba46 ] We keep receiving syzbot reports [1] that show that tunnels do not play the rcu/IFF_UP rules properly. At device dism

[PATCH 5.0 07/43] lan743x: Fix TX Stall Issue

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Whitehead [ Upstream commit deb6bfabdbb634e91f36a4e9cb00a7137d72d886 ] It has been observed that tx queue may stall while downloading from certain web sites (example www.speedtest.net) T

[PATCH 4.20 03/52] ipv4/route: fail early when inet dev is missing

2019-03-18 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 22c74764aa2943ecdf9f07c900d8a9c8ba6c9265 ] If a non local multicast packet reaches ip_route_input_rcu() while the ingress device IPv4 private data (in_dev) is NUL

[PATCH 5.0 00/43] 5.0.3-stable review

2019-03-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.0.3 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 20 08:36:53 UTC 2019. Anything received

  1   2   3   4   5   6   7   8   9   10   >