Re: [next-20141231] sched: WARNING: CPU: 1 PID: 2539 at kernel/sched/core.c:7303 __might_sleep+0xbd/0xd0()

2015-01-03 Thread Sedat Dilek
On Sun, Jan 4, 2015 at 1:59 AM, Ming Lei wrote: > Hi Sedat, > > On Sun, Jan 4, 2015 at 7:42 AM, Sedat Dilek wrote: >> On Thu, Jan 1, 2015 at 11:28 AM, Sedat Dilek wrote: >>> Hi, >>> >>> with next-20141231 I am seeing this call-trace: >>> >>> [ 88.028632] [ cut here ]

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Tomasz Figa
2015-01-04 1:45 GMT+09:00 Nishanth Menon : > On 01/03/2015 10:16 AM, Tomasz Figa wrote: >> >> 2015-01-04 0:34 GMT+09:00 Nishanth Menon : >>> >>> On 15:40-20150103, Tomasz Figa wrote: >>>> >>>> Hi Nishanth, >>>> >>

[PATCH v2] staging: rtl8192e: Fix duplicated conditional branch

2015-01-03 Thread Alexander Kuleshov
Signed-off-by: Alexander Kuleshov --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 885315c..b8891c6 100644 ---

Re: [PATCH] arch: m68k: mac: misc.c: Remove some unused functions

2015-01-03 Thread Finn Thain
On Thu, 1 Jan 2015, Rickard Strandqvist wrote: > Removes some functions that are not used anywhere: > mac_pram_write() mac_pram_read() > If you remove those functions, you'd then find that all of the called functions become unused: maciisi_read_pram maciisi_write_pram pmu_read_pram

Re: [PATCH] staging: gdm724x: fix coding style issues

2015-01-03 Thread Ning Zhou
OK, then this one is abandoned. I will send two patches instead. /Ning On 2015-01-04 02:27, Konrad Zapalowicz wrote: > On 01/03, Ning Zhou wrote: >> Signed-off-by: Ning Zhou > > You need to describe your changes, a vague subject is not enough. Also > keep in mind that one patch shall address

[PATCH 2/2] staging: android: ion: Add pss info for each ion_client

2015-01-03 Thread Feng Tang
In real ION buffer usage, many of the ion buffer are shared by several clients(imported and exported), and current ion debugfs only provides size of all buffers a client may use. This patch will considers the sharing and adds a "pss" info for each ion_client, which will help on profiling the ion

[PATCH 1/2] staging: andriod: ion: Add ion_phys_get_by_id function

2015-01-03 Thread Feng Tang
There is user case that user only knows the ion_handle idand needs to get the physical addr and len. So add this wrapper to meet this requirement. Signed-off-by: Feng Tang --- drivers/staging/android/ion/ion.c | 16 drivers/staging/android/ion/ion.h | 14 ++ 2

Re: [PATCH] staging: rtl8192e: Fix duplicated conditional branch

