Re: [PATCH v2] PM / Sleep: Timer quiesce in freeze state

2014-11-13 Thread Li, Aubrey
On 2014/11/13 21:06, Thomas Gleixner wrote: > On Thu, 13 Nov 2014, Li, Aubrey wrote: > >> On 2014/11/13 17:10, Thomas Gleixner wrote: >>> On Thu, 13 Nov 2014, Peter Zijlstra wrote: On Wed, Nov 12, 2014 at 10:09:47PM +0100, Thomas Gleixner wrote: But sure, we can add suspend notifiers to

Re: [PATCH v5 7/7] clk: Add floor and ceiling constraints to clock rates

2014-11-13 Thread Stephen Boyd
On 10/30, Tomeu Vizoso wrote: > @@ -2145,6 +2218,16 @@ struct clk *__clk_register(struct device *dev, struct > clk_hw *hw) > } > EXPORT_SYMBOL_GPL(__clk_register); > > +static void __clk_free_clk(struct clk *clk) > +{ > + struct clk_core *core = clk->core; > + > +

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Pavel Machek
Hi! > > > > Do you have an example client that can talk to ofonod? > > > > > > I have not yet played with userland stuff. You could try > > > telepathy-ring, which integrates the ofono into the telepathy > > > framework. > > > > Ok, I took a look, and telepathy-ring is not in debian, and has >

Re: [PATCH v2 2/2] drm/exynos/dsi: Add runtime PM so LCD power domain could be turned off

2014-11-13 Thread Krzysztof Kozlowski
On pią, 2014-11-14 at 11:53 +0900, Inki Dae wrote: > On 2014년 11월 07일 22:53, Krzysztof Kozlowski wrote: > > Add runtime Power Management to the Exynos DSI driver so the LCD power > > domain could be turned off. > > > > This slightly reduces the energy consumption when screen is completely > >

Re: [PATCH 4/4] arm: dts: omap3-gta04: Add static configuration for devconf1 register

2014-11-13 Thread Tero Kristo
On 11/14/2014 01:58 AM, Tony Lindgren wrote: * Paul Walmsley [141113 15:01]: Hi On Thu, 13 Nov 2014, Tony Lindgren wrote: * Tomi Valkeinen [141113 03:33]: On 12/11/14 17:02, Tony Lindgren wrote: And, with a quick grep, I see CONTROL_DEVCONF1 touched in multiple places in the kernel. I

Re: BUG in scsi_lib.c due to a bad commit

2014-11-13 Thread Christoph Hellwig
On Thu, Nov 13, 2014 at 11:55:38PM +0100, Barto wrote: > it's interesting, with this commit > 74665016086615bbaa3fa6f83af410a0a4e029ee I have the bug : > > scsi: convert host_busy to atomic_t : At this point we'll need a bisction between v3.16 as the last good point, and

Re: [PATCH] PM / Runtime: Kconfig: move ia64 dependency to arch/ia64/Kconfig

2014-11-13 Thread Ulf Hansson
On 13 November 2014 23:28, Kevin Hilman wrote: > From: Kevin Hilman > > The IA64_HP_SIM dependency on PM_RUNTIME should be done in the arch > Kconfig instead of in the PM core. Move it accordingly. > > NOTE: arch/ia64/Kconfig currently does a 'select PM', which since > commit 1eb208aea317 (PM:

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Geert Uytterhoeven
Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman wrote: > It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at least on my boards ;-) > Also, since the complexities of handling the !PM_RUNTIME case are

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 14 November 2014 08:26, Ulf Hansson wrote: > On 13 November 2014 23:28, Kevin Hilman wrote: >> From: Kevin Hilman >> >> It makes little sense to use generic power domains without runtime PM. >> Also, since the complexities of handling the !PM_RUNTIME case are >> causing more trouble and

[git pull] vfs.git fix

2014-11-13 Thread Al Viro
Fix for a really embarrassing braino in iov_iter. Kudos to paulus... Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Paul Mackerras (1): Fix thinko in iov_iter_single_seg_count Diffstat: mm/iov_iter.c |4 ++--

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-13 Thread Ulf Hansson
On 13 November 2014 23:28, Kevin Hilman wrote: > From: Kevin Hilman > > It makes little sense to use generic power domains without runtime PM. > Also, since the complexities of handling the !PM_RUNTIME case are > causing more trouble and confusion than they're worth, let's simplify > the world

Re: [PATCH v4 1/2] of: Rename "poweroff-source" property to "system-power-controller"

2014-11-13 Thread Romain Perier
Hi, Who should merge this serie ? as Mark merged the previous one it would probably make sense to do the same here (at least, in my opinion) Thanks for your feedbacks. Have a nice day, Romain 2014-11-13 21:55 GMT+01:00 Grant Likely : igned-off-by: Romain Perier > > Acked-by: Grant Likely > >

[PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2014-11-13 Thread jeffrey.lin
From: "jeffrey.lin" this patch is porting Raydium I2C touch driver. Developer can enable Raydium touch driver by modifying define "CONFIG_TOUCHSCREEN_RM31100" in config/base.config Change-Id: Idae54cc4bca17f321a1d0895a8b59680bf9af859 Signed-off-by: jeffrey@rad-ic.com chromeos: config:

Re: [PATCH v2 2/2] uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME

2014-11-13 Thread Srikar Dronamraju
* Andy Lutomirski [2014-11-13 23:01:12]: > On Thu, Nov 13, 2014 at 10:08 PM, Srikar Dronamraju > wrote: > > * Andy Lutomirski [2014-11-13 14:31:21]: > > > >> x86 call do_notify_resume on paranoid returns if TIF_UPROBE is set > >> but not on non-paranoid returns. I suspect that this is a

Re: [PATCHv6 4/5] hwspinlock/core: add common OF helpers

2014-11-13 Thread Ohad Ben-Cohen
Hi Suman, On Thu, Nov 13, 2014 at 11:02 PM, Suman Anna wrote: > OK, lets take an example. I have say 2 device instances, say > hwlock1: hwlock@0 { > hwlock-num-locks = <32> > hwlock-base-id = <0>; > #hwlock-cells = <1>; > }; >

[PATCH] cxl: Name interrupts in /proc/interrupt

2014-11-13 Thread Ian Munsie
From: Michael Neuling Currently all interrupts generated by cxl are named "cxl". This is not very informative as we can't distinguish between cards, AFUs, error interrupts, user contexts and user interrupts numbers. Being able to distinguish them is useful for setting affinity. This patch

Re: [PATCH v5 6/7] clk: Make clk API return per-user struct clk instances

2014-11-13 Thread Stephen Boyd
On 10/30, Tomeu Vizoso wrote: > Moves clock state to struct clk_core, but takes care to change as little API > as > possible. > > struct clk_hw still has a pointer to a struct clk, which is the > implementation's per-user clk instance, for backwards compatibility. > > The struct clk that

Re: N900 modem support in 3.18-rc1

2014-11-13 Thread Ivaylo Dimitrov
On 13.11.2014 18:24, Pavel Machek wrote: On Fri 2014-11-07 09:04:52, Ivaylo Dimitrov wrote: Sebastian is quiet, can we have the patch? :-). Sure, why not :) https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b,

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Takashi Iwai
At Thu, 13 Nov 2014 22:55:09 -0800, Joe Perches wrote: > > On Fri, 2014-11-14 at 07:37 +0100, Takashi Iwai wrote: > > At Thu, 13 Nov 2014 16:05:30 -0800, > > Joe Perches wrote: > > > > > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > > On Fri, Oct 31, 2014 at

Re: [PATCH 5/5] mm, compaction: more focused lru and pcplists draining

2014-11-13 Thread Joonsoo Kim
On Thu, Nov 13, 2014 at 01:47:08PM +0100, Vlastimil Babka wrote: > On 11/04/2014 01:37 AM, Joonsoo Kim wrote: > >On Mon, Nov 03, 2014 at 09:12:33AM +0100, Vlastimil Babka wrote: > >>On 10/27/2014 08:41 AM, Joonsoo Kim wrote: > >>>On Tue, Oct 07, 2014 at 05:33:39PM +0200, Vlastimil Babka wrote: >

Re: [PATCH v2 2/2] uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME

2014-11-13 Thread Andy Lutomirski
On Thu, Nov 13, 2014 at 10:08 PM, Srikar Dronamraju wrote: > * Andy Lutomirski [2014-11-13 14:31:21]: > >> x86 call do_notify_resume on paranoid returns if TIF_UPROBE is set >> but not on non-paranoid returns. I suspect that this is a mistake >> and that the code only works because int3 is

linux-next: manual merge of the scsi tree with the usb tree

2014-11-13 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/usb/storage/uas.c between commit e28e2f2f7c42 ("uas: Make uas work with blk-mq") from the usb tree and commits 125c99bc8b6b ("scsi: add new scsi-command flag for tagged commands"), abd0c533e377 ("scsi: remove

[PATCH] of/address: Don't throw errors on absent ranges properties

2014-11-13 Thread Benjamin Herrenschmidt
The core always tries to translate any "reg" property to construct the platform device names. This results in a pile of "OF: no ranges; cannot translate" errors in dmesg whenever we expose things like i2c devices that cannot directly translate to the MMIO space. Turn this into a pr_debug instead

A fork starts with a single branch.

2014-11-13 Thread George Malone
A fork starts with a single branch. As a precaution, I (for one (of many)) have all the debian source packages allready, and the full binary set for some architectures. (I'm sure many others have taken this precaution aswell, some as a matter of course) This is how all forks start. I've done it

Erich Schubert you cannot Diminish me. (systemd fanboi /male feminist bans further discussion)

2014-11-13 Thread George Malone
(Erich Schubert put forth false claims about lack of involvement of mine in free/opensource software) (When corrected he first engaged, then deleted all the posts, keeping only his false statements visible) "We are unable to post your comment because you have been blocked by Vitavonni. Find out

[PATCH v3] of/base: Fix PowerPC address parsing hack

2014-11-13 Thread Benjamin Herrenschmidt
We have a historical hack that treats missing ranges properties as the equivalent of an empty one. This is needed for ancient PowerMac "bad" device-trees, and shouldn't be enabled for any other PowerPC platform, otherwise we get some nasty layout of devices in sysfs or even duplication when a set

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 07:37 +0100, Takashi Iwai wrote: > At Thu, 13 Nov 2014 16:05:30 -0800, > Joe Perches wrote: > > > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > > This patch add bitrev.h file to

SystemD fanboi Erich Schubert claims others have done no contributions to opensource software. (information within)

2014-11-13 Thread George Malone
Dear Mr Schubert; "He has not contributed anything to the open source community." This is a complete lie. I've contributed gigabytes of media alone. I've done years and years of programming work. I have done far more than you ever will. "His songs and "games" are not worth looking at," Your

Discussion on lennart poettering, systemd, sysv

2014-11-13 Thread George Malone
Discussion on lennart poettering, systemd, sysv http://youtu.be/2toVPMHRo8M -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Empires only fall to an enemy within. (SystemD. Feminists)

2014-11-13 Thread George Malone
Free software worked great for a time, it was a movement on the upswing. Then it was noticed. Feminists appeared and lobbied to have those of unclean mind excluded from the free/opensource movement, only those who believed the correct thing were allowed to stay. Code nor contribution mattered

[PATCH] CXL: Return error to PSL if IRQ demultiplexing fails & print clearer warning

2014-11-13 Thread Ian Munsie
From: Ian Munsie If an AFU has a hardware bug that causes it to acknowledge a context terminate or remove while that context has outstanding transactions, it is possible for the kernel to receive an interrupt for that context after we have removed it from the context list. The kernel will not

Re: [RFC V6 2/3] arm:add bitrev.h file to support rbit instruction

2014-11-13 Thread Takashi Iwai
At Thu, 13 Nov 2014 16:05:30 -0800, Joe Perches wrote: > > On Thu, 2014-11-13 at 23:53 +, Russell King - ARM Linux wrote: > > On Fri, Oct 31, 2014 at 01:42:44PM +0800, Wang, Yalin wrote: > > > This patch add bitrev.h file to support rbit instruction, > > > so that we can do bitrev operation

Re: [PATCH 3.16.y-ckt 009/170] NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes

2014-11-13 Thread Ben Hutchings
On Tue, 2014-11-11 at 11:06 +, Luis Henriques wrote: > 3.16.7-ckt1 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: "Eric W. Biederman" > > commit 65b38851a17472d31fec9019fc3a55b0802dab88 upstream. > > The usage of

Re: [PATCH V6 00/18] x86: Full support of PAT

2014-11-13 Thread Juergen Gross
Ingo, could you take the patches, please? Juergen On 11/03/2014 02:01 PM, Juergen Gross wrote: The x86 architecture offers via the PAT (Page Attribute Table) a way to specify different caching modes in page table entries. The PAT MSR contains 8 entries each specifying one of 6 possible cache

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-11-13 Thread Li, ZhenHua
Hi Takao Indoh, Your update for the patchset works fine. Thanks. Joerg, I am working following your directions: 1. If the VT-d driver finds the IOMMU enabled, it reuses its root entry table, and do NOT disable-enable iommu. Other data will be copied. 2. When a device driver issues the first

Re: [PATCH v5 0/7] Per-user clock constraints

2014-11-13 Thread Tomeu Vizoso
On 31 October 2014 12:33, Peter De Schrijver wrote: > On Thu, Oct 30, 2014 at 11:48:26AM +0100, Tomeu Vizoso wrote: >> Hello, >> >> this fifth version of the series has just one change, suggested by Stephen: Hi Mike, how is this looking for 3.19? Regards, Tomeu >> * Initialize

Re: [PATCH v2 3/3] tracing: add additional marks to signal very large delay

2014-11-13 Thread Byungchul Park
On Thu, Nov 13, 2014 at 10:38:01PM -0500, Steven Rostedt wrote: > On Wed, 5 Nov 2014 16:18:46 +0900 > byungchul.p...@lge.com wrote: > > > -static unsigned long preempt_mark_thresh_us = 100; > > +DEFINE_MARK_STRUCT = { > > + DEFINE_MARK(0ULL, ' '), /* 0 usecs */ > > +

Re: powerpc: Fix Text randomization

2014-11-13 Thread Michael Ellerman
On Fri, 2014-11-14 at 11:03 +0530, Vineeth Vijayan wrote: > ping ! > > any update on this ? As i understand, only powerpc and s390 uses the > randomize_et_dyn call; for all other architecture this is an obsolete > function call. I asked: > >> I'm not clear on what has changed to break this?

Re: [PATCH v2 2/3] tracing, function_graph: add additional marks to signal very large function execution time

2014-11-13 Thread Byungchul Park
Hello, On Thu, Nov 13, 2014 at 10:32:06PM -0500, Steven Rostedt wrote: > On Wed, 5 Nov 2014 16:18:45 +0900 > byungchul.p...@lge.com wrote: > > > +/* trace overhead mark */ > > +struct trace_mark { > > + unsigned long long val; /* unit: nsec */ > > + char sym; > > +}; > > Please format

Re: [PATCH v4] KVM: x86: fix access memslots w/o hold srcu read lock

2014-11-13 Thread Tang Chen
Thanks for the sharing. Will do more tests. :) On 11/14/2014 07:39 AM, Wanpeng Li wrote: Hi Tang, On Tue, Nov 11, 2014 at 01:35:29PM +0800, Tang Chen wrote: Hi Wanpeng, Sorry for the late. I think I have totally missed this thread. I opened lockdep and RCU debug, and tried on 3.18-rc1.

Re: [Cocci] spatch for trivial pointer comparison style?

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 07:06 +0100, Julia Lawall wrote: > On Thu, 13 Nov 2014, Joe Perches wrote: > > > I added a checkpatch entry for this. > > Maybe some cocci test like this would be useful? > > > > @@ > > type t; > > t *p; > > @@ > > - p == NULL > > + !p > > > > @@ > > type t; > > t *p;

RE: [PATCH] ARM: b.L: fix unmet dependency for CPU_PM

2014-11-13 Thread Pankaj Dubey
+CC: Colin Cross, James Hogan On Thursday, November 13, 2014 11:30 PM, Nicolas Pitre wrote: > To: Russell King - ARM Linux > Cc: Pankaj Dubey; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH] ARM: b.L: fix unmet dependency for CPU_PM > > On Thu, 13 Nov

Re: [PATCH v2 2/2] uprobes, x86: Fix _TIF_UPROBE vs _TIF_NOTIFY_RESUME

2014-11-13 Thread Srikar Dronamraju
* Andy Lutomirski [2014-11-13 14:31:21]: > x86 call do_notify_resume on paranoid returns if TIF_UPROBE is set > but not on non-paranoid returns. I suspect that this is a mistake > and that the code only works because int3 is paranoid. > > Setting _TIF_NOTIFY_RESUME in the uprobe code was

Re: [Cocci] spatch for trivial pointer comparison style?

2014-11-13 Thread Julia Lawall
On Thu, 13 Nov 2014, Joe Perches wrote: > I added a checkpatch entry for this. > Maybe some cocci test like this would be useful? > > @@ > type t; > t *p; > @@ > - p == NULL > + !p > > @@ > type t; > t *p; > @@ > - p != NULL > + p > > @@ > type t; > t *p; > @@ > - NULL == p

[PATCH v10 17/18] input: cyapa: add read sensors raw data debugfs interface support

2014-11-13 Thread Dudley Du
Add read sensors' raw data from trackpad device interface supported in cyapa driver through debugfs raw_data interface. Through this interface, user can read difference count map of each sensors directly from trackpad device (some customers want). And it's useful to help users to find out the root

[PATCH v10 18/18] input: cyapa: add gen5 trackpad device read raw data function support

2014-11-13 Thread Dudley Du
Add read raw data function supported for gen5 trackpad device, it can be used through debugfs raw_data interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 138 +++ 1 file changed, 138 insertions(+) diff --git

[PATCH v10 15/18] input: cyapa: add gen3 trackpad device read firmware image function support

2014-11-13 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 67 1 file changed, 67 insertions(+) diff

[PATCH v10 16/18] input: cyapa: add gen5 trackpad device read firmware image function support

2014-11-13 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, it can be used through debugfs read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 1 + drivers/input/mouse/cyapa_gen5.c | 155 +++

[PATCH v10 12/18] input: cyapa: add gen5 trackpad device read baseline function support

2014-11-13 Thread Dudley Du
Add read baseline function supported for gen5 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.h | 2 + drivers/input/mouse/cyapa_gen5.c | 621 +++ 2

[PATCH v10 10/18] input: cyapa: add gen3 trackpad device force re-calibrate function support

2014-11-13 Thread Dudley Du
Add force re-calibrate function supported for gen3 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 58 1 file changed, 58 insertions(+) diff

[PATCH v10 11/18] input: cyapa: add gen5 trackpad device firmware update function support

2014-11-13 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 290

[PATCH v10 14/18] input: cyapa: add read firmware image debugfs interface support

2014-11-13 Thread Dudley Du
Add read firmware image from trackpad device interface supported in cyapa driver through debugfs read_fw interface. Through this interface user can read out, check and backup the firmware image of the trackpad device before any firmware update, or can use the backed image to do firmware image

[PATCH v10 13/18] input: cyapa: add gen5 trackpad device force re-calibrate function support

2014-11-13 Thread Dudley Du
Add force re-calibrate function supported for gen5 trackpad device, it can be used through sysfs calibrate interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 65 1 file changed, 65 insertions(+) diff

[PATCH v10 06/18] input: cyapa: add runtime power management interfaces supported for the device

2014-11-13 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 167

[PATCH v10 05/18] input: cyapa: add power management interfaces supported for the device

2014-11-13 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 105

[PATCH v10 08/18] input: cyapa: add gen3 trackpad device firmware update function support

2014-11-13 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, it can be used through sysfs update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 284 +++ 1 file changed, 284 insertions(+) diff

[PATCH v10 07/18] input: cyapa: add sysfs interfaces supported in the cyapa driver

2014-11-13 Thread Dudley Du
Add device's basic control and features supported in cyapa driver through sysfs file system interfaces. These interfaces are commonly used in pre- and after production, for trackpad device state checking, managing and firmware image updating. These interfaces including mode, firmware_version and

[PATCH v10 09/18] input: cyapa: add gen3 trackpad device read baseline function support

2014-11-13 Thread Dudley Du
Add read baseline function supported for gen3 trackpad device, it can be used through sysfs baseline interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 71 1 file changed, 71 insertions(+) diff --git

[PATCH v10 02/18] input: cyapa: add device resource management infrastructure support

2014-11-13 Thread Dudley Du
Remove cyapa_remove() method, add cyapa_open() and cyapa_close() methods for input interface, also modified together with driver's memory and IRQ resource allocations to support device resource management infrastructure to reduce the mistakes of resource management. TEST=test on Chromebooks.

[PATCH v10 04/18] input: cyapa: add gen5 trackpad device basic functions support

2014-11-13 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set

[PATCH v10 03/18] input: cyapa: re-design driver to support multi-trackpad in one driver

2014-11-13 Thread Dudley Du
In order to support multiple different chipsets and communication protocols trackpad devices in one cyapa driver, the new cyapa driver is re-designed with one cyapa driver core and multiple device specific functions component. The cyapa driver core is contained in this patch, it supplies basic

[PATCH v10 01/18] input: cyapa: add device resource management infrastructure support

2014-11-13 Thread Dudley Du
This patch modified the code to fix the patch check warning issue with latest checkpatch.sh tool, and also changed the return variable name from "ret" to "error" when there is only one error path to follow code style. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 151

[PATCH v10 00/18] input: cyapa: instruction of cyapa patches

2014-11-13 Thread Dudley Du
V10 patches have below main updates compared with v9 patches: 1) Modify code to following kernel code style. e.g.: correct to use error as return name when there is only error path, and fix the checkpatch.sh wanting in the driver. 2) Remove cyapa_remove method and use input open and close

