Re: [PATCH] rtlbt: Add Realtek Bluetooth profiling support

2017-02-10 Thread Marcel Holtmann
Hi Larry, > Add the Realtek Bluetooth profile profiling support to create > profile information, which helps the firmware optimize transfer > priority and balance the transmissions for multiple profiles. > > Signed-off-by: Alex Lu > Signed-off-by: Larry Finger > --- > drivers/bluetooth/Kconfig

Re: [PATCH v6 3/8] x86: stop exporting msr-index.h to userland

2017-02-10 Thread Thomas Gleixner
On Fri, 10 Feb 2017, Nicolas Dichtel wrote: > Even if this file was not in an uapi directory, it was exported because > it was listed in the Kbuild file. > > Fixes: b72e7464e4cf ("x86/uapi: Do not export as part of > the user API headers") > Suggested-by: Borislav Petkov > CC: Ingo Molnar > S

Darlehen

2017-02-10 Thread Valerie Adams
-- Brauchen Sie ein Darlehen zu zahlen Sie Ihre Rechnungen oder starten Sie ein neues Geschäft dann suchen nicht mehr mein Name ist Herr Valerie sind wir zertifiziert Darlehen Unternehmen, die jede Art von finanziellen Unterstützung für Menschen, die es brauchen und hier ist unsere Post fühlen Sch

Re: [PATCH] security: use READ_ONCE instead of deprecated ACCESS_ONCE

2017-02-10 Thread David Howells
Davidlohr Bueso wrote: > With the new standardized functions, we can replace all ACCESS_ONCE() > calls across relevant security/keyrings/. > > ACCESS_ONCE() does not work reliably on non-scalar types. For example > gcc 4.6 and 4.7 might remove the volatile tag for such accesses during > the SRA

Linux 3.10.105

2017-02-10 Thread Willy Tarreau
Linux 3.10.105 was just released. All users of the 3.10 kernel series must upgrade. As a reminder, the 3.10.y extended LTS series is scheduled for end of life on end of October 2017 so it may only get a few more versions. Extended LTS kernels are generally not suitable for new deployments but onl

Re: [PATCH 1/2] fs: configfs: make qw_sign attribute symmetric

2017-02-10 Thread Greg KH
On Thu, Feb 09, 2017 at 10:04:43AM -0800, Stefan Agner wrote: > On 2017-02-01 08:59, Stefan Agner wrote: > > On 2017-02-01 00:06, Greg KH wrote: > >> On Tue, Jan 31, 2017 at 06:19:16PM -0800, Stefan Agner wrote: > >>> Currently qw_sign requires UTF-8 character to set, but returns UTF-16 > >>> when

Re: [GIT PULL 4/4] arm64: dts: exynos: DT64 for v4.11, third round

2017-02-10 Thread Sylwester Nawrocki
On 02/09/2017 07:56 PM, Krzysztof Kozlowski wrote: > On Thu, Feb 09, 2017 at 04:19:57PM +0100, Arnd Bergmann wrote: >> On Thursday, February 2, 2017 8:30:08 PM CET Krzysztof Kozlowski wrote: >>> arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 34 +++ >>> arch/arm64/boot/dts/exynos/exynos5433

Re: [PATCH] irqdesc: add memory managed version of irq_alloc_descs()

2017-02-10 Thread Thomas Gleixner
On Tue, 7 Feb 2017, Bartosz Golaszewski wrote: > + > +int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, > +unsigned int cnt, int node, struct module *owner, > +const struct cpumask *affinity) This lacks the kernel doc comment

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Thomas Gleixner
On Fri, 10 Feb 2017, Dmitry Vyukov wrote: > This is the right thing to do per se, but I am concerned that now > people will just suffers from slow boot (it can take literally > minutes) and will not realize the root cause nor that it's fixable > (e.g. with rodata=n) and will probably just blame KAS

Re: [PATCH] timerfd: Protect the might cancel mechanism proper

2017-02-10 Thread Thomas Gleixner
On Fri, 10 Feb 2017, Dmitry Vyukov wrote: > On Fri, Feb 10, 2017 at 11:13 AM, Thomas Gleixner wrote: > > ctx->might_cancel and ctx->clist are always in sync with the new lock and > > that's the only interesting thing. On destruction we don't look at clockid > > or such, we only care about might_ca

