[PATCH] x86: fix perf build with uclibc toolchains

2012-12-13 Thread Florian Fainelli
libio.h is not provided by uClibc, in order to be able to test the definition of __UCLIBC__ we need to include stdlib.h, which also includes stddef.h, providing the definition of 'NULL' Signed-off-by: Florian Fainelli --- tools/perf/arch/x86/util/dwarf-regs.c |3 +++ 1 file changed, 3

Re: [GIT PULL] perf changes for v3.8

2012-12-13 Thread Linus Torvalds
Btw, I do *not* think that you should necessariyl default to 'H' for host-only mode. The way it should work is that ":pp", ":ppH" and ":ppV" are all different. - "cycles:ppH" means: I want precise cycles only for the host case - "cycles:ppV" means: I want precise cycles, and I want the VM too

Re: [GIT PULL] perf changes for v3.8

2012-12-13 Thread Ingo Molnar
* Linus Torvalds wrote: > > I could write the patch to completely invert the > > exclude_guest logic -- make it include_guest. That breaks > > all existing perf binaries as well - just a different syntax > > that gets broken. That regression is acceptable? > > It's not a regression since

[PATCH]iommu: make return value consistence

2012-12-13 Thread Wang YanQing
if we don't define CONFIG_IOMMU_API the dummy functions alway return -ENODEV or -EINVAL except three function, so convert them to the same behavior to make consistence Signed-off-by: Wang YanQing --- include/linux/iommu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH]iommu: Include linux/err.h

2012-12-13 Thread Wang YanQing
The linux/iommu.h header uses ERR_PTR defined in linux/err.h but doesn't include it. Signed-off-by: Wang YanQing --- include/linux/iommu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/iommu.h b/include/linux/iommu.h index f3b99e1..f4a49a6 100644 --- a/include/linux/iommu.h

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-13 Thread prasannatsmkumar
On Wed, Dec 12, 2012 at 9:11 PM, Alan Stern wrote: > That's the error code returned by the USB stack when a request is > cancelled synchronously. But it is intended for internal kernel use > only; it should not appear at the userspace level. Without knowing the > details of what the program

Re: [patch 7/8] mm: vmscan: compaction works against zones, not lruvecs

2012-12-13 Thread Michal Hocko
On Wed 12-12-12 16:43:39, Johannes Weiner wrote: > The restart logic for when reclaim operates back to back with > compaction is currently applied on the lruvec level. But this does > not make sense, because the container of interest for compaction is a > zone as a whole, not the zone pages that

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-13 Thread prasannatsmkumar
On Wed, Dec 12, 2012 at 9:11 PM, Alan Stern wrote: > That's the error code returned by the USB stack when a request is > cancelled synchronously. But it is intended for internal kernel use > only; it should not appear at the userspace level. Without knowing the > details of what the program

[PATCH] arch/tile: clean up tile-specific PTRACE_SETOPTIONS

2012-12-13 Thread Chris Metcalf
Use the newer idioms for setting PTRACE_O_xxx and PT_TRACE_xxx flags. Only set/clear tile-specific flags if the generic routine returns success, since otherwise we want to avoid setting any flags at all. Atomically update the ptrace flags with the new values. Eliminate the PT_TRACE_MASK_TILE

[PATCH v3] ARM: Exynos5250: Enabling dwc3-exynos driver

2012-12-13 Thread Vivek Gautam
Adding DWC3 device tree node for Exynos5250 along with the device address and clock support needed for the controller. Signed-off-by: Vivek Gautam --- Changes from v2: - Changed the compatible string to chip specific(samsung,exynos5250), since dwc3-exynos is being used from exynso5250

Re: Fwd: Safely remove option shows with Micro SD Card connected to Linux through an Android phone

2012-12-13 Thread prasannatsmkumar
On Wed, Dec 12, 2012 at 2:07 AM, Alan Stern wrote: > STOP UNIT means spin down the disk or eject the disc. Since your phone > doesn't have a disk drive or an optical disc, no wonder this step > failed. Yes of course it does not have a optical disc or disk drive. But I thought if there is no

Re: [PATCH] arch/tile: provide PT_FLAGS_COMPAT value in pt_regs

2012-12-13 Thread Chris Metcalf
On 12/13/2012 11:27 AM, Oleg Nesterov wrote: > On 12/13, Chris Metcalf wrote: >> On 12/13/2012 10:49 AM, Oleg Nesterov wrote: >>> But ptrace_setoptions() returns EINVAL? it doesn't accept illegal bits. >> It does return EINVAL - but if it gets both legal and illegal bits, >> it honors all the

Re: [RFC PATCH 02/11] drivers/base: Add hotplug framework code

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 04:24 +, Greg KH wrote: > On Wed, Dec 12, 2012 at 09:02:45PM -0700, Toshi Kani wrote: > > On Wed, 2012-12-12 at 15:54 -0800, Greg KH wrote: > > > On Wed, Dec 12, 2012 at 04:17:14PM -0700, Toshi Kani wrote: > > > > Added hotplug.c, which is the hotplug framework code. > >

