Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Jassi Brar
On Wed, Mar 18, 2015 at 6:47 PM, Lee Jones wrote: > On Tue, 03 Mar 2015, Jassi Brar wrote: > >> On 3 March 2015 at 17:04, Arnd Bergmann wrote: >> > On Tuesday 03 March 2015 10:41:23 Lee Jones wrote: >> >> + >> >> +/* >> >> + * struct sti_mbox_msg - sti mailbox message description >> >> + *

[PATCH] Linux 3.10.70-rt75-rc4

2015-03-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.10.70-rt75-rc4. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH v8 3/3] Documentation: dma: Add documentation for the APM X-Gene SoC DMA device DTS binding

2015-03-18 Thread Rameshwar Prasad Sahu
This patch adds documentation for the APM X-Gene SoC DMA device DTS binding Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- .../devicetree/bindings/dma/apm-xgene-dma.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644

[PATCH v8 0/3] dmaengine: APM X-Gene SoC DMA engine driver support

2015-03-18 Thread Rameshwar Prasad Sahu
This patch set implements the APM X-Gene SoC DMA driver support to offload the DMA operations such as memory copy(memcpy), scatter gather memory copy, raid5 xor and raid6 p+q. v8 changes: 1. Fixed macro namespace issues. 2. Fixed tx status check issues. v7 changes: 1.

[PATCH v8 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver

2015-03-18 Thread Rameshwar Prasad Sahu
This patch implements the APM X-Gene SoC DMA engine driver. The APM X-Gene SoC DMA engine consists of 4 DMA channels for performing DMA operations. These DMA operations include memory copy, scatter-gather memory copy, raid5 xor, and raid6 p+q offloading. Signed-off-by: Rameshwar Prasad Sahu

[PATCH v8 2/3] arm64: dts: Add APM X-Gene SoC DMA device and DMA clock DTS nodes

2015-03-18 Thread Rameshwar Prasad Sahu
This patch adds the device tree node for APM X-Gene SoC DMA controller and DMA clock. Signed-off-by: Rameshwar Prasad Sahu Signed-off-by: Loc Ho --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git

Re: [PATCH RFC] mm: reset pages_scanned only when free pages are above high watermark

2015-03-18 Thread Vlastimil Babka
On 03/11/2015 07:30 PM, Konstantin Khlebnikov wrote: Technically, this counter works as OOM-countdown. Let's reset it only when zone is completely recovered and ready to handle any allocations. Otherwise system could never recover and stuck in livelock. Signed-off-by: Konstantin Khlebnikov

[PATCH] Linux 3.12.38-rt53-rc4

2015-03-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.12.38-rt53-rc4. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH v2 3/5] ARM: EXYNOS: add exynos_set_boot_addr() helper

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 14:09 GMT+01:00 Bartlomiej Zolnierkiewicz : > Add exynos_set_boot_addr() helper and covert existing code > (exynos_boot_secondary() and exynos_smp_prepare_cpus()) to > use it. > > There should be no functional changes caused by this patch. > > Cc: Daniel Lezcano > Signed-off-by:

Re: [PATCH 1/1 linux-next] mm/page_alloc.c: don't redeclare mt in get_pageblock_migratetype()

2015-03-18 Thread Vlastimil Babka
On 03/11/2015 07:08 PM, Fabian Frederick wrote: mt is already declared above and global value not used after loop. This fixes a shadow warning. Signed-off-by: Fabian Frederick Acked-by: Vlastimil Babka --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] Linux 3.14.34-rt32-rc4

2015-03-18 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.14.34-rt32-rc4. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH v2 4/5] ARM: EXYNOS: add exynos_get_boot_addr() helper

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 14:09 GMT+01:00 Bartlomiej Zolnierkiewicz : > Add get_cpu_boot_addr() firmware operation and then > exynos_get_boot_addr() helper. > > This is a preparation for adding coupled cpuidle support > for Exynos3250 SoC. > > There should be no functional changes caused by this patch. > > Cc:

Re: [PATCH v2] Staging: dgnc: release the lock before testing for nullity

2015-03-18 Thread Quentin Lambert
On 18/03/2015 14:36, Dan Carpenter wrote: This changelog still doesn't make sense so I took a look at the code. tty_ldisc_deref() is an unlock function. So this is a lock ordering bug. What makes you think the original ordering was correct? Who reported this bug? What are the effects of

Re: [RFC PATCH v3 1/5] new helper: iov_iter_rw()

2015-03-18 Thread David Sterba
On Tue, Mar 17, 2015 at 02:04:02PM -0700, Omar Sandoval wrote: > /* > + * Get one of READ or WRITE out of iter->type without any other flags OR'd in > + * with it. > + * > + * The ?: is just for type safety. > + */ > +#define iov_iter_rw(i) ((0 ? (struct iov_iter *)0 : (i))->type & RW_MASK) I'm

