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

2016-03-19 Thread Alexandre Courbot
On Sat, Mar 19, 2016 at 5:47 AM, Rob Herring wrote: > 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,gk

Build failure in mainline kernel due to 'lan78xx: add ndo_get_stats64'

2016-03-19 Thread Guenter Roeck
Hi, your commit a59f8c5b048 ("lan78xx: add ndo_get_stats64") is causing the following build failure if CONFIG_PM is not enabled. drivers/net/usb/lan78xx.c: In function 'lan78xx_get_stats64': drivers/net/usb/lan78xx.c:3274:27: error: 'struct dev_pm_info' has no member named 'runtime_auto'

Re: [PATCH v2 1/5] dt-bindings: gk20a: Fix typo in compatible name

2016-03-19 Thread Alexandre Courbot
On Sat, Mar 19, 2016 at 5:31 AM, Rob Herring wrote: > On Tue, Mar 15, 2016 at 11:58:40AM +0900, Alexandre Courbot wrote: >> The correct compatible name is "nvidia,gk20a". >> >> Signed-off-by: Alexandre Courbot >> --- >> Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt | 4 ++-- >> 1 file c

RE: [PATCH] cpuidle: menu: Fall back to polling if next timer event is near

2016-03-19 Thread Doug Smythies
On 2016.03.19 17:34 Rafael J. Wysocki wrote: > Commit a9ceb78bc75c (cpuidle,menu: use interactivity_req to disable > polling) changed the behavior of the fallback state selection part > of menu_select() so it looks at interactivity_req instead of > data->next_timer_us when it makes its decision.

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

2016-03-19 Thread Alexandre Courbot
On Fri, Mar 18, 2016 at 7:58 PM, Russell King - ARM Linux wrote: > 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

Re: [PATCH v3 2/3] IB/hns: Add HiSilicon RoCE driver support

2016-03-19 Thread Leon Romanovsky
On Sat, Mar 19, 2016 at 06:50:57PM +0800, Lijun Ou wrote: > The driver for HiSilicon RoCE is a platform driver. > The driver will support multiple versions of hardware. Currently only "v1" > for hip06 SoC is supported. > The driver includes two parts: common driver and hardware-specific > operation

[PATCH v4 4/8] arm, dts: add TC2 cpu capacity information

2016-03-19 Thread Juri Lelli
Add TC2 cpu capacity binding information. Cc: Liviu Dudau Cc: Sudeep Holla Cc: Lorenzo Pieralisi Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: devicet...@vger.kernel.org Signed-off-by: Juri Lelli --- Changes from v1: - capacity-s

[PATCH v2 10/11] usb: musb: da8xx: Use devm in probe

2016-03-19 Thread David Lechner
Simplify things a bit by using devm functions where possible. Signed-off-by: David Lechner --- v2 changes: This is part of a previous patch that was split. No changes from previous version. drivers/usb/musb/da8xx.c | 28 1 file changed, 8 insertions(+), 20 deletio

Re: [PATCH] ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8

2016-03-19 Thread Arnd Bergmann
On Friday 18 March 2016 14:16:23 Vineet Gupta wrote: > diff --git a/arch/arc/Makefile b/arch/arc/Makefile > index fed12f39d8ce..aeb101e8e674 100644 > --- a/arch/arc/Makefile > +++ b/arch/arc/Makefile > @@ -48,9 +48,14 @@ endif > upto_gcc44:= $(call cc-ifversion, -le, 0404, y) > atleast_gcc44

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 04:09:33PM +0700, Suravee Suthikulpanit wrote: > But the whole point is that since we are moving it to consolidate these > duplicated declarations, I think we should just put it in the most common > place. The include/linux/amd-iommu.h file is already there. It's not like we

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

2016-03-19 Thread Andreas Färber
Cc: Julien Chauveau Signed-off-by: Andreas Färber --- v3 -> v4: * Renamed power button sub-node name (Julien) v2 -> v3: * Adopted wakeup-source instead of gpio-key,wakeup (Julien) * Dropped gpio-keys #address-cells and #size-cells properties (Julien) * Dropped power button reg property (J

Re: [PATCH 4.4-rt2] fix arm-at91-pit-remove-irq-handler-when-clock-is-unused.patch

2016-03-19 Thread Alexandre Belloni
Hi Thomas, On 20/01/2016 at 12:07:30 +0100, Thomas Gleixner wrote : > Well freeing the irq from that context in RT only works because its called > before SYSTEM_STATE=RUNNING. So no, this was wrong forever. > > The issue we are dealing with is that the timer interrupt is shared with the > uart. S

Re: Linux 4.4.6

2016-03-19 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt index 9f4e5136e568..12af302bca6a 100644 --- a/Documentation/devicetree/bindings/arm/omap/omap.txt +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt @@ -23,6 +23,7 @@ Optio

[PATCH v4 5/8] arm64: dts: rockchip: Clean up gpio-keys nodes