Re: [PATCH V4] xen/privcmd: improve-performance-of-mapping-of-guest

2012-12-13 Thread Konrad Rzeszutek Wilk
On Wed, Dec 12, 2012 at 10:09:38PM +, Mats Petersson wrote: > One comment asked for more details on the improvements: > Using a small test program to map Guest memory into Dom0 (repeatedly > for "Iterations" mapping the same first "Num Pages") I missed this in my for 3.8 queue. I will queue

Re: [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-13 Thread Konrad Rzeszutek Wilk
On Wed, Dec 12, 2012 at 01:03:55AM +, Xu, Dongxiao wrote: > > -Original Message- > > From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] > > Sent: Wednesday, December 12, 2012 1:07 AM > > To: Xu, Dongxiao > > Cc: xen-de...@lists.xen.org; linux-kernel@vger.kernel.org > >

Re: [GIT PULL] perf changes for v3.8

2012-12-13 Thread Linus Torvalds
On Thu, Dec 13, 2012 at 8:24 AM, David Ahern wrote: > > Without the kernel side restriction existing perf binaries will crash all > running VMs. ..and they apparently always did, and we had that situation for years without anybody ever even noticing. And no, it's not a security fix, since you

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-13 Thread Srivatsa S. Bhat
On 12/13/2012 09:47 PM, Oleg Nesterov wrote: > On 12/13, Srivatsa S. Bhat wrote: >> >> On 12/13/2012 12:42 AM, Srivatsa S. Bhat wrote: >>> >>> Even I don't spot anything wrong with it. But I'll give it some more >>> thought.. >> >> Since an interrupt handler can also run get_online_cpus_atomic(),

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-13 Thread Tejun Heo
Hello, Oleg. On Thu, Dec 13, 2012 at 05:17:09PM +0100, Oleg Nesterov wrote: > Hmm. I thought that __this_cpu_* must be safe under preempt_disable(). > IOW, I thought that, say, this_cpu_inc() is "equal" to preempt_disable + > __this_cpu_inc() correctness-wise. this_cpu_inc() equals

[PATCH v3 2/2] ARM: Exynos5250: Enabling ohci-exynos driver

2012-12-13 Thread Vivek Gautam
Adding OHCI device tree node for Exynos5250 along with the device base address. Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- .../devicetree/bindings/usb/exynos-usb.txt | 15 +++ arch/arm/boot/dts/exynos5250.dtsi |6 ++

[PATCH v3 1/2] ARM: Exynos5250: Enabling ehci-s5p driver

2012-12-13 Thread Vivek Gautam
Adding EHCI device tree node for Exynos5250 along with the device base adress and gpio line for vbus. Signed-off-by: Vivek Gautam Acked-by: Jingoo Han --- .../devicetree/bindings/usb/exynos-usb.txt | 25 arch/arm/boot/dts/exynos5250-smdk5250.dts |4

[PATCH v3 0/2] Enable ehci and ohci devices for exynos5250

2012-12-13 Thread Vivek Gautam
Changes from v2: - Changed the compatible string to chip specific(samsung,exynos4210), since ehci-s5p and ohci-exynos are being used from exynso4210 onwards. - Based on changes for drivers available at: http://www.mail-archive.com/devicetree-discuss@lists.ozlabs.org/msg23218.html Changes

Re: [PATCH] clk: debug clock tree

2012-12-13 Thread Mike Turquette
On Wed, Dec 12, 2012 at 7:49 PM, Prashant Gaikwad wrote: > Adds debug file "clock_tree" in /sys/kernel/debug/clk dir. > It helps to view all the clock registered in tree format. > Prashant, Thanks for submitting this. We've been talking about having a single file for representing the tree for

Re: [PATCH] arch/tile: provide PT_FLAGS_COMPAT value in pt_regs

2012-12-13 Thread Oleg Nesterov
On 12/13, Chris Metcalf wrote: > > On 12/13/2012 10:49 AM, Oleg Nesterov wrote: > > But ptrace_setoptions() returns EINVAL? it doesn't accept illegal bits. > > It does return EINVAL - but if it gets both legal and illegal bits, > it honors all the legal bits first. This was true in the past, but

Re: [RFC GIT PULL] "Nuke 386-DX/SX support" changes for v3.8

2012-12-13 Thread Florian Fainelli
Le 12/12/12 19:04, Linus Torvalds a écrit : On Tue, Dec 11, 2012 at 3:10 AM, Ingo Molnar wrote: This tree removes ancient-386-CPUs support and thus zaps quite a bit of complexity: Btw, I think we should probably at least consider taking this one step further, and remove the dear old FPU