Re: [PATCH] 6fire: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 13:13 +0800, Wang, Yalin wrote: > Use the inline function instead of directly indexing the array. > > This allows some architectures with hardware instructions for bit > reversals to eliminate the array. > > Signed-off-by: Joe Perches > Signed-off-by: Yalin Wang > --- []

[PATCH v4 2/6] input: touchscreen: ti_am335x_tsc: Remove udelay in interrupt handler

2014-11-13 Thread Vignesh R
From: Brad Griffis TSC interrupt handler had udelay to avoid reporting of false pen-up interrupt to user space. This patch implements workaround suggesting in Advisory 1.0.31 of silicon errata for am335x, thus eliminating udelay and touchscreen lag. This also improves performance of touchscreen

[PATCH v4 0/6] Touchscreen performance related fixes

2014-11-13 Thread Vignesh R
This series of patches fix TSC defects related to lag in touchscreen performance and cursor jump at touch release. The lag was result of udelay in TSC interrupt handler. Cursor jump due to false pen-up event. The patches implement Advisory 1.0.31 in silicon errata of am335x-evm to avoid false

[PATCH v4 4/6] ARM: dts: AM335x: Make charge delay a DT parameter for TSC

2014-11-13 Thread Vignesh R
The charge delay value is by default 0x400. But it can be set to lower values on some boards, as long as false pen-ups are avoided. Lowering the value increases the sampling rate (though current sampling rate is sufficient for TSC operation). In some boards, the value has to be increased to avoid

