Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-10-16 Thread Hongbo Zhang
Hi Vinod, I have gotten ACK from Mark for both the 1/3 and 2/3 patches. Thanks. On 09/26/2013 05:33 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines.

Re: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry until, the scan is completed

2013-10-16 Thread Madper Xie
Howdy Seiji, I failed appily this patch to both 3.12-rc2 and 3.12-rc4. Could you please let me know which is the right tree for this patch? Thanks, Madper. seiji.agu...@hds.com writes: > Change from v2: > - Move dynamic memory allocation to efi_pstore_read() before holding >

Re: [PATCH] ARM: bcm_defconfig: Run "make savedefconfig"

2013-10-16 Thread Christian Daudt
On Mon, Oct 14, 2013 at 2:41 PM, Tim Kryger wrote: > Several of the options in bcm_defconfig have gotten out of date so > regenerate it with "make savedefconfig" to keep things fresh. > > Signed-off-by: Tim Kryger > Reviewed-by: Matt Porter > --- > arch/arm/configs/bcm_defconfig | 10

Re: [RESEND PATCH v2 2/6] ARM: dts: Specify clocks for UARTs on bcm11351

2013-10-16 Thread Christian Daudt
On Wed, Oct 16, 2013 at 2:47 PM, Tim Kryger wrote: > Rather than declaring the frequency of the external clock, specify the > label of the clock such that the driver may determine the frequency on > its own. > > Signed-off-by: Tim Kryger > Reviewed-by: Markus Mayer > Reviewed-by: Matt Porter >

[PATCH net-next v3 2/9] ipv6: split inet6_ehashfn to hash functions per compilation unit

2013-10-16 Thread Hannes Frederic Sowa
This patch splits the inet6_ehashfn into separate ones in ipv6/inet6_hashtables.o and ipv6/udp.o to ease the introduction of seperate secrets keys later. Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- include/net/inet6_hashtables.h | 28

[PATCH net-next v3 3/9] static_key: WARN on usage before jump_label_init was called

2013-10-16 Thread Hannes Frederic Sowa
Based on a patch from Andi Kleen. Cc: Steven Rostedt Cc: Peter Zijlstra Cc: Andi Kleen Signed-off-by: Hannes Frederic Sowa --- include/linux/jump_label.h | 10 ++ include/linux/jump_label_ratelimit.h | 2 ++ init/main.c | 7 +++

[PATCH net-next v3 4/9] x86/jump_label: expect default_nop if static_key gets enabled on boot-up

2013-10-16 Thread Hannes Frederic Sowa
net_get_random_once(intrduced in the next patch) uses static_keys in a way that they get enabled on boot-up instead of replaced with an ideal_nop. So check for default_nop on initial enabling. Other architectures don't check for this. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin"

[PATCH net-next v3 9/9] net: switch net_secret key generation to net_get_random_once

2013-10-16 Thread Hannes Frederic Sowa
Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- net/core/secure_seq.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c index 3f1ec15..b02fd16 100644 --- a/net/core/secure_seq.c +++

[PATCH net-next v3 6/9] inet: split syncookie keys for ipv4 and ipv6 and initialize with net_get_random_once

2013-10-16 Thread Hannes Frederic Sowa
This patch splits the secret key for syncookies for ipv4 and ipv6 and initializes them with net_get_random_once. This change was the reason I did this series. I think the initialization of the syncookie_secret is way to early. Cc: Florian Westphal Cc: Eric Dumazet Cc: "David S. Miller"

[PATCH net-next v3 0/9] Introduce support to lazy initialize mostly static keys

2013-10-16 Thread Hannes Frederic Sowa
Hi! This series implements support for delaying the initialization of secret keys, e.g. used for hashing, for as long as possible. This functionality is implemented by a new macro, net_get_random_bytes. I already used it to protect the socket hashes, the syncookie secret (most important) and the

[PATCH net-next v3 1/9] ipv4: split inet_ehashfn to hash functions per compilation unit

2013-10-16 Thread Hannes Frederic Sowa
This duplicates a bit of code but let's us easily introduce separate secret keys later. The separate compilation units are ipv4/inet_hashtabbles.o, ipv4/udp.o and rds/connection.o. Cc: Eric Dumazet Cc: "David S. Miller" Signed-off-by: Hannes Frederic Sowa --- include/net/inet_sock.h| 22

[PATCH net-next v3 8/9] tcp: switch tcp_fastopen key generation to net_get_random_once

2013-10-16 Thread Hannes Frederic Sowa
Changed key initialization of tcp_fastopen cookies to net_get_random_once. If the user sets a custom key net_get_random_once must be called at least once to ensure we don't overwrite the user provided key when the first cookie is generated later on. Cc: Yuchung Cheng Cc: Eric Dumazet Cc:

[PATCH net-next v3 7/9] inet: convert inet_ehash_secret and ipv6_hash_secret to net_get_random_once

2013-10-16 Thread Hannes Frederic Sowa
Initialize the ehash and ipv6_hash_secrets with net_get_random_once. Each compilation unit gets its own secret now: ipv4/inet_hashtables.o ipv4/udp.o ipv6/inet6_hashtables.o ipv6/udp.o rds/connection.o The functions still get inlined into the hashing functions. In the fast path we have