Re: [GIT PULL] perf changes for v3.8

2012-12-13 Thread David Ahern
On 12/13/12 9:03 AM, Linus Torvalds wrote: On Thu, Dec 13, 2012 at 6:30 AM, David Ahern wrote: One of the problems is that existing binaries set the exclude_guest flag (https://lkml.org/lkml/2012/7/9/292). [ to zero ] Yeah. And it apparently *never* worked. So it's not a regression. The

Re: DMAR and DRHD errors[DMAR:[fault reason 06] PTE Read access is not set] Vt-d & intel_iommu

2012-12-13 Thread Alex Williamson
On Thu, 2012-12-13 at 17:50 +0800, Jason Gao wrote: > Dear List: > > Description of problem: > After installed Centos 6.3(RHEL6.3) on my Dell R710(lastest > bios:Version: 6.3.0,Release Date: 07/24/2012) server,and updated > lastest kernel "2.6.32-279.14.1.el6.x86_64",I want to use the Intel >

Re: [PATCH] subsystem: proc filesystem

2012-12-13 Thread Al Viro
On Thu, Dec 13, 2012 at 05:15:44PM +0400, tux2...@front.ru wrote: > > > This patch strengthens file permissions of pid record in proc filesystem. > When pid and pidentry records created, his permissions strengthens by creator > umask. > NAK. "Creator" in this case means "whoever had done

Re: [patch 6/8] mm: vmscan: clean up get_scan_count()

2012-12-13 Thread Michal Hocko
On Wed 12-12-12 16:43:38, Johannes Weiner wrote: > Reclaim pressure balance between anon and file pages is calculated > through a tuple of numerators and a shared denominator. > > Exceptional cases that want to force-scan anon or file pages configure > the numerators and denominator such that one

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-13 Thread Oleg Nesterov
On 12/13, Srivatsa S. Bhat wrote: > > On 12/13/2012 12:42 AM, Srivatsa S. Bhat wrote: > > > > Even I don't spot anything wrong with it. But I'll give it some more > > thought.. > > Since an interrupt handler can also run get_online_cpus_atomic(), we > cannot use the __this_cpu_* versions for

Re: [PATCH] arch/tile: provide PT_FLAGS_COMPAT value in pt_regs

2012-12-13 Thread Chris Metcalf
On 12/13/2012 10:49 AM, Oleg Nesterov wrote: > On 12/13, Chris Metcalf wrote: >> On 12/12/2012 6:43 PM, Oleg Nesterov wrote: >>> And. arch/tile/kernel/ptrace.c:arch_ptrace() does >>> >>> case PTRACE_SETOPTIONS: >>> /* Support TILE-specific ptrace options. */ >>>

Re: [RFC PATCH 00/11] Hot-plug and Online/Offline framework

2012-12-13 Thread Toshi Kani
On Thu, 2012-12-13 at 04:16 +, Greg KH wrote: > On Wed, Dec 12, 2012 at 08:37:44PM -0700, Toshi Kani wrote: > > On Wed, 2012-12-12 at 16:55 -0800, Greg KH wrote: > > > On Wed, Dec 12, 2012 at 05:39:36PM -0700, Toshi Kani wrote: > > > > On Wed, 2012-12-12 at 15:56 -0800, Greg KH wrote: > > > >

Re: [PATCH 2/2] usb: dwc3-exynos: Fix compatible strings for the device

2012-12-13 Thread Vivek Gautam
CC: LKML On Thu, Dec 13, 2012 at 8:22 PM, Vivek Gautam wrote: > Using specific chip in compatible strings. Newer SOCs can claim > device by using older string in the compatible list. > > Signed-off-by: Vivek Gautam > --- > drivers/usb/dwc3/dwc3-exynos.c |2 +- > 1 files changed, 1

Re: [PATCH 1/2] usb: ehci-s5p/ohci-exynos: Fix compatible strings for the device

2012-12-13 Thread Vivek Gautam
On Thu, Dec 13, 2012 at 8:22 PM, Vivek Gautam wrote: > Using specific chip in compatible strings. Newer SOCs can claim > device by using older string in the compatible list. > > Signed-off-by: Vivek Gautam > --- > drivers/usb/host/ehci-s5p.c|2 +- > drivers/usb/host/ohci-exynos.c |2

Re: [patch 5/8] mm: vmscan: improve comment on low-page cache handling

2012-12-13 Thread Michal Hocko
On Wed 12-12-12 16:43:37, Johannes Weiner wrote: > Fix comment style and elaborate on why anonymous memory is > force-scanned when file cache runs low. > > Signed-off-by: Johannes Weiner yes, much better Reviewed-by: Michal Hocko > --- > mm/vmscan.c | 12 +++- > 1 file changed, 7

Re: [PATCH 0/2] usb: exynos: Fix compatible strings used for device

2012-12-13 Thread Vivek Gautam
CC: LKML On Thu, Dec 13, 2012 at 8:22 PM, Vivek Gautam wrote: > Using chip specific compatible string as it should be. > So fixing this for ehci-s5p, ohci-exynos and dwc3-exynos > which till now used a generic 'exynos' in their compatible strings. > > This goes as per the discussion happened in

Re: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-13 Thread Michal Hocko
On Thu 13-12-12 16:29:59, Michal Hocko wrote: > On Thu 13-12-12 10:34:20, Mel Gorman wrote: > > On Wed, Dec 12, 2012 at 04:43:34PM -0500, Johannes Weiner wrote: > > > When a reclaim scanner is doing its final scan before giving up and > > > there is swap space available, pay no attention to

Re: [RFC GIT PULL] "Nuke 386-DX/SX support" changes for v3.8

2012-12-13 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 2:24 PM, H. Peter Anvin wrote: > > Well... it turns out to boot and run Red Hat 4.1 just fine (using qemu -cpu > 486 and the no387 option) once I changed /dev/hda1 to /dev/sda1. Ok. It sounds like the code actually works despite lack of testing, and it clearly hasn't been

Re: [GIT PULL] perf changes for v3.8

2012-12-13 Thread Linus Torvalds
On Thu, Dec 13, 2012 at 6:30 AM, David Ahern wrote: > > One of the problems is that existing binaries set the exclude_guest flag > (https://lkml.org/lkml/2012/7/9/292). [ to zero ] Yeah. And it apparently *never* worked. So it's not a regression. > So, requesting users to update their binaries

Re: [PATCH] pinctrl/nomadik: Add Device Tree support

2012-12-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:37 Thu 13 Dec , Linus Walleij wrote: > From: Gabriel Fernandez > > This implements pin multiplexing and pin configuration for the > Nomadik pin controller using the device tree. > > Cc: Lee Jones > Cc: devicetree-disc...@lists.ozlabs.org > Signed-off-by: Gabriel Fernandez >

Re: [PATCH] nfs: Remove unused list nfs4_clientid_list

2012-12-13 Thread Myklebust, Trond
On Thu, 2012-12-13 at 14:37 +0800, ycn...@gmail.com wrote: > From: Yanchuan Nian > > This list was designed to store struct nfs4_client in the client side. > But nfs4_client was obsolete and has been removed from the source code. > So remove the unused list. > > Signed-off-by: Yanchuan Nian >

Re: [PATCH] nfs: Remove duplicate function declaration in internal.h

2012-12-13 Thread Myklebust, Trond
On Thu, 2012-12-13 at 14:37 +0800, ycn...@gmail.com wrote: > From: Yanchuan Nian > > Remove duplicate function declaration in internal.h > > Signed-off-by: Yanchuan Nian > --- > fs/nfs/internal.h |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH] arch/tile: provide PT_FLAGS_COMPAT value in pt_regs

2012-12-13 Thread Oleg Nesterov
On 12/13, Chris Metcalf wrote: > > On 12/12/2012 6:43 PM, Oleg Nesterov wrote: > > > On 12/12, Chris Metcalf wrote: > >> This flag is set for ptrace GETREGS or PEEKUSER for processes > >> that are COMPAT, i.e. 32-bit. > >^^^ > > > > at least on x86 this is not the same.

Re: [PATCH] iommu: moving initialization earlier

2012-12-13 Thread Alex Williamson
Probably a good idea to CC the iommu list and maintainer... On Thu, 2012-12-13 at 17:28 +1100, Alexey Kardashevskiy wrote: > The iommu_init() call initializes IOMMU internal structures and data > required for the API to function such as iommu_group_alloc(). > It is registered as a

Re: [RFC PATCH v2 3/6] sched: pack small tasks

2012-12-13 Thread Vincent Guittot
On 13 December 2012 15:53, Vincent Guittot wrote: > On 13 December 2012 15:25, Alex Shi wrote: >> On 12/13/2012 06:11 PM, Vincent Guittot wrote: >>> On 13 December 2012 03:17, Alex Shi wrote: On 12/12/2012 09:31 PM, Vincent Guittot wrote: > During the creation of sched_domain, we

Re: [patch 3/8] mm: vmscan: save work scanning (almost) empty LRU lists

2012-12-13 Thread Michal Hocko
On Wed 12-12-12 16:43:35, Johannes Weiner wrote: > In certain cases (kswapd reclaim, memcg target reclaim), a fixed > minimum amount of pages is scanned from the LRU lists on each > iteration, to make progress. > > Do not make this minimum bigger than the respective LRU list size, > however, and

Re: [PATCHv3 0/7] Support for Tegra 2D hardware

2012-12-13 Thread Terje Bergström
On 13.12.2012 17:03, Lucas Stach wrote: > You are still doing the allocation the IMHO wrong way around. I thought > we agreed to do all the allocations in host1x, which obviously means not > using the cma_gem_helpers anymore, but introducing a new native host1x > object to back GEM/V4L/whatever

RE: [PATCH 1/1] Drivers: hv: balloon: Fix a memory leak

2012-12-13 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Thursday, December 13, 2012 4:38 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

[PATCH 1/3] PCI Hotplug: workaround for Thunderbolt on Acer Aspire S5

2012-12-13 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" Correct ACPI PCI hotplug imeplementation should have _RMV method in a PCI slot (device under pci bridge). In Acer Aspire S5 case we have it deeper in hierarchy: Device (RP05) { // ... Device (HRUP) { // ... Device (HRDN) { //

[PATCH 2/3] PCI Hotplug: convert acpiphp_hp_work to use delayed work

2012-12-13 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" Some broken ACPI PCI Hotplug implementations notify OS about hotplug before devices ready to be enumerated. Let's convert acpiphp_hp_work to delayed work. It will allow to delay enumeration on broken hardware to workaround the issue. Signed-off-by: Kirill A. Shutemov

[PATCH 3/3] PCI Hotplug: workaround for Thunderbolt on Intel DZ77RE-75K motherboard

2012-12-13 Thread Kirill A. Shutemov
From: "Kirill A. Shutemov" BIOS on Intel DZ77RE-75K motherboard notifies OS about Thunderbolt hotplug before devices behind Thunderbolt are ready to be enumerated. Let's delay enumeration by 2 seconds. Signed-off-by: Kirill A. Shutemov --- drivers/pci/hotplug/acpiphp_glue.c | 16

Re: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-13 Thread Michal Hocko
On Thu 13-12-12 10:34:20, Mel Gorman wrote: > On Wed, Dec 12, 2012 at 04:43:34PM -0500, Johannes Weiner wrote: > > When a reclaim scanner is doing its final scan before giving up and > > there is swap space available, pay no attention to swappiness > > preference anymore. Just swap. > > > > Note

Re: epoll with ONESHOT possibly fails to deliver events

2012-12-13 Thread Andreas Voellmy
Hi Eric, On Dec 13, 2012, at 4:32 AM, Eric Wong wrote: > Andreas Voellmy wrote: > >>> Another thread, distinct from all of the threads serving particular >>> sockets, is perfoming epoll_wait calls. When sockets are returned as >>> being ready from an epoll_wait call, the thread signals to

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-13 Thread Srivatsa S. Bhat
On 12/13/2012 12:42 AM, Srivatsa S. Bhat wrote: > On 12/13/2012 12:18 AM, Oleg Nesterov wrote: >> On 12/13, Srivatsa S. Bhat wrote: >>> >>> On 12/12/2012 11:32 PM, Oleg Nesterov wrote: And _perhaps_ get_ can avoid it too? I didn't really try to think, probably this is not right, but

[PATCH 03/18] power: ab8500_charger: Detect removed charger

2012-12-13 Thread Lee Jones
From: Jonas Aaberg Signed-off-by: Lee Jones Signed-off-by: Jonas Aaberg --- drivers/power/ab8500_charger.c | 145 +++- 1 file changed, 144 insertions(+), 1 deletion(-) diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index

[PATCH 07/18] power: ab8500_bm: Recharge condition not optimal for battery

2012-12-13 Thread Lee Jones
From: Marcus Cooper Today the battery recharge is determined with a voltage threshold. This voltage threshold is only valid when the battery is relaxed. In charging algorithm the voltage read is the loaded battery voltage and no compensation is done to get the relaxed voltage. When maintenance

[PATCH 05/18] power: ab8500_fg: usleep_range instead of short msleep

2012-12-13 Thread Lee Jones
From: Jonas Aaberg Signed-off-by: Lee Jones Signed-off-by: Jonas ABERG Reviewed-by: Johan BJORNSTEDT --- drivers/power/ab8500_fg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index b1bc893..d974acd 100644 ---

[PATCH 12/18] power: ab8500_btemp: remove superfluous BTEMP thermal comp.

2012-12-13 Thread Lee Jones
From: Hakan Berg BTEMP thermal compensation factor times 10 is applied in two places, probe and get_property. Removed from probe. Signed-off-by: Lee Jones Signed-off-by: Hakan Berg Reviewed-by: Karl KOMIEROWSKI --- drivers/power/ab8500_btemp.c |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 11/18] power: ab8500_fg: Round capacity output