2016-03-19 Thread Andreas Färber
Drop superfluous #address-cells and #size-cells. Use KEY_POWER define for 116. Rename sub-nodes to avoid new dtc warnings. Reported-by: Julien Chauveau Cc: Julien Chauveau Signed-off-by: Andreas Färber --- v3 -> v4: * Renamed sub-node names (Julien) v3: New (Julien) arch/arm64/boot/dts/

[patch 1/2] drm/exynos: mic: fix an error code

2016-03-19 Thread Dan Carpenter
We accidentally return success instead of a negative error code here. Signed-off-by: Dan Carpenter --- This is the common problem introduced by do nothing gotos. The other issue with do nothing gotos is that they are annoying and don't actually prevent people from putting a direct return in the

Re: [PATCH v6 10/26] mtd: nand: omap: Update DT binding documentation

2016-03-19 Thread Rob Herring
On Mon, Mar 07, 2016 at 12:32:15PM +0200, Roger Quadros wrote: > Add compatible id and interrupts. The NAND interrupts are > provided by the GPMC controller node. > > Signed-off-by: Roger Quadros > --- > Documentation/devicetree/bindings/mtd/gpmc-nand.txt | 17 + > 1 file changed

Re: [PATCH v4 0/3] mmc: sdhci: Set DMA mask properly

2016-03-19 Thread Ulf Hansson
On 7 March 2016 at 03:07, Alexandre Courbot wrote: > 64-bit capable devices are supposed to set their own DMA mask. Currently > this does not happen for sdhci devices excepted for the two (sdhci-acpi > and sdhci-pci) that define a enable_dma() hook and do it there. However > this hook is called fr

Re: Page migration issue with UBIFS

2016-03-19 Thread Boris Brezillon
Hi, On Tue, 15 Mar 2016 15:16:11 +0100 Richard Weinberger wrote: > Hi! > > We're facing this issue from 2014 on UBIFS: > http://www.spinics.net/lists/linux-fsdevel/msg79941.html Just to let you know I was able to reproduce the exact same bug on a sama5d3 with UBIFS + CMA enabled (CMA allocatio

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

2016-03-19 Thread Corey Minyard
Looks ok to me. For IPMI: Acked-by: Corey Minyard On 03/16/2016 11: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 underst

Re: [Xen-devel] [PATCH] xen/events: Mask a moving irq

2016-03-19 Thread David Vrabel
On 17/03/16 16:53, Boris Ostrovsky wrote: > On 03/17/2016 12:03 PM, David Vrabel wrote: >> On 17/03/16 12:45, Boris Ostrovsky wrote: >>> Moving an unmasked irq may result in irq handler being invoked on both >>> source and target CPUs. >>> >>> With 2-level this can happen as follows: >>> >>> On sou

Re: [PATCH 14/15] dt-bindings: arm-gic: Drop 'clock-names' from binding document

2016-03-19 Thread Jon Hunter
On 17/03/16 20:14, Rob Herring wrote: > On Thu, Mar 17, 2016 at 9:19 AM, Jon Hunter wrote: >> Commit afbbd2338176 ("irqchip/gic: Document optional Clock and Power >> Domain properties") documented optional clock and power-dmoain properties >> for the ARM GIC. Currently, there are no users of thes

Re: [PATCH] serial-uartlite: fix build warning

2016-03-19 Thread Peter Hurley
On 03/18/2016 10:48 AM, Maarten Brock wrote: > - Original Message - > From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > To: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > Cc: Peter Korsgaard [mailto:jac...@sunsite.dk], Greg Kroah-Hartman > [mailto:gre...@linuxfoundation.org],

[PATCH 3.19.y-ckt 55/70] KVM: PPC: Book3S HV: Sanitize special-purpose register values on guest exit

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Paul Mackerras commit ccec44563b18a0ce90e2d4f332784b3cb25c8e9c upstream. Thomas Huth discovered that a guest could cause a hard hang o

[PATCH v4 2/3] x86/iopl/64: Properly context-switch IOPL on Xen PV

2016-03-19 Thread Andy Lutomirski
On Xen PV, regs->flags doesn't reliably reflect IOPL and the exit-to-userspace code doesn't change IOPL. We need to context switch it manually. I'm doing this without going through paravirt because this is specific to Xen PV. After the dust settles, we can merge this with the 32-bit code, tidy u

Re: [PATCH] USB: serial: ftdi_sio: Add support for ICP DAS I-756xU devices

2016-03-19 Thread Johan Hovold
On Wed, Mar 16, 2016 at 11:55:49AM -0400, Josh Boyer wrote: > On Thu, Mar 10, 2016 at 9:48 AM, Josh Boyer wrote: > > A Fedora user reports that the ftdi_sio driver works properly for the > > ICP DAS I-7561U device. Further, the user manual for these devices > > instructs users to load the driver

[PATCH v2] lightnvm: divide global reverse translation map into per lun

2016-03-19 Thread Wenwei Tao
Divide the target's global reverse translation map into per lun, to prepare support for the non-continuous lun target creation. Signed-off-by: Wenwei Tao --- Changes since v1 -fix merge/rebase mistake in rrpc_block_map_update(). -remove variables poffset and lun_offset in rrpc structure since no

arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction

2016-03-19 Thread kbuild test robot
Hi Max, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e75a9f34a5ed5902707fb74b468356c55142b71 commit: ca55b2fef3a9373fcfc30f82fd26bc7fccbda732 xtensa: add de212 core variant date: 5 months ago config: xtensa-nom

[PATCH] Coccinelle: setup_timer: Add space in front of parentheses

2016-03-19 Thread Vaishali Thakkar
Add space in front of the offending parentheses to silent the parse error for older Coccinelle versions. This makes the rule usable with all Coccinelle versions. Reported-by: Nishanth Menon Signed-off-by: Vaishali Thakkar --- scripts/coccinelle/api/setup_timer.cocci | 4 ++-- 1 file changed, 2

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Sebastian Reichel
Hi, On Sat, Mar 19, 2016 at 10:49:57AM +0200, Ivaylo Dimitrov wrote: > On 18.03.2016 17:04, Sebastian Reichel wrote: > >On Fri, Mar 18, 2016 at 03:45:26PM +0200, Ivaylo Dimitrov wrote: > >>On 18.03.2016 15:36, Sebastian Reichel wrote: > >>Regulator is V28_A, which is always-on, so it is enabled no

[PATCH v20 21/23] vfs: Add richacl permission checking

2016-03-19 Thread Andreas Gruenbacher
Hook the richacl permission checking function into the vfs. Signed-off-by: Andreas Gruenbacher --- fs/namei.c | 51 +-- fs/posix_acl.c | 6 +++--- 2 files changed, 52 insertions(+), 5 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 28

Re: Linux 3.14.65

2016-03-19 Thread Greg KH
diff --git a/Documentation/filesystems/efivarfs.txt b/Documentation/filesystems/efivarfs.txt index c477af086e65..686a64bba775 100644 --- a/Documentation/filesystems/efivarfs.txt +++ b/Documentation/filesystems/efivarfs.txt @@ -14,3 +14,10 @@ filesystem. efivarfs is typically mounted like this,

Re: [RFC PATCH linux-next] ovs: internal_set_rx_headroom() can be static

2016-03-19 Thread David Miller
From: kbuild test robot Date: Sat, 19 Mar 2016 00:54:50 +0800 > Signed-off-by: Fengguang Wu Looks good, applied, thanks.

Re: [PATCH v4 2/2] auxdisplay: ht16k33: Driver for LED controller

2016-03-19 Thread Rob Herring
On Wed, Mar 16, 2016 at 04:52:09PM +0100, Robin van der Gracht wrote: > This is a driver for the Holtek HT16K33 RAM mapping LED controller with > keyscan. Wrap your lines to less than 80 chars. > Signed-off-by: Robin van der Gracht > --- > > Changes in v4: > - Removed trailing dot from patch

Re: [PATCH] MAINTAINERS: Update UBIFS entry

2016-03-19 Thread Artem Bityutskiy
On Thu, 2016-03-03 at 14:22 +0100, Richard Weinberger wrote: > ...to represent the status quo. > > Signed-off-by: Richard Weinberger > --- >  MAINTAINERS | 3 ++- >  1 file changed, 2 insertions(+), 1 deletion(-) Acked-by: Artem Bityutskiy Thanks Richard!

Re: [PATCH v2] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-19 Thread Sergei Shtylyov
On 3/17/2016 12:41 PM, Alexey Brodkin wrote: Following commit broke DW GMAC functionality on AXS10x boards: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc32f2a162556c86c461ed763 Note that scripts/checkpatch.pl now enforces certain format for citi

[PATCH] ARM: dts: k2*: Rename the k2* files to keystone-k2* files

2016-03-19 Thread Nishanth Menon
As reported in [1], rename the k2* dts files to keystone-* files this will force consistency throughout. Script for the same (and hand modified for Makefile and MAINTAINERS files): for i in arch/arm/boot/dts/k2* do b=`basename $i`; git mv $i arch/arm/boot/dts/keystone-$b; s

Re: RFC on fixing mutex spinning on owner

2016-03-19 Thread Steven Rostedt
On Wed, 16 Mar 2016 16:38:56 -0700 Joel Fernandes wrote: > I am not sure if the problem is with the i915 driver, because the > mutex spin on owner stuff is mutex related so the mutex design may > potentially need a tweak (I mentioned a proposal of adding mutex > spinning time outs). > Also since

Re: [PATCH] ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8

2016-03-19 Thread Vineet Gupta
On Friday 18 March 2016 03:59 PM, Arnd Bergmann wrote: > On Friday 18 March 2016 15:50:11 Vineet Gupta wrote: >> Sure, but I prefer this to be only for gcc 4.8 as this warning seems to be >> healthy in small doses At least it keeps the door open for future discussion >> with gcc guys ! > > FWIW,

