Re: [RFC] Add mempressure cgroup

2012-12-01 Thread Anton Vorontsov
Hi Luiz, Thanks for your email! On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote: [...] But there is one, rather major issue: we're crossing kernel-userspace boundary. And with the scheme we'll have to cross the boundary four times: query / reply-available / control /

Re: [GIT PULL] (xen) stable/for-jens-3.8 bug-fixes..

2012-12-01 Thread Jens Axboe
On 2012-11-30 23:06, Konrad Rzeszutek Wilk wrote: Hey Jens Please git pull the following branch git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.8 which has one cleanup and one tiny fix. Pulled, thanks Konrad. -- Jens Axboe -- To unsubscribe from this

Re: 3.4.4: disabling irq

2012-12-01 Thread Udo van den Heuvel
On 2012-11-19 17:41, Alan Stern wrote: On Sat, 17 Nov 2012, Udo van den Heuvel wrote: How to proceed next? Firstly, what does /proc/interrupts say? Secondly, try building a kernel with the patch below and CONFIG_USB_DEBUG enabled. Let's see what the dmesg log says when the problem

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-12-01 Thread Chen Gang
于 2012年12月01日 00:24, Paul Fulghum 写道: My suggestion is to leave it as is for now until I can make those changes. I admit the current code is ugly enough to cause confusion (sorry Chen Gang), but I don't see any immediate danger. do not need 'sorry', learn with each other. (I am just

[RFC PATCH] mm/migration: Don't lock anon vmas in rmap_walk_anon()

2012-12-01 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Nov 30, 2012 at 11:58 AM, Ingo Molnar mi...@kernel.org wrote: When pushed hard enough via threaded workloads (for example via the numa02 test) then the upstream page migration code in mm/migration.c becomes unscalable,

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

2012-12-01 Thread Cong Ding
On Sat, Dec 01, 2012 at 04:56:25AM +0100, Hans J. Koch wrote: On Sat, Dec 01, 2012 at 02:22:44AM +0100, Cong Ding wrote: On Fri, Nov 30, 2012 at 10:33 PM, Hans J. Koch h...@hansjkoch.de wrote: On Fri, Nov 30, 2012 at 12:12:46PM +0100, Tux9 wrote: I like Vitalii's solution more. Hans's

Re: [PATCH v3 1/3] aerdrv: Trace Event for AER

2012-12-01 Thread Borislav Petkov
On Fri, Nov 30, 2012 at 02:33:30PM -0700, Lance Ortiz wrote: This header file will define a new trace event that will be triggered when a AER event occurs. The following data will be provided to the trace event. char * name - String containing the device path Can we explain that device

Re: [GIT PULL 0/8] perf/urgent fixes

2012-12-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Hi Ingo, Tested using a cross-compiler and directly on a Raspberry pi (ARM) with raspbian. Please consider pulling. - Arnaldo The following changes since commit 18423d3562f396206e0928a71177eeb2edfed077: Merge tag

Re: High context switch rate, ksoftirqd's chewing cpu