2012-12-13 Thread Lee Jones
From: pender01 Round the capacity values for better enduser experience. Signed-off-by: Lee Jones Signed-off-by: pender01 Reviewed-by: Jonas ABERG Tested-by: Marcus COOPER --- drivers/power/ab8500_fg.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-)

[PATCH 08/18] power: ab8500_fg: balance IRQ enable

2012-12-13 Thread Lee Jones
From: Rickard Andersson In case of time out error IRQ needs to be disabled otherwise we will get unbalanced enable/disable pairs. Signed-off-by: Lee Jones Signed-off-by: Rickard Andersson Reviewed-by: Jonas ABERG --- drivers/power/ab8500_fg.c |1 + 1 file changed, 1 insertion(+) diff

[PATCH 02/18] power: ab8500_bm: Skip first CCEOC irq for instant current

2012-12-13 Thread Lee Jones
From: Johan Bjornstedt When enabling the CCEOC irq we might get false interrupt from ab8500-driver due to the latched value will be saved and interpreted as an IRQ when enabled Signed-off-by: Lee Jones Signed-off-by: Johan Bjornstedt Signed-off-by: Henrik Solver Reviewed-by: Karl KOMIEROWSKI

[PATCH 10/18] power: ab8500_bm: Adds support for Car/Travel Adapters

