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

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

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;

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

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,

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

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

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

[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

[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

[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

[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

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

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

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

[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

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,

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

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

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

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

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); > > > } > > > > > > > > >

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

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

[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

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

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

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

KASAN: use-after-free Read in seq_escape

2018-10-01 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:17b57b1883c1 Linux 4.19-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1672d71140 kernel config: https://syzkaller.appspot.com/x/.config?x=c0af03fe452b65fb dashboard link:

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.

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: [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(_fs_type, _mnt, _count); > + err =

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

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

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

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

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(>list, >processing); ... >

[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

[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

[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

[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

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,

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

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

[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

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

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

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

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

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

[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

[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

[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

[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

[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

[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

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

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

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

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

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

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

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

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

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:

[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

[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

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

2018-10-01 Thread Frieder Schrempf
Hi Boris, On 29.09.2018 17:40, Boris Brezillon wrote: Hi Yogesh, On Fri, 21 Sep 2018 15:51:59 +0530 Yogesh Gaur wrote: +/* Registers used by the driver */ +#define FSPI_MCR0 0x00 +#define FSPI_MCR0_AHB_TIMEOUT_SHIFT24 +#define FSPI_MCR0_AHB_TIMEOUT_MASK (0xFF <<

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-10-01 Thread Alexey Budankov
Hello, On 28.09.2018 21:20, Thomas Gleixner wrote: > Start with something like Documentation/admin-guide/perf-security.rst or > whatever name fits better and add a proper documentation for the existing > knob. With the infrastructure for fine grained access control add the > general explanation

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-10-01 Thread Alexey Budankov
Hello Jann, > On Fri, Sep 28, 2018 at 11:22:37PM +0200, Jann Horn wrote: >> >> >> Is that true? IIRC if you want to use the perf tools after a kernel >> update, you have to install a new version of perf anyway, no? There are usages in production where perf_event_open() syscall accompanied

Re: [PATCH 0/3] namei: implement various scoping AT_* flags

2018-10-01 Thread Dave Chinner
On Mon, Oct 01, 2018 at 03:47:23PM +1000, Aleksa Sarai wrote: > On 2018-10-01, Dave Chinner wrote: > > > I've added some selftests for this, but it's not clear to me whether > > > they should live here or in xfstests (as far as I can tell there are no > > > other VFS tests in selftests, while

[PATCH v6 0/2] arm64: dts: add prng-ee nodes

2018-10-01 Thread Vinod Koul
This adds prng-ee nodes for msm8996 and sdm845 changes in v6: - Fix comments given by Stan changes in v5: - Add more description in patch logs changes in v4: - Fix node address on sdm845 changes in v3: - Add Bjorn's reviewed-by - Update patch titles to reflect that they add nodes changes

Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting)

2018-10-01 Thread Alexey Budankov
Hello Jann and Kees, On 29.09.2018 1:02, Jann Horn wrote: > Ah, I guess the answer is "0", since you want to see data about what > other users are doing. > > Does the i915 PMU expose sampling events, counting events, or both? > The thing about sampling events is that they AFAIK always let the

[PATCH 14/19] perf scripts python: exported-sql-viewer.py: Add ability to find symbols in the call-graph

2018-10-01 Thread Adrian Hunter
Add a Find bar that appears at the bottom of the call-graph window. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 306 +- 1 file changed, 305 insertions(+), 1 deletion(-) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py

[PATCH 09/19] perf scripts python: call-graph-from-sql.py: Factor out CallGraphModel from TreeModel

2018-10-01 Thread Adrian Hunter
Factor out CallGraphModel from TreeModel, which paves the way to reuse TreeModel in future reports. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 90 +-- 1 file changed, 61 insertions(+), 29 deletions(-) diff --git

[PATCH 16/19] perf scripts python: exported-sql-viewer.py: Add ability to display all the database tables

2018-10-01 Thread Adrian Hunter
Displaying all the database tables can help make the database easier to understand. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 694 ++ 1 file changed, 694 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py

[PATCH 17/19] perf scripts python: exported-sql-viewer.py: Add All branches report

2018-10-01 Thread Adrian Hunter
Add a report to display branches in a similar fashion to perf script. The main purpose of this report is to display disassembly, however, presently, the only supported disassembler is Intel XED, and additionally the object code must be present in perf build ID cache. To use Intel XED, libxed.so

[PATCH 15/19] perf scripts python: exported-sql-viewer.py: Add ability to shrink / enlarge font

2018-10-01 Thread Adrian Hunter
Shrinking the font allows more information to display. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 24 +++ 1 file changed, 24 insertions(+) diff --git a/tools/perf/scripts/python/exported-sql-viewer.py

[PATCH 19/19] perf scripts python: exported-sql-viewer.py: Add help window

2018-10-01 Thread Adrian Hunter
Add a window to display help. It is also possible to display the help only, by using the option "--help-only" instead of a database name. Signed-off-by: Adrian Hunter --- .../scripts/python/exported-sql-viewer.py | 144 +- 1 file changed, 143 insertions(+), 1 deletion(-)

[PATCH 08/19] perf scripts python: call-graph-from-sql.py: Remove use of setObjectName()

2018-10-01 Thread Adrian Hunter
The object name is never used, so don't bother setting it. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/call-graph-from-sql.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py b/tools/perf/scripts/python/call-graph-from-sql.py

[PATCH 13/19] perf scripts python: exported-sql-viewer.py: Add support for multiple sub-windows

2018-10-01 Thread Adrian Hunter
Use Qt MDI (multiple document interface) to support multiple sub-windows. Put the data model in a cache so that each sub-window can share the same data. This allows mutiple views of the call-graph at the same time and paves the way to add more reports. Signed-off-by: Adrian Hunter ---

[PATCH 12/19] perf scripts python: call-graph-from-sql.py: Rename to exported-sql-viewer.py

2018-10-01 Thread Adrian Hunter
Additional reports will be added to the script so rename to reflect the more general purpose. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/intel-pt.txt | 2 +- tools/perf/scripts/python/export-to-postgresql.py | 2 +-

[PATCH 07/19] perf scripts python: call-graph-from-sql.py: Add a class for global data

2018-10-01 Thread Adrian Hunter
Keep global data in a single object that is easy to pass around as needed, without polluting the global namespace. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 26 +++ 1 file changed, 21 insertions(+), 5 deletions(-) diff --git

[PATCH 10/19] perf scripts python: call-graph-from-sql.py: Add data helper functions

2018-10-01 Thread Adrian Hunter
Add helper functions for a few common cases. Signed-off-by: Adrian Hunter --- .../scripts/python/call-graph-from-sql.py | 54 ++- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/tools/perf/scripts/python/call-graph-from-sql.py

[PATCH 11/19] perf scripts python: call-graph-from-sql.py: Refactor TreeItem class

2018-10-01 Thread Adrian Hunter
class TreeItem represents items at all levels of the call-graph tree. However, not all the levels represent the same data i.e. the top-level is comms, the next level is threads, and subsequent levels are functions. Consequently it is simpler to have separate classes for different levels with

[PATCH v6 2/2] arm64: dts: sdm845: add prng-ee node

2018-10-01 Thread Vinod Koul
RNG hardware in SDM845 features (Execution Environment) EE for HLOS to use, add the node for prng-ee for sdm845. Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi

  1   2   3   4   5   6   7   8   9   10   >