Re: [PATCH] powerpc: warn users of smt-snooze-delay that the API isn't there anymore

2014-02-24 Thread Deepthi Dharwar
On 02/22/2014 05:44 AM, Cody P Schafer wrote: > /sys/devices/system/cpu/cpu*/smt-snooze-delay was converted into a NOP > in commit 3fa8cad82b94d0bed002571bd246f2299ffc876b, and now does > nothing. Add a pr_warn() to convince any users that they should stop > using it. > > The commit message from

Re: [PATCH][RESEND] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2014-02-24 Thread Michael Opdenacker
Hi Prabhakar On 02/25/2014 07:02 AM, Prabhakar Lad wrote: > Hi Michael, > > On Mon, Feb 24, 2014 at 11:01 AM, Prabhakar Lad > wrote: >> Hi Michael, >> >> On Thu, Feb 20, 2014 at 6:47 PM, Michael Opdenacker >> wrote: >>> Hi Laurent, >>> >>> On 02/20/2014 12:36 PM, Laurent Pinchart wrote: Hi

Re: [PATCH RFC v1 1/3] ARM: Add irq disabled version of soft_restart.

2014-02-24 Thread Russ Dill
On 02/24/2014 03:13 PM, Sebastian Capella wrote: > Quoting Russell King - ARM Linux (2014-02-22 02:26:17) >> On Tue, Feb 18, 2014 at 05:52:07PM -0800, Sebastian Capella wrote: >>> From: Russ Dill >>> >>> This adds the ability to run soft_restart with local_irq/fiq_disable >>> already called. This

Re: [BISECTED] ssh - Received disconnect from x.x.x.x: 2: Bad packet length 3149594624

2014-02-24 Thread Ivaylo Dimitrov
Hi, On 14.02.2014 18:24, Will Deacon wrote: You could try putting back the UNALIGNED_ACCESS in net/mac80211/rx.c and commenting out the skb->len = desc->length - PLCP_HEADER_LENGTH; line above. the following patch diff --git a/drivers/net/wireless/ti/wl1251/rx.c

[PATCH 8/8] lib: Mark function as static in lib/decompress_unlzo.c

2014-02-24 Thread Rashika Kheria
Mark function as static in lib/decompress_unlzo.c because it is not used outside this file. This eliminates the following warning in lib/decompress_unlzo.c: lib/decompress_unlzo.c:54:24: warning: no previous prototype for ‘parse_header’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria

[PATCH 7/8] lib: Include appropriate header file in lib/decompress_unxz.c

2014-02-24 Thread Rashika Kheria
Include appropriate header file include/linux/decompress/unxz.h in lib/decompress_unxz.c because it has prototype declaration of function defined in lib/decompress_unxz.c. This eliminates the following warning in lib/decompress_unxz.c: lib/decompress_unxz.c:251:17: warning: no previous prototype

[PATCH 6/8] lib: Include appropriate header file in lib/libcrc32c.c

2014-02-24 Thread Rashika Kheria
Include appropriate header file include/linux/crc32c.h in lib/libcrc32c.c because it has prototype declaration of function defined in lib/libcrc32c.c. This eliminates the following warning in lib/libcrc32c.c: lib/libcrc32c.c:42:5: warning: no previous prototype for ‘crc32c’

Re: [PATCHv3] tty: Set correct tty name in 'active' sysfs attribute

2014-02-24 Thread Hannes Reinecke
On 02/24/2014 03:58 PM, David Herrmann wrote: > Hi > > On Mon, Feb 24, 2014 at 3:50 PM, Hannes Reinecke wrote: >> The 'active' sysfs attribute should refer to the currently >> active tty devices the console is running on, not the currently >> active console. >> The console structure doesn't

Re: [PATCH] r8169: initialize rtl8169_stats seqlock

2014-02-24 Thread Borislav Petkov
On Mon, Feb 24, 2014 at 08:32:40PM -0500, David Miller wrote: > > Boris reports he's seeing: > >> [9.195943] INFO: trying to register non-static key. > >> [9.196031] the code is fine but needs lockdep annotation. > >> [9.196031] turning off the locking correctness validator. > >> [

[PATCH 5/8] lib: Include appropriate header file in lib/decompress_inflate.c

2014-02-24 Thread Rashika Kheria
Include appropriate header file include/linux/decompress/inflate.h in lib/decompress_inflate.c because it has prototype declaration of function defined in lib/decompress_inflate.c. Also, fix the guard around the header file include/linux/decompress/inflate.h to use a more unique guard symbol.

linux-next: Tree for Feb 25

2014-02-24 Thread Stephen Rothwell
Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140224: The powerpc tree still had its build failure. The mfd-lj tree still had its build failure so I used the version from next-20140210. The wireless-next tree gained a build failure so I used

RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-24 Thread Peter Chen
> > > > > > > > > > > > On Mon, Feb 24, 2014 at 04:03:12PM +0800, Neil Zhang wrote: > > > > > Hardware zlt will try to send the zero length packet > > > > > automatically when the data transferd is multiple times of max > > > > > packet, this will cause issues on Windows. > > > > > So let's

