[PATCH V3 5/7] mfd: samsung: Add s2mps11 irq driver

2012-07-11 Thread Sangbeom Kim
This patch support irq handling driver for s2mps11. As this patch use regmap_irq, s5m8767 and s5m8763 are modified with regmap_irq. Signed-off-by: Sangbeom Kim --- drivers/mfd/Kconfig |1 + drivers/mfd/sec-irq.c| 477 --

[PATCH V3 7/7] MAINTAINRES: Add maintainer for samsung mfd driver

2012-07-11 Thread Sangbeom Kim
There are many samsung multifunction devices which are s2mps11, s5m8767, s5m8763 etc. This devices can support regulator, rtc, charger. I will be supporting the Samsung mfd drivers, that are currently in development and will be upstreamed shortly. Signed-off-by: Sangbeom Kim --- MAINTAINERS |

[PATCH V3 6/7] regualtor: s2mps11: Add samsung s2mps11 regulator driver

2012-07-11 Thread Sangbeom Kim
This patch add Samsung S2MPS11 regulator driver. The S2MPS11 can support 10 Bucks and 38 LDOs and RTC. Especially, S2MPS11 is designed for high performance Samsung application processor. Signed-off-by: Sangbeom Kim --- drivers/regulator/Kconfig |8 + drivers/regulator/Makefile |1 +

Re: [PATCH V2 5/5] perf/x86: Add Intel Nehalem-EX uncore support

2012-07-11 Thread Yan, Zheng
On Wed, Jul 11, 2012 at 5:57 PM, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 10:06 +0800, Yan, Zheng wrote: >> This doesn't work. The MSRs for Cbox 8/9 in WSM-EX aren't contiguous with >> Cbox 0~7. > > Argh! > >> Furthermore the encoding for the FVC register in the Mbox are >> different

[PATCH V3 4/7] mfd: s2mps11: Add samsung s2mps11 mfd support

2012-07-11 Thread Sangbeom Kim
This patch add Samsung S2MPS11 mfd driver. The S2MPS11 can support regulators and RTC. Signed-off-by: Sangbeom Kim --- drivers/mfd/sec-core.c | 10 ++ include/linux/mfd/samsung/core.h| 10 ++ include/linux/mfd/samsung/s2mps11.h | 196 +++ 3

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Raghavendra K T
On 07/11/2012 05:25 PM, Christian Borntraeger wrote: On 11/07/12 13:51, Raghavendra K T wrote: Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. Perhaps x86 should copy this. See arch/s390/lib/spinlock.c The basic idea is using several

[PATCH V3 3/7] mfd: samsung: Modify samsung mfd header

2012-07-11 Thread Sangbeom Kim
As Prefix of Samsung pmic changed from s5m to s2m, To make common mfd driver for s2m and s5m series, This patch rename header of Samsung mfd and modify mfd driver. Signed-off-by: Sangbeom Kim --- drivers/mfd/sec-core.c |6 +- drivers/mfd/sec-irq.c|5 +-

[PATCH V3 2/7] mfd: samsung: Modify samsung mfd driver for common api

2012-07-11 Thread Sangbeom Kim
Previous naming rule of samsung pmic start with s5m prefix. But It is changed by s2m. To cover various samsung s2m and s5m series, This patch modify function and variable name for common usage. Signed-off-by: Sangbeom Kim --- drivers/mfd/sec-core.c | 130 +++---

[PATCH V3 0/7] Initial release of Samsung S2MPS11 pmic driver

2012-07-11 Thread Sangbeom Kim
The S2MPS11 is comprised of high efficient Buck converters, various LDOs, and an RTC and tightly coupled with Multi Core Samsung Application Processors, which is used in a wide variety of mobile applications such as smart phones and tablet PCs. S2MPS11 provide 10 high efficiency buck converters

Re: [Ksummit-2012-discuss] ARM mini-summit

2012-07-11 Thread Catalin Marinas
On Wed, Jul 11, 2012 at 12:28:29PM +0100, Arnd Bergmann wrote: > On Wednesday 11 July 2012, James Bottomley wrote: > > Hi All, > > > > We have set aside the second day of the kernel summit (Tuesday 28 > > August) as mini-summit day. So far we have only the PCI mini summit on > > this day, so if

Re: [PATCH RFC 1/2] kvm vcpu: Note down pause loop exit

