Re: [PATCH 2/7] PM / QoS: Introduce request and constraint data types for PM QoS flags

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:05:07AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Introduce struct pm_qos_flags_request and struct pm_qos_flags > representing PM QoS flags request type and PM QoS flags constraint > type, respectively. With these definitions the data structures > w

[PATCH v6 1/2] ACPI: Add early console framework for DBGP/DBG2.

2012-10-09 Thread Lv Zheng
Microsoft Debug Port Table (DBGP or DBG2) is used by the Windows SoC platforms to describe their debugging facilities. DBGP: http://msdn.microsoft.com/en-us/windows/hardware/hh134821 DBG2: http://msdn.microsoft.com/en-us/library/windows/hardware/hh673515 This patch enables the DBGP/DBG2 debug port

[PATCH v6 2/2] ACPI: Add Intel MID SPI early console support.

2012-10-09 Thread Lv Zheng
DesignWare SPI UART is used as one of the debug ports on Low Power Intel Architecture (LPIA) platforms. This patch is introduced to support this debugging console reported by ACPI DBGP/DBG2. The original MID SPI early console stuff is also refined to co-exist with the new ACPI usage model. There

Re: include/linux/cgroup.h:566 suspicious rcu_dereference_check() usage!

2012-10-09 Thread Paul E. McKenney
On Tue, Oct 09, 2012 at 06:08:59PM -0700, Sergey Senozhatsky wrote: > On (10/08/12 12:49), Paul E. McKenney wrote: > > > > > > > > device_cgroup: Restore rcu_read_lock() protection to devcgroup_inode_mknod() > > > > Commit

Re: [PATCH 5/7] PM / QoS: Make it possible to expose PM QoS device flags to user space

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:07:58AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Define two device PM QoS flags, PM_QOS_FLAG_NO_POWER_OFF > and PM_QOS_FLAG_REMOTE_WAKEUP, and introduce routines > dev_pm_qos_expose_flags() and dev_pm_qos_hide_flags() allowing the > caller to expose

Re: [PATCH 6/7] PM / Domains: Check device PM QoS flags in pm_genpd_poweroff()

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:08:39AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the generic PM domains pm_genpd_poweroff() function take > device PM QoS flags into account when deciding whether or not to > remove power from the domain. > > After this change the routine will

Re: [PATCH 7/7] PM / ACPI: Take device PM QoS flags into account

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:09:26AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make ACPI power management routines and PCI power management > routines depending on ACPI take device PM QoS flags into account > when deciding what power state to put the device into. > > In particu

Re: [PATCH 4/7] PM / QoS: Introduce PM QoS device flags support

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:07:10AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify the device PM QoS core code to support PM QoS flags requests. > > First, add a new field of type struct pm_qos_flags called "flags" > to struct dev_pm_qos for representing the list of PM QoS f

