Re: [PATCH] HID: i2c-hid: Add a small delay after powering on/off the device

2018-10-01 Thread Benjamin Tissoires
On Mon, Oct 1, 2018 at 5:53 AM Kai-Heng Feng wrote: > > Raydium touchpanel (2386:4B33) sometimes does not workin desktop session > although it works in display manager. > > During user logging, the display manager exits, close the HID device, > then the device gets runtime suspended and powered of

Re: [RFC 1/2] ns: introduce binfmt_misc namespace

2018-10-01 Thread Laurent Vivier
Le 01/10/2018 à 03:21, Greg KH a écrit : > On Mon, Oct 01, 2018 at 01:46:27AM +0200, Laurent Vivier wrote: >> Signed-off-by: Laurent Vivier >> --- > > I don't take patches without any changelog text, I don't know if other > maintainers are as nice. But for a new feature, you really should write

Re: [PATCH 2/2] Staging: rts5208: rtsx_chip: Fixed multiple coding style issues

2018-10-01 Thread Dan Carpenter
You can't have two patches with the same subject. On Sat, Sep 29, 2018 at 12:43:54AM -0400, Maxime Desroches wrote: > Fixed multiple braces issues > Signed-off-by: Maxime Desroches Put a blank line between the patch description and the Signed-off-by regards, dan careptner

Re: [PATCH 1/2] Staging: rts5208: rtsx_card: Fixed multiple coding style issues

2018-10-01 Thread Dan Carpenter
On Sat, Sep 29, 2018 at 12:44:31AM -0400, Maxime Desroches wrote: > Fixed multiple coding style issues > Too vague. Also inaccurate. regards, dan carpenter

Re: [PATCH 4/4] Staging: rts5208: sd: Fixed multiple coding style issues Fixed multiple braces issues

2018-10-01 Thread Dan Carpenter
Don't just add a 4/4 after a 3/3. Send it as a new series instead. Also the patch discription and sign off are missing. regards, dan carpenter

Re: [PATCH] HID: i2c-hid: Add a small delay after powering on/off the device

2018-10-01 Thread Kai Heng Feng
On Oct 1, 2018, at 3:00 PM, Benjamin Tissoires wrote: On Mon, Oct 1, 2018 at 5:53 AM Kai-Heng Feng wrote: Raydium touchpanel (2386:4B33) sometimes does not workin desktop session although it works in display manager. During user logging, the display manager exits, close the HID device, t

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

2018-10-01 Thread Laurent Vivier
Le 01/10/2018 à 06:45, Andy Lutomirski a écrit : > On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier wrote: >> >> This series introduces a new namespace for binfmt_misc. >> > > This seems conceptually quite reasonable, but I'm wondering if the > number of namespace types is getting out of hand given

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

2018-10-01 Thread Eric W. Biederman
Andy Lutomirski writes: > On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier wrote: >> >> This series introduces a new namespace for binfmt_misc. >> > > This seems conceptually quite reasonable, but I'm wondering if the > number of namespace types is getting out of hand given the current > API. Sho

Re: [PATCH] regulator: core: Pass max_uV value to regulator_set_voltage_rdev

2018-10-01 Thread Maciej Purski
Hi all, unfortunately, I don't work at kernel anymore. That would be great, if you could take over those patches and finish the work. Best regards, Maciej On 09/29/2018 02:44 AM, Dmitry Osipenko wrote: > On 9/29/18 3:27 AM, Tony Lindgren wrote: >> * Dmitry Osipenko [180928 23:55]: >>> On 9/29/1

KASAN: use-after-free Read in snd_seq_ioctl_get_subscription

2018-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:e704966c45e4 Merge branch 'for-linus' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1277814e40 kernel config: https://syzkaller.appspot.com/x/.config?x=a8212f992609a887 da

[PATCH] MAINTAINERS: fix reference to STI CEC driver

2018-10-01 Thread Benjamin Gaignard
STI CEC driver has move from staging directory to media/platform/sti/cec/ Signed-off-by: Benjamin Gaignard --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index b22e7fdfd2ea..8aa973410e2f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

Re: [PATCH v3 0/7] Remove errors building drivers/DRIVERNAME

2018-10-01 Thread Robert Richter
On 27.09.18 23:08:09, Leonardo Brás wrote: > This Patchset changes some driver's Makefile to allow them building > using the command 'make drivers/DRIVERNAME', if compatible. > > The changed drivers would return error if the above command was run > on them, after an x86 allyesconfig. I don't see

Re: [linux-sunxi] Re: [PATCH 08/12] drm/sun4i: sun6i_mipi_dsi: Refactor vertical video start delay

2018-10-01 Thread Jagan Teki
On Saturday 29 September 2018 08:57 PM, Maxime Ripard wrote: On Thu, Sep 27, 2018 at 11:03:19PM +0530, Jagan Teki wrote: On Thu, Sep 27, 2018 at 10:44 PM Maxime Ripard wrote: On Thu, Sep 27, 2018 at 05:18:46PM +0530, Jagan Teki wrote: Accordingly to BPI-M64-bsp DE DSI code Video start delay

INFO: task hung in process_measurement

2018-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:291d0e5d81e1 Merge tag 'for-linus-20180929' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15232dc640 kernel config: https://syzkaller.appspot.com/x/.config?x=a8212f992609a887 da

Re: Bad MAINTAINERS pattern in section 'SAMSUNG EXYNOS TRUE RANDOM NUMBER GENERATOR (TRNG) DRIVER'

