Re: [PATCH] pstore: Add boot loader log messages support

2019-02-18 Thread Yue Hu
On Fri, 15 Feb 2019 12:01:30 +0800 Yue Hu wrote: > On Tue, 12 Feb 2019 12:43:36 -0800 > Kees Cook wrote: > > > On Fri, Feb 1, 2019 at 12:30 AM Yue Hu wrote: > > > > > > From bac8bbcd6081b967422dc82074a41098a0cf5180 Mon Sep 17 00:00:00 2001 > > > From: Yue Hu > > > Date: Tue, 29 Jan 2019 11:

Re: [Xen-devel] [PATCH v6 2/2] xen/blkback: rework connect_ring() to avoid inconsistent xenstore 'ring-page-order' set by malicious blkfront

2019-02-18 Thread Dongli Zhang
Hi Konrad, On 1/17/19 11:29 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Jan 15, 2019 at 09:20:36AM +0100, Roger Pau Monné wrote: >> On Tue, Jan 15, 2019 at 12:41:44AM +0800, Dongli Zhang wrote: >>> The xenstore 'ring-page-order' is used globally for each blkback queue and >>> therefore should be re

Re: Crash in list_add_leaf_cfs_rq due to bad tmp_alone_branch

2019-02-18 Thread Vincent Guittot
Hi Gabriel, On Sat, 16 Feb 2019 at 00:06, Gabriel Hartmann wrote: > > Hi Vincent, > > Apologies for the slow turn around on this. We have tried both approaches to > fixing the bug now. In both cases for a particularly long duration CPU > intensive workload we are seeing ~33% slowdown. This w

FW: [PATCH] drivers: mux: Generic register bitfield-based multiplexer driver

2019-02-18 Thread Pankaj Bansal
Cc: linux-kernel@vger.kernel.org > -Original Message- > From: Pankaj Bansal [mailto:pankaj.ban...@nxp.com] > Sent: Monday, 18 February, 2019 11:10 AM > To: Leo Li ; Peter Rosin > Cc: Pankaj Bansal > Subject: [PATCH] drivers: mux: Generic register bitfield-based multiplexer > driver > >

Re: [PATCH v3 0/9] device connection: Add support for device graphs

2019-02-18 Thread Greg Kroah-Hartman
On Fri, Feb 15, 2019 at 02:47:15PM +0200, Heikki Krogerus wrote: > Hi Greg, > > On Thu, Feb 14, 2019 at 11:10:44AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 13, 2019 at 10:45:48AM +0300, Heikki Krogerus wrote: > > > Hi, > > > > > > This is the third version of my proposal to add device gra

Re: [PATCH v3 3/6] mm: Add build time sanity check for struct page size

2019-02-18 Thread Baoquan He
On 02/17/19 at 08:50am, Kees Cook wrote: > On Sat, Feb 16, 2019 at 6:02 AM Baoquan He wrote: > > > > Size of struct page might be larger than 64 bytes if debug options > > enabled, or fields added for debugging intentionally. Yet an upper > > limit need be added at build time to trigger an alert i

Re: [PATCH 2/2] x86: disable CONFIG_GENERIC_HWEIGHT and remove __HAVE_ARCH_SW_HWEIGHT

2019-02-18 Thread Borislav Petkov
On Mon, Feb 18, 2019 at 02:59:31PM +0900, Masahiro Yamada wrote: > arch/x86/include/asm/arch_hweight.h uses __sw_hweight{32,64} as > alternatives, but they are implemented in arch/x86/lib/hweight.S > > x86 does not rely on the generic C implementation lib/hweight.c > at all, so CONFIG_GENERIC_HWEI

[PATCH] binder: reduce mmap_sem write-side lock

2019-02-18 Thread Minchan Kim
binder has used write-side mmap_sem semaphore to release memory mapped at address space of the process. However, right lock to release pages is down_read, not down_write because page table lock already protects the race for parallel freeing. Please do not use mmap_sem write-side lock which is well

Re: [PATCH][V3] regulator: axp20x: remove a redundant null check on rdev

2019-02-18 Thread Dan Carpenter
On Fri, Feb 15, 2019 at 09:45:54AM +, Colin King wrote: > From: Colin Ian King > > Currently rdev is dereferenced when assigning desc before rdev is null > checked, this is leading to static analysis warnings. However, rdev > can never be null, so the null check is redundant and can be remov

Re: [PATCH v4 33/37] ARM: davinci: cp-intc: use readl/writel_relaxed()

2019-02-18 Thread Bartosz Golaszewski
niedz., 17 lut 2019 o 11:01 David Lechner napisał(a): > > On 2/14/19 8:52 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Raplace all calls to __raw_readl() & __raw_writel() with readl_relaxed() > > s/Raplace/Replace/ > > > and writel_relaxed() respectively. It's safe to do a

Re: [PATCH 2/2] RTL8153-BD is used in Dell DA300 type-C dongle. It should be added to the whitelist of devices to activate MAC address pass through.

2019-02-18 Thread Oliver Neukum
On Mo, 2019-02-18 at 11:48 +0800, David Chen wrote: > From: David Chen > > Per confirming with Realtek all devices containing RTL8153-BD should > activate MAC pass through and there won't use pass through bit on efuse > like in RTL8153-AD. > > Signed-off-by: David Chen > --- > drivers/net/usb/

Re: [PATCH -next] ASoC: samsung: i2s: Fix return value check in i2s_create_secondary_device()

