[PATCH 3/3] PCI: altera: fix error when INTX is 4

2015-12-03 Thread Ley Foon Tan
PCI interrupt lines start at 1, not at 0. So, creates additional one interrupt when register for irq domain. Error when PCIe devices have 4 INTX: WARNING: CPU: 1 PID: 1 at kernel/irq/irqdomain.c:280 irq_domain_associate+0x17c/0x1cc() error: hwirq 0x4 is too large for dummy Tested on

[PATCH 1/3] PCI: altera: fix incorrect devfn for requester ID

2015-12-03 Thread Ley Foon Tan
Requester ID should use the rootport devfn and it should be always 0. But, devfn argument in these 2 functions can be rootport or endpoint. It causes the issue when accessing configuration register from multi-functions PCIe devices. Tested on Ethernet adapter card with multi-functions.

[net-next v5 3/8] dpaa_eth: add support for S/G frames

2015-12-03 Thread
From: Madalin Bucur Add support for Scatter/Gather (S/G) frames. The FMan can place the frame content into multiple buffers and provide a S/G Table (SGT) into one first buffer with references to the others. Signed-off-by: Madalin Bucur --- .../net/ethernet/freescale/dpaa/dpaa_eth_common.c |

[PATCH 2/3] PCI: altera: check TLP completion status

2015-12-03 Thread Ley Foon Tan
Check TLP packet successful completion status. This fix the issue when accessing multi-function devices in enumeration process, TLP will return error when accessing non-exist function number. Returns PCI error code instead of generic errno. Tested on Ethernet adapter card with multi-functions.

[net-next v5 0/8] dpaa_eth: Add the Freescale DPAA Ethernet driver

2015-12-03 Thread
From: Madalin Bucur This patch series adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version includes changes following the feedback received on previous versions from Eric Dumazet, Bob Cochran, Joe Perches, Paul Bolle, Joakim Tjernlund, Scott

[net-next v5 5/8] dpaa_eth: add ethtool functionality

2015-12-03 Thread
From: Madalin Bucur Add support for basic ethtool operations. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 2 + .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 3 +

[net-next v5 6/8] dpaa_eth: add ethtool statistics

2015-12-03 Thread
From: Madalin Bucur Add a series of counters to be exported through ethtool: - add detailed counters for reception errors; - add detailed counters for QMan enqueue reject events; - count the number of fragmented skbs received from the stack; - count all frames received on the Tx confirmation

Re: [PATCH v6] sched/deadline: fix earliest_dl.next logic

2015-12-03 Thread Luca Abeni
On 12/03/2015 10:42 AM, Wanpeng Li wrote: earliest_dl.next should cache deadline of the earliest ready task that is also enqueued in the pushable rbtree, as pull algorithm uses this information to find candidates for migration: if the earliest_dl.next deadline of source rq is earlier than the

RE: [PATCH] ASoC: da7218: Enable mic level detection reporting to user-space

2015-12-03 Thread Opensource [Adam Thomson]
On December 03, 2015 10:56, Takashi Iwai wrote: > > This patch adds support to the codec driver to handle mic level > > detect related IRQs, and report these to user-space using a uevent > > variable. > > Is the uevent the best way for this? > > > thanks, > > Takashi Well originally I was

[net-next v5 7/8] dpaa_eth: add sysfs exports

2015-12-03 Thread
From: Madalin Bucur Export Frame Queue and Buffer Pool IDs through sysfs. Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Makefile | 2 +- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 3 +

[net-next v5 1/8] devres: add devm_alloc_percpu()

2015-12-03 Thread
From: Madalin Bucur Introduce managed counterparts for alloc_percpu() and free_percpu(). Add devm_alloc_percpu() and devm_free_percpu() into the managed interfaces list. Signed-off-by: Madalin Bucur Tested-by: Madalin-Cristian Bucur --- Documentation/driver-model/devres.txt | 4 +++

[v9, 5/6] fsl/fman: Add FMan Port Support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization

Re: [PATCH v2 2/3] sched/fair: Move hot load_avg into its own cacheline

2015-12-03 Thread Peter Zijlstra
I made this: --- Subject: sched/fair: Move hot load_avg into its own cacheline From: Waiman Long Date: Wed, 2 Dec 2015 13:41:49 -0500 If a system with large number of sockets was driven to full utilization, it was found that the clock tick handling occupied a rather significant proportion of

[net-next v5 8/8] dpaa_eth: add trace points

2015-12-03 Thread
From: Madalin Bucur Add trace points on the hot processing path. Signed-off-by: Ruxandra Ioana Radulescu --- drivers/net/ethernet/freescale/dpaa/Makefile | 1 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 12 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 4 +

[v9, 6/6] fsl/fman: Add FMan MAC driver

2015-12-03 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 988

