[PATCH V3 3/3] misc/pvpanic : add pci dependency in Kconfig

2018-12-17 Thread Peng Hao
Add PCI dependency for pvpanic in Kconfig. Signed-off-by: Peng Hao --- drivers/misc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f417b06..5ff8ca4 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -515,

[PATCH V3 1/3] misc/pvpanic: return 0 for empty body register function

2018-12-17 Thread Peng Hao
Return 0 for empty body register function normally. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index 3150dc2..f84ed30 100644 --- a/drivers/misc/pvpanic.c +++ b/drivers/misc

[PATCH V3 2/3] misc/pvpanic : add pci interface for pvpanic

2018-12-17 Thread Peng Hao
Support pvpanic as a pci device in guest kernel. Signed-off-by: Peng Hao --- drivers/misc/pvpanic.c | 82 -- 1 file changed, 80 insertions(+), 2 deletions(-) diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index f84ed30..b8d8dba 10064

Re: [PATCH 2/3] PCI: imx6: Invert checks in imx6_pcie_reset_phy() and imx6_setup_phy_mpll()

2018-12-17 Thread Leonard Crestez
On 12/17/2018 1:09 AM, Andrey Smirnov wrote: > In order to avoid having potentially ever growing list of variants > that don't support methods implemented in imx6_pcie_reset_phy() and > imx6_setup_phy_mpll(), change logical checks in the to check for SoC's > that _do_ support what they implement. W

Re: [PATCH 2/3] hugetlbfs: Use i_mmap_rwsem to fix page fault/truncate race

2018-12-17 Thread Aneesh Kumar K.V
On 12/4/18 1:38 AM, Mike Kravetz wrote: hugetlbfs page faults can race with truncate and hole punch operations. Current code in the page fault path attempts to handle this by 'backing out' operations if we encounter the race. One obvious omission in the current code is removing a page newly adde

Re: [PATCH v2 0/3] PCIE support for i.MX8MQ

2018-12-17 Thread Lorenzo Pieralisi
On Mon, Dec 17, 2018 at 11:12:58AM +0100, Lucas Stach wrote: > Am Freitag, den 14.12.2018, 21:25 -0800 schrieb Andrey Smirnov: > > > On Fri, Dec 14, 2018 at 12:38 PM Bjorn Helgaas wrote: > > > > > > [+cc Trent] > > > > > > On Thu, Dec 06, 2018 at 12:15:50PM +, Lorenzo Pieralisi wrote: > > >

Re: [PATCH 05/11] staging: iio: adc: ad7606: Add support for threaded irq

2018-12-17 Thread Popa, Stefan Serban
On Du, 2018-12-16 at 13:49 +, Jonathan Cameron wrote: > On Thu, 13 Dec 2018 14:46:17 +0200 > Stefan Popa wrote: > > > > > This patch replaces the use of a polling ring buffer with a threaded > > interrupt. > > > > Enabling the buffer sets the CONVST signal to high. When the rising > > edge

Re: [PATCH v5 0/5] powerpc: system call table generation support

2018-12-17 Thread Michael Ellerman
Satheesh Rajendran writes: > Hi Firoz, > > On Thu, Dec 13, 2018 at 02:32:45PM +0530, Firoz Khan wrote: >> The purpose of this patch series is, we can easily >> add/modify/delete system call table support by cha- >> nging entry in syscall.tbl file instead of manually >> changing many files. The oth

Re: [PATCH v2 0/7] x86/kvm/hyper-v: Implement KVM_GET_SUPPORTED_HV_CPUID

2018-12-17 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > > Queued, thanks. I moved this above the direct EOI series so that > KVM_CAP_HYPERV_STIMER_DIRECT need not exist at any point of the history. > Thanks! Just to make sure (and to conclude our discussion with Roman): with your Qemu maintainer hat on, do you agree with the

Re: [PATCH v2 2/2] irqchip: add driver for imx-irqsteer controller

2018-12-17 Thread Marc Zyngier
Hi Lucas, On 17/12/2018 10:09, Lucas Stach wrote: > Hi Marc, > > Am Samstag, den 15.12.2018, 09:45 + schrieb Marc Zyngier: >> Hi Lucas, >> >> On Fri, 14 Dec 2018 10:22:44 +, >>> Lucas Stach wrote: >>> >>> The irqsteer block is a interrupt multiplexer/remapper found on the >>> i.MX8 line

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-12-17 Thread Bartosz Golaszewski
śr., 5 gru 2018 o 13:38 Bartosz Golaszewski napisał(a): > > śr., 5 gru 2018 o 13:20 Linus Walleij napisał(a): > > > > On Mon, Dec 3, 2018 at 12:06 PM Uwe Kleine-König > > wrote: > > > On Mon, Dec 03, 2018 at 11:57:26AM +0100, Bartosz Golaszewski wrote: > > > > > > It used to live in the gpio-moc

Re: [PATCH 3/3] hugetlbfs: remove unnecessary code after i_mmap_rwsem synchronization