2012-12-13 Thread Lee Jones
From: Hakan Berg The Travel and Carkit adapter should be handled directly by the charger driver. Signed-off-by: Lee Jones Signed-off-by: Marcus Cooper Reviewed-by: Jonas ABERG --- drivers/power/ab8500_charger.c | 92 +-

[PATCH 00/18] AB8500 battery management series upgrade

2012-12-13 Thread Lee Jones
Hi Anton, Please find the next instalment of the AB8500 Power drivers upgrade. A lot of work has taken place on the internal development track, but little effort has gone into mainlining it. At last count there were around 70+ patches which are in need of forward-porting, then upstreaming. This

[PATCH 01/18] power: ab8500_charger: Rename the power_loss function

2012-12-13 Thread Lee Jones
From: Paer-Olof Haakansson Rename the ab8500_power_loss_handling function to a more descriptive name ab8500_enable_disable_sw_fallback Signed-off-by: Lee Jones Signed-off-by: Robert Marklund Reviewed-by: Par-Olof HAKANSSON Reviewed-by: Karl KOMIEROWSKI Tested-by: Par-Olof HAKANSSON ---

Re: [PATCHv3 4/7] gpu: host1x: Add debug support

2012-12-13 Thread Joe Perches
On Thu, 2012-12-13 at 16:04 +0200, Terje Bergstrom wrote: > Add support for host1x debugging. Adds debugfs entries, and dumps > channel state to UART in case of stuck job. trivial note: [] > diff --git a/drivers/gpu/host1x/debug.h b/drivers/gpu/host1x/debug.h [] > +void