[PATCH net-next v3 5/9] net: introduce new macro net_get_random_once

2013-10-16 Thread Hannes Frederic Sowa
net_get_random_once is a new macro which handles the initialization of secret keys. It is possible to call it in the fast path. Only the initialization depends on the spinlock and is rather slow. Otherwise it should get used just before the key is used to delay the entropy extration as late as

Re: [PATCH v2 01/15] slab: correct pfmemalloc check

2013-10-16 Thread Joonsoo Kim
On Wed, Oct 16, 2013 at 03:27:54PM +, Christoph Lameter wrote: > On Wed, 16 Oct 2013, Joonsoo Kim wrote: > > > --- a/mm/slab.c > > +++ b/mm/slab.c > > @@ -930,7 +930,8 @@ static void *__ac_put_obj(struct kmem_cache *cachep, > > struct array_cache *ac, > > { > > if

Re: linux-next: Tree for Oct 16

2013-10-16 Thread Guenter Roeck
On 10/16/2013 11:51 AM, Thierry Reding wrote: Hi all, I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A next-20131016 tag is also provided for convenience. Gained two new conflicts, but nothing too

Re: [PATCH net V2 1/2] virtio-net: don't respond to cpu hotplug notifier if we're not ready

2013-10-16 Thread Michael S. Tsirkin
On Thu, Oct 17, 2013 at 09:57:41AM +1030, Rusty Russell wrote: > Jason Wang writes: > > We're trying to re-configure the affinity unconditionally in cpu hotplug > > callback. This may lead the issue during resuming from s3/s4 since > > > > - virt queues haven't been allocated at that time. > > -

Re: [PATCH 28/28] net: use DMA_COMPLETE for dma completion status

2013-10-16 Thread David Miller
From: Vinod Koul Date: Wed, 16 Oct 2013 21:58:46 +0530 > Signed-off-by: Vinod Koul > CC: "David S. Miller" Acked-by: David S. Miller -- 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] of/lib: Export fdt routines to modules

2013-10-16 Thread Guenter Roeck
On 10/16/2013 05:27 PM, Michael Bohan wrote: On Wed, Oct 16, 2013 at 04:39:03PM -0700, David Daney wrote: On 10/16/2013 04:27 PM, Michael Bohan wrote: Ever since the following commit, libfdt has been available for usage in the kernel: commit ab25383983fb8d7786696f5371e75e79c3e9a405

Re: About [PATCH 1/2] regulator: core: Provide a dummy regulator with full constraints

2013-10-16 Thread Wei Ni
On 10/16/2013 06:39 PM, Mark Brown wrote: > * PGP Signed by an unknown key > > On Wed, Oct 16, 2013 at 12:36:46PM +0800, Wei Ni wrote: >> On 10/12/2013 08:14 PM, Mark Brown wrote: > >>> OK, I think the device tree board code just needs to set full >>> constraints during machine initialisation.

Re: [bug] get_maintainer.pl incomplete output

2013-10-16 Thread Joe Perches
On Wed, 2013-10-16 at 21:19 -0700, David Rientjes wrote: > On Wed, 16 Oct 2013, Joe Perches wrote: > > > > I haven't looked closely at scripts/get_maintainer.pl, but I recently > > > wrote a patch touching mm/vmpressure.c and it doesn't list the file's > > > author, Anton Vorontsov . > > > > >

Re: [RESEND PATCH 3/4] ARM: dts: bcm281xx: Add i2c busses

2013-10-16 Thread Christian Daudt
Hi Tim, This patch does not work as it relies on the yet-unmerged clock code for bcm11351. This patch does not apply to -rc, and when tweaked it does not compile as it references non-existent bsc_clks. Has the clk patches been submitted yet ? Applying this will have to wait until those have

Re: [bug] get_maintainer.pl incomplete output

2013-10-16 Thread David Rientjes
On Wed, 16 Oct 2013, Joe Perches wrote: > > I haven't looked closely at scripts/get_maintainer.pl, but I recently > > wrote a patch touching mm/vmpressure.c and it doesn't list the file's > > author, Anton Vorontsov . > > > > Even when I do scripts/get_maintainer.pl -f mm/vmpressure.c, his

Re: [bug] get_maintainer.pl incomplete output

2013-10-16 Thread Joe Perches
On Wed, 2013-10-16 at 20:51 -0700, David Rientjes wrote: > Hi Joe, Hi David. > I haven't looked closely at scripts/get_maintainer.pl, but I recently > wrote a patch touching mm/vmpressure.c and it doesn't list the file's > author, Anton Vorontsov . > > Even when I do scripts/get_maintainer.pl

Re: [PATCH net V2 1/2] virtio-net: don't respond to cpu hotplug notifier if we're not ready

2013-10-16 Thread Rusty Russell
Jason Wang writes: > We're trying to re-configure the affinity unconditionally in cpu hotplug > callback. This may lead the issue during resuming from s3/s4 since > > - virt queues haven't been allocated at that time. > - it's unnecessary since thaw method will re-configure the affinity. > > Fix

Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-16 Thread Eric W. Biederman
Al Viro writes: > On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote: > >> That doesn't look bad but it does need capable(CAP_SETUID) && >> capable(CAP_SETGID) or possibly something a little more refined. > > D'oh > >> I don't think we want file descriptor passing to all of a

[bug] get_maintainer.pl incomplete output

2013-10-16 Thread David Rientjes
Hi Joe, I haven't looked closely at scripts/get_maintainer.pl, but I recently wrote a patch touching mm/vmpressure.c and it doesn't list the file's author, Anton Vorontsov . Even when I do scripts/get_maintainer.pl -f mm/vmpressure.c, his entry is missing and git blame attributs >90% of the

Re: [patch] mm, vmpressure: add high level

2013-10-16 Thread David Rientjes
On Wed, 16 Oct 2013, Anton Vorontsov wrote: > > Vmpressure has two important levels: medium and critical. Medium is > > defined at 60% and critical is defined at 95%. > > > > We have a customer who needs a notification at a higher level than medium, > > which is slight to moderate reclaim

Re: [PATCH] ext4: fix performance regression in ext4_writepages

2013-10-16 Thread Theodore Ts'o
On Wed, Oct 16, 2013 at 09:18:37AM +0800, Ming Lei wrote: > Commit 4e7ea81db5(ext4: restructure writeback path) introduces > another performance regression on random write: > > - one more page may be added to ext4 extent in mpage_prepare_extent_to_map, > and will be submitted for I/O so

Re: [Resend PATCH 3/5] ACPI: Add new acpi_dev_resource_address_space_full() function

2013-10-16 Thread Lan Tianyu
On 2013年10月17日 07:18, Bjorn Helgaas wrote: > On Fri, Oct 11, 2013 at 08:18:59PM +0800, tianyu@intel.com wrote: >> From: Lan Tianyu >> >> Make acpi_dev_resource_address_space() to accept struct >> acpi_resource_address64 as param and rename it to *_full. >> >> This is for some cases that acpi

Re: Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-16 Thread Jim Lieb
On Thursday, October 17, 2013 02:20:50 Al Viro wrote: > On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote: > > That doesn't look bad but it does need capable(CAP_SETUID) && > > capable(CAP_SETGID) or possibly something a little more refined. > > D'oh > > > I don't think we want

sparse: possible false report of context imbalance

2013-10-16 Thread Larry Finger
Hi, Sparse reports the following: CHECK drivers/staging/rtl8188eu/core/rtw_mlme.c drivers/staging/rtl8188eu/core/rtw_mlme.c:1003:9: warning: context imbalance in 'rtw_free_assoc_resources' - different lock contexts for basic block The code in question is as follows: if

Re: [Resend PATCH 2/5] ACPI/Resource: Add address translation support

2013-10-16 Thread Lan Tianyu
On 2013年10月17日 07:05, Bjorn Helgaas wrote: > On Fri, Oct 11, 2013 at 08:18:58PM +0800, tianyu@intel.com wrote: >> From: Lan Tianyu >> >> According ACPI 5.0 spec Section 19.1.8 > > This section reference is wrong. Table 5-133 (on page 243) does > point to Section 19.1.8, but that section is

[no subject]

2013-10-16 Thread remittance2013@hotmail.comContact
-- Dear beneficiary,This is to re-notify you of the $300,000.00 USD that was depositedhere in the western union office in your name is available for pickup.Contact us via email for your M.T.C.N Numbers.Contact Person:Mr. ben c johnEmail: remittance2013@hotmail.comContact Phone : +44

[PATCH 3/3 v6] thermal: samsung: Add TMU support for Exynos5420 SoCs

2013-10-16 Thread Naveen Krishna Chatradhi
This patch adds the neccessary register changes and arch information to support Exynos5420 SoCs Exynos5420 has 5 TMU channels one for each CPU 0, 1, 2 and 3 and GPU Also updated the Documentation at Documentation/devicetree/bindings/thermal/exynos-thermal.txt Note: The platform data structure

[PATCH 2/3 v6] thermal: samsung: change base_common to more meaningful base_second

2013-10-16 Thread Naveen Krishna Chatradhi
On Exynos5440 and Exynos5420 there are registers common across the TMU channels. To support that, we introduced a ADDRESS_MULTIPLE flag in the driver and the 2nd set of register base and size are provided in the "reg" property of the node. As per Amit's suggestion, this patch changes the

[PATCH 1/3 v6] thermal: samsung: add intclr_fall_shift bit in exynos_tmu_register

2013-10-16 Thread Naveen Krishna Chatradhi
On Exynos5250, the FALL interrupt related en, status and clear bits are available at an offset of 16 in INTEN, INTSTAT registers and at an offset of 12 in INTCLEAR register. On Exynos5420, the FALL interrupt related en, status and clear bits are available at an offset of 16 in INTEN, INTSTAT and

[PATCH 29/29] dmaengine: remove unused DMA_SUCCESS

2013-10-16 Thread Vinod Koul
after all the users are converted Signed-off-by: Vinod Koul --- include/linux/dmaengine.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 683c380..4b460a6 100644 --- a/include/linux/dmaengine.h +++

Re: [patch] mm, vmpressure: add high level

2013-10-16 Thread Anton Vorontsov
Hello David, On Wed, Oct 16, 2013 at 05:43:55PM -0700, David Rientjes wrote: > Vmpressure has two important levels: medium and critical. Medium is > defined at 60% and critical is defined at 95%. > > We have a customer who needs a notification at a higher level than medium, > which is slight

Re: [PATCH 2/2] perf-report: add --max-stack option to limit callchain stack scan

2013-10-16 Thread David Ahern
On 10/16/13 1:59 PM, Waiman Long wrote: This patch adds a new --max-stack option to perf-report to limit the depth of callchain stack data to look at to reduce the time it takes for perf-report to finish its processing. It trades the presence of trailing stack information with faster speed. I

Re: [PATCH 01/28] dmaengine: use DMA_COMPLETE for dma completion status

2013-10-16 Thread Vinod Koul
On Wed, Oct 16, 2013 at 11:45:48AM -0700, Dan Williams wrote: > On Wed, Oct 16, 2013 at 11:29 AM, Guennadi Liakhovetski > > > > Doesn't this break kernel compilation for a total of 27 commits? Or am I > > missing anything? > > Yes, I think at the start DMA_COMPLETE should just be a alias for >

[PATCH] n_gsm: race between ld close and gsmtty open

2013-10-16 Thread channing
ttyA has ld associated to n_gsm, when ttyA is closing, it triggers to release gsmttyB's ld data dlci[B], then race would happen if gsmttyB is opening in parallel. Here are some of race cases we found recently in test: CASE #1

[PATCH] gpiolib: append SFI helpers for GPIO API

2013-10-16 Thread David Cohen
From: Andy Shevchenko To support some (legacy) firmwares and platforms let's make life easier for their customers. Signed-off-by: Andy Shevchenko Cc: Kuppuswamy Sathyanarayanan Cc: David Cohen Cc: Linus Walleij Cc: Len Brown --- drivers/gpio/Kconfig | 4 +++ drivers/gpio/Makefile

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-16 Thread Joe Perches
On Wed, 2013-10-16 at 10:56 -0400, Chen, Gong wrote: > GENMASK is used to create a contiguous bitmask([hi:lo]). It is > implemented twice in current kernel. One is in EDAC driver, the other > is in SiS/XGI FB driver. Move it to a more generic place for other > usage. [] > diff --git

[PATCH] sfi: fix compiler warnings

2013-10-16 Thread David Cohen
From: Andy Shevchenko drivers/sfi/sfi_core.c:164:26: warning: no previous prototype for ‘sfi_map_table’ [-Wmissing-prototypes] drivers/sfi/sfi_core.c:192:6: warning: no previous prototype for ‘sfi_unmap_table’ [-Wmissing-prototypes] Signed-off-by: Andy Shevchenko Cc: Kuppuswamy

Re: [PATCH 2/6] rcu: Create rcu_sync infrastructure

2013-10-16 Thread Lai Jiangshan
On 10/08/2013 06:25 PM, Peter Zijlstra wrote: > From: Oleg Nesterov > > It is functionally equivalent to > > struct rcu_sync_struct { > atomic_t counter; > }; > > static inline bool rcu_sync_is_idle(struct rcu_sync_struct *xxx) > { >

Re: [PATCH] ACPI/Power: Check physical device's runtime pm status before requesting to resume it

2013-10-16 Thread Lan Tianyu
On 2013年10月17日 09:02, Lan Tianyu wrote: > On 2013年10月16日 20:42, Rafael J. Wysocki wrote: >> On Wednesday, October 16, 2013 05:26:21 PM Lan Tianyu wrote: >>> This is a multi-part message in MIME format. >>> --090400010209000300030201 >>> Content-Type: text/plain; charset=UTF-8 >>>

Re: [Bug] 12.864681 BUG: lock held when returning to user space!

2013-10-16 Thread vaughan
On 10/17/2013 06:41 AM, Douglas Gilbert wrote: > That seems to be the case. Vaughan acknowledged the > problem and forwarded it to me 8 days ago. Yes, it > seems to be a "no-no" to hold a any kernel semaphore > when returning to the user space; in this case from > sg_open(). I was hoping a revised

Re: [PATCH v2 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-16 Thread Chen Gong
On Wed, Oct 16, 2013 at 02:02:21PM -0300, Mauro Carvalho Chehab wrote: > Date: Wed, 16 Oct 2013 14:02:21 -0300 > From: Mauro Carvalho Chehab > To: "Chen, Gong" > Cc: tony.l...@intel.com, b...@alien8.de, j...@perches.com, > naveen.n@linux.vnet.ibm.com, aroza...@redhat.com, >

[PATCH] fuelguage: max17042: Support regmap to access device's registers.

2013-10-16 Thread Jonghwa Lee
This patch makes max17042 fuelguage driver uses regmap API to access its device's registers. It's based on linux-next. Signed-off-by: Jonghwa Lee Signed-off-by: Myungjoo Ham --- drivers/power/max17042_battery.c | 357 +++--- 1 file changed, 174 insertions(+),

[PATCH v8 12/12] intel_mid: move board related codes to their own platform_.* files

2013-10-16 Thread David Cohen
As Intel rolling out more SoC's after Moorestown, we need to re-structure the code in a way that is backward compatible and easy to expand. This patch implements a flexible way to support multiple boards and devices. This patch does not add any new functional support. It just refactors the

Re: [PATCH] Release device_hotplug_lock when store_mem_state returns EINVAL

2013-10-16 Thread Yasuaki Ishimatsu
(2013/10/12 1:31), Toshi Kani wrote: On Fri, 2013-10-11 at 15:36 +0900, Yasuaki Ishimatsu wrote: When inserting a wrong value to /sys/devices/system/memory/memoryX/state file, following messages are shown. And device_hotplug_lock is never released.

[PATCH] usb: usb_phy_gen: refine conditional declaration of usb_nop_xceiv_register

2013-10-16 Thread Guenter Roeck
Commit 3fa4d734 (usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv) changed the conditional around the declaration of usb_nop_xceiv_register from #if defined(CONFIG_NOP_USB_XCEIV) || (defined(CONFIG_NOP_USB_XCEIV_MODULE) && defined(MODULE)) to #if

Re: [PATCH 4/6] rcusync: Introduce struct rcu_sync_ops

2013-10-16 Thread Lai Jiangshan
On 10/08/2013 06:25 PM, Peter Zijlstra wrote: > From: Oleg Nesterov > > Add the new struct rcu_sync_ops which holds sync/call methods, and > turn the function pointers in rcu_sync_struct into an array of struct > rcu_sync_ops. Hi, Paul I think this work should be done in rcupdate.[ch] side by

Re: [PATCH] ASoC: fsl_ssi: Fix irq_of_parse_and_map() return value check

2013-10-16 Thread Guenter Roeck
On 10/03/2013 08:58 AM, Mark Brown wrote: On Wed, Oct 02, 2013 at 09:15:22PM -0700, Guenter Roeck wrote: irq_of_parse_and_map() returns 0 on error, not NO_IRQ. Applied, thanks. Hi Mark, do you plan to send this patch upstream anytime soon ? It fixes an xtensa build problem, so it would be

RE: BUG report about ipt_do_table( )

2013-10-16 Thread Wang, Yalin
Hi Will, I am happy to notify that our stability test has passed, And this Crash don't happen again, So seems this patch work now . We has merged it into our release SW . Could I know if this patch will be delivered into kernel Mainline by you ? Thanks again ! -Original Message-

Re: [PATCH] MAINTAINERS: Add Kumar to Device Tree Binding maintainers group

2013-10-16 Thread Kumar Gala
On Oct 16, 2013, at 5:56 PM, Rob Herring wrote: > On 08/08/2013 10:51 AM, Kumar Gala wrote: >> I'm tossing my hat into the ring of maintainers/reviewers for device tree >> bindings based on history of dealing with DT on embedded PPC and starting >> work on ARM SoCs. >> >> Signed-off-by: Kumar

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-16 Thread Eric Dumazet
On Wed, 2013-10-16 at 20:34 -0400, Neil Horman wrote: > > > > So I went to reproduce these results, but was unable to (due to the fact that > I > only have a pretty jittery network to do testing accross at the moment with > these devices). So instead I figured that I would go back to just

Re: [RFC][PATCH 1/8] mm: pcp: rename percpu pageset functions

2013-10-16 Thread David Rientjes
On Tue, 15 Oct 2013, Dave Hansen wrote: > diff -puN mm/page_alloc.c~rename-pageset-functions mm/page_alloc.c > --- linux.git/mm/page_alloc.c~rename-pageset-functions2013-10-15 > 09:57:05.870612107 -0700 > +++ linux.git-davehans/mm/page_alloc.c2013-10-15 09:57:05.875612329 >

Re: linux-next: manual merge of the tip tree

2013-10-16 Thread NeilBrown
On Wed, 16 Oct 2013 23:30:05 +0200 Peter Zijlstra wrote: > On Wed, Oct 16, 2013 at 08:51:39PM +0200, Thierry Reding wrote: > > Today's linux-next merge of the tip tree got a conflict in > > > > include/linux/wait.h > > > > caused by commits 1ab2460 (wait: add wait_event_cmd()) and fb869b6

Re: linux-next: manual merge of the tip tree

2013-10-16 Thread NeilBrown
On Wed, 16 Oct 2013 22:52:07 +0200 Peter Zijlstra wrote: > Hey Neil; > > it looks like its one of your patches isn't it? > > http://www.spinics.net/lists/raid/msg44100.html > http://www.spinics.net/lists/raid/msg44101.html > > Given that I can't find them in a lkml archive means nobody's ever

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

2013-10-16 Thread Greg KH
On Sat, Oct 12, 2013 at 06:37:32AM +0200, Michael Opdenacker wrote: > This patch proposes to remove the use of the IRQF_DISABLED flag > > It's a NOOP since 2.6.35 and it will be removed one day. > > Signed-off-by: Michael Opdenacker > --- > drivers/bus/omap_l3_noc.c | 4 ++-- >

RE: [Question] Ask for arm arch timer

2013-10-16 Thread Neil Zhang
> -Original Message- > From: Catalin Marinas [mailto:catalin.mari...@arm.com] > Sent: 2013年10月16日 21:21 > To: Rob Herring > Cc: Neil Zhang; linux-kernel@vger.kernel.org; Yu Tang; Zhou Zhu; Will Deacon > Subject: Re: [Question] Ask for arm arch timer > > On Wed, Oct 16, 2013 at 01:59:25PM

Re: [PATCH] ecryptfs: Fix memory leakage in keystore.c

2013-10-16 Thread Geyslan Gregório Bem
2013/10/16 Tyler Hicks : > On 2013-10-11 16:49:16, Geyslan G. Bem wrote: >> In 'decrypt_pki_encrypted_session_key' function: >> >> Initializes 'payload' pointer and releases it on exit. >> >> Signed-off-by: Geyslan G. Bem >> --- > > Thanks! This one was easy to verify by auditing the code, but I

Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-16 Thread Al Viro
On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote: > That doesn't look bad but it does need capable(CAP_SETUID) && > capable(CAP_SETGID) or possibly something a little more refined. D'oh > I don't think we want file descriptor passing to all of a sudden become > a grant of

Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-16 Thread Eric W. Biederman
Al Viro writes: > On Wed, Oct 16, 2013 at 03:01:57PM -0700, Jim Lieb wrote: >> File servers must do some operations with the credentials of >> their client. This syscall switches the key credentials similar >> to nfsd_setuser() in fs/nfsd/auth.c with the capability of retaining a >> handle to

Re: [PATCH] ACPI/Power: Check physical device's runtime pm status before requesting to resume it

2013-10-16 Thread Lan Tianyu
On 2013年10月16日 20:42, Rafael J. Wysocki wrote: > On Wednesday, October 16, 2013 05:26:21 PM Lan Tianyu wrote: >> This is a multi-part message in MIME format. >> --090400010209000300030201 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 8bit >> >> On 10/16/2013

Re: [PATCH] mm: Do not walk all of system memory during show_mem

2013-10-16 Thread David Rientjes
On Wed, 16 Oct 2013, Mel Gorman wrote: > It has been reported on very large machines that show_mem is taking almost > 5 minutes to display information. This is a serious problem if there is > an OOM storm. The bulk of the cost is in show_mem doing a very expensive > PFN walk to give us the

Re: [PATCH] ecryptfs: Fix memory leakage in keystore.c

2013-10-16 Thread Tyler Hicks
On 2013-10-11 16:49:16, Geyslan G. Bem wrote: > In 'decrypt_pki_encrypted_session_key' function: > > Initializes 'payload' pointer and releases it on exit. > > Signed-off-by: Geyslan G. Bem > --- Thanks! This one was easy to verify by auditing the code, but I was also able to verify the leak

[PATCH v3] leds: Added driver for the NXP PCA9685 I2C chip

2013-10-16 Thread Maximilian Güntner
The NXP PCA9685 supports 16 channels/leds using a 12-bit PWM (4095 levels of brightness) This driver supports configuration using platform_data. Signed-off-by: Maximilian Güntner --- v3: fixed warnings when running make C=1 CF=-D__CHECK_ENDIAN__: * replaced u16* by __le16* v2:

Re: [PATCH] kernel/rcutorture.c: use scnprintf() instead of sprintf()

2013-10-16 Thread Chen Gang
On 10/16/2013 10:07 AM, Chen Gang wrote: > On 10/15/2013 10:47 PM, Paul E. McKenney wrote: >> > On Tue, Oct 15, 2013 at 08:32:41PM +0800, Chen Gang wrote: >>> >> Yeah, that is a way for it. It seems you (related maintainer) like >>> >> additional fix for it. >>> >> >>> >> Hmm... I will try within

Re: [ 00/50] 3.11.6-stable review

2013-10-16 Thread Greg Kroah-Hartman
On Wed, Oct 16, 2013 at 03:14:40PM -0700, Guenter Roeck wrote: > On Wed, Oct 16, 2013 at 10:44:46AM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.11.6 release. > > There are 50 patches in this series, all will be posted as a response > > to this one.

Re: [ 00/69] 3.10.17-stable review

2013-10-16 Thread Greg Kroah-Hartman
On Wed, Oct 16, 2013 at 03:11:46PM -0700, Guenter Roeck wrote: > On Wed, Oct 16, 2013 at 10:44:09AM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.10.17 release. > > There are 69 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH v2] usb: hub: Clear Port Reset Change during init/resume

2013-10-16 Thread Julius Werner
> Did you run into an issue where port status change events weren't being > generated because the Port Reset flag was set? I'm trying to figure out > if this addresses a real issue you hit (and thus should be queued for > stable), or if this is just a precaution. As Benson said, we're seeing

Re: [PATCH v2] USB: cdc-acm: put delayed_wb to list

2013-10-16 Thread Xiao Jin
Hi, Greg, I am sorry for the inconvenience again. I will do as what you point to make sure the thing won't happen again in future. On Wed, 2013-10-16 at 13:44 -0700, Greg KH wrote: > On Tue, Oct 15, 2013 at 09:01:35AM +0800, xiao jin wrote: > > If acm_write_start during acm suspend, write acm_wb

[patch] mm, vmpressure: add high level

2013-10-16 Thread David Rientjes
Vmpressure has two important levels: medium and critical. Medium is defined at 60% and critical is defined at 95%. We have a customer who needs a notification at a higher level than medium, which is slight to moderate reclaim activity, and before critical to start throttling incoming requests

[PATCH] drivers: net: wireless: b43: Fix possible NULL ptr dereference

2013-10-16 Thread Felipe Pena
On the ternary expression the 'e' variable could be NULL dereferenced, when b43_nphy_get_rf_ctl_over_rev7 function returns NULL. Signed-off-by: Felipe Pena --- drivers/net/wireless/b43/phy_n.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-16 Thread Tetsuo Handa
Kees Cook wrote: > So I sent this LSM as one I\'d been waiting > for stacking on. Essentially, I\'m breaking the catch-22 by sending > this. I\'d like it to get into the tree so we don\'t have a catch-22 > about stacking any more. :) I\'m also trying to break the catch-22 by sending KPortReserve.

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-16 Thread Neil Horman
On Mon, Oct 14, 2013 at 03:18:47PM -0700, Eric Dumazet wrote: > On Mon, 2013-10-14 at 14:19 -0700, Eric Dumazet wrote: > > On Mon, 2013-10-14 at 16:28 -0400, Neil Horman wrote: > > > > > So, early testing results today. I wrote a test module that, allocated a > > > 4k > > > buffer, initalized

Re: [PATCH 09/28] dmaengine: edma: use DMA_COMPLETE for dma completion status

2013-10-16 Thread Joel Fernandes
On 10/16/2013 11:28 AM, Vinod Koul wrote: > Signed-off-by: Vinod Koul > CC: Joel Fernandes The audio davinci-pcm driver once converted to dmaengine usage would be the first user of tx_status so I will get to testing this patch better then. Anyway, with this patch applied I compile-tested and

[PATCH net-next] em_ipset: use dev_net() accessor

2013-10-16 Thread Stephen Hemminger
Randy found that if network namespace not enabled then nd_net does not exist and would cause compilation failure. This is handled correctly by using the dev_net() macro. Signed-off-by: Stephen Hemminger Acked-by: Randy Dunlap --- a/net/sched/em_ipset.c 2013-10-06 14:48:25.030449222

RE: [PATCH] x86: Remove WARN_ON(in_nmi()) from vmalloc_fault

2013-10-16 Thread Liu, Chuansheng
> -Original Message- > From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > Molnar > Sent: Wednesday, October 16, 2013 8:51 PM > To: Steven Rostedt > Cc: LKML; Thomas Gleixner; H. Peter Anvin; Frederic Weisbecker; Andrew > Morton; paul...@linux.vnet.ibm.com; Peter

Re: [PATCH] of/lib: Export fdt routines to modules

2013-10-16 Thread Michael Bohan
On Wed, Oct 16, 2013 at 04:39:03PM -0700, David Daney wrote: > On 10/16/2013 04:27 PM, Michael Bohan wrote: > >Ever since the following commit, libfdt has been available for > >usage in the kernel: > > > > commit ab25383983fb8d7786696f5371e75e79c3e9a405 > > Author: David Daney > >

Re: linux-next: Tree for Oct 16 (net/sched/em_ipset.c)

2013-10-16 Thread Randy Dunlap
pository below: >>> >>> git://gitorious.org/thierryreding/linux-next.git >>> >>> A next-20131016 tag is also provided for convenience. >>> >>> Gained two new conflicts, but nothing too exciting. x86 and ARM default >>> confi

[PATCH] drm: never write to the userspace more data than the caller wants

2013-10-16 Thread Pavel Roskin
The amount of data wanted by the userspace caller is encoded in the ioctl number. Generic drm ioctls were ignoring it. As a result, Intel Xorg driver didn't work for i386 userspace on x86_64 kernel on some systems. sizeof(struct drm_mode_get_connector) is 76 bytes on i686 and 80 bytes on x86_64

RE: [PATCH 5/5] efi: Capsule update support and pstore backend

2013-10-16 Thread Seiji Aguchi
> There's also an "either/or" choice between using efi-capsule with pstore, and > the > traditional kexec/kdump method for getting a memory dump from a crash. We > have to go through a reset to save the capsule - but we don't want a reset for > kexec. Perhaps we can pass the reset parameters

Re: [PATCH v2] usb: hub: Clear Port Reset Change during init/resume

2013-10-16 Thread Benson Leung
On Wed, Oct 16, 2013 at 4:57 PM, Sarah Sharp wrote: > > Did you run into an issue where port status change events weren't being > generated because the Port Reset flag was set? I'm trying to figure out > if this addresses a real issue you hit (and thus should be queued for > stable), or if this

Re: [PATCH v2] usb: hub: Clear Port Reset Change during init/resume

2013-10-16 Thread Sarah Sharp
On Tue, Oct 15, 2013 at 05:45:00PM -0700, Julius Werner wrote: > This patch adds the Port Reset Change flag to the set of bits that are > preemptively cleared on init/resume of a hub. In theory this bit should > never be set unexpectedly... in practice it can still happen if BIOS, > SMM or ACPI

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-16 Thread Bjorn Helgaas
On Fri, Oct 11, 2013 at 08:19:01PM +0800, tianyu@intel.com wrote: > From: Lan Tianyu > > Using ACPI resource functions to convert ACPI resource to generic resource > > Signed-off-by: Lan Tianyu > --- > This patch just passes through compilation test due to no ia64 machine on > hand. > >

Re: [PATCH] of/lib: Export fdt routines to modules

2013-10-16 Thread David Daney
On 10/16/2013 04:27 PM, Michael Bohan wrote: Ever since the following commit, libfdt has been available for usage in the kernel: commit ab25383983fb8d7786696f5371e75e79c3e9a405 Author: David Daney Date: Thu Jul 5 18:12:38 2012 +0200 of/lib: Allow scripts/dtc/libfdt

Re: [PATCH v2] xhci: fix usb3 streams

2013-10-16 Thread Sarah Sharp
On Tue, Oct 15, 2013 at 10:53:57AM -0400, Alan Stern wrote: > On Mon, 14 Oct 2013, Gerd Hoffmann wrote: > > > Gerd, Hans, any objections to this updated patch? The warning is fixed > > with it. > > > > The patch probably still needs to address the case where the ring > > expansion fails because

[PATCH v7 12/12] intel_mid: move board related code to their own platform_.* files

2013-10-16 Thread David Cohen
As Intel rolling out more SoC's after Moorestown, we need to re-structure the code in a way that is backward compatible and easy to expand. This patch implements a flexible way to support multiple boards and devices. This patch does not add any new functional support. It just refactors the

cp --reflink and target file open flags

2013-10-16 Thread Steve French
cp --reflink opens the target file for O_WRONLY before invoking the (BTRFS) ioctl for clone file, but for copy offload over the network the SMB2 specification requires that the target file be open O_RDWR. I may be able to upgrade the target file handle on the fly by reopening it in cifs.ko, and

RE: [PATCH 2/5] efi: Introduce a Runtime Services lock

2013-10-16 Thread Seiji Aguchi
> +#define efi_call_reset_virt(f, args...) > \ > +({ \ > + unsigned long __flags; \ > + bool __nmi = in_nmi();

[PATCH] of/lib: Export fdt routines to modules

2013-10-16 Thread Michael Bohan
Ever since the following commit, libfdt has been available for usage in the kernel: commit ab25383983fb8d7786696f5371e75e79c3e9a405 Author: David Daney Date: Thu Jul 5 18:12:38 2012 +0200 of/lib: Allow scripts/dtc/libfdt to be used from kernel code Export these functions

RE: [PATCH v3] Introduce page fault tracepoint

2013-10-16 Thread Seiji Aguchi
Thank you for reviewing. > > http://marc.info/?l=linux-mm=136807959830182=2 > > http://marc.info/?l=linux-mm=136807959130175=2 > > > > For permanence, please use links of the form: > > http://lkml.kernel.org/r/message-id > > (Yes, they currently point to marc.info, but can be

Re: [PATCH 1/2] tty/hvc_console: Add DTR/RTS callback to handle HUPCL control

2013-10-16 Thread Benjamin Herrenschmidt
On Wed, 2013-10-16 at 11:04 +0200, Hendrik Brueckner wrote: > Indeed, two callbacks change the DTR line. The main difference is that > tiocmget/tiocmset can be called from user space by ioctl. That's not the case > for the dtr_cts callback. Also, tiocmget/tiocmset provide more flags that can >

Re: [PATCH 02/12] mm, thp, tmpfs: support to add huge page into page cache for tmpfs

2013-10-16 Thread Ning Qu
Consider this fixed. I have extracted the common function and the new shmem_insert_page_page_cache function looks like this: spin_lock_irq(>tree_lock); error = __add_to_page_cache_locked(page, mapping, index); if (!error) __mod_zone_page_state(page_zone(page),

Re: [Resend PATCH 3/5] ACPI: Add new acpi_dev_resource_address_space_full() function

2013-10-16 Thread Bjorn Helgaas
On Fri, Oct 11, 2013 at 08:18:59PM +0800, tianyu@intel.com wrote: > From: Lan Tianyu > > Make acpi_dev_resource_address_space() to accept struct > acpi_resource_address64 as param and rename it to *_full. > > This is for some cases that acpi address info is also needed > after convert from

Re: [PATCH] drivers: staging: dgnc: Remove useless casting in dgnc_driver.c

2013-10-16 Thread Geyslan Gregório Bem
2013/10/16 Greg KH : > On Wed, Oct 16, 2013 at 12:57:35PM -0300, Geyslan G. Bem wrote: >> Casting (void *) value returned by kzalloc is useless >> as mentioned in Documentation/CodingStyle, Chap 14. >> >> Signed-off-by: Geyslan G. Bem >> --- >> drivers/staging/dgnc/dgnc_driver.c | 6 ++ >> 1

  1   2   3   4   5   6   7   8   9   10   >