Re: [PATCH] net/core/sock.c: add missing VSOCK string in af_family_*_key_strings

2013-05-28 Thread David Miller
From: Sergei Shtylyov Date: Tue, 28 May 2013 21:58:52 +0400 > Hello. > > On 28-05-2013 19:02, Federico Vaga wrote: > >> The three arrays of strings: af_family_kay_strings, > >s/kay/key/. Maybe whoever applies this could fix the typo... Applied with typo fixed and queued up for -stable. T

Re: [PATCH/FIX] net: Block MSG_CMSG_COMPAT in send(m)msg and recv(m)msg

2013-05-28 Thread David Miller
From: Ingo Molnar Date: Tue, 28 May 2013 10:56:00 +0200 > MSG_CMSG_COMPAT is (AFAIK) not intended to be part of the API -- > it's a hack that steals a bit to indicate to other networking code > that a compat entry was used. So don't allow it from a non-compat > syscall. > > This prevents an oop

RE: [PATCH 3/3] usb: dwc3: omap Modify dwc3_omap_readl/writel with offsets

2013-05-28 Thread Cherian, George
> -Original Message- > From: Balbi, Felipe > Sent: Tuesday, May 28, 2013 11:02 PM > To: Cherian, George > Cc: Balbi, Felipe; linux-...@vger.kernel.org; linux-o...@vger.kernel.org; > linux-kernel@vger.kernel.org; gre...@linuxfoundation.org > Subject: Re: [PATCH 3/3] usb: dwc3: omap Modify

Re: [PATCH 0/2] clk: add of_clk_provider stubs to enable clk-si5351 on non OF

2013-05-28 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2013-04-30 17:58:27) > Enabling drivers that provide clocks on DT on platforms that don't have > CONFIG_OF set fails due to compilation errors. This patch set first adds > some stubs for of_clk_provider functions if CONFIG_OF is not set. Second > it allows those platf

[PATCH v6 net-next 5/5] ixgbe: add extra stats for ndo_ll_poll

2013-05-28 Thread Eliezer Tamir
Add additional statistics to the ixgbe driver for ndo_ll_poll Defined under LL_EXTENDED_STATS Signed-off-by: Alexander Duyck Signed-off-by: Jesse Brandeburg Tested-by: Willem de Bruijn Signed-off-by: Eliezer Tamir --- drivers/net/ethernet/intel/ixgbe/ixgbe.h | 14 drivers/

[PATCH v6 net-next 3/5] tcp: add TCP support for low latency receive poll.

2013-05-28 Thread Eliezer Tamir
Adds busy-poll support for TCP. Copy the napi_id from an incomming skb to the sk in tcp_v[46]_rcv(). when there is no data in the socket we busy-poll in tcp_recvmsg(). This is a good example of how to add busy-poll support to new protocols. Signed-off-by: Alexander Duyck Signed-off-by: Jesse Bran

[PATCH v6 net-next 4/5] ixgbe: Add support for ndo_ll_poll

2013-05-28 Thread Eliezer Tamir
Add the ixgbe driver code implementing ndo_ll_poll. It should be easy for other drivers to do something similar in order to enable support for CONFIG_NET_LL_RX_POLL Signed-off-by: Alexander Duyck Signed-off-by: Jesse Brandeburg Tested-by: Willem de Bruijn Signed-off-by: Eliezer Tamir --- dri

[PATCH v6 net-next 2/5] net: implement support for low latency socket polling

2013-05-28 Thread Eliezer Tamir
Adds a new ndo_ll_poll method and the code that supports and uses it. This method can be used by low latency applications to busy poll Ethernet device queues directly from the socket code. The value of sysctl_net_ll_poll controls how many microseconds to poll. Set to zero to disable. Signed-off-by

[PATCH v6 net-next 0/5] net: low latency Ethernet device polling

2013-05-28 Thread Eliezer Tamir
One more round of fixes. Thank you all for your input. -Eliezer change log: v6 - many small fixes suggested by Eric Dumazet: data locality, typos, documentation protect napi_hash insert/delete with a spinlock (napi_gen_id is no longer atomic_t since it's only accessed with the spinlock held

[PATCH v6 net-next 1/5] net: add napi_id and hash

2013-05-28 Thread Eliezer Tamir
Adds a napi_id and a hashing mechanism to lookup a napi by id. This will be used by subsequent patches to implement low latency Ethernet device polling. Based on a code sample by Eric Dumazet. Signed-off-by: Eliezer Tamir --- include/linux/netdevice.h | 29 net/core/d

[patch] ceph: tidy ceph_mdsmap_decode() a little

2013-05-28 Thread Dan Carpenter
I introduced a new temporary variable "info" instead of "m->m_info[mds]". Also I reversed the if condition and pulled everything in one indent level. Signed-off-by: Dan Carpenter --- This goes on top of Emil Goode's patch. diff --git a/fs/ceph/mdsmap.c b/fs/ceph/mdsmap.c index d4d3897..132b64e

Re: PING^7 (was Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542))

