[PATCH 1/7] x86, mm: align start address to correct big page size

2012-10-09 Thread Yinghai Lu
We are going to use buffer in BRK to pre-map final page table buffer. Final page table buffer could be only page aligened, but around it are still ram, we could use bigger page to map it to avoid small page. We will probe to adjust page_size_mask in next patch to make big page size could be used

[PATCH 5/7] x86, mm: Break down init_all_memory_mapping

2012-10-09 Thread Yinghai Lu
Will replace that will top-down page table initialization. new one need to take range. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init.c | 41 +++-- 1 files changed, 19 insertions(+), 22 deletions(-) diff --git a/arch/x86/mm/init.c

[PATCH 4/7] x86, mm: only keep initial mapping for ram

2012-10-09 Thread Yinghai Lu
0 mean any e820 type will be kept, and only hole is removed. change to E820_RAM and E820_RESERVED_KERN only. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init_64.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/init_64.c

[PATCH 7/7] x86, mm: Remove early_memremap workaround for page table accessing

2012-10-09 Thread Yinghai Lu
Not needed that anymore after patches include premaping page table buf and not clear initial page table wrongly. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init_64.c | 38 -- 1 files changed, 4 insertions(+), 34 deletions(-) diff --git

Re: [PATCH -v2 00/10] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread Yinghai Lu
On Tue, Oct 9, 2012 at 11:27 AM, Yinghai Lu ying...@kernel.org wrote: On Tue, Oct 9, 2012 at 5:19 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: I agree with Peter that this series is going in the right direction. However if I give more than 4G of RAM to the VM I get a panic

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

2012-10-09 Thread Yinghai Lu
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 page table usage. At last we could get rid of calculation

[PATCH 2/7] x86, mm: Use big page size for small memory range

2012-10-09 Thread Yinghai Lu
We could map small range in the middle of big range at first, so should use big page size at first to avoid using small page size to break down page table. Only can set big page bit when that range has big ram area around it. Signed-off-by: Yinghai Lu ying...@kernel.org --- arch/x86/mm/init.c |

Re: dtc: import latest upstream dtc

2012-10-09 Thread Scott Wood
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-loving shit out of it? :-) Perhaps we can just handle this through the

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 04:10:59PM -0700, Zach Brown wrote: Well, the ringbuffer does have those compat flags and incompat flags. Which libaio conveniently doesn't check, but for what it does it shouldn't really matter I guess. Well, the presumed point of the incompat flags would be to

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

2012-10-09 Thread Stephen Rothwell
Hi Andrew, On Tue, 9 Oct 2012 16:45:14 -0700 Andrew Morton a...@linux-foundation.org wrote: On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: I can't see what the point of the pfn variable is This: ---

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

2012-10-09 Thread Kevin Hilman
From: Kevin Hilman khil...@ti.com 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 changed default behavior. This resulted in

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 memory. As a

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

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

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

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

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 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; a...@firstfloor.org

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

2012-10-09 Thread Tony Lindgren
* Péter Ujfalusi peter.ujfal...@ti.com [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: [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 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 got

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 RD)
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 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. And

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 r...@sisk.pl 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 e-m...@date.by

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... what led to

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 kon...@kernel.org 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,

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 kon...@kernel.org 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

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 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 kon...@kernel.org 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

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

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 + exceptions)

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 k...@microsoft.com wrote: + if (!pg) { + *alloc_error = true; + return i * alloc_unit; + } + + totalram_pages -= alloc_unit; Well, I'd consider totalram_pages to be an

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 toshi.k...@hp.com --- I have not tested the patch. But it looks good to me.

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 1/2] mm: Export vm_committed_as

2012-10-09 Thread Andrew Morton
On Wed, 10 Oct 2012 00:11:28 + KY Srinivasan k...@microsoft.com 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;

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 bfie...@fieldses.org writes: On Tue, Oct 09, 2012 at 01:20:48PM -0700, Eric W. Biederman wrote: Myklebust, Trond trond.mykleb...@netapp.com writes: On Tue, 2012-10-09 at 15:35 -0400, J. Bruce Fields