2018-12-17 Thread Aneesh Kumar K.V
On 12/4/18 1:38 AM, Mike Kravetz wrote: After expanding i_mmap_rwsem use for better shared pmd and page fault/ truncation synchronization, remove code that is no longer necessary. Cc: Fixes: ebed4bfc8da8 ("hugetlb: fix absurd HugePages_Rsvd") Signed-off-by: Mike Kravetz --- fs/hugetlbfs/inod

[PATCH] regulator: act8945a-regulator: fix 'defined but not used' compiler warning

2018-12-17 Thread Claudiu.Beznea
From: Claudiu Beznea Fix 'defined but not used' compiler warning for act8945a_suspend() function in case CONFIG_PM_SLEEP is not defined. Fixes: b5ebba46e694 ("regulator: act8945a-regulator: add shutdown function") Signed-off-by: Claudiu Beznea Reported-by: Andrei Stefanescu --- drivers/regula

[PATCH v6 0/5] powerpc: system call table generation support

2018-12-17 Thread Firoz Khan
The purpose of this patch series is, we can easily add/modify/delete system call table support by cha- nging entry in syscall.tbl file instead of manually changing many files. The other goal is to unify the system call table generation support implementation across all the architectures. The sy

[PATCH v6 2/5] powerpc: move macro definition from asm/systbl.h

2018-12-17 Thread Firoz Khan
Move the macro definition for compat_sys_sigsuspend from asm/systbl.h to the file which it is getting included. One of the patch in this patch series is generating uapi header and syscall table files. In order to come up with a common implimentation across all architecture, we need to do this chan

[PATCH v6 4/5] powerpc: split compat syscall table out from native table

2018-12-17 Thread Firoz Khan
PowerPC uses a syscall table with native and compat calls interleaved, which is a slightly simpler way to define two matching tables. As we move to having the tables generated, that advantage is no longer important, but the interleaved table gets in the way of using the same scripts as on the othe

[PATCH v6 3/5] powerpc: add system call table generation support

2018-12-17 Thread Firoz Khan
The system call tables are in different format in all architecture and it will be difficult to manually add or modify the system calls in the respective files. To make it easy by keeping a script and which will generate the uapi header and syscall table file. This change will also help to unify the

[PATCH v6 5/5] powerpc: generate uapi header and system call table files

2018-12-17 Thread Firoz Khan
System call table generation script must be run to gener- ate unistd_32/64.h and syscall_table_32/64/c32/spu.h files. This patch will have changes which will invokes the script. This patch will generate unistd_32/64.h and syscall_table- _32/64/c32/spu.h files by the syscall table generation script

[PATCH v6 1/5] powerpc: add __NR_syscalls along with NR_syscalls

2018-12-17 Thread Firoz Khan
NR_syscalls macro holds the number of system call exist in powerpc architecture. We have to change the value of NR_syscalls, if we add or delete a system call. One of the patch in this patch series has a script which will generate a uapi header based on syscall.tbl file. The syscall.tbl file conta

Re: [PATCH v5 0/5] powerpc: system call table generation support

2018-12-17 Thread Firoz Khan
Hi Michael, On Mon, 17 Dec 2018 at 16:01, Michael Ellerman wrote: > No it's fine if it applies on next. > > I can also fix up minor merge conflicts if there are any. Ohh. I already rebased and sent v6. Thanks Firoz

RT-Kernel boot stalls because of change in fs/dcache.c

2018-12-17 Thread Schrempf Frieder
Hi, I have tried to boot a 4.14-Kernel with the RT-patches and PREEMPT_RT_FULL on an i.MX6UL board. Unfortunately the boot stalls at some point and never finishes. I did some bisecting and found out, that reverting this change: [1], makes the board boot correctly. Can anyone help to come up w

Re: [PATCH v2 1/2] of: of_node_get()/of_node_put() nodes held in phandle cache

2018-12-17 Thread Michael Ellerman
Hi Frank, frowand.l...@gmail.com writes: > From: Frank Rowand > > The phandle cache contains struct device_node pointers. The refcount > of the pointers was not incremented while in the cache, allowing use > after free error after kfree() of the node. Add the proper increment > and decrement of

RE: [PATCH 0/5] soc: fsl: add device links support for devices on the fsl-mc bus

2018-12-17 Thread Laurentiu Tudor
> -Original Message- > From: Ioana Ciornei > Sent: Monday, December 10, 2018 6:50 PM > > The fsl-mc bus discovers and exports devices dynamically allocated > by the Management Complex firmware. > This patch set adds the ability to automatically create a device link > between a consumer

Re: WARNING in ovl_instantiate

2018-12-17 Thread Dmitry Vyukov
On Sun, Dec 16, 2018 at 6:00 PM Amir Goldstein wrote: > > On Sat, Dec 15, 2018 at 9:34 PM syzbot > wrote: > > > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit:d14b746c6c1c Add linux-next specific files for 20181214 > > git tree: linux-next > > console ou

Re: [PATCH] squashfs: enable __GFP_FS in ->readpage to prevent hang in mem alloc

2018-12-17 Thread Tetsuo Handa
On 2018/12/17 18:33, Michal Hocko wrote: > On Sun 16-12-18 19:51:57, Matthew Wilcox wrote: > [...] >> Ah, yes, that makes perfect sense. Thank you for the explanation. >> >> I wonder if the correct fix, however, is not to move the check for >> GFP_NOFS in out_of_memory() down to below the check wh

