[PATCH 2/2] ARM: OMAP2+: DMA: Provide dma_slave_map to omap-dma for legacy boot

2016-02-02 Thread Peter Ujfalusi
We still have some boards booting in legacy mode and they will need to have the device/slave -> filter_fn mapping so we can convert the OMAP drivers to use the new dmaengine API for requesting channels. Only some OMAP24xx and OMAP3xxx boards can boot in legacy mode which means we only need to

Re: [PATCH] NVMe: do not touch sq door bell if nvmeq has been suspended

2016-02-02 Thread Keith Busch
On Tue, Feb 02, 2016 at 02:41:37PM +0200, Sagi Grimberg wrote: > First of all, I think we need to cancel all > inflight requests before nvme_dev_unmap. IO cancelling is where it is because it protects against host memory corruption. If you're going to mess with the ordering, just make sure the

Re: [PATCH 03/10] perf report: Apply --percent-limit to callchains also

2016-02-02 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 02, 2016 at 11:15:35PM +0900, Namhyung Kim escreveu: > On Tue, Feb 02, 2016 at 10:55:34AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Feb 02, 2016 at 10:05:37PM +0900, Namhyung Kim escreveu: > > > Hi Arnaldo, > > > > > > On Mon, Feb 01, 2016 at 05:19:36PM -0300, Arnaldo

