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

2012-10-09 Thread Rafael J. Wysocki
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 detials into the changelog, please. The BZ entry linked above may or may not b

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 03:47:03PM -0700, Zach Brown wrote: > > If libaio is the only thing in userspace looking at the ringbuffer, and > > if I'm looking at the latest libaio code this shouldn't break > > anything... > > We can't assume that libaio is the only thing in userspace using the > mappe

[GIT PULL] UML changes for 3.7-rc1

2012-10-09 Thread Richard Weinberger
Linus, please issue the following pull request. UML receives this time only cleanups. The most outstanding change is the 'include "foo.h"' do 'include ' conversion done by Al Viro. It touches many files, that's why the diffstat is rather big. Thanks, //richard The following changes sinc

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

2012-10-09 Thread Zach Brown
> 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 so it can avoid overflowing the ringbuffer. I'm not sure what

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, Mel Gorman wrote: > On Mon, Oct 08, 2012 at 09:24:40PM -0700, Hugh Dickins wrote: > > > > So, if I'm understanding right, with this change s390 would be in danger > > of discarding shm, and mmap'ed tmpfs and ramfs pages - whereas pages > > written with the write system call wou

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 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 uses VM_RESERVED > > > > Yeah, I just pushed out what I think is the right

Re: [PATCH v3 06/10] mm: kill vma flag VM_CAN_NONLINEAR

2012-10-09 Thread Sasha Levin
215904] CPU 3 [ 1202.224995] Pid: 17953, comm: trinity-child3 Tainted: G D W 3.6.0-next-20121009-sasha-1-ge404bae #43 [ 1202.224995] RIP: 0010:[] [] sys_remap_file_pages+0xcf/0x380 [ 1202.224995] RSP: 0018:880025819f18 EFLAGS: 00010246 [ 1202.224995] RAX: 050444f9 RBX:

Re: [PATCH v2 2/6] Add the main bulk of core driver for SI476x code

2012-10-09 Thread Andrey Smirnov
On 10/08/2012 11:33 PM, Mark Brown wrote: > On Fri, Oct 05, 2012 at 06:54:58PM -0700, Andrey Smirnov wrote: > >> +err = regulator_enable(core->supplies.va); >> +if (err < 0) >> +break; >> + >> +

Re: linux-audit: reconstruct path names from syscall events?

2012-10-09 Thread Mark Moseley
On Fri, Sep 16, 2011 at 5:12 PM, John Feuerstein wrote: > Hi, > > I would like to audit all changes to a directory tree using the linux > auditing system[1]. > > # auditctl -a exit,always -F dir=/etc/ -F perm=wa > > It seems like the GNU coreutils are enough to break the audit trail. > > The resul

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

2012-10-09 Thread Zach Brown
> 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 tell an app that it isn't going to get what it expects! Ideally

[RESEND] [PATCH] [RFC] coredump: Ensure that the coredump helper has stdout and stderr

2012-10-09 Thread Richard Weinberger
Currently only stdin is available in the coredump helper process. If the process opens a file and then issues a printf(), printf() will write to that opened file instead to a console. Therefore open /dev/console and create fd 1 and 0 as init/main.c does. sys_close(0) is only needed if sys_open() s

Re: dtc: import latest upstream dtc

2012-10-09 Thread Mitch Bradley
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 regular patch review > process; I think

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, Martin Schwidefsky wrote: > On Mon, 8 Oct 2012 21:24:40 -0700 (PDT) > 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

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

2012-10-09 Thread Stephen Rothwell
Hi Linus, In Linus' tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/platforms/pseries/hotplug-memory.c: In function 'pseries_remove_memblock': arch/powerpc/platforms/pseries/hotplug-memory.c:103:17: error: unused variable 'pfn' [-Werror=unused-variable]

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

2012-10-09 Thread David Rientjes
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 wakeup. > > On wakeup, it tries to find a cp

Re: linux-audit: reconstruct path names from syscall events?

2012-10-09 Thread Al Viro
On Tue, Oct 09, 2012 at 04:09:18PM -0700, Mark Moseley wrote: > On Fri, Sep 16, 2011 at 5:12 PM, John Feuerstein wrote: > > Hi, > > > > I would like to audit all changes to a directory tree using the linux > > auditing system[1]. > > > > # auditctl -a exit,always -F dir=/etc/ -F perm=wa > > > > It

Re: [PATCH] [staging][zram] Fix handling of incompressible pages