Re: [PATCH v2 2/2] of: __of_detach_node() - remove node from phandle cache

2018-12-17 Thread Michael Ellerman
Hi Frank, frowand.l...@gmail.com writes: > From: Frank Rowand > > Non-overlay dynamic devicetree node removal may leave the node in > the phandle cache. Subsequent calls to of_find_node_by_phandle() > will incorrectly find the stale entry. Remove the node from the > cache. > > Add paranoia chec

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-17 Thread David Hildenbrand
On 14.12.18 14:44, Stefan Hajnoczi wrote: > On Thu, Dec 13, 2018 at 01:38:23PM +0100, Cornelia Huck wrote: >> On Thu, 13 Dec 2018 13:24:31 +0100 >> David Hildenbrand wrote: >> >>> On 13.12.18 13:15, Dr. David Alan Gilbert wrote: * David Hildenbrand (da...@redhat.com) wrote: > On 13.12.1

Re: [PATCH] ubifs: Get/put page when changing PG_private

2018-12-17 Thread Kirill A. Shutemov
On Sat, Dec 15, 2018 at 04:01:30PM +0100, Richard Weinberger wrote: > The page migration code assumes that a page with PG_private > set has its page count elevated by 1. > UBIFS never did this and therefore the migration code was unable > to migrate some pages owned by UBIFS. > The lead to situatio

Re: [PATCH 1/3] 9p/net: implement asynchronous rpc

2018-12-17 Thread Dominique Martinet
Tomas Bortoli wrote on Mon, Dec 17, 2018: > sorry for the delay, I've been quite busy these days. No problem. > The patches looks good to me and should indeed speed up the code a bit. > I quickly tested them against Syzkaller tuned for the 9p subsystem and > everything seems fine. Thanks, can I

Re: [PATCH 0/3] Fixes for "PCIE support for i.MX8MQ"

