Re: [PATCHSET] workqueue: break local execution guarantee of unbound work items

2016-02-10 Thread Jiri Slaby
On 02/10/2016, 12:14 AM, Tejun Heo wrote: > Hello, > > Workqueue used to implicitly guarantee local execution of unbound work > items. Recent timer updates broke that for delayed work items and the > attempt to restore it ended up causing more harm than good. It has > been decided to take the ch

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 1:09 AM, Jonathan Corbet wrote: > On Tue, 26 Jan 2016 14:08:45 +0200 > Jani Nikula wrote: > >> I'm afraid we've done some overlapping work in the mean time, but I'm >> happy we've both looked at the tool chain, and can have a more >> meaningful conversation now. > > [Addin

Re: [PATCH] ARM: Use generic clkdev.h header

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 11:07 PM, Arnd Bergmann wrote: > On Thursday 28 January 2016 12:12:38 Stephen Boyd wrote: >> From: Stephen Boyd >> Subject: [PATCH] ARM: plat-versatile: Remove unused clock.c file >> >> This file isn't compiled anymore because PLAT_VERSATILE_CLOCK is >> never selected. Rem

RE: [PATCH v3 2/3] clocksource: Add NPS400 timers driver

2016-02-10 Thread Noam Camus
>From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] >Sent: Wednesday, February 10, 2016 12:55 AM >> pr_err() in case of error just like most drivers around. By "hang" do >> you mean calling panic()? >No. I meant the errors are caught but no action is taken, the execution >continues normal

Re: [PATCH] mmc: block: return error on failed mmc_blk_get()

2016-02-10 Thread Ulf Hansson
On 9 February 2016 at 18:34, Olof Johansson wrote: > This used to return -EFAULT, but the function above returns -EINVAL on > the same condition so let's stick to that. > > The removal of error return on this path was introduced with b093410c9aef > ('mmc: block: copy resp[] data on err for MMC_IOC

Re: Another proposal for DAX fault locking

2016-02-10 Thread Mel Gorman
On Tue, Feb 09, 2016 at 07:46:05PM +0100, Cedric Blancher wrote: > On 9 February 2016 at 18:24, Jan Kara wrote: > > Hello, > > > > I was thinking about current issues with DAX fault locking [1] (data > > corruption due to racing faults allocating blocks) and also races which > > currently don't al

Re: [PATCH v6] media: spi: Add support for LMH0395

2016-02-10 Thread Jean-Michel Hautbois
Hi Rob, Thanks a lot for your review ! 2016-02-09 1:15 GMT+01:00 Rob Herring : > On Mon, Feb 08, 2016 at 12:20:24PM +0100, Jean-Michel Hautbois wrote: >> This device is a SPI based device from TI. >> It is a 3 Gbps HD/SD SDI Dual Output Low Power >> Extended Reach Adaptive Cable Equalizer. >> >>

Re: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-10 Thread Grygorii Strashko
Hi All, On 02/09/2016 09:38 PM, Arnd Bergmann wrote: > On Tuesday 09 February 2016 16:55:42 Karicheri, Muralidharan wrote: >> >> The descriptors are usable by different drivers, one driver may use it as >> buf ptr/ len, other for something else. So they should remain as generic >> and it is up to

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

2016-02-10 Thread Lukas Wunner
[cc += Rafael J. Wysocki, linux-acpi] Hi Stephen, On Wed, Feb 10, 2016 at 12:24:51PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from drivers/gpu/drm/nouveau/nouveau_drm.

Re: Should snd_card_free() check for null pointer?

2016-02-10 Thread Takashi Iwai
On Wed, 10 Feb 2016 08:41:38 +0100, Jerome Marchand wrote: > > - Original Message - > > From: "Takashi Iwai" > > To: "Jerome Marchand" > > Cc: "Jaroslav Kysela" , alsa-de...@alsa-project.org, > > linux-kernel@vger.kernel.org > > Sent: Tuesday, February 9, 2016 10:56:39 PM > > Subject: R