2012-10-09 Thread Minchan Kim
On Tue, Oct 09, 2012 at 10:35:24AM -0700, Nitin Gupta wrote: > Hi Minchan, > > On 10/09/2012 06:31 AM, Minchan Kim wrote: > > > >On Mon, Oct 08, 2012 at 06:32:44PM -0700, Nitin Gupta wrote: > >>Change 130f315a introduced a bug in the handling of incompressible > >>pages which resulted in memory al

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-09 Thread Mauro Carvalho Chehab
Em Mon, 8 Oct 2012 10:31:33 +0200 (CEST) Julia Lawall escreveu: > I found only 15 uses of I2C_MSG_OP, out of 653 uses of one of the three > macros. Since I2C_MSG_OP has the complete set of flags, I think it should > be OK? > > One of the uses, in drivers/media/i2c/adv7604.c, is as follows: > >

Re: linux-audit: reconstruct path names from syscall events?

2012-10-09 Thread Al Viro
On Tue, Oct 09, 2012 at 04:09:18PM -0700, Mark Moseley wrote: > If you see my recent linux-audit posting, another related thing (at > least as far as missing relevant information in the logs) is that the > audit logs are logging pathnames relative to the chroot, instead of > the pathnames relative

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

2012-10-09 Thread Andrew Morton
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: > > arch/powerpc/platforms/pseries/hotplug-memory.c: In function > 'pseries_remove_memblock': > arch/powerpc/platforms/pseries/hotp

[PATCH] zram: correct obsolete comment on max_zpage_size

2012-10-09 Thread Minchan Kim
Zram doesn't use xv_malloc any more so it doesn't have limitation about zobj_header. Signed-off-by: Minchan Kim --- drivers/staging/zram/zram_drv.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/zram/zram_drv.h b/drivers/staging/zram/zram_drv.h index 5

Re: linux-audit: reconstruct path names from syscall events?

2012-10-09 Thread Mark Moseley
On Tue, Oct 9, 2012 at 4:39 PM, Al Viro wrote: > On Tue, Oct 09, 2012 at 04:09:18PM -0700, Mark Moseley wrote: > >> If you see my recent linux-audit posting, another related thing (at >> least as far as missing relevant information in the logs) is that the >> audit logs are logging pathnames relat

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

2012-10-09 Thread Yasuaki Ishimatsu
Hi Stephen, 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: arch/powerpc/platforms/pseries/hotplug-memory.c: In function 'pseries_remove_memblock

Re: linux-audit: reconstruct path names from syscall events?

2012-10-09 Thread Al Viro
On Tue, Oct 09, 2012 at 04:47:17PM -0700, Mark Moseley wrote: > > BTW, what makes you think that container's root is even reachable from > > "the host's /"? There is no such thing as "root of the OS itself"; > > different > > processes can (and in case of containers definitely do) run in differen

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

2012-10-09 Thread Yinghai Lu
After we add code use BRK to map buffer for final page table, It should be safe to remove early_memmap for page table accessing. But we get panic with that. It turns out we clear the initial page table wrongly for next range that is separated by holes. And it only happens when we are trying to m

[PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-10-09 Thread Yinghai Lu
on top of tip/x86/mm2, but please zap last patch in that branch. 1. use brk to mapping first PMD_SIZE range. 2. top down to initialize page table range by range. 3. get rid of calculate page table, and find_early_page_table. 4. remove early_ioremap in page table accessing. v2: changes, update xen

[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 --- arch/x86/mm/init.c | 41 +++-- 1 files changed, 19 insertions(+), 22 deletions(-) diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c index

[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 --- arch/x86/mm/init_64.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 6

[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 --- arch/x86/mm/init_64.c | 38 -- 1 files changed, 4 insertions(+), 34 deletions(-) diff --git a/arch/x86/mm/init_64.

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 wrote: > On Tue, Oct 9, 2012 at 5:19 AM, Stefano Stabellini > 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 at boot: just update my branch for-x86-mm,

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

[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 --- arch/x86/mm/init.c | 32 +

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 th

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 b

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 wrote: > > On Wed, 10 Oct 2012 10:21:50 +1100 Stephen Rothwell > wrote: > > > I can't see what the point of the "pfn" variable is > > This: > > --- a/arch/powerpc/platforms/pseries/hotplug-memory.c~a > +++ a/arch/powerpc/platforms/p

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

2012-10-09 Thread Kevin Hilman
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 changed default behavior. This resulted in the various RTC

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 memo

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

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 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 > > https://plus.googl

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 smp_proce

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

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: [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 > 0001-upstream-net-rt-remove-

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

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

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

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

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 de

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 do

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 be

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 wi

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

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 I

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 b8757

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

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 since

[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 a/tools/per

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

[GIT] Networking

2012-10-09 Thread David Miller
ilter_ipv4 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 'disintegra

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

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 ma

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

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 nuc900fb_map_video_memor

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

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 p

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 ups

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 s

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 w

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-

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

2012-10-09 Thread Benjamin Herrenschmidt
5 +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:

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

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

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

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

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

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 that

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

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 kmem

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 lin

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

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 isn't

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 fo

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

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

<    1   2   3   4   5   6   7   >