Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-13 Thread Gerd Hoffmann
On 02/07/13 01:23, Andy King wrote: > +static int vsock_create(struct net *net, struct socket *sock, > + int protocol, int kern) > +{ > + if (!sock) > + return -EINVAL; > + > + if (protocol) > + return -EPROTONOSUPPORT; > + IMO protocol ==

Re: [PATCH -next 1/1] net: skbuff: fix compile error in skb_panic()

2013-02-13 Thread Sedat Dilek
On Wed, Feb 13, 2013 at 12:20 PM, James Hogan wrote: > I get the following build error on next-20130213 due to the following > commit: > > commit f05de73bf82fbbc00265c06d12efb7273f7dc54a ("skbuff: create > skb_panic() function and its wrappers"). > > It adds an argu

Re: [PATCH 6/6] dma: tegra20-apb-dma: remove unnecessary assignment

2013-02-13 Thread Laxman Dewangan
On Tuesday 12 February 2013 04:28 PM, Andy Shevchenko wrote: There is no need to assign 0 to residue, because dma_cookie_status() does this for us. Signed-off-by: Andy Shevchenko --- For this change(6/6), Acked-by: Laxman Dewangan -- To unsubscribe from this list: send the line

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-13 Thread Kasatkin, Dmitry
On Mon, Feb 11, 2013 at 10:11 PM, Vivek Goyal wrote: > appraise_type=imasig_optional will allow appraisal to pass even if no > signatures are present on the file. If signatures are present, then it > has to be valid digital signature, otherwise appraisal will fail. > > This can allow to

[tip:x86/urgent] x86/mm: Check if PUD is large when validating a kernel address

2013-02-13 Thread tip-bot for Mel Gorman
Commit-ID: 0ee364eb316348ddf3e0dfcd986f5f13f528f821 Gitweb: http://git.kernel.org/tip/0ee364eb316348ddf3e0dfcd986f5f13f528f821 Author: Mel Gorman AuthorDate: Mon, 11 Feb 2013 14:52:36 + Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 10:02:55 +0100 x86/mm: Check if PUD is

Re: [PATCH 2/2] ima: Support appraise_type=imasig_optional

2013-02-13 Thread Kasatkin, Dmitry
Hello Vivek, Can you please send to us how your IMA policy looks like. Thanks, Dmitry On Tue, Feb 12, 2013 at 8:57 PM, Vivek Goyal wrote: > On Tue, Feb 12, 2013 at 01:52:03PM -0500, Vivek Goyal wrote: >> On Tue, Feb 12, 2013 at 12:14:07PM -0500, Mimi Zohar wrote: >> >> [..] >> > > > > ---

[tip:core/locking] x86/smp: Limit spinlock delay on virtual machines

2013-02-13 Thread tip-bot for Rik van Riel
Commit-ID: 12b682864a336d72bfd507244649bd1066d90e43 Gitweb: http://git.kernel.org/tip/12b682864a336d72bfd507244649bd1066d90e43 Author: Rik van Riel AuthorDate: Thu, 7 Feb 2013 16:24:49 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 09:07:21 +0100 x86/smp: Limit spinlock

Re: [PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

2013-02-13 Thread Gleb Natapov
On Wed, Feb 13, 2013 at 12:55:26PM +0100, Borislav Petkov wrote: > On Wed, Feb 13, 2013 at 01:47:47PM +0200, Gleb Natapov wrote: > > On Wed, Feb 13, 2013 at 12:42:41PM +0100, Borislav Petkov wrote: > > > From: Borislav Petkov > > > > > > The "x86, AMD: Enable WC+ memory type on family 10

[tip:core/locking] x86/smp: Keep spinlock delay values per hashed spinlock address

2013-02-13 Thread tip-bot for Eric Dumazet
Commit-ID: e3c94ba97ac742a4c03713629da131fef53b2237 Gitweb: http://git.kernel.org/tip/e3c94ba97ac742a4c03713629da131fef53b2237 Author: Eric Dumazet AuthorDate: Wed, 6 Feb 2013 15:06:47 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 09:06:30 +0100 x86/smp: Keep spinlock

[tip:core/locking] x86/smp: Auto tune spinlock backoff delay factor

2013-02-13 Thread tip-bot for Rik van Riel
Commit-ID: 4cf780c77b5ef7e3170f68820bc239a689c16d5b Gitweb: http://git.kernel.org/tip/4cf780c77b5ef7e3170f68820bc239a689c16d5b Author: Rik van Riel AuthorDate: Wed, 6 Feb 2013 15:05:29 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 09:06:30 +0100 x86/smp: Auto tune spinlock

Re: [PATCH] sched: fix env->src_cpu for active migration

2013-02-13 Thread Vincent Guittot
Damien, Regarding your sched_domain config and especially the flags field, you should not be impacted by my patch because - need_active_balance is the only new place that use env->src_cpu in the load_balance function - and your machine will never test the condition: "env->src_cpu > env->dst_cpu"

[tip:core/locking] x86/smp: Implement proportional backoff for ticket spinlocks

2013-02-13 Thread tip-bot for Rik van Riel
Commit-ID: 4c13d231339a8dc7ca056476fa10d95369080c8c Gitweb: http://git.kernel.org/tip/4c13d231339a8dc7ca056476fa10d95369080c8c Author: Rik van Riel AuthorDate: Wed, 6 Feb 2013 15:04:42 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 09:06:29 +0100 x86/smp: Implement

[tip:core/locking] x86/smp: Move waiting on contended ticket lock out of line

2013-02-13 Thread tip-bot for Rik van Riel
Commit-ID: 4aef331850b637169ff036ed231f0d236874f310 Gitweb: http://git.kernel.org/tip/4aef331850b637169ff036ed231f0d236874f310 Author: Rik van Riel AuthorDate: Wed, 6 Feb 2013 15:04:03 -0500 Committer: Ingo Molnar CommitDate: Wed, 13 Feb 2013 09:06:28 +0100 x86/smp: Move waiting on

[PATCH 1/5] metag: export metag_code_cache_flush_all

2013-02-13 Thread James Hogan
Various file systems indirectly use metag_code_cache_flush_all(), so when they're built as modules we get build errors like the following: ERROR: "metag_code_cache_flush_all" [fs/xfs/xfs.ko] undefined! Therefore export this function to modules to fix the errors. This was hit by a randconfig

[PATCH 4/5] genksyms: fix metag symbol prefix on crc symbols

2013-02-13 Thread James Hogan
Meta uses symbol prefixes, so add "metag" to the list of architectures to set the mod_prefix to "_" for. This fixes __crc_* symbols to add the extra underscore to match _CRC_SYMBOL macro in and so that modpost finds them. Signed-off-by: James Hogan --- scripts/genksyms/genksyms.c |3 ++- 1

[PATCH 3/5] metag: hugetlb: convert to vm_unmapped_area()

2013-02-13 Thread James Hogan
Convert hugetlb_get_unmapped_area_new_pmd() to use vm_unmapped_area() rather than searching the virtual address space itself. This fixes the following errors in linux-next due to the specified members being removed after other architectures have already been converted:

[PATCH 5/5] metag: move irq enable out of irqflags.h on SMP

2013-02-13 Thread James Hogan
The SMP version of arch_local_irq_enable() uses preempt_disable(), but doesn't include causing the following errors on SMP when pstore/ftrace is enabled (caught by buildbot smp allyesconfig): In file included from include/linux/irqflags.h:15, from fs/pstore/ftrace.c:16:

[PATCH 0/5] metag: second set of misc patches for v3.9

2013-02-13 Thread James Hogan
Here is the second set of miscellaneous metag patches that I'll be adding to the tip of the metag tree for v3.9. James Hogan (5): metag: export metag_code_cache_flush_all metag: export clear_page and copy_page metag: hugetlb: convert to vm_unmapped_area() genksyms: fix metag symbol prefix

[PATCH 2/5] metag: export clear_page and copy_page

2013-02-13 Thread James Hogan
Various file systems use clear_page() and copy_page(), so when they're built as modules we get build errors like the following: ERROR: "clear_page" [fs/ntfs/ntfs.ko] undefined! ERROR: "copy_page" [fs/nilfs2/nilfs2.ko] undefined! Therefore export these functions to modules from metag_ksyms.c to

Re: [PATCH 0/4] pci: Add PCI_BUS() and PCI_DEVID() interfaces to return bus number and device id

2013-02-13 Thread Joerg Roedel
Hi Bjorn, On Mon, Feb 11, 2013 at 04:00:14PM -0700, Shuah Khan wrote: > pci defines PCI_DEVFN(), PCI_SLOT(), and PCI_FUNC() interfaces, however, > it doesn't have interfaces to return PCI bus and PCI device id. Drivers > (AMD IOMMU, and AER) have module specific definitions for PCI_BUS() and >

Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

2013-02-13 Thread Peter Hurley
On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov wrote: > On Tue, Feb 12, 2013 at 04:39:03PM -0800, H. Peter Anvin wrote: > > On 02/12/2013 04:26 PM, Peter Hurley wrote: > > > With -next-20130204+ in ubuntu 12.10 VM (so the 80x25 VGA > > > device/console): > > > > > > [0.666410] udevd[97]:

Re: [PATCH] staging/comedi: Fix undefined array subscript

2013-02-13 Thread Ian Abbott
On 2013-02-13 07:32, Dan Carpenter wrote: On Wed, Feb 13, 2013 at 04:30:54AM +0100, Peter Huewe wrote: In vmk80xx_do_insn_bits the local variable reg, which is used as an index to the tx_buf array, can be used uninitialized if - data[0] == 0 and - devpriv->model != VMK8061_MODEL -> we get into

Re: [PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

2013-02-13 Thread Borislav Petkov
On Wed, Feb 13, 2013 at 01:47:47PM +0200, Gleb Natapov wrote: > On Wed, Feb 13, 2013 at 12:42:41PM +0100, Borislav Petkov wrote: > > From: Borislav Petkov > > > > The "x86, AMD: Enable WC+ memory type on family 10 processors" patch > > currently in -tip added a workaround for AMD F10h CPUs which

Re: [PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

2013-02-13 Thread Gleb Natapov
On Wed, Feb 13, 2013 at 12:42:41PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > The "x86, AMD: Enable WC+ memory type on family 10 processors" patch > currently in -tip added a workaround for AMD F10h CPUs which #GPs my > guest when booted in kvm. This is because it accesses

RE: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-13 Thread Philip, Avinash
On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: > On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: > > +static int elm_suspend(struct device *dev) > > +{ > > + struct elm_info *info = dev_get_drvdata(dev); > > + wait_queue_head_t wq; > > +

[PATCH] x86, kvm: Add MSR_AMD64_BU_CFG2 to the list of ignored MSRs

2013-02-13 Thread Borislav Petkov
From: Borislav Petkov The "x86, AMD: Enable WC+ memory type on family 10 processors" patch currently in -tip added a workaround for AMD F10h CPUs which #GPs my guest when booted in kvm. This is because it accesses MSR_AMD64_BU_CFG2 which is not currently ignored by kvm. Do that because this MSR

[PATCH] mm: Limit pgd range freeing to mm->task_size

2013-02-13 Thread Catalin Marinas
ARM processors with LPAE enabled use 3 levels of page tables, with an entry in the top level (pgd) covering 1GB of virtual space. Because of the branch relocation limitations on ARM, the loadable modules are mapped 16MB below PAGE_OFFSET, making the corresponding 1GB pgd shared between kernel

Re: [PATCH 3/3 RESEND] mmc: sdhci: check voltage range only on regulators aware of voltage value

2013-02-13 Thread Mark Brown
On Wed, Feb 13, 2013 at 08:45:56AM +0100, Guennadi Liakhovetski wrote: > On Wed, 13 Feb 2013, Marek Szyprowski wrote: > > BTW, mmc_regulator_get_ocrmask() won't work with continuous range > > regulators. > This seems like a problem, that has to be fixed... Indeed, what's the issue?

key signing request: folks in Bangalore

2013-02-13 Thread Vineet Gupta
Hi, Sorry for the explicit CCs. I'm looking for people in/around Bangalore who can sign my gpg key. Background: I'm the maintainer of a new Linux kernel port (ARC Linux) which has been discussed on lkml and arch mailing lists in recent months. The port is already in Linux next and for further

[GIT PULL] at91: more DT changes related to MTD for 3.9

2013-02-13 Thread Nicolas Ferre
Hi Olof, Arnd, I would like you to consider this little pull request for modification of some AT91 Device Tree files. We have had a discussion about this material earlier and now that Artem has queued the driver modifications for MTD, I would like to know if it is possible to add these two

Re: [PATCH] of: dma.c: fix memory leakage

2013-02-13 Thread Cong Ding
On Tue, Feb 12, 2013 at 09:40:25AM -0800, Vinod Koul wrote: > On Tue, Jan 22, 2013 at 10:10:53AM +, Cong Ding wrote: > > On Sun, Jan 20, 2013 at 04:24:49PM -0600, Rob Herring wrote: > > > On 01/19/2013 07:06 AM, Cong Ding wrote: > > > > The memory allocated to ofdma might be a leakage when

Re: [REGRESSION] [nailed] USB boot failure: USB: EHCI: make ehci-pci a separate driver

2013-02-13 Thread Colin Guthrie
'Twas brillig, and Andreas Mohr at 13/02/13 10:05 did gyre and gimble: > Indeed, > adding > > ehci_pci > > to /etc/initramfs-tools/modules and running > > update-initramfs -u -k 3.7.0-rc5+ > > to get /boot/initrd.img-3.7.0-rc5+ > of the formerly broken -rc5+ build corrected > manages to fix

[PATCH -next 1/1] net: skbuff: fix compile error in skb_panic()

2013-02-13 Thread James Hogan
I get the following build error on next-20130213 due to the following commit: commit f05de73bf82fbbc00265c06d12efb7273f7dc54a ("skbuff: create skb_panic() function and its wrappers"). It adds an argument called panic to a function that uses the BUG() macro which tries to

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Mel Gorman
On Wed, Feb 13, 2013 at 12:10:31PM +0100, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > Andrew or Ingo, please pick up. > > Already did - will push it out later today. > Whoops, thanks. Sorry for the noise. -- Mel Gorman SUSE Labs -- To unsubscribe from this list: send the line

Re: [PATCH 2/5] iommu: remove redundant NULL check before dma_ops_domain_free().

2013-02-13 Thread Joerg Roedel
On Tue, Feb 12, 2013 at 05:01:50AM +0100, Cyril Roelandt wrote: > dma_ops_domain_free on a NULL pointer is a no-op, so the NULL check in > amd_iommu_init_dma_ops() can be removed. > > Signed-off-by: Cyril Roelandt > --- > drivers/iommu/amd_iommu.c |3 +-- > 1 file changed, 1 insertion(+), 2

Re: [PATCH v2] gpio: mcp23s08: convert driver to DT

2013-02-13 Thread Lars Poeschel
On Monday 11 February 2013 at 22:25:51, Grant Likely wrote: > On Mon, 11 Feb 2013 12:52:42 +0100, Lars Poeschel wrote: > > +Optional device specific properties: > > +- mcp,chips : This is a table with 2 columns and up to 8 entries. The > > first column + is a is_present flag, that makes

Re: iio: adc: add exynos5 adc driver under iio framwork

2013-02-13 Thread Naveen Krishna Ch
Hello Guenter, I've s setup like the below one, kindly, help me find the right device tree not params ADC 0 1 1 1 1 On 13 February 2013 08:18, Naveen Krishna Ch wrote: > On 13 February 2013 02:37, Guenter Roeck wrote: >> On Wed, Jan 23, 2013 at 04:58:06AM

Re: [PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Ingo Molnar
* Mel Gorman wrote: > Andrew or Ingo, please pick up. Already did - will push it out later today. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-02-13 Thread Gerd Hoffmann
On 02/12/13 16:21, Andy King wrote: > Hi Gerd, > >>> +struct vsock_transport { > ... >> Whoa. This has grown *alot*. Care to explain this please? Patch >> creating a Documentation/virtual/vsock.txt would be cool. > > Yes, it grew because of the notification stuff, which I'd forgotten > about

[PATCH] x86: mm: Check if PUD is large when validating a kernel address v2

2013-02-13 Thread Mel Gorman
Andrew or Ingo, please pick up. Changelog since v1 o Add reviewed-bys and acked-bys A user reported a bug whereby a backup process accessing /proc/kcore caused an oops. BUG: unable to handle kernel paging request at bb00ff33b000 IP: [] kern_addr_valid+0xbe/0x110 PGD 0 Oops: [#1]

[PATCH] Remove obsolete email address for Zwane Mwaikambo

2013-02-13 Thread Russell King - ARM Linux
Zwane's arm.linux.org.uk email address has not been functional for a number of years now. It's time that all references to it were removed. I no longer have a forwarding address for Zwane, as I had assumed that my repeated requests over a number of years to Zwane to avoid use of this address had

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Simon Horman
On Wed, Feb 13, 2013 at 10:45:13AM +0100, Guennadi Liakhovetski wrote: > Hi Magnus > > On Fri, 14 Dec 2012, Magnus Damm wrote: > > > clocksource: sh_cmt: CMT driver update > > > > [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() > > fails > > [PATCH 02/08]

Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

2013-02-13 Thread Gleb Natapov
On Tue, Feb 12, 2013 at 04:39:03PM -0800, H. Peter Anvin wrote: > On 02/12/2013 04:26 PM, Peter Hurley wrote: > > With -next-20130204+ in ubuntu 12.10 VM (so the 80x25 VGA > > device/console): > > > > [0.666410] udevd[97]: starting version 175 > > [0.674043] udevd[97]: udevd:[97]:

[PATCH v2] MAINTAINERS: Remove Mark M. Hoffman

2013-02-13 Thread Jean Delvare
Mark M. Hoffman stopped working on the Linux kernel several years ago, so he should no longer be listed as a driver maintainer. I'm not even sure if his e-mail address still works. I can take over 3 drivers he was responsible for, the 4th one will fall down to the subsystem maintainer. Also give

[PATCH 2/5] fb: hx8357: Fix inverted parameters for kcalloc

2013-02-13 Thread Maxime Ripard
The element size and the number of elements was inverted in the kcalloc call. Signed-off-by: Maxime Ripard --- drivers/video/backlight/hx8357.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index

Re: [PATCH] memcg: Add memory.pressure_level events

2013-02-13 Thread Kamezawa Hiroyuki
Hi, (2013/02/11 9:02), Anton Vorontsov wrote: diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index addb1f1..006ef58 100644 --- a/Documentation/cgroups/memory.txt +++ b/Documentation/cgroups/memory.txt @@ -40,6 +40,7 @@ Features: - soft limit - moving

[PATCH 4/5] fb: hx8357: Remove trailing period

2013-02-13 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- drivers/video/backlight/hx8357.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index 7c82561..6da8ebe 100644 --- a/drivers/video/backlight/hx8357.c +++

[PATCH 5/5] fb: hx8357: Use static arrays for LCD configuration

2013-02-13 Thread Maxime Ripard
This allows a smaller and less error-prone code by using static arrays and the ARRAY_SIZE macro. Signed-off-by: Maxime Ripard --- drivers/video/backlight/hx8357.c | 173 +- 1 file changed, 95 insertions(+), 78 deletions(-) diff --git

[PATCH 1/5] fb: hx8357: Change parameters of the write function to u8

2013-02-13 Thread Maxime Ripard
Moving from void* to u8* removes the need for castslater on in the function. Signed-off-by: Maxime Ripard --- drivers/video/backlight/hx8357.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index

[PATCH 3/5] fb: hx8357: Remove useless error message

2013-02-13 Thread Maxime Ripard
In case of a failing allocation, a dump stack will be printed anyway, so the dev_err is redundant. Signed-off-by: Maxime Ripard --- drivers/video/backlight/hx8357.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/backlight/hx8357.c

Re: MAINTAINERS: Remove Mark M. Hoffman

2013-02-13 Thread Jean Delvare
On Tue, 12 Feb 2013 16:46:01 -0800, Andrew Morton wrote: > On Fri, 8 Feb 2013 10:54:37 +0100 > Jean Delvare wrote: > > > Mark M. Hoffman stopped working on the Linux kernel several years > > ago, so he should no longer be listed as a driver maintainer. I'm not > > even sure if his e-mail address

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Wed 13-02-13 12:11:59, Glauber Costa wrote: > On 02/12/2013 09:37 PM, Johannes Weiner wrote: > >> > All reads from root->dead_count are atomic already, so I am not sure > >> > what you mean here. Anyway, I hope I won't make this even more confusing > >> > if I post what I have right now: > >

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 12:37:41, Johannes Weiner wrote: > On Tue, Feb 12, 2013 at 06:12:16PM +0100, Michal Hocko wrote: [...] > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > > index 727ec39..31bb9b0 100644 > > --- a/mm/memcontrol.c > > +++ b/mm/memcontrol.c > > @@ -144,8 +144,13 @@ struct

Re: [PATCH 1/9] virtio: add functions for piecewise addition of buffers

2013-02-13 Thread Michael S. Tsirkin
On Wed, Feb 13, 2013 at 09:06:27AM +0100, Paolo Bonzini wrote: > Il 12/02/2013 21:49, Michael S. Tsirkin ha scritto: > > On Tue, Feb 12, 2013 at 09:08:27PM +0100, Paolo Bonzini wrote: > >> Il 12/02/2013 19:23, Michael S. Tsirkin ha scritto: > >>> On Tue, Feb 12, 2013 at 07:04:27PM +0100, Paolo

[PATCH RFC 5/5] UBIFS: add ubifs_err() to print error reason

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure This patch add ubifs_err() output to some error pathes to tell the user what's going on. Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/dir.c | 20 fs/ubifs/xattr.c | 12 ++-- 2 files changed, 26

[PATCH RFC 4/5] UBIFS: Add security.* XATTR support for the UBIFS

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/dir.c | 16 +++ fs/ubifs/journal.c |3 +- fs/ubifs/super.c |1 + fs/ubifs/ubifs.h |4 +++ fs/ubifs/xattr.c | 79

[PATCH RFC 3/5] UBIFS: Add xattr support for symlinks

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/file.c |4 fs/ubifs/xattr.c | 18 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index 5bc7781..ed9655c 100644 ---

[PATCH RFC 2/5] UBIFS: fix couple bugs in UBIFS extended attribute length calculation

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/journal.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c index afaad07..6981d7d 100644 --- a/fs/ubifs/journal.c +++

[PATCH RFC 1/5] UBIFS: xattr: protect ui_size and data_len by ui_mutex

2013-02-13 Thread Marc Kleine-Budde
This patch moves the modification of ui->ui_size and ui->data_len in the create_xattr() and change_xattr() functions, so that they are protected by the ui_mutex as stated in the documenation of the the struct ubifs_inode. Signed-off-by: Marc Kleine-Budde --- fs/ubifs/xattr.c |8 1

[RFC PATCH 0/5] UBIFS: improve xattr and add support for security.* XATTR

2013-02-13 Thread Marc Kleine-Budde
Hello, this patch series is based on Subodh Nijsure's patch [1] from May 2012. I've splitted up the patch into smaller changes and fixed a locking problem. This series is tested on mx28-evk with NAND. However, With lockdep enabled a possible circular locking dependency is detected, as reported in

Re: [RFC PATCH 0/8] virtio: new API for addition of buffers, scatterlist changes

2013-02-13 Thread Rusty Russell
Jens Axboe writes: > On Fri, Feb 08 2013, Rusty Russell wrote: >> Paolo Bonzini writes: >> > The virtqueue_add_buf function has two limitations: >> > >> > 1) it requires the caller to provide all the buffers in a single call; >> > >> > 2) it does not support chained scatterlists: the buffers

RE: [PATCH vringh 2/2] caif_virtio: Introduce caif over virtio

2013-02-13 Thread Rusty Russell
Sjur BRENDELAND writes: > Hi Rusty, > >> From: Rusty Russell [mailto:ru...@rustcorp.com.au] >> sjur.brandel...@stericsson.com writes: >> > +struct cfv_napi_context { >> > + struct vringh_kiov riov; >> > + unsigned short head; >> > +}; >> >> Usually we use an int, and -1. I imagine it'll take

Re: [PATCH V3] ia64/mm: fix a bad_page bug when crash kernel booting

2013-02-13 Thread Matt Fleming
On Thu, 2013-02-07 at 14:09 +0800, Xishi Qiu wrote: > > Sorry, this bug will be happen when use Sparse-Memory(section is valid, but > > last > > > several pages are invalid). If use Flat-Memory, crash kernel will boot > > successfully. > > I think the following patch would be better. > > > >

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 16:26:46 -0700, Stephen Warren wrote: > On 02/11/2013 03:19 PM, Grant Likely wrote: > > of_get_next_available_child() obtains the devtree_lock and then calls > > of_device_is_available() which also attempts to claim the lock. This is > > obviously incorrect and causes a

Re: [REGRESSION] [nailed] USB boot failure: USB: EHCI: make ehci-pci a separate driver

2013-02-13 Thread Andreas Mohr
Indeed, adding ehci_pci to /etc/initramfs-tools/modules and running update-initramfs -u -k 3.7.0-rc5+ to get /boot/initrd.img-3.7.0-rc5+ of the formerly broken -rc5+ build corrected manages to fix boot. On Wed, Feb 13, 2013 at 08:44:09AM +0100, Andreas Mohr wrote: > (is there a way to

Re: [PATCH v3 5/5] gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch replaces the horribly coded of_count_named_gpios() with a call to of_count_phandle_with_args() which is far more efficient. This also changes the return value of of_gpio_count() & of_gpio_named_count() from 'unsigned int' to 'int' so that it

Re: [PATCH v3 4/5] of: Create function for counting number of phandles in a property

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch creates of_count_phandle_with_args(), a new function for counting the number of phandle+argument tuples in a given property. This is better than the existing method of parsing each phandle individually until parsing fails which is a horribly

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread anish singh
On Wed, Feb 13, 2013 at 2:51 PM, Ingo Molnar wrote: > > * anish singh wrote: > >> Is the below patch picked up? >> >> On Sun, Feb 3, 2013 at 9:31 PM, anish kumar >> wrote: >> > From: anish kumar >> > >> > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is >> >

Re: [patch for-3.8] net, sctp: remove CONFIG_EXPERIMENTAL

2013-02-13 Thread Steven Whitehouse
Hi, On Tue, 2013-02-12 at 16:24 -0800, David Rientjes wrote: > From: Kees Cook > > This config item has not carried much meaning for a while now and is > almost always enabled by default. As agreed during the Linux kernel > summit, remove it. > > Acked-by: David S. Miller > Acked-by: Vlad

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 10:43 AM, Ben Skeggs wrote: > On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: >> On 02/13/2013 04:35 AM, Peter Hurley wrote: >>> On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please let me know.

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 14:53:58, Johannes Weiner wrote: [...] > iteration: > rcu_read_lock() > dead_count = atomic_read(>dead_count) > smp_rmb() > previous = iterator->position > if (iterator->dead_count != dead_count) >/* A cgroup in our hierarchy was killed, pointer might be dangling */ >don't

Re: [PATCH] regulator: as3711: Fix checking if no platform initialization data

2013-02-13 Thread Guennadi Liakhovetski
On Wed, 13 Feb 2013, Axel Lin wrote: > To skip registering regulator if no platform initialization data, > we should check reg_data rather than ri->desc.name. > > Signed-off-by: Axel Lin Acked-by: Guennadi Liakhovetski Thanks Guennadi > --- > drivers/regulator/as3711-regulator.c |2 +-

[PATCH nf-next] netfilter: nf_ct_reasm: fix per-netns sysctl initialization

2013-02-13 Thread Michal Kubecek
Adjusting of data pointers in net/netfilter/nf_conntrack_frag6_* sysctl table for other namespaces points to wrong netns_frags structure and has reversed order of entries. Problem introduced by commit c038a767cd69 in 3.7-rc1 Signed-off-by: Michal Kubecek ---

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Guennadi Liakhovetski
Hi Magnus On Fri, 14 Dec 2012, Magnus Damm wrote: > clocksource: sh_cmt: CMT driver update > > [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() > fails > [PATCH 02/08] clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in > sh_cmt_setup() > [PATCH 03/08]

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Ben Skeggs
On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: > On 02/13/2013 04:35 AM, Peter Hurley wrote: > > On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: > >> 3.7-stable review patch. If anyone has any objections, please let me know. > > > > FWIW, I never saw this on 3.7 but it

Re: [char-misc-next 01/12 v3] mei: Rename mei_device to mei_host

2013-02-13 Thread Samuel Ortiz
On Tue, Feb 12, 2013 at 11:09:00PM +, Arnd Bergmann wrote: > On Tuesday 12 February 2013, gre...@linuxfoundation.org wrote: > > > > > > > Please let's find something that makes both hw and Linux happy > > > I still believe it makes sense to use mei_device for what we add to the > > > MEI > >

[PATCH 1/9] extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-gpio.c | 2 +- include/linux/extcon/extcon-gpio.h | 52 ++ include/linux/extcon/extcon_gpio.h | 52 -- 3 files changed, 53

[PATCH] USB: EHCI: make ehci-mv a separate driver

2013-02-13 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar Cc: Greg KH Cc: Alan Stern Cc: Eric Miao Cc: Haojian Zhuang Cc: Russell King Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org ---

[PATCH 4/9] extcon: max8997: Move defined constant to header file

2013-02-13 Thread Chanwoo Choi
This patch move defined constants to header file(max77693-private.h) because of mask/unmask selectively interrupt of MUIC device according to attribute of H/W board. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 92

Re: [PATCH 1/2] perf stat: refactor aggregation code

2013-02-13 Thread Stephane Eranian
On Wed, Feb 13, 2013 at 8:50 AM, Namhyung Kim wrote: > Hi Stephane, > > On Tue, 12 Feb 2013 15:09:27 +0100, Stephane Eranian wrote: >> Refactor aggregation code by introducing >> a single aggr_mode variable and an enum >> for aggregation. >> >> Also refactor cpumap code having to do >> with cpu

[PATCH 3/9] extcon: max77693: Remove unnecessary goto statement to improve readability

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max77693.c | 77 ++-- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 3b1f238..b70e381

[PATCH 2/9] extcon: max77693: Convert to devm_input_allocate_device()

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index a645268..3b1f238 100644 ---

[PATCH 7/9] extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type

2013-02-13 Thread Chanwoo Choi
This patch make max8997_muic_get_cable_type() function to remove duplicate code for checking ADC/Charger cable type because almost internal function need to read adc/chg_type value of MUIC register. Also, remove *_detach() function, extcon-max8997 driver treat attach/detach operation of cable in

[PATCH 5/9] extcon: max8997: Remove duplicate code related to set H/W line path

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 62 ++--- include/linux/mfd/max8997-private.h | 19 +++- 2 files changed, 69 insertions(+), 12 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c

[PATCH 8/9] extcon: max8997: Set default UART/USB path on probe

2013-02-13 Thread Chanwoo Choi
This patch set default H/W line path according to platfomr data. The MAX8997 MUIC device can possibly set UART/USB or UART_AUX /USB_AUX to internal H/W line path of MUIC device. Namely, only one H/W line is used for two operation. For example, if H/W line path of MAX8997 device set UART/USB,

[PATCH 6/9] extcon: max8997: Set default of ADC debounce time during initialization

2013-02-13 Thread Chanwoo Choi
This patch set default of ADC Debounce Time(25ms) during probe step. Also, can possible change ADC Debounce Time according to H/W situation by using max8997_set_adc_debounce_time() Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 42

[PATCH 9/9] extcon: max8997: Use workqueue to check cable state after completing boot of platform

2013-02-13 Thread Chanwoo Choi
This patch use delayed workqueue to check cable state after a certain time. If extcon-max8997 driver check cable state during booting of platform, this couldn't send the correct notification of cable state to extcon consumer. Alwasys, this driver should check cable state after the completion of

[PATCH 0/9] extcon: Update for extcon-max8997/77693

2013-02-13 Thread Chanwoo Choi
This patchset add a few new feature of extcon-max8997 and fix minor issue of extcon-max8997/77693. Update extcon-max8997 driver - Consolidate duplicate code - Set default uart/usb path for internal line of muic device - Set default ADC debounce time - Use wq to check cable state after certain

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 04:35 AM, Peter Hurley wrote: > On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: >> 3.7-stable review patch. If anyone has any objections, please let me know. > > FWIW, I never saw this on 3.7 but it happened 1st time on 3.8-rcX > I haven't tested this fix either.

Re: MODSIGN without RTC?

2013-02-13 Thread Alexander Holler
Am 07.02.2013 08:01, schrieb Alexander Holler: And the dream of every vendor, finally a working expiration date. And a nice TV-B-Gone, just feed a wrong date once. ;) Just in case someone missed what I wanted to hint: That date problem has implications for devices with a RTC too. If they

[PATCH 1/5] arm: dts: omap4-sdp: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 4430sdp results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

[PATCH 3/5] arm: dts: omap4-panda: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap4 panda results in the following error [0.27] omap_i2c 4807.i2c: did not get pins for i2c error: -19 [0.445770] omap_i2c 4807.i2c: bus 0 rev0.11 at 400 kHz [0.473937] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [0.474670] omap_i2c

[PATCH 5/5] arm: dts: omap5-evm: Add mcspi data

2013-02-13 Thread Sourav Poddar
Add mcspi node and pinmux data for omap5 mcspi controller. Tested on omap5430 evm with 3.8-rc6 custom kernel. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5-evm.dts | 46 +++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git

[PATCH 4/5] arm: dts: omap5: add SPI devices to OMAP5 DeviceTree file

2013-02-13 Thread Sourav Poddar
From: Felipe Balbi Add all 4 mcspi instances to omap5.dtsi file. Signed-off-by: Felipe Balbi Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5.dtsi | 40 1 files changed, 40 insertions(+), 0 deletions(-) diff --git

[PATCH 2/5] arm: dts: omap5-evm: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 5430evm results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

[PATCH 0/5] omap[4/5] I2c/Spi dts patches

2013-02-13 Thread Sourav Poddar
Hi Tony, These patches were send as seperate ones before[1], but did not recieve any comments. Resending them all as a single patch series, as some affect the same files. [1]: https://patchwork.kernel.org/patch/2054891/ https://patchwork.kernel.org/patch/2054871/

Re: [ 00/36] 3.4.31-stable review

2013-02-13 Thread Satoru Takeuchi
At Tue, 12 Feb 2013 12:40:54 -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.31 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Ingo Molnar
* Pekka Enberg wrote: > I think Ingo confused virtio and vhost. IIRC, Asias developed > vhost-blk using tools/kvm. Erm, indeed - sorry. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread Ingo Molnar
* anish singh wrote: > Is the below patch picked up? > > On Sun, Feb 3, 2013 at 9:31 PM, anish kumar > wrote: > > From: anish kumar > > > > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is > > multifold. > > Uses are: > > 1. Check if smpboot_register_percpu_thread

Re: [PATCH v3] IIO ADC support for AD7923

2013-02-13 Thread Jonathan Cameron
On 13/02/13 09:19, Lars-Peter Clausen wrote: On 02/13/2013 07:47 AM, Christophe Leroy wrote: This patch adds support for Analog Devices AD7923 ADC in the IIO Subsystem. Signed-off-by: Patrick Vasseur Signed-off-by: Christophe Leroy Looks good, thanks. Reviewed-by: Lars-Peter Clausen

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