Re: [STLinux Kernel] [PATCH v5 5/7] MAINTAINERS: Add ST's Remote Processor Driver to ARM/STI ARCHITECTURE

2016-03-19 Thread Peter Griffin
On Tue, 12 Jan 2016, Lee Jones wrote: > Signed-off-by: Lee Jones > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) Acked-by: Peter Griffin

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-19 Thread James Bottomley
On Wed, 2016-03-16 at 23:15 +, KY Srinivasan wrote: > > > -Original Message- > > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com > > ] > > Sent: Wednesday, March 16, 2016 4:08 PM > > To: Martin K. Petersen ; KY Srinivasan > > > > Cc: Christoph Hellwig ; > > gre...

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Peter Zijlstra
On Fri, Mar 18, 2016 at 05:11:54AM +0100, Mike Galbraith wrote: > On Thu, 2016-03-17 at 10:52 +0100, Peter Zijlstra wrote: > > > Andreas; Borislav said to Cc you since you wrote all this. > > The issue is that Linux assumes: > > > > > nr_logical_cpus = nr_cores * nr_siblings > > It also seem

Re: [PATCH 04/04] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-03-19 Thread Robin Murphy
On 15/03/16 17:05, Magnus Damm wrote: From: Magnus Damm Introduce a new set of iommu_ops suitable for 64-bit ARM as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. The ->of_xlate() callback is needed by the code exported by of_iommu.h and it is wrapped in #ifdefs to also compile of x86_64. Signed-

[PATCH v7] acpi, apei, arm64: APEI initial support for aarch64.

2016-03-19 Thread fu . wei
From: Tomasz Nowicki This commit provides APEI arch-specific bits for aarch64 Meanwhile, (1)add a new subfunction "hest_ia32_init" for "acpi_disable_cmcff" which is used by IA-32 Architecture Corrected Machine Check (CMC). (2)move HEST type (ACPI_HEST_TYPE_IA32_CORRECTED_CHECK) checking to a gen

[PATCH 2/2] xen/x86: Call cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead()

2016-03-19 Thread Boris Ostrovsky
This call has always been missing from xen_play dead() but until recently this was rather benign. With new cpu hotplug framework however this call is required, otherwise a hot-plugged CPU will not be properly brough up (by never calling cpuhp_online_idle()) Signed-off-by: Boris Ostrovsky --- arc

Re: [PATCH] ACPI / property: Export a couple of symbols.

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 9:09 AM, Mika Westerberg wrote: > On Wed, Mar 16, 2016 at 05:23:19PM -0700, David Daney wrote: >> From: David Daney >> >> The acpi_dev_prop_read() and acpi_dev_prop_read_single() can be called >> by drivers. Add EXPORT_SYMBOL_GPL to them to allow use by modular >> drivers

[PATCH v6 6/6] platform/chrome: Register USB PD charger device

2016-03-19 Thread Tomeu Vizoso
Check if a EC has andy PD ports and register a USB PD charger device if so. Signed-off-by: Tomeu Vizoso --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - Only register the PD charger device if there are any PD ports in this EC. - Dropped patch using EC_CMD_GET_FE

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Jarkko Sakkinen
On Wed, Mar 16, 2016 at 11:49:04AM -0600, Jason Gunthorpe wrote: > On Wed, Mar 16, 2016 at 02:09:16PM +0200, Jarkko Sakkinen wrote: > > On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > > > Alternative to this would be to have /dev/vtpmx create: > > > > * /dev/vtpm0 for the server

Re: [PATCH v6 1/4] i2c: add a protocol parameter to the alert callback

2016-03-19 Thread Guenter Roeck
On Wed, Mar 16, 2016 at 05:39:05PM +0100, Benjamin Tissoires wrote: > .alert() is meant to be generic, but there is currently no way > for the device driver to know which protocol generated the alert. > Add a parameter in .alert() to help the device driver to understand > what is given in data. >

Re: [rtc-linux] Re: [PATCH v3] rtc: s3c: Don't print an error on probe deferral

2016-03-19 Thread Krzysztof Kozlowski
On Fri, Mar 18, 2016 at 9:07 PM, Alexandre Belloni wrote: > On 18/03/2016 at 08:57:57 -0300, Javier Martinez Canillas wrote : >> >>> But yes, we can at least get rid of the else statement. I don't have a >> >>> strong opinion about the debug information, I left it to avoid someone >> >>> to tell m

Re: [PATCH 1/5] x86/kvm: On KVM re-enable (e.g. after suspend), update clocks

