Re: [RFC PATCH 3/3] i915: Expose PMU for Observation Architecture

2014-10-23 Thread Chris Wilson
On Fri, Oct 24, 2014 at 03:33:14AM +0100, Robert Bragg wrote: > On Thu, Oct 23, 2014 at 8:47 AM, Chris Wilson > wrote: > > On Wed, Oct 22, 2014 at 04:28:51PM +0100, Robert Bragg wrote: > >> + /* XXX: Not sure that this is really acceptable... > >> + * > >> + * i915_gem_context.c cur

[PATCH v3 3/3] i2c/at91: adopt pinctrl support

2014-10-23 Thread Wenyou Yang
Amend the i2c at91 pin controller to optionally take a pin control handle and set the state of the pins to: - "default" on boot, resume and before performing an transfer - "sleep" on suspend() This should make it possible to optimize energy usage for the pins both for the suspend/resume cycle Si

[PATCH v3 2/3] i2c/at91: add support for system PM

2014-10-23 Thread Wenyou Yang
Signed-off-by: Wenyou Yang --- drivers/i2c/busses/i2c-at91.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index a25fb5e..6a84a2a 100644 --- a/drivers/i2c/busses/i2c-at91.c +++ b/drivers/i2c/busses/i

[PATCH v3 1/3] i2c/at91: add support for runtime PM

2014-10-23 Thread Wenyou Yang
Drivers should put the device into low power states proactively whenever the device is not in use. Thus implement support for runtime PM and use the autosuspend feature to make sure that we can still perform well in case we see lots of i2c traffic within short period of time. Signed-off-by: Wenyou

[PATCH v3 0/3] i2c/at91: add support PM functions

2014-10-23 Thread Wenyou Yang
Hi Wolfram, The patches is to add the PM functions support for the at91 i2c controller. It is based on the i2c/for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git. Best Regards, Wenyou Yang -- Change log: v2.0 According to the advice from Kevin Hilman, 1./ Wrap

Re: [PATCH v4 4/7] irqchip: gic: Support hierarchy irq domain.

2014-10-23 Thread Yingjoe Chen
Sorry, I missed Marc's patch while working on this version and that did address something I missed in my version. I'd like to replace 4/7 with this one. Joe.C == Add support to use gic as a parent for stacked irq domain. Signed-off-by: Yingjoe Chen ---

[RFCv2 1/3] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
This patch shrink page-pool by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion_page_pool.c |5 +++-- drivers/staging/android/ion/ion_system_heap.c |7 +-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/android/ion/ion_page_pool

[RFCv2 0/3] enable pool shrinking in page unit

2014-10-23 Thread Gioh Kim
page unit. 2. Patch 2/3: enable debugfs to shrink page directly This patch enables debugfs to specify shrink amount. 3. Patch 3/3: limit pool size This patch specifies pool size limit. This patchset is based on linux-next-20141023. Gioh Kim (3): staging: ion: shrink page-pool by page unit

[RFCv2 3/3] staging: ion: limit pool size

2014-10-23 Thread Gioh Kim
This patch limits pool size by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/Kconfig |4 drivers/staging/android/ion/ion_page_pool.c | 26 -- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/drivers/staging/android/i

[RFCv2 2/3] staging: ion: debugfs to shrink pool

2014-10-23 Thread Gioh Kim
This patch creates debugfs files, /sys/kernel/debug/ion/heaps/system_shrink, to shrink pool or get pool size. Reading the file returns pool size and writing occurs to shrink pool. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion.c | 31 --- 1 file changed

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Perry Hung
Looks good Russ, just a minor fix: - /* Attempt to set Vendor ID to 0 */ - eeprom_data[1] = 0; - - /* Calculate new checksum to avoid bricking devices */ - checksum = ftdi_checksum(eeprom_data, eeprom_size); - - /* Verify EEPROM programming behavior/nonbehavior */ -

[PATCH v1 3/3] efi: Capsule update with user helper interface

2014-10-23 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Introducing a kernel module to expose user helper interface for user to upload capsule binaries. This module leverage the request_firmware_nowait() to expose an interface to user. Example steps to load the capsule binary: 1.) echo 1 > /sys/class/firmware/efi-capsule-file

[PATCH v1 2/3] firmware loader: fix hung task warning dump

2014-10-23 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" When using request_firmware_nowait() with FW_ACTION_NOHOTPLUG param to expose user helper interface, if the user do not react immediately, after 120 seconds there will be a hung task warning message dumped as below: [ 3000.784235] INFO: task kworker/0:0:8259 blocked for