[PATCH 13/18] power: ab8500_fg: Added support for BATT_OVV

2012-12-13 Thread Lee Jones
From: Hakan Berg Add support for the battery over-voltage situation Signed-off-by: Lee Jones Signed-off-by: Hakan Berg Reviewed-by: Karl KOMIEROWSKI --- drivers/power/ab8500_fg.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git

[PATCH 16/18] power: ab8500_charger: remove unused defines.

2012-12-13 Thread Lee Jones
From: Marcus Cooper Cleanup of the ab8500_charger driver. Signed-off-by: Lee Jones Signed-off-by: Marcus Cooper Reviewed-by: Karl KOMIEROWSKI --- drivers/power/ab8500_charger.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/power/ab8500_charger.c

[PATCH 15/18] power: ab8500_fg: Add sysfs interfaces for capacity

2012-12-13 Thread Lee Jones
From: Daniel WILLERUD Switchable depending on whether capacity scaling is enabled Signed-off-by: Lee Jones Signed-off-by: Marcus Cooper Signed-off-by: Daniel WILLERUD Reviewed-by: Jonas ABERG --- drivers/power/ab8500_fg.c | 57 - 1 file

[PATCH 18/18] Power: ab8500_fg: Overflow in current calculation

2012-12-13 Thread Lee Jones
From: Paer-Olof Haakansson When calculating the average current the nominator will overflow when the charging current is high. Signed-off-by: Lee Jones Signed-off-by: Henrik Sölver Reviewed-by: Par-Olof HAKANSSON Reviewed-by: Jonas ABERG Tested-by: Par-Olof HAKANSSON ---

[PATCH 14/18] power: pm2301: Add pm2301 charger

2012-12-13 Thread Lee Jones
From: Michel JAOUEN PM2301 AC charger driver based on 9540 platform. Signed-off-by: Lee Jones Signed-off-by: Rajkumar Kasirajan Signed-off-by: Loic Pallardy Reviewed-by: Michel JAOUEN Tested-by: Michel JAOUEN --- drivers/power/Kconfig | 15 + drivers/power/Makefile |

[PATCH 17/18] power: ab8500_charger: Adds support for legacy USB chargers

2012-12-13 Thread Lee Jones
From: Marcus Cooper A Legacy USB charger should be handled directly by the charger driver. Signed-off-by: Lee Jones Signed-off-by: Marcus Cooper Reviewed-by: Karl KOMIEROWSKI Reviewed-by: Jonas ABERG --- drivers/power/ab8500_charger.c | 65 ++-- 1 file

