[PATCH v2 00/42] ARM: at91: move to common clk framework

2013-07-17 Thread Boris BREZILLON
Hello, This patch series is a proposal to move at91 clock implementation to common clk framework. Most of the clock provided by the PMC (Power Management Controller) are implemented : - main clock (main oscillator) - pll clocks - master clock - programmable clocks - utmi clock - peripheral

Re: [PATCH] videobuf2-dma-sg: Minimize the number of dma segments

2013-07-17 Thread Marek Szyprowski
Hello, On 7/17/2013 11:43 AM, Ricardo Ribalda Delgado wrote: Hi Marek alloc_pages_exact returns pages of order 0, every single page is filled into buf->pages, that then is used by vb2_dma_sg_mmap(), that also expects order 0 pages (its loops increments in PAGE_SIZE). The code has been tested

[PATCH v2 04/42] ARM: at91: add PMC master clock

2013-07-17 Thread Boris BREZILLON
This is the at91 master clock implementation using common clk framework. The pll clock layout describe the MCKR register layout. There's four pll clock layouts: - at91rm9200 - at91sam9x5 Master clocks are given characteristics: - min/max clock output rate These characteristics are checked

Re: [PATCH V2 2/2] fs/aio: Add support to aio ring pages migration

2013-07-17 Thread Benjamin LaHaise
On Wed, Jul 17, 2013 at 05:22:30PM +0800, Gu Zheng wrote: > As the aio job will pin the ring pages, that will lead to mem migrated > failed. In order to fix this problem we use an anon inode to manage the aio > ring > pages, and setup the migratepage callback in the anon inode's address space,

RE: [PATCH V3 1/3] dts: change Marvell prefix to 'marvell'

2013-07-17 Thread Neil Zhang
Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 2013年7月15日 3:30 > To: Neil Zhang > Cc: Jason Cooper; Matt Sealey; grant.lik...@linaro.org; > haojian.zhu...@gmail.com; devicetree-disc...@lists.ozlabs.org; > linux-kernel@vger.kernel.org;

[PATCH v2 05/42] ARM: at91: add PMC system clocks

2013-07-17 Thread Boris BREZILLON
This is the at91 system clock implementation using common clk framework. Some peripheral needs to enable a "system" clock in order to work properly. Each system clock is given an id which is the bit offset used in SCER/SCDR registers. Signed-off-by: Boris BREZILLON ---

Re: linux-next: build failure after merge of the final tree (aio tree related)

2013-07-17 Thread Benjamin LaHaise
Hello Stephen, (actually a greeting this time!) On Wed, Jul 17, 2013 at 01:41:24PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allnoconfig) failed like this: > > fs/aio.c: In function 'aio_migratepage': > fs/aio.c:196:2: error:

hung task while plugging in cfg80211

