Re: New tree for linux-next

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 11:47 PM, Stephen Rothwell wrote: > Hi Alexandre, > > On Wed, 20 Mar 2013 23:02:14 +0900 Alexandre Courbot wrote: >> >> I am currently trying to get rid of the GENERIC_GPIO config option in >> order to center GPIO support around gpiolib. The patch series has been >>

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-20 Thread Josh Boyer
On Wed, Mar 20, 2013 at 06:53:55AM -0700, Boris Ostrovsky wrote: > > - jwbo...@redhat.com wrote: > > > On Wed, Mar 13, 2013 at 09:25:44AM -0400, Boris Ostrovsky wrote: > > > On 03/01/2013 07:14 AM, Josh Boyer wrote: > > > >On Thu, Feb 28, 2013 at 04:52:20PM -0800, H. Peter Anvin wrote: > > >

[PATCH 3/4] ARM: context tracking: handle post exception/syscall/IRQ work

2013-03-20 Thread Kevin Hilman
do_work_pending() may be called on IRQ, exception or syscall exit (for reschedule, signal handling, etc.) , but user_enter() may have already been called (e.g. by syscall return path.) Since do_work_pending() is still in kernel mode, keep context_tracker up to date by using user_exit/user_enter.

[PATCH 2/4] ARM: context tracking: instrument system calls

2013-03-20 Thread Kevin Hilman
When context tracking (TIF_NOHZ), force the syscall slow path by adding _TIF_NOHZ to _TIF_SYSCALL_WORK. Use the syscall trace enter/exit paths to do the context tracking. This corresponds to commit bf5a3c13 (x86: Syscall hooks for userspace RCU extended QS.) Also cover the special case in

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Simon Jeons
Hi Naoya, On 03/21/2013 05:59 AM, Naoya Horiguchi wrote: > On Wed, Mar 20, 2013 at 08:31:06AM +0800, Simon Jeons wrote: > ... > diff --git v3.8.orig/mm/mempolicy.c v3.8/mm/mempolicy.c > index e2df1c1..8627135 100644 > --- v3.8.orig/mm/mempolicy.c > +++ v3.8/mm/mempolicy.c > @@

[PATCH 4/4] ARM: Kconfig: allow context tracking

2013-03-20 Thread Kevin Hilman
Signed-off-by: Kevin Hilman --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9473d55..4028fb2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -60,6 +60,7 @@ config ARM select OLD_SIGSUSPEND3 select

[PATCH 1/4] ARM: context tracking: add exception support

2013-03-20 Thread Kevin Hilman
Add ARM support for the context tracking subsystem by instrumenting exception entry/exit points. Special thanks to Mats Liljegren for testing, collaboration and adding support for exceptions/faults that were missing in early test versions. Cc: Mats Liljegren Signed-off-by: Kevin Hilman ---

Re: [PATCH] cpufreq/intel_pstate: Add function to check that all MSR's are valid

2013-03-20 Thread Rafael J. Wysocki
On Wednesday, March 20, 2013 11:28:49 AM Dirk Brandewie wrote: > On 03/20/2013 11:28 AM, Rafael J. Wysocki wrote: > > On Wednesday, March 20, 2013 09:17:24 AM dirk.brande...@gmail.com wrote: > >> From: Dirk Brandewie > >> > >> Some VMs seem to try to implement some MSRs but not all the registers

Re: [PATCH] KVM: allow host header to be included even for !CONFIG_KVM

2013-03-20 Thread Scott Wood
On 03/14/2013 07:13:46 PM, Kevin Hilman wrote: The new context tracking subsystem unconditionally includes kvm_host.h headers for the guest enter/exit macros. This causes a compile failure when KVM is not enabled. Fix by adding an IS_ENABLED(CONFIG_KVM) check to kvm_host so it can be

Re: [PATCH] Remove acpi_memory_info->failed bit

2013-03-20 Thread Yasuaki Ishimatsu
Hi Toshi, 2013/03/20 0:03, Toshi Kani wrote: On Mon, 2013-03-18 at 11:19 +0900, Yasuaki Ishimatsu wrote: Hi Toshi, Sorry for the late reply 2013/03/13 23:50, Toshi Kani wrote: On Wed, 2013-03-13 at 15:54 +0900, Yasuaki Ishimatsu wrote: At http://marc.info/?l=linux-acpi=135769405622667=2

RFC v2: Zynq Clock Controller

2013-03-20 Thread Sören Brinkmann
Hi, I spent some time working on this and incorporating feedback. Here's an updated proposal for a clock controller for Zynq: Required properties: - #clock-cells : Must be 1 - compatible : "xlnx,ps7-clkc" (this may become 'xlnx,zynq-clkc' terminology differs a bit between Xilinx internal

Re: [PATCH] nohz1: Documentation

