Re: [PATCH] mac80211: add doc for RX_FLAG_DUP_VALIDATED flag

2016-03-19 Thread Luis de Bethencourt
On 18/03/16 16:09, Luis de Bethencourt wrote: > 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 > --

[PATCH 1/3] drm: introduce drm_connector_plug_all() helper

2016-03-19 Thread Alexey Brodkin
As a pair to already existing drm_connector_unplug_all() we're adding generic implementation of what is already done in some drivers. Once this helper is implemented we'll be ready to switch existing driver-specific implementations with generic one. Signed-off-by: Alexey Brodkin Cc: Daniel Vette

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

2016-03-19 Thread Linda Knippers
On 3/17/2016 4:36 PM, Srinivas Pandruvada wrote: > On Thu, 2016-03-17 at 16:03 -0400, Linda Knippers wrote: >> On 3/17/2016 2:24 PM, Srinivas Pandruvada wrote: >>> >>> There are several reports of freeze on enabling HWP (Hardware >>> PStates) >>> feature on Skylake based systems by Intel P states

Re: [PATCH] mmc: dw_mmc-rockchip: fix failing to mount partition with "discard"

2016-03-19 Thread Jaehoon Chung
Hi Shawn, On 03/18/2016 12:46 AM, Shawn Lin wrote: > Hi jaehoon, > > On 2016/3/2 9:29, Jaehoon Chung wrote: >> Hi Shawn. >> >> On 03/01/2016 04:12 PM, Shawn Lin wrote: >>> Without MMC_CAP_ERASE support, we fail to mount partition >>> with "discard" option since mmc_queue_setup_discard is limited

Re: [PATCH 4/8] cpufreq/schedutil: sysfs capacity margin tunable

2016-03-19 Thread Juri Lelli
Hi, On 17/03/16 15:53, Patrick Bellasi wrote: > On 17-Mar 06:55, Steve Muckle wrote: > > On 03/17/2016 02:40 AM, Juri Lelli wrote: > > >> Could the default schedtune value not serve as the out of the box margin? > > >> > > > I'm not sure I understand you here. For me schedtune should be disabled >

