Re: [RFC] Linux common clock framework: device with many clocks

2014-05-16 Thread Mike Turquette
On Wed, Apr 30, 2014 at 4:13 PM, Mark Rutland wrote: > Hi, Thanks for Cc'ing me Mark. > > On Wed, Apr 30, 2014 at 09:39:11PM +0100, Jim Quinlan wrote: >> In most examples of .dtsi files I have perused, a device is associated with >> typically one clock, maybe two. In the SoC I'm working on, som

Re: [PATCH v2] ARM: imx: fix error handling

2014-05-16 Thread Uwe Kleine-König
Hello Emil, IMHO the subject is too general. Maybe better use: ARM: imx: fix error handling in ipu device registration On Fri, May 16, 2014 at 11:54:05AM +0200, Emil Goode wrote: > If we fail to allocate struct platform_device pdev we > dereference it after the goto label err. > > I hav

Re: [PATCH] af_rxrpc: Fix XDR length check in rxrpc key demarshalling.

2014-05-16 Thread David Miller
From: David Howells Date: Thu, 15 May 2014 15:51:22 +0100 > From: Nathaniel W Filardo > > There may be padding on the ticket contained in the key payload, so just > ensure > that the claimed token length is large enough, rather than exactly the right > size. > > Signed-off-by: Nathaniel Wesle

[PATCH] Input: Introduce the use of the managed version of kzalloc

2014-05-16 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. The following Coccinelle semantic patch was used for making the change: @platform@ identifier p, probefn, removefn; @@ struct platform_driver

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 11:57 -0700, Greg Kroah-Hartman wrote: > On Fri, May 16, 2014 at 09:06:07AM -0500, Seth Forshee wrote: > > On Thu, May 15, 2014 at 09:35:32PM -0700, Greg Kroah-Hartman wrote: > > > On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: > > > > > I think having to pick a

Re: [PATCH v2] ARM: imx: fix error handling

2014-05-16 Thread Uwe Kleine-König
Hello Walter, On Fri, May 16, 2014 at 01:49:10PM +0200, walter harms wrote: > Am 16.05.2014 13:16, schrieb Emil Goode: > > Hello Walter, > > > > On Fri, May 16, 2014 at 12:40:19PM +0200, walter harms wrote: > >> > >> > >> Am 16.05.2014 11:54, schrieb Emil Goode: > >>> If we fail to allocate struc

Re: [PATCH 3/5] workqueue: Create low-level unbound workqueues cpumask

2014-05-16 Thread Christoph Lameter
On Fri, 16 May 2014, Tejun Heo wrote: > > Could we fix that? A workqueue is not a device but more a kernel setting. > > > > /sys/kernel/workqueue/ ? > > Right, that could have been more in line with slab files. It's > already too late tho. This has been exposed for quite a while now. > Urgh.

Re: [PATCH 3/5] workqueue: Create low-level unbound workqueues cpumask

2014-05-16 Thread Tejun Heo
On Fri, May 16, 2014 at 3:32 PM, Christoph Lameter wrote: > It sets a bad precedent. So move to /sys/kernel/workqueue and lets have a > symlink that goes back? Hmm... I don't think it's a good idea to lose uevent. It's an integral part in configuring sysfs. Wouldn't it make more sense to move /sy

Re: [PATCH v6] mm: support madvise(MADV_FREE)