2013-03-20 Thread Paul E. McKenney
On Wed, Mar 20, 2013 at 07:32:18PM -0400, Steven Rostedt wrote: > On Mon, 2013-03-18 at 15:25 -0700, Paul E. McKenney wrote: > > > > > > > NO_HZ: Reducing Scheduling-Clock Ticks > > > > > > This document

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-03-20 Thread Simon Jeons
Hi Naoya, On 03/21/2013 06:05 AM, Naoya Horiguchi wrote: > On Wed, Mar 20, 2013 at 09:03:20AM +0800, Simon Jeons wrote: >> Hi Naoya, >> On 02/22/2013 03:41 AM, Naoya Horiguchi wrote: >>> Currently we can't offline memory blocks which contain hugepages because >>> a hugepage is considered as an

Re: [RFC][PATCH 0/9] extend hugepage migration

2013-03-20 Thread Simon Jeons
Hi Naoya, On 03/21/2013 05:35 AM, Naoya Horiguchi wrote: > On Wed, Mar 20, 2013 at 07:43:44AM +0800, Simon Jeons wrote: > ... >>> Easy patch access: >>> g...@github.com:Naoya-Horiguchi/linux.git >>> branch:extend_hugepage_migration >>> >>> Test code: >>>

Re: New tree for linux-next

2013-03-20 Thread Stephen Rothwell
Hi Alexandre, On Wed, 20 Mar 2013 23:02:14 +0900 Alexandre Courbot wrote: > > I am currently trying to get rid of the GENERIC_GPIO config option in > order to center GPIO support around gpiolib. The patch series has been > rather welcome and I collected a few acks, but since the change is >

