Re: [PATCH] br2684: don't send frames on not-ready vcc

2012-11-28 Thread Krzysztof Mazur
On Wed, Nov 28, 2012 at 12:54:46AM +, David Woodhouse wrote: > On Wed, 2012-11-28 at 00:51 +0100, Krzysztof Mazur wrote: > > If you do this actually it's better to don't use patch 1/7 because > > it introduces race condition that you found earlier. > > Right. I've omitted that from the git tre

RE: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Andrzej Pietrasiewicz
On Tuesday, November 27, 2012 5:00 PM Sebastian Andrzej Siewior wrote: > On 11/27/2012 09:57 AM, Andrzej Pietrasiewicz wrote: > >> |mkdir -p $FABRIC/naa.6001405c3214b06a/tpgt_1 > >> |mkdir $FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_0 > >> |mkdir $FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_1 > >> >

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-28 Thread Krzysztof Mazur
On Wed, Nov 28, 2012 at 12:48:17AM +, David Woodhouse wrote: > On Tue, 2012-11-27 at 10:23 -0500, chas williams - CONTRACTOR wrote: > > yes, but dont call it 8/7 since that doesnt make sense. > > It made enough sense when it was a single patch appended to a thread of > 7 other patches from Krz

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Sebastian Andrzej Siewior
On 11/27/2012 05:23 PM, Michal Nazarewicz wrote: On Tue, Nov 27 2012, Sebastian Andrzej Siewior wrote: I don't want to push python on anyone but the removal magic is simply straight forward: unlink the disk ports, rmdir luns, tpgt,… How should a generic tool know what kind of actions are neede

[RFC PATCH v2] Add rcu user eqs exception hooks for async page fault

2012-11-28 Thread Li Zhong
Thank you all for the review and education. Below are my current understandings and an update version. Would you please help to review it again and give your comments? Thanks, Zhong Now it seems to me that it is legal to call rcu_irq_exit/enter() without a matching rcu_irq_enter/exit() if the

Re: [PATCH 17/19] drivers: convert shrinkers to new count/scan API