2016-03-19 Thread Radim Krcmar
2016-03-17 11:22-0700, Andy Lutomirski: > On Mar 17, 2016 8:10 AM, "Radim Krcmar" wrote: >> 2016-03-16 16:07-0700, Andy Lutomirski: >>> On Wed, Mar 16, 2016 at 3:59 PM, Radim Krcmar wrote: 2016-03-16 15:15-0700, Andy Lutomirski: > FWIW, if you ever intend to support ART ("always running

Re: [PATCH v2] cgroup: avoid false positive gcc-6 warning

2016-03-19 Thread Tejun Heo
On Tue, Mar 15, 2016 at 12:21:06AM +0100, Arnd Bergmann wrote: > When all subsystems are disabled, gcc notices that cgroup_subsys_enabled_key > is a zero-length array and that any access to it must be out of bounds: > > In file included from ../include/linux/cgroup.h:19:0, > from

[PATCH 2/2] iommu/arm-smmu: Make use of phandle iterators in device-tree parsing

2016-03-19 Thread Joerg Roedel
From: Joerg Roedel Remove the usage of of_parse_phandle_with_args() and replace it by the phandle-iterator implementation to be able to parse out all of the potentially present 128 stream-ids. Signed-off-by: Joerg Roedel --- drivers/iommu/arm-smmu.c | 27 +-- 1 file cha

Re: [PATCH] regulator: Don't print error in devm_regulator_bulk_get() on -EPROBE_DEFER

2016-03-19 Thread Mark Brown
On Wed, Mar 16, 2016 at 08:19:42AM -0300, Javier Martinez Canillas wrote: > On 03/16/2016 06:59 AM, Mark Brown wrote: > > On Tue, Mar 15, 2016 at 05:35:14PM -0300, Javier Martinez Canillas wrote: > > We've been through this repeatedly - this is the case for all probe > > deferrals and if we just d

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-19 Thread Alexey Kardashevskiy
On 03/16/2016 08:45 PM, Or Gerlitz wrote: On Wed, Mar 16, 2016 at 10:34 AM, Alexey Kardashevskiy wrote: Oh. ok. It also looks like even with the reverted patch, mlx4 VF does not work in a guest: So where is the breakage point for you? does 4.4 works? if not, what? Ah, my bad. It is unrelat

[PATCH] thermal/powerclamp: remove cpu whitelist

2016-03-19 Thread Jacob Pan
Powerclamp works by aligning idle time to achieve package level idle states, aka cstates. As long as one of the package cstates is available, synchronized idle injection is meaningful. This patch replaces the CPU whitelist with CPU feature and package cstate counter check such that we don't have t

Re: + zram-export-the-number-of-available-comp-streams.patch added to -mm tree

2016-03-19 Thread Sergey Senozhatsky
On (01/26/16 13:13), a...@linux-foundation.org wrote: > -- > From: Sergey Senozhatsky > Subject: zram: export the number of available comp streams > > I've been asked several very simple questions: > a) How can I ensure that zram uses (or used)

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-19 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 10:50 AM, Ric Wheeler wrote: >> >> That argues against worrying about this all in the kernel unless there >> are other users. > > Just a note, when Greg says "user space solution", Ceph is looking at > writing directly to raw block devices which is kind of a through back to

Re: [RESEND RFC 3/3] nvmem: Add 'nvmem-composite' driver

2016-03-19 Thread Srinivas Kandagatla
On 02/03/16 18:33, Andrey Smirnov wrote: On Wed, Mar 2, 2016 at 5:59 AM, Srinivas Kandagatla wrote: On 01/03/16 16:59, Andrey Smirnov wrote: Add 'nvmem-composite' driver which allows to combine multiple chunks of various NVMEM cells into a single continuous NVMEM device. My plan on this

[PATCH v2 8/9] drm: atmel-hlcdc: check display mode validity in crtc->mode_fixup()

2016-03-19 Thread Boris Brezillon
Move the adjusted display mode check into ->mode_fixup(). Signed-off-by: Boris Brezillon Acked-by: Nicolas Ferre Tested-by: Nicolas Ferre --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/atmel-hlcd

[PATCH] perf bench numa: Fix assertion for nodes bitfield

2016-03-19 Thread Jakub Jelen
Comparing bits and bytes in numa benchmark assertion I hit the issue on two socket Power8 machine presenting its numa nodes as 0,1,16,17 (according to numactl). Therefore I got error (and hang of parent process): perf: bench/numa.c:296: bind_to_memnode: Assertion `!(g->p.nr_nodes > (int)si

cgroup pids controller kills systemd service?

2016-03-19 Thread Han Pingtian
Hi, I noticed that if a systemd service forks children fiercely, then the whole service will be terminated, perhaps by the kernel. Is this designed? I have this reproducer: $ cat reproducer/reproducer.service [Unit] Description=Reproducer of bz 136929 After=multi-user.target [Service] ExecStart

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-19 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 7:32 AM, Johannes Schindelin wrote: > > On Fri, 18 Mar 2016, Linus Torvalds wrote: > >> I thought git didn't merge two branches that have no common base by >> default, but it seems it will happily do so. > > What happened to "The coolest merge EVER!"? > > http://thr

Re: kallsyms failure: relative symbol value 0xffffffff810002a0 out of range in relative mode

2016-03-19 Thread Ard Biesheuvel
On 17 March 2016 at 12:17, Ard Biesheuvel wrote: > On 17 March 2016 at 12:01, Ard Biesheuvel wrote: >> On 17 March 2016 at 08:14, Markus Trippelsdorf >> wrote: >>> On 2016.03.17 at 08:03 +0100, Ard Biesheuvel wrote: On 16 March 2016 at 22:25, Markus Trippelsdorf wrote: > Since:

Re: [PART1 RFC v3 07/12] svm: Add interrupt injection via AVIC

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > This patch introduces a new mechanism to inject interrupt using AVIC. > Since VINTR is not supported when enable AVIC, we need to inject > interrupt via APIC backing page instead. > > This patch also adds support for AVIC doorbell, which is use

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Jens Axboe
On 03/17/2016 05:01 AM, Thomas Gleixner wrote: On Thu, 17 Mar 2016, Peter Zijlstra wrote: On Thu, Mar 17, 2016 at 12:39:46PM +0100, Thomas Gleixner wrote: But we have to clarify and document whether holes in cpu_possible_mask are not allowed at all or if code like the above is simply broken.

Re: Page migration issue with UBIFS

2016-03-19 Thread Joonsoo Kim
On Wed, Mar 16, 2016 at 09:47:20PM +0100, Richard Weinberger wrote: > Adding more CC's. > > Am 16.03.2016 um 15:27 schrieb Kirill A. Shutemov: > > On Wed, Mar 16, 2016 at 05:21:56PM +0300, Kirill A. Shutemov wrote: > >> On Wed, Mar 16, 2016 at 12:18:50AM +0100, Richard Weinberger wrote: > >>> Am 1

[PATCH v3 09/15] dmaengine: dw: define counter variables as unsigned int

2016-03-19 Thread Andy Shevchenko
The code is fixed to satisfy a compiler otherwise we have drivers/dma/dw/core.c: In function ‘dwc_handle_cyclic’: drivers/dma/dw/core.c:568: warning: comparison between signed and unsigned drivers/dma/dw/core.c: In function ‘dw_dma_tasklet’: drivers/dma/dw/core.c:590: warning: comparison between s

Re: [PATCH 2/2] gpio: xgene-sb: Use irq_domain_free_irqs_common instead of open coded

2016-03-19 Thread Marc Zyngier
On 17/03/16 04:01, Axel Lin wrote: > Current code calls irq_domain_alloc_irqs_parent() in .alloc, > so it should call irq_domain_free_irqs_parent() accordingly in .free. > Fix it by switching to use irq_domain_free_irqs_common() instead. > > Signed-off-by: Axel Lin > --- > drivers/gpio/gpio-xgen

Re: [PATCH v3 0/9] arc_emac: fixes the emac issues and cleanup emac drivers

2016-03-19 Thread David Miller
Series applied, thanks.

Re: [PATCH 2/3] swiotlb: prefix dma_to_phys and phys_to_dma functions

2016-03-19 Thread Robin Murphy
On 17/03/16 22:02, Sinan Kaya wrote: Prefixing dma_to_phys and phys_to_dma API with swiotlb so that they are no longer part of the DMA API. These APIs do not exist on all architectures and breaks compatibility. In preparation for the clean up, also make the ARCH implementation known by defining

Re: [PART1 RFC v3 04/12] KVM: split kvm_vcpu_wake_up from kvm_vcpu_kick

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > From: Radim Krčmář > > AVIC has a use for kvm_vcpu_wake_up. > > Signed-off-by: Radim Krčmář > Tested-by: Suravee Suthikulpanit > --- > include/linux/kvm_host.h | 1 + > virt/kvm/kvm_main.c | 19 +-- > 2 files changed,

[PATCH V3 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-03-19 Thread Nishanth Menon
Message Manager is a hardware block used to communicate with various processor systems within certain Texas Instrument's Keystone generation SoCs. This hardware engine is used to transfer messages from various compute entities(or processors) within the SoC. It is designed to be self contained with

[PATCH] usb/core: usb_alloc_dev(): fix setting of ->portnum

2016-03-19 Thread Nicolai Stange
With commit 69bec7259853 ("USB: core: let USB device know device node"), the port1 argument of usb_alloc_dev() gets overwritten as follows: ... usb_alloc_dev(..., unsigned port1) { ... if (!parent->parent) { port1 = usb_hcd_find_raw_port_number(..., port1); } ... } Lat

[PATCH v6 3/5] x86, acpi, cpu-hotplug: Introduce cpuid_to_apicid[] array to store persistent cpuid <-> apicid mapping.

2016-03-19 Thread Zhu Guihua
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic registeration flow to handle

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-19 Thread Laxman Dewangan
On Friday 18 March 2016 11:37 AM, Linus Torvalds wrote: On Thu, Mar 17, 2016 at 1:59 AM, Linus Walleij wrote: NOTE: tree was a bit dirty and I realized it too late: Laxmans devm_gpiochip_add() branch was based on my for-next branch rather than my devel branch, making some commits appear twice

Re: [PATCH] drm/amd/powerplay: fix memory leak of tdp_table

2016-03-19 Thread Alex Deucher
On Fri, Mar 18, 2016 at 12:47 PM, Colin King wrote: > From: Colin Ian King > > tdp_table is being leaked on failed allocations of > hwmgr->dyn_state.cac_dtp_table. kfree tdp_table on the error > return path to fix the leak. > > Signed-off-by: Colin Ian King Applied, thanks! Alex > --- > dr

Re: [PATCH v2] efi: Introduce EFI bootloader control driver

2016-03-19 Thread kbuild test robot
Hi Matt, [auto build test WARNING on efi/next] [also build test WARNING on v4.5 next-20160318] [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/Daniel-Baluta/efi-Introduce-EFI-bootloader-control

Re: [RFT PATCH 2/2] Revert "usb: dwc2: Fix probe problem on bcm2835"

2016-03-19 Thread Stefan Wahren
Hi, > Martin Sperl hat am 19. März 2016 um 11:10 > geschrieben: > > > > On 19.03.2016, at 10:52, Stefan Wahren wrote: > > > > Hi, > > > >> Martin Sperl hat am 19. März 2016 um 08:44 > >> geschrieben: > >> > >> > >> > >>> On 19.03.2016, at 03:17, Eric Anholt wrote: > >>> > >>> Stefan Wahren wr

Re: [PATCH] sound/usb: fix to release stream resources from media_snd_device_delete()

2016-03-19 Thread Mauro Carvalho Chehab
Em Fri, 18 Mar 2016 20:50:31 -0600 Shuah Khan escreveu: > Fix to release stream resources from media_snd_device_delete() before > media device is unregistered. Without this change, stream resource free > is attempted after the media device is unregistered which would result > in use-after-free er

[PATCH] sound: usb: add Microsoft HD-5001 to quirks

2016-03-19 Thread Victor Clément
The Microsoft HD-5001 webcam microphone does not support sample rate reading as the HD-5000 one. This results in dmesg errors and sound hanging with pulseaudio. Signed-off-by: Victor Clément --- sound/usb/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/usb/quirks.c b/sound/usb

Re: [PATCH] clocksource/arm_global_timer.c: Reduce the rating from 300 to 150

2016-03-19 Thread Afzal Mohammed
Hi, On Fri, Mar 18, 2016 at 08:12:11AM +0100, Mike Looijmans wrote: > On 17-03-16 18:06, Grygorii Strashko wrote: > >On 03/17/2016 09:15 AM, Mike Looijmans wrote: > >>The arm_global_timer clock runs on the CPU clock, and does not correct > >>for cpufreq scaling. This makes the clock not very sui

Re: [PATCH] staging: r8723au: This patch tries to fix some byte order issues that is found by sparse check.

2016-03-19 Thread Jes Sorensen
Jandy Gou writes: > make C=1 M=drivers/staging/rtl8723au/ > > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:96:38: warning: cast to > restricted __le16 > drivers/staging/rtl8723au/hal/rtl8723a_cmd.c:100:27: warning: cast to > restricted __le32 > > Signed-off-by: Jandy Gou > --- > drivers/staging/

Re: [PATCH] HID: wiimote: Fix wiimote mp scale linearization

2016-03-19 Thread Jiri Kosina
On Thu, 17 Mar 2016, David Herrmann wrote: > > @@ -2070,15 +2072,15 @@ static void wiimod_mp_in_mp(struct wiimote_data > > *wdata, const __u8 *ext) > > z -= 8192; > > > > if (!(ext[3] & 0x02)) > > - x *= 18; > > + x = (x * 2000 * 9) / 440; > > e

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Paul E. McKenney
On Fri, Mar 18, 2016 at 12:11:28AM +0100, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 03:55:57PM -0700, Paul E. McKenney wrote: > > The RCU stall-warn stack traces can be ugly, agreed. > > Ugly isn't the problem, completely random bollocks that puts you on the > wrong path was more the problem

Re: [RESEND PATCH v2] ARM64: ACPI: Update documentation for latest specification version

2016-03-19 Thread Catalin Marinas
On Wed, Mar 16, 2016 at 10:20:23AM +0530, Vikas Sajjan wrote: > On Wed, Mar 16, 2016 at 1:58 AM, Al Stone wrote: > > The ACPI 6.1 specification was recently released at the end of January 2016, > > but the arm64 kernel documentation for the use of ACPI was written for the > > 5.1 version of the sp

Re: [PATCH 1/3] aacraid: add missing curly braces

2016-03-19 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Raghava, Please review. Arnd> gcc-6 warns about obviously wrong indentation for newly added code Arnd> in aac_slave_configure(): https://patchwork.kernel.org/patch/8579681/ -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] spi: sun4i: add DMA support

2016-03-19 Thread Michal Suchanek
On 17 March 2016 at 08:27, Maxime Ripard wrote: > On Thu, Mar 10, 2016 at 10:01:04AM +0100, Michal Suchanek wrote: >> Hello, >> >> On 6 March 2016 at 22:42, Maxime Ripard >> wrote: >> > On Fri, Feb 26, 2016 at 01:51:51PM +0100, Michal Suchanek wrote: >> >> >> Besides this non-technical objection

Re: [PATCH] staging: unisys: visornic: Made comments look nicer

2016-03-19 Thread Greg KH
On Wed, Mar 16, 2016 at 08:00:45PM -0700, Gavin O'Leary wrote: > Made comments not break coding style guidlines and easier to read. > > Signed-off-by: Gavin O'Leary > --- > drivers/staging/unisys/visornic/visornic_main.c | 29 > +++-- > 1 file changed, 17 insertions(+), 12 d

Re: [PATCH 3/5] rtc: rtc-jz4740: Add support for devicetree

2016-03-19 Thread Alexandre Belloni
On 05/03/2016 at 23:38:49 +0100, Paul Cercueil wrote : > Signed-off-by: Paul Cercueil > --- > drivers/rtc/rtc-jz4740.c | 16 +++- > 1 file changed, 15 insertions(+), 1 deletion(-) > > diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c > index 47617bd..3914b1c 100644 > -

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-19 Thread Alexander Graf
On 18.03.16 16:49, Yury Norov wrote: > On Fri, Mar 18, 2016 at 06:28:29PM +0800, Zhangjian (Bamvor) wrote: >> >> For the glibc part, I found that there are 11 patches of ilp32 in top, >> but the original 28 patches of ilp32 is not in the top, there are more >> than 900 patches between them(refere

Re: [PATCH 4/5] pwm: pwm-tipwmss: Update documentation to use empty range property

2016-03-19 Thread Rob Herring
On Mon, Mar 07, 2016 at 01:51:57PM -0600, Franklin S Cooper Jr wrote: > Since the PWMSS and its subdevices (eCAP and ePWM) use the same address > space then the range property should be empty. Update the documentation > to show the correct usage. Why does it matter? An empty ranges is generally no

[PATCH 2/5] Documentation: update URL for Michael K. Johnson's articles

2016-03-19 Thread Luis de Bethencourt
The URL for "Writing Linux Device Drivers" hasn't been available in some time. Updating it to the URL of Michael K. Johnson's "Linux Kernel Hackers' Guide" Signed-off-by: Luis de Bethencourt --- Documentation/kernel-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc

[PATCH 4/5] Documentation: update URLs for Richard Gooch's articles

2016-03-19 Thread Luis de Bethencourt
Current URL for "Kernel API changes from 2.0 to 2.2" hasn't been available for some time, updating. The second article about changes from 2.2 to 2.4 is missing a URL, adding it. Signed-off-by: Luis de Bethencourt --- Documentation/kernel-docs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

Re: [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support

2016-03-19 Thread Wenwei Tao
Hi Javier Thanks for the comment. I've been busy recently, so this letter is kind of late, hope you don't mind. I use the qemu-nvme you mentioned and configure the nvme device driver follow the example, it turns out the nvme device is 1 lun, I don't know how to configure multiple lun, so I just mo

[PATCH 3/5] Documentation: update URL of Analysis of the Ext2fs structure

2016-03-19 Thread Luis de Bethencourt
The current URL has been down for some time, updating it to a working one. Signed-off-by: Luis de Bethencourt --- Documentation/kernel-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kernel-docs.txt b/Documentation/kernel-docs.txt index 9a1b0d3..488bda7

[PATCH 1/5] Documentation: add Linux Kernel Development book

2016-03-19 Thread Luis de Bethencourt
The Linux Kernel Development book by Robert Love has been recommended to me by multiple kernel hackers. Worth having in the list of books in kernel-docs.txt for newbies looking for good learning resources. Signed-off-by: Luis de Bethencourt --- Hi, I really enjoyed this book and I think it deser

[PATCH 5/5] Documentation: update URL for Porting Linux 2.0 Drivers to 2.2

2016-03-19 Thread Luis de Bethencourt
The URL format of Linux Magazine articles has changed. Updating the URL of the "Porting Linux 2.0 Drivers to Linux 2.2" article by Alan Cox. Signed-off-by: Luis de Bethencourt --- Documentation/kernel-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kern

KЛИЕHТCKИЕ БАЗЬI! Тeл: +791З9З9З5Oб

2016-03-19 Thread linux-kernel@vger.kernel.org
КЛИЕHТСКИЕ БAЗЬI! Тел: +791З9З9З5oб

Re: [PATCH 2/5] Documentation: update URL for Michael K. Johnson's articles

2016-03-19 Thread Luis de Bethencourt
On 19/03/16 12:51, Luis de Bethencourt wrote: > The URL for "Writing Linux Device Drivers" hasn't been available in some > time. Updating it to the URL of Michael K. Johnson's "Linux Kernel Hackers' > Guide" > > Signed-off-by: Luis de Bethencourt > --- > Documentation/kernel-docs.txt | 2 +- > 1

Re: [PATCH 1/2] spi: sun4i: add DMA support

2016-03-19 Thread Michal Suchanek
On 17 March 2016 at 12:43, Mark Brown wrote: > On Thu, Mar 17, 2016 at 11:58:05AM +0100, Michal Suchanek wrote: >> On 17 March 2016 at 08:27, Maxime Ripard > >> > You're mixing two things up: the fact that we can't do more than the >> > FIFO length in PIO and that we're missing DMA support. We hav

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Sebastian Reichel
Hi, On Fri, Mar 18, 2016 at 03:45:26PM +0200, Ivaylo Dimitrov wrote: > On 18.03.2016 15:36, Sebastian Reichel wrote: > > >Have you tried the ideas from <20160317004917.GA6750@earth> (Date: > >Thu, 17 Mar 2016 01:49:18 +0100)? > > > > To the extend I understood them :) > > Regulator is V28_A, wh

Re: [Xen-devel] [Patch V4 0/3] xen, usb: support pvUSB frontend driver

2016-03-19 Thread Juergen Gross
Hi Oleksandr, On 17/03/16 20:43, Oleksandr Tyshchenko wrote: > Hi Juergen, All. > > I would like to apply PVUSB drivers for using in our platform while > PVUSB stuff doesn't reach upstream. > > Unfortunately, I couldn't find more recent version of "kernel based" > backend driver in mailing list.

Re: [PATCH 2/4] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-19 Thread Rob Herring
On Thu, Mar 3, 2016 at 7:58 AM, Alexey Brodkin wrote: > Hi Rob, > > On Tue, 2016-02-23 at 14:38 -0600, Rob Herring wrote: >> On Fri, Feb 19, 2016 at 04:03:52PM +0300, Alexey Brodkin wrote: >> > >> > This add DT bindings documentation for ARC PGU display controller. >> > >> > Signed-off-by: Alexey

[PATCH v6 1/6] mfd: cros_ec: Add MKBP event support

2016-03-19 Thread Tomeu Vizoso
From: Vic Yang Newer revisions of the ChromeOS EC add more events besides the keyboard ones. So handle interrupts in the MFD driver and let consumers register for notifications for the events they might care. To keep backward compatibility, if the EC doesn't support MKBP event, we fall back to t

[PATCH v5 2/2] btmrvl: add platform specific wakeup interrupt support

2016-03-19 Thread Amitkumar Karwar
From: Xinming Hu On some arm-based platforms, we need to configure platform specific parameters by device tree node and we need define our node as a child node of parent SDIO host controller. This patch parses these parameters from device tree. It includes calibration data download to firmware, w

Re: [PATCH v4] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-19 Thread Linda Knippers
On 3/17/2016 5:12 PM, Srinivas Pandruvada wrote: > This needs to be done > before SMM code path looks for _OSC capabilities. The bit 12 of > _OSC in processor scope defines whether OS will handle thermal > interrupts. > When bit 12 is set to 1, OS will handle thermal interrup

Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

2016-03-19 Thread Ruslan Bilovol
Hi Pavel On Thu, Mar 17, 2016 at 11:26 PM, Pavel Machek wrote: > Hi! > > USB gadget stops working for me on n900, if I merge Could you please give us more details? Which gadget driver do you use (g_nokia?) > > usb: gadget: bind UDC by name passed via usb_gadget_driver structure > > patch. > > c

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-19 Thread Borislav Petkov
On Fri, Mar 18, 2016 at 12:11:01PM +0100, Joerg Roedel wrote: > On Fri, Mar 18, 2016 at 11:39:18AM +0100, Borislav Petkov wrote: > > Yeah, so arch/x86/include/asm/ has all the x86-specific stuff which is > > not exported to userspace, so moving stuff there makes sense to me. > > While the AMD IOMM

Re: kallsyms failure: relative symbol value 0xffffffff810002a0 out of range in relative mode

2016-03-19 Thread Ard Biesheuvel
On 17 March 2016 at 12:01, Ard Biesheuvel wrote: > On 17 March 2016 at 08:14, Markus Trippelsdorf wrote: >> On 2016.03.17 at 08:03 +0100, Ard Biesheuvel wrote: >>> On 16 March 2016 at 22:25, Markus Trippelsdorf >>> wrote: >>> > Since: >>> > commit 2213e9a66bb87d8344a1256b4ef568220d9587fb >>> >

[PATCH 5/8] dmaengine: bcm2835: move controlblock chain generation into separate method

2016-03-19 Thread Eric Anholt
From: Martin Sperl In preparation of adding slave_sg functionality this patch moves the generation/allocation of bcm2835_desc and the building of the corresponding DMA-control-block chain from bcm2835_dma_prep_dma_cyclic into the newly created method bcm2835_dma_create_cb_chain. Signed-off-by: M

[GIT PULL] USB driver patches for 4.6-rc1

2016-03-19 Thread Greg KH
The following changes since commit fc77dbd34c5c99bce46d40a2491937c3bcbd10af: Linux 4.5-rc6 (2016-02-28 08:41:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.6-rc1 for you to fetch changes up to ce53bfc4374cada8b64576

Re: [PATCH v6 1/4] i2c: add a protocol parameter to the alert callback

2016-03-19 Thread Andrew Duggan
On Wed, Mar 16, 2016 at 9:39 AM, Benjamin Tissoires wrote: > .alert() is meant to be generic, but there is currently no way > for the device driver to know which protocol generated the alert. > Add a parameter in .alert() to help the device driver to understand > what is given in data. > > This pa

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-19 Thread Linus Walleij
On Fri, Mar 18, 2016 at 7:07 AM, Linus Torvalds wrote: > On Thu, Mar 17, 2016 at 1:59 AM, Linus Walleij > wrote: >> >> The end result should be clean but the history is a bit messy. > > Gaah. I took the tree, but I didn't realize just *how* messy it was. I > doubt you did either. Certainly not.

[PATCH v2 04/11] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread David Lechner
Up to this point, the USB phy clock configuration was handled manually in the board files and in the usb drivers. This adds proper clocks so that the usb drivers can use clk_get and clk_enable and not have to worry about the details. Also, the related code is removed from the board files. Signed-o

[RFC v3 0/3] Mediatek MT8173 CMDQ support

2016-03-19 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 03:55:57PM -0700, Paul E. McKenney wrote: > That said, RCU used to use NMI-based stack traces, but switched to the > current scheme due to the NMIs having the unfortunate habit of locking > things up, which IIRC often meant no stack traces at all. If I recall > correctly, o

Re: [PATCH v2] ARM: DMA: Fix kzalloc flags in __dma_alloc

2016-03-19 Thread Rabin Vincent
On Fri, Mar 18, 2016 at 06:28:49PM +0900, Alexandre Courbot wrote: > Commit 19e6e5e5392b ("ARM: 8547/1: dma-mapping: store buffer > information") allocates a structure meant for internal buffer management > with the GFP flags of the buffer itself. This can trigger the following > safeguard in the s

Re: [PATCH v2 3/5] dt-bindings: Add documentation for GM20B GPU

2016-03-19 Thread Rob Herring
On Tue, Mar 15, 2016 at 11:58:42AM +0900, Alexandre Courbot wrote: > GM20B's definition is mostly similar to GK20A's, but requires an > additional clock. > > Signed-off-by: Alexandre Courbot > --- > .../devicetree/bindings/gpu/nvidia,gk20a.txt | 27 > -- > 1 file chang

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

2016-03-19 Thread Stephen Rothwell
Hi Doug, On Wed, 16 Mar 2016 15:02:42 -0400 Doug Ledford wrote: > > Pending an update from Intel on the i40iw driver, I have pulled it from > my for-next area. This should not be a problem with tonight's merge. Thanks. -- Cheers, Stephen Rothwell

Re: [PATCH v4 6/8] arm64: dts: rockchip: Add power key to GeekBox

2016-03-19 Thread Julien Chauveau
> Le 16 mars 2016 à 14:58, Andreas Färber a écrit : > > Cc: Julien Chauveau > Signed-off-by: Andreas Färber > — Reviewed-by: Julien Chauveau

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-19 Thread Felipe Balbi
Hi, Roger Quadros writes: > [ text/plain ] > We will need this function for a workaround. > The function issues a softreset only to the device > controller and performs minimal re-initialization > so that the device controller can be usable. > > As some code is similar to dwc3_core_init() take o

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Al Viro
On Fri, Mar 18, 2016 at 03:49:14PM -0400, Steven Rostedt wrote: > On Tue, 15 Mar 2016 00:23:20 -0700 > Christoph Hellwig wrote: > > > Looks fine, > > > > Reviewed-by: Christoph Hellwig > > What tree should this go in? Picked in vfs.git, will push to git.kernel.org shortly

[PATCH v4 3/7] cpufreq: governor: Move abstract gov_attr_set code to seperate file

2016-03-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move abstract code related to struct gov_attr_set to a separate (new) file so it can be shared with (future) goverernors that won't share more code with "ondemand" and "conservative". No intentional functional changes. Signed-off-by: Rafael J. Wysocki Acked-by: Viresh K

Re: linux-next: manual merge of the tip tree with the drm tree

2016-03-19 Thread Arnd Bergmann
On Thursday 17 March 2016 13:00:29 Stephen Rothwell wrote: > diff --cc drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c > index 0f42b1a24446,7b82e57aa09c.. > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c > @@@ -532,21 -516,9 +532,20 @@@ int amdgpu_

Re: [PATCH v3] rtc: s3c: Don't print an error on probe deferral

2016-03-19 Thread Alexandre Belloni
On 18/03/2016 at 08:57:57 -0300, Javier Martinez Canillas wrote : > >>> But yes, we can at least get rid of the else statement. I don't have a > >>> strong opinion about the debug information, I left it to avoid someone > >>> to tell me that I was removing a useful log. > >> > >> Although dev_dbg d

Re: [PATCH] clockevents/drivers/timer-atmel-pit: fix double free_irq

2016-03-19 Thread Nicolas Ferre
Le 17/03/2016 21:09, Alexandre Belloni a écrit : > clockevents_exchange_device() changes the state from detached to shutdown > and so at that point the IRQ has not yet been requested. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > > Hi Sebastian, > > This patch fixes th

Re: [PATCH 2/5] Documentation: dt: Add binding info for jz4740-rtc driver

2016-03-19 Thread Alexandre Belloni
On 05/03/2016 at 23:38:48 +0100, Paul Cercueil wrote : > Signed-off-by: Paul Cercueil > --- > .../devicetree/bindings/rtc/ingenic,jz4740-rtc.txt | 38 > ++ > 1 file changed, 38 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/rtc/ingenic,jz4740-rtc.txt

[PATCH 0/4] EFI capsule update support

2016-03-19 Thread Matt Fleming
This is the reincarnation of the EFI capsule patches I originally posted in 2013, plus Hock's capsule loader driver from earlier this year. Together they provide a way for users to send capsule images to firmware. EFI capsules are binary blobs passed from the OS to the firmware. The firmware then

Re: [PATCH] arm64: dma-mapping: fix dma_to_phys API for IOMMU attached devices

2016-03-19 Thread Arnd Bergmann
On Thursday 17 March 2016 12:07:26 Sinan Kaya wrote: > On 3/17/2016 11:57 AM, Robin Murphy wrote: > > Let me know which direction I should go. > > 1. Fix phys_to_dma and keep dma_to_phys as in the patch. > 2. Remove both of the API from header file, move it to where it is needed. > Rename them a

Re: [RFC/RFT PATCH 0/2] mfd: max14577: Allow the driver to be built as a module

2016-03-19 Thread Krzysztof Kozlowski
On 17.03.2016 01:48, Javier Martinez Canillas wrote: > Hello, > > This series is similar to [0] and allows the max14577 PMIC MFD driver to > be built as a module. Currently the Kconfig symbol for the driver is a > boolean but there isn't really a reason for this restriction. > > The patches have

Re: [RFC PATCH v4 7/7] powerpc/powernv/pci-ioda: Add IOMMU_CAP_INTR_REMAP for IODA host bridge

2016-03-19 Thread Alex Williamson
On Mon, 7 Mar 2016 15:48:38 +0800 Yongji Xie wrote: > This patch adds IOMMU_CAP_INTR_REMAP for IODA host bridge so that > we can mmap MSI-X table in vfio driver. > > Signed-off-by: Yongji Xie > --- > arch/powerpc/platforms/powernv/pci-ioda.c | 17 + > 1 file changed, 17 inse

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Stefan Berger
On 03/16/2016 04:42 PM, Jarkko Sakkinen wrote: On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: + +/* above flags */ +#define VTPM_PROXY_FLAG_TPM2 1 /* emulator is TPM 2 */ + +/* all supported flags */ +#define VTPM_PROXY_FLAGS_ALL (VTPM_PROXY_FLAG_TPM2) This can be moved insid

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Marc Zyngier
Hi Jon, On 17/03/16 14:19, Jon Hunter wrote: > Some IRQ chips may be located in a power domain outside of the CPU > subsystem and hence will require device specific runtime power > management. In order to support such IRQ chips, add a pointer for a > device structure to the irq_chip structure, and

[GIT PULL] Protection Keys (pkeys) support

2016-03-19 Thread Ingo Molnar
Linus, Please pull the latest mm-pkeys-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git mm-pkeys-for-linus # HEAD: 0d47638f80a02b15869f1fe1fc09e5bf996750fd x86/mm/pkeys: Fix mismerge of protection keys CPUID bits This tree adds support for a new memory p

[PATCH] mac80211: add doc for RX_FLAG_DUP_VALIDATED flag

2016-03-19 Thread Luis de Bethencourt
Add documentation for the flag for duplication check. Fixes the following warning when running make htmldocs: warning: Enum value 'RX_FLAG_DUP_VALIDATED' not described in enum 'mac80211_rx_flags' Signed-off-by: Luis de Bethencourt --- Hi, While running make htmldocs I noticed a warning about R

[PATCH v4 6/8] arm64, dts: add Juno cpu capacity information

2016-03-19 Thread Juri Lelli
Add Juno cpu capacity bindings information. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Catalin Marinas Cc: Will Deacon Cc: Liviu Dudau Cc: Sudeep Holla Cc: Arnd Bergmann Cc: Jon Medhurst Cc: Olof Johansson Cc: Robin Murphy Cc: devicet...@vger.k

[PATCH v4 13/13] ARM: sunxi: Add Kconfig for sunxi clocks

2016-03-19 Thread Vishnu Patekar
This patch adds Kconfig for sunxi clocks. Currently, only sun8i-apb0 and sun9i-cpus clocks are added. It'll help to use common clocks across different SOCs. We can switch to kconfig for other clocks in future. Signed-off-by: Vishnu Patekar --- drivers/clk/Kconfig| 1 + drivers/clk/sunxi/

RE: [PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-19 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: 平松雅巳 / HIRAMATU,MASAMI [mailto:masami.hiramatsu...@hitachi.com] > >Hi, > >>From: Sandeepa Prabhu >> >>The pre-handler of this special 'trampoline' kprobe executes the return >>probe handler functions and restores original return address in ELR_EL1. >>This way the saved pt_regs still hold th

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