[PATCH 4/8] lib: Add prototype declarations in lib/clz_ctz.c

2014-02-24 Thread Rashika Kheria
Add prototype declarations of functions in lib/clz_ctz.c. These functions are required by GCC builtins and hence can not be removed despite of their unreferenced appearance in kernel source. This eliminates the following warning in lib/clz_ctz.c: lib/clz_ctz.c:16:12: warning: no previous

[PATCH 3/8] lib: Move prototype declaration to header file include/linux/swiotlb.h

2014-02-24 Thread Rashika Kheria
Move prototype declaration of function to header file include/linux/swiotlb.h from arch/ia64/hp/common/hwsw_iommu.c, arch/ia64/hp/common/sba_iommu.c and arch/x86/pci/sta2x11-fixup.c because it is used by more than one file. This eliminates the following warning in lib/swiotlb.c:

[PATCH] rcu: Copyright string update

2014-02-24 Thread Hidetoshi Seto
Fix corporate name for copyright. Signed-off-by: Hidetoshi Seto --- include/linux/srcu.h |2 +- kernel/rcu/srcu.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/srcu.h b/include/linux/srcu.h index 9b058ee..04f5abb 100644 --- a/include/linux/srcu.h

[PATCH] btrfs: Copyright string update

2014-02-24 Thread Hidetoshi Seto
Fix corporate name for copyright. Signed-off-by: Hidetoshi Seto --- fs/btrfs/delayed-inode.c |2 +- fs/btrfs/delayed-inode.h |2 +- fs/btrfs/math.h |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/delayed-inode.c b/fs/btrfs/delayed-inode.c

[PATCH 2/8] lib: Mark function as static in lib/lru_cache.c

2014-02-24 Thread Rashika Kheria
Mark function as static in lib/lru_cache.c because it is not used outside this file. This eliminates the following warning in lib/lru_cache.c: lib/lru_cache.c:172:6: warning: no previous prototype for ‘lc_free_by_index’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria Reviewed-by: Josh

[PATCH 1/8] lib: Include appropriate header file in lib/iommu-helper.c

2014-02-24 Thread Rashika Kheria
Include appropriate header file include/linux/iommu-helper.h in lib/iommu-helper.c because it has prototype declaration of function defined in lib/iommu-helper.c. This eliminates the following warning in lib/iommu-helper.c: lib/iommu-helper.c:9:5: warning: no previous prototype for

Re: [PATCH v3 07/11] watchdog: xilinx: Use of_property_read_u32

2014-02-24 Thread Michal Simek
On 02/24/2014 08:25 PM, Wim Van Sebroeck wrote: > Hi Michal, > >> On 02/23/2014 08:00 PM, Alejandro Cabrera wrote: >>> On 23/2/2014 6:43 AM, Guenter Roeck wrote: On 02/23/2014 08:25 AM, Alejandro Cabrera wrote: > On 22/2/2014 7:44 PM, Guenter Roeck wrote: >> On 02/22/2014 10:14 PM,

Re: [PATCH 6/8] security: smack: Use a more current logging style

2014-02-24 Thread James Morris
On Mon, 24 Feb 2014, Casey Schaufler wrote: > On 2/24/2014 2:35 PM, Casey Schaufler wrote: > > On 2/24/2014 1:59 PM, Joe Perches wrote: > >> Convert printks to pr_ > >> Add pr_fmt. > >> > >> Signed-off-by: Joe Perches > > Acked-by: Casey Schaufler > > > > I will take this into the smack-next

Re: [PATCH 1/1] hfsplus: fix longname handling

2014-02-24 Thread Vyacheslav Dubeyko
Hi Sougata, On Mon, 2014-02-24 at 21:28 +0200, Sougata Santra wrote: > -ENAMETOOLONG returned from hfsplus_asc2uni was not propaged to iops. This > allowed hfsplus to create files/directories with HFSPLUS_MAX_STRLEN and > incorrect keys, leaving the FS in an inconsistent state. This patch fixes >

Re: [PATCH 1/4] ASoC: simple-card: Fix device node locks

2014-02-24 Thread Jean-Francois Moine
On Mon, 24 Feb 2014 02:17:00 + "li.xi...@freescale.com" wrote: > > @@ -169,22 +164,26 @@ static int asoc_simple_card_parse_of(struct > > device_node > > *node, > > /* CPU sub-node */ > > ret = -EINVAL; > > np = of_get_child_by_name(node, "simple-audio-card,cpu"); > > - if (np)

RE: [PATCH 3/6] usb: gadget: mv_udc: clear corresponding interrupt when flush fifo

2014-02-24 Thread Neil Zhang
> -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: 2014年2月25日 9:59 > To: Neil Zhang > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/6] usb: gadget: mv_udc: clear corresponding

RE: [PATCH 5/6] USB: gadget: mv_udc: workaroud for missing dTD

