Re: [PATCH 1/2] ASoC: cygnus-audio: adding device tree bindings

2015-03-30 Thread Mark Brown
On Mon, Mar 30, 2015 at 08:16:23PM -0700, Scott Branden wrote: > +SSP Subnode properties: > +- dai-name: The name of the DAI registered with ASOC ASoC. Why is this in the DT - it sounds like this is just an internal implementation detail for Linux, not a property of the hardware. > +- mode:

Re: [PATCH 3/4] mm: move lazy free pages to inactive list

2015-03-30 Thread Minchan Kim
On Mon, Mar 30, 2015 at 10:28:47PM -0700, Andrew Morton wrote: > On Tue, 31 Mar 2015 13:45:25 +0900 Minchan Kim wrote: > > > > > > deactivate_page() doesn't look at or alter PageReferenced(). Should it? > > > > Absolutely true. Thanks. > > Here it goes. > > > > >From

[PATCH] dmapool: Declare struct device

2015-03-30 Thread Mark Brown
dmapool uses struct device in function arguments but relies on an implicit inclusion to declare struct device causing warnings in some configurations: include/linux/dmapool.h:31:7: warning: 'struct device' declared inside parameter list Fix this by adding a struct device declaration to the

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-03-30 Thread Mark Brown
On Mon, Mar 30, 2015 at 08:46:10AM +0200, Michal Simek wrote: > On 03/27/2015 06:53 PM, Mark Brown wrote: > > On Fri, Mar 27, 2015 at 11:55:49AM +0100, Michal Simek wrote: > > Please fix your mail client to word wrap within paragraphs at less than > > 80 columns - this makes your mails easier to

Re: [PATCH 12/25] virtio_console: Use bool function return values of true/false not 1/0

2015-03-30 Thread Amit Shah
On (Mon) 30 Mar 2015 [16:46:10], Joe Perches wrote: > Use the normal return values for bool functions > > Signed-off-by: Joe Perches > --- > drivers/char/virtio_console.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/char/virtio_console.c

Re: [PATCH v2 1/2] seccomp.2: Explain blacklisting problems, expand example

2015-03-30 Thread Michael Kerrisk (man-pages)
Hi Jann, Thanks for the patch. I've applied it. Cheers, Michael On 03/24/2015 07:38 PM, Jann Horn wrote: > --- > man2/seccomp.2 | 73 > +- > 1 file changed, 67 insertions(+), 6 deletions(-) > > diff --git a/man2/seccomp.2

Re: [PATCH 3/4] mm: move lazy free pages to inactive list

2015-03-30 Thread Andrew Morton
On Tue, 31 Mar 2015 13:45:25 +0900 Minchan Kim wrote: > > > > deactivate_page() doesn't look at or alter PageReferenced(). Should it? > > Absolutely true. Thanks. > Here it goes. > > >From 2b2c92eb73a1cceac615b9abd4c0f5f0c3395ff5 Mon Sep 17 00:00:00 2001 > From: Minchan Kim > Date: Tue, 31

Re: Support of usb_phy notifier in generic phy.

2015-03-30 Thread Kishon Vijay Abraham I
Hi, On Friday 27 March 2015 01:37 PM, Anjana V Kumar wrote: Hi Kishon This is regarding the notification of usb_phy_events option which was available with usb_phy. In my scenario, the phy driver gets the connect/disconnect event, and does the initial phy programming. Then I want to notify the

Re: [PATCH] dmaengine: pl330: fix the race condition in pl330 driver.

2015-03-30 Thread Jassi Brar
On Tue, Mar 31, 2015 at 9:10 AM, Scott Branden wrote: > Hi Vinod, Jassi, > > Some details on the problem encountered. > > > On 15-03-30 10:25 AM, Vinod Koul wrote: >> >> On Mon, Mar 30, 2015 at 10:17:17PM +0530, Jassi Brar wrote: >>> >>> On Fri, Mar 27, 2015 at 5:25 AM, Scott Branden >>> wrote:

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-30 Thread Grant Likely
On Thu, 22 Jan 2015 22:31:46 +0200 , Pantelis Antoniou wrote: > Hi Joe, > > > On Jan 21, 2015, at 19:37 , Joe Perches wrote: > > > > On Wed, 2015-01-21 at 19:06 +0200, Pantelis Antoniou wrote: > >> 90% of the usage of device node's full_name is printing it out > >> in a kernel message.

Re: [PATCH v2 1/6] phy: miphy365x: Use the generic phy type constants in dt-bindings/phy/phy.h

2015-03-30 Thread Kishon Vijay Abraham I
Hi Patrice, Maxime, On Monday 30 March 2015 08:47 PM, Peter Griffin wrote: Now there are generic phy type constants declared in phy.h, migrate over to using them rather than defining our own. This change has been done as one atomic commit to be bisectable. Note: The values of the defines are

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Kishon Vijay Abraham I
On Tuesday 31 March 2015 10:36 AM, Jaewon Kim wrote: Hi Kishon. Could you check my patch?? sure.. patch looks fine. will queue it. -Kishon On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim wrote: This patch adds driver data to support for Exynos5433