[PATCH 3.19.y-ckt 09/70] ahci: add new Intel device IDs

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit 56e74338a535cbcc2f2da08b1ea1a92920194364 upstream. Adding Intel codename Lewisburg platform device IDs for SATA

Re: [PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask

2016-03-19 Thread kbuild test robot
Hi Arnd, [auto build test ERROR on v4.5-rc7] [also build test ERROR on next-20160317] [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/Arnd-Bergmann/bcma-fix-building-without-OF_IRQ/20160317-172

[PATCH v2 6/6] x86/pat: Document PAT initializations

2016-03-19 Thread Toshi Kani
Update PAT documentation to describe how PAT is initialized under various configurations. Signed-off-by: Toshi Kani Cc: Borislav Petkov Cc: Luis R. Rodriguez Cc: Juergen Gross Cc: Ingo Molnar Cc: H. Peter Anvin Cc: Thomas Gleixner --- Documentation/x86/pat.txt | 32 ++

[PATCH 01/15] ARM: tegra: Correct interrupt type for ARM TWD

2016-03-19 Thread Jon Hunter
The ARM TWD interrupt is a private peripheral interrupt (PPI) and per the ARM GIC documentation, whether the type for PPIs can be set is IMPLEMENTATION DEFINED. For Tegra20/30 devices the PPI type cannot be set and so when we attempt to set the type for the ARM TWD interrupt it fails. This has done

[RESEND] [PATCH v11 5/6] add TC G210 platform driver

2016-03-19 Thread Joao Pinto
This patch adds a glue platform driver for the Synopsys G210 Test Chip. Signed-off-by: Joao Pinto --- Changes v10->v11 (Arnd Bergmann): - vops structs are now passed in .data Changes v0->v10: - This patch only appeared in v10 .../devicetree/bindings/ufs/tc-dwc-g210-pltfrm.txt | 26 + drive

Re: [PATCH 1/2] mm/vmap: Add a notifier for when we run out of vmap address space

2016-03-19 Thread Roman Peniaev
On Thu, Mar 17, 2016 at 1:57 PM, Chris Wilson wrote: > On Thu, Mar 17, 2016 at 01:37:06PM +0100, Roman Peniaev wrote: >> > + freed = 0; >> > + blocking_notifier_call_chain(&vmap_notify_list, 0, &freed); >> >> It seems to me that alloc_vmap_area() was designed not to sleep, >> at least

[PART1 RFC v3 12/12] svm: Manage vcpu load/unload when enable AVIC

2016-03-19 Thread Suravee Suthikulpanit
From: Suravee Suthikulpanit When a vcpu is loaded/unloaded to a physical core, we need to update host physical APIC ID information in the Physical APIC-ID table accordingly. Also, when vCPU is blocking/un-blocking (due to halt instruction), we need to make sure that the is-running bit in set acc

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-19 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 5:58 PM, Stephen Rothwell wrote: > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). Side note: can you change this wording for your manual merge script? Last merge window (or was it the one before it?) we had confusion with people w

[PATCH v2 6/9] efi/arm: libstub: make screen_info accessible to the UEFI stub

2016-03-19 Thread Ard Biesheuvel
In order to hand over the framebuffer described by the GOP protocol and discovered by the UEFI stub, make struct screen_info accessible by the stub. This involves allocating a loader data buffer and passing it to the kernel proper via a UEFI Configuration Table, since the UEFI stub executes in the

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-19 Thread Sinan Kaya
On 3/18/2016 9:51 AM, Sinan Kaya wrote: > Another option is I can write > > engine->sram_dma = swiotlb_dma_to_phys(res->start) I realized that I made a mistake in the commit message and the code above. The code is trying to find DMA address from physical address. Not the other way around. I

Re: linux-next: manual merge of the rdma tree with the net-next tree

2016-03-19 Thread Doug Ledford
On 3/16/2016 1:18 PM, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 5:58 PM, Stephen Rothwell > wrote: >> >> I fixed it up (see below) and can carry the fix as necessary (no action >> is required). > > Side note: can you change this wording for your manual merge script? > Last merge window (or

[PATCH v5 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig

2016-03-19 Thread Alexandre TORGUE
Enable basic Ethernet support (IPV4) for stm32 defconfig. Signed-off-by: Alexandre TORGUE diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index ec52505..8b8abe0 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -33,11 +33,20

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-19 Thread Kuninori Morimoto
Hi Laurent, Geert > > struct pinmux_cfg_reg { > > + const char *name; > > This will increase the kernel size, I would remove the name field when > compiling the kernel in non-debug mode. You could use CONFIG_DYNAMIC_DEBUG or > CONFIG_DEBUG_PINCTRL. OK, [1/2] patch is not a big deal. I'm ha

[PATCH v2] net: smc911x: convert pxa dma to dmaengine

2016-03-19 Thread Robert Jarzmik
Convert the dma transfers to be dmaengine based, now pxa has a dmaengine slave driver. This makes this driver a bit more PXA agnostic. The driver was only compile tested. The risk is quite small as no current PXA platform I'm aware of is using smc911x driver. Signed-off-by: Robert Jarzmik Tested

Re: [PATCH 2/7] dmaengine: xilinx_vdma: Add quirks support to differentiate differnet IP cores

2016-03-19 Thread Laurent Pinchart
Hello, On Tuesday 15 March 2016 22:53:07 Kedareswara rao Appana wrote: > This patch adds quirks support in the driver to differentiate differnet IP s/differnet/different/ (and in the subject line too) With this series applied the driver will not be vdma-specific anymore. The xilinx_vdma_ prefi

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

2016-03-19 Thread Junio C Hamano
Linus Torvalds writes: > It's literally just the fact that "git merge" does it with no extra > flags or checks. I'd like people to have to be aware of what they are > doing when they merge two different projects, not do it by mistake. > > So making it conditional on a flag like "--no-common-root"

Re: divide error: 0000 [#1] SMP in task_numa_migrate - handle_mm_fault vanilla 4.4.6

2016-03-19 Thread Greg KH
On Thu, Mar 17, 2016 at 07:38:03PM +0100, Stefan Priebe wrote: > Hi, > > while running qemu 2.5 on a host running 4.4.6 the host system has crashed > (load > 200) 3 times in the last 3 days. > > Always with this stack trace: (copy left here: > http://pastebin.com/raw/bCWTLKyt) > > [69068.874268]

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-19 Thread Catalin Marinas
On Thu, Mar 17, 2016 at 09:49:51AM -0500, Timur Tabi wrote: > Catalin Marinas wrote: > >>>Yes, that's exactly it. Ours is an ACPI system, and so we have to have our > >>>own defconfig for now. We're holding off on pushing our own defconfig > >>>changes (enabling drivers, etc) until ACPI is enable

[RFC v2] Documentation: mmc: Add the introduction for mmc-utils

2016-03-19 Thread Baolin Wang
This patch introduces one mmc test tools called mmc-utils, which is convenient if someone wants to exercise and test MMC/SD devices from userspace. Signed-off-by: Baolin Wang --- Documentation/mmc/00-INDEX |2 ++ Documentation/mmc/mmc-tools.txt | 34 ++

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 06:41:42PM -0400, Chris Metcalf wrote: > The build bot caught the fact that I missed arch/xtensa since it doesn't use > LOCK_TEXT, so if you're testing on that (ok maybe unlikely) you can add this: Ha!, no. regular boring x86_64.

Re: [PATCH v11 3/9] arm64: add copy_to/from_user to kprobes blacklist

2016-03-19 Thread James Morse
Hi Pratyush, On 18/03/16 13:29, Pratyush Anand wrote: > Probably, I can see why does not it work. So, when we are single stepping an > instruction and page fault occurs, we will come to el1_da in entry.S. Here, we > do enable_dbg. As soon as we will do this, we will start receiving single step > e

[PATCH 3.19.y-ckt 65/70] ipv6: re-enable fragment header matching in ipv6_find_hdr

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Westphal commit 5d150a985520bbe3cb2aa1ceef24a7e32f20c15f upstream. When ipv6_find_hdr is used to find a fragment header (calle

[PATCH 3.19.y-ckt 62/70] tcp: convert cached rtt from usec to jiffies when feeding initial rto

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konstantin Khlebnikov commit 9bdfb3b79e61c60e1a3e2dc05ad164528afa6b8a upstream. Currently it's converted into msecs, thus HZ=1000 inta

Re: [PATCH 4/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-19 Thread Laxman Dewangan
On Thursday 17 March 2016 09:16 PM, Rob Herring wrote: On Thu, Mar 10, 2016 at 05:23:55PM +0530, Laxman Dewangan wrote: On this case, we have already property "line-name" and passed the name of the gpio via this property. The property names is "line-name" which is good for one string. We can su

[PATCH v2] misc: mic: Remove return statements from void functions

2016-03-19 Thread Amitoj Kaur Chawla
Return statements at the end of void functions are useless. The Coccinelle semantic patch used to make this change is as follows: // @@ identifier f; expression e; @@ void f(...) { <... - return e; ...> } // Signed-off-by: Amitoj Kaur Chawla --- Changes in v2: -Resend to add Greg's ema

Re: [RESEND PATCH v4 5/5] clocksource: add memory-mapped timer support in arm_arch_timer.c

2016-03-19 Thread Thomas Gleixner
On Fri, 18 Mar 2016, fu@linaro.org wrote: > +static u32 __init arch_timer_mem_cnttidr(struct acpi_gtdt_timer_block > *gt_block) > +{ > + phys_addr_t cntctlbase_phy; > + void __iomem *cntctlbase; > + u32 cnttidr; > + > + cntctlbase_phy = (phys_addr_t)gtdt_gt_cntctlbase(gt_block)

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-19 Thread Arnd Bergmann
On Monday 14 March 2016 18:51:08 Peter Chen wrote: > On Wed, Mar 09, 2016 at 05:16:50PM -0600, Li Yang wrote: > > On Tue, Mar 8, 2016 at 9:40 PM, Bjorn Andersson > > wrote: > > > On Tue, Mar 8, 2016 at 11:52 AM, Li Yang wrote: > > >> On Wed, Mar 2, 2016 at 4:59 PM, Li Yang wrote: > > >>> On Mon,

Re: [PATCH 14/15] dt-bindings: arm-gic: Drop 'clock-names' from binding document

2016-03-19 Thread Geert Uytterhoeven
Hi Grygorii, On Fri, Mar 18, 2016 at 1:47 PM, Grygorii Strashko wrote: > On 03/18/2016 02:05 PM, Geert Uytterhoeven wrote: >> On Fri, Mar 18, 2016 at 11:56 AM, Jon Hunter wrote: >>> On 18/03/16 10:52, Geert Uytterhoeven wrote: On Fri, Mar 18, 2016 at 11:13 AM, Jon Hunter wrote: > On 18

Re: Oops from calibrate_delay_is_known on qemu machine with Linux v4.5-1523-g271ecc5253e2

2016-03-19 Thread Richard W.M. Jones
On Thu, Mar 17, 2016 at 01:54:36PM -0400, Josh Boyer wrote: > Hi Thomas, > > We've had a report [1] of the mainline kernel crashing on a single-cpu > QEMU machine (not kvm) in Fedora. It looks as if the emulated machine > is failing to provide a TSC and the calibrate_delay_is_known function > is

Re: Suspicious error for CMA stress test

2016-03-19 Thread Joonsoo Kim
2016-03-17 18:24 GMT+09:00 Hanjun Guo : > On 2016/3/17 14:54, Joonsoo Kim wrote: >> On Wed, Mar 16, 2016 at 05:44:28PM +0800, Hanjun Guo wrote: >>> On 2016/3/14 15:18, Joonsoo Kim wrote: On Mon, Mar 14, 2016 at 08:06:16AM +0100, Vlastimil Babka wrote: > On 03/14/2016 07:49 AM, Joonsoo Kim

Re: [PATCH v2] staging/comedi/dt282x: avoid integer overflow warning

2016-03-19 Thread Arnd Bergmann
On Thursday 17 March 2016 15:47:57 Hartley Sweeten wrote: > On Wednesday, March 16, 2016 1:51 PM, Arnd Bergmann wrote: > > Is this a gcc-6 specific issue? Seems line this warning should be showing > up in a lot of drivers. Yes, I did not see this before moving to gcc-6.0, but this is the only dri

Re: [PATCH v3 7/8] Documentation: devicetree: rockchip: Document Landingship

2016-03-19 Thread Rob Herring
On Sun, Mar 06, 2016 at 08:53:56PM +0100, Andreas Färber wrote: > Use "geekbuying,geekbox-landingship" compatible string, plus those of > the GeekBox module. > > Signed-off-by: Andreas Färber > --- > v2 -> v3: > * Changed compatible string to include geekbox- (Heiko) >and clarify that this

[PATCH BlueZ v5] tools/btattach: add marvell support

2016-03-19 Thread Amitkumar Karwar
From: Ganapathi Bhat User needs to issue below command for Marvell devices btattach -P marvell -B /dev/ttyUSB# --- tools/btattach.c | 1 + tools/hciattach.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/btattach.c b/tools/btattach.c index a025bb0..7807e9f 100644 --- a/tools/btatt

Re: [GIT PULL] Score: Fix the check condition of get_sigframe

2016-03-19 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 9:33 AM, Lennox Wu wrote: > > git://github.com/sctscore/linux-off.git sig Please use a signed tag for github pull requests. I don't pull unsigned branches from open hosting sites. Yeah, yeah, I know this is a one-liner, and I could just eyeball the end result to make su

Re: [PATCH 0/2] usb: dwc3: gadget: Fix erratic interrupts and delayed enumeration

2016-03-19 Thread Felipe Balbi
Hi, Roger Quadros writes: > The existing workaround (for STAR#9000525659) of forcing > DEVSPD to SUPER_SPEED for HIGH_SPEED ports is causing > another side effect which causes erratic interrupts and delayed gadget > enumeration of upto 2 seconds. right, but the real problem is with an SoC which

Re: [PATCH 4/4] dma: qcom_hidma: read the channel id from HW

2016-03-19 Thread Rob Herring
On Fri, Mar 11, 2016 at 04:49:54PM -0500, Sinan Kaya wrote: > Removing the flexibility to choose the event channel as there is no real > use case right now. We have been using the values in ACPI that match the HW > defaults. OS is reading the event-channel from the HW register now. > > Signed-off-

Re: [PATCH 4/5] rtc: jz4740_rtc: Add support for acting as the system power controller

2016-03-19 Thread Alexandre Belloni
On 05/03/2016 at 23:38:50 +0100, Paul Cercueil wrote : > + if (of_device_is_system_power_controller(pdev->dev.of_node)) { > + if (!pm_power_off) { > + /* Default: 60ms */ > + rtc->reset_pin_assert_time = 60; > + device_prop

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

2016-03-19 Thread Srinivas Pandruvada
There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake based systems by Intel P states driver. The root cause is identified as the HWP interrupts causing BIOS code to freeze. HWP interrupts uses thermal LVT. Linux natively handles thermal interrupts, but in Skylak

Re: [PATCH v6 3/4] i2c: i801: add support of Host Notify

2016-03-19 Thread Andrew Duggan
On Wed, Mar 16, 2016 at 9:39 AM, Benjamin Tissoires wrote: > The i801 chip can handle the Host Notify feature since ICH 3 as mentioned > in > http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf > > Enable the functionality unconditionally and propagate the ale

[PATCH 3.19.y-ckt 44/70] drm/radeon/pm: update current crtc info after setting the powerstate

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 5e031d9fe8b0741f11d49667dfc3ebf5454121fd upstream. On CI, we need to see if the number of crtcs changes to determi

[PATCH 2/2] bcma: use of_dma_configure() to set initial dma mask

2016-03-19 Thread Arnd Bergmann
While fixing another bug, I noticed that bcma manually sets up a dma_mask pointer for its child devices. We have a generic helper for that now, which should be able to cope better with any variations that might be needed to deal with cache coherency, unusual DMA address offsets, iommus, or limited

Re: [PATCH] Drivers: hv: vmbus: handle various crash scenarios

2016-03-19 Thread Vitaly Kuznetsov
Radim Krcmar writes: > 2016-03-18 13:33+0100, Vitaly Kuznetsov: >> Kdump keeps biting. Turns out CHANNELMSG_UNLOAD_RESPONSE is always >> delivered to CPU0 regardless of what CPU we're sending CHANNELMSG_UNLOAD >> from. vmbus_wait_for_unload() doesn't account for the fact that in case >> we're cra

Re: [PATCH] mac80211: fix order of flag descriptions

2016-03-19 Thread Joe Perches
On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: > Fix order of mac80211_rx_flags description to match the enum. > > Signed-off-by: Luis de Bethencourt > --- > Hi, > > I want ahead and fixed the order of the descriptions. checkpatch.pl was giving > a warning to my previous patch and

Re: [RFC PATCH v4 3/7] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:31, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:34 +0800 Yongji Xie wrote: The resource_alignment will releases memory resources allocated by firmware so that kernel can reassign new resources later on. But this will cause the problem that no resources can be allocated by k

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-19 Thread Timur Tabi
Catalin Marinas wrote: >Yes, that's exactly it. Ours is an ACPI system, and so we have to have our >own defconfig for now. We're holding off on pushing our own defconfig >changes (enabling drivers, etc) until ACPI is enabled in >arch/arm64/configs/defconfig. Is there anything that prevents y

Re: [PATCH] ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8

2016-03-19 Thread Arnd Bergmann
On Friday 18 March 2016 16:13:28 Vineet Gupta wrote: > On Friday 18 March 2016 03:59 PM, Arnd Bergmann wrote: > > On Friday 18 March 2016 15:50:11 Vineet Gupta wrote: > >> Sure, but I prefer this to be only for gcc 4.8 as this warning seems to be > >> healthy in small doses At least it keeps the d

[PART1 RFC v3 00/12] KVM: x86: Introduce SVM AVIC support

2016-03-19 Thread Suravee Suthikulpanit
CHANGES FROM RFCv2: == (https://lkml.org/lkml/2016/3/4/746) * Do not use bit-field in VMCB. * Get rid of struct svm_vm_data, and consolidate the struct members into struct kvm_arch. * Do not abbreviate AVIC vmexit function and structure names. * Adding VM init/

Re: [PATCH 2/2] pinctrl: sh-pfc: IPSRx and MOD_SELx should be set before GPSRx

2016-03-19 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > Gen2 / Gen3 datasheet will have below note in next version. > > This patch follows this note. > > > > IPSRx and MOD_SELx registers shall be set before setting GPSRx > > registers in case that they need to be configured. > > MOD_SELx registers can be s

[PATCH] mmc: card: don't use PF_MEMALLOC

2016-03-19 Thread Martin Kepplinger
PF_MEMALLOC is assigned to processes by mm. If drivers prevent memory reclaim and mm is not in control, strange hang-up or OOM Killer invocation could happen. Signed-off-by: Martin Kepplinger --- I use MMC cards with this change perfectly fine. As I understand it, even *if* PF_MEMALLOC has a real

[PATCH] cpufreq: rockchip: add driver

2016-03-19 Thread Feng Xiao
This driver will directly use cpufreq-dt driver as backend. As there is not a generic devicetree board file(rockchip.c) on ARM64 architecture, so remove platform_device_register_simple in rockchip.c and add a new cpufreq driver to support for all Rockchip SoCs. Signed-off-by: Feng Xiao --- arch

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

2016-03-19 Thread Michal Marek
On 2016-03-16 12:29, Stephen Rothwell wrote: > Hi Michal, > > On Wed, 16 Mar 2016 08:56:50 +0100 Michal Marek wrote: >> >> Right. Stephen, could you perhaps move the kbuild tree down in your list >> a bit, so that the fixes are present? > > Done. > > Now you just need to make sure Linus gets th

Re: [PATCH] sound/usb: Fix memory leak in media_snd_stream_delete() during unbind

2016-03-19 Thread Shuah Khan
Adding Takashi Iwai On 03/16/2016 08:58 PM, Shuah Khan wrote: > media_snd_stream_delete() fails to release resources during unbind. This > leads to use-after-free in media_gobj_create() on a subsequent bind. > > [ 1445.086410] BUG: KASAN: use-after-free in media_gobj_create+0x3a1/0x470 > [media]

Re: [ANNOUNCE] 3.14.64-rt67

2016-03-19 Thread Josh Cartwright
On Tue, Mar 15, 2016 at 10:50:31PM -0400, Paul Gortmaker wrote: > On Tue, Mar 15, 2016 at 7:25 PM, Paul Gortmaker > wrote: > > On Tue, Mar 15, 2016 at 5:45 PM, Paul Gortmaker > > wrote: > >> On Mon, Mar 14, 2016 at 11:49 AM, Steven Rostedt > >> wrote: > >>> > >>> Dear RT Folks, > >>> > >>> 3.14

Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-19 Thread Krzysztof Kozlowski
On 18.03.2016 12:19, Philip Li wrote: > On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote: >> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot >> wrote: >>> Hi Al, >>> >>> FYI, the error/warning still remains. >>> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torv

[PATCH v4 3/3] x86/iopl: Fix iopl capability check on Xen PV

2016-03-19 Thread Andy Lutomirski
iopl(3) is supposed to work if iopl is already 3, even if unprivileged. This didn't work right on Xen PV. Fix it. Cc: sta...@vger.kernel.org Reviewewd-by: Jan Beulich Signed-off-by: Andy Lutomirski --- arch/x86/kernel/ioport.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-)

[PATCH 3/5] usb: host: xhci: add broken pe quirk flag to pdata

2016-03-19 Thread Roger Quadros
From: Felipe Balbi Let platform_data users pass broken pe flag to xhci driver. Signed-off-by: Felipe Balbi Signed-off-by: Sekhar Nori Signed-off-by: Roger Quadros --- include/linux/usb/xhci_pdriver.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/usb/xhci_pdriver.h b/inc

[PATCH 1/8] lib/mpi: mpi_write_sgl(): fix skipping of leading zero limbs

2016-03-19 Thread Nicolai Stange
Currently, if the number of leading zeros is greater than fits into a complete limb, mpi_write_sgl() skips them by iterating over them limb-wise. However, it fails to adjust its internal leading zeros tracking variable, lzeros, accordingly: it does a p -= sizeof(alimb); continue; which shoul

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

2016-03-19 Thread Javier Martinez Canillas
The driver's Kconfig symbol is a boolean but nothing prevents the driver to be built as a module instead of built-in. It is true that most system integrators will choose the latter but the config should not restrict it. Suggested-by: Krzysztof Kozlowski Signed-off-by: Javier Martinez Canillas -

Re: [RFC PATCH 0/4] ACPI based PCI host driver with generic ECAM

2016-03-19 Thread Jayachandran C
On Fri, Mar 18, 2016 at 1:48 AM, Jayachandran C wrote: > Hi Bjorn, > > Here is a new patchset for the ACPI PCI controller driver based on the > earlier discussion[1]. > > The first two patches in the patchset implements pci/ecam.c for generic > config space access and uses it in pci-host-generic.c

Re: dynamic ftrace/recordmcount.c problem on ARMv5

2016-03-19 Thread Namhyung Kim
Hi, On Fri, Mar 11, 2016 at 10:21:59AM +0100, Uwe Kleine-König wrote: > Hello, > > On Wed, Jan 13, 2016 at 09:51:28AM +0100, Marc Kleine-Budde wrote: > > Hello, > > > > I'm on a ARMv5 (freescale mx25) and seeing this ftrace bug during bootup: > > > > > [0.059235] [ cut here ]---

Re: livepatch: Update maintainers

2016-03-19 Thread Jessica Yu
+++ Josh Poimboeuf [16/03/16 10:03 -0500]: Seth and Vojtech are no longer active maintainers of livepatch, so remove them in favor of Jessica and Miroslav. Also add Petr as a designated reviewer. Signed-off-by: Josh Poimboeuf --- MAINTAINERS | 5 +++-- 1 file changed, 3 insertions(+), 2 deletio

Re: [PATCH 2/6] net: arc_emac: add phy-reset-* are optional for device tree

2016-03-19 Thread Rob Herring
On Fri, Mar 11, 2016 at 06:55:27PM +0800, Caesar Wang wrote: > This patch adds the following property for arc_emac. > > 1) phy-reset-gpios: > The phy-reset-gpios is an optional property for arc emac device tree boot. > Change the binding document to match the driver code. > > 2) phy-reset-duratio

  1   2   3   4   5   6   7   8   9   10   >