[PATCH v4 02/15] soundwire: Add SoundWire bus type

2017-12-01 Thread Vinod Koul
This adds the base SoundWire bus type, bus and driver registration. along with changes to module device table for new SoundWire device type. Signed-off-by: Sanyog Kale Signed-off-by: Vinod Koul --- drivers/Kconfig| 2 + drivers/Makefile | 1 + drivers/s

Re: [PATCH v3 4/4] DTS: Pandora: fix panel compatibility string

2017-12-01 Thread Tomi Valkeinen
On 01/12/17 11:48, H. Nikolaus Schaller wrote: > Just a note: there is no toppoly->tpo change for *this* panel and > Pandora board. Just omapdss removal. > > The GTA04 needs a toppoly->tpo change but no omapdss, removal. > > So they solve different problems and are independent of each other. >

[PATCH][V2] wlcore, wl1251: fix spelling: "Couldnt" -> "Couldn't" and remove error on -ENOMEM

2017-12-01 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in error message text. Also remove the error message on an kzalloc failure as this is redundant. Signed-off-by: Colin Ian King --- drivers/net/wireless/ti/wl1251/init.c | 4 +--- drivers/net/wireless/ti/wlcore/acx.c | 2 +- 2 files changed

Re: BUG: support for at24 multi-slave-address eeproms is broken.

2017-12-01 Thread Bartosz Golaszewski
2017-11-30 23:34 GMT+01:00 Sakari Ailus : > Hi Sven, > > On Thu, Nov 30, 2017 at 02:03:23PM -0500, Sven Van Asbroeck wrote: >> Summary >> --- >> Some at24 eeproms have multiple i2c slave addresses. A patch introduced >> between 4.14-rc5 and 4.14-rc6 breaks support for these eeproms: >> reads/wr

[PATCH v4 3/3] mm/mempolicy: add nodes_empty check in SYSC_migrate_pages

2017-12-01 Thread Yisheng Xie
As in manpage of migrate_pages, the errno should be set to EINVAL when none of the node IDs specified by new_nodes are on-line and allowed by the process's current cpuset context, or none of the specified nodes contain memory. However, when test by following case: new_nodes = 0; o

RE: [PATCH 1/2] mtd: spi-nor: add a API to restore the addressing mode

2017-12-01 Thread Z.q. Hou
Hi Cyrille, Thanks a lot for your comments! > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] > Sent: 2017年12月1日 16:53 > To: Z.q. Hou ; linux-...@lists.infradead.org; > linux-kernel@vger.kernel.org; computersforpe...@gmail.com; > dw...@infradead.org; boris.b

RE: [PATCH 2/2] mtd: m25p80: restore the addressing mode when stop using the flash

2017-12-01 Thread Z.q. Hou
Hi Cyrille, Thanks for your comments! > -Original Message- > From: Cyrille Pitchen [mailto:cyrille.pitc...@wedev4u.fr] > Sent: 2017年12月1日 16:58 > To: Z.q. Hou ; linux-...@lists.infradead.org; > linux-kernel@vger.kernel.org; computersforpe...@gmail.com; > dw...@infradead.org; boris.brezil.

Re: [Bug fix] octeon-i2c driver updates

2017-12-01 Thread Jan Glauber
Hi Sean, as you try to solve two different issues I suggest that you create one patch per issue. For the second point (retry of START after recovery) I would still like to hear Wolfram's opinion. I would assume that any i2c user should be well aware of -EAGAIN, so I wonder if it is worth the addi

Re: [PATCH v4 1/3] drm/bridge/synopsys: dsi: stop clobbering drvdata

2017-12-01 Thread Philippe CORNU
Hi Nickey, On 12/01/2017 10:11 AM, Nickey Yang wrote: > Hi Philippe, > > > On 2017年12月01日 16:32, Philippe CORNU wrote: >> Dear Nickey, >> >> Many thanks for your patch. >> >> I am sorry to say that but you can not add my "Acked-by" to this patch >> because this code is different from the "origin

[PATCH 3/3] tap: free skb if flags error

2017-12-01 Thread wexu
From: Wei Xu tap_recvmsg() supports accepting skb by msg_control after commit 3b4ba04acca8 ("tap: support receiving skb from msg_control"), the skb if presented should be freed within the function, otherwise it would be leaked. Signed-off-by: Wei Xu Reported-by: Matthew Rosato --- drivers/ne

[PATCH net,stable v4 0/3] vhost: fix a few skb leaks