2018-10-01 Thread Łukasz Stelmach
It was <2018-09-29 sob 00:03>, when Joe Perches wrote: > Please fix this defect appropriately. > > linux-next MAINTAINERS section: > > 12851 SAMSUNG EXYNOS TRUE RANDOM NUMBER GENERATOR (TRNG) DRIVER > 12852 M: Łukasz Stelmach > 12853 L: linux-samsung-...@vger.kern

[PATCH] kernel: jump_label: fix NULL dereference bug in __jump_label_mod_update()

2018-10-01 Thread Ard Biesheuvel
Commit 19483677684b ("jump_label: Annotate entries that operate on __init code earlier") refactored the code that manages runtime patching of jump labels in modules that are tied to static keys defined in other modules or in the core kernel. In the latter case, we may iterate over the static_key_m

Re: [RFC 5/5] MIPS: Add Realtek RTL8186 SoC support

2018-10-01 Thread Marc Zyngier
Hi Yasha, On 30/09/18 15:15, Yasha Cherikovsky wrote: The Realtek RTL8186 SoC is a MIPS based SoC used in some home routers [1][2]. The hardware includes Lexra LX5280 CPU with a TLB, two Ethernet controllers, a WLAN controller and more. With this patch, it is possible to successfully boot the

Re: [PATCH] drivers: hid: Remove dead storage

2018-10-01 Thread Benjamin Tissoires
On Sat, Sep 29, 2018 at 6:06 PM Tapasweni Pathak wrote: > > Remove storing of return value of ntrig_version_string function > to ret as it is a dead storage and not used afterwards. > > Found using Facebook's Infer. Build tested it. > > Signed-off-by: Tapasweni Pathak > --- > There is another opt

Build regressions/improvements in v4.19-rc6

2018-10-01 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.19-rc6[1] compared to v4.18[2]. Summarized: - build errors: +5/-3 - build warnings: +14651/-253 JFYI, when comparing v4.19-rc6[1] to v4.19-rc5[3], the summaries are: - build errors: +0/-0 - build warnings: +342/-387

Re: [PATCH] printk: inject caller information into the body of message