[PATCH 09/18] power: ab8500_btemp: Ignore false btemp low interrupt

2012-12-13 Thread Lee Jones
From: Hakan Berg Ignore the low btemp interrupts for ab8500 3.0 and 3.3 Signed-off-by: Lee Jones Signed-off-by: Hakan Berg Reviewed-by: Jonas ABERG Tested-by: Marcus COOPER --- drivers/power/ab8500_btemp.c | 20 ++-- include/linux/mfd/abx500/ab8500.h |5 + 2

[PATCH 04/18] power: ab8500_fg: flush sync on suspend

2012-12-13 Thread Lee Jones
From: Jonas Aaberg Do flush sync on the fg workqueue at suspend instead of just flushing it. Signed-off-by: Lee Jones Signed-off-by: Jonas Aaberg Reviewed-by: Johan BJORNSTEDT --- drivers/power/ab8500_fg.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 06/18] power: ab8500_charger: Handle gpadc errors

2012-12-13 Thread Lee Jones
From: Jonas Aaberg Gracefully handle gpadc conversion errors. Signed-off-by: Lee Jones Signed-off-by: Jonas Aaberg Reviewed-by: Johan BJORNSTEDT --- drivers/power/ab8500_charger.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] mm: add node physical memory range to sysfs

2012-12-13 Thread KOSAKI Motohiro
(12/12/12 11:49 PM), Dave Hansen wrote: > On 12/12/2012 06:03 PM, Davidlohr Bueso wrote: >> On Wed, 2012-12-12 at 17:48 -0800, Dave Hansen wrote: >>> But if we went and did it per-DIMM (showing which physical addresses and >>> NUMA nodes a DIMM maps to), wouldn't that be redundant with this >>>

Re: linux-next: manual merge of the l2-mtd tree with Linus' tree

2012-12-13 Thread Murali Karicheri
On 12/13/2012 12:38 AM, Kumar, Anil wrote: On Thu, Dec 13, 2012 at 07:07:55, Stephen Rothwell wrote: Hi Artem, Today's linux-next merge of the l2-mtd tree got a conflict in Documentation/devicetree/bindings/arm/davinci/nand.txt between commit fed16bba8726 ("mtd: nand: davinci: fix the binding

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-12-13 Thread Jiang Liu
On 12/13/2012 10:42 PM, Toshi Kani wrote: > On Tue, 2012-12-11 at 22:34 +0800, Jiang Liu wrote: >> On 12/08/2012 09:08 AM, Toshi Kani wrote: >>> On Fri, 2012-12-07 at 13:57 +0800, Jiang Liu wrote: On 2012-12-7 10:57, Toshi Kani wrote: > On Fri, 2012-12-07 at 00:40 +0800, Jiang Liu wrote:

[ 3.5.y.z extended stable ] Linux 3.5.7.2 stable review

2012-12-13 Thread Herton Ronaldo Krzesinski
I am announcing the review cycle for the 3.5.7.2 release of stable patches. This new release contains 241 patches. Proposed patches are posted as a response to this message. The same patches are also available at the following repository: git://kernel.ubuntu.com/ubuntu/linux.git

[PATCHv3 2/7] gpu: host1x: Add syncpoint wait and interrupts

2012-12-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |3 +- drivers/gpu/host1x/dev.c | 44 drivers/gpu/host1x/dev.h

[PATCHv3 0/7] Support for Tegra 2D hardware

2012-12-13 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next. The third version has too many changes to list all of them. Here are highlights: * Renamed to host1x, and moved to drivers/gpu/host1x * Greatly simplified the inner workings between physical and

[PATCH 003/241] drm/i915: fix overlay on i830M

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit a9193983f4f292a82a00c72971c17ec0ee8c6c15 upstream. The overlay on the i830M has a peculiar failure mode: It works the first time around after boot-up, but consistenly

[PATCHv3 5/7] drm: tegra: Remove redundant host1x

2012-12-13 Thread Terje Bergstrom
From: Arto Merilainen This patch removes the redundant host1x driver from tegradrm and makes necessary bindings to the separate host driver. The infrastructure for drm client lists is merged to drm.c. The patch simplifies driver initialization; The original driver had two lists for registered

[PATCHv3 4/7] gpu: host1x: Add debug support

2012-12-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c | 37 +++ drivers/gpu/host1x/debug.c

[PATCHv3 1/7] gpu: host1x: Add host1x driver

2012-12-13 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. Signed-off-by: Terje Bergstrom --- drivers/gpu/Makefile |1 + drivers/gpu/host1x/Kconfig|6 + drivers/gpu/host1x/Makefile |8 + drivers/gpu/host1x/dev.c |

[PATCHv3 7/7] drm: tegra: Add gr2d device