[net-next v5 4/8] dpaa_eth: add driver's Tx queue selection

2015-12-03 Thread
From: Madalin Bucur Allow the selection of the transmission queue based on the CPU id. The DPAA Ethernet driver defines a ndo_select_queue() callback for optimal selection of the egress FQ. That will override the XPS support for this netdevice and should provide a certain increase in

[v9, 2/6] fsl/fman: Add FMan support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several

[v9, 1/6] fsl/fman: Add FMan MURAM support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by:

[v9, 0/6] Freescale DPAA FMan

2015-12-03 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

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

2015-12-03 Thread Matias Bjørling
On 12/03/2015 11:21 AM, Christoph Hellwig wrote: On Thu, Dec 03, 2015 at 11:09:03AM +0100, Matias Bjørling wrote: Similar to this? For the interface yes. Now just get rid of using nvme_ns entirely - seems like you just want ns_id and lba_shift, and those should fit well into nvm_dev I think.

Re: [alsa-devel] [PATCH] ASoC: mediatek: Use current HW pointer for pointer callback

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 12:01:58 +0100, Mark Brown wrote: > > On Thu, Dec 03, 2015 at 10:41:38AM +0100, Takashi Iwai wrote: > > > While reading this patch, I wondered how regmap can be used safely in > > an irq-disabled context. Mark, do we have any API for that? > > We can use user supplied locks

Re: [dm-devel] [PATCH 0/2] Introduce the request handling for dm-crypt

2015-12-03 Thread Zdenek Kabelac
Dne 3.12.2015 v 11:36 Baolin Wang napsal(a): On 3 December 2015 at 10:56, Baolin Wang wrote: On 3 December 2015 at 03:56, Alasdair G Kergon wrote: On Wed, Dec 02, 2015 at 08:46:54PM +0800, Baolin Wang wrote: These are the benchmarks for request based dm-crypt. Please check it. Now please

Re: [PATCH 2/2] edac: mv64x60: Use platform_register/unregister_drivers()

2015-12-03 Thread Borislav Petkov
On Wed, Dec 02, 2015 at 05:18:58PM +0100, Thierry Reding wrote: > From: Thierry Reding > > These new helpers simplify implementing multi-driver modules and > properly handle failure to register one driver by unregistering all > previously registered drivers. > > Signed-off-by: Thierry Reding >