undefined reference to `efi_call'

2016-02-10 Thread kbuild test robot
Hi Johannes, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2178cbc68f3602dc0b5949b9be2c8383ad3d93ef commit: 489c2a20a414351fe0813a727c34600c0f7292ae mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KM

Re: [PATCH v3 1/3] mips: Use arch specific auxvec.h instead of generic-asm version

2016-02-10 Thread Daniel Wagner
On 02/09/2016 03:51 PM, Maciej W. Rozycki wrote: > On Tue, 9 Feb 2016, Daniel Wagner wrote: > >>> Can you try `make mrproper' (stash away your .config) and see if the >>> problem goes away? >> >> Indeed, 'make mrproper' did the trick. I am sorry for the noise. Until >> now I never had to use mrp

Re: [PATCH 2/5] drm/i915: fix error path in intel_setup_gmbus()

2016-02-10 Thread Jani Nikula
On Tue, 09 Feb 2016, Jani Nikula wrote: > On Tue, 09 Feb 2016, Rasmus Villemoes wrote: >> This fails to undo the setup for pin==0; moreover, something >> interesting happens if the setup failed already at pin==0. >> >> Signed-off-by: Rasmus Villemoes >> --- >> drivers/gpu/drm/i915/intel_i2c.c |

Re: [PATCH 1/4] powerpc/mm: Clean up error handling for htab_remove_mapping

2016-02-10 Thread Aneesh Kumar K.V
David Gibson writes: > Currently, the only error that htab_remove_mapping() can report is -EINVAL, > if removal of bolted HPTEs isn't implemeted for this platform. We make > a few clean ups to the handling of this: > > * EINVAL isn't really the right code - there's nothing wrong with the >f

Re: [PATCH V3 00/10] Introduce ACPI world to GICv3 & ITS irqchip

2016-02-10 Thread Tomasz Nowicki
On 19.01.2016 14:11, Tomasz Nowicki wrote: Patches base on Suravee's ACPI GICv2m support: https://lkml.org/lkml/2015/12/10/475 The following git branch contains submitted patches along with the useful patches from the test point of view (mainly ACPI ARM64 PCI support). https://github.com/semihal

Re: [PATCH 2/4] powerpc/mm: Handle removing maybe-present bolted HPTEs

2016-02-10 Thread Aneesh Kumar K.V
David Gibson writes: > At the moment the hpte_removebolted callback in ppc_md returns void and > will BUG_ON() if the hpte it's asked to remove doesn't exist in the first > place. This is awkward for the case of cleaning up a mapping which was > partially made before failing. > > So, we add a re

Re: [PATCH 3/4] powerpc/mm: Clean up memory hotplug failure paths