2012-12-01 Thread Zlatko Calusic
On 30.11.2012 23:55, Tejun Heo wrote: Hello, again. Can you please try this patch? Thanks! diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 042d221..26368ef 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -1477,7 +1477,10 @@ bool mod_delayed_work_on(int cpu,

[GIT PULL] perf fixes

2012-12-01 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus HEAD: fd6da696f38b00ffeae1185d6f0ec5d4ab3b472d Merge tag 'perf-urgent-for-mingo' of

[tip:perf/urgent] tools: Define a Makefile function to do subdir processing

2012-12-01 Thread tip-bot for David Howells
Commit-ID: ca9dfc6cc45a8ae0297188f5fed23af242cc8a8d Gitweb: http://git.kernel.org/tip/ca9dfc6cc45a8ae0297188f5fed23af242cc8a8d Author: David Howells dhowe...@redhat.com AuthorDate: Mon, 5 Nov 2012 15:15:24 + Committer: David Howells dhowe...@redhat.com CommitDate: Mon, 19 Nov 2012

[RFC GIT PULL] scheduler fix for autogroups

2012-12-01 Thread Ingo Molnar
Linus, Please [RFC] pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus HEAD: 5258f386ea4e8454bc801fb443e8a4217da1947c sched/autogroup: Fix crash on reboot when autogroup is disabled Larger and scarier

[tip:perf/urgent] tools: Honour the O= flag when tool build called from a higher Makefile

2012-12-01 Thread tip-bot for David Howells
Commit-ID: bf35182ffcd00d8b36d56210ffdac110e5624d7d Gitweb: http://git.kernel.org/tip/bf35182ffcd00d8b36d56210ffdac110e5624d7d Author: David Howells dhowe...@redhat.com AuthorDate: Mon, 5 Nov 2012 21:02:08 + Committer: David Howells dhowe...@redhat.com CommitDate: Mon, 19 Nov 2012

[tip:perf/urgent] perf kvm: Rename perf_kvm to perf_kvm_stat

2012-12-01 Thread tip-bot for Xiao Guangrong
Commit-ID: 3786063a3c0ba26a2400a04476c0c0ccfd3c6beb Gitweb: http://git.kernel.org/tip/3786063a3c0ba26a2400a04476c0c0ccfd3c6beb Author: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com AuthorDate: Thu, 15 Nov 2012 14:17:01 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com

Re: [RFC] Add mempressure cgroup

2012-12-01 Thread Anton Vorontsov
On Fri, Nov 30, 2012 at 03:47:25PM -0200, Luiz Capitulino wrote: [...] Query-and-control scheme looks very attractive, and that's actually resembles my balance level idea, when userland tells the kernel how much reclaimable memory it has. Except the your scheme works in the reverse

[GIT PULL] RCU fix

2012-12-01 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus HEAD: 745040347d7e8e7b47e3790de76423d9eab474eb Merge branch 'rcu/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Terje Bergström
On 30.11.2012 12:38, Thierry Reding wrote: * PGP Signed by an unknown key The above implies that when you submit code it shouldn't contain pieces that prepare for possible future extensions which may or may not be submitted (the exception being if such changes are part of a series where

Re: [PATCH v3 1/3] aerdrv: Trace Event for AER

2012-12-01 Thread Mauro Carvalho Chehab
Em Fri, 30 Nov 2012 14:33:30 -0700 Lance Ortiz lance.or...@hp.com escreveu: This header file will define a new trace event that will be triggered when a AER event occurs. The following data will be provided to the trace event. char * name - String containing the device path You renamed it

Re: [PATCH v3 1/3] aerdrv: Trace Event for AER

2012-12-01 Thread Borislav Petkov
On Sat, Dec 01, 2012 at 09:36:14AM -0200, Mauro Carvalho Chehab wrote: Please don't call it as ras.h. Call it, instead, ras_aer.h (or something similar) as, if we're moving the tracing back to include/trace/events/, the same should happen for the memory error events. As you can see yourself,

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Terje Bergström
On 30.11.2012 10:50, Lucas Stach wrote: I'm with Thierry here. I think there is a fair chance that we won't get the API right from the start, even when trying to come up with something that sounds sane to everyone. It's also not desirable to delay gr2d going into mainline until we are all

My SD Card Reader cannot read SDHC cards

2012-12-01 Thread Richard Yao
I have the following SD Card Reader: http://support.dell.com/support/edocs/monitors/2405fpw/en/about.htm#Card Reader Specificatoins It is identified as the following in lsusb: Bus 002 Device 007: ID 0424:223a Standard Microsystems Corp. 8-in-1 Card Reader I have a LG microSD Card adapter that

Re: [PATCH v3]realtek:r8169: Bugfix or workaround for missing extended GigaMAC registers settings

2012-12-01 Thread Francois Romieu
Wang YanQing udkni...@gmail.com : [...] @@ -6903,6 +6903,14 @@ rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) dev-dev_addr[i] = RTL_R8(MAC0 + i); memcpy(dev-perm_addr, dev-dev_addr, dev-addr_len); + /* + *This is a fix for BIOS forget to

[RFC PATCH] mm/migration: Remove anon vma locking from try_to_unmap() use

2012-12-01 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: 1) This patch might solve the remapping (remove_migration_ptes()), but does not solve the anon-vma locking done in the first, unmapping step of pte-migration - which is done via try_to_unmap(): which is a generic VM function used by swapout too,

[PATCH resend 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t

2012-12-01 Thread Lars-Peter Clausen
Nothing is using the vmlist field in mm_context_t anymore. It has been removed from the non-generic versions over 3 years ago 8feae1311 (NOMMU: Make VMAs per MM as for MMU-mode linux). Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- include/asm-generic/mmu.h |1 - 1 files changed, 0

[PATCH resend 3/5] c6x: Use generic asm/mmu.h

2012-12-01 Thread Lars-Peter Clausen
c6x's asm/mmu.h is basically identical to asm-generic/mmu.h, so use it instead of the custom version. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Acked-by: Mark Salter msal...@redhat.com Tested-by: Mark Salter msal...@redhat.com --- arch/c6x/include/asm/Kbuild |1 +

[PATCH resend 4/5] h8300: Use generic asm/mmu.h

2012-12-01 Thread Lars-Peter Clausen
h8300's asm/mmu.h is basically identical to asm-generic/mmu.h, so use it instead of the custom version. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- Note, due to lack of toolchain, etc this patch is completely untested. --- arch/h8300/include/asm/Kbuild |1 +

[PATCH resend 2/5] asm-generic/mmu.h: Add support for FDPIC

2012-12-01 Thread Lars-Peter Clausen
No-MMU architectures often have support for FDPIC binaries. FDPIC support requires two additional fields in the mm_context_t struct. This patch adds these fields to the generic mm_context_t definition if support for FDPIC binaries is enabled. This allows to use the generic mmu.h for a few more

[PATCH resend 5/5] xtensa: Use generic asm/mmu.h for nommu

2012-12-01 Thread Lars-Peter Clausen
The nommu portion of mmu.h of the extensa platform is basically the same as the asm-generic mmu.h. So use it instead. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- Note, due to lack of toolchain, etc this patch is completely untested. --- arch/xtensa/include/asm/mmu.h |2 +-

Re: [PATCH 2/2] i2c-s3c2410: Add bus arbitration implementation

2012-12-01 Thread Mark Brown
On Thu, Nov 29, 2012 at 10:14:58PM -0800, Olof Johansson wrote: On Thu, Nov 29, 2012 at 6:13 PM, Simon Glass s...@chromium.org wrote: It was originally done separately but I think it was felt that this was overly complex. Olof can you please comment on this? it is indeed not controller

Re: [PATCH] mfd: arizona: Register haptics devices

2012-12-01 Thread Mark Brown
On Fri, Nov 30, 2012 at 11:19:46AM +0100, Samuel Ortiz wrote: I applied this one. Please let me know if you want to push it through your asoc tree as well. It doesn't really matter either way, applying through MFD is probably just as sensible as anything else. signature.asc Description:

Re: [PATCH v3 1/3] aerdrv: Trace Event for AER

2012-12-01 Thread Mauro Carvalho Chehab
Cheers, Mauro On Sat, 1 Dec 2012, Borislav Petkov wrote: On Sat, Dec 01, 2012 at 09:36:14AM -0200, Mauro Carvalho Chehab wrote: Please don't call it as ras.h. Call it, instead, ras_aer.h (or something similar) as, if we're moving the tracing back to include/trace/events/, the same should

Re: [PATCH] mfd: wm5102: Treat future revisions as revision B

2012-12-01 Thread Mark Brown
On Fri, Nov 30, 2012 at 11:22:21AM +0100, Samuel Ortiz wrote: This one does not apply. I'm missing a patch that would register the revision B patch. I'm pretty sure I sent it out... I think there's a few patches went AWOL a couple of weeks ago. Anyway, will resend. signature.asc

Re: [v3.7-rcx] drm/i915: *ERROR* Timed out waiting for forcewake old ack to clear

2012-12-01 Thread Jörg Otte
Thanks, the path works. Jörg 2012/11/27 Chris Wilson ch...@chris-wilson.co.uk: On Tue, 27 Nov 2012 17:29:36 +0100, Jörg Otte jrg.o...@gmail.com wrote: At boot-up with newer kernels (at least v3.6.x, v3.7-rc) I always see following on the bootup-display: 3.7-rcx:

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Daniel Vetter
On Sat, Dec 1, 2012 at 12:31 PM, Terje Bergström tbergst...@nvidia.com wrote: We must've talked about a bit different things. For pure register defs, I can accommodate changing to #defines. We'd lose the code coverage analysis, though, but if the parentheses are a make-or-break question to

[PATCH 00/28] Drivers: hv: Update the Vmbus protocol

2012-12-01 Thread K. Y. Srinivasan
The current vmbus protocol supported in the vmbus driver for Linux is a version of the protocol that shipped with Windows Server 2008. Since then a lot of enhancements have been made in the protocol to specifically address performance and scalability of the communication infrastructure between the

[PATCH 03/28] Drivers: hv: Turn off batched reading for util drivers

2012-12-01 Thread K. Y. Srinivasan
Util driver is not a performance critical driver and furthermore some util services such as KVP can only handle one outstanding message from the host. Turn off batched reading for util drivers. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com

[PATCH 02/28] Drivers: hv: Add state to manage batched reading

2012-12-01 Thread K. Y. Srinivasan
For the read side signaling optimization, the reader has to completely drain the queue before exiting. Add state to manage this batched reading. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/channel_mgmt.c |7 +++

[PATCH 01/28] Drivers: hv: Implement routines for read side signaling optimization

2012-12-01 Thread K. Y. Srinivasan
Implement functions that will support read-side signaling optimization. By having the reader indicate the start of the read operation and the end of the read operation we can more efficiently handle the signaling protocol: while the read is in progress, there is no need for the writer to signal

[PATCH 21/28] Drivers: hv: Get rid of unnecessary request for offers

2012-12-01 Thread K. Y. Srinivasan
This call to seek offers is not necessary and just adds unnecessary delay. Get rid of it. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/vmbus_drv.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

[PATCH 25/28] Drivers: hv: Enable protocol negotiation with win8 hosts

2012-12-01 Thread K. Y. Srinivasan
Now that we have implemented all of the Win8 (WS2012) functionality, negotiate Win8 protocol with the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/connection.c |2 +- include/linux/hyperv.h |1 + 2 files

[PATCH 27/28] Drivers: hv: Capture the host build information

2012-12-01 Thread K. Y. Srinivasan
Capture the host build information so it can be presented along with the negotiated vmbus version information. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/hv.c |9 + drivers/hv/hyperv_vmbus.h |7

[PATCH 22/28] Drivers: hv: Manage event tasklets on per-cpu basis

2012-12-01 Thread K. Y. Srinivasan
Now that we can potentially take vmbus interrupts on any CPU, make the tasklets per-CPU. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/hv.c | 12 drivers/hv/hyperv_vmbus.h |6 ++

[PATCH 28/28] Drivers: hv: Cleanup and consolidate reporting of build/version info

2012-12-01 Thread K. Y. Srinivasan
Now, cleanup and consolidate reporting of host and vmbus version numbers. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/connection.c | 11 +++ drivers/hv/hv.c |7 --- 2 files changed, 7 insertions(+),

[PATCH 26/28] Drivers: hv: Implement flow management on the send side

2012-12-01 Thread K. Y. Srinivasan
Implement flow management on the send side. When the sender is blocked, the reader can potentially signal the sender to indicate there is now room to send. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/channel.c | 12

[PATCH 16/28] Drivers: hv: Setup a mapping for Hyper-V's notion cpu ID

2012-12-01 Thread K. Y. Srinivasan
On win8 (ws2012), incoming vmbus interrupt load can be spread across all available VCPUs in the guest. On a per-channel basis, the interrupts can be bound to specific CPUs. The Linux notion of cpu ID may be different from that of the hypervisor's. Setup a mapping structure. Signed-off-by: K. Y.

[PATCH 14/28] Drivers: hv: Manage signaling state on a per-connection basis

2012-12-01 Thread K. Y. Srinivasan
The current code has a global handle for supporting signaling of the host from guest. Make this a per-channel attribute as on some versions of the host we can signal on per-channel handle. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com ---

[PATCH 15/28] Drivers: hv: Cleanup vmbus_set_event() to support win7 and beyond

2012-12-01 Thread K. Y. Srinivasan
On win7 (ws2008 R2) and beyond, we have the notion of having dedicated interrupts on a per-channel basis. When a channel has a dedicated interrupt assigned, there is no need to set the interrupt bit in the shared page. Implement this optimization. Signed-off-by: K. Y. Srinivasan

[PATCH 12/28] Drivers: hv: Change the signature of vmbus_set_event()

2012-12-01 Thread K. Y. Srinivasan
In preparation for supporting a per-connection signaling mechanism, change the signature of vmbus_set_event(). This change is also needed to implement other aspects of the signaling optimization. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com

[PATCH 10/28] Drivers: hv: Save and export negotiated vmbus version

2012-12-01 Thread K. Y. Srinivasan
Export the negotiated vmbus version as this may be useful for individual drivers. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/connection.c |9 + include/linux/hyperv.h |6 ++ 2 files changed, 15

[PATCH 17/28] Drivers: hv: Add state to manage incoming channel interrupt load

2012-12-01 Thread K. Y. Srinivasan
Add state to bind a channel to a specific VCPU. This will help us better distribute incoming interrupt load. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/channel.c |2 +- drivers/hv/channel_mgmt.c |2 ++

[PATCH 19/28] Drivers: hv: Add code to distribute channel interrupt load

2012-12-01 Thread K. Y. Srinivasan
Implement a simple policy for distributing incoming interrupt load. We classify channels as (a) performance critical and (b) not performance critical. All non-performance critical channels will be bound to the boot cpu. Performance critical channels will be bound to the remaining available CPUs on

[PATCH 06/28] Drivers: hv: Get rid of hv_get_ringbuffer_interrupt_mask()

2012-12-01 Thread K. Y. Srinivasan
This function is no longer used; get rid of it. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/hyperv_vmbus.h |1 - drivers/hv/ring_buffer.c | 13 - 2 files changed, 0 insertions(+), 14 deletions(-) diff

[PATCH 07/28] Drivers: hv: Support handling multiple VMBUS versions

2012-12-01 Thread K. Y. Srinivasan
The current code hard coded the vmbus version independent of the host it was running on. Add code to dynamically negotiate the most appropriate version. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/connection.c | 165

[PATCH 05/28] Drivers: hv: Optimize the signaling on the write path

2012-12-01 Thread K. Y. Srinivasan
The host has already implemented the read side optimizations. Leverage that to optimize write side signaling. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/channel.c | 15 +-- drivers/hv/hyperv_vmbus.h |

[PATCH 08/28] Drivers: hv: Update the ring buffer structure to match win8 functionality

2012-12-01 Thread K. Y. Srinivasan
Update the ringbuffer structure to support win8 functionality. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- include/linux/hyperv.h | 28 +--- 1 files changed, 21 insertions(+), 7 deletions(-) diff --git

[PATCH 09/28] Drivers: hv: Extend/modify vmbus_channel_offer_channel for win7 and beyond

2012-12-01 Thread K. Y. Srinivasan
The offfer message sent by the host has been extended in win7 (ws2008 R2). Add/modify state to reflect this extension. All these changes are backward compatible. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- include/linux/hyperv.h | 36

[PATCH 04/28] Drivers: hv: Optimize signaling in the read path

2012-12-01 Thread K. Y. Srinivasan
Now that we have the infratructure for correctly determining when we should signal the host; optimize the signaling on the read side - signaling the guest from the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com ---

[PATCH 13/28] Drivers: hv: Move vmbus version definitions to hyperv.h

2012-12-01 Thread K. Y. Srinivasan
To support version specific optimization in various vmbus drivers, move the vmbus definitions to the public header file. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/connection.c | 15 --- include/linux/hyperv.h

[PATCH 24/28] Drivers: hv: Add a check to deal with spurious interrupts

2012-12-01 Thread K. Y. Srinivasan
We establish the handler before we have fully initialized the VMBUS state. Deal with spurious interrupts. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com --- drivers/hv/vmbus_drv.c | 10 ++ 1 files changed, 6 insertions(+), 4

[PATCH 20/28] Drivers: hv: Get rid of the unused global signaling state

2012-12-01 Thread K. Y. Srinivasan
Now that we have implemented a per-connection signaling mechanism, get rid of the global signaling state. For hosts that don't support per-connection signaling handle, we have moved the global state to be a per-channel state. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang

[PATCH 18/28] Drivers: hv: Modify the interrupt handling code to support win8 and beyond

2012-12-01 Thread K. Y. Srinivasan
Starting with Win8 (WS2012), the event page can be used to directly get the channel ID that needs servicing. Modify the channel event handling code to take advantage of this feature. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com ---

[PATCH 11/28] Drivers: hv: Change the signature for hv_signal_event()

2012-12-01 Thread K. Y. Srinivasan
In preparation for implementing a per-connection signaling framework, change the signature of the function hv_signal_event(). The current code uses a global handle for signaling the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang haiya...@microsoft.com ---

[PATCH 23/28] Drivers: hv: Handle vmbus interrupts concurrently on all cpus

2012-12-01 Thread K. Y. Srinivasan
Vmbus interrupts are unique in that while the interrupt is delivered on a given vector, these can be handled concurrently on different CPUs. Handle the vmbus interrupts concurrently on all the CPUs. Signed-off-by: K. Y. Srinivasan k...@microsoft.com Reviewed-by: Haiyang Zhang

Re: High context switch rate, ksoftirqd's chewing cpu

2012-12-01 Thread Tejun Heo
Hello, On Sat, Dec 01, 2012 at 12:06:41PM +0100, Zlatko Calusic wrote: I have good news. The patch fixes the regression! To doublecheck and provide you additional data, I updated to the latest Linus kernel (commit 7c17e48), recompiled (WITHOUT the patch), rebooted and this is what vmstat 1

Re: Wireless regression in workqueue: use mod_delayed_work() instead of __cancel + queue

2012-12-01 Thread Tejun Heo
Hey, Anders. On Fri, Nov 30, 2012 at 11:15:50PM -0500, Anders Kaseorg wrote: Yes. I tested that both directly on top of the bad commit, and on v3.7-rc7, and it fixes the bug in both cases. Can you please test this one too? Thanks! diff --git a/kernel/workqueue.c b/kernel/workqueue.c index

Re: [RFC v2 0/8] Support for Tegra 2D hardware

2012-12-01 Thread Thierry Reding
On Mon, Nov 26, 2012 at 03:19:06PM +0200, Terje Bergstrom wrote: [...] The patch set also adds user space API to tegradrm for accessing host1d and 2D. We are preparing also patches to libdrm, but they are not yet in condition that they could be sent out. I did some prototyping on how a libdrm

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Thierry Reding
On Sat, Dec 01, 2012 at 01:31:02PM +0200, Terje Bergström wrote: On 30.11.2012 12:38, Thierry Reding wrote: * PGP Signed by an unknown key The above implies that when you submit code it shouldn't contain pieces that prepare for possible future extensions which may or may not be submitted

Re: [ 00/54] 3.6.9-stable review

2012-12-01 Thread Satoru Takeuchi
At Fri, 30 Nov 2012 10:55:31 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.6.9 release. There are 54 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

flush_to_ldisc accesses tty after free (was: [PATCH 21/21] TTY: move tty buffers to tty_port)

2012-12-01 Thread Peter Hurley
(cc'ing Ilya Zykov i...@ilyx.ru because the test jig below is based on his test program from https://lkml.org/lkml/2012/11/29/368 -- just want to give credit where credit is due) On Fri, 2012-11-30 at 18:52 -0500, Sasha Levin wrote: Still reproducible, I'm still seeing this with the patch

Re: [PATCH 2/8] gpio: pl061 depends on ARM

2012-12-01 Thread Linus Walleij
On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi cimina...@gnudd.com wrote: From: Alessandro Rubini rub...@gnudd.com Commit dece904d (gpio: pl061: use chained_irq_* functions in irq handler) introduced chained_irq_enter/exit, which is only available for arch/arm and the driver won't compile

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Thierry Reding
On Sat, Dec 01, 2012 at 01:44:41PM +0200, Terje Bergström wrote: On 30.11.2012 10:50, Lucas Stach wrote: I'm with Thierry here. I think there is a fair chance that we won't get the API right from the start, even when trying to come up with something that sounds sane to everyone. It's also

Re: [ 00/56] 3.4.21-stable review

2012-12-01 Thread Satoru Takeuchi
At Fri, 30 Nov 2012 10:54:52 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.21 release. There are 56 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Re: [ 00/37] 3.0.54-stable review

2012-12-01 Thread Satoru Takeuchi
At Fri, 30 Nov 2012 10:45:47 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.54 release. There are 37 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-12-01 Thread Peng, Tao
Hi Greg and Ben, Attached is the patch of upstream commit fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 backported to 3.4.20 stable branch (head 0f4475cfaaf80e34ea5496a93ce579fe8c6950d5). Thanks, Tao From: Peng, Tao Sent: Friday, November 30, 2012 11:34 PM

Re: [PATCH v3 2/3] aerdrv: Enhanced AER logging

2012-12-01 Thread Borislav Petkov
On Fri, Nov 30, 2012 at 02:33:37PM -0700, Lance Ortiz wrote: This patch will provide a more reliable and easy way for user-space applications to have access to AER logs rather than reading them from the message buffer. It also provides a way to notify user-space when an AER event occurs.

Re: [PATCH 1/1] mfd: Simplify IRQ domain registration code in STMPE

2012-12-01 Thread Linus Walleij
On Fri, Nov 23, 2012 at 1:56 PM, Lee Jones lee.jo...@linaro.org wrote: Historically, a driver would have to decide whether it required a Linear or Legacy IRQ domain when registering one. This can end up as quite a lot of code. A new Simple call now exists which simplifies this process. Let's

Re: [PATCH v3 3/3] aerdrv: Cleanup log output for CPER based AER

2012-12-01 Thread Borislav Petkov
On Fri, Nov 30, 2012 at 02:33:44PM -0700, Lance Ortiz wrote: These changes make cper_print_aer more consistent with aer_print_error which is called in the AER interrupt case. The string in the variable 'prefix' is printed at the beginning of each print statement in cper_print_aer(). The prefix

Re: [PATCH v3 2/3] aerdrv: Enhanced AER logging

2012-12-01 Thread Borislav Petkov
On Sat, Dec 01, 2012 at 04:51:30PM +0100, Borislav Petkov wrote: @@ -281,9 +286,17 @@ static void cper_print_pcie(const char *pfx, const struct cper_sec_pcie *pcie, %sbridge: secondary_status: 0x%04x, control: 0x%04x\n, pfx, pcie-bridge.secondary_status, pcie-bridge.control);

[PATCH v4]menuconfig: Add Save button

2012-12-01 Thread Wang YanQing
If menuconfig have a Save button like alternative .config editors, xconfig, nconfig, etc.We will have a obvious benefit when use menuconfig just like when we use others, we can save our .config quickly and conveniently. This patch add the Save button for menuconfig. V1-V2: Rewrite the most code

Re: [RFC PATCH] mm/migration: Don't lock anon vmas in rmap_walk_anon()

2012-12-01 Thread Rik van Riel
On 12/01/2012 04:49 AM, Ingo Molnar wrote: * Linus Torvalds torva...@linux-foundation.org wrote: On Fri, Nov 30, 2012 at 11:58 AM, Ingo Molnar mi...@kernel.org wrote: When pushed hard enough via threaded workloads (for example via the numa02 test) then the upstream page migration code in

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Terje Bergström
On 01.12.2012 15:42, Daniel Vetter wrote: Out of sheer curiosity: What are you using the coverage data of these register definitions for? When I looked into coverage analysis the resulting data seemed rather useless to me, since the important thing is how well we cover the entire dynamic state

Re: [ 00/37] 3.0.54-stable review

2012-12-01 Thread David Miller
Satoru, I just want to let you know that, because you encode your emails using ISO-2022-JP-2, nearly half of the subscribers to the vger.kernel.org mailing lists bounce your postings. I know it's stupid, and it's mostly a Microsoft Exchange issue, but it does mean that people that you may wish

Re: [PATCH 1/1] gpio: Provide the STMPE GPIO driver with its own IRQ Domain

2012-12-01 Thread Linus Walleij
On Fri, Nov 23, 2012 at 4:19 PM, Lee Jones lee.jo...@linaro.org wrote: The STMPE GPIO driver can be used as an IRQ controller by some related devices. Here we provide it with its very own IRQ Domain so that IRQs can be issued dynamically. This will stand the driver in good stead when it is

Re: [PATCH] gpio: stmpe: Add DT support for stmpe gpio

2012-12-01 Thread Linus Walleij
On Mon, Nov 26, 2012 at 12:32 PM, Shiraz Hashim shiraz.has...@st.com wrote: On Mon, Nov 26, 2012 at 11:28:23AM +, Lee Jones wrote: Doesn't pinctrl normally handle this kind of stuff? Yes, but I think it is only for managing the SoC and its pads. No pinctrl is also for off-SoC pin

Re: [PATCH V2] gpio: stmpe: Add DT support for stmpe gpio

2012-12-01 Thread Linus Walleij
On Mon, Nov 26, 2012 at 12:36 PM, Viresh Kumar viresh.ku...@linaro.org wrote: From: Vipul Kumar Samar vipulkumar.sa...@st.com This patch allows the STMPE GPIO driver to be successfully probed and initialised when Device Tree support is enabled. Bindings are mentioned in Documentation too.

Re: [PATCH V5 1/2] mfd: stmpe: Get rid of irq_invert_polarity

2012-12-01 Thread Linus Walleij
On Thu, Nov 29, 2012 at 3:40 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Since the very first patch, stmpe core driver is using irq_invert_polarity as part of platform data. But, nobody is actually using it in kernel till now. Also, this is not something part of hardware specs, but is

Re: [ 00/54] 3.6.9-stable review

2012-12-01 Thread Greg Kroah-Hartman
On Sat, Dec 01, 2012 at 11:58:28PM +0900, Satoru Takeuchi wrote: At Fri, 30 Nov 2012 10:55:31 -0800, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.6.9 release. There are 54 patches in this series, all will be posted as a response to this one. If

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-01 Thread Linus Walleij
On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones lee.jo...@linaro.org wrote: When the STMPE IRQ is triggered to be active high level-sensitive, the Nomadik GPIO controller it uses complains, although it still works. Recently we attempted to move triggering to low-to-high in an attempt to prevent

Re: 3.4.4: disabling irq

2012-12-01 Thread Alan Stern
On Sat, 1 Dec 2012, Udo van den Heuvel wrote: Secondly, try building a kernel with the patch below and CONFIG_USB_DEBUG enabled. Let's see what the dmesg log says when the problem occurs. [root@a mesa]# dmesg|sort|uniq The sort messes up the order of the messages. uniq by itself would

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-01 Thread Terje Bergström
On 01.12.2012 17:10, Thierry Reding wrote: On Sat, Dec 01, 2012 at 01:44:41PM +0200, Terje Bergström wrote: host1x module being in DRM directory hinders using nvhost from anywhere outside DRM in both upstream and downstream. That's not true. Nothing keeps the rest of the kernel from using an

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-01 Thread Greg KH
On Fri, Nov 30, 2012 at 07:19:16PM -0800, Philip Balister wrote: On 11/30/2012 09:36 AM, Greg KH wrote: On Fri, Nov 30, 2012 at 05:28:47PM +, Arnd Bergmann wrote: On Wednesday 28 November 2012, Eli Billauer wrote: Xillybus is a general-purpose framework for communication between

Re: [PATCH] Input: gpio_keys - report initial state when opening the device

2012-12-01 Thread Linus Walleij
On Sun, Nov 25, 2012 at 9:31 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Instead of reporting the initial stage when the device is registered we should do it when the device is opened (so there are users). Signed-off-by: Dmitry Torokhov dmitry.torok...@gmail.com Makes perfect sense.

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-01 Thread Greg KH
On Sat, Dec 01, 2012 at 08:56:12AM -0800, Greg KH wrote: So, in the grand tradition of, The first one there wins, why not base it all off of your driver, and how that works, and we can go from there :) Oops, sorry s/your/Eli's/, my confusion. greg k-h -- To unsubscribe from this list: send the

Re: [PATCH 1/2] input: gpio-keys: Disable hardware on suspend

2012-12-01 Thread Linus Walleij
On Sun, Nov 25, 2012 at 9:32 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Thu, Nov 22, 2012 at 01:23:36PM +, Lee Jones wrote: From: Jonas Aaberg jonas.ab...@stericsson.com Disable hardware if active when suspending if the hw can not wake the system from suspend. How about

Re: [PATCH 6/8] mmc: use the new linux/sizes.h

2012-12-01 Thread Linus Walleij
On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi cimina...@gnudd.com wrote: From: Alessandro Rubini rub...@gnudd.com Signed-off-by: Alessandro Rubini rub...@gnudd.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus Walleij

Re: [PATCH 1/2] ARM: Dove: Add pinctrl clock to DT

2012-12-01 Thread Linus Walleij
On Mon, Nov 26, 2012 at 10:18 AM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: During merge of the mvebu patches a clock gate for pinctrl was lost. This patch just readds the clock gate. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Linus

Re: [RFC v2 0/8] Support for Tegra 2D hardware

2012-12-01 Thread Terje Bergström
On 01.12.2012 16:45, Thierry Reding wrote: I did some prototyping on how a libdrm API could look like a few weeks back. I should clean the patches up some and push them to a public repository or to the mailing lists for review. Ok. Sorry about the delay - I recently learned I need separate

Re: High context switch rate, ksoftirqd's chewing cpu

2012-12-01 Thread Zlatko Calusic
On 01.12.2012 15:38, Tejun Heo wrote: Hello, On Sat, Dec 01, 2012 at 12:06:41PM +0100, Zlatko Calusic wrote: I have good news. The patch fixes the regression! To doublecheck and provide you additional data, I updated to the latest Linus kernel (commit 7c17e48), recompiled (WITHOUT the patch),

[PATCH 1/2] mfd: arizona: Defer patch initialistation until after first device boot

2012-12-01 Thread Mark Brown
Make sure that we don't race with the initial device boot by only doing the initialisation after we've waited for the boot to complete. The runtime PM code already waits for the boot to complete before it syncs the register patches so in most systems if a race does occur we will power down very

[PATCH 2/2] mfd: wm5102: Add tuning for revision B

2012-12-01 Thread Mark Brown
Evaluation of revision B of WM5102 suggests updates to the register patch for optimal performance, and make this the default behaviour for new devices. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c | 16 +++- 1 file changed, 15

  1   2   3   4   >