[PATCH v1 1/9] clk: qcom: Fix clk_get_parent function return value

2015-03-18 Thread Georgi Djakov
According to the common clock framework API, the clk_get_parent() function should return u8. Currently we are returning negative values on error. Fix this and use the default parent in case of an error. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 26

[PATCH v1 7/9] clk: qcom: Convert msm8960 to parent_map tables

2015-03-18 Thread Georgi Djakov
Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8960.c | 35 +++--- drivers/clk/qcom/lcc-msm8960.c | 13 ++ drivers/clk/qcom/mmcc-msm8960.c | 53 +-- 3 files changed, 57 insertions(+), 44 deletions(-) diff --git

Re: [PATCH v3 4/4] ARM: EXYNOS: cpuidle: allow driver usage on Exynos3250 SoC

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz : > Register cpuidle platform device on Exynos3250 SoC allowing EXYNOS > cpuidle driver usage on this SoC. > > Cc: Daniel Lezcano > Signed-off-by: Bartlomiej Zolnierkiewicz > Acked-by: Kyungmin Park > --- > arch/arm/mach-exynos/exynos.c | 1

[PATCH v1 0/9] clk: qcom: Introduce parent_map tables

2015-03-18 Thread Georgi Djakov
This patchset introduces the parent_map index tables, which solve the issue discussed here [1]. While doing this, fix also some of the code around (patches 1 and 2) [1] https://lkml.org/lkml/2015/3/5/682 Patchset based on clk-next. Georgi Djakov (9): clk: qcom: Fix clk_get_parent function