2016-02-10 Thread Aneesh Kumar K.V
David Gibson writes: > This makes a number of cleanups to handling of mapping failures during > memory hotplug on Power: > > For errors creating the linear mapping for the hot-added region: > * This is now reported with EFAULT which is more appropriate than the > previous EINVAL (the failur

Re: [PATCH 4/4] powerpc/mm: Split hash page table sizing heuristic into a helper

2016-02-10 Thread Aneesh Kumar K.V
David Gibson writes: > htab_get_table_size() either retrieve the size of the hash page table (HPT) > from the device tree - if the HPT size is determined by firmware - or > uses a heuristic to determine a good size based on RAM size if the kernel > is responsible for allocating the HPT. > > To su

Re: PROBLEM: Intel HDMI output busticated on 4.4 (regression)

2016-02-10 Thread Jani Nikula
On Tue, 09 Feb 2016, Nick Bowler wrote: > On 2/9/16, Ville Syrjälä wrote: >> BTW I'm not at all convinced about the current live status bit defines >> we have for g4x. Supposedly someone tested them and found that they >> don't match the spec, but IIRC when I tried them on one g4x machine >> here

Re: coccinelle: add style check for assignment in if

2016-02-10 Thread SF Markus Elfring
>> Can the check result display be more convenient from the semantic >> patch script interface in comparison to the other tool? > > -ENOPARSE. More detail please. Kris Borer suggested a SmPL script which can generate (only) patches so far by the usual application of the Coccinelle software. I as

Re: [PATCH] MIPS: pci-mt7620: Fix return value check in mt7620_pci_probe()

2016-02-10 Thread Ralf Baechle
On Sat, Feb 06, 2016 at 04:40:03PM +0100, John Crispin wrote: > On 06/02/2016 15:24, weiyj...@163.com wrote: > > From: Wei Yongjun > > > > 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 re

[PATCH v3] x86/mm: avoid premature success when changing page attributes

2016-02-10 Thread Jan Beulich
set_memory_nx() (and set_memory_x()) currently differ in behavior from all other set_memory_*() functions when encountering a virtual address space hole within the kernel address range: They stop processing at the hole, but nevertheless report success (making the caller believe the operation was ca

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

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 10:20 AM, Peter Hung wrote: > This driver is GPIOLIB driver for F81504/508/512, it'll handle the > GPIOLIB operation of this device. This module will depend on > MFD_FINTEK_F81504_CORE. > > IC function list: > F81504: Max 2x8 GPIOs and max 4 serial ports > port

[PATCH] regmap: irq: add devm apis for regmap_{add,del}_irq_chip

2016-02-10 Thread Laxman Dewangan
Add device managed APIs for regmap_add_irq_chip() and regmap_del_irq_chip() so that it can be managed by device framework for freeing it. This helps on following: 1. Maintaining the sequence of resource allocation and deallocation regmap_add_irq_chip(&d); devm_requested_threaded_ir

[PATCH v4 0/2] Differentiate between 32 and 64 bit ELF header

2016-02-10 Thread Daniel Wagner
Hi Maciej, I did test compile a few different configurations and with and without mrproper upfront. All looks fine now. Let's see what still goes wrong :) cheers, daniel Daniel Wagner (2): crash_dump: Add vmcore_elf32_check_arch mips: Differentiate between 32 and 64 bit ELF header arch/mip

[PATCH v2 1/3] arm64: add Alpine SoC family

2016-02-10 Thread Antoine Tenart
This patch introduces ARCH_ALPINE to add the support of the Alpine SoC family for the arm64 architecture. Signed-off-by: Antoine Tenart --- arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 210

[PATCH v4 2/2] mips: Differentiate between 32 and 64 bit ELF header

2016-02-10 Thread Daniel Wagner
Depending on the configuration either the 32 or 64 bit version of elf_check_arch() is defined. parse_crash_elf{32|64}_headers() does some basic verification of the ELF header via vmcore_elf{32|64}_check_arch() which happen to map to elf_check_arch(). Since the implementation 32 and 64 bit version o

[PATCH v4 1/2] crash_dump: Add vmcore_elf32_check_arch

2016-02-10 Thread Daniel Wagner
parse_crash_elf{32|64}_headers will check the headers via the elf_check_arch respectively vmcore_elf64_check_arch macro. The MIPS architecture implements those two macros differently. In order to make the differentiation more explicit, let's introduce an vmcore_elf32_check_arch to allow the archs

[PATCH v2 0/3] arm64: introduce the Alpine support

2016-02-10 Thread Antoine Tenart
Hi all, This series introduces the support for the arm64 Alpine family from Annapurna Labs, by adding a device tree for the Alpine v2 EVP. This board has 4 Cortex A57 and a few nodes in its device tree for now. You can find the series at: https://github.com/atenart/linux.git 4.5-rc1/alpinev2-brin

[PATCH v2 2/3] arm64: dts: add the Alpine v2 EVP

2016-02-10 Thread Antoine Tenart
This patch adds the initial support for the Alpine v2 EVP board from Annapurna Labs (Amazon). Signed-off-by: Antoine Tenart Signed-off-by: Barak Wasserstrom Signed-off-by: Tsahee Zidenberg --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/al/Makefile | 5 + a

[PATCH v2 3/3] arm64: defconfig: enable the Alpine family

2016-02-10 Thread Antoine Tenart
Enable the Alpine SoC family in the arm64 defconfig. Signed-off-by: Antoine Tenart --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 18ca9fb9e65f..10387947a164 100644 --- a/arch/arm64/configs/def

Re: [PATCH] arm64: Add workaround for Cavium erratum 27456

2016-02-10 Thread Will Deacon
On Tue, Feb 09, 2016 at 11:29:16AM -0800, David Daney wrote: > From: Andrew Pinski > > On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI > instructions may cause the icache to become invalid if it contains > data for a non-current ASID. > > This patch implements the workaround (which fl

Re: [PATCH] pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 5:22 AM, Masahiro Yamada wrote: > Hi Linus > > 2016-01-27 23:11 GMT+09:00 Linus Walleij : >> On Sat, Jan 23, 2016 at 4:33 PM, Masahiro Yamada >> wrote: >> >>> CONFIG_PINCTRL_MTK is more suitable than CONFIG_ARCH_MEDIATEK >>> to guard the drivers/pinctrl/mediatek/ directory

Re: [PATCH 1/7][RFC] regmap: add regmap_raw_update_bits() and merge all regmap_update_bits_xxx()

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 02:44:11AM +, Kuninori Morimoto wrote: > Current regmap has many similar update functions, but the difference is > very few. This patch adds new regmap_raw_update_bits() and merge all > update functions into it by macro. This is a bit hard to review due to the way the

Re: [PATCH 3/5] net/mlx4: fix some error handling in mlx4_multi_func_init()

2016-02-10 Thread Yishai Hadas
On 2/9/2016 10:11 PM, Rasmus Villemoes wrote: The while loop after err_slaves should use post-decrement; otherwise we'll fail to do the kfrees for i==0, and will run into out-of-bounds accesses if the setup above failed already at i==0. The predecrement in the --port is ok, since ->vlan_filter i

RE: [RFC PATCH v3 2/3] PCI: hisi: Add ECAM support to HiSilicon PCIe host controller

2016-02-10 Thread Gabriele Paoloni
Hi Mark, thanks for reviewing > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci- > ow...@vger.kernel.org] On Behalf Of Mark Rutland > Sent: 09 February 2016 18:17 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > qi

Re: [PATCH V3] i2c: i801: Adding Intel Lewisburg support for iTCO

2016-02-10 Thread Jean Delvare
Hi Alexandra, On Fri, 5 Feb 2016 15:22:44 -0800, Alexandra Yates wrote: > Changes log v2 to v3: Clarified commit message. No changes in code. > > Starting from Intel Sunrisepoint (Skylake PCH) the iTCO watchdog > resources have been moved to reside under the i801 SMBus host > controller whereas

Re: [PATCH] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Philipp Zabel
Am Dienstag, den 09.02.2016, 21:14 +0100 schrieb Bernhard Walle: > It's perfectly valid to use the LTC3589 without an interrupt pin > connected to it. Currently, the driver probing fails when client->irq > is 0 (which means "no interrupt"). Don't register the interrupt > handler in that case but su

[PATCH] Input: colibri-vf50-ts: fix implicit declaration

2016-02-10 Thread Sudip Mukherjee
The build of m32r allmodconfig fails with the error: drivers/input/touchscreen/colibri-vf50-ts.c:302:10: error: implicit declaration of function 'of_property_read_u32' of_property_read_u32() is defined in linux/of.h which was not included. Fixes: 1261d013daea ("Input: Allow compile test

Re: [PATCH v9 2/2] pcie-designware platform driver

2016-02-10 Thread Joao Pinto
Hi Bjorn, On 2/8/2016 11:28 PM, Bjorn Helgaas wrote: >> if (!pci_has_flag(PCI_PROBE_ONLY)) { >>^ >>drivers/pci/host/pcie-designware.c:581:20: note: each undeclared >> identifier is reported only once for each function it appears in >>cc1: some warnings being t

Re: [PATCH] i2c: i801: Intel DNV_N device IDs SMBus

2016-02-10 Thread Jean Delvare
Hi Alexandra, On Fri, 5 Feb 2016 16:00:53 -0800, Alexandra Yates wrote: > Adding Intel codename DNV_N platform device IDs for SMBus. > > Signed-off-by: Alexandra Yates > --- > drivers/i2c/busses/i2c-i801.c | 4 Please also update Documentation/i2c/busses/i2c-i801 and drivers/i2c/busses/Kc

Re: [PATCH V3 01/10] irqchip / GICv3: Refactor gic_of_init() for GICv3 driver

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > Isolate hardware abstraction (FDT) code to gic_of_init(). > Rest of the logic goes to gic_init_bases() and expects well > defined data to initialize GIC properly. The same solution > is used for GICv2 driver. > > This is needed for ACPI initialization lat

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
Hi Mark > -Original Message- > From: Mark Rutland [mailto:mark.rutl...@arm.com] > Sent: 09 February 2016 18:24 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > qiujiang; bhelg...@google.com; a...@arndb.de; > lorenzo.pieral...@arm.com; t...@sem

[PATCH v2] pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK

2016-02-10 Thread Masahiro Yamada
CONFIG_PINCTRL_MTK is more suitable than CONFIG_ARCH_MEDIATEK to guard the drivers/pinctrl/mediatek/ directory. (I renamed CONFIG_PINCTRL_MTK_COMMON to CONFIG_PINCTRL_MTK.) This allows COMPILE_TEST to descend into drivers/pinctrl/mediatek without CONFIG_ARCH_MEDIATEK define. Signed-off-by: Masahi

Re: [PATCH] Input: colibri-vf50-ts: fix implicit declaration

2016-02-10 Thread Geert Uytterhoeven
On Wed, Feb 10, 2016 at 10:45 AM, Sudip Mukherjee wrote: > The build of m32r allmodconfig fails with the error: > drivers/input/touchscreen/colibri-vf50-ts.c:302:10: error: implicit > declaration of function 'of_property_read_u32' > > of_property_read_u32() is defined in linux/of.h which w

[PATCH 03/17] perf/x86: Move perf_event_intel_cqm.c ..... => x86/events/intel/cqm.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH V3 02/10] irqchip / GICv3: Add ACPI support for GICv3+ initialization

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > With the refator of gic_of_init(), GICv3/4 can be initialized > by gic_init_bases() with gic distributor base address and gic > redistributor region(s). > > So get the redistributor region base addresses from MADT GIC > redistributor subtable, and the dis

Re: [PATCH] pinctrl: uniphier: add COMPILE_TEST option

2016-02-10 Thread Linus Walleij
On Sun, Jan 31, 2016 at 2:32 PM, Masahiro Yamada wrote: > Add COMPILE_TEST for the compilation test coverage. > > Signed-off-by: Masahiro Yamada Patch applied. Yours, Linus Walleij

Re: [PATCH] pinctrl: mediatek: guard sub-directory with CONFIG_PINCTRL_MTK

2016-02-10 Thread Masahiro Yamada
Hi Linus, 2016-02-10 18:29 GMT+09:00 Linus Walleij : > On Thu, Jan 28, 2016 at 5:22 AM, Masahiro Yamada > wrote: >> Hi Linus >> >> 2016-01-27 23:11 GMT+09:00 Linus Walleij : >>> On Sat, Jan 23, 2016 at 4:33 PM, Masahiro Yamada >>> wrote: >>> CONFIG_PINCTRL_MTK is more suitable than CONFIG_

[PATCH 05/17] perf/x86: Move perf_event_intel_ds.c ...... => x86/events/intel/ds.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 01/17] perf/x86: Move perf_event_intel_bts.c ..... => x86/events/intel/bts.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Start moving the Intel bits. Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Ludovic Desroches
By putting the device in suspend at the end of the probe, it is impossible to wake up on non software event such as card insertion/removal. Signed-off-by: Ludovic Desroches --- Hi, Since I had no feedback on this topic: http://permalink.gmane.org/gmane.linux.kernel.mmc/35160 I would like to no

[PATCH 15/17] perf/x86: Move perf_event_p6.c ............ => x86/events/intel/p6.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 14/17] perf/x86: Move perf_event_p4.c ............ => x86/events/intel/p4.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 16/17] perf/x86: Move perf_event_msr.c ........... => x86/events/msr.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 11/17] perf/x86: Move perf_event_intel_uncore_snb.c => x86/events/intel/uncore_snb.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH 1/2] gpio: davinci: Add the missing of-node pointer in the irq_domain_add_legacy function call

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 2:38 PM, Keerthy wrote: > Currently the first parameter of irq_domain_add_legacy is NULL. > irq_find_host function returns NULL when we do not populate the of_node > and hence irq_of_parse_and_map call fails whenever we want to request a > gpio irq. This fixes the request_