Re: [PATCH 3/7] PM / QoS: Prepare struct dev_pm_qos_request for more request types

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:06:08AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The subsequent patches will use struct dev_pm_qos_request for > representing both latency requests and flags requests. To make that > easier, put the node member of struct dev_pm_qos_request (under t

Re: [PATCH] Do not use cpu_to_node() to find an offlined cpu's node.

2012-10-09 Thread Wen Congyang
At 10/10/2012 10:06 AM, Wen Congyang Wrote: > At 10/10/2012 07:27 AM, David Rientjes Wrote: >> On Tue, 9 Oct 2012, Peter Zijlstra wrote: >> >>> Well the code they were patching is in the wakeup path. As I think Tang >>> said, we leave !runnable tasks on whatever cpu they ran on last, even if >>> th

Re: [PATCH v4] PM / devfreq: add PM-QoS support

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 07:59:13PM +0900, MyungJoo Ham wrote: > Even if the performance of a device is controlled properly with devfreq, > sometimes, we still need to get PM-QoS inputs in order to meet the > required performance. > > In our testbed of Exynos4412, which has on-chip various DMA devi

Re: [Patch v2 2/7] Regulator: DA9055 Regulator driver

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 04:30:16PM +0530, Ashish Jangam wrote: > On Tue, 2012-10-09 at 15:37 +0530, Mark Brown wrote: > > On Mon, Oct 08, 2012 at 07:00:39PM +0530, Ashish Jangam wrote: > > > + /* Set the GPIO I/P pin for controlling the regulator state. */ > > > + ret = devm_gpio_r

Re: [PATCH v3 10/10] mm: kill vma flag VM_RESERVED and mm->reserved_vm counter

2012-10-09 Thread Alex Williamson
On Tue, 2012-10-09 at 17:00 -0600, Alex Williamson wrote: > On Tue, 2012-10-09 at 08:21 -0600, Alex Williamson wrote: > > On Tue, 2012-10-09 at 21:12 +0900, Linus Torvalds wrote: > > > On Tue, Oct 9, 2012 at 7:02 PM, Eric Dumazet > > > wrote: > > > > > > > > It seems drivers/vfio/pci/vfio_pci.c u

ODEBUG: free active (active state 0) object type: work_struct hint: flush_to_ldisc+0x0/0x1a0

2012-10-09 Thread Dave Jones
Just hit this.. WARNING: at lib/debugobjects.c:261 debug_print_object+0x8c/0xb0() ODEBUG: free active (active state 0) object type: work_struct hint: flush_to_ldisc+0x0/0x1a0 Modules linked in: fuse ipt_ULOG nfnetlink tun binfmt_misc nfc caif_socket caif phonet can llc2 pppoe pppox ppp_generic s

Re: [PATCH v2 0/2] Reset PCIe devices to address DMA problem on kdump with iommu

2012-10-09 Thread Takao Indoh
(2012/10/10 1:05), Don Dutile wrote: On 10/09/2012 05:03 AM, Takao Indoh wrote: (2012/10/03 22:23), Don Dutile wrote: On 10/02/2012 03:49 AM, Takao Indoh wrote: These patches reset PCIe devices at boot time to address DMA problem on kdump with iommu. When "reset_devices" is specified, a hot re

Re: [PATCH RFC] function probe_roms accessing improper addresses

2012-10-09 Thread Randy Wright
> Date: Thu, 4 Oct 2012 20:22:56 +0100 > From: Matthew Garrett > To: rwri...@hp.com > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH RFC] function probe_roms accessing improper addresses > on UEFI systems > Message-ID: <20121004192256.ga6...@srcf.ucam.org> > References: <201210032353.q93n

