Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-28 Thread Aleksey Makarov
On 01/28/2016 03:45 AM, Peter Hurley wrote: > On 01/27/2016 05:57 AM, Aleksey Makarov wrote: >> >> >> On 01/25/2016 07:32 PM, Peter Hurley wrote: >>> On 01/25/2016 03:45 AM, Aleksey Makarov wrote: 'ARM Server Base Boot Requiremets' [1] mention SPCR (Serial Port Console Redirection

Re: [PATCH v1 2/8] mm, kasan: SLAB support

2016-01-28 Thread Alexander Potapenko
On Thu, Jan 28, 2016 at 1:37 PM, Alexander Potapenko wrote: > > On Jan 28, 2016 8:44 AM, "Joonsoo Kim" wrote: >> >> On Wed, Jan 27, 2016 at 07:25:07PM +0100, Alexander Potapenko wrote: >> > This patch adds KASAN hooks to SLAB allocator. >> > >> > This

[3.16.y-ckt stable] Linux 3.16.7-ckt23

2016-01-28 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt23 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y The diff from v3.16.7-ckt22 is posted

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Brian Starkey
Hi Thomas, Thanks for taking a look at this. On Tue, Jan 26, 2016 at 09:45:32PM +0100, Thomas Gleixner wrote: On Tue, 26 Jan 2016, Brian Starkey wrote: For shared interrupts, if one requester passes in any IRQF_TRIGGER_* flags whilst another doesn't, __setup_irq() can erroneously fail. The

Re: [PATCH] HID: quirks: Add no_init_reports for AKAI midi controller

2016-01-28 Thread Stafford Horne
On Thu, 28 Jan 2016, Oliver Neukum wrote: On Wed, 2016-01-27 at 22:31 +0100, Jiri Kosina wrote: On Wed, 27 Jan 2016, Stafford Horne wrote: The midi controller times-out while initializing reports, this causes boot to take an extra 10 seconds. The device descriptor advertises that it has an

[PATCH] lightnvm: put bio before return

2016-01-28 Thread Wenwei Tao
Signed-off-by: Wenwei Tao --- drivers/lightnvm/rrpc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/lightnvm/rrpc.c b/drivers/lightnvm/rrpc.c index d8c7595..307db1e 100644 --- a/drivers/lightnvm/rrpc.c +++ b/drivers/lightnvm/rrpc.c @@ -300,8

Re: [PATCH v2 2/2] intel_th: the number of masters should be (sw_end - sw_start + 1)

2016-01-28 Thread Alexander Shishkin
Chunyan Zhang writes: > Hi Alex, Hi chunyan, > Is there any problem on this patch, I noticed that you lost this patch > when you sent a patchset to Greg for 4.4 merge. No, there isn't, it just doesn't fix anything important to be sent outside of merge window, but the

Re: [PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

2016-01-28 Thread Namhyung Kim
On Thu, Jan 28, 2016 at 7:14 PM, Namhyung Kim wrote: > On Thu, Jan 28, 2016 at 5:16 PM, Jiri Olsa wrote: >> On Thu, Jan 28, 2016 at 12:40:47AM +0900, Namhyung Kim wrote: >>> Hello, >>> >>> This patchset tries to implement percent limit to callchains which

Re: [PATCH] mmc: sdhci: disable irq in sdhci host suspend ranther than free this irq

2016-01-28 Thread Russell King - ARM Linux
On Thu, Jan 28, 2016 at 05:42:26PM +0800, Haibo Chen wrote: > Currently sdhci driver free irq in host suspend, and call > request_threaded_irq() in host resume. But during host resume, > Ctrl+C can impact sdhci host resume, see the error log: Ctrl+C should have no effect on this - that seems to

[PATCH 0/4] ARM: at91: pm: add ULP1 mode support

2016-01-28 Thread Wenyou Yang
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In order to achieve the lowest power consumption, in the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator. The fast startup signal is used as a wake up source for ULP1 mode. As soon as the wake up event

[PATCH 1/4] ARM: at91: pm: create a separate procedure for the ULP0 mode

2016-01-28 Thread Wenyou Yang
To make the code more legible and prepare to add the ULP1 mode support in the future, create a separate procedure for the ULP0 mode. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/pm_suspend.S | 65 --- 1 file changed, 40

mm: another VM_BUG_ON_PAGE(PageTail(page))

2016-01-28 Thread Dmitry Vyukov
Hello, The following program triggers VM_BUG_ON_PAGE(PageTail(page)): // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include int main() { int fd; mmap((void*)0x2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Thomas Gleixner
Brian, On Thu, 28 Jan 2016, Brian Starkey wrote: > On Tue, Jan 26, 2016 at 09:45:32PM +0100, Thomas Gleixner wrote: > > On Tue, 26 Jan 2016, Brian Starkey wrote: > > > > > For shared interrupts, if one requester passes in any IRQF_TRIGGER_* > > > flags whilst another doesn't, __setup_irq() can

Re: [PATCH] kexec: unmap reserved pages for each error-return way

2016-01-28 Thread Michael Holzheu
On Wed, 27 Jan 2016 11:15:46 -0800 Andrew Morton wrote: > On Wed, 27 Jan 2016 14:48:31 +0300 Dmitry Safonov > wrote: > > > For allocation of kimage failure or kexec_prepare or load segments > > errors there is no need to keep crashkernel

Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default v2

2016-01-28 Thread Matt Fleming
On Wed, 27 Jan, at 03:29:26PM, Mel Gorman wrote: > +#ifdef CONFIG_SCHEDSTATS > +void set_schedstats(bool enabled) > +{ > + if (enabled) > + static_branch_enable(_schedstats); > + else > + static_branch_disable(_schedstats); > +} This function should probably be

Re: floppy: GPF in floppy_rb0_cb

2016-01-28 Thread Dmitry Vyukov
On Wed, Jan 27, 2016 at 9:27 PM, Jiri Kosina wrote: > On Wed, 27 Jan 2016, Dmitry Vyukov wrote: > >> > Alright, there is a serious issue with how floppy_revalidate() handles >> > error from lock_fdc() (in-depth explanation for the curious: it doesn't). >> > >> > In case

Re: [PATCH] pinctrl: nomadik: hide unused functions

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 4:59 PM, Arnd Bergmann wrote: > The nomadik pinctrl driver has two functions that are only used > for debugfs output and are otherwise unused: > > drivers/pinctrl/nomadik/pinctrl-abx500.c:194:12: error: > 'abx500_get_pull_updown' defined but not used >

Re: [PATCH] pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

2016-01-28 Thread Masahiro Yamada
Hi Linus 2016-01-28 19:31 GMT+09:00 Linus Walleij : > On Sat, Jan 23, 2016 at 4:32 PM, Masahiro Yamada > wrote: > >> CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI >> to guard the drivers/pinctrl/sunxi/ directory. >> (I

Re: [PATCH v6 0/7] cpufreq: add generic cpufreq driver support for Exynos542x/5800 platforms

2016-01-28 Thread Krzysztof Kozlowski
On 28.01.2016 19:48, Krzysztof Kozlowski wrote: > On 16.12.2015 11:14, Viresh Kumar wrote: >> On 15-12-15, 18:33, Bartlomiej Zolnierkiewicz wrote: >>> Hi, >>> >>> This patch series adds generic cpufreq-dt driver support for >>> Exynos542x/5800 (using the new CPU clock type which allows it). >>>

Re: [PATCH v2 2/2] intel_th: the number of masters should be (sw_end - sw_start + 1)

2016-01-28 Thread Chunyan Zhang
On Thu, Jan 28, 2016 at 6:16 PM, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> Hi Alex, > > Hi chunyan, > >> Is there any problem on this patch, I noticed that you lost this patch >> when you sent a patchset to Greg for 4.4

Re: x86: Hardware breakpoints are not always triggered

2016-01-28 Thread Jan Kiszka
On 2016-01-28 09:31, Andrey Wagin wrote: > Hi, > > We use hardware breakpoints in CRIU and we found that sometimes we set > a break-point, but a process doesn't stop on it. > > I write a small reproducer for this bug. It create two processes, > where a parent process traces a child. The parent

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Brian Starkey
On Thu, Jan 28, 2016 at 11:29:21AM +0100, Thomas Gleixner wrote: Brian, On Thu, 28 Jan 2016, Brian Starkey wrote: On Tue, Jan 26, 2016 at 09:45:32PM +0100, Thomas Gleixner wrote: > On Tue, 26 Jan 2016, Brian Starkey wrote: > > > For shared interrupts, if one requester passes in any

Re: [PATCH v6 0/9] ftrace with regs + live patching for ppc64 LE (ABI v2)

2016-01-28 Thread Torsten Duwe
On Thu, Jan 28, 2016 at 02:31:58PM +1100, Michael Ellerman wrote: > > Looking at GCC history it looks like the fix is in 4.9.0 and anything later. Good. But 4.8.5 has a buggy -mprofile-kernel, and there will be no 4.8.6, Bad. > But a version check doesn't work with patched distro/vendor

Re: [PATCH 11/13] dtb: amd: Add PCIe SMMU device tree node

2016-01-28 Thread Will Deacon
On Thu, Jan 28, 2016 at 11:18:19AM +, Mark Rutland wrote: > On Thu, Jan 28, 2016 at 11:17:39AM +, Will Deacon wrote: > > On Thu, Jan 28, 2016 at 11:14:53AM +, Mark Rutland wrote: > > > On Wed, Jan 27, 2016 at 03:11:59PM -0600, Suravee Suthikulpanit wrote: > > > > From: Suravee

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Mark Rutland
On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: > 16K page size is an optional feature of the architecture, Technically, support for any particular page size and endianness configuration is an optional architectural feature. I don't think we can capture this information for each

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Ard Biesheuvel
On 28 January 2016 at 12:27, Suzuki K. Poulose wrote: > On 28/01/16 11:08, Will Deacon wrote: >> >> On Thu, Jan 28, 2016 at 10:34:41AM +, Catalin Marinas wrote: >>> >>> On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: 16K page size is an optional

Re: [RFC PATCH 0/21] Totally remove SDHCI_QUIRK_BROKEN_CARD_DETECTION quirk

2016-01-28 Thread One Thousand Gnomes
On Thu, 28 Jan 2016 10:17:11 +0800 Shawn Lin wrote: > On 2016/1/27 23:07, Ulf Hansson wrote: > > On 27 January 2016 at 14:23, Russell King - ARM Linux > > wrote: > >> On Wed, Jan 27, 2016 at 02:59:14PM +0200, Adrian Hunter wrote: > >>> In my

Re: [PATCH v5 3/5] mfd: hi655x: Add hi665x pmic driver

2016-01-28 Thread Lee Jones
On Thu, 28 Jan 2016, chenfeng wrote: > Hi Lee, > > Thanks for your review! > There is one things need your confirm. > Please help to see it below. > > On 2016/1/25 22:22, Lee Jones wrote: > > On Mon, 11 Jan 2016, Chen Feng wrote: > > > >> Add pmic mfd driver to support hisilicon hi665x. > [..]

Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default v2

2016-01-28 Thread Matt Fleming
On Thu, 28 Jan, at 10:59:25AM, Mel Gorman wrote: > > It wasn't really. The patch increased the function size by enough that > I uninlined it and let the compiler make the decision. In this case, > it should automatically inline but I can leave the inline in. Letting the compiler make the

Re: [PATCH] genirq: fix trigger flags check for shared irqs

2016-01-28 Thread Thomas Gleixner
On Thu, 28 Jan 2016, Brian Starkey wrote: > I've got a few devices on the same interrupt line. One driver does Just for the record: When will hardware folks finally understand that shared interrupt lines are a nightmare? > something along these lines: > > res = platform_get_resource(dev,

Re: [PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-28 Thread One Thousand Gnomes
> +config MFD_FINTEK_F81504_CORE > +tristate "Fintek F81504/508/512 PCIE-to-UART/GPIO MFD support" > +depends on PCI > +select MFD_CORE > +default y > +help > + This driver generate F81504/508/512 UART & GPIO platform This driver provides the

Re: [PATCH] perf/x86/amd/power: Add AMD accumulated power reporting

2016-01-28 Thread kbuild test robot
Hi Borislav, [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.5-rc1 next-20160128] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Borislav-Petkov/perf-x86-amd-power

Re: [PATCH V4 4/5] gpio: max77620: add gpio driver for MAX77620/MAX20024

2016-01-28 Thread Linus Walleij
On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote: > MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO > pins. It also supports interrupts from these pins. > > Add GPIO driver for these pins to control via GPIO APIs. > > Signed-off-by: Laxman Dewangan

Re: [PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support

2016-01-28 Thread One Thousand Gnomes
On Thu, 28 Jan 2016 17:20:37 +0800 Peter Hung wrote: > This driver is 8250 driver for F81504/508/512, it'll handle the serial > port operation of this device. This module will depend on > MFD_FINTEK_F81504_CORE. > > The serial ports support from 50bps to 1.5Mbps with Linux

[PATCH 3/4] ARM: at91: pm: configure PMC fast startup signals

2016-01-28 Thread Wenyou Yang
The fast startup signal is used as wake up sources for ULP1 mode. As soon as a fast startup signal is asserted, the embedded 12 MHz RC oscillator restarts automatically. This patch is to configure the fast startup signals, which signal is enabled to trigger the PMC to wake up the system from ULP1

[PATCH v4] dmaengine: edma: fix residue race for cyclic

2016-01-28 Thread John Ogness
hanges . rebased for next-20160128 . moved register bit definition drivers/dma/edma.c | 41 - 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index d92d655..e3d7fcb 100644 --- a/drivers/dma/edma.c +++ b/d

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Catalin Marinas
On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: > 16K page size is an optional feature of the architecture, and is not > supported by the X-Gene SoC family. > > Signed-off-by: dann frazier > --- > arch/arm64/Kconfig.platforms | 1 + > 1 file changed, 1

Re: [PATCH 3/3] mfd: lpc_ich: add GPIO support for Baytrail

2016-01-28 Thread Linus Walleij
On Sat, Jan 23, 2016 at 5:32 PM, Antoine Tenart wrote: > This patch adds the GPIO support for the Baytrail family. > > Signed-off-by: Antoine Tenart I'm confused by this and Mika's comment on patch 0. Is the BayTrail an ICH

Re: [PATCH v4] lib/spinlock_debug.c: prevent a recursive cycle in the debug code

2016-01-28 Thread Sergey Senozhatsky
On (01/28/16 17:13), Byungchul Park wrote: [..] > > > > int down_trylock(struct semaphore *sem) > > > > { > > > > unsigned long flags; > > > > int count; > > > > > > > > raw_spin_lock_irqsave(>lock, flags); << um... > > > > > > I also think it's hard, but a

Re: [PATCH] cpufreq: Fix NULL reference crash while accessing policy->governor_data

2016-01-28 Thread Juri Lelli
On 28/01/16 07:45, Viresh Kumar wrote: > On 27-01-16, 23:54, Rafael J. Wysocki wrote: > > So I've applied this, but I'm not sure it is sufficient yet. > > At least, this solves the crash Juri was hitting on a multi cluster > box. > > > Have you double checked whether or not stuff cannot be

[PATCH] floppy: fix lock_fdc() signal handling

2016-01-28 Thread Jiri Kosina
On Thu, 28 Jan 2016, Dmitry Vyukov wrote: > I have not seen any /dev/fd0 related crashes over night. Previously I > seen tons of them, so I guess this bug is fixed. > Please send this upstream. > Thanks Thanks a lot for testing, Dmitry. Jens, here is the patch with proper changelog. Could you

Re: mm: another VM_BUG_ON_PAGE(PageTail(page))

2016-01-28 Thread Kirill A. Shutemov
On Thu, Jan 28, 2016 at 11:27:11AM +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers VM_BUG_ON_PAGE(PageTail(page)): > > // autogenerated by syzkaller (http://github.com/google/syzkaller) > #include > #include > #include > #include > > int main() > { > int fd; > >

Re: [PATCH V2 3/4] 8250: 8250_f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO UART support

2016-01-28 Thread kbuild test robot
Hi Peter, [auto build test WARNING on gpio/for-next] [also build test WARNING on v4.5-rc1 next-20160128] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Hung/Transform-Fintek-PCIE-driver

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Will Deacon
On Thu, Jan 28, 2016 at 10:34:41AM +, Catalin Marinas wrote: > On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: > > 16K page size is an optional feature of the architecture, and is not > > supported by the X-Gene SoC family. > > > > Signed-off-by: dann frazier

[PATCH] 8250: 8250_f81504: fix platform_no_drv_owner.cocci warnings

2016-01-28 Thread kbuild test robot
drivers/tty/serial/8250/8250_f81504.c:233:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Peter Hung Signed-off-by: Fengguang Wu

Re: [RFC 4/8] Improve the tracking of active utilisation

2016-01-28 Thread luca abeni
Hi Peter, On Wed, 27 Jan 2016 15:39:46 +0100 Peter Zijlstra wrote: > On Wed, Jan 27, 2016 at 02:36:51PM +0100, Luca Abeni wrote: > > Ok, so I implemented this idea, and I am currently testing it... > > The first experiments seem to show that there are no problems, but I >

Re: [PATCH 11/13] dtb: amd: Add PCIe SMMU device tree node

2016-01-28 Thread Mark Rutland
On Wed, Jan 27, 2016 at 03:11:59PM -0600, Suravee Suthikulpanit wrote: > From: Suravee Suthikulpanit > > Add PCIe SMMU device tree node for AMD Seattle SOC. > > Signed-off-by: Suravee Suthikulpanit > --- >

Re: [PATCH] mfd: db8500: avoid uninitialized variable reference

2016-01-28 Thread Lee Jones
On Mon, 25 Jan 2016, Arnd Bergmann wrote: > The prcmu_config_clkout() function ensures that the 'clkout' argument > can only be '0' or '1' using an appropriate BUG_ON(), so the compiler > should know that the div_mask, mask, and bits variables are always > initialized later on. However, it

Re: [PATCH] of: resolver: Add missing of_node_put

2016-01-28 Thread Julia Lawall
On Thu, 28 Jan 2016, Mark Rutland wrote: > On Wed, Jan 27, 2016 at 08:48:00PM +0100, Julia Lawall wrote: > > > > > > On Wed, 27 Jan 2016, Pantelis Antoniou wrote: > > > > > Hi Mark, > > > > > > > On Jan 27, 2016, at 18:21 , Mark Rutland wrote: > > > > > > > > On Wed, Jan

ata: BUG in ata_sff_hsm_move

2016-01-28 Thread Dmitry Vyukov
Hello, I episodically hit the following BUG while running syzkaller fuzzer: ata2: protocol 2 task_state 0 (dev_stat 0x41) [ cut here ] kernel BUG at drivers/ata/libata-sff.c:1302! invalid opcode: [#1] SMP DEBUG_PAGEALLOC KASAN Modules linked in: CPU: 1 PID: 10679

Re: [PATCH v6 1/9] ppc64 (le): prepare for -mprofile-kernel

2016-01-28 Thread Torsten Duwe
On Thu, Jan 28, 2016 at 03:26:59PM +1100, Michael Ellerman wrote: > > That raises an interesting question, how does it work *without* > DYNAMIC_FTRACE? > > It looks like you haven't updated that version of _mcount at all? Or maybe I'm > missing an #ifdef somewhere? You didn't, I did. I haven't

Re: [PATCH v4] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-28 Thread Huang Rui
On Thu, Jan 28, 2016 at 10:03:15AM +0100, Borislav Petkov wrote: > On Thu, Jan 28, 2016 at 02:38:51PM +0800, Huang Rui wrote: > > Introduce an AMD accumlated power reporting mechanism for Carrizo > > (Family 15h, Model 60h) processor that should be used to calculate the > > average power consumed

Re: [RFC PATCH v3 0/5] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table on PPC64 platform

2016-01-28 Thread Yongji Xie
Ping... Alex, any comment? Regards, Yongji Xie On 2016/1/15 15:06, Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs and MSI-X table. This is because sub-page BARs' mmio page may be shared with other BARs and MSI-X table should not be

Re: [PATCH v3] barriers: introduce smp_mb__release_acquire and update documentation

2016-01-28 Thread Will Deacon
On Thu, Jan 28, 2016 at 10:46:23AM +0800, Boqun Feng wrote: > On Wed, Jan 27, 2016 at 06:22:04PM +, Will Deacon wrote: > > As much as we'd like to live in a world where RELEASE -> ACQUIRE is > > always cheaply ordered and can be used to construct UNLOCK -> LOCK > > definitions with similar

Re: [PATCH] mm: polish virtual memory accounting

2016-01-28 Thread Sudip Mukherjee
On Thu, Jan 28, 2016 at 12:45:44PM +0300, Konstantin Khlebnikov wrote: > * add VM_STACK as alias for VM_GROWSUP/DOWN depending on architecture > * always account VMAs with flag VM_STACK as stack (as it was before) > * cleanup classifying helpers > * update comments and documentation > >

Re: [PATCHSET 00/10] perf tools: Apply percent-limit to callchains (v2)

2016-01-28 Thread Namhyung Kim
On Thu, Jan 28, 2016 at 5:16 PM, Jiri Olsa wrote: > On Thu, Jan 28, 2016 at 12:40:47AM +0900, Namhyung Kim wrote: >> Hello, >> >> This patchset tries to implement percent limit to callchains which was >> requested by Andi Kleen. For some reason, limiting callchains by >>

Re: [PATCH 4/8] perf, tools, stat: Implement CSV metrics output

2016-01-28 Thread Jiri Olsa
On Tue, Jan 26, 2016 at 04:42:53PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Now support CSV output for metrics. With the new output callbacks > this is relatively straight forward by creating new callbacks. > > The new line callback needs to know the number of

Re: [PATCH v4 3/5] pinctrl: dt bindings: Add pinfunc header file for mt2701

2016-01-28 Thread Linus Walleij
On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote: > Add pinfunc header file, mt2701 related dts will include it > > Signed-off-by: Biao Huang > Acked-by: Linus Walleij Patch applied to the special "devel-mt2701"

Re: [PATCH 4/8] perf, tools, stat: Implement CSV metrics output

2016-01-28 Thread Jiri Olsa
On Tue, Jan 26, 2016 at 04:42:53PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Now support CSV output for metrics. With the new output callbacks > this is relatively straight forward by creating new callbacks. > > The new line callback needs to know the number of

Re: [PATCH V8 1/1] usb:serial: Add Fintek F81532/534 driver

2016-01-28 Thread kbuild test robot
Hi Peter, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.5-rc1 next-20160128] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Hung/usb-serial-Add-Fintek-F81532

Re: [PATCH] proc: revert /proc//maps [stack:TID] annotation

2016-01-28 Thread Kirill A. Shutemov
On Mon, Jan 25, 2016 at 03:53:01PM -0800, Colin Cross wrote: > On Mon, Jan 25, 2016 at 3:14 PM, Kirill A. Shutemov > wrote: > > On Mon, Jan 25, 2016 at 01:30:00PM -0800, Colin Cross wrote: > >> On Tue, Jan 19, 2016 at 3:30 PM, Kirill A. Shutemov > >>

Re: [PATCH] pinctrl: sunxi: guard sub-directory with CONFIG_PINCTRL_SUNXI

2016-01-28 Thread Linus Walleij
On Sat, Jan 23, 2016 at 4:32 PM, Masahiro Yamada wrote: > CONFIG_PINCTRL_SUNXI is more suitable than CONFIG_ARCH_SUNXI > to guard the drivers/pinctrl/sunxi/ directory. > (I renamed CONFIG_PINCTRL_SUNXI_COMMON to CONFIG_PINCTRL_SUNXI.) > > Signed-off-by: Masahiro

Re: [PATCH] mfd: db8500: avoid uninitialized variable reference

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:02 PM, Arnd Bergmann wrote: > The prcmu_config_clkout() function ensures that the 'clkout' argument > can only be '0' or '1' using an appropriate BUG_ON(), so the compiler > should know that the div_mask, mask, and bits variables are always > initialized

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:14 PM, Andrew F. Davis wrote: > Add driver for TI TPIC2810 8-Bit LED Driver with I2C Interface. > > The TPIC2810 has 8 open-drain outputs that can but used to drive > LEDs and other low-side switched resistive loads. > > Signed-off-by: Andrew F. Davis

Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default v2

2016-01-28 Thread Mel Gorman
On Thu, Jan 28, 2016 at 10:32:08AM +, Matt Fleming wrote: > On Wed, 27 Jan, at 03:29:26PM, Mel Gorman wrote: > > +#ifdef CONFIG_SCHEDSTATS > > +void set_schedstats(bool enabled) > > +{ > > + if (enabled) > > + static_branch_enable(_schedstats); > > + else > > +

Re: [PATCH v2 1/2] dt-bindings: GPIO: Add generic serializer binding

2016-01-28 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:37 PM, Andrew F. Davis wrote: > Add binding for generic parallel-in/serial-out shift register devices > used as GPIO. > > Signed-off-by: Andrew F. Davis (...) > +Required properties: > + - compatible : Should be "pisosr-gpio". As

Re: [PATCH v7 0/6] cpufreq: powernv: Redesign the presentation of throttle notification and solve bug-fixes in the driver

2016-01-28 Thread Balbir Singh
On Thu, Jan 28, 2016 at 6:25 PM, Shilpasri G Bhat wrote: > In POWER8, OCC(On-Chip-Controller) can throttle the frequency of the > CPU when the chip crosses its thermal and power limits. Currently, > powernv-cpufreq driver detects and reports this event as a console

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Mark Rutland
On Thu, Jan 28, 2016 at 11:08:20AM +, Will Deacon wrote: > On Thu, Jan 28, 2016 at 10:34:41AM +, Catalin Marinas wrote: > > On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: > > > 16K page size is an optional feature of the architecture, and is not > > > supported by the X-Gene

[PATCH 5/6] arm64: cpufeature: Track 32bit EL0 support

2016-01-28 Thread Suzuki K Poulose
Keep track of the support for 32bit EL0. Signed-off-by: Suzuki K Poulose --- arch/arm64/include/asm/cpufeature.h |8 +++- arch/arm64/kernel/cpufeature.c | 11 +++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git

Re: [PATCH V4 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-28 Thread Mark Brown
On Thu, Jan 28, 2016 at 03:16:41PM +0800, Henry Chen wrote: > On Wed, 2016-01-27 at 14:41 +, Mark Brown wrote: > > No, drivers should *never* enable things that weren't explictly enabled > > by the machine constraints. This misses the whole point of having > > constraints. They are there so

Re: [PATCH] kexec: unmap reserved pages for each error-return way

2016-01-28 Thread Xunlei Pang
On 2016/01/28 at 18:32, Michael Holzheu wrote: > On Wed, 27 Jan 2016 11:15:46 -0800 > Andrew Morton wrote: > >> On Wed, 27 Jan 2016 14:48:31 +0300 Dmitry Safonov >> wrote: >> >>> For allocation of kimage failure or kexec_prepare or load

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-01-28 Thread Will Deacon
On Wed, Jan 27, 2016 at 03:38:36PM -0800, Paul E. McKenney wrote: > On Wed, Jan 27, 2016 at 03:21:58PM +, Will Deacon wrote: > > On Wed, Jan 27, 2016 at 03:54:21PM +0100, Peter Zijlstra wrote: > > > On Wed, Jan 27, 2016 at 11:43:48AM +, Will Deacon wrote: > > > > Do you know whether a SYNC

[PATCH] gpio: gpio-f81504: fix platform_no_drv_owner.cocci warnings

2016-01-28 Thread kbuild test robot
drivers/gpio/gpio-f81504.c:246:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Peter Hung Signed-off-by: Fengguang Wu

Re: [PATCH v7 6/6] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-28 Thread Shilpasri G Bhat
On 01/28/2016 03:11 PM, Viresh Kumar wrote: > On 28-01-16, 15:06, Shilpasri G Bhat wrote: >> No these stats are not per-policy. They are per-chip. The throttle event is >> common for all cores in the chip. > > How do you define a chip? And how is it different then the group of > CPUs

Re: [PATCH V2 2/4] gpio: gpio-f81504: Add Fintek F81504/508/512 PCIE-to-UART/GPIO GPIOLIB support

2016-01-28 Thread kbuild test robot
Hi Peter, [auto build test ERROR on gpio/for-next] [also build test ERROR on v4.5-rc1 next-20160128] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Peter-Hung/Transform-Fintek-PCIE-driver

[PATCH v2 3/3] mmc: pwrseq: convert to proper platform device

2016-01-28 Thread Srinivas Kandagatla
simple-pwrseq and emmc-pwrseq drivers rely on platform_device structure from of_find_device_by_node(), this works mostly. But, as there is no driver associated with this devices, cases like default/init pinctrl setup would never be performed by pwrseq. This becomes problem when the gpios used in

Re: [PATCH V4 3/5] pinctrl: max77620: add pincontrol driver for MAX77620/MAX20024

2016-01-28 Thread Linus Walleij
On Tue, Jan 19, 2016 at 11:19 AM, Laxman Dewangan wrote: > MAXIM Semiconductor's PMIC, MAX77620/MAX20024 has 8 GPIO pins > which also act as the special function in alternate mode. Also > there is configuration like push-pull, open drain, FPS timing > etc for these pins. >

[PATCH v2 2/3] mmc: pwrseq_emmc: add to_pwrseq_emmc() macro

2016-01-28 Thread Srinivas Kandagatla
This patch adds to_pwrseq_emmc() macro to make the code more readable. Signed-off-by: Srinivas Kandagatla --- drivers/mmc/core/pwrseq_emmc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/pwrseq_emmc.c

[PATCH v2 1/3] mmc: pwrseq_simple: add to_pwrseq_simple() macro

2016-01-28 Thread Srinivas Kandagatla
This patch adds to_pwrseq_simple() macro to make the code more readable. Signed-off-by: Srinivas Kandagatla --- drivers/mmc/core/pwrseq_simple.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/mmc/core/pwrseq_simple.c

scsi: NULL deref in sg_start_req

2016-01-28 Thread Dmitry Vyukov
Hello, The following program causes NULL deref in sg_start_req: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include #ifndef SYS_memfd_create #define SYS_memfd_create 319 #endif int main() { long r[26]; syscall(SYS_mmap,

Re: [PATCH] net/mac80211/agg-rx.c: fix use of uninitialised values

2016-01-28 Thread Julian Calaby
Hi Johannes, On Thu, Jan 28, 2016 at 8:48 PM, Johannes Berg wrote: > On Thu, 2016-01-28 at 10:27 +1100, Julian Calaby wrote: >> I'd prefer to just set ->removed to false right after we set >> ->auto_seq as that should be faster, however I don't know if >>

Re: [PATCH] workqueue: warn if memory reclaim tries to flush !WQ_MEM_RECLAIM workqueue

2016-01-28 Thread Peter Zijlstra
On Tue, Jan 26, 2016 at 06:38:43PM +0100, Thierry Reding wrote: > > Task or work item involved in memory reclaim trying to flush a > > non-WQ_MEM_RECLAIM workqueue or one of its work items can lead to > > deadlock. Trigger WARN_ONCE() if such conditions are detected. > I've started noticing the

[PATCH 2/4] ARM: at91: pm: add ULP1 mode support

2016-01-28 Thread Wenyou Yang
The ULP1 (Ultra Low-power mode 1) is introduced by SAMA5D2. In the ULP1 mode, all the clocks are shut off, inclusive the embedded 12MHz RC oscillator, so as to achieve the lowest power consumption with the system in retention mode and able to resume on the wake up events. As soon as the wake up

[PATCH 4/4] Documentation: atmel-at91: add DT bindings for fast startup

2016-01-28 Thread Wenyou Yang
Add DT bindings to configurate the PMC_FSMR and PMC_FSPR registers to trigger a fast restart signal to PMC. Signed-off-by: Wenyou Yang --- .../devicetree/bindings/arm/atmel-pmc.txt | 74 1 file changed, 74 insertions(+) diff --git

Re: [PATCH V3 18/21] ACPI, PCI: Refine the way to handle translation_offset for ACPI resources

2016-01-28 Thread Hanjun Guo
Hi Lorenzo, On 2016/1/19 20:20, Lorenzo Pieralisi wrote: Gerry, On Wed, Jan 13, 2016 at 02:21:04PM +0100, Tomasz Nowicki wrote: From: Liu Jiang Some architectures, such as IA64 and ARM64, have no instructions to directly access PCI IO ports, so they map PCI IO

[PATCH] ASoC: fsl-asoc-card: add cs4271 and cs4272 support

2016-01-28 Thread Felipe F. Tonello
add cs4271 and cs42727 support for fsl-asoc-card Signed-off-by: Felipe F. Tonello --- .../devicetree/bindings/sound/imx-audio-cs427x.txt | 47 ++ sound/soc/fsl/Kconfig | 4 +- sound/soc/fsl/fsl-asoc-card.c

Re: [PATCH] arm64: make CONFIG_DEBUG_RODATA non-optional

2016-01-28 Thread Mark Rutland
Hi, On Wed, Jan 27, 2016 at 05:09:06PM -0700, David Brown wrote: > From 2efef8aa0f8f7f6277ffebe4ea6744fc93d54644 Mon Sep 17 00:00:00 2001 > From: David Brown > Date: Wed, 27 Jan 2016 13:58:44 -0800 > > This removes the CONFIG_DEBUG_RODATA option and makes it always >

Re: [PATCH v3] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-28 Thread One Thousand Gnomes
> > 8-bit read of 299h – save this value > > 8-bit write of 60h to 299h > > 16-bit read of 29ah should return the base address of the WDT which is 564h > > 8-bit write of saved value to 299h - don’t want t accidentally change the > > WDT base address > > If the system does return a value of

Re: [PATCH 11/13] dtb: amd: Add PCIe SMMU device tree node

2016-01-28 Thread Mark Rutland
On Thu, Jan 28, 2016 at 11:17:39AM +, Will Deacon wrote: > On Thu, Jan 28, 2016 at 11:14:53AM +, Mark Rutland wrote: > > On Wed, Jan 27, 2016 at 03:11:59PM -0600, Suravee Suthikulpanit wrote: > > > From: Suravee Suthikulpanit > > > > > > Add PCIe SMMU

Re: [PATCH 11/13] dtb: amd: Add PCIe SMMU device tree node

2016-01-28 Thread Will Deacon
On Thu, Jan 28, 2016 at 11:14:53AM +, Mark Rutland wrote: > On Wed, Jan 27, 2016 at 03:11:59PM -0600, Suravee Suthikulpanit wrote: > > From: Suravee Suthikulpanit > > > > Add PCIe SMMU device tree node for AMD Seattle SOC. > > > > Signed-off-by: Suravee

Re: [PATCH] arm64: Disallow combination of ARCH_XGENE and 16K page size

2016-01-28 Thread Suzuki K. Poulose
On 28/01/16 11:08, Will Deacon wrote: On Thu, Jan 28, 2016 at 10:34:41AM +, Catalin Marinas wrote: On Wed, Jan 27, 2016 at 04:10:30PM -0700, dann frazier wrote: 16K page size is an optional feature of the architecture, and is not supported by the X-Gene SoC family. This enables support

[PATCH V4 3/3] arm64: dts: add Hi6220 spi configuration nodes

2016-01-28 Thread Zhong Kaihua
arm64: dts: add Hi6220 spi configuration nodes Signed-off-by: Zhong Kaihua --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 20 arch/arm64/boot/dts/hisilicon/hikey-pinctrl.dtsi | 21

[PATCH V4 1/3] arm64: dts: Add Hi6220 gpio configuration nodes

2016-01-28 Thread Zhong Kaihua
arm64: dts: Add Hi6220 gpio configuration nodes Signed-off-by: Zhong Kaihua Signed-off-by: Kong Xinwei Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 +

[PATCH V4 2/3] arm64: dts: add Hi6220 pinctrl configuration nodes

2016-01-28 Thread Zhong Kaihua
arm64: dts: add Hi6220 pinctrl configuration nodes Signed-off-by: Zhong Kaihua --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi| 22 + arch/arm64/boot/dts/hisilicon/hikey-pinctrl.dtsi | 684

Re: [PATCH v2] clk: Move vendor's Kconfig into CCF menu section

2016-01-28 Thread Arnd Bergmann
On Thursday 28 January 2016 16:58:57 James Liao wrote: > Move all vendor's Kconfig into CCF menu section to prevent > new drivers putting their Kconfig files in a wrong place. > > Some Kconigs need to modify at the same time to avoid build > warnings. > > Signed-off-by: James Liao

Re: [PATCH] of: resolver: Add missing of_node_put

2016-01-28 Thread Mark Rutland
On Wed, Jan 27, 2016 at 08:48:00PM +0100, Julia Lawall wrote: > > > On Wed, 27 Jan 2016, Pantelis Antoniou wrote: > > > Hi Mark, > > > > > On Jan 27, 2016, at 18:21 , Mark Rutland wrote: > > > > > > On Wed, Jan 27, 2016 at 06:14:00PM +0200, Pantelis Antoniou wrote: > >

Re: [PATCH V2 1/4] mfd: f81504-core: Add Fintek F81504/508/512 PCIE-to-UART/GPIO core support

2016-01-28 Thread Andy Shevchenko
On Thu, 2016-01-28 at 17:20 +0800, Peter Hung wrote: > The Fintek F81504/508/512 had implemented the basic serial port > function in > 8250_pci.c. We try to implement high baudrate & GPIOLIB with a spilt > file > 8250_f81504.c, but it seems too complex to add GPIOLIB. > > Alan & Andy recommend us

[PATCH v2 0/3] mmc: pwrseq: convert to proper driver

2016-01-28 Thread Srinivas Kandagatla
Hi Ulf, This patchset aims at converting the pwrseq devices to proper in drivers, The issue is that on Qualcomm based platforms, most of the gpios require a pinctrl setup. Existing pwrseq code does not do any kind of pinctrl setup. So this makes the pwrseq unusable on those platfroms. Convert

[PATCH] mmc: sdhci: disable irq in sdhci host suspend ranther than free this irq

2016-01-28 Thread Haibo Chen
Currently sdhci driver free irq in host suspend, and call request_threaded_irq() in host resume. But during host resume, Ctrl+C can impact sdhci host resume, see the error log: CPU1 is up PM: noirq resume of devices complete after 0.637 msecs imx-sdma 30bd.sdma: loaded firmware 4.1 PM: early

Re: [PATCH v4 4/5] pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701

2016-01-28 Thread Linus Walleij
On Wed, Jan 27, 2016 at 2:24 AM, Biao Huang wrote: > Add mt2701 support using mediatek common pinctrl driver. > MT2701 have some special pins need an extra setting register > than other ICs, so adding this support to common code. > > Signed-off-by: Biao Huang

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