2014-05-16 Thread Kirill A. Shutemov
On Fri, May 16, 2014 at 03:34:27PM +0900, Minchan Kim wrote: > > > +static inline unsigned long lazyfree_pmd_range(struct mmu_gather *tlb, > > > + struct vm_area_struct *vma, pud_t *pud, > > > + unsigned long addr, unsigned long end) > > > +{ > > > +

Re: [PATCH V2 3/3] cpufreq: Tegra: implement intermediate frequency callbacks

2014-05-16 Thread Stephen Warren
On 05/16/2014 03:07 AM, Viresh Kumar wrote: > Tegra had always been switching to intermediate frequency (pll_p_clk) since > ever. CPUFreq core has better support for handling notifications for these > frequencies and so we can adapt Tegra's driver to it. You need to squash in the patch below in or

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 12:20 -0700, James Bottomley wrote: > On Thu, 2014-05-15 at 21:42 -0400, Michael H. Warfield wrote: > > On Thu, 2014-05-15 at 15:15 -0700, Greg Kroah-Hartman wrote: > > > > PS - Apparently both parallels and Michael independently > > > > project devices which are hot-plugged o

Re: [PATCH 3/5] workqueue: Create low-level unbound workqueues cpumask

2014-05-16 Thread Tejun Heo
Hello, again. On Fri, May 16, 2014 at 3:34 PM, Tejun Heo wrote: > On Fri, May 16, 2014 at 3:32 PM, Christoph Lameter wrote: >> It sets a bad precedent. So move to /sys/kernel/workqueue and lets have a >> symlink that goes back? > > Hmm... I don't think it's a good idea to lose uevent. It's an in

[PATCH] x86: fix page fault tracing when KVM guest support enabled

2014-05-16 Thread Dave Hansen
From: Dave Hansen I noticed on some of my systems that page fault tracing doesn't work: cd /sys/kernel/debug/tracing echo 1 > events/exceptions/enable cat trace; # nothing shows up I eventually traced it down to CONFIG_KVM_GUEST. At least in a KVM VM, enabling

Re: pull request: wireless 2014-05-15

2014-05-16 Thread David Miller
From: "John W. Linville" Date: Thu, 15 May 2014 11:45:46 -0400 > Please pull this batch of fixes for the 3.15 stream... Pulled, thanks a lot John. -- 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

Re: [PATCH] netdev: add support for interface name retrieval from DT aliases

2014-05-16 Thread Florian Fainelli
2014-05-09 1:26 GMT-07:00 Boris BREZILLON : > Hi David, > > On 09/05/2014 04:42, David Miller wrote: >> From: Boris BREZILLON >> Date: Tue, 6 May 2014 17:36:34 +0200 >> >>> There is currently no proper way to bind a net interface to a specific >>> name. The interface name is chosen based on the i

Re: uprobes && shmem (Was: uprobes: Shift ->readpage check from __copy_insn() to uprobe_register())

2014-05-16 Thread Oleg Nesterov
On 05/16, Hugh Dickins wrote: > > On Fri, 16 May 2014, Oleg Nesterov wrote: > > On 05/16, Oleg Nesterov wrote: > > > > > > copy_insn() fails with -EIO if ->readpage == NULL > > > > In particular, this means that we can not probe the binaries on tmpfs. > > This is pity. > > Yes, that is a pity: than

Re: [lxc-devel] Mount and other notifiers, was: [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 15:42 -0400, Michael H. Warfield wrote: > > As an aside (probably requiring a new thread) we were wondering about > > some type of notifier on the mount call that we could vector into the > > host to perform the action. The main issue for us is mount of procfs, > > which real

Re: [PATCH] pinctrl: add params in disable_setting for different usage

2014-05-16 Thread Stephen Warren
On 05/16/2014 10:21 AM, Linus Walleij wrote: > On Wed, May 14, 2014 at 4:01 AM, wrote: > >> From: Fan Wu >> >> The patch added params in disable_setting to differ the two possible usage, >> 1.Only want to disable the pin setting in SW aspect, param can be set to "0" >> 2.Want to disable the pin

Re: Replace strings across all the files using script

2014-05-16 Thread Joe Perches
On Fri, 2014-05-16 at 12:07 -0700, anish singh wrote: > I am planning to do some cleanup and want to > replace some string as below across all the files > in kernel. > pr_err("%s " > TO > pr_err("%s: " > > Basically adding semicolon after the %s. > How can i do it across all the files? I don't

Re: [RFC PATCH 3/3] clk: tegra: Implement Tegra124 shared/cbus clks

2014-05-16 Thread Mike Turquette
Quoting Stephen Warren (2014-05-15 13:20:21) > On 05/15/2014 04:52 AM, Peter De Schrijver wrote: > > On Wed, May 14, 2014 at 04:27:40PM +0200, Thierry Reding wrote: > >> * PGP Signed by an unknown key > >> > >> On Tue, May 13, 2014 at 12:09:49PM -0600, Stephen Warren wrote: > >>> On 05/13/2014 08:0

[GIT PULL] Ceph fixes for -rc6

2014-05-16 Thread Sage Weil
Hi Linus, Please pull the following Ceph fixes from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus The first patch fixes a problem when we have a page count of 0 for sendpage which is triggered by zfs. The second fixes a bug in CRUSH that was resolved in the us

[GIT PULL] parisc updates for v3.15

2014-05-16 Thread Helge Deller
Hi Linus, please pull the latest parisc architecture fixes for kernel 3.15 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.15-4 There are two patches in here: The first patch greatly improves latency and corrects the memory ordering in our light-weight ato

Re: [lxc-devel] Mount and other notifiers, was: [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Michael H. Warfield
On Fri, 2014-05-16 at 12:52 -0700, James Bottomley wrote: > On Fri, 2014-05-16 at 15:42 -0400, Michael H. Warfield wrote: > > > As an aside (probably requiring a new thread) we were wondering about > > > some type of notifier on the mount call that we could vector into the > > > host to perform the

Re: [PATCH 1/5] workqueue: Allow changing attributions of ordered workqueues

2014-05-16 Thread Tejun Heo
Hello, On Fri, May 16, 2014 at 06:16:51PM +0200, Frederic Weisbecker wrote: > From: Lai Jiangshan > > Changing the attributions of a workqueue imply the addition of new pwqs > to replace the old ones. But the current implementation doesn't handle > ordered workqueues because they can't carry mul

Re: [PATCH] bnx2x: Convert return 0 to return rc

2014-05-16 Thread Joe Perches
On Fri, 2014-05-16 at 12:02 +, Dmitry Kravkov wrote: > > -Original Message- > > From: netdev-ow...@vger.kernel.org [mailto:netdev- > > ow...@vger.kernel.org] On Behalf Of Joe Perches > > Sent: Friday, May 16, 2014 9:52 AM > > To: Ariel Elior; Dmitry Kravkov > > Cc: netdev; linux-kernel

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-16 Thread Seth Forshee
On Fri, May 16, 2014 at 12:28:35PM -0700, James Bottomley wrote: > On Fri, 2014-05-16 at 11:57 -0700, Greg Kroah-Hartman wrote: > > On Fri, May 16, 2014 at 09:06:07AM -0500, Seth Forshee wrote: > > > On Thu, May 15, 2014 at 09:35:32PM -0700, Greg Kroah-Hartman wrote: > > > > On Fri, May 16, 2014 at

Re: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-16 Thread Murali Karicheri
On 5/15/2014 2:20 PM, Arnd Bergmann wrote: On Thursday 15 May 2014 13:45:08 Murali Karicheri wrote: +#ifdef CONFIG_PCI_KEYSTONE +/* + * The KeyStone PCIe controller has maximum read request size of 256 bytes. + */ +static void quirk_limit_readrequest(struct pci_dev *dev) +{ +int readrq = pci

RE: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-16 Thread Karicheri, Muralidharan
>-Original Message- >From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] >Sent: Thursday, May 15, 2014 4:52 PM >To: Karicheri, Muralidharan >Cc: Arnd Bergmann; linux-arm-ker...@lists.infradead.org; Strashko, Grygorii; >linux- >p...@vger.kernel.org; Jingoo Han; linux-kernel@vger.

Re: [PATCH v1 RFC 6/6] KVM: s390: add cpu model support

2014-05-16 Thread Alexander Graf
On 16.05.14 17:39, Michael Mueller wrote: On Fri, 16 May 2014 14:08:24 +0200 Alexander Graf wrote: On 13.05.14 16:58, Michael Mueller wrote: This patch enables cpu model support in kvm/s390 via the vm attribute interface. During KVM initialization, the host properties cpuid, IBC value and t

Re: [Qemu-devel] [PATCH v1 RFC 3/6] KVM: s390: use facilities and cpu_id per KVM

2014-05-16 Thread Alexander Graf
On 16.05.14 18:09, Michael Mueller wrote: On Fri, 16 May 2014 16:49:37 +0200 Alexander Graf wrote: On 16.05.14 16:46, Michael Mueller wrote: On Fri, 16 May 2014 13:55:41 +0200 Alexander Graf wrote: On 13.05.14 16:58, Michael Mueller wrote: The patch introduces facilities and cpu_ids per

[PATCH V2 mmots] fs/hfsplus/wrapper.c: replace shift loop by fls

2014-05-16 Thread Fabian Frederick
Replace while blocksize;shift by fls -1 Suggested-By: Joe Perches Cc: Andrew Morton Signed-off-by: Fabian Frederick --- v2: rebased on top of mmots compiles without including bitops fs/hfsplus/wrapper.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/hfsplus/wrap

Re: Status of Power Supply Subsystem

2014-05-16 Thread Rafael J. Wysocki
On Friday, May 16, 2014 08:38:14 PM Sebastian Reichel wrote: > Hi, Hi, > It seems the maintainer of the power supply subsystem, Dmitry, has gone > missing > in action since about mid-Feburary. I couldn't find any mail from him on the > usual mailinglists, he did not reply to any of my mails and

RE: [PATCH v1 0/5] Add Keystone PCIe controller driver

2014-05-16 Thread Karicheri, Muralidharan
>-Original Message- >From: Jingoo Han [mailto:jg1@samsung.com] >Sent: Thursday, May 15, 2014 8:49 PM >To: Karicheri, Muralidharan >Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org; Shilimkar, Santosh; 'Russell King'; 'Grant >Likely'; '

[PATCH v4 4/5] arch/x86: Replace plain strings with constants

2014-05-16 Thread Daniel Kiper
Signed-off-by: Daniel Kiper --- arch/x86/kernel/setup.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index f41f648..7a67f5d 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -924,11 +924,11 @@ void

[PATCH v4 3/5] xen: Put EFI machinery in place

2014-05-16 Thread Daniel Kiper
Put EFI machinery for Xen in place. This patch is based on Jan Beulich and Tang Liang work. v4 - suggestions/fixes: - "just populate an efi_system_table_t object" (suggested by Matt Fleming). Signed-off-by: Jan Beulich Signed-off-by: Tang Liang Signed-off-by: Daniel Kiper --- arch/x8

[PATCH v4 2/5] xen: Define EFI related stuff

2014-05-16 Thread Daniel Kiper
Define EFI related stuff for Xen. This patch is based on Jan Beulich and Tang Liang work. v4 - suggestions/fixes: - change some types from generic to Xen specific ones (suggested by Stefano Stabellini), - do some formating changes (suggested by Jan Beulich). Signed-off-by: Jan Be

[PATCH v4 0/5] xen: Add EFI support

2014-05-16 Thread Daniel Kiper
Hey, This patch series adds EFI support for Xen dom0 guests. It is based on Jan Beulich and Tang Liang work. I was trying to take into account all previous comments, however, if I missed something sorry for that. I am still not sure what to do with /sys/firmware/efi/config_table, /sys/firmware/ef

[PATCH v4 5/5] arch/x86: Remove redundant set_bit() call

2014-05-16 Thread Daniel Kiper
Remove redundant set_bit(EFI_SYSTEM_TABLES, &efi.flags) call. It is executed earlier in efi_systab_init(). Signed-off-by: Daniel Kiper --- arch/x86/platform/efi/efi.c |2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 7fcef06..

[PATCH v4 1/5] efi: Introduce EFI_DIRECT flag

2014-05-16 Thread Daniel Kiper
Introduce EFI_DIRECT flag. If it is set this means that Linux Kernel has direct access to EFI infrastructure. If not then kernel runs on EFI platform but it has not direct control on EFI stuff. This functionality is used in Xen dom0. Signed-off-by: Daniel Kiper --- arch/x86/kernel/setup.c |

RE: [PATCH v1 2/5] pci: designware: enhancements to support keystone pcie

2014-05-16 Thread Karicheri, Muralidharan
Adding more to list. >-Original Message- >From: Karicheri, Muralidharan >Sent: Thursday, May 15, 2014 12:01 PM >To: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org >Cc: Karicheri, Muralidharan; Mohit Kumar; Jingoo Han; Bjorn Helgaas; >Shilim

RE: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-16 Thread Karicheri, Muralidharan
Adding more people to the list for review. >-Original Message- >From: Karicheri, Muralidharan >Sent: Thursday, May 15, 2014 12:02 PM >To: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org >Cc: Karicheri, Muralidharan; Shilimkar, Santosh; Mohit

RE: [PATCH v1 4/5] pci: dw: add common functions to support old hw based pci driver

2014-05-16 Thread Karicheri, Muralidharan
Adding more people to the list for review. >-Original Message- >From: Karicheri, Muralidharan >Sent: Thursday, May 15, 2014 12:02 PM >To: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org >Cc: Karicheri, Muralidharan; Shilimkar, Santosh; Mohit K

Re: [PATCH] bnx2x: Convert return 0 to return rc

2014-05-16 Thread David Miller
From: Joe Perches Date: Fri, 16 May 2014 13:12:24 -0700 > Couple things actually: > o Could you please update the MAINTAINER entry for > BNX2X? Ariel Elior's email address is still listed > as @broadcom and that seems to bounce. Let's please give the Broadcom folks a reasonable opportunity

Re: [PATCH] x86: fix page fault tracing when KVM guest support enabled

2014-05-16 Thread Steven Rostedt
On Fri, 16 May 2014 12:45:15 -0700 Dave Hansen wrote: > > Steven had an alternative to this which has zero overhead when > tracing is off where this includes the standard noops even when > tracing is disabled. I'm unconvinced that the extra complexity > of his apporach: > > http://lkml.ke

Re: [RFC][PATCH 2/3] PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily

2014-05-16 Thread Rafael J. Wysocki
On Friday, May 16, 2014 08:20:55 AM Jacob Pan wrote: > On Thu, 15 May 2014 11:58:55 -0400 (EDT) > Alan Stern wrote: > > > On Thu, 15 May 2014, Jacob Pan wrote: > > > > > On Thu, 15 May 2014 10:29:42 -0400 (EDT) > > > Alan Stern wrote: > > > > > > > On Thu, 15 May 2014, Jacob Pan wrote: > > > >

Re: [PATCH 5/5] workqueue: Allow modifying low level unbound workqueue cpumask

2014-05-16 Thread Tejun Heo
Hello, Frederic. On Fri, May 16, 2014 at 06:16:55PM +0200, Frederic Weisbecker wrote: > @@ -3643,6 +3643,7 @@ static int apply_workqueue_attrs_locked(struct > workqueue_struct *wq, > { > struct workqueue_attrs *new_attrs, *tmp_attrs; > struct pool_workqueue **pwq_tbl, *dfl_pwq; > +

Re: [PATCH 1/3] PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily

2014-05-16 Thread Rafael J. Wysocki
On Friday, May 16, 2014 10:27:37 AM Alan Stern wrote: > On Fri, 16 May 2014, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to > > resume all runtime-suspended devices during system suspend, mostly > > because thos

Re: [PATCH] x86: fix page fault tracing when KVM guest support enabled

2014-05-16 Thread H. Peter Anvin
On 05/16/2014 12:45 PM, Dave Hansen wrote: > From: Dave Hansen > > I noticed on some of my systems that page fault tracing doesn't > work: > > cd /sys/kernel/debug/tracing > echo 1 > events/exceptions/enable > cat trace; > # nothing shows up > > I eventually traced it do

Re: [PATCH 1/5] devres: Add devm_get_free_pages API

2014-05-16 Thread Tejun Heo
On Fri, May 16, 2014 at 11:26:35AM +0300, Eli Billauer wrote: > devm_get_free_pages() and devm_free_pages() are the managed counterparts > for __get_free_pages() and free_pages(). > > Signed-off-by: Eli Billauer Acked-by: Tejun Heo Thanks. -- tejun -- To unsubscribe from this list: send the

Re: [PATCH] x86: fix page fault tracing when KVM guest support enabled

2014-05-16 Thread Paolo Bonzini
Il 16/05/2014 22:53, H. Peter Anvin ha scritto: On 05/16/2014 12:45 PM, Dave Hansen wrote: From: Dave Hansen I noticed on some of my systems that page fault tracing doesn't work: cd /sys/kernel/debug/tracing echo 1 > events/exceptions/enable cat trace; # nothin

[PATCH 0/3] perf: disable sampled events if no PMU interrupt

2014-05-16 Thread Vince Weaver
Hello This patch series adds a common shared interface for returning ENOTSUPP if a user tries to create a sampled event (one with sample_period set) on a machine that has no usable PMU interrupt. Currently only x86 and ARM are implemented but if the patch is accepted then we can move other archit

Re: [PATCH 2/5] dma-mapping: Add devm_ interface for dma_map_single()

2014-05-16 Thread Tejun Heo
Hello, On Fri, May 16, 2014 at 11:26:36AM +0300, Eli Billauer wrote: > +dma_addr_t dmam_map_single(struct device *dev, void *ptr, size_t size, > +enum dma_data_direction direction) > + > +{ > + struct dma_devres *dr; > + dma_addr_t dma_handle; > + > + dr = devre

[PATCH 1/3] perf: disable sampled events if no PMU interrupt

2014-05-16 Thread Vince Weaver
Add common code to generate ENOTSUPP at event creation time if an architecture attempts to create a sampled event and PERF_PMU_NO_INTERRUPT is set. This adds a new pmu->capabilities flag. Initially we only support PERF_PMU_NO_INTERRUPT (to indicate a PMU has no support for generating hardware

Re: [PATCH 3/5] dma-mapping: pci: Add devm_ interface for pci_map_single

2014-05-16 Thread Tejun Heo
On Fri, May 16, 2014 at 11:26:37AM +0300, Eli Billauer wrote: > > Signed-off-by: Eli Billauer > --- > Documentation/driver-model/devres.txt |2 ++ > include/asm-generic/pci-dma-compat.h | 17 + > 2 files changed, 19 insertions(+), 0 deletions(-) The patch looks fine to me

Re: [PATCH] ARM: OMAP: omap3stalker: remove two Kconfig macros

2014-05-16 Thread Tony Lindgren
* Paul Bolle [140515 11:38]: > Checks for CONFIG_OMAP2_VENC_OUT_TYPE_SVIDEO and > CONFIG_OMAP2_VENC_OUT_TYPE_COMPOSITE were added in v2.6.35. But the > related Kconfig symbols have never been added to the tree. Remove these > checks. > > Initialize connector_type to OMAP_DSS_VENC_TYPE_COMPOSITE e

Re: [PATCH] ARM: OMAP: remove some dead code

2014-05-16 Thread Tony Lindgren
* Aaro Koskinen [140515 12:48]: > On Thu, May 15, 2014 at 09:16:21PM +0200, Paul Bolle wrote: > > A check for CONFIG_CBUS_TAHVO_USB was added in v2.6.17. The related > > Kconfig symbol has never been part of the tree. Remove that check. > > > > Replace the while (...) loop with a simple if (...)

Re: [PATCH] x86: fix page fault tracing when KVM guest support enabled

2014-05-16 Thread Dave Hansen
On 05/16/2014 02:01 PM, Paolo Bonzini wrote: > Yes, of course. Dave, ok to only have it in 3.16? Sure, it's been broken for a long time, so it's no hurry to get fixed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH 2/3] perf, ARM: use common PMU interrupt disabled code

2014-05-16 Thread Vince Weaver
Make the ARM perf code use the new common PMU interrupt disabled code. This allows perf to work on ARM machines without a working PMU interrupt (for example, raspberry pi). Signed-off-by: Vince Weaver diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c index a6bc431..4238b

Re: [PATCH] ARM: OMAP: SX1: remove check for CONFIG_SX1_OLD_FLASH

2014-05-16 Thread Tony Lindgren
* Paul Bolle [140515 12:42]: > A check for CONFIG_SX1_OLD_FLASH was added in v2.6.24. But the related > Kconfig symbol was never part of the tree. So we can remove some dead > code. Thanks applying into omap-for-v3.16/board. Tony -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [PATCH] ARM: OMAP: AM3517EVM: remove check for CONFIG_PANEL_SHARP_LQ043T1DG01

2014-05-16 Thread Tony Lindgren
* Paul Bolle [140515 12:55]: > The Kconfig symbol PANEL_SHARP_LQ043T1DG01 was removed in v2.6.38. The > check for CONFIG_PANEL_SHARP_LQ043T1DG01 and its MODULE variant has > evaluated to false ever since. Remove that check. Thanks applying into omap-for-v3.16/board. Tony -- To unsubscribe from t

[PATCH 3/3] perf,x86: use common PMU interrupt disabled code

2014-05-16 Thread Vince Weaver
Make the x86 perf code use the new common PMU interrupt disabled code. Typically most x86 machines have working PMU interrupts, although some older p6-class machines had this problem. Signed-off-by: Vince Weaver diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c i

Re: Building sh4 without CONFIG_EXPERT.

2014-05-16 Thread Randy Dunlap
On 05/11/2014 04:53 PM, Rob Landley wrote: > I got sh4 to work under QEMU years ago as part of my aboriginal linux > project, which builds the smallest Linux system capable of rebuilding > itself natively from source code. (You can download and run the system > images from http://landley.net/aborig

Re: [PATCH v2] ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP

2014-05-16 Thread Tony Lindgren
* Paul Bolle [140516 03:01]: > Commit 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built") > apparently required that checks for CONFIG_USB_GADGET_OMAP would be > replaced with checks for CONFIG_USB_OMAP. Do so now for the remaining > checks for CONFIG_USB_GADGET_OMAP, even though thes

[PATCH] sched/dl: Fix race between dl_task_timer() and sched_setaffinity()

2014-05-16 Thread Kirill Tkhai
The race is in unlocked task_rq() access. In pair with parallel call of sched_setaffinity() it may be a reason of corruption of internal rq's data. Signed-off-by: Kirill Tkhai CC: Juri Lelli CC: Peter Zijlstra CC: Ingo Molnar Cc: # v3.14 --- kernel/sched/deadline.c |9 - 1 file c

Kernel Failure - 3.4.24 Similar USB MO To 3.4.89 Kernel Failure

2014-05-16 Thread John L. Males
ntpdate[17863]: step time server 142.4.209.106 > offset -7.350323 sec > > Linux 3.4.24-kernel.org-jlm-010-amd64 #1 SMP PREEMPT Sun Dec > 23 10:06:41 EST 2012 > > Modified Debian GNU/Linux 6.0.3 (squeeze) > (Evaluating alternatives to Debian) > > -BEGIN PGP SIGNATURE- >

[GIT PULL] target fixes for v3.15-rc6

2014-05-16 Thread Nicholas A. Bellinger
Hello Linus, Here are the target-pending fixes for v3.15-rc6. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This series include: - Close race between iser-target network portal shutdown + accepting new connection logins (sag

Re: SCSI "staging" tree for linux-next?

2014-05-16 Thread Nicholas A. Bellinger
On Fri, 2014-05-16 at 15:38 +0200, Hannes Reinecke wrote: > On 05/15/2014 07:26 AM, Christoph Hellwig wrote: > > Hi James, > > > > we're past -rc5 and no SCSI patches have been collected for 3.16 yet, > > despite a lot of patches including a lot of reviewed ones pending on the > > list. > > > > I'd

[PATCH 1/8] ixgbe: Out of line ixgbe_read/write_reg

2014-05-16 Thread Andi Kleen
From: Andi Kleen ixgbe_read_reg and ixgbe_write_reg are frequently called and are very big because they have complex error handling code. Moving them out of line saves ~27k text in the ixgbe driver. textdata bss dec hex filename 142208732008072 1507328 17736273

[PATCH 5/8] x86: Out of line get_dma_ops

2014-05-16 Thread Andi Kleen
From: Andi Kleen Out of lining the complex version of get_dma_ops saves about 6.8k on my kernel. 141014152004040 1507328 1761278310cbfef vmlinux-before-dma 140946292004040 1507328 1760599710ca56d vmlinux-dma Signed-off-by: Andi Kleen --- arch/x86/include/asm/dm

[PATCH 4/8] e1000e: Out of line __ew32_prepare/__ew32

2014-05-16 Thread Andi Kleen
From: Andi Kleen Out of lining these two common inlines saves about 30k text size, due to their errata workarounds. 141314312008136 1507328 1764689510d452f vmlinux-before-e1000e 141014152004040 1507328 1761278310cbfef vmlinux-e1000e Cc: jeffrey.t.kirs...@intel.co

[PATCH 8/8] Kbuild: add inline-account tool to find inline bloat

2014-05-16 Thread Andi Kleen
From: Andi Kleen Add a tool to hunt for inline bloat. It uses objdump -S to account inlines. Example output: Total code bytes seen 10463206 Code bytes by functions: Function Total Avg Num kmalloc37

[PATCH 2/8] radeonfb: Out of line errata workarounds

2014-05-16 Thread Andi Kleen
From: Andi Kleen Out of lining _radeon_msleep and radeon_pll_errata_* saves about 40k text. 141936732003976 1507328 1770497710e2811 vmlinux-before-radeon 141527132003976 1507328 1766401710d8811 vmlinux-radeon Cc: Benjamin Herrenschmidt Cc: linux-fb...@vger.kerne

Fix some common inline bloat

2014-05-16 Thread Andi Kleen
It's very easy to bloat the kernel code significantly by adding code to commonly called inlines. Often these inlines start small, but later when new code is added they don't get moved out-of-line. I wrote a new tool to account for inline bloat. Addressing selected occurrences in the top-20 of my k

[PATCH 6/8] ftrace: Out of line ftrace_trigger_soft_disabled

2014-05-16 Thread Andi Kleen
From: Andi Kleen Out of lining this function saves about 14k text textdata bss dec hex filename 140946292004040 1507328 1760599710ca56d vmlinux-before-ftrace 140796502008136 1507328 1759511410c7aea vmlinux-ftrace Signed-off-by: Andi Kleen ---

[PATCH 7/8] radeon: Out of line radeon_get_ib_value

2014-05-16 Thread Andi Kleen
From: Andi Kleen Saves about 5k of text textdata bss dec hex filename 140803602008168 1507328 1759585610c7dd0 vmlinux-before-radeon 140749782008168 1507328 1759047410c68ca vmlinux-radeon Cc: alexander.deuc...@amd.com Cc: dri-de...@lists.freedes

[PATCH 3/8] list: Out of line INIT_LIST_HEAD and list_del

2014-05-16 Thread Andi Kleen
From: Andi Kleen Out of lining these two inlines saves ~21k on my vmlinux 141527132003976 1507328 1766401710d8811 vmlinux-before-list 141314312008136 1507328 1764689510d452f vmlinux-list Signed-off-by: Andi Kleen --- include/linux/list.h | 15 --- l

Re: [GIT PULL] ACPI and power management fixes for v3.15-rc6

2014-05-16 Thread Rafael J. Wysocki
Hi Linus, Sorry for this last-minute update, but it's just turned out that one of the new ACPI video blacklist entries was added overzealously and added is a commit reverting it. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.15-rc6 to receive A

Re: [PATCH] memcg: deprecate memory.force_empty knob

2014-05-16 Thread Greg Thelen
On Tue, May 13 2014, Michal Hocko wrote: > force_empty has been introduced primarily to drop memory before it gets > reparented on the group removal. This alone doesn't sound fully > justified because reparented pages which are not in use can be reclaimed > also later when there is a memory pres

Re: SCSI "staging" tree for linux-next?

2014-05-16 Thread James Bottomley
On Fri, 2014-05-16 at 15:38 +0200, Hannes Reinecke wrote: > On 05/15/2014 07:26 AM, Christoph Hellwig wrote: > > Hi James, > > > > we're past -rc5 and no SCSI patches have been collected for 3.16 yet, > > despite a lot of patches including a lot of reviewed ones pending on the > > list. > > > > I'd

[PATCH 3/3][update] ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend

2014-05-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend Rework the ACPI PM domain's PM callbacks to avoid resuming devices during system suspend (in order to modify their wakeup settings etc.) if that isn't necessary. Signed-off-by: Rafael J. W

[PATCH 2/2] Kbuild: Add a option to enable dwarf4

2014-05-16 Thread Andi Kleen
From: Andi Kleen I found that a lot of unresolvable variables when using gdb on the kernel become resolvable when dwarf4 is enabled. So add a Kconfig flag to enable it. It definitely increases the debug information size, but on the other hand this isn't so bad when debug fusion is used. Signed-

[PATCH 1/2] kbuild: Support split debug info v3

2014-05-16 Thread Andi Kleen
From: Andi Kleen This is an alternative approach to lower the overhead of debug info (as we discussed a few days ago) gcc 4.7+ and newer binutils have a new "split debug info" debug info model where the debug info is only written once into central ".dwo" files. This avoids having to copy it aro

Re: [RFC PATCH 1/5] thermal: cpu_cooling: Support passing driver private data.

2014-05-16 Thread Rafael J. Wysocki
On Thursday, May 15, 2014 02:33:07 PM Eduardo Valentin wrote: > Hello Amit, > > > On Thu, May 08, 2014 at 08:07:56PM +0530, Amit Daniel Kachhap wrote: > > This patch is in preparation to add notfication support for cpufrequency > > cooling changes. This change also removes the unnecessary exposin

Re: [PATCH v1 2/5] pci: designware: enhancements to support keystone pcie

2014-05-16 Thread Kumar Gala
On May 15, 2014, at 11:01 AM, Murali Karicheri wrote: > keystone pcie hardware is based on designware hw version 3.65. > There is no support for ATU port and has registers in > application space to configure inbound/outbound access. Also > doesn't support PCI PVM option. The MSI IRQ registers av

[PATCH 3/4] staging/wlan-ng: multicast address checking

2014-05-16 Thread Denis Pithon
Used is_multicast_ether_addr() to perform the checking. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 13fe068..63edc

[PATCH 4/4] staging/wlan-ng: rearrange comments

2014-05-16 Thread Denis Pithon
Gathered together comments in front of multicast filtering block. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c inde

[PATCH 2/4] staging/wlan-ng: compare using ether_addr_equal_unaligned

2014-05-16 Thread Denis Pithon
Replaced generic memcmp() with dedicated ether_addr_equal_unaligned() call. I did not find any clue of u16 alignment for both addresses. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wl

Re: [PATCH v2 1/4] KVM: x86: use new CS.RPL as CPL during task switch

2014-05-16 Thread Paolo Bonzini
Il 15/05/2014 18:51, Paolo Bonzini ha scritto: During task switch, all of CS.DPL, CS.RPL, SS.DPL must match (in addition to all the other requirements) and will be the new CPL. So far this worked by carefully setting the CS selector and flag before doing the s/flag/EFLAGS/ task switch; howev

Re: [PATCHv2 3/4] clk: new basic clk type for fractional divider

2014-05-16 Thread Rafael J. Wysocki
On Thursday, May 15, 2014 09:53:49 AM Mike Turquette wrote: > Quoting Heikki Krogerus (2014-05-15 06:40:25) > > Fractional divider clocks are fairly common. This adds basic > > type for them. > > > > Signed-off-by: Heikki Krogerus > > Taken into clk-next. > > Just FYI, there was some talk at Em

Re: [PATCH v2] ARM: imx: fix error handling

2014-05-16 Thread Dan Carpenter
On Fri, May 16, 2014 at 09:24:51PM +0200, Uwe Kleine-König wrote: > I didn't check if it is easily possible, but converting this file to use > platform_device_register_full might simplify it considerably. In a separate patch, though, please. > > I'm not sure this fix is critical, because the pro

[PATCH] staging/wlan-ng: log with netdev_xxx and dev_xxx

2014-05-16 Thread Denis Pithon
Wherever possible, replaced printk() and pr_xxx() calls with netdev_xxx() / dev_xxx() calls; used pr_xxx() otherwise. Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 45 +- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/dr

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-16 Thread Jiri Kosina
On Fri, 16 May 2014, Steven Rostedt wrote: > > With lazy-switching implemented in kgraft, this can never happen. > > > > So I'd like to ask for a little bit more explanation why you think the > > stop_machine()-based patching provides more sanity/consistency assurance > > than the lazy switchin

[PATCH 1/4] staging/wlan-ng: add prefix to function name

2014-05-16 Thread Denis Pithon
Renamed convert_frame_to_ether() to p80211_convert_to_ether(). Signed-off-by: Denis Pithon --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211netdev.c b/drivers/staging/wlan-ng/p80211netdev.c index 6

Re: mm: NULL ptr deref handling mmaping of special mappings

2014-05-16 Thread Andy Lutomirski
On Thu, May 15, 2014 at 3:15 PM, Andy Lutomirski wrote: > On Thu, May 15, 2014 at 2:57 PM, Cyrill Gorcunov wrote: >> On Thu, May 15, 2014 at 02:42:48PM -0700, Andy Lutomirski wrote: >>> > >>> > Looking forward the question appear -- will VDSO_PREV_PAGES and rest of >>> > variables >>> > be kind

Re: [PATCH v1 5/5] pci: keystone: add pcie driver based on designware core driver

2014-05-16 Thread Murali Karicheri
On 5/15/2014 12:28 PM, Arnd Bergmann wrote: On Thursday 15 May 2014 12:01:32 Murali Karicheri wrote: +Sample bindings shown below:- + + - Remove ti,enable-linktrain if boot loader already does Link training and do EP + configuration. + - Remove ti,init-phy if boot loader already initialize th

Re: [PATCH] PM / OPP: fix incorrect OPP count handling in of_init_opp_table

2014-05-16 Thread Rafael J. Wysocki
On Friday, May 16, 2014 04:43:31 PM Viresh Kumar wrote: > On 16 May 2014 16:21, Chander Kashyap wrote: > > In of_init_opp_table function, if a failure to add an OPP is > > detected, the count of OPPs, yet to be added is not updated. > > Fix this by decrementing this count on failure as well. > > >

Re: [PATCH v2] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-05-16 Thread Heiko Stübner
Hi Max, today I finally had the time to test your i2c driver. Before testing I adapted it to our newly agreed grf handling, the result can be found at [0]. Works like a charm :-) . As you can see, support for the upcoming rk3288 is also included - which only supports the new-style i2c IP and th

Re: [PATCH v2] ARM: imx: fix error handling

2014-05-16 Thread Emil Goode
On Sat, May 17, 2014 at 01:21:08AM +0300, Dan Carpenter wrote: > On Fri, May 16, 2014 at 09:24:51PM +0200, Uwe Kleine-König wrote: > > I didn't check if it is easily possible, but converting this file to use > > platform_device_register_full might simplify it considerably. > > In a separate patch

Re: [PATCH v1 2/5] pci: designware: enhancements to support keystone pcie

2014-05-16 Thread Murali Karicheri
On 5/16/2014 6:15 PM, Kumar Gala wrote: On May 15, 2014, at 11:01 AM, Murali Karicheri wrote: keystone pcie hardware is based on designware hw version 3.65. There is no support for ATU port and has registers in application space to configure inbound/outbound access. Also doesn't support PCI PV

[PATCH 3.4 7/9] tracepoint: Do not waste memory on mods with no tracepoints

2014-05-16 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 7dec935a3aa04412cba2cebe1524ae0d34a30c24 upstream. No reason to allocate tp_module structures for modules that have no tracepoints. This just wastes memory. F

<    2   3   4   5   6   7   8   >