2014-02-24 Thread Peter Chen
> > From: Peter Chen [mailto:peter.c...@freescale.com] > > Sent: 2014年2月25日 12:19 > > To: Neil Zhang > > Cc: ba...@ti.com; gre...@linuxfoundation.org; > > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH 5/6] USB: gadget: mv_udc: workaroud for missing > > dTD > >

Re: [RFC] drivercore: deferral race condition fix

2014-02-24 Thread Peter Ujfalusi
On 02/24/2014 07:22 PM, Greg Kroah-Hartman wrote: > On Mon, Feb 24, 2014 at 10:40:32AM +0900, Mark Brown wrote: >> On Mon, Dec 23, 2013 at 02:41:31PM +0200, Peter Ujfalusi wrote: >> >>> The proposed solution is to try the deferred queue once more when the last >>> driver is asking for deferring

RE: [PATCH 0/6] bug fix for mv_udc_core.c

2014-02-24 Thread Neil Zhang
> -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: 2014年2月25日 12:18 > To: Neil Zhang > Cc: Matthieu CASTET; ba...@ti.com; gre...@linuxfoundation.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 0/6] bug fix for

Re: A Bug Inquiry in linux/tools/perf/builtin-record.c

2014-02-24 Thread xiakaixu
于 2014/2/19 9:48, xiakaixu 写道: > Hi all, > > There is a bug found in my work when running "perf record". The basic > information > is here. As we know, perf record is a parent process and the programme traced > is > a child process when running "perf record". Sometimes the child process become

RE: [PATCH 5/6] USB: gadget: mv_udc: workaroud for missing dTD

2014-02-24 Thread Neil Zhang
> -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: 2014年2月25日 12:19 > To: Neil Zhang > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 5/6] USB: gadget: mv_udc: workaroud for

RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-24 Thread Neil Zhang
> -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: 2014年2月25日 13:15 > To: Neil Zhang > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for

Re: [PATCH] tools: Unify export.h

2014-02-24 Thread Borislav Petkov
On Tue, Feb 25, 2014 at 12:09:23PM +1030, Rusty Russell wrote: > Should we get more ambitious and start a fake-kernel/ directory where > we can put userspace equivs/stubs of kernel functionality? Dunno - people like to do that now, it seems. In any case, cleanups and unifications like that would

[PATCH] regulator: core: allow enabling without enable op

2014-02-24 Thread Alexandre Courbot
Commit 14c32a3ce6676265d7a27ea64a4d406e6dbad111 replaced direct uses of ops->enable by calls to _regulator_do_enable. This prevents a fixed regulators without a GPIO from being probed, since the former code checked the existence of ops->enable and continued if it did not exist, while

Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-24 Thread Namhyung Kim
Hi Hemant, On Mon, 24 Feb 2014 14:45:43 +0530, Hemant Kumar wrote: > This patch enables perf to list the SDT markers present in a system. It looks > in dsos given by ldconfig --print-cache and for other binaries, it looks into > the PATH environment variable. After preparing a list of the

[PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-24 Thread Jason Wang
We used to stop the handling of tx when the number of pending DMAs exceeds VHOST_MAX_PEND. This is used to reduce the memory occupation of both host and guest. But it was too aggressive in some cases, since any delay or blocking of a single packet may delay or block the guest transmission.

Re: [PATCH V2 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-24 Thread Daniel Lezcano
On 02/25/2014 04:47 AM, Preeti U Murthy wrote: Hi Daniel, On 02/24/2014 07:25 PM, Daniel Lezcano wrote: --- drivers/cpuidle/cpuidle.c | 114 ++ include/linux/cpuidle.h | 19 +++ 2 files changed, 105 insertions(+), 28 deletions(-)

Your Credible ACP Partner

2014-02-24 Thread Grace
Dear Purchasing Manager, Hello,this is Grace from Shanghai Jixiang Industry Co.,Ltd. Our company is a large powerful professional aluminum composite panel manufacturer with 18 years’s experience. We want to avail ourselves of opportunity establishing business relation with you. For more

Re: [PATCH 1/2] hwmon: (lm90) split set temp as common codes

2014-02-24 Thread Guenter Roeck
On 02/24/2014 10:21 PM, Wei Ni wrote: Split set temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle error return value for the lm90_select_remote_channel and write_tempx, then set_temp8 and set_temp11 could return it to user-space.

[PATCH RESEND v10 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-02-24 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 75

[PATCH 2/2] hwmon: lm90: expose to thermal fw via DT nodes

2014-02-24 Thread Wei Ni
This patch adds to lm90 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the lm90 DT node. Otherwise, the driver

[PATCH RESEND v10 1/4] PHY: Add function set_speed to generic PHY framework

2014-02-24 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 21 +

[PATCH 0/2] expose lm90 to thermal fw

2014-02-24 Thread Wei Ni
Expose lm90 to thermal framework via DT nodes. The [PATCH 1/2] had reviewed in: http://www.spinics.net/lists/linux-tegra/msg14108.html Wei Ni (2): hwmon: (lm90) split set temp as common codes hwmon: lm90: expose to thermal fw via DT nodes drivers/hwmon/lm90.c | 228

[PATCH RESEND v10 0/4] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-02-24 Thread Loc Ho
This patch adds support for APM X-Gene SoC 15Gbps Multi-purpose PHY. This is the physical layer interface for the corresponding host controller. This driver uses the PHY generic framework. In addition, the PHY generic framework is patched to provide an function to set the speed of the PHY. v10 *

[PATCH 1/2] hwmon: (lm90) split set temp as common codes

2014-02-24 Thread Wei Ni
Split set temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle error return value for the lm90_select_remote_channel and write_tempx, then set_temp8 and set_temp11 could return it to user-space. Signed-off-by: Wei Ni Signed-off-by: Jean

Re: [PATCH 0/9 v7] crypto:s5p-sss: Add DT and Exynos support

2014-02-24 Thread Herbert Xu
On Mon, Feb 17, 2014 at 03:14:26PM +0530, Naveen Krishna Chatradhi wrote: > SSS module on Exynos4210, Exynos5250 and Exynos5420 SoCs has added > features to the one on S5PV210. However with minor changes the s5p-sss.c > driver can be reused to support SSS modules on Exynos4 and 5 SoCs. > > This

[PATCH RESEND v10 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-02-24 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79 1 files changed, 79 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/apm-xgene-phy.txt diff

linux-next: manual merge of the staging tree with the arm-soc tree

2014-02-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in arch/arm/boot/dts/imx53-qsb.dts between commit d5eb195f26fa ("ARM: dts: i.MX53: move common QSB nodes to new file") from the arm-soc tree and commit 17b5001b5143 ("imx-drm: convert to componentised device support") from the

linux-next: manual merge of the staging tree with the imx-mxs tree

2014-02-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in arch/arm/boot/dts/imx51-babbage.dts between commit a198af2322a1 ("ARM: dts: i.MX51 babbage: Support diagnostic LED") from the imx-mxs tree and commit 17b5001b5143 ("imx-drm: convert to componentised device support") from the

linux-next: manual merge of the staging tree with the arm-soc tree

2014-02-24 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in arch/arm/boot/dts/imx53-mba53.dts between commit a4a2aa9b038c ("ARM: dts: imx53-mba53: create a container for fixed regulators") from the arm-soc tree and commit 17b5001b5143 ("imx-drm: convert to componentised device

Re: [PATCH] net: kdoc struct net_device flags and priv_flags

2014-02-24 Thread Luis R. Rodriguez
On Mon, Feb 24, 2014 at 09:37:34PM -0800, Florian Fainelli wrote: > Le lundi 24 février 2014, 23:53:43 David Miller a écrit : > > From: Ben Hutchings > > Date: Tue, 25 Feb 2014 02:11:05 + > > > > > On Mon, 2014-02-24 at 16:14 -0800, Luis R. Rodriguez wrote: > > >> From: "Luis R. Rodriguez"

Re: [PATCH 1/2] cpufreq: Return error if ->get() failed in cpufreq_update_policy()

2014-02-24 Thread Viresh Kumar
On 25 February 2014 11:23, Srivatsa S. Bhat wrote: > Hmm, that's a good point. However, lets first think about the simple scenario > that the driver _is_ able to detect the current frequency from the hardware > (a non-zero, sane value) say X KHz, and that frequency is different from what > the

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-24 Thread Linus Torvalds
On Mon, Feb 24, 2014 at 3:35 PM, Linus Torvalds wrote: > > Litmus test 1: > > p = atomic_read(pp, consume); > if (p == ) > return p->val; > >is *NOT* ordered Btw, don't get me wrong. I don't _like_ it not being ordered, and I actually did spend some time thinking about my

[PATCH] x86: set Pentium M as PAE capable

2014-02-24 Thread Chris Bainbridge
Pentium M is PAE capable but does not indicate so in the CPUID response. This is an issue now that some distributions are no longer shipping non-PAE kernels (those distributions no longer boot on Pentium M). This small patch fixes the issue by forcing the PAE capability on Pentium M. For more

Re: [PATCH][RESEND] [media] davinci: vpfe: remove deprecated IRQF_DISABLED

2014-02-24 Thread Prabhakar Lad
Hi Michael, On Mon, Feb 24, 2014 at 11:01 AM, Prabhakar Lad wrote: > Hi Michael, > > On Thu, Feb 20, 2014 at 6:47 PM, Michael Opdenacker > wrote: >> Hi Laurent, >> >> On 02/20/2014 12:36 PM, Laurent Pinchart wrote: >>> Hi Michael, >>> >>> What's the status of this patch ? Do expect Prabhakar to

Re: [RFC 0/6] vhost/scsi: Add T10 PI SGL passthrough support

2014-02-24 Thread Nicholas A. Bellinger
On Mon, 2014-02-24 at 11:23 +0100, Paolo Bonzini wrote: > Il 24/02/2014 06:32, Nicholas A. Bellinger ha scritto: > > AFAICT up until this point the ->prio field has been unused, but > > I'm certainly open to better ways of signaling (to vhost) that some > > number of metadata iovs are to be

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-24 Thread Paul E. McKenney
On Mon, Feb 24, 2014 at 03:35:04PM -0800, Linus Torvalds wrote: > On Mon, Feb 24, 2014 at 2:37 PM, Paul E. McKenney > wrote: > >> > >> What if the "nothing modifies 'p'" part looks like this: > >> > >> if (p != ) > >> return; > >> > >> and now any sane compiler will happily optimize

Re: [PATCH 1/2] cpufreq: Return error if ->get() failed in cpufreq_update_policy()

2014-02-24 Thread Srivatsa S. Bhat
On 02/25/2014 10:11 AM, Viresh Kumar wrote: > On 18 February 2014 07:49, Viresh Kumar wrote: >> On 18 February 2014 03:30, Rafael J. Wysocki wrote: >>> On Monday, February 17, 2014 02:25:34 PM Srivatsa S. Bhat wrote: Why go to no_policy when we can actually set things right?

Re: [PATCH 7/7] powerpc: Added PCI MSI support using the HSTA module

2014-02-24 Thread Alistair Popple
On Sat, 22 Feb 2014 07:41:26 Benjamin Herrenschmidt wrote: > On Fri, 2014-02-21 at 15:33 +0100, Arnd Bergmann wrote: [...] > > Should we (provided it's possible in HW) create two ranges instead ? One > covering RAM and one covering MSIs ? To avoid stray DMAs whacking random > HW registers in

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-24 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-18 12:32:18) > From: Mike Turquette > > This patch provides helper functions for drivers that wish to scale > voltage through the clock rate-change notifiers. The approach taken > is that the user-driver(cpufreq/devfreq) do not care about the > details of the OPP

Re: [PATCH] tools: Unify export.h

2014-02-24 Thread Rusty Russell
Borislav Petkov writes: > From: Borislav Petkov > > So tools/ has been growing three, at a different stage of their > development export.h headers and so we should unite into one. Add > tools/include/ to the include path of virtio and liblockdep to pick the > shared header now. Should we get

Re: [PATCH] net: kdoc struct net_device flags and priv_flags

2014-02-24 Thread Florian Fainelli
Le lundi 24 février 2014, 23:53:43 David Miller a écrit : > From: Ben Hutchings > Date: Tue, 25 Feb 2014 02:11:05 + > > > On Mon, 2014-02-24 at 16:14 -0800, Luis R. Rodriguez wrote: > >> From: "Luis R. Rodriguez" > >> > >> --- > >> > >> include/uapi/linux/if.h | 201 > >>

Re: [PATCH V8 1/2] PHY: Exynos: Add Exynos5250 SATA PHY driver

2014-02-24 Thread Jingoo Han
On Mon, 24 Feb 2014 19:26:44, Kishon Vijay Abraham I wrote: > On Monday 24 February 2014 07:02 PM, Yuvaraj Kumar C D wrote: > > This patch adds the SATA PHY driver for Exynos5250.Exynos5250 SATA > > PHY comprises of CMU and TRSV blocks which are of I2C register Map. > > So this patch also adds a

Re: [PATCH] checkpatch.pl: Add warning for new __packed additions

2014-02-24 Thread Joe Perches
On Mon, 2014-02-24 at 17:43 -0500, Tom Rini wrote: > My perl is quite limited, so however much effort you're interested in > putting in here is greatly appreciated (even if it's pointing out > something else already in the script to copy and modify). We already > ship a .checkpatch.conf so having

RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-24 Thread Peter Chen
> > On Mon, Feb 24, 2014 at 04:03:12PM +0800, Neil Zhang wrote: > > > Hardware zlt will try to send the zero length packet automatically > > > when the data transferd is multiple times of max packet, this will > > > cause issues on Windows. > > > So let's disable HW zlt by default. > > > >

Re: [PATCH 5/6] USB: gadget: mv_udc: workaroud for missing dTD

2014-02-24 Thread Peter Chen
On Mon, Feb 24, 2014 at 04:03:15PM +0800, Neil Zhang wrote: > There is an issue with the add dTD tripwire semaphore (ATDTW bit in > USBCMD register) that can cause the controller to ignore a dTD that is > added to a primed endpoint. When this happens, the software can read > the tripwire bit and

Re: [PATCH v2] dma: add R-Car Audio DMAC peri peri driver

2014-02-24 Thread Kuninori Morimoto
Hi Vinod, Linux-kernel ML ping ? > Can I ask you about current status of this patch ? > > > From: Kuninori Morimoto > > > > Add support Audio DMAC peri peri driver > > for Renesas R-Car Gen2 SoC, using 'shdma-base' > > DMA driver framework. > > > > Signed-off-by: Kuninori Morimoto > > ---

Re: [PATCH 0/6] bug fix for mv_udc_core.c

2014-02-24 Thread Peter Chen
On Mon, Feb 24, 2014 at 04:42:40AM -0800, Neil Zhang wrote: > > > -Original Message- > > From: Matthieu CASTET [mailto:matthieu.cas...@parrot.com] > > Sent: 2014年2月24日 18:32 > > To: Neil Zhang > > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > >

Re: [GIT PULL] bcm pinctrl rename

2014-02-24 Thread Christian Daudt
On Fri, Feb 21, 2014 at 2:29 PM, Olof Johansson wrote: > (As per irc discussion). The rename isn't the right thing to do at this > time in the release, but the binding needs to be tweaked before it ships > in a full release, or we'll always need to live with it. > > So, I'll be happy to take the

Re: [Patch v7 2/2] dmaengine: add Qualcomm BAM dma driver

2014-02-24 Thread Felipe Balbi
On Tue, Feb 25, 2014 at 12:05:00PM +0900, Mark Brown wrote: > On Mon, Feb 24, 2014 at 06:09:13PM -0600, Felipe Balbi wrote: > > > > + depends on ARCH_QCOM || (COMPILE_TEST && OF && ARM) > > > do you really want to make it depend on ARM even when COMPILE_TEST=y ? > > writel_relaxed() is

Re: [PATCH] net: kdoc struct net_device flags and priv_flags

2014-02-24 Thread David Miller
From: Ben Hutchings Date: Tue, 25 Feb 2014 02:11:05 + > On Mon, 2014-02-24 at 16:14 -0800, Luis R. Rodriguez wrote: >> From: "Luis R. Rodriguez" >> >> --- >> include/uapi/linux/if.h | 201 >> +++- >> 1 file changed, 149 insertions(+), 52

Re: [PATCH] powerpc: warn users of smt-snooze-delay that the API isn't there anymore

2014-02-24 Thread Madhavan Srinivasan
On Saturday 22 February 2014 05:44 AM, Cody P Schafer wrote: > /sys/devices/system/cpu/cpu*/smt-snooze-delay was converted into a NOP > in commit 3fa8cad82b94d0bed002571bd246f2299ffc876b, and now does > nothing. Add a pr_warn() to convince any users that they should stop > using it. > > The

Re: sched: hang in migrate_swap

2014-02-24 Thread Michael wang
On 02/24/2014 09:10 PM, Peter Zijlstra wrote: > On Mon, Feb 24, 2014 at 01:12:18PM +0100, Peter Zijlstra wrote: >> +if (p) { >> +if (unlikely(p == RETRY_TASK)) >> +goto again; > > We could even make that: unlikely(p & 1), I think most

Re: [PATCH 1/2] cpufreq: Return error if ->get() failed in cpufreq_update_policy()

2014-02-24 Thread Viresh Kumar
On 18 February 2014 07:49, Viresh Kumar wrote: > On 18 February 2014 03:30, Rafael J. Wysocki wrote: >> On Monday, February 17, 2014 02:25:34 PM Srivatsa S. Bhat wrote: >>> Why go to no_policy when we can actually set things right? >>> >>> Anyway, I am not arguing against this strongly. I just

Re: [BUG] sched: tip/master show panic while booting/rebooting

2014-02-24 Thread Paul E. McKenney
On Tue, Feb 25, 2014 at 10:45:26AM +0800, Michael wang wrote: > Hi, Paul > > On 02/25/2014 08:30 AM, Paul E. McKenney wrote: > [snip] > > > > I don't see an opportunity for load_balance() to loop with interrupts > > disabled, but maybe I am looking at the wrong code. The NMI handler > > looks

Re: [PATCH] xtensa: export ccount_freq

2014-02-24 Thread Max Filippov
On Tue, Feb 25, 2014 at 8:07 AM, Guenter Roeck wrote: > xtensa:allmodconfig fails to build with hundreds of messages such as > > ERROR: "ccount_freq" [drivers/ata/pata_hpt3x2n.ko] undefined! > > Exporting ccount_freq solves the problem. > > Signed-off-by: Guenter Roeck > --- >

Re: [PATCH] ASoC: wm8993: Remove unused pointer in wm8993_remove()

2014-02-24 Thread Mark Brown
On Sat, Feb 22, 2014 at 04:00:16PM +0100, Christian Engelmayer wrote: > Commit 88b5bdfd (ASoC: wm8993: drop regulator_bulk_free of devm_ allocated > data) eliminated the last user of driver data pointer 'wm8993' in function > wm8993_remove() - Thus remove it. Detected by Coverity: CID 1186208.

linux-next: manual merge of the watchdog tree with the mvebu tree

2014-02-24 Thread Stephen Rothwell
Hi Wim, Today's linux-next merge of the watchdog tree got a conflict in drivers/watchdog/orion_wdt.c between commit e97662e1e28d ("watchdog: orion: Handle the interrupt so it's properly acked") from the mvebu tree and commit 2e9a2ff49520 ("watchdog: delete non-required instances of include ")

[PATCH] xtensa: export ccount_freq

2014-02-24 Thread Guenter Roeck
xtensa:allmodconfig fails to build with hundreds of messages such as ERROR: "ccount_freq" [drivers/ata/pata_hpt3x2n.ko] undefined! Exporting ccount_freq solves the problem. Signed-off-by: Guenter Roeck --- arch/xtensa/kernel/time.c |1 + 1 file changed, 1 insertion(+) diff --git

RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-24 Thread Neil Zhang
> -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: 2014年2月25日 9:19 > To: Neil Zhang > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for

Re: [PATCH v5 0/10] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-24 Thread Dave Chinner
On Tue, Feb 25, 2014 at 02:16:01PM +1100, Stephen Rothwell wrote: > Hi Dave, > > On Mon, 24 Feb 2014 11:57:10 +1100 Dave Chinner wrote: > > > > > Namjae Jeon (10): > > > fs: Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate > > > xfs: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate > >

Re: Commit 597ce1723 (MIPS: Support for 64-bit FP with O32 binaries) causing qemu hang with mips64 kernels

2014-02-24 Thread Guenter Roeck
On 02/07/2014 08:55 PM, Guenter Roeck wrote: On 02/07/2014 07:57 PM, Huacai Chen wrote: Hi, Maybe you can try this: http://patchwork.linux-mips.org/patch/6506/ http://patchwork.linux-mips.org/patch/6507/ With those two patches applied the problem is gone. Any idea if and when those

Re: [PATCH 00/13] cross rename v4

2014-02-24 Thread J. R. Okajima
Miklos Szeredi: > As Linus' suggestion, a whiteout is represented as a dummy char device. > This patch uses the 0/0 device number, but the actual number doesn't matter > as long as it doesn't conflict with a real device. I have no objection about the char device. But why do we need an inode for

Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Tue, Feb 25, 2014 at 12:54:04AM -0300, Fabio Estevam wrote: > Hi Nicolin, > > On Tue, Feb 25, 2014 at 12:46 AM, Nicolin Chen > wrote: > >> So register it from the ESAI driver then. > > > > Then I think I need to find a way to pass the clock to CODEC driver... > > Does this example from

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Tue, Feb 25, 2014 at 12:52:32PM +0900, Mark Brown wrote: > On Tue, Feb 25, 2014 at 11:46:36AM +0800, Nicolin Chen wrote: > > On Tue, Feb 25, 2014 at 12:39:29PM +0900, Mark Brown wrote: > > > > So register it from the ESAI driver then. > > > Then I think I need to find a way to pass the clock

Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Fabio Estevam
Hi Nicolin, On Tue, Feb 25, 2014 at 12:46 AM, Nicolin Chen wrote: >> So register it from the ESAI driver then. > > Then I think I need to find a way to pass the clock to CODEC driver... Does this example from mxs-saif help? commit 7c9e6150f2e7cbd60e0bc9a19118ca1dc97d2780 Author: Shawn Guo

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Mark Brown
On Tue, Feb 25, 2014 at 11:46:36AM +0800, Nicolin Chen wrote: > On Tue, Feb 25, 2014 at 12:39:29PM +0900, Mark Brown wrote: > > So register it from the ESAI driver then. > Then I think I need to find a way to pass the clock to CODEC driver... Won't the normal DT mechanisms work here? I'd

Re: [PATCH V2 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-24 Thread Preeti U Murthy
Hi Daniel, On 02/24/2014 07:25 PM, Daniel Lezcano wrote: > --- > drivers/cpuidle/cpuidle.c | 114 > ++ > include/linux/cpuidle.h | 19 +++ > 2 files changed, 105 insertions(+), 28 deletions(-) > > Index:

Re: perf_fuzzer compiled for x32 causes reboot

2014-02-24 Thread H. Peter Anvin
On 02/24/2014 11:30 AM, Peter Zijlstra wrote: > On Mon, Feb 24, 2014 at 02:13:29PM -0500, Steven Rostedt wrote: >> Ah, and x86_64 saves off the cr2 register when entering NMI and restores >> it before returning. But it seems to be missing from the i386 code. > > arch/x86/kernel/nmi.c: > >

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Tue, Feb 25, 2014 at 12:39:29PM +0900, Mark Brown wrote: > On Tue, Feb 25, 2014 at 11:13:14AM +0800, Nicolin Chen wrote: > > On Tue, Feb 25, 2014 at 12:09:47PM +0900, Mark Brown wrote: > > > > We should be able to arrange to have the ESAI be a clock provider > > > shouldn't we? If the clocks

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Mark Brown
On Tue, Feb 25, 2014 at 11:13:14AM +0800, Nicolin Chen wrote: > On Tue, Feb 25, 2014 at 12:09:47PM +0900, Mark Brown wrote: > > We should be able to arrange to have the ESAI be a clock provider > > shouldn't we? If the clocks need to interface to other things (and they > > do) then we should be

Re: [PATCH V2 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-24 Thread Preeti U Murthy
Hi Peter, Daniel, On 02/24/2014 08:46 PM, Peter Zijlstra wrote: > On Mon, Feb 24, 2014 at 04:12:07PM +0100, Daniel Lezcano wrote: >> On 02/24/2014 04:00 PM, Peter Zijlstra wrote: >>> >>> >>> None of this actually applies :/ I'm having major conflicts in >>> driveres/cpuidle/cpuidle.c. >> >> Ok,

Re: [PATCH v4 0/3] qspinlock: Introducing a 4-byte queue spinlock

2014-02-24 Thread Waiman Long
On 02/22/2014 11:56 AM, Ingo Molnar wrote: * Peter Zijlstra wrote: On Mon, Feb 17, 2014 at 02:47:03PM -0800, H. Peter Anvin wrote: This is starting to look good, so I have pulled it into tip:x86/spinlocks to start give it some testing mileage. Its still atrociously ugly code please drop it.

Re: [PATCH v2 02/11] perf core: export swevent hrtimer helpers

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:06 UTC, Cody P Schafer wrote: > Export the swevent hrtimer helpers currently only used in events/core.c > to allow the addition of architecture specific sw-like pmus. Peter, Ingo, can we get your ACK on this please? cheers > Signed-off-by: Cody P Schafer > --- >

Re: [PATCH v2 01/11] perf: add PMU_RANGE_ATTR() helper for use by sw-like pmus

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:05 UTC, Cody P Schafer wrote: > Add PMU_RANGE_ATTR() and PMU_RANGE_RESV() (for reserved areas) which > generate functions to extract the relevent bits from > event->attr.config{,1,2} for use by sw-like pmus where the > 'config{,1,2}' values don't map directly to

Re: [PATCH v2 05/11] powerpc: add hv_gpci interface header

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:09 UTC, Cody P Schafer wrote: > "H_GetPerformanceCounterInfo" (refered to as hv_gpci or just gpci from > here on) is an interface to retrieve specific performance counters and > other data from the hypervisor. All outputs have a fixed format (and > are represented as

Re: [PATCH v2 07/11] powerpc: add a shared interface to get gpci version and capabilities

2014-02-24 Thread Michael Ellerman
[PATCH v2 07/11] powerpc: add a shared interface to get gpci version and capabilities All the patches that touch perf should be "powerpc/perf: foo" On Fri, 2014-14-02 at 22:02:11 UTC, Cody P Schafer wrote: > ... I realise this is a fairly small patch but a changelog is still nice. You could

Re: [PATCH v2 08/11] powerpc/perf: add support for the hv gpci (get performance counter info) interface

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:12 UTC, Cody P Schafer wrote: > This provides a basic link between perf and hv_gpci. Notably, it does > not yet support transactions and does not list any events (they can > still be manually composed). Can you explain how the HV_CAPS stuff ends up looking. I'm not

Re: [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Tue, Feb 25, 2014 at 12:09:47PM +0900, Mark Brown wrote: > On Tue, Feb 25, 2014 at 10:38:41AM +0800, Nicolin Chen wrote: > > > Hmm...my words might not be so clear last time: we have to handle the > > dividers > > of ESAI in ESAI driver because the dividers is in the ESAI's IP, not in the >

Re: [PATCH v2 04/11] powerpc: add hvcalls for 24x7 and gpci (get performance counter info)

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:08 UTC, Cody P Schafer wrote: > Signed-off-by: Cody P Schafer > --- > arch/powerpc/include/asm/hvcall.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/powerpc/include/asm/hvcall.h > b/arch/powerpc/include/asm/hvcall.h > index d8b600b..652f7e4

Re: [PATCH v2 10/11] powerpc/perf: add kconfig option for hypervisor provided counters

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:14 UTC, Cody P Schafer wrote: > Signed-off-by: Cody P Schafer > --- > arch/powerpc/perf/Makefile | 2 ++ > arch/powerpc/platforms/Kconfig.cputype | 6 ++ > 2 files changed, 8 insertions(+) > > diff --git a/arch/powerpc/perf/Makefile

Re: [PATCH v2 03/11] sysfs: create bin_attributes under the requested group

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:07 UTC, Cody P Schafer wrote: > bin_attributes created/updated in create_files() (such as those listed > via (struct device).attribute_groups) were not placed under the > specified group, and instead appeared in the base kobj directory. > > Fix this by making

Re: [PATCH v2 09/11] powerpc/perf: add support for the hv 24x7 interface

2014-02-24 Thread Michael Ellerman
On Fri, 2014-14-02 at 22:02:13 UTC, Cody P Schafer wrote: > This provides a basic interface between hv_24x7 and perf. Similar to > the one provided for gpci, it lacks transaction support and does not > list any events. > > Signed-off-by: Cody P Schafer > --- > arch/powerpc/perf/hv-24x7.c | 491

  1   2   3   4   5   6   7   8   9   10   >