[PATCH] perf: fix duplicate header inclusion

2012-10-09 Thread Michel Lespinasse
#include stdbool.h 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 wal...@google.com --- tools/perf/util/include/linux/rbtree.h |1 - 1 files changed, 0 insertions(+), 1

[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

[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

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

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

2012-10-09 Thread Zheng, Lv
Signed-off-by: Lv Zheng lv.zh...@intel.com Reviewed-by: Len Brown len.br...@intel.com Reviewed-by: Rui Zhang rui.zh...@intel.com Reviewed-by: Ying Huang ying.hu...@intel.com Reviewed-by: Konrad Rzeszutek Wilk kon...@kernel.org Please don't include that unless I (or other folks looking

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
+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 body of a

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

2012-10-09 Thread Wan ZongShun
2012/10/10 Arnd Bergmann a...@arndb.de: 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: [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 for

Re: ASpeed Technologies KMS VGA Driver error in log

2012-10-09 Thread thekingmen
- Original Message - From: Keven theking...@gmail.com 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

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 ying...@kernel.org 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

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: 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 upstream now. commit

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 bfie...@fieldses.org writes: On Tue, Oct 09, 2012 at 01:20:48PM -0700, Eric W. Biederman wrote: Myklebust, Trond trond.mykleb...@netapp.com writes: On Tue, 2012-10-09 at 15:35 -0400, J. Bruce Fields wrote: Cc'ing Eric

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 we get a

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

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(dev-kobj)) { +if (tpm_add_ppi(dev-kobj)) {

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

2012-10-09 Thread Benjamin Herrenschmidt
/dhowells/linux-headers.git tags/disintegrate-powerpc-20121009 for you to fetch changes up to c3617f72036c909e1f6086b5b9e364e0ef90a6da: UAPI: (Scripted) Disintegrate arch/powerpc/include/asm (2012-10-09 09:47:26 +0100

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

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: 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. So some

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 jkos...@suse.cz commit

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; a...@firstfloor.org

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'; 'Jaegeuk

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 pmdp_invalidate())

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

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 richard.weinber...@gmail.com wrote: On Sun, Oct 7, 2012 at 9:18 PM, Ezequiel Garcia elezegar...@gmail.com wrote: The new option is CONFIG_CC_DISABLE_AUTO_INLINE and it's located at: * Kernel hacking * Disable gcc

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 a...@redhat.com [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.

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 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 broo...@opensource.wolfsonmicro.com -- To

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

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 for ACPI launched

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 isimatu.yasu...@jp.fujitsu.com wrote: 2012/10/10 8:45, Andrew Morton wrote: On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Linus, In Linus' tree, today's linux-next build (powerpc

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 rafael.j.wyso...@intel.com 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

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:

Re: udev breakages -

2012-10-09 Thread Felipe Contreras
On Thu, Oct 4, 2012 at 9:17 PM, Alan Cox a...@lxorguk.ukuu.org.uk 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

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 rafael.j.wyso...@intel.com 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

[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

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

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 ad676077

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 rafael.j.wyso...@intel.com 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

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 rafael.j.wyso...@intel.com 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

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 rafael.j.wyso...@intel.com 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

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 rafael.j.wyso...@intel.com 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

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 rafael.j.wyso...@intel.com 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

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 that cpu is

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

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 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 eric.duma...@gmail.com wrote: It seems

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 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: [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 mj...@srcf.ucam.org 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: [GIT PULL] Disintegrate UAPI for powerpc [ver #2]

2012-10-09 Thread Benjamin Herrenschmidt
at: git://git.infradead.org/users/dhowells/linux-headers.git tags/disintegrate-powerpc-20121009 for you to fetch changes up to c3617f72036c909e1f6086b5b9e364e0ef90a6da: UAPI: (Scripted) Disintegrate arch/powerpc/include/asm (2012-10-09 09:47:26 +0100

[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

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-loving shit out of it?

[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

[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 jenny...@intel.com --- drivers/extcon/extcon-class.c |5 + include/linux/extcon.h|5 + 2 files changed, 10 insertions(+)

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 to

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

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 tree

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