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

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: [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] 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

[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

[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

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

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

linux-next: Tree for Oct 10

2012-10-09 Thread Stephen Rothwell
ent/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' of git://git.infradead.org/users/dhowells/linux-headers) Mergi

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?

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

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

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

[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: [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 : 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

[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

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

[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

[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]

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

2012-10-09 Thread Benjamin Herrenschmidt
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 c3617f72036c909e1f6086b5b9e364e0ef90a6da: > > UA

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:

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

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

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

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 =

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

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 >>>

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

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

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

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

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

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

[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.

[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

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 >

Re: udev breakages -

2012-10-09 Thread Felipe Contreras
On Thu, Oct 4, 2012 at 9:17 PM, Alan Cox wrote: >> I don't know how to handle the /dev/ptmx issue properly from within >> devtmpfs, does anyone? Proposals are always welcome, the last time this >> came up a week or so ago, I don't recall seeing any proposals, just a >> general complaint. > > Is

RE: [PATCH 1/2] mm: Export vm_committed_as

2012-10-09 Thread KY Srinivasan
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, October 09, 2012 9:17 PM > To: KY Srinivasan > Cc: Greg KH; o...@aepfle.de; linux-kernel@vger.kernel.org; > a...@firstfloor.org; > a...@canonical.com; de...@linuxdriverproject.org > Subject:

Re: [PATCH 1/7] PM / QoS: Prepare device structure for adding more constraint types

2012-10-09 Thread mark gross
On Mon, Oct 08, 2012 at 10:04:03AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Currently struct dev_pm_info contains only one PM QoS constraints > pointer reserved for latency requirements. Since one more device > constraints type (i.e. flags) will be necessary, introduce a

Re: linux-next: build failure after merge of the origin tree

2012-10-09 Thread Stephen Rothwell
Hi, On Wed, 10 Oct 2012 08:52:21 +0900 Yasuaki Ishimatsu wrote: > > 2012/10/10 8:45, Andrew Morton wrote: > > On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell > > wrote: > > > >> Hi Linus, > >> > >> In Linus' tree, today's linux-next build (powerpc ppc64_defconfig) failed > >> like this: >

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

2012-10-09 Thread Zheng, Lv
> > +#ifdef CONFIG_EARLY_PRINTK_INTEL_MID_SPI > > + if (info->port_type == ACPI_DBG2_SERIAL_PORT > > + && info->port_subtype == ACPI_DBG2_INTEL_MID_SPI > > + && info->register_count > 0) { > Is it ever going to be zero? NAK. No register base definition (buggy BIOS?) is meaningless

Re: [PATCH 3/5] mfd: tps65910: Initialize mfd devices after all initialization done

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 04:58:34PM +0530, Laxman Dewangan wrote: > Add sub devices of tps65910 after all initialization like interrupt, > clock etc. is done. This will make sure that require data gets > initialized properly before sub devices probe's get called. Reviewed-by: Mark Brown but

Re: [PATCH 2/5] mfd: tps65910: move interrupt implementation code to mfd file

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 04:58:33PM +0530, Laxman Dewangan wrote: > In place of implementing the irq support in separate file, > moving implementation to main mfd file. > The irq files only contains the table and init steps only > and does not need extra file to have this only for this > purpose.

Re: [PATCH 1/5] mfd: tps65910: use regmap irq framework for interrupt support

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 04:58:32PM +0530, Laxman Dewangan wrote: > Implement irq support of tps65910 with regmap irq framework > in place of implementing locally. > This reduces the code size significantly and easy to maintain. Reviwed-by: Mark Brown -- To unsubscribe from this list: send the

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

2012-10-09 Thread Stephen Rothwell
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 tree insertion error") from the kmemleak tree. The

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-09 Thread Andrew Theurer
On Wed, 2012-10-10 at 00:21 +0530, Raghavendra K T wrote: > * Avi Kivity [2012-10-04 17:00:28]: > > > On 10/04/2012 03:07 PM, Peter Zijlstra wrote: > > > On Thu, 2012-10-04 at 14:41 +0200, Avi Kivity wrote: > > >> > > >> Again the numbers are ridiculously high for arch_local_irq_restore. > > >>

Re: [PATCH v2] Makefile: Add option to disable gcc automatic inlining

2012-10-09 Thread Ezequiel Garcia
Hey Richard, On Sun, Oct 7, 2012 at 7:30 PM, richard -rw- weinberger wrote: > On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia wrote: >> The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's >> located at: >> * Kernel hacking >> * Disable gcc automatic inlining > > Can you guarantee

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

2012-10-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in mm/mempolicy.c between commit 63f74ca21f1f ("mempolicy: fix refcount leak in mpol_set_shared_policy()") from Linus' tree and commit 4d58c795f691 ("mm/mpol: Check for misplaced page") from the tip tree. I fixed it up (see below)

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

2012-10-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in mm/huge_memory.c between commits d516904bd239 ("thp: merge page pre-alloc in khugepaged_loop into khugepaged_do_scan"), e3ebcf643811 ("thp: remove assumptions on pgtable_t type") and 46dcde735c9d ("thp: introduce

RE: [PATCH 00/16] f2fs: introduce flash-friendly file system

2012-10-09 Thread Jaegeuk Kim
> -Original Message- > From: linux-fsdevel-ow...@vger.kernel.org > [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of > Dave Chinner > Sent: Wednesday, October 10, 2012 6:20 AM > To: Jaegeuk Kim > Cc: 'Lukáš Czerner'; 'Namjae Jeon'; 'Vyacheslav Dubeyko'; 'Marco Stornelli'; >

RE: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-09 Thread KY Srinivasan
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, October 09, 2012 9:15 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

Re: [ 068/108] HID: hidraw: add proper error handling to raw event reporting

2012-10-09 Thread Ben Hutchings
On Mon, 2012-10-08 at 16:34 -0300, Herton Ronaldo Krzesinski wrote: > On Sun, Oct 07, 2012 at 11:59:42PM +0100, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jiri Kosina > > > > commit

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v3

2012-10-09 Thread Andi Kleen
Thanks for the review. > > I also exported the new flags to the user headers > > (they were previously under __KERNEL__). Right now only symbols > > for x86 and some other architecture for 1GB and 2MB are defined. > > The interface should already work for all other architectures > > though. > >

Re: [ 028/108] ARM: imx: armadillo5x0: Fix illegal register access

2012-10-09 Thread Ben Hutchings
On Sun, 2012-10-07 at 23:37 +, Estevam Fabio-R49496 wrote: > No, please drop it from 3.2-stable. > > This one should only go to 3.5/3.6 stable trees. > > Otherwise it will break 3.2-stable. Thanks, I've dropped this. Ben. -- Ben Hutchings Who are all these weirdos? - David Bowie, about

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-09 Thread Hugh Dickins
On Tue, 9 Oct 2012, Jan Kara wrote: > On Mon 08-10-12 21:24:40, Hugh Dickins wrote: > > On Mon, 1 Oct 2012, Jan Kara wrote: > > > > > On s390 any write to a page (even from kernel itself) sets architecture > > > specific page dirty bit. Thus when a page is written to via standard > > > write, HW

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

2012-10-09 Thread Benjamin Herrenschmidt
vailable 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 c3617f72036c909e1f6086b5b9e364e0ef90a6da: > > UAPI: (Scrip

RE: [PATCH] driver/char/tpm: fix regression causesd by ppi

2012-10-09 Thread Wei, Gang
Kent Yoder wrote on 2012-10-10: > On Tue, Oct 09, 2012 at 05:35:22PM +0800, gang@intel.com wrote: >> @@ -1476,7 +1477,7 @@ struct tpm_chip *tpm_register_hardware(struct > device *dev, >> goto put_device; >> } >> -if (sys_add_ppi(>kobj)) { >> +if (tpm_add_ppi(>kobj)) {

Re: [PATCH 4/5] regmap: add API to get irq_domain from regmap irq

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 04:58:35PM +0530, Laxman Dewangan wrote: > Add API regmap_irq_get_irq_domain() for getting the > irq domain from regmap irq. > The irq domain created on result of regmap_add_irq_chip() > from driver. This needs stubbing. Please also fix the formatting of your commit

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 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 >> that cpu is offlined, we try and fix up state when

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

2012-10-09 Thread 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 since I seem to recall he

Re: ASpeed Technologies KMS VGA Driver error in log

2012-10-09 Thread David Airlie
> > > > > > > Oh thanks for pointing this out, its just left over debug, I'll > > send a patch > > to remove it. > > > > Dave. > > Hello, > I see no changes in the current kernel tree. Maybe you forgot about > it ? > > Not sure what kernel tree you are looking in, should be in Linus tree

Re: [PATCH] firmware: Don't attempt to allocate zero bytes with vmalloc()

2012-10-09 Thread Mark Brown
On Tue, Oct 09, 2012 at 10:55:17PM +0800, Ming Lei wrote: > On Tue, Oct 9, 2012 at 8:36 PM, Mark Brown > > On Tue, Oct 09, 2012 at 08:02:18PM +0800, Ming Lei wrote: > > It doesn't really help as the ABI is such that you can only have one > Could you let me know where the ABI is? It's defined by

Re: [PATCH 6/7] x86, mm: setup page table from top-down

2012-10-09 Thread Yinghai Lu
On Tue, Oct 9, 2012 at 4:58 PM, Yinghai Lu wrote: > Get pgt_buf early from BRK, and use it to map PMD_SIZE to top at first. > then use page from PMD_SIZE to map next blow range. > > alloc_low_page will use page from BRK at first, then will switch to use > to memblock to find and reserve page for

Re: ASpeed Technologies KMS VGA Driver error in log

2012-10-09 Thread thekingmen
> - Original Message - > > From: "Keven" > > To: linux-kernel@vger.kernel.org, airl...@redhat.com > > Sent: Monday, 3 September, 2012 12:26:05 AM > > Subject: ASpeed Technologies KMS VGA Driver error in log > > > > 1. ASpeed Technologies KMS VGA Driver error in log > > 2. Hi, I have an

Re: [ANNOUNCE] 3.6.1-rt1

2012-10-09 Thread Steven Rostedt
On Tue, 2012-10-09 at 20:21 -0400, Steven Rostedt wrote: > > 0007-stomp-machine-deal-clever-with-stopper-lock.patch > > With this one, things have changed quite a bit. I'll take a deeper look > at what you did and figure out how this applies to v3.0-rt. It doesn't look like this patch is needed

Re: [PATCH v2 7/8] video: mark nuc900fb_map_video_memory as __devinit

2012-10-09 Thread Wan ZongShun
2012/10/10 Arnd Bergmann : > nuc900fb_map_video_memory is called by an devinit function > that may be called at run-time, but the function itself is > marked __init and will be discarded after boot. > > To avoid calling into a function that may have been overwritten, > mark

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

2012-10-09 Thread Zheng, Lv
> > +int __init acpi_early_console_keep(struct acpi_debug_port *info) > > Why not make it 'bool' like the other (acpi_early_console_enabled)? NAK. "keep" is "int" in "setup_early_printk". Best regards/Lv Zheng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

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

2012-10-09 Thread Zheng, Lv
> > earlyprintk=acpi > .. or earlyprintk=mrst > ? ACK. The two launchers are all workable for MID_SPI. I'll add more comments and resend this patch. Thanks -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

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

2012-10-09 Thread Zheng, Lv
> > Signed-off-by: Lv Zheng > > Reviewed-by: Len Brown > > Reviewed-by: Rui Zhang > > Reviewed-by: Ying Huang > > Reviewed-by: Konrad Rzeszutek Wilk > Please don't include that unless I (or other folks looking at your code) say > explicitly 'Acked' or 'Reviewed-by' ACK. I'll remove these

systemtap release 2.0

2012-10-09 Thread Josh Stone
The systemtap team announces release 2.0! prototype/preview dyninst backend, preprocessor macros, script privilege level conditionals, probe alias suffixes, revamped backtrace tapsets, tested on kernels 2.6.9 through 3.6. = Where to get it http://sourceware.org/systemtap/ - our project

[GIT] Networking

2012-10-09 Thread David Miller
UAPI: (Scripted) Disintegrate include/linux/netfilter_ipv6 UAPI: (Scripted) Disintegrate include/linux/tc_act UAPI: (Scripted) Disintegrate include/linux/tc_ematch David S. Miller (3): Merge git://git.kernel.org/.../torvalds/linux Merge tag 'disintegrate-net-20121009

[GIT] Sparc

2012-10-09 Thread David Miller
://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master for you to fetch changes up to 9836d3458cde82626f2828ca6bd44c4a02b56e63: Merge tag 'disintegrate-sparc-20121009' of git://git.infradead.org/users/dhowells/linux-headers (2012-10-09 09:54:30 -0700

[PATCH] perf: fix duplicate header inclusion

2012-10-09 Thread Michel Lespinasse
#include somehow got duplicated on its way to linus's tree (probably as a conflict resolution as things got sent through multiple trees) Signed-off-by: Michel Lespinasse --- tools/perf/util/include/linux/rbtree.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

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

2012-10-09 Thread J. Bruce Fields
On Tue, Oct 09, 2012 at 03:47:42PM -0700, Eric W. Biederman wrote: > "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

Re: [PATCH 1/2] mm: Export vm_committed_as

2012-10-09 Thread Andrew Morton
On Wed, 10 Oct 2012 00:11:28 + KY Srinivasan wrote: > > > > -Original Message- > > From: Andrew Morton [mailto:a...@linux-foundation.org] > > Sent: Tuesday, October 09, 2012 3:48 PM > > To: Greg KH > > Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; > >

linux-next: build failure after merge of the block tree

2012-10-09 Thread Stephen Rothwell
Hi Jens, After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/block_dev.c: In function 'set_blocksize': fs/block_dev.c:135:2: error: implicit declaration of function 'prio_tree_empty' [-Werror=implicit-function-declaration] Caused by commit

Re: [PATCH] ACPI: dock: Remove redundant ACPI NS walk

2012-10-09 Thread Yasuaki Ishimatsu
Hi Toshi, Sorry for late reply. 2012/09/13 5:30, Toshi Kani wrote: > Combined two ACPI namespace walks, which look for dock stations > and then bays separately, into a single walk. > > Signed-off-by: Toshi Kani > --- I have not tested the patch. But it looks good to me. Reviewed-by: Yasuaki

Re: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-09 Thread Andrew Morton
On Wed, 10 Oct 2012 00:09:12 + KY Srinivasan wrote: > > > + if (!pg) { > > > + *alloc_error = true; > > > + return i * alloc_unit; > > > + } > > > + > > > + totalram_pages -= alloc_unit; > > > > Well, I'd consider totalram_pages to be

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

2012-10-09 Thread Sergey Senozhatsky
On (10/08/12 12:49), Paul E. McKenney wrote: > > > > device_cgroup: Restore rcu_read_lock() protection to devcgroup_inode_mknod() > > Commit ad676077 (device_cgroup: convert device_cgroup internally to > policy +

Re: [PATCH 4/5] aio: vmap ringbuffer

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 05:36:26PM -0700, Zach Brown wrote: > > The only situation you have to worry about is when the ringbuffer fills > > up and stuff goes on the list, and then completions completely stop - > > this should be a rare enough situation that maybe we could just hack > > around it

Re: RNG: is it possible to spoil /dev/random by seeding it from (evil) TRNGs

2012-10-09 Thread Christoph Anton Mitterer
On Sun, 2012-10-07 at 21:24 -0400, Theodore Ts'o wrote: > I've looked at his message, I didn't see any justification for his > concern/assertion. So I can't really comment on it since he didn't > give any reason for his belief. I asked him again[0] to be sure and he replied to have no reason to

Re: [PATCH 04/10] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Yinghai Lu
On Tue, Oct 9, 2012 at 9:04 AM, Konrad Rzeszutek Wilk wrote: > How do we clean it wrongly? >> And it only happens when we are trying to map range one by one range >> separately. >> >> After we add checking before clearing the related page table, that panic will >> not happen anymore. > > So we

Re: acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-09 Thread Yasuaki Ishimatsu
Hi Toshi, 2012/10/10 1:36, Toshi Kani wrote: On Tue, 2012-10-09 at 17:48 +0900, Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when

Re: [PATCH 03/10] x86, mm: get early page table from BRK

2012-10-09 Thread Yinghai Lu
On Tue, Oct 9, 2012 at 9:01 AM, Konrad Rzeszutek Wilk wrote: >> +RESERVE_BRK(early_pgt_alloc, 16384); > > How did you come up with 16KB being the right size? What is this > based on? Can you provide a comment explaining why 16KB is the > right value on 32-bit and 64-bit machines? good point, i

Re: [PATCH 2/3] x86, mm: Don't clear page table if next range is ram

2012-10-09 Thread Yinghai Lu
On Tue, Oct 9, 2012 at 8:46 AM, Konrad Rzeszutek Wilk wrote: >> + !e820_any_mapped(addr & PAGE_MASK, next, 0)) > > What is the 0 parameter for? any type if type != 0, the will only check entries with same type. int e820_any_mapped(u64 start, u64 end, unsigned type) {

Re: [PATCH 5/5] aio: Refactor aio_read_evt, use cmxchg(), fix bug

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 05:26:34PM -0700, Zach Brown wrote: > > The AIO ringbuffer stuff just annoys me more than most > > Not more than everyone, though, I can personally promise you that :). > > > (it wasn't until > > the other day that I realized it was actually exported to userspace... > >

Re: [PATCH] ACPI video: Ignore AE_AML_PACKAGE_LIMIT errors after _DOD evaluation.

2012-10-09 Thread Igor Murzov
On Wed, 10 Oct 2012 00:58:10 +0200 "Rafael J. Wysocki" wrote: > On Wednesday 10 of October 2012 02:19:06 Igor Murzov wrote: > > This should fix brightness controls on some laptops. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=47861 > > > > Signed-off-by: Igor Murzov > > Put more

Re: [PATCH 4/5] aio: vmap ringbuffer

2012-10-09 Thread Zach Brown
> The only situation you have to worry about is when the ringbuffer fills > up and stuff goes on the list, and then completions completely stop - > this should be a rare enough situation that maybe we could just hack > around it with a timer that gets flipped on when the list isn't empty. Right.

RE: [PATCH] fix x2apic defect that Linux kernel doesn't mask 8259A interrupt during the time window between changing VT-d table base address and initializing these VT-d entries(smpboot.c and apic.c )

2012-10-09 Thread Zhang, Lin-Bao (Linux Kernel R)
Hi Suresh, Thanks very much for your reply! I tested this patch in 2.6.32 with our machine , it can indeed can resolve current issue. that 's good. I also check 3.x version of kernel source , for example , 3.3.8 and 3.0.0 , they indeed include similar patch , I think the key action

Re: [PATCH 5/5] aio: Refactor aio_read_evt, use cmxchg(), fix bug

2012-10-09 Thread Zach Brown
> The AIO ringbuffer stuff just annoys me more than most Not more than everyone, though, I can personally promise you that :). > (it wasn't until > the other day that I realized it was actually exported to userspace... > what led to figuring that out was noticing aio_context_t was a ulong, > and

Re: [ANNOUNCE] 3.6.1-rt1

2012-10-09 Thread Steven Rostedt
On Tue, 2012-10-09 at 14:19 -0400, Steven Rostedt wrote: I applied and tested the backported patches to 3.4-rt. Things look good and will be posting the -rc1 soon. Status for 3.0-rt: > -scsi-qla2xxx-fix-bug-sleeping-function-called-from-invalid-context.patch >

Re: [PATCH 1/2] ARM: OMAP: Trivial driver changes to remove include plat/cpu.h

2012-10-09 Thread Tony Lindgren
* Péter Ujfalusi [121009 02:03]: > On 10/08/2012 07:35 PM, Tony Lindgren wrote: > > > - omap-dma.c and omap-pcm.c can test the arch locally as > > omap1 and omap2 cannot be compiled together because of > > conflicting compiler flags > > > sound/soc/omap/omap-pcm.c |9 +++--

RE: [PATCH 2/2] Drivers: hv: Add Hyper-V balloon driver

2012-10-09 Thread KY Srinivasan
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, October 09, 2012 3:45 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

Re: [PATCH] cpufreq, powernow-k8: Fix usage of smp_processor_id() in preemptible code

2012-10-09 Thread Tejun Heo
Hello, On Tue, Oct 09, 2012 at 09:38:44PM +0200, Andreas Herrmann wrote: > > Commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 > (cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another > CPU) > causes powernow-k8 to trigger a preempt warning, e.g.: > > BUG: using

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 03:35:04PM -0700, Zach Brown wrote: > > Alright... send it out then. > > Workin' on it! :) > > > Also, do you know which branch Jens has his patches in? > > http://git.kernel.dk/?p=linux-block.git;a=commit;h=6b6723fc3e4f24dbd80526df935ca115ead578c6 > >

Documentation of kconfig language differs from implementation regarding existence of symbols

2012-10-09 Thread Martin Walch
The file linux/Documentation/kbuild/kconfig-language.txt says: > The following two methods produce the same kconfig symbol dependencies > but differ greatly in kconfig symbol existence (production) in the > generated config file. > > case 1: > > config FOO > tristate "about foo" >

Re: [PATCH 4/5] aio: vmap ringbuffer

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 03:58:36PM -0700, Zach Brown wrote: > > Not if we decouple the ringbuffer size from max_requests. > > Hmm, interesting. > > > This would be useful to do anyways because right now, allocating a kiocb > > has to take a global refcount and check head and tail in the

RE: [PATCH 1/2] mm: Export vm_committed_as

2012-10-09 Thread KY Srinivasan
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, October 09, 2012 3:48 PM > To: Greg KH > Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; > a...@firstfloor.org; a...@canonical.com; de...@linuxdriverproject.org > Subject: Re:

Re: [PATCH 0/3] Volatile Ranges (v7) & Lots of words

2012-10-09 Thread Minchan Kim
On Tue, Oct 09, 2012 at 02:30:03PM -0700, John Stultz wrote: > On 10/09/2012 01:07 AM, Mike Hommey wrote: > >Note it doesn't have to be a vs. situation. madvise could be an > >additional way to interface with volatile ranges on a given fd. > > > >That is, madvise doesn't have to mean anonymous

  1   2   3   4   5   6   7   8   9   10   >