2019-02-18 Thread Krzysztof Kozlowski
On Sat, 16 Feb 2019 at 02:07, Wei Yongjun wrote: > > In case of error, the function platform_device_register_simple() returns > ERR_PTR() and never returns NULL. The NULL test in the return value > check should be replaced with IS_ERR(). > > Fixes: 7196c64c7d0c ("ASoC: samsung: i2s: Restore suppor

Re: [v6] coccinelle: semantic code search for missing put_device()

2019-02-18 Thread Markus Elfring
>>> Which data element should not get reassigned here (before a corresponding >>> null pointer check)? >>> >> >> Thank you for your comments. >> We did some experiments: >> +id = of_find_device_by_node@p1(x) >> +... when != e = id >> ... >> Or: >> ... >> + ... when != id = e >> >> The number of iss

Re: [PATCH] mm: Fix the pgtable leak

2019-02-18 Thread Minchan Kim
On Thu, Feb 14, 2019 at 04:23:52PM +0900, Minchan Kim wrote: > On Wed, Feb 13, 2019 at 02:36:24PM +0100, Greg KH wrote: > > On Wed, Feb 13, 2019 at 08:29:00PM +0900, Minchan Kim wrote: > > > [1] was backported to v4.9 stable tree but it introduces pgtable > > > memory leak because with fault retria

Re: [PATCH v2 4/4] mm: Generalize putback scan functions

2019-02-18 Thread Kirill Tkhai
On 16.02.2019 01:13, Daniel Jordan wrote: > On Fri, Feb 15, 2019 at 10:01:05PM +, Kirill Tkhai wrote: >> On 15.02.2019 23:39, Daniel Jordan wrote: >>> On Thu, Feb 14, 2019 at 01:35:37PM +0300, Kirill Tkhai wrote: +static unsigned noinline_for_stack move_pages_to_lru(struct lruvec

[PATCH v3 0/4] mm: Generalize putback functions

2019-02-18 Thread Kirill Tkhai
Functions putback_inactive_pages() and move_active_pages_to_lru() are almost similar, so this patchset merges them in only function. v3: Replace list_del_init() with list_del() v2.5: Update comment v2: Fix tracing. Return VM_BUG_ON() check on the old place. Improve spelling. --- Kirill Tkhai

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

2019-02-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 84542004a277..8d7d55e71511 100644 --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -2040

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

2019-02-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 v3 3/4] mm: Remove pages_to_free argument of move_active_pages_to_lru()

2019-02-18 Thread Kirill Tkhai
We may use input argument list as output argument too. This makes the function more similar to putback_inactive_pages(). Signed-off-by: Kirill Tkhai Reviewed-by: Daniel Jordan v2: Fix comment spelling. --- mm/vmscan.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-)

[PATCH v3 1/4] mm: Move recent_rotated pages calculation to shrink_inactive_list()

2019-02-18 Thread Kirill Tkhai
The patch moves the calculation from putback_inactive_pages() to shrink_inactive_list(). This makes putback_inactive_pages() looking more similar to move_active_pages_to_lru(). To do that, we account activated pages in reclaim_stat::nr_activate. Since a page may change its LRU type from anon to fi

Re: [PATCH 2/2] RTL8153-BD is used in Dell DA300 type-C dongle. It should be added to the whitelist of devices to activate MAC address pass through.

2019-02-18 Thread David Chen
Hi Oliver, Thanks for reviewing. I have made some mistake, will correct it and resend. Thanks and Regards, -David > Oliver Neukum 於 2019年2月18日 下午4:04 寫道: > >> On Mo, 2019-02-18 at 11:48 +0800, David Chen wrote: >> From: David Chen >> >> Per confirming with Realtek all devices containing RTL

Re: [PATCH] ASoC: samsung: i2s: Prevent potential NULL platform data dereference

2019-02-18 Thread Krzysztof Kozlowski
On Thu, 14 Feb 2019 at 16:58, Sylwester Nawrocki wrote: > > When np is NULL i2s_pdata could also be NULL but i2s_pdata is now being > dereferenced without proper check. Fix this and shorten the error message > so we don't exceed 80 characters limit. > > Reported-by: Dan Carpenter > Signed-off-by:

Re: [PATCH] kbuild: Disable extra debugging info in .s output

2019-02-18 Thread Borislav Petkov
On Sun, Feb 10, 2019 at 01:39:23PM +0100, Borislav Petkov wrote: > Please attach the diff or send it from another mail server. So you couldn't be bothered to send me an applicable version so I went and typed it in by hand. Thanks. ;-\ Anyway, this variant works too, pls queue it. Acked-by: Boris

Re: [PATCH] kvm: vmx: Fix entry nubmer check for add_atomic_switch_msr()

2019-02-18 Thread linux.intel.com
On Fri, 2019-02-15 at 11:46 -0500, Konrad Rzeszutek Wilk wrote: > On Thu, Feb 14, 2019 at 12:08:58PM +0800, Xiaoyao Li wrote: > > Commit ca83b4a7f2d068da79a0 ("x86/KVM/VMX: Add find_msr() helper function") > > introduces the helper function find_msr(), which returns -ENOENT when > > not find the ms

Re: [PATCH v3 4/6] x86/mm/KASLR: Fix the wrong calculation of memory region initial size