[PATCH 17/17] perf/x86: Move perf_event.h to its new home

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Now that all functionality has been moved to arch/x86/events/, move the perf_event.h header and adjust include paths. Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc

[PATCH 12/17] perf/x86: Move perf_event_intel_uncore_snbep.c => x86/events/intel/uncore_snbep.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 10/17] perf/x86: Move perf_event_intel_uncore_nhmex.c => x86/events/intel/uncore_nmhex.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 13/17] perf/x86: Move perf_event_knc.c ........... => x86/events/intel/knc.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH 2/2] gpio: davinci: Fix the number of controllers allocated

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 2:38 PM, Keerthy wrote: > From: Lokesh Vutla > > Driver only needs to allocate for [ngpio / 32] controllers, > as each controller handles 32 gpios. But the current driver > allocates for ngpio of which the extra allocated are unused. > Fix it be registering only the requi

[PATCH 09/17] perf/x86: Move perf_event_intel_uncore.[ch] => x86/events/intel/uncore.[ch]

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH] EDAC: Use edac_debugfs_remove_recursive() in edac_debugfs_exit()

2016-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 06:29:25PM -0600, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > debugfs_remove() is used to remove a file or a directory from the > debugfs filesystem on an EDAC device exit. However edac_debugfs > might not be empty. This is similar to another patch [1] tha