2012-07-11 Thread Raghavendra K T
On 07/11/2012 04:48 PM, Avi Kivity wrote: On 07/11/2012 01:52 PM, Raghavendra K T wrote: On 07/11/2012 02:23 PM, Avi Kivity wrote: On 07/09/2012 09:20 AM, Raghavendra K T wrote: Signed-off-by: Raghavendra K T Noting pause loop exited vcpu helps in filtering right candidate to yield. Yielding

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Christian Borntraeger
On 11/07/12 13:51, Raghavendra K T wrote: Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. >>> >>> Perhaps x86 should copy this. >> >> See arch/s390/lib/spinlock.c >> The basic idea is using several heuristics: >> - loop for a given amount

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Raghavendra K T
On 07/11/2012 03:47 PM, Christian Borntraeger wrote: On 11/07/12 11:06, Avi Kivity wrote: [...] Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. Perhaps x86 should copy this. See arch/s390/lib/spinlock.c The basic idea is using several

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Alexander Graf
On 11.07.2012, at 13:23, Avi Kivity wrote: > On 07/11/2012 02:16 PM, Alexander Graf wrote: >>> yes the data structure itself seems based on the algorithm and not on arch specific things. That should work. If we move that to common code then s390 will use that scheme

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-11 Thread Avi Kivity
On 07/11/2012 02:23 PM, Jan Kiszka wrote: >> >> I'd appreciate a couple of examples for formality's sake. > > From the top of my head: NVIDIA FX3700 (granted, legacy by now), Atheros > AR9287. For others, I need to check. Thanks. >> >>> And then there is not easily replaceable legacy hardware

[RFC PATCH] tun: don't zeroize sock->file on detach

2012-07-11 Thread Stanislav Kinsbursky
This is a fix for bug, introduced in 3.4 kernel by commit 1ab5ecb90cb6a3df1476e052f76a6e8f6511cb3d, which, among other things, replaced simple sock_put() by sk_release_kernel(). Below is sequence, which leads to oops for non-persistent devices: tun_chr_close() tun_detach()

RE: [PATCH 2/7] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Sethi Varun-B16395
> -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Joerg Roedel > Sent: Wednesday, July 11, 2012 4:19 PM > To: io...@lists.linux-foundation.org > Cc: linux-kernel@vger.kernel.org > Subject: [PATCH 2/7]

[PATCH RFT] regulator: tps65910: Remvoe tps65910_reg_[read|modify_bits|read_locked|write_locked] functions

2012-07-11 Thread Axel Lin
The tps65910 mfd driver has been converted to regmap APIs. This patch adds tps65910_reg_update_bits() in include/linux/mfd/tps65910.h. Thus we can use tps65910_reg_read/tps65910_reg_write/tps65910_reg_update_bits directly and remove tps65910_reg_[read|modify_bits|read_locked|write_locked]

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Avi Kivity
On 07/11/2012 02:18 PM, Christian Borntraeger wrote: > On 11/07/12 13:04, Avi Kivity wrote: >> On 07/11/2012 01:17 PM, Christian Borntraeger wrote: >>> On 11/07/12 11:06, Avi Kivity wrote: >>> [...] > Almost all s390 kernels use diag9c (directed yield to a given guest cpu) > for

Re: pr_cat() + CATSTR(name, size)?

2012-07-11 Thread Kay Sievers
On Wed, 2012-07-11 at 12:33 +0200, Kay Sievers wrote: > Hey Joe, > > what do you think of this? > > It would make composing continuation lines at the caller side entirely > race-free, and it might fit into the usual pattern. > > The more interesting thing, this would allow us to completely

[RFC internal PATCH] mfd/mc13xxx: drop modifying driver's id_table in probe

2012-07-11 Thread Uwe Kleine-König
This was introduced in commit 876989d (mfd: Add device tree probe support for mc13xxx) for spi and later while introducing support for i2c copied to the i2c driver. Modifying driver details is very strange, for example probing an mc13892 device (instantiated via dt) removes the driver's

ARM mini-summit

2012-07-11 Thread Arnd Bergmann
On Wednesday 11 July 2012, James Bottomley wrote: > Hi All, > > We have set aside the second day of the kernel summit (Tuesday 28 > August) as mini-summit day. So far we have only the PCI mini summit on > this day, so if you can think of other topics, please send them to the > kernel summit

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-11 Thread Alan Cox
> What if they add 64-bit ARM support to arch/x86? AFAIK some of the > machines are going to be basically PCs, including legacy I/O, ACPI > and UEFI, so they are much closer to that than they are to anything > in arch/arm. The instruction set of course is different, but you > already said that

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Avi Kivity
On 07/11/2012 02:16 PM, Alexander Graf wrote: >> >>> yes the data structure itself seems based on the algorithm >>> and not on arch specific things. That should work. If we move that to >>> common >>> code then s390 will use that scheme automatically for the cases were we >>> call >>>

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-11 Thread Jan Kiszka
On 2012-07-11 12:49, Avi Kivity wrote: > On 07/11/2012 01:18 PM, Jan Kiszka wrote: >> On 2012-07-11 11:53, Avi Kivity wrote: >>> On 07/03/2012 10:21 PM, Alex Williamson wrote: Here's the latest iteration of adding an interface to assert and de-assert level interrupts from external