2018-10-01 Thread Sergey Senozhatsky
On (10/01/18 14:52), Sergey Senozhatsky wrote: > On (09/29/18 20:13), Sergey Senozhatsky wrote: > > We used to flush "incomplete" cont lines (fragments) from console_unlock(). > > > > void console_unlock(void) > > { > > ... > > /* flush buffered message fragment immediately to console */ >

[PATCH] scripts: spdxcheck: resovle decode warning for python3

2018-10-01 Thread Shubham Singh
From: shubhsherl Resolve a warning issue by spdxcheck in Python3 FAIL: 'str' object has no attribute 'decode' Signed-off-by: Shubham Singh --- scripts/spdxcheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py index 839e190bbd

Re: [PATCH] [v3] HID: add support for Apple Magic Trackpad 2

2018-10-01 Thread Benjamin Tissoires
[adding Peter, for the libinput question] On Fri, Sep 21, 2018 at 1:13 AM Sean O'Brien wrote: > > USB device > Vendor 05ac (Apple) > Device 0265 (Magic Trackpad 2) > Bluetooth device > Vendor 004c (Apple) > Device 0265 (Magic Trackpad 2) > > Add support for Apple M

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

2018-10-01 Thread Laurent Vivier
Le 01/10/2018 à 09:21, Eric W. Biederman a écrit : > Andy Lutomirski writes: > >> On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier wrote: >>> >>> This series introduces a new namespace for binfmt_misc. >>> >> >> This seems conceptually quite reasonable, but I'm wondering if the >> number of namesp

Re: [RFC 5/5] MIPS: Add Realtek RTL8186 SoC support

2018-10-01 Thread Yasha Cherikovsky
Hi Marc, On Mon, 2018-10-01 at 09:19 +0100, Marc Zyngier wrote: > Hi Yasha, > > On 30/09/18 15:15, Yasha Cherikovsky wrote: > > The Realtek RTL8186 SoC is a MIPS based SoC > > used in some home routers [1][2]. > > > > The hardware includes Lexra LX5280 CPU with a TLB, > > two Ethernet controller

Re: [PATCH] tty:serial:imx: use spin_lock instead of spin_lock_irqsave in isr

2018-10-01 Thread Uwe Kleine-König
Hello, On Mon, Aug 27, 2018 at 07:49:04AM -0700, jun qian wrote: > Before the program enters the uart ISR, the local interrupt has been > disabled by the system, so it's not appropriate to use spin_lock_irqsave > interface in the ISR. "not appropriate" is a bit strong. It's not as optimal as it c

Re: [RFC 2/2] binfmt_misc: move data to binfmt_namespace

2018-10-01 Thread Jann Horn
On Mon, Oct 1, 2018 at 1:47 AM Laurent Vivier wrote: > @@ -716,7 +711,8 @@ static ssize_t bm_register_write(struct file *file, const > char __user *buffer, > if (!inode) > goto out2; > > - err = simple_pin_fs(&bm_fs_type, &bm_mnt, &entry_count); > + err = simpl

Re: [RFC 0/2] ns: introduce binfmt_misc namespace

2018-10-01 Thread Eric W. Biederman
Laurent Vivier writes: > Le 01/10/2018 à 09:21, Eric W. Biederman a écrit : >> Andy Lutomirski writes: >> >>> On Sun, Sep 30, 2018 at 4:47 PM Laurent Vivier wrote: This series introduces a new namespace for binfmt_misc. >>> >>> This seems conceptually quite reasonable, but I'm w

Re: [PATCH] staging: rtlwifi: Removed unused define and code efuse_re_pg* from wifi.h

2018-10-01 Thread Pkshih
On Mon, 2018-10-01 at 07:15 +0300, Kalle Valo wrote: > Joe Perches writes: > > > On Sun, 2018-09-30 at 20:29 +0200, Rick Veens wrote: > >> The following: > >>  bool efuse_re_pg_sec1flag; > >>  u8 efuse_re_pg_data[8]; > >> are not referenced anywhere in the rtlwifi code. > >>  > >> Signed-off-by:

Re: [PATCH 5/7] MIPS: mscc: ocelot: add GPIO4 pinmuxing DT node

2018-10-01 Thread Quentin Schulz
Hi Andrew, On Fri, Sep 14, 2018 at 07:02:21PM +0200, Andrew Lunn wrote: > On Fri, Sep 14, 2018 at 06:26:38PM +0200, Quentin Schulz wrote: > > Hi Alexandre, > > > > On Fri, Sep 14, 2018 at 04:54:46PM +0200, Alexandre Belloni wrote: > > > Hi, > > > > > > On 14/09/2018 11:44:26+0200, Quentin Schulz

RE: [PATCH v3 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-10-01 Thread Yogesh Narayan Gaur
Hi Boris, > -Original Message- > From: Frieder Schrempf [mailto:frieder.schre...@exceet.de] > Sent: Monday, October 1, 2018 11:48 AM > To: Boris Brezillon ; Yogesh Narayan Gaur > > Cc: linux-...@lists.infradead.org; marek.va...@gmail.com; linux- > s...@vger.kernel.org; devicet...@vger.ker

Re: [PATCH] clk: ti: fix OF child-node lookup

2018-10-01 Thread Tero Kristo
On 28/09/18 18:57, Stephen Boyd wrote: Quoting Tero Kristo (2018-09-20 00:11:08) On 31/08/18 00:46, Stephen Boyd wrote: Quoting Johan Hovold (2018-08-22 02:03:19) Fix child-node lookup which by using the wrong OF helper was searching the whole tree depth-first, something which could end up mat

U.S Ambassador / Tag NO.:XXXX.

2018-10-01 Thread William S. Symington
>From United States Ambassador To Nigeria Plot 1075 Diplomatic Drive Central District Area, Abuja Nigeria Dear Fund Receiver, We want to let you know that the sum of $15.8million being a contract/inheritans/compensation and winning fund payment. I have make an arrangement of coming to your co

Re: [PATCH] nvmem: Convert to using %pOFn instead of device_node.name

2018-10-01 Thread Srinivas Kandagatla
On 28/09/18 23:06, Rob Herring wrote: On Mon, Aug 27, 2018 at 8:55 PM Rob Herring wrote: In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Srinivas Kandagatla Signed-off-by: Rob Herring --- drivers/nvmem/

Re: [RFC 00/20] ns: Introduce Time Namespace

2018-10-01 Thread Eric W. Biederman
Thomas Gleixner writes: > Eric, > > On Fri, 28 Sep 2018, Eric W. Biederman wrote: >> Thomas Gleixner writes: >> > On Wed, 26 Sep 2018, Eric W. Biederman wrote: >> >> At the same time using the techniques from the nohz work and a little >> >> smarts I expect we could get the code to scale. >> > >

Re: [PATCH v3 1/5] spi: spi-mem: Add driver for NXP FlexSPI controller

2018-10-01 Thread Boris Brezillon
On Mon, 1 Oct 2018 09:02:32 + Yogesh Narayan Gaur wrote: > > > static void fspi_writel(struct nxp_fspi *f, u32 val, void __iomem > > > *addr) { > > > if (f->big_endian) > > > iowrite32be(val, addr); > > > else > > > iowrite32(val, addr); > > > } > > > > > > > > > stati

Re: [PATCH] firmware: Convert to using %pOFn instead of device_node.name

2018-10-01 Thread Sudeep Holla
On Fri, Sep 28, 2018 at 04:47:41PM -0500, Rob Herring wrote: > On Mon, Aug 27, 2018 at 8:53 PM Rob Herring wrote: > > > > In preparation to remove the node name pointer from struct device_node, > > convert printf users to use the %pOFn format specifier. > > > > Signed-off-by: Rob Herring > > ---

Re: [RFC 61/60] cosched: Accumulated fixes and improvements

2018-10-01 Thread Jan H. Schönherr
On 09/26/2018 11:05 PM, Nishanth Aravamudan wrote: > On 26.09.2018 [10:25:19 -0700], Nishanth Aravamudan wrote: >> >> I found another issue today, while attempting to test (with 61/60 >> applied) separate coscheduling cgroups for vcpus and emulator threads >> [the default configuration with libvirt

Re: [PATCH V9 3/8] clocksource: add C-SKY SMP timer

2018-10-01 Thread Daniel Lezcano
On 01/10/2018 03:35, Guo Ren wrote: > This timer is used by SMP system and use mfcr/mtcr instruction > to access the regs. > > Changelog: > - Remove #define CPUHP_AP_CSKY_TIMER_STARTING > - Add CPUHP_AP_CSKY_TIMER_STARTING in cpuhotplug.h > - Support csky mp timer alpha version. > - Just use l

Re: [RFC 5/5] MIPS: Add Realtek RTL8186 SoC support

2018-10-01 Thread Marc Zyngier
On 01/10/18 09:48, Yasha Cherikovsky wrote: Hi Marc, On Mon, 2018-10-01 at 09:19 +0100, Marc Zyngier wrote: Hi Yasha, On 30/09/18 15:15, Yasha Cherikovsky wrote: The Realtek RTL8186 SoC is a MIPS based SoC used in some home routers [1][2]. The hardware includes Lexra LX5280 CPU with a TLB, t

Setting monotonic time?

2018-10-01 Thread Eric W. Biederman
In the context of process migration there is a simpler subproblem that I think it is worth exploring if we can do something about. For a cluster of machines all running with synchronized clocks. CLOCK_REALTIME matches. CLOCK_MONOTNIC does not match between machines. Not having a matching CLOCK

Re: [PATCH net-next 2/7] net: phy: mscc: add support for VSC8584 PHY

2018-10-01 Thread Quentin Schulz
Hi Andrew, On Fri, Sep 14, 2018 at 07:27:54PM +0200, Andrew Lunn wrote: > > > struct vsc8531_private { > > int rate_magic; > > u16 supp_led_modes; > > @@ -181,6 +354,7 @@ struct vsc8531_private { > > struct vsc85xx_hw_stat *hw_stats; > > u64 *stats; > > int nstats; > > + bo

Re: [PATCH] perf: Convert to using %pOFn instead of device_node.name

2018-10-01 Thread Will Deacon
On Fri, Sep 28, 2018 at 04:19:07PM -0500, Rob Herring wrote: > On Tue, Aug 28, 2018 at 12:02 PM Will Deacon wrote: > > > > On Mon, Aug 27, 2018 at 08:52:39PM -0500, Rob Herring wrote: > > > In preparation to remove the node name pointer from struct device_node, > > > convert printf users to use th

Re: [PATCH v4] fuse: add support for copy_file_range()

2018-10-01 Thread Miklos Szeredi
On Tue, Aug 21, 2018 at 2:36 PM, Niels de Vos wrote: > There are several FUSE filesystems that can implement server-side copy > or other efficient copy/duplication/clone methods. The copy_file_range() > syscall is the standard interface that users have access to while not > depending on external l

Re: [RFC 5/5] MIPS: Add Realtek RTL8186 SoC support

2018-10-01 Thread Yasha Cherikovsky
On Mon, 2018-10-01 at 10:15 +0100, Marc Zyngier wrote: > On 01/10/18 09:48, Yasha Cherikovsky wrote: > > Hi Marc, > > > > On Mon, 2018-10-01 at 09:19 +0100, Marc Zyngier wrote: > > > Hi Yasha, > > > > > > On 30/09/18 15:15, Yasha Cherikovsky wrote: > > > > The Realtek RTL8186 SoC is a MIPS based

Re: [LKP] [fsnotify] 60f7ed8c7c: will-it-scale.per_thread_ops -5.9% regression

2018-10-01 Thread Jan Kara
On Sun 30-09-18 12:16:45, Amir Goldstein wrote: > On Sun, Sep 30, 2018 at 12:00 PM Amir Goldstein wrote: > > > > On Sun, Sep 30, 2018 at 9:50 AM kernel test robot > > wrote: > > > > > > Greeting, > > > > > > FYI, we noticed a -5.9% regression of will-it-scale.per_thread_ops due to > > > commit:

Re: [PATCH] fuse: Fix use-after-free in fuse_dev_do_write()

2018-10-01 Thread Miklos Szeredi
On Tue, Sep 25, 2018 at 11:52 AM, Kirill Tkhai wrote: > After we found req in request_find() and released the lock, > everything may happen with the req in parallel. > > Keep it alive till we finish touch its memory. > > Signed-off-by: Kirill Tkhai Applied. Thanks, Miklos

Re: [PATCH] fuse: Fix use-after-free in fuse_dev_do_read()

2018-10-01 Thread Miklos Szeredi
On Tue, Sep 25, 2018 at 11:28 AM, Kirill Tkhai wrote: > We may pick freed req in this way: > > [cpu0] [cpu1] > fuse_dev_do_read() fuse_dev_do_write() >list_move_tail(&req->list, &fpq->processing); ... >spin_

[PATCH 1/5] thunderbolt: Remove a meaningless NULL pointer check before dma_pool_destroy

2018-10-01 Thread Mika Westerberg
From: zhong jiang dma_pool_destroy() already takes NULL pointer into account so there is no need to check that again in tb_ctl_free(). Signed-off-by: zhong jiang [mw: reword commit log a bit] Signed-off-by: Mika Westerberg --- drivers/thunderbolt/ctl.c | 3 +-- 1 file changed, 1 insertion(+),

[PATCH 3/5] thunderbolt: Print connected devices

2018-10-01 Thread Mika Westerberg
The previous patch made the driver less verbose meanining that all the switch structures and ports are now logged as debug level. However, we have been missing similar output that USB for intance prints when a new USB device is connected and disconnected. This information is useful for end users as

[PATCH 0/5] thunderbolt: Changes for v4.20 merge window

2018-10-01 Thread Mika Westerberg
Hi Greg, Here are Thunderbolt changes I've queued for v4.20 merge window. I guess the most notable change is that now the driver is not as verbose it used to be and it now prints out the connected devices in the same way USB stack does. In addition there are removal of meaningless NULL pointer che

Re: [PATCH V2 09/27] mmc: mmci: modify dma_setup callback

2018-10-01 Thread Ulf Hansson
On 21 September 2018 at 11:46, Ludovic Barre wrote: > From: Ludovic Barre > > This patch creates a generic mmci_dma_setup which calls > dma_setup callback and manages common next_cookie. > This patch is needed for sdmmc variant which has a different > dma settings. > > Signed-off-by: Ludovic Barr

Re: [PATCH V2 23/27] mmc: mmci: add variant property to request a reset

2018-10-01 Thread Ulf Hansson
On 21 September 2018 at 11:46, Ludovic Barre wrote: > From: Ludovic Barre > > Some variants could require a reset. > STM32 sdmmc variant needs to reset hardware block > during the power cycle procedure (for re-initialization) > > Signed-off-by: Ludovic Barre > --- > Documentation/devicetree/bin

Re: [PATCH V2 26/27] mmc: mmci: add DT bindings for STM32 sdmmc

2018-10-01 Thread Ulf Hansson
On 21 September 2018 at 11:46, Ludovic Barre wrote: > From: Ludovic Barre > > STM32 sdmmc variant has support to: > -Indicate signal directions (only one property > for d0dir, d123dir, cmd_dir) > -Select command and data phase relation. > -Select "clock in" from an external driver. > > Signed-off

[PATCH 4/5] thunderbolt: Convert rest of the driver files to use SPDX identifier

2018-10-01 Thread Mika Westerberg
This gets rid of the licence boilerplate duplicated in each file. While there fix doubled space in domain.c author line. No functional changes intended. Signed-off-by: Mika Westerberg Acked-by: Yehezkel Bernat --- drivers/thunderbolt/dma_port.c | 5 + drivers/thunderbolt/dma_port.h | 5 +--

[PATCH 2/5] thunderbolt: Make the driver less verbose

2018-10-01 Thread Mika Westerberg
Currently the driver logs quite a lot to the system message buffer even when doing normal operations. This information is not useful for ordinary users and might even annoy some. For this reason convert most of the logs at info level to happen at debug level instead. The nice output formatting is

Re: [PATCH V2 27/27] mmc: mmci: add stm32 sdmmc variant

2018-10-01 Thread Ulf Hansson
On 21 September 2018 at 11:46, Ludovic Barre wrote: > From: Ludovic Barre > > This patch adds a stm32 sdmmc variant, rev 1.1. > Introduces a new Manufacturer id "0x53, ascii 'S' to define > new stm32 sdmmc family with clean range of amba > revision/configurations bits (corresponding to sdmmc_ver

[PATCH 5/5] thunderbolt: Add Intel as copyright holder

2018-10-01 Thread Mika Westerberg
Intel has done pretty major changes to the driver and we continue to do so in the future as well. Add Intel as copyright holder of the files we have done changes. While there drop "Cactus Ridge" from the headers because this driver works also with other Thunderbolt controllers. No functional chan

Re: [LKP] [fsnotify] 60f7ed8c7c: will-it-scale.per_thread_ops -5.9% regression

2018-10-01 Thread Jan Kara
On Sun 30-09-18 12:00:46, Amir Goldstein wrote: > On Sun, Sep 30, 2018 at 9:50 AM kernel test robot > wrote: > > > > Greeting, > > > > FYI, we noticed a -5.9% regression of will-it-scale.per_thread_ops due to > > commit: > > > > > > commit: 60f7ed8c7c4d06aeda448c6da74621552ee739aa ("fsnotify: se

Re: [PATCH V2 09/27] mmc: mmci: modify dma_setup callback

2018-10-01 Thread Ludovic BARRE
hi Ulf On 10/01/2018 11:30 AM, Ulf Hansson wrote: On 21 September 2018 at 11:46, Ludovic Barre wrote: From: Ludovic Barre This patch creates a generic mmci_dma_setup which calls dma_setup callback and manages common next_cookie. This patch is needed for sdmmc variant which has a different dm

[PATCH 3/3] kbuild: add -Wno-unused-but-set-variable compiler flag unconditionally

2018-10-01 Thread Masahiro Yamada
We have raised the compiler requirement from time to time. With commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6"), the minimum for GCC is 4.6 now. This flag was added by GCC 4.6, and it is recognized by Clang and ICC as well. Let's rip off the cc-disable-warning switch, and se

[PATCH 2/3] kbuild: add -Wdeclaration-after-statement flag unconditionally

2018-10-01 Thread Masahiro Yamada
We have raised the compiler requirement from time to time. With commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6"), the minimum for GCC is 4.6 now. This flag has been here since the pre-git era. It is documented in the GCC 4.6 manual, and it is recognized by Clang and ICC as we

[PATCH 1/3] kbuild: add -Wno-pointer-sign flag unconditionally

2018-10-01 Thread Masahiro Yamada
We have raised the compiler requirement from time to time. With commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6"), the minimum for GCC is 4.6 now. The -Wno-pointer-sign has been here since the pre-git era. It is documented in the GCC 4.6 manual, and it is recognized by Clang a

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-01 Thread Aleksa Sarai
On 2018-09-29, Andy Lutomirski wrote: > >> On Sat, Sep 29, 2018 at 4:29 PM Aleksa Sarai wrote: > >> The primary motivation for the need for this flag is container runtimes > >> which have to interact with malicious root filesystems in the host > >> namespaces. One of the first requirements for a

Re: [PATCH] mm/filemap.c: Use vmf_error()

2018-10-01 Thread Jan Kara
On Thu 27-09-18 22:44:12, Souptick Joarder wrote: > These codes can be replaced with new inline vmf_error(). > > Signed-off-by: Souptick Joarder Looks good. You can add: Reviewed-by: Jan Kara Honza > --- > mm/filemap.c | 4 +---

Re: [LKP] [fsnotify] 60f7ed8c7c: will-it-scale.per_thread_ops -5.9% regression

2018-10-01 Thread Amir Goldstein
On Mon, Oct 1, 2018 at 12:32 PM Jan Kara wrote: > > On Sun 30-09-18 12:00:46, Amir Goldstein wrote: [...] > > > commit: > > > 1e6cb72399 ("fsnotify: add super block object type") > > > 60f7ed8c7c ("fsnotify: send path type events to group with super block > > > marks") > > > > > > > I have to

[RFC/PATCH] mm/shmem: add a NULL pointer test to shmem_free_inode

2018-10-01 Thread miles.chen
From: Miles Chen We noticed a kernel panic when unmounting tmpfs. It looks like a race condition in the following scenario: shmem_put_super() set sb->s_fs_info to NULL and shmem_evict_inode() tries to access sb->s_fs_info right after the sb->s_fs_info becomes NULL. CPU1

[PATCH] soc: qcom: Drop help text for QCOM_QMI_HELPERS

2018-10-01 Thread Niklas Cassel
The help text is visible in menuconfig, however QCOM_QMI_HELPERS is a hidden kconfig, so it is not selectable in menuconfig. Remove the help text so that it is more clear that this is intentionally a hidden kconfig. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 5 - 1 file cha

[PATCH] cpuidle: menu: Replace data->predicted_us with local variable

2018-10-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The predicted_us field in struct menu_device is only accessed in menu_select(), so replace it with a local variable in that function. With that, stop using expected_interval instead of predicted_us to store the new predicted idle duration value if it is set to the selecte

[PATCH net-next] net: mscc: allow extracting the FCS into the skb

2018-10-01 Thread Antoine Tenart
This patch adds support for the NETIF_F_RXFCS feature in the Mscc Ethernet driver. This feature is disabled by default and allow an user to request the driver not to drop the FCS and to extract it into the skb for debugging purposes. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/mscc/oc

Re: [PATCH v2 6/8] mtd: maps: gpio-addr-flash: Split allocation in two

2018-10-01 Thread Ricardo Ribalda Delgado
Hi Boris PLEASE do not apply this one! There is a bug, value from gpio->addr is lost. On Wed, Sep 5, 2018 at 4:37 PM Ricardo Ribalda Delgado wrote: > > Instead of making one allocation and then calculating the addresses of > those two pointers in that area make two allocations. This simplifies >

[PATCH 2/2] genirq/debugfs: Reinstate full OF path for domain name

2018-10-01 Thread Marc Zyngier
On a DT based system, we use the of_node full name to name the corresponding irq domain. We expect that name to be unique, so so that domains with the same base name won't clash (this happens on multi-node topologies, for example). Since a7e4cfb0a7ca ("of/fdt: only store the device node basename i

[PATCH 0/2] irqdomain debufs fixes for 4.20

2018-10-01 Thread Marc Zyngier
Here's a couple of fixes for the irqdomain debugfs feature that I wrote while working on some unrelated irqchip over the weekend. If nobody screams, I'll queue them for 4.20. Thanks, M. Marc Zyngier (2): genirq/debugfs: Reset domain debugfs_file on removal of the debugfs file ge

[PATCH 1/2] genirq/debugfs: Reset domain debugfs_file on removal of the debugfs file

2018-10-01 Thread Marc Zyngier
When removing a debugfs file for a given irq domain, we fail to clear the corresponding field, meaning that the corresponding domain won't be created again if we need to do so. It turns out that this is exactly what irq_domain_update_bus_token does (delete old file, update domain name, recreate fi

[PATCH 1/2] mm, numa: Remove rate-limiting of automatic numa balancing migration

2018-10-01 Thread Mel Gorman
Rate limiting of page migrations due to automatic NUMA balancing was introduced to mitigate the worst-case scenario of migrating at high frequency due to false sharing or slowly ping-ponging between nodes. Since then, a lot of effort was spent on correctly identifying these pages and avoiding unnec

[PATCH 0/2] Faster migration for automatic NUMA balancing

2018-10-01 Thread Mel Gorman
These two patches are based on top of Srikar Dronamraju's recent work on automatic NUMA balancing and are motivated by a bug report from Jirka Hladky that STREAM performance has regressed. The STREAM workload is mildly interesting in that it only works as a valid benchmark if tasks are pinned to m

[PATCH 2/2] mm, numa: Migrate pages to local nodes quicker early in the lifetime of a task

2018-10-01 Thread Mel Gorman
Automatic NUMA Balancing uses a multi-stage pass to decide whether a page should migrate to a local node. This filter avoids excessive ping-ponging if a page is shared or used by threads that migrate cross-node frequently. Threads inherit both page tables and the preferred node ID from the parent.

Re: [PATCH v2 2/2] PCI: controller: dwc: add UniPhier PCIe host controller support

2018-10-01 Thread Lorenzo Pieralisi
On Fri, Sep 28, 2018 at 02:17:16PM +0100, Marc Zyngier wrote: > On 28/09/18 12:06, Lorenzo Pieralisi wrote: > >[+Murali, Marc] > > > >On Thu, Sep 27, 2018 at 04:44:26PM +0900, Kunihiko Hayashi wrote: > >>Hi Lorenzo, Gustavo, > >> > >>On Wed, 26 Sep 2018 21:31:36 +0900 wrote: > >> > >>>Hi Lorenzo,

[PATCH] arm_pmu: Delete incorrect cache event mapping for some armv8_pmuv3 events.

2018-10-01 Thread Kulkarni, Ganapatrao
Perf events L1-dcache-load-misses, L1-dcache-store-misses are mapped to armv8_pmuv3 (both DT and ACPI) event L1D_CACHE_REFILL. This is incorrect, since L1D_CACHE_REFILL counts both load and store misses. Similarly the events L1-dcache-loads, L1-dcache-stores, dTLB-load-misses and dTLB-loads are wro

Re: [PATCH] zram: fix missing zero pages for memory tracking

2018-10-01 Thread Sergey Senozhatsky
On (09/22/18 12:11), Minchan Kim wrote: > On Wed, Sep 19, 2018 at 04:29:16PM +0900, Sergey Senozhatsky wrote: > > On (09/19/18 14:18), Minchan Kim wrote: > > > We need to count zero filled pages as well as other pages in zram. > > > > A nit, > > > > 'ZRAM_FLAG_SHIFT + 1' covers all ZRAM_SAME

[PATCH] slimbus: ngd: QCOM_QMI_HELPERS has to be selected

2018-10-01 Thread Niklas Cassel
QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it. Signed-off-by: Niklas Cassel --- drivers/slimbus/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig index 9d73ad806698..9cca2c

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-01 Thread Jann Horn
On Mon, Oct 1, 2018 at 7:44 AM Aleksa Sarai wrote: > On 2018-09-29, Jann Horn wrote: > > The problem is what happens if a folder you are walking through is > > concurrently moved out of the chroot. Consider the following scenario: > > > > You attempt to open "C/../../etc/passwd" under the root "/

[GIT PULL] extcon next for v4.20

2018-10-01 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.20. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11

[GIT PULL] PHY: for 4.20

2018-10-01 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.20 merge window below. It adds PHY drivers for Socionext's PCIe PHY, USB2 PHY and USB3 PHY, Rockchip HDMI PHY and Cadence display port PHY. Patches to add Qualcomm UFS PHY support and Broadcom's BCM63138 PHY support is also included in this pull request.

[PATCH] x86/build: remove unused CONFIG_AS_CRC32

2018-10-01 Thread Masahiro Yamada
CONFIG_AS_CRC32 is not used anywhere. Signed-off-by: Masahiro Yamada --- arch/x86/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index bbdb780..bf0265f 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -189,7 +189,6 @@ cfi-sections := $

Re: [PATCH resend] x86, asm: Use CC_SET()/CC_OUT() for __cmpxchg_double

2018-10-01 Thread Borislav Petkov
On Fri, Sep 28, 2018 at 10:33:05AM +0200, Uros Bizjak wrote: > Remove open-coded uses of set instructions to use CC_SET()/CC_OUT() > for __cmpxchg_double. > > Signed-off-by: Uros Bizjak > --- > arch/x86/include/asm/cmpxchg.h | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > >

[tip:irq/core] genirq/debugfs: Reset domain debugfs_file on removal of the debugfs file

2018-10-01 Thread tip-bot for Marc Zyngier
Commit-ID: 513145ea66af95f1a5c744d7b5a4f4a97625e669 Gitweb: https://git.kernel.org/tip/513145ea66af95f1a5c744d7b5a4f4a97625e669 Author: Marc Zyngier AuthorDate: Mon, 1 Oct 2018 11:05:21 +0100 Committer: Thomas Gleixner CommitDate: Mon, 1 Oct 2018 12:24:53 +0200 genirq/debugfs: Reset do

[tip:irq/core] genirq/debugfs: Reinstate full OF path for domain name

2018-10-01 Thread tip-bot for Marc Zyngier
Commit-ID: 94967b55ebf3b603f2fe750ecedd896042585a1c Gitweb: https://git.kernel.org/tip/94967b55ebf3b603f2fe750ecedd896042585a1c Author: Marc Zyngier AuthorDate: Mon, 1 Oct 2018 11:05:22 +0100 Committer: Thomas Gleixner CommitDate: Mon, 1 Oct 2018 12:24:53 +0200 genirq/debugfs: Reinstat

Re: [PATCH] gpio: omap: get rid of the conditional PM runtime calls

2018-10-01 Thread Linus Walleij
On Fri, Sep 28, 2018 at 11:39 PM Grygorii Strashko wrote: > OMAP GPIO driver is checking !BANK_USED() used condition before calling PM > runtime API, because of PM runtime calls in > omap2_gpio_prepare/resume_for_idle(). It's not required any more since > "omap gpio add level idle, cpu_pm and dro

[RFC v2 7/7] MIPS: Add Realtek RTL8186 SoC support

2018-10-01 Thread Yasha Cherikovsky
The Realtek RTL8186 SoC is a MIPS based SoC used in some home routers [1][2]. The hardware includes Lexra LX5280 CPU with a TLB, two Ethernet controllers, a WLAN controller and more. With this patch, it is possible to successfully boot the kernel and load userspace on the Edimax BR-6204Wg router.

[RFC v2 4/7] dt-binding: timer: Document RTL8186 SoC DT bindings

2018-10-01 Thread Yasha Cherikovsky
This patch adds device tree binding doc for the Realtek RTL8186 SoC timer controller. Signed-off-by: Yasha Cherikovsky Cc: Rob Herring Cc: Mark Rutland Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: devicet...@vger.kernel.org Cc: linux-m...@linu

[RFC v2 5/7] clocksource/drivers/rtl8186: Add RTL8186 timer driver

2018-10-01 Thread Yasha Cherikovsky
The Realtek RTL8186 SoC is a MIPS based SoC used in some home routers [1][2]. This adds a driver to handle the built-in timers on this SoC. Timers 0 and 1 are 24bit timers. Timers 2 and 3 are 32bit timers. Use Timer2 as clocksource and Timer3 for clockevents. Timer2 is also used for sched_clock.

[RFC v2 1/7] MIPS: Add support for the Lexra LX5280 CPU

2018-10-01 Thread Yasha Cherikovsky
The Lexra LX5280 CPU [1][2] implements the MIPS-I ISA, without unaligned load/store instructions (lwl, lwr, swl, swr). The programming model of this CPU is very similar to the R3000 programming model, with a few differences. The Realtek RTL8186 SoC has this CPU, so this patch is required for futur

Re: [PATCH v3 0/3] Add Amlogic video decoder driver

2018-10-01 Thread Hans Verkuil
On 09/28/2018 04:28 PM, Maxime Jourdan wrote: > Hi everyone, > > This patch series adds support for the Amlogic video decoder, > as well as the corresponding dt bindings for GXBB/GXL/GXM chips. > > It features decoding for the following formats: > - MPEG 1 > - MPEG 2 > > The following formats wi

[RFC v2 0/7] MIPS: Lexra LX5280 CPU + Realtek RTL8186 SoC support

2018-10-01 Thread Yasha Cherikovsky
Hi, Changelog: v2: - Patch 5 in v1 added irqchip, timer and arch code for the SoC all in one patch. Split this patch into 3 patches: - Patch 3 for irqchip (depends on MACH_RTL8186 in Kconfig) - Patch 5 for timer (depends on MACH_RTL8186 in Kconfig) - Patch 7 for SoC code in arch/mip

[RFC v2 2/7] dt-binding: interrupt-controller: Document RTL8186 SoC DT bindings

2018-10-01 Thread Yasha Cherikovsky
This patch adds device tree binding doc for the Realtek RTL8186 SoC interrupt controller. Signed-off-by: Yasha Cherikovsky Cc: Rob Herring Cc: Mark Rutland Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: devicet...@vger.kernel.org

[RFC v2 6/7] dt-binding: mips: Document Realtek SoC DT bindings

2018-10-01 Thread Yasha Cherikovsky
This patch adds device tree binding doc for Realtek MIPS SoCs. It includes a compatible string for the Realtek RTL8186 SoC. Signed-off-by: Yasha Cherikovsky Cc: Rob Herring Cc: Mark Rutland Cc: Ralf Baechle Cc: Paul Burton Cc: James Hogan Cc: devicet...@vger.kernel.org Cc: linux-m...@linux-

[RFC v2 3/7] irqchip/rtl8186: Add RTL8186 interrupt controller driver

2018-10-01 Thread Yasha Cherikovsky
The Realtek RTL8186 SoC is a MIPS based SoC used in some home routers [1][2]. This adds a driver to handle the interrupt controller on this SoC. [1] https://www.linux-mips.org/wiki/Realtek_SOC#Realtek_RTL8186 [2] https://wikidevi.com/wiki/Realtek_RTL8186 Signed-off-by: Yasha Cherikovsky Cc: Ral

Re: [PATCH v5 5/6] arm64/mm: Populate the swapper_pg_dir by fixmap.

2018-10-01 Thread James Morse
Hi Mark, On 24/09/18 17:36, Mark Rutland wrote: > On Mon, Sep 17, 2018 at 12:43:32PM +0800, Jun Yao wrote: >> Since we will move the swapper_pg_dir to rodata section, we need a >> way to update it. The fixmap can handle it. When the swapper_pg_dir >> needs to be updated, we map it dynamically. The

Re: [PATCH 2/3] namei: implement AT_THIS_ROOT chroot-like path resolution

2018-10-01 Thread Christian Brauner
On Mon, Oct 01, 2018 at 03:44:28PM +1000, Aleksa Sarai wrote: > On 2018-09-29, Jann Horn wrote: > > The problem is what happens if a folder you are walking through is > > concurrently moved out of the chroot. Consider the following scenario: > > > > You attempt to open "C/../../etc/passwd" under

Re: [RESEND PATCH 0/2] Don't use SIGMINSTKSZ when enforcing alternative signal stack size for compat tasks

2018-10-01 Thread Catalin Marinas
On Fri, Sep 28, 2018 at 02:18:11PM +0100, Steve McIntyre wrote: > On Wed, Sep 05, 2018 at 03:34:41PM +0100, Will Deacon wrote: > >Hi all, > > > >This is a resend of: > > > > http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/593559.html > > > >now based on 4.19-rc2. > > > >The Debian

  1   2   3   4   5   6   >