Re: [PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-02-10 Thread Thomas Gleixner
On Fri, 10 Feb 2017, Vitaly Kuznetsov wrote: > Thomas Gleixner writes: > > > On Thu, 9 Feb 2017, Vitaly Kuznetsov wrote: > >> +#ifdef CONFIG_HYPERV_TSCPAGE > >> +static notrace u64 vread_hvclock(int *mode) > >> +{ > >> + const struct ms_hyperv_tsc_page *tsc_pg = > >> + (const struct ms_

Re: [PATCH] timerfd: Protect the might cancel mechanism proper

2017-02-10 Thread Thomas Gleixner
Dmitry, On Thu, 2 Feb 2017, Dmitry Vyukov wrote: > On Thu, Feb 2, 2017 at 7:54 PM, Thomas Gleixner wrote: > > On Wed, 1 Feb 2017, Dmitry Vyukov wrote: > >> > >> Can't we still end up with an inconsistently setup timer? > >> do_timerfd_settime executes timerfd_setup_cancel and timerfd_setup as >

Re: [PATCH] x86: Clean up a tiny description mistake in kernel ld script

2017-02-10 Thread Thomas Gleixner
On Thu, 2 Feb 2017, Baoquan He wrote: > Remove the redundent word "is". > > Signed-off-by: Baoquan He > --- > arch/x86/kernel/vmlinux.lds.S | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S > index e79f15f

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-10 Thread Masami Hiramatsu
On Fri, 10 Feb 2017 13:16:17 +0900 Namhyung Kim wrote: > > > > Example - wakeup latency > > > > > > This basically implements the -RT latency_hist 'wakeup_latency' > > histogram using the synthetic events, variables, and actions > > described. The output below is from a ru

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-10 Thread Marek Szyprowski
Hi Vinod, On 2017-02-10 05:50, Vinod Koul wrote: On Thu, Feb 09, 2017 at 03:22:51PM +0100, Marek Szyprowski wrote: +static int pl330_set_slave(struct dma_chan *chan, struct device *slave) +{ + struct dma_pl330_chan *pch = to_pchan(chan); + struct pl330_dmac *pl330 = pch->dmac; +

Re: [PATCH v2 3/3] pinctrl: rockchip: Add rk3328 pinctrl support

2017-02-10 Thread Heiko Stuebner
Am Freitag, 10. Februar 2017, 18:23:49 CET schrieb David Wu: > From: "david.wu" > > Note, the iomux of following pins are special, need to > be recalculated specially. > - gpio2_b4 > - gpio2_b7 > - gpio2_c7 > > Signed-off-by: david.wu Reviewed-by: Heiko Stuebner

[PATCH] x86/selftests: add clobbers for int80 on x86_64

2017-02-10 Thread Dmitry Safonov
Kernel erases R8..R11 registers prior returning to userspace from int80: https://lkml.org/lkml/2009/10/1/164 GCC can reuse this registers and doesn't expect them to change during syscall invocation. I met this kind of bug in CRIU once gcc 6.1 and clang stored local variables in those registers and

Re: [PATCH] x86/selftests: add clobbers for int80 on x86_64

2017-02-10 Thread Dmitry Safonov
On 02/10/2017 02:52 PM, Dmitry Safonov wrote: Kernel erases R8..R11 registers prior returning to userspace from int80: https://lkml.org/lkml/2009/10/1/164 GCC can reuse this registers and doesn't expect them to change during syscall invocation. I met this kind of bug in CRIU once gcc 6.1 and cla

[PATCHv2] x86/selftests: add clobbers for int80 on x86_64

2017-02-10 Thread Dmitry Safonov
Kernel erases R8..R11 registers prior returning to userspace from int80: https://lkml.org/lkml/2009/10/1/164 GCC can reuse this registers and doesn't expect them to change during syscall invocation. I met this kind of bug in CRIU once gcc 6.1 and clang stored local variables in those registers and

Re: [PATCH v1] platform/x86: intel_pmc_ipc: fix division in 32-bit case

2017-02-10 Thread Andy Shevchenko
On Fri, Feb 10, 2017 at 6:24 AM, Rajneesh Bhardwaj wrote: > On Wed, Feb 08, 2017 at 06:00:28PM +0200, Andy Shevchenko wrote: >> On 32-bit x86 platforms we can't do 64-bit divisions: >> >> ERROR: "__udivdi3" [drivers/platform/x86/intel_pmc_ipc.ko] undefined! >> >> Replace plain division by do

Re: [PATCH v4 4/8] ASoC: sun8i-codec-analog: Add amplifier event to fix first delay

2017-02-10 Thread Mark Brown
On Fri, Feb 10, 2017 at 02:08:54PM +0800, Chen-Yu Tsai wrote: > One solution that might work is to mute the headphone output > while the amp is being charged, by setting SUN8I_ADDA_HP_VOLC_HP_VOL > to 0, and then restoring the value once it is charged. In other > words, overriding the value for th

Re: [PATCHv3] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-02-10 Thread Abel Vesa
On Fri, Feb 10, 2017 at 11:36:12AM +0100, Jean-Jacques Hiblot wrote: > 2017-02-09 17:29 GMT+01:00 Russell King - ARM Linux : > > On Tue, Feb 07, 2017 at 10:57:55PM +, Abel Vesa wrote: > >> +#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS > >> + > >> +.macro __ftrace_regs_caller > >> + > >> + add

Re: [PATCH] genirq: fix comment to __handle_domain_irq

2017-02-10 Thread Thomas Gleixner
On Tue, 10 Jan 2017, Vladimir Murzin wrote: > NULL domain is valid parameter and handled as default irq domain by > irq_find_mapping(). Instead of using NULL domain, dedicated "lookup" > parameter should be used to indicate whether conversion of HW > interrupt to the logical one is needed or not. >

Re: [PATCH v3] fork: free vmapped stacks in cache when cpus are offline

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 17:32:07, Hoeun Ryu wrote: [...] > +static int free_vm_stack_cache(unsigned int cpu) > +{ > + struct vm_struct **cached_vm_stacks = per_cpu_ptr(cached_stacks, cpu); > + int i; > + > + for (i = 0; i < NR_CACHED_STACKS; i++) { > + struct vm_struct **vm_stack =

RE: [PATCH] netlink: move nla_put_{u8,u16,u32} out of line

2017-02-10 Thread David Laight
From: David Miller > Sent: 09 February 2017 21:31 > From: Arnd Bergmann > Date: Wed, 8 Feb 2017 22:18:26 +0100 > > > When CONFIG_KASAN is enabled, the "--param asan-stack=1" causes rather large > > stack frames in some functions. This goes unnoticed normally because > > CONFIG_FRAME_WARN is disa

Re: [PATCH v8 1/3] dmaengine: Add new device_{set,release}_slave callbacks

2017-02-10 Thread Marek Szyprowski
Hi Vinod, On 2017-02-10 05:34, Vinod Koul wrote: On Thu, Feb 09, 2017 at 03:22:49PM +0100, Marek Szyprowski wrote: Add two new callbacks to DMA engine device. They will used to provide access to slave device (the device which requested given DMA channel) You mean access to client devices? Ye

[PATCH] staging: bcm2835-audio: Fixed initialization of global to "false"

2017-02-10 Thread Abhijit Naik
bcm2835-vchiq.c: fixing ERROR: do not initialise globals to false Instead of explicitly initializing global variable force_bulk to "false", declared force_bulk as static variable. Signed-off-by: Abhijit Naik --- drivers/staging/bcm2835-audio/bcm2835-vchiq.c | 2 +- 1 file changed, 1 insertion(+

Re: [PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-02-10 Thread Vitaly Kuznetsov
Andy Lutomirski writes: > On Thu, Feb 9, 2017 at 12:45 PM, KY Srinivasan wrote: >> >> >>> -Original Message- >>> From: Thomas Gleixner [mailto:t...@linutronix.de] >>> Sent: Thursday, February 9, 2017 9:08 AM >>> To: Vitaly Kuznetsov >>> Cc: x...@kernel.org; Andy Lutomirski ; Ingo Molnar

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Andrey Ryabinin
On 02/10/2017 02:18 PM, Thomas Gleixner wrote: > On Fri, 10 Feb 2017, Dmitry Vyukov wrote: >> This is the right thing to do per se, but I am concerned that now >> people will just suffers from slow boot (it can take literally >> minutes) and will not realize the root cause nor that it's fixable >

Re: [PATCH V2 1/6] PM / QOS: Add default case to the switch

2017-02-10 Thread Pavel Machek
On Fri 2017-02-10 11:30:30, Viresh Kumar wrote: > On 09-02-17, 15:24, Pavel Machek wrote: > > On Thu 2017-02-09 09:11:47, Viresh Kumar wrote: > > > The switch block handles all the QOS request types present today, but > > > starts giving compilation warnings as soon as a new type is added and > > >

[PATCH v2] irqdesc: add a resource managed version of irq_alloc_descs()

2017-02-10 Thread Bartosz Golaszewski
Add a devres flavor of __devm_irq_alloc_descs() and corresponding helper macros. Signed-off-by: Bartosz Golaszewski --- v1 -> v2: - added kernel docs for the new function - made the from and cnt fields of struct irq_desc_devres unsigned integers as this is what irq_free_descs() expects - commit

Re: [PATCH 1/2] fs: configfs: make qw_sign attribute symmetric

2017-02-10 Thread Felipe Balbi
Hi, Greg KH writes: > On Thu, Feb 09, 2017 at 10:04:43AM -0800, Stefan Agner wrote: >> On 2017-02-01 08:59, Stefan Agner wrote: >> > On 2017-02-01 00:06, Greg KH wrote: >> >> On Tue, Jan 31, 2017 at 06:19:16PM -0800, Stefan Agner wrote: >> >>> Currently qw_sign requires UTF-8 character to set, b

Re: [PATCH 6/6] tpm2: add session handle context saving and restoring to the space code

2017-02-10 Thread Jarkko Sakkinen
On Wed, Feb 08, 2017 at 01:07:08PM +0200, Jarkko Sakkinen wrote: > From: James Bottomley > > Sessions are different from transient objects in that their handles > may not be virtualized (because they're used for some hmac > calculations). Additionally when a session is context saved, a > vestigi

Re: [PATCH] [net-next] ARM: orion: fix PHYLIB dependency

2017-02-10 Thread Arnd Bergmann
On Thu, Feb 9, 2017 at 7:22 PM, Florian Fainelli wrote: > On 02/09/2017 07:08 AM, Arnd Bergmann wrote: > I disabled CONFIG_NETDEVICES to force CONFIG_PHY not to be set here, and > I was not able to reproduce this, what am I missing? In the ARMv5 allmodconfig build, this fails because CONFIG_PHY=m

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

2017-02-10 Thread Paul Moore
On Thu, Feb 9, 2017 at 9:50 PM, Stephen Rothwell wrote: > Hi all, > > On Tue, 10 Jan 2017 12:27:03 +1100 Stephen Rothwell > wrote: >> >> After merging the selinux tree, today's linux-next build (x86_64 >> allmodconfig) failed like this: >> >> In file included from /home/sfr/next/next/security/se

Re: [PATCH] staging: vc04_services: remove unused functions

2017-02-10 Thread Dan Carpenter
On Wed, Feb 08, 2017 at 11:42:21AM +0100, Arnd Bergmann wrote: > On Tuesday, February 7, 2017 3:09:44 PM CET Dan Carpenter wrote: > > There is a bunch of vc04_services that we're still looking to merge in > > the near future. Please hold off deleting these until we are further > > along on that. >

Re: [LSF/MM TOPIC] cpuset vs mempolicy related issues

2017-02-10 Thread Vlastimil Babka
On 02/03/2017 10:17 AM, Vlastimil Babka wrote: Possible fix approach Cpuset updates will rebind nodemasks only of those mempolicies that need it wrt their relative nodes semantics (those are either created with the flag MPOL_F_RELATIVE_NODES, or with neither RELATIVE nor STATIC flag). The others

Re: [PATCH 4.4 12/23] ARC: [arcompact] handle unaligned access delay slot corner case

2017-02-10 Thread Ben Hutchings
On Tue, 2017-01-31 at 06:37 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Vineet Gupta > > commit 9aed02feae57bf7a40cb04ea0e3017cb7a998db4 upstream. > > After emulating an unaligned access in dela

Re: [PATCH RESEND 4/5] mtd: nand: atmel: Document the new DT bindings

2017-02-10 Thread Boris Brezillon
Hi Rob, On Wed, 1 Feb 2017 16:47:11 +0100 Boris Brezillon wrote: > On Wed, 1 Feb 2017 09:39:20 -0600 > Rob Herring wrote: > > > On Fri, Jan 27, 2017 at 05:42:03PM +0100, Boris Brezillon wrote: > > > Document the new DT bindings for the Atmel NAND controller and > > > deprecate the old ones.

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

2017-02-10 Thread Linus Walleij
On Wed, Feb 8, 2017 at 1:55 PM, Hans Ulli Kroll wrote: > On Tue, 7 Feb 2017, Linus Walleij wrote: > >> On Sun, Feb 5, 2017 at 10:53 AM, Hans Ulli Kroll >> wrote: >> >> > Hi Linus, >> > >> > please add right baudrate and partition scheme for NAS 4220 >> > >> > Signed-off-by: Hans Ulli Kroll >> >>

Re: [PATCH v2 2/3] pinctrl: rockchip: Add mux recalculation support

2017-02-10 Thread Heiko Stuebner
Am Freitag, 10. Februar 2017, 18:23:48 CET schrieb David Wu: > From: "david.wu" > > Some pins are special at a bank so that add > IOMUX_RECALCED type to indicate which iomux source > of the bank need to be recalculated. If the mux > recalculateed callback and IOMUX_RECALCED type > were set, recal

Re: [PATCH] bfq-mq: cause deadlock by executing exit_icq body immediately

2017-02-10 Thread Paolo Valente
> Il giorno 08 feb 2017, alle ore 18:17, Omar Sandoval ha > scritto: > > On Wed, Feb 08, 2017 at 11:39:24AM +0100, Paolo Valente wrote: >> >>> Il giorno 08 feb 2017, alle ore 11:33, Omar Sandoval >>> ha scritto: >>> >>> On Wed, Feb 08, 2017 at 11:03:01AM +0100, Paolo Valente wrote: >>

Re: [PATCH net-next v3 06/10] net: dsa: Migrate to device_find_class()

2017-02-10 Thread Greg KH
On Thu, Jan 19, 2017 at 04:51:55PM +, Russell King - ARM Linux wrote: > (This is mainly for Greg's benefit to help him understand the issue.) > > I think the diagram you gave initially made this confusing, as it > talks about a CPU(sic) producing the "RGMII" and "MII-MGMT". > > Let's instead

Aw: RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-10 Thread Lino Sanfilippo
> Gesendet: Donnerstag, 09. Februar 2017 um 12:30 Uhr > Von: "Salil Mehta" > An: "Lino Sanfilippo" > Cc: "da...@davemloft.net" , "Zhuangyuzeng (Yisen)" > , "mehta.salil@gmail.com" > , "net...@vger.kernel.org" > , "linux-kernel@vger.kernel.org" > , Linuxarm , "Yankejian > (Hackim Yim)"

Re: [GIT PULL] PCI fixes for v4.10

2017-02-10 Thread Rafael J. Wysocki
On Thursday, February 09, 2017 02:11:54 PM Bjorn Helgaas wrote: > On Thu, Feb 09, 2017 at 09:09:50AM -0600, Bjorn Helgaas wrote: > > [+cc Ashok, Keith] > > > > On Thu, Feb 09, 2017 at 05:06:48AM +0100, Lukas Wunner wrote: > > > On Wed, Feb 08, 2017 at 01:22:56PM -0600, Bjorn Helgaas wrote: > > > >

Re: [PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-10 Thread Linus Walleij
On Thu, Feb 9, 2017 at 3:20 PM, Hans Ulli Kroll wrote: > Add device tree probe for fotg2 driver > > v2: > fix in wrong MODULE_DEVICE_TABLE > > Signed-off-by: Hans Ulli Kroll Acked-by: Linus Walleij > + /* Right now device-tree probed devices don't get dma_mask set. > +* Since sh

Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

2017-02-10 Thread Linus Walleij
On Wed, Feb 8, 2017 at 9:00 PM, Hans Ulli Kroll wrote: > This adds DT bindings for the Faraday FOTG2 host controller. > > Signed-off-by: Hans Ulli Kroll Reviewed-by: Linus Walleij Yours, Linus Walleij

Re: [PATCH 4.4 12/23] ARC: [arcompact] handle unaligned access delay slot corner case

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 12:51:48PM +, Ben Hutchings wrote: > On Tue, 2017-01-31 at 06:37 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Vineet Gupta > > > > commit 9aed02feae57bf7a40cb

[PATCH V2 2/2] tracing/probe: Show subsystem name in messages

2017-02-10 Thread Masami Hiramatsu
Show "trace_probe:", "trace_kprobe:" and "trace_uprobe:" headers for each warning/error/info message. This will help people to notice that kprobe/uprobe events caused those messages. Signed-off-by: Masami Hiramatsu --- kernel/trace/trace_kprobe.c |1 + kernel/trace/trace_probe.c |1 + k

Re: [PATCH V2 3/7] mm: reclaim MADV_FREE pages

2017-02-10 Thread Michal Hocko
On Fri 03-02-17 15:33:19, Shaohua Li wrote: > When memory pressure is high, we free MADV_FREE pages. If the pages are > not dirty in pte, the pages could be freed immediately. Otherwise we > can't reclaim them. We put the pages back to anonumous LRU list (by > setting SwapBacked flag) and the pages

Re: [PATCH 0/3] usb: add device tree support for fotg2-hcd driver

2017-02-10 Thread Linus Walleij
On Wed, Feb 8, 2017 at 9:00 PM, Hans Ulli Kroll wrote: > Add device tree binding and DT driver support for fotg2-hcd controller > The device is used on Gemini SoC. All looks good to me. If you send a patch on top of my git branch adding it to the gemini.dtsi set as status = "disabled"; and gemi

[PATCH V2 1/2] tracing/probes: Fix a warning message to show correct maximum length

2017-02-10 Thread Masami Hiramatsu
Since tracing/*probe_events will accept a probe definition up to 4096 - 2 ('\n' and '\0') bytes, it must show 4094 instead of 4096 in warning message. Note that there is one possible case of exceed 4094. If user prepare 4096 bytes null-terminated string and syscall write it with the count == 4095,

Re: [PATCH V2 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-10 Thread Michal Hocko
On Fri 03-02-17 15:33:18, Shaohua Li wrote: > Userspace indicates MADV_FREE pages could be freed without pageout, so > it pretty much likes used once file pages. For such pages, we'd like to > reclaim them once there is memory pressure. Also it might be unfair > reclaiming MADV_FREE pages always be

Re: [PATCH 3/3] DT: add Faraday Tec. as vendor

2017-02-10 Thread Linus Walleij
On Wed, Feb 8, 2017 at 9:00 PM, Hans Ulli Kroll wrote: > add Faraday Technology Corporation as vendor faraday for DT > > Signed-off-by: Hans Ulli Kroll Reviewed-by: Linus Walleij I think I should use this for the PCI block as well, looking over some code and the root hub is using Faraday's PC

[PATCH v2] x86: Clean up a tiny description mistake in kernel ld script

2017-02-10 Thread Baoquan He
Remove the redundent word "is". And add several missing definite article 'the'. Signed-off-by: Baoquan He --- arch/x86/kernel/vmlinux.lds.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index e79f15f..44d

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Dmitry Vyukov
On Fri, Feb 10, 2017 at 1:15 PM, Andrey Ryabinin wrote: > > > On 02/10/2017 02:18 PM, Thomas Gleixner wrote: >> On Fri, 10 Feb 2017, Dmitry Vyukov wrote: >>> This is the right thing to do per se, but I am concerned that now >>> people will just suffers from slow boot (it can take literally >>> min

Re: [PATCH V2 5/7] mm: add vmstat account for MADV_FREE pages

2017-02-10 Thread Michal Hocko
On Fri 03-02-17 15:33:21, Shaohua Li wrote: > Show MADV_FREE pages info in proc/sysfs files. How are we going to use this information? Why it isn't sufficient to watch for lazyfree events? I mean this adds quite some code and it is not clear (at least from the changelog) we we need this informatio

Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-02-10 Thread Krzysztof Kozlowski
On Thu, Feb 09, 2017 at 11:26:48AM +0100, Richard Genoud wrote: > I did some tests with XU3 and XU4, playing with USB2 and USB3 quirks > (snps,dis_u{2,3}_susphy_quirk) > > kernel for the tests: next-20170206 > DTBs: exynos5422-odroidxu3-lite.dtb exynos5422-odroidxu4.dtb > > USB devices used for t

Re: [PATCH] netlink: move nla_put_{u8,u16,u32} out of line

2017-02-10 Thread Arnd Bergmann
On Thu, Feb 9, 2017 at 6:00 PM, Arnd Bergmann wrote: > To reduce this risk, -fsanitize-address-use-after-scope is now split out > into a separate Kconfig option, which cannot be selected at the same time > as CONFIG_KASAN_INLINE, leading to stack frames that are smaller than 2 > kilobytes most of

Re: [PATCH 1/3 v2] usb: host: fotg2: add device tree probing

2017-02-10 Thread Greg Kroah-Hartman
On Thu, Feb 09, 2017 at 03:20:49PM +0100, Hans Ulli Kroll wrote: > > Add device tree probe for fotg2 driver > > v2: > fix in wrong MODULE_DEVICE_TABLE > > Signed-off-by: Hans Ulli Kroll > --- > drivers/usb/host/fotg210-hcd.c | 19 +++ > 1 file changed, 19 insertions(+) > > dif

Re: [PATCH V2 7/7] mm: add a separate RSS for MADV_FREE pages

2017-02-10 Thread Michal Hocko
On Fri 03-02-17 15:33:23, Shaohua Li wrote: > Add a separate RSS for MADV_FREE pages. The pages are charged into > MM_ANONPAGES (because they are mapped anon pages) and also charged into > the MM_LAZYFREEPAGES. /proc/pid/statm will have an extra field to > display the RSS, which userspace can use t

Re: [PATCH] drivers: usb: musb: add code comment for clarification

2017-02-10 Thread Bin Liu
On Thu, Feb 09, 2017 at 09:56:54PM -0600, Gustavo A. R. Silva wrote: > Add code comment to make it clear that the fall-through is intentional. > Read the link for more details: https://lkml.org/lkml/2017/2/9/292 > Don't need 'drivers:' in the subject. > Signed-off-by: Gustavo A. R. Silva > ---

Re: [PATCH 4.4 12/23] ARC: [arcompact] handle unaligned access delay slot corner case

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 02:19:25PM +0100, Greg Kroah-Hartman wrote: > On Fri, Feb 10, 2017 at 12:51:48PM +, Ben Hutchings wrote: > > On Tue, 2017-01-31 at 06:37 +0100, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > >

Re: [PATCH] sched/deadline: Remove redundant code replenishing runtime

2017-02-10 Thread Juri Lelli
Hi, On 10/02/17 18:11, Byungchul Park wrote: > For a task passing its deadline while !rq, it will be replenished > in the following path because dl_se->deadline < rq_lock. > >enqueue_dl_entity(ENQUEUE_WAKEUP) > update_dl_entity > > Therefore, code replenishing it in the timer callback

[PATCH] staging: rtl8192u: Removing true and false comparison

2017-02-10 Thread simran singhal
Remove comparison to true and false in if statement. Problem found usingcheckpatch.pl. CHECK: Using comparison to true is error prone CHECK: Using comparison to false is error prone Signed-off-by: simran singhal --- drivers/staging/rtl8192u/ieee80211/rtl819x_BAProc.c | 4 ++-- 1 file changed, 2

Re: [PATCH v2 3/3] arm64: dts: exynos: Add stmfts touchscreen node for TM2 and TM2E

2017-02-10 Thread Krzysztof Kozlowski
On Fri, Feb 10, 2017 at 11:17:21AM +0900, Andi Shyti wrote: > TM2 and TM2E devices are provided with a ST-Microelectronics > Finger Tip S device with small differences: > > - screen size > - TM2E uses the stmfts also as a touchkey for "back" and "menu" > > In this commit the initial value of th

Re: [PATCH v2] arm64: dts: Enable ir-spi in the tm2 and tm2e boards

2017-02-10 Thread Krzysztof Kozlowski
On Fri, Feb 10, 2017 at 11:22:38AM +0900, Andi Shyti wrote: > Add the device tree node for the ir-spi driver which enable the > ir led for remote controlling. > > This patch sets first the GPR3[3] gpio line as a regulator-fixed > for enabling an external regulator which powers the IR LED. > > Rem

Re: [PATCH 10/11] iommu/exynos: Make use of iommu_device_register interface

2017-02-10 Thread Marek Szyprowski
Hi On 2017-02-09 12:32, Joerg Roedel wrote: From: Joerg Roedel Register Exynos IOMMUs to the IOMMU core and make them visible in sysfs. This patch does not add the links between IOMMUs and translated devices yet. Cc: Marek Szyprowski Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung

Re: you have a new message from... c92Y

2017-02-10 Thread Izuchukwu Francis
sori am ntt around since wia re u nw On 1/24/17, Izuchukwu Francis wrote: > bless may i know u > > On 10/16/16, tip-bot for Rik van Riel wrote: >> You can do whatever you want to me izundunaoyi >> >> Tell me where you want my cum >> >> and don't let it be a disappointing location >> >> >> [image

[PATCH 1/3] mfd: wm831x: Add basic device tree binding

2017-02-10 Thread Charles Keepax
Add the basic ability to register the device through device tree, more work is needed to get each individual sub-driver functioning correctly but this is enough to get the device to probe from device tree. Signed-off-by: Charles Keepax --- MAINTAINERS | 1 + drivers/mfd/wm83

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-10 Thread Ulf Hansson
On 10 February 2017 at 12:51, Marek Szyprowski wrote: > Hi Vinod, > > On 2017-02-10 05:50, Vinod Koul wrote: >> >> On Thu, Feb 09, 2017 at 03:22:51PM +0100, Marek Szyprowski wrote: >> >>> +static int pl330_set_slave(struct dma_chan *chan, struct device *slave) >>> +{ >>> + struct dma_pl330_c

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Andrey Ryabinin
On 02/10/2017 04:02 PM, Dmitry Vyukov wrote: > On Fri, Feb 10, 2017 at 1:15 PM, Andrey Ryabinin > wrote: >> >> >> On 02/10/2017 02:18 PM, Thomas Gleixner wrote: >>> On Fri, 10 Feb 2017, Dmitry Vyukov wrote: This is the right thing to do per se, but I am concerned that now people will jus

Re: [PATCH RESEND 4/5] mtd: nand: atmel: Document the new DT bindings

2017-02-10 Thread Rob Herring
On Fri, Feb 10, 2017 at 6:55 AM, Boris Brezillon wrote: > Hi Rob, > > On Wed, 1 Feb 2017 16:47:11 +0100 > Boris Brezillon wrote: > >> On Wed, 1 Feb 2017 09:39:20 -0600 >> Rob Herring wrote: >> >> > On Fri, Jan 27, 2017 at 05:42:03PM +0100, Boris Brezillon wrote: >> > > Document the new DT bindin

Re: [PATCH 10/11] iommu/exynos: Make use of iommu_device_register interface

2017-02-10 Thread Joerg Roedel
On Fri, Feb 10, 2017 at 02:46:59PM +0100, Marek Szyprowski wrote: > Hi > > On 2017-02-09 12:32, Joerg Roedel wrote: > >From: Joerg Roedel > > > >Register Exynos IOMMUs to the IOMMU core and make them > >visible in sysfs. This patch does not add the links between > >IOMMUs and translated devices y

Re: [Patch] Staging: media: bcm2048: fixed errors and warnings

2017-02-10 Thread Greg KH
On Fri, Feb 10, 2017 at 11:41:41AM +0200, Ran Algawi wrote: > Never attach patches, and always test-build them yourself to ensure they do not break the build :( greg k-h

Re: [PATCH RESEND 4/5] mtd: nand: atmel: Document the new DT bindings

2017-02-10 Thread Boris Brezillon
On Fri, 10 Feb 2017 07:58:15 -0600 Rob Herring wrote: > On Fri, Feb 10, 2017 at 6:55 AM, Boris Brezillon > wrote: > > Hi Rob, > > > > On Wed, 1 Feb 2017 16:47:11 +0100 > > Boris Brezillon wrote: > > > >> On Wed, 1 Feb 2017 09:39:20 -0600 > >> Rob Herring wrote: > >> > >> > On Fri, Jan 27,

[GIT PULL] nfsd bugfix for 4.10

2017-02-10 Thread J. Bruce Fields
Please pull git://linux-nfs.org/~bfields/linux.git tags/nfsd-4.10-3 --b. This patch turned out to have a couple problems. The problems are fixable, but at least one of the fixes is a little ugly. The original bug has always bee

Re: [PATCH v14 0/9] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction

2017-02-10 Thread Thomas Gleixner
On Wed, 8 Feb 2017, Kyle Huey wrote: > rr (http://rr-project.org/), a userspace record-and-replay reverse- > execution debugger, would like to trap and emulate the CPUID instruction. > This would allow us to a) mask away certain hardware features that rr does > not support (e.g. RDRAND) and b) ena

Re: [LSF/MM TOPIC] cpuset vs mempolicy related issues

2017-02-10 Thread Michal Hocko
On Fri 10-02-17 12:52:25, Vlastimil Babka wrote: > On 02/03/2017 10:17 AM, Vlastimil Babka wrote: > > Possible fix approach > > > > Cpuset updates will rebind nodemasks only of those mempolicies that need it > > wrt > > their relative nodes semantics (those are either created with the flag > > MP

Re: [PATCH V2 6/7] proc: show MADV_FREE pages info in smaps

2017-02-10 Thread Michal Hocko
$DESCRIPTION_OF_YOUR_USECASE_GOES_HERE Moreover Documentation/filesystems/proc.txt should be updated as well. Other than that, the patch looks good to me. On Fri 03-02-17 15:33:22, Shaohua Li wrote: > Cc: Michal Hocko > Cc: Minchan Kim > Cc: Hugh Dickins > Cc: Johannes Weiner > Cc: Rik van R

Re: [PATCH 2/2] x86/vdso: Add VCLOCK_HVCLOCK vDSO clock read method

2017-02-10 Thread Thomas Gleixner
On Fri, 10 Feb 2017, Vitaly Kuznetsov wrote: > Stephen Hemminger writes: > > > Why not use existing seqlock's? > > > > To be honest I don't quite understand how we could use it -- the > sequence locking here is done against the page updated by the > hypersior, we're not creating new structures

Re: [PATCH] staging: rtl8192u: Removing multiple blank lines

2017-02-10 Thread Greg KH
On Thu, Feb 09, 2017 at 06:02:12PM +0530, simran singhal wrote: > This patch fixes the checkpatch warning by removing multiple blank > lines. > CHECK: Please don't use multiple blank lines > > Signed-off-by: simran singhal > --- > drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 12 --

Re: [PATCH v6] staging: rtl8192e: Aligning the * on each line in block comments

2017-02-10 Thread Greg KH
On Thu, Feb 09, 2017 at 05:53:11PM +0530, Arushi wrote: > This patch fixes the issue by aligning the * on each line in block comments. > > Signed-off-by: Arushi Singhal Your "From:" line in your email does not match this name here, please fix up and try again. Also, please properly wrap your ch

Re: [PATCH v4 0/3] xen: optimize xenbus performance

2017-02-10 Thread Boris Ostrovsky
On 02/09/2017 08:39 AM, Juergen Gross wrote: > The xenbus driver used for communication with Xenstore (all kernel > accesses to Xenstore and in case of Xenstore living in another domain > all accesses of the local domain to Xenstore) is rather simple > especially regarding multiple concurrent acces

Re: [RFC][PATCH] tracing: Have traceprobe_probes_write() not access userspace unnecessarily

2017-02-10 Thread Steven Rostedt
On Fri, 10 Feb 2017 19:37:53 +0900 Masami Hiramatsu wrote: > > Sure, I've not applied your patch yet - mind sending it to Steve on top of > > Steve's > > patch? > > Of course, yes. :) > Thanks! I'll apply them on top of mine then. -- Steve

Re: [PATCH v2] arm64: dts: Enable ir-spi in the tm2 and tm2e boards

2017-02-10 Thread Javier Martinez Canillas
Hello Andi, On 02/09/2017 11:22 PM, Andi Shyti wrote: > Add the device tree node for the ir-spi driver which enable the > ir led for remote controlling. > > This patch sets first the GPR3[3] gpio line as a regulator-fixed > for enabling an external regulator which powers the IR LED. > > Removes

Re: [PATCH] staging: nvec: Fix coding style

2017-02-10 Thread Greg Kroah-Hartman
On Fri, Feb 10, 2017 at 12:16:12AM +0900, Youngdo, Lee wrote: > Removed unnecessary white spaces found via checkpatch.pl: > WARNING: Statements should start on a tabstop > > Signed-off-by: Youngdo, Lee > --- > drivers/staging/nvec/nvec_power.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 delet

Re: [PATCH] staging:vt6656:channel.h: fix function definition argument without identifier name issue

2017-02-10 Thread Greg KH
On Thu, Feb 09, 2017 at 08:17:56PM +0530, Arushi Singhal wrote: > Function definitions arguments should also have an identifier name as > reported by checkpatch.pl. > > Signed-off-by: Arushi Singhal > --- > drivers/staging/vt6656/channel.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] staging: r8712u: remove unnecessary le32_to_cpu

2017-02-10 Thread Greg KH
On Thu, Feb 09, 2017 at 08:51:55PM -0700, Perry Hooker wrote: > This patch fixes the following sparse warning: > drivers/staging/rtl8712/usb_ops_linux.c:212:33: warning: cast to restricted > __le32 > > Signed-off-by: Perry Hooker > --- > drivers/staging/rtl8712/usb_ops_linux.c | 2 +- > 1 file

Re: [PATCH 01/11] iommu: Rename iommu_get_instance()

2017-02-10 Thread Robin Murphy
Hi Joerg, I'm really liking this series! Superficially it doesn't seem to break anything on my Juno, but I'll give it a more thorough workout soon. Just a few comments from skimming through... On 09/02/17 11:32, Joerg Roedel wrote: > From: Joerg Roedel > > Rename the function to iommu_ops_from

[PATCH 2/3] gpio: wm831x: Add basic device tree support

2017-02-10 Thread Charles Keepax
Now the wm831x-core has basic DT support we can update this driver to allow use of the GPIOs within a device tree system. Signed-off-by: Charles Keepax --- drivers/gpio/gpio-wm831x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-wm831x.c b/drivers/gpio

Re: [PATCH 06/11] iommu: Add iommu_device_set_fwnode() interface

2017-02-10 Thread Robin Murphy
On 09/02/17 11:32, Joerg Roedel wrote: > From: Joerg Roedel > > Allow to store a fwnode in 'struct iommu_device'; > > Signed-off-by: Joerg Roedel > --- > include/linux/iommu.h | 12 > 1 file changed, 12 insertions(+) > > diff --git a/include/linux/iommu.h b/include/linux/iommu.h

[PATCH V2] x86, perf: Add Top Down events to Intel Goldmont

2017-02-10 Thread kan . liang
From: Kan Liang Goldmont supports full Top Down level 1 metrics (FrontendBound, Retiring, Backend Bound and Bad Speculation). It has 3 wide pipeline. Signed-off-by: Kan Liang --- Changes since V1: - Change event list style arch/x86/events/intel/core.c | 22 ++ 1 file cha

[PATCH v3 1/4] [media] exynos-gsc: Use 576p instead 720p as a threshold for colorspaces

2017-02-10 Thread Thibault Saunier
From: Javier Martinez Canillas The media documentation says that the V4L2_COLORSPACE_SMPTE170M colorspace should be used for SDTV and V4L2_COLORSPACE_REC709 for HDTV. But drivers don't agree on the display resolution that should be used as a threshold. Some drivers set V4L2_COLORSPACE_REC709 for

[PATCH v3 0/4] Fixes for colorspace logic in exynos-gsc and s5p-mfc drivers

2017-02-10 Thread Thibault Saunier
Hello, This patchset fixes a few issues on the colorspace logic for the exynos-gsc and s5p-mfc drivers. We now handle the colorspace in those drivers, and make sure to respect user setting if possible. We also now set the 'v4l2_pix_format:field' if userspace passed ANY, avoiding GStreamer spam

Re: [PATCH] x86/mm/ptdump: Fix soft lockup in page table walker.

2017-02-10 Thread Dmitry Vyukov
On Fri, Feb 10, 2017 at 2:56 PM, Andrey Ryabinin wrote: > On 02/10/2017 04:02 PM, Dmitry Vyukov wrote: >> On Fri, Feb 10, 2017 at 1:15 PM, Andrey Ryabinin >> wrote: >>> >>> >>> On 02/10/2017 02:18 PM, Thomas Gleixner wrote: On Fri, 10 Feb 2017, Dmitry Vyukov wrote: > This is the right th

Re: timers: Make flags output in the timer_start tracepoint useful

2017-02-10 Thread Steven Rostedt
On Fri, 10 Feb 2017 14:25:03 +0100 (CET) Thomas Gleixner wrote: > The timer flags in the timer_start trace event contain lots of useful > information, but the meaning is not clear in the trace output because its > just printed as a hex value. Making tools rely on the bit positions is bad > as the

[PATCH v3 2/4] [media] exynos-gsc: Respect userspace colorspace setting in try_fmt

2017-02-10 Thread Thibault Saunier
If the colorspace is specified by userspace we should respect it and not reset it ourself if we can support it. Signed-off-by: Thibault Saunier --- Changes in v3: - Do not check values in the g_fmt functions as Andrzej explained in previous review - Set colorspace if user passed V4L2_COLORSPAC

Re: [PATCH v3 04/18] drivers/fsi: Add fsi master definition

2017-02-10 Thread Greg KH
On Wed, Feb 01, 2017 at 10:53:44AM -0600, Christopher Bostic wrote: > From: Jeremy Kerr > > Signed-off-by: Jeremy Kerr > Signed-off-by: Chris Bostic > --- > drivers/fsi/fsi-core.c | 28 > drivers/fsi/fsi-master.h | 37 + > 2 fi

[PATCH v3] x86/fpu: copy MXCSR & MXCSR_FLAGS with SSE/YMM state

2017-02-10 Thread Rik van Riel
On Fri, 10 Feb 2017 09:00:54 +0100 Ingo Molnar wrote: > > /* Copy both mxcsr & mxcsr_flags */ > > #define MXCSR_AND_FLAGS_SIZE sizeof(u64) > > Yeah, that define would make it pretty clear what's going on. Please make it > a bit > more vebose: > > /* Copy both mxcsr & mxcsr_flags with a si

<    1   2   3   4   5   6   7   8   >