Re: memory-cgroup bug

2012-11-25 Thread Michal Hocko
On Mon 26-11-12 01:38:55, azurIt wrote: > >This is hackish but it should help you in this case. Kamezawa, what do > >you think about that? Should we generalize this and prepare something > >like mem_cgroup_cache_charge_locked which would add __GFP_NORETRY > >automatically and use the function

Re: The ethernet driver doesn't get probed

2012-11-25 Thread Li, Zhen-Hua
First you should run "lspci -n" to check your device ID and vendor ID, and make sure they are in the map list in /lib/modules//modules.alias . On Mon, Nov 26, 2012 at 3:47 PM, Belisko Marek wrote: > On Mon, Nov 26, 2012 at 7:59 AM, Woody Wu wrote: >> Hi, List >> >> I enabled an ax88796

Re: The ethernet driver doesn't get probed

2012-11-25 Thread Belisko Marek
On Mon, Nov 26, 2012 at 7:59 AM, Woody Wu wrote: > Hi, List > > I enabled an ax88796 Ethernet driver in the kernel configuration menu. > Kernel version is 3.4.19. The arch is ARM and the system type is > Samsung S3C2410. > > In my debugging, I found the probe function of the driver did not get >

[PATCH RFT] regulator: da9055: Select maximum current in specific range for set_current_limit

2012-11-25 Thread Axel Lin
Selecting the minimal value is only true for voltage regulators. For current regulators the maximum in the given range should be selected instead. This issue was reported by Heiko Stuebner for gpio-regulator driver [1], and the conclusion is to select the max current for current regulators [2].

[PATCH] regulator: da9052: Ensure setting current limit within specific range

2012-11-25 Thread Axel Lin
Checking da9052_current_limits[row][i] <= max_uA is not enough, it is possible da9052_current_limits[row][i] may less than the requested min_uA. Signed-off-by: Axel Lin --- drivers/regulator/da9052-regulator.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] x86, kvm: Remove incorrect redundant assembly constraint

2012-11-25 Thread Paolo Bonzini
Il 21/11/2012 23:41, H. Peter Anvin ha scritto: > From: "H. Peter Anvin" > > In __emulate_1op_rax_rdx, we use "+a" and "+d" which are input/output > constraints, and *then* use "a" and "d" as input constraints. This is > incorrect, but happens to work on some versions of gcc. > > However, it

Re: [PATCH] exec: do not leave bprm->interp on stack

2012-11-25 Thread P J P
+-- On Sat, 24 Nov 2012, Kees Cook wrote --+ | Well, "ever" meaning "if depth is hit, always fail out", yes. This is | intentional. We do not want to attempt module loading if we hit a recursion | limit. Ah yes, that's right! Thanks so much! :) -- Prasad J Pandit / Red Hat Security Response

The ethernet driver doesn't get probed

2012-11-25 Thread Woody Wu
Hi, List I enabled an ax88796 Ethernet driver in the kernel configuration menu. Kernel version is 3.4.19. The arch is ARM and the system type is Samsung S3C2410. In my debugging, I found the probe function of the driver did not get invoked. This driver is declared as platform_driver static

[RFCv3] perf: proposed perf_event_open() manpage

2012-11-25 Thread Vince Weaver
Hello Here is an updated version of the proposed manpage. Ingo, Peter Z., I know you're busy but would it be possible for you to give this a sanity check? This is likely to become the document that most users of the perf_event ABI will be using so it's important to catch any problems with it

Re: linux-next: manual merge of the regulator tree with the mfd tree

2012-11-25 Thread Laxman Dewangan
On Monday 26 November 2012 11:14 AM, Stephen Rothwell wrote: * PGP Signed by an unknown key Hi all, Today's linux-next merge of the regulator tree got a conflict in include/linux/mfd/tps65090.h between commit 3863db3e800c ("mfd: tps65090: Remove unused member of struct tps65090") from the mfd

Re: [PATCH RFC] [INET]: Get cirtical word in first 64bit of cache line

2012-11-25 Thread Eric Dumazet
On Mon, 2012-11-26 at 11:29 +0800, ling.ma.prog...@gmail.com wrote: > From: Ma Ling > > In order to reduce memory latency when last level cache miss occurs, > modern CPUs i.e. x86 and arm introduced Critical Word First(CWF) or > Early Restart(ER) to get data ASAP. For CWF if critical word is

[PULL REQUEST for Rafael] PM / devfreq: pull request-3 bugfixes

2012-11-25 Thread MyungJoo Ham
Dear Rafael, sorry for the inconviences; I forgot that I've updated the tag name according to the date modified. Please use "pull_req_20121122" tag instead of "pull_req_20121121" though I've pushed pull_req_20121121 tag again, which points to the same commit with pull_req_20121122 tag. "remove

[PATCH] MAINTAINERS: Add maintainers for exynos thermal driver

2012-11-25 Thread Jonghwa Lee
Add Amit and I as maintainers for exynos thermal driver. Signed-off-by: Jonghwa Lee --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 59203e7..e839fb8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2960,6 +2960,13 @@