2017-12-01 Thread wexu
From: Wei Xu Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev@vger.kernel.org/msg187936.html v4: - fix zero iov iterator count in tap/tap_do_read()(Jas

[PATCH 2/3] tun: free skb in early errors

2017-12-01 Thread wexu
From: Wei Xu tun_recvmsg() supports accepting skb by msg_control after commit ac77cfd4258f ("tun: support receiving skb through msg_control"), the skb if presented should be freed no matter how far it can go along, otherwise it would be leaked. This patch fixes several missed cases. Signed-off-

[PATCH 1/3] vhost: fix skb leak in handle_rx()

2017-12-01 Thread wexu
From: Wei Xu Matthew found a roughly 40% tcp throughput regression with commit c67df11f(vhost_net: try batch dequing from skb array) as discussed in the following thread: https://www.mail-archive.com/netdev@vger.kernel.org/msg187936.html Eventually we figured out that it was a skb leak in handle

Re: [PATCH v4 1/2] livepatch: send a fake signal to all blocking tasks

2017-12-01 Thread Michael Ellerman
Jiri Kosina writes: > On Wed, 15 Nov 2017, Miroslav Benes wrote: >> Live patching consistency model is of LEAVE_PATCHED_SET and >> SWITCH_THREAD. This means that all tasks in the system have to be marked >> one by one as safe to call a new patched function. Safe means when a >> task is not (sleepi

Re: [Qemu-devel] [PATCH] firmware: Use PTR_ERR_OR_ZERO()

2017-12-01 Thread Stefan Hajnoczi
On Tue, Nov 28, 2017 at 10:40:27PM +0100, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > drivers/firmware/efi/efi.c:610:8-14: WARNING: PTR_ERR_OR_ZERO can be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > Sig

Re: [PATCH v3 1/4] mm: introduce get_user_pages_longterm

2017-12-01 Thread Michal Hocko
On Thu 30-11-17 12:01:17, Jason Gunthorpe wrote: > On Thu, Nov 30, 2017 at 10:32:42AM -0800, Dan Williams wrote: > > > Who and how many LRU pages can pin that way and how do you prevent nasty > > > users to DoS systems this way? > > > > I assume this is something the RDMA community has had to cont

[RESEND] x86/numa: move setting parsed numa node to num_add_memblk

2017-12-01 Thread zhong jiang
The acpi table are very much like user input. it is likely to introduce some unreasonable node in some architecture. but they do not ingore the node and bail out in time. it will result in unnecessary print. e.g x86: start is equal to end is a unreasonable node. numa_blk_memblk will fails but ret

Re: [PATCH net-next 1/5] libbpf: add ability to guess program type based on section name

2017-12-01 Thread Quentin Monnet
Thanks Roman! One comment in-line. 2017-11-30 13:42 UTC+ ~ Roman Gushchin > The bpf_prog_load() function will guess program type if it's not > specified explicitly. This functionality will be used to implement > loading of different programs without asking a user to specify > the program type

[GIT PULL] MMC fixes for v.4.15-rc2

2017-12-01 Thread Ulf Hansson
Hi Linus, Here's a PR with a couple of MMC fixes intended for v4.15-rc2. The changes as based on a commit during the mergewindow and have been tested in linux-next for a while by now. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansso

Re: [PATCH net-next 4/5] bpftool: implement cgdetach command

2017-12-01 Thread Quentin Monnet
2017-11-30 13:43 UTC+ ~ Roman Gushchin > Implement cgdetach command, which allows to detach the bpf > program from a cgroup. It takes program id and attach type > as arguments. > > Example: > $ ./bpftool cgdetach /sys/fs/cgroup/user.slice/ device 1 > > Signed-off-by: Roman Gushchin > Cc: Al

Re: [PATCH v1] PCI: Remove PCI_REASSIGN_ALL_RSRC use on arm and arm64

2017-12-01 Thread Lorenzo Pieralisi
On Thu, Nov 30, 2017 at 02:15:05PM -0600, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > On arm, PCI_REASSIGN_ALL_RSRC is used only in pcibios_assign_all_busses(), > which helps decide whether to reconfigure bridge bus numbers. It has > nothing to do with BAR assignments. On arm64 and powerpc,

Re: [PATCH v8 01/13] Documentation: Add SLIMbus summary

2017-12-01 Thread Jonathan Neuschäfer
Hi, some small nits below. On Thu, Nov 30, 2017 at 05:41:48PM +, srinivas.kandaga...@linaro.org wrote: > From: Sagar Dharia > > SLIMbus (Serial Low Power Interchip Media Bus) is a specification > developed by MIPI (Mobile Industry Processor Interface) alliance. > SLIMbus is a 2-wire implemen

Re: [PATCH 3/5] PCI: cadence: Add host driver for Cadence PCIe controller

2017-12-01 Thread Cyrille Pitchen
Hi Bjorn, Le 28/11/2017 à 21:41, Bjorn Helgaas a écrit : > On Thu, Nov 23, 2017 at 04:01:48PM +0100, Cyrille Pitchen wrote: >> This patch adds support to the Cadence PCIe controller in host mode. >> >> Signed-off-by: Cyrille Pitchen >> --- >> drivers/Makefile| 1 + >> d

Re: [PATCH v3 0/5] ACPI: DMA ranges management

2017-12-01 Thread Lorenzo Pieralisi
On Thu, Nov 30, 2017 at 04:43:00PM -0800, Feng Kan wrote: > On Wed, Nov 29, 2017 at 11:28 PM, Feng Kan wrote: > > On Thu, Aug 3, 2017 at 5:32 AM, Lorenzo Pieralisi > > wrote: > >> This patch series is v3 of a previous posting: > >> > >> v2->v3: > >> - Fixed DMA masks computation > >>

[kernel-hardening][PATCH 0/3] arm: Makes ptdump resuable and add WX page checking

2017-12-01 Thread jinb.park
Hi, Page table dumping code for arm64-x86 is reusable, and they have function for WX page checking. But arm doesn't have that. This path series are to makes ptdump reusable, and add WX page checking for arm. This is heavily based on arm64 version. Jinbum Park (3): arm: mm: dump: make page tabl

Re: [PATCH v4 3/5] pwm-backlight: add support for PWM delays proprieties.

2017-12-01 Thread Enric Balletbo Serra
Hi, 2017-07-26 19:01 GMT+02:00 Jingoo Han : > On Monday, July 24, 2017 11:22 AM, Daniel Thompson wrote: >> On 21/07/17 11:48, Enric Balletbo i Serra wrote: >> > Some panels (i.e. N116BGE-L41), in their power sequence specifications, >> > request a delay between set the PWM signal and enable the ba

[kernel-hardening][PATCH 1/3] arm: mm: dump: make page table dumping reusable

2017-12-01 Thread jinb.park
This patch refactors the arm page table dumping code, so multiple tables may be registered with the framework. This patch refers below commits of arm64. (4674fdb9f149 ("arm64: mm: dump: make page table dumping reusable")) (4ddb9bf83349 ("arm64: dump: Make ptdump debugfs a separate option")) Signe

[kernel-hardening][PATCH 2/3] arm: mm: dump: make the page table dumping seq_file optional

2017-12-01 Thread jinb.park
This patch makes the page table dumping seq_file optional. It makes the page table dumping code usable for other cases. This patch refers below commit of arm64. (ae5d1cf358a5 ("arm64: dump: Make the page table dumping seq_file optional")) Signed-off-by: Jinbum Park --- arch/arm/mm/dump.c | 28 +

[PATCH 1/2] thermal: mtk: Cleanup unused defines

2017-12-01 Thread Matthias Brugger
The mtk_thermal has some defiens which are never used within the driver. This patch delets them. Signed-off-by: Matthias Brugger --- drivers/thermal/mtk_thermal.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/thermal/mtk_thermal.c b/drivers/thermal/mtk_therm

[PATCH RT] arm*: disable NEON in kernel mode

2017-12-01 Thread Sebastian Andrzej Siewior
NEON in kernel mode is used by the crypto algorithms and raid6 code. While the raid6 code looks okay, the crypto algorithms do not: NEON is enabled on first invocation and may allocate/free/map memory before the NEON mode is disabled again. This needs to be changed until it can be enabled. On ARM N

[RFC][PATCH] printk: add console_msg_format command line option

2017-12-01 Thread Sergey Senozhatsky
0day and kernelCI automatically parse kernel log - basically some sort of grepping using the pre-defined text patterns - in order to detect and report regressions/errors. There are several sources they get the kernel logs from: a) dmesg or /proc/ksmg This is the preferred way. Because `dmesg -

[PATCH RT v2] crypto: limit more FPU-enabled sections

2017-12-01 Thread Sebastian Andrzej Siewior
Those crypto drivers use SSE/AVX/… for their crypto work and in order to do so in kernel they need to enable the "FPU" in kernel mode which disables preemption. There are two problems with the way they are used: - the while loop which processes X bytes may create latency spikes and should be avoi

[kernel-hardening][PATCH 3/3] arm: mm: dump: add checking for writable and executable pages

2017-12-01 Thread jinb.park
Page mappings with full RWX permissions are a security risk. x86, arm64 has an option to walk the page tables and dump any bad pages. (1404d6f13e47 ("arm64: dump: Add checking for writable and exectuable pages")) Add a similar implementation for arm. Signed-off-by: Jinbum Park --- arch/arm/Kcon

RE: Unusual Sign ln Alert!!!

2017-12-01 Thread Salinas Mora, Jose T
Dear Outlook User, We detected something unusual about a recent sign-in to Your Microsoft Outlook Account, To help keep your account safe, we required an Update to avoid Blockage or Account Closure. You have less than 24hrs. Click the button below to continue using this service Verify

Re: [PATCH v2 00/10] trace-cmd: Refactoring trace_record()

2017-12-01 Thread Vladislav Valtchev
On Thu, 2017-11-30 at 16:37 -0500, Steven Rostedt wrote: > Hi Vlad, > > I applied and pushed all the patches in this series. > > Thanks! > That's great! Thanks a lot to you, Steven! Vlad

[PATCH 2/2] ahci: mtk: Change driver name to ahci-mtk

2017-12-01 Thread Matthias Brugger
The driver name "ahci" is already used by the ahci platform driver. This leads to the following error: Error: Driver 'ahci' is already registered, aborting... Change the name to ahci-mtk to fix this. Signed-off-by: Matthias Brugger --- drivers/ata/ahci_mtk.c | 2 +- 1 file changed, 1 insertion(

Re: [PATCHSET v2] cgroup, writeback, btrfs: make sure btrfs issues metadata IOs from the root cgroup

2017-12-01 Thread Jan Kara
On Wed 29-11-17 13:38:26, Chris Mason wrote: > On 11/29/2017 12:05 PM, Tejun Heo wrote: > >On Wed, Nov 29, 2017 at 09:03:30AM -0800, Tejun Heo wrote: > >>Hello, > >> > >>On Wed, Nov 29, 2017 at 05:56:08PM +0100, Jan Kara wrote: > >>>What has happened with this patch set? > >> > >>No idea. cc'ing C

Re: [PATCH v4 3/5] pwm-backlight: add support for PWM delays proprieties.

2017-12-01 Thread Lee Jones
On Fri, 01 Dec 2017, Enric Balletbo Serra wrote: > 2017-07-26 19:01 GMT+02:00 Jingoo Han : > > On Monday, July 24, 2017 11:22 AM, Daniel Thompson wrote: > >> On 21/07/17 11:48, Enric Balletbo i Serra wrote: > >> > Some panels (i.e. N116BGE-L41), in their power sequence specifications, > >> > reques

Re: [PATCH v4 3/5] pwm-backlight: add support for PWM delays proprieties.

2017-12-01 Thread Enric Balletbo Serra
Hi, 2017-12-01 11:54 GMT+01:00 Lee Jones : > On Fri, 01 Dec 2017, Enric Balletbo Serra wrote: >> 2017-07-26 19:01 GMT+02:00 Jingoo Han : >> > On Monday, July 24, 2017 11:22 AM, Daniel Thompson wrote: >> >> On 21/07/17 11:48, Enric Balletbo i Serra wrote: >> >> > Some panels (i.e. N116BGE-L41), in

RE: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-12-01 Thread Yoshihiro Shimoda
Hi, > From: Ulf Hansson, Sent: Friday, December 1, 2017 6:22 PM > > + Kishon > > On 30 November 2017 at 13:51, Yoshihiro Shimoda > wrote: > > Hi, > > > >> From: Ulf Hansson, Sent: Wednesday, November 29, 2017 6:59 PM > >> > >> On 29 November 2017 at 10:43, Geert Uytterhoeven > >> wrote: > >>

[PATCH net] rxrpc: Use correct netns source in rxrpc_release_sock()

2017-12-01 Thread David Howells
In rxrpc_release_sock() there may be no rx->local value to access, so we can't unconditionally follow it to the rxrpc network namespace information to poke the connection reapers. Instead, use the socket's namespace pointer to find the namespace. This unfixed code causes the following static chec

[PATCH net] rxrpc: Fix the MAINTAINERS record

2017-12-01 Thread David Howells
Fix the MAINTAINERS record so that it's more obvious who the maintainer for AF_RXRPC is. Reported-by: Joe Perches Reported-by: David Miller Signed-off-by: David Howells --- MAINTAINERS | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAIN

Re: [PATCH v2 06/10] trace-cmd: Extr. profile-specific code from record_trace

2017-12-01 Thread Vladislav Valtchev
On Thu, 2017-11-30 at 12:05 -0500, Steven Rostedt wrote: > I modified the subject to: > > trace-cmd: Extract profile-specific code from record_trace > > Let's not abbreviate in the subject if we don't need to. It makes it > harder to read. > I'm totally fine with not abbreviating so much the s

[PATCH] iio: accel: bmc150: Add OF device ID table

2017-12-01 Thread Javier Martinez Canillas
The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a I2C device registered via OF will always match a legacy I2C device ID and that the MODALIAS reported will always be of the form i2c:. But this could c

RE: [patch v12 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-12-01 Thread Oleksandr Shamray
> -Original Message- > From: Kun Yi [mailto:ku...@google.com] > Sent: Thursday, November 30, 2017 12:51 AM > To: Oleksandr Shamray > Cc: gre...@linuxfoundation.org; a...@arndb.de; system-sw-low-level > ; devicet...@vger.kernel.org; > j...@resnulli.us; Vadim Pasternak ; linux- > a...@vger.k

Re: [PATCH resend] mm/page_alloc: fix comment is __get_free_pages

2017-12-01 Thread Michal Hocko
On Fri 01-12-17 08:24:14, Michal Hocko wrote: > On Thu 30-11-17 13:17:06, Andrew Morton wrote: > > On Thu, 30 Nov 2017 07:53:35 +0100 Michal Hocko wrote: > > > > > > mm... So we have a caller which hopes to be getting highmem pages but > > > > isn't. Caller then proceeds to pointlessly kmap the

Re: [RFC 0/3] Safe, dynamically (un)loadable LSMs

2017-12-01 Thread Igor Stoppa
On 30/11/17 04:28, Casey Schaufler wrote: > On 11/26/2017 2:15 PM, Sargun Dhillon wrote: >> This patchset introduces safe dynamic LSM support. It does this via >> SRCU-protected security hooks. It also EXPORT_SYMBOL_GPLs the symbols >> required to perform runtime loading, and unloading. The patch

Re: [PATCH v2 07/10] trace-cmd: Mov init_common_record_context in parse_record_options

2017-12-01 Thread Vladislav Valtchev
On Thu, 2017-11-30 at 12:07 -0500, Steven Rostedt wrote: > Same here. It's "Move" not "Mov" ;-) > Yep, that was a desperate attempt to save just one character :-) I couldn't abbreviate the function names nor skip "in" nor the "trace-cmd: " prefix. Only the poor "Move" remained. I couldn't even

Re: [PATCH v4 2/2] arm64: Add software workaround for Falkor erratum 1041

2017-12-01 Thread Will Deacon
On Mon, Nov 27, 2017 at 05:18:00PM -0600, Shanker Donthineni wrote: > The ARM architecture defines the memory locations that are permitted > to be accessed as the result of a speculative instruction fetch from > an exception level for which all stages of translation are disabled. > Specifically, th

[kernel-hardening][PATCH v2 0/3] arm: Makes ptdump resuable and add WX page checking

2017-12-01 Thread Jinbum Park
Hi, Page table dumping code for arm64-x86 is reusable, and they have function for WX page checking. But arm doesn't have that. This path series are to makes ptdump reusable, and add WX page checking for arm. This is heavily based on arm64 version. v2 : Fix a sender name of mail header, there was

Re: [PATCH RT v2] crypto: limit more FPU-enabled sections

2017-12-01 Thread Peter Zijlstra
On Fri, Dec 01, 2017 at 11:44:22AM +0100, Sebastian Andrzej Siewior wrote: > --- a/arch/x86/crypto/camellia_aesni_avx2_glue.c > +++ b/arch/x86/crypto/camellia_aesni_avx2_glue.c > @@ -206,6 +206,34 @@ struct crypt_priv { > bool fpu_enabled; > }; > > +#ifdef CONFIG_PREEMPT_RT_FULL > +static

[PATCH] ubsan: don't handle misaligned address when support unaligned access

2017-12-01 Thread Ding Tianhong
The ubsan always report Warning just like: UBSAN: Undefined behaviour in ../include/linux/etherdevice.h:386:9 load of misaligned address ffc069ba0482 for type 'long unsigned int' which requires 8 byte alignment CPU: 0 PID: 901 Comm: sshd Not tainted 4.xx+ #1 Hardware name: linux,dummy-virt (DT

[kernel-hardening][PATCH v2 1/3] arm: mm: dump: make page table dumping reusable

2017-12-01 Thread Jinbum Park
This patch refactors the arm page table dumping code, so multiple tables may be registered with the framework. This patch refers below commits of arm64. (4674fdb9f149 ("arm64: mm: dump: make page table dumping reusable")) (4ddb9bf83349 ("arm64: dump: Make ptdump debugfs a separate option")) Signe

[kernel-hardening][PATCH v2 2/3] arm: mm: dump: make the page table dumping seq_file optional

2017-12-01 Thread Jinbum Park
This patch makes the page table dumping seq_file optional. It makes the page table dumping code usable for other cases. This patch refers below commit of arm64. (ae5d1cf358a5 ("arm64: dump: Make the page table dumping seq_file optional")) Signed-off-by: Jinbum Park --- arch/arm/mm/dump.c | 28 +

[kernel-hardening][PATCH v2 3/3] arm: mm: dump: add checking for writable and executable pages

2017-12-01 Thread Jinbum Park
Page mappings with full RWX permissions are a security risk. x86, arm64 has an option to walk the page tables and dump any bad pages. (1404d6f13e47 ("arm64: dump: Add checking for writable and exectuable pages")) Add a similar implementation for arm. Signed-off-by: Jinbum Park --- arch/arm/Kcon

RE: [PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2017-12-01 Thread Miodrag Dinic
Hi everyone, just a note, even though we started discussion on V2 version of this patch, an up to date V3 version is available at : https://patchwork.kernel.org/patch/10068871/ It contains spelling check fixes. Thank you. Kind regards, Miodrag From: Mi

Re: [PATCH 3/3] arm: dts: mt7623: fix card detection issue on bananapi-r2

2017-12-01 Thread Matthias Brugger
On 11/29/2017 11:10 AM, sean.w...@mediatek.com wrote: From: Sean Wang Fix that bananapi-r2 booting from SD-card would fail since incorrect polarity is applied to the previous setup with GPIO_ACTIVE_HIGH. Cc: sta...@vger.kernel.org # v4.14+ Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card

RE: [PATCH] ubsan: don't handle misaligned address when support unaligned access

2017-12-01 Thread David Laight
From: Ding Tianhong > Sent: 01 December 2017 11:32 > To: a...@linux-foundation.org; aryabi...@virtuozzo.co; > linux-kernel@vger.kernel.org; LinuxArm > Subject: [PATCH] ubsan: don't handle misaligned address when support > unaligned access > > The ubsan always report Warning just like: > > UBSAN

Re: [PATCH 03/11] fs: add frozen sb state helpers

2017-12-01 Thread Jan Kara
On Thu 30-11-17 20:05:48, Luis R. Rodriguez wrote: > On Thu, Nov 30, 2017 at 06:13:10PM +0100, Jan Kara wrote: > > ... I dislike the _by_user() suffix as there may be different places that > > call freeze_super() (e.g. device mapper does this during some operations). > > Clearly we need to distingu

Re: [PATCH v2 06/18] arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN

2017-12-01 Thread Mark Rutland
On Thu, Nov 30, 2017 at 04:39:34PM +, Will Deacon wrote: > With the ASID now installed in TTBR1, we can re-enable ARM64_SW_TTBR0_PAN > by ensuring that we switch to a reserved ASID of zero when disabling > user access and restore the active user ASID on the uaccess enable path. > > Signed-off-

RE: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-12-01 Thread Yoshihiro Shimoda
Hi again, > From: Yoshihiro Shimoda, Sent: Friday, December 1, 2017 8:04 PM > > Hi, > > However, the following message still exists. > >Enabling runtime PM for inactive device (ee08.usb) with active children > > So, I guess ohci-platform.c also has similar issue. > > JFYI, the ehci-p

Re: [PATCH v2 12/18] arm64: entry: Explicitly pass exception level to kernel_ventry macro

2017-12-01 Thread Mark Rutland
On Thu, Nov 30, 2017 at 04:39:40PM +, Will Deacon wrote: > We will need to treat exceptions from EL0 differently in kernel_ventry, > so rework the macro to take the exception level as an argument and > construct the branch target using that. > > Signed-off-by: Will Deacon > --- > arch/arm64/

Re: [PATCH v3] scripts/package: snap-pkg target

2017-12-01 Thread Riku Voipio
On 29 November 2017 at 19:05, Paolo Pisati wrote: > On Wed, Nov 29, 2017 at 8:33 AM, Masahiro Yamada > wrote: >> >> Worked for me too, >> after updating snapcraft. >> >> >> Is it really impossible to check the snapcraft version? >> What is the minimum version? 2.35 ? > > The minimum version is

[PATCH 1/2] afs: Fix permit refcounting

2017-12-01 Thread David Howells
Fix four refcount bugs in afs_cache_permit(): (1) When checking the result of the kzalloc(), we can't just return, but must put 'permits'. (2) We shouldn't put permits immediately after hashing a new permit as we need to keep the pointer stable so that we can check to see if vnod

[PATCH 0/2] afs: Fixes

2017-12-01 Thread David Howells
found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes tagged thusly: afs-fixes-20171201 David --- David Howells (2): afs: Fix permit refcounting afs: Properly reset afs_vnode (inode) fields fs/afs/internal.h |5

[PATCH 2/2] afs: Properly reset afs_vnode (inode) fields

2017-12-01 Thread David Howells
When an AFS inode is allocated by afs_alloc_inode(), the allocated afs_vnode struct isn't necessarily reset from the last time it was used as an inode because the slab constructor is only invoked once when the memory is obtained from the page allocator. This means that information can leak from on

[PATCH v5 5/5] ARM: dts: rockchip: set PWM delay backlight settings for Minnie

2017-12-01 Thread Enric Balletbo i Serra
The minnie devices comes with an AUO B101EAN01 panel which is different from default veyron devices, thus the power on/off timing sequence is slightly different. The datasheet specifies a pwm delay of 200 ms, so update the PMW delay proprieties accordingly. Signed-off-by: Enric Balletbo i Serra -

[PATCH v5 4/5] ARM: dts: rockchip: set PWM delay backlight settings for Veyron.

2017-12-01 Thread Enric Balletbo i Serra
For veyron the binding should provide both PWM timings, the delay between you enable the PWM and set the enable signal, and the delay between you disable the PWM signal and clear the enable signal. Update the binding accordingly, in this case the panels connected to the veyron boards have a symmetr

[PATCH v5 1/5] pwm-backlight: enable/disable the PWM before/after LCD enable toggle.

2017-12-01 Thread Enric Balletbo i Serra
Before this patch the enable signal was set before the PWM signal and vice-versa on power off. This sequence is wrong, at least, it is on the different panels datasheets that I checked, so I inverted the sequence to follow the specs. For reference the following panels have the mentioned sequence:

[PATCH 3/3] arm: dts: mt2701: Add reset-cells

2017-12-01 Thread Matthias Brugger
The hifsys and ethsys needs the definition of the reset-cells property. Fix this. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt2701.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index 965ddfbc9953..05557fce0f1d

[PATCH 2/3] arm: dts: mt7623: Update ethsys binding

2017-12-01 Thread Matthias Brugger
The ethsys binding misses the reset-cells, this patch adds this property. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt7623.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index 343d3b1a4448..b750da5362f7 100644 --

[PATCH 1/3] dt-bindings: ARM: Mediatek: Fix ethsys documentation

2017-12-01 Thread Matthias Brugger
The ethsys registers a reset controller, so we need to specify a reset cell. This patch fixes the documentation. Signed-off-by: Matthias Brugger --- Documentation/devicetree/bindings/arm/mediatek/mediatek,ethsys.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bin

[PATCH 0/3] thunderbolt fixes for v4.15-rc2

2017-12-01 Thread Mika Westerberg
Hi Greg, Here are two Thunderbolt fixes and one related MAINTAINERS update for the next -rc: - Use shorter path for force_power attribute in thunderbolt.rst - Ring interrupts were not masked properly when Rx polling starts - Add thunderbolt.rst to the Thunderbolt driver MAINTAINERS entry Thanks!

[PATCH v5 3/5] pwm-backlight: add support for PWM delays proprieties.

2017-12-01 Thread Enric Balletbo i Serra
Some panels (i.e. N116BGE-L41), in their power sequence specifications, request a delay between set the PWM signal and enable the backlight and between clear the PWM signal and disable the backlight. Add support for the new post-pwm-on-delay-ms and pwm-off-delay-ms proprieties to meet the timings.

[PATCH 2/3] MAINTAINERS: Add thunderbolt.rst to the Thunderbolt driver entry

2017-12-01 Thread Mika Westerberg
Make sure Thunderbolt maintainers get to see patches that touch documentation of the Thunderbolt driver as well. Signed-off-by: Mika Westerberg --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..478e4d342c2a 100644 --- a/MAINTAINERS

[PATCH 3/3] thunderbolt: Mask ring interrupt properly when polling starts

2017-12-01 Thread Mika Westerberg
When ring enters polling mode we are expected to mask the ring interrupt before the callback is called. However, the current code actually unmasks it probably because of a copy-paste mistake. Mask the interrupt properly from now on. Fixes: 4ffe722eefcb ("thunderbolt: Add polling mode for rings")

[PATCH v5 2/5] dt-bindings: pwm-backlight: add PWM delay proprieties.

2017-12-01 Thread Enric Balletbo i Serra
Hardware needs a delay between setting an initial (non-zero) PWM and enabling the backlight using GPIO. The post-pwm-on-delay-ms specifies this delay in milli seconds. Hardware also needs a delay between disabing the backlight using GPIO and setting PWM value to 0. The pwm-off-delay-ms is this dela

[PATCH 1/3] thunderbolt: Make pathname to force_power shorter

2017-12-01 Thread Mika Westerberg
From: Andy Shevchenko WMI is the bus inside kernel, so, we may access the GUID via /sys/bus/wmi instead of doing this through /sys/devices path. Signed-off-by: Andy Shevchenko Acked-by: Mario Limonciello Signed-off-by: Mika Westerberg --- Documentation/admin-guide/thunderbolt.rst | 2 +- 1 f

Re: [PATCHv1 03/14] drm/omap: plane: update fifo size on ovl setup

2017-12-01 Thread Tomi Valkeinen
On 24/07/17 20:33, Sebastian Reichel wrote: > This is a workaround for a hardware bug occuring on OMAP3 > with manually updated panels. Details about the HW bug are > unknown to me, but without this fix the panel refresh does > not work at all on Nokia N950. > > Signed-off-by: Sebastian Reichel

[GIT PULL] Please pull powerpc/linux.git powerpc-4.15-3 tag

2017-12-01 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.15: The following changes since commit 4d6c51b107cc73b15a377224549aa5593f90df89: powerpc/64s: Fix Power9 DD2.1 logic in DT CPU features (2017-11-22 23:17:01 +1100) are available in the Git repository at: https://git.kernel.org/pub/scm/li

Re: [PATCH v2 18/18] perf: arm_spe: Disallow userspace profiling when arm_kernel_unmapped_at_el0()

2017-12-01 Thread Mark Rutland
On Thu, Nov 30, 2017 at 04:39:46PM +, Will Deacon wrote: > When running with the kernel unmapped whilst at EL0, the virtually-addressed > SPE buffer is also unmapped, which can lead to buffer faults if userspace > profiling is enabled. > > This patch prohibits SPE profiling of userspace when >

[PATCH v2] kernel/kprobes: add re-register safe check for register_kretprobe()

2017-12-01 Thread JianKang Chen
From: Jiankang Chen When there are two same struct kretprobe rp, the INIT_HLIST_HEAD() will result in a empty list table rp->free_instances. The memory leak will happen. So it needs to add re-register safe check by __get_valid_kprobe(). However, current this is not safe for multi-threadings, bec

Re: blk-mq + bfq IO hangs after writing partition table

2017-12-01 Thread Ivan Kozik
On Fri, Dec 1, 2017 at 8:50 AM, Ming Lei wrote: > Could you run the following script[1] and provide us the result after > the IO hang is triggered? > > #./dump-blk-info /dev/sdX #/dev/sdX is name of your USB disk > > [1] http://people.redhat.com/minlei/tests/tools/dump-blk-info Hi M

Re: [PATCH v2 35/35] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2017-12-01 Thread Linus Walleij
On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: > From: Rick Chen > > Add a document to describe Andestech atcpit100 timer and > binding information. > > Signed-off-by: Rick Chen > Acked-by: Rob Herring > Signed-off-by: Greentime Hu Thanks for submitting this interesting architecture!

[PATCH v2] HID: add quirk for another PIXART OEM mouse used by HP

2017-12-01 Thread Dave Young
This mouse keep disconnecting in runleve 3 like below, add it needs the quirk to mute the anoying messages. [ 111.230555] usb 2-2: USB disconnect, device number 6 [ 112.718156] usb 2-2: new low-speed USB device number 7 using xhci_hcd [ 112.941594] usb 2-2: New USB device found, idVendor=03f0,

Re: [PATCH 5/5] PCI: cadence: add EndPoint Controller driver for Cadence PCIe controller

2017-12-01 Thread Lorenzo Pieralisi
On Thu, Nov 23, 2017 at 04:01:50PM +0100, Cyrille Pitchen wrote: > This patch adds support to the Cadence PCIe controller in endpoint mode. Please add a brief description to the log to describe the most salient features. > Signed-off-by: Cyrille Pitchen > --- > drivers/pci/cadence/Kconfig

Re: [PATCH 1/2] KVM: x86: fix APIC page invalidation

2017-12-01 Thread Fabian Grünbichler
On Thu, Nov 30, 2017 at 07:05:45PM +0100, Radim Krčmář wrote: > Implementation of the unpinned APIC page didn't update the VMCS address > cache when invalidation was done through range mmu notifiers. > This became a problem when the page notifier was removed. > > Re-introduce the arch-specific hel

[PATCH v2] clocksource: tcb_clksrc: Fix clock speed message

2017-12-01 Thread Romain Izard
The clock speed displayed at boot in an information message was 500 kHz too high compared to its real value. As the value is not used anywhere, there is no functional impact. Fix the rounding formula to display the correct value. Signed-off-by: Romain Izard --- v2: rebase over v4.15-rc1 There i

Re: [PATCH] s390/dasd: remove 'struct timespec' usage

2017-12-01 Thread Stefan Haberland
On 27.11.2017 12:46, Arnd Bergmann wrote: getnstimeofday() and timespec are deprecated since they can overflow on 32-bit architectures. This simply changes to the explicitly typed timespec64 version that doesn't have that problem. It would be nice to also convert to monotonic timestamps and call

Re: [PATCH 4/5] MIPS: Execute any partial write of the last register with PTRACE_SETREGSET

2017-12-01 Thread Dave Martin
On Thu, Nov 30, 2017 at 07:38:25PM +, Maciej W. Rozycki wrote: > Hi Dave, > > > > linux-mips-nt-prfpreg-count.diff > > > Index: linux-sfr-test/arch/mips/kernel/ptrace.c > > > === > > > --- linux-sfr-test.orig/arch/mips/kernel/ptra

Re: [PATCHv1 03/14] drm/omap: plane: update fifo size on ovl setup

2017-12-01 Thread Sebastian Reichel
Hi Tomi, On Fri, Dec 01, 2017 at 02:10:42PM +0200, Tomi Valkeinen wrote: > > On 24/07/17 20:33, Sebastian Reichel wrote: > > This is a workaround for a hardware bug occuring on OMAP3 > > with manually updated panels. Details about the HW bug are > > unknown to me, but without this fix the panel r

Re: Null pointer 4.14.1-rt3

2017-12-01 Thread Sebastian Andrzej Siewior
On 2017-11-30 11:35:33 [-0500], Steven Rostedt wrote: > Hmm, I'm not sure I tested this on a UP machine. Perhaps I should boot > with CPUs=1 It does not crash everywhere. For instance Dra7x, imx6 do not crash because they have GICv3 which does set required SMP function even on UP systems. BBB whic

Re: [PATCH v2] PM / Domains: Remove obsolete "samsung,power-domain" check

2017-12-01 Thread Krzysztof Kozlowski
On Thu, Nov 30, 2017 at 12:54 PM, Geert Uytterhoeven wrote: > Currently the generic PM Domain code code checks for the presence of > both (generic) "power-domains" and (Samsung Exynos legacy) > "samsung,power-domain" properties in all device tree nodes representing > devices. > > There are two iss

Re: [PATCH v6 01/10] arm64: dts: rockchip: Enable edp disaplay on kevin

2017-12-01 Thread Enric Balletbo Serra
Hi all, 2017-10-19 5:48 GMT+02:00 Jeffy Chen : > Add edp panel and enable related nodes on kevin. > > Signed-off-by: Jeffy Chen > Reviewed-by: Mark Yao > > --- > > Changes in v6: None > Changes in v5: None > > arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts | 29 > +++ >

Re: [PATCHv1 08/14] drm/omap: panel-dsi-cm: fix driver

2017-12-01 Thread Tomi Valkeinen
Hi, On 24/07/17 20:33, Sebastian Reichel wrote: > From: Tony Lindgren > > This adds support for get_timings() and check_timings() > to get the driver working and properly initializes the > timing information from DT. I don't know if it matters much, but the timings added to dts in the following

Re: [PATCH v2 33/35] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2017-12-01 Thread Linus Walleij
On Mon, Nov 27, 2017 at 1:28 PM, Greentime Hu wrote: > From: Rick Chen > > ATCPIT100 is often used on the Andes architecture, > This timer provide 4 PIT channels. Each PIT channel is a > multi-function timer, can be configured as 32,16,8 bit timers > or PWM as well. > > For system timer it will

Re: [PATCHv1 01/14] drm/omap: remove unused function defines

2017-12-01 Thread Tomi Valkeinen
On 24/07/17 20:32, Sebastian Reichel wrote: > Remove driver (un)register API defines. They do not even exist > anymore. > > Signed-off-by: Sebastian Reichel > --- > drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/gpu/drm/omapdrm/dss/omapd

Re: [PATCH 4/5] MIPS: Execute any partial write of the last register with PTRACE_SETREGSET

2017-12-01 Thread Dave Martin
From: Dave Martin To: "Maciej W. Rozycki" Cc: Ralf Baechle , James Hogan , Subject: Re: [PATCH 4/5] MIPS: Execute any partial write of the last register with PTRACE_SETREGSET In-Reply-To: On Thu, Nov 30, 2017 at 07:38:25PM +, Maciej W. Rozycki wrote: [...] > > If we can end up with that

Re: [PATCH] ubsan: don't handle misaligned address when support unaligned access

2017-12-01 Thread Ding Tianhong
On 2017/12/1 19:47, David Laight wrote: >> of noise in the log and cause confusion. >> >> This patch will close the detection of unaligned access when >> the system support unaligned access. >> >> Signed-off-by: Ding Tianhong >> --- >> lib/ubsan.c | 3 ++- >> 1 file changed, 2 insertions(+), 1

[PATCH] liquidio: fix incorrect indentation of assignment statement

2017-12-01 Thread Colin King
From: Colin Ian King Remove one extraneous level of indentation on assignment statement. Signed-off-by: Colin Ian King --- drivers/net/ethernet/cavium/liquidio/lio_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c b/driv

<    1   2   3   4   5   6   7   8   9   >