Re: Question on ARC's thread_info

2015-03-30 Thread Vineet Gupta
On Sunday 29 March 2015 04:48 AM, Richard Weinberger wrote: > Vineet, > > I'm working on a patch series which touches sturct thread_info. > ARC's thread_info has the following comment: > * - if the contents of this structure are changed, the assembly constants > * must also be changed > > Is

Re: Re: [Fix kernel crash in cipso_v4_sock_delattr ]

2015-03-30 Thread Maninder Singh
We are currently using 3.10.58 kernel and we are facing this issue for samck enabled system. and as we can check in other APIs like netlbl_sock_getattr and netlbl_conn_setattr have this preventive check so we added this check for netlbl_sock_delattr also. And regarding patch re-submission,

Re: [PATCH RESEND] phy: exynos5-usbdrd: Add to support for Exynos5433 SoC

2015-03-30 Thread Jaewon Kim
Hi Kishon. Could you check my patch?? On 26/03/2015 14:16, Vivek Gautam wrote: On Thu, Mar 26, 2015 at 7:48 AM, Jaewon Kim wrote: This patch adds driver data to support for Exynos5433 SoC. The Exynos5433 has one USB3.0 Host and USB3.0 DRD(Dual Role Device). Exynos5433 is simplar to Eyxnos7

Re: [PATCH v2] dma: vdma: Fix compilation warnings

2015-03-30 Thread Vinod Koul
On Tue, Mar 31, 2015 at 07:35:43AM +1100, Stephen Rothwell wrote: Hi Stephen, > > On Mon, 30 Mar 2015 22:48:46 +0530 Vinod Koul wrote: > > > > On Mon, Mar 30, 2015 at 06:48:29PM +0530, Kedareswara rao Appana wrote: > > > This patch fixes the following compilation warnings. > > > In file included

Re: smp_call_function_single lockups

2015-03-30 Thread Linus Torvalds
On Mon, Mar 30, 2015 at 8:15 PM, Chris J Arges wrote: > [ 13.613531] WARNING: CPU: 0 PID: 0 at ./arch/x86/include/asm/apic.h:444 > apic_ack_edge+0x84/0x90() > [ 13.613531] [] apic_ack_edge+0x84/0x90 > [ 13.613531] [] handle_edge_irq+0x57/0x120 > [ 13.613531] [] handle_irq+0x22/0x40 >

Re: [PATCH 3/4] mm: move lazy free pages to inactive list

