Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Joonsoo Kim
On Mon, Nov 03, 2014 at 10:09:42AM -0500, Johannes Weiner wrote: > Hi Joonsoo, > > On Mon, Nov 03, 2014 at 05:02:08PM +0900, Joonsoo Kim wrote: > > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > > > Memory cgroups used to have 5 per-page pointers. To allow users to > > >

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 03:08:08PM -0800, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 3:02 PM, Greg Kroah-Hartman > wrote: > > On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: > >> On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman > >> wrote: > >> > On Mon, Nov 03, 2014 at

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-11-03 Thread Benoit Parrot
Linus, Thanks for the feedback. To summarize the hog feature should be local to gpiolib-of.c, correct? I also also need some clarifications, see below. Linus Walleij wrote on Mon [2014-Nov-03 10:59:53 +0100]: > On Tue, Oct 21, 2014 at 10:09 PM, Benoit Parrot wrote: > > > qe_pio_a:

Re: [PATCH V2 2/2] ASoC: staging: ft1000: Logging message neatening

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 04:25:44PM -0800, Joe Perches wrote: > Use a more common logging style. > > o Convert DEBUG macros to pr_debug > o Add pr_fmt > o Remove embedded function names from pr_debug > o Convert printks to pr_ > o Coalesce formats and align arguments > o Add missing terminating

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

2014-11-03 Thread Joonsoo Kim
On Mon, Nov 03, 2014 at 09:12:33AM +0100, Vlastimil Babka wrote: > On 10/27/2014 08:41 AM, Joonsoo Kim wrote: > >On Tue, Oct 07, 2014 at 05:33:39PM +0200, Vlastimil Babka wrote: > >>The goal of memory compaction is to create high-order freepages through page > >>migration. Page migration however

[PATCH v3 3/3] perf: Sample additional clock value

2014-11-03 Thread Pawel Moll
From: Pawel Moll This patch adds an option to sample value of an additional clock with any perf event, with the the aim of allowing time correlation between data coming from perf and other sources like hardware trace which is timestamped with an external clock. The idea is to generate periodic

[PATCH v3 2/3] perf: Userspace event

2014-11-03 Thread Pawel Moll
From: Pawel Moll This patch adds a PR_TASK_PERF_UEVENT prctl call which can be used by any process to inject custom data into perf data stream as a new PERF_RECORD_UEVENT record, if such process is being observed or if it is running on a CPU being observed by the perf framework. The prctl call

[PATCH v3 0/3] perf: User/kernel time correlation and event generation

2014-11-03 Thread Pawel Moll
From: Pawel Moll Hello again, Back to the subject, this time with a slightly different angle... I've organised a session on the subject during the tracing minisummit at LPC 2014 in Dusseldorf. Notes taken from the discussion taken by Steven Rostedt (thanks Steve!)

[PATCH v3 1/3] perf: Use monotonic clock as a source for timestamps

2014-11-03 Thread Pawel Moll
Until now, perf framework never defined the meaning of the timestampt captured as PERF_SAMPLE_TIME sample type. The values were obtaining from local (sched) clock, which is unavailable in userspace. This made it impossible to correlate perf data with any other events. Other tracing solutions have

Re: [PATCH 4/5] mm, compaction: always update cached scanner positions

2014-11-03 Thread Joonsoo Kim
On Fri, Oct 31, 2014 at 04:53:44PM +0100, Vlastimil Babka wrote: > On 10/28/2014 08:08 AM, Joonsoo Kim wrote: > >> > >>>And, I guess that pageblock skip feature effectively disable pageblock > >>>rescanning if there is no freepage during rescan. > >> > >>If there's no freepage during rescan, then

Re: [PATCH] staging: rtl8188eu: Fix coding style space related ERROR problems

2014-11-03 Thread Greg Kroah-Hartman
On Fri, Oct 31, 2014 at 10:07:15AM +0800, Jia He wrote: > This fixes space related ERROR reports by checkpatch.pl > Generated by $ git ls-files "drivers/staging/rtl8188eu/*.[ch]" | \ > xargs ./scripts/checkpatch.pl -f --fix-inplace --strict --types=SPACING > Already checked by text comparasion >

[PATCH V2 2/2] ASoC: staging: ft1000: Logging message neatening

2014-11-03 Thread Joe Perches
Use a more common logging style. o Convert DEBUG macros to pr_debug o Add pr_fmt o Remove embedded function names from pr_debug o Convert printks to pr_ o Coalesce formats and align arguments o Add missing terminating newlines Signed-off-by: Joe Perches ---

[PATCH V2 0/2] staging: ft1000: generic neatening