2018-12-17 Thread Lorenzo Pieralisi
On Sun, Dec 16, 2018 at 03:09:13PM -0800, Andrey Smirnov wrote: > Lorenzo: > > These are patches fixing things pointed out by Bjorn in [1] and [2] as > well as something I noticed while giving pci/next branch a try (#endif > placement). Hopefully this is at least somewhat helpful. > > Thanks, > A

linux-next: Tree for Dec 17

2018-12-17 Thread Stephen Rothwell
Hi all, Changes since 20181214: New trees: hyperv-fixes, hyperv, auxdisplay The nfs-anna tree gained a build failure for which I reverted a commit. The hwmon-staging tree gained a build failure for which I applied a merge fix patch. The thermal tree gained a conflict against the kbuild tree.

Re: [RFC PATCH 2/2] PCI/portdrv Hisilicon PCIe transport layer Port PMU driver.

2018-12-17 Thread Jonathan Cameron
On Fri, 14 Dec 2018 17:55:05 -0600 Bjorn Helgaas wrote: > [+cc Rafael, Len, linux-acpi, linux-kernel] Hi Bjorn, > > Thanks a lot for working on this! I've been hoping somebody would > push on the PMU issue because there are some real wrinkles to work > out. Indeed! I'm glad this isn't one I'm

Re: [PATCH] eint: add gpio vritual number select

2018-12-17 Thread Chuanjia Liu
On Sun, 2018-12-16 at 23:59 -0800, Sean Wang wrote: > On Sun, Dec 16, 2018 at 7:15 PM Chuanjia Liu > wrote: > > > > On Thu, 2018-12-13 at 11:33 -0800, Sean Wang wrote: > > > On Thu, Dec 13, 2018 at 1:36 AM wrote: > > > > > > > > From: Chuanjia Liu > > > > > > > > This patch add gpio vritual num

Re: [PATCH v3 2/2] trace nvme submit queue status

2018-12-17 Thread Christoph Hellwig
On Mon, Dec 17, 2018 at 09:33:24AM +0100, Johannes Thumshirn wrote: > Is the addition of a trace_pci.h really needed? Why can't you just put > it in trace.h? Agreed. Especially as the concepts actually are generic, so we could actually add the trace point to the rdma and fc transports as well (no

Re: [PATCH v2 0/3] PCIE support for i.MX8MQ

2018-12-17 Thread Lorenzo Pieralisi
On Fri, Dec 14, 2018 at 02:38:29PM -0600, Bjorn Helgaas wrote: > [+cc Trent] > > On Thu, Dec 06, 2018 at 12:15:50PM +, Lorenzo Pieralisi wrote: > > On Wed, Dec 05, 2018 at 11:35:42PM -0800, Andrey Smirnov wrote: > > > Everyone: > > > > > > This series contains changes I made in order to enabl

Re: [PATCH net-next] net: bridge: remove unneeded variable 'err'

2018-12-17 Thread YueHaibing
On 2018/12/17 17:51, Nikolay Aleksandrov wrote: > On 17/12/2018 11:46, YueHaibing wrote: >> function br_multicast_toggle now always return 0, >> so the variable 'err' is unneeded. >> Also cleanup dead branch in br_changelink. >> >> Signed-off-by: YueHaibing >> --- >> net/bridge/br_multicast.c | 3

Re: [PATCH 5/6] xhci: Use device_iommu_mapped()

2018-12-17 Thread Mathias Nyman
On 11.12.2018 15:43, Joerg Roedel wrote: From: Joerg Roedel Replace the dev->iommu_group check with a proper function call that better reprensents its purpose. Cc: Mathias Nyman Acked-by: Robin Murphy Signed-off-by: Joerg Roedel --- drivers/usb/host/xhci.c | 2 +- 1 file changed, 1 inser

Re: linux-next: build failure after merge of the nfs-anna tree

2018-12-17 Thread Rasmus Villemoes
On 17/12/2018 00.16, Stephen Rothwell wrote: > Hi all, > > After merging the nfs-anna tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > /home/sfr/next/next/fs/nfs/nfsroot.c: In function 'root_nfs_data': > /home/sfr/next/next/fs/nfs/nfsroot.c:264:5: error: implicit de

Re: [PATCH v10 0/8] Introduce on-chip interconnect API

2018-12-17 Thread Georgi Djakov
Hi Greg, On 12/11/18 08:58, Greg Kroah-Hartman wrote: > On Mon, Dec 10, 2018 at 04:50:00PM +0200, Georgi Djakov wrote: >> On 12/10/18 13:00, Rafael J. Wysocki wrote: >>> On Mon, Dec 10, 2018 at 11:18 AM Georgi Djakov >>> wrote: Hi Rafael, On 12/10/18 11:04, Rafael J. Wysocki

Re: [PATCH 1/2] irq/irq_sim: provide irq_sim_fire_edge()

2018-12-17 Thread Uwe Kleine-König
On Fri, Dec 14, 2018 at 03:07:37PM +0100, Linus Walleij wrote: > On Wed, Dec 5, 2018 at 2:20 PM Uwe Kleine-König > wrote: > > On Wed, Dec 05, 2018 at 01:19:54PM +0100, Linus Walleij wrote: > > > > > The iio testing driver only needs the trigger and relies on an irq that > > > > then calls the reg

HALLO FREUND

2018-12-17 Thread Wang Jianlin
-- Ich beabsichtige, Ihnen einen Teil meines Vermögens als freiwillige finanzielle Unterstützung zu geben Spende an Sie, reagieren Sie auf die Teilnahme. Wang Jianlin Wanda-Gruppe

Re: [PATCH] powerpc/ptrace: cleanup do_syscall_trace_enter

2018-12-17 Thread Michael Ellerman
"Dmitry V. Levin" writes: > Invoke tracehook_report_syscall_entry once. Thanks. > Signed-off-by: Dmitry V. Levin > --- > arch/powerpc/kernel/ptrace.c | 54 +--- > 1 file changed, 31 insertions(+), 23 deletions(-) > > diff --git a/arch/powerpc/kernel/ptrace.c b/a

Re: [PATCH net-next] net: bridge: remove unneeded variable 'err'

2018-12-17 Thread Nikolay Aleksandrov
On 17/12/2018 13:16, YueHaibing wrote: > On 2018/12/17 17:51, Nikolay Aleksandrov wrote: >> On 17/12/2018 11:46, YueHaibing wrote: >>> function br_multicast_toggle now always return 0, >>> so the variable 'err' is unneeded. >>> Also cleanup dead branch in br_changelink. >>> >>> Signed-off-by: YueHa

[RFT][PATCH 0/2] ACPI / PM: Avoid spurious wakeups from non-wakeup GPEs in suspend-to-idle

2018-12-17 Thread Rafael J. Wysocki
Hi All, It turns out that on some systems non-wakeup GPEs cause trouble (see the changelog of patch [1/2]), so they better should be disabled during suspend-to-idle (at least before entering the main loop of it). This is done in patch [1/2]. Patch [2/2] is just a folllow-up. Thanks, Rafael

Re: [PATCH] powerpc/ptrace: cleanup do_syscall_trace_enter

2018-12-17 Thread Dmitry V. Levin
Hi, On Mon, Dec 17, 2018 at 10:20:26PM +1100, Michael Ellerman wrote: > "Dmitry V. Levin" writes: > > Invoke tracehook_report_syscall_entry once. > > Thanks. > > > Signed-off-by: Dmitry V. Levin > > --- > > arch/powerpc/kernel/ptrace.c | 54 +--- > > 1 file cha

[RFT][PATCH 2/2] ACPI: PM: Loop in full LPS0 mode only

2018-12-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After a previous change, all non-wakeup GPEs are disabled for suspend-to-idle unless full Low-Power S0 (LPS0) mode is in use, so it is not necessary to do anything in acpi_s2idle_wake() unless in full LPS0 mode, which is when lps0_device_handle is set only. Modify the cod

Re: [PATCH] eint: add gpio vritual number select

2018-12-17 Thread Chuanjia Liu
On Mon, 2018-12-17 at 12:04 +0800, Yingjoe Chen wrote: > On Mon, 2018-12-17 at 11:15 +0800, Chuanjia Liu wrote: > > On Thu, 2018-12-13 at 11:33 -0800, Sean Wang wrote: > > > On Thu, Dec 13, 2018 at 1:36 AM wrote: > > > > > > > > From: Chuanjia Liu > > > > > > > > This patch add gpio vritual numbe

[RFT][PATCH 1/2] ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle

2018-12-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There are systems in which non-wakeup GPEs fire during the "noirq" suspend stage of suspending devices and that effectively prevents the system that tries to suspend to idle from entering any low-power state at all. If the offending GPE fires regularly and often enough, t

Re: [PATCH -next] drm/shmob: Fix return value check in shmob_drm_probe

2018-12-17 Thread Simon Horman
On Mon, Dec 17, 2018 at 05:18:30PM +0800, YueHaibing wrote: > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > > Fixes: 8f1597c8f1a5 ("drm: shmobile: Perform initializati

Re: [PATCH 18/52] virtio-fs: Map cache using the values from the capabilities

2018-12-17 Thread Stefan Hajnoczi
On Fri, Dec 14, 2018 at 02:50:58PM +0100, Cornelia Huck wrote: > On Fri, 14 Dec 2018 13:44:34 + > Stefan Hajnoczi wrote: > > > On Thu, Dec 13, 2018 at 01:38:23PM +0100, Cornelia Huck wrote: > > > On Thu, 13 Dec 2018 13:24:31 +0100 > > > David Hildenbrand wrote: > > > > > > > On 13.12.18 1

RE: [PATCH v1 2/2] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-17 Thread Pawel Laszczak
Hi Felipe > >Pawel Laszczak writes: > > + case USB_REQ_SET_ISOCH_DELAY: + sprintf(str, "Set Isochronous Delay Delay: %d ns", wValue); + break; + default: + sprintf(str, + "SETUP BRT: %02x BR: %02x V: %04x I: %04x L: %04x\n

Re: [PATCH] powerpc/ptrace: cleanup do_syscall_trace_enter

2018-12-17 Thread Oleg Nesterov
On 12/16, Dmitry V. Levin wrote: > > long do_syscall_trace_enter(struct pt_regs *regs) > { > + u32 cached_flags; > + > user_exit(); > > - if (test_thread_flag(TIF_SYSCALL_EMU)) { > - /* > - * A nonzero return code from tracehook_report_syscall_entry() > -

Re: [PATCH -next] drm/shmob: Fix return value check in shmob_drm_probe

2018-12-17 Thread Kieran Bingham
Hi YeuHaibing, On 17/12/2018 09:18, YueHaibing wrote: > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should > be replaced with IS_ERR(). > This looks correct to me. I wonder if this failure pattern occ

Re: WARNING in __rcu_read_unlock

2018-12-17 Thread Paul E. McKenney
On Mon, Dec 17, 2018 at 10:44:52AM +0100, Dmitry Vyukov wrote: > On Sun, Dec 16, 2018 at 8:04 PM Paul E. McKenney > wrote: > > > > On Sat, Dec 15, 2018 at 04:41:03AM -0800, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:2aa55dccf83d hns3: p

[PATCH] cgroup: cpuset: remove unused variable

2018-12-17 Thread Marc Burkhardt
--- kernel/cgroup/cpuset.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c index 266f10cb7222..784f9480e054 100644 --- a/kernel/cgroup/cpuset.c +++ b/kernel/cgroup/cpuset.c @@ -1498,10 +1498,8 @@ static int cpuset_can_attach(struct cgroup_taskse

Re: [PATCH] ubifs: Get/put page when changing PG_private

2018-12-17 Thread Richard Weinberger
Am Montag, 17. Dezember 2018, 11:59:44 CET schrieb Kirill A. Shutemov: > On Sat, Dec 15, 2018 at 04:01:30PM +0100, Richard Weinberger wrote: > > The page migration code assumes that a page with PG_private > > set has its page count elevated by 1. > > UBIFS never did this and therefore the migration

Re: [PATCH] Export mm_update_next_owner function for vhost-net

2018-12-17 Thread Christoph Hellwig
This seems like an issue all the unuse_mm users (at least those outside of swapfile.c) have, so it should be solved in the core. Bonus points for moving the set_fs magic into use_mm()..

RE: [PATCH v1 2/2] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-17 Thread Felipe Balbi
Hi, Pawel Laszczak writes: > + case USB_REQ_SET_ISOCH_DELAY: > + sprintf(str, "Set Isochronous Delay Delay: %d ns", wValue); > + break; > + default: > + sprintf(str, > + "SETUP BRT: %02x BR: %02x V: %04x I: %04x L: %04x\n", > +

Re: [PATCH 0/3] clk: imx: Make all the parent_names arrays be const pointers

2018-12-17 Thread Abel Vesa
On 18-12-14 13:08:37, Stephen Boyd wrote: > Quoting Abel Vesa (2018-12-14 07:30:08) > > This is mainly to shut up the checkpatch.pl script warnings about the > > "static const char *" needing to be "static const char * const". > > > > Abel Vesa (3): > > clk: imx: Make parent_names const pointer

Re: [PATCH] usb: typec: tcpm: Extend the matching rules on PPS APDO selection

2018-12-17 Thread Heikki Krogerus
On Mon, Dec 17, 2018 at 10:48:05AM +0800, Kyle Tso wrote: > Current matching rules ensure that the voltage range of selected Source > Capability is entirely within the range defined in one of the Sink > Capabilities. This is reasonable but not practical because Sink may not > support wide range of

Re: [PATCH] powerpc/mm: make NULL pointer deferences explicit on bad page faults.

2018-12-17 Thread Michael Ellerman
Christophe Leroy writes: > Hi Michael, > > Le 14/12/2018 à 01:57, Michael Ellerman a écrit : >> Hi Christophe, >> >> You know it's the trivial patches that are going to get lots of review >> comments :) > > I'm so happy to get comments. Haha :) >> Christophe Leroy writes: >>> As several other

Re: [RFC] locking/rwsem: Avoid issuing wakeup before setting the reader waiter to nil

2018-12-17 Thread Peter Zijlstra
On Mon, Dec 10, 2018 at 11:12:52PM +0800, Yongji Xie wrote: > Hi Peter, > > Please let me know If there is any progress on this issue. Thank you! Right, sorry, my brain was filled with snot and didn't want to make sense of things. I've put some patches here: git://git.kernel.org/pub/scm/linux

Re: [PATCH v1 3/9] powerpc/vdso: don't clear PG_reserved

2018-12-17 Thread Michael Ellerman
David Hildenbrand writes: > The VDSO is part of the kernel image and therefore the struct pages are > marked as reserved during boot. > > As we install a special mapping, the actual struct pages will never be > exposed to MM via the page tables. We can therefore leave the pages > marked as reserv

Re: [PATCH 1/1] ACPI / tables: add DSDT AmlCode new declaration name support

2018-12-17 Thread Rafael J. Wysocki
On Tuesday, November 13, 2018 11:46:23 AM CET Wang Dongsheng wrote: > The new naming rule is added in acpica version 20180427. > So the dsdt aml code name changes from "AmlCode" to "dsdt_aml_code". > > The patch that introduces naming rules is: > https://github.com/acpica/acpica/commit/f9a88a4c1cd

Re: [PATCH v2 0/2] Fix typo in RWH_WRITE_LIFE_NOT_SET constant name

2018-12-17 Thread Eugene Syromiatnikov
On Mon, Oct 29, 2018 at 09:00:45PM +0100, Eugene Syromiatnikov wrote: > This is a small fix of a typo (or, more specifically, some remnant of > the old patch version spelling) in RWH_WRITE_LIFE_NOT_SET constant, > which is named as RWF_WRITE_LIFE_NOT_SET currently. Since the name > with "H" is use

Re: [PATCH][next][RESEND] drivers: base: remove need for a temporary string for the node name

2018-12-17 Thread Rafael J. Wysocki
On Thursday, December 6, 2018 6:05:57 PM CET Colin King wrote: > From: Colin Ian King > > Currently the node name is being formatting into a temporary string > node_name, however, kobject_init_and_add allows one to format up > a node name, so use that instead. This removes the need for the > node

Re: [PATCH] ACPI, APEI, EINJ: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-12-17 Thread Rafael J. Wysocki
On Friday, November 30, 2018 6:01:06 PM CET Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > drivers/acpi/apei/einj.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) > > diff --git a/drivers/acpi/apei/einj.c b/d

Re: [PATCH 2/2] livepatch: check kzalloc return values

2018-12-17 Thread Petr Mladek
On Fri 2018-12-14 17:56:10, Nicholas Mc Guire wrote: > kzalloc() return should always be checked - notably in example code > where this may be seen as reference. On failure of allocation in > livepatch_fix1_dummy_alloc() respectively dummy_alloc() previous > allocation is freed (thanks to Petr Mlad

Re: [PATCH] PM / sleep: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-17 Thread Rafael J. Wysocki
On Tuesday, December 11, 2018 5:20:48 PM CET Yangtao Li wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Yangtao Li > --- > kernel/power/main.c | 15 ++- > 1 file changed, 2 insertions(+), 13 deletions(-) > > diff --git a/kernel/power/main.c b/kernel

Re: [PATCH v4] cpuidle: big.LITTLE: fix refcount leak

2018-12-17 Thread Rafael J. Wysocki
On Monday, December 10, 2018 6:00:12 PM CET Daniel Lezcano wrote: > On 10/12/2018 17:26, Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node > > returned by it and that reference needs to be dropped by its caller. > > bl_idle_init() doesn't do that, so fix it. > > > > Sig

Re: [PATCH v2] cpufreq: ia64: Remove unused header files

2018-12-17 Thread Rafael J. Wysocki
On Wednesday, December 5, 2018 4:44:49 PM CET Yangtao Li wrote: > seq_file.h does not need to be included, so remove it. Moreover deleted > a line of meaningless return and some useless blank lines. In a function > whose return type is void, returning on the last line is not required. > > Signed-o

Re: [PATCH v2] cpufreq: nforce2: Remove meaningless return

2018-12-17 Thread Rafael J. Wysocki
On Thursday, December 6, 2018 5:20:25 AM CET Viresh Kumar wrote: > On 05-12-18, 10:57, Yangtao Li wrote: > > Delete a line of meaningless return and some useless blank lines. In a > > function > > whose return type is void, returning on the last line is not required. > > > > Signed-off-by: Yangta

Hello My Beloved One

2018-12-17 Thread Aisha Gaddafi
Assalamu alaikum, I came across your e-mail contact prior a private search while in need of a trusted person. My name is Mrs. Aisha Gaddafi, a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi)I have a busine

Re: [PATCH 2/2] livepatch: check kzalloc return values

2018-12-17 Thread Miroslav Benes
On Fri, 14 Dec 2018, Nicholas Mc Guire wrote: > kzalloc() return should always be checked - notably in example code > where this may be seen as reference. On failure of allocation in > livepatch_fix1_dummy_alloc() respectively dummy_alloc() previous > allocation is freed (thanks to Petr Mladek fo

Re: [PATCH] PM / AVS: SmartReflex: Switch to SPDX Licence ID

2018-12-17 Thread Rafael J. Wysocki
On Tuesday, December 11, 2018 7:10:54 PM CET Kevin Hilman wrote: > Nishanth Menon writes: > > > Fix up licensing to be inline with Linux conventions. > > > > Reported-by: Rafael J. Wysocki > > Signed-off-by: Nishanth Menon > > Acked-by: Kevin Hilman > Patch applied, thanks!

[PATCH] regulator: mcp16502: code cleanup

2018-12-17 Thread Andrei.Stefanescu
This patch does the following: - align parameter with parenthesis - fix compile error If CONFIG_SUSPEND is not set the dummy pm_ops callbacks are named mcp16502_suspend and mcp16502_resume instead of mcp16502_suspend_noirq and mcp16502_resume_noirq. Excerpt from compile log (kbuild test robot):

Re: [PATCH] PM / AVS: SmartReflex: NULL check before some freeing functions is not needed.

2018-12-17 Thread Rafael J. Wysocki
On Tuesday, December 11, 2018 7:53:05 PM CET Kevin Hilman wrote: > Thomas Meyer writes: > > > NULL check before some freeing functions is not needed. > > > > Signed-off-by: Thomas Meyer > > Reviewed-by: Kevin Hilman > > > --- > > > > diff -u -p a/drivers/power/avs/smartreflex.c > > b/drivers

Re: [PATCH] ARM: dts: exynos: Specify I2S assigned clocks in proper node

2018-12-17 Thread Sylwester Nawrocki
On 12/14/18 07:59, Greg KH wrote: > On Thu, Dec 13, 2018 at 09:56:56PM +0100, Krzysztof Kozlowski wrote: >> On Wed, Dec 12, 2018 at 06:57:44PM +0100, Sylwester Nawrocki wrote: >>> The assigned parent clocks should be normally specified in the consumer >>> device's DT node, this ensures respective d

Re: [PATCH 1/2] livepatch: fix non-static warnings

2018-12-17 Thread Petr Mladek
On Fri 2018-12-14 16:34:23, Joe Lawrence wrote: > Almost. We should only need to annotate with __noclone for those > function definitions which the samples will be patching. As the commit > message says, these correlate to klp_func.old_name functions found in > klp_object.name objects (.ko module

Re: [PATCH 0/3] use rwlock in order to reduce ep_poll_callback() contention

2018-12-17 Thread Roman Penyaev
On 2018-12-13 19:13, Davidlohr Bueso wrote: On 2018-12-12 03:03, Roman Penyaev wrote: The last patch targets the contention problem in ep_poll_callback(), which can be very well reproduced by generating events (write to pipe or eventfd) from many threads, while consumer thread does polling. T

[PATCH -next] irqchip: irq-rda-intc: Fix return value check in rda8810_intc_init()

2018-12-17 Thread Wei Yongjun
In case of error, the function of_io_request_and_map() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: d852e62ad689 ("irqchip: Add RDA8810PL interrupt driver") Signed-off-by: Wei Yongjun --- drivers/irqchip/irq-rda-intc.c

[PATCH] tools/perf: fix silent build with 'make -s'

2018-12-17 Thread Konstantin Khlebnikov
tools/perf/Makefile conflicts with option '-j'. The rest options must be passed as is. Signed-off-by: Konstantin Khlebnikov --- tools/perf/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 7902a5681fc8..989c3d2f847b 10

RE: [PATCH v1 2/2] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-17 Thread Pawel Laszczak
Hi, > +static irqreturn_t cdns3_device_irq_handler(int irq, void *data) +{ + struct cdns3_device *priv_dev; + struct cdns3 *cdns = data; + irqreturn_t ret = IRQ_NONE; + unsigned long flags; + u32 reg; + + priv_dev = cdns->gadget_dev; + spin_

Re: [PATCH 1/2 v3] kdump: add the vmcoreinfo documentation

2018-12-17 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 09:16:16PM +0800, Lianbo Jiang wrote: > + > +Common variables > + > + > +init_uts_ns.name.release > + > +The number of OS release. Based on this version number, people can find > +the source code for the corresponding v

Re: [PATCH 0/2 v3] kdump,vmcoreinfo: Export the value of sme mask to vmcoreinfo

2018-12-17 Thread Borislav Petkov
On Sun, Dec 16, 2018 at 09:16:15PM +0800, Lianbo Jiang wrote: > This patchset did two things: > a. add a new document for vmcoreinfo > > This document lists some variables that export to vmcoreinfo, and briefly > describles what these variables indicate. It should be instructive for > many people

Re: [PATCH] media: dt-bindings: rcar-vin: Add R8A774C0 support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:21:59PM +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the list > of SoCs supported by rcar-vin driver. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: dt-bindings: rcar-csi2: Add r8a774c0

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:21:49PM +, Fabrizio Castro wrote: > Add the compatible string for RZ/G2E (a.k.a. R8A774C0) to the > list of supported SoCs. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: rcar-vin: Add support for RZ/G2E

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:24:04PM +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 VIN > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] [media] v4l: vsp1: Add RZ/G support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:24PM +, Fabrizio Castro wrote: > Document RZ/G1 and RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] media: rcar-csi2: Add support for RZ/G2E

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:24:12PM +, Fabrizio Castro wrote: > According to the RZ/G2 User's manual, RZ/G2E and R-Car E3 CSI-2 > blocks are identical, therefore use R-Car E3 definitions to add > RZ/G2E support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH] dt-bindings: media: renesas-fcp: Add RZ/G2 support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:33PM +, Fabrizio Castro wrote: > Document RZ/G2 support. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

RE: [PATCH v1 2/2] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-17 Thread Felipe Balbi
Hi, Pawel Laszczak writes: > +static irqreturn_t cdns3_device_irq_handler(int irq, void *data) > +{ > + struct cdns3_device *priv_dev; > + struct cdns3 *cdns = data; > + irqreturn_t ret = IRQ_NONE; > + unsigned long flags; > + u32 reg; > + > + priv_dev = cdns-

Re: [PATCH] dt-bindings: display: renesas: lvds: Document r8a774c0 bindings

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:54PM +, Fabrizio Castro wrote: > The RZ/G2E (r8a774c0) supports two LVDS channels. Extend the binding to > support them. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

Re: [PATCH v5 1/2] dmaengine: 8250_mtk_dma: add Mediatek uart DMA support

2018-12-17 Thread Long Cheng
On Mon, 2018-12-17 at 02:07 -0800, Sean Wang wrote: > On Mon, Dec 17, 2018 at 12:40 AM Long Cheng wrote: > > > > On Fri, 2018-12-14 at 12:09 -0800, Sean Wang wrote: > > < ... > > > > > > > > + > > > > > > + mtk_dma_chan_write(c, VFF_ADDR, cfg->src_addr); > > > > > > +

Re: [PATCH] dt-bindings: display: renesas: du: Document r8a774c0 bindings

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:20:45PM +, Fabrizio Castro wrote: > Document the RZ/G2E (a.k.a. r8a774c0) SoC in the R-Car DU bindings. > > Signed-off-by: Fabrizio Castro Reviewed-by: Simon Horman

<<>

2018-12-17 Thread Mr Owen Peter
Good Day, Hope you are doing great Today.I have a proposed BUSINESS DEAL that will benefit both parties. This is legitimate,legal and your personality will not be compromised.Please Reply to me ONLY if you are interested and consider your self capable for details. Sincerely, Peter OWEN

Re: [PATCH 1/2] dma-mapping: zero memory returned from dma_alloc_*

2018-12-17 Thread Christoph Hellwig
On Sat, Dec 15, 2018 at 12:14:29AM +1000, Greg Ungerer wrote: > Yep, that is right. Certainly the MMU case is broken. Some noMMU cases work > by virtue of the SoC only having an instruction cache (the older V2 cores). Is there a good an easy case to detect if a core has a cache? Either runtime or

Re: [PATCH] drm: rcar-du: lvds: add R8A774C0 support

2018-12-17 Thread Simon Horman
On Thu, Dec 13, 2018 at 08:23:36PM +, Fabrizio Castro wrote: > The LVDS implementation on the RZ/G2E (a.k.a. R8A774C0) is very similar > to the one found on R-Car E3 (a.k.a. R8A77990), therefore add RZ/G2E > LVDS support to the LVDS encoder driver in a similar fashion to what > done for R-Car E

Re: [PATCH v3 2/3] iio: chemical: sgp30: Support Sensirion SGP30/SGPC3 sensors

2018-12-17 Thread Jonathan Cameron
On Sun, 16 Dec 2018 17:38:18 +0100 Andreas Brauchli wrote: > On Sun, 2018-12-16 at 13:34 +, Jonathan Cameron wrote: > > On Thu, 13 Dec 2018 15:43:23 +0100 > > Andreas Brauchli wrote: > > > > > Support Sensirion SGP30 and SGPC3 multi-pixel I2C gas sensors > > > > > > Supported Features: >

Re: [RFC/RFT][PATCH v8] cpuidle: New timer events oriented governor for tickless systems

2018-12-17 Thread Rafael J. Wysocki
On Mon, Dec 17, 2018 at 2:53 AM Doug Smythies wrote: > > On 2018.12.11 03:50 Rafael J. Wysocki wrote: > > ...[snip]... > > > With this version of the TEO governor I'm observing slight, but consistent > > performance improvements in some different benchmarks on a few different > > systems with resp

<    2   3   4   5   6   7   8   9   10   11   >