[PATCH V8 0/5] ASoC: QCOM: Add support for ipq806x SOC

2015-03-13 Thread Kenneth Westfield
From: Kenneth Westfield This patch series adds support for I2S audio playback on the Storm board, which contains a Qualcomm Technologies ipq806x SOC and a Maxim max98357a DAC/amp. The ipq806x SOC has audio-related hardware blocks in its low-power audio subsystem (or LPASS). One of the relevant

[PATCH V8 5/5] ARM: dts: Model IPQ LPASS audio hardware

2015-03-13 Thread Kenneth Westfield
From: Kenneth Westfield Model the Qualcomm Technologies LPASS hardware for the ipq806x SOC. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[PATCH V8 2/5] ASoC: qcom: Add Storm machine driver

2015-03-13 Thread Kenneth Westfield
From: Kenneth Westfield Add machine driver for the Storm board with the IPQ806X SOC connected to the MAX98357A DAC. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/storm.c | 162 + 1 file changed, 162 insertions(+)

[PATCH V8 4/5] ASoC: Allow for building QCOM drivers

2015-03-13 Thread Kenneth Westfield
From: Kenneth Westfield Allow for the Qualcomm Technologies ASoC drivers to build. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index

[PATCH V8 3/5] ASoC: qcom: Add ability to build QCOM drivers

2015-03-13 Thread Kenneth Westfield
From: Kenneth Westfield Define the LPASS platform driver, the LPASS CPU DAI driver and the Storm machine driver configurations, and how to build them. Signed-off-by: Kenneth Westfield Acked-by: Banajit Goswami --- sound/soc/qcom/Kconfig | 25 +

Re: [PATCH v5 02/10] mfd: syscon: Add atmel system timer registers definition

2015-03-13 Thread Lee Jones
On Thu, 12 Mar 2015, Alexandre Belloni wrote: > AT91RM920 has a memory range reserved for timer and watchdog configuration. > Expose those registers so that drivers can make use of the system timer syscon > declared in at91 DTs. > > Signed-off-by: Alexandre Belloni > Acked-by: Lee Jones > ---

Re: Alternative to signals/sys_membarrier() in liburcu

2015-03-13 Thread Ingo Molnar
* Mathieu Desnoyers wrote: > - Original Message - > > From: "Linus Torvalds" > > To: "Mathieu Desnoyers" > > Cc: "Michael Sullivan" , lttng-...@lists.lttng.org, > > "LKML" , "Paul E. > > McKenney" , "Peter Zijlstra" > > , "Ingo Molnar" , > > "Thomas Gleixner" , "Steven Rostedt" > >

[PATCH kernel v6 01/29] vfio: powerpc/spapr: Move page pinning from arch code to VFIO IOMMU driver

2015-03-13 Thread Alexey Kardashevskiy
This moves page pinning (get_user_pages_fast()/put_page()) code out of the platform IOMMU code and puts it to VFIO IOMMU driver where it belongs to as the platform code does not deal with page pinning. This makes iommu_take_ownership()/iommu_release_ownership() deal with the IOMMU table bitmap

[PATCH kernel v6 05/29] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-03-13 Thread Alexey Kardashevskiy
There moves locked pages accounting to helpers. Later they will be reused for Dynamic DMA windows (DDW). This reworks debug messages to show the current value and the limit. This stores the locked pages number in the container so when unlocking the iommu table pointer won't be needed. This does

[PATCH kernel v6 29/29] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-03-13 Thread Alexey Kardashevskiy
This adds create/remove window ioctls to create and remove DMA windows. sPAPR defines a Dynamic DMA windows capability which allows para-virtualized guests to create additional DMA windows on a PCI bus. The existing linux kernels use this new window to map the entire guest memory and switch to the

[PATCH kernel v6 11/29] powerpc/iommu: Move tce_xxx callbacks from ppc_md to iommu_table

2015-03-13 Thread Alexey Kardashevskiy
This adds a iommu_table_ops struct and puts pointer to it into the iommu_table struct. This moves tce_build/tce_free/tce_get/tce_flush callbacks from ppc_md to the new struct where they really belong to. This adds the requirement for @it_ops to be initialized before calling iommu_init_table() to

[PATCH kernel v6 27/29] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework ownership

2015-03-13 Thread Alexey Kardashevskiy
Before the IOMMU user (VFIO) would take control over the IOMMU table belonging to a specific IOMMU group. This approach did not allow sharing tables between IOMMU groups attached to the same container. This introduces a new IOMMU ownership flavour when the user can not just control the existing

[PATCH kernel v6 10/29] powerpc/powernv: Do not set "read" flag if direction==DMA_NONE