Re: [GIT PULL] Disintegrate UAPI for powerpc [ver #2]

2012-10-09 Thread Benjamin Herrenschmidt
#x27; (Andrew's patch-bomb) (2012-10-09 16:23:15 +0900) > > are available in the git repository at: > > > git://git.infradead.org/users/dhowells/linux-headers.git > tags/disintegrate-powerpc-20121009 > > for you to fetch changes up to c3617f72036c909e1f6086b5b9e

[PATCH] usb:musb: Dequeue urbs on device unplug

2012-10-09 Thread Virupax Sadashivpetimath
Flush queued urbs on receiving device disconnect interrupt. This is required for successful disconnect and successive enumeration of the device. In a failure case khubd hangs on usb-storage thread for completion. Seen in the below trace. [ 1355.764526] SysRq : Show Blocked State [ 1355.768341]

[PATCH] cpufreq:core: Fix printing of governor and driver name

2012-10-09 Thread Viresh Kumar
Arrays for governer and driver name are of size CPUFREQ_NAME_LEN or 16. i.e. 15 bytes for name and 1 for trailing '\0'. When cpufreq driver print these names (for sysfs), it includes '\n' or ' ' in the fmt string and still passes length as CPUFREQ_NAME_LEN. If the driver or governor names are usin

Re: dtc: import latest upstream dtc

2012-10-09 Thread Warner Losh
On Oct 9, 2012, at 6:04 PM, Scott Wood wrote: > On 10/09/2012 06:20:53 PM, Mitch Bradley wrote: >> On 10/9/2012 11:16 AM, Stephen Warren wrote: >> > On 10/01/2012 12:39 PM, Jon Loeliger wrote: >> >>> >> >>> What more do you think needs discussion re: dtc+cpp? >> >> >> >> How not to abuse the ever

[PATCH] extcon : register for cable interest by cable name

2012-10-09 Thread Jenny TC
There are some scnearios where a driver/framework needs to register interest for a particular cable without specifying the extcon device name. One such scenario is charger notifications. The platform will have charger cabel which will be bound to any extcon device. It's not mandatory for the charge

[PATCH] extcon : add charger supported as per spec

2012-10-09 Thread Jenny TC
Add support for cable names as per USB charging spec 1.2 Also add cable name for AC adapter. This standardises the cable names Signed-off-by: Jenny TC --- drivers/extcon/extcon-class.c |5 + include/linux/extcon.h|5 + 2 files changed, 10 insertions(+) diff --git a/drive

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-09 Thread Al Viro
On Tue, Oct 09, 2012 at 03:48:16PM -0400, Chris Metcalf wrote: > On 10/1/2012 5:38 PM, Al Viro wrote: > > There's an interesting ongoing project around kernel_thread() and > > friends, including execve() variants. I really need help from architecture > > maintainers on that one; I'd been able

[PATCH] extcon : callback function to read cable property

2012-10-09 Thread Jenny TC
For some cables a boolean variable will not be enough to represent the state and properties of the cable. For example a charger cable can have states CONNECT,DISCOONECT,SUSPEND(Host suspend for SDP cable), RESUME(Host wakeup), and UPDATE (to increase the charge current after USB enumaeration).Also

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

2012-10-09 Thread Sergey Senozhatsky
On (10/10/12 14:06), Stephen Rothwell wrote: > Hi Catalin, > > Today's linux-next merge of the kmemleak tree got a conflict in > mm/kmemleak.c between commit 85d3a316c714 ("kmemleak: use rbtree instead > of prio tree") from Linus' tree and commit 48786770bf3b ("kmemleak: do > not leak object after

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

2012-10-09 Thread Sergey Senozhatsky
On (10/10/12 14:06), Stephen Rothwell wrote: > Hi Catalin, > > Today's linux-next merge of the kmemleak tree got a conflict in > mm/kmemleak.c between commit 85d3a316c714 ("kmemleak: use rbtree instead > of prio tree") from Linus' tree and commit 48786770bf3b ("kmemleak: do > not leak object after

Re: [PATCH] rtc: kconfig: fix RTC_INTF defaults connected to RTC_CLASS

2012-10-09 Thread Venu Byravarasu
On Wednesday 10 October 2012 05:39 AM, Kevin Hilman wrote: From: Kevin Hilman commit 6b8029fab64164b5895d58d23229b75c82e3a6fc (rtc: kconfig: remove unnecessary dependencies) removed various 'depends on RTC_CLASS' dependencies but also removed a few 'default RTC_CLASS' statements, which actually

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-10-09 Thread Stanislav Kinsbursky
10.10.2012 02:47, Eric W. Biederman пишет: "J. Bruce Fields" writes: On Tue, Oct 09, 2012 at 01:20:48PM -0700, Eric W. Biederman wrote: "Myklebust, Trond" writes: On Tue, 2012-10-09 at 15:35 -0400, J. Bruce Fields wrote: Cc'ing Eric since I seem to recall he suggested doing it this way?

linux-next: Tree for Oct 10

2012-10-09 Thread Stephen Rothwell
1 vfp registers on v6+ kernels) Merging m68k-current/for-linus (f82735d m68k: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR) Merging powerpc-merge/merge (636802e powerpc: Don't use __put_user() in patch_instruction) Merging sparc/master (9836d34 Merge tag 'disintegrate-sparc-20121009'

Re: [PATCH v3] SUNRPC: set desired file system root before connecting local transports

2012-10-09 Thread Stanislav Kinsbursky
10.10.2012 06:00, Eric W. Biederman пишет: ebied...@xmission.com (Eric W. Biederman) writes: "J. Bruce Fields" writes: On Tue, Oct 09, 2012 at 01:20:48PM -0700, Eric W. Biederman wrote: "Myklebust, Trond" writes: On Tue, 2012-10-09 at 15:35 -0400, J. Bruce Fields wrote: Cc'ing Eric sinc

Re: [GIT] Sparc

2012-10-09 Thread Al Viro
On Mon, Oct 08, 2012 at 04:18:06PM -0400, David Miller wrote: > > There is an attempt to fix a bad interaction between syscall tracing > and force_successful_syscall() from Al Viro, but it needs to be redone > as it introduced regressions and thus had to be reverted for now. > > Al is working on

[PATCH] Fix use-after-free of q->root_blkg and q->root_rl.blkg

2012-10-09 Thread Jun'ichi Nomura
I got system stall after the following warning with 3.6: > WARNING: at /work/build/linux/block/blk-cgroup.h:250 blk_put_rl+0x4d/0x95() > Modules linked in: bridge stp llc sunrpc acpi_cpufreq freq_table mperf > ipt_REJEC > T nf_conntrack_ipv4 nf_defrag_ipv4 > Pid: 0, comm: swapper/0 Not tainted 3.

[PATCH V2] task_work: avoid unneeded cmpxchg() in task_work_run()

2012-10-09 Thread Lai Jiangshan
On 10/09/2012 07:04 PM, Peter Zijlstra wrote: > On Mon, 2012-10-08 at 14:38 +0200, Oleg Nesterov wrote: >> But the code looks more complex, and the only advantage is that >> non-exiting task does xchg() instead of cmpxchg(). Not sure this >> worth the trouble, in this case task_work_run() will like

Re: [PATCH] No need to call irq_domain_legacy_revmap() for twice

2012-10-09 Thread Mike
Any comments? Thanks 在 2012-09-24一的 17:37 +0800,Mike Qiu写道: > Function irq_create_mapping() calls irq_find_mapping(). The later > function has checked if the indicated IRQ domain has hw IRQ mapped to > virtual IRQ through legacy mode or not and return the value of the > legacy irq number by call ir

RE: [PATCH 02/16] f2fs: add on-disk layout

2012-10-09 Thread Jaegeuk Kim
[snip] > > +/* > > + * For superblock > > + */ > > +struct f2fs_super_block { > > + __le32 magic; /* Magic Number */ > > + __le16 major_ver; /* Major Version */ > > + __le16 minor_ver; /* Minor Version */ > > + __le32 log_sectorsize; /* log2 (Sector size in bytes) */

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-09 Thread Michael Kerrisk (man-pages)
[resending because my mobile device decided it wanted to send HTML, which of course bounced.] On Oct 10, 2012 12:09 AM, "H. Peter Anvin" wrote: > > On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: > > Good point. A "whole hog" openat()-style interface is worth thinking about > > too. >

Re: [GIT PULL] Disintegrate UAPI for can

2012-10-09 Thread Marc Kleine-Budde
On 10/09/2012 07:55 PM, Oliver Hartkopp wrote: > Hello Marc, > > can you please pull these changes, so that they can go via the CAN tree to > Dave? Sure, will do, when I have a proper internet connection again. This will be this evening. :) Marc -- Pengutronix e.K. | Marc Klei

Re: [PATCH 0/5] Memory policy corruption fixes -stable

2012-10-09 Thread Greg KH
On Tue, Oct 09, 2012 at 05:58:36PM +0100, Mel Gorman wrote: > This is a backport of the series "Memory policy corruption fixes V2". This > should apply to 3.6-stable, 3.5-stable, 3.4-stable and 3.0-stable without > any difficulty. It will not apply cleanly to 3.2 but just drop the "revert" > patch

[RESEND PATCH v2] nohz: fix idle ticks in cpu summary line of /proc/stat

2012-10-09 Thread Srivatsa S. Bhat
From: Michal Hocko Git commit 09a1d34f8535ecf9 "nohz: Make idle/iowait counter update conditional" introduced a bug in regard to cpu hotplug. The effect is that the number of idle ticks in the cpu summary line in /proc/stat is still counting ticks for offline cpus. Reproduction is easy, just sta

[PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-09 Thread Brian Norris
A combination of the following two commits caused a regression in 3.7-rc1 when identifying some Samsung NAND, so that some previously working NAND were no longer detected properly: commit e3b88bd604283ef83ae6e8f53622d5b1ffe9d43a mtd: nand: add generic READ ID length calculation functions

Re: [PATCH] [RESEND] mm, slab: release slab_mutex earlier in kmem_cache_destroy()

2012-10-09 Thread Pekka Enberg
On Mon, Oct 8, 2012 at 10:26 AM, Jiri Kosina wrote: > Commit 1331e7a1bbe1 ("rcu: Remove _rcu_barrier() dependency on > __stop_machine()") introduced slab_mutex -> cpu_hotplug.lock dependency > through kmem_cache_destroy() -> rcu_barrier() -> _rcu_barrier() -> > get_online_cpus(). > > Lockdep think

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-09 Thread David Woodhouse
On Tue, 2012-10-09 at 23:26 -0700, Brian Norris wrote: > I have heuristically determined that all the chips that use > the new table have ID strings which wrap around after the 6th byte. I'd be happier if we had confirmation of that from Samsung... -- dwmw2 smime.p7s Description: S/MIME crypto

[patch for-linus] memcg, kmem: fix build error when CONFIG_INET is disabled

2012-10-09 Thread David Rientjes
Commit e1aab161e013 ("socket: initial cgroup code.") causes a build error when CONFIG_INET is disabled in Linus' tree: net/built-in.o: In function `sk_update_clone': net/core/sock.c:1336: undefined reference to `sock_update_memcg' sock_update_memcg() is only defined when CONFIG_INET is enabled,

Re: [PATCH for 3.7] mtd: nand: fix Samsung SLC NAND identification regression

2012-10-09 Thread Brian Norris
On Tue, Oct 9, 2012 at 11:31 PM, David Woodhouse wrote: > On Tue, 2012-10-09 at 23:26 -0700, Brian Norris wrote: >> I have heuristically determined that all the chips that use >> the new table have ID strings which wrap around after the 6th byte. > > I'd be happier if we had confirmation of that f

Re: [PATCH 3/3] ARM: integrator: use __iomem pointers for MMIO, part 2

2012-10-09 Thread Linus Walleij
On Tue, Oct 9, 2012 at 5:34 PM, Arnd Bergmann wrote: > Due to some interesting merges in the integrator code, not > all users of mmio pointers were converted before, this > fixes all warnings that got introduced as a consequence. > > Signed-off-by: Arnd Bergmann > Cc: Linus Walleij > Cc: Russel

Re: [PATCH 2/9] ARM: export set_irq_flags

2012-10-09 Thread Linus Walleij
On Tue, Oct 9, 2012 at 5:22 PM, Arnd Bergmann wrote: > The recently added Emma Mobile GPIO driver calls set_irq_flags > and irq_set_chip_and_handler for the interrupts it exports and > it can be built as a module, which currently fails with > > ERROR: "set_irq_flags" [drivers/gpio/gpio-em.ko] und

Re: [PATCH] pinctrl: fix return value in bcm2835_pinctrl_probe()

2012-10-09 Thread Linus Walleij
On Sun, Oct 7, 2012 at 4:01 PM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function pinctrl_register() returns > NULL not ERR_PTR(). The PTR_ERR() in the return value > should be replaced with error no. > > dpatch engine is used to auto generate this patch. > (https://githu

Re: [PATCH] pinctrl: remove duplicated include from pinctrl-bcm2835.c

2012-10-09 Thread Linus Walleij
On Sun, Oct 7, 2012 at 3:28 PM, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Applied with Stephen's ACK. Thanks! Linus Walleij -- To unsubscribe f

Re: [PATCH] ARM: OMAP2+: gpmc: Fix kernel BUG for DT boot mode

2012-10-09 Thread Afzal Mohammed
On Tuesday 09 October 2012 02:27 PM, Vaibhav Hiremath wrote: This patch adds of_have_populated_dt() check before creating Signed-off-by: Vaibhav Hiremath Cc: Afzal Mohammed Reviewed-by: Afzal Mohammed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

[git pull] drm nouveau fixes

2012-10-09 Thread Dave Airlie
Hi Linus, just a bunch of nouveau fixes, Ben wants to get some alternate versions into stable. Dave. The following changes since commit 1f31c69dac71bebc0f00bc8534a6345782045501: Merge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (2012-10-07 21:1

Re: [PATCH] extcon : register for cable interest by cable name

2012-10-09 Thread MyungJoo Ham
> There are some scnearios where a driver/framework needs to register > interest for a particular cable without specifying the extcon device > name. One such scenario is charger notifications. The platform will > have charger cabel which will be bound to any extcon device. It's > not mandatory for

RE: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-09 Thread Kumar, Anil
On Thu, Oct 04, 2012 at 15:45:43, Porter, Matt wrote: > This series converts davinci ASoC to use genalloc and enables > that support on DA850. It applies on top of the uio_pruss/genalloc > series [1] which allows DaVinci to provide a gen_pool via pdata > for driver use. > > I've tested this on the

Re: [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs

2012-10-09 Thread Linus Walleij
On Mon, Oct 1, 2012 at 2:11 PM, Rob Herring wrote: > On 10/01/2012 02:35 AM, Linus Walleij wrote: >> From: Linus Walleij >> >> Currently we rely on all IRQ chip instances to dynamically >> allocate their IRQ descriptors unless they use the linear >> IRQ domain. So for irqdomain_add_legacy() and >

<    2   3   4   5   6   7