2012-11-28 Thread Glauber Costa
On 11/28/2012 07:17 AM, Dave Chinner wrote: > On Wed, Nov 28, 2012 at 01:13:11AM +, Chris Wilson wrote: >> On Wed, 28 Nov 2012 10:14:44 +1100, Dave Chinner wrote: >>> +/* >>> + * XXX: (dchinner) This is one of the worst cases of shrinker abuse I've >>> seen. >>> + * >>> + * i915_gem_purge() e

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-28 Thread Wen Congyang
At 11/28/2012 12:08 PM, Jiang Liu Wrote: > On 2012-11-28 11:24, Bob Liu wrote: >> On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: >>> On 11/27/2012 08:09 PM, Bob Liu wrote: On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen wrote: > > Hi Liu, > > > This feature is used

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-28 Thread Jiang Liu
On 2012-11-28 16:29, Wen Congyang wrote: > At 11/28/2012 12:08 PM, Jiang Liu Wrote: >> On 2012-11-28 11:24, Bob Liu wrote: >>> On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: On 11/27/2012 08:09 PM, Bob Liu wrote: > > On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen > wrote: >> >>

Re: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-28 Thread Joe Jin
On 11/28/12 02:10, Ben Hutchings wrote: > On Tue, 2012-11-27 at 17:32 +, Fujinaka, Todd wrote: >> Forgive me if I'm being too repetitious as I think some of this has >> been mentioned in the past. >> >> We (and by we I mean the Ethernet part and driver) can only change the >> advertised availab

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-28 Thread Wen Congyang
At 11/28/2012 04:28 PM, Jiang Liu Wrote: > On 2012-11-28 16:29, Wen Congyang wrote: >> At 11/28/2012 12:08 PM, Jiang Liu Wrote: >>> On 2012-11-28 11:24, Bob Liu wrote: On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: > On 11/27/2012 08:09 PM, Bob Liu wrote: >> >> On Tue, Nov 27,

[PATCH] nohz/cpuset: Make a CPU stick with do_timer() duty in the presence of nohz cpusets

2012-11-28 Thread Hakan Akkan
An adaptive nohz (AHZ) CPU may not do do_timer() for a while despite being non-idle. When all other CPUs are idle, AHZ CPUs might be using stale jiffies values. To prevent this always keep a CPU with ticks if there is one or more AHZ CPUs. A new function, check_drop_timer_duty, handles the updates

Re: Recent kernel "mount" slow

2012-11-28 Thread Jens Axboe
On 2012-11-28 04:57, Mikulas Patocka wrote: > > > On Tue, 27 Nov 2012, Jens Axboe wrote: > >> On 2012-11-27 11:06, Jeff Chua wrote: >>> On Tue, Nov 27, 2012 at 3:38 PM, Jens Axboe wrote: On 2012-11-27 06:57, Jeff Chua wrote: > On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua > wrote: >

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-28 Thread Sebastian Andrzej Siewior
On 11/28/2012 09:10 AM, Andrzej Pietrasiewicz wrote: Here I understand it. This is to some point a limitation of the gadget framework. We do know the number of interface that will be available before we bind. We simply don't know the endpoint number. There are two exceptions to what I just wrote:

Re: [ANNOUNCE] 3.0.53-rt77

2012-11-28 Thread Fernando Gomes
Nova release do rt sobre o 3.0.53, nao sei se nao valera a pena ver o que tem vindo a mudar, segundo este post nao sao alteracoes especificas do rt. Abraco Fernando Steven Rostedt wrote: Dear RT Folks, I'm pleased to announce the 3.0.53-rt77 stable release. This release is just an update

Re: [patch v2 2/6] memcg: keep prev's css alive for the whole mem_cgroup_iter

2012-11-28 Thread Kamezawa Hiroyuki
(2012/11/27 3:47), Michal Hocko wrote: > css reference counting keeps the cgroup alive even though it has been > already removed. mem_cgroup_iter relies on this fact and takes a > reference to the returned group. The reference is then released on the > next iteration or mem_cgroup_iter_break. > mem

Re: 3.7-rc7: BUG: MAX_STACK_TRACE_ENTRIES too low!

2012-11-28 Thread Li Zhong
On Tue, 2012-11-27 at 19:22 -0800, Christian Kujau wrote: > On Tue, 27 Nov 2012 at 19:06, Christian Kujau wrote: > > the same thing[0] happened again in 3.7-rc7, after ~20h uptime: > > I found the following on patchwork, but this seems to deal with powerpc64 > only, while this PowerBook G4 of min

Re: switcheroo registration vs switching race...

2012-11-28 Thread Takashi Iwai
At Wed, 28 Nov 2012 11:45:07 +0800, Daniel J Blueman wrote: > > Hi Seth, Dave, Takashi, > > If I power down the unused discrete GPU before lightdm starts by > fiddling with the sysfs file [1] in the upstart script, I see a race > manifesting as the discrete GPU's HDA controller timing out to > co

Re: [PATCH 0/5] Alter steal time reporting in KVM

2012-11-28 Thread Glauber Costa
On 11/27/2012 07:10 PM, Michael Wolf wrote: > On 11/27/2012 02:48 AM, Glauber Costa wrote: >> Hi, >> >> On 11/27/2012 12:36 AM, Michael Wolf wrote: >>> In the case of where you have a system that is running in a >>> capped or overcommitted environment the user may see steal time >>> being reported

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-28 Thread Kamezawa Hiroyuki
(2012/11/27 3:47), Michal Hocko wrote: > mem_cgroup_iter curently relies on css->id when walking down a group > hierarchy tree. This is really awkward because the tree walk depends on > the groups creation ordering. The only guarantee is that a parent node > is visited before its children. > Exampl

Re: [PATCH] ARM: davinci: da8xx_register_spi() should not register SPI board info

2012-11-28 Thread Sekhar Nori
Hi Vivien, On 9/11/2012 5:59 AM, Vivien Didelot wrote: > Without this patch, da8xx_register_spi() registers the SPI board info, > the SPI controller, and sets its number of chipselect to the size of the > static spi_board_info array. This is bad because a SPI board info may > declare devices for d

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-28 Thread Jiang Liu
Hi all, Seems it's a great chance to discuss about the memory hotplug feature within this thread. So I will try to give some high level thoughts about memory hotplug feature on x86/IA64. Any comments are welcomed! First of all, I think usability really matters. Ideally, memory hotpl

Re: [patch v2 4/6] memcg: simplify mem_cgroup_iter

2012-11-28 Thread Kamezawa Hiroyuki
(2012/11/27 3:47), Michal Hocko wrote: > Current implementation of mem_cgroup_iter has to consider both css and > memcg to find out whether no group has been found (css==NULL - aka the > loop is completed) and that no memcg is associated with the found node > (!memcg - aka css_tryget failed because

Re: [PATCH] gpio: New driver for GPO emulation using PWM generators

2012-11-28 Thread Peter Ujfalusi
Hi Grant, Lars, Thierry, On 11/26/2012 04:46 PM, Grant Likely wrote: > You're effectively asking the pwm layer to behave like a gpio (which > is completely reasonable). Having a completely separate translation node > really doesn't make sense because it is entirely a software construct. > In fact,

RE: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL 3.x.x

2012-11-28 Thread Mathias LEBLANC
Hi Kent, I have been tried the patch on your linux branch and indeed, i have an error about tpm_continue_seftest. What is the kernel I should use to test officially my patch? Because i saw a lot of different version of linux kernel with the tpm_continue_seftest function. I used this repo git://

Re: [PATCH 3/3] Input: bu21013_ts - Add support for Device Tree booting

2012-11-28 Thread Lee Jones
Hi Dmitry, > On Tue, Nov 27, 2012 at 01:13:10PM +, Lee Jones wrote: > > Now we can register the BU21013_ts touch screen when booting with > > Device Tree enabled. Here we parse all the necessary components > > previously expected to be passed from platform data. > > I applied these 3 patches,

Re: [PATCH 3/3] Input: bu21013_ts - Add support for Device Tree booting

2012-11-28 Thread Lee Jones
Author: Lee Jones Date: Fri Sep 28 14:35:43 2012 +0100 Input: bu21013_ts - Add support for Device Tree booting Now we can register the BU21013_ts touch screen when booting with Device Tree enabled. Here we parse all the necessary components previously expected to be passed

Re: [PATCH] uio.c: Fix warning: 'ret' might be used uninitialized

2012-11-28 Thread Vitalii Demianets
On Wednesday 28 November 2012 00:43:41 Hans J. Koch wrote: > > Thanks, good catch, but why don't you simply do this: > Just a matter of personal preference. As a maintainer you can apply either patch you want. I guess you would prefer your approach and I have no objections to that :) > > >Fr

Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-28 Thread Lee Jones
On Wed, 28 Nov 2012, Viresh Kumar wrote: > On 28 November 2012 01:25, Rabin Vincent wrote: > > 2012/11/27 Viresh Kumar : > >> On 27 November 2012 14:10, Lee Jones wrote: > >> I haven't seen this in any of SPEAr boards i have worked on. Maybe Rabin > >> would have, that's why he added that part o

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-28 Thread Michal Hocko
On Wed 28-11-12 17:47:59, KAMEZAWA Hiroyuki wrote: > (2012/11/27 3:47), Michal Hocko wrote: [...] > > + /* > > +* Even if we found a group we have to make sure it is alive. > > +* css && !memcg means that the groups should be skipped and > > +* we shoul

[PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Mukund Navada
Page number in some devices increases across regmap ranges since the selector register to choose the page remains the same. So in order to write correct page number, the start_page_num is stored in regmap_range_cfg. Signed-off-by: Mukund Navada --- drivers/base/regmap/internal.h |2 ++ dri

RE: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-28 Thread David Laight
> On Tue, 27 Nov 2012 18:02:29 + > David Woodhouse wrote: > > > In solos-pci at least, the ops->close() function doesn't flush all > > pending skbs for this vcc before returning. So can be a tasklet > > somewhere which has loaded the address of the vcc->pop function from one > > of them, and

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-28 Thread David Woodhouse
On Wed, 2012-11-28 at 09:12 +0100, Krzysztof Mazur wrote: > On Wed, Nov 28, 2012 at 12:48:17AM +, David Woodhouse wrote: > > On Tue, 2012-11-27 at 10:23 -0500, chas williams - CONTRACTOR wrote: > > > yes, but dont call it 8/7 since that doesnt make sense. > > > > It made enough sense when it w

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-28 Thread Glauber Costa
On 11/28/2012 01:17 PM, Michal Hocko wrote: > On Wed 28-11-12 17:47:59, KAMEZAWA Hiroyuki wrote: >> (2012/11/27 3:47), Michal Hocko wrote: > [...] >>> + /* >>> +* Even if we found a group we have to make sure it is alive. >>> +* css && !memcg means that the groups

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-28 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 12:34:36 PM Ming Lei wrote: > On Wed, Nov 28, 2012 at 5:19 AM, Rafael J. Wysocki wrote: > > > > Please use counters instead of walking the whole path every time. Ie. in > > addition to the flag add a counter to store the number of the device's > > children having t

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-28 Thread Ashish Jangam
On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2012 15:41:03 +0530 > Ashish Jangam wrote: > > > On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > > > Does this patch looks good? > > > On Thu, 2012-10-11 at 16:10 +0530, Ashish Jangam wrote: > > > > This is the RTC

Re: [Patch v3 3/7] rtc: DA9055 RTC driver

2012-11-28 Thread Ashish Jangam
On Tue, 2012-11-27 at 14:23 -0800, Andrew Morton wrote: > On Fri, 23 Nov 2012 15:41:03 +0530 > Ashish Jangam wrote: > > > On Tue, 2012-10-23 at 15:33 +0530, Ashish Jangam wrote: > > > Does this patch looks good? > > > On Thu, 2012-10-11 at 16:10 +0530, Ashish Jangam wrote: > > > > This is the RTC

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

2012-11-28 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 03:02:18 PM Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > ERROR: "devfreq_monitor_resume" [drivers/devfreq/governor_simpleondemand.ko] > undefined! > ERROR: "devfreq_monit

RE: [PATCH v2 1/2] mmc: dw_mmc: exynos: Stop claiming wp-gpio

2012-11-28 Thread Seungwon Jeon
Yes. pin of write protection is common property. This change is good. I have some suggestion below. Could you check it? On Friday, November 23, 2012, Doug Anderson wrote: > The exynos code claimed wp-gpio with devm_gpio_request() but never did > anything with it. That meant that anyone using a wr

Re: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Mark Brown
On Wed, Nov 28, 2012 at 02:52:57PM +0530, Mukund Navada wrote: > Page number in some devices increases across regmap ranges since the > selector register to choose the page remains the same. So in order to > write correct page number, the start_page_num is stored in > regmap_range_cfg. I'm sorry

Re: [PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory leak & confusing labels

2012-11-28 Thread Cong Ding
On Wed, Nov 28, 2012 at 1:37 AM, Hans J. Koch wrote: > On Wed, Nov 28, 2012 at 01:07:26AM +0100, Cong Ding wrote: >> On Wed, Nov 28, 2012 at 12:07 AM, Hans J. Koch wrote: >> > On Tue, Nov 27, 2012 at 07:29:32PM +0200, Vitalii Demianets wrote: >> >> Memory leak was caused by jumping to the wrong e

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-28 Thread Michal Hocko
On Wed 28-11-12 13:23:57, Glauber Costa wrote: > On 11/28/2012 01:17 PM, Michal Hocko wrote: > > On Wed 28-11-12 17:47:59, KAMEZAWA Hiroyuki wrote: > >> (2012/11/27 3:47), Michal Hocko wrote: > > [...] > >>> + /* > >>> + * Even if we found a group we have to make sure it is alive.

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-28 Thread Glauber Costa
On 11/28/2012 01:33 PM, Michal Hocko wrote: > On Wed 28-11-12 13:23:57, Glauber Costa wrote: >> On 11/28/2012 01:17 PM, Michal Hocko wrote: >>> On Wed 28-11-12 17:47:59, KAMEZAWA Hiroyuki wrote: (2012/11/27 3:47), Michal Hocko wrote: >>> [...] > + /* > + * Even if we f

Re: [PATCH] drivers/uio/uio_pdrv_genirq.c: Fix memory leak & confusing labels

2012-11-28 Thread Vitalii Demianets
On Wednesday 28 November 2012 02:37:50 Hans J. Koch wrote: > > In other words, the case of uioinfo AND pdev->dev.of_node both being NULL > is not handled properly and will have ugly results. > Moreover, the case of (uioinfo != NULL) && (pdev->dev.of_node != NULL) leads to equally ugly results too

Re: [RFC] [PATCH] fix infinite loop; increase robustness of debugfs_remove_recursive [attached test module]

2012-11-28 Thread Lars Ellenberg
On Tue, Nov 27, 2012 at 10:16:28PM -0500, Steven Rostedt wrote: > On Fri, 2012-11-23 at 18:15 +0100, Lars Ellenberg wrote: > > When toying around with debugfs, intentionally trying to break things, > > I managed to get it into a reproducible endless loop when cleaning up. > > > > debugfs_remove_re

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-28 Thread Jianguo Wu
Hi Congyang, I think vmemmap's pgtable pages should be freed after all entries are cleared, I have a patch to do this. The code logic is the same as [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture. How do you think about this? Signed-off-by: Jianguo Wu Signed-off-by:

Re: [PATCH v2] sp5100_tco: Add SB8x0 chipset support

2012-11-28 Thread Paul Menzel
Dear Takahisa, as replied to ticket #43176 in Bugzilla thanks a lot for your work. Am Freitag, den 16.11.2012, 00:23 +0900 schrieb Takahisa Tanaka: > The current sp5100_tco driver only supports SP5100/SB7x0 chipset, doesn't > support SB8x0 chipset, because current sp5100_tco driver doesn't know

Re: kswapd craziness in 3.7

2012-11-28 Thread Mel Gorman
(Adding Thorsten to cc) On Tue, Nov 27, 2012 at 03:48:34PM -0500, Johannes Weiner wrote: > Hi everyone, > > I hope I included everybody that participated in the various threads > on kswapd getting stuck / exhibiting high CPU usage. We were looking > at at least three root causes as far as I can

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-28 Thread Ming Lei
On Wed, Nov 28, 2012 at 5:29 PM, Rafael J. Wysocki wrote: > > But it doesn't have to walk the children. Moreover, with counters it only Yeah, I got it, it is the advantage of counter, but with extra 'int' field introduced in 'struct device'. > needs to walk the whole path if all devices in it n

Re: Save PG_compound or PG_head value in VMCOREINFO

2012-11-28 Thread Petr Tesarik
V Tue, 27 Nov 2012 15:25:35 -0600 ebied...@xmission.com (Eric W. Biederman) napsáno: > Petr Tesarik writes: > > > To allow filtering of huge pages, makedumpfile must be able to > > identify them in the dump. This can be done by checking for the > > appropriate page flag, so communicate its value

[PATCH] bonding: rlb mode of bond should not alter ARP originating via bridge

2012-11-28 Thread Zheng Li
Do not modify or load balance ARP packets passing through balance-alb mode (wherein the ARP did not originate locally, and arrived via a bridge). Modifying pass-through ARP replies causes an incorrect MAC address to be placed into the ARP packet, rendering peers unable to communicate with the ac

Re: [PATCH] sound/sgtl5000: fix initial setting for DAC data source

2012-11-28 Thread Liam Girdwood
On 28/11/12 09:20, Oskar Schirmer wrote: According to documentation bit 3:2 in register SSS_CTRL are reserved and zero, so the setting of 0x0008 does not make much sense. Instead, bit 4 should be set as is with power up, to reflect routing of I2S_IN to DAC correctly. Looks much like an off by on

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-28 Thread Krzysztof Mazur
On Wed, Nov 28, 2012 at 09:24:09AM +, David Woodhouse wrote: > On Wed, 2012-11-28 at 09:12 +0100, Krzysztof Mazur wrote: > > On Wed, Nov 28, 2012 at 12:48:17AM +, David Woodhouse wrote: > > > On Tue, 2012-11-27 at 10:23 -0500, chas williams - CONTRACTOR wrote: > > > > yes, but dont call it

Re: [PATCH] br2684: don't send frames on not-ready vcc

2012-11-28 Thread David Woodhouse
On Wed, 2012-11-28 at 09:08 +0100, Krzysztof Mazur wrote: > > I think you might need also an equivalent of > "[PATCH v3 3/7] pppoatm: allow assign only on a connected socket". > > I'm not sure yet. In will test if I can trigger that Oops on pppoatm > without that patch. Testing vcc flags might be

[PATCH] sound/sgtl5000: fix initial setting for DAC data source

2012-11-28 Thread Oskar Schirmer
According to documentation bit 3:2 in register SSS_CTRL are reserved and zero, so the setting of 0x0008 does not make much sense. Instead, bit 4 should be set as is with power up, to reflect routing of I2S_IN to DAC correctly. Looks much like an off by one error. Signed-off-by: Oskar Schirmer --

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-28 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 11:57:19 AM Ming Lei wrote: > On Wed, Nov 28, 2012 at 5:19 AM, Rafael J. Wysocki wrote: > > On Saturday, November 24, 2012 08:59:14 PM Ming Lei wrote: > >> The patch introduces the flag of memalloc_noio in 'struct dev_pm_info' > >> to help PM core to teach mm not al

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-28 Thread Krzysztof Mazur
On Wed, Nov 28, 2012 at 09:21:37AM -, David Laight wrote: > > On Tue, 27 Nov 2012 18:02:29 + > > David Woodhouse wrote: > > > > > In solos-pci at least, the ops->close() function doesn't flush all > > > pending skbs for this vcc before returning. So can be a tasklet > > > somewhere which

Re: [RFC] [PATCH] fix infinite loop; increase robustness of debugfs_remove_recursive [attached test module]

2012-11-28 Thread Lars Ellenberg
On Wed, Nov 28, 2012 at 10:37:54AM +0100, Lars Ellenberg wrote: > Note that all but rmmod may be done as normal user, Ok, that is not exactly correct, I forgot about debugfs being mounted 0700 ;-) Still... Lars -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH v6 2/6] PM / Runtime: introduce pm_runtime_set_memalloc_noio()

2012-11-28 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 05:47:18 PM Ming Lei wrote: > On Wed, Nov 28, 2012 at 5:29 PM, Rafael J. Wysocki wrote: > > > > But it doesn't have to walk the children. Moreover, with counters it only > > Yeah, I got it, it is the advantage of counter, but with extra 'int' > field introduced >

RE: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Navada Kanyana, Mukund
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: Wednesday, November 28, 2012 2:59 PM > To: Navada Kanyana, Mukund > Cc: Greg Kroah-Hartman; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/1] regmap: Add support for continously numbered > p

Re: kswapd craziness in 3.7

2012-11-28 Thread Mel Gorman
On Tue, Nov 27, 2012 at 03:19:38PM -0800, Linus Torvalds wrote: > On Tue, Nov 27, 2012 at 2:26 PM, Johannes Weiner wrote: > > On Tue, Nov 27, 2012 at 05:02:36PM -0500, Rik van Riel wrote: > >> > >> Kswapd going crazy is certainly a large part of the problem. > >> > >> However, that leaves the issu

[PATCH] sound/sgtl5000: fix initial setting for DAC data source

2012-11-28 Thread Oskar Schirmer
According to documentation bit 3:2 in register SSS_CTRL are reserved and zero, so the setting of 0x0008 does not make much sense. Instead, bit 4 should be set as is with power up, to reflect routing of I2S_IN to DAC correctly. Looks much like an off by one error. Signed-off-by: Oskar Schirmer --

Re: [PATCH v3 8/7] pppoatm: fix missing wakeup in pppoatm_send()

2012-11-28 Thread David Woodhouse
On Wed, 2012-11-28 at 10:58 +0100, Krzysztof Mazur wrote: > ok, I think that we should just drop that patch, with test_bit() > I think it's no longer an optimization. After another cup of tea, it now uses test_and_clear_bit()... and doesn't break the carefully crafted handling of the BLOCKED bit i

Re: [PATCH v2 3/3] pppoatm: protect against freeing of vcc

2012-11-28 Thread David Woodhouse
On Wed, 2012-11-28 at 11:04 +0100, Krzysztof Mazur wrote: > > The ->close() routine can just abort any pending rx/tx and just wait > for completion of currently running rx/tx code. That shouldn't take > long. If it's been submitted to the hardware for DMA, it can't do that very easily. And if I

"tuntap: multiqueue support" causes udev fork bombs

2012-11-28 Thread Jiri Slaby
Hi, with this commit: commit c8d68e6be1c3b242f1c598595830890b65cea64a Author: Jason Wang Date: Wed Oct 31 19:46:00 2012 + tuntap: multiqueue support I see fork bombs from udev. It is trying to create 2048 processes. 1024 for tx, 1024 for rx. OOM killer indeed steps in and kills every

[RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
This is an attempt to implement David Rientjes' idea of mempressure cgroup. The main characteristics are the same to what I've tried to add to vmevent API: Internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for pressure index calculation. But we don't expose the index to the u

[PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Mauro/Greg, The below series of patches have gone through good amount of reviews, and agreed by Laurent, Hans and Sakari to be part of the staging tree. I am combining the patchs with the pull request so we can get them into the 3.8 kernel. Please pull these patches.If you

[PATCH v3 2/9] davinci: vpfe: add v4l2 video driver support

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Add a generic video driver functionality to be used by all the vpfe drivers for davinci SoCs. The functionality includes all the standard v4l2 interfaces including streaming. The video node interface can be used both as an input and output node for both continuous and single

[PATCH v3 3/9] davinci: vpfe: dm365: add IPIPEIF driver based on media framework

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add support for dm365 IPIPEIF driver based on media framework. The IPIPEIF is exposed as a subdev, and it supports features like fault pixel correction, dark frame subtraction and other necessary hardware setup. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar

[PATCH v3 6/9] davinci: vpfe: dm365: add IPIPE hardware layer support

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli IPIPE is the hardware IP which implements the functionality required for resizer, ipipe(colorspace converter) and the associated hardware support. This patch implements hardware setup including coefficient programming for various hardware filters, gamma, cfa and clock enabli

[PATCH v3 8/9] davinci: vpfe: dm365: add build infrastructure for capture driver

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add build infrastructure for dm365 specific modules for VPFE capture driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/staging/media/Kconfig |2 ++ drivers/staging/media/Makefile |1 + drivers/staging/medi

[PATCH v3 9/9] davinci: vpfe: Add documentation and TODO

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Add documentation on the Davinci VPFE driver. Document the subdevs, and private IOTCLs the driver implements. This patch also includes the TODO's to fit into drivers/media/ folder. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/staging/media/dav

Re: kswapd craziness in 3.7

2012-11-28 Thread Thorsten Leemhuis
Mel Gorman wrote on 28.11.2012 11:13: > On Tue, Nov 27, 2012 at 03:19:38PM -0800, Linus Torvalds wrote: >> On Tue, Nov 27, 2012 at 2:26 PM, Johannes Weiner wrote: >> > On Tue, Nov 27, 2012 at 05:02:36PM -0500, Rik van Riel wrote: > >> And the one who comes out gets to explain to me which patch(es)

Re: [PATCH 1/5] cpufreq: handle SW coordinated CPUs

2012-11-28 Thread Fabio Baltieri
Hello Rafael, On Tue, Nov 27, 2012 at 11:05:52PM +0100, Rafael J. Wysocki wrote: > > static inline void dbs_timer_init(struct dbs_data *dbs_data, > > - struct cpu_dbs_common_info *cdbs, unsigned int sampling_rate) > > + struct cpu_dbs_common_info *cdbs, > > +

[PATCH v3 0/3] Davinci VPSS helper functions for VPFE

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli Hi Mauro, This patchset, was part of the DM365 capture driver series, I have split them up and made as separate series as the capture patches will now be going under staging and made as version V3. This patches have undergone several reviews along with the capture driver.

[PATCH v3 1/3] davinci: vpss: dm365: enable ISP registers

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli enable PPCR, enbale ISIF out on BCR and disable all events to get the correct operation from ISIF. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(

[PATCH v3 3/3] davinci: vpss: dm365: add vpss helper functions to be used in the main driver for setting hardware parameters

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli add interface functions to set sync polarity, interrupt completion and pageframe size in vpss to be used by the main driver. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 32 in

[PATCH v3 2/3] davinci: vpss: dm365: set vpss clk ctrl

2012-11-28 Thread Prabhakar Lad
From: Manjunath Hadli request_mem_region for VPSS_CLK_CTRL register and ioremap. and enable clocks appropriately. Signed-off-by: Manjunath Hadli Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) di

RE: [PATCH 1/3] net: stmmac: change GMAC control register for SGMII

2012-11-28 Thread Byungho An
On 11/26/2012 07:31 PM, Giuseppe CABALLARO wrote: > On 11/23/2012 10:04 AM, Byungho An wrote: > > > > This patch changes GMAC control register (TC(Transmit > > Configuration) and PS(Port Selection) bit for SGMII. > > In case of SGMII, TC bit is '1' and PS bit is 0. > > IMO this new support that sh

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

2012-11-28 Thread Stanislaw Gruszka
On Mon, Nov 26, 2012 at 03:10:46PM +1100, Stephen Rothwell wrote: > 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/wi

Re: [RFC PATCH v3 0/3] acpi: Introduce prepare_remove device operation

2012-11-28 Thread Hanjun Guo
On 2012/11/24 1:50, Vasilis Liaskovitis wrote: > As discussed in https://patchwork.kernel.org/patch/1581581/ > the driver core remove function needs to always succeed. This means we need > to know that the device can be successfully removed before acpi_bus_trim / > acpi_bus_hot_remove_device are c

[PATCH] drm: tegra: Add maintainers entry

2012-11-28 Thread Thierry Reding
Add myself as the maintainer of the NVIDIA Tegra DRM driver. Signed-off-by: Thierry Reding --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f503405..27c89b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2504,6 +2504,14 @@ S: Suppo

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

2012-11-28 Thread Amit Kachhap
On 26 November 2012 07:01, Jonghwan Choi wrote: > 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

Re: [PATCH v3 9/9] davinci: vpfe: Add documentation and TODO

2012-11-28 Thread Mauro Carvalho Chehab
Hi Prabhakar, Em Wed, 28 Nov 2012 16:12:09 +0530 Prabhakar Lad escreveu: > +Introduction > + > + > +This file documents the Texas Instruments Davinci Video processing Front End > +(VPFE) driver located under drivers/media/platform/davinci. The original > driver > +exists for Davinci

Re: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Mark Brown
On Wed, Nov 28, 2012 at 10:11:05AM +, Navada Kanyana, Mukund wrote: Fix your mailer to word wrap within paragraphs. > > I'm sorry but I can't understand what this is supposed to do. The > > current paging code expects pages to be numbered continuously with no > > gaps. Can you please clarif

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-28 Thread Mel Gorman
On Tue, Nov 27, 2012 at 04:25:14PM -0500, George Spelvin wrote: > Mel Gorman wrote: > > On Mon, Nov 26, 2012 at 01:53:17PM -0500, George Spelvin wrote: > >> Johannes Weiner wrote: > >>> Any chance you could test with this fix instead, in addition to Dave's > >>> accounting fix? It's got bool and

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Dan Carpenter
I wish people wouldn't submit big patches right before the merge window opens... :/ It's better to let it sit in linux-next for a couple weeks so people can mess with it a bit. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [PATCH] KVM: MMU: lazily drop large spte

2012-11-28 Thread Marcelo Tosatti
On Wed, Nov 28, 2012 at 01:27:38PM +0800, Xiao Guangrong wrote: > On 11/18/2012 11:00 AM, Marcelo Tosatti wrote: > map gfn 4? See corrected step 7 above. > >> > >> Ah, this is a real bug, and unfortunately, it exists in current > >> code. I will make a separate patchset to fix it. Thank you, Marce

RE: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Navada Kanyana, Mukund
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: Wednesday, November 28, 2012 5:05 PM > To: Navada Kanyana, Mukund > Cc: Greg Kroah-Hartman; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/1] regmap: Add support for continously numbered > p

[RFC 2/2] clk: per-user clock accounting for debug

2012-11-28 Thread Rabin Vincent
When a clock has multiple users, the WARNING on imbalance of enable/disable may not show the guilty party since although they may have commited the error earlier, the warning is emitted later when some other user, presumably innocent, disables the clock. Provide per-user clock enable/disable accou

Re: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Mark Brown
On Wed, Nov 28, 2012 at 11:52:22AM +, Navada Kanyana, Mukund wrote: > static const struct regmap_range_cfg aic325x_ranges[] = { > { .name = "CONF", .range_min = 128, > .range_max = 383, > .selector_reg = 0x0, > .selector_mask = 0xff, > .selector_

Re: A question about proc file system

2012-11-28 Thread Alan Cox
On Wed, 28 Nov 2012 02:55:30 + "Yangbin (Robin)" wrote: > Hi all: > > I write a kernel module which make a dir and create a file in proc file > system. > I use proc_mkdir() and create_proc_entry() in init and use > remove_proc_entry() in exit. > Now I got a problem during my test: >

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Hans Verkuil
On Wed 28 November 2012 12:45:37 Dan Carpenter wrote: > I wish people wouldn't submit big patches right before the merge > window opens... :/ It's better to let it sit in linux-next for a > couple weeks so people can mess with it a bit. It's been under review for quite some time now, and the main

RE: [PATCH 1/1] regmap: Add support for continously numbered pages across regmap range

2012-11-28 Thread Navada Kanyana, Mukund
> -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: Wednesday, November 28, 2012 5:27 PM > To: Navada Kanyana, Mukund > Cc: Greg Kroah-Hartman; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/1] regmap: Add support for continously numbered > p

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Mauro Carvalho Chehab
Em Wed, 28 Nov 2012 12:56:10 +0100 Hans Verkuil escreveu: > On Wed 28 November 2012 12:45:37 Dan Carpenter wrote: > > I wish people wouldn't submit big patches right before the merge > > window opens... :/ It's better to let it sit in linux-next for a > > couple weeks so people can mess with it

Re: [PATCH v3 0/9] Media Controller capture driver for DM365

2012-11-28 Thread Dan Carpenter
On Wed, Nov 28, 2012 at 12:56:10PM +0100, Hans Verkuil wrote: > On Wed 28 November 2012 12:45:37 Dan Carpenter wrote: > > I wish people wouldn't submit big patches right before the merge > > window opens... :/ It's better to let it sit in linux-next for a > > couple weeks so people can mess with i

Re: [PATCH v4 0/3] ACPI 5 support for GPIO, SPI and I2C

2012-11-28 Thread Mika Westerberg
On Thu, Nov 22, 2012 at 11:03:26AM +0100, Rafael J. Wysocki wrote: > On Thursday, November 22, 2012 10:43:28 AM Linus Walleij wrote: > > On Wed, Nov 21, 2012 at 10:31 PM, Rafael J. Wysocki wrote: > > > > > This patchset has been around for quite a while and went through a few > > > iterations, so

Re: [PATCH 1/5] cpufreq: handle SW coordinated CPUs

2012-11-28 Thread Rafael J. Wysocki
On Wednesday, November 28, 2012 11:51:20 AM Fabio Baltieri wrote: > Hello Rafael, Hi, > On Tue, Nov 27, 2012 at 11:05:52PM +0100, Rafael J. Wysocki wrote: > > > static inline void dbs_timer_init(struct dbs_data *dbs_data, > > > - struct cpu_dbs_common_info *cdbs, unsigned int sampling_ra

[PATCH 5/5] serial: 8250_dw: Set FIFO size dynamically

2012-11-28 Thread Heikki Krogerus
Designware UART provides optional Component Parameter Register that lists most of the capabilities of the UART, including FIFO size. This uses that register to set FIFO size for the port before registering it. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c | 57 ++

[PATCH 0/5] serial: 8250: 8250_dw changes and dynamic capabilities

2012-11-28 Thread Heikki Krogerus
Hi, These are mainly small changes to 8250_dw.c. The interesting patch is probable the addition to 8250.c that would allow the drivers to deliver their UART's capabilities when they are registering ports. Heikki Krogerus (5): serial: 8250: Allow drivers to deliver capabilities serial: 8250_d

[PATCH 1/5] serial: 8250: Allow drivers to deliver capabilities

2012-11-28 Thread Heikki Krogerus
Modern UARTs are able to provide information about their capabilities such as FIFO size. This allows the drivers to deliver this information to 8250.c when they are registering ports. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250.c | 22 -- 1 file changed,

  1   2   3   4   5   6   7   8   9   >