[PATCH] Coccinelle: Add api/setup_timer.cocci

2016-02-10 Thread Vaishali Thakkar
Use the timer API function setup_timer instead of structure field assignments to initialize a timer. Signed-off-by: Vaishali Thakkar --- scripts/coccinelle/api/setup_timer.cocci | 199 +++ 1 file changed, 199 insertions(+) create mode 100644 scripts/coccinelle/api/se

[PATCH 02/17] perf/x86: Move perf_event_intel.c ......... => x86/events/intel/core.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 06/17] perf/x86: Move perf_event_intel_lbr.c ..... => x86/events/intel/lbr.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

[PATCH 07/17] perf/x86: Move perf_event_intel_pt.[ch] ... => x86/events/intel/pt.[ch]

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH] Input: colibri-vf50-ts: fix implicit declaration

2016-02-10 Thread Sudip Mukherjee
On Wed, Feb 10, 2016 at 10:54:45AM +0100, Geert Uytterhoeven wrote: > On Wed, Feb 10, 2016 at 10:45 AM, Sudip Mukherjee > wrote: > > The build of m32r allmodconfig fails with the error: > > drivers/input/touchscreen/colibri-vf50-ts.c:302:10: error: implicit > > declaration of function 'of_

[PATCH 08/17] perf/x86: Move perf_event_intel_rapl.c .... => x86/events/intel/rapl.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH net] hv_netvsc: Restore needed_headroom request