Re: [PATCH] dummy-irq: introduce a dummy IRQ handler driver (was Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-r

2013-03-20 Thread Greg KH
On Thu, Mar 21, 2013 at 12:21:21AM +0100, Jiri Kosina wrote: > On Wed, 20 Mar 2013, Alan Stern wrote: > > > > Ok, so how about this? > > > Daniel, is it enough to make the problem appear on your system (by > > > building this into the kernel and booting with dummy-irq.irq=16)? > > > > > >

Re: [PATCH 1/9] migrate: add migrate_entry_wait_huge()

2013-03-20 Thread Simon Jeons
Hi Naoya, On 03/21/2013 05:53 AM, Naoya Horiguchi wrote: > On Wed, Mar 20, 2013 at 07:57:32AM +0800, Simon Jeons wrote: >> Hi Naoya, >> On 02/22/2013 03:41 AM, Naoya Horiguchi wrote: >>> When we have a page fault for the address which is backed by a hugepage >>> under migration, the kernel can't

[PATCH 2/3] init/Kconfig: virt CPU accounting: drop 64-bit requirment

2013-03-20 Thread Kevin Hilman
The 64-bit requirement can be removed after the conversion of the conversion of the nsec granularity cputime to work on !64_BIT Cc: Frederic Weisbecker Signed-off-by: Kevin Hilman --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig

[PATCH 3/3] ARM: Kconfig: allow virt CPU accounting

2013-03-20 Thread Kevin Hilman
With the 64-bit requirement removed from virt CPU accounting, allow ARM platforms to enable it. Signed-off-by: Kevin Hilman --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 5b71469..9473d55 100644 --- a/arch/arm/Kconfig +++

[PATCH 0/3] ARM: context tracking support prerequisites

2013-03-20 Thread Kevin Hilman
This series is a set of prerequistes for getting the new context tracking subsystem, and adaptive tickless support working on ARM. Kevin Hilman (3): cputime_nsecs: use math64.h for nsec resolution conversion helpers init/Kconfig: virt CPU accounting: drop 64-bit requirment ARM: Kconfig:

[PATCH 1/3] cputime_nsecs: use math64.h for nsec resolution conversion helpers

2013-03-20 Thread Kevin Hilman
For the nsec resolution conversions to be useable on non 64-bit architectures, the helpers in need to be used so the right arch-specific 64-bit math helpers can be used (e.g. do_div()) Cc: Frederic Weisbecker Signed-off-by: Kevin Hilman --- include/asm-generic/cputime_nsecs.h | 28

Re: [PATCH] nohz1: Documentation

2013-03-20 Thread Steven Rostedt
On Mon, 2013-03-18 at 15:25 -0700, Paul E. McKenney wrote: > > > NO_HZ: Reducing Scheduling-Clock Ticks > > > This document covers Kconfig options and boot parameters used to reduce > the number of

Re: [PATCH] x86/mce: Rework cmci_rediscover() to play well with CPU hotplug

2013-03-20 Thread Tony Luck
Looks lots cleaner. Applied on top of 3.9.rc3 and took it for a spin offlining and onlining cpus at random intervals. First time round I saw a few splats like the one below. But after a reboot I can no longer reproduce. -Tony INFO: task devkit-power-da:19861 blocked for more than 120 seconds.

Re: [GIT PULL] Load keys from signed PE binaries

2013-03-20 Thread Stephen Rothwell
Hi David, On Wed, 20 Mar 2013 16:52:39 + David Howells wrote: > > David Howells wrote: > > > Stephen Rothwell wrote: > > > > > David, if I do remove it, are there other patches in your pekey tree that > > > are still going forward? > > > > No. > > Well, maybe. But feel free to drop it

BUG: ipheth - NETDEV WATCHDOG: eth1 (ipheth): transmit queue 0 timed out

2013-03-20 Thread Joerg Mayer
Hello, ipheth does not work for me at all with iPhone5 and iOS 6. Setup: Thinkpad T60 (32 bit) with openSUSE 12.1 (with current kernel repo) iPhone5 with iOS 6.1.2 USB-Cable between laptop and iphone In the moment I enable Hotspot with USB-cable connected to phone and laptop, I get the

Re: [PATCH 30/33] sched: Debug nohz rq clock

2013-03-20 Thread Kevin Hilman
Hi Frederic, On 01/07/2013 06:08 PM, Frederic Weisbecker wrote: > The runqueue clock is supposed to be periodically updated by the > tick. On full dynticks CPU we call update_nohz_rq_clock() before > reading it. Now the scheduler code is complicated enough that we > may miss some

[PATCH] dummy-irq: introduce a dummy IRQ handler driver (was Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-rc1]

2013-03-20 Thread Jiri Kosina
On Wed, 20 Mar 2013, Alan Stern wrote: > > Ok, so how about this? > > Daniel, is it enough to make the problem appear on your system (by > > building this into the kernel and booting with dummy-irq.irq=16)? > > > > Thanks. > > > > From: Jiri Kosina > > Subject: [PATCH] dummy-irq: introduce a

Re: [PATCH] x86: correctly initialize the CS base on reset

2013-03-20 Thread Marcelo Tosatti
On Tue, Mar 19, 2013 at 04:30:26PM +0100, Paolo Bonzini wrote: > The CS base was initialized to 0 on VMX (wrong, but usually overridden > by userspace before starting) or 0xf on SVM. The correct value is > 0x, and VMX is able to emulate it now, so use it. > > Signed-off-by: Paolo

Re: [PATCH V2 02/02] MIPS: Init new mmu_context for each possible CPU to avoid memory corruption

2013-03-20 Thread David Daney
On 03/17/2013 05:50 AM, Huacai Chen wrote: Currently, init_new_context() only for each online CPU, this may cause memory corruption when CPU hotplug and fork() happens at the same time. To avoid this, we make init_new_context() cover each possible CPU. Scenario: 1, CPU#1 is being offline; 2, On

Re: [PATCH V2 01/02] MIPS: Build uasm-generated code only once to avoid CPU Hotplug problem

2013-03-20 Thread David Daney
On 03/17/2013 05:49 AM, Huacai Chen wrote: This and the next patch resolve memory corruption problems while CPU hotplug. Without these patches, memory corruption can triggered easily as below: On a quad-core MIPS platform, use "spawn" of UnixBench-5.1.3 (http://

Re: gm45 intel gfx can generate non-MSI irq# in MSI mode (was Re: [PATCH] drm/i915: stop using GMBUS IRQs on Gen4 chips (was Re: [3.9-rc1] irq 16: nobody cared (was [3.9-rc1] very poor interrupt respo

2013-03-20 Thread Jiri Kosina
On Tue, 19 Mar 2013, Yinghai Lu wrote: > > I guess I should have phrased it more precisely, but that's exactly > > what I expect is happening on my machine: I don't have anything on > > irq16 (i.e. in non-msi mode the gfx interrupt isn't shared) and hence > > the irq is completely disabled. Which

[PATCH] regmap: don't corrupt work buffer in _regmap_raw_write()

2013-03-20 Thread Stephen Warren
From: Stephen Warren _regmap_raw_write() contains code to call regcache_write() to write values to the cache. That code calls memcpy() to copy the value data to the start of the work_buf. However, at least when _regmap_raw_write() is called from _regmap_bus_raw_write(), the value data is in the

Re: [PATCH] tracepoints: prevents null probe from being added

2013-03-20 Thread Steven Rostedt
On Wed, 2013-03-20 at 14:01 -0400, Mathieu Desnoyers wrote: > * Steven Rostedt (rost...@goodmis.org) wrote: > > On Wed, 2013-03-20 at 12:18 +0900, kpark3...@gmail.com wrote: > > > From: Sahara > > > > > > Somehow tracepoint_entry_add/remove_probe functions allow a null probe > > > function. > >

[PATCH 02/11] ARM: remove extra timer-sp control register clearing

2013-03-20 Thread Rob Herring
From: Rob Herring The timer-sp initialization code clears the control register before initializing the timers, so every platform doing this is redundant. For unused timers, we should not care what state they are in. Signed-off-by: Rob Herring --- arch/arm/mach-integrator/integrator_ap.c |

[PATCH 03/11] ARM: timer-sp: convert to use CLKSRC_OF init

2013-03-20 Thread Rob Herring
From: Rob Herring This adds CLKSRC_OF based init for sp804 timer. The clock initialization is refactored to support retrieving the clock(s) from the DT. Signed-off-by: Rob Herring --- arch/arm/Kconfig |1 + arch/arm/common/timer-sp.c | 98

Re: [PATCH] CodingStyle: Add tab indentation avoidance tips

2013-03-20 Thread Joe Perches
On Wed, 2013-03-20 at 16:52 +, Al Viro wrote: > On Wed, Mar 20, 2013 at 09:26:54AM -0700, Joe Perches wrote: > > Add Al's comments in from https://lkml.org/lkml/2013/3/20/345 > > > +Tip 7: > > +Code flow is down, not across... > > That one is a lovely improvement on what I actually said.

[PATCH 00/11] sp804 and integrator timer CLKSRC_OF support

2013-03-20 Thread Rob Herring
From: Rob Herring This series add device-tree support using CLKSRC_OF for initialization of integrator ap and cp timers and sp804 timers. The timer code for all of these is moved to drivers/clocksource. The common DT based initialization of sp804 is supported on highbank, versatile-ab and

[PATCH 06/11] ARM: dts: vexpress: disable CA9 core tile sp804 timer

2013-03-20 Thread Rob Herring
From: Rob Herring The motherboard sp804 timer is used, but core tile sp804 timer is not. According to Russell King, the clock configuration is undocumented and defaults to 32kHz which is not desireable. So mark core tile sp804 timer as disabled. Signed-off-by: Rob Herring ---

[PATCH 05/11] ARM: vexpress: remove sp804 OF init

2013-03-20 Thread Rob Herring
From: Rob Herring Remove the vexpress specific setup for the sp804 timer now that clocksource_of_init will do it. Signed-off-by: Rob Herring --- arch/arm/mach-vexpress/v2m.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/arm/mach-vexpress/v2m.c

[PATCH 07/11] ARM: versatile: add versatile dtbs to dtbs target

2013-03-20 Thread Rob Herring
From: Rob Herring Add the versatile platform dtbs to the dtbs make rule. Signed-off-by: Rob Herring --- arch/arm/boot/dts/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9c62558..08d298d 100644 ---

[PATCH 09/11] ARM: integrator-cp: convert use CLKSRC_OF for timer init

2013-03-20 Thread Rob Herring
From: Rob Herring Move the integrator-cp timer init to timer-sp.c and use CLKSRC_OF. There is no reason to use the aliases, so drop them from the init code. The integrator-cp timers are mistakenly called sp804 timers in the dts, but in fact they are not sp804 dual timers, but single timers with

[PATCH 08/11] ARM: versatile: use OF init for sp804 timer

2013-03-20 Thread Rob Herring
From: Rob Herring Enable DT based init for the sp804 timers on versatile DT platform. Signed-off-by: Rob Herring --- arch/arm/boot/dts/versatile-ab.dts | 12 arch/arm/mach-versatile/core.c | 26 +- arch/arm/mach-versatile/versatile_dt.c |

[PATCH 04/11] ARM: highbank: use OF init for sp804 timer

2013-03-20 Thread Rob Herring
From: Rob Herring Remove the highbank specific setup for the sp804 timer now that clocksource_of_init will do it. Signed-off-by: Rob Herring --- arch/arm/mach-highbank/highbank.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/arch/arm/mach-highbank/highbank.c

[PATCH 11/11] devtree: add binding documentation for sp804

2013-03-20 Thread Rob Herring
From: Haojian Zhuang The sp804 binding is already in use by several platforms. This adds missing documentation for the binding and also extends the binding to handle some additional possible interrupt configurations. Signed-off-by: Haojian Zhuang Signed-off-by: Rob Herring ---

[PATCH 10/11] ARM: move sp804 and integrator timers to drivers/clocksource

2013-03-20 Thread Rob Herring
From: Rob Herring Move timer-sp and integrator-ap timer code to drivers/clocksource and update timer-sp.h and arm_timer.h includes. This adds CLKSRC_OF support for the integrator-ap timer and removes the use of "arm,timer-primary" and "arm,timer-secondary" aliases. The timer selection should

[PATCH 01/11] OF: add empty of_device_is_available for !OF

2013-03-20 Thread Rob Herring
From: Rob Herring Add an empty version of of_device_is_available. Signed-off-by: Rob Herring --- include/linux/of.h |5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index a0f1292..6fe655b 100644 --- a/include/linux/of.h +++

Re: [PATCH] sound: max98090: Remove executable bit

2013-03-20 Thread Joe Perches
On Wed, 2013-03-20 at 17:36 +0100, Mark Brown wrote: > On Wed, Mar 20, 2013 at 08:22:16AM -0700, Joe Perches wrote: > > On Wed, 2013-03-20 at 10:57 +0100, Mark Brown wrote: > > > > I've applied this but I'm fed up to the back teeth of having to hand > > > edit trivial patches from you because you

Re: [PATCH 0/9] Add blockconsole version 1.1 (try 2)

2013-03-20 Thread Borislav Petkov
Hi Andrew, On Thu, Feb 28, 2013 at 04:39:53PM -0500, Joern Engel wrote: > Blockconsole is a console driver very roughly similar to netconsole. > Instead of sending messages out via UDP, they are written to a block > device. Typically a USB stick is chosen, although in principle any > block

[char-misc-next 03/11 V4] mei: bus: Initial implementation for I/O routines

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 226 + drivers/misc/mei/mei_dev.h | 30 ++ include/linux/mei_cl_bus.h | 11 +++ 3 files changed, 267 insertions(+) diff --git

[char-misc-next 07/11 V4] mei: bus: Implement bus driver data setter/getter

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz MEI drivers should be able to carry their private data around. Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 12 include/linux/mei_cl_bus.h | 3 +++ 2 files changed, 15 insertions(+) diff --git

Re: Linux 3.8.4

2013-03-20 Thread Sebastian Gottschall
consider that this kernel is not compileable on mips targets due the patch in kernel/signal.c SA_RESTORER is defined in mips, but sa_restorer does not exist on that platform Am 20.03.2013 21:15, schrieb Greg KH: I'm announcing the release of the 3.8.4 kernel. All users of the 3.8 kernel

[char-misc-next 02/11 V4] mei: bus: Implement driver registration

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 26 ++ include/linux/mei_cl_bus.h | 7 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index

[char-misc-next 09/11 V4] mei: nfc: Connect also the regular ME client

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz After receiving the NFC interface version, IVN and radio type, we can connect to the the actual nfc ME client and send the initialization (nfc connect) message. Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/nfc.c | 128

[char-misc-next 08/11 V4] mei: nfc: Initial nfc implementation

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz NFC ME device is exported through the MEI bus to be consumed by the NFC subsystem. NFC is represented by two mei clients: An info one and the actual NFC one. In order to properly build the ME id we first need to retrieve the firmware information from the info client.

[char-misc-next 05/11 V4] mei: bus: Call bus routines from the core code

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz Register the MEI bus type against the kernel core bus APIs and call the bus Rx handler from interrupt.c Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 22 ++ drivers/misc/mei/interrupt.c | 2 ++

[char-misc-next 10/11 V4] mei: nfc: Add NFC device to the MEI bus

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz After building its bus name as a string based on its vendor id and radio type, we can add it to the bus. Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/nfc.c | 55 ++ drivers/misc/mei/nfc.h | 6

[char-misc-next 04/11 V4] mei: bus: Add bus related structures to mei_cl

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz We keep track of all MEI devices on the bus through a specific linked list. We also have a mei_device instance in the mei_cl structure. Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 48

[char-misc-next 11/11 V4] mei: nfc: Implement MEI bus IO ops

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz The send ops for NFC builds the command header, updates the request id and then waits for an ACK. The recv ops check if it receives data or an ACK and in the latter case wakes the send ops up. Signed-off-by: Samuel Ortiz Signed-off-by: Tomas Winkler ---

[char-misc-next 06/11 V4] mei: bus: Synchronous API for the data transmission

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz Define a truly synchronous API for the bus Tx path by putting all pending request to the write list and wait for the interrupt tx handler to wake us up. The ___mei_cl_send() out path is also slightly reworked to make it look more like main.c:mei_write(). Signed-off-by: Samuel

[char-misc-next 00/11 V4] Add Client MEI bus and NFC device

2013-03-20 Thread Tomas Winkler
This is take 4 on the MEI bus + NFC device patches This patch set adds implementation of MEI CLIENT BUS abstraction over MEI device, this allows standard Linux device drivers to access functionality exposed by MEI device clients that was previously available only to the user space through

[char-misc-next 01/11 V4] mei: bus: Initial MEI Client bus type implementation

2013-03-20 Thread Tomas Winkler
From: Samuel Ortiz mei cleint bus will present some of the me clients as devices for other standard subsystems Implement the probe, remove, match and the device addtion routines. A mei-cleint-bus.txt document describing the rationale and the API usage is also added. Signed-off-by: Samuel Ortiz

Re: Linux 3.0.70

2013-03-20 Thread Shuah Khan
On Wed, Mar 20, 2013 at 4:04 PM, Andrew Collins wrote: > Kees Cook (1): > signal: always clear sa_restorer on execve > > This commit seems to cause the following build breakage on MIPS in 3.0.70: > > kernel/signal.c: In function 'flush_signal_handlers': > kernel/signal.c:441:9: error:

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-03-20 Thread Sylwester Nawrocki
Hi Kishon, On 03/20/2013 10:12 AM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using

[PATCH] ARM: convert arm/arm64 arch timer to use CLKSRC_OF init

2013-03-20 Thread Rob Herring
From: Rob Herring This converts arm and arm64 to use CLKSRC_OF DT based initialization for the arch timer. A new function arch_timer_arch_init is added to allow for arch specific setup. This has a side effect of enabling sched_clock on omap5 and exynos5. There should not be any reason not to

Re: [PATCH 1/2] regmap: core: Split out in place value parsing

2013-03-20 Thread Stephen Warren
On 03/20/2013 04:19 PM, Stephen Warren wrote: > On 03/19/2013 10:50 AM, Mark Brown wrote: >> On Mon, Mar 18, 2013 at 05:41:49PM -0600, Stephen Warren wrote: >> >>> It took a very quick look at the patch and couldn't see anything >>> actively wrong. I wonder if one of the existing unconverted

Re: [patch] mm: speedup in __early_pfn_to_nid

2013-03-20 Thread Andrew Morton
On Mon, 18 Mar 2013 10:56:19 -0500 Russ Anderson wrote: > When booting on a large memory system, the kernel spends > considerable time in memmap_init_zone() setting up memory zones. > Analysis shows significant time spent in __early_pfn_to_nid(). > > The routine memmap_init_zone() checks each

RE: Question about make_request_fn based block drivers

2013-03-20 Thread Chayan Biswas
Hi Steve, > > I am going to push the changes to github. > > Great! > > Didn't I ask you before if the nvme drive and the sop drive were the same > size? ;-) [CB] Right! But the value returned by the FW was same, and the utilities round that off to 400GB in both cases. So to me it was the same

Re: [ 12/75] USB: EHCI: work around silicon bug in Intels EHCI controllers

2013-03-20 Thread Greg Kroah-Hartman
On Wed, Mar 20, 2013 at 04:41:21PM -0400, Alan Stern wrote: > On Wed, 20 Mar 2013, Greg Kroah-Hartman wrote: > > > > > Ok, I'll postpone this patch for the next stable release, in time for > > > > the fix to be put in at the same time. > > > > > > I think patch 13/75 ("USB: EHCI: dont check DMA

Re: Question about make_request_fn based block drivers

2013-03-20 Thread scameron
On Wed, Mar 20, 2013 at 10:01:19PM +, Chayan Biswas wrote: > Got it! It is fixed now!! > > Just one line fix, like last time. The drive capacity is 1 more than the > value returned by READ_CAPACITY. Since the value we were setting was not a > multiple of 4K, all the I/O were coming in the

Re: [PATCH 1/2] regmap: core: Split out in place value parsing

2013-03-20 Thread Stephen Warren
On 03/19/2013 10:50 AM, Mark Brown wrote: > On Mon, Mar 18, 2013 at 05:41:49PM -0600, Stephen Warren wrote: > >> It took a very quick look at the patch and couldn't see anything >> actively wrong. I wonder if one of the existing unconverted users >> of .parse_val() relies on the in-place

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-20 Thread Jan Kara
On Wed 20-03-13 21:48:13, Al Viro wrote: > On Wed, Mar 20, 2013 at 08:52:22PM +0100, Jan Kara wrote: > > > do_bio_filebacked(), with some ugliness between that and callsite. Note, > > > BTW, that we have a pair of possible vfs_fsync() calls in there; how do > > > those > > > interact with

RE: Question about make_request_fn based block drivers

2013-03-20 Thread Chayan Biswas
Got it! It is fixed now!! Just one line fix, like last time. The drive capacity is 1 more than the value returned by READ_CAPACITY. Since the value we were setting was not a multiple of 4K, all the I/O were coming in the lowest accessible size of 512 bytes. Sumant gave me the idea to explore

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

2013-03-20 Thread Tejun Heo
On Wed, Mar 20, 2013 at 3:09 PM, Stephen Rothwell wrote: > There has been no change to the cgroup tree > (git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git#for-next). > Forgot to push? Yeah, I'm on a roll today. My apologies. Just pushed out. Thanks. -- tejun -- To unsubscribe from

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

2013-03-20 Thread Stephen Rothwell
Hi Tejun, On Wed, 20 Mar 2013 07:51:35 -0700 Tejun Heo wrote: > > On Wed, Mar 20, 2013 at 03:43:28PM +1100, Stephen Rothwell wrote: > > It has returned today. Please be more careful. > > > > In file included from include/linux/memcontrol.h:22:0, > > from

Re: [PATCH 8/9] memory-hotplug: enable memory hotplug to handle hugepage

2013-03-20 Thread Naoya Horiguchi
On Wed, Mar 20, 2013 at 09:03:20AM +0800, Simon Jeons wrote: > Hi Naoya, > On 02/22/2013 03:41 AM, Naoya Horiguchi wrote: > >Currently we can't offline memory blocks which contain hugepages because > >a hugepage is considered as an unmovable page. But now with this patch > >series, a hugepage has

Re: linux-next: build failure after merge of the final tree (gpio tree relatred)

2013-03-20 Thread Stephen Rothwell
Hi Grant, On Wed, 20 Mar 2013 15:57:01 + Grant Likely wrote: > > On Wed, Mar 20, 2013 at 3:25 PM, Stephen Rothwell > wrote: > > > > On Wed, 6 Mar 2013 09:10:42 +0800 Grant Likely > > wrote: > >> > >> On Wed, Mar 6, 2013 at 8:44 AM, Stephen Rothwell > >> wrote: > >> > Caused by commit

Re: Linux 3.0.70

2013-03-20 Thread Andrew Collins
Kees Cook (1): signal: always clear sa_restorer on execve This commit seems to cause the following build breakage on MIPS in 3.0.70: kernel/signal.c: In function 'flush_signal_handlers': kernel/signal.c:441:9: error: 'struct sigaction' has no member named 'sa_restorer' make[3]: ***

Re: [PATCH} mm: Merging memory blocks resets mempolicy

2013-03-20 Thread Andrew Morton
On Mon, 18 Mar 2013 06:13:42 + "Hampson, Steven T" wrote: > Using mbind to change the mempolicy to MPOL_BIND on several adjacent > mmapped blocks > may result in a reset of the mempolicy to MPOL_DEFAULT in vma_adjust. > > ... > > --- a/mm/mmap.c > +++ b/mm/mmap.c > @@ -820,7 +820,7 @@

Re: [PATCH 5/9] migrate: enable migrate_pages() to migrate hugepage

2013-03-20 Thread Naoya Horiguchi
On Wed, Mar 20, 2013 at 08:31:06AM +0800, Simon Jeons wrote: ... > >>> diff --git v3.8.orig/mm/mempolicy.c v3.8/mm/mempolicy.c > >>> index e2df1c1..8627135 100644 > >>> --- v3.8.orig/mm/mempolicy.c > >>> +++ v3.8/mm/mempolicy.c > >>> @@ -525,6 +525,27 @@ static int check_pte_range(struct

Question about make_request_fn based block drivers

2013-03-20 Thread scameron
When running mke2fs against the make_request_fn based block driver I'm working on, I'm seeing only single-block bios. Other such drivers (e.g. nvme) are getting, for example, 4k bios coming in from the same mke2fs command. mke2fs /dev/sop0 This is on a 3.9-rc1 kernel. I've tried setting:

Re: [PATCH 1/9] migrate: add migrate_entry_wait_huge()

2013-03-20 Thread Naoya Horiguchi
On Wed, Mar 20, 2013 at 07:57:32AM +0800, Simon Jeons wrote: > Hi Naoya, > On 02/22/2013 03:41 AM, Naoya Horiguchi wrote: > >When we have a page fault for the address which is backed by a hugepage > >under migration, the kernel can't wait correctly until the migration > >finishes. This is because

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-20 Thread Andrew Morton
On Fri, 15 Mar 2013 18:37:12 +0100 Nicolas Ferre wrote: > On some revisions of AT91 SoCs, the RTC IMR register is not working. > Instead of elaborating a workaround for that specific SoC or IP version, > we simply use a software variable to store the Interrupt Mask Register and > modify it for

Re: [PATCH 2/9] vfs: export do_splice_direct() to modules

2013-03-20 Thread Al Viro
On Wed, Mar 20, 2013 at 08:52:22PM +0100, Jan Kara wrote: > > do_bio_filebacked(), with some ugliness between that and callsite. Note, > > BTW, that we have a pair of possible vfs_fsync() calls in there; how do > > those > > interact with freeze? > Freezing code takes care that all dirty data

Re: [PATCH] init: fix name of root device in /proc/mounts

2013-03-20 Thread Kay Sievers
On Wed, Mar 20, 2013 at 10:11 PM, William Hubbs wrote: > On Wed, Mar 20, 2013 at 02:03:20AM -0500, Rob Landley wrote: >> On 03/19/2013 07:20:17 PM, William Hubbs wrote: >> > On Tue, Mar 19, 2013 at 04:17:11PM -0700, H. Peter Anvin wrote: >> > > On 03/19/2013 03:28 PM, William Hubbs wrote: >> > >

Re: [PATCH 2/2] of: remove /proc/device-tree

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 2:57 PM, Benjamin Herrenschmidt wrote: > On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: >> The same data is now available in sysfs, so we can remove the code >> that exports it in /proc and replace it with a symlink to the sysfs >> version. >> >> Tested on

Re: [RFC][PATCH 0/9] extend hugepage migration

2013-03-20 Thread Naoya Horiguchi
On Wed, Mar 20, 2013 at 07:43:44AM +0800, Simon Jeons wrote: ... > >Easy patch access: > > g...@github.com:Naoya-Horiguchi/linux.git > > branch:extend_hugepage_migration > > > >Test code: > > g...@github.com:Naoya-Horiguchi/test_hugepage_migration_extension.git > > git clone >

Re: [PATCH 00/13] overlay filesystem: request for inclusion (v16)

2013-03-20 Thread Al Viro
On Wed, Mar 20, 2013 at 03:41:08PM -0400, George Spelvin wrote: > Sorry for being so very late to the party, but rather than messing > with xattrs, why not just have a specific file (say, default /.whiteout, > but selectable via a mount option) and links to it are counted as > whiteout entries? >

Re: [PATCH 1/2] of: Make device nodes kobjects so they show up in sysfs

2013-03-20 Thread Grant Likely
On Wed, Mar 20, 2013 at 2:57 PM, Benjamin Herrenschmidt wrote: > On Wed, 2013-03-20 at 14:51 +, Grant Likely wrote: >> Both of the above problems can be worked around by using >> sysfs_create_bin_file() instead of sysfs_create_file(), but doing so >> adds an additional 20 to 40 bytes of

Re: [PATCH V6 4/5] virtio-scsi: introduce multiqueue support

2013-03-20 Thread Venkatesh Srinivas
On Wed, Mar 20, 2013 at 03:01:23PM +0800, Wanlong Gao wrote: From: Paolo Bonzini This patch adds queue steering to virtio-scsi. When a target is sent multiple requests, we always drive them to the same queue so that FIFO processing order is kept. However, if a target was idle, we can choose

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-20 Thread Matthew Garrett
On Wed, 2013-03-20 at 17:11 -0400, Mimi Zohar wrote: > On Wed, 2013-03-20 at 20:37 +, Matthew Garrett wrote: > > Right, that'd be the rough idea. Any further runtime policy updates > > would presumably need to be signed with a trusted key. > > I'm really sorry to belabor this point, but can

Re: [PATCH] init: fix name of root device in /proc/mounts

2013-03-20 Thread William Hubbs
On Wed, Mar 20, 2013 at 02:03:20AM -0500, Rob Landley wrote: > On 03/19/2013 07:20:17 PM, William Hubbs wrote: > > On Tue, Mar 19, 2013 at 04:17:11PM -0700, H. Peter Anvin wrote: > > > On 03/19/2013 03:28 PM, William Hubbs wrote: > > > > The issue is that /dev/root appears in /proc/mounts if you

Re: [PATCH 01/12] Security: Add CAP_COMPROMISE_KERNEL

2013-03-20 Thread Mimi Zohar
On Wed, 2013-03-20 at 20:37 +, Matthew Garrett wrote: > On Wed, 2013-03-20 at 15:16 -0400, Mimi Zohar wrote: > > On Wed, 2013-03-20 at 18:12 +, Matthew Garrett wrote: > > > Well, in the absence of hardcoded in-kernel policy, there needs to be > > > some mechanism for ensuring the integrity

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-20 Thread Ulf Hansson
On 20 March 2013 15:47, Mike Turquette wrote: > Quoting Bill Huang (2013-03-19 21:39:44) >> On Wed, 2013-03-20 at 11:31 +0800, Mike Turquette wrote: >> > Quoting Bill Huang (2013-03-19 19:55:49) >> > > On Wed, 2013-03-20 at 01:01 +0800, Mike Turquette wrote: >> > > > Quoting Bill Huang

Re: [Intel][RNG] PCI IDs commented out for 82801I (ICH9 Mobile and non-mobile)?

2013-03-20 Thread Bjørn Mork
Shawn Starr writes: > Hello folks, > > I was looking at why I can't load the Intel RNG driver (or why it doesn't > load automatically) and > it just so happens I have both the mobile and non-mobile ICH9 chipset. > Looking at the driver I noticed: > > /* BAM, CAM, DBM, FBM, GxM >{

Re: [PATCH v3 5/6] ARM: dts: omap: update usb_otg_hs data

2013-03-20 Thread Stephen Warren
On 03/20/2013 03:12 AM, Kishon Vijay Abraham I wrote: > Updated the usb_otg_hs dt data to include the *phy* and *phy-names* > binding in order for the driver to use the new generic PHY framework. > Also updated the Documentation to include the binding information. > diff --git

Re: ipc,sem: sysv semaphore scalability

2013-03-20 Thread Davidlohr Bueso
On Wed, 2013-03-20 at 13:49 -0700, Linus Torvalds wrote: > On Wed, Mar 20, 2013 at 12:55 PM, Rik van Riel wrote: > > > > This series makes the sysv semaphore code more scalable, > > by reducing the time the semaphore lock is held, and making > > the locking more scalable for semaphore arrays with

Re: ipc,sem: sysv semaphore scalability

2013-03-20 Thread Linus Torvalds
On Wed, Mar 20, 2013 at 1:49 PM, Linus Torvalds wrote: > > It *would* be lovely to see this run with the actual Swingbench > numbers. The microbenchmark always looked much nicer. Do the > additional multi-semaphore scalability patches on top of Davidlohr's > patches help with the swingbench

Re: [PATCH v3 18/21] vmcore: check if vmcore objects satify mmap()'s page-size boundary requirement

2013-03-20 Thread Eric W. Biederman
Vivek Goyal writes: > On Tue, Mar 19, 2013 at 03:38:45PM -0700, Eric W. Biederman wrote: >> HATAYAMA Daisuke writes: >> >> > If there's some vmcore object that doesn't satisfy page-size boundary >> > requirement, remap_pfn_range() fails to remap it to user-space. >> > >> > Objects that

Re: [Intel][RNG] PCI IDs commented out for 82801I (ICH9 Mobile and non-mobile)?

2013-03-20 Thread H. Peter Anvin
On 03/20/2013 01:42 PM, Shawn Starr wrote: > Hello folks, > > I was looking at why I can't load the Intel RNG driver (or why it doesn't > load automatically) and > it just so happens I have both the mobile and non-mobile ICH9 chipset. > Looking at the driver I noticed: > > /* BAM, CAM, DBM,

Re: [PATCH 1/4] ARM: tegra: enable Tegra114 based platform PMICs

2013-03-20 Thread Stephen Warren
On 03/20/2013 07:44 AM, Laxman Dewangan wrote: > NVIDIA's Tegra114 have two reference platform, Dalmore and Pluto. > Dalmore uses the following PMICs: > - TPS65913 as primary PMIC. > - TPS65090 as secondary PMIC used for switch regulators and battery charging. > - TPS51632 for cpu regulator. > >

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