2012-12-13 Thread Terje Bergstrom
Add client driver for 2D device. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/tegra/Makefile |2 +- drivers/gpu/drm/tegra/drm.c| 211 +++- drivers/gpu/drm/tegra/drm.h| 29 drivers/gpu/drm/tegra/gr2d.c | 300

[PATCHv3 6/7] ARM: tegra: Add board data and 2D clocks

2012-12-13 Thread Terje Bergstrom
Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. Signed-off-by: Terje Bergstrom --- arch/arm/mach-tegra/board-dt-tegra20.c|1 + arch/arm/mach-tegra/board-dt-tegra30.c|1 + arch/arm/mach-tegra/tegra20_clocks_data.c |2 +-

[PATCH 006/241] mac80211: Only process mesh config header on frames that RA_MATCH

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Javier Cardona commit 555cb715be8ef98b8ec362b23dfc254d432a35b1 upstream. Doing otherwise is wrong, and may wreak havoc on the mpp tables, specially if the frame is encrypted.

[PATCH 008/241] gpiolib: Don't return -EPROBE_DEFER to sysfs, or for invalid gpios

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit ad2fab36d7922401c4576fb7ea9b21a47a29a17f upstream. gpios requested with invalid numbers, or gpios requested from userspace via sysfs should not try to be deferred on

[PATCH 010/241] mac80211: fix SSID copy on IBSS JOIN

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli commit badecb001a310408d3473b1fc2ed5aefd0bc92a9 upstream. The 'ssid' field of the cfg80211_ibss_params is a u8 pointer and its length is likely to be less than

[PATCH 013/241] mac80211: verify that skb data is present

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 9b395bc3be1cebf0144a127c7e67d56dbdac0930 upstream. A number of places in the mesh code don't check that the frame data is present and in the skb header when trying to

[PATCH 012/241] mac80211: check management frame header length

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 4a4f1a5808c8bb0b72a4f6e5904c53fb8c9cd966 upstream. Due to pskb_may_pull() checking the skb length, all non-management frames are checked on input whether their 802.11

Re: [PATCH 7/8] ARM: ux500: Use the GPIO regulator framework for SDI0's 'en' and 'vsel'

2012-12-13 Thread Ulf Hansson
On 13 December 2012 14:22, Lee Jones wrote: > To prevent lots of unnecessary call-backs into platform code, we're > now using the GPIO regulator framework to control the 'enable' (en) > and 'voltage select' (vsel) GPIO pins which in turn control the > MMCI's secondary regulator settings. This

[PATCH 016/241] ext4: fix unjournaled inode bitmap modification

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen commit ffb5387e85d528fb6d0d924abfa3fbf0fc484071 upstream. commit 119c0d4460b001e44b41dcf73dc6ee794b98bd31 changed ext4_new_inode() such that the inode bitmap was being

[PATCH 017/241] ath9k: fix stale pointers potentially causing access to free'd skbs

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 8c6e30936a7893a85f6222084f0f26aceb81137a upstream. bf->bf_next is only while buffers are chained as part of an A-MPDU in the tx queue. When a tid queue is flushed

[PATCH 021/241] ALSA: PCM: Fix some races at disconnection

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 9b0573c07f278e9888c352aa9724035c75784ea0 upstream. Fix races at PCM disconnection: - while a PCM device is being opened or closed - while the PCM state is being

[PATCH 022/241] ALSA: usb-audio: Fix races at disconnection

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 978520b75f0a1ce82b17e1e8186417250de6d545 upstream. Close some races at disconnection of a USB audio device by adding the chip->shutdown_mutex and chip->shutdown check

[PATCH 020/241] floppy: properly handle failure on add_disk loop

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski commit d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 upstream. On floppy initialization, if something failed inside the loop we call add_disk, there was no cleanup of

[PATCH 019/241] floppy: do put_disk on current dr if blk_init_queue fails

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski commit 238ab78469c6ab7845b43d5061cd3c92331b2452 upstream. If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the

[PATCH 024/241] ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 888ea7d5ac6815ba16b3b3a20f665a92c7af6724 upstream. Similar like the previous commit, cover with chip->shutdown_rwsem and chip->shutdown checks. Reported-by: Matthieu

[PATCH 028/241] rt2800: validate step value for temperature compensation

2012-12-13 Thread Herton Ronaldo Krzesinski
3.5.7.2 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit bf7e1abe434ba9e22e8dc04a4cba4ab504b788b8 upstream. Some hardware has correct (!= 0xff) value of tssi_bounds[4] in the EEPROM, but step is equal to 0xff. This

Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-25 23:33:44]: > uprobe_events counts the number of uprobes in uprobes_tree but > it is used as a boolean. We can use RB_EMPTY_ROOT() instead. > Nice idea. > Probably no_uprobe_events() added by this patch can have more > callers, say, mmf_recalc_uprobes(). > >

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