2019-02-18 Thread Baoquan He
On 02/17/19 at 08:53am, Kees Cook wrote: > On Sat, Feb 16, 2019 at 6:03 AM Baoquan He wrote: > > > > In memory region KASLR, __PHYSICAL_MASK_SHIFT is taken to calculate > > the initial size of the direct mapping region. This is correct in > > the old code where __PHYSICAL_MASK_SHIFT was equal to M

[PATCH -next] drm/radeon: remove set but not used variable 'vbi_time_out'

2019-02-18 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/radeon/si_dpm.c: In function 'si_program_response_times': drivers/gpu/drm/radeon/si_dpm.c:3640:29: warning: variable 'backbias_response_time' set but not used [-Wunused-but-set-variable] It never used since introduction. Signed-off-

Re: [PATCH] binder: reduce mmap_sem write-side lock

2019-02-18 Thread Greg KH
On Mon, Feb 18, 2019 at 05:11:45PM +0900, Minchan Kim wrote: > binder has used write-side mmap_sem semaphore to release memory > mapped at address space of the process. However, right lock to > release pages is down_read, not down_write because page table lock > already protects the race for parall

Re: [PATCH 1/2] ASoC: samsung: i2s: Fix the secondary platform device registration

2019-02-18 Thread Krzysztof Kozlowski
On Fri, 15 Feb 2019 at 15:48, Sylwester Nawrocki wrote: > > This fixes unregistration of the secondary platform device so all > resources are properly released. The test for NULL priv->pdev_sec > is not necessary and it is removed. > > Signed-off-by: Sylwester Nawrocki > --- > This patch is based

Re: [PATCH v3] usb: chipidea: Grab the (legacy) USB PHY by phandle first

2019-02-18 Thread Paul Kocialkowski
Hi, On Mon, 2019-02-18 at 03:04 +, Peter Chen wrote: > > According to the chipidea driver bindings, the USB PHY is specified via the > > "phys" > > phandle node. However, this only takes effect for USB PHYs that use the > > common > > PHY framework. For legacy USB PHYs, a simple lookup based

Re: [PATCH] mm: Fix the pgtable leak

2019-02-18 Thread Greg KH
On Mon, Feb 18, 2019 at 05:20:26PM +0900, Minchan Kim wrote: > On Thu, Feb 14, 2019 at 04:23:52PM +0900, Minchan Kim wrote: > > On Wed, Feb 13, 2019 at 02:36:24PM +0100, Greg KH wrote: > > > On Wed, Feb 13, 2019 at 08:29:00PM +0900, Minchan Kim wrote: > > > > [1] was backported to v4.9 stable tree

mremap vs sysctl_max_map_count

2019-02-18 Thread Oscar Salvador
Hi all, I would like to bring up a topic that comes from an issue a customer of ours is facing with the mremap syscall + hitting the max_map_count threshold: When passing the MREMAP_FIXED flag, mremap() calls mremap_to() which does the following: 1) it unmaps the region where we want to put th

Re: 5.0.0-rc6+: Oops at boot: RIP: 0010:__memmove+0x81/0x1a0 / vt_do_kdgkb_ioctl+0x34d/0x440 (race at reenter?)