Re: [PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-03 Thread Sudeep Holla
On 03/12/15 06:05, Viresh Kumar wrote: [...] @Sudeep: What would it take you to use cpufreq-dt for ARM's platforms ? The main difference is that we get the OPPs from the firmware rather than DT. We may just need to abstract that part and we should be able to use it. I will have a look at

Re: [PATCH v2] edac: mpc85xx: Use platform_register/unregister_drivers()

2015-12-03 Thread Borislav Petkov
On Thu, Dec 03, 2015 at 10:57:12AM +0100, Thierry Reding wrote: > From: Thierry Reding > > These new helpers simplify implementing multi-driver modules and > properly handle failure to register one driver by unregistering all > previously registered drivers. > > Reviewed-by: Johannes Thumshirn

Re: [alsa-devel] [PATCH] ASoC: mediatek: Use current HW pointer for pointer callback

2015-12-03 Thread Mark Brown
On Thu, Dec 03, 2015 at 10:41:38AM +0100, Takashi Iwai wrote: > While reading this patch, I wondered how regmap can be used safely in > an irq-disabled context. Mark, do we have any API for that? We can use user supplied locks or spin_lock_irqsave(). signature.asc Description: PGP signature

Re: Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled

2015-12-03 Thread Russell King - ARM Linux
On Thu, Dec 03, 2015 at 08:33:13AM +, Peter Rosin wrote: > I wrote: > > If I enable CONFIG_CPU_SW_DOMAIN_PAN, I sometimes (but not always) get the > > following (or very similar) on boot. > > I should have said "if I don't disable", as the option is "default y". > > Also, if it survives on

Re: [PATCH]mm:Correctly update number of rotated pages on active list.

2015-12-03 Thread Michal Hocko
On Thu 03-12-15 10:08:11, Pradeep Goswami (Pradeep Kumar Goswami) wrote: > This patch corrects the number of pages which are rotated on active list. > The counter for rotated pages effects the number of pages > to be scanned on active pages list in low memory situations. Why this should be

Re: [PATCH v2 2/3] sched/fair: Move hot load_avg into its own cacheline

2015-12-03 Thread Peter Zijlstra
On Wed, Dec 02, 2015 at 01:41:49PM -0500, Waiman Long wrote: > +/* > + * Make sure that the task_group structure is cacheline aligned when > + * fair group scheduling is enabled. > + */ > +#ifdef CONFIG_FAIR_GROUP_SCHED > +static inline struct task_group *alloc_task_group(void) > +{ > + return

Re: [PATCH] ASoC: da7218: Enable mic level detection reporting to user-space

2015-12-03 Thread Takashi Iwai
On Thu, 03 Dec 2015 11:45:50 +0100, Adam Thomson wrote: > > This patch adds support to the codec driver to handle mic level > detect related IRQs, and report these to user-space using a uevent > variable. Is the uevent the best way for this? thanks, Takashi > > Signed-off-by: Adam Thomson

Re: [PATCH 1/4] EDAC: add DDR4 flag

2015-12-03 Thread Borislav Petkov
On Thu, Dec 03, 2015 at 10:48:51AM +0100, Hubert Chrzaniuk wrote: > From: Jim Snow > > Make EDAC aware of DDR4/RDDR4 mem types. > > Signed-off-by: Jim Snow > [hubert.chrzan...@intel.com: patch rebase to 4.4-rc3] > Signed-off-by: Hubert Chrzaniuk > --- > include/linux/edac.h | 6 -- > 1

Re: [PATCH 0/3] fixes to support multi-functions device

2015-12-03 Thread Ley Foon Tan
On Thu, Dec 3, 2015 at 5:54 PM, Ley Foon Tan wrote: > This series of patch fixes the issues when work with multi-functions PCIe > devices. Host controller can't access to endpoint with non-zero devfn, due to > incorrect rootport devfn. It also add checking for TLP status and fix issue in >

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-03 Thread Graeme Gregory
On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote: > Add support for getting the PHY devices on an MDIO bus by ACPI. > Currently many of the ethernet drivers are open coding a solution > for reading data out of ACPI to find the correct PHY device. > This patch implements a set of common

Re: [PATCH] drm/qxl: fix cursor position with non-zero hotspot

2015-12-03 Thread John Keeping
On Wed, 18 Nov 2015 13:58:23 +0100, Daniel Vetter wrote: > On Wed, Nov 18, 2015 at 11:17:25AM +, John Keeping wrote: > > The SPICE protocol considers the position of a cursor to be the > > location of its active pixel on the display, so the cursor is drawn > > with its top-left corner at "(x

[PATCH] ASoC: da7218: Enable mic level detection reporting to user-space

2015-12-03 Thread Adam Thomson
This patch adds support to the codec driver to handle mic level detect related IRQs, and report these to user-space using a uevent variable. Signed-off-by: Adam Thomson --- sound/soc/codecs/da7218.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git

[PATCHv1] x86: rtc_cmos platform device requires legacy irqs

2015-12-03 Thread David Vrabel
Adding the rtc platform device when there are no legacy irqs (no legacy PIC) causes a conflict with other devices that end up using the same irq number. In a single VCPU Xen PV guest we should have: /proc/interrupts: CPU0 0: 4934 xen-percpu-virq timer0 1: 0

Re: [PATCH] leds: sunfire: Use platform_register/unregister_drivers()

2015-12-03 Thread Jacek Anaszewski
On 12/02/2015 05:27 PM, Thierry Reding wrote: From: Thierry Reding These new helpers simplify implementing multi-driver modules and properly handle failure to register one driver by unregistering all previously registered drivers. Signed-off-by: Thierry Reding ---

[PATCH v4 0/4] drm: Add support for the ARM HDLCD display controller

2015-12-03 Thread Liviu Dudau
This series adds support for ARM's HDLCD display controller found in Juno and ARM TC2 Coretile. The HDLCD outputs an RGB stream that feeds into a single digital encoder (DVI or HDMI). This series depends on Sudeep Holla's SCPI driver (now in mainline) and on the tda998x patches that have been

[PATCH v4 1/4] drm: arm: Add DT bindings documentation for HDLCD driver.

2015-12-03 Thread Liviu Dudau
Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Liviu Dudau Acked-by: Rob Herring --- .../devicetree/bindings/display/arm,hdlcd.txt | 79 ++ 1 file changed, 79 insertions(+) create mode 100644

[PATCH v4 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-03 Thread Liviu Dudau
The HDLCD controller is a display controller that supports resolutions up to 4096x4096 pixels. It is present on various development boards produced by ARM Ltd and emulated by the latest Fast Models from the company. Cc: David Airlie Signed-off-by: Liviu Dudau Acked-by: Daniel Vetter ---

[PATCH v4 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver.

2015-12-03 Thread Liviu Dudau
Update MAINTAINERS file for HDLCD driver. Cc: Andrew Morton Cc: Arnd Bergmann Cc: Mauro Carvalho Chehab Cc: Greg KH Cc: Joe Perches Cc: Jiri Slaby Signed-off-by: Liviu Dudau --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 3/4] arm64: Juno: Add HDLCD support to the Juno boards.

2015-12-03 Thread Liviu Dudau
ARM's Juno board has two HDLCD controllers, each linked to an NXP TDA19988 HDMI transmitter that provides output encoding. Add them to the device tree. Signed-off-by: Liviu Dudau --- arch/arm64/boot/dts/arm/juno-base.dtsi | 46 +++--- 1 file changed, 42

[PATCH 7/7] perf/x86/intel/bts: Move transaction start/stop to start/stop callbacks

2015-12-03 Thread Alexander Shishkin
As per AUX buffer management requirement, AUX output has to happen between pmu::start and pmu::stop calls so that perf_event_stop() actually stops it and therefore perf can free the aux data after it has called pmu::stop. This patch moves perf_aux_output_{begin,end} from bts_event_{add,del} to

[PATCH 6/7] perf/x86/intel/pt: Move transaction start/stop to pmu start/stop callbacks

2015-12-03 Thread Alexander Shishkin
As per AUX buffer management requirement, AUX output has to happen between pmu::start and pmu::stop calls so that perf_event_stop() actually stops it and therefore perf can free the aux data after it has called pmu::stop. This patch moves perf_aux_output_{begin,end} from pt_event_{add,del} to

Re: [PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-03 Thread Viresh Kumar
On 03-12-15, 11:26, Ben Gamari wrote: > Viresh Kumar writes: > > But, before I start reviewing this series, I have few comments. > > - We weren't able to use cpufreq-dt driver for big LITTLE platforms > > earlier, as it never had multi cluster support and we wanted > > clock-sharing

Re: [PATCH v3 1/7] mm/compaction: skip useless pfn when updating cached pfn

2015-12-03 Thread Vlastimil Babka
On 12/03/2015 08:11 AM, Joonsoo Kim wrote: > Cached pfn is used to determine the start position of scanner > at next compaction run. Current cached pfn points the skipped pageblock > so we uselessly checks whether pageblock is valid for compaction and > skip-bit is set or not. If we set scanner's

[PATCH 2/7] perf: Generalize task_function_call()ers

2015-12-03 Thread Alexander Shishkin
A number of places in perf core (perf_event_enable, perf_event_disable, perf_install_in_context, perf_remove_from_context) are performing the same tapdance around task_function_call() to modify an event and/or its context on its target cpu. The sequence mainly consists of re-trying

Re: [dm-devel] [PATCH 0/2] Introduce the request handling for dm-crypt

2015-12-03 Thread Baolin Wang
On 3 December 2015 at 10:56, Baolin Wang wrote: > On 3 December 2015 at 03:56, Alasdair G Kergon wrote: >> On Wed, Dec 02, 2015 at 08:46:54PM +0800, Baolin Wang wrote: >>> These are the benchmarks for request based dm-crypt. Please check it. >> >> Now please put request-based dm-crypt completely

[PATCH 5/7] perf: Document aux api usage

2015-12-03 Thread Alexander Shishkin
In order to ensure safe aux buffer management, we rely on the assumption that pmu::stop() stops its ongoing aux transaction and not just the hw. This patch documents this requirement for perf_aux_output_{begin,end}() apis. Signed-off-by: Alexander Shishkin Cc: Mathieu Poirier ---

[PATCH 4/7] perf: Free aux pages in unmap path

2015-12-03 Thread Alexander Shishkin
Now that we can ensure that when ring buffer's aux area is on the way to getting unmapped new transactions won't start, and we have means of stopping the running transactions, we can do the latter to the events on this ring buffer's event list and then safely free the aux pages and corresponding

Re: [RFC v03 03/15] dmaengine: core: Introduce new, universal API to request a channel

2015-12-03 Thread Peter Ujfalusi
On 12/02/2015 04:35 PM, Andy Shevchenko wrote: >> +const static struct dma_filter_map *dma_filter_match(struct dma_device >> *device, >> + const char *name, >> + struct device *dev) >> +{ >> + const

Re: Irritating kernel message 'intel_rapl: intel_rapl: no valid rapl domains found in package 0'

2015-12-03 Thread Borislav Petkov
+ tip guys and lkml. On Thu, Dec 03, 2015 at 11:12:21AM +0100, Hannes Reinecke wrote: > Hi Jacob, > > Boris told me to contact you, so here we go: > > Booting a 3.12 kernel under qemu with a stock tianocore UEFI BIOS results in > this message: > > kernel: intel_rapl: no valid rapl domains

Re: [PATCH v2 4/4] ARM: at91/dt: sama5d2 Xplained: pmic needs a specific sda hold time

2015-12-03 Thread Nicolas Ferre
Le 03/12/2015 10:53, Ludovic Desroches a écrit : > Data have to be held longer for the PMIC device. The ACT8945A > datasheet claims that minimum SDA data hold time is about 300 ns. > > Signed-off-by: Ludovic Desroches Same here, we'll take this one with at91 material in at91-4.5-dt branch soon.

Re: [PATCH v2 3/4] ARM: at91/dt: sama5d4: update i2c compatible string

2015-12-03 Thread Nicolas Ferre
Le 03/12/2015 10:53, Ludovic Desroches a écrit : > A new compatible string has been introduced: atmel,sama5d4-i2c. It > allows to use the i2c-sda-hold-time-ns property if needed. > > Signed-off-by: Ludovic Desroches Wolfram, we'll take this one with us in the at91 branches that will go into

Re: [RFC PATCH] perf/core: Put size of a sample at the end of it

2015-12-03 Thread Wangnan (F)
On 2015/12/3 18:08, Peter Zijlstra wrote: On Wed, Dec 02, 2015 at 01:38:19PM +, Wang Nan wrote: This sloution requires user program (perf) do more things. At least following things and limitations should be considered: 1. Before reading such ring buffer, perf must ensure all events

[PATCH 3/7] perf: Add a helper to stop running events

2015-12-03 Thread Alexander Shishkin
This patch adds a helper function that stops running events without changing their state. The use case at the moment is stopping active AUX events while their ring buffer's AUX area is getting unmapped. Since we know that a new AUX transaction can't be started once ring buffer's aux_mmap_count

[PATCH 1/7] perf: Refuse to begin aux transaction after aux_mmap_count drops

2015-12-03 Thread Alexander Shishkin
When ring buffer's aux area is unmapped and aux_mmap_count drops to zero, new aux transactions into this buffer can still be started, even though the buffer in en route to deallocation. This patch adds a check to perf_aux_output_begin() for aux_mmap_count being zero, in which case there is no

[PATCH 0/7] perf: Untangle aux refcounting

2015-12-03 Thread Alexander Shishkin
Hi Peter, As we discussed, here's a patchset that tweaks aux refcounting so that freeing stuff in NMI context is no longer possible. Also, as discussed, I tried to generalize the unlock context - task_function_call - lock context - check stuff - repeat sequence into a helper and converted the

Re: [PATCH v2 2/4] i2c: at91: update bindings documention

2015-12-03 Thread Nicolas Ferre
Le 03/12/2015 10:53, Ludovic Desroches a écrit : > The i2c-sda-hold-time-ns property is supported from atmel,sama5d4-i2c. > > Signed-off-by: Ludovic Desroches > Acked-by: Rob Herring Acked-by: Nicolas Ferre > --- > Documentation/devicetree/bindings/i2c/i2c-at91.txt | 5 - > 1 file

Re: [PATCH 02/12] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-12-03 Thread Ben Gamari
Krzysztof Kozlowski writes: > On 03.12.2015 06:19, Ben Gamari wrote: >> From: Thomas Abraham >> >> With the addition of the new Samsung specific cpu-clock type, the >> arm clock can be represented as a cpu-clock type. Add the CPU clock >> configuration data and instantiate the CPU clock type

Re: [PATCH v2 1/4] i2c: at91: add support for the HOLD field

2015-12-03 Thread Nicolas Ferre
Le 03/12/2015 10:53, Ludovic Desroches a écrit : > The hold field allows to configure the data hold time which can be set > with the help of the generic binding 'i2c-sda-hold-time-ns'. This > feature has been introduced with SAMA5D4 SoC family. > > Signed-off-by: Ludovic Desroches Acked-by:

Re: [PATCH v5 0/12] cpufreq: Add support for Exynos 5800, 5420, and 5422

2015-12-03 Thread Ben Gamari
Viresh Kumar writes: > Hi Ben, Hi Viresh, > On 02-12-15, 22:19, Ben Gamari wrote: >> >> This patch series adds cpufreq support for the Exynos 5800, 5420, and 5422 >> SOCs. In particular, it adds support for operating-points-v2 bindings to the >> arm-big-little cpufreq driver and updates the

Re: [PATCH v4 4/5] ARM: dts: DRA7: add entry for qspi mmap region

2015-12-03 Thread Vignesh R
On 12/01/2015 10:09 PM, Tony Lindgren wrote: > * Vignesh R [151130 20:46]: >> On 12/01/2015 04:04 AM, Tony Lindgren wrote: >>> >>> Actually none of the IO areas above are within the same interconnect target: >>> >>> 0x4b30 QSPI0 address space in L3 main interconnect >>> 0x5c00 QSPI1

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

2015-12-03 Thread Christoph Hellwig
On Thu, Dec 03, 2015 at 11:09:03AM +0100, Matias Bjørling wrote: > Similar to this? For the interface yes. Now just get rid of using nvme_ns entirely - seems like you just want ns_id and lba_shift, and those should fit well into nvm_dev I think. -- To unsubscribe from this list: send the line

Re: [PATCH] PM / Domains: Fix bad of_node_put() in failure paths of genpd_dev_pm_attach()

2015-12-03 Thread Ulf Hansson
On 1 December 2015 at 18:39, Eric Anholt wrote: > It looks like these meant to be unreffing the > of_parse_phandle_with_args() node, since the error paths above it > don't do of_node_put. That function returns a new ref in pd_args.np, > though, not a new ref on dev->of_node. Also, it would have

Re: [lkp] [mm, page_alloc] d0164adc89: -100.0% fsmark.app_overhead

2015-12-03 Thread Mel Gorman
On Thu, Dec 03, 2015 at 04:46:53PM +0800, Huang, Ying wrote: > Mel Gorman writes: > > > On Wed, Dec 02, 2015 at 03:15:29PM +0100, Michal Hocko wrote: > >> > > I didn't mention this allocation failure because I am not sure it is > >> > > really related. > >> > > > >> > > >> > I'm fairly sure it

[PATCH]mm:Correctly update number of rotated pages on active list.

2015-12-03 Thread Pradeep Goswami (Pradeep Kumar Goswami)
This patch corrects the number of pages which are rotated on active list. The counter for rotated pages effects the number of pages to be scanned on active pages list in low memory situations. Signed-off-by: Pradeep Goswami Cc: Rebecca Schultz Zavin Cc: Vladimir Davydov Cc: Andrew Morton ---

Re: [PATCH 1/3] Device tree binding documentation for chromeos-firmware

2015-12-03 Thread Martyn Welch
On 02/12/15 15:15, Rob Herring wrote: On Tue, Dec 01, 2015 at 07:12:49PM +, Martyn Welch wrote: This patch adds documentation for the chromeos-firmware binding. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicet...@vger.kernel.org

[PATCH 3/3] PCI: altera: fix error when INTX is 4

2015-12-03 Thread Ley Foon Tan
PCI interrupt lines start at 1, not at 0. So, change INTX_NUM to 5. Error when PCIe devices have 4 INTX: WARNING: CPU: 1 PID: 1 at kernel/irq/irqdomain.c:280 irq_domain_associate+0x17c/0x1cc() error: hwirq 0x4 is too large for dummy Tested on Ethernet adapter card with multi-functions.

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

2015-12-03 Thread Matias Bjørling
On 12/03/2015 10:57 AM, Christoph Hellwig wrote: On Thu, Dec 03, 2015 at 10:52:46AM +0100, Matias Bjørling wrote: The identify geometry command and bad block commands are part of the admin command set. Surely, as all these take a ns id, they can be moved and be accessed naturally through the

Re: [PATCH v2 1/4] i2c: at91: add upport for the HOLD field

2015-12-03 Thread Ludovic Desroches
Sorry forget this one, I have sent an old version. On Thu, Dec 03, 2015 at 10:53:51AM +0100, Ludovic Desroches wrote: > The hold field allows to configure the data hold time which can be set > with the help of the generic binding 'i2c-sda-hold-time-ns'. This > feature has been introduced with

Re: [RFC PATCH] perf/core: Put size of a sample at the end of it

2015-12-03 Thread Peter Zijlstra
On Wed, Dec 02, 2015 at 01:38:19PM +, Wang Nan wrote: > This sloution requires user program (perf) do more things. At least > following things and limitations should be considered: > > 1. Before reading such ring buffer, perf must ensure all events which > may output to it is already

[PATCH v2] edac: mpc85xx: Use platform_register/unregister_drivers()

2015-12-03 Thread Thierry Reding
From: Thierry Reding These new helpers simplify implementing multi-driver modules and properly handle failure to register one driver by unregistering all previously registered drivers. Reviewed-by: Johannes Thumshirn Signed-off-by: Thierry Reding --- Changes in v2: - fixup commit subject and

Re: [PATCH] blk-mq: Avoid memoryless numa node encoded in hctx numa_node

2015-12-03 Thread Sagi Grimberg
Looks good, Reviewed-by: Sagi Grimberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] blk-mq: Reuse hardware context cpumask for tags

2015-12-03 Thread Sagi Grimberg
Looks good, Reviewed-by: Sagi Grimberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

RE: [net-next v4 4/8] dpaa_eth: add driver's Tx queue selection

2015-12-03 Thread Madalin-Cristian Bucur
> -Original Message- > From: Wood Scott-B07421 > Sent: Wednesday, December 02, 2015 11:41 PM > > On Mon, 2015-11-02 at 19:31 +0200, Madalin Bucur wrote: > > Allow the selection of the transmission queue based on the CPU id. > > Explain why. I'll add more details in the commit log. This

Re: [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-03 Thread Liviu Dudau
On Wed, Dec 02, 2015 at 05:21:44PM +, Daniel Stone wrote: > Hi Liviu, Hi Daniel, > > On 2 December 2015 at 12:23, Liviu Dudau wrote: > > + if (irq_status & HDLCD_INTERRUPT_VSYNC) { > > + unsigned long flags; > > + > > + drm_handle_vblank(drm, 0); > > + > >

Re: [PATCH 1/2] watchdog: introduce touch_softlockup_watchdog_sched()

2015-12-03 Thread Peter Zijlstra
On Thu, Dec 03, 2015 at 10:33:50AM +0100, Peter Zijlstra wrote: > On Wed, Dec 02, 2015 at 07:28:10PM -0500, Tejun Heo wrote: > > Hello, > > > > There haven't been too many workqueue stall bugs; however, good part > > of them have been pretty painful to track down because there's no > > lockup

Re: + printk-do-cond_resched-between-lines-while-outputting-to-consoles.patch added to -mm tree

2015-12-03 Thread Jan Kara
On Thu 03-12-15 11:39:33, Sergey Senozhatsky wrote: > On (12/03/15 10:11), Sergey Senozhatsky wrote: > > On (12/02/15 15:57), a...@linux-foundation.org wrote: > > [..] > > > @console_may_schedule tracks whether console_sem was acquired through lock > > > or trylock. If the former, we're inside a

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

2015-12-03 Thread Christoph Hellwig
On Thu, Dec 03, 2015 at 10:52:46AM +0100, Matias Bjørling wrote: > The identify geometry command and bad block commands are part of the admin > command set. Surely, as all these take a ns id, they can be moved and be > accessed naturally through the user queues. Nah, these admin commands should

[PATCH 1/3] PCI: altera: fix incorrect devfn for requester ID

2015-12-03 Thread Ley Foon Tan
Requester ID should use the rootport devfn and it should be always 0. But, devfn argument in these 2 functions can be rootport or endpoint. It causes the issue when accessing configuration register from multi-functions PCIe devices. Tested on Ethernet adapter card with multi-functions.

[PATCH 0/3] fixes to support multi-functions device

2015-12-03 Thread Ley Foon Tan
This series of patch fixes the issues when work with multi-functions PCIe devices. Host controller can't access to endpoint with non-zero devfn, due to incorrect rootport devfn. It also add checking for TLP status and fix issue in interrupt probing. Tested on Ethernet adapter card with

[PATCH 2/3] PCI: altera: check TLP completion status

2015-12-03 Thread Ley Foon Tan
Check TLP packet successful completion status. This fix the issue when accessing multi-function devices in enumeration process, TLP will return error when accessing non-exist function number. Returns PCI error code instead of generic errno. Tested on Ethernet adapter card with multi-functions.

[PATCH v2 4/4] ARM: at91/dt: sama5d2 Xplained: pmic needs a specific sda hold time

2015-12-03 Thread Ludovic Desroches
Data have to be held longer for the PMIC device. The ACT8945A datasheet claims that minimum SDA data hold time is about 300 ns. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 3/4] ARM: at91/dt: sama5d4: update i2c compatible string

2015-12-03 Thread Ludovic Desroches
A new compatible string has been introduced: atmel,sama5d4-i2c. It allows to use the i2c-sda-hold-time-ns property if needed. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/sama5d4.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 1/4] i2c: at91: add upport for the HOLD field

2015-12-03 Thread Ludovic Desroches
The hold field allows to configure the data hold time which can be set with the help of the generic binding 'i2c-sda-hold-time-ns'. This feature has been introduced with SAMA5D4 SoC family. Signed-off-by: Ludovic Desroches --- drivers/i2c/busses/i2c-at91.c | 53

[PATCH v2 2/4] i2c: at91: update bindings documention

2015-12-03 Thread Ludovic Desroches
The i2c-sda-hold-time-ns property is supported from atmel,sama5d4-i2c. Signed-off-by: Ludovic Desroches Acked-by: Rob Herring --- Documentation/devicetree/bindings/i2c/i2c-at91.txt | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v2 1/4] i2c: at91: add support for the HOLD field

2015-12-03 Thread Ludovic Desroches
The hold field allows to configure the data hold time which can be set with the help of the generic binding 'i2c-sda-hold-time-ns'. This feature has been introduced with SAMA5D4 SoC family. Signed-off-by: Ludovic Desroches --- drivers/i2c/busses/i2c-at91.c | 53

[PATCH v2 0/4] i2c: at91: add support for SDA HOLD

2015-12-03 Thread Ludovic Desroches
Changes: - from v1: - fix typos, - change MAX_HOLD macro to follow Nicolas' advice, - make it clear that sama5d2 also support i2c-sda-hold-time-ns. Ludovic Desroches (4): i2c: at91: add support for the HOLD field i2c: at91: update bindings documention ARM: at91/dt: sama5d4: update i2c

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

2015-12-03 Thread Matias Bjørling
On 12/03/2015 10:06 AM, Christoph Hellwig wrote: On Thu, Dec 03, 2015 at 09:39:01AM +0100, Matias Bjørling wrote: A little crazy yes. The reason is that the NVMe admin queues and NVMe user queues are driven by different request queues. Previously this was patched up with having two queues in

Re: [PATCH v3 14/19] irqchip/mips-gic: Use gic_vpes instead of NR_CPUS

2015-12-03 Thread Qais Yousef
On 12/02/2015 06:28 PM, Sergei Shtylyov wrote: @@ -1084,7 +1084,7 @@ static void __init __gic_init(unsigned long gic_base_addr, gic_ipi_domain->bus_token = DOMAIN_BUS_IPI; /* Make the last 2 * NR_CPUS available for IPIs */ Looks like you forgot to also change this comment...

[PATCH 2/4] sb_edac: virtualize several hard-coded functions

2015-12-03 Thread Hubert Chrzaniuk
From: Jim Snow SAD limit, interleave mode and DRAM related functionalities are now virtualized, so that overriding them is easier. Signed-off-by: Jim Snow [hubert.chrzan...@intel.com: patch rebase to 4.4-rc3] Signed-off-by: Hubert Chrzaniuk --- drivers/edac/sb_edac.c | 59

[PATCH 3/4] sb_edac: support for duplicate device IDs

2015-12-03 Thread Hubert Chrzaniuk
From: Jim Snow Add options to sbridge_get_all_devices to allow for duplicate device IDs and devices that are scattered across mulitple PCI buses. Signed-off-by: Jim Snow [hubert.chrzan...@intel.com: patch rebase to 4.4-rc3] Signed-off-by: Hubert Chrzaniuk --- drivers/edac/sb_edac.c | 40

[PATCH 1/4] EDAC: add DDR4 flag

2015-12-03 Thread Hubert Chrzaniuk
From: Jim Snow Make EDAC aware of DDR4/RDDR4 mem types. Signed-off-by: Jim Snow [hubert.chrzan...@intel.com: patch rebase to 4.4-rc3] Signed-off-by: Hubert Chrzaniuk --- include/linux/edac.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/edac.h

[PATCH 0/4] Xeon PHI Knights Landing support for EDAC module

2015-12-03 Thread Hubert Chrzaniuk
Series of patches that enable support for Knights Landing processor which is based on Silvermont microarchitecture. First 3 patches are pretty much straightforward and self-explantory. Last one is the biggest, however, is logically consistent and breaking into many smaller patches does not make

[PATCH 4/4] sb_edac: add Knights Landing (Xeon Phi gen 2) support

2015-12-03 Thread Hubert Chrzaniuk
From: Jim Snow Knights Landing is gen next architecture for HPC market. KNL introduces concept of a tile and CHA - Cache/Home Agent for memory accesses. Some things are fixed in KNL: () There's single DIMM slot per channel () There's 2 memory controllers with 3 channels each, however, from

Re: [PATCH 4/4] ARM: dts: sun9i: Add NMI controller device node

2015-12-03 Thread Maxime Ripard
On Thu, Dec 03, 2015 at 04:20:13PM +0800, Chen-Yu Tsai wrote: > The Allwinner A80 SoC has an NMI controller. NMI is an external > interrupt pin exclusely used with PMICs and other system critical > peripherals (such as RTC) in Allwinner's reference designs. > > Signed-off-by: Chen-Yu Tsai

Re: [PATCH 3/4] irqchip/sunxi-nmi: Support sun9i A80 NMI controller

2015-12-03 Thread Maxime Ripard
On Thu, Dec 03, 2015 at 04:20:12PM +0800, Chen-Yu Tsai wrote: > The A80 moves the NMI controller into the PRCM address space, and also > rearranges the registers. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel

Re: [PATCH 2/4] irqchip/sunxi-nmi: Add sun9i-a80 variant to binding doc

2015-12-03 Thread Maxime Ripard
On Thu, Dec 03, 2015 at 04:20:11PM +0800, Chen-Yu Tsai wrote: > sun9i A80 introduces a new variant of the NMI controller. The registers > are reordered, but the functionality remains the same. > > Add a new compatible string for it. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard

Re: [PATCH 1/4] irqchip/sunxi-nmi: Rename binding doc filename to allwinner,sunxi-nmi.txt

2015-12-03 Thread Maxime Ripard
On Thu, Dec 03, 2015 at 04:20:10PM +0800, Chen-Yu Tsai wrote: > The NMI controller is found in all Allwinner multi-core SoCs. It is not > limited to sun[67]i, nor is it always found in the "system controller" > block. On sun[68]i, it is in the RTC block, while on sun9i, it is in the > PRCM block.

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