[PATCH v1 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-10-23 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Besides aborting through user helper interface, a new API request_firmware_abort() allows kernel driver module to abort the request_firmware() / request_firmware_nowait() when they are no longer needed. It is useful for cancelling an outstanding firmware load if initiated

[PATCH v1 0/3] Enable user helper interface for efi capsule update

2014-10-23 Thread Kweh Hock Leong
From: "Kweh, Hock Leong" Hi Guys, This patchset is created on top of "efi: Capsule update support" patch: http://permalink.gmane.org/gmane.linux.kernel.efi/4837 It leverages the request_firmware_nowait() to expose the user helper interface for user to upload the capsule binary and calling the e

[PATCH] f2fs: revisit inline_data to avoid data races and potential bugs

2014-10-23 Thread Jaegeuk Kim
This patch simplifies the inline_data usage with the following rule. 1. inline_data is set during the file creation. 2. If new data is requested to be written ranges out of inline_data, f2fs converts that inode permanently. 3. There is no cases which converts non-inline_data inode to inline_data.

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread David Miller
From: Guenter Roeck Date: Thu, 23 Oct 2014 22:40:59 -0700 > I see two options for that: > > - Add > select HWMON > to the NET_DSA Kconfig entry. > Example is Broadcom TIGON3 driver. > > - Add a DSA_HWMON Kconfig entry to define the dependencies and > to let the user select if the fu

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Guenter Roeck
On 10/24/2014 05:52 AM, Florian Fainelli wrote: Le 23/10/2014 22:40, Guenter Roeck a écrit : On 10/23/2014 10:03 PM, David Miller wrote: From: Guenter Roeck Date: Wed, 22 Oct 2014 22:06:41 -0700 On 10/22/2014 09:37 PM, Florian Fainelli wrote: 2014-10-22 21:03 GMT-07:00 Guenter Roeck : Some

Re: [PATCH v2] MAINTAINERS: Add myself as reviewer for Zynq

2014-10-23 Thread Michal Simek
On 10/23/2014 06:29 PM, Soren Brinkmann wrote: > Signed-off-by: Soren Brinkmann > --- > v2: > - I removed the additional 'F' entries > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 0484f2c526f0..8b495a27 100644 > --- a/MAINTAINERS

Re: [PATCH 05/16] perf tools: Add facility to export data in database-friendly way

2014-10-23 Thread Namhyung Kim
On Thu, 23 Oct 2014 13:45:13 +0300, Adrian Hunter wrote: > This patch introduces an abstraction for exporting sample > data in a database-friendly way. The abstraction does not > implement the actual output. A subsequent patch takes this > facility into use for extending the script interface. > >

Re: [PATCH v4 1/6] sched/fair: Fix reschedule which is generated on throttled cfs_rq

2014-10-23 Thread Kirill Tkhai
Hi, Wanpeng, the commit commentary confuses, I'm agree. Really it's just a cleanup. On Пт, 2014-10-24 at 07:27 +0800, Wanpeng Li wrote: > Hi Kirill, > 8/6/14, 4:06 PM, Kirill Tkhai: > > (sched_entity::on_rq == 1) does not guarantee the task is pickable; > > changes on throttled cfs_rq must not le

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Florian Fainelli
Le 23/10/2014 22:40, Guenter Roeck a écrit : On 10/23/2014 10:03 PM, David Miller wrote: From: Guenter Roeck Date: Wed, 22 Oct 2014 22:06:41 -0700 On 10/22/2014 09:37 PM, Florian Fainelli wrote: 2014-10-22 21:03 GMT-07:00 Guenter Roeck : Some Marvell switches provide chip temperature data.

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread Guenter Roeck
On 10/23/2014 10:03 PM, David Miller wrote: From: Guenter Roeck Date: Wed, 22 Oct 2014 22:06:41 -0700 On 10/22/2014 09:37 PM, Florian Fainelli wrote: 2014-10-22 21:03 GMT-07:00 Guenter Roeck : Some Marvell switches provide chip temperature data. Add support for reporting it to the dsa infras

Re: [PATCH 04/16] perf tools: Add a thread stack for synthesizing call chains

2014-10-23 Thread Namhyung Kim
On Thu, 23 Oct 2014 13:45:12 +0300, Adrian Hunter wrote: > +static void thread_stack__pop(struct thread_stack *ts, u64 ret_addr) > +{ > + if (!ts->cnt) > + return; > + > + if (ts->stack[ts->cnt - 1].ret_addr == ret_addr) { > + ts->cnt -= 1; > + } else { > +

[PATCH v4 8/8] ARM: mediatek: Fix description for mediatek SoCs

2014-10-23 Thread Yingjoe Chen
From: "Joe.C" We support more MediaTek SoCs now, update the description. Signed-off-by: Joe.C --- arch/arm/mach-mediatek/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig index 2c043a2..f73f588 100644

[PATCH resending] splice: sendfile() at once fails for big files

2014-10-23 Thread Christophe Leroy
When big files (over 64kbytes) are sent with sendfile(), they are sent by blocks of 64kbytes. In that case, the target must be informed that the current block is not the last one, otherwise it might take wrong actions. The issue was observed while sending a file to an AF_ALG socket for hashing. The

Re: [PATCH v4 0/4] fix freepage count problems in memory isolation

2014-10-23 Thread Joonsoo Kim
On Fri, Oct 24, 2014 at 11:27:49AM +0900, Minchan Kim wrote: > Hi Joonsoo, > > I know you spend much effort for investigate/fix this subtle problem. > So, you should be hero. > > Thanks for really nice work! Hello, Thanks. :) > > > > Joonsoo Kim (4): > > mm/page_alloc: fix incorrect isolatio

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Alexei Starovoitov
On Thu, Oct 23, 2014 at 8:23 PM, Josh Triplett wrote: > On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: >> introduce two configs: >> - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters >> depend on >> - visible CONFIG_BPF_SYSCALL (default off) that trac

Re: [PATCH 4/4] (CMA_AGGRESSIVE) Update page alloc function

2014-10-23 Thread Joonsoo Kim
On Thu, Oct 16, 2014 at 11:35:51AM +0800, Hui Zhu wrote: > If page alloc function __rmqueue try to get pages from MIGRATE_MOVABLE and > conditions (cma_alloc_counter, cma_aggressive_free_min, cma_alloc_counter) > allow, MIGRATE_CMA will be allocated as MIGRATE_MOVABLE first. > > Signed-off-by: Hui

Re: [PATCH] futex: fix a race condition between REQUEUE_PI and task death

2014-10-23 Thread Mike Galbraith
(CCs more eyeballs) On Thu, 2014-10-23 at 15:28 -0400, Brian Silverman wrote: > Here's the test code: Which took a 2 socket 28 core box (NOPREEMPT) out in short order. With patchlet applied, looks like it'll stay up (37 minutes and counting), I'll squeak if it explodes. Tested-by: Mike Galbrai

Re: [PATCH 0/4] (CMA_AGGRESSIVE) Make CMA memory be more aggressive about allocation

2014-10-23 Thread Joonsoo Kim
On Thu, Oct 16, 2014 at 11:35:47AM +0800, Hui Zhu wrote: > In fallbacks of page_alloc.c, MIGRATE_CMA is the fallback of > MIGRATE_MOVABLE. > MIGRATE_MOVABLE will use MIGRATE_CMA when it doesn't have a page in > order that Linux kernel want. > > If a system that has a lot of user space program is r

Re: [PATCH 03/16] perf session: Add perf_session__deliver_synth_event()

2014-10-23 Thread Namhyung Kim
On Thu, 23 Oct 2014 13:45:11 +0300, Adrian Hunter wrote: > Add a function to deliver synthesized events from > within a session. > > Signed-off-by: Adrian Hunter > --- > tools/perf/util/session.c | 14 ++ > tools/perf/util/session.h | 5 + > 2 files changed, 19 insertions(+) > >

Re: [PATCH 02/16] perf pmu: Let pmu's with no events show up on perf list

2014-10-23 Thread Namhyung Kim
On Thu, 23 Oct 2014 13:45:10 +0300, Adrian Hunter wrote: > perf list only lists PMUs with events. Add a > flag to cause a PMU to be also listed separately. > > Signed-off-by: Adrian Hunter > --- > tools/perf/util/pmu.c | 13 +++-- > tools/perf/util/pmu.h | 1 + > 2 files changed, 12 ins

Re: [PATCH 01/16] perf tools: Add id index

2014-10-23 Thread Namhyung Kim
On Thu, 23 Oct 2014 18:08:17 -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 23, 2014 at 01:45:09PM +0300, Adrian Hunter escreveu: >> Add an index of the event identifiers. >> >> This is needed to queue Instruction >> Trace samples according to the mmap >> buffer from which they were recorded

[PATCH RFC] arm/arm64:add CONFIG_HAVE_ARCH_BITREVERSE to support rbit

2014-10-23 Thread Wang, Yalin
this change add CONFIG_HAVE_ARCH_BITREVERSE config option, so that we can use arm/arm64 rbit instruction to do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm/Kconfig| 1 + arch/arm/include/asm/bitrev.h | 21 + arch/arm64/Kconfig

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

2014-10-23 Thread David Miller
From: Guenter Roeck Date: Wed, 22 Oct 2014 22:06:41 -0700 > On 10/22/2014 09:37 PM, Florian Fainelli wrote: >> 2014-10-22 21:03 GMT-07:00 Guenter Roeck : >>> Some Marvell switches provide chip temperature data. >>> Add support for reporting it to the dsa infrastructure. >>> >>> Signed-off-by: Gue

Re: [PATCH] staging: android: binder: move to the "real" part of the kernel

2014-10-23 Thread Dan Carpenter
On Tue, Oct 21, 2014 at 08:10:32PM -0700, Rom Lemarchand wrote: > We would also like to make kernel-t...@android.com the maintainer of > the whole android directory. Mailing lists can't be a maintainer, but you could add it as a private list in the MAINTAINERS file. regards, dan carpenter -- To

Re: [RFC 0/4] [RFC] slub: Fastpath optimization (especially for RT)

2014-10-23 Thread Joonsoo Kim
On Thu, Oct 23, 2014 at 09:18:29AM -0500, Christoph Lameter wrote: > On Thu, 23 Oct 2014, Joonsoo Kim wrote: > > > Preemption disable during very short code would cause large problem for RT? > > This is the hotpath and preempt enable/disable adds a significant number > of cycles. > > > And, if p

Re: unaligned accesses in SLAB etc.

2014-10-23 Thread Sam Ravnborg
A minor detail. > [PATCH] sparc64: Fix register corruption in top-most kernel stack frame > during boot. > > - callstart_kernel > + call start_early_boot Maybe add a comment about stack use - as per your nice patch description. > +void __init start_early_boot(void) This will likel

Re: [PATCH v3 1/2] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Dan Carpenter
First of all this patch does too many things at once. Collapsing files and deleting them needs to be done in separate patches from adding them. There is the "one thing per patch" and each one of those is a separate thing. On Thu, Oct 23, 2014 at 05:12:10PM -0500, Eric Rost wrote: > +int skein256_

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Jay Vosburgh
Paul E. McKenney wrote: >On Fri, Oct 24, 2014 at 12:45:40AM +0300, Yanko Kaneti wrote: >> >> On Thu, 2014-10-23 at 13:05 -0700, Paul E. McKenney wrote: >> > On Thu, Oct 23, 2014 at 10:51:59PM +0300, Yanko Kaneti wrote: >> > > On Thu-10/23/14-2014 08:33, Paul E. McKenney wrote: >> > > > On Thu, O

Re: [PATCH v4 4/6] ARM: rockchip: add suspend and resume for RK3288

2014-10-23 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:25 PM, Chris Zhong wrote: > +static inline void rk3288_copy_data_to_sram(void) > +{ > + u32 resume_code_size = (u32)&rkpm_bootdata_cpu_code - > + (u32)rockchip_slp_cpu_resume + 4; > + > + /* save root sram data in ddr mem *

Re: [PATCH] cirrus/mac89x0: Remove superfluous interrupt disable/restore

2014-10-23 Thread David Miller
From: Geert Uytterhoeven Date: Tue, 21 Oct 2014 19:53:11 +0200 > As of commit e4dc601bf99ccd1c ("m68k: Disable/restore interrupts in > hwreg_present()/hwreg_write()"), this is no longer needed. > > Signed-off-by: Geert Uytterhoeven Applied. -- To unsubscribe from this list: send the line "unsu

Re: [PATCH] natsemi/macsonic: Remove superfluous interrupt disable/restore

2014-10-23 Thread David Miller
From: Geert Uytterhoeven Date: Tue, 21 Oct 2014 19:53:57 +0200 > As of commit e4dc601bf99ccd1c ("m68k: Disable/restore interrupts in > hwreg_present()/hwreg_write()"), this is no longer needed. > > Signed-off-by: Geert Uytterhoeven Applied. -- To unsubscribe from this list: send the line "unsu

Re: [PATCH] net: typhoon: Remove redundant casts

2014-10-23 Thread David Miller
From: Rasmus Villemoes Date: Tue, 21 Oct 2014 16:51:43 +0200 > Both image_data and typhoon_fw->data are const u8*, so the cast to u8* > is unnecessary and confusing. > > Signed-off-by: Rasmus Villemoes Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Please Resend Your Message.

2014-10-23 Thread Liliane Bettencourt.
I, Liliane authenticate this email to you. You can read about me on: fr.wikipedia.org/wiki/Liliane_Bettencourt I intend to give to you a portion of my Net-worth which I have been banking. Click reply for confirmation and more details. --- This email is free from viruses and malware because avas

Re: [PATCH 2/2] time: Complete NTP adjustment threshold judging conditions

2014-10-23 Thread John Stultz
On Thu, Oct 9, 2014 at 12:04 AM, pang.xunlei wrote: > The clocksource mult-adjustment threshold is [mult-maxadj, mult+maxadj], > timekeeping_adjust() only deals with the upper threshold, but misses the > lower threshold. > > This patch adds the lower threshold judging condition. > > Signed-off-by:

Re: [PATCH 1/2] time: Fix NTP adjustment mult overflow.

2014-10-23 Thread John Stultz
On Wed, Oct 22, 2014 at 5:37 AM, Xunlei Pang wrote: > The mult memember of struct clocksource should always be a large u32 number > when calculated through > __clocksource_updatefreq_scale(). The value of (cs->mult+cs->maxadj) may > have a chance to reach very > near 0x, so it may overflow

[net-next] net: phy: Adding SGMII support for Marvell 88ee1145 driver

2014-10-23 Thread vndao
From: Viet Nga Dao Additional code to m88e1145_config_init function to allow the driver to support SGMII mode. Signed-off-by: Viet Nga Dao --- drivers/net/phy/marvell.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drive

Re: [PATCH] net: Remove trailing whitespace in tcp.h icmp.c syncookies.c

2014-10-23 Thread David Miller
From: Kenjiro Nakayama Date: Mon, 20 Oct 2014 18:15:50 +0900 > Remove trailing whitespace in tcp.h icmp.c syncookies.c > > Signed-off-by: Kenjiro Nakayama Applied -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mo

Re: [RESEND PATCH V3 0/3] x86: Full support of PAT

2014-10-23 Thread Juergen Gross
Ping? On 10/20/2014 05:59 AM, Juergen Gross wrote: Hi x86 maintainers, any reason you seem to ignore this patch series? I think I've replied to all open issues and sent the patches more than one month ago. Each patch has a "Reviewed-by". Is there something else missing? Juergen On 10/13/2014

Re: [GIT PULL] at91: fixes for 3.18 #1

2014-10-23 Thread Olof Johansson
On Wed, Oct 22, 2014 at 07:01:27PM +0200, Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > This is my first batch of fixes for 3.18. > The power/reset driver part is there because it was introduced through arm-soc > and it seems that it's better to continue like that. > The MAINTAINERS entry is bette

netfilter: NAT: do the optimization for getting curr_tuple in function nf_nat_setup_info

2014-10-23 Thread billbonaparte
Hi all: In function nf_nat_setup_info, we need to get the current tuple which is supposed to send to destination. If we haven't done any NAT (SNAT or DNAT) for the tuple, then the current tuple is equal to original tuple, otherwise, we should get current tuple by invoking nf_ct_inv

Re: [RFC][PATCH 4/6] SRCU free VMAs

2014-10-23 Thread Lai Jiangshan
On 10/23/2014 07:03 PM, Peter Zijlstra wrote: > On Thu, Oct 23, 2014 at 06:14:45PM +0800, Lai Jiangshan wrote: >> >>> >>> +struct vm_area_struct *find_vma_srcu(struct mm_struct *mm, unsigned long >>> addr) >>> +{ >>> + struct vm_area_struct *vma; >>> + unsigned int seq; >>> + >>> + WARN_ON

Re: [PATCH 10/14] net: dsa/mv88e6352: Implement EEPROM accessfunctions

2014-10-23 Thread Guenter Roeck
On 10/23/2014 11:55 AM, Florian Fainelli wrote: On 10/23/2014 11:41 AM, Chris Healy wrote: Hi Guenter, I do not believe it is possible to know if an EEPROM is attached or not. If we cannot do this, how about a DT/platform data set of properties that describes the EEPROM when present? Yes, I

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-23 Thread David Miller
From: Benjamin Herrenschmidt Date: Fri, 24 Oct 2014 10:40:35 +1100 > Another option would be to make the generic code use something defined > by the arch to decide whether to use speculative get or > not. I like the idea of keeping the bulk of that code generic... Me too. We could have inlines

Re: [PATCH 1/2] ima: check xattr value length in ima_inode_setxattr()

2014-10-23 Thread Mimi Zohar
On Fri, 2014-10-24 at 13:55 +1100, James Morris wrote: > On Thu, 23 Oct 2014, Dmitry Kasatkin wrote: > > > ima_inode_setxattr() can be called with no value. Function does not > > check the length so that following command can be used to produce > > kernel oops: setfattr -n security.ima FOO. This

Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-10-23 Thread hujianyang
On 2014/10/24 11:33, hujianyang wrote: > >> @@ -1798,15 +1803,18 @@ int ubi_thread(void *u) >> int failures = 0; >> struct ubi_device *ubi = u; >> >> -ubi_msg("background thread \"%s\" started, PID %d", >> +ubi_msg(ubi, "background thread \"%s\" started, PID %d", >>

Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-10-23 Thread hujianyang
Hi Tanya, When I was trying to push this patch to my product, I reviewed this patch and found some small problems. I wish it's not too late to report these. The patch I get from linux-ubifs.git is amended a bit by Artem. I'd like to quote your V5 patch for simplification. Some line numbers may mi

[PATCH] futex: Mention key referencing differences between shared and private futexes

2014-10-23 Thread Davidlohr Bueso
From: Davidlohr Bueso Update our documentation as of fix 76835b0ebf8 (futex: Ensure get_futex_key_refs() always implies a barrier). Explicitly state that we don't do key referencing for private futexes. Signed-off-by: Davidlohr Bueso --- kernel/futex.c | 14 ++ 1 file changed, 10 i

Re: [PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Josh Triplett
On Thu, Oct 23, 2014 at 06:41:08PM -0700, Alexei Starovoitov wrote: > introduce two configs: > - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters > depend on > - visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use > > that solves several problems: >

Re: [GIT PULL] overlay filesystem v25

2014-10-23 Thread Al Viro
On Fri, Oct 24, 2014 at 03:20:55AM +0100, Al Viro wrote: > Why the hell do you hold ->i_mutex across the entire opening of underlying > directory? All you need is to serialize one assignment; the side that loses > the race will simply fput() what it opened... > > Oh, well - that goes under "weird

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
Dmitry, 在 2014/10/24 10:32, Dmitry Torokhov 写道: On Fri, Oct 24, 2014 at 10:06:43AM +0800, Caesar Wang wrote: 在 2014/10/24 9:37, Dmitry Torokhov 写道: On October 23, 2014 6:08:52 PM PDT, Caesar Wang wrote: Dmitry, 在 2014/10/24 8:46, Dmitry Torokhov 写道: Hi Caesar, On Thu, Oct 23, 2014 at 05:

Re: [PATCH v2] ASoC: atmel_ssc_dai: Match the CMR divider only in full duplex.

2014-10-23 Thread Bo Shen
Hi Peter, Thanks for your patch. Btw, do you use "git send-email" command to send the patch? On 10/22/2014 11:13 PM, Peter Rosin wrote: From 86be84c4de4e7b21cfda9656a02a902c543210af Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 22 Oct 2014 16:45:29 +0200 Subject: [PATCH v2] ASoC:

[net-next] net: phy: Adding SGMII support for Marvell 88ee1145 driver

2014-10-23 Thread vndao
From: Viet Nga Dao Additional code to m88e1145_config_init function to allow the driver to support SGMII mode. Signed-off-by: Viet Nga Dao --- drivers/net/phy/marvell.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drive

Re: + mm-compaction-avoid-premature-range-skip-in-isolate_migratepages_range.patch added to -mm tree

2014-10-23 Thread Joonsoo Kim
On Thu, Oct 23, 2014 at 10:39:45AM +0200, Vlastimil Babka wrote: > On 10/23/2014 10:15 AM, Joonsoo Kim wrote: > > On Tue, Oct 14, 2014 at 01:53:44PM -0700, a...@linux-foundation.org wrote: > >> > >> The patch titled > >> Subject: mm/compaction.c: avoid premature range skip in > >> isolate_mig

Re: [PATCH] i386/audit: stop scribbling on the stack frame

2014-10-23 Thread H. Peter Anvin
Yes, I will look at this tomorrow. For the record, the calling convention is that eax, edx, ecx are clobbered, and used for the three first arguments in that order. eax, edx are used for the return value(s). The exception is for __asmlinkage functions where all arguments are passed on the stac

Re: [PATCH 1/2] ima: check xattr value length in ima_inode_setxattr()

2014-10-23 Thread James Morris
On Thu, 23 Oct 2014, Dmitry Kasatkin wrote: > ima_inode_setxattr() can be called with no value. Function does not > check the length so that following command can be used to produce > kernel oops: setfattr -n security.ima FOO. This patch fixes it. I'd like to see more review/acks on this before s

Re: [PATCH 3/4] mm: cma: Ensure that reservations never cross the low/high mem boundary

2014-10-23 Thread Joonsoo Kim
On Thu, Oct 23, 2014 at 05:33:47PM +0300, Laurent Pinchart wrote: > Commit 95b0e655f914 ("ARM: mm: don't limit default CMA region only to > low memory") extended CMA memory reservation to allow usage of high > memory. It relied on commit f7426b983a6a ("mm: cma: adjust address limit > to avoid hitti

Re: [PATCH 1/4] mm: cma: Don't crash on allocation if CMA area can't be activated

2014-10-23 Thread Joonsoo Kim
On Fri, Oct 24, 2014 at 10:02:49AM +0800, Weijie Yang wrote: > On Fri, Oct 24, 2014 at 7:42 AM, Laurent Pinchart > wrote: > > Hi Michal, > > > > On Thursday 23 October 2014 18:53:36 Michal Nazarewicz wrote: > >> On Thu, Oct 23 2014, Laurent Pinchart wrote: > >> > If activation of the CMA area fail

Re: [PATCH 3/3] ARM: shmobile: armadillo800eva dts: Enable TMU0

2014-10-23 Thread Simon Horman
On Wed, Oct 22, 2014 at 05:17:06PM +0200, Geert Uytterhoeven wrote: > On Wed, Oct 22, 2014 at 4:58 PM, Laurent Pinchart > wrote: > > On Wednesday 22 October 2014 11:38:29 Geert Uytterhoeven wrote: > >> ch0 will be used for clock events and for periodic clock events, > >> ch1 will be used as clock

Re: [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-23 Thread Namhyung Kim
On Fri, Oct 24, 2014 at 10:56 AM, Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 24, 2014 at 09:44:17AM +0900, Namhyung Kim escreveu: >> On Thu, 23 Oct 2014 20:35:42 -0300, Arnaldo Carvalho de Melo wrote: >> > I'll push later and will drop you a note, so that you can, please, check >> > if the end

Re: [PATCH 1/3] clocksource: sh_tmu: Document R-Mobile r8a7740 binding

2014-10-23 Thread Simon Horman
On Wed, Oct 22, 2014 at 05:59:25PM +0300, Laurent Pinchart wrote: > Hi Geert, > > Thank you for the patch. > > On Wednesday 22 October 2014 11:38:27 Geert Uytterhoeven wrote: > > Compared to the r8a7779, the r8a7740 lacks the input capture register, > > which is not used by the driver (the curren

Re: [RFC PATCH 3/3] i915: Expose PMU for Observation Architecture

2014-10-23 Thread Robert Bragg
On Thu, Oct 23, 2014 at 8:47 AM, Chris Wilson wrote: > On Wed, Oct 22, 2014 at 04:28:51PM +0100, Robert Bragg wrote: >> + /* XXX: Not sure that this is really acceptable... >> + * >> + * i915_gem_context.c currently owns pinning/unpinning legacy >> + * context buffers and althou

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Dmitry Torokhov
On Fri, Oct 24, 2014 at 10:06:43AM +0800, Caesar Wang wrote: > > 在 2014/10/24 9:37, Dmitry Torokhov 写道: > >On October 23, 2014 6:08:52 PM PDT, Caesar Wang > >wrote: > >>Dmitry, > >> > >>在 2014/10/24 8:46, Dmitry Torokhov 写道: > >>>Hi Caesar, > >>> > >>>On Thu, Oct 23, 2014 at 05:40:06PM +0800, Ca

Re: [PATCH v4 0/4] fix freepage count problems in memory isolation

2014-10-23 Thread Minchan Kim
Hi Joonsoo, I know you spend much effort for investigate/fix this subtle problem. So, you should be hero. Thanks for really nice work! On Thu, Oct 23, 2014 at 05:10:17PM +0900, Joonsoo Kim wrote: > Changes from v3 to v4 > * Patch 1: Add code comment on nr_isolate_pageblock on struct zone (Naoya)

Re: [GIT PULL] overlay filesystem v25

2014-10-23 Thread Al Viro
On Fri, Oct 24, 2014 at 01:25:39AM +0200, Miklos Szeredi wrote: > Linus, > > Please pull > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs.v25 > > Plenty of bugs fixed relative to the previous version, thanks to Al Viro's > review and is now officially be BugFree(TM)

Re: [PATCH v13 3/5] ARM: dts: add RK3288 Thermal data

2014-10-23 Thread Caesar Wang
Dmitry, 在 2014/10/24 8:48, Dmitry Torokhov 写道: Hi Caesar, On Thu, Oct 23, 2014 at 05:40:05PM +0800, Caesar Wang wrote: This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang --- arc

Re: [PATCH] clocksource: sh_mtu2: Correct SoC family name

2014-10-23 Thread Simon Horman
On Wed, Oct 22, 2014 at 06:00:19PM +0300, Laurent Pinchart wrote: > Hi Geert, > > Thank you for the patch. > > On Wednesday 22 October 2014 11:26:18 Geert Uytterhoeven wrote: > > r7s72100 is a member of the RZ family, not of the R-Car family > > > > Signed-off-by: Geert Uytterhoeven > > Acked-

[PATCH v4 3/3] staging: skein: Inlines rotl_64

2014-10-23 Thread Eric Rost
Inlines the macro definition rotl_64 to avoid bugs. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_base.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/skein/skein_base.h b/drivers/staging/skein/skein_base.h index 9f10af9..769bcb4 100644

Re: [PATCH] virtio_blk: fix race at module removal

2014-10-23 Thread Ming Lei
On Fri, Oct 24, 2014 at 12:12 AM, Michael S. Tsirkin wrote: > If a device appears while module is being removed, > driver will get a callback after we've given up > on the major number. > > In theory this means this major number can get reused > by something else, resulting in a conflict. Yes, th

[PATCH v4 2/3] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

Re: [PATCH v1 1/5] mfd: tps65910: Convert ti,system-power-controller DT property to poweroff-source

2014-10-23 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 6:39 PM, PERIER Romain wrote: > Hi Peter, > > 2014-10-23 10:12 GMT+02:00 Peter De Schrijver : >> This breaks DT ABI stability right? An existing device tree using >> ti,system-power-controller won't work anymore after this patch right? I >> don't think that's acceptable.

[PATCH v4 1/3] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +- drivers/

[PATCH v4 0/3] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hash Algorithm. Also inlines the rotl_64 macro. Eric Rost (3): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support staging: skein: Inlines rotl_64 drivers/staging/skein/Kconfig | 24 +- drivers

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Caesar Wang
在 2014/10/24 9:37, Dmitry Torokhov 写道: On October 23, 2014 6:08:52 PM PDT, Caesar Wang wrote: Dmitry, 在 2014/10/24 8:46, Dmitry Torokhov 写道: Hi Caesar, On Thu, Oct 23, 2014 at 05:40:06PM +0800, Caesar Wang wrote: This patch is depend on rk3288-thermal.dtsi,or it will compile error. If th

Re: [PATCH 1/4] mm: cma: Don't crash on allocation if CMA area can't be activated

2014-10-23 Thread Weijie Yang
On Fri, Oct 24, 2014 at 7:42 AM, Laurent Pinchart wrote: > Hi Michal, > > On Thursday 23 October 2014 18:53:36 Michal Nazarewicz wrote: >> On Thu, Oct 23 2014, Laurent Pinchart wrote: >> > If activation of the CMA area fails its mutex won't be initialized, >> > leading to an oops at allocation tim

Re: [PATCH v2 RESEND] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-23 Thread Wang Nan
Hi Arnaldo, A have posted a v3 patch based on your git repository. Please refer to: https://lkml.org/lkml/2014/10/23/711 . Thanks. On 2014/10/24 7:53, Arnaldo Carvalho de Melo wrote: > Em Fri, Oct 24, 2014 at 08:26:13AM +0900, Namhyung Kim escreveu: >> On Wed, 22 Oct 2014 15:40:14 +0800, Wang

Re: [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 24, 2014 at 09:44:17AM +0900, Namhyung Kim escreveu: > On Thu, 23 Oct 2014 20:35:42 -0300, Arnaldo Carvalho de Melo wrote: > > I'll push later and will drop you a note, so that you can, please, check > > if the end result is sane. > > Thank you! It should be on my perf/core branch by

Re: [PATCH v3] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 24, 2014 at 09:45:26AM +0800, Wang Nan escreveu: > After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), > /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes > CPUINFO_PROC to an array and provides two choices for ARM, makes it > compatible for different

[PATCH v3] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-23 Thread Wang Nan
After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes CPUINFO_PROC to an array and provides two choices for ARM, makes it compatible for different kernel version. v1 -> v2: minor changes as suggested by Namhyung Kim

[PATCH net] bpf: split eBPF out of NET

2014-10-23 Thread Alexei Starovoitov
introduce two configs: - hidden CONFIG_BPF to select eBPF interpreter that classic socket filters depend on - visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use that solves several problems: - tracing and others that wish to use eBPF don't need to depend on NET. They can

Re: [PATCH v13 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-23 Thread Dmitry Torokhov
On October 23, 2014 6:08:52 PM PDT, Caesar Wang wrote: >Dmitry, > >在 2014/10/24 8:46, Dmitry Torokhov 写道: >> Hi Caesar, >> >> On Thu, Oct 23, 2014 at 05:40:06PM +0800, Caesar Wang wrote: >>> This patch is depend on rk3288-thermal.dtsi,or >>> it will compile error. >>> >>> If the temperature over

[PATCH 3/7] arm64: dts: Add X-Gene reboot driver dts node

2014-10-23 Thread Feng Kan
Add X-Gene platform reboot driver dts node. Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index a80f2fa..9532aa3 100644 --- a/arch/arm64/boo

Re: [PATCH 1/7] arm64: dts: Add APM X-Gene USB 2.0 DTS node

2014-10-23 Thread Feng Kan
Sorry, messed up the title will resend On Thu, Oct 23, 2014 at 6:24 PM, Feng Kan wrote: > This parch adds the device tree nodes for APM X-Gnene USB host controller. > Since X-Gene SOC supports maximum 2 USB ports, 2 dts node are added. > > Signed-off-by: Bao Truong > Signed-off-by: Feng Kan > -

[PATCH 5/7] arm64: dts: Add APM X-Gene SoC GFC GPIO controller DTS entries

2014-10-23 Thread Feng Kan
Add the flash controller muxed gpio dts node for APM X-Gene SoC platform. Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index d84cf33..b2e6068 1006

[PATCH 4/7] arm64: dts: Add Designware GPIO dts binding to APM X-Gene platform

2014-10-23 Thread Feng Kan
Add Designware GPIO dts binding to APM X-Gene platform Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 9532aa3..d84cf33 100644 --- a/

[PATCH 6/7] Documentation: arm: pmu: Add Potenza PMU binding

2014-10-23 Thread Feng Kan
This patch documents the compatible string for APM X-Gene Potenza CPU's PMU. Signed-off-by: Vinayak Kale Signed-off-by: Feng Kan --- Documentation/devicetree/bindings/arm/pmu.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.txt b/Documentation/d

[PATCH 7/7] arm64: dts: Add PMU node for APM X-Gene Storm SOC

2014-10-23 Thread Feng Kan
This patch adds the PMU device tree node for APM X-Gene Storm SOC. Signed-off-by: Vinayak Kale Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index b

[PATCH 1/7] arm64: dts: Add APM X-Gene USB 2.0 DTS node

2014-10-23 Thread Feng Kan
This parch adds the device tree nodes for APM X-Gnene USB host controller. Since X-Gene SOC supports maximum 2 USB ports, 2 dts node are added. Signed-off-by: Bao Truong Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --

  1   2   3   4   5   6   7   8   >