Re: [PATCH 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-02-02 Thread Alexey Brodkin
Hi Christian, On Tue, 2016-02-02 at 14:43 +0100, christian.rupp...@alitech.com wrote: > Alexey Brodkin wrote on 02.02.2016 13:53:26: > > > > Adding Christian for Abilis TB10x clocks review. > > > > On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > > > From: Alexey Brodkin > > > > > >

Re: [linux-sunxi] Re: [PATCH 05/11] drivers: pinctrl: add driver for Allwinner A64 SoC

2016-02-02 Thread Andre Przywara
Hi, On 02/02/16 01:58, Siarhei Siamashka wrote: > On Mon, 1 Feb 2016 22:49:16 + > André Przywara wrote: > >> On 01/02/16 18:27, Karsten Merker wrote: >> >> Hi Karsten, >> >> thank you very much for your feedback! >> >>> On Mon, Feb 01, 2016 at 05:39:24PM +, Andre Przywara wrote:

Re: [PATCH v2 19/21] arm64: KVM: Move most of the fault decoding to C

2016-02-02 Thread Marc Zyngier
On 01/02/16 15:21, Christoffer Dall wrote: > On Mon, Jan 25, 2016 at 03:53:53PM +, Marc Zyngier wrote: >> The fault decoding process (including computing the IPA in the case >> of a permission fault) would be much better done in C code, as we >> have a reasonable infrastructure to deal with

Re: [PATCH v2 1/5] mm: memcontrol: generalize locking for the page->mem_cgroup binding

2016-02-02 Thread Vladimir Davydov
On Fri, Jan 29, 2016 at 12:54:03PM -0500, Johannes Weiner wrote: > So far the only sites that needed to exclude charge migration to > stabilize page->mem_cgroup have been per-cgroup page statistics, hence > the name mem_cgroup_begin_page_stat(). But per-cgroup thrash detection > will add another

Re: [PATCH v2 1/4] crypto x86/sha1_mb: Fix load failure

2016-02-02 Thread Rui Wang
On Monday, February 1, 2016 4:18 PM, Herbert Xu wrote: > > On Wed, Jan 27, 2016 at 05:08:35PM +0800, Rui Wang wrote: >> >> +static int sha1_mb_async_import(struct ahash_request *req, const void >> +*in) { >> +struct ahash_request *mcryptd_req = ahash_request_ctx(req); >> +struct

Re: [PATCH 03/10] perf report: Apply --percent-limit to callchains also

2016-02-02 Thread Namhyung Kim
On Tue, Feb 02, 2016 at 10:55:34AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Feb 02, 2016 at 10:05:37PM +0900, Namhyung Kim escreveu: > > Hi Arnaldo, > > > > On Mon, Feb 01, 2016 at 05:19:36PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Jan 28, 2016 at 12:40:50AM +0900, Namhyung

Re: [PATCH v2 02/11] staging/android: rename sync_pt_info to fence_info

2016-02-02 Thread Maarten Lankhorst
Op 02-02-16 om 14:23 schreef Gustavo Padovan: > From: Gustavo Padovan > > As struct sync_pt doesn't exist anymore it is a good idea remove any > reference to it in the sync_framework. sync_pts were replaced directly by > fences. > rename it to sync_fence_info to prevent polluting the global

Re: [PATCH v2 08/11] staging/android: make info->len return only the size of fence_infos

2016-02-02 Thread Maarten Lankhorst
Op 02-02-16 om 14:23 schreef Gustavo Padovan: > From: Gustavo Padovan > > The len member of struct sync_file_info was returning the size of the whole > buffer (struct sync_file_info + fence_infos at the of it). This commit > change it to return only the size of the array of fence_infos. > > It

Re: [PATCH v2 06/11] staging/android: turn fence_info into a __u64 pointer

2016-02-02 Thread Maarten Lankhorst
Op 02-02-16 om 14:23 schreef Gustavo Padovan: > From: Gustavo Padovan > > Making fence_info a pointer enables us to extend the struct in the future > without breaking the ABI. > > v2: use type __u64 for fence_info > Signed-off-by: Gustavo Padovan > --- > drivers/staging/android/sync.c | 2

Re: [PATCH v2] ata: add AMD Seattle platform driver

2016-02-02 Thread Arnd Bergmann
On Monday 01 February 2016 16:15:59 Brijesh Singh wrote: > > > > This is where we really need the ACPI maintainers to explain the > > general policy for dealing with firmware updates. > > > > I would assume that adding the feature in a later firmware version > > is a compatible change, and the

Re: [PATCH 2/2] perf tools: Fix fault in error patch of intel_pt_process_auxtrace_info()

2016-02-02 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 02, 2016 at 12:24:19PM +0200, Adrian Hunter escreveu: > This patch does not fix the problem because the thread__zput() will still > segfault later if the error path is not taken. > > Sorry, I didn't look closely at this patch because I was not expecting it > to be taken because of the

Re: [PATCH v2 02/10] clockevents/drivers: add MPS2 Timer driver

2016-02-02 Thread Vladimir Murzin
On 02/02/16 13:04, Thomas Gleixner wrote: > On Tue, 2 Feb 2016, Vladimir Murzin wrote: >> +static int __init mps2_clockevent_init(struct device_node *np) >> +{ >> +void __iomem *base; >> +struct clk *clk; >> +struct clockevent_mps2 *ce; >> +u32 rate; >> +int irq, ret; >> +

Re: [PATCH] ARM: dts: imx51: add support for Ka-Ro electronics TX51 modules

2016-02-02 Thread Lothar Waßmann
Hi, On Tue, 2 Feb 2016 14:18:42 +0800 Shawn Guo wrote: > On Wed, Jan 20, 2016 at 01:23:39PM +0100, Lothar Waßmann wrote: > > The TX51-8xxx module series is a System On Module manufactured by > > Ka-Ro electronics GmbH with the following characteristics: > > ProcessorFreescale i.MX515 > >

Re: [PATCH 4/8] perf, tools, stat: Implement CSV metrics output

2016-02-02 Thread Andi Kleen
On Tue, Feb 02, 2016 at 10:50:20AM +0100, Jiri Olsa wrote: > > Two new fields are added: metric value and metric name before > > the running/enabled fields. > > I see, I thought it was meant to be the other way around, > so I need to ask now, wouldn't this break existing parsers? It would, but

Re: [PATCH 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-02-02 Thread christian . ruppert
Alexey Brodkin wrote on 02.02.2016 13:53:26: > > Adding Christian for Abilis TB10x clocks review. > > On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > > From: Alexey Brodkin > > > > UARTs usually have fixed clock so we're switching to use of > > constant values instead of something

Re: [PATCH] treewide: Use 'sizeof(x)' instead of 'sizeof x'

2016-02-02 Thread Joe Perches
On Tue, 2016-02-02 at 12:28 +0100, Ingo Molnar wrote: > * Ingo Molnar wrote: > > > If anyone feels strongly about accepting such patches, then the right > > solution  > > is to create a Coccinelle semantic patch to run over the whole kernel and > > get  > > over with the churn once and for

Re: [PATCH 03/10] perf report: Apply --percent-limit to callchains also

2016-02-02 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 02, 2016 at 10:05:37PM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Mon, Feb 01, 2016 at 05:19:36PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Jan 28, 2016 at 12:40:50AM +0900, Namhyung Kim escreveu: > > > Currently --percent-limit option only works for hist entries.

Re: [PATCH] kexec: unmap reserved pages for each error-return way

2016-02-02 Thread Minfei Huang
On 02/01/16 at 09:45pm, Andrew Morton wrote: > On Thu, 28 Jan 2016 11:57:22 +0300 Dmitry Safonov > wrote: > > > On 01/28/2016 09:29 AM, Minfei Huang wrote: > > > On 01/27/16 at 02:48pm, Dmitry Safonov wrote: > > >> For allocation of kimage failure or kexec_prepare or load segments > > >> errors

Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)

2016-02-02 Thread Denis Kirjanov
On 1/25/16, Torsten Duwe wrote: > * create the appropriate files+functions > arch/powerpc/include/asm/livepatch.h > klp_check_compiler_support, > klp_arch_set_pc > arch/powerpc/kernel/livepatch.c with a stub for > klp_write_module_reloc > This is

[PATCH v2 08/11] staging/android: make info->len return only the size of fence_infos

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan The len member of struct sync_file_info was returning the size of the whole buffer (struct sync_file_info + fence_infos at the of it). This commit change it to return only the size of the array of fence_infos. It also moves len to be right before the fences_infos struct.

Re: [PATCH v2 18/21] arm64: KVM: Introduce hyp_alternate_value helper

2016-02-02 Thread Marc Zyngier
On 01/02/16 14:41, Christoffer Dall wrote: > On Mon, Jan 25, 2016 at 03:53:52PM +, Marc Zyngier wrote: >> We already have hyp_alternate_select() to define a function pointer >> that gets changed by a kernel feature or workaround. >> >> It would be useful to have a similar feature that resolves

[PATCH V6] netfilter: h323: avoid potential attack

2016-02-02 Thread Zhouyi Zhou
I think hackers chould build a malicious h323 packet to overflow the pointer p which will panic during the memcpy(addr, p, len) For example, he may fabricate a very large taddr->ipAddress.ip. In order to avoid this, I add a valid memory reference check in get_h2x5_addr functions. As suggested

Re: [PATCH 3/3] clk: Provide OF helper to mark clocks as CRITICAL

2016-02-02 Thread Andre Przywara
Hi Maxime, On 01/02/16 06:32, Maxime Ripard wrote: > Hi Andre, > > On Wed, Jan 27, 2016 at 11:51:45PM +, André Przywara wrote: >> Hi, >> >> On 18/01/16 14:28, Lee Jones wrote: >>> This call matches clocks which have been marked as critical in DT >>> and sets the appropriate flag. These

Re: [PATCH 2/4] dmi: Add a DMI firmware node and handling

2016-02-02 Thread Corey Minyard
On 02/01/2016 03:25 AM, Jean Delvare wrote: Hi Corey, I won't comment on the IPMI side of this as this isn't my area. However I have a comment on the DMI part: Le Friday 29 January 2016 à 16:43 -0600, miny...@acm.org a écrit : From: Corey Minyard This is so that an IPMI platform device can

Re: [PATCH v2 3/3] irqchip: add nps Internal and external irqchips

2016-02-02 Thread Thomas Gleixner
On Tue, 2 Feb 2016, Noam Camus wrote: > +#include > +#include > +#include > +#include > +#include > +#include > + > +#undef NR_CPU_IRQS What's that #undef for? > +#define NR_CPU_IRQS 8 /* number of interrupt lines of NPS400 CPU */ > +#define TIMER0_IRQ 3 > +static void

Re: [Xen-devel] dom0 show call trace and failed to boot on HSW-EX platform

2016-02-02 Thread David Vrabel
On 02/02/16 13:15, Li, Liang Z wrote: We found dom0 will crash when booing on HSW-EX server, the dom0 kernel version is v4.4. By debugging I found the your patch ' x86/xen: discard RAM regions above the maximum reservation' , which >> the commit ID is :

Re: [PATCH 2/2] usb: musb: Fix DMA desired mode for Mentor DMA engine

2016-02-02 Thread Sergei Shtylyov
On 2/2/2016 3:37 AM, Joshua Henderson wrote: From: Cristian Birsan Commit 6b6e97107f12f3a9f7 (USB: musb: fix isochronous TXDMA (take 2)) introduces Again, wrong commit style. And I really doubt that blaming my commit was correct. :-) a problem setting the desired channel mode for the

[PATCH v2 2/3] clocksource: Add NPS400 timers driver

2016-02-02 Thread Noam Camus
From: Noam Camus Add internal tick generator which is shared by all cores. Each cluster of cores view it through dedicated address. This is used for SMP system where all CPUs synced by same clock source. Signed-off-by: Noam Camus Cc: Daniel Lezcano Cc: Rob Herring Cc: Thomas Gleixner Cc:

[PATCH v2 3/3] irqchip: add nps Internal and external irqchips

2016-02-02 Thread Noam Camus
From: Noam Camus Adding EZchip NPS400 support. NPS internal interrupts are internally handled at Multi Thread Manager (MTM) that is signaled for deactivating an interrupt. External interrupts is handled also at Global Interrupt Controller (GIC) e.g. serial and network devices. Signed-off-by:

Re: [PATCH v8 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2016-02-02 Thread Markus Pargmann
Hi, On Saturday, January 23, 2016 03:01:47 PM Brian Norris wrote: > + Markus Pargmann > > On Wed, Dec 02, 2015 at 04:47:45PM -0600, Han Xu wrote: > > i.MX6QP and i.MX7D BCH module integrated a new feature to detect the > > bitflip number for erased NAND page. So for these two platform, set the >

[PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml

2016-02-02 Thread Masanari Iida
This patch fix spelling typos found in DocBook/filesystem.xml. It is because the file was generated from comments in code, I have to fix the comments in codes, instead of xml file. Signed-off-by: Masanari Iida --- fs/inode.c| 2 +- fs/jbd2/recovery.c| 2 +- fs/jbd2/transaction.c

[PATCH] nvmem: imx-ocotp: Fix return value of imx_ocotp_read

2016-02-02 Thread Axel Lin
imx_ocotp_read() should return 0 on success. Signed-off-by: Axel Lin --- drivers/nvmem/imx-ocotp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index b7971d4..d7796eb 100644 --- a/drivers/nvmem/imx-ocotp.c +++

[PATCH 1/4] rtc: max77686: fix checkpatch error

2016-02-02 Thread Laxman Dewangan
Fix following check patch error in rtc-max77686 driver: - Alignment should match open parenthesis. - braces {} should be used on all arms of this statement. - Prefer using the BIT macro Signed-off-by: Laxman Dewangan --- drivers/rtc/rtc-max77686.c | 25 + 1 file changed,

[PATCH 3/4] rtc: max77686: avoid reference of parent device info multiple palces

2016-02-02 Thread Laxman Dewangan
Get rid of referring parent device info for register access all the places by making regmap as part of max77686 rtc device info. This will also remove the need of storing parent device info in max77686 rtc device info as this is no more required. Signed-off-by: Laxman Dewangan ---

[PATCH 0/4] rtc: max77686: make max77686 rtc driver as IP driver

2016-02-02 Thread Laxman Dewangan
Based on discussion on patch series of MAX77620 when adding separate driver for max77620 RTC, it is discussed to reuse the max77686 driver for all CHips MAX77802, MAX77686 and MAX77620. For this, the rtc-max77686 need to make as IP driver independent of their MFD parent driver. This series makes

[PATCH 2/4] rtc: max77686: use rtc regmap to access RTC registers

2016-02-02 Thread Laxman Dewangan
rtc_regmap should be used to access all RTC regsiters instead of parent regmap regardless of what chip or property have it. This makes the register access uniform and extendible for other chips. Signed-off-by: Laxman Dewangan CC: Krzysztof Kozlowski CC: Javier Martinez Canillas ---

[PATCH 4/4] rtc: max77686: move initialisation of rtc regmap, irq chip locally

2016-02-02 Thread Laxman Dewangan
To make RTC block of MAX77686/MAX77802 as independent driver, move the registeration of i2c device, regmap for register access and irq_chip for interrupt support inside the RTC driver. Removed the same initialisation from mfd driver. Signed-off-by: Laxman Dewangan CC: Krzysztof Mazur CC: Javier

Re: [PATCH 01/11] MAINTAINERS: Add entry for X-Powers AXP family PMIC drivers

2016-02-02 Thread Maxime Ripard
On Tue, Feb 02, 2016 at 06:27:34PM +0800, Chen-Yu Tsai wrote: > Add an entry for X-Powers AXP family PMIC drivers and list myself > as maintainer. > > Cc: Carlo Caione > Cc: Maxime Ripard > Cc: Ramakrishna Pallala > Cc: Todd Brandt > Cc: Jacob Pan > Signed-off-by: Chen-Yu Tsai Acked-by:

[PATCH v2 04/11] staging/android: remove driver_data from struct fence_info

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan It is unclear in what situations driver_data should be used thus better do not upstream it for now. If a need arises in the future a discussion can be started to re-add it. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c | 14 --

[PATCH v2 05/11] staging/android: remove len field from struct fence_info

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan After removing driver_data struct fence_info has now a fixed size, thus it doesn't need any field to tell its size, it is already known. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 4 +--- drivers/staging/android/uapi/sync.h | 2 -- 2 files

[PATCH v2 11/11] staging/android: remove redundant comments on sync_merge_data

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan --- drivers/staging/android/uapi/sync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-02 Thread Maxime Ripard
On Tue, Feb 02, 2016 at 11:03:03AM +0100, Krzysztof Adamski wrote: > It seems that on H3, just like on A10, when GPIOs are configured as > external interrupt data registers does not contain their value. When > value is read, GPIO function must be temporary switched to input for > reads. > >

Re: [PATCH 1/2] usb: musb: Fix DMA for host mode

2016-02-02 Thread Sergei Shtylyov
Hello. On 2/2/2016 3:37 AM, Joshua Henderson wrote: From: Cristian Birsan Commit ac33cdb166811223cc (usb: musb: Remove ifdefs for musb_host_rx in musb_host.c part5) introduces a problem setting DMA host mode. scripts/checkpatch.pl now enforces certain commit citing style, yours doesn't

[PATCH v2 10/11] staging/android: add flags member to sync ioctl structs

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan Play safe and add flags member to all structs. So we don't need to break API or create new IOCTL in the future if new features that requires flags arises. v2: check if flags are valid (zero, in this case) Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c

[PATCH v2 06/11] staging/android: turn fence_info into a __u64 pointer

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan Making fence_info a pointer enables us to extend the struct in the future without breaking the ABI. v2: use type __u64 for fence_info Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 2 +- drivers/staging/android/uapi/sync.h | 2 +- 2 files

[PATCH v2 07/11] staging/android: add num_fences field to struct sync_file_info

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan Inform the users how many fences are in the fence_info field. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 2 ++ drivers/staging/android/uapi/sync.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/staging/android/sync.c

[PATCH v2 09/11] staging/android: rename SYNC_IOC_FENCE_INFO

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan We don't use the 'fence' name to refer to sync_file anymore. So rename it to SYNC_IOC_FILE_INFO. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 2 +- drivers/staging/android/uapi/sync.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH v2 03/11] staging/android: rename sync_file_info_data to sync_file_info

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan info_data is a bit redundant, let's keep it as only sync_file_info. It is also smaller. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 26 +- drivers/staging/android/uapi/sync.h | 9 - 2 files changed, 17

[PATCH v2 01/11] staging/android: remove SYNC_WAIT ioctl

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan This ioctl is replicating the work of poll() syscall so let's take the opportunity that this is still on staging tree and remove the duplication and force new users to use the poll() standard interface. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c

[PATCH v2 00/11] android sync framework: clean up IOCTLs and ABI

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This patch series clean up IOCTLs and abi of sync framework and it is a follow up on the clean up series I've sent on Jan 21: http://thread.gmane.org/gmane.comp.video.dri.devel/145509 The main changes here are: * remove of SYNC_WAIT ioctl, poll() should be used

[PATCH v2 02/11] staging/android: rename sync_pt_info to fence_info

2016-02-02 Thread Gustavo Padovan
From: Gustavo Padovan As struct sync_pt doesn't exist anymore it is a good idea remove any reference to it in the sync_framework. sync_pts were replaced directly by fences. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 10 +-

Re: [PATCH 1/2] mm: fix bogus VM_BUG_ON_PAGE() in isolate_lru_page()

2016-02-02 Thread Michal Hocko
On Mon 01-02-16 16:38:53, Kirill A. Shutemov wrote: > On Mon, Feb 01, 2016 at 03:24:46PM +0100, Michal Hocko wrote: > > On Mon 01-02-16 16:26:08, Kirill A. Shutemov wrote: > > > We don't care if there's a tail pages which is not on LRU. We are not > > > going to isolate them anyway. > > > > yes

Re: [PATCH 06/14] ARM: dts: sun8i-a83t: Correct low speed oscillator clocks

2016-02-02 Thread Maxime Ripard
On Sun, Jan 31, 2016 at 09:20:58AM +0800, Vishnu Patekar wrote: > From: Chen-Yu Tsai > > The A83T does not have a 32.768 kHz low speed oscillator, either as > an external crystal or input. It has a 16 MHz RC-based (inaccurate) > internal oscillator, which is then divided by 512 for a clock close

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-02-02 Thread Boqun Feng
On Tue, Feb 02, 2016 at 12:20:25PM +, Will Deacon wrote: [...] > > > > > > > > Besides, Will, what's the reason of having a locally transitive chain > > > > termination? Because on some architectures RELEASE->DEPENDENCY pairs may > > > > not be locally transitive? > > > > > > Well, the

Re: [PATCH 06/14] ARM: dts: sun8i-a83t: Correct low speed oscillator clocks

2016-02-02 Thread Maxime Ripard
1;4002;0c On Sun, Jan 31, 2016 at 09:20:58AM +0800, Vishnu Patekar wrote: > From: Chen-Yu Tsai > > The A83T does not have a 32.768 kHz low speed oscillator, either as > an external crystal or input. It has a 16 MHz RC-based (inaccurate) > internal oscillator, which is then divided by 512 for a

Re: [PATCH 04/14] clk: sunxi: add ahb1 clock for A83T

2016-02-02 Thread Maxime Ripard
Hi, On Sun, Jan 31, 2016 at 09:20:56AM +0800, Vishnu Patekar wrote: > AHB1 on A83T is similar to ahb1 on A31, except parents are different. > clock index 0b1x is PLL6. > > Signed-off-by: Vishnu Patekar If the clock is the same but the parents are different, then we don't need to duplicate all

[PATCH v2 1/3] soc: Support for EZchip SoC

2016-02-02 Thread Noam Camus
From: Noam Camus This header file is for NPS400 SoC. It includes macros for accessing memory mapped registers. These are functional registers that core can use to configure SoC. Signed-off-by: Noam Camus --- include/soc/nps/common.h | 140 ++ 1

[PATCH v2 0/3] Adding NPS400 drivers

2016-02-02 Thread Noam Camus
From: Noam Camus Change Log-- v2: Add header file include/soc/nps/common.h. Now to build we do not depend on ARC subtree. General summay: Both drivers are now apart of previous basic patch set of new platform for ARC. The rest is now can be seen at ARC srctree:

RE: dom0 show call trace and failed to boot on HSW-EX platform

2016-02-02 Thread Li, Liang Z
> >> We found dom0 will crash when booing on HSW-EX server, the dom0 > >> kernel version is v4.4. By debugging I found the your patch ' > >> x86/xen: discard RAM regions above the maximum reservation' , which > the commit ID is : f5775e0b6116b7e2425ccf535243b21 caused the regression. > The debug

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

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > ARC Timers have historically been probed directly. > As precursor to start probing Timers thru DT introduce these bindings > > Cc: Daniel Lezcano > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Signed-off-by: Vineet Gupta

Re: [PATCH 03/14] clk: sunxi: add bus gates for A83T

2016-02-02 Thread Maxime Ripard
On Sun, Jan 31, 2016 at 09:20:55AM +0800, Vishnu Patekar wrote: > A83T has similar bus gates that of H3, including single gating register has > different clock parent. > > As per H3 and A83T datasheet, usbhost is under AHB2. > > However,below shows allwinner source code assignment: > bits: 26

Re: [PATCH 02/14] clk: sunxi: Add apb0 gates for A83T

2016-02-02 Thread Maxime Ripard
On Sun, Jan 31, 2016 at 09:20:54AM +0800, Vishnu Patekar wrote: > APB0 is part of PRCM, and is compatible with earlier SOCs. > apb0 gates controls R_PIO, R_UART, R_RSB, etc clocks. > This patch adds support for APB0 gates for A83T. > > Signed-off-by: Vishnu Patekar Applied, thanks! Maxime --

Re: [PATCH] mmc: pxamci: fix again read-only gpio detection polarity

2016-02-02 Thread Ulf Hansson
On 29 January 2016 at 00:21, Robert Jarzmik wrote: > The commit fixing the conversion of pxamci to slot-gpio API fixed the > inverted the logic of the read-only gpio. Unfortunately, the commit was > tested on a non-inverted gpio, and not on the inverted one. And the fix > did work partially, by

Re: [PATCH 0/3] mmc: sunxi: Support eMMC DDR modes

2016-02-02 Thread Ulf Hansson
On 29 January 2016 at 18:21, Chen-Yu Tsai wrote: > Hi everyone, > > This was "mmc: sunxi: Support vqmmc regulator and eMMC DDR modes". vqmmc > support and DT patches were merged even though it was an RFC series, to > my suprise. > > These are the remaining patches that add eMMC HS-DDR support to

Re: [PATCH v2] mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path

2016-02-02 Thread Ulf Hansson
On 2 February 2016 at 12:55, Jisheng Zhang wrote: > The device power usage counter is increased by pm_runtime_get_noresume > but isn't decreased in err_add_host error path. > > Fix this issue by calling pm_runtime_put_noidle() in the error path to > restore the device's power usage counter. > >

Re: [PATCH] mmc: sdhci-iproc: use sdhci_pltfm_unregister directly

2016-02-02 Thread Ulf Hansson
On 26 January 2016 at 11:26, Jisheng Zhang wrote: > The sdhci_iproc_remove() is jsut a wrapper to sdhci_pltfm_unregister. > So use the sdhci_pltfm_unregister() for the .remove hook directly. > > Signed-off-by: Jisheng Zhang Thanks, applied for next! Kind regards Uffe > --- >

Re: [PATCH 03/10] perf report: Apply --percent-limit to callchains also

2016-02-02 Thread Namhyung Kim
Hi Arnaldo, On Mon, Feb 01, 2016 at 05:19:36PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Jan 28, 2016 at 12:40:50AM +0900, Namhyung Kim escreveu: > > Currently --percent-limit option only works for hist entries. However > > it'd be better to have same effect to callchains as well > >

Re: [PATCH v2 02/10] clockevents/drivers: add MPS2 Timer driver

2016-02-02 Thread Thomas Gleixner
On Tue, 2 Feb 2016, Vladimir Murzin wrote: > +static int __init mps2_clockevent_init(struct device_node *np) > +{ > + void __iomem *base; > + struct clk *clk; > + struct clockevent_mps2 *ce; > + u32 rate; > + int irq, ret; > + const char *name = "mps2-clkevt"; > + > +

Re: [PATCH 06/10] staging/android: turn fence_info into a __64 pointer

2016-02-02 Thread Gustavo Padovan
2016-02-01 Gustavo Padovan : > Hi Maarten, > > 2016-02-01 Maarten Lankhorst : > > > Op 29-01-16 om 22:20 schreef Gustavo Padovan: > > > From: Gustavo Padovan > > > > > > Making fence_info a pointer enables us to extend the struct in the future > > > without breaking the ABI. > > > > > >

[PATCHv3] staging: iio: replace clk_get() with devm_clk_get()

2016-02-02 Thread Gujulan Elango, Hari Prasath (H.)
This patch replaces the clk_get() with devm_clk_get().Accordingly,modified the error paths,rename error labels and removed clk_put() in probe() & remove functions. Signed-off-by: Hari Prasath Gujulan Elango --- v3: Rename error path labels to suite modified code as reviewd by

RE: dom0 show call trace and failed to boot on HSW-EX platform

2016-02-02 Thread Li, Liang Z
> This is a -EBUSY.  Is there anything magic about mfn 188d903?  It just looks > like plain RAM in the E820 table. > Have you got dom0 configured to use linear p2m mode?  Without it, dom0 can > only have a maximum of 512GB of RAM. > ~Andrew No special configuration for dom0, actually, the

Re: [PATCH] cputime: Fix timeval/timespec-->cputime conversion

2016-02-02 Thread Arnd Bergmann
On Tuesday 02 February 2016 11:38:34 zengtao wrote: > The datatype __kernel_time_t is u32 on 32bit platform, > it will easily get overflow, so force u64 conversion. > > Currently the following function will be affected: > 1. setitimer() > 2. timer_create/timer_settime() > 3. sys_clock_nanosleep >

Re: [PATCH 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-02-02 Thread Alexey Brodkin
Adding Christian for Abilis TB10x clocks review. On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > From: Alexey Brodkin > > UARTs usually have fixed clock so we're switching to use of > constant values instead of something derived from core clock > frequency. > > Among other things this

Re: [PATCH] clk: vt8500: don't return possibly uninitialized data

2016-02-02 Thread Arnd Bergmann
On Monday 01 February 2016 17:15:45 Stephen Boyd wrote: > My compiler still gets warnings even after this patch is applied. > > drivers/clk/clk-vt8500.c: In function ‘wm8750_find_pll_bits’: > drivers/clk/clk-vt8500.c:509:12: warning: ‘best_div2’ may be used > uninitialized in this function

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

2016-02-02 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-02-02 at 16:28 +0530, Vineet Gupta wrote: > ARC Timers have historically been probed directly. > As precursor to start probing Timers thru DT introduce these bindings > > Cc: Daniel Lezcano > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Signed-off-by: Vineet Gupta

[PATCH v2] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Ivaylo Dimitrov
Patch <703df6c097956d17a818e63961c82e8e9eef9fef> ("power: bq27xxx_battery: Reorganize I2C into a module") has removed the device name numbering from bq27xxx_battery_i2c_probe. Fix that by restoring the code. Signed-off-by: Ivaylo Dimitrov --- drivers/power/bq27xxx_battery_i2c.c | 37

[PATCH 0/5] ARM: davinci: Add dma_slave_map to board files

2016-02-02 Thread Peter Ujfalusi
Hi, The following series adds the dma_slave map to the edma driver. The dma_slave_map is needed later when we convert drivers to use the new dmaengine API for requesting slave channels. Regards, Peter --- Peter Ujfalusi (5): ARM: davinci: devices-da8xx: Add dma_slave_map to edma ARM:

[PATCH 1/5] ARM: davinci: devices-da8xx: Add dma_slave_map to edma

2016-02-02 Thread Peter Ujfalusi
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/devices-da8xx.c | 46 +++ 1 file changed,

Re: [PATCH v1] power: bq27xxx_battery: Restore device name

2016-02-02 Thread kbuild test robot
-Restore-device-name/20160202-203646 base: git://git.infradead.org/battery-2.6.git master config: i386-randconfig-x003-02010231 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers

[PATCH 5/5] ARM: davinci: dm646x: Add dma_slave_map to edma

2016-02-02 Thread Peter Ujfalusi
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by: Peter Ujfalusi FIX: dm646x --- arch/arm/mach-davinci/dm646x.c | 11 +++ 1 file changed, 11 insertions(+)

[PATCH 3/5] ARM: davinci: dm365: Add dma_slave_map to edma

2016-02-02 Thread Peter Ujfalusi
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by: Peter Ujfalusi FIX: dm365 --- arch/arm/mach-davinci/dm365.c | 22 ++ 1 file changed, 22

[PATCH 4/5] ARM: davinci: dm644x: Add dma_slave_map to edma

2016-02-02 Thread Peter Ujfalusi
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by: Peter Ujfalusi FIX: dm646x --- arch/arm/mach-davinci/dm644x.c | 12 1 file changed, 12 insertions(+)

[PATCH 2/5] ARM: davinci: dm355: Add dma_slave_map to edma

2016-02-02 Thread Peter Ujfalusi
Provide the dma_slave_map to edma which will allow us to move the drivers to the new, simpler dmaengine API and we can remove the DMA resources also for the devices. Signed-off-by: Peter Ujfalusi FIX: dm355 --- arch/arm/mach-davinci/dm355.c | 20 1 file changed, 20

Re: [PATCH] NVMe: do not touch sq door bell if nvmeq has been suspended

2016-02-02 Thread Sagi Grimberg
Jens, I did the following test to validate the issue. 1. Modify code as below to increase the chance of races. Add 10s delay after nvme_dev_unmap() in nvme_dev_disable() Add 10s delay before __nvme_submit_cmd() 2. Run dd and at the same time, echo 1 to reset_controller to

Re: [PATCH v1] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Ivaylo Dimitrov
Guys, sorry for the noise, I got flue over my brain. This patch is broken too, will fix it and will resend. On 2.02.2016 14:34, Ivaylo Dimitrov wrote: Patch <703df6c097956d17a818e63961c82e8e9eef9fef> ("power: bq27xxx_battery: Reorganize I2C into a module") has removed the device name

Re: [PATCH v3] android: binder: Sanity check at binder ioctl

2016-02-02 Thread Chen Feng
Add android kernel team. On 2016/2/1 14:04, Chen Feng wrote: > Sanity check at binder ioctl function, > Only allow the shared mm_struct to use the same binder-object > to do binder operate. > > And add proc->vma_vm_mm = current->mm at the open function. > The libbinder do ioctl before mmap

[PATCH v1] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Ivaylo Dimitrov
Patch <703df6c097956d17a818e63961c82e8e9eef9fef> ("power: bq27xxx_battery: Reorganize I2C into a module") has removed the device name numbering from bq27xxx_battery_i2c_probe. Fix that by restoring the code. Signed-off-by: Ivaylo Dimitrov --- drivers/power/bq27xxx_battery_i2c.c | 36

Re: [PATCH] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Ivaylo Dimitrov
On 2.02.2016 14:27, Pali Rohár wrote: Hi! Should not we call idr_remove() also in bq27xxx_battery_i2c_remove()? Yes, missed that code in the commit, I am sending the full version in a minute

Re: [PATCHv2 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-02 Thread Mark Rutland
On Tue, Feb 02, 2016 at 12:23:18PM +, Mark Rutland wrote: Is there anything else in mm/ that I've potentially missed? > I'm seeing a hang on Juno just after reaching userspace (splat below) > with debug_pagealloc=on. > > It looks like something's gone wrong around find_vmap_area -- at least

Re: [PATCH 1/2] regmap: Return an error if a caller attempts to do an unsupported raw read

2016-02-02 Thread Mark Brown
On Tue, Feb 02, 2016 at 10:16:50AM -0200, Fabio Estevam wrote: > From: Mark Brown > > regmaps without raw I/O access can't implement raw I/O operations, > return an error if someone tries to do that rather than crashing. I dropped this one into -next as soon as I wrote it... signature.asc

Re: [PATCH] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Pali Rohár
On Tuesday 02 February 2016 14:15:19 Ivaylo Dimitrov wrote: > Patch <703df6c097956d17a818e63961c82e8e9eef9fef> ("power: bq27xxx_battery: > Reorganize I2C into a module") has removed the device name numbering from > bq27xxx_battery_i2c_probe. Fix that by restoring the code. > > Signed-off-by:

Re: [PATCH] power: bq27xxx_battery: Restore device name

2016-02-02 Thread Ivaylo Dimitrov
Sorry, I've sent an incomplete patch, ignore that, will re-send the full version On 2.02.2016 14:15, Ivaylo Dimitrov wrote: Patch <703df6c097956d17a818e63961c82e8e9eef9fef> ("power: bq27xxx_battery: Reorganize I2C into a module") has removed the device name numbering from

Re: [PATCHv2 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-02 Thread Mark Rutland
On Mon, Feb 01, 2016 at 01:24:25PM -0800, Laura Abbott wrote: > On 02/01/2016 04:29 AM, Mark Rutland wrote: > >Hi, > > > >On Fri, Jan 29, 2016 at 03:46:57PM -0800, Laura Abbott wrote: > >> > >>ARCH_SUPPORTS_DEBUG_PAGEALLOC provides a hook to map and unmap > >>pages for debugging purposes. This

Re: [RFC][PATCH] mips: Fix arch_spin_unlock()

2016-02-02 Thread Will Deacon
On Tue, Feb 02, 2016 at 08:12:30PM +0800, Boqun Feng wrote: > On Tue, Feb 02, 2016 at 11:45:59AM +, Will Deacon wrote: > > On Tue, Feb 02, 2016 at 01:19:04PM +0800, Boqun Feng wrote: > > > On Mon, Feb 01, 2016 at 07:54:58PM -0800, Paul E. McKenney wrote: > > > > On Mon, Feb 01, 2016 at

Re: WANTED new maintainer for Linux/md (and mdadm)

2016-02-02 Thread Jes Sorensen
NeilBrown writes: > On Wed, Jan 20 2016, Artur Paszkiewicz wrote: >> >> Hi Neil, >> >> Thank you for your work and time spent on maintaining MD/mdadm. I would also >> like to offer help for the emerging maintainership team. I've been >> working with >> MD RAID for more than 4 years, mostly

Re: [PATCH 07/11] ARM: dts: sunxi: Add dtsi file for AXP809 PMIC

2016-02-02 Thread Mark Brown
On Tue, Feb 02, 2016 at 06:27:40PM +0800, Chen-Yu Tsai wrote: > + reg_dcdc1: dcdc1 { > + regulator-name = "dcdc1"; > + }; Why is this generic DTS include specifying regulator names? > + reg_rtc_ldo: rtc_ldo { > + /*

[PATCH 1/2] regmap: Return an error if a caller attempts to do an unsupported raw read

2016-02-02 Thread Fabio Estevam
From: Mark Brown regmaps without raw I/O access can't implement raw I/O operations, return an error if someone tries to do that rather than crashing. Signed-off-by: Mark Brown Signed-off-by: Fabio Estevam --- drivers/base/regmap/regmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

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