2013-07-17 Thread Jeff Layton
(Resending with wider distribution list since my earlier email to linux-wireless didn't get a response) I updated the kernel on my fedora rawhide KVM guest, and noticed that the ethernet interface wasn't coming up at all. While poking around, I saw this stack trace pop up: Jul 12 07:29:25

[PATCH v2 08/42] ARM: at91: add PMC utmi clock

2013-07-17 Thread Boris BREZILLON
This is the at91 utmi clock implementation using common clk framework. This clock is a pll with a fixed factor (x40). It is used as a source for usb clock. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |7 +++ drivers/clk/at91/Makefile |1 +

[PATCH v2 03/42] ARM: at91: add PMC pll clocks

2013-07-17 Thread Boris BREZILLON
This is the at91 pll clock implementation using common clk framework. The pll clock layout describe the PLLX register layout. There's four pll clock layouts: - at91rm9200 - at91sam9g20 - at91sam9g45 - sama5d3 PLL clocks are given characteristics: - min/max clock source rate - ranges of valid

[PATCH v2 10/42] ARM: at91: add PMC smd clock

2013-07-17 Thread Boris BREZILLON
This is the at91 smd (Soft Modem) clock implementation using common clk framework. Not used by any driver right now. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |5 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-smd.c | 157

[PATCH v2 09/42] ARM: at91: add PMC usb clock

2013-07-17 Thread Boris BREZILLON
This is the at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig | 11 ++ drivers/clk/at91/Makefile |1 + drivers/clk/at91/clk-usb.c | 303

[PATCH v2 11/42] ARM: at91: add PMC clk device tree binding doc.

2013-07-17 Thread Boris BREZILLON
This is the documentation of the dt bindings used by at91 clks. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/clock/at91-clock.txt | 262 1 file changed, 262 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/at91-clock.txt diff

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 4:17 AM, Stefano Stabellini wrote: > On Tue, 16 Jul 2013, H. Peter Anvin wrote: >> Linux took off in a way that the other OSS operating systems didn't, and >> several of them had started earlier and with way more funding available. >> >> You really have to think about why

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Paul Gortmaker
On 13-07-16 07:38 PM, Steven Rostedt wrote: > On Tue, 2013-07-16 at 16:12 -0700, Sarah Sharp wrote: > [...] > >> We need to define what behavior we want >> from both maintainers and patch submitters. E.g. "No regressions" and >> "don't break userspace" > > Yes, those do need to be

[PATCH v2 07/42] ARM: at91: add PMC programmable clocks

2013-07-17 Thread Boris BREZILLON
This is the at91 programmable clocks implementation using common clk framework. A programmable clock is a clock which can be exported on a given pin to clock external devices. Each programmable clock is given an id (from 0 to 8). The number of available programmable clocks depends on the SoC

Re: [PATCH] videobuf2-dma-sg: Minimize the number of dma segments

2013-07-17 Thread Ricardo Ribalda Delgado
Hello again I have made some experiments and have replaced alloc_pages_exact with alloc_pages of order N. Unfortunatelly vm_insert_page and vm_map_ram does not work as expected. vm_insert_page, only insert the PAGE_SIZE bytes of the higher order page, if I try to add the other pages manually,

[RFC PATCH v2 03/15] ARM: DT/kernel: define ARM specific arch_match_cpu_phys_id

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha OF/DT core library now provides architecture specific hook to match the logical cpu index with the corresponding physical identifier. Most of the cpu DT node parsing and initialisation is contained in devtree.c. So it's better to define ARM specific

[RFC PATCH v2 07/15] cpufreq: imx6q-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Shawn Guo Acked-by: Viresh Kumar Signed-off-by: Sudeep

[RFC PATCH v2 12/15] cpufreq: arm_big_little: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Viresh Kumar Signed-off-by: Sudeep KarkadaNagesha ---

[RFC PATCH v2 15/15] cpufreq: pmac32-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes DT parsing and uses cpu->of_node instead. Cc: Viresh Kumar Cc: Benjamin Herrenschmidt Signed-off-by: Sudeep

Re: [PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Oleksandr Kozaruk
On Mon, Jul 15, 2013 at 01:33:53PM +0200, Lars-Peter Clausen wrote: > On 07/15/2013 01:09 PM, Kozaruk, Oleksandr wrote: > [...] > > > >>> + ret = devm_request_threaded_irq(dev, irq, NULL, > >>> + twl6030_gpadc_irq_handler, > >>> + IRQF_ONESHOT, "twl6030_gpadc", gpadc); > >> > >> You access

[RFC PATCH v2 08/15] cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Acked-by: Shawn Guo Acked-by: Viresh Kumar Signed-off-by: Sudeep

[RFC PATCH v2 11/15] cpufreq: kirkwood-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Andrew Lunn Cc: Jason Cooper Acked-by: Viresh Kumar

[RFC PATCH v2 09/15] cpufreq: highbank-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Mark Langsdorf Acked-by: Viresh Kumar Signed-off-by: Sudeep

[PATCH v2 06/42] ARM: at91: add PMC peripheral clocks

2013-07-17 Thread Boris BREZILLON
This is the at91 peripheral clock implementation using common clk framework. Almost all peripherals provided by an at91 SoC need a clock to work properly. This clock is enabled/disabled using PCER/PCDR resgisters. Each peripheral is given an id (see atmel's datasheets) which is used as bit

[RFC PATCH v2 06/15] drivers/bus: arm-cci: avoid parsing DT for cpu device nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Since the CPU device nodes can be retrieved using arch_of_get_cpu_node, we can use it to avoid parsing the cpus node searching the cpu nodes and mapping to logical index. This patch removes parsing DT for cpu nodes by using of_get_cpu_node. Cc: Lorenzo Pieralisi

[RFC PATCH v2 10/15] cpufreq: spear-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Deepak Sikri Acked-by: Viresh Kumar Signed-off-by: Sudeep

[RFC PATCH v2 14/15] cpufreq: pmac64-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Viresh Kumar Cc: Benjamin Herrenschmidt Signed-off-by: Sudeep

[RFC PATCH v2 13/15] cpufreq: maple-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Now that the cpu device registration initialises the of_node(if available) appropriately for all the cpus, parsing here is redundant. This patch removes all DT parsing and uses cpu->of_node instead. Cc: Viresh Kumar Cc: Dmitry Eremin-Solenikov Signed-off-by:

[RFC PATCH v2 01/15] of: add support for retrieving cpu node for a given logical cpu index

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Currently different drivers requiring to access cpu device node are parsing the device tree themselves. Since the ordering in the DT need not match the logical cpu ordering, the parsing logic needs to consider that. However, this has resulted in lots of code

[RFC PATCH v2 05/15] ARM: mvebu: remove device tree parsing for cpu nodes

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Currently set_secondary_cpus_clock assume the CPU logical ordering and the MPDIR in DT are same, which is incorrect. Since the CPU device nodes can be retrieved in the logical ordering using the DT helper, we can remove the devices tree parsing. This patch removes

Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-17 Thread Pawel Moll
On Wed, 2013-07-17 at 15:16 +0100, Nicolas Pitre wrote: > On Wed, 17 Jul 2013, Pawel Moll wrote: > > > On Wed, 2013-07-17 at 13:33 +0100, Nicolas Pitre wrote: > > > If this is really miscelaneous code that really doesn't fit > > > anywhere else, it should rather go into drivers/misc/ as a last

Re: [PATCH] videobuf2-dma-sg: Minimize the number of dma segments

2013-07-17 Thread Ricardo Ribalda Delgado
Hello again Marek In my system I am doing the scatter gather compaction on device driver... But I agree that it would be better done on the vb2 layer. For the oversize sglist we could do one of this two things. If we want to have a simple pass processing we have to allocate an structure A for

[RFC PATCH v2 02/15] driver/core: cpu: initialize of_node in cpu's device struture

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha CPUs are also registered as devices but the of_node in these cpu devices are not initialized. Currently different drivers requiring to access cpu device node are parsing the nodes themselves and initialising the of_node in cpu device. The of_node in all the cpu

Re: [PATCH 1/2] clk: samsung: Staticise non-exported symbols

2013-07-17 Thread Sachin Kamat
On 17 July 2013 16:29, Mark Brown wrote: > From: Mark Brown > > This avoids polluting the global namespace and silences lots of sparse > warnings. The change pushes us over 80 columns a lot but I couldn't see > a tasteful place to break the lines as-is. > > Signed-off-by: Mark Brown I have

Re: [PATCH RFC V10 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-17 Thread Raghavendra K T
On 07/17/2013 06:55 PM, Gleb Natapov wrote: On Wed, Jul 17, 2013 at 06:25:05PM +0530, Raghavendra K T wrote: On 07/17/2013 06:15 PM, Gleb Natapov wrote: On Wed, Jul 17, 2013 at 03:35:37PM +0530, Raghavendra K T wrote: Instead of halt we started with a sleep hypercall in those versions.

Re: [RFC PATCH v2 01/15] of: add support for retrieving cpu node for a given logical cpu index

2013-07-17 Thread Nicolas Pitre
On Wed, 17 Jul 2013, sudeep.karkadanage...@arm.com wrote: > From: Sudeep KarkadaNagesha > > Currently different drivers requiring to access cpu device node are > parsing the device tree themselves. Since the ordering in the DT need > not match the logical cpu ordering, the parsing logic needs

Re: [PATCH 2/2] clk: exynos4: Remove unused external clock registration function

2013-07-17 Thread Sachin Kamat
On 17 July 2013 16:29, Mark Brown wrote: > From: Mark Brown > > As the comment says exynos4_clk_register_fixed_ext() was only used by > non-DT platforms. Since Exynos is now DT only it is no longer referenced > and can be removed. > > Signed-off-by: Mark Brown Similar patch has already been

[PATCH] mm: zbud: fix condition check on allocation size

2013-07-17 Thread Heesub Shin
zbud_alloc() incorrectly verifies the size of allocation limit. It should deny the allocation request greater than (PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE), not (PAGE_SIZE - ZHDR_SIZE_ALIGNED) which has no remaining spaces for its buddy. There is no point in spending the entire zbud page

Re: [RFC PATCH 02/11] ARM: DT/kernel: define ARM specific arch_of_get_cpu_node

2013-07-17 Thread Sudeep KarkadaNagesha
On 16/07/13 10:03, Sudeep KarkadaNagesha wrote: > On 15/07/13 20:10, Rob Herring wrote: >> On 07/15/2013 05:22 AM, sudeep.karkadanage...@arm.com wrote: >>> From: Sudeep KarkadaNagesha >>> >>> CPU subsystem now provides architecture specific hook to retrieve the >>> of_node. Most of the cpu DT

Re: Linux Plumbers ACPI/PM, PCI Microconference

2013-07-17 Thread Shuah Khan
Myron, On Tue, Jul 16, 2013 at 8:21 PM, Myron Stowe wrote: > > Shuah - You brought up the idea about "Converting drivers from Legacy > PM ops to dev_pm_ops"; would you like to present what you have > done/encountered so far? > Awesome. Yes, I would like to present what I have done so far and I

Re: [PATCH v5 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-17 Thread Sergei Shtylyov
Hello. On 17-07-2013 15:12, Oleksandr Kozaruk wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion. Signed-off-by: Oleksandr Kozaruk --- arch/arm/boot/dts/twl6030.dtsi | 6 ++ 1 file changed, 6 insertions(+)

[PATCH v2 12/42] ARM: at91: move to common clk framework

2013-07-17 Thread Boris BREZILLON
This patch removes the old at91 clk implementation, and keep the PMC initialization and sam9idle functions in pmc.c. The at91_initialize function no longer initiliaze at91 clks: the new clk registration process requires kzalloc which is not available when early_init is called. The clk

Re: [PATCH RFC V10 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-17 Thread Raghavendra K T
On 07/17/2013 07:43 PM, Raghavendra K T wrote: On 07/17/2013 06:55 PM, Gleb Natapov wrote: On Wed, Jul 17, 2013 at 06:25:05PM +0530, Raghavendra K T wrote: On 07/17/2013 06:15 PM, Gleb Natapov wrote: On Wed, Jul 17, 2013 at 03:35:37PM +0530, Raghavendra K T wrote: Instead of halt we started

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Felipe Contreras
On Tue, Jul 16, 2013 at 8:02 PM, Sarah Sharp wrote: > I've provided examples and personal stories in an attempt to give > incentive to change. Those are just stories; things that happened. What you need to provide is *evidence* that if the community changes, things will be better, and unless

[RFC PATCH v2 04/15] ARM: topology: remove hwid/MPIDR dependency from cpu_capacity

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha Currently the topology code computes cpu capacity and stores it in the list along with hwid(which is MPIDR) as it parses the CPU nodes in the device tree. This is required as it needs to be mapped to the logical CPU later. Since the CPU device nodes can be retrieved

Re: [PATCH 1/2] i2c-designware: make *CNT values configurable

2013-07-17 Thread Shinya Kuribayashi
On 7/16/13 8:16 PM, Christian Ruppert wrote:> On Sat, Jul 13, 2013 at 02:36:43PM +0900, Shinya Kuribayashi wrote: Basically, DW I2C core provides a good enough (and quite direct) way to control tHIGH and tLOW timing specs, *HCNT and *LCNT registers. But from my experience (with a slightly old

[RFC PATCH v2 00/15] DT/core: update cpu device of_node

2013-07-17 Thread Sudeep . KarkadaNagesha
From: Sudeep KarkadaNagesha As more and more information is getting added into the cpu node, the number of drivers needing to parse the device tree for CPU nodes are increasing. Most of the time, the information needed from the cpu node is preferred in the logical CPU order. Hence many drivers

Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-17 Thread Nicolas Pitre
On Wed, 17 Jul 2013, Pawel Moll wrote: > On Wed, 2013-07-17 at 13:33 +0100, Nicolas Pitre wrote: > > If this is really miscelaneous code that really doesn't fit > > anywhere else, it should rather go into drivers/misc/ as a last resort. > > Interestingly enough drivers/misc was my first choice

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-17 Thread Catalin Marinas
On Tue, Jul 16, 2013 at 04:23:08PM +0100, Arjan van de Ven wrote: > On 7/16/2013 5:42 AM, Catalin Marinas wrote: > > Morten's power scheduler tries to address the above and it will grow > > into controlling a new model of power driver (and taking into account > > Arjan's and others' comments

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Sarah Sharp
On Wed, Jul 17, 2013 at 09:01:02AM -0500, Felipe Contreras wrote: > I know you think "being nice" is better, but do you actually have any > evidence for this, or is it just wishful thinking? If you don't have > hard evidence, then I'd say you have to admit it's simply your > opinion, and I don't

[PATCH v2 13/42] ARM: at91: move at91rm9200 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91rm9200 SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |1 +

[PATCH v2 16/42] ARM: at91: move at91sam9263 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91sam9263 SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9263.c | 593

Re: [PATCH RFC V10 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-17 Thread Gleb Natapov
On Wed, Jul 17, 2013 at 07:43:01PM +0530, Raghavendra K T wrote: > On 07/17/2013 06:55 PM, Gleb Natapov wrote: > >On Wed, Jul 17, 2013 at 06:25:05PM +0530, Raghavendra K T wrote: > >>On 07/17/2013 06:15 PM, Gleb Natapov wrote: > >>>On Wed, Jul 17, 2013 at 03:35:37PM +0530, Raghavendra K T wrote: >

Re: [PATCH v3 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Lars-Peter Clausen
On 07/17/2013 03:45 PM, Oleksandr Kozaruk wrote: > On Mon, Jul 15, 2013 at 01:33:53PM +0200, Lars-Peter Clausen wrote: >> On 07/15/2013 01:09 PM, Kozaruk, Oleksandr wrote: >> [...] >> > >> >>> + ret = devm_request_threaded_irq(dev, irq, NULL, >> >>> + twl6030_gpadc_irq_handler, >> >>> +

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Sarah Sharp
On Wed, Jul 17, 2013 at 03:36:36AM -0400, CAI Qian wrote: > > On Tue, 2013-07-16 at 19:31 -0400, Ric Wheeler wrote: > > > On 07/16/2013 07:12 PM, Sarah Sharp wrote: > > > > On Tue, Jul 16, 2013 at 06:54:59PM -0400, Steven Rostedt wrote: > > > >> On Tue, 2013-07-16 at 15:43 -0700, Sarah Sharp

[PATCH v2 17/42] ARM: at91: move at91sam9g45 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91sam9g45 SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9g45.c | 702

Re: [RFC PATCH 0/4] tracing: fix open/delete fixes

2013-07-17 Thread Oleg Nesterov
On 07/17, Masami Hiramatsu wrote: > > At a glance, you're trying to change which operation will be > failed. Currently, user can not remove an event while someone > opens files which related to the event. And this approach > changes that the someone can remove the event even if the > files are

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Willy Tarreau
On Wed, Jul 17, 2013 at 07:40:43AM -0700, Sarah Sharp wrote: > Go look at Dreamwidth, the open source Livejournal fork. It has a good > code of conduct, so developers are civil to each other. They encourage > all patch submissions, and take the time to work with people who don't > understand

Re: ext4_da_release_space:1333: ext4_da_release_space: ino 12, to_free 1 with only 0 reserved data blocks

2013-07-17 Thread Dave Jones
On Wed, Jul 17, 2013 at 02:53:22PM +0200, Jan Kara wrote: > On Tue 16-07-13 16:25:33, Dave Jones wrote: > > I've seen this happen a few times this week.. > Thanks for report! Was this when fuzzing or just normal desktop load? > What is inode with inode number 12 on your filesystem sdb1? What

[PATCH v2 20/42] ARM: at91: move at91sam9x5 SoCs to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks for at91sam9x5 SoCs. These SoCs only supports dt boards: we can remove register_clocks (all clocks are defined in dt). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9x5.c | 291 --- 1 file

[PATCH v2 19/42] ARM: at91: move at91sam9rl SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91sam9rl SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9rl.c | 500

Re: [PATCH v5 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-17 Thread Lars-Peter Clausen
On 07/17/2013 04:33 PM, Sergei Shtylyov wrote: > Hello. > > On 17-07-2013 15:12, Oleksandr Kozaruk wrote: > >> GPADC is the general purpose ADC present on twl6030. >> The dt data is interrupt used to trigger end of ADC >> conversion. > >> Signed-off-by: Oleksandr Kozaruk >> --- >>

[PATCH v2 18/42] ARM: at91: move at91sam9n12 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks for at91sam9n12 SoC. This SoC only supports dt boards: we can remove register_clocks (all clocks are defined in dt). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9n12.c | 194 -- 1 file

[PATCH v2 22/42] ARM: at91: move sama5d3 SoCs to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks for sama5d3 SoCs. These SoCs only supports dt boards: we can remove register_clocks (all clocks are defined in dt). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/Kconfig |1 + arch/arm/mach-at91/sama5d3.c | 342

Re: [PATCH v4 2/7] cpufreq: Add boost frequency support in core

2013-07-17 Thread Lukasz Majewski
On Wed, 17 Jul 2013 18:31:19 +0530 Viresh Kumar viresh.ku...@linaro.org wrote, > On 17 July 2013 17:01, Rafael J. Wysocki wrote: > > First off, I'm not sure how many applications actually use it and I > > think, if any, they should be able cope with the attribute not > > being present. > > > > Of

[PATCH v2 23/42] ARM: at91: move at91rm9200 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Move at91 clk init from early_init to timer_init for all at91rm9200 non dt boards. Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/board-1arm.c | 12 ++-- arch/arm/mach-at91/board-carmeva.c| 13 - arch/arm/mach-at91/board-cpuat91.c| 12 ++--

[PATCH v2 15/42] ARM: at91: move at91sam9261 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91sam9261 SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9261.c | 570

Re: [RFC PATCH V2] tracing: Check f_dentry before accessing event_file/call in inode->i_private

2013-07-17 Thread Oleg Nesterov
On 07/17, Masami Hiramatsu wrote: > > (2013/07/16 3:16), Oleg Nesterov wrote: > > On 07/09, Masami Hiramatsu wrote: > >> > >> To avoid this, when opening events/*/*/enable, we have to ensure > >> the dentry of the file is not unlinked yet, under event_mutex > >> is locked. > > > > Probably this

Re: [RFC PATCH v2 11/15] cpufreq: kirkwood-cpufreq: remove device tree parsing for cpu nodes

2013-07-17 Thread Andrew Lunn
On Wed, Jul 17, 2013 at 03:06:20PM +0100, sudeep.karkadanage...@arm.com wrote: > From: Sudeep KarkadaNagesha > > Now that the cpu device registration initialises the of_node(if available) > appropriately for all the cpus, parsing here is redundant. > > This patch removes all DT parsing and uses

Re: [RFC PATCH v2 01/15] of: add support for retrieving cpu node for a given logical cpu index

2013-07-17 Thread Rob Herring
On 07/17/2013 09:06 AM, sudeep.karkadanage...@arm.com wrote: > From: Sudeep KarkadaNagesha > > Currently different drivers requiring to access cpu device node are > parsing the device tree themselves. Since the ordering in the DT need > not match the logical cpu ordering, the parsing logic needs

Re: [PATCH v2] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-17 Thread Jesse Barnes
On Wed, 17 Jul 2013 10:22:58 +0400 Konstantin Khlebnikov wrote: > This patch fixes regression in power consumtion of sandy bridge gpu, which > exists since v3.6 Sometimes after resuming from s2ram gpu starts thinking that > it's extremely busy. After that it never reaches rc6 state. > > Bug

[PATCH 3/8] cpufreq: cpufreq-cpu0: add dt node parsing on cooling need

2013-07-17 Thread Eduardo Valentin
This patch changes the cpufreq-cpu0 driver to consider if a cpu needs cooling (with cpufreq). In case the cooling is needed, it can be flagged at the cpu0 device tree node, with the boolean property 'needs-cooling'. In case this boolean is present, the driver will load a cpufreq cooling device in

[PATCH 5/9] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
In order to be able to build thermal policies based on generic sensors, like I2C device, that can be places in different points on different boards, there is a need to have a way to feed board dependent data into the thermal framework. This patch introduces a thermal data parser for device tree.

[PATCH 8/9] hwmon: lm75: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
This patch adds to lm75 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the lm75 DT node. Otherwise, the driver

[PATCH 9/9] hwmon: tmp102: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
This patch adds to tmp102 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the tmp102 DT node. Otherwise, the driver

[PATCH 6/8] arm: dts: flag omap4430 with needs-cooling for cpu node

2013-07-17 Thread Eduardo Valentin
OMAP4430 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch adds the flag so that cpufreq-cpu0 driver loads the cooling device to use cpufreq on OMAP4430. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc:

Re: [RFC PATCH 2/4] thermal: introduce device tree parser

2013-07-17 Thread Eduardo Valentin
On 09-07-2013 12:14, R, Durgadoss wrote: > Hi Eduardo, > >> -Original Message- >> From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] >> Sent: Tuesday, July 09, 2013 7:30 PM >> To: linux...@vger.kernel.org; R, Durgadoss; amit.dan...@samsung.com >> Cc: Zhang, Rui; Eduardo Valentin;

[PATCH 1/9] cpufreq: cpufreq-cpu0: add dt node parsing for 'needs-cooling'

2013-07-17 Thread Eduardo Valentin
This patch changes the cpufreq-cpu0 driver to consider if a cpu needs cooling (with cpufreq). In case the cooling is needed, it can be flagged at the cpu0 device tree node, with the boolean property 'needs-cooling'. In case this boolean is present, the driver will load a cpufreq cooling device in

Re: [PATCH 0/9] thermal: introduce DT thermal zone build

2013-07-17 Thread Eduardo Valentin
Hi, On 17-07-2013 11:02, Eduardo Valentin wrote: > Hello all, > Looks like I sent duplicated series. Please consider the series containing 9 patches. I will resend with proper set. > As you noticed, I am working in a way to represent thermal data > using device tree [1]. Essentially, this

[PATCH] KVM: PPC: Book3S PR: return appropriate error when allocation fails

2013-07-17 Thread Thadeu Lima de Souza Cascardo
err was overwritten by a previous function call, and checked to be 0. If the following page allocation fails, 0 is going to be returned instead of -ENOMEM. Signed-off-by: Thadeu Lima de Souza Cascardo --- arch/powerpc/kvm/book3s_pr.c |5 +++-- 1 files changed, 3 insertions(+), 2

[PATCH v2 14/42] ARM: at91: move at91sam9260 SoC to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
This patch removes all references to the old at91 clks implementation and make use of the new at91 clk implem for at91sam9260 SoC. All dt specific lookups are removed (handled in clk device tree binding). Signed-off-by: Boris BREZILLON --- arch/arm/mach-at91/at91sam9260.c | 687

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 9:40 AM, Sarah Sharp wrote: > On Wed, Jul 17, 2013 at 09:01:02AM -0500, Felipe Contreras wrote: >> I know you think "being nice" is better, but do you actually have any >> evidence for this, or is it just wishful thinking? If you don't have >> hard evidence, then I'd say

[PATCH 8/8] hwmon: tmp102: expose to thermal fw via DT nodes

2013-07-17 Thread Eduardo Valentin
This patch adds to tmp102 temperature sensor the possibility to expose itself as thermal zone device, registered on the thermal framework. The thermal zone is built only if a device tree node describing a thermal zone for this sensor is present inside the tmp102 DT node. Otherwise, the driver

[PATCH 4/8] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-07-17 Thread Eduardo Valentin
This patch improves the ti-soc-thermal driver by adding the support to build the thermal zones based on DT nodes. The driver will have two options now to build the thermal zones. The first option is the zones originally coded in this driver. So, the driver behavior will be same if there is no DT

Re: configurable partial slab support on UP

2013-07-17 Thread Christoph Lameter
On Wed, 17 Jul 2013, Pekka Enberg wrote: > > while doing make oldconfig on an !SMP config using 3.11-rc1 I was asked > > if I want CONFIG_SLUB_CPU_PARTIAL. AFAICT this setting only affects SMP > > machines? If so I suggest to make the choice depend on SMP and treat the > > !SMP case as

[PATCH 1/8] thermal: thermal_core: allow binding with limits on bind_params

2013-07-17 Thread Eduardo Valentin
When registering a thermal zone device using platform information via bind_params, the thermal framework will always perform the cdev binding using the lowest and highest limits (THERMAL_NO_LIMIT). This patch changes the data structures so that it is possible to inform what are the desired limits

[PATCH 7/9] arm: dts: add omap4430 thermal data

2013-07-17 Thread Eduardo Valentin
This patch changes the dtsi entry on omap4430 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc: linux-o...@vger.kernel.org Cc:

[PATCH 6/9] thermal: ti-soc-thermal: use thermal DT infrastructure

2013-07-17 Thread Eduardo Valentin
This patch improves the ti-soc-thermal driver by adding the support to build the thermal zones based on DT nodes. The driver will have two options now to build the thermal zones. The first option is the zones originally coded in this driver. So, the driver behavior will be same if there is no DT

[PATCH 2/9] thermal: hwmon: move hwmon support to single file

2013-07-17 Thread Eduardo Valentin
In order to improve code organization, this patch moves the hwmon sysfs support to a file named thermal_hwmon. This helps to add extra support for hwmon without scrambling the code. In order to do this move, the hwmon list head is now using its own locking. Before, the list used the global

[PATCH 0/9] thermal: introduce DT thermal zone build

2013-07-17 Thread Eduardo Valentin
Hello all, As you noticed, I am working in a way to represent thermal data using device tree [1]. Essentially, this should be a way to say what to do with a sensor and how to associate (cooling) actions with it. The motivation to create such infrastructure is: (i) - to reuse the existing

[PATCH 5/8] arm: dts: add omap4430 thermal data

2013-07-17 Thread Eduardo Valentin
This patch changes the dtsi entry on omap4430 to contain the thermal data. This data will enable the passive cooling with CPUfreq cooling device at 100C and the system will do a thermal shutdown at 125C. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc: linux-o...@vger.kernel.org Cc:

Re: [PATCH] Route kbd LEDs through the generic LEDs layer

2013-07-17 Thread David Herrmann
Hi On Mon, Jul 15, 2013 at 9:08 PM, Samuel Thibault wrote: > Hello, > > David Herrmann, le Mon 15 Jul 2013 17:03:08 +0200, a écrit : >> > @@ -13,6 +13,10 @@ >> > bool "Virtual terminal" if EXPERT >> > depends on !S390 && !UML >> > select INPUT >> > + select NEW_LEDS

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Kurt H Maier
On Wed, Jul 17, 2013 at 07:40:43AM -0700, Sarah Sharp wrote: > > The result: 75% of their developers are women. If you give a flying > fuck about diversity, and want to attract women to your open source > project, your developers need to be civil, and not verbally abuse each > other. > I

[PATCH] slub: don't use cpu partial pages on UP

2013-07-17 Thread Uwe Kleine-König
cpu partial pages are used to avoid contention which does not exist in the UP case. So let SLUB_CPU_PARTIAL depend on SMP. Signed-off-by: Uwe Kleine-König --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 247084b..63c67de

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Steven Rostedt
On Wed, 2013-07-17 at 08:02 -0700, Sarah Sharp wrote: > Are you volunteering to be a mentor for the FOSS Outreach Program for > Women? ;) I will happily take more mentors for the next round in > November! If you have someone interested in Real Time OS development. Sure! -- Steve -- To

Re: [ATTEND] How to act on LKML

2013-07-17 Thread Anca Emanuel
Sarah Sharp: ok, the obvious: there are trolls, and some of them got to you. They are and will try to make you a troll also. ( the evil come to you with "good" intentions ) My advice: stick to technical problems. You are used to start an flamewar. On Wed, Jul 17, 2013 at 5:40 PM, Sarah Sharp

[PATCH 4/9] arm: dts: flag omap4430 with needs-cooling for cpu node

2013-07-17 Thread Eduardo Valentin
OMAP4430 devices can reach high temperatures and thus needs to have cpufreq-cooling on systems running on it. This patch adds the flag so that cpufreq-cpu0 driver loads the cooling device to use cpufreq on OMAP4430. Cc: "Benoît Cousson" Cc: Tony Lindgren Cc: Russell King Cc:

Re: [PATCH] arm: choose debug/uncompress.h include when uncompress debug is disabled

2013-07-17 Thread Russell King - ARM Linux
On Wed, Jul 17, 2013 at 02:25:38PM +0100, Stefano Stabellini wrote: > On Mon, 15 Jul 2013, Julien Grall wrote: > > Even if uncompress debug is disabled, some board will continue to print > > information during uncompress step. > > Are you talking about DEBUG_UNCOMPRESS? > Should I read the

<    8   9   10   11   12   13   14   15   16   17   >