Re: [PATCH v5 7/7][Update] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-19 Thread Peter Zijlstra
On Thu, Mar 17, 2016 at 01:01:45AM +0100, Rafael J. Wysocki wrote: > + } else if (sg_policy->next_freq != next_freq) { > + sg_policy->work_cpu = smp_processor_id(); > + irq_work_queue(&sg_policy->irq_work); > + } > +} > +static void sugov_irq_work(struct irq_work *i

Re: [PATCH v2 2/9] ARC: [dts] Introduce Timer bindings

2016-03-19 Thread Rob Herring
On Tue, Mar 08, 2016 at 05:56:05PM +0530, Vineet Gupta wrote: > ARC Timers have historically been probed directly. > As precursor to start probing Timers thru DT introduce these bindings > Note that to keep series bisectable, these bindings are not yet used in > code. > > Cc: Daniel Lezcano > Cc:

[PATCH v3 08/15] dmaengine: dw: revisit data_width property

2016-03-19 Thread Andy Shevchenko
There are several changes are done here: - Convert the property to be in bytes Much more convenient than keeping encoded value. - Use one value for all AHB masters for now It seems in practice we have no controllers where masters have different data bus width, we still might return t

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Tony Lindgren
* Ivaylo Dimitrov [160317 06:11]: > Hi, > > On 17.03.2016 15:01, Pali Rohár wrote: > >On Thursday 17 March 2016 09:56:22 Ivaylo Dimitrov wrote: > >>Hi, > >> > > > >Is camera on same bus as tpa? Maybe this is reason why camera is > >non-functional too? > > > > It doesn't matter, all the i2c busse

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

2016-03-19 Thread Grygorii Strashko
On 03/18/2016 02:27 PM, Jon Hunter wrote: > > On 18/03/16 11:11, Grygorii Strashko wrote: >> Hi Jon, >> >> On 03/17/2016 04:19 PM, 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 >>> managem

[PATCH 6/8] dmaengine: bcm2835: limit max length based on channel type

2016-03-19 Thread Eric Anholt
From: Martin Sperl The bcm2835 dma system has 2 basic types of dma-channels: * "normal" channels * "light" channels Lite channels are limited in several aspects: * internal data-structure is 128 bit (not 256) * does not support BCM2835_DMA_TDMODE (2D) * DMA length register is limited to 16 bit.

[PATCH 0/3] drm: introduce drm_connector_plug_all() helper

2016-03-19 Thread Alexey Brodkin
As a pair to already existing drm_connector_unplug_all() we're adding generic implementation of what is already done in some drivers. After implementation of that new helper we're updating 2 drivers that used to use it's own implementation: [1] atmel_hlcdc [2] rcar_du Other drivers still use lo

[PATCH 1/2] watchdog: Fix output

2016-03-19 Thread Peter Zijlstra
The pr_crap() functions generate idiotic output; use printk(). Broken output: [ 3538.718135] NMI watchdog: BUG: soft lockup - CPU#2 stuck for 22s! [perf_fuzzer:2646] [ 3383.233583] NMI watchdog: Watchdog detected hard LOCKUP on cpu 27 Fixed output: [14180.328194] BUG: soft lockup - CPU#2 stuc

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

2016-03-19 Thread Sinan Kaya
This patch modifies dma_to_phys to call iommu_iova_to_phys to perform dma to phys conversions for IOMMU attached devices where dma and physical addresses often have distinct values. Signed-off-by: Nate Watterson Signed-off-by: Sinan Kaya --- arch/arm64/include/asm/dma-mapping.h | 5 + arch

[PATCH v1 1/2] ethtool: minor doc update

2016-03-19 Thread David Decotigny
From: David Decotigny Updates: commit 793cf87de9d1 ("ethtool: Set cmd field in ETHTOOL_GLINKSETTINGS response to wrong nwords") Signed-off-by: David Decotigny --- include/uapi/linux/ethtool.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/

[PATCH V3 2/2] x86/perf/intel/uncore: Make Intel rapl modular

2016-03-19 Thread kan . liang
From: Kan Liang This patch makes Intel rapl pmu driver modular. By default, the rapl driver will be built in the kernel. If it is configured as module, the supported cpu model can be auto loaded. This patch also cleans up the code of rapl_pmu_init. Based-on-a-patch-by: Thomas Gleixner Signed-of

[PATCH V3 1/2] x86/perf/intel/uncore: Make Intel uncore modular

2016-03-19 Thread kan . liang
From: Kan Liang This patch makes Intel uncore pmu driver modular. By default, the uncore driver will be built in the kernel. If it is configured as module, the supported cpu model can be auto loaded. This patch also cleans up the code of cpu_init and pci_init. Based-on-a-patch-by: Thomas Gleixne

drivers/ntb/hw/amd/ntb_hw_amd.c:367:29: sparse: cast removes address space of expression

2016-03-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6b5f04b6cf8ebab9a65d9c0026c650bb2538fd0f commit: a1b3695820aa490e58915d720a1438069813008b NTB: Add support for AMD PCI-Express Non-Transparent Bridge date: 8 weeks ago reproduce: # apt-get install

RE: [PATCH 0/2] Make core_pattern support namespace

2016-03-19 Thread Zhao Lei
Hi, Kamezawa-san > From: Kamezawa Hiroyuki [mailto:kamezawa.hir...@jp.fujitsu.com] > Sent: Thursday, March 17, 2016 8:58 AM > To: Zhao Lei ; linux-kernel@vger.kernel.org; Mateusz > Guzik > Cc: contain...@lists.linux-foundation.org > Subject: Re: [PATCH 0/2] Make core_pattern support namespace >

[PATCH] wl12xx: remove redundant null check on wl->scan.ssid

2016-03-19 Thread Colin King
From: Colin Ian King ssid is an array of u8, so it can never be null, so the null check on wl->scan.ssid is redundant and can be removed. Signed-off-by: Colin Ian King --- drivers/net/wireless/ti/wl12xx/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wire

Re: [PATCH v11 12/13] arm64: factor work_pending state machine to C

2016-03-19 Thread Chris Metcalf
Just wanted to ping this one part of the patch series that hopefully could be picked up in time for the 4.6 rc1 merge window, even if the rest of the patch series ends up taking longer to get through. Will, does that seem like something worth trying to do? I'm hoping that the performance issues y

Re: [PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-19 Thread kbuild test robot
Hi Jessica, [auto build test WARNING on s390/features] [also build test WARNING on v4.5 next-20160316] [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/Jessica-Yu/mostly-Arch-independent-livepat

Re: [PATCH v2 01/18] clocksource: sp804: Add support for non-32bit width counter

2016-03-19 Thread Daniel Lezcano
On 03/09/2016 11:24 AM, Neil Armstrong wrote: Some vendor variants can implement norrower counter width, add an optional DT property changing the clocksource width and the clockevent mask, but keeping 32bit as default for legacy interface. Signed-off-by: Neil Armstrong --- drivers/clocksource

[PATCH] mac80211: fix order of flag descriptions

2016-03-19 Thread Luis de Bethencourt
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 I had a hunch it was because the wrong order breaks the parser. Indeed it doe

Re: [PATCH v4 1/4] ACPI: parse SPCR and enable matching console

2016-03-19 Thread Timur Tabi
On Mon, Feb 29, 2016 at 6:02 AM, Aleksey Makarov wrote: > 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port > Console Redirection Table) [2] as a mandatory ACPI table that > specifies the configuration of serial console. > > Parse this table and check if any registered console matc

[PATCH 3.19.y-ckt 53/70] ARM: dts: dra7: do not gate cpsw clock due to errata i877

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mugunthan V N commit 0f514e690740e54815441a87708c3326f8aa8709 upstream. Errata id: i877 Description: The RGMII 1000 Mbps

Re: [PATCH 8/8] sched: prefer cpufreq_scale_freq_capacity

2016-03-19 Thread Rafael J. Wysocki
On Wednesday, March 16, 2016 09:07:52 PM Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 07:44:33PM +, Dietmar Eggemann wrote: > > intel_pstate (setpolicy()) is an exception but my humble guess is that > > systems with intel_pstate driver have X86_FEATURE_APERFMPERF support. > > A quick browse

Re: [PATCH 1/2] kconfig: add chomp like helper function

2016-03-19 Thread Michal Marek
On 2016-03-16 11:53, Paul Bolle wrote: > Add a helper function that strips trailing new lines and carriage > returns from strings. Call it chomp, after the perl function that > inspired it. > > Signed-off-by: Paul Bolle > --- > scripts/kconfig/confdata.c | 22 ++ > 1 file cha

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

2016-03-19 Thread Sergei Shtylyov
Hello. On 3/17/2016 2:41 PM, Vineet Gupta 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 fo

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Peter Zijlstra
On Fri, Mar 18, 2016 at 01:39:16PM +0100, Mike Galbraith wrote: > On Fri, 2016-03-18 at 11:15 +0100, Peter Zijlstra wrote: > > Ah, did you actually disable HT in the BIOS, or just skip the HT > > enumeration by saying nr_cpus=64 (knowing that all the siblings are > > last)? > > It's disabled in B

[PATCH v4 01/13] pinctrl: sunxi: Add A83T R_PIO controller

2016-03-19 Thread Vishnu Patekar
The A83T has R_PIO pin controller, it's same as A23, execpt A83T interrupt bit is 6th and A83T has one extra pin PL12. Signed-off-by: Vishnu Patekar Acked-by: Chen-Yu Tsai Acked-by: Rob Herring --- .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt | 1 + drivers/pinctrl/sunxi/Kconfig

drivers/gpu/drm/radeon/vce_v1_0.c:181:25: sparse: cast to restricted __le32

2016-03-19 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 6b5f04b6cf8ebab9a65d9c0026c650bb2538fd0f commit: cc78eb22885bba64445cde438ba098de0104920f drm/radeon: properly byte swap vce firmware setup date: 8 weeks ago reproduce: # apt-get install sparse

Re: [PATCH v2] firmware: qemu_fw_cfg.c: hold ACPI global lock during device access

2016-03-19 Thread Michael S. Tsirkin
On Tue, Mar 08, 2016 at 01:30:50PM -0500, Gabriel Somlo wrote: > Allowing for the future possibility of implementing AML-based > (i.e., firmware-triggered) access to the QEMU fw_cfg device, > acquire the global ACPI lock when accessing the device on behalf > of the guest-side sysfs driver, to preve

Re: [RFC v2 -next 2/2] virtio_net: Read the advised MTU

2016-03-19 Thread Sergei Shtylyov
Hello. On 3/16/2016 12:04 AM, Aaron Conole wrote: This patch checks the feature bit for the VIRTIO_NET_F_MTU feature. If it exists, read the advised MTU and use it. No proper error handling is provided for the case where a user changes the negotiated MTU. A future commit will add proper error

RE: [PATCH v4] Bluetooth: hci_uart: Support firmware download for Marvell

2016-03-19 Thread Amitkumar Karwar
Hi Loic, > From: Loic Poulain [mailto:loic.poul...@intel.com] > Sent: Monday, March 14, 2016 9:25 PM > To: Amitkumar Karwar; linux-blueto...@vger.kernel.org > Cc: Cathy Luo; linux-kernel@vger.kernel.org; Nishant Sarmukadam; > Ganapathi Bhat > Subject: Re: [PATCH v4] Bluetooth: hci_uart: Support fi

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

2016-03-19 Thread Arnd Bergmann
On Wednesday 16 March 2016 13:12:36 Andy Shevchenko wrote: > > > I've also sent a patch that fixes the link error on ARM and that should > > work on all other architectures too. > > In case of avr32 signalfd_read() fails. Does your patch help with it as well? > > P.S. Bisecting shows same culpri

Re: [PATCH] nios2: Replace fdt_translate_address with of_flat_dt_translate_address

2016-03-19 Thread Peter Hurley
Hi Guenter, On 03/17/2016 07:49 PM, Guenter Roeck wrote: > nios2 builds fail with the following build error. > > arch/nios2/kernel/prom.c: In function 'early_init_dt_scan_serial': > arch/nios2/kernel/prom.c:100:2: error: > implicit declaration of function 'fdt_translate_address' > > Commit

[PATCH 3.19.y-ckt 61/70] gpio: rcar: Add Runtime PM handling for interrupts

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Geert Uytterhoeven commit b26a719bdba9aa926ceaadecc66e07623d2b8a53 upstream. The R-Car GPIO driver handles Runtime PM for requested GP

RE: [PATCH] iwlwifi: dvm: convert create_singlethread_workqueue() to alloc_workqueue()

2016-03-19 Thread Grumbach, Emmanuel
> Hello, > > On Thu, Mar 17, 2016 at 01:43:22PM +0100, Johannes Berg wrote: > > On Thu, 2016-03-17 at 20:37 +0800, Eva Rachel Retuya wrote: > > > Use alloc_workqueue() to allocate the workqueue instead of > > > create_singlethread_workqueue() since the latter is deprecated and > > > is scheduled f

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Borislav Petkov
On Thu, Mar 17, 2016 at 12:51:20PM +0100, 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. > > So the gener

Re: [PATCH v10 2/9] dt-bindings: pinctrl: Deprecate Tegra XUSB pad controller binding

2016-03-19 Thread Stephen Warren
On 03/04/2016 09:19 AM, Thierry Reding wrote: From: Thierry Reding This is an old version of the binding that isn't flexible enough to describe all aspects of the XUSB pad controller. Specifically with the addition of XUSB support (for SuperSpeed USB) the existing binding is no longer suitable.

[PATCH 05/15] irqchip: Mask the non-type/sense bits when translating an IRQ

2016-03-19 Thread Jon Hunter
The firmware parameter that contains the IRQ sense bits may also contain other data. When return the IRQ type, bits outside of these sense bits should be masked. If these bits are not masked and irq_create_fwspec_mapping() is called to map an IRQ, then the comparison of the type returned from irq_d

Re: UFS V11 patch-set

2016-03-19 Thread Arnd Bergmann
On Friday 18 March 2016 12:52:13 Joao Pinto wrote: > Hi! > > Could you please check the following patch-set in order to evaluate if it is > ready for v4.6? > I think the code is ok now, but the timing apparently didn't work for 4.6. I'd suggest you resend as soon as 4.6-rc1 is out so it can get

Re: staging: most: warning: ‘mbo’ may be used uninitialized in this function

2016-03-19 Thread Dan Carpenter
On Fri, Mar 18, 2016 at 01:41:19PM +0100, Geert Uytterhoeven wrote: > > @@ -249,11 +246,7 @@ aim_read(struct file *filp, char __user *buf, size_t > > count, loff_t *offset) > > struct aim_channel *c = filp->private_data; > > > > mutex_lock(&c->io_mutex); > > - if (c->stacked_

[PATCH 4/4] efi: A misc char interface to update EFI firmware

2016-03-19 Thread Matt Fleming
From: "Kweh, Hock Leong" This patch introduces a kernel module to expose a capsule loader interface (misc char device file note) for users to upload capsule binaries. Example: cat firmware.bin > /dev/efi_capsule_loader Any upload error will be returned while doing "cat" through file operation w

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

2016-03-19 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Jon Hunter wrote: > /** > * struct irq_chip - hardware interrupt chip descriptor > * > + * @parent: pointer to associated device That's really a bad name. parent suggests that this is a parent interrupt chip and your explanation sucks as well. What's an associate

[PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()

2016-03-19 Thread Olu Ogunbowale
From: Olujide Ogunbowale Export the memory management functions, unmapped_area() & unmapped_area_topdown(), as GPL symbols; this allows the kernel to better support process address space mirroring on both CPU and device for out-of-tree drivers by allowing the use of vm_unmapped_area() in a driver

Re: [PATCHv9 1/3] rdmacg: Added rdma cgroup controller

2016-03-19 Thread Parav Pandit
Hi Tejun, On Thu, Mar 17, 2016 at 2:10 AM, Tejun Heo wrote: > >> If this is ok. I will keep the code as it is, because it uses common >> helper functions for max and current files. > > Hmmm... can you please try to refactor the common part to helpers? > It's not a big thing but there were both st

Re: [PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()

2016-03-19 Thread Ingo Molnar
* Rik van Riel wrote: > On Wed, 2016-03-16 at 13:36 -0700, Christoph Hellwig wrote: > > On Wed, Mar 16, 2016 at 05:10:34PM +, Olu Ogunbowale wrote: > > > > > > From: Olujide Ogunbowale > > > > > > Export the memory management functions, unmapped_area() & > > > unmapped_area_topdown(), as

[PATCH 1/2] x86/perf/intel/uncore: Make Intel uncore modular

2016-03-19 Thread kan . liang
From: Kan Liang This patch makes Intel uncore pmu driver modular. By default, the uncore driver will be built in the kernel. If it is configured as module, the supported cpu model can be auto loaded. This patch also cleans up the code of cpu_init and pci_init. Based-on-a-patch-by: Thomas Gleixne

Re: [PATCH v4 2/8] Documentation: arm: define DT cpu capacity bindings

2016-03-19 Thread Sai Gurrappadi
Hi Juri, On 03/18/2016 07:24 AM, Juri Lelli wrote: > + > +== > +2 - CPU capacity definition > +== > + > +CPU capacity is a number that provides the scheduler information about CPUs > +heterogeneity. Such heterogenei

[PATCH v2] 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

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Lu Baolu
Hi Chanwoo, On 03/17/2016 02:07 PM, Chanwoo Choi wrote: > Hi Lu, > > To handle extcon (external connector), I implemented the unique id > for each external connector on patch[1] instead of using the ambiguous string > type. > [1] 2a9de9c0f08d6 (extcon: Use the unique id for external connector in

[PATCH v2 8/9] efi/arm*: wire up struct screen_info to efi-framebuffer platform device

2016-03-19 Thread Ard Biesheuvel
This adds code to the ARM and arm64 EFI init routines to expose a platform device of type 'efi-framebuffer' if struct screen_info has been populated appropriately from the GOP protocol by the stub. Since the framebuffer may potentially be located in system RAM, make sure that the region is reserved

[PATCH] rtlwifi: fix gcc-6 indentation warning

2016-03-19 Thread Arnd Bergmann
The rtl8821ae_dm_txpower_tracking_callback_thermalmeter function contains a call to RT_TRACE() that is indented in a misleading way, as pointed out by a gcc-6 warning: drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function 'rtl8821ae_dm_txpower_tracking_callback_thermalmeter': drivers/n

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

2016-03-19 Thread Joe Perches
On Fri, 2016-03-18 at 17:40 +, Luis de Bethencourt wrote: > On 18/03/16 17:29, Joe Perches wrote: > > On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: > > > Fix order of mac80211_rx_flags description to match the enum. [] > > > I want ahead and fixed the order of the descriptions.

[PATCH 2/3] ARM: at91/soc: reference the whole sama5d2 family

2016-03-19 Thread Ludovic Desroches
Add EXID of all SoCs of the SAMA5D2 family. Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/sama5.c | 20 +++- arch/arm/mach-at91/soc.h | 12 +++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-at91/sama5.c b/arch/arm/mach-at91/sam

[lkp] [of] 854fc7d606: kmsg.dt-test###FAIL_of_unittest_parse_phandle_with_args():#of_count_phandle_with_args()returned-#,expected

2016-03-19 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Joerg-Roedel/of-Implement-iterator-for-phandles/20160317-004643 commit 854fc7d60637a7eac7bb1b43789c7901bfa70cff ("of: Implement iterator for phandles") As below, the log "### dt-test ### FAIL of_unittest_parse_phandle_with_a

[PATCH v6 1/5] x86, memhp, numa: Online memory-less nodes at boot time.

2016-03-19 Thread Zhu Guihua
From: Tang Chen For now, x86 does not support memory-less node. A node without memory will not be onlined, and the cpus on it will be mapped to the other online nodes with memory in init_cpu_to_node(). The reason of doing this is to ensure each cpu has mapped to a node with memory, so that it wil

[PATCH v1 0/2] rockchip: power-domain: support qos save and restore

2016-03-19 Thread Elaine Zhang
add qos document in dt-bingings. modify power domain driver to support qos save and restore. Elaine Zhang (2): dt-bindings: modify document of Rockchip power domains rockchip: power-domain: support qos save and restore .../bindings/soc/rockchip/power_domain.txt | 8 ++ drivers/soc/r

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-19 Thread Rafael J. Wysocki
On Fri, Mar 18, 2016 at 7:32 PM, Stephane Gasparini wrote: > > — > Steph > > > > >> On Mar 18, 2016, at 6:52 PM, Srinivas Pandruvada >> wrote: >> >> On Fri, 2016-03-18 at 17:13 +0100, Stephane Gasparini wrote: >>> Rafael, >>> >>> Why in step 3) both atom_set_pstate() and atom_set_pstate() were n

Re: [PATCH 2/5] ARM: davinci: da8xx: add usb phy clocks

2016-03-19 Thread Sergei Shtylyov
On 03/16/2016 08:58 PM, David Lechner wrote: +static struct clk usb20_clk = { +.name= "usb20", +.parent= &pll0_sysclk2, +.lpsc= DA8XX_LPSC1_USB20, +.gpsc= 1, +}; Why move it? For organization, to keep all of the USB clocks together. I can l

[PATCH v2] 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

[PATCH V3 0/2] mailbox: Introduce Texas Instrument's message manager driver

2016-03-19 Thread Nishanth Menon
Hi, The following v2 of the series provides a base driver for the support of TI's message manager hardware block which facilitates communication between multiple compute engines(or processors) with a central system controller (called PMMC in K2G SoC). Keystone family of TI processors incorporate t

UFS V11 patch-set

2016-03-19 Thread Joao Pinto
Hi! Could you please check the following patch-set in order to evaluate if it is ready for v4.6? [PATCH v11 0/6] add support for DWC UFS Controller http://www.gossamer-threads.com/lists/linux/kernel/2396797?#2396797 [PATCH v11 1/6] fixed typo in ufshcd-pltfrm http://www.gossamer-threads.com/list

Re: [RFC net-next 0/2] Create ancient subdirectories for old hardware

2016-03-19 Thread Joe Perches
On Fri, 2016-03-18 at 23:16 -0400, David Miller wrote: > From: Joe Perches  Date: Fri, 18 Mar 2016 19:28:02 -0700 > > On Fri, 2016-03-18 at 22:11 -0400, David Miller wrote: > >> From: Joe Perches Date: Fri, 18 Mar 2016 17:33:29 -0700 > >> > Maybe something like this:  > >> > Old, rare, and unsuppo

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-19 Thread Borislav Petkov
On Sat, Mar 19, 2016 at 10:24:59AM +0100, Thomas Gleixner wrote: > On Fri, 18 Mar 2016, Peter Zijlstra wrote: > > It turns out AMD gets x86_max_cores wrong when there are compute > > units. > > > > The issue is that Linux assumes: > > > > nr_logical_cpus = nr_cores * nr_siblings > > > > But

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

2016-03-19 Thread Chris Wilson
vmaps are temporary kernel mappings that may be of long duration. Reusing a vmap on an object is preferrable for a driver as the cost of setting up the vmap can otherwise dominate the operation on the object. However, the vmap address space is rather limited on 32bit systems and so we add a notific

Re: [PATCH 4/8] cpufreq/schedutil: sysfs capacity margin tunable

2016-03-19 Thread Rafael J. Wysocki
On Wed, Mar 16, 2016 at 9:05 AM, Peter Zijlstra wrote: > On Tue, Mar 15, 2016 at 08:36:57PM -0700, Steve Muckle wrote: >> > Then again, maybe this knob will be part of the mythical >> > power-vs-performance slider? >> >> Patrick Bellasi's schedtune series [0] (which I think is the referenced >> my

Re: [linux-sunxi] Re: [PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line and Mic inputs

2016-03-19 Thread Danny Milosavljevic
Hi Mark, my question is whether it's possible to group together the left and right channel into one selem, and also if it's possible to reuse volumes then. For example: For sun4i-codec Mic there's right now: - Left Mixer Mic1 Playback Switch - Left Mixer Mic2 Playback Switch - Right Mixer Mic1

[PATCH 3.19.y-ckt 54/70] Revert "drm/radeon: call hpd_irq_event on resume"

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Linus Torvalds commit 256faedcfd646161477d47a1a78c32a562d2e845 upstream. This reverts commit dbb17a21c131eca94eb31136eee9a7fe5aff00d9.

[PATCH v5 4/6] livepatch: reuse module loader code to write relocations

2016-03-19 Thread Jessica Yu
Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Specifically, reuse the apply_relocate_add() function in the module loader to write relocations instead of duplicating functionality in livepatch's arch-dependent klp_

Re: [PATCH] qla2xxx: avoid maybe_uninitialized warning

2016-03-19 Thread James Bottomley
On Wed, 2016-03-16 at 14:05 +, Himanshu Madhani wrote: > > On 3/16/16, 5:59 AM, "Arnd Bergmann" wrote: > > > On Tuesday 15 March 2016 14:49:14 James Bottomley wrote: > > > On Tue, 2016-03-15 at 22:40 +0100, Arnd Bergmann wrote: > > > > > > > > This slightly rearranges the code to move the s

Re: [PATCH v2] mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED

2016-03-19 Thread Mark Salyzyn
On 03/16/2016 06:03 AM, Ulf Hansson wrote: On 22 February 2016 at 18:18, Mark Salyzyn wrote: When CONFIG_MMC_SIMULATE_MAX_SPEED is enabled, Expose max_read_speed, max_write_speed and cache_size sysfs controls to simulate a slow eMMC device. The boot default values, should one wish to set this b

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

2016-03-19 Thread Sinan Kaya
Getting ready to remove dma_to_phys API. Drivers should not be using this API for DMA operations. Instead, they should go through the dma_map or dma_alloc APIs. Signed-off-by: Sinan Kaya --- drivers/crypto/marvell/cesa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dri

Re: [PATCH 10/17] pinctrl: Add PLX Technology OXNAS pinctrl and gpio driver

2016-03-19 Thread Linus Walleij
On Wed, Mar 16, 2016 at 4:00 PM, Neil Armstrong wrote: > I think I'll reboot over a clean base, could you give a reference driver I > should follow ? > It's a very simple HW, it should be easy. I would look at those merged lately, which has pin control combined with GPIO and interrupts. driver

[PATCH] mac80211: remove description of dropped member

2016-03-19 Thread Luis de Bethencourt
Commit 976bd9efdae6 ("mac80211: move beacon_loss_count into ifmgd") removed the member from the sta_info struct but the description stayed lingering. Remove it. Signed-off-by: Luis de Bethencourt --- Hi, A second patch fixing a warning in make htmldocs. Thanks :) Luis net/mac80211/sta_info.h

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Thomas Gleixner
On Wed, 16 Mar 2016, Xiong Zhou wrote: > full log , bisect log and config are attached. Can you please provide a full boot log and the output of 'cat /proc/cpuinfo' ? Thanks, tglx

[PATCH] regmap: fix documentation to match code

2016-03-19 Thread Arnd Bergmann
The regmap binding talks about one thing, which is register endianess, and it gets almost every aspect of it wrong. This replaces the current text of the file with a version that makes more sense and that matches what we implement now. Signed-off-by: Arnd Bergmann Fixes: a06c488da0b0 ("regmap: A

[GIT PULL] Kselftest updates for 4.6-rc1

2016-03-19 Thread Shuah Khan
Hi Linus, Please pull the following update for 4.6-rc1. diff attached. thanks, -- Shuah - The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) ar

Re: [PATCH v5 3/6] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries

2016-03-19 Thread Franklin S Cooper Jr.
On 03/17/2016 10:06 AM, Rob Herring wrote: > On Mon, Mar 07, 2016 at 07:23:41PM -0600, Franklin S Cooper Jr wrote: >> Devices that utilize the OCP registers and/or PRCM registers and >> register bit fields should be modelled using hwmod. Since eQEP, ePWM and > s/modelled/modeled/ Will fix. > >>

[PATCH v5 5/6] samples: livepatch: mark as livepatch module

2016-03-19 Thread Jessica Yu
Mark the module as a livepatch module so that the module loader can appropriately identify and initialize it. Signed-off-by: Jessica Yu --- samples/livepatch/livepatch-sample.c | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/livepatch/livepatch-sample.c b/samples/livepatch/livepatch

Re: [WTF] utterly tasteless ABI in hfi1 (around ->write()/->write_iter())

2016-03-19 Thread Al Viro
On Wed, Mar 16, 2016 at 09:36:46AM -0700, Linus Torvalds wrote: > On Wed, Mar 16, 2016 at 8:46 AM, Doug Ledford wrote: > > > > If we want to maintain back compatibility, then the qib driver has to > > maintain this interface. We could possibly do a new one as well, but we > > can't remove this one

Re: [PATCH] mm: Export symbols unmapped_area() & unmapped_area_topdown()

2016-03-19 Thread Olu Ogunbowale
On Wed, Mar 16, 2016 at 05:00:41PM -0400, Rik van Riel wrote: > > The drivers appear to require the HMM framework though, > which people are also reluctant to merge without the > drivers. > > How do we get past this chicken & egg situation? I would like to point out that support for HSA varies f

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

2016-03-19 Thread Luis de Bethencourt
On 18/03/16 17:46, Joe Perches wrote: > On Fri, 2016-03-18 at 17:40 +, Luis de Bethencourt wrote: >> On 18/03/16 17:29, Joe Perches wrote: >>> On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: Fix order of mac80211_rx_flags description to match the enum. > [] I want ahead

Re: [PATCH v4 3/7] usb: mux: add common code for Intel dual role port mux

2016-03-19 Thread Chanwoo Choi
Hi Lu, To handle extcon (external connector), I implemented the unique id for each external connector on patch[1] instead of using the ambiguous string type. [1] 2a9de9c0f08d6 (extcon: Use the unique id for external connector instead of string) So I recommend that you should use the unique id

Re: [RFC PATCH v4 6/7] vfio-pci: Allow to mmap MSI-X table if IOMMU_CAP_INTR_REMAP was set

2016-03-19 Thread Alex Williamson
[cc+ Eric, Will] On Mon, 7 Mar 2016 15:48:37 +0800 Yongji Xie wrote: > Current vfio-pci implementation disallows to mmap MSI-X > table in case that user get to touch this directly. > > But we should allow to mmap these MSI-X tables if IOMMU > supports interrupt remapping which can ensure that

[PATCH] xen/events: Mask a moving irq

2016-03-19 Thread Boris Ostrovsky
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 source CPU: evtchn_2l_handle_events() -> generic_handle_irq() -> handle_edge_irq() -> eoi_pirq():

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-19 Thread Ville Syrjälä
On Fri, Mar 18, 2016 at 07:00:29PM +0100, Daniel Vetter wrote: > On Fri, Mar 18, 2016 at 06:41:40PM +0200, Ville Syrjälä wrote: > > On Fri, Mar 18, 2016 at 06:12:35PM +0200, Ville Syrjälä wrote: > > > On Fri, Mar 18, 2016 at 04:13:45PM +0200, Ville Syrjälä wrote: > > > > On Thu, Mar 17, 2016 at 11:

Re: [STLinux Kernel] [PATCH v5 2/7] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver

2016-03-19 Thread Peter Griffin
On Tue, 12 Jan 2016, Lee Jones wrote: > Signed-off-by: Ludovic Barre > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/remoteproc/st-rproc.txt| 41 > ++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/st-rpr

[PATCH v3 3/5] mmc: davinci: fix unwinding in probe

2016-03-19 Thread David Lechner
Unwiding from an error in davinci_mmcsd_probe was a mess. Some errors were not handled and not all paths unwound correctly. Also using devm_ where possible to simplify things. Signed-off-by: David Lechner --- v3 changes: fixed ret = -ENODEV mistake. Updated to apply on top of patch from Peter Uj

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

2016-03-19 Thread Hartley Sweeten
On Wednesday, March 16, 2016 1:51 PM, Arnd Bergmann wrote: > > gcc-6 warns about passing negative signed integer into swab16() > in the dt282x driver: > > drivers/staging/comedi/drivers/dt282x.c: In function 'dt282x_load_changain': > include/uapi/linux/swab.h:14:33: warning: integer overflow in exp

Re: [PATCH 1/2] of: Implement iterator for phandles

2016-03-19 Thread Rob Herring
On Wed, Mar 16, 2016 at 11:42 AM, Joerg Roedel wrote: > From: Joerg Roedel > > Getting the arguments of phandles is somewhat limited at the > moement, because the number of arguments supported by core > code is limited to MAX_PHANDLE_ARGS, which is set to 16 > currently. > > In case of the arm sm

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

2016-03-19 Thread Theodore Ts'o
On Wed, Mar 16, 2016 at 03:45:49PM -0600, Andreas Dilger wrote: > > Clearly, the performance hit of unwritten extent conversion is large > > enough to tempt people to ask for no-hide-stale. But I'd rather hear > > that directly from a developer, Ceph or otherwise. > > I suspect that this gets sig

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

2016-03-19 Thread Maxime Ripard
On Thu, Mar 17, 2016 at 12:54:08PM +0100, Michal Suchanek wrote: > 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

Re: [PATCH v15 1/6] efi: ARM/arm64: ignore DT memory nodes instead of removing them

2016-03-19 Thread Matt Fleming
On Fri, 18 Mar, at 01:31:59PM, Ard Biesheuvel wrote: > > Typically, the UEFI memory map is more restrictive, since it does not > only describe where the memory lives, but also which parts of it the > firmware has claimed for its own use. So if both memory nodes and the > UEFI memory map are availa

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Mike Galbraith
On Fri, 2016-03-18 at 14:32 +0100, Peter Zijlstra wrote: > On Fri, Mar 18, 2016 at 01:39:16PM +0100, Mike Galbraith wrote: > > On Fri, 2016-03-18 at 11:15 +0100, Peter Zijlstra wrote: > > > > Ah, did you actually disable HT in the BIOS, or just skip the HT > > > enumeration by saying nr_cpus=64 (k

Re: [PATCH 6/8] cpufreq/schedutil: sum per-sched class utilization

2016-03-19 Thread Steve Muckle
On 03/16/2016 12:38 AM, Peter Zijlstra wrote: > Somewhere in the giant discussions I mentioned that we should be looking > at a CPPC like interface and pass {min,max} tuples to the cpufreq > selection thingy. > > In that same discussion I also mentioned that we must compute min as the > hard dl re

[PATCH] ARM: dts: rockchip: Add mdio node to ethernet node

2016-03-19 Thread Tomeu Vizoso
So the dwmac device manages to probe again. Signed-off-by: Tomeu Vizoso Fixes: 88f8b1bb41c6 ("stmmac: Fix 'eth0: No PHY found' regression") --- arch/arm/boot/dts/rk3288-rock2-som.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-rock2-som.dtsi b/arch/arm/

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Thomas Gleixner
B1;2802;0cOn Thu, 17 Mar 2016, Peter Zijlstra wrote: > On Thu, Mar 17, 2016 at 11:21:24AM +0100, Thomas Gleixner wrote: > > On Thu, 17 Mar 2016, Peter Zijlstra wrote: > > > > > Could you please try? I'm not sure how this would explain your loop > > > device bug fail, but it certainly pointed towa

<    5   6   7   8   9   10   11   12   13   14   >