2013-05-28 Thread Vladislav Bolkhovitin
Martin K. Petersen, on 05/28/2013 01:25 PM wrote: > Vladislav> Linux block layer is purely artificial creature slowly > Vladislav> reinventing wheel creating more problems, than solving. > > On the contrary. I do think we solve a whole bunch of problems. > > > Vladislav> It enforces approach, wh

Re: [PATCH 0/3] palmas usb driver

2013-05-28 Thread Kishon Vijay Abraham I
Hi Felipe, On Tuesday 28 May 2013 11:05 PM, Felipe Balbi wrote: On Fri, May 24, 2013 at 08:01:33PM +0530, Kishon Vijay Abraham I wrote: This patch series adds driver for palmas usb which is used to detect attach/detach events of usb device and usb host. [PATCH v5 2/3] extcon: Palmas Extcon Dri

Re: linux-next: build warning after merge of the final tree

2013-05-28 Thread David Miller
From: Stephen Rothwell Date: Wed, 29 May 2013 15:29:15 +1000 > Introduced by commit 1a37e412a022 ("net: Use 16bits for *_headers fields > of struct skbuff") from the net-next tree. Simon just posted fixes for this, sorry about that. -- To unsubscribe from this list: send the line "unsubscribe li

linux-next: Tree for May 29

2013-05-28 Thread Stephen Rothwell
Hi all, Changes since 20130528: The trivial tree gained a conflict against the net-next tree. The xen-arm tree gained a build failure so I used the version from next-20130528. The staging tree gained a conflict against the net-next tree. The net-next tree added the following build warning for

Re: [PATCH v6 1/9] drivers: phy: add generic PHY framework

2013-05-28 Thread Kishon Vijay Abraham I
Hi, On Wednesday 29 May 2013 04:07 AM, Sylwester Nawrocki wrote: Hi Kishon, On 04/29/2013 12:03 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without usi

Re: [RFC PATCH v2 00/15][Sorted-buddy] mm: Memory Power Management

2013-05-28 Thread Srivatsa S. Bhat
On 05/29/2013 01:38 AM, Phillip Susi wrote: > > On 4/19/2013 3:12 AM, Srivatsa S. Bhat wrote: >> But going further, as I had mentioned in my TODO list, we can be >> smarter than this while doing compaction to evacuate memory regions >> - we can choose to migrate only the active pages, and leave th

Re: [PATCH] md: bcache: io.c: fix a potential NULL pointer dereference

2013-05-28 Thread Kumar amit mehta
On Tue, May 28, 2013 at 05:20:41PM -0700, Kent Overstreet wrote: > On Tue, May 28, 2013 at 12:31:15AM -0700, Kumar Amit Mehta wrote: > > bio_alloc_bioset returns NULL on failure. This fix adds a missing check > > for potential NULL pointer dereferencing. > > Whoops, that's definitely a bug. Thanks

Re: [PATCH] ARM: EXYNOS: Update defconfig for Arndale and Origen board

2013-05-28 Thread Olof Johansson
On Tue, May 28, 2013 at 8:59 PM, Tushar Behera wrote: > The patches are at [1]. FWIW, a cgit/gitweb link is easier to follow when you're reading an email. Anyway, found the patches. > There are a total of 6 patches on top of > v3.10-rc3. 3 of them (a, b, d) are queued for 3.10-rc4 and another p

linux-next: build warning after merge of the final tree

2013-05-28 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc ppc44x_defconfig, i386 defconfig, sparc32 defconfig) produced these warning: In file included from /scratch/sfr/next/include/net/tcp.h:44:0, from /scratch/sfr/next/net/core/sock.c:139: /scratch/sfr/next/inclu

ftrace calltrace when boot through kexec