2015-01-03 Thread Joe Perches
On Sun, 2015-01-04 at 12:59 +0600, Alexander Kuleshov wrote: > Signed-off-by: Alexander Kuleshov [] > diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c > b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c [] > @@ -1661,7 +1661,7 @@ void dm_change_dynamic_initgain_thresh(struct > net_device

[PATCH] staging: rtl8192e: Fix duplicated conditional branch

2015-01-03 Thread Alexander Kuleshov
Signed-off-by: Alexander Kuleshov --- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c b/drivers/staging/rtl8192e/rtl8192e/rtl_dm.c index 885315c..9010d0f 100644 ---

[PATCH RFC] usb: chipidea: add support for usb_phy in generic usb2

2015-01-03 Thread Baruch Siach
Signed-off-by: Baruch Siach --- drivers/usb/chipidea/ci_hdrc_usb2.c | 5 + 1 file changed, 5 insertions(+) I'm sending this as RFC as I'm not sure this is the right thing to do. There seems to be a move away from USB specific PHY drivers towards the generic PHY framework (drivers/phy). The

[PATCH] samples: hw_breakpoint: check the return value of kallsyms_lookup_name

2015-01-03 Thread Hui Zhu
data_breakpoint.ko can insert successful but cannot catch any change of the data in my part because kallsyms_lookup_name rerurn 0 each time. So add code to check the return value of kallsyms_lookup_name. Signed-off-by: Hui Zhu --- samples/hw_breakpoint/data_breakpoint.c | 17 ++---

[PATCH] input: Add soft kill switch for input devices

2015-01-03 Thread Tristan Lelong
This adds a sysfs attribute named 'mute' to all input devices. It allows to disable them by software in a generic way. It can be set to 0 or 1: echo 1 > /sys/class/input/inputX/mute: will set all the input_events() call to return immediately. echo 0 > /sys/class/input/inputX/mute: will reset to

Re: [PATCH] brcm80211: brcmsmac: dma: Remove some unused functions

2015-01-03 Thread Larry Finger
On 01/03/2015 06:47 PM, Rickard Strandqvist wrote: Removes some functions that are not used anywhere: dma_txflush() dma_txsuspended() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist ---

Re: Re: [PATCH v3 05/20] selftests/ftrace: add install target to enable test install

2015-01-03 Thread Masami Hiramatsu
(2015/01/03 0:45), Steven Rostedt wrote: > On Wed, 24 Dec 2014 09:27:41 -0700 > Shuah Khan wrote: > >> Add a new make target to enable installing test. This target >> installs test in the kselftest install location and add to the >> kselftest script to run the test. Install target can be run >>

Re: [PATCH v18 11/11] ARM: optprobes: execute instruction during restoring if possible.

2015-01-03 Thread Masami Hiramatsu
(2014/12/29 13:07), Wang Nan wrote: > This patch removes software emulation or simulation for most of probed > instructions. If the instruction doesn't use PC relative addressing, > it will be translated into following instructions in the restore code > in code template: > > ldmia {r0 - r14} //

Re: Re: [PATCH v3 05/20] selftests/ftrace: add install target to enable test install

2015-01-03 Thread Masami Hiramatsu
(2015/01/03 0:45), Steven Rostedt wrote: > On Wed, 24 Dec 2014 09:27:41 -0700 > Shuah Khan wrote: > >> Add a new make target to enable installing test. This target >> installs test in the kselftest install location and add to the >> kselftest script to run the test. Install target can be run >>

Re: [PATCH v18 10/11] ARM: kprobes: check register usage for probed instruction.

2015-01-03 Thread Wang Nan
On 2015/1/4 13:05, Masami Hiramatsu wrote: > Hi Wang, > > (2014/12/29 13:07), Wang Nan wrote: >> This patch utilizes previous introduced checker to check register usage >> for probed ARM instruction and saves it in a mask. Futher patch will >> use such information to avoid simuation or emulation.

Re: [PATCH v18 10/11] ARM: kprobes: check register usage for probed instruction.

2015-01-03 Thread Masami Hiramatsu
Hi Wang, (2014/12/29 13:07), Wang Nan wrote: > This patch utilizes previous introduced checker to check register usage > for probed ARM instruction and saves it in a mask. Futher patch will > use such information to avoid simuation or emulation. > > Signed-off-by: Wang Nan > --- >

Re: Re: [PATCH] [BUGFIX] perf-probe: Fix to fall back to find probe point in symbols

2015-01-03 Thread Masami Hiramatsu
(2014/12/31 17:02), Namhyung Kim wrote: > Hi Masami, > > On Wed, Dec 31, 2014 at 03:27:47PM +0900, Masami Hiramatsu wrote: >> Fix to fall back to find a probe point in symbols if perf fails >> to find it in debuginfo. >> >> This can happen when the target function is an alias of another >>

Re: [PATCH] irq: irq-hip04: initialize hip04_cpu_map to 0xffff

2015-01-03 Thread long.wanglong
On 2014/12/11 19:19, Haojian Zhuang wrote: > On 11 December 2014 at 19:03, Wang Long wrote: >> HiP04 GIC extends to support 16 cores, so we should >> initialize the hip04_cpu_map to 0x. >> >> Signed-off-by: Wang Long >> --- >> drivers/irqchip/irq-hip04.c | 2 +- >> 1 file changed, 1

RE: [RFC PATCH] f2fs: add extent cache base on rb-tree

2015-01-03 Thread Chao Yu
Hi Changman, Sorry for replying late! > -Original Message- > From: Changman Lee [mailto:cm224@samsung.com] > Sent: Tuesday, December 30, 2014 8:32 AM > To: Jaegeuk Kim > Cc: Chao Yu; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [RFC PATCH]

Re: [PATCH] ovl: Prevent rw remount when it should be ro mount

2015-01-03 Thread hujianyang
On 2015/1/3 1:26, Seunghun Lee wrote: > Overlayfs should be mounted read-only when upper-fs is read-only or > nonexistent. > But now it can be remounted read-write and this can cause kernel panic. > So we should prevent read-write remount when the above situation happens. > > Signed-off-by:

[LKP] [net/socket.c ] 0cf00c6f360: -3.1% netperf.Throughput_Mbps

2015-01-03 Thread Huang Ying
FYI, we noticed the below changes on commit 0cf00c6f360a3f7b97be000520f1acde88800536 ("net/socket.c : introduce helper function do_sock_sendmsg to replace reduplicate code") testbox/testcase/testparams: lkp-t410/netperf/performance-300s-200%-10K-SCTP_STREAM_MANY 42eef7a0bb0989cd

[PATCH 1/2] Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed

2015-01-03 Thread Daniel Tang
Signed-off-by: Daniel Tang --- drivers/usb/chipidea/ci_hdrc_zevio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_zevio.c b/drivers/usb/chipidea/ci_hdrc_zevio.c index d976fc1..1264de5 100644 --- a/drivers/usb/chipidea/ci_hdrc_zevio.c +++

[PATCH 2/2] Chipidea: Set connect-at-fullspeed bit when entering host mode if CI_HDRC_FORCE_FULLSPEED is set in the platform data

2015-01-03 Thread Daniel Tang
PORTSC_PFSC is not set on entering host mode which means the USB OTG controller will attempt to enumerate USB devices at high speed even when the CI_HDRC_FORCE_FULLSPEED flag is set in the platform data. This patch ensures it is set right before host mode operations begin if needed.

Re: 0002-Spi-spi-gpio-fixed-spaces-coding-style-issue.patch

2015-01-03 Thread Jeremiah Mahler
Nizam, You made a lot of mistakes in this patch submission :( Specifically, you should never include a patch as an attachment [2], and your subject line should say [PATCH] [2]. If you want to learn how to correctly submit patches I recommend watching this [1], reading this [2], and signing up

[PATCH net-next] qlcnic: Fix dump_skb output

2015-01-03 Thread Joe Perches
Use normal facilities to avoid printing each byte on a separate line. Now emits at KERN_DEBUG instead of KERN_INFO. Signed-off-by: Joe Perches --- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

Re: [PATCH 0/5] *** SUBJECT HERE ***

2015-01-03 Thread Konrad Zapalowicz
On 01/03, Paul Bolle wrote: > On Sat, 2015-01-03 at 08:45 -0800, Greg KH wrote: > > On Sat, Jan 03, 2015 at 02:06:22PM +0530, jitendra kumar khasdev wrote: > > > *** BLURB HERE *** > > > > What blurb? What subject? > > jitendra used git-send-email to send this series. You'd expect >

RE: [PATCH] soc: intel: sst-haswell-ipc: Remove some unused functions

2015-01-03 Thread Jie, Yang
Hi Rickard, Thanks for your checking. I have just confirmed that those functions really not used currently, although they may be needed for advanced developing. So, I have no objection if you remove them now. Liam, what's your opinion? ~Keyon > -Original Message- > From: Rickard

Re: [PATCH] staging: gdm724x: fix coding style issues

2015-01-03 Thread Konrad Zapalowicz
On 01/03, Ning Zhou wrote: > Signed-off-by: Ning Zhou You need to describe your changes, a vague subject is not enough. Also keep in mind that one patch shall address one category of stuff and seems that yours could be separated into two. thanks, konrad > --- >

Re: [next-20141231] sched: WARNING: CPU: 1 PID: 2539 at kernel/sched/core.c:7303 __might_sleep+0xbd/0xd0()

2015-01-03 Thread Ming Lei
Hi Sedat, On Sun, Jan 4, 2015 at 7:42 AM, Sedat Dilek wrote: > On Thu, Jan 1, 2015 at 11:28 AM, Sedat Dilek wrote: >> Hi, >> >> with next-20141231 I am seeing this call-trace: >> >> [ 88.028632] [ cut here ] >> [ 88.028643] WARNING: CPU: 1 PID: 2539 at

[PATCH] btrfs: reada: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function btrfs_reada_detach() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/btrfs/ctree.h |1 - fs/btrfs/reada.c |9 + 2 files changed, 1 insertion(+), 9

[PATCH] brcm80211: brcmsmac: dma: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: dma_txflush() dma_txsuspended() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/brcm80211/brcmsmac/dma.c | 19 ---

Re: [LKP] [sched] a15b12ac36a: -46.9% time.voluntary_context_switches +1.5% will-it-scale.per_process_ops

2015-01-03 Thread Huang Ying
Hi, Kirill, Sorry for late. On Tue, 2014-12-23 at 11:57 +0300, Kirill Tkhai wrote: > Hi, Huang, > > what do these digits mean? What test does? > > 23.12.2014, 08:16, "Huang Ying" : > > FYI, we noticed the below changes on > > > > commit a15b12ac36ad4e7b856a4ae54937ae26a51aebad ("sched: Do not

[PATCH] soc: intel: sst-haswell-ipc: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: sst_hsw_stream_unmute() sst_hsw_stream_mute() msg_set_stage_type() sst_hsw_dx_get_state() sst_hsw_dx_set_state() sst_hsw_stream_set_write_position() sst_hsw_stream_get_vol_reg() sst_hsw_stream_get_peak_reg() sst_hsw_stream_get_pointer_reg()

[PATCH] mfd: omap-usb-host: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: usbhs_readb() usbhs_writeb() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/mfd/omap-usb-host.c | 10 -- 1 file changed, 10 deletions(-) diff --git

Re: [next-20141231] sched: WARNING: CPU: 1 PID: 2539 at kernel/sched/core.c:7303 __might_sleep+0xbd/0xd0()

2015-01-03 Thread Sedat Dilek
On Thu, Jan 1, 2015 at 11:28 AM, Sedat Dilek wrote: > Hi, > > with next-20141231 I am seeing this call-trace: > > [ 88.028632] [ cut here ] > [ 88.028643] WARNING: CPU: 1 PID: 2539 at kernel/sched/core.c:7303 > __might_sleep+0xbd/0xd0() > [ 88.028646] do not call

[PATCH] ceph: acl: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function ceph_get_cached_acl() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- fs/ceph/acl.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/fs/ceph/acl.c

Re: [PATCH V3] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-03 Thread Sebastian Reichel
Hi Nishanth, On Sat, Jan 03, 2015 at 12:30:26PM -0600, Nishanth Menon wrote: > [...] > + gpio-fan,speed-map = <00 > + 13000 1>; > [...] iirc DT maintainers prefer this format: gpio-fan,speed-map = <0 0>, <13000 1>; This

[PATCH] drm/radeon: do not left queue acquired if timeout happens in kgd_hqd_destroy()

2015-01-03 Thread Alexey Khoroshilov
If timeout happens, kgd_hqd_destroy() just returns -ETIME leaving queue acquired. It may cause a deadlock, so the patch proposes to release queue before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov ---

Re: [PATCH] x86, um: actually mark system call tables readonly

2015-01-03 Thread Daniel Borkmann
On 01/03/2015 10:40 PM, Richard Weinberger wrote: ... I'll pick up this patch. Thanks a lot, Richard! -- 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

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Richard Weinberger
Am 04.01.2015 um 00:06 schrieb Andy Lutomirski: > As an attempt to help end this particular line of debate: putting the > sleep in glibc won't work. The point isn't to make the crashed > process crash more slowly; it's to limit the rate at which *new* > siblings can be forked and crashed as a

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Richard Weinberger
Am 04.01.2015 um 00:01 schrieb Pavel Machek: > On Sat 2015-01-03 23:44:18, Richard Weinberger wrote: >> Am 03.01.2015 um 23:36 schrieb Pavel Machek: >>> >> No. This is not what this patch does. >> >>> But changing glibc to do sleep(30); abort(); instead of abort(); to >>> slow down

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Andy Lutomirski
On Sat, Jan 3, 2015 at 2:36 PM, Pavel Machek wrote: > >> >> No. This is not what this patch does. >> >> >> >>> But changing glibc to do sleep(30); abort(); instead of abort(); to >> >>> slow down bruteforcing of canaries makes some kind of sense... and >> >>> should be ok by default. >> >> >> >>

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Pavel Machek
On Sat 2015-01-03 23:44:18, Richard Weinberger wrote: > Am 03.01.2015 um 23:36 schrieb Pavel Machek: > > > No. This is not what this patch does. > > > But changing glibc to do sleep(30); abort(); instead of abort(); to > > slow down bruteforcing of canaries makes some kind of

Re: [PATCH 0/5] *** SUBJECT HERE ***

2015-01-03 Thread Paul Bolle
On Sat, 2015-01-03 at 08:45 -0800, Greg KH wrote: > On Sat, Jan 03, 2015 at 02:06:22PM +0530, jitendra kumar khasdev wrote: > > *** BLURB HERE *** > > What blurb? What subject? jitendra used git-send-email to send this series. You'd expect git-send-email to die with an error if the cover

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Richard Weinberger
Am 03.01.2015 um 23:36 schrieb Pavel Machek: > No. This is not what this patch does. > But changing glibc to do sleep(30); abort(); instead of abort(); to > slow down bruteforcing of canaries makes some kind of sense... and > should be ok by default. As I saidn

Re: [PATCH] [RFC] Deter exploit bruteforcing

2015-01-03 Thread Pavel Machek
> >> No. This is not what this patch does. > >> > >>> But changing glibc to do sleep(30); abort(); instead of abort(); to > >>> slow down bruteforcing of canaries makes some kind of sense... and > >>> should be ok by default. > >> > >> As I saidn only focusing one the specific stack canary case

[PATCH v2] mfd: lubbock_io: add lubbock_io board

2015-01-03 Thread Robert Jarzmik
Lubbock () board is the IO motherboard of the Intel PXA25x Development Platform, which supports the Lubbock pxa25x soc board. Historically, this support was in arch/arm/mach-pxa/lubbock.c. When gpio-pxa was moved to drivers/pxa, it became a driver, and its initialization and probing happened at

Re: [PATCH] Revert "ipw2200: select CFG80211_WEXT"

2015-01-03 Thread Paul Bolle
On Sat, 2015-01-03 at 10:07 -0800, Linus Torvalds wrote: > On Sat, Jan 3, 2015 at 10:02 AM, Marcel Holtmann wrote: > > > > why would you revert this? It is obviously the correct change to actually > > select CFG80211_WEXT. > > I don't know about obvious, but yeah, I think the select in this

Re: [PATCH v3 0/6] support GMAC driver for RK3288

2015-01-03 Thread Heiko Stübner
Am Donnerstag, 1. Januar 2015, 21:01:22 schrieb David Miller: > From: Heiko Stübner > Date: Thu, 01 Jan 2015 03:06:31 +0100 > > > Hi David, > > > > Am Mittwoch, 31. Dezember 2014, 19:15:38 schrieb David Miller: > >> From: Roger Chen > >> Date: Mon, 29 Dec 2014 17:42:32 +0800 > >> > >> > Roger

Re: [PATCH] thermal: add omap3 support

2015-01-03 Thread Pavel Machek
Hi! > Thanks for sending your code. You are welcome. > > Add support for omap3430 sensor. Tested on Nokia N900. > > To my understanding, and as already mentioned by Nishanth Menon > (currently TIer), TI has intentionally avoided adding this support. Well, Nokia had similar code in their

[PATCH] g_NCR5380: Kill compiler warning if builtin

2015-01-03 Thread Geert Uytterhoeven
If CONFIG_SCSI_GENERIC_NCR5380=y: drivers/scsi/g_NCR5380.c:727: warning: ‘id_table’ defined but not used In the non-modular case, MODULE_DEVICE_TABLE() expands to nothing, and id_table is not referenced. Correct the existing #ifdef to fix this. Signed-off-by: Geert Uytterhoeven ---

[PATCH] thermal: of: Remove bogus type qualifier for of_thermal_get_trip_points()

2015-01-03 Thread Geert Uytterhoeven
With gcc 4.1.2, 4.2, and 4.2.4 (4.4 and later are OK): drivers/thermal/thermal_core.h:110: warning: type qualifiers ignored on function return type Signed-off-by: Geert Uytterhoeven Fixes: ce8be7785922de0e ("thermal: of: Extend of-thermal to export table of trip points") ---

Re: [PATCH] x86, um: actually mark system call tables readonly

2015-01-03 Thread Richard Weinberger
Am 03.01.2015 um 13:11 schrieb Daniel Borkmann: > Commit a074335a370e ("x86, um: Mark system call tables readonly") was > supposed to mark the sys_call_table in UML as RO by adding the const, > but it doesn't have the desired effect as it's nevertheless being placed > into the data section since

Re: [PATCH v2 1/2] of/pci: add of_pci_dma_configure() update dma configuration

2015-01-03 Thread Arnd Bergmann
On Friday 02 January 2015 17:33:53 Murali Karicheri wrote: > > I have no experience with IOMMU and may not offer much help here as I > originally wrote above. Will Deacon has added this API and probably able > to offer some help in this discussion. > > Will Deacon, > > Any comment? It's

0002-Spi-spi-gpio-fixed-spaces-coding-style-issue.patch

2015-01-03 Thread Nizam Haider
>From 00454f12a304489125bbdfbc2f50de3c2b9d49d3 Mon Sep 17 00:00:00 2001 From: Nizam Haider Date: Sun, 4 Jan 2015 00:24:38 +0530 Subject: [PATCH 2/2] Spi: spi-gpio: fixed spaces coding style issue Fixed a coding style issue. Signed-off-by: Nizam Haider --- drivers/spi/spi-gpio.c | 4 ++-- 1

Re: [PATCHv5 0/2] INPUT: Route keyboard LEDs through the generic LEDs layer

2015-01-03 Thread Pavel Machek
On Fri 2015-01-02 21:11:17, Samuel Thibault wrote: > Pavel Machek, le Fri 02 Jan 2015 20:53:51 +0100, a écrit : > > input4::capsl/trigger was none by default, that can't be right, right? > > Indeed. And I don't see how it can be that way, since the input4::capsl > LED and the input4-capsl trigger

Re: [PATCH 0/9 net-next v2] rhashtable: Per bucket locks & deferred table resizing

2015-01-03 Thread David Miller
From: Thomas Graf Date: Fri, 2 Jan 2015 23:00:13 +0100 > Prepares for and introduces per bucket spinlocks and deferred table > resizing. This allows for parallel table mutations in different hash > buckets from atomic context. The resizing occurs in the background > in a separate worker thread

Re: linux-next: build failure after merge of the net-next tree

2015-01-03 Thread David Miller
From: Stephen Rothwell Date: Sat, 3 Jan 2015 09:11:01 +1100 > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/net/ethernet/mellanox/mlx4/en_clock.c: In function > 'mlx4_en_init_timestamp': >

[PATCH] MAINTAINERS: Add linux-omap to list of reviewers for TI Thermal

2015-01-03 Thread Nishanth Menon
Add linux-omap mailing list to the TI THERMAL list for wider review. Reported-by: Pavel Machek Signed-off-by: Nishanth Menon --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..dc9efd5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Pavel Machek
On Sat 2015-01-03 12:57:04, Nishanth Menon wrote: > On 01/03/2015 12:51 PM, Pavel Machek wrote: > >On Sat 2015-01-03 11:48:04, Nishanth Menon wrote: > >>On 12:19-20150103, Pavel Machek wrote: > >>>Simplify code by removing goto's where they point to simple retu

[RFC] netlink: get rid of nl_table_lock

2015-01-03 Thread Stephen Hemminger
As a follow on to Thomas's patch I think this would complete the transistion to RCU for netlink. Compile tested only. This patch gets rid of the reader/writer nl_table_lock and replaces it with exclusively using RCU for reading, and a mutex for writing. Signed-off-by: Stephen Hemminger ---

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Nishanth Menon
On 01/03/2015 12:51 PM, Pavel Machek wrote: On Sat 2015-01-03 11:48:04, Nishanth Menon wrote: On 12:19-20150103, Pavel Machek wrote: Simplify code by removing goto's where they point to simple return. Avoid confusing |= on error values. Please split these up into chunks of related changes

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Pavel Machek
On Sat 2015-01-03 11:48:04, Nishanth Menon wrote: > On 12:19-20150103, Pavel Machek wrote: > > Simplify code by removing goto's where they point to simple return. > > > > Avoid confusing |= on error values. > > Please split these up into chunks of related chan

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Pavel Machek
On Sat 2015-01-03 11:48:04, Nishanth Menon wrote: > On 12:19-20150103, Pavel Machek wrote: > > Simplify code by removing goto's where they point to simple return. > > > > Avoid confusing |= on error values. > > Please split these up into chunks of related chan

[PATCH V3] ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node

2015-01-03 Thread Nishanth Menon
TPS gpio now controls a 5v 500mA TL5209 regulator which may be supply a fan (such as AFB02505HHB) over J1 connector for various purposes. Provide device tree node to enable the same. Signed-off-by: Nishanth Menon --- V3: Rebased to v3.19-rc1, added label for GPIO fan (for future cooling device

Re: [PATCH] Revert "ipw2200: select CFG80211_WEXT"

2015-01-03 Thread Linus Torvalds
On Sat, Jan 3, 2015 at 10:02 AM, Marcel Holtmann wrote: > > why would you revert this? It is obviously the correct change to actually > select CFG80211_WEXT. I don't know about obvious, but yeah, I think the select in this case is actually the better idea anyway. We could make the

Re: [PATCH] Revert "ipw2200: select CFG80211_WEXT"

2015-01-03 Thread Marcel Holtmann
Hi Paul, > This reverts commit 60220f41775e634258efd1b54c6fa81ce706. > > The raison d'être of commit 60220f41 ("ipw2200: select > CFG80211_WEXT") was reverted in commit 2d36e008739e ("Revert "cfg80211: > make WEXT compatibility unselectable""). So revert this commit too. > >

Re: [PATCH] power: avs: smartreflex: Remove unused function

2015-01-03 Thread Nishanth Menon
On 16:58-20150103, Rickard Strandqvist wrote: > Remove the function sr_configure_minmax() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > drivers/power/av

[PATCH] device: Fix dev_dbg_once macro

2015-01-03 Thread Joe Perches
There is a copy/paste typo in the dev_dbg_once macro. It uses dev_info instead of dev_dbg, so use the correct function instead. Signed-off-by: Joe Perches Noticed-by: Marc Finet --- include/linux/device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] cleanup ti-soc-thermal

2015-01-03 Thread Nishanth Menon
On 12:19-20150103, Pavel Machek wrote: > Simplify code by removing goto's where they point to simple return. > > Avoid confusing |= on error values. Please split these up into chunks of related changes. there is white space and quiet a few other changes all mixed in. Also please cc l

[PATCH] [sched] Account the elapse of each period accurately

2015-01-03 Thread Zhihui Zhang
Currently, the decayed values of previous periods can spill into the lower 10 bits of runnable_avg_period. This makes the next period to be less than 1024 us. If we want to decay exactly every 1024us, which I see no reason not to (less math overhead and consistent decay period among all tasks),

Re: WARNING: at drivers/gpu/drm/i915/intel_display.c:11375 [i915] in 3.19-rc2

2015-01-03 Thread Andrey Skvortsov
On Fri, Jan 02, 2015 at 08:27:29PM +0530, Sudip Mukherjee wrote: > On Thu, Jan 01, 2015 at 05:22:15PM +0300, Andrey Skvortsov wrote: > > Hi, > > > > this warning does not exist in 3.19-rc1, but it happens every boot in > > 3.19-rc2. If you need any other information or data, I would be glad > >

[PATCH 1/1 linux-next] ceph: use %zu for size_t display

2015-01-03 Thread Fabian Frederick
Fixes the following 32-bit compilation warning: fs/ceph/addr.c:1419:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] Signed-off-by: Fabian Frederick --- fs/ceph/addr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Please Confirm

2015-01-03 Thread Linda Okoh
Is your email still active? -- 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 http://www.tux.org/lkml/

Re: [PATCH] next: microblaze: Fix build failure

2015-01-03 Thread Richard Cochran
On Sat, Jan 03, 2015 at 06:53:20AM -0800, Guenter Roeck wrote: > Microblaze build in linux-next fails with > > arch/microblaze/kernel/timer.c:224:2: error: > implicit declaration of function 'timecounter_init' > > Caused by missing include file in microblaze timer code. Already fixed in

[PATCH] blackfin: mach-common: ints-priority: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function bfin_sec_resume() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/blackfin/mach-common/ints-priority.c |8 1 file changed, 8 deletions(-) diff --git

Re: WARNING: at drivers/gpu/drm/i915/intel_display.c:11375 [i915] in 3.19-rc2

2015-01-03 Thread Andrey Skvortsov
On Fri, Jan 02, 2015 at 09:42:01AM +0200, Jani Nikula wrote: > On Thu, 01 Jan 2015, Andrey Skvortsov wrote: > > Hi, > > > > this warning does not exist in 3.19-rc1, but it happens every boot in > > 3.19-rc2. If you need any other information or data, I would be glad > > to help to debug it. > >

[PATCH] arm: mach-versatile: core: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function versatile_leds_event() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/arm/mach-versatile/core.c | 37 - 1 file changed, 37

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Nishanth Menon
On 01/03/2015 10:16 AM, Tomasz Figa wrote: 2015-01-04 0:34 GMT+09:00 Nishanth Menon : On 15:40-20150103, Tomasz Figa wrote: Hi Nishanth, 2015-01-03 2:43 GMT+09:00 Nishanth Menon : AM437x generation of processors support programming the PL310 L2Cache controller's address filter start and end

Re: [PATCH 0/5] *** SUBJECT HERE ***

2015-01-03 Thread Greg KH
On Sat, Jan 03, 2015 at 02:06:22PM +0530, jitendra kumar khasdev wrote: > *** BLURB HERE *** What blurb? What subject? -- 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

Re: [PATCH] can: kvaser_usb: Don't free packets when tight on URBs

2015-01-03 Thread Ahmed S. Darwish
On Thu, Jan 01, 2015 at 01:59:13PM -0800, Stephen Hemminger wrote: > On Tue, 23 Dec 2014 17:46:54 +0200 > "Ahmed S. Darwish" wrote: > > > int ret = NETDEV_TX_OK; > > + bool kfree_skb_on_error = true; > > > > if (can_dropped_invalid_skb(netdev, skb)) > > return

[PATCH] scsi: aic7xxx: aic7xxx_core: Remove some unused functions

2015-01-03 Thread Rickard Strandqvist
Removes some functions that are not used anywhere: ahc_outq() ahc_inq() This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/scsi/aic7xxx/aic7xxx_core.c | 26 --

Re: [PATCH] ti-soc-thermal: implement eocz bit to make driver useful on omap3

2015-01-03 Thread Pavel Machek
Hi! > > When periodic mode is not enabled, it is neccessary to force reads. > > > > Signed-off-by: Pavel Machek > > > > --- a/drivers/thermal/ti-soc-thermal/ti-bandgap.c > > +++ b/drivers/thermal/ti-soc-thermal/ti-bandgap.c > > @@ -43,6 +43,8 @@ > > > > #include "ti-bandgap.h" > > > >

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Tomasz Figa
2015-01-04 0:34 GMT+09:00 Nishanth Menon : > On 15:40-20150103, Tomasz Figa wrote: >> Hi Nishanth, >> >> 2015-01-03 2:43 GMT+09:00 Nishanth Menon : >> > AM437x generation of processors support programming the PL310 L2Cache >> > controller's address filter

[PATCH] staging: gdm724x: fix coding style issues

2015-01-03 Thread Ning Zhou
Signed-off-by: Ning Zhou --- drivers/staging/gdm724x/gdm_lte.c | 3 ++- drivers/staging/gdm724x/gdm_mux.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_lte.c b/drivers/staging/gdm724x/gdm_lte.c index 73eede1..7c4a77b 100644 ---

[PATCH 1/1 linux-next] mm,compaction: move suitable_migration_target() under CONFIG_COMPACTION

2015-01-03 Thread Fabian Frederick
suitable_migration_target() is only used by isolate_freepages() Define it under CONFIG_COMPACTION || CONFIG_CMA is not needed. Fix the following warning: mm/compaction.c:311:13: warning: 'suitable_migration_target' defined but not used [-Wunused-function] Signed-off-by: Fabian Frederick ---

Re: [RFC][PATCH RESEND] mm: vmalloc: remove ioremap align constraint

2015-01-03 Thread Sergey Dyasly
Hi Arnd, First, some background information. We originally encountered high fragmentation issue in vmalloc area: 1. Total size of vmalloc area was 400 MB. 2. 200 MB of vmalloc area was consumed by ioremaps of various sizes. 3. Largest contiguous chunk of vmalloc area was

[PATCH] power: avs: smartreflex: Remove unused function

2015-01-03 Thread Rickard Strandqvist
Remove the function sr_configure_minmax() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- drivers/power/avs/smartreflex.c | 86 -

Re: [PATCH] net: wireless: b43legacy: radio.c: Remove unused function

2015-01-03 Thread Rickard Strandqvist
2015-01-03 15:51 GMT+01:00 Sedat Dilek : > On Sat, Jan 3, 2015 at 3:45 PM, Rickard Strandqvist > wrote: > [ ... ] >>> > I just got one more complaining about my subject-line in "net: wireless: " >>> > I use some sed call for this, so it's easy to fix. I will now remove that >>> > part

Re: [PATCH V2 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.\

2015-01-03 Thread Nishanth Menon
On 15:42-20150103, Tomasz Figa wrote: > Indeed, as I figured out in the original thread about this issue, > additional patch fixing code unaffected by my series (besides changing > the condition which triggers calling it) is necessary. Namely, the > affected 4 registers need to be w

Re: [PATCH V2 2/2] ARM: l2c: AM437x: Introduce support for cache filter programming

2015-01-03 Thread Nishanth Menon
On 15:40-20150103, Tomasz Figa wrote: > Hi Nishanth, > > 2015-01-03 2:43 GMT+09:00 Nishanth Menon : > > AM437x generation of processors support programming the PL310 L2Cache > > controller's address filter start and end registers using a secure > > montior service. &

Re: [PATCH] PCI/sysfs: off by two and memory corruption in driver_override parameter

2015-01-03 Thread Bjorn Helgaas
On Thu, Jan 1, 2015 at 5:27 PM, Sasha Levin wrote: > There are two different issues fixed here: > > - On nun-NULL terminated input a random byte of memory would get flipped > from '\n' to '\0'. > - When printing the driver_override parameter when it is 4095 and 4094 bytes > long the printing

Re: perf-probe crash in dwarf_getcfi_elf

2015-01-03 Thread Namhyung Kim
Hi Mark, On Thu, Jan 1, 2015 at 4:42 AM, Mark Wielaard wrote: > On Tue, Dec 30, 2014 at 06:05:33PM +0900, Namhyung Kim wrote: >> And I found a related commit (5704c8c4fa71 "getcfi_scn_eh_frame: Don't >> crash and burn when .eh_frame bits aren't there.") in elfutils that >> can lead to a

Re: [PATCH] Drivers: isdn: gigaset: checkpatch cleanup

2015-01-03 Thread Tilman Schmidt
[I only just noticed that my first reply got terribly mangled by my mailer, so here it is again, hopefully more readable this time.] Hello Bas, I have several objections to your patch. Am 31.12.2014 um 18:34 schrieb Bas Peters: > I have not been able to test the code as I do not have access to

Re: [PATCH 6/7] perf tools: Append callchains only when requested

2015-01-03 Thread Namhyung Kim
Hi Arnaldo, On Sat, Jan 3, 2015 at 11:25 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 22, 2014 at 01:44:14PM +0900, Namhyung Kim escreveu: >> The perf report --children can be called with callchain disabled so no >> need to append callchains. Actually the root of callchain tree is not >>

Re: frequent lockups in 3.18rc4

2015-01-03 Thread Sasha Levin
On 01/02/2015 07:27 PM, John Stultz wrote: > On Fri, Dec 26, 2014 at 12:57 PM, Linus Torvalds > wrote: >> > On Fri, Dec 26, 2014 at 10:12 AM, Dave Jones >> > wrote: >>> >> On Fri, Dec 26, 2014 at 11:34:10AM -0500, Dave Jones wrote: >>> >> >>> >> > One thing I think I'll try is to try and

[PATCH] Revert "ipw2200: select CFG80211_WEXT"

2015-01-03 Thread Paul Bolle
This reverts commit 60220f41775e634258efd1b54c6fa81ce706. The raison d'être of commit 60220f41 ("ipw2200: select CFG80211_WEXT") was reverted in commit 2d36e008739e ("Revert "cfg80211: make WEXT compatibility unselectable""). So revert this commit too. Signed-off-by: Paul Bolle ---

[PATCH] next: microblaze: Fix build failure

2015-01-03 Thread Guenter Roeck
Microblaze build in linux-next fails with arch/microblaze/kernel/timer.c:224:2: error: implicit declaration of function 'timecounter_init' Caused by missing include file in microblaze timer code. Fixes: 74d23cc704d1 ("time: move the timecounter/cyclecounter code into its own file") Cc:

  1   2   3   4   >