Re: [PATCH v3 3/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz : The patchset itself looks good... but it's missing commit message. What benefits does the AFTR bring? Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v14 19/20] vfio: initialize the virqfd workqueue in VFIO generic code

2015-03-18 Thread Baptiste Reynal
Hello Alex, The module solution seems fine for me, I have no argument against it. I used your patch on my tests, they are running ok. Regards, Baptiste On Wed, Mar 18, 2015 at 12:04 AM, Alex Williamson wrote: > On Tue, 2015-03-17 at 16:29 -0600, Alex Williamson wrote: >> On Mon, 2015-03-02 at

[PATCH v1 2/9] clk: qcom: Do some error handling in configure_bank()

2015-03-18 Thread Georgi Djakov
Currently configure_bank() returns void. Add some error checking on the regmap calls and propagate if there is any error. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 62 +--- 1 file changed, 41 insertions(+), 21 deletions(-) diff

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Jassi Brar
On Wed, Mar 18, 2015 at 6:42 PM, Lee Jones wrote: > On Wed, 04 Mar 2015, Jassi Brar wrote: > >> > + >> > + if ((!data) || (!sti_mbox_chan_is_tx(mbox))) >> > >> nit: too much protection. > > What makes you think that? > Usually we write if (!data ||

[PATCH v1 4/9] clk: qcom: Make RCGs use the parent_map struct

2015-03-18 Thread Georgi Djakov
Switch RCG functions to use of the newly introduced parent_map struct. Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.c | 13 - drivers/clk/qcom/clk-rcg.h |4 ++-- drivers/clk/qcom/clk-rcg2.c | 11 +++ 3 files changed, 17 insertions(+), 11 deletions(-)

[PATCH 05/13] perf tools: Fix the bash completion to support listing events for --event

2015-03-18 Thread Yunlong Song
The bash completion only supports -e rather than --event, so fix it. Example: Before this patch: $ perf record --event $ As shown above, the events of record does not come out. After this patch: $ perf record --event lignment-faults cpu/instructions/

[PATCH 07/13] perf tools: Add the bash completion for listing subsubcommands of perf data

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf data ', so fix it. Example: Before this patch: $ perf data $ As shown above, the subsubcommands of perf data does not come out. After this patch: $ perf data convert As shown above, the subsubcommands of perf data

Re: [PATCH v2] Staging: dgnc: release the lock before testing for nullity

2015-03-18 Thread Dan Carpenter
On Wed, Mar 18, 2015 at 02:21:08PM +0100, Quentin Lambert wrote: > The refactoring intrduced in > c84a083b995b ("Staging: dgnc: Use goto for spinlock release before return") > inverts the order in which the lock is released and ld is tested for nullity. > > This patch restores the execution flow.

[PATCH 02/13] perf tools: Fix the bash completion for listing subsubcommands of perf subcommand

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf kvm|kmem|mem|lock|sched -- ', where 'kvm|kmem|mem| lock|sched' are all subcommands of perf. Example: Before this patch: $ perf kvm --verbose $ As shown above, the subsubcommands of perf kvm does not come out. After this

[PATCH 08/13] perf tools: Add the bash completion for listing subsubcommands of perf help

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf help ', so fix it. Example: Before this patch: $ perf help $ As shown above, the subsubcommands of perf help does not come out. After this patch: $ perf help annotate buildid-cache data evlist

[PATCH 09/13] perf tools: Add the bash completion for listing subsubcommands of perf script

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf script ', so fix it. Example: Before this patch: $ perf script $ As shown above, the subsubcommands of perf script does not come out. After this patch: $ perf script record report As shown above, the subsubcommands

[PATCH 06/13] perf tools: Fix the bash completion for listing subcommands of perf

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subcommands for 'perf -- '. Example: Before this patch: $ perf --debug $ As shown above, the subcommands of perf does not come out. After this patch: $ perf --debug annotate buildid-cache data evlist inject kvm

[PATCH 01/13] perf tools: Fix the bash completion for listing options of perf subcommand

2015-03-18 Thread Yunlong Song
The bash completion does not support listing options for 'perf kvm|kmem|mem|lock|sched --', where 'kvm|kmem|mem|lock|sched' are all subcommands of perf. Example: Before this patch: $ perf kvm -- $ As shown above, the options of perf kvm does not come out. After this patch: $ perf kvm --

[PATCH 03/13] perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand

2015-03-18 Thread Yunlong Song
The bash completion gives wrong options for 'perf kvm|kmem|mem|lock| sched subsubcommand --', where 'kvm|kmem|mem|lock|sched' are all subcommands of perf and 'subsubcommand' is a subcommand of 'kvm|kmem|mem |lock|sched'. In fact, the result incorrectly lists the bash completion of 'perf

[PATCH 10/13] perf tools: Add the bash completion for listing subsubcommands of perf test

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf test ', so fix it. Example: Before this patch: $ perf test $ As shown above, the subsubcommands of perf test does not come out. After this patch: $ perf test list As shown above, the subsubcommands of perf test can

[PATCH 04/13] perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e

2015-03-18 Thread Yunlong Song
The bash completion does not support listing events for 'perf kvm|kmem| mem|lock|sched record|stat|top -e ', where 'kvm|kmem|mem|lock|sched' are all subcommands of perf. Example: Before this patch: $ perf kvm record -e $ As shown above, the events of record does not come out. After this

[PATCH 00/13] perf tools: Make some improvements and fixes

2015-03-18 Thread Yunlong Song
Hi, Found some functions to improve and bugs to fix in perf bash completion. Yunlong Song (13): perf tools: Fix the bash completion for listing options of perf subcommand perf tools: Fix the bash completion for listing subsubcommands of perf subcommand perf tools:

[PATCH 12/13] perf tools: Add the bash completion for listing subsubcommands of perf trace

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf trace ', so fix it. Example: Before this patch: $ perf trace $ As shown above, the subsubcommands of perf trace does not come out. After this patch: $ perf trace record As shown above, the subsubcommands of perf

[PATCH v1 8/9] clk: qcom: Convert ipq806x to parent_map tables

2015-03-18 Thread Georgi Djakov
Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-ipq806x.c | 51 +++- drivers/clk/qcom/lcc-ipq806x.c | 13 ++ 2 files changed, 37 insertions(+), 27 deletions(-) diff --git a/drivers/clk/qcom/gcc-ipq806x.c b/drivers/clk/qcom/gcc-ipq806x.c

[PATCH 11/13] perf tools: Add the bash completion for listing subsubcommands of perf timechart

2015-03-18 Thread Yunlong Song
The bash completion does not support listing subsubcommands for 'perf timechart ', so fix it. Example: Before this patch: $ perf timechart $ As shown above, the subsubcommands of perf timechart does not come out. After this patch: $ perf timechart record As shown above, the

[PATCH 13/13] perf tools: Avoid confusion with preloaded bash function for perf bash completion

2015-03-18 Thread Yunlong Song
Since some functions (e.g. '_get_comp_words_by_ref()') in perf bash completion script are originally taken from git bash completion script, these functions may be preloaded before perf bash completion script runs. In order to avoid repeating loading the same function twice, some test constraints

[PATCH v1 6/9] clk: qcom: Convert msm8974 to parent_map tables

2015-03-18 Thread Georgi Djakov
Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8974.c | 33 + drivers/clk/qcom/mmcc-msm8974.c | 142 +-- 2 files changed, 95 insertions(+), 80 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8974.c b/drivers/clk/qcom/gcc-msm8974.c

Re: [PATCH v3 2/4] ARM: EXYNOS: add code for setting/clearing boot flag

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz : > This code is needed for cpuidle (W-)AFTR mode support on Exynos3250. > > Cc: Daniel Lezcano > Signed-off-by: Bartlomiej Zolnierkiewicz > Acked-by: Kyungmin Park > --- > arch/arm/mach-exynos/common.h | 6 ++ >

[PATCH v1 9/9] clk: qcom: Convert msm8660 to parent_map tables

2015-03-18 Thread Georgi Djakov
Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-msm8660.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8660.c b/drivers/clk/qcom/gcc-msm8660.c index f366e68f7316..e9fc9389f977 100644 ---

Re: [PATCH v3 1/4] ARM: EXYNOS: fix CPU1 hotplug for AFTR mode on Exynos3250

2015-03-18 Thread Krzysztof Kozlowski
On śro, 2015-03-18 at 14:23 +0100, Bartlomiej Zolnierkiewicz wrote: > Hi, > > On Wednesday, March 18, 2015 02:10:31 PM Krzysztof Kozlowski wrote: > > 2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz > > : > > > > > > + while (!pmu_raw_readl(S5P_PMU_SPARE2)) > > > +

[PATCH v1 5/9] clk: qcom: Convert apq8084 to parent_map tables

2015-03-18 Thread Georgi Djakov
Signed-off-by: Georgi Djakov --- drivers/clk/qcom/gcc-apq8084.c | 70 --- drivers/clk/qcom/mmcc-apq8084.c | 178 +-- 2 files changed, 134 insertions(+), 114 deletions(-) diff --git a/drivers/clk/qcom/gcc-apq8084.c

[PATCH v1 3/9] clk: qcom: Introduce parent_map tables

2015-03-18 Thread Georgi Djakov
Define a parent_map struct to describe the relations between PLL source index and register configuration value. Add a qcom_find_src_index() function for finding the index of a clock matching the specific PLL configuration Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.h | 11

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Sudip Mukherjee
On Wed, Mar 18, 2015 at 04:23:39PM +0300, Dan Carpenter wrote: > > https://lkml.org/lkml/2015/3/10/685 > > > > You were making random white space changes and not on the same line. It > was hard to review because you had to count how many u32 arguments there > were (a million) and really look at

[PATCH RESEND 2/2] sched/rt: Consider deadline tasks in cpupri_find()

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang Currently, RT global scheduling doesn't factor deadline tasks, this may cause some problems. See a case below: On a 3 CPU system, CPU0 has one running deadline task, CPU1 has one running low priority RT task or idle, CPU3 has one running high priority RT task. When another mid

[PATCH RESEND 1/2] sched/deadline: Fix wrong cpudl_find() in check_preempt_equal_dl()

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang In check_preempt_equal_dl(), cpudl_find() is called with a NULL later_mask, thus cpudl_find() here doesn't check cpudl::free_cpus at all. This patch takles this issue by always passing a non-NULL later_mask to cpudl_find(), thereby fixing this issue. Signed-off-by: Xunlei

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-18 Thread Wolfram Sang
On Mon, Mar 16, 2015 at 09:20:49PM -0700, Guenter Roeck wrote: > On Mon, Feb 16, 2015 at 01:09:51PM +0100, Wolfram Sang wrote: > > Hi Guenter, > > > > > I wonder where we are with thisp patch; I don't recall a reply to my > > > previous > > > e-mail. > > > > Sorry for the late reply. I needed

Re: Trusted kernel patchset

2015-03-18 Thread joeyli
On Mon, Mar 16, 2015 at 10:54:54PM +0100, Jiri Kosina wrote: > On Mon, 16 Mar 2015, Matthew Garrett wrote: > > > > - All suspend/resumes allow modifying the kernel. I can boot Linux > > > suspend, boot windows, modify the Linux restore image, boot Linux and > > > own the box. You would need

Re: [PATCH v3 1/4] ARM: EXYNOS: fix CPU1 hotplug for AFTR mode on Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, March 18, 2015 02:10:31 PM Krzysztof Kozlowski wrote: > 2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz > : > > CPU1 hotplug may hang when AFTR is used. Fix it by: > > - setting AUTOWAKEUP_EN bit in ARM_COREx_CONFIGURATION register in > > exynos_cpu_power_up() > > -

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Dan Carpenter
On Wed, Mar 18, 2015 at 06:36:07PM +0530, Sudip Mukherjee wrote: > On Wed, Mar 18, 2015 at 02:25:09PM +0300, Dan Carpenter wrote: > > On Wed, Mar 18, 2015 at 11:12:20AM +, Lorenzo Stoakes wrote: > > > On 18 March 2015 at 10:50, Vitaly Kuznetsov wrote: > > If it's a white space thing on the

Re: [PATCH v3 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-03-18 Thread Sebastian Hesselbarth
On 18.03.2015 13:30, Wolfram Sang wrote: On Mon, Mar 09, 2015 at 01:21:05PM +0100, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with

Re: [PATCH] gpio: pcf857x: restore the initial line state of all pcf lines

2015-03-18 Thread Kishon Vijay Abraham I
Hi, On Wednesday 18 March 2015 05:51 PM, Linus Walleij wrote: On Mon, Mar 16, 2015 at 9:46 AM, Kishon Vijay Abraham I wrote: On Wednesday 14 January 2015 05:28 PM, Linus Walleij wrote: #include static int foo_reboot_handler(struct notifier_block *this,

[PATCH v2] Staging: dgnc: release the lock before testing for nullity

2015-03-18 Thread Quentin Lambert
The refactoring intrduced in c84a083b995b ("Staging: dgnc: Use goto for spinlock release before return") inverts the order in which the lock is released and ld is tested for nullity. This patch restores the execution flow. Fixes: c84a083b995b ("Staging: dgnc: Use goto for spinlock release before

Re: [PATCH RT 26/39] scheduling while atomic in cgroup code

2015-03-18 Thread Steven Rostedt
On Wed, 18 Mar 2015 09:37:02 +0100 Sebastian Andrzej Siewior wrote: > On 03/17/2015 09:10 PM, Paul Gortmaker wrote: > > [[PATCH RT 26/39] scheduling while atomic in cgroup code] On 12/03/2015 > > (Thu 15:13) Steven Rostedt wrote: > > > >> 3.14.34-rt32-rc1 stable review patch. > >> If anyone

Re: [PATCH] net: macb: fix endian code for avr32

2015-03-18 Thread Arun Chandran
On Wed, Mar 18, 2015 at 6:46 PM, Arun Chandran wrote: > On Wed, Mar 18, 2015 at 4:27 PM, Ben Dooks wrote: >> >> [note this has yet to be compile tested on avr32] >> >> The changes to run the macb driver in 29af05aeb98e ("net: macb: > > Yes I mistakenly thought zynq board was the first to run it

Re: [PATCH v7 3/3] scsi: ufs: add trace events and dump prints for debug

2015-03-18 Thread Dov Levenglick
> Add trace events to driver to allow monitoring and profilig > of activities such as PM suspend/resume, hibernate enter/exit, > clock gating and clock scaling up/down. > In addition, add UFS host controller register dumps to provide > detailed information in case of errors to assist in analysis >

Re: [PATCH v2] kbuild: Create directory for target DTB

2015-03-18 Thread Will Deacon
On Wed, Mar 18, 2015 at 12:39:07PM +, Michal Simek wrote: > From: Nathan Rossi > > When building specific DTBs out of the kernel tree the vendor subdirs > (boot/dts/) are not created, ensure that they are before > building the DTB. > > Signed-off-by: Nathan Rossi > Signed-off-by: Michal

Re: [PATCH v7 2/3] scsi: ufs: add debugfs for ufs

2015-03-18 Thread Dov Levenglick
> From: Lee Susman > > Adding debugfs capability for ufshcd. > > debugfs attributes introduced in this patch: > - View driver/controller runtime data > - Command tag statistics for performance analisis > - Dump device descriptor info > - Track recoverable errors statistics during runtime > -

Re: [PATCH v7 1/3] scsi: ufs: add ioctl interface for query request

2015-03-18 Thread Dov Levenglick
> From: Dolev Raviv > > This patch exposes the ioctl interface for UFS driver via SCSI device > ioctl interface. As of now UFS driver would provide the ioctl for query > interface to connected UFS device. > > Signed-off-by: Dolev Raviv > Signed-off-by: Noa Rubens > Signed-off-by: Raviv Shvili

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Lee Jones
On Tue, 03 Mar 2015, Jassi Brar wrote: > On 3 March 2015 at 17:04, Arnd Bergmann wrote: > > On Tuesday 03 March 2015 10:41:23 Lee Jones wrote: > >> + > >> +/* > >> + * struct sti_mbox_msg - sti mailbox message description > >> + * @dsize: data payload size > >> + * @pdata:

Re: [PATCH] net: macb: fix endian code for avr32

2015-03-18 Thread Arun Chandran
On Wed, Mar 18, 2015 at 4:27 PM, Ben Dooks wrote: > > [note this has yet to be compile tested on avr32] > > The changes to run the macb driver in 29af05aeb98e ("net: macb: Yes I mistakenly thought zynq board was the first to run it in BIG endian mode. > Add big endian CPU support") to support

[GIT PULL] sound fixes for 4.0-rc5

2015-03-18 Thread Takashi Iwai
Linus, please pull sound fixes for v4.0-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.0-rc5 The topmost commit is 3fc6c5a1cfb979c768de003ee3c5783e671b156d sound fixes for 4.0-rc5 This

Re: [PATCH] Check ARCH and IS_64_BIT instead of IS_X86_64 in perf

2015-03-18 Thread Arnaldo Carvalho de Melo
Em Wed, Mar 18, 2015 at 10:43:44AM +0100, Jiri Olsa escreveu: > On Wed, Mar 18, 2015 at 10:24:10AM +0200, Adrian Hunter wrote: > > Hi > > > > +Arnaldo > > +Jiri > > > > I would change the commit message and subject. Say: > > > > Subject: perf tools: Fix perf-read-vdsox32 not building and lib64

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Lee Jones
On Wed, 04 Mar 2015, Jassi Brar wrote: > On 3 March 2015 at 16:11, Lee Jones wrote: > > > --- > > drivers/mailbox/Kconfig | 7 + > > drivers/mailbox/Makefile | 2 + > > drivers/mailbox/mailbox-sti.c | 664 > > ++ > >

[PATCH v2 4/5] ARM: EXYNOS: add exynos_get_boot_addr() helper

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Add get_cpu_boot_addr() firmware operation and then exynos_get_boot_addr() helper. This is a preparation for adding coupled cpuidle support for Exynos3250 SoC. There should be no functional changes caused by this patch. Cc: Daniel Lezcano Cc: Russell King Signed-off-by: Bartlomiej

[PATCH v2 5/5] cpuidle: exynos: add coupled cpuidle support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
The following patch adds coupled cpuidle support for Exynos3250 to an existing cpuidle-exynos driver. As a result it enables AFTR mode to be used by default on Exynos3250 without the need to hot unplug CPU1 first. The detailed changelog: - use exynos_[get,set]_boot_addr() in cpuidle-exynos.c and

[PATCH v2 3/5] ARM: EXYNOS: add exynos_set_boot_addr() helper

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Add exynos_set_boot_addr() helper and covert existing code (exynos_boot_secondary() and exynos_smp_prepare_cpus()) to use it. There should be no functional changes caused by this patch. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/platsmp.c | 53

[PATCH v2 1/5] ARM: EXYNOS: fix exynos_boot_secondary() return value on timeout

2015-03-18 Thread Bartlomiej Zolnierkiewicz
exynos_boot_secondary() can erroneously return 0 or -ENOSYS even when waiting on pen_release being set to -1 timeouts. Fix it by adjusting ret variable value to -ETIMEDOUT when necessary. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/platsmp.c | 3 +++ 1

[PATCH v2 0/5] cpuidle: exynos: add coupled cpuidle support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, The following patchset adds coupled cpuidle support for Exynos3250 to an existing cpuidle-exynos driver. As a result it enables AFTR mode to be used by default on Exynos3250 without the need to hot unplug CPU1 first. The patchset depends on: - for-next branch (commit: 77105c882ba6) of

[PATCH v2 2/5] ARM: EXYNOS: make exynos_core_restart() less verbose

2015-03-18 Thread Bartlomiej Zolnierkiewicz
There is a kernel message about secondary CPU bootup when exynos_core_restart() is called through CPU hotplug code-path (the only exynos_core_restart() user currently) so there is no need for an extra info on Exynos3250 SoC about software reset. This also prepares exynos_core_restart() to be

Re: [PATCH v3 1/4] ARM: EXYNOS: fix CPU1 hotplug for AFTR mode on Exynos3250

2015-03-18 Thread Krzysztof Kozlowski
2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz : > CPU1 hotplug may hang when AFTR is used. Fix it by: > - setting AUTOWAKEUP_EN bit in ARM_COREx_CONFIGURATION register in > exynos_cpu_power_up() > - not clearing reserved bits of ARM_COREx_CONFIGURATION register in >

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Matthew Wilcox
On Wed, Mar 18, 2015 at 12:47:21PM +0200, Boaz Harrosh wrote: > God! Look at this endless list of files and it is only the very beginning. > It does not even work and touches only 10% of what will need to be touched > for this to work, and very very marginally at that. There will always be >

Re: [PATCH] Revert "of: Fix premature bootconsole disable with 'stdout-path'"

2015-03-18 Thread Rob Herring
On Tue, Mar 17, 2015 at 11:47 PM, Michael Ellerman wrote: > On Tue, 2015-03-17 at 16:46 -0400, Peter Hurley wrote: >> This reverts commit 2fa645cb2703d9b3786d850db815414dfeefa51d. >> >> The assumption that at least 1 preferred console will be registered >> when the stdout-path property is set is

Re: [PATCH RESEND 1/5] staging: sm750fb: Use memset_io instead of memset

2015-03-18 Thread Sudip Mukherjee
On Wed, Mar 18, 2015 at 02:25:09PM +0300, Dan Carpenter wrote: > On Wed, Mar 18, 2015 at 11:12:20AM +, Lorenzo Stoakes wrote: > > On 18 March 2015 at 10:50, Vitaly Kuznetsov wrote: > If it's a white space thing on the same line then it's generally ok to > fix it. The "one thing per patch" is

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread mancha
On Wed, Mar 18, 2015 at 01:02:12PM +0100, Hannes Frederic Sowa wrote: > On Wed, Mar 18, 2015, at 12:09, Stephan Mueller wrote: > > Am Mittwoch, 18. März 2015, 11:56:43 schrieb Daniel Borkmann: > > >On 03/18/2015 11:50 AM, Hannes Frederic Sowa wrote: > > >> On Wed, Mar 18, 2015, at 10:53, mancha

Re: crypto: img-hash - undefined Kconfig symbols

2015-03-18 Thread James Hartley
Hi Valentin, > On 18 Mar 2015, at 01:35, Valentin Rothberg > wrote: > > Hi James, > > your commit d358f1abbf71 ("crypto: img-hash - Add Imagination > Technologies hw hash accelerator") adds two selects on undefined > Kconfig symbols, namely CRYPTO_ALG_API and CRYPTO_SHA224. > > The first

Re: [PATCH] Staging: dgnc: release the lock before testing for nullity

2015-03-18 Thread Dan Carpenter
This patch has no changelog. What's the bug? On Wed, Mar 18, 2015 at 01:51:52PM +0100, Quentin Lambert wrote: > Fixes: c84a083b995b ("Staging: dgnc: Use goto for spinlock release before > return") > Don't put a blank line here. > Signed-off-by: Quentin Lambert regards, dan carpenter --

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-03-18 Thread Ulrich Weigand
Michael Neuling wrote on 23.02.2015 05:51:50: > Sorry for the slow response. Same here :-( > Should this inferior function be run in the current mode of the > processor? ie if the process is currently transactional and the > transaction aborts, should we be able to see any global state change

[PATCH v3 0/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds support for AFTR idle mode on boards with Exynos3250 SoC and allows EXYNOS cpuidle driver usage on these boards. It has been tested on Samsung Rinato board (Gear 2). Depends on: - for-next branch (commit: 77105c882ba6) of linux-samsung.git kernel tree Changes since

Re: [PATCH 1/2] DT: arm64: msm8916: add all SPI DT nodes

2015-03-18 Thread Stanimir Varbanov
On 03/18/2015 02:26 PM, Srinivas Kandagatla wrote: > > > On 17/03/15 16:25, Stanimir Varbanov wrote: >> + >> +spi4_sleep: spi4_sleep { >> +pinmux { >> +function = "gpio"; >> +pins = "gpio12", "gpio13", "gpio14", "gpio15"; >> +

[PATCH v3 3/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/firmware.c | 8 +++- arch/arm/mach-exynos/pm.c | 12 +++- arch/arm/mach-exynos/regs-pmu.h | 1 + arch/arm/mach-exynos/smc.h | 9 + 4 files changed, 28

[PATCH v3 1/4] ARM: EXYNOS: fix CPU1 hotplug for AFTR mode on Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
CPU1 hotplug may hang when AFTR is used. Fix it by: - setting AUTOWAKEUP_EN bit in ARM_COREx_CONFIGURATION register in exynos_cpu_power_up() - not clearing reserved bits of ARM_COREx_CONFIGURATION register in exynos_cpu_power_down() - waiting while an undocumented register 0x0908 becomes

[PATCH v3 4/4] ARM: EXYNOS: cpuidle: allow driver usage on Exynos3250 SoC

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Register cpuidle platform device on Exynos3250 SoC allowing EXYNOS cpuidle driver usage on this SoC. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/exynos.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 2/4] ARM: EXYNOS: add code for setting/clearing boot flag

2015-03-18 Thread Bartlomiej Zolnierkiewicz
This code is needed for cpuidle (W-)AFTR mode support on Exynos3250. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/common.h | 6 ++ arch/arm/mach-exynos/exynos.c | 25 + 2 files changed, 31

[PATCH] Staging: dgnc: release the lock before testing for nullity

2015-03-18 Thread Quentin Lambert
Fixes: c84a083b995b ("Staging: dgnc: Use goto for spinlock release before return") Signed-off-by: Quentin Lambert --- drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index

Re: [PATCH 1/2] of: base: add function to get highest id of an alias stem

2015-03-18 Thread Wolfram Sang
On Thu, Mar 12, 2015 at 05:17:58PM +0100, Wolfram Sang wrote: > I2C supports adding adapters using either a dynamic or fixed id. The > latter is provided by aliases in the DT case. To prevent id collisions > of those two types, install this function which gives us the highest > fixed id, so we can

Re: [PATCH 2/2] i2c: busses with dynamic ids should start after fixed ids for DT

2015-03-18 Thread Wolfram Sang
On Thu, Mar 12, 2015 at 05:17:59PM +0100, Wolfram Sang wrote: > Make sure dynamic ids do not interfere with fixed ones and let them > start after the highest fixed id. This patch might cause different > bus-numbers for dynamic ids, however it fixes a bug. Assume: > > - fixed id0 defers probe > -

[PATCHv2 01/12] usb: add bus type for USB ULPI

2015-03-18 Thread Heikki Krogerus
UTMI+ Low Pin Interface (ULPI) is a commonly used PHY interface for USB 2.0. The ULPI specification describes a standard set of registers which the vendors can extend for their specific needs. ULPI PHYs provide often functions such as charger detection and ADP sensing and probing. There are two

[PATCHv2 02/12] usb: dwc3: USB2 PHY register access bits

2015-03-18 Thread Heikki Krogerus
Definitions for Global USB2 PHY Vendor Control Register bits. We will need them to access ULPI PHY registers later. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/core.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index

[PATCHv2 05/12] usb: dwc3: cache hwparams earlier

2015-03-18 Thread Heikki Krogerus
So they are available when ULPI interface support is added. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index c7734ed..104b236 100644 ---

[PATCHv2 11/12] phy: helpers for USB ULPI PHY registering

2015-03-18 Thread Heikki Krogerus
ULPI PHYs need to be bound to their controllers with a lookup. This adds helpers that the ULPI drivers can use to do both, the registration of the PHY and the lookup, at the same time. Signed-off-by: Heikki Krogerus Cc: Kishon Vijay Abraham I --- drivers/phy/ulpi_phy.h | 31

[PATCHv2 09/12] usb: dwc3: pci: add quirk for Baytrails

2015-03-18 Thread Heikki Krogerus
On some BYT platforms the USB2 PHY needs to be put into operational mode by the controller driver with GPIOs controlling the PHYs reset and cs signals. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/dwc3-pci.c | 36 1 file changed, 36 insertions(+)

[PATCHv2 00/12] usb: ulpi bus

2015-03-18 Thread Heikki Krogerus
Major changes since v1: - calling dwc3_phy_setup earlier and registering the ULPI interface there. - new property to dwc3 for selecting the interface in case of UTMI+ and ULPI as suggested by Felipe - dwc3 soft reset before registration of the ULPI interface to sync the clocks as suggested by

[PATCHv2 10/12] usb: dwc3: add ULPI interface support

2015-03-18 Thread Heikki Krogerus
Registers DWC3's ULPI interface with the ULPI bus when it's available. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/Kconfig | 7 drivers/usb/dwc3/Makefile | 4 +++ drivers/usb/dwc3/core.c | 14 drivers/usb/dwc3/core.h | 14 drivers/usb/dwc3/ulpi.c | 91

[PATCHv2 12/12] phy: add driver for TI TUSB1210 ULPI PHY

2015-03-18 Thread Heikki Krogerus
TUSB1210 ULPI PHY has vendor specific register for eye diagram tuning. On some platforms the system firmware has set optimized value to it. In order to not loose the optimized value, the driver stores it during probe and restores it every time the PHY is powered back on. Signed-off-by: Heikki

[PATCHv2 06/12] usb: dwc3: soft reset to it's own function

2015-03-18 Thread Heikki Krogerus
So it can be called from other places later. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/core.c | 46 ++ 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 104b236..921f181

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Daniel Borkmann
On 03/18/2015 01:20 PM, Stephan Mueller wrote: Am Mittwoch, 18. März 2015, 13:19:07 schrieb Hannes Frederic Sowa: Hi Hannes, On Wed, Mar 18, 2015, at 13:14, Stephan Mueller wrote: Am Mittwoch, 18. März 2015, 13:02:12 schrieb Hannes Frederic Sowa: Hi Hannes, On Wed, Mar 18, 2015, at 12:09,

[PATCHv2 07/12] usb: dwc3: setup phys earlier

2015-03-18 Thread Heikki Krogerus
This allows dwc3_phy_setup() to be more useful later. There is nothing preventing the PHY configuration registers from being programmed early. They do not loose their context in soft reset. There are however other PHY related operations that should be executed before the driver request handles to

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