[PATCH v4 5/6] input: touchscreen: ti_am335x_tsc: Use charge delay DT parameter

2014-11-13 Thread Vignesh R
This patch reads charge delay from tsc DT node and writes to REG_CHARGEDELAY register. If the charge delay is not specified in DT then default value of 0x400(CHARGEDLY_OPENDLY) is used. Signed-off-by: Vignesh R --- drivers/input/touchscreen/ti_am335x_tsc.c | 8 +++- 1 file changed, 7

[PATCH v4 6/6] input: touchscreen: ti_am335x_tsc: Replace delta filtering with median filtering

2014-11-13 Thread Vignesh R
Previously, delta filtering was applied TSC co-ordinate readouts before reporting a single value to user space. This patch replaces delta filtering with median filtering. Median filtering sorts co-ordinate readouts, drops min and max values, and reports the average of remaining values. This method

[PATCH v4 3/6] mfd: ti_am335x_tscadc: Remove unwanted reg_se_cache save

2014-11-13 Thread Vignesh R
In one shot mode, sequencer automatically disables all enabled steps at the end of each cycle. (both ADC steps and TSC steps) Hence these steps need not be saved in reg_se_cache for clearing these steps at a later stage. Also, when ADC wakes up Sequencer should not be busy executing any of the

[PATCH v4 1/6] input: touchscreen: ti_am335x_tsc Interchange touchscreen and ADC steps