Re: [PATCH 0/2] ACPI / platform: Put devices enumerated via ACPI into D0 before probing drivers

2012-11-25 Thread Mika Westerberg
On Sun, Nov 25, 2012 at 03:54:14PM +0100, Rafael J. Wysocki wrote: > The following two patches are meant to work around a problem where some > devices may be in the ACPI D3cold power state (power off) before their > drivers' .probe() routines are called, but those routines assume devices > to be

Re: [RESEND PATCH] MAINTAINERS: Add maintainers for exynos thermal driver

2012-11-25 Thread Zhang Rui
please send this patch to Linus and cc the list. thanks, rui On Mon, 2012-11-26 at 13:45 +0900, Jonghwa Lee wrote: > Add Amit and I as maintainers for exynos thermal driver. > > Signed-off-by: Jonghwa Lee > --- > MAINTAINERS |7 +++ > 1 files changed, 7 insertions(+), 0 deletions(-) >

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-11-25 Thread Tao Ma
Hi Dave, On 11/26/2012 10:55 AM, Theodore Ts'o wrote: > On Mon, Nov 26, 2012 at 11:28:14AM +1100, Dave Chinner wrote: >> fs: revert commit bbdd6808 to fallocate UAPI >> >> From: Dave Chinner >> >> Commit bbdd6808 ("fs: reserve fallocate flag codepoint") changes the >> fallocate(2) syscall

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

2012-11-25 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/devfreq/governor_simpleondemand.c: In function 'devfreq_simple_ondemand_func': drivers/devfreq/governor_simpleondemand.c:36:11: error: dereferencing pointer to incomplete type

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-11-25 Thread Tang Chen
On 11/26/2012 01:42 PM, Hanjun Guo wrote: Hi all, I think Yasuaki mentioned the key point for the container device remove, that is dependency. Currently, container, processor, and memory hotpulg are managed by different ACPI hotplug drivers, the driver works when handle device hotplug

[PATCH] staging: comedi: ni_tio.h fixed coding style issue with pointer variables

2012-11-25 Thread Matt Phillips
Fixed coding style issues with pointers Signed-off-by: Matt Phillips --- drivers/staging/comedi/drivers/ni_tio.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_tio.h b/drivers/staging/comedi/drivers/ni_tio.h index b058820..8572996

Re: [PATCH] ezusb: add dependency to USB

2012-11-25 Thread Rene Buergel
- Ursprüngliche Mail - > On Thu, Nov 22, 2012 at 07:10:50PM +0100, Rene Buergel wrote: > > This fixes an error during modpost, when ezusb is built into the > > kernel while USB is built as module. > thanks for the fix, I'll queue it up for 3.8 > and > backport it for 3.7-stable as well. >

linux-next: manual merge of the regulator tree with the mfd tree