Re: [PATCH v3 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-11 Thread Andrei Emeltchenko
Hi Masatake, On Wed, Jul 11, 2012 at 01:58:31PM +0900, Masatake YAMATO wrote: > (The patch sets are rebased to bluetooth-next. Unnecessary white > spaces are trimmed.) > > lsof command can tell the type of socket processes are using. > Internal lsof uses inode numbers on socket fs to resolve the

Re: [RESEND/PATCHv5 1/2] drivers: input: keypad: Add device tree support

2012-07-11 Thread Poddar, Sourav
Hi Dmitry, On Wed, Jul 11, 2012 at 3:15 PM, Poddar, Sourav wrote: > Hi Dmitry, > > On Tue, Jul 10, 2012 at 11:43 AM, Dmitry Torokhov > wrote: >> Hi Sourav, >> >> On Fri, Jun 08, 2012 at 04:22:59PM +0530, Sourav Poddar wrote: >>> Update the Documentation with omap4 keypad device tree >>> binding

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Christian Borntraeger
On 11/07/12 13:04, Avi Kivity wrote: > On 07/11/2012 01:17 PM, Christian Borntraeger wrote: >> On 11/07/12 11:06, Avi Kivity wrote: >> [...] Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. >>> >>> Perhaps x86 should copy this. >> >> See

Re: [PATCH RFC 1/2] kvm vcpu: Note down pause loop exit

2012-07-11 Thread Avi Kivity
On 07/11/2012 01:52 PM, Raghavendra K T wrote: > On 07/11/2012 02:23 PM, Avi Kivity wrote: >> On 07/09/2012 09:20 AM, Raghavendra K T wrote: >>> Signed-off-by: Raghavendra K T >>> >>> Noting pause loop exited vcpu helps in filtering right candidate to >>> yield. >>> Yielding to same vcpu may

Re: [PATCH 0/6] Fix for leapsecond caused hrtimer/futex issue (updated)

2012-07-11 Thread Ingo Molnar
* John Stultz wrote: > Over the weekend, Thomas got a chance to review the leap > second fix in more detail and had a few additional changes he > wanted to make to improve performance as well as style. > > So this iteration includes his modifications. Yep, looks much saner now that the

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Alexander Graf
On 11.07.2012, at 13:04, Avi Kivity wrote: > On 07/11/2012 01:17 PM, Christian Borntraeger wrote: >> On 11/07/12 11:06, Avi Kivity wrote: >> [...] Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. >>> >>> Perhaps x86 should copy this. >>

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-11 Thread Purdila, Octavian
On Wed, Jul 11, 2012 at 5:09 AM, Ram Pai wrote: > > Wait.. I am not sure this will fix the problem entirely. The above check > will handle the case where the range requested is entirey out of the > root's range. But if the requested range overlapps that of the root > range, we will still call

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Avi Kivity
On 07/11/2012 01:17 PM, Christian Borntraeger wrote: > On 11/07/12 11:06, Avi Kivity wrote: > [...] >>> Almost all s390 kernels use diag9c (directed yield to a given guest cpu) >>> for spinlocks, though. >> >> Perhaps x86 should copy this. > > See arch/s390/lib/spinlock.c > The basic idea is

[PATCH 5/7] iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
Implement the attribute for the MSM IOMMU driver. Acked-by: David Brown Signed-off-by: Joerg Roedel --- drivers/iommu/msm_iommu.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index cee307e..6a8870a 100644 ---

Re: [PATCH 0/6] Fix for leapsecond caused hrtimer/futex issue (updated)

2012-07-11 Thread Peter Zijlstra
On Tue, 2012-07-10 at 18:43 -0400, John Stultz wrote: > Over the weekend, Thomas got a chance to review the leap second fix > in more detail and had a few additional changes he wanted to make > to improve performance as well as style. > > So this iteration includes his modifications. > > Once

Re: [PATCH RFC 1/2] kvm vcpu: Note down pause loop exit

2012-07-11 Thread Raghavendra K T
On 07/11/2012 02:23 PM, Avi Kivity wrote: On 07/09/2012 09:20 AM, Raghavendra K T wrote: Signed-off-by: Raghavendra K T Noting pause loop exited vcpu helps in filtering right candidate to yield. Yielding to same vcpu may result in more wastage of cpu. struct kvm_lpage_info { diff --git

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-11 Thread Catalin Marinas
Hi Rusty, On Wed, Jul 11, 2012 at 06:26:49AM +0100, Rusty Russell wrote: > On Tue, 10 Jul 2012 16:52:18 +, Arnd Bergmann wrote: > > On Tuesday 10 July 2012, Alan Cox wrote: > > > > In the AArch32 kernel port many implementation decisions newer > > > > architectures were made in a way that

[PATCH 3/7] iommu/vt-d: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
Implement the attribute for the Intel IOMMU driver. Signed-off-by: Joerg Roedel --- drivers/iommu/intel-iommu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-iommu.c index b12af2f..6cb0791 100644 --- a/drivers/iommu/intel-iommu.c

[PATCH 2/7] iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
Implement the attribute itself and add the code for the AMD IOMMU driver. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c |4 drivers/iommu/iommu.c | 19 --- include/linux/iommu.h |8 3 files changed, 28 insertions(+), 3 deletions(-)

[PATCH 1/7] iommu: Add domain-attribute handlers

2012-07-11 Thread Joerg Roedel
This patch introduces an extension to the iommu-api to get and set attributes for an iommu_domain. Two functions are introduced for this: * iommu_domain_get_attr() * iommu_domain_set_attr() These functions will be used to make the iommu-api suitable for GART-like IOMMUs and to

[PATCH 7/7] iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
Implement the attribute for the Samsung Exynos IOMMU driver. Signed-off-by: Joerg Roedel --- drivers/iommu/exynos-iommu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c index 9a114b9..5c40937 100644 ---

[PATCH 4/7] iommu/omap: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
Implement the attribute for the OMAP IOMMU driver. Signed-off-by: Joerg Roedel --- drivers/iommu/omap-iommu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index e70ee2b..d0b1234 100644 --- a/drivers/iommu/omap-iommu.c +++

[PATCH 6/7] iommu/tegra: Implement DOMAIN_ATTR_GEOMETRY attribute

2012-07-11 Thread Joerg Roedel
From: Hiroshi DOYU Implement the attribute for the Tegra IOMMU drivers. Signed-off-by: Hiroshi DOYU Signed-off-by: Joerg Roedel --- drivers/iommu/tegra-gart.c |5 + drivers/iommu/tegra-smmu.c |5 + 2 files changed, 10 insertions(+) diff --git a/drivers/iommu/tegra-gart.c

[PATCH 0/7] Make IOMMU-API ready for GART-like hardware

2012-07-11 Thread Joerg Roedel
Hi, here is finally a new version of this patch-set. Changes to the previous version include: * Rebased to v3.5-rc6 * Added missing Acked-by's The potential issue with type-safety still exists. But since people are desperatly waiting for the functionality of this patch-set I

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-11 Thread Avi Kivity
On 07/11/2012 01:18 PM, Jan Kiszka wrote: > On 2012-07-11 11:53, Avi Kivity wrote: >> On 07/03/2012 10:21 PM, Alex Williamson wrote: >>> Here's the latest iteration of adding an interface to assert and >>> de-assert level interrupts from external drivers like vfio. These >>> apply on top of the

Re: [PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-11 Thread Arnd Bergmann
On Wednesday 11 July 2012, Tomoya MORINAGA wrote: > Currently, when a user wants to change UART clock, > needs to modify this source code by hand. > This patch enables changing UART clock by specifying UART clock > as module parameter. > > Signed-off-by: Tomoya MORINAGA This looks like a rather

Re: 3.5-rc5: radeon acceleration regression on Transmeta system

2012-07-11 Thread Meelis Roos
> > It's actually more complicated than that. Old kernel images started > > misbehaving from around 2.6.35-rc5 and any kernel older than that was > > OK. When I recompiled the older kernels with squeeze gcc (migh have been > > lenny gcc before, or different answers to make oldconfig), anything

[PATCH] Extend core dump note section to contain file names of mapped files

2012-07-11 Thread Denys Vlasenko
Hi, Resending the patch after a while. Jonathan, developer of CERT Triage Tools, expressed the need to have this information, CCing him. But before looking at the attached patch, we need a ruling. In the last review it was proposed to maybe generate this information in the form of ASCII text,

Re: mmotm 2012-07-10-16-59 uploaded

2012-07-11 Thread Michal Hocko
On Tue 10-07-12 17:01:47, Andrew Morton wrote: > The mm-of-the-moment snapshot 2012-07-10-16-59 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > It contains the following patches against 3.5-rc6: > (patches marked "*" will be included in linux-next)

pr_cat() + CATSTR(name, size)?

2012-07-11 Thread Kay Sievers
Hey Joe, what do you think this? It would make composing continuation lines at the caller side entirely race-free, and it might fit into the usual pattern. The more interesting thing, this would allow us to completely race-free use the dev_printk() calls with continuation content, which we

Re: [PATCH 00/83] staging: comedi: rtd520: initial cleanup

2012-07-11 Thread Ian Abbott
On 2012-07-11 11:20, Ian Abbott wrote: On 2012-07-11 00:36, H Hartley Sweeten wrote: My main concern with this series of patches is they make it harder to determine what the register accesses actually do, mainly due to the removal of useful comments. For example: - RtdPacerStart(dev);

Re: [PATCH RESEND] spi: tegra: use dmaengine based dma driver

2012-07-11 Thread Laxman Dewangan
On Wednesday 11 July 2012 03:45 PM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Jul 11, 2012 at 03:30:42PM +0530, Laxman Dewangan wrote: On Wednesday 11 July 2012 03:25 PM, Mark Brown wrote: I believe you have applied for the ASoC one. This is for spi one. No, there's a

Re: [PATCH 00/83] staging: comedi: rtd520: initial cleanup

2012-07-11 Thread Ian Abbott
On 2012-07-11 00:36, H Hartley Sweeten wrote: The 'devpriv' macro usage in this driver is holding up other cleanup of the comedi drivers. This patch series removes all the macros used to read/write the hardware registers. All of them are simple wrappers around standard {read,write}[rwl] calls

Re: [PATCHv6 3/5] ext4: remove unnecessary superblock dirtying

2012-07-11 Thread Artem Bityutskiy
On Wed, 2012-07-11 at 12:11 +0200, Jan Kara wrote: > > > So case 2.b is a bit controversial, but I think it is acceptable. After > > > all, by > > > enabling checksumming we already sign up for paying the price of > > > calculating > > > it. The way to improve checksumming performance globally

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-11 Thread Jan Kiszka
On 2012-07-11 11:53, Avi Kivity wrote: > On 07/03/2012 10:21 PM, Alex Williamson wrote: >> Here's the latest iteration of adding an interface to assert and >> de-assert level interrupts from external drivers like vfio. These >> apply on top of the previous argument cleanup, documentation, and >>

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Christian Borntraeger
On 11/07/12 11:06, Avi Kivity wrote: [...] >> Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for >> spinlocks, though. > > Perhaps x86 should copy this. See arch/s390/lib/spinlock.c The basic idea is using several heuristics: - loop for a given amount of loops - check

Re: [PATCH] mm/hugetlb_cgroup: Add list_del to remove unused page from hugepage_activelist when hugepage migration

2012-07-11 Thread Wanpeng Li
On Wed, Jul 11, 2012 at 03:15:19PM +0530, Aneesh Kumar K.V wrote: >Wanpeng Li writes: > >> On Wed, Jul 11, 2012 at 02:02:23PM +0530, Aneesh Kumar K.V wrote: >>>Wanpeng Li writes: >>> From: Wanpeng Li hugepage_activelist is used to track currently used HugeTLB pages. We can

Re: [PATCH RESEND] spi: tegra: use dmaengine based dma driver

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 03:30:42PM +0530, Laxman Dewangan wrote: > On Wednesday 11 July 2012 03:25 PM, Mark Brown wrote: > >Is this any different to the version of the patch that I already > >applied? > I believe you have applied for the ASoC one. This is for spi one. No, there's a dmaengine

Re: [PATCHv6 3/5] ext4: remove unnecessary superblock dirtying

2012-07-11 Thread Jan Kara
On Wed 11-07-12 12:07:26, Jan Kara wrote: > On Wed 11-07-12 12:58:16, Artem Bityutskiy wrote: ... > > And this is the behavior this patch modifies: we stop using 's_dirt' and > > just > > mark the superblock buffer as dirty right away. Indeed: > > > > 1. It does not add any value to delay the

Re: [PATCHv6 5/5] ext4: remove unnecessary argument

2012-07-11 Thread Jan Kara
On Wed 11-07-12 12:58:18, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > The '__ext4_handle_dirty_metadata()' does not need the 'now' argument anymore > and we can kill it. > > Signed-off-by: Artem Bityutskiy Looks good. You can add: Reviewed-by: Jan Kara

Re: [PATCHv6 4/5] ext4: weed out ext4_write_super

2012-07-11 Thread Jan Kara
On Wed 11-07-12 12:58:17, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > We do not depend on VFS's '->write_super()' anymore and do not need the > 's_dirt' flag anymore, so weed out 'ext4_write_super()' and 's_dirt'. > > Signed-off-by: Artem Bityutskiy Looks good. You can add:

Re: [PATCH RESEND] spi: tegra: use dmaengine based dma driver

2012-07-11 Thread Laxman Dewangan
On Wednesday 11 July 2012 03:25 PM, Mark Brown wrote: * PGP Signed by an unknown key On Tue, Jul 10, 2012 at 07:08:37PM +0530, Laxman Dewangan wrote: The new driver is selected if legacy driver is not selected and new DMA driver is enabled through config file. Is this any different to the

Re: [PATCHv6 3/5] ext4: remove unnecessary superblock dirtying

2012-07-11 Thread Jan Kara
On Wed 11-07-12 12:58:16, Artem Bityutskiy wrote: > From: Artem Bityutskiy > > This patch changes the '__ext4_handle_dirty_super()' function which submits > the superblock for I/O in the following cases: > > 1. When creating the first large file on a file system without >

Re: [PATCHv2 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-11 Thread Valentin, Eduardo
Hello Greg, On Mon, Jul 9, 2012 at 11:33 PM, Valentin, Eduardo wrote: > Hello Greg, > > On Mon, Jul 9, 2012 at 10:31 PM, Greg Kroah-Hartman > wrote: >> On Sat, Jul 07, 2012 at 10:57:49AM +0300, Eduardo Valentin wrote: >>> In the System Control Module, OMAP supplies a voltage reference >>> and a

[PATCHv6 1/5] ext4: Remove useless marking of superblock dirty

2012-07-11 Thread Artem Bityutskiy
From: Jan Kara Commit a0375156 properly notes that superblock doesn't need to be marked as dirty when only number of free inodes / blocks / number of directories changes since that is recomputed on each mount anyway. However that comment leaves some unnecessary markings as dirty in place. Remove

[PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-11 Thread Tomoya MORINAGA
Currently, when a user wants to change UART clock, needs to modify this source code by hand. This patch enables changing UART clock by specifying UART clock as module parameter. Signed-off-by: Tomoya MORINAGA --- drivers/misc/pch_phub.c | 45 + 1

[PATCHv6 0/5] ext4: stop using write_supers and s_dirt

2012-07-11 Thread Artem Bityutskiy
This patch-set makes ext4 file-system stop using the VFS '->write_supers()' call-back and the '->s_dirt' superblock field because I plan to remove them once all users are gone. What we do in this patch-set is we notice that ext4 does not really needed the 'write_super()' functionality and we can

Re: [PATCH V2 5/5] perf/x86: Add Intel Nehalem-EX uncore support

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 10:06 +0800, Yan, Zheng wrote: > This doesn't work. The MSRs for Cbox 8/9 in WSM-EX aren't contiguous with > Cbox 0~7. Argh! > Furthermore the encoding for the FVC register in the Mbox are > different between NHM-EX and WSM-EX. OK, 18.7.1 from Vol. 3B doesn't mention

[PATCHv6 4/5] ext4: weed out ext4_write_super

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy We do not depend on VFS's '->write_super()' anymore and do not need the 's_dirt' flag anymore, so weed out 'ext4_write_super()' and 's_dirt'. Signed-off-by: Artem Bityutskiy --- fs/ext4/super.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff

[PATCHv6 2/5] ext4: Convert last user of ext4_mark_super_dirty() to ext4_handle_dirty_super()

2012-07-11 Thread Artem Bityutskiy
From: Jan Kara The last user of ext4_mark_super_dirty() in ext4_file_open() is so rare it can well be modifying the superblock properly by journalling the change. Change it and get rid of ext4_mark_super_dirty() as it's not needed anymore. Artem: small amendments. Artem: tested using xfstests

Re: [PATCH] kvm: Fix device assignment threaded irq handler

2012-07-11 Thread Avi Kivity
On 07/09/2012 07:53 PM, Alex Williamson wrote: > The kernel no longer allows us to pass NULL for the hard handler > without also specifying IRQF_ONESHOT. IRQF_ONESHOT imposes latency > in the exit path that we don't need for MSI interrupts. Long term > we'd like to inject these interrupts from

[PATCHv6 5/5] ext4: remove unnecessary argument

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy The '__ext4_handle_dirty_metadata()' does not need the 'now' argument anymore and we can kill it. Signed-off-by: Artem Bityutskiy --- fs/ext4/ext4_jbd2.c |3 +-- fs/ext4/ext4_jbd2.h |7 ++- fs/ext4/inode.c |2 +- fs/ext4/namei.c |4 ++--

[PATCHv6 3/5] ext4: remove unnecessary superblock dirtying

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy This patch changes the '__ext4_handle_dirty_super()' function which submits the superblock for I/O in the following cases: 1. When creating the first large file on a file system without EXT4_FEATURE_RO_COMPAT_LARGE_FILE feature. 2. When re-sizing the file-system. 3.

Re: [PATCH RESEND] spi: tegra: use dmaengine based dma driver

2012-07-11 Thread Mark Brown
On Tue, Jul 10, 2012 at 07:08:37PM +0530, Laxman Dewangan wrote: > Use the dmaengine based Tegra APB DMA driver for > data transfer between SPI FIFO and memory in > place of legacy Tegra APB DMA. > > The new driver is selected if legacy driver is not > selected and new DMA driver is enabled

Re: [PATCH] mei: module version

2012-07-11 Thread Tomas Winkler
On Wed, Jul 11, 2012 at 9:45 AM, Ortwin Glück wrote: > > On 07/10/2012 05:28 PM, Alan Cox wrote: >> >> On Tue, 10 Jul 2012 12:10:27 +0200 >> Ortwin Glück wrote: >> >>> The LMS daemon expects a /sys/modules/mei/version file with, a four >>> digit version number. >>> >>> see >>> >>>

Re: perf with precise attribute kills all KVM based VMs

2012-07-11 Thread Gleb Natapov
On Wed, Jul 11, 2012 at 11:49:47AM +0200, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 10:10 +0300, Gleb Natapov wrote: > > > Looks like Avi is right about the overshoot. Can you test something like > > this? > > > > diff --git a/arch/x86/kernel/cpu/perf_event_intel.c > >

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-11 Thread Avi Kivity
On 07/03/2012 10:21 PM, Alex Williamson wrote: > Here's the latest iteration of adding an interface to assert and > de-assert level interrupts from external drivers like vfio. These > apply on top of the previous argument cleanup, documentation, and > sanitization patches for irqfd. It would be

[PATCH] leds/leds-s3c24xx: use devm_gpio_request

2012-07-11 Thread Devendra Naga
why? because if the led_classdev_register fails we wont do gpio free because using devm_ functions, there is no need for error paths Signed-off-by: Devendra Naga --- Bryan, This patch is not even compile tested, since my machine crashed, and didn't have the ARM toolchain, sorry ..

Re: perf with precise attribute kills all KVM based VMs

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 10:10 +0300, Gleb Natapov wrote: > Looks like Avi is right about the overshoot. Can you test something like this? > > diff --git a/arch/x86/kernel/cpu/perf_event_intel.c > b/arch/x86/kernel/cpu/perf_event_intel.c > index 166546e..5fb371a 100644 > ---

Re: [PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-11 Thread Andrei Emeltchenko
Hi Masatake, On Wed, Jul 11, 2012 at 06:19:31PM +0900, Masatake YAMATO wrote: > Andrei, thank you for taking time. > > I've rebased again and I applied my patches with git am. > They are applied without problem. > > I've regenerated the patches again and compared the new > ones with the older

Re: [RESEND/PATCHv5 1/2] drivers: input: keypad: Add device tree support

2012-07-11 Thread Poddar, Sourav
Hi Dmitry, On Tue, Jul 10, 2012 at 11:43 AM, Dmitry Torokhov wrote: > Hi Sourav, > > On Fri, Jun 08, 2012 at 04:22:59PM +0530, Sourav Poddar wrote: >> Update the Documentation with omap4 keypad device tree >> binding information. >> Add device tree support for omap4 keypad driver. >> >> Tested

Re: [PATCH] mm/hugetlb_cgroup: Add list_del to remove unused page from hugepage_activelist when hugepage migration

2012-07-11 Thread Aneesh Kumar K.V
Wanpeng Li writes: > On Wed, Jul 11, 2012 at 02:02:23PM +0530, Aneesh Kumar K.V wrote: >>Wanpeng Li writes: >> >>> From: Wanpeng Li >>> >>> hugepage_activelist is used to track currently used HugeTLB pages. >>> We can find the in-use HugeTLB pages to support HugeTLB cgroup >>> removal. Don't

Re: [PATCH] kernel: fix mishandling of out of memory in poweroff

2012-07-11 Thread richard -rw- weinberger
On Wed, Jul 11, 2012 at 11:30 AM, Ozan Çağlayan wrote: >> It would be nice to have a Reported-by here, but we were only given >> "Scan Subscription ". >> >> Is there some human behind these reports? If so, can that person's >> details please be included? > > Also note that gmail marks these as

Re: [PATCH 5/7] memcg: add per cgroup dirty pages accounting

2012-07-11 Thread Sha Zhengju
On 07/10/2012 05:02 AM, Greg Thelen wrote: On Thu, Jun 28 2012, Sha Zhengju wrote: From: Sha Zhengju This patch adds memcg routines to count dirty pages, which allows memory controller to maintain an accurate view of the amount of its dirty memory and can provide some info for users while

Re: [PATCH] kernel: fix mishandling of out of memory in poweroff

2012-07-11 Thread Ozan Çağlayan
> It would be nice to have a Reported-by here, but we were only given > "Scan Subscription ". > > Is there some human behind these reports? If so, can that person's > details please be included? Also note that gmail marks these as "Spam" probably because of the word "subscription". Regards, --

inconsistency in kernel/time.c with jiffies

2012-07-11 Thread Andreas Herz
I wrote this testcase module to prove a bug in kernel/time.c. The problem i found is in the msecs_to_jiffies() function. In my testcase the bug occurs with kernel 3.2 on a 32-Bit system. The problem is this first part of the function: > if ((int)m < 0) > return MAX_JIFFY_OFFSET; When the

[RFC] Writeback : Partially set to interval of writeback per device

2012-07-11 Thread Namjae Jeon
[RFC] Writeback : Partially set to interval of writeback per device At present Writeback threads are controlled by forker thread. There is one FORKER (bdi-default) thread – which is responsible for creating new flusher thread for the device and waking up the flusher threads. Now – FORKER thread

Re: [PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-11 Thread Masatake YAMATO
Andrei, thank you for taking time. I've rebased again and I applied my patches with git am. They are applied without problem. I've regenerated the patches again and compared the new ones with the older ones. About [PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

Re: [RFC] kernel, logbuf: add support for external log buffer

2012-07-11 Thread Heiko Schocher
Hello, On 11.06.2012 08:13, Heiko Schocher wrote: This merges support for the previously DENX-only kernel feature of specifying an alternative, "external" buffer for kernel printk messages and their associated metadata. This patch is based on DENX-only kernel commit: commit

Re: [PATCH] mm/hugetlb_cgroup: Add list_del to remove unused page from hugepage_activelist when hugepage migration

2012-07-11 Thread Wanpeng Li
On Wed, Jul 11, 2012 at 02:02:23PM +0530, Aneesh Kumar K.V wrote: >Wanpeng Li writes: > >> From: Wanpeng Li >> >> hugepage_activelist is used to track currently used HugeTLB pages. >> We can find the in-use HugeTLB pages to support HugeTLB cgroup >> removal. Don't keep unused page in

[PATCH 1/2] gpio/omap: move bank->dbck initialization to omap_gpio_mod_init()

2012-07-11 Thread Tarun Kanti DebBarma
Since the bank->dbck initialization in a one time operation there is no need to keep this within gpio_debounce(). Therefore, moving clk_get(bank->dbck) to omap_gpio_mod_init(). Since the value of bank->dbck would be NULL at the beginning, this check has been removed. Signed-off-by: Tarun Kanti

[PATCH 2/2] gpio/omap: add *remove* callback in platform_driver

2012-07-11 Thread Tarun Kanti DebBarma
Add *remove* callback so that necessary cleanup operations are performed when device is unregistered. The device is deleted from the list and associated clock handle is released by calling clk_put() and irq descriptor is released using the irq_free_desc() api. Signed-off-by: Tarun Kanti DebBarma

[PATCH 0/2] gpio/omap: few code realignment and update of missing code

2012-07-11 Thread Tarun Kanti DebBarma
This is in reponse to comments provided to [gpio/omap: add clk_prepare and clk_unprepare] and is available here for reference: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-June/105762.html Patch-1 moves the debounce clock handle initialization from gpio_debounce() to

Re: mmotm 2012-07-10-16-59 uploaded

2012-07-11 Thread Johannes Weiner
On Tue, Jul 10, 2012 at 05:01:47PM -0700, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2012-07-10-16-59 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ The automatic git import is going again, too, and can be found at

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Avi Kivity
On 07/09/2012 10:55 AM, Christian Borntraeger wrote: > On 09/07/12 08:20, Raghavendra K T wrote: >> Currently Pause Looop Exit (PLE) handler is doing directed yield to a >> random VCPU on PL exit. Though we already have filtering while choosing >> the candidate to yield_to, we can do better. >>

Re: [PATCH] ACPI / PCI: Make _SxD/_SxW check follow ACPI 4.0a spec

2012-07-11 Thread Rafael J. Wysocki
On Wednesday, July 11, 2012, Greg KH wrote: > On Sun, Apr 29, 2012 at 10:44:16PM +0200, Rafael J. Wysocki wrote: > > From: Oleksij Rempel > > > > This patch makes _SxD/_SxW check follow the ACPI 4.0a specification > > more closely and fixes suspend bug found on ASUS Zenbook UX31E. > > > > Some

Re: [PATCH] drivers/mtd/devices/spear_smi.c: failure test for null rather than negative integer

2012-07-11 Thread viresh kumar
Adding spear-devel mailing list in cc. @Shiraz: Can you update ST's mailing list address in entire MAINTAINERS file, so that people can include ST's list easily? On 11/07/12 09:58, Julia Lawall wrote: > From: Julia Lawall > > dev_get_platdata returns a pointer, so the failure value would be

Re: [RFC PATCH 01/14] PCI: add pcie_flags into struct pci_dev to cache PCIe capabilities register

2012-07-11 Thread Taku Izumi
On Tue, 10 Jul 2012 23:54:02 +0800 Jiang Liu wrote: > From: Yijing Wang > > From: Yijing Wang > > Since PCI Express Capabilities Register is read only, cache its value > into struct pci_dev to avoid repeatedly calling pci_read_config_*(). > > Signed-off-by: Yijing Wang > Signed-off-by:

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Avi Kivity
On 07/10/2012 12:47 AM, Andrew Theurer wrote: > > For the cpu threads in the host that are actually active (in this case > 1/2 of them), ~50% of their time is in kernel and ~43% in guest. This > is for a no-IO workload, so that's just incredible to see so much cpu > wasted. I feel that

[PATCH v2] panel: Use pr_err(...) rather than printk(KERN_ERR ...)

2012-07-11 Thread Toshiaki Yamane
This change is inspired by checkpatch. Signed-off-by: Toshiaki Yamane --- drivers/staging/panel/panel.c | 42 +--- 1 files changed, 18 insertions(+), 24 deletions(-) diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index

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