2019-02-18 Thread Greg Kroah-Hartman
On Sun, Feb 17, 2019 at 11:39:57PM +, Sergei Trofimovich wrote: > [ Copying as is from https://bugzilla.kernel.org/show_bug.cgi?id=202605 > and sending to LKML. Greg, Jiri, can you clarify mailing > list im MAINTAINERS as well? > https://github.com/torvalds/linux/blob/master/MAINTAIN

Re: Firmware files for QCA BT chip WCN3990.

2019-02-18 Thread Nicolas Dechesne
hi Balakrishna, On Mon, Feb 18, 2019 at 7:13 AM Balakrishna Godavarthi wrote: > > > Hi, > > The following changes since commit > a9c22d3d8af87bd39a078ec6c846b0674dd2ca38: > >qca: Add firmware files for BT chip wcn3990. (2019-02-15 16:07:56 > +0530) > > are available in the Git repository at:

Re: [PATCH] KVM: arm/arm64: fix spelling mistake: "auxilary" -> "auxiliary"

2019-02-18 Thread Marc Zyngier
On Sun, 17 Feb 2019 22:36:26 + Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a kvm_err error message. Fix it. > > Signed-off-by: Colin Ian King > --- > virt/kvm/arm/arm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/virt/kvm/arm/

Re: [PATCH][V3] regulator: axp20x: remove a redundant null check on rdev

2019-02-18 Thread Chen-Yu Tsai
On Fri, Feb 15, 2019 at 5:46 PM Colin King wrote: > > From: Colin Ian King > > Currently rdev is dereferenced when assigning desc before rdev is null > checked, this is leading to static analysis warnings. However, rdev > can never be null, so the null check is redundant and can be removed. > >

[PATCH -next] drm/qxl: remove set but not used variable 'bo_old'

2019-02-18 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/qxl/qxl_display.c: In function 'qxl_primary_atomic_update': drivers/gpu/drm/qxl/qxl_display.c:538:17: warning: variable 'bo_old' set but not used [-Wunused-but-set-variable] It's not used any more after 4979904c62b9 ("drm/qxl: use sh

Re: [PATCH 1/2] PM / Domains: Mark "name" const in genpd_dev_pm_attach_by_name()

2019-02-18 Thread Greg Kroah-Hartman
On Mon, Feb 18, 2019 at 09:45:14AM +0530, Viresh Kumar wrote: > On 15-02-19, 07:47, Doug Anderson wrote: > > Hi, > > On Thu, Feb 14, 2019 at 7:02 PM Viresh Kumar > > wrote: > > > > > > On 14-02-19, 10:12, Douglas Anderson wrote: > > > > The genpd_dev_pm_attach_by_name() simply takes the name and

Re: [PATCH V1] i2c: tegra: fix tegra186 hw supported features

2019-02-18 Thread Thierry Reding
On Sat, Feb 16, 2019 at 08:33:07AM -0800, Sowjanya Komatineni wrote: > Tegra186 does not support multi-master mode and also there is no > master fifo control register. > > This patch fixes supported features of Tegra186 and prevents > crashing during boot as master fifo control register are not >

Re: [patch v6 0/7] genirq/affinity: Overhaul the multiple interrupt sets support

2019-02-18 Thread Marc Zyngier
On Sat, 16 Feb 2019 18:13:06 +0100 Thomas Gleixner wrote: > This is the final update to the series with a few corner cases fixes > vs. V5 which can be found here: > >https://lkml.kernel.org/r/20190214204755.819014...@linutronix.de > > The series applies against: > >git://git.kernel.org

[PATCH] i2c: cadence: try reset when master receive arbitration lost

2019-02-18 Thread sxauwsk
When the adapter receive arbitration lost error interrupts, cdns_i2c_master_xfer return to the caller directly instead of resetting the adapter which resulted in the adapter being out of control. So when driver detect err_status such as arbitration lost, then try to repair and fix it. Signed-off-

[PATCH -next] crypto: marvell - Remove set but not used variable 'ivsize'

2019-02-18 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/crypto/marvell/cipher.c: In function 'mv_cesa_skcipher_dma_req_init': drivers/crypto/marvell/cipher.c:325:15: warning: variable 'ivsize' set but not used [-Wunused-but-set-variable] It's not used any more after 0c99620f0ac1 ("crypto: marvell

Re: [PATVH v2 0/4] arm64: dts: allwinner: h6: Enable CPU

2019-02-18 Thread Maxime Ripard
Hi, On Fri, Feb 15, 2019 at 11:35:20PM +0800, Frank Lee wrote: > On Fri, Feb 15, 2019 at 11:13 PM Maxime Ripard > wrote: > > > > On Fri, Feb 15, 2019 at 08:49:33AM -0500, Yangtao Li wrote: > > > Add the cpufreq support of h6, source of information is as follows. > > > > > > h6 cpu opp info: > > >

Re: [PATCH 1/5] nvmem: sunxi-sid: fix wrong description in kernel doc

2019-02-18 Thread Maxime Ripard
On Sun, Feb 17, 2019 at 11:23:12AM -0500, Yangtao Li wrote: > qfprom->sunxi-sid > > Signed-off-by: Yangtao Li Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

Re: [PATCH] crypto: ccree: add missing inline qualifier

2019-02-18 Thread Geert Uytterhoeven
On Mon, Feb 11, 2019 at 3:29 PM Gilad Ben-Yossef wrote: > Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init") > was missing a "inline" qualifier for stub function used when CONFIG_PM > is not set causing a build warning. > > Fixes: 1358c13a48c4 ("crypto: ccree - fix resume ra

Re: [PATCH 3/5] nvmem: sunxi-sid: add binding for H6's SID controller

2019-02-18 Thread Maxime Ripard
On Sun, Feb 17, 2019 at 11:23:14AM -0500, Yangtao Li wrote: > Add a binding for H6's SID controller. > > Signed-off-by: Yangtao Li Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP signature

[PATCH net-next v2 1/3] net: stmmac: Fix NAPI poll in TX path when in multi-queue

2019-02-18 Thread Jose Abreu
Commit 8fce33317023 introduced the concept of NAPI per-channel and independent cleaning of TX path. This is currently breaking performance in some cases. The scenario happens when all packets are being received in Queue 0 but the TX is performed in Queue != 0. Fix this by using different NAPI ins

Re: [PATCH 2/5] nvmem: sunxi-sid: add support for H5's SID controller

2019-02-18 Thread Maxime Ripard
On Sun, Feb 17, 2019 at 11:23:13AM -0500, Yangtao Li wrote: > Add support for H5's SID controller. > > Signed-off-by: Yangtao Li > --- > drivers/nvmem/sunxi_sid.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/nvmem/sunxi_sid.c b/drivers/nvmem/sunxi_sid.c > index 570a2e3

[PATCH net-next v2 3/3] net: stmmac: dwxgmac2: Also use TBU interrupt to clean TX path

2019-02-18 Thread Jose Abreu
TBU interrupt is a normal interrupt and can be used to trigger the cleaning of TX path. Lets check if it's active in DMA interrupt handler. While at it, refactor a little bit the function: - Don't check if RI is enabled because at function exit we will only clear the interrupts t

[PATCH net-next v2 0/3] net: stmmac: Performance improvements in Multi-Queue

2019-02-18 Thread Jose Abreu
Tested in XGMAC2 and GMAC5. Cc: Florian Fainelli Cc: Joao Pinto Cc: David S. Miller Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Jose Abreu (3): net: stmmac: Fix NAPI poll in TX path when in multi-queue net: stmmac: dwmac4: Also use TBU interrupt to clean TX path net: stmmac: dwxgmac2:

Re: [PATCH 5/5] nvmem: sunxi-sid: convert to SPDX license tags

2019-02-18 Thread Maxime Ripard
On Sun, Feb 17, 2019 at 11:23:16AM -0500, Yangtao Li wrote: > Updates license to use SPDX-License-Identifier. > > Signed-off-by: Yangtao Li Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description: PGP sign

[PATCH net-next v2 2/3] net: stmmac: dwmac4: Also use TBU interrupt to clean TX path

2019-02-18 Thread Jose Abreu
TBU interrupt is a normal interrupt and can be used to trigger the cleaning of TX path. Lets check if it's active in DMA interrupt handler. While at it, refactor a little bit the function: - Don't check if RI is enabled because at function exit we will only clear the interrupts t

Re: [PATCH v3 0/9] device connection: Add support for device graphs

2019-02-18 Thread Heikki Krogerus
On Mon, Feb 18, 2019 at 09:07:27AM +0100, Greg Kroah-Hartman wrote: > On Fri, Feb 15, 2019 at 02:47:15PM +0200, Heikki Krogerus wrote: > > Hi Greg, > > > > On Thu, Feb 14, 2019 at 11:10:44AM +0100, Greg Kroah-Hartman wrote: > > > On Wed, Feb 13, 2019 at 10:45:48AM +0300, Heikki Krogerus wrote: > >

Re: [PATCH v4 0/8] Support Trusted Foundations firmware on Tegra30

2019-02-18 Thread Thierry Reding
On Mon, Feb 18, 2019 at 03:17:18AM +0300, Dmitry Osipenko wrote: > Hello, > > This patchset adds support for the Trusted Foundations firmware on > NVIDIA Tegra30. Pretty much all of Tegra30 consumer devices have that > firmware and upstream kernel can't boot on those devices without the > firmware

[PATCH] drivers/component: kerneldoc polish

2019-02-18 Thread Daniel Vetter
Polish the kerneldoc a bit with suggestions from Randy. Cc: Randy Dunlap Signed-off-by: Daniel Vetter Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Daniel Vetter Cc: Ramalingam C -- Greg, I don't need this in any of the topic branches, best if you pick this one up into your -next tree d

RE: [PATCH] ARC: Explicitly set ARCH_SLAB_MINALIGN = 8

2019-02-18 Thread Alexey Brodkin
Hi Vineet, > -Original Message- > From: Vineet Gupta > Sent: Friday, February 15, 2019 4:34 AM > To: Alexey Brodkin ; Peter Zijlstra > > Cc: David Laight ; > linux-snps-...@lists.infradead.org; Arnd Bergmann > ; linux-kernel@vger.kernel.org; > sta...@vger.kernel.org; Mark Rutland > >

Re: [LKP] efad4e475c [ 40.308255] Oops: 0000 [#1] PREEMPT SMP PTI

2019-02-18 Thread Michal Hocko
[Sorry for an excessive quoting in the previous email] [Cc Pavel - the full report is http://lkml.kernel.org/r/20190218052823.GH29177@shao2-debian[] On Mon 18-02-19 08:08:44, Michal Hocko wrote: > On Mon 18-02-19 13:28:23, kernel test robot wrote: [...] > > [ 40.305212] PGD 0 P4D 0 > > [ 40.

Re: [PATCH] drm/drm_vm: Mark expected switch fall-throughs

2019-02-18 Thread Daniel Vetter
On Fri, Feb 15, 2019 at 11:05:46AM -0600, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch > cases where we are expecting to fall through. > > Warning level 3 was used: -Wimplicit-fallthrough=3 > > Notice that, in this particular case, the code comment i

Re: [PATCH v3 0/3] admin-guide: extend perf-security with resource control, data categories and privileged users

2019-02-18 Thread Alexey Budankov
On 18.02.2019 2:14, Jonathan Corbet wrote: > On Mon, 11 Feb 2019 16:32:33 +0300 > Alexey Budankov wrote: > >> The patch set extends the first version of perf-security.rst documentation >> file [1], [2], [3] with the following topics: >> >> 1) perf_events/Perf resource limits and control managem

Re: [RFC 2/6] mfd: Support for Ettus Research E31x devices PMU

2019-02-18 Thread Lee Jones
On Sun, 17 Feb 2019, Moritz Fischer wrote: > On Thu, Feb 14, 2019 at 1:34 AM Lee Jones wrote: > > On Mon, 11 Feb 2019, Virendra Kakade wrote: > > > > > Signed-off-by: Virendra Kakade > > > --- > > > drivers/mfd/Kconfig | 7 +++ > > > drivers/mfd/Makefile | 2 +- > > > drivers/

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-18 Thread Joseph Lo
On 2/15/19 11:14 PM, Daniel Lezcano wrote: On 01/02/2019 17:16, Joseph Lo wrote: Add support for the Tegra210 timer that runs at oscillator clock (TMR10-TMR13). We need these timers to work as clock event device and to replace the ARMv8 architected timer due to it can't survive across the power

Re: [LKP] efad4e475c [ 40.308255] Oops: 0000 [#1] PREEMPT SMP PTI

2019-02-18 Thread Michal Hocko
On Mon 18-02-19 16:47:26, Rong Chen wrote: > > On 2/18/19 3:08 PM, Michal Hocko wrote: > > On Mon 18-02-19 13:28:23, kernel test robot wrote: [...] > > > [ 40.305212] PGD 0 P4D 0 > > > [ 40.308255] Oops: [#1] PREEMPT SMP PTI > > > [ 40.313055] CPU: 1 PID: 239 Comm: udevd Not tainted >

[PATCH v2] sched/x86: Save [ER]FLAGS on context switch

2019-02-18 Thread Peter Zijlstra
Subject: sched/x86: Save [ER]FLAGS on context switch From: Peter Zijlstra Date: Thu Feb 14 10:30:52 CET 2019 Effectively reverts commit: 2c7577a75837 ("sched/x86_64: Don't save flags on context switch") Specifically because SMAP uses FLAGS.AC which invalidates the claim that the kernel has

Re: [PATCH] perf: update perf.data file format documentation

2019-02-18 Thread Jonas Rabenstein
On Mon, Feb 18, 2019 at 12:22:46AM +0100, Jiri Olsa wrote: > On Fri, Feb 15, 2019 at 07:28:23PM +0100, Jonas Rabenstein wrote: > > I found that the documentation of the flags section is some how > > different from the actual format used and expected by the perf > > tools. In this patch the accordin

Re: Firmware files for QCA BT chip WCN3990.

2019-02-18 Thread Balakrishna Godavarthi
Hi Nicolas, On 2019-02-18 14:08, Nicolas Dechesne wrote: hi Balakrishna, On Mon, Feb 18, 2019 at 7:13 AM Balakrishna Godavarthi wrote: Hi, The following changes since commit a9c22d3d8af87bd39a078ec6c846b0674dd2ca38: qca: Add firmware files for BT chip wcn3990. (2019-02-15 16:07:56 +0

Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver.

2019-02-18 Thread Life is hard, and then you die
On Sat, Feb 16, 2019 at 02:44:26AM +0200, Andy Shevchenko wrote: > On Sun, Feb 10, 2019 at 03:18:34AM -0800, Life is hard, and then you die > wrote: > > On Wed, Feb 06, 2019 at 10:22:56PM +0200, Andy Shevchenko wrote: > > > On Mon, Feb 04, 2019 at 12:19:47AM -0800, Ronald Tschalär wrote: > > >

Re: [f2fs-dev] [PATCH] f2fs: don't clear CP_QUOTA_NEED_FSCK_FLAG

2019-02-18 Thread Chao Yu
On 2019/2/16 12:55, Jaegeuk Kim wrote: > On 02/13, Chao Yu wrote: >> On 2019/2/12 10:33, Jaegeuk Kim wrote: >>> If we met this once, let fsck.f2fs clear this only. >>> Note that, this addresses all the subtle fault injection test. >>> >>> Signed-off-by: Jaegeuk Kim >>> --- >>> fs/f2fs/checkpoint.

Re: [LKP] efad4e475c [ 40.308255] Oops: 0000 [#1] PREEMPT SMP PTI

2019-02-18 Thread Rong Chen
On 2/18/19 5:03 PM, Michal Hocko wrote: On Mon 18-02-19 16:47:26, Rong Chen wrote: On 2/18/19 3:08 PM, Michal Hocko wrote: On Mon 18-02-19 13:28:23, kernel test robot wrote: [...] [ 40.305212] PGD 0 P4D 0 [ 40.308255] Oops: [#1] PREEMPT SMP PTI [ 40.313055] CPU: 1 PID: 239 Comm:

Re: [PATCH] kbuild: Disable extra debugging info in .s output

2019-02-18 Thread Masahiro Yamada
Borislav, On Mon, Feb 18, 2019 at 5:30 PM Borislav Petkov wrote: > > On Sun, Feb 10, 2019 at 01:39:23PM +0100, Borislav Petkov wrote: > > Please attach the diff or send it from another mail server. > > So you couldn't be bothered to send me an applicable version so I went > and typed it in by ha

Re: [PATCH] f2fs: correct spelling mistake

2019-02-18 Thread Chao Yu
On 2019/2/18 14:26, Zeng Guangyue wrote: > correct spelling mistake for "nunmber" > > Signed-off-by: Zeng Guangyue Reviewed-by: Chao Yu Thanks,

Re: [PATCH 2/5] nvmem: sunxi-sid: add support for H5's SID controller

2019-02-18 Thread Chen-Yu Tsai
On Mon, Feb 18, 2019 at 4:49 PM Maxime Ripard wrote: > > On Sun, Feb 17, 2019 at 11:23:13AM -0500, Yangtao Li wrote: > > Add support for H5's SID controller. > > > > Signed-off-by: Yangtao Li > > --- > > drivers/nvmem/sunxi_sid.c | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git

Re: [PATCH] x86: livepatch: Treat R_X86_64_PLT32 as R_X86_64_PC32

2019-02-18 Thread Petr Mladek
On Mon 2019-02-18 13:29:11, chengjian (D) wrote: > Hi,Jiri > > > This patch should be merged into 4.4 stable, > > which still use klp_write_module_reloc. > > > https://elixir.bootlin.com/linux/v4.4.174/source/arch/x86/kernel/livepatch.c > > > ZeFeng may have sent a stable(4.4-y) patch to the

[RESEND] clk: imx: Refactor entire sccg pll clk

2019-02-18 Thread Abel Vesa
Make the entire combination of plls to be one single clock. The parents used for bypasses are specified each as an index in the parents list. The determine_rate does a lookup throughout all the possible combinations for all the divs and returns the best possible 'setup' which in turn is used by set

Re: [PATCH 2/2] extcon intel-cht-wc: Enable external charger

2019-02-18 Thread Hans de Goede
Hi, On 17-02-19 22:52, Yauhen Kharuzhy wrote: On Fri, Feb 15, 2019 at 09:32:50AM +0300, Yauhen Kharuzhy wrote: On Thu, Feb 14, 2019 at 05:31:48PM +0100, Hans de Goede wrote: Hi, On 10-02-19 21:36, Yauhen Kharuzhy wrote: In some configuration external charge "#charge enable" signal is connect

Re: [PATCH] mm/hugetlb: Fix unsigned overflow in __nr_hugepages_store_common()

2019-02-18 Thread Michal Hocko
On Sat 16-02-19 21:31:12, Jingxiangfeng wrote: > From: Jing Xiangfeng > > We can use the following command to dynamically allocate huge pages: > echo NR_HUGEPAGES > /proc/sys/vm/nr_hugepages > The count in __nr_hugepages_store_common() is parsed from > /proc/sys/vm/nr_hugepages, > The max

Re: [PATCH v2] USB: serial: cp210x: Fix GPIO in autosuspend

2019-02-18 Thread Oliver Neukum
On So, 2019-02-17 at 18:59 +0100, Karoly Pados wrote: > Current GPIO code in cp210x fails to take USB autosuspend into account, > making it practically impossible to use GPIOs with autosuspend enabled > without user configuration. Fix this like for ftdi_sio in a previous patch. > Tested on a CP2102

Re: [PATCH v5 3/3] powerpc/32: Add KASAN support

2019-02-18 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/include/asm/ppc_asm.h > b/arch/powerpc/include/asm/ppc_asm.h > index e0637730a8e7..dba2c1038363 100644 > --- a/arch/powerpc/include/asm/ppc_asm.h > +++ b/arch/powerpc/include/asm/ppc_asm.h > @@ -251,6 +251,10 @@ GLUE(.,name): > > #define _G

Re: [LKP] efad4e475c [ 40.308255] Oops: 0000 [#1] PREEMPT SMP PTI

2019-02-18 Thread Michal Hocko
On Mon 18-02-19 17:11:49, Rong Chen wrote: > > On 2/18/19 5:03 PM, Michal Hocko wrote: > > On Mon 18-02-19 16:47:26, Rong Chen wrote: > > > On 2/18/19 3:08 PM, Michal Hocko wrote: > > > > On Mon 18-02-19 13:28:23, kernel test robot wrote: > > [...] > > > > > [ 40.305212] PGD 0 P4D 0 > > > > > [

ALMIGHTY GOD HAS DONE­ IT,

2019-02-18 Thread Mr. Abderazack Zebdani
Dear Friend, I hope you are fine over there in your country. I know that this message will come as a surprise to you but let me start by introducing myself; I am Mr. Abderazack Zebdani, Manager of Bank of Africa BOA Burkina Faso. I am writing you this letter to fulfill the promise I have with Almi

Re: [PATCH] i2c: cadence: try reset when master receive arbitration lost

2019-02-18 Thread Michal Simek
Hi, On 18. 02. 19 9:35, sxauwsk wrote: > When the adapter receive arbitration lost error interrupts, > cdns_i2c_master_xfer return to the caller directly instead of resetting > the adapter which resulted in the adapter being out of control. > > So when driver detect err_status such as arbitration

Re: [PATCH 4/4] arm64: dts: allwinner: h6: Add CPU Operating Performance Points table

2019-02-18 Thread Maxime Ripard
Hi, On Fri, Feb 15, 2019 at 10:09:51PM +0800, Frank Lee wrote: > On Fri, Feb 15, 2019 at 9:56 PM Maxime Ripard > wrote: > > > > Hi > > > > On Fri, Feb 15, 2019 at 12:56:03AM +0800, Frank Lee wrote: > > > How about to implement a thermal driver that is not integrated with > > > gpadc ? > > > > >

Re: [PATCH v3 1/4] dt-bindings: input: touchscreen: goodix: Document AVDD28-supply property

2019-02-18 Thread Jagan Teki
Hi Dmitry, On Mon, Feb 18, 2019 at 12:42 PM Dmitry Torokhov wrote: > > On Sun, Feb 17, 2019 at 02:45:52PM +0530, Jagan Teki wrote: > > On Sun, Feb 17, 2019 at 1:21 PM Jagan Teki > > wrote: > > > > > > Hi Dmitry and Rob, > > > > > > On Thu, Feb 14, 2019 at 3:21 AM Rob Herring wrote: > > > > > >

Re: [PATCH V1] i2c: tegra: fix tegra186 hw supported features

2019-02-18 Thread Jon Hunter
On 18/02/2019 08:42, Thierry Reding wrote: > On Sat, Feb 16, 2019 at 08:33:07AM -0800, Sowjanya Komatineni wrote: >> Tegra186 does not support multi-master mode and also there is no >> master fifo control register. >> >> This patch fixes supported features of Tegra186 and prevents >> crashing dur

Re: [PATCH] scsi: mvumi: fix 32 bit shift of a 32 bit unsigned int

2019-02-18 Thread Dan Carpenter
On Sat, Feb 16, 2019 at 05:27:16PM +0100, Walter Harms wrote: > Am 16.02.2019 15:44, schrieb Colin King: > > From: Colin Ian King > > > > Currently m_sg->baseaddr_h (a 32 bit unsigned int) is being shifted by a > > total of 32 bits; this always produces a 0 result. Fix this by casting > > it to

Re: [PATCH] net/mlx4_en: fix spelling mistake: "quiting" -> "quitting"

2019-02-18 Thread Tariq Toukan
On 2/18/2019 1:03 AM, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a en_err error message. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH V6 2/7] clocksource: tegra: add Tegra210 timer support

2019-02-18 Thread Daniel Lezcano
On 18/02/2019 10:01, Joseph Lo wrote: > On 2/15/19 11:14 PM, Daniel Lezcano wrote: >> On 01/02/2019 17:16, Joseph Lo wrote: >>> Add support for the Tegra210 timer that runs at oscillator clock >>> (TMR10-TMR13). We need these timers to work as clock event device and to >>> replace the ARMv8 archite

Re: [PATCH] mm: Fix buddy list helpers

2019-02-18 Thread Michal Hocko
On Sat 16-02-19 09:07:02, Dan Williams wrote: > Tetsuo reports that free page statistics are not reporting correctly, > and Vlastimil noticed that "mm: Move buddy list manipulations into > helpers" botched one of its conversions of add_to_free_area(). Fix the > double-increment of ->nr_free. > > R

Re: [PATCH v3] x86/ima: require signed kernel modules

2019-02-18 Thread Jessica Yu
+++ Mimi Zohar [15/02/19 11:50 -0500]: Have the IMA architecture specific policy require signed kernel modules on systems with secure boot mode enabled; and coordinate the different signature verification methods, so only one signature is required. Requiring appended kernel module signatures may

Re: [PATCH v7 3/6] dt-bindings: pinctrl: mt8183: add binding document

2019-02-18 Thread Zhiyong Tao
On Fri, 2019-02-15 at 10:35 +0100, Matthias Brugger wrote: > > On 15/02/2019 07:02, Erin Lo wrote: > > From: Zhiyong Tao > > > > The commit adds mt8183 compatible node in binding document. > > > > Signed-off-by: Zhiyong Tao > > Signed-off-by: Erin Lo > > --- > > .../devicetree/bindings/pinct

Re: next/master boot bisection: next-20190215 on beaglebone-black

2019-02-18 Thread Michal Hocko
On Fri 15-02-19 10:20:10, kernelci.org bot wrote: > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This automated bisection report was sent to you on the basis * > * that you may be involved with the breaking commit it has * > * found. No manual investigation has been

Re: [PATCH -next] ASoC: wm8741: Make function 'wm8741_mute' static

2019-02-18 Thread Charles Keepax
On Sat, Feb 16, 2019 at 01:35:56AM +, Wei Yongjun wrote: > Fixes the following sparse warning: > > sound/soc/codecs/wm8741.c:371:5: warning: > symbol 'wm8741_mute' was not declared. Should it be static? > > Fixes: 36b1599340b5 ("ASoC: wm8741: Add digital mute callback") > Signed-off-by: Wei

Re: [PATCH v7 1/3] thermal: tegra: remove unnecessary warnings

2019-02-18 Thread Daniel Lezcano
On 03/01/2019 11:12, Wei Ni wrote: > Convert warnings to info as not all platforms may > have all the thresholds and sensors enabled. > > Signed-off-by: Wei Ni > --- Reviewed-by: Daniel Lezcano > drivers/thermal/tegra/soctherm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH] drivers: mux: Generic register bitfield-based multiplexer driver

2019-02-18 Thread Peter Rosin
Hi! On 2019-02-18 06:40, Pankaj Bansal wrote: > Generic register bitfield-based multiplexer driver that controls the > multiplexer producer defined under a parent node. > The driver corresponding to parent node provides register read/write > capabilities. This driver is just a rename of drivers/m

[PATCH 5/6] gpio: mockup: change the signature of unlocked get/set helpers

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The unlocked variants only get called from places where we already have the pointer to the underlying gpio_mockup_chip structure, so take it as parameter instead of struct gpio_chip. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 19 --

[PATCH 4/6] gpio: mockup: change the type of 'offset' to unsigned int

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This field can never be negative. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 0317917a3678..433adb3b4617 100644 ---

[PATCH 2/6] gpio: mockup: implement get_multiple()

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We already support set_multiple(). Implement get_multiple() as well. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index

[PATCH 0/6] gpio: mockup: rework the testing driver - alternative version

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski It's very late in the release cycle and we cannot seem to get the irq subsystem maintainers' ack on the proposed change in the interrupt simulator. This series contains only the gpio-mockup patches from the previous submission in order to at least partially track the lin

[PATCH 3/6] gpio: mockup: don't create the debugfs link named after the label

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski User-space tests no longer use it and we're breaking the interface anyway. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.

[PATCH 6/6] gpio: mockup: rework debugfs interface

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Modify the way the debugfs interface works in gpio-mockup. Introduce the concept of dummy pull config which will keep the mockup lines in known state. The pull values can be modified by writing to the debugfs files corresponding to lines. Lines in input mode always repor

[PATCH 1/6] gpio: mockup: add locking

2019-02-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While no user reported any race condition problems with gpio-mockup, let's be on the safe side and use a mutex when performing any changes on the dummy chip structures. Suggested-by: Uwe Kleine-König Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-mockup.c |

Re: [PATCH 0/4] provide a generic free_initmem implementation

2019-02-18 Thread Christoph Hellwig
On Thu, Feb 14, 2019 at 08:38:55PM +0200, Mike Rapoport wrote: > On Thu, Feb 14, 2019 at 06:04:16PM +0100, Christoph Hellwig wrote: > > This look fine to me, but I'm a little worried that as-is this will > > just create conflicts with my series.. > > I'll rebase on top of your patches once they ar

  1   2   3   4   5   6   7   8   9   10   >