2015-03-13 Thread Alexey Kardashevskiy
Normally a bitmap from the iommu_table is used to track what TCE entry is in use. Since we are going to use iommu_table without its locks and do xchg() instead, it becomes essential not to put bits which are not implied in the direction flag. This adds iommu_direction_to_tce_perm() (its

[PATCH kernel v6 13/29] powerpc/spapr: vfio: Switch from iommu_table to new iommu_table_group

2015-03-13 Thread Alexey Kardashevskiy
Modern IBM POWERPC systems support multiple (currently two) TCE tables per IOMMU group (a.k.a. PE). This adds a iommu_table_group container for TCE tables. Right now just one table is supported. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/iommu.h| 18 +++--

[PATCH] axp288_fuel_gauge: Add original author details

2015-03-13 Thread Ramakrishna Pallala
Add the original author details of the axp288_fuel_gauge driver. Signed-off-by: Ramakrishna Pallala --- drivers/power/axp288_fuel_gauge.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/axp288_fuel_gauge.c b/drivers/power/axp288_fuel_gauge.c index c86e709..fc38979 100644

[PATCH kernel v6 09/29] vfio: powerpc/spapr: Rework attach/detach

2015-03-13 Thread Alexey Kardashevskiy
This is to make extended ownership and multiple groups support patches simpler for review. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy --- drivers/vfio/vfio_iommu_spapr_tce.c | 38 ++--- 1 file changed, 23 insertions(+), 15 deletions(-) diff

Re: [PATCH 0/3] clk: divider: three exactness fixes (and a rant)

2015-03-13 Thread Philipp Zabel
Am Freitag, den 13.03.2015, 08:50 +0100 schrieb Uwe Kleine-König: > On Thu, Mar 12, 2015 at 09:57:53AM +0100, Philipp Zabel wrote: > > Am Mittwoch, den 11.03.2015, 18:21 -0700 schrieb Stephen Boyd: > > [...] > > > Why does Philipp like 110Hz the most? Where is the desire for that rate > > > coming

[PATCH kernel v6 28/29] vfio: powerpc/spapr: Support multiple groups in one container if possible

2015-03-13 Thread Alexey Kardashevskiy
At the moment only one group per container is supported. POWER8 CPUs have more flexible design and allows naving 2 TCE tables per IOMMU group so we can relax this limitation and support multiple groups per container. This adds TCE table descriptors to a container and uses iommu_table_group_ops to

[PATCH kernel v6 23/29] powerpc/powernv: Implement multilevel TCE tables

2015-03-13 Thread Alexey Kardashevskiy
TCE tables might get too big in case of 4K IOMMU pages and DDW enabled on huge guests (hundreds of GB of RAM) so the kernel might be unable to allocate contiguous chunk of physical memory to store the TCE table. To address this, POWER8 CPU (actually, IODA2) supports multi-level TCE tables, up to

[PATCH kernel v6 24/29] powerpc/powernv: Change prototypes to receive iommu

2015-03-13 Thread Alexey Kardashevskiy
This changes few functions to receive a iommu_table_group pointer rather than PE as they are going to be a part of upcoming iommu_table_group_ops callback set. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c | 13 - 1 file changed, 8 insertions(+),

[PATCH kernel v6 26/29] vfio: powerpc/spapr: Define v2 IOMMU

2015-03-13 Thread Alexey Kardashevskiy
The existing IOMMU requires VFIO_IOMMU_ENABLE call to enable actual use of the container (i.e. call DMA map/unmap) and this is where we check the rlimit for locked pages. It assumes that only as much memory as a default DMA window can be mapped. Every DMA map/unmap request will do

[update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-13 Thread Hanjun Guo
From: Graeme Gregory ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code will call acpi_target_system_state() and acpi_sleep_init() for device power management, so introduce CONFIG_ACPI_GENERIC_SLEEP and select it for x86 and ia64 only to make sleep functions available,

[PATCH kernel v6 21/29] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_set_window

2015-03-13 Thread Alexey Kardashevskiy
This is a part of moving DMA window programming to an iommu_ops callback. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c | 85 --- 1 file changed, 56 insertions(+), 29 deletions(-) diff --git

[PATCH kernel v6 07/29] vfio: powerpc/spapr: Moving pinning/unpinning to helpers

2015-03-13 Thread Alexey Kardashevskiy
This is a pretty mechanical patch to make next patches simpler. New tce_iommu_unuse_page() helper does put_page() now but it might skip that after the memory registering patch applied. As we are here, this removes unnecessary checks for a value returned by pfn_to_page() as it cannot possibly

[PATCH kernel v6 17/29] powerpc/powernv/ioda/ioda2: Rework tce_build()/tce_free()

2015-03-13 Thread Alexey Kardashevskiy
The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is supposed to be called on IODA1/2 and not called on p5ioc2. It receives start and end host addresses of TCE table. This approach makes it possible to get pnv_pci_ioda_tce_invalidate() unintentionally called on p5ioc2. Another

Re: [PATCHv2 7/7] zram: deprecate zram attrs sysfs nodes

2015-03-13 Thread Sergey Senozhatsky
On (03/13/15 16:39), Minchan Kim wrote: > AFAIK, kernel rule doesn't prefer multi-line for printk string > because it makes hard to work with grep. Anyway, it's trivial. > For example, checkpatch will emit > > WARNING: quoted string split across lines > yes, exactly. that's why I mentioned it

[PATCH kernel v6 25/29] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-03-13 Thread Alexey Kardashevskiy
This extends iommu_table_group_ops by a set of callbacks to support dynamic DMA windows management. query() returns IOMMU capabilities such as default DMA window address and supported number of DMA windows and TCE table levels. create_table() creates a TCE table with specific parameters. it

Re: [PATCH 1/4 V2] ocfs2: use retval instead of status for checking error

2015-03-13 Thread Richard Weinberger
Am 13.03.2015 um 04:59 schrieb DaeSeok Youn: > Hi, > > This patch have been pending for 2 weeks. > Do I need to check other things? > > please, check for me. I cannot speak for OCFS2 folks. But maybe you can give them a better feeling if you proof that your patch is tested. Thanks, //richard

[PATCH kernel v6 08/29] vfio: powerpc/spapr: Register memory

2015-03-13 Thread Alexey Kardashevskiy
The existing implementation accounts the whole DMA window in the locked_vm counter which is going to be even worse with multiple containers and huge DMA windows. This introduces 2 ioctls to register/unregister DMA memory which receive user space address and size of a memory region which needs to

[PATCH kernel v6 16/29] powerpc/iommu: Fix IOMMU ownership control functions

2015-03-13 Thread Alexey Kardashevskiy
This adds missing locks in iommu_take_ownership()/ iommu_release_ownership(). This marks all pages busy in iommu_table::it_map in order to catch errors if there is an attempt to use this table while ownership over it is taken. This only clears TCE content if there is no page marked busy in

[PATCH kernel v6 18/29] powerpc/iommu/powernv: Release replaced TCE

2015-03-13 Thread Alexey Kardashevskiy
At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this patch is addressing is the use of pool locks for external IOMMU users such

[PATCH kernel v6 14/29] vfio: powerpc/spapr: powerpc/iommu: Rework IOMMU ownership control

2015-03-13 Thread Alexey Kardashevskiy
This replaces iommu_take_ownership()/iommu_release_ownership() calls with the callback calls and it is up to the platform code to call iommu_take_ownership()/iommu_release_ownership() if needed. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/iommu.h| 4 +--

[PATCH kernel v6 02/29] vfio: powerpc/spapr: Do cleanup when releasing the group

2015-03-13 Thread Alexey Kardashevskiy
This clears the TCE table when a container is being closed as this is a good thing to leave the table clean before passing the ownership back to the host kernel. Signed-off-by: Alexey Kardashevskiy --- drivers/vfio/vfio_iommu_spapr_tce.c | 14 +++--- 1 file changed, 11 insertions(+), 3

[PATCH kernel v6 06/29] vfio: powerpc/spapr: Disable DMA mappings on disabled container

2015-03-13 Thread Alexey Kardashevskiy
At the moment DMA map/unmap requests are handled irrespective to the container's state. This allows the user space to pin memory which it might not be allowed to pin. This adds checks to MAP/UNMAP that the container is enabled, otherwise -EPERM is returned. Signed-off-by: Alexey Kardashevskiy

[PATCH kernel v6 20/29] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_create_table/pnc_pci_free_table

2015-03-13 Thread Alexey Kardashevskiy
This is a part of moving TCE table allocation into an iommu_ops callback to support multiple IOMMU groups per one VFIO container. This enforce window size to be a power of two. This is a pretty mechanical patch. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c

Re: [RFC/PATCHSET 0/6] perf kmem: Implement page allocation analysis (v1)

2015-03-13 Thread Namhyung Kim
Hi Ingo, On Thu, Mar 12, 2015 at 04:54:22PM +0100, Ingo Molnar wrote: > > * Namhyung Kim wrote: > > > > I.e. something like this (mockup) output: > > > > > >SUMMARY (page allocator) > > > > > > > > >Pages allocated+freed: 12,593 [ 51,630,080

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Sebastian Andrzej Siewior
Hi Shawn, On Fri, Mar 13, 2015 at 11:29:32AM +0800, Shawn Guo wrote: > We did not add a DT property for it, because there was already enough > info (clock configuration) in DT for kernel to figure it out. Correct. My understanding is whatever can be figured out without DT should be done that

[PATCH kernel v6 15/29] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework IOMMU ownership control

2015-03-13 Thread Alexey Kardashevskiy
At the moment the iommu_table struct has a set_bypass() which enables/ disables DMA bypass on IODA2 PHB. This is exposed to POWERPC IOMMU code which calls this callback when external IOMMU users such as VFIO are about to get over a PHB. The set_bypass() callback is not really an iommu_table

[PATCH kernel v6 12/29] powerpc/iommu: Introduce iommu_table_alloc() helper

2015-03-13 Thread Alexey Kardashevskiy
This replaces multiple calls of kzalloc_node() with a new iommu_table_alloc() helper. Right now it calls kzalloc_node() but later it will be modified to allocate a iommu_table_group struct with a single iommu_table in it. Later the helper will allocate a iommu_table_group struct which embeds the

[PATCH kernel v6 19/29] powerpc/powernv/ioda2: Rework iommu_table creation

2015-03-13 Thread Alexey Kardashevskiy
This moves iommu_table creation to the beginning. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c | 30 -- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git

[PATCH kernel v6 22/29] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-03-13 Thread Alexey Kardashevskiy
The iommu_free_table helper release memory it is using (the TCE table and @it_map) and release the iommu_table struct as well. We might not want the very last step as we store iommu_table in parent structures. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/iommu.h | 1 +

[PATCH kernel v6 04/29] vfio: powerpc/spapr: Use it_page_size

2015-03-13 Thread Alexey Kardashevskiy
This makes use of the it_page_size from the iommu_table struct as page size can differ. This replaces missing IOMMU_PAGE_SHIFT macro in commented debug code as recently introduced IOMMU_PAGE_XXX macros do not include IOMMU_PAGE_SHIFT. Signed-off-by: Alexey Kardashevskiy Reviewed-by: David

[PATCH kernel v6 03/29] vfio: powerpc/spapr: Check that TCE page size is equal to it_page_size

2015-03-13 Thread Alexey Kardashevskiy
This checks that the TCE table page size is not bigger that the size of a page we just pinned and going to put its physical address to the table. Otherwise the hardware gets unwanted access to physical memory between the end of the actual page and the end of the aligned up TCE page. Since

[PATCH kernel v6 00/29] powerpc/iommu/vfio: Enable Dynamic DMA windows

2015-03-13 Thread Alexey Kardashevskiy
This enables sPAPR defined feature called Dynamic DMA windows (DDW). Each Partitionable Endpoint (IOMMU group) has an address range on a PCI bus where devices are allowed to do DMA. These ranges are called DMA windows. By default, there is a single DMA window, 1 or 2GB big, mapped at zero on a

Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-03-13 Thread Viet Nga Dao
Hi Brian, Thanks for your detail comment. I will make modification and submit the separated patches On Fri, Mar 13, 2015 at 3:38 PM, Brian Norris wrote: > Hi Viet, > > On Wed, Feb 11, 2015 at 12:53:00PM +0800, Viet Nga Dao wrote: >> From: Viet Nga Dao >> >> Altera EPCQ Controller is a soft IP

Re: [PATCH resend v4] phy: Add driver to support individual USB PHYs on sun9i

2015-03-13 Thread Chen-Yu Tsai
Hi, On Fri, Mar 13, 2015 at 2:37 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 12 March 2015 03:24 PM, Chen-Yu Tsai wrote: >> >> Unlike previous Allwinner SoCs, there is no central PHY control block >> on the A80. Also, OTG support is completely split off into a different >>

Re: [PATCH 0/6] kbuild: mergeconfig: fix bugs, improve readability, and add generic entry point

2015-03-13 Thread Josh Triplett
On Fri, Mar 13, 2015 at 03:21:37PM +0900, Masahiro Yamada wrote: > > This series is related to mergeconfig (scripts/kconfig/merge_config.sh): > > 1/6 and 2/6 fix bugs related to the parallel build. (-j option). > 3/6 thru 5/6 are minor clean-ups. > 6/6 is a new feature; add a generic entry point

[PATCH] ath9k_htc: check seq number instead of cmd id for timeout

2015-03-13 Thread Fred Chou
From: Fred Chou As the driver may send multiple wmi commands with identical cmd id, it is more robust to check seq number for timeout instead. Signed-off-by: Fred Chou --- drivers/net/wireless/ath/ath9k/wmi.c | 12 ++-- drivers/net/wireless/ath/ath9k/wmi.h | 2 +- 2 files changed, 7

[PATCH] SUNRPC: fix build-warning due to format missmatch

2015-03-13 Thread Nicholas Mc Guire
fix build-warning introduced by commit: f0eede10fd4 ("SUNRPC: use jiffies_to_msecs for converting jiffies") which did not fixup the format properly (my bad). Signed-off-by: Nicholas Mc Guire --- This fixes the build warning reported by kbuild test robot - thanks ! >net/sunrpc/sched.c: In

[PATCH] perf: fix a segfault problem.

2015-03-13 Thread Wang Nan
Without this patch, perf report cause segfault if pass "" as '-t': $ perf report -t "" # To display the perf.data header info, please use --header/--header-only options. # # Samples: 37 of event 'syscalls:sys_enter_write' # Event count (approx.): 37 # # Children

Re: [PATCH v3 05/15] dt-bindings: Document the STM32 reset bindings

2015-03-13 Thread Philipp Zabel
Hi Maxime, Am Donnerstag, den 12.03.2015, 22:55 +0100 schrieb Maxime Coquelin: > From: Maxime Coquelin > > This adds documentation of device tree bindings for the > STM32 reset controller. > > Signed-off-by: Maxime Coquelin > --- > .../devicetree/bindings/reset/st,stm32-rcc.txt | 102 >

Re: [PATCH v2 3/4] hwmon: (lm85) replace x_TO_REG() functions with find_closest()

2015-03-13 Thread Rasmus Villemoes
On Tue, Mar 10 2015, Bartosz Golaszewski wrote: > Replace RANGE_TO_REG() and FREQ_TO_REG() functions with calls > to find_closest(). > I think the other functions you've replaced only had a single caller, but RANGE_TO_REG is called in two places. It's not a huge function and 2 is not a big

Re: [PATCH v3 06/15] drivers: reset: Add STM32 reset driver

2015-03-13 Thread Philipp Zabel
Am Donnerstag, den 12.03.2015, 22:55 +0100 schrieb Maxime Coquelin: > From: Maxime Coquelin > > The STM32 MCUs family IP can be reset by accessing some shared registers. > > The specificity is that some reset lines are used by the timers. > At timer initialization time, the timer has to be

[PATCH] Staging: lustre: fix space issue in workitem.c

2015-03-13 Thread Greg Kroah-Hartman
This patch fixes a space issue in the workitem.c file Signed-off-by: Greg Kroah-Hartman --- drivers/staging/lustre/lustre/libcfs/workitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/libcfs/workitem.c

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

2015-03-13 Thread Guoqing Jiang
Stephen Rothwell wrote: > Hi Neil, > > On Mon, 2 Mar 2015 17:11:49 +1100 Stephen Rothwell > wrote: > >> On Mon, 2 Mar 2015 17:03:45 +1100 NeilBrown wrote: >> >>> I think >>> + bm_blocks = DIV_ROUND_UP(bm_blocks, 4096); >>> >>> needs DIV_ROUND_UP_SECTOR_T() >>> >> I

[PATCH] fs: btrfs: Add missing include file

2015-03-13 Thread Guenter Roeck
Building alpha:allmodconfig fails with fs/btrfs/inode.c: In function 'check_direct_IO': fs/btrfs/inode.c:8050:2: error: implicit declaration of function 'iov_iter_alignment' due to a missing include file. Fixes: 3737c63e1fb0 ("fs: move struct kiocb to fs.h") Cc: Christoph Hellwig

[PATCH] lib/vsprintf.c: silence sparse warnings about decpair[] initialization

2015-03-13 Thread Rasmus Villemoes
sparse is unhappy about the initialization of decpair[] and spews out a ton of "incorrect type in initializer (different base types)". Shut it up so useful warnings wouldn't drown in the noise. Signed-off-by: Rasmus Villemoes --- lib/vsprintf.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH 00/12] Increased clocksource validation and cleanups (v4)

2015-03-13 Thread Ingo Molnar
* John Stultz wrote: > On Thu, Mar 12, 2015 at 2:19 AM, Ingo Molnar wrote: > > * John Stultz wrote: > >> New in v4: > >> * Lots and lots of typo corrections and minor cleanups suggested > >> by Ingo. > >> * Dropped "Remove clocksource_max_deferment()" patch > >> * Added "Rename

Re: [PATCH] fs: btrfs: Add missing include file

2015-03-13 Thread Guenter Roeck
On Fri, Mar 13, 2015 at 01:58:46AM -0700, Guenter Roeck wrote: > Building alpha:allmodconfig fails with > > fs/btrfs/inode.c: In function 'check_direct_IO': > fs/btrfs/inode.c:8050:2: error: implicit declaration of function > 'iov_iter_alignment' > > due to a missing include file. > > Fixes:

[tip:timers/core] clocksource: Simplify the clocks_calc_max_nsecs () logic

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 6086e346fdea1ae64d974c94c1acacc2605567ae Gitweb: http://git.kernel.org/tip/6086e346fdea1ae64d974c94c1acacc2605567ae Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:29 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Mar 2015 10:16:38 +0100 clocksource: Simplify the

Re: [Patch v4 2/2] dmaengine: Add ADM driver

2015-03-13 Thread Vinod Koul
On Wed, Feb 11, 2015 at 11:46:05PM -0600, Andy Gross wrote: > +++ b/drivers/dma/qcom_adm.c > @@ -0,0 +1,901 @@ > +/* > + * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. shouldn't this be 15 :) +/* ADM registers - calculated from channel number and security domain */ >

[tip:timers/core] timekeeping: Add debugging checks to warn if we see delays

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 3c17ad19f0697ffe5ef7438cdafc2d2b7757d8a5 Gitweb: http://git.kernel.org/tip/3c17ad19f0697ffe5ef7438cdafc2d2b7757d8a5 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:32 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:06:58 +0100 timekeeping: Add debugging

[tip:timers/core] clocksource: Add 'max_cycles' to ' struct clocksource'

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: fb82fe2fe8588745edd73aa3a6229facac5c1e15 Gitweb: http://git.kernel.org/tip/fb82fe2fe8588745edd73aa3a6229facac5c1e15 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:31 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Mar 2015 10:16:38 +0100 clocksource: Add

[tip:timers/core] clocksource: Simplify the logic around clocksource wrapping safety margins

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 362fde0410377e468ca00ad363fdf3e3ec42eb6a Gitweb: http://git.kernel.org/tip/362fde0410377e468ca00ad363fdf3e3ec42eb6a Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:30 -0700 Committer: Ingo Molnar CommitDate: Thu, 12 Mar 2015 10:16:38 +0100 clocksource: Simplify the

[tip:timers/core] timekeeping: Add checks to cap clocksource reads to the 'max_cycles' value

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: a558cd021d83b65c47ee5b9bec1fcfe5298a769f Gitweb: http://git.kernel.org/tip/a558cd021d83b65c47ee5b9bec1fcfe5298a769f Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:33 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:04 +0100 timekeeping: Add checks to

[tip:timers/core] timekeeping: Add warnings when overflows or underflows are observed

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 4ca22c2648f9c1cec0b242f58d7302136f5a4cbb Gitweb: http://git.kernel.org/tip/4ca22c2648f9c1cec0b242f58d7302136f5a4cbb Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:35 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:05 +0100 timekeeping: Add warnings

[tip:timers/core] timekeeping: Try to catch clocksource delta underflows

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 057b87e3161d1194a095718f9918c01b2c389e74 Gitweb: http://git.kernel.org/tip/057b87e3161d1194a095718f9918c01b2c389e74 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:34 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:05 +0100 timekeeping: Try to catch

[PATCH -next] mm: MEMTEST depends on MEMBLOCK

2015-03-13 Thread Guenter Roeck
Building alpha:allmodconfig fails with mm/memtest.c: In function 'reserve_bad_mem': mm/memtest.c:38:2: error: implicit declaration of function 'memblock_reserve' mm/memtest.c: In function 'do_one_pass': mm/memtest.c:77:2: error: implicit declaration of function 'for_each_free_mem_range'

[tip:timers/core] clocksource, sparc32: Convert to using clocksource_register_hz()

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 3142f76022fe46f6e0a0d3940b23fb6ccb794692 Gitweb: http://git.kernel.org/tip/3142f76022fe46f6e0a0d3940b23fb6ccb794692 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:38 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:07 +0100 clocksource, sparc32:

[tip:timers/core] clocksource: Improve clocksource watchdog reporting

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 0b046b217ad4c64fbbeaaac24d0648cb1fa49ad8 Gitweb: http://git.kernel.org/tip/0b046b217ad4c64fbbeaaac24d0648cb1fa49ad8 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:36 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:06 +0100 clocksource: Improve

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Daniel Vetter
On Fri, Mar 13, 2015 at 11:55:07AM +0530, Archit Taneja wrote: > > > On 03/11/2015 08:47 PM, Daniel Vetter wrote: > >On Wed, Mar 11, 2015 at 01:51:02PM +0530, Archit Taneja wrote: > >> > >> > >>On 03/10/2015 05:47 PM, Daniel Vetter wrote: > >>>On Tue, Mar 10, 2015 at 03:52:41PM +0530, Archit

[tip:timers/core] clocksource: Add some debug info about clocksources being registered

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: 8cc8c525ad4e7b581cacf84119e1a28dcb4044db Gitweb: http://git.kernel.org/tip/8cc8c525ad4e7b581cacf84119e1a28dcb4044db Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:39 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:07 +0100 clocksource: Add some debug

[tip:timers/core] clocksource: Mostly kill clocksource_register()

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: f8935983f110505daa38e8d36ee406807f83a069 Gitweb: http://git.kernel.org/tip/f8935983f110505daa38e8d36ee406807f83a069 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:37 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:06 +0100 clocksource: Mostly kill

[tip:timers/core] clocksource: Rename __clocksource_updatefreq_*( ) to __clocksource_update_freq_*()

2015-03-13 Thread tip-bot for John Stultz
Commit-ID: fba9e07208c0f9d92d9f73761c99c8612039da44 Gitweb: http://git.kernel.org/tip/fba9e07208c0f9d92d9f73761c99c8612039da44 Author: John Stultz AuthorDate: Wed, 11 Mar 2015 21:16:40 -0700 Committer: Ingo Molnar CommitDate: Fri, 13 Mar 2015 08:07:08 +0100 clocksource: Rename

question about drivers/mailbox/pcc.c

2015-03-13 Thread Julia Lawall
Hello, The patch 86c22f8c9a3b from Wed Nov 12 19:59:38 2014 in linux-next introduces a file that contains two exported functions: pcc_mbox_request_channel and pcc_mbox_free_channel. As far as I can see, these functions are not used by any modules in the kernel source tree. Is there some code

Re: [PATCH] fs: btrfs: Add missing include file

2015-03-13 Thread David Sterba
On Fri, Mar 13, 2015 at 01:58:46AM -0700, Guenter Roeck wrote: > Building alpha:allmodconfig fails with > > fs/btrfs/inode.c: In function 'check_direct_IO': > fs/btrfs/inode.c:8050:2: error: implicit declaration of function > 'iov_iter_alignment' > > due to a missing include file. > > Fixes:

Re: [PATCH 15/22] drm: %pF is only for function pointers

2015-03-13 Thread Daniel Vetter
On Wed, Mar 11, 2015 at 10:13:50PM -0500, Scott Wood wrote: > Use %pS for actual addresses, otherwise you'll get bad output > on arches like ppc64 where %pF expects a function descriptor. > > Signed-off-by: Scott Wood > Cc: dri-de...@lists.freedesktop.org Applied to drm-misc, thanks. -Daniel >

[PATCH] selftests/kcmp: exit with non-zero code in a fail case

2015-03-13 Thread Andrey Vagin
Currently this test always returs zero code and a child process returns non-zero code only if the last testcase failed. Cc: Shuah Khan Cc: Cyrill Gorcunov Signed-off-by: Andrey Vagin --- tools/testing/selftests/kcmp/kcmp_test.c | 16 ++-- tools/testing/selftests/kselftest.h |

Re: [PATCH resend v4] phy: Add driver to support individual USB PHYs on sun9i

2015-03-13 Thread Maxime Ripard
On Fri, Mar 13, 2015 at 04:24:14PM +0800, Chen-Yu Tsai wrote: > >> + phy->vbus = devm_regulator_get_optional(dev, "vbus"); > > > > > > Looks like vbus-supply is not documented in the binding documentation. > > However you can use the phy-supply from the generic binding so that phy-core > >

[PATCH] block: fully initialize queue in blk_mq_init_allocated_queue

2015-03-13 Thread Sergey Senozhatsky
Commit c9e8c91f8a279b87eb0d94b037504ea9fc1bef7c Author: Mike Snitzer Date: Tue Mar 10 15:54:41 2015 -0400 blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path for some reason has moved queue allocation 'q = blk_alloc_queue_node()' after

Re: [PATCH v3 0/2] dma: at_hdmac: Fix residue calculation and add mem to

2015-03-13 Thread Vinod Koul
On Mon, Feb 23, 2015 at 05:54:09PM +0100, Torsten Fleischer wrote: > From: Torsten Fleischer > > This series fixes the calculation of the residual bytes and adds support for > memory to memory scatter-gather transfers. Applied both, Thanks -- ~Vinod -- To unsubscribe from this list: send

Re: [PATCH] selftest: add a test case to check how locks are shown in fdinfo

2015-03-13 Thread Andrew Vagin
On Thu, Mar 12, 2015 at 02:43:19PM -0600, Shuah Khan wrote: > Hi Andrey, > > Looks good in general. Couple of comments. Thanks. The updated version is attached. > > On 03/12/2015 10:30 AM, Andrey Vagin wrote: > > The main idea of this test is to check that locks are shown correctly > > when

Re: [PATCH resend v4] phy: Add driver to support individual USB PHYs on sun9i

2015-03-13 Thread Paul Bolle
Just a license nit. On Thu, 2015-03-12 at 17:54 +0800, Chen-Yu Tsai wrote: > --- /dev/null > +++ b/drivers/phy/phy-sun9i-usb.c > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free

[PATCH v3 0/6] mtd: nand: vf610_nfc: Freescale NFC for VF610

2015-03-13 Thread Stefan Agner
This adds support for Freescale NAND flash controller (NFC) found on various devices such as Vybrid (VF610), MPC5125, MCF54418 (ColdFire) and Kinetis K70. The patchset is based on the patchset by Bill Pringlemeir, see: http://thread.gmane.org/gmane.linux.ports.arm.kernel/295419 A variant of this

[PATCH v3 6/6] ARM: dts: vf-colibri: enable NAND flash controller

2015-03-13 Thread Stefan Agner
Enable NAND access by adding pinmux and NAND flash controller node to device tree. The NAND chips currently used on the Colibri VF61 requires 8-bit ECC per 512 byte page, hence specify 32-bit ECC strength per 2k page size. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri.dtsi | 32

[PATCH v3 5/6] ARM: dts: vf610: add NAND flash controller peripherial

2015-03-13 Thread Stefan Agner
This adds the NAND flash controller (NFC) peripherial. The driver supports the SLC NAND chips found on Freescale's Vybrid Tower System Module. The Micron NAND chip on the module needs 4-bit ECC per 512 byte page. Use 24-bit ECC per 2k page, which is supported by the driver. Signed-off-by: Bill

[PATCH v3 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-03-13 Thread Stefan Agner
This driver supports Freescale NFC (NAND flash controller) found on Vybrid (VF610), MPC5125, MCF54418 and Kinetis K70. Limitations: - DMA and pipelining not used - Pages larger than 2k are not supported - No hardware ECC The driver has only been tested on Vybrid (VF610). Signed-off-by: Bill

arm64 crash in today's next due to 'blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path'

2015-03-13 Thread Guenter Roeck
I see an arm64 crash in today's -next. [] blk_mq_freeze_queue_start+0x38/0x54 [] blk_mq_update_tag_set_depth+0x2c/0xb8 [] blk_mq_init_allocated_queue+0x6e4/0x71c [] blk_mq_init_queue+0x2c/0x6c [] loop_add+0xc0/0x24c [] loop_init+0x134/0x190 [] do_one_initcall+0x88/0x1a8 []

[PATCH v3 3/6] mtd: nand: vf610_nfc: add device tree bindings

2015-03-13 Thread Stefan Agner
Signed-off-by: Bill Pringlemeir Signed-off-by: Stefan Agner --- .../devicetree/bindings/mtd/vf610-nfc.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/vf610-nfc.txt diff --git

[PATCH v3 4/6] ARM: vf610: enable NAND Flash Controller

2015-03-13 Thread Stefan Agner
Enable the NAND Flash Controller driver which is part of the Vybrid SoC by default. Signed-off-by: Stefan Agner --- arch/arm/mach-imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index c8dffce..182e30e 100644 ---

[PATCH v3 2/6] mtd: nand: vf610_nfc: add hardware BCH-ECC support

2015-03-13 Thread Stefan Agner
This adds hardware ECC support using the BCH encoder in the NFC IP. The ECC encoder supports up to 32-bit correction by using 60 error correction bytes. There is no sub-page ECC step, ECC is calculated always accross the whole page (up to 2k pages). Signed-off-by: Bill Pringlemeir Signed-off-by:

Re: [PATCH v3 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-03-13 Thread Paul Bolle
Just a license nit, I'm afraid. On Thu, 2015-03-12 at 22:55 +0100, Maxime Coquelin wrote: > --- /dev/null > +++ b/drivers/tty/serial/stm32-usart.c > @@ -0,0 +1,695 @@ > +/* > + * Copyright (C) Maxime Coquelin 2015 > + * Author: Maxime Coquelin > + * License terms: GNU General Public License

Re: [PATCH v6 3/3] ARM: dts: vf610: add Miscellaneous System Control Module (MSCM)

2015-03-13 Thread Stefan Agner
On 2015-03-13 05:48, Shawn Guo wrote: > On Thu, Mar 12, 2015 at 10:03:08AM +0100, Stefan Agner wrote: >> On 2015-03-11 01:48, Shawn Guo wrote: >> > On Sun, Mar 01, 2015 at 11:41:29PM +0100, Stefan Agner wrote: >> >> Add the Miscellaneous System Control Module (MSCM) to the base >> >> device tree

Re: [PATCH] perf callchain: separate eh/debug frame offset cache.

2015-03-13 Thread Namhyung Kim
Hi Wang, On Fri, Mar 13, 2015 at 03:02:56PM +0800, Wang Nan wrote: > Commit f1f13af99a90 ("perf callchain: Cache eh/debug frame offset for > dwarf unwind") introduces a cache for .debug_frame and .eh_frame_hdr. > Unfortunately, it makes them share a same cache (dso->frame_offset). > Which causes

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-03-13 Thread Jani Nikula
On Fri, 13 Mar 2015, Daniel Vetter wrote: > #if defined(CONFIG_FB) > #include > #else Side note, #if IS_ENABLED(CONFIG_FB) BR, Jani. -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] perf: fix a segfault problem.

2015-03-13 Thread Namhyung Kim
On Fri, Mar 13, 2015 at 08:41:32AM +, Wang Nan wrote: > Without this patch, perf report cause segfault if pass "" as '-t': > > $ perf report -t "" > > # To display the perf.data header info, please use --header/--header-only > options. > # > # Samples: 37 of event

Re: [PATCH 1/4] x86/fpu: document user_fpu_begin()

2015-03-13 Thread Borislav Petkov
On Wed, Mar 11, 2015 at 06:34:09PM +0100, Oleg Nesterov wrote: > Currently user_fpu_begin() has a single caller and it is not clear that > why do we actually need it, and why we should not worry about preemption > right after preempt_enable(). > > Signed-off-by: Oleg Nesterov > --- >

[PATCH 3/3] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-03-13 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel the TFT LCD panel is WQVGA "480x272", and the bpp is 24. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a-twr.dts | 26 ++ 1 file changed, 26

[PATCH 2/3] arm/dts/ls1021a: Add DCU dts node

2015-03-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang Signed-off-by: Xiubo Li Signed-off-by: Jianwei Wang --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi

[PATCH v2 0/7] Add simple EEPROM Framework via regmap.

2015-03-13 Thread Srinivas Kandagatla
Thankyou all for providing inputs and comments on previous versions of this patchset. Here is the v2 of the patchset addressing all the issues raised as part of previous versions review. This patchset adds a new simple EEPROM framework to kernel. Up until now, EEPROM drivers were stored in

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