2012-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in include/linux/mfd/tps65090.h between commit 3863db3e800c ("mfd: tps65090: Remove unused member of struct tps65090") from the mfd tree and commit 24282a1ca33b ("regulator: tps65090: Register all regulators in single probe

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-11-25 Thread Hanjun Guo
On 2012/10/31 19:09, Yasuaki Ishimatsu wrote: > Hi Tang, > > 2012/10/31 16:27, Tang Chen wrote: >> Hi, >> >> The container hotplug handler container_notify_cb() didn't implement >> the hot-remove functionality. So, these 3 patches implement it like >> the following way: >> >> patch 1. Do not use

RE: [PATCH 1/4 v2] iommu/fsl: Store iommu domain information pointer in archdata.

2012-11-25 Thread Sethi Varun-B16395
Hi Kumar, Can you please apply this patch. Regards Varun > -Original Message- > From: Sethi Varun-B16395 > Sent: Tuesday, November 20, 2012 7:25 PM > To: joerg.roe...@amd.com; io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-11-25 Thread Sethi Varun-B16395
Hi Joerg, Any comments? Can we apply this patch? Regards Varun > -Original Message- > From: Sethi Varun-B16395 > Sent: Tuesday, November 20, 2012 7:25 PM > To: joerg.roe...@amd.com; io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood

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

2012-11-25 Thread Stephen Rothwell
Hi Tomi, Today's linux-next merge of the omap_dss2 tree got a conflict in drivers/video/omap2/dss/dss.c between commit f65e384bec59 ("omapdss: dss: Fix clocks on OMAP363x") from Linus' tree and commit bd81ed081887 ("OMAPDSS: DSS: use omapdss_version") from the omap_dss2 tree. I fixed it up

RE: [PATCH v3 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-25 Thread Bedia, Vaibhav
On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrote: > On Tue, Nov 20, 2012 at 10:33:44, Philip, Avinash wrote: > > As part of PWM subsystem integration, PWM subsystem are sharing > > resources like clock across submodules (ECAP, EQEP & EHRPWM). > > To handle resource sharing & IP integration

Re: sigaltstack fun

2012-11-25 Thread Al Viro
On Mon, Nov 26, 2012 at 05:10:02AM +, Al Viro wrote: > On Sun, Nov 18, 2012 at 10:27:24PM -0500, David Miller wrote: > > > Cc: sta...@vger.kernel.org > > > Signed-off-by: Al Viro > > > > Applied, thanks. > > Hmm... There's something odd going on with {rt_,}sigaction on sparc - > we *do*

Re: [PATCH] of/i2c: support more interrupt specifiers

2012-11-25 Thread Bongkyu Kim
On 11/21/2012 10:41 PM, Rob Herring wrote: > On 11/21/2012 02:58 AM, Bongkyu Kim wrote: >> This patch supports more interrupt specifiers for i2c client. > > Why? > If we are registering a device has 2 interrupts like the below, i2c@f9968000 { lsm330_acc@1D {

Re: sigaltstack fun

2012-11-25 Thread Al Viro
On Sun, Nov 18, 2012 at 10:27:24PM -0500, David Miller wrote: > > Cc: sta...@vger.kernel.org > > Signed-off-by: Al Viro > > Applied, thanks. Hmm... There's something odd going on with {rt_,}sigaction on sparc - we *do* have sa_restorer in struct sigaction and struct old_sigaction, but it's not

[ANNOUNCE] Git v1.8.0.1

2012-11-25 Thread Junio C Hamano
The latest maintenance release Git v1.8.0.1 is now available at the usual places. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are: 4e7492f7558f3ba2a450c43efa7de3b0b1adc6c1 git-1.8.0.1.tar.gz

[RESEND PATCH] MAINTAINERS: Add maintainers for exynos thermal driver

2012-11-25 Thread Jonghwa Lee
Add Amit and I as maintainers for exynos thermal driver. Signed-off-by: Jonghwa Lee --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 59203e7..e839fb8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2960,6 +2960,13 @@

linux-next: manual merge of the cgroup tree with the net-next tree

2012-11-25 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the cgroup tree got a conflict in net/sched/cls_cgroup.c between commit 6a328d8c6f03 ("cgroup: net_cls: Rework update socket logic") from the net-next tree and commits 92fb97487a7e ("cgroup: rename ->create/post_create/pre_destroy/destroy() to

Linux 3.7-rc7

2012-11-25 Thread Linus Torvalds
A week ago, I had even considered skipping -rc7 entirely as things had been so calm, but decided that there was little reason to hurry the release. And oh, how sadly right I was. -rc7 is out now, and is not at all smaller than the previous rc's, and in fact slightly scarier. For some reason the

[PATCH] MAINTAINERS: Add maintainers for exynos thermal driver

2012-11-25 Thread Jonghwa Lee
Add Amit and I as maintainers for exynos thermal driver. Signed-off-by: Jonghwa Lee --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 59203e7..cceedca 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2960,6 +2960,13 @@

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 10:15:18PM -0500, Johannes Weiner wrote: > On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: > > On Sun, 25 Nov 2012 17:44:33 -0500 > > Johannes Weiner wrote: > > > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > > > > > Could you try this

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

2012-11-25 Thread Stephen Rothwell
Hi Rusty, After merging the modules tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/wireless/iwlwifi/iwl-drv.c:1196:1: error: invalid suffix "n_disabletype__8" on integer constant drivers/net/wireless/iwlwifi/iwl-drv.c:1196:1: error: expected identifier or

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-25 Thread George Spelvin
Sorry for the delay; was AF(that)K for the weekend. > Ok, is there any chance you can capture more of sysrq+m, particularly the > bits that say how much free memory there is and many pages of each order > that is free? If you can't, it's ok. I ask because my kernel bug dowsing > rod is twitching

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-25 Thread Prabhakar Lad
HI Sakari, On Mon, Nov 26, 2012 at 5:58 AM, Sakari Ailus wrote: > > Hi Prabhakar, > On Sun, Nov 25, 2012 at 09:57:23PM +0530, Prabhakar Lad wrote: >> On Fri, Nov 23, 2012 at 7:31 PM, Hans Verkuil wrote: >> > On Fri November 23 2012 14:57:53 Sakari Ailus wrote: > ... >> >> I think it should go

[PATCH RFC] [INET]: Get cirtical word in first 64bit of cache line

2012-11-25 Thread ling . ma . program
From: Ma Ling In order to reduce memory latency when last level cache miss occurs, modern CPUs i.e. x86 and arm introduced Critical Word First(CWF) or Early Restart(ER) to get data ASAP. For CWF if critical word is first member in cache line, memory feed CPU with critical word, then fill others

Re: [PATCH 00/10] ASoC: codec: devm_ related modifications

2012-11-25 Thread Tushar Behera
On 11/23/2012 08:07 PM, Mark Brown wrote: > On Thu, Nov 22, 2012 at 09:38:32AM +0530, Tushar Behera wrote: >> This patchset includes devm_ related modifications for sound codecs. >> >> First 2 patches fix warning for freeing of devm_ allocated data. >> The next patch introduces usage of

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

2012-11-25 Thread Seiji Aguchi
Hi, This fix is reasonable to me. Thanks, Seiji > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Sunday, November 25, 2012 7:32 PM > To: Luck, Tony > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Colin Ian King; > Anton Vorontsov;

Re: [PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 07:16:45PM -0500, Rik van Riel wrote: > On Sun, 25 Nov 2012 17:44:33 -0500 > Johannes Weiner wrote: > > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > > > Could you try this patch? > > > > It's not quite enough because it's not reaching the conditions

Re: backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused

2012-11-25 Thread Roland Eggner
On 2012-11-25 Sunday at 23:56 + Alan Cox wrote: > > Does anybody know a x86 distribution or live-CD using a 2.6.27.* kernel? > > Probably not a good idea, there are known exploitable holes in 2.6.27 era > kernels and nobody maintains anything that old. “old” is relative … cd

Re: [PATCH 1/1] drm: only build ati_pcigart if PCI enabled

2012-11-25 Thread Alex Deucher
On Fri, Nov 23, 2012 at 6:12 AM, James Hogan wrote: > Prevent ati_pcigart.c being built unless PCI is enabled. The exported > functions in this file are only used by drivers which depend on PCI > (namely r128 and radeon), and it tries to use PCI specific functions > (pci_unmap_page, pci_map_page,

Re: [PATCH] regulator: max8925: fix compiler warnings

2012-11-25 Thread Qing Xu
On 11/25/2012 01:55 AM, Mark Brown wrote: On Fri, Nov 23, 2012 at 10:27:12AM +0800, Qing Xu wrote: But, in fact, it is not necessary to initialize regulator_idx. for (i = 0; i < ARRAY_SIZE(max8925_regulator_info); i++) { ri = _regulator_info[i]; if

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-11-25 Thread Theodore Ts'o
On Mon, Nov 26, 2012 at 11:28:14AM +1100, Dave Chinner wrote: > fs: revert commit bbdd6808 to fallocate UAPI > > From: Dave Chinner > > Commit bbdd6808 ("fs: reserve fallocate flag codepoint") changes the > fallocate(2) syscall interface. The flag that is reserved by this > commit is for

linux-next: build failure after merge of the v4l-dvb tree

2012-11-25 Thread Stephen Rothwell
Hi Mauro, After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "dma_common_get_sgtable" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined! Caused by commit 9ef2cbeb8192 ("[media] v4l: vb2-dma-contig: add support for DMABUF

[PATCH] HID: hidraw: fix nonblock read return EAGAIN after device removed

2012-11-25 Thread founder.fang
Hi Linux-Input, Jiri, Dmitry, this patch is related to nonblock read on hidraw device. when nonblock read the condition check (file->f_flags & O_NONBLOCK) always be true, signal_pending and device exist checking never get a chance to run, so the user mode code always get EAGAIN even if device

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-25 Thread Ian Kent
On Mon, 2012-11-26 at 07:25 +0800, Ian Kent wrote: > On Sat, 2012-11-24 at 14:35 -0800, Eric W. Biederman wrote: > > Miklos Szeredi writes: > > > > > On Sat, Nov 24, 2012 at 1:07 PM, Eric W. Biederman > > > wrote: > > >> Ian Kent writes: > > >> > > >>> On Sat, 2012-11-24 at 10:23 +0800, Ian

Re: numa/core regressions fixed - more testers wanted

2012-11-25 Thread Alex Shi
On Fri, Nov 23, 2012 at 9:31 PM, Ingo Molnar wrote: > > * Ingo Molnar wrote: > >> * Alex Shi wrote: >> >> > > >> > > Those of you who would like to test all the latest patches are >> > > welcome to pick up latest bits at tip:master: >> > > >> > >

Re: [PATCH v8 0/2] x86: vmclear vmcss on all cpus when doing kdump if necessary

2012-11-25 Thread Zhang Yanfei
Hello Eric Would you help review the patch, and give some comments, please ? Thanks Zhang 于 2012年11月22日 16:22, Zhang Yanfei 写道: > Currently, kdump just makes all the logical processors leave VMX operation by > executing VMXOFF instruction, so any VMCSs active on the logical processors > may >

RE: [PATCH v4 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-11-25 Thread Cho KyongHo
> -Original Message- > From: Cho KyongHo [mailto:pullip@samsung.com] > Sent: Monday, November 26, 2012 10:28 AM > > > -Original Message- > > From: Kukjin Kim [mailto:kgene@samsung.com] > > Sent: Friday, November 23, 2012 5:08 PM > > Subject: RE: [PATCH v4 00/12]

Re: [PATCH v8 0/2] x86: vmclear vmcss on all cpus when doing kdump if necessary

2012-11-25 Thread Zhang Yanfei
于 2012年11月25日 22:26, Gleb Natapov 写道: > On Thu, Nov 22, 2012 at 04:22:26PM +0800, Zhang Yanfei wrote: >> Currently, kdump just makes all the logical processors leave VMX operation by >> executing VMXOFF instruction, so any VMCSs active on the logical processors >> may >> be corrupted. But,

RE: [PATCH v4 03/12] ARM: EXYNOS: remove system mmu initialization from exynos tree

2012-11-25 Thread Cho KyongHo
> -Original Message- > From: Cho KyongHo [mailto:pullip@samsung.com] > Sent: Thursday, November 22, 2012 8:33 PM > > diff --git a/arch/arm/mach-exynos/clock-exynos5.c > b/arch/arm/mach-exynos/clock-exynos5.c > index a86e88e..13d0ed6 100644 > --- a/arch/arm/mach-exynos/clock-exynos5.c

Re: [PATCH v2 1/5] x86: get pg_data_t's memory from other node

2012-11-25 Thread Tang Chen
On 11/24/2012 09:19 AM, Jiang Liu wrote: On 2012-11-23 18:44, Tang Chen wrote: From: Yasuaki Ishimatsu @@ -224,9 +224,14 @@ static void __init setup_node_data(int nid, u64 start, u64 end) } else { nd_pa = memblock_alloc_nid(nd_size, SMP_CACHE_BYTES, nid);

Re: [PATCH] firmware: Add Lattice ECP3 FPGA configuration via SPI

2012-11-25 Thread Ming Lei
On Fri, Nov 23, 2012 at 3:58 PM, Stefan Roese wrote: > This patch adds support for bitstream configuration (programming / > loading) of the Lattice ECP3 FPGA's via the SPI bus. > > Here an example on my custom MPC5200 based board: > > $ echo 1 > /sys/class/firmware/lattice-ecp3.0/loading > $ cat

[PATCH v4 2/2] therma: exynos: Supports thermal tripping

2012-11-25 Thread Jonghwan Choi
TMU urgently sends active-high signal (thermal trip) to PMU, and thermal tripping by hardware logic i.e PMU is performed. Thermal tripping means that PMU cut off the whole power of SoC by controlling external voltage regulator. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c |

[PATCH v4 1/2] thermal: exynos: Fix wrong bit to control tmu core

2012-11-25 Thread Jonghwan Choi
[0]bit is used to enable/disable tmu core. [1] bit is a reserved bit. Signed-off-by: Jonghwan Choi --- drivers/thermal/exynos_thermal.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c

RE: [PATCH v4 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-11-25 Thread Cho KyongHo
> -Original Message- > From: Kukjin Kim [mailto:kgene@samsung.com] > Sent: Friday, November 23, 2012 5:08 PM > Subject: RE: [PATCH v4 00/12] iommu/exynos: Fixes and Enhancements of System > MMU driver with DT > > Cho KyongHo wrote: > > > > The current exynos-iommu(System MMU) driver

Re: [PATCH 1/2] ACPI / PM: Allow attach/detach routines to change device power states

2012-11-25 Thread Huang Ying
On Mon, 2012-11-26 at 02:16 +0100, Rafael J. Wysocki wrote: > On Monday, November 26, 2012 09:07:27 AM Huang Ying wrote: > > On Mon, 2012-11-26 at 02:00 +0100, Rafael J. Wysocki wrote: > > > On Monday, November 26, 2012 08:43:10 AM Huang Ying wrote: > > > > On Sun, 2012-11-25 at 15:55 +0100,

Re: [PATCH] mm,vmscan: free pages if compaction_suitable tells us to

2012-11-25 Thread Jaegeuk Hanse
On 11/26/2012 06:44 AM, Johannes Weiner wrote: On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: On Sun, 25 Nov 2012 17:57:28 +0100 Johannes Hirte wrote: With kernel 3.7-rc6 I've still problems with kswapd0 on my laptop And this is most of the time. I've only observed this

Re: [PATCH 1/2] ACPI / PM: Allow attach/detach routines to change device power states

2012-11-25 Thread Rafael J. Wysocki
On Monday, November 26, 2012 09:07:27 AM Huang Ying wrote: > On Mon, 2012-11-26 at 02:00 +0100, Rafael J. Wysocki wrote: > > On Monday, November 26, 2012 08:43:10 AM Huang Ying wrote: > > > On Sun, 2012-11-25 at 15:55 +0100, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > > > >

Re: [PATCH 1/2] ACPI / PM: Allow attach/detach routines to change device power states

2012-11-25 Thread Huang Ying
On Mon, 2012-11-26 at 02:00 +0100, Rafael J. Wysocki wrote: > On Monday, November 26, 2012 08:43:10 AM Huang Ying wrote: > > On Sun, 2012-11-25 at 15:55 +0100, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > Make it possible to ask the routines used for adding/removing devices

Re: [PATCH 1/2] ACPI / PM: Allow attach/detach routines to change device power states

2012-11-25 Thread Rafael J. Wysocki
On Monday, November 26, 2012 08:43:10 AM Huang Ying wrote: > On Sun, 2012-11-25 at 15:55 +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Make it possible to ask the routines used for adding/removing devices > > to/from the general ACPI PM domain, acpi_dev_pm_attach() and > >

Re: [PATCH 11/42] ARM: shmobile: Register PFC platform device

2012-11-25 Thread Simon Horman
On Wed, Nov 21, 2012 at 01:43:15PM +0100, Laurent Pinchart wrote: > Hi Simon, > > On Wednesday 21 November 2012 14:16:33 Simon Horman wrote: > > On Wed, Nov 21, 2012 at 03:27:12AM +0100, Laurent Pinchart wrote: > > > Add arch code to register the PFC platform device instead of calling the > > >

Re: [PATCH] HID: hid-input: battery quirk for Apple keyboard

2012-11-25 Thread Ben Hutchings
On Sun, 2012-11-25 at 09:13 -0500, devendra.aaru wrote: > i think you should simply do a cc: sta...@vger.kernel.org just right > above your signedoff-by, which is the way that stable patches gets > into i think. It's OK to cc stable@ when submitting a patch, but that line must be included in the

Re: [PATCH 1/2] ACPI / PM: Allow attach/detach routines to change device power states

2012-11-25 Thread Huang Ying
On Sun, 2012-11-25 at 15:55 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make it possible to ask the routines used for adding/removing devices > to/from the general ACPI PM domain, acpi_dev_pm_attach() and > acpi_dev_pm_detach(), respectively, to change the power states of >

Re: memory-cgroup bug

2012-11-25 Thread azurIt
>This is hackish but it should help you in this case. Kamezawa, what do >you think about that? Should we generalize this and prepare something >like mem_cgroup_cache_charge_locked which would add __GFP_NORETRY >automatically and use the function whenever we are in a locked context? >To be honest I

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

2012-11-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the ia64 tree got a conflict in fs/pstore/platform.c between commit 70a6f46d7b0e ("pstore: Fix NULL pointer dereference in console writes") from Linus' tree and commit faa338315985 ("efi_pstore: Add a sequence counter to a variable name") from the ia64 tree. I

[PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-11-25 Thread Dave Chinner
fs: revert commit bbdd6808 to fallocate UAPI From: Dave Chinner Commit bbdd6808 ("fs: reserve fallocate flag codepoint") changes the fallocate(2) syscall interface. The flag that is reserved by this commit is for functionality that has previously been NAKed on the -fsdevel mailing list, and so

Re: [PATCH v2 00/12] Media Controller capture driver for DM365

2012-11-25 Thread Sakari Ailus
Hi Prabhakar, On Sun, Nov 25, 2012 at 09:57:23PM +0530, Prabhakar Lad wrote: > On Fri, Nov 23, 2012 at 7:31 PM, Hans Verkuil wrote: > > On Fri November 23 2012 14:57:53 Sakari Ailus wrote: ... > >> I think it should go under staging, the same directory as the driver. > >> > >> Hans, Mauro: could

[PATCH] mm,vmscan: only loop back if compaction would fail in all zones

2012-11-25 Thread Rik van Riel
On Sun, 25 Nov 2012 17:44:33 -0500 Johannes Weiner wrote: > On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > > Could you try this patch? > > It's not quite enough because it's not reaching the conditions you > changed, see analysis in https://lkml.org/lkml/2012/11/20/567

Re: [PATCH 3/3] cputime: Consolidate cputime adjustment code

2012-11-25 Thread Frederic Weisbecker
2012/11/25 Paul Gortmaker : >> --- a/include/linux/sched.h >> +++ b/include/linux/sched.h >> @@ -433,6 +433,11 @@ struct cpu_itimer { >> u32 incr_error; >> }; >> >> +struct cputime { >> + cputime_t utime; >> + cputime_t stime; >> +}; >> + > > Hi Frederic, > > This new struct cputime

Re: backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused

2012-11-25 Thread Alan Cox
> Does anybody know a x86 distribution or live-CD using a 2.6.27.* kernel? Probably not a good idea, there are known exploitable holes in 2.6.27 era kernels and nobody maintains anything that old. I guess RHEL/Centos might work for you. I've not had any problems with leaks in 3.6 but there have

Re: arch_check_bp_in_kernelspace: fix the range check

2012-11-25 Thread Amnon Shiloh
Hi Oleg, > > 2) I was then told (in my own words): "oh, don't worry, the vsyscall page > >has now been minimized, all it contains now is *real* system calls, > >and it always calls them". > > Not sure where did you get this idea ;) From the very beginning you were > told that EMULATE

Re: Comparison between three trees (was: Latest numa/core release, v17)

2012-11-25 Thread Mel Gorman
On Fri, Nov 23, 2012 at 05:32:05PM +, Mel Gorman wrote: > > SPECJBB: Single JVMs (one per node, 4 nodes), THP is enabled > > > SPECJBB: Single JVMs (one per node, 4 nodes), THP is disabled Just to clarify, the "JVMs (one per node, 4 nodes)" was a cut error. Single JVM meant that there was

Re: Comparison between three trees (was: Latest numa/core release, v17)

2012-11-25 Thread Mel Gorman
On Fri, Nov 23, 2012 at 05:32:05PM +, Mel Gorman wrote: > From here, we're onto the single JVM configuration. I suspect > this is tested much more commonly but note that it behaves very > differently to the multi JVM configuration as explained by Andrea >

Re: [PATCH] mm,vmscan: free pages if compaction_suitable tells us to

2012-11-25 Thread Rik van Riel
On 11/25/2012 05:44 PM, Johannes Weiner wrote: On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: On Sun, 25 Nov 2012 17:57:28 +0100 Johannes Hirte wrote: With kernel 3.7-rc6 I've still problems with kswapd0 on my laptop And this is most of the time. I've only observed this

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-25 Thread Ian Kent
On Sat, 2012-11-24 at 14:35 -0800, Eric W. Biederman wrote: > Miklos Szeredi writes: > > > On Sat, Nov 24, 2012 at 1:07 PM, Eric W. Biederman > > wrote: > >> Ian Kent writes: > >> > >>> On Sat, 2012-11-24 at 10:23 +0800, Ian Kent wrote: > On Fri, 2012-11-23 at 15:30 +0100, Miklos Szeredi

Re: kmemleak failure (was Re: backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused)

2012-11-25 Thread Dimitrios Apostolou
On Mon, 2012-11-26 at 00:41 +0200, Dimitrios Apostolou wrote: > Hello, > > I tried running a kmemleak and DEBUG_SLUB enabled kernel, but almost > within 5 minutes of starting the backup process, I got: > > [ 486.863124] kmemleak: Cannot allocate a kmemleak_object structure > [ 486.887195]

Re: [RESEND] Request f2fs filesystem inclusion in linux-next

2012-11-25 Thread Stephen Rothwell
Hi, On Sat, 24 Nov 2012 14:28:45 +0900 Jaegeuk Kim wrote: > > About two month ago, I submitted a new file system, namely > flash-friendly file system (f2fs) to LKML. > http://en.wikipedia.org/wiki/F2FS > http://lkml.org/lkml/2012/10/5/205 > http://lwn.net/Articles/518718/ > > In the mean

Re: [Patch v1 1/1] mfd: fix for i2c issue DA9052/53 PMIC

2012-11-25 Thread Samuel Ortiz
Hi Ashish, On Fri, Nov 02, 2012 at 04:17:26PM +0530, Ashish Jangam wrote: > There is an issue where the DA9052/53-AA/BA/BB PMIC either locks up or fails > to > respond following a system Reset. This could result in a second write > in which the bus writes the current content of the write buffer

Re: [git pull] Please pull powerpc.git merge branch

2012-11-25 Thread Benjamin Herrenschmidt
On Mon, 2012-11-26 at 09:07 +1100, Benjamin Herrenschmidt wrote: > Hi Linus ! > > Here's a patch that would be good to still have in 3.7. It's a one liner > fixing > a regression introduced by the new EEH code in .37 (potential oops on some > PCI setups when configuring MSIs). > > Cheers, >

Re: backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused

2012-11-25 Thread Roland Eggner
On 2012-11-25 Sunday at 21:30 +0200 Dimitrios Apostolou wrote: > On Sun, 2012-11-25 at 15:55 +0200, Dimitrios Apostolou wrote: > > on an old PIII-500MHz laptop, 128MB RAM, kernel 3.6.6, I started a > > backup process (tar|xz -4, nice'd and ionice'd -c3) from ext4 on local > > ATA disk to ext3 on

Re: arch_check_bp_in_kernelspace: fix the range check

2012-11-25 Thread Oleg Nesterov
On 11/25, Amnon Shiloh wrote: > > 2) I was then told (in my own words): "oh, don't worry, the vsyscall page >has now been minimized, all it contains now is *real* system calls, >and it always calls them". Not sure where did you get this idea ;) From the very beginning you were told that

Re: [PATCH] mm,vmscan: free pages if compaction_suitable tells us to

2012-11-25 Thread Johannes Weiner
On Sun, Nov 25, 2012 at 01:29:50PM -0500, Rik van Riel wrote: > On Sun, 25 Nov 2012 17:57:28 +0100 > Johannes Hirte wrote: > > > With kernel 3.7-rc6 I've still problems with kswapd0 on my laptop > > > And this is most of the time. I've only observed this behavior on the > > laptop. Other

kmemleak failure (was Re: backing up ext4 fs, system unresponsive, thrashing like crazy even though swap is unused)

2012-11-25 Thread Dimitrios Apostolou
Hello, I tried running a kmemleak and DEBUG_SLUB enabled kernel, but almost within 5 minutes of starting the backup process, I got: [ 486.863124] kmemleak: Cannot allocate a kmemleak_object structure [ 486.887195] kmemleak: Automatic memory scanning thread ended [ 486.906604] kmemleak: Kernel

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

2012-11-25 Thread Oleg Nesterov
uprobe_events counts the number of uprobes in uprobes_tree but it is used as a boolean. We can use RB_EMPTY_ROOT() instead. Probably no_uprobe_events() added by this patch can have more callers, say, mmf_recalc_uprobes(). Signed-off-by: Oleg Nesterov --- kernel/events/uprobes.c | 19

[PATCH 3/3] uprobes: Kill uprobes_mutex[], separate alloc_uprobe() and __uprobe_register()

2012-11-25 Thread Oleg Nesterov
uprobe_register() and uprobe_unregister() are the only users of mutex_lock(uprobes_hash(inode)), and the only reason why we can't simply remove it is that we need to ensure that delete_uprobe() is not possible after alloc_uprobe() and before consumer_add(). IOW, we need to ensure that when we

[PATCH 2/3] uprobes: Introduce uprobe_is_active()

2012-11-25 Thread Oleg Nesterov
The lifetime of uprobe->rb_node and uprobe->inode is not refcounted, delete_uprobe() is called when we detect that uprobe has no consumers, and it would be deadly wrong to do this twice. Change delete_uprobe() to WARN() if it was already called. We use RB_CLEAR_NODE() to mark uprobe "inactive",

[PATCH 0/3] uprobes: Kill uprobes_mutex[]

2012-11-25 Thread Oleg Nesterov
Hello. On top of "[PATCH 0/4] uprobes: locking changes for filtering" No functional changes. But uprobes_mutex[] must die imho. And alloc_uprobe() should be separated from __register. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [git pull] Please pull powerpc.git merge branch

2012-11-25 Thread Benjamin Herrenschmidt
On Mon, 2012-11-26 at 09:08 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2012-11-26 at 09:07 +1100, Benjamin Herrenschmidt wrote: > > Hi Linus ! > > > > Here's a patch that would be good to still have in 3.7. It's a one liner > > fixing > > a regression introduced by the new EEH code in .37

Re: [PATCH 0/3] remove kvm's use of augmented rbtree

2012-11-25 Thread Sasha Levin
On Sat, Nov 24, 2012 at 9:40 PM, Michel Lespinasse wrote: > On Thu, Nov 22, 2012 at 9:49 PM, Michel Lespinasse wrote: >> On Thu, Nov 22, 2012 at 9:14 AM, Sasha Levin wrote: >>> The following patch fixed the problem for me: >>> >>> diff --git a/include/linux/rbtree_augmented.h >>>

[git pull] Please pull powerpc.git merge branch

2012-11-25 Thread Benjamin Herrenschmidt
Hi Linus ! Here's a patch that would be good to still have in 3.7. It's a one liner fixing a regression introduced by the new EEH code in .37 (potential oops on some PCI setups when configuring MSIs). Cheers, Ben. The following changes since commit d6dc24613c222f9057131ccbd5264a10bcba9f97:

Re: [PATCH] Remove unnecessary declarations from Documentation/accounting/getdelays.c

2012-11-25 Thread Jesper Juhl
On Sat, 24 Nov 2012, Anthony G. Basile wrote: > From: "Anthony G. Basile" > > stime and utime are declared __u64 but are never used. On a glibc system > this is harmless lint, but on a uClibc system, because of the difference > in they way header files stack, including stdio.h brings in time.h

xpfD16elp2w1x1y2a2b3c3

2012-11-25 Thread Lakd
5您有附件E±¾¹«Ë¾ÏÖÓаìÀí¡¾·¢¡¿¡¾Æ±¡¿ÒµÎñÁªÏµ£º 136-1295-2166 ³Â¾­Àí QQ£º614494123 »¶Ó­À´µçǢ̸£¡

Re: possible regression in kernel 3.6: system hangs during nightly tape backup

2012-11-25 Thread Borislav Petkov
+ linux-ide On Sat, Nov 24, 2012 at 08:17:48PM +0100, Tilman Schmidt wrote: > Any ideas on that? I'm currently avoiding the 3.6 series because > of that problem but would be willing to reproduce the hang if I'd > know what to do once it happens, ie. what kind of information to > collect in order

Re: [PATCH] smsc: Add logging message newlines

2012-11-25 Thread David Miller
From: Joe Perches Date: Sat, 24 Nov 2012 03:27:49 -0800 > Avoid any possible message logging interleaving by adding > missing newlines. > > Align arguments. > > Signed-off-by: Joe Perches Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH V2 resend] net: dsa/slave: Fix compilation warnings

2012-11-25 Thread David Miller
From: Viresh Kumar Date: Sat, 24 Nov 2012 11:23:54 +0530 > Currently when none of CONFIG_NET_DSA_TAG_DSA, CONFIG_NET_DSA_TAG_EDSA and > CONFIG_NET_DSA_TAG_TRAILER is defined, we get following compilation warnings: > > net/dsa/slave.c:51:12: warning: 'dsa_slave_init' defined but not used >

Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-25 Thread David Miller
From: Michal Kubecek Date: Thu, 22 Nov 2012 13:48:39 +0100 > If all slaves of a balance-rr bond with ARP monitor are enslaved > with down link state, bond keeps down state even after slaves > go up. > > This is caused by bond_enslave() setting curr_active_slave to > first slave not taking into

  1   2   3   >