2014-11-03 Thread Joe Perches
Joe Perches (2): staging: ft1000: Whitespace neatening ASoC: staging: ft1000: Logging message neatening drivers/staging/ft1000/ft1000-pcmcia/boot.h| 34 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h | 30 +- drivers/staging/ft1000/ft1000-pcmcia/ft1000_cs.c | 50 +-

Re: [PATCH] of: Fix overflow bug in string property parsing functions

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 11:38:24 PM Grant Likely wrote: [cut] > diff --git a/include/linux/of.h b/include/linux/of.h > index 6545e7aec7bb..3b3c6e849ae8 100644 > --- a/include/linux/of.h > +++ b/include/linux/of.h > @@ -267,14 +267,12 @@ extern int of_property_read_u64(const struct >

Re: [PATCH V3] staging: dgap: re-arrange functions for removing forward declarations

2014-11-03 Thread Greg KH
On Tue, Nov 04, 2014 at 08:07:01AM +0900, DaeSeok Youn wrote: > Greg, > > check this patch, please. > This patch was rebased on staging-testing tree. > > Thanks. > > regards, > Daeseok Youn > > > 2014-10-31 10:20 GMT+09:00 Daeseok Youn : 3 days after sending this? Please give me a chance, I

Re: [PATCH RFC] sched/deadline: support dl task migrate during cpu hotplug

2014-11-03 Thread Wanpeng Li
Hi Peter, On Mon, Nov 03, 2014 at 11:41:11AM +0100, Peter Zijlstra wrote: >On Fri, Oct 31, 2014 at 03:28:17PM +0800, Wanpeng Li wrote: >> Hi all, >> >> I observe that dl task can't be migrated to other cpus during cpu hotplug, >> in >> addition, task may/may not be running again if cpu is added

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 4:12 PM, Aditya Kali wrote: > On Mon, Nov 3, 2014 at 3:48 PM, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 3:23 PM, Aditya Kali wrote: >>> On Mon, Nov 3, 2014 at 3:15 PM, Andy Lutomirski wrote: On Mon, Nov 3, 2014 at 3:12 PM, Aditya Kali wrote: > On Fri,

Re: [PATCH] staging: media: lirc: lirc_zilog.c: adjust debug messages

2014-11-03 Thread Aya Mahfouz
On Sun, Nov 02, 2014 at 12:40:13PM +0100, Konrad Zapalowicz wrote: > On 11/01, Aya Mahfouz wrote: > > This patch removes one debug message and replaces a dev_err > > call by pr_err. > > Usually you would like to send this as two separate patches because > replacing a debug message is way

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 04:04:42PM -0800, steph wrote: > On Mon, Nov 03, 2014 at 01:21:39PM -0800, Greg KH wrote: > > On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: > > > +EXPORT_SYMBOL(mausb_register_ms_driver); > > > > EXPORT_SYMBOL_GPL()? I have to ask... > > > The source

[PATCH] staging: media: lirc: replace dev_err by pr_err

2014-11-03 Thread Aya Mahfouz
This patch replaces dev_err by pr_err since the value of ir is NULL when the message is displayed. Signed-off-by: Aya Mahfouz --- drivers/staging/media/lirc/lirc_zilog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/lirc/lirc_zilog.c

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Aditya Kali
On Mon, Nov 3, 2014 at 3:48 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 3:23 PM, Aditya Kali wrote: >> On Mon, Nov 3, 2014 at 3:15 PM, Andy Lutomirski wrote: >>> On Mon, Nov 3, 2014 at 3:12 PM, Aditya Kali wrote: On Fri, Oct 31, 2014 at 5:07 PM, Andy Lutomirski wrote: >

[no subject]

2014-11-03 Thread Aya Mahfouz
Dan Carpenter , Gulsah Kose , Tuomas Tynkkynen , Matina Maria Trompouki Cc: linux-me...@vger.kernel.org, de...@driverdev.osuosl.org, linux-kernel@vger.kernel.org Bcc: Subject: [PATCH] staging: media: lirc: replace dev_err by pr_err Reply-To: This patch replaces dev_err by pr_err since the

Re: [PATCH 1/2] staging: ft1000: Whitespace neatening

2014-11-03 Thread Greg Kroah-Hartman
On Sat, Nov 01, 2014 at 04:53:38PM -0700, Joe Perches wrote: > Use normal kernel style, indentation and alignment. > > git diff -w shows no difference > > Signed-off-by: Joe Perches > --- > drivers/staging/ft1000/ft1000-pcmcia/boot.h| 34 +- >

[PATCH] mm: fix overly aggressive shmdt() when calls span multiple segments

2014-11-03 Thread Dave Hansen
From: Dave Hansen This is a highly-contrived scenario. But, a single shmdt() call can be induced in to unmapping memory from mulitple shm segments. Example code is here: http://www.sr71.net/~dave/intel/shmfun.c The fix is pretty simple: Record the 'struct file' for the first VMA we

Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-11-03 Thread Greg Kroah-Hartman
On Sat, Nov 01, 2014 at 10:47:22AM +0800, Chen Weixiang wrote: > Remove following code style errors from ft1000/ft1000-usb/ft1000_debug.c > and ft1000/ft1000-pcmcia/ft1000_hw.c: > ERROR: spaces required around that '=' (ctx:VxV) > ERROR: spaces required around that '<' (ctx:VxV) > ERROR: spaces

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread steph
On Mon, Nov 03, 2014 at 01:21:39PM -0800, Greg KH wrote: > On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: > > +EXPORT_SYMBOL(mausb_register_ms_driver); > > EXPORT_SYMBOL_GPL()? I have to ask... > The source is dual-licenced under BSD and GPL. It was our understanding that

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread steph
On Mon, Nov 03, 2014 at 01:18:16PM -0800, Greg KH wrote: > On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: > > +#define DEBUG > > I doubt you want this in the driver enabled by default :( > Thank you for catching, will remove in the next patch version. -- To unsubscribe from

Re: linux-next: manual merge of the staging tree with the vfs tree

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 01:29:14PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in > drivers/staging/lustre/lustre/llite/file.c between commit bc281d072ba9 > ("lustre: opened file can't have negative dentry") from the vfs tree > and

Re: [PATCH v2 1/2] mm: cma: split cma-reserved in dmesg log

2014-11-03 Thread David Rientjes
On Wed, 22 Oct 2014, Pintu Kumar wrote: > diff --git a/include/linux/cma.h b/include/linux/cma.h > index 0430ed0..0b75896 100644 > --- a/include/linux/cma.h > +++ b/include/linux/cma.h > @@ -15,6 +15,7 @@ > > struct cma; > > +extern unsigned long totalcma_pages; > extern phys_addr_t

Re: [char-misc-next V2] mei: nfc: clean nfc internal struct on host exit

2014-11-03 Thread Greg KH
On Tue, Oct 07, 2014 at 10:34:50AM +0300, Tomas Winkler wrote: > NFC internal structure cleaning was dropped by commit > > commit 5ad1550a15cd5b75ed8aa3009e162822f720375e > Author: Tomas Winkler > Date: Sun Jan 26 11:53:06 2014 +0200 > > mei: Remove all bus devices from the mei_dev list

Re: [char-misc-next V3] mei: add reference counting for me clients

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 10:42:05AM +0200, Tomas Winkler wrote: > To support dynamic addition/remove we add reference > counter. What is keeping two different threads / cpus from grabbing a reference at the same time the other one is dropping it? You have a list here, with no locking, right? You

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 3:23 PM, Aditya Kali wrote: > On Mon, Nov 3, 2014 at 3:15 PM, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 3:12 PM, Aditya Kali wrote: >>> On Fri, Oct 31, 2014 at 5:07 PM, Andy Lutomirski >>> wrote: On Fri, Oct 31, 2014 at 12:19 PM, Aditya Kali wrote:

Re: [PATCH] printk: Add and use LOGLEVEL_ defines for KERN_ equivalents

2014-11-03 Thread Greg KH
On Sun, Nov 02, 2014 at 01:42:34PM -0800, Joe Perches wrote: > Use #defines instead of magic values. > > Signed-off-by: Joe Perches Acked-by: Greg Kroah-Hartman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCHv2 5/7] cgroup: introduce cgroup namespaces

2014-11-03 Thread Aditya Kali
On Fri, Oct 31, 2014 at 5:58 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Fri, Oct 31, 2014 at 12:18 PM, Aditya Kali wrote: > > > >>> +static void *cgroupns_get(struct task_struct *task) >>> +{ >>> + struct cgroup_namespace *ns = NULL; >>> + struct nsproxy

Re: [PATCHv2 5/7] cgroup: introduce cgroup namespaces

2014-11-03 Thread Aditya Kali
On Fri, Oct 31, 2014 at 5:02 PM, Andy Lutomirski wrote: > On Fri, Oct 31, 2014 at 12:18 PM, Aditya Kali wrote: >> Introduce the ability to create new cgroup namespace. The newly created >> cgroup namespace remembers the cgroup of the process at the point >> of creation of the cgroup namespace

[PATCH] of: Fix overflow bug in string property parsing functions

2014-11-03 Thread Grant Likely
The string property read helpers will run off the end of the buffer if it is handed a malformed string property. Rework the parsers to make sure that doesn't happen. At the same time add new test cases to make sure the functions behave themselves. The original implementations of

Re: [PATCH v3 5/5] Use 2GB memory block size on large x86-64 systems

2014-11-03 Thread Thomas Gleixner
On Tue, 4 Nov 2014, Daniel J Blueman wrote: > On 11/04/2014 03:38 AM, Thomas Gleixner wrote: > > On Sun, 2 Nov 2014, Daniel J Blueman wrote: > > > > > On larger x64-64 systems, use a 2GB memory block size to reduce sysfs > > > entry creation time by 16x. Large is defined as 64GB or more memory.

Re: [RFC patch] mm: hugetlb: fix __unmap_hugepage_range

2014-11-03 Thread David Rientjes
On Fri, 31 Oct 2014, Hillf Danton wrote: > First, after flushing TLB, we have no need to scan pte from start again. > Second, before bail out loop, the address is forwarded one step. > > Signed-off-by: Hillf Danton Acked-by: David Rientjes -- To unsubscribe from this list: send the line

Dear One, I have business proposal for you. I want to invest some funds in your country for my education and investment for the future. Our country is not stable hence I have taken this decision. If

2014-11-03 Thread Christy Gado
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 2:53 PM, Thomas Gleixner wrote: > > On Mon, 3 Nov 2014, Toshi Kani wrote: > >> On Mon, 2014-11-03 at 22:10 +, Elliott, Robert (Server Storage) > >> wrote: > >> > > +EXPORT_SYMBOL_GPL(pgprot_writethrough); > >> > ... > >> > >

Re: Cache Allocation Technology Design

2014-11-03 Thread Vikas Shivappa
Hello All, Thanks for all the feedback so far and below is the modified 'Kernel Implementation' Section for review - Rest of the sections are the same as before with just some changes in text as per changed implementation , so can be ignored as well .. Also adding Peter Anvin, Thomas

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 04:51:41PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Tuesday 07 October 2014 04:32 PM, Oussama Ghorbel wrote: > > The USB OTG port does not work since v3.16 on omap platform. > > This is a regression introduced by the commit > > eb82a3d846fa (phy: omap-usb2:

Re: [PATCH v3] usb: Remove references to non-existent PLAT_S5P symbol

2014-11-03 Thread Greg KH
On Tue, Oct 07, 2014 at 11:12:07AM +0200, Sylwester Nawrocki wrote: > The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 > ("ARM: SAMSUNG: Remove remaining legacy code"). There are still > some references left, fix that by replacing them with ARCH_S5PV210. > > Fixes: d78c16ccde96

Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

2014-11-03 Thread Timur Tabi
On Mon, Nov 3, 2014 at 5:01 AM, Mika Westerberg wrote: > Hi, > > This is second version of the patch series adding pinctrl/GPIO support > for Intel Braswell and Cherrryview. The previous version can be found here: > > https://lkml.org/lkml/2014/10/27/118 > > I've dropped patches [2/4] and [3/4]

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Aditya Kali
On Mon, Nov 3, 2014 at 3:15 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 3:12 PM, Aditya Kali wrote: >> On Fri, Oct 31, 2014 at 5:07 PM, Andy Lutomirski wrote: >>> On Fri, Oct 31, 2014 at 12:19 PM, Aditya Kali wrote: This patch enables cgroup mounting inside userns when a process

Re: linux-next: Tree for Nov 3

2014-11-03 Thread Stephen Rothwell
Hi Guenter, On Mon, 3 Nov 2014 13:50:01 -0800 Guenter Roeck wrote: > > Something is fishy with this tree. I get either warnings or complete failures > with qemu runs on all platforms. > > x86_64: > > [ cut here ] > WARNING: CPU: 0 PID: 1 at fs/dcache.c:255

Re: [PATCH v3 5/5] Use 2GB memory block size on large x86-64 systems

2014-11-03 Thread Daniel J Blueman
On 11/04/2014 03:38 AM, Thomas Gleixner wrote: On Sun, 2 Nov 2014, Daniel J Blueman wrote: On larger x64-64 systems, use a 2GB memory block size to reduce sysfs entry creation time by 16x. Large is defined as 64GB or more memory. This changelog sucks. It neither tells which sysfs entries

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 3:12 PM, Aditya Kali wrote: > On Fri, Oct 31, 2014 at 5:07 PM, Andy Lutomirski wrote: >> On Fri, Oct 31, 2014 at 12:19 PM, Aditya Kali wrote: >>> This patch enables cgroup mounting inside userns when a process >>> as appropriate privileges. The cgroup filesystem mounted

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Aditya Kali
On Fri, Oct 31, 2014 at 5:07 PM, Andy Lutomirski wrote: > On Fri, Oct 31, 2014 at 12:19 PM, Aditya Kali wrote: >> This patch enables cgroup mounting inside userns when a process >> as appropriate privileges. The cgroup filesystem mounted is >> rooted at the cgroupns-root. Thus, in a

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Oleg Nesterov
On 11/03, Andy Lutomirski wrote: > > On Mon, Nov 3, 2014 at 2:57 PM, Oleg Nesterov wrote: > > > > I actually tried to say that irqs should be always disabled (afaics!). > > IOW "interrupts on" should not be possible, not "interrupts off". > > But this is checking whether interrupts were on in the

Re: [RFC RESEND 00/10] Create separate header for ehci-dbgp driver

2014-11-03 Thread Greg Kroah-Hartman
On Sun, Nov 02, 2014 at 09:07:47PM -0600, Chris Rorvick wrote: > One more attempt at getting some feedback. > > Original: > > The FUSBH200 and FOTG210 are not EHCI-compatible and require standalone > drivers. See discussion at: > > http://comments.gmane.org/gmane.linux.usb.general/84169 > >

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 3:02 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman >> wrote: >> > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: >> >> On 11/02/2014 07:07 PM, Kweh

[PATCH v4] mailbox/omap: adapt to the new mailbox framework

2014-11-03 Thread Suman Anna
The OMAP mailbox driver and its existing clients (remoteproc for OMAP4+) are adapted to use the generic mailbox framework. The main changes for the adaptation are: - The tasklet used for Tx is replaced with the state machine from the generic mailbox framework. The workqueue used for

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 2:57 PM, Oleg Nesterov wrote: > Argh, sorry for confusion... > > On 11/03, Andy Lutomirski wrote: >> >> On Mon, Nov 3, 2014 at 1:58 PM, Oleg Nesterov wrote: >> > On 11/03, Oleg Nesterov wrote: >> >> >> > Btw, why retint_kernel() checks "interrupts on" ? It seems to me that

Re: [PATCH] ath6kl: remove incorrect reset_resume handler

2014-11-03 Thread Kalle Valo
Alexey Khoroshilov writes: > Existing implementation of reset_resume handler just calls > ath6kl_usb_remove() that deallocates all resources. > It can lead to double free, etc. on disconnect. > > The patch removes reset_resume handler, > so usb core could conservatively reset the driver. > >

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 01:32:46PM -0800, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman > wrote: > > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: > >> On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > >> > From: "Kweh, Hock Leong" > >> > > >> > >

Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 2:53 PM, Thomas Gleixner wrote: > On Mon, 3 Nov 2014, Toshi Kani wrote: >> On Mon, 2014-11-03 at 22:10 +, Elliott, Robert (Server Storage) >> wrote: >> : >> > > Subject: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for >> > > WT >> > > >> > > This patch adds

Re: [PATCH 1/2] Thermal:Fix memory leak if occur goto unregister

2014-11-03 Thread Eduardo Valentin
Hello, On Mon, Nov 03, 2014 at 06:17:37PM +, R, Durgadoss wrote: > >-Original Message- > >From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > >ow...@vger.kernel.org] On Behalf Of Eduardo Valentin > >Sent: Monday, October 20, 2014 6:04 PM > >To: Yao Dongdong > >Cc: Zhang, Rui;

Re: [PATCH v3 3/5] Numachip: Add safe is-present function

2014-11-03 Thread Thomas Gleixner
On Tue, 4 Nov 2014, Daniel J Blueman wrote: > On 11/04/2014 03:45 AM, Thomas Gleixner wrote: > > On Sun, 2 Nov 2014, Daniel J Blueman wrote: > > > > > Add safe function to check if Numachip is detected, to be used elsewhere. > > > > I cannot find a use case for this. I guess this is a left over

Re: [PATCHv3 9/9] net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-11-03 Thread Stefan Wahren
Hi Lothar, > Lothar Waßmann hat am 28. Oktober 2014 um 14:23 > geschrieben: > > > commit 1b7bde6d659d ("net: fec: implement rx_copybreak to improve rx > performance") > introduced a regression for i.MX28. The swap_buffer() function doing > the endian conversion of the received data on i.MX28 may

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Oleg Nesterov
Argh, sorry for confusion... On 11/03, Andy Lutomirski wrote: > > On Mon, Nov 3, 2014 at 1:58 PM, Oleg Nesterov wrote: > > On 11/03, Oleg Nesterov wrote: > >> > > Btw, why retint_kernel() checks "interrupts on" ? It seems to me that > > that "interrupts off" is not possible, no? And this will be

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 2:43 PM, Aditya Kali wrote: > > > On Fri, Oct 31, 2014 at 6:09 PM, Eric W. Biederman > wrote: >> >> Aditya Kali writes: >> >> > This patch enables cgroup mounting inside userns when a process >> > as appropriate privileges. The cgroup filesystem mounted is >> > rooted at

Re: [PATCH v3 3/5] Numachip: Add safe is-present function

2014-11-03 Thread Daniel J Blueman
On 11/04/2014 03:45 AM, Thomas Gleixner wrote: On Sun, 2 Nov 2014, Daniel J Blueman wrote: Add safe function to check if Numachip is detected, to be used elsewhere. I cannot find a use case for this. I guess this is a left over of the earlier 2G change, right? I left it in as it's common

Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Toshi Kani wrote: > On Mon, 2014-11-03 at 22:10 +, Elliott, Robert (Server Storage) > wrote: > : > > > Subject: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for > > > WT > > > > > > This patch adds pgprot_writethrough() for setting WT to a given > > > pgprot_t.

Re: [PATCH v3 19/47] mfd: rk808: Register power-off handler with kernel power-off handler

2014-11-03 Thread Guenter Roeck
On Mon, Nov 03, 2014 at 10:42:27PM +, Lee Jones wrote: > On Mon, 03 Nov 2014, Guenter Roeck wrote: > > > On Mon, Nov 03, 2014 at 05:53:46PM +, Lee Jones wrote: > > > On Mon, 27 Oct 2014, Guenter Roeck wrote: > > > > > > > Register with kernel power-off handler instead of setting

Re: [V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, suravee.suthikulpa...@amd.com wrote: > +static void gicv2m_teardown_msi_irq(struct msi_chip *chip, unsigned int irq) > +{ > + int pos; > + struct v2m_data *v2m = container_of(chip, struct v2m_data, msi_chip); > + > + spin_lock(>msi_cnt_lock); Why do you need an

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-11-03 Thread Aditya Kali
(sorry for accidental non-plain-text response earlier). On Fri, Oct 31, 2014 at 6:09 PM, Eric W. Biederman wrote: > Aditya Kali writes: > >> This patch enables cgroup mounting inside userns when a process >> as appropriate privileges. The cgroup filesystem mounted is >> rooted at the

Re: [PATCH] HID: core: cleanup .claimed field on disconnect

2014-11-03 Thread Jiri Kosina
On Mon, 3 Nov 2014, Benjamin Tissoires wrote: > When a subdriver is rmmod-ed then re-insmod-ed, the hid device is not > destroyed as it is owned by the transport layer. > So when we re-probed the device, the hid device is assumed to be already > claimed, and can lead to page faults if hid-core

Re: [PATCH v3 19/47] mfd: rk808: Register power-off handler with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Guenter Roeck wrote: > On Mon, Nov 03, 2014 at 05:53:46PM +, Lee Jones wrote: > > On Mon, 27 Oct 2014, Guenter Roeck wrote: > > > > > Register with kernel power-off handler instead of setting pm_power_off > > > directly. Register with low priority to reflect that the

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 1:58 PM, Oleg Nesterov wrote: > On 11/03, Oleg Nesterov wrote: >> >> On 11/03, Andy Lutomirski wrote: >> > >> > And do we ever have TF set during a context switch? I hope not. >> >> I too hope. >> >> > Also, what's with 'jmp exit_intr' at the end of retint_kernel? Why >>

[PATCHv2] reset: add socfpga_reset_status

2014-11-03 Thread dinguyen
From: Dinh Nguyen Populate the reset_status callback for SOCFPGA. Signed-off-by: Alan Tull Signed-off-by: Dinh Nguyen --- v2: Remove spin_lock around readl --- drivers/reset/reset-socfpga.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/reset/reset-socfpga.c

Re: [PATCH] ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 02:22:10 PM Linus Walleij wrote: > On Sat, Oct 25, 2014 at 12:05 AM, Rafael J. Wysocki > wrote: > > > From: Rafael J. Wysocki > > > > Provide a way for device drivers using GPIOs described by ACPI > > GpioIo resources in _CRS to tell the GPIO subsystem what names >

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Johannes Weiner
On Mon, Nov 03, 2014 at 04:58:07PM -0500, David Miller wrote: > From: "Kirill A. Shutemov" > Date: Mon, 3 Nov 2014 23:52:06 +0200 > > > On Mon, Nov 03, 2014 at 04:36:28PM -0500, Johannes Weiner wrote: > >> On Mon, Nov 03, 2014 at 11:06:07PM +0200, Kirill A. Shutemov wrote: > >> > On Sat, Nov 01,

Re: [RESUBMIT PATCH v6 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Paul Bolle wrote: > On Mon, 2014-11-03 at 17:14 +, Lee Jones wrote: > >On Fri, 31 Oct 2014, gyun...@gmail.com wrote: > > Code looks fine, but what are its dependencies. I'm assuming nothing; > > however, did Mark say that something depends on it? > > That would be

Re: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

2014-11-03 Thread Toshi Kani
On Mon, 2014-11-03 at 22:10 +, Elliott, Robert (Server Storage) wrote: : > > Subject: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for > > WT > > > > This patch adds pgprot_writethrough() for setting WT to a given > > pgprot_t. > > > > Signed-off-by: Toshi Kani > > Reviewed-by:

Re: bisected regression: qla2xxx endianness on sparc64

2014-11-03 Thread Geert Uytterhoeven
On Sun, Nov 2, 2014 at 7:10 PM, Meelis Roos wrote: > Between 3.17 and 3.18-rc2, qla2xxx is broken on my sparc64 machines. It > fails to boot (hangs in firmware rings init). > > This is the result of bisect: > > 98aee70d19a7e3203649fa2078464e4f402a0ad8 is the first bad commit > commit

Re: your patch "mm: Remove false WARN_ON from pagecache_isize_extended()"

2014-11-03 Thread Dave Chinner
On Mon, Nov 03, 2014 at 04:41:13PM +, Jan Beulich wrote: > Jan, > > having run into that warning too, I looked into it a little, and now > having found that patch am pretty uncertain: Both truncate_setsize() > and pagecache_isize_extended() document that they want to be > called with i_mutex

Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-03 Thread Jeremy Allison
On Mon, Nov 03, 2014 at 10:49:24AM -0800, Eric Rannaud wrote: > On Mon, Nov 3, 2014 at 9:06 AM, Andy Lutomirski wrote: > >> That doesn't help because we explicitly reject O_RDONLY when combined > >> with O_TMPFILE. > > > > I think I'm missing something. How is an O_RDONLY temporary file > >

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-03 Thread David Cohen
Hi Mika, Thanks for your feedbacks :) On Mon, Nov 03, 2014 at 08:42:47PM +0200, Mika Westerberg wrote: > On Mon, Nov 03, 2014 at 09:50:11AM -0600, Felipe Balbi wrote: > > Hi, > > > > On Mon, Nov 03, 2014 at 05:42:07PM +0200, Mika Westerberg wrote: > > > On Mon, Nov 03, 2014 at 05:27:43PM +0200,

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread H. Peter Anvin
On 11/03/2014 01:11 PM, Andy Lutomirski wrote: > On Tue, Oct 28, 2014 at 4:14 AM, tip-bot for Andy Lutomirski > wrote: >> Commit-ID: 2c7577a7583747c9b71f26dced7f696b739da745 >> Gitweb: >> http://git.kernel.org/tip/2c7577a7583747c9b71f26dced7f696b739da745 >> Author: Andy Lutomirski >>

RE: [PATCH v4 4/7] x86, mm, pat: Add pgprot_writethrough() for WT

2014-11-03 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Kani, Toshimitsu > Sent: Monday, 27 October, 2014 5:56 PM > To: h...@zytor.com; t...@linutronix.de; mi...@redhat.com; akpm@linux- > foundation.org; a...@arndb.de >

[PATCH 3/4] arm: dts: omap3-gta04: Add handling for tv output

2014-11-03 Thread Marek Belisko
Add handling for gta04 tv out chain: venc -> opa362 -> svideo Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 48 ++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi

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

2014-11-03 Thread Marek Belisko
gta04 board need for tvout enabled 2 bits in devconf1 register (tvbypass and acbias). Add single pinmux entry and enable it. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git

[PATCH 2/4] Documentation: DT: Add documentation for ti,opa362 bindings

2014-11-03 Thread Marek Belisko
Signed-off-by: Marek Belisko --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti,opa362.txt

[PATCH 1/4] video: omapdss: Add opa362 driver

2014-11-03 Thread Marek Belisko
opa362 is amplifier for videoand can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller --- drivers/video/fbdev/omap2/displays-new/Kconfig | 6 +

[PATCH 0/4] omapdss: Add video output support for gta04 board

2014-11-03 Thread Marek Belisko
This patch series add support for video output on gta04 board. It consist from opa362 video amplifier driver + DT bindings, adding venc -> opa362 -> svideo-connecor setup in DT and finally static setup for tvbypass anc acbias bin in devconf1 register via pinctrl subsystem. Marek Belisko (4):

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Oleg Nesterov
On 11/03, Oleg Nesterov wrote: > > On 11/03, Andy Lutomirski wrote: > > > > And do we ever have TF set during a context switch? I hope not. > > I too hope. > > > Also, what's with 'jmp exit_intr' at the end of retint_kernel? Why > > isn't that 'jmp retint_kernel'? > > Even better, why not "jmp

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread David Miller
From: "Kirill A. Shutemov" Date: Mon, 3 Nov 2014 23:52:06 +0200 > On Mon, Nov 03, 2014 at 04:36:28PM -0500, Johannes Weiner wrote: >> On Mon, Nov 03, 2014 at 11:06:07PM +0200, Kirill A. Shutemov wrote: >> > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: >> > > Memory cgroups

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Kirill A. Shutemov
On Mon, Nov 03, 2014 at 04:36:28PM -0500, Johannes Weiner wrote: > On Mon, Nov 03, 2014 at 11:06:07PM +0200, Kirill A. Shutemov wrote: > > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > > > Memory cgroups used to have 5 per-page pointers. To allow users to > > > disable that

Re: FW/BIOS Bug category for oops.kernel.org

2014-11-03 Thread Peter Zijlstra
On Mon, Nov 03, 2014 at 10:34:43PM +0100, Borislav Petkov wrote: > On Mon, Nov 03, 2014 at 10:26:10PM +0100, Peter Zijlstra wrote: > > Hi oops.kernel.org folks, > > > > I'm wanting to collect information on FW/BIOS bugs, and I figured that > > we could use the oops.kernel.org infrastructure to do

Re: linux-next: Tree for Nov 3

2014-11-03 Thread Guenter Roeck
> Something is fishy with this tree. I get either warnings or complete failures with qemu runs on all platforms. x86_64: [ cut here ] WARNING: CPU: 0 PID: 1 at fs/dcache.c:255 __d_free+0x43/0x50() Modules linked in: CPU: 0 PID: 1 Comm: swapper

Re: [RFC PATCH 0/3] Expose gpu counters via perf pmu driver

2014-11-03 Thread Robert Bragg
On Thu, Oct 30, 2014 at 7:08 PM, Peter Zijlstra wrote: > On Wed, Oct 22, 2014 at 04:28:48PM +0100, Robert Bragg wrote: >> Our desired permission model seems consistent with perf's current model >> whereby you would need privileges if you want to profile across all gpu >> contexts but not need

Re: [tip:x86/asm] sched/x86_64: Don't save flags on context switch

2014-11-03 Thread Oleg Nesterov
On 11/03, Andy Lutomirski wrote: > > And do we ever have TF set during a context switch? I hope not. I too hope. > Also, what's with 'jmp exit_intr' at the end of retint_kernel? Why > isn't that 'jmp retint_kernel'? Even better, why not "jmp retint_restore_args" ? preempt_schedule_irq()

Re: [RESUBMIT PATCH v6 7/8] regulator: sky81452: Add compatible string for device binding

2014-11-03 Thread Paul Bolle
On Fri, 2014-10-31 at 16:44 +, Mark Brown wrote: > On Fri, Oct 31, 2014 at 04:08:41PM +0900, gyun...@gmail.com wrote: > > From: Gyungoh Yoo > > > > Signed-off-by: Gyungoh Yoo > > This doesn't apply against current code and depends on the MFD symbol > rename - can you please check what's

Re: [PATCH v6 02/12] Driver core: Unified device properties interface for platform firmware

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 03:40:08 PM Grant Likely wrote: > Hi Rafael, Hi, > While reviewing and testing these patches I ran into serious bugs in > the string parsers (in both the existing code and the new functions > here). It took me a number of days, but I've got a fix now which I'll > be

Re: [PATCH 1/1] ptrace/x86: fix the TIF_FORCED_TF logic in handle_signal()

2014-11-03 Thread Pedro Alves
Thanks a lot Oleg. Question - shouldn't ptrace tests be put in tools/testing/selftests/ptrace/ in the kernel tree nowadays? Thanks, Pedro Alves On 11/03/2014 08:13 PM, Oleg Nesterov wrote: > When the TIF_SINGLESTEP tracee dequeues a signal, handle_signal() > clears TIF_FORCED_TF and

Re: [PATCH v5 7/7] tpm: create TPM 2.0 devices using own device class

2014-11-03 Thread Jason Gunthorpe
On Mon, Nov 03, 2014 at 07:41:01AM +0200, Jarkko Sakkinen wrote: > I used the class 'tpm' only for TPM 2.x because I didn't want to > break the binary compatibility for TPM 1.x anyway. In ideal situtation > both would be character devices inside the class 'tpm' and there would > be sysfs

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: > On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: > > > > On 11/1/14 4:11, Grant Likely wrote: > > > On Tue, 28 Oct 2014 22:59:57 +0100 > > > , "Rafael J. Wysocki" > > > wrote: > > >> On Tuesday, October 28, 2014

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Johannes Weiner
On Mon, Nov 03, 2014 at 11:06:07PM +0200, Kirill A. Shutemov wrote: > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > > Memory cgroups used to have 5 per-page pointers. To allow users to > > disable that amount of overhead during runtime, those pointers were > > allocated in a

Re: FW/BIOS Bug category for oops.kernel.org

2014-11-03 Thread Borislav Petkov
On Mon, Nov 03, 2014 at 10:26:10PM +0100, Peter Zijlstra wrote: > Hi oops.kernel.org folks, > > I'm wanting to collect information on FW/BIOS bugs, and I figured that > we could use the oops.kernel.org infrastructure to do this. > > Now, I'd prefer to not use the regular BUG/WARN because it

<    1   2   3   4   5   6   7   8   9   10   >