2016-02-10 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Commit c0eb454034aa ("hv_netvsc: Don't ask for additional head room in the > skb") got rid of needed_headroom setting for the driver. With the change I > hit the following issue trying to use ptkgen module: > > [ 57.522021] kernel BUG at net/core/skbuff.c:1128! > [

Re: [PATCH] Coccinelle: Add api/setup_timer.cocci

2016-02-10 Thread Julia Lawall
Acked-by: Julia Lawall On Wed, 10 Feb 2016, Vaishali Thakkar wrote: > Use the timer API function setup_timer instead of structure field > assignments to initialize a timer. > > Signed-off-by: Vaishali Thakkar > --- > scripts/coccinelle/api/setup_timer.cocci | 199 > +++

[PATCH 00/17] perf: Sanitize perf directory structure, p2

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Hi, Here's the conversion of the Intel part of perf events. I better not wait all too long with this before people start touching those files and all kinds of application conflicts happen. Btw, one of the things that change with this move is pr_fmt(): -perf_event_intel: P

[PATCH 04/17] perf/x86: Move perf_event_intel_cstate.c .. => x86/events/intel/cstate.c

2016-02-10 Thread Borislav Petkov
From: Borislav Petkov Signed-off-by: Borislav Petkov Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Ingo Molnar Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver --- arch/x86/events/Makefile

Re: [PATCH 1/5] gpio: ath79: Move to the generic GPIO driver

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > Drop most of the code in favor of the generic MMIO GPIO driver. > As the driver now depend on CONFIG_GPIO_GENERIC also add a Kconfig > entry to make the driver optional. > > We leave the base pointer and lock in the data struct because they ar

Re: [PATCH 2/5] gpio: ath79: Allow building in compile tests

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > To allow building the driver in compile tests we must drop the > dependency on asm/mach-ath79/ar71xx_regs.h. For this we replace the > include with local definition of the registers needed for this driver. > > Signed-off-by: Alban Bedel Patc

Re: [PATCH 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
Hi Akinobu, Thanks for the comments! I will put the internal functions static and check your notify suggestion. Do you know who the maintainer of UFS is? Thanks, Joao On 2/9/2016 12:05 PM, Akinobu Mita wrote: > Hi Joao, > > 2016-02-09 4:07 GMT+09:00 Joao Pinto : >> diff --git a/drivers/scsi/uf

Re: [PATCH v2] scripts/sign-file.c: Add support for signing with a raw signature

2016-02-10 Thread David Howells
Juerg Haefliger wrote: > This patch adds support for signing a kernel module with a raw > detached PKCS#7 signature/message. > > The signature is not converted and is simply appended to the module so > it needs to be in the right format. Using openssl, a valid signature can > be generated like t

Re: [PATCH v4 1/4] modules: split part of complete_formation() into prepare_coming_module()

2016-02-10 Thread Miroslav Benes
On Mon, 8 Feb 2016, Jessica Yu wrote: > Put all actions that are performed after module->state is set to > MODULE_STATE_COMING in complete_formation() into a separate function > prepare_coming_module(). This prepares for the removal of ftrace and > livepatch module coming notifiers and instead the

Re: [PATCH 3/5] gpio: ath79: Make the driver removable

2016-02-10 Thread Linus Walleij
On Mon, Feb 8, 2016 at 4:04 AM, Alexandre Courbot wrote: > On Fri, Jan 29, 2016 at 4:44 AM, Alban Bedel wrote: >> As we now allow the driver to be built as a module it should be >> removable. >> >> Signed-off-by: Alban Bedel >> --- >> drivers/gpio/gpio-ath79.c | 10 ++ >> 1 file changed

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Mark Brown
On Tue, Feb 09, 2016 at 03:21:54PM -0700, Lina Iyer wrote: > On Tue, Feb 09 2016 at 06:13 -0700, Georgi Djakov wrote: Please delete unneeded context from mails when replying. Doing this makes it much easier to find your reply in the message, helping ensure it won't be missed by people scrolling t

Re: [PATCH 3/5] gpio: ath79: Make the driver removable

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > As we now allow the driver to be built as a module it should be > removable. > > Signed-off-by: Alban Bedel Patch applied. Yours, Linus Walleij

Re: [PATCH V3 03/10] irqchip,GICv3,ACPI: Add redistributor support via GICC structures.

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > Following ACPI spec: > On systems supporting GICv3 and above, GICR Base Address in MADT GICC > structure holds the 64-bit physical address of the associated Redistributor. > If all of the GIC Redistributors are in the always-on power domain, > GICR structu

[PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Srinivas Kandagatla
LPASS IP on QCOM SOC supports both Playback and capture via I2S, but this feature is missing in existing code. This patchset aims at adding capture support to lpass IP. First few patches in this series does cleanup the driver to make easy to add capture support. Most of these patches are acked by

[PATCH v1 02/14] ASoC: qcom: add wrdma register details to lpass_variant

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma related register offsets, wrdma channel start and shifts into lpass variant structure. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass.h | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/

[PATCH v1 01/14] ASoC: qcom: use snd_dma_alloc/free* apis

2016-02-10 Thread Srinivas Kandagatla
There is no point in having local allocation functions when the driver can use snd_dma_alloc/free() apis. This patch replaces the local versions of the dma allocation apis with the snd_dma_alloc/free() apis. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-platform.c | 42 ++--

[PATCH v1 04/14] ASoC: qcom: pass direction to dma allocation

2016-02-10 Thread Srinivas Kandagatla
This patch updates the internal dma allocation callbacks to take the stream direction so that it can allocate channels suitable for that stream direction. Before the capture support this was not necessary. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-a

[PATCH v1 06/14] ASoC: qcom: rename rdma_ch_bit_map to dma_ch_bit_map

2016-02-10 Thread Srinivas Kandagatla
rdma_ch_bit_map can be reused for wrdma channel allocations as wrdma channel numbering start after rdma channel numbers. With capture support referring rdma_ch_bit_map for wrdma channel allocation is confusing, so renaming rdma_ch_bit_map to dma_ch_bit_map makes sense. Signed-off-by: Srinivas Kand

[PATCH v1 05/14] ASoC: qcom: ipq806x: add error in dma allocation.

2016-02-10 Thread Srinivas Kandagatla
ipq806x is only ever tested for playback so return error in dma allocation if the stream direction is capture. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-ipq806x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/

[PATCH v1 03/14] ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start

2016-02-10 Thread Srinivas Kandagatla
This patch renames rdmactl_audif_start to dmactrl_audif_start as this is common for both rdma and wrdma. Without this patch the name would be bit misleading to the readers. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-apq8016.c | 2 +- sound/soc/qcom/lpass-platform.c | 2 +- soun

[PATCH v1 09/14] ASoC: qcom: add mic related i2s control register defines

2016-02-10 Thread Srinivas Kandagatla
This patch adds mic related bitmasks and offsets in the i2c control register. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-lpaif-reg.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/sound/soc/qcom/lpass-lpaif-reg.h b/sound/soc/qcom/lpass-lpaif-reg.h in

[PATCH v1 11/14] ASoC: qcom: add generic bit masks for RDMA and WRDMA

2016-02-10 Thread Srinivas Kandagatla
This patch adds generic masks for accessing bits in rdma/wrdma registers. Doing this would simplify the driver and adding capture support would be much simpler. Also there is no point in having same bit masks for bits in both rdma and wrdma registers. This patch also deletes the RDMA specific bit

[PATCH v1 12/14] ASoC: qcom: apq8016: set the correct max register for regmap

2016-02-10 Thread Srinivas Kandagatla
Now that we are ready to access wrdma registers, set the max register and other regmap related configs to use correct values. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-cpu.c | 33 +++-- 1 file changed, 31 insertions(+), 2

[PATCH v1 13/14] ASoC: qcom: add mic support

2016-02-10 Thread Srinivas Kandagatla
This patch adds mic support to the lpass driver, most of the driver is reused as it is, only the register level access is changed depending on te direction of the stream. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-cpu.c | 113 +++

Re: [PATCH] adv7511: Added mode_fixup function.

2016-02-10 Thread Carlos Palminha
Hi guys, I agree that this should be fixed in the helper library. There are already a lot of drivers that copy/paste code and several helper functions that do not avoid it. I will start sending some patches to fix this type of issue in several places of DRM helper functions. Regards, C.Palminh

[PATCH v1 07/14] ASoC: qcom: ipq806x: add wrdma related register offsets

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma related register offsets to the lpass variant data of ipq806x. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-ipq806x.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ip

[PATCH v1 14/14] ASoC: qcom: apq8016-sbc: add mic support

2016-02-10 Thread Srinivas Kandagatla
This patch add mic support on apq8016-sbc board aka db410c. Tested it with headset mic. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/apq8016_sbc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sound/soc/qcom/apq8016_sbc.c b/s

Re: [PATCH v4 2/4] modules: set mod->state to MODULE_STATE_GOING before going notifiers are called

2016-02-10 Thread Miroslav Benes
On Mon, 8 Feb 2016, Jessica Yu wrote: > In load_module(), the going notifiers are called during error handling when > an error occurs after the coming notifiers have already been called. > However, a module's state is still MODULE_STATE_COMING when the going > notifiers are called in the error pat

[PATCH v1 10/14] ASoC: qcom: add wrdma register definitions

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma registers into the lpaif-reg.h. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-lpaif-reg.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/qcom/lpass-lpaif-reg.h b/sound/soc/qcom/lpass-lpaif-reg.h index 65

powerpc/86xx: Use config fragments approach

2016-02-10 Thread Alessio Igor Bogani
Signed-off-by: Alessio Igor Bogani --- arch/powerpc/Makefile| 10 + arch/powerpc/configs/86xx-32bit.config | 4 + arch/powerpc/configs/86xx-hw.config | 106 + arch/powerpc/configs/86xx-smp.config | 2 + arch/powerpc/confi

  1   2   3   4   5   6   7   8   9   >