2015-03-30 Thread Minchan Kim
Hello Andrew, On Mon, Mar 30, 2015 at 02:20:10PM -0700, Andrew Morton wrote: > On Mon, 30 Mar 2015 14:35:02 +0900 Minchan Kim wrote: > > > --- a/mm/swap.c > > +++ b/mm/swap.c > > @@ -866,6 +866,13 @@ void deactivate_file_page(struct page *page) > > } > > } > > > > +/** > > + *

Re: [PATCH] [RESEND] drivers: bus: omap_l3: remove deprecated IRQF_DISABLED

2015-03-30 Thread Nishanth Menon
On 03/26/2015 08:11 PM, Michael Opdenacker wrote: > This patch removes the use of the IRQF_DISABLED flag > from drivers/bus/omap_l3_* > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > Acked-by: Santosh Shilimkar Acked-by: Nishanth Menon >

Re: [PATCH 4/4] mm: make every pte dirty on do_swap_page

2015-03-30 Thread Minchan Kim
On Tue, Mar 31, 2015 at 12:14:46AM +0300, Cyrill Gorcunov wrote: > On Mon, Mar 30, 2015 at 05:59:15PM +0900, Minchan Kim wrote: > > Hi Cyrill, > > > > On Mon, Mar 30, 2015 at 11:51:12AM +0300, Cyrill Gorcunov wrote: > > > On Mon, Mar 30, 2015 at 02:22:50PM +0900, Minchan Kim wrote: > > > > 2nd

Re: smp_call_function_single lockups

2015-03-30 Thread Linus Torvalds
On Mon, Mar 30, 2015 at 8:15 PM, Chris J Arges wrote: > > I've been able to repro with your patch and observed the WARN_ON when booting > a > VM on affected hardware and non affected hardware: Ok, interesting. So the whole "we try to do an APIC ACK with the ISR bit clear" seems to be a real

Re: [v3, 3/3] powerpc/powernv: Introduce sysfs control for fastsleep workaround behavior

2015-03-30 Thread Michael Ellerman
On Mon, 2015-03-30 at 22:45 +0530, Shreyas B Prabhu wrote: > On Monday 30 March 2015 03:51 PM, Michael Ellerman wrote: > > > > This sounds good, although the name is a bit vague. > How about "fastsleep_workaround_permanent", with default value = 0. User > can make workaround permanent by

Re: [PATCH] Input: ALPS - fix max coordinates for v5 and v7 protocols

2015-03-30 Thread Luca Coelho
On Sat, 2015-03-21 at 20:36 -0700, Dmitry Torokhov wrote: > Commit 3296f71cd2fde7a2ad52e66a27eae419f6328066 ("Input: ALPS - consolidate > setting protocol parameters") inadvertently moved call to > alps_dolphin_get_device_area() from v5 to v7 protocol, causing both > protocols report incorrect

[PATCH] crypto: omap-sham: Use pm_runtime_irq_safe()

2015-03-30 Thread Lokesh Vutla
omap_sham_handle_queue() can be called as part of done_task tasklet. During this its atomic and any calls to pm functions cannot sleep. But there is a call to pm_runtime_get_sync() (which can sleep) in omap_sham_handle_queue(), because of which the following appears: " [ 116.169969] BUG:

[PATCH] crypto: omap-aes: Fix support for unequal lengths

2015-03-30 Thread Lokesh Vutla
For cases where total length of an input SGs is not same as length of the input data for encryption, omap-aes driver crashes. This happens in the case when IPsec is trying to use omap-aes driver. To avoid this, we copy all the pages from the input SG list into a contiguous buffer and prepare a

[PATCH] crypto: omap-sham: Check for HIGHMEM before mapping SG pages

2015-03-30 Thread Lokesh Vutla
Commit 26a05489ee0e ("crypto: omap-sham - Map SG pages if they are HIGHMEM before accessing") says that HIGHMEM pages may not be mapped so we must kmap them before accessing, but it doesn't check whether the corresponding page is in highmem or not. Because of this all the crypto tests are

Re: d63e2e1f3df breaks sparc/T5-8

2015-03-30 Thread David Ahern
On 3/30/15 7:06 PM, Yinghai Lu wrote: ok, that is really non-pref mmio 64bit. We can workaround the problem by honoring firmware setting, according to https://www.pcisig.com/specifications/pciexpress/base2/PCIe_Base_r2.1_Errata_08Jun10.pdf page 13 Please check attached updated patches that

Re: [PATCH] ARM: dts: Use define for s3c-rtc clock id

2015-03-30 Thread Chanwoo Choi
Hi, On 03/31/2015 12:21 AM, Krzysztof Kozlowski wrote: > Use a define instead of raw number as a ID for "rtc_src" clock. > > Signed-off-by: Krzysztof Kozlowski > > --- > > Patch depends on new file "dt-bindings/clock/samsung,s2mps11.h" from: >

Re: [PATCH 4/9 net-next] ipv6: replace if/BUG by BUG_ON

2015-03-30 Thread YOSHIFUJI Hideaki
Hi, Fabian Frederick wrote: > Signed-off-by: Fabian Frederick > --- > net/ipv6/addrconf.c | 3 +-- > net/ipv6/esp6.c | 3 +-- > net/ipv6/netfilter/nf_conntrack_reasm.c | 3 +-- > 3 files changed, 3 insertions(+), 6 deletions(-) > > diff --git

Re: [PATCH] dmaengine: pl330: fix the race condition in pl330 driver.

2015-03-30 Thread Scott Branden
Hi Vinod, Jassi, Some details on the problem encountered. On 15-03-30 10:25 AM, Vinod Koul wrote: On Mon, Mar 30, 2015 at 10:17:17PM +0530, Jassi Brar wrote: On Fri, Mar 27, 2015 at 5:25 AM, Scott Branden wrote: From: ismail Update the thread running index before issuing the GO command to

Re: [PATCH v2 0/2] i8k.c => dell-smm-hwmon.c

2015-03-30 Thread Guenter Roeck
On 03/29/2015 05:57 AM, Pali Rohár wrote: This patch series moves drivers/char/i8k.c to drivers/hwmon/dell-smm-hwmon.c and allows to compile hwmon driver without /proc/i8k file. Pali Rohár (2): hwmon: Rename i8k driver to dell-smm-hwmon and move it to hwmon tree hwmon: Allow to compile

Re: [PATCH] linux/cpumask.h: add typechecking to cpumask_test_cpu

2015-03-30 Thread Rusty Russell
Rasmus Villemoes writes: > The Subtlety (1) referred to vanished with 6ba2ef7baac2 ("cpumask: > Move deprecated functions to end of header."). That used to mention > some suboptimal code generation by a, by now, rather ancient gcc. With > gcc 4.7, I don't see any change in the generated code by

Re: Revised futex(2) man page for review

2015-03-30 Thread Rusty Russell
"Michael Kerrisk (man-pages)" writes: > When executing a futex operation that requests to block a thread, > the kernel will only block if the futex word has the value that the > calling thread supplied as expected value. > The load from the futex word, the comparison with > the expected value, >

[PATCH] ARM: dts: mt8173: support arm64 cpuidle-dt

2015-03-30 Thread Howard Chen
add an idle-states node to describe the mt8173 cpu idle add a reference to the idle-states node in each CPU node Signed-off-by: Howard Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git

Re: [RFC] bpf: Suggestion on bpf syscall interface

2015-03-30 Thread Alexei Starovoitov
On 3/29/15 8:13 PM, He Kuang wrote: By using current bpf syscalls, we should keep the program which attaches bpf programs running background, use it or some other processes communicate with it to adjust maps parameters, like sample rate for sys_write. You can do all of the above by passing

Re: [PATCH] mtd:ts5500_flash: Fix typo in MODULE_DESCRIPTION in ts5500_flash.c

2015-03-30 Thread Brian Norris
On Mon, Mar 30, 2015 at 07:06:22PM +0900, Masanari Iida wrote: > This patch fix a spelling typo in MODULE_DESCRIPTION in ts5500_flash.c. Uhh, s/fix/fixes/ ? :) Fixed and pushed to l2-mtd.git. Brian > > Signed-off-by: Masanari Iida > --- > drivers/mtd/maps/ts5500_flash.c | 2 +- > 1 file

[PATCH 2/2] ASoC: add core audio driver for Broadcom Cygnus SOC.

2015-03-30 Thread Scott Branden
From: Lori Hikichi The audio block has 4 serial ports. 3 ports are configurable as either I2S or TDM. The 4th port is for SPDIF transmit. This audio block is found on the bcm958305, bcm958300, and bcm911360. Reviewed-by: Jonathan Richardson Signed-off-by: Lori Hikichi Signed-off-by: Scott

[PATCH 1/2] ASoC: cygnus-audio: adding device tree bindings

2015-03-30 Thread Scott Branden
From: Lori Hikichi Add device tree binding documentation for the Cygnus SOC audio block Reviewed-by: Jonathan Richardson Reviewed-by: Ray Jui Signed-off-by: Scott Branden Signed-off-by: Lori Hikichi --- .../bindings/sound/brcm,cygnus-audio.txt | 68 ++ 1 file

[PATCH 0/2] Cygnus Audio Driver

2015-03-30 Thread Scott Branden
Please provide comments on the initial version of this driver. This patchset contains the devicetree bindings and core audio driver for the Cygnus SoC. There is an open question on how to fit this driver into the clock framework (if at all). The audio PLL is embedded in the audio block and only

Re: smp_call_function_single lockups

2015-03-30 Thread Chris J Arges
On Thu, Feb 19, 2015 at 02:45:54PM -0800, Linus Torvalds wrote: > On Thu, Feb 19, 2015 at 1:59 PM, Linus Torvalds > wrote: > > > > Is this worth looking at? Or is it something spurious? I might have > > gotten the vectors wrong, and maybe the warning is not because the ISR > > bit isn't set, but

[RFC PATCH 5 4/7] nfs - cache_lib use service thread if not executing in init namespace

2015-03-30 Thread Ian Kent
From: Ian Kent If pipefs is registered within a container pipefs requests should be run within their originating container also. To do that get a token to a service thread created within the container environment for usermode helper calls. Signed-off-by: Ian Kent Cc: Benjamin Coddington Cc:

[RFC PATCH 5 6/7] KEYS - use correct memory allocation flag in call_usermodehelper_keys()

2015-03-30 Thread Ian Kent
From: Ian Kent When call_usermodehelper_keys() is called it assumes it won't be called with the flag UMH_NO_WAIT. Currently that's always the case. Change this to check the flag and use the correct kernel memory allocation flag to guard against future changes. Signed-off-by: Ian Kent Cc:

[RFC PATCH 5 7/7] KEYS: exec request key within service thread of key creator

2015-03-30 Thread Ian Kent
From: Ian Kent Containerized request key helper callbacks need the ability to execute a binary in a container's context. To do that get a token to a service thread created within the container environment for usermode helper calls. Signed-off-by: Ian Kent Cc: Benjamin Coddington Cc: Al Viro

[RFC PATCH 5 5/7] nfs - objlayout use service thread if not executing in init namespace

2015-03-30 Thread Ian Kent
From: Ian Kent If the caller is running within a container then execute the usermode helper callback within the container also. Signed-off-by: Ian Kent Cc: Benjamin Coddington Cc: Al Viro Cc: J. Bruce Fields Cc: David Howells Cc: Trond Myklebust Cc: Oleg Nesterov Cc: Eric W. Biederman

[RFC PATCH 5 3/7] nfsd - use service thread if not executing in init namespace

2015-03-30 Thread Ian Kent
From: Ian Kent If nfsd is running within a container the client tracking operations should run within their originating container also. To do that get a token to a service thread created within the container environment for usermode helper calls. Signed-off-by: Ian Kent Cc: Benjamin Coddington

[RFC PATCH 5 1/7] kmod - add workqueue service thread store

2015-03-30 Thread Ian Kent
From: Ian Kent Persistent use of process information is needed for contained execution in a namespace other than the root init namespace. Use a simple random token as a key to create and store thread information in a hashed list for use by the usermode helper thread runner. Signed-off-by: Ian

[RFC PATCH v5 0/7] Another attempt at contained helper execution

2015-03-30 Thread Ian Kent
Following Eric's comments and in light of the most recent nfs and keys patches here is yet another attempt at the basis of contained usermode helper execution. Initially I thought that creating threads to be used when executing a helper wouldn't be feasible because the number of threads would be

[RFC PATCH 5 2/7] kmod - teach usermodehelper to use service workqueues

2015-03-30 Thread Ian Kent
The call_usermodehelper() function executes all binaries in the global "init" root context. This doesn't allow a binary to be run within a namespace environment such as a container. To do this the namespace environment of the contaner must be available to provide the required execution

Re: [v2,2/2] powerpc32: add support for csum_add()

2015-03-30 Thread Scott Wood
On Tue, Feb 03, 2015 at 12:39:27PM +0100, LEROY Christophe wrote: > The C version of csum_add() as defined in include/net/checksum.h gives the > following assembly: >0: 7c 04 1a 14 add r0,r4,r3 >4: 7c 64 00 10 subfc r3,r4,r0 >8: 7c 63 19 10

Re: [PATCH V2] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-03-30 Thread Nicolas Pitre
On Mon, 30 Mar 2015, Preeti U Murthy wrote: > It was found when doing a hotplug stress test on POWER, that the machine > either hit softlockups or rcu_sched stall warnings. The issue was > traced to commit 7cba160ad789a powernv/cpuidle: Redesign idle states > management, which exposed the cpu

Re: [PATCH v2 08/10] perf/hv24x7: Whitespace cleanup

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 18:53 -0700, Sukadev Bhattiprolu wrote: > Fix minor whitespace damages. If you are going to do whitespace cleaning, please verify the patches with scripts/checkpatch.pl --strict. > diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c [] > @@ -1077,7

Re: [PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

2015-03-30 Thread Brian Norris
On Thu, Mar 26, 2015 at 06:39:53PM -0700, Michael Opdenacker wrote: > This removes the use of the IRQF_DISABLED flag > from drivers/mtd/nand/hisi504_nand.c > > It's a NOOP since 2.6.35. > > Signed-off-by: Michael Opdenacker > --- > drivers/mtd/nand/hisi504_nand.c | 2 +- > 1 file changed, 1

Re: [PATCH 06/25] powerpc: Use bool function return values of true/false not 1/0

2015-03-30 Thread Benjamin Herrenschmidt
On Mon, 2015-03-30 at 16:46 -0700, Joe Perches wrote: > Use the normal return values for bool functions Acked-by: Benjamin Herrenschmidt Should we merge it or will you ? Cheers, Ben. > Signed-off-by: Joe Perches > --- > arch/powerpc/include/asm/dcr-native.h| 2 +- >

Re: [PATCH_V2 2/2] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-03-30 Thread Brian Norris
I can't compile test most of this, since I don't have the dependencies. But the code looks mostly OK. On Mon, Mar 09, 2015 at 11:58:19AM +, Zubair Lutfullah Kakakhel wrote: > From: Alex Smith > > Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as > well as the hardware

Re: [4/4] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:15PM +0800, chenhui zhao wrote: > In sleep mode, the clocks of e500 cores and unused IP blocks is > turned off. The IP blocks which are allowed to wake up the processor > are still running. > > The sleep mode is equal to the Standby state in Linux. Use the > command

Re: [PATCH v2] PM / devfreq: tegra: Register governor on module init

2015-03-30 Thread MyungJoo Ham
> Sender : Tomeu Vizoso > Date : 2015-03-31 00:33 (GMT+09:00) > Title : [PATCH v2] PM / devfreq: tegra: Register governor on module init > > So this driver builds as a module. > > Signed-off-by: Tomeu Vizoso > --- > > v2: * Remove governor if driver registration fails > --- >

RE: [PATCHv3 0/1] Intel Quark X1000 DTS thermal driver

2015-03-30 Thread Kweh, Hock Leong
> -Original Message- > From: Ong, Boon Leong > Sent: Tuesday, March 31, 2015 7:58 AM > To: Zhang, Rui; edubez...@gmail.com > Cc: linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Ong, Boon > Leong; pure.lo...@nexus-software.ie; Kweh, Hock Leong; > andy.shevche...@gmail.com > Subject:

Re: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:14PM +0800, chenhui zhao wrote: > Implemented CPU hotplug on e500mc, e5500 and e6500, and support > multiple threads mode and 64-bits mode. > > For e6500 with two threads, if one thread is online, it can > enable/disable the other thread in the same core. If two

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-30 Thread Mike Galbraith
On Mon, 2015-03-30 at 15:12 -0400, Don Zickus wrote: > On Mon, Mar 30, 2015 at 02:51:05PM -0400, cmetc...@ezchip.com wrote: > > From: Chris Metcalf > > > > Running watchdog can be a helpful debugging feature on regular > > cores, but it's incompatible with nohz_full, since it forces > > regular

Re: [PATCH_V2 1/2] dt-bindings: binding for jz4780-{nand,bch}

2015-03-30 Thread Brian Norris
On Mon, Mar 09, 2015 at 11:58:18AM +, Zubair Lutfullah Kakakhel wrote: > From: Alex Smith > > Add DT bindings for NAND devices connected to the NEMC on JZ4780 SoCs, > as well as the hardware BCH controller, used by the jz4780_{nand,bch} > drivers. > > Signed-off-by: Alex Smith >

Re: [PATCH 06/25] powerpc: Use bool function return values of true/false not 1/0

2015-03-30 Thread Joe Perches
On Tue, 2015-03-31 at 12:49 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2015-03-30 at 16:46 -0700, Joe Perches wrote: > > Use the normal return values for bool functions > > Acked-by: Benjamin Herrenschmidt > > Should we merge it or will you ? Hey Ben. I don't merge stuff. I just send

[PATCH v2 02/10] powerpc/hv24x7: Remove unnecessary parameter

2015-03-30 Thread Sukadev Bhattiprolu
Remove the 'success_expected' parameter and log the message unconditionally. Changelog[v2] [Michael Ellerman]: Move the change to reduce log message priority into a separate patch. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 16 ++--

[PATCH v2 00/10] powerpc/hv-24x7: Reorganize single_24x7_request()

2015-03-30 Thread Sukadev Bhattiprolu
We currently issue a new hcall for to retrieve the value of each 24x7 counter that we want to read. However, the H_GET_24x7_DATA hcall can retrieve several counters in a single call, which would be useful in getting a more consistent snapshot of the system. Reorganize the code that prepares a

[PATCH v2 04/10] powerpc/hv-24x7: Drop event_24x7_request()

2015-03-30 Thread Sukadev Bhattiprolu
The function event_24x7_request() is essentially a wrapper to the function single_24x7_request() and can be dropped to simplify code. Changelog [v2]: - Michael Ellerman: Use fields from the request structure rather than re-extracting from event structure. Signed-off-by:

[PATCH v2 07/10] powerpc/hv-24x7: Define add_event_to_24x7_request()

2015-03-30 Thread Sukadev Bhattiprolu
Move code that maps a perf_event to a 24x7 request buffer into a separate function, add_event_to_24x7_request(). Changelog[v2] [Michael Ellerman]: Move white-space changes to separate patch. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 59

[PATCH v2 08/10] perf/hv24x7: Whitespace cleanup

2015-03-30 Thread Sukadev Bhattiprolu
Fix minor whitespace damages. Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index fe74221..676fb2f9 100644 ---

[PATCH v2 10/10] powerpc/hv-24x7: Break up single_24x7_request

2015-03-30 Thread Sukadev Bhattiprolu
Break up the function single_24x7_request() into smaller functions. This would later enable us to "prepare" a multi-event request buffer and then submit a single hcall for several events. Changelog[v2]: [Michael Ellerman] Rename start_24x7_get_data() to init_24x7_request()

[PATCH v2 09/10] powerpc/hv-24x7: Define update_event_count()

2015-03-30 Thread Sukadev Bhattiprolu
Move the code to update an event count into a new function, update_event_count(). Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index

[PATCH v2 03/10] perf/hv24x7: Use pr_devel() to log message

2015-03-30 Thread Sukadev Bhattiprolu
Use pr_devel_ratelimited() to log error message when the 24x7 HCALL fails. Since users specify events by their sysfs name, the HCALL should succeed. Any errors reported by the HCALL would be of interest to the developer, rather than the user/administrator. Signed-off-by: Sukadev Bhattiprolu ---

[PATCH v2 05/10] powerpc/hv24x7: Move debug prints to separate function

2015-03-30 Thread Sukadev Bhattiprolu
To simplify/cleanup code, move the rather long printk() to a separate function. Signed-off-by: Sukadev Bhattiprolu Conflicts: arch/powerpc/perf/hv-24x7.c --- arch/powerpc/perf/hv-24x7.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git

[PATCH v2 06/10] powerpc/hv-24x7: Rename hv_24x7_event_update

2015-03-30 Thread Sukadev Bhattiprolu
For consistency with the pmu operation ->read() and with other pmus, rename hv_24x7_event_update() to hv_24x7_event_read(). Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/perf/hv-24x7.c

[PATCH v2 01/10] powerpc/hv-24x7: Modify definition of request and result buffers

2015-03-30 Thread Sukadev Bhattiprolu
The parameters to the 24x7 HCALL have variable number of elements in them. Set the minimum number of such elements to 1 rather than 0 and eliminate the temporary structures. This would enable us to submit multiple counter requests and process multiple results from a single HCALL (in a follow on

[PATCH 1/1] powerpc/hv-24x7: Add missing put_cpu_var()

2015-03-30 Thread Sukadev Bhattiprolu
From: Sukadev Bhattiprolu Date: Tue, 17 Feb 2015 14:14:36 -0500 Subject: [PATCH 1/1] powerpc/hv-24x7: Add missing put_cpu_var() Add missing put_cpu_var() for 24x7 requests. This went missing in commit f34b6c7 (3.18-rc3). Signed-off-by: Sukadev Bhattiprolu --- arch/powerpc/perf/hv-24x7.c | 4

Re: [patch v11 13/23] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-30 Thread Hanjun Guo
On 2015/3/30 21:58, Catalin Marinas wrote: > On Fri, Mar 27, 2015 at 09:40:26PM +0800, Hanjun Guo wrote: >> On 2015年03月26日 11:49, Hanjun Guo wrote: >>> On 2015/3/26 1:21, Catalin Marinas wrote: On Tue, Mar 24, 2015 at 10:02:46PM +0800, Hanjun Guo wrote: > ---

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Andrew Bresticker
Hi Mike, On Mon, Mar 30, 2015 at 6:36 PM, Michael Turquette wrote: > Quoting Andrew Bresticker (2015-03-30 17:15:43) >> On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote: >> > On 02/24/15 19:56, Andrew Bresticker wrote: >> >> + >> >> +void pistachio_clk_force_enable(struct

[PATCH] mm: numa: disable change protection for vma(VM_HUGETLB)

2015-03-30 Thread Naoya Horiguchi
On Mon, Mar 30, 2015 at 12:59:01PM +0100, Mel Gorman wrote: > On Mon, Mar 30, 2015 at 07:42:13PM +0900, Naoya Horiguchi wrote: ... > > I note now that the patch was too hasty. By rights, that check > should be covered by vma_migratable() but it's only checked if >

Re: [Linaro-acpi] [PATCH 1/2] ARM64 / ACPI: Ignore the return error value of acpi_map_gic_cpu_interface()

2015-03-30 Thread Hanjun Guo
On 2015/3/31 5:53, Al Stone wrote: > On 03/27/2015 06:14 AM, Hanjun Guo wrote: >> MADT table scannig will stopped once it gets the errors >> returned by the handler, which is acpi_map_gic_cpu_interface() >> in for ARM64, so Ignore the return error value to search for >> all enabled CPUs for SMP

[PATCH char-misc-next v4 02/13] misc: mic: SCIF ring buffer infrastructure

2015-03-30 Thread Sudeep Dutt
SCIF ring buffer is a single producer, single consumer byte stream ring buffer optimized for avoiding reads across the PCIe bus while adding the required barriers and hardware workarounds for the MIC Coprocessor. The ring buffer is used to implement a receive queue for SCIF driver messaging

[PATCH char-misc-next v4 01/13] misc: mic: SCIF header file and IOCTL interface

2015-03-30 Thread Sudeep Dutt
This patch introduces the SCIF documentation in the header file and describes the IOCTL interface for user mode. mic_overview.txt is updated with documentation on SCIF and a new document describing SCIF in more details is available in scif_overview.txt. Reviewed-by: Nikhil Rao Reviewed-by:

[PATCH char-misc-next v4 03/13] misc: mic: SCIF Hardware Bus

2015-03-30 Thread Sudeep Dutt
The SCIF hardware bus abstracts the low level hardware driver details like interrupts and mapping remote memory so that the same SCIF driver can work without any changes with the MIC host or card driver as long as the hardware bus operations are implemented. The SCIF hardware device is registered

Re: [RFC PATCH v3 1/2] clk: samsung: Add a clock lookup function

2015-03-30 Thread Michael Turquette
Quoting Javier Martinez Canillas (2015-03-30 09:08:40) > Hello Tomasz, > > On 03/30/2015 06:02 PM, Tomasz Figa wrote: > > Hi Javier, > > > > 2015-03-31 0:53 GMT+09:00 Javier Martinez Canillas > > : > >> The Samsung helpers functions to register clocks, add the clock instance > >> returned by the

[PATCH char-misc-next v4 04/13] misc: mic: SCIF Peer Bus

2015-03-30 Thread Sudeep Dutt
The SCIF peer bus is used to register and unregister SCIF peer devices internally by the SCIF driver to signify the addition and removal of peer nodes respectively from the SCIF network. This simplifies remote node handling within SCIF and will also be used to support device probe/remove for SCIF

[PATCH char-misc-next v4 07/13] misc: mic: SCIF node queue pair setup management

2015-03-30 Thread Sudeep Dutt
SCIF node queue pair setup creates the SCIF driver kernel mode private node queue pairs between all the nodes to enable internal control message communication once SCIF gets probed by the SCIF hardware bus. Peer to peer communication between MIC Coprocessor nodes is supported. Reviewed-by: Nikhil

[PATCH char-misc-next v4 09/13] misc: mic: SCIF connections APIs i.e. accept and connect

2015-03-30 Thread Sudeep Dutt
From: Nikhil Rao SCIF connection APIs which establish a SCIF connection between a pair of SCIF endpoints. A SCIF connection consists of a dedicated queue-pair between the endpoints. Client messages are sent over the queue-pair whereas the signaling associated with the message is multiplexed over

[PATCH char-misc-next v4 08/13] misc: mic: SCIF open close bind and listen APIs

2015-03-30 Thread Sudeep Dutt
SCIF character device file operations and kernel APIs for opening and closing a user and kernel mode SCIF endpoint. This patch also enables binding to a SCIF port and listening for incoming SCIF connections. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt ---

[PATCH char-misc-next v4 12/13] misc: mic: MIC card driver specific changes to enable SCIF

2015-03-30 Thread Sudeep Dutt
MIC card driver specific changes to enable SCIF. This patch implements the SCIF hardware bus operations and registers a SCIF device on the SCIF hardware bus. Reviewed-by: Nikhil Rao Signed-off-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/Kconfig | 2 +-

[PATCH char-misc-next v4 05/13] misc: mic: Common MIC header file changes in preparation for SCIF

2015-03-30 Thread Sudeep Dutt
Update mic_bootparam and define the maximum number of DMA channels Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/common/mic_dev.h | 3 +++ include/uapi/linux/mic_common.h | 12 2 files changed, 15 insertions(+) diff --git

[PATCH char-misc-next v4 10/13] misc: mic: SCIF messaging and node enumeration APIs

2015-03-30 Thread Sudeep Dutt
SCIF messaging APIs which allow sending messages between the SCIF endpoints via a byte stream based ring buffer which has been optimized to avoid reads across PCIe. The SCIF messaging APIs are typically used for short < 1024 byte messages for best performance while the RDMA APIs which will be

[PATCH char-misc-next v4 13/13] misc: mic: add support for loading/unloading SCIF driver

2015-03-30 Thread Sudeep Dutt
modprobe SCIF driver upon start and remove it upon unload Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- Documentation/mic/mpssd/mpss | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Documentation/mic/mpssd/mpss

[PATCH char-misc-next v4 11/13] misc: mic: MIC host driver specific changes to enable SCIF

2015-03-30 Thread Sudeep Dutt
MIC host driver specific changes to enable SCIF. This patch implements the SCIF hardware bus operations and registers a SCIF device on the SCIF hardware bus. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/Kconfig| 2 +-

[PATCH char-misc-next v4 06/13] misc: mic: SCIF module initialization

2015-03-30 Thread Sudeep Dutt
SCIF module initialization, DMA mapping, ioremap wrapper APIs and debugfs hooks. SCIF gets probed by the SCIF hardware bus if SCIF devices were registered by base drivers. A MISC device is registered to provide the SCIF character device interface. Reviewed-by: Nikhil Rao Reviewed-by: Ashutosh

[PATCH char-misc-next v4 00/13] misc: mic: SCIF driver

2015-03-30 Thread Sudeep Dutt
ChangeLog: = v3 => v4: a) Delete unused IOCTL definitions and IOCTL interface fixes as per feedback from Greg Kroah-Hartman b) Couple of tiny bug fixes since v3 v2 => v3 @ https://lkml.org/lkml/2015/1/26/849 a) Formatting fixes for SCIF header file documentation, data type fixes for

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Michael Turquette
Quoting Andrew Bresticker (2015-03-30 17:15:43) > On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote: > > On 02/24/15 19:56, Andrew Bresticker wrote: > >> + > >> +void pistachio_clk_force_enable(struct pistachio_clk_provider *p, > >> + unsigned int *clk_ids, unsigned

Re: [PATCH 2/7] clk: Add basic infrastructure for Pistachio clocks

2015-03-30 Thread Andrew Bresticker
On Mon, Mar 30, 2015 at 6:21 PM, Stephen Boyd wrote: > On 03/30/15 17:15, Andrew Bresticker wrote: >> On Mon, Mar 30, 2015 at 4:59 PM, Stephen Boyd wrote: >>> On 02/24/15 19:56, Andrew Bresticker wrote: + +void pistachio_clk_force_enable(struct pistachio_clk_provider *p, +

Re: [PATCH v10]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-30 Thread Michael Turquette
Quoting Sascha Hauer (2015-03-30 10:40:39) > The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: > > Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) > > are available in the git repository at: > > git://git.pengutronix.de/git/imx/linux-2.6.git tags/v4.0-clk-mediatek-v10

[PATCH v2] ramoops: make it possible to change mem_type param.

2015-03-30 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change mem_type parameter in command line. Signed-off-by: Wang Long Acked-by: Tony Lindgren ---

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-03-30 Thread Brian Norris
On Wed, Jan 14, 2015 at 09:38:50AM -0600, dingu...@opensource.altera.com wrote: > From: Graham Moore > > The Denali Controller IP does not support sub-page writes. > > Signed-off-by: Graham Moore > Signed-off-by: Dinh Nguyen Pushed to l2-mtd.git. Thanks! Brian -- To unsubscribe from this

Re: [PATCH] mtd: pxa3xx_nand: cleanup wait_for_completion handling

2015-03-30 Thread Brian Norris
On Sun, Feb 01, 2015 at 11:55:37AM -0500, Nicholas Mc Guire wrote: > return type of wait_for_completion_timeout is unsigned long not int, this > patch uses the return value of wait_for_completion_timeout in the condition > directly rather than assigning it to an incorrect type variable. > > The

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-03-30 Thread Scott Wood
On Thu, Mar 26, 2015 at 06:18:13PM +0800, chenhui zhao wrote: > There is a RCPM (Run Control/Power Management) in Freescale QorIQ > series processors. The device performs tasks associated with device > run control and power management. > > The driver implements some features: mask/unmask irq,

Re: [PATCH] ftracetest: Do not use usleep

2015-03-30 Thread Steven Rostedt
On Tue, 31 Mar 2015 02:08:06 +0100 Pádraig Brady wrote: > > I'm okay with ping though but worried if some tiny system might lack > > the ping command.. > > I'd use a fallback method like: > > yield() { sleep .001 || usleep 1 || sleep 1; } > > Then just s/usleep 1/yield/ yield() { ping

  1   2   3   4   5   6   7   8   9   10   >