2013-05-28 Thread jgq516
Hello, When I reboot a preempt_rt 3.4 kernel with cortex a15 tc2 board thru kexec, I got below calltrace appeared: [ cut here ] WARNING: at kernel/trace/ftrace.c:1584 ftrace_bug+0x1e0/0x224() Modules linked in: [] (unwind_backtrace+0x0/0x104) from [] (dump_stack+0x20/0

Re: [RFC v2 0/3][TESTS] LAB: Support for Legacy Application Booster governor - tests results

2013-05-28 Thread Viresh Kumar
On 29 May 2013 03:18, Rafael J. Wysocki wrote: > On Tuesday, May 28, 2013 03:26:25 PM Lukasz Majewski wrote: >> Hi Viresh, Rafael, >> >> > On Tuesday, May 28, 2013 03:14:26 PM Viresh Kumar wrote: >> > I'm not sure about that. On x86 boost will be used with all >> > governors if enabled (as curre

Re: [PATCH 0/3] proc: first_tid() fix/cleanup

2013-05-28 Thread Eric W. Biederman
Oleg Nesterov writes: > Hello. > > next_thread() should be avoided, probably next_tid() is the > only "valid" user. > > But now we have another reason to avoid (and probably even kill) > it, we are going to replace or fix while_each_thread(), almost > every lockless usage is wrong. > > I was goin

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-28 Thread Daniel Tang
On 27/05/2013, at 8:31 PM, Arnd Bergmann wrote: > On Monday 27 May 2013, Daniel Tang wrote: >>> The one remaining bit that sticks out is the clcd platform data. As I >>> said before, I won't require you to convert that to DT in order to >>> get your code merged, but I'd also really like to see t

[PATCH updated] drivers/base: Use attribute groups to create sysfs memory files

2013-05-28 Thread Nathan Fontenot
Update the sysfs memory code to create/delete files at the time of device and subsystem registration. The current code creates files in the root memory directory explicitly through the use of init_* routines. The files for each memory block are created and deleted explicitly using the mem_[crea

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-28 Thread Daniel Tang
On 28/05/2013, at 1:15 AM, Arnd Bergmann wrote: > On Monday 27 May 2013, Daniel Tang wrote: >> Before any peripheral is accessed. I.e. before the clocksource and irqchip >> drivers. > > The irqchip comes first, and by that time, you can actually call > of_iomap(). > >> The write to the port is

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-28 Thread Eric Dumazet
On Tue, 2013-05-28 at 18:31 -0700, Paul E. McKenney wrote: > On Tue, May 28, 2013 at 05:34:53PM -0700, Eric Dumazet wrote: > > On Tue, 2013-05-28 at 13:10 +0400, Roman Gushchin wrote: > > > On 28.05.2013 04:12, Eric Dumazet wrote: > > > > > > Adding a barrier() is probably what we want. > > > > >

Re: [PATCH 04/21] Generic percpu refcounting

2013-05-28 Thread Rusty Russell
Kent Overstreet writes: > On Wed, May 15, 2013 at 10:37:20AM -0700, Tejun Heo wrote: >> Can you please expand it on a bit and, more importantly, describe in >> what limits, it's safe? This should be safe as long as the actual sum >> of refcnts given out doesn't overflow the original type, right?

[PATCH V2] cpufreq: Raname index as driver_data in cpufreq_frequency_table

2013-05-28 Thread Viresh Kumar
"Index" field of struct cpufreq_frequency_table was never index and isn't used at all by cpufreq core. And is only useful for cpufreq drivers for their personal use. Many people now a days blindly set it in ascending order with the assumption that core is using it for some work. This patch rename

Re: [PATCH 3/3] proc: simplify proc_task_readdir/first_tid paths

2013-05-28 Thread Eric W. Biederman
Oleg Nesterov writes: > proc_task_readdir() does not really need "leader", first_tid() > has to revalidate it anyway. Just pass proc_pid(inode) to > first_tid() instead, it can do pid_task(PIDTYPE_PID) itself > and read ->group_leader only if necessary. > > Note: I am not sure proc_task_readdir()

Re: [PATCH 3/4] rtc: rtc-hid-sensor-time: add option hctosys to set time at boot

2013-05-28 Thread Alexander Holler
Am 28.05.2013 21:37, schrieb John Stultz: On 05/21/2013 04:15 PM, Alexander Holler wrote: Am 22.05.2013 00:02, schrieb John Stultz: Like Andrew, I think this feels particularly hacky. Why exactly is late_init too early? (I'm unfamiliar with the rtc-hid-sensor-time driver) Currently it can

[PATCH] tuntap: forbid changing mq flag for persistent device

2013-05-28 Thread Jason Wang
We currently allow changing the mq flag (IFF_MULTI_QUEUE) for a persistent device. This will result a mismatch between the number the queues in netdev and tuntap. This is because we only allocate a 1q netdevice when IFF_MULTI_QUEUE was not specified, so when we set the IFF_MULTI_QUEUE and try to at

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 6:52 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Hans Verkuil >>

Re: [PATCH v3 9/9] media: davinci: vpif_display: Convert to devm_* api

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 9:08 AM, Laurent Pinchart wrote: > On Sunday 26 May 2013 17:30:12 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> use devm_request_irq() instead of request_irq(). This ensures >> more consistent error values and simplifies error paths. >> >> Signed-off-by:

linux-next: manual merge of the staging tree with the net-next tree

2013-05-28 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/silicom/bpctl_mod.c between commit 351638e7deee ("net: pass info struct via netdevice notifier") from the net-next tree and commit f84b075178b4 ("Staging: silicom: Fixed error 'do not initialise statics to 0 or

Re: [PATCH v3 4/9] media: davinci: vpif_capture: move the freeing of irq and global variables to remove()

2013-05-28 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Wed, May 29, 2013 at 8:02 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 17:30:07 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> Ideally the freeing of irq's and the global variables needs to be >> done i

Re: [PATCH 1/3] proc: first_tid: fix the potential use-after-free

2013-05-28 Thread Eric W. Biederman
Oleg Nesterov writes: > proc_task_readdir() verifies that the result of get_proc_task() > is pid_alive() and thus its ->group_leader is fine too. However > this is not necessarily true after rcu_read_unlock(), we need > to recheck this after first_tid() does rcu_read_lock() again. I agree with y

Re: [PATCH] ARM: EXYNOS: Update defconfig for Arndale and Origen board

2013-05-28 Thread Tushar Behera
On 05/29/2013 04:47 AM, Olof Johansson wrote: > On Tue, May 14, 2013 at 08:37:53AM +0530, Tushar Behera wrote: >> On 05/14/2013 05:36 AM, Kevin Hilman wrote: >>> Tushar Behera writes: >>> It updates following drivers for EXYNOS based DT platform. * S5M8767 driver * MAX8997 driv

Re: Patch for thinkpad-acpi.c

2013-05-28 Thread Bruce
Hi, Bjorn Thank your advice . I will modify my code, then try to submit again. Bruce.Ma May 29,2013 On 05/28/2013 06:28 PM, Bjørn Mork wrote: > Bruce writes: > >> +struct blacklist lenovo_blacklist[] = { >> + { >> +.model_s = "Lenovo LM490s", >> +.nummodel_s = "814YG01", >> + }, > >

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Prabhakar Lad
Hi Laurent, On Wed, May 29, 2013 at 9:01 AM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thanks for the patch. > > On Sunday 26 May 2013 18:38:54 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the mt9p031 sensor driver. >> Alongside this patch sorts the header inclusion al

RE: [PATCH v1 0/9] adding dual instance and usb-phy support for am335x platform

2013-05-28 Thread B, Ravi
Felipe > Subject: Re: [PATCH v1 0/9] adding dual instance and usb-phy support for > am335x platform > Hi, >On Thu, May 23, 2013 at 11:31:19AM +0530, Ravi Babu wrote: >> This patch set series >> - adds dual musb instances support for am335x platform >> - adds phy-dsps-usb driver

[RFC PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-05-28 Thread Chanwoo Choi
This patch add new sysfs file to show previous accumulated data of CPU load as following path. This sysfs file is used to judge the correct system state or determine suitable system resource on user-space. - /sys/devices/system/cpu/cpu0/cpufreq/stats/load_table This sysfs file include following da

Re: [PATCH v3 9/9] media: davinci: vpif_display: Convert to devm_* api

2013-05-28 Thread Laurent Pinchart
On Sunday 26 May 2013 17:30:12 Prabhakar Lad wrote: > From: Lad, Prabhakar > > use devm_request_irq() instead of request_irq(). This ensures > more consistent error values and simplifies error paths. > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart with a small comment below. >

Re: [PATCH v3 6/9] media: davinci: vpif_capture: Convert to devm_* api

2013-05-28 Thread Laurent Pinchart
On Sunday 26 May 2013 17:30:09 Prabhakar Lad wrote: > From: Lad, Prabhakar > > use devm_request_irq() instead of request_irq(). This ensures > more consistent error values and simplifies error paths. > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart > --- > drivers/media/platform

linux-next: build failure after merge of the xen-arm tree

2013-05-28 Thread Stephen Rothwell
include in cputime.c"). Only three architectures have that file (x86, arm and ia64). I have used the xen-arm tree from next-20130528 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpyQK9EOYNIp.pgp Description: PGP signature

Re: [PATCH v3 8/9] media: davinci: vpif_display: use module_platform_driver()

2013-05-28 Thread Laurent Pinchart
On Sunday 26 May 2013 17:30:11 Prabhakar Lad wrote: > From: Lad, Prabhakar > > This patch uses module_platform_driver() to simplify the code. > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart > --- > drivers/media/platform/davinci/vpif_display.c | 18 +- > 1 fil

Re: [PATCH v3 5/9] media: davinci: vpif_capture: use module_platform_driver()

2013-05-28 Thread Laurent Pinchart
On Sunday 26 May 2013 17:30:08 Prabhakar Lad wrote: > From: Lad, Prabhakar > > This patch uses module_platform_driver() to simplify the code. > > Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart > --- > drivers/media/platform/davinci/vpif_capture.c | 28 +- > 1

Re: [PATCH] media: i2c: mt9p031: add OF support

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:38:54 Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the mt9p031 sensor driver. > Alongside this patch sorts the header inclusion alphabetically. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Lauren

Re: [BUG] with rcu nocb, don't call wake up holding rnp->lock (was: rcu_read_lock() used illegally while idle!)

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 05:32:53PM -0400, Steven Rostedt wrote: > Paul, this looks to be a nocb rcu bug. Excellent work tracing this down! I have queued your fix, and if it passes testing, I will push for 3.10. Thanx, Paul > On Tue, 2013-0

[PATCH] ARM: mmp: bring up pxa988 with device tree support

2013-05-28 Thread Neil Zhang
bring up pxa988 with device tree support. Change-Id: I6fc869b7d5ff8dc6e4eb0042a89429200f7a9fb1 Signed-off-by: Neil Zhang Signed-off-by: Chao Xie --- arch/arm/boot/dts/pxa988-dkb.dts | 36 ++ arch/arm/boot/dts/pxa988.dtsi | 189 + arch/arm/

[PATCH] bring up pxa988 with DT

2013-05-28 Thread Neil Zhang
This patch is supposed to bring up pxa988 SMP. will change to use CLOCKSOURCE later. Neil Zhang (1): ARM: mmp: bring up pxa988 with device tree support arch/arm/boot/dts/pxa988-dkb.dts | 36 ++ arch/arm/boot/dts/pxa988.dtsi | 189 + arch/

Re: [PATCH v5] clocksource: add Freescale Vybrid pit timer support

2013-05-28 Thread Shawn Guo
On Tue, May 28, 2013 at 05:21:39PM +0800, Jingchang Lu wrote: > Add Freescale Vybrid Family period interrupt timer support. > > Signed-off-by: Jingchang Lu Acked-by: Shawn Guo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH v7 10/11] KVM: MMU: collapse TLB flushes when zap all pages

2013-05-28 Thread Xiao Guangrong
On 05/28/2013 11:19 PM, Xiao Guangrong wrote: > On 05/28/2013 08:36 AM, Marcelo Tosatti wrote: >> On Thu, May 23, 2013 at 03:55:59AM +0800, Xiao Guangrong wrote: >>> kvm_zap_obsolete_pages uses lock-break technique to zap pages, >>> it will flush tlb every time when it does lock-break >>> >>> We ca

Re: [PATCH] ARM: mxs: Include clk mxs header file

2013-05-28 Thread Shawn Guo
On Mon, May 27, 2013 at 12:28:25PM -0300, Fabio Estevam wrote: > Fix the following sparse warnings: > > drivers/clk/mxs/clk-imx28.c:72:5: warning: symbol 'mxs_saif_clkmux_select' > was not declared. Should it be static? > drivers/clk/mxs/clk-imx28.c:156:12: warning: symbol 'mx28_clocks_init' was

Re: [PATCH v2] usb: omap2430: fix memleak in err case

2013-05-28 Thread Libo Chen
On 2013/5/29 1:40, Sergei Shtylyov wrote: > Hello. > > On 22-05-2013 7:30, Libo Chen wrote: > >> when omap_get_control_dev faild, we should release related platform_device > >> * Changelog from v1: >> * fix spell: s/fail/fails/, s/relational/related/ , thank Sergei >> > >It seems you'

Re: [PATCH] memcg: don't initialize kmem-cache destroying work for root caches

2013-05-28 Thread Glauber Costa
On 05/29/2013 04:23 AM, Andrew Morton wrote: > On Tue, 14 May 2013 16:38:38 +0400 Andrey Vagin wrote: > >> struct memcg_cache_params has a union. Different parts of this union are >> used for root and non-root caches. A part with destroying work is used only >> for non-root caches. > > That unio

Dead URL in Documentation/acpi/dsdt-override.txt

2013-05-28 Thread Drunkard Zhang
The domain name www.lesswatts.org in Documentation/acpi/dsdt-override.txt is unresolvable, so the URL is dead too. I found some good docs in this topic: http://wiki.debian.org/OverridingDSDT -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH RESEND] mtd: fix kfree bcm47xxsflash

2013-05-28 Thread Libo Chen
On 2013/5/28 23:29, Andy Shevchenko wrote: > This is good fix, but I rather prefer not to see it in this shape. > See comments below. > > On Wed, May 22, 2013 at 6:51 AM, Libo Chen > wrote: >> >> mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not >> its member. >> >> Sign

Re: [PATCH] driver: tty: add missing unregister in err case

2013-05-28 Thread Timur Tabi
Libo Chen wrote: when platform_driver_register broken, we should unregister ucc_uart_driver Signed-off-by: Libo chen Acked-by: Timur Tabi Thanks for catching this. -- Timur Tabi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

[PATCH] driver: tty: add missing unregister in err case

2013-05-28 Thread Libo Chen
when platform_driver_register broken, we should unregister ucc_uart_driver Signed-off-by: Libo chen --- drivers/tty/serial/ucc_uart.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 7355303..f86f447

linux-next: manual merge of the trivial tree with the net-next tree

2013-05-28 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in Documentation/networking/netlink_mmap.txt between commit 3dd17edea018 ("doc:networking: Fix typo in documentation/networking") from the net-next tree and commit f884ab15afdc ("doc: fix misspellings with 'codespell' tool") from

Re: [PATCH v3 4/9] media: davinci: vpif_capture: move the freeing of irq and global variables to remove()

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 17:30:07 Prabhakar Lad wrote: > From: Lad, Prabhakar > > Ideally the freeing of irq's and the global variables needs to be > done in the remove() rather than module_exit(), this patch moves > the freeing up of irq's and freeing the memor

Re: [patch 7/8] genirq: generic chip: Add linear irq domain support

2013-05-28 Thread Grant Likely
On Mon, 06 May 2013 14:30:27 -, Thomas Gleixner wrote: > Provide infrastructure for irq chip implementations which work on > linear irq domains. > > - Interface to allocate multiple generic chips which are associated to > the irq domain. > > - Interface to get the generic chip pointer for

Re: [PATCH 10/12] ipu_idmac: re-use dma_cookie_status()

2013-05-28 Thread Shawn Guo
On Mon, May 27, 2013 at 03:14:40PM +0300, Andy Shevchenko wrote: > It's better to use generic dma_cookie_status() that allows user to get > standard > possible return codes independently of the DMAC driver in charge. > > Signed-off-by: Andy Shevchenko > Cc: Shawn Guo Acked-by: Shawn Guo > --

Re: [PATCH] ARM: map_init_section flushes incorrect pmd

2013-05-28 Thread Po-Yu Chuang
On Wed, May 29, 2013 at 2:48 AM, Sricharan R wrote: > > On Tuesday 28 May 2013 07:37 PM, Will Deacon wrote: > > On Tue, May 28, 2013 at 03:03:36PM +0100, Sricharan R wrote: > >> On Tuesday 28 May 2013 06:35 PM, Will Deacon wrote: > >>> On Tue, May 28, 2013 at 11:48:20AM +0100, Po-Yu Chuang wrote:

Re: [PATCH] x86: Fix adjust_range_size_mask calling position

2013-05-28 Thread H. Peter Anvin
On 05/28/2013 04:43 PM, Yinghai Lu wrote: >> >> Sorry, I'm not sure I understand what the above paragraph is trying to say. > > We merge the continuous range with same page size allow too early. > in the case > [mem 0x0020-0x3fff] page 2M > [mem 0x4000-0x7bff] page 2M > a

[PATCH 3/3] irqchip: Make versatile fpga irq driver a generic chip

2013-05-28 Thread Grant Likely
This is an RFC patch to convert the versatile FPGA irq controller driver to use generic irq chip. It builds on the series that extends the generic chip code to allow a linear irq domain to contain one or more generic irq chips so that each interrupt controller doesn't need to hand code the generic

[PATCH 0/3] Try out the irqdomain + generic chip integration series

2013-05-28 Thread Grant Likely
Hi Thomas, Rather than just straight reviewing the generic irq chip patch series, I tried it out by converting another driver to use it. As far as I've been able to tell it does the right thing and you can have my ack. The first patch in this series adds another feature needed by the versatile dri

[PATCH 2/3] irqdomain: Relax failure path on setting up mappings

2013-05-28 Thread Grant Likely
Commit 98aa468e, "irqdomain: Support for static IRQ mapping and association" introduced an API for directly associating blocks of hwirqs to linux irqs. However, if any irq in that block failed to map (say if the mapping functions returns an error because the irq is already mapped) then the whole th

[PATCH 1/3] irqchip: Add mask to block out invalid irqs

2013-05-28 Thread Grant Likely
Some controllers have irqs that aren't wired up and must never be used. For the generic chip attached to an irq_domain this provides a mask that can be used to block out particular irqs so that they never get mapped. Signed-off-by: Grant Likely Cc: Thomas Gleixner --- include/linux/irq.h

Re: [PATCH] arm64: compiling issue for allmodconfig, need "asm/parport.h" by "drivers/parport/parport_pc.c"

2013-05-28 Thread Chen Gang
On 05/29/2013 01:02 AM, Catalin Marinas wrote: >> > >> > After check the Kconfig in drivers, we can find quite a few using long >> > list args which related with ARCH. >> > >> > And they are not only depend on ARCHs, but also depend on another >> > things (e.g. VGA_CONSOL also depend on !4xx && !

RE: [PATCH V2 0/2] Drivers: hv: vmbus: Implement multi-channel support

2013-05-28 Thread KY Srinivasan
> -Original Message- > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > Sent: Thursday, May 23, 2013 3:02 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com > Cc: KY Srinivasan >

Re: [PATCH 2/2] ftrace: Use the rcu _notrace variants for rcu_dereference_raw() and friends

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 02:38:43PM -0400, Steven Rostedt wrote: > As rcu_dereference_raw() under RCU debug config options can add quite a > bit of checks, and that tracing uses rcu_dereference_raw(), these checks > happen with the function tracer. The function tracer also happens to trace > these d

Re: [PATCH 1/2] rcu: Add _notrace variation of rcu_dereference_raw() and hlist_for_each_entry_rcu()

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 02:38:42PM -0400, Steven Rostedt wrote: > As rcu_dereference_raw() under RCU debug config options can add quite a > bit of checks, and that tracing uses rcu_dereference_raw(), these checks > happen with the function tracer. The function tracer also happens to trace > these d

Re: [RFC PATCH v1 0/5] BTRFS hot relocation support

2013-05-28 Thread Duncan
Kent Overstreet posted on Tue, 28 May 2013 17:38:15 -0700 as excerpted: > On Tue, May 21, 2013 at 02:22:34AM +, Duncan wrote: >> zwu.kernel posted on Mon, 20 May 2013 23:11:22 +0800 as excerpted: >> >> > The patchset is trying to introduce hot relocation support for BTRFS. >> >> One advantag

Re: [PATCH] ACPI: Fix potential NULL pointer dereference in acpi_processor_add()

2013-05-28 Thread Hanjun Guo
On 2013-5-29 7:30, Rafael J. Wysocki wrote: > On Thursday, May 23, 2013 08:44:26 PM Hanjun Guo wrote: >> In acpi_processor_add(), get_cpu_device() will return NULL sometimes, >> although the chances are small, I think it should be fixed. >> >> Signed-off-by: Hanjun Guo > > This patch isn't necess

Re: [RFC] Add co-maintainer for fbdev

2013-05-28 Thread Jingoo Han
On Wednesday, May 29, 2013 6:20 AM, Arnd Bergmann wrote: > On Monday 27 May 2013, Florian Tobias Schandinat wrote: > > >> On Fri, May 24, 2013 at 8:38 AM, Jean-Christophe PLAGNIOL-VILLARD > > >> wrote: > > >>> Hi Florian, > > >>> > > >>> As you seems very busy I'd like to propose the help

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 05:34:53PM -0700, Eric Dumazet wrote: > On Tue, 2013-05-28 at 13:10 +0400, Roman Gushchin wrote: > > On 28.05.2013 04:12, Eric Dumazet wrote: > > > > Adding a barrier() is probably what we want. > > > > I agree, inserting barrier() is also a correct and working fix. > > Y

Re: [PATCH tip/core/rcu 6/7] rcu: Drive quiescent-state-forcing delay from HZ

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 12:07:42PM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Wed, May 15, 2013 at 11:20:55AM +0200, Ingo Molnar wrote: > > > > > > * Paul E. McKenney wrote: > > > > > > > rcu: Fix comparison sense in rcu_needs_cpu() > > > > > > > > Commit c0f4dfd4f (rcu

Re: [PULL] TPM: fix regression caused by section type conflict of tpm_dev_release() in ppc builds

2013-05-28 Thread James Morris
On Mon, 27 May 2013, Peter H?we wrote: > Hi James, > > The following changes since commit 5b88e270253db6d817e6a2f61909d1e53620e990: > > maintainers: Remove Kent from maintainers > > are available in the git repository at: > > git://github.com/PeterHuewe/linux-tpmdd.git for-james > > fo

Re: [PATCH v5] media: i2c: tvp514x: add OF support

2013-05-28 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Sunday 26 May 2013 18:49:46 Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the tvp514x driver. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > C

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-28 Thread Paul E. McKenney
On Tue, May 28, 2013 at 01:10:46PM +0400, Roman Gushchin wrote: > On 28.05.2013 04:12, Eric Dumazet wrote: > >On Mon, 2013-05-27 at 21:55 +0400, Roman Gushchin wrote: > >>Hi, Paul! > >> > >>>On 25.05.2013 15:37, Paul E. McKenney wrote: > Again, I believe that your retry logic needs to extend ba

Re: https://lkml.org/lkml/2013/2/1/531

2013-05-28 Thread Greg KH
On Wed, May 29, 2013 at 03:01:53AM +0200, Smart Weblications GmbH - Florian Wiessner wrote: > Am 23.05.2013 14:46, schrieb Matthew O'Connor: > > On 05/23/2013 06:24 AM, Smart Weblications GmbH - Florian Wiessner wrote: > >> node02:/ocfs2/usr/src/linux-3.4.46# cat drivers/net/bonding/bond_alb.c.rej

Re: [PATCH v2 2/5] media: davinci: vpif: Convert to devm_* api

2013-05-28 Thread Laurent Pinchart
Hi Sergei, On Sunday 26 May 2013 18:15:19 Sergei Shtylyov wrote: > On 26-05-2013 4:49, Laurent Pinchart wrote: > >> From: Lad, Prabhakar > >> > >> Use devm_ioremap_resource instead of reques_mem_region()/ioremap(). > >> This ensures more consistent error values and simplifies error paths. > >>

Re: [PATCH 04/21] Generic percpu refcounting

2013-05-28 Thread Tejun Heo
Yo, On Tue, May 28, 2013 at 04:47:28PM -0700, Kent Overstreet wrote: > > It'd be great if that is explained clearly in more intuitive way. The > > only actual explanation above is "modular arithmatic is commutative" > > which is a very compact way to put it and I really think it deserves > > an e

Re: https://lkml.org/lkml/2013/2/1/531

2013-05-28 Thread David Miller
From: Smart Weblications GmbH - Florian Wiessner Date: Wed, 29 May 2013 03:01:53 +0200 > Am 23.05.2013 14:46, schrieb Matthew O'Connor: >> On 05/23/2013 06:24 AM, Smart Weblications GmbH - Florian Wiessner wrote: >>> node02:/ocfs2/usr/src/linux-3.4.46# cat drivers/net/bonding/bond_alb.c.rej >> M

Re: System slow down from udev

2013-05-28 Thread Greg Kroah-Hartman
On Wed, May 29, 2013 at 02:30:12AM +0200, Rafael J. Wysocki wrote: > On Tuesday, May 28, 2013 05:01:41 PM Yinghai Lu wrote: > > On Tue, May 28, 2013 at 4:57 PM, Rafael J. Wysocki wrote: > > > On Tuesday, May 28, 2013 04:46:30 PM Yinghai Lu wrote: > > >> On Tue, May 28, 2013 at 4:50 PM, Rafael J. W

Re: https://lkml.org/lkml/2013/2/1/531

2013-05-28 Thread Smart Weblications GmbH - Florian Wiessner
Am 23.05.2013 14:46, schrieb Matthew O'Connor: > On 05/23/2013 06:24 AM, Smart Weblications GmbH - Florian Wiessner wrote: >> node02:/ocfs2/usr/src/linux-3.4.46# cat drivers/net/bonding/bond_alb.c.rej > My most sincere apologies - one more time, from a different mail server > that hopefully won't g

[GIT PULL] ARM: Exynos fixes for 3.10-rc

2013-05-28 Thread Olof Johansson
Hi Linus, The following changes since commit f4ae176c626311d6507c9a2d263657c4cc4e1667: Merge tag 'sunxi-fixes-for-3.10' of git://github.com/mripard/linux into fixes (2013-05-24 15:50:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-so

Re: [PATCH v2] usb: omap2430: fix memleak in err case

2013-05-28 Thread Libo Chen
On 2013/5/28 23:34, Andy Shevchenko wrote: > No go. > > Check the 4b7e450fb5cefb5865c77999a675330206ab3b8a > And update you tree, please. > > -- > With Best Regards, > Andy Shevchenko > > It had been changed :( Thanks, Libo -- To unsubscribe from this list: send the line "unsubscribe linux-

[PATCH V2] hwrng: use platform_{get,set}_drvdata()

2013-05-28 Thread Jingoo Han
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Also, unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL

Re: [RFC] Add co-maintainer for fbdev

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:19 Tue 28 May , Arnd Bergmann wrote: > On Monday 27 May 2013, Florian Tobias Schandinat wrote: > > >> On Fri, May 24, 2013 at 8:38 AM, Jean-Christophe PLAGNIOL-VILLARD > > >> wrote: > > >>> Hi Florian, > > >>> > > >>> As you seems very busy I'd like to propose the help you to >

Re: [RFC PATCH v1 0/5] BTRFS hot relocation support

2013-05-28 Thread Kent Overstreet
On Tue, May 21, 2013 at 02:22:34AM +, Duncan wrote: > zwu.kernel posted on Mon, 20 May 2013 23:11:22 +0800 as excerpted: > > > The patchset is trying to introduce hot relocation support > > for BTRFS. In hybrid storage environment, when the data in rotating disk > > get hot, it can be relocate

cpu hotplug broken in linux-next

2013-05-28 Thread Dave Hansen
If I boot with: maxcpus=2 possible_cpus=4 I get # grep . /sys/devices/system/cpu/cpu[0-9]*/online' /sys/devices/system/cpu/cpu1/online:1 /sys/devices/system/cpu/cpu2/online:1 /sys/devices/system/cpu/cpu3/online:1 When 2 and 3 *should* be offline. I also get -EINV

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-28 Thread Eric Dumazet
On Tue, 2013-05-28 at 13:10 +0400, Roman Gushchin wrote: > On 28.05.2013 04:12, Eric Dumazet wrote: > > Adding a barrier() is probably what we want. > > I agree, inserting barrier() is also a correct and working fix. Yeah, but I can not find a clean way to put it inside the "for (;;)" for (barr

Re: System slow down from udev

2013-05-28 Thread Rafael J. Wysocki
On Tuesday, May 28, 2013 05:01:41 PM Yinghai Lu wrote: > On Tue, May 28, 2013 at 4:57 PM, Rafael J. Wysocki wrote: > > On Tuesday, May 28, 2013 04:46:30 PM Yinghai Lu wrote: > >> On Tue, May 28, 2013 at 4:50 PM, Rafael J. Wysocki wrote: > >> > On Tuesday, May 28, 2013 04:39:37 PM Yinghai Lu wrote

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-05-28 Thread Alexey Kardashevskiy
On 05/29/2013 02:32 AM, Scott Wood wrote: > On 05/24/2013 09:45:24 PM, David Gibson wrote: >> On Wed, May 22, 2013 at 04:06:57PM -0500, Scott Wood wrote: >> > On 05/20/2013 10:06:46 PM, Alexey Kardashevskiy wrote: >> > >diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c >> > >inde

Re: [PATCH] md: bcache: io.c: fix a potential NULL pointer dereference

2013-05-28 Thread Kent Overstreet
On Tue, May 28, 2013 at 12:31:15AM -0700, Kumar Amit Mehta wrote: > bio_alloc_bioset returns NULL on failure. This fix adds a missing check > for potential NULL pointer dereferencing. Whoops, that's definitely a bug. Thanks, applied. How'd you find it? -- To unsubscribe from this list: send the l

Re: Stupid VFS name lookup interface..

2013-05-28 Thread Valdis . Kletnieks
On Sun, 26 May 2013 08:02:51 -0400, "Theodore Ts'o" said: > Have any of the arguments over the proper security models changed over > or have gotten resolved over the past six years, while I haven't been > looking? Doubtful, because the security models are addressing different threat models. If y

Re: [PATCH 1/3] x86: increase precision of x86_platform.get/set_wallclock()

2013-05-28 Thread John Stultz
On 05/13/2013 10:56 AM, David Vrabel wrote: From: David Vrabel All the virtualized platforms (KVM, lguest and Xen) have persistent wallclocks that have more than one second of precision. read_persistent_wallclock() and update_persistent_wallclock() allow for nanosecond precision but their impl

  1   2   3   4   5   6   7   >