2014-11-13 Thread Vignesh R
From: Brad Griffis This patch makes the initial changes required to workaround TSC-false pen-up interrupts. It is required to implement these changes in order to remove udelay in the TSC interrupt handler and false pen-up events. The charge step is to be executed immediately after sampling X+.

RE: [PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Wang, Yalin
> From: Joe Perches [mailto:j...@perches.com] > Sent: Friday, November 14, 2014 1:33 PM > To: Wang, Yalin > Cc: 'chunk...@googlemail.com'; 'linvi...@tuxdriver.com'; 'linux- > wirel...@vger.kernel.org'; 'net...@vger.kernel.org'; 'linux- > ker...@vger.kernel.org' > Subject: Re: [PATCH] carl9170:

Re: powerpc: Fix Text randomization

2014-11-13 Thread Vineeth Vijayan
ping ! any update on this ? As i understand, only powerpc and s390 uses the randomize_et_dyn call; for all other architecture this is an obsolete function call. this call for another patch where randomize_et_dyn is removed. On Wed, Oct 15, 2014 at 12:08 PM, Vineeth Vijayan wrote: > On Wed, Oct

Re: [PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 13:16 +0800, Wang, Yalin wrote: > Use the inline function instead of directly indexing the array. > > This allows some architectures with hardware instructions for bit > reversals to eliminate the array. This one is already in -next commit

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-13 Thread Steven Rostedt
On Thu, 13 Nov 2014 23:57:22 -0500 Steven Rostedt wrote: > That assignment is what it is initialized to at boot up. I can't see > any optimization that would cause gcc to modify that. Especially since > we are hiding its accesses within the ACCESS_ONCE(). That alone should > confuse gcc enough

Re: [RFC][PATCH 07/23 v4] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-13 Thread Srikar Dronamraju
* Steven Rostedt [2014-11-13 20:12:51]: > From: "Steven Rostedt (Red Hat)" > > Instead of checking the return value of trace_seq_printf() and friends > for overflowing of the buffer, use the trace_seq_has_overflowed() helper > function. > > This cleans up the code quite a bit and also takes

Re: [RFC][PATCH 10/23 v4] tracing/uprobes: Do not use return values of trace_seq_printf()

2014-11-13 Thread Srikar Dronamraju
* Steven Rostedt [2014-11-13 20:12:54]: > From: "Steven Rostedt (Red Hat)" > > The functions trace_seq_printf() and friends will soon no longer have > return values. Using trace_seq_has_overflowed() and trace_handle_return() > should be used instead. > > Cc: Masami Hiramatsu > Cc: Namhyung

[PATCH] syslog: provide stub check_syslog_permissions

2014-11-13 Thread Sebastian Schmidt
When building without CONFIG_PRINTK, we need to provide a stub check_syslog_permissions. As there is no way to turn on the dmesg_restrict sysctl without CONFIG_PRINTK, return success. Reported-by: Jim Davis Signed-off-by: Sebastian Schmidt --- include/linux/syslog.h | 8 1 file

[PATCH v7 1/3] ARM: mediatek: Add basic support for mt6592

2014-11-13 Thread Howard Chen
* A dtsi for boards based on Mediatek MT6592 SoCs * Compatible string in arch/arm/mach-mediatek/mediatek.c Signed-off-by: Howard Chen --- arch/arm/boot/dts/mt6592.dtsi | 97 +++ arch/arm/mach-mediatek/mediatek.c | 1 + 2 files changed, 98 insertions(+)

[PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Wang, Yalin
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches Signed-off-by: Yalin Wang --- drivers/net/wireless/ath/carl9170/phy.c | 4 ++-- 1 file changed, 2

[PATCH v7 2/3] ARM: mediatek: add dts for mt6592-evb

2014-11-13 Thread Howard Chen
The mt6592-evb is an evaluation board based on the MT6592 SoC. Signed-off-by: Howard Chen --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/mt6592-evb.dts | 25 + 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644

[PATCH v7 3/3] dt-bindings: add documentation for Mediatek SoC

2014-11-13 Thread Howard Chen
This adds a DT binding documentation for the MT6592 SoC from Mediatek. Signed-off-by: Howard Chen --- Documentation/devicetree/bindings/arm/mediatek.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/mediatek.txt

RE: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-13 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Friday, November 14, 2014 5:23 AM [...] > What if even the first r8152_submit_rx() fails? What ever will cause > any of these retries to trigger at all? According to the patch #1 "adjust r8152_submit_rx", the r8152_submit_rx() would add the rx

[PATCH] 6fire: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Wang, Yalin
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches Signed-off-by: Yalin Wang --- sound/usb/6fire/firmware.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: randconfig build error with next-20141113, in fs/pstore/inode.c

2014-11-13 Thread Sebastian Schmidt
Hi all, On Thu, Nov 13, 2014 at 11:21:18AM -0800, Kees Cook wrote: > > This looks to come from your "Honor dmesg_restrict sysctl on dmesg dumps" > > patch Oops, you are right. > > The randconfig doesn't have CONFIG_PRINTK. I guess we need to provide a > > stub > > in to cover this. > >

RE: [PATCHv2 net 4/4] qlcnic: Implement ndo_gso_check()

2014-11-13 Thread Shahed Shaikh
> -Original Message- > From: Joe Stringer [mailto:joestrin...@nicira.com] > Sent: Friday, November 14, 2014 6:08 AM > To: netdev > Cc: sathya.pe...@emulex.com; Shahed Shaikh; am...@mellanox.com; Dept- > GE Linux NIC Dev; Tom Herbert (Partner - google); gerlitz...@gmail.com; >

Re: [PATCH v6 1/4] ARM: mediatek: Add basic support for mt6592

2014-11-13 Thread Howard Chen
On Fri, Nov 14, 2014 at 12:17 AM, Matthias Brugger wrote: > 2014-11-12 17:07 GMT+01:00 Howard Chen : >> * A dtsi for boards based on Mediatek MT6592 SoCs >> * Compatible string in arch/arm/mach-mediatek/mediatek.c >> >> Signed-off-by: Howard Chen >> --- >> arch/arm/boot/dts/mt6592.dtsi | 97

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-13 Thread Steven Rostedt
On Thu, 13 Nov 2014 22:48:33 -0600 Alex Elder wrote: > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > > index e748971..4790191 100644 > > --- a/kernel/printk/printk.c > > +++ b/kernel/printk/printk.c > > @@ -1624,7 +1624,7 @@ asmlinkage int vprintk_emit(int facility, int level,

Re: [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-13 Thread Juergen Gross
On 11/13/2014 08:56 PM, Konrad Rzeszutek Wilk wrote: + mfn_save = virt_to_mfn(buf); + + while (xen_remap_mfn != INVALID_P2M_ENTRY) { So the 'list' is constructed by going forward - that is from low-numbered PFNs to higher numbered ones. But the 'xen_remap_mfn' is going the other

Re: [PATCH v3] usb: dwc2: add bus suspend/resume for dwc2

2014-11-13 Thread Julius Werner
> I will figure out how to make dwc2 detect the device connect after auto > suspend, > or disable the auto suspend feature for the dwc2 hcd. I think auto-suspend of the root hub device (which is what calls bus_suspend, but is not the host controller device itself) is expected to always happen and

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-13 Thread Alex Elder
On 11/13/2014 09:21 PM, Pranith Kumar wrote: > Remove volatile type qualifier and use ACCESS_ONCE() in its place for each > access. Using volatile is not recommended as documented in > Documentation/volatile-considered-harmful.txt. > > Here logbuf_cpu is a local variable and it is not clear how

[PATCH 0/2] dma-debug: prevent early callers from crashing

2014-11-13 Thread Florian Fainelli
Hi Dan, This patch series addresses a problem seen on the brcmstb ARM platform where dma_debug_init is called by the ARM kernel at fs_initcall time, while some of our callers using the DMA-API were running at arch_initcall time. Unless CONFIG_DMA_API_DEBUG is set, this is completely silent.

[PATCH 2/2] dma-debug: prevent early callers from crashing

2014-11-13 Thread Florian Fainelli
dma_debug_init() is called by architecture specific code at different levels, but typically as a fs_initcall due to the debugfs initialization. Some platforms may have early callers of the DMA-API, running prior to the fs_initcall() level, which is not much of an issue unless CONFIG_DMA_API_DEBUG

[PATCH 1/2] dma-debug: introduce dma_debug_disabled

2014-11-13 Thread Florian Fainelli
Add a helper function which returns whether the DMA debugging API is disabled, right now we only check for global_disable, but in order to accomodate early callers of the DMA-API, we will check for more initialization flags in the future. Signed-off-by: Florian Fainelli --- lib/dma-debug.c | 37

[PATCH] crypto: Documentation - document uncovered member variables

2014-11-13 Thread Stephan Mueller
Fix documentation typo for shash_alg->descsize. Add documentation for initially uncovered member variables. Signed-off-by: Stephan Mueller --- include/crypto/hash.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/crypto/hash.h b/include/crypto/hash.h index

[GIT PULL] platform-drivers-x86 for 3.18-3

2014-11-13 Thread Darren Hart
Hi Linus, Just two patches to remove hp_accel events from the keyboard bus stream via an i8042 filter. My inclination was to merge these, but as I had (incorrectly) pushed them to linux-next already, and you had cautioned against rebasing and to just fix issues in follow-on patches, I kept the

Re: [alsa-devel] Question on Compressed offload session

2014-11-13 Thread gsantosh
> On 11/12/14, 9:02 PM, gsant...@codeaurora.org wrote: >> Hi All, >> >> The Question is for the compressed offload session. >> >> For a generic codec driver during the startup function it will set some >> of >> the hw_constraints rule similarly like this. >> >>

Re: [PATCH v2 0/3] Add support for ADC on am437x-gp and am43x-epos-evm

2014-11-13 Thread Vignesh R
On Tuesday 04 November 2014 04:45 PM, Vignesh R wrote: > This series of patches enable ADC on am437x-gp-evm and am43x-epos-evm. > The ADC clock hwmod data of am33xx has been moved to commom place so that > both am43xx and am33xx can reuse them. > tscadc DT node has been adided to am437x-gp and

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-13 Thread Pranith Kumar
On Thu, Nov 13, 2014 at 10:47 PM, Steven Rostedt wrote: > On Thu, 13 Nov 2014 22:21:21 -0500 > Pranith Kumar wrote: > >> Remove volatile type qualifier and use ACCESS_ONCE() in its place for each >> access. Using volatile is not recommended as documented in >>

[PATCH] x86, PCI: support mmio more than 44 bit on 32bit/PAE mode

2014-11-13 Thread Yinghai Lu
Aaron reported 32bit/PAE mode, has problem with 64bit resource. [6.610012] pci :03:00.0: reg 0x10: [mem 0x383fffc0-0x383fffdf 64bit pref] [6.622195] pci :03:00.0: reg 0x20: [mem 0x383fffe04000-0x383fffe07fff 64bit pref] [6.656112] pci :03:00.1: reg 0x10: [mem

  1   2   3   4   5   6   7   8   9   10   >