Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-14 Thread H. Peter Anvin
On 12/14/2012 01:11 AM, Yinghai Lu wrote: > On Thu, Dec 13, 2012 at 1:36 PM, H. Peter Anvin wrote: >> >> : tazenda 111 ; qemu-kvm -smp 2 -m 2048 -hda ~/qemu/fc10/qemu-fc10-64.img >> -serial stdio -kernel o.x86_64/arch/x86/boot/bzImage -append 'ro >> root=/dev/sda1 console=ttyS0

Re: [PATCH 4/4] block: Optionally snapshot page contents to provide stable pages during write

2012-12-14 Thread Darrick J. Wong
On Fri, Dec 14, 2012 at 02:33:34PM +1100, Dave Chinner wrote: > On Thu, Dec 13, 2012 at 06:10:49PM -0800, Darrick J. Wong wrote: > > On Thu, Dec 13, 2012 at 05:48:06PM -0800, Andy Lutomirski wrote: > > > On 12/13/2012 12:08 AM, Darrick J. Wong wrote: > > > > Several complaints have been received

RE: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-14 Thread Satoru Moriya
On 12/14/2012 03:37 AM, Michal Hocko wrote: > On Thu 13-12-12 23:50:30, Johannes Weiner wrote: >> On Thu, Dec 13, 2012 at 10:25:43PM +, Satoru Moriya wrote: >>> >>> I introduced swappiness check here with fe35004f because, in some >>> cases, we prefer OOM to swap out pages to detect problems

Re: [patch 1/2]block: discard granularity might not be power of 2

2012-12-14 Thread Jens Axboe
On 2012-12-14 04:15, Shaohua Li wrote: > In MD raid case, discard granularity might not be power of 2, for example, a > 4-disk raid5 has 3*chunk_size discard granularity. Correct the calculation for > such cases. Thanks Shaohua, applied both. -- Jens Axboe -- To unsubscribe from this list:

[PATCH 3.7.0] Add AHCI support for Enmotus Bobcat device.

2012-12-14 Thread Hugh Daschbach
Silicon does not support standard AHCI BAR assignment. Add vendor/device exception to force BAR 2. Signed-off-by: Hugh Daschbach --- drivers/ata/ahci.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 7862d17..3cb008f 100644 ---

Re: [PATCH] vt: Add VC_MUTE (v2)

2012-12-14 Thread Arthur Taylor
> The "don't enqueue stuff" semantics of K_OFF shouldn't be a function of > the keyboard map state; we should be able to switch among cooked/raw/ > unicode without changing whether events are delivered. Otherwise - if > changing to K_UNICODE undoes K_OFF - then suddenly Alt-F2 under > Gnome will

Re: [RFC][PATCH 0/7] Put "Kernel hacking" Kconfig menu on a diet

2012-12-14 Thread Dave Jones
On Fri, Dec 14, 2012 at 01:42:00PM -0500, Dave Hansen wrote: > I think the "Kernel Hacking" menu has gotten a bit out of hand. It > is over 120 lines long on my system with everything enabled and > options are scattered around it haphazardly. > >

Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-14 Thread Steve French
On Fri, Dec 14, 2012 at 9:30 AM, Alan Cox wrote: >> We can make this feature (passing O_DENY* flags received from clients >> to filesystem) can be turned on/off on Samba/NFS server to let this >> particular use case work. In general, I think we really need to be >> sure that nobody has a read

[PULL] Smack: Changes for 3.8 - after rebase

2012-12-14 Thread Casey Schaufler
for-james-20121214 for you to fetch changes up to e93072374112db9dc86635934ee761249be28370: Smack: create a sysfs mount point for smackfs (2012-12-14 10:57:23 -0800) Casey Schaufler (2): Smack: use select not depends in Kconfig

[PATCH] dt: fix tegra SPI binding examples

2012-12-14 Thread Allen Martin
Fix name of slink binding and address of sflash example to make it self consistent. Change-Id: Ia89c3017c958bdf670036caf516eabce6f893096 Signed-off-by: Allen Martin --- Documentation/devicetree/bindings/spi/nvidia,tegra20-sflash.txt |2 +-

Re: [PATCH 6/8] arch/arm/mach-omap2/dpll3xxx.c: drop if around WARN_ON

2012-12-14 Thread Tony Lindgren
* Julia Lawall [121103 13:32]: > From: Julia Lawall > > Just use WARN_ON rather than an if containing only WARN_ON(1). Thanks applying this one into omap-for-v3.8/fixes-for-merge-window. Regards, Tony > A simplified version of the semantic patch that makes this transformation > is as

[PATCH v2 11/11] tty: Halt both ldiscs concurrently

2012-12-14 Thread Peter Hurley
The pty driver does not obtain an ldisc reference to the linked tty when writing. When the ldiscs are sequentially halted, it is possible for one ldisc to be halted, and before the second ldisc can be halted, a concurrent write schedules buffer work on the first ldisc. This can lead to an

[PATCH v2 10/11] tty: Remove unnecessary buffer work flush

2012-12-14 Thread Peter Hurley
In order to safely call tty_ldisc_flush_works(), the ldisc must already have been halted, so any pending buffer work has already been cancelled or flushed as part of the halt. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [CRIU] [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-14 Thread H. Peter Anvin
On 12/14/2012 10:44 AM, Andy Lutomirski wrote: >> >> mremap() should work. At the same time, the code itself is not going to >> have any stability guarantees between kernel versions -- it obviously >> cannot. > > We could guarantee that the symbols in the vdso resolve to particular > offsets

Re: [RFC][PATCH] Fix cap_capable to only allow owners in the parent user namespace to have caps.

2012-12-14 Thread Andy Lutomirski
On Fri, Dec 14, 2012 at 10:43 AM, Linus Torvalds wrote: > On Fri, Dec 14, 2012 at 10:12 AM, Eric W. Biederman > wrote: >> >> That said Serge I think I have lost track of the point of your question. > > .. and I'm a bit unsure what I should do about this all. Including > pulling the pull request

Re: [CRIU] [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-14 Thread Andy Lutomirski
On Fri, Dec 14, 2012 at 10:35 AM, H. Peter Anvin wrote: > On 12/14/2012 12:34 AM, Pavel Emelyanov wrote: >> On 12/14/2012 06:20 AM, Andy Lutomirski wrote: >>> On Thu, Dec 13, 2012 at 6:18 PM, H. Peter Anvin wrote: Wouldn't the vdso get mapped already and could be mremap()'d. If we >>>

Re: [PATCH v4 16/23] ARM: OMAP2+: clock data: Merge utmi_px_gfclk into usb_host_hs_utmi_px_clk

2012-12-14 Thread Paul Walmsley
Hi On Fri, 14 Dec 2012, Tony Lindgren wrote: > Paul, what about this patch? Looks like you've acked the other clock > patches in this series but not this one? I commented on it briefly here: https://patchwork.kernel.org/patch/1838111/ Maybe Benoît could comment here, but it looks to me

Re: [RFC][PATCH] Fix cap_capable to only allow owners in the parent user namespace to have caps.

2012-12-14 Thread Linus Torvalds
On Fri, Dec 14, 2012 at 10:12 AM, Eric W. Biederman wrote: > > That said Serge I think I have lost track of the point of your question. .. and I'm a bit unsure what I should do about this all. Including pulling the pull request that actually can make this all matter. Hmm? Any consensus?

[RFC][PATCH 7/7] group locking debugging options

2012-12-14 Thread Dave Hansen
There are quite a few of these, and we want to make sure that there is one-stop-shopping for lock debugging. Signed-off-by: Dave Hansen --- linux-2.6.git-dave/lib/Kconfig.debug | 120 ++- 1 file changed, 62 insertions(+), 58 deletions(-) diff -puN

[RFC][PATCH 0/7] Put "Kernel hacking" Kconfig menu on a diet

2012-12-14 Thread Dave Hansen
I think the "Kernel Hacking" menu has gotten a bit out of hand. It is over 120 lines long on my system with everything enabled and options are scattered around it haphazardly. http://sr71.net/~dave/linux/kconfig-horror.png Let's try to introduce some sanity. -- To unsubscribe from this

[RFC][PATCH 6/7] consolidate compilation option configs

2012-12-14 Thread Dave Hansen
Again, trying to come up with some common themes of the stuff in the kernel hacking menu... There are quite a few options to tweak compilation in some way, or perform extra compile-time checks. Give them their own menu. The diff here looks a bit funny... makes it look like I'm moving debugfs

[RFC][PATCH 1/7] move debugfs to filesystems menu (fs/Kconfig)

2012-12-14 Thread Dave Hansen
debugfs may have started out as a kernel hacking kind of option. But, today, it is an integral part of lots of facilities like tracing that are far from kernel hacking. Let's move it out of the very cluttered "Kernel Hacking" menu and but it next to its real family: other filesystems like

[RFC][PATCH 5/7] consolidate runtime testing configs

2012-12-14 Thread Dave Hansen
These runtime tests are great, except that there are a lot of them, and they are very rarely needed. Give them their own menu so that only the folks who need them will have to go looking for them. Note that there are some other runtime tests that are not in here, like for RCU or locking. This

[RFC][PATCH 4/7] consolidate RCU debugging Kconfig options

2012-12-14 Thread Dave Hansen
These were in two different places, and taking up too much of my valuable screen real-estate. Banish them to their own menu. Signed-off-by: Dave Hansen --- linux-2.6.git-dave/lib/Kconfig.debug | 160 +-- 1 file changed, 82 insertions(+), 78 deletions(-) diff

[RFC][PATCH 3/7] order memory debugging Kconfig options

2012-12-14 Thread Dave Hansen
There are a *LOT* of memory debugging options. They are just scattered all over the "Kernel Hacking" menu. Sure, "memory debugging" is a very vague term and it's going to be hard to make absolute rules about what goes in here, but this has to be better than what we had before. This does,

[RFC][PATCH 2/7] consolidate per-arch stack overflow debugging options

2012-12-14 Thread Dave Hansen
Several architectures have similar stack debugging config options. They all pretty much do the same thing, some with slightly differing help text. This patch changes the architectures to instead enable a Kconfig boolean, and then use that boolean in the generic Kconfig.debug to present the

Re: [CRIU] [PATCH] Add VDSO time function support for x86 32-bit kernel

2012-12-14 Thread H. Peter Anvin
On 12/14/2012 12:34 AM, Pavel Emelyanov wrote: > On 12/14/2012 06:20 AM, Andy Lutomirski wrote: >> On Thu, Dec 13, 2012 at 6:18 PM, H. Peter Anvin wrote: >>> Wouldn't the vdso get mapped already and could be mremap()'d. If we >> really need more control I'd almost push for a device/filesystem

Re: [PATCH v4 01/23] mfd: omap-usb-host: get rid of cpu_is_omap..() macros

2012-12-14 Thread Tony Lindgren
* Samuel Ortiz [121213 16:57]: > Hi Tony, > > On Thu, Dec 13, 2012 at 01:49:49PM -0800, Tony Lindgren wrote: > > Hi Samuel, > > > > * Roger Quadros [121210 02:23]: > > > Instead of using cpu_is_omap..() macros in the device driver we > > > rely on information provided in the platform data. > >

Re: [PATCH v4 16/23] ARM: OMAP2+: clock data: Merge utmi_px_gfclk into usb_host_hs_utmi_px_clk

2012-12-14 Thread Tony Lindgren
* Roger Quadros [121210 02:23]: > There is no such clock as utmi_p1_gfclk. It is only a clock selector > bit to select th the parent of usb_host_hs_utmi_p1_clk. > So we get rid of utmi_p1_gfclk and utmi_p2_gfclk by merging them into > usb_host_hs_utmi_p1_clk and usb_host_hs_utmi_p2_clk

Re: [GIT PULL] x86/uapi for 3.8

2012-12-14 Thread Linus Torvalds
On Wed, Dec 12, 2012 at 3:48 PM, David Howells wrote: > H. Peter Anvin wrote: > >> The following changes since commit 7e5530af11be68f3109672aed59243f82e1272f0: >> >> Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2012-12-02 >> 16:39:00 -0800) >> >> are available in the git

[PATCH v2 04/11] tty: Refactor n_tty_flush_buffer

2012-12-14 Thread Peter Hurley
Factor out the packet mode status change for use by follow-on patch. Signed-off-by: Peter Hurley --- drivers/tty/n_tty.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 3f704a9..41e58bf 100644 ---

[PATCH v2 01/11] tty: debug buffer work race with tty free

2012-12-14 Thread Peter Hurley
Signed-off-by: Peter Hurley --- drivers/tty/pty.c| 3 ++- drivers/tty/tty_buffer.c | 2 +- drivers/tty/tty_io.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index be6a373..baf52b4 100644 --- a/drivers/tty/pty.c +++

[PATCH v2 05/11] tty: Don't flush buffer when closing ldisc

2012-12-14 Thread Peter Hurley
A buffer flush is both undesirable and unnecessary when the ldisc is closing. A buffer flush performs the following: 1. resets ldisc data fields to their initial state 2. resets tty->receive_room to indicate more data can be sent 3. schedules buffer work to receive more data 4. signals a

[PATCH v2 03/11] tty: Add diagnostic for halted line discipline

2012-12-14 Thread Peter Hurley
Flip buffer work must not be scheduled after the line discipline has been halted; issue warning. Signed-off-by: Peter Hurley --- drivers/tty/n_tty.c | 6 ++ drivers/tty/tty_buffer.c | 3 +++ drivers/tty/tty_ldisc.c | 45 +

[PATCH v2 09/11] tty: Strengthen no-subsequent-use guarantee of tty_ldisc_halt()

2012-12-14 Thread Peter Hurley
In preparation for destructing and freeing the tty, the line discipline must first be brought to an inactive state before it can be destructed. This line discipline shutdown must: - disallow new users of the ldisc - wait for existing ldisc users to finish - only then, cancel/flush their

[PATCH v2 08/11] tty: Fix ldisc halt sequence on hangup

2012-12-14 Thread Peter Hurley
Flip buffer work cannot be cancelled until all outstanding ldisc references have been released. Convert the ldisc ref wait into a full ldisc halt with buffer work cancellation. Note that the legacy mutex is not held while cancelling. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 40

[PATCH v2 06/11] tty: Refactor wait for ldisc refs out of tty_ldisc_hangup()

2012-12-14 Thread Peter Hurley
Refactor tty_ldisc_hangup() to extract standalone function, tty_ldisc_hangup_wait_idle(), to wait for ldisc references to be released. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 54 - 1 file changed, 36 insertions(+), 18

[PATCH v2 02/11] tty: WARN if buffer work racing with tty free

2012-12-14 Thread Peter Hurley
Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 78c3000..3d2b6d7 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -1511,6 +1511,8 @@ static void

[PATCH v2 07/11] tty: Remove unnecessary re-test of ldisc ref count

2012-12-14 Thread Peter Hurley
Since the tty->ldisc is prevented from being changed by tty_set_ldisc() when a tty is being hung up, re-testing the ldisc user count is unnecessary -- ie, it cannot be a different ldisc and the user count cannot have increased (assuming the caller meets the precondition that TTY_LDISC flag is

[PATCH v2 00/11] tty: Fix buffer work access-after-free

2012-12-14 Thread Peter Hurley
I wasn't sure if this is something to squeeze into 3.8, so don't yell if not. At least Sasha can apply this and re-test against trinity. Changes in v2: - Please review "tty: Don't flush buffer when closing ldisc". This patch replaces the earlier "tty: Don't reschedule buffer work while

Re: [PATCH 10/12] mac802154: fix destructon ordering for ieee802154 devices

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 15:03:03 +0400 > mutex_destroy() must be called before wpan_phy_free(), because it puts the > last > reference and frees memory. Catched as overwritten poison in kmalloc-2048. > > Signed-off-by: Konstantin Khlebnikov Applied. -- To

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-14 Thread H. Peter Anvin
On 12/14/2012 01:11 AM, Yinghai Lu wrote: > > attached works on kvm local, but SMP does not work yet. > SMP should be easy... it is probably just a matter of getting through the trampoline sequence properly. I will look at this shortly. -hpa -- To unsubscribe from this list: send

Re: [PATCH 07/12] stmmac: fix platform driver unregistering

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 15:02:51 +0400 > This patch fixes platform device drivers unregistering and adds proper error > handing on module loading. > > Signed-off-by: Konstantin Khlebnikov Applied. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 08/12] bonding: do not cancel works in bond_uninit()

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 15:02:55 +0400 > Bonding initializes these works in bond_open() and cancels in bond_close(), > thus in bond_uninit() they are already canceled but may be unitialized yet. > > Signed-off-by: Konstantin Khlebnikov Applied. -- To unsubscribe

Re: [PATCH 03/12] mISDN: fix race in timer canceling on module unloading

2012-12-14 Thread David Miller
From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 15:02:36 +0400 > Using timer_pending() without additional syncronization is racy, > del_timer_sync() must be used here for waiting in-flight handler. > Bug caught with help from "debug-objects" during random insmod/rmmod. > > Signed-off-by:

Re: [PATCH] tuntap: fix ambigious multiqueue API

2012-12-14 Thread David Miller
From: Jason Wang Date: Fri, 14 Dec 2012 17:53:30 +0800 > The current multiqueue API is ambigious which may confuse both user and LSM to > do things correctly: > > - Both TUNSETIFF and TUNSETQUEUE could be used to create the queues of a > tuntap > device. > - TUNSETQUEUE were used to disable

Re: [PATCH v2] OMAP2+: mux: Fixed gpio mux mode analysis.

2012-12-14 Thread Tony Lindgren
* oleg.matcovs...@ti.com [121126 17:04]: > From: Oleg Matcovschi > > OMAP_MODE_GPIO() macro verified only OMAP_MUX_MODE4. > It is not correct for following platforms: > 2430 - gpio mux mode 3 > 44xx - gpio mux mode 3 > 54xx - gpio mux mode 6 > > Patch reserves first 3 bits in

Re: [RFC][PATCH] Fix cap_capable to only allow owners in the parent user namespace to have caps.

2012-12-14 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Eric W. Biederman (ebied...@xmission.com): >> "Serge E. Hallyn" writes: >> >> > Quoting Eric W. Biederman (ebied...@xmission.com): >> >> "Serge E. Hallyn" writes: >> >> >> >> > Quoting Eric W. Biederman (ebied...@xmission.com): >> >> >> >> >> >> Andy

Re: GPF in read_extent_buffer while scrubbing on 3.7.0-rc8-00014-g27d7c2a

2012-12-14 Thread Mathieu Chouquet-Stringer
Hi, Anyone has any idea about what I should try next regarding this bug? On Mon, Dec 10, 2012 at 11:21:25PM +0100, Mathieu Chouquet-Stringer wrote: > after enabling page alloc and slub debug, I was able to capture an error > followed by the "usual" GPF. More below. > > On Thu, Dec 06,

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-14 Thread Oleg Nesterov
On 12/13, Srivatsa S. Bhat wrote: > > On 12/13/2012 09:47 PM, Oleg Nesterov wrote: > > On 12/13, Srivatsa S. Bhat wrote: > >> > >> On 12/13/2012 12:42 AM, Srivatsa S. Bhat wrote: > >>> > >>> Even I don't spot anything wrong with it. But I'll give it some more > >>> thought.. > >> > >> Since an

Re: [PATCH RESEND 0/6 v10] gpio: Add block GPIO

2012-12-14 Thread Wolfgang Grandegger
On 12/14/2012 03:26 PM, Roland Stigge wrote: > This set of patches adds: > > * Block GPIO API to gpiolib > * Sysfs support for GPIO API, to provide userland access > * Device interface for userland access (alternative to sysfs) > * Devicetree support to instantiate GPIO blocks via DT > * Example

Subject: [PATCH] [lmk] improve ANR produce rate caused by high io wait on android,create a thread for lowmem killer instead of usingkswapd

2012-12-14 Thread Tu, Xiaobing
Resend to fix the typo issue. Subject: [PATCH] [lmk] create a thread for low mem killer instead of using kswapd Currently low mem killer is registered as a shrinker and will be invoked by kswapd. Since low mem killer and kswapd has different criteria to invoke to work -- kswap wakes up when

Re: [GIT PULL] user namespace and namespace infrastructure changes for 3.8

2012-12-14 Thread Eric W. Biederman
Andy Lutomirski writes: > On Thu, Dec 13, 2012 at 8:11 PM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: >> >>> One more issue: the requirement that both upper and lower uids (etc.) >>> in the maps are in order is rather limiting. I have no objection if >>> you only require upper ids

Re: [PATCH] nfs: Don't return referenced delegations

2012-12-14 Thread Myklebust, Trond
On Fri, 2012-12-14 at 20:53 +0800, Yanchuan Nian wrote: > > > 2012/12/13 Myklebust, Trond > On Thu, 2012-12-13 at 14:37 +0800, ycn...@gmail.com wrote: > > From: Yanchuan Nian > > > > The client returns unreferenced delegations in state > management. It

Re: [PATCH 1/2] cpuidle: fix finding state with min power_usage

2012-12-14 Thread Rik van Riel
On 12/14/2012 08:17 AM, Sivaram Nair wrote: Since cpuidle_state.power_usage is a signed value, use INT_MAX (instead of -1) to init the local copies so that functions that tries to find cpuidle states with minimum power usage works correctly even if they use non-negative values. Signed-off-by:

Re: [PATCH] avoid entropy starvation due to stack protection

2012-12-14 Thread Stephan Mueller
On 13.12.2012 08:44:36, +0100, Stephan Mueller wrote: Hi Andrew, > On 13.12.2012 01:43:21, +0100, Andrew Morton > wrote: > > Hi Andrew, >> On Tue, 11 Dec 2012 13:33:04 +0100 >> Stephan Mueller wrote: >> >>> Some time ago, I noticed the fact that for every newly >>> executed process, the

Re: [PATCH] ARM: EXYNOS: Fix MSHC clocks instance names

2012-12-14 Thread Thomas Abraham
On 14 December 2012 21:43, Dongjin Kim wrote: > Replace clock instance name of MSHC controller for BIC and CIU of Exynos4412. > > Signed-off-by: Dongjin Kim > --- > arch/arm/mach-exynos/clock-exynos4.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH] arch/tile: clean up tile-specific PTRACE_SETOPTIONS

2012-12-14 Thread Oleg Nesterov
On 12/13, Chris Metcalf wrote: > > Use the newer idioms for setting PTRACE_O_xxx and PT_TRACE_xxx flags. > Only set/clear tile-specific flags if the generic routine returns > success, since otherwise we want to avoid setting any flags at all. > Atomically update the ptrace flags with the new

Re: [PATCH] ARM: OMAP3: Devkit8000: Add DDC i2c_bus_num

2012-12-14 Thread Tony Lindgren
* Tony Lindgren [121214 09:23]: > * Thomas Weber [121115 10:14]: > > Add i2c bus number for DVI output. > > The driver uses this to detect if a panel is connected and to read EDID. > > Thanks applying into omap-for-v3.8/fixes-for-merge-window. Oops, dropping and using Tomi's generic version

Re: [PATCH] ARM: OMAP3: Devkit8000: Add DDC i2c_bus_num

2012-12-14 Thread Tony Lindgren
* Thomas Weber [121115 10:14]: > Add i2c bus number for DVI output. > The driver uses this to detect if a panel is connected and to read EDID. Thanks applying into omap-for-v3.8/fixes-for-merge-window. Regards, Tony > Signed-off-by: Thomas Weber > --- >

Re: [PATCH] ipmi: add new kernel options to prevent automatic ipmi init

2012-12-14 Thread Evans, Robert
Corey, Thanks for the thoughtful reply. Below I respond in detail to these three points. 1) Why building a variant kernel with ipmi_si as a module is not feasible. 2) User mode access to IPMI on Stratus systems (e.g. ipmitool). 3) ipmi_si hot removal seems to not work as needed. Stratus

Re: [PATCH v2 -tip 3/4] tracing: make a snapshot feature available from userspace

2012-12-14 Thread Steven Rostedt
On Fri, 2012-12-07 at 11:07 +0900, Hiraku Toyooka wrote: > Hi, Steven, > > (2012/11/30 23:17), Steven Rostedt wrote: > [snip] > > > > Actually, I would have: > > > > status\input | 0 | 1 |else| > > --++++ > > not

Re: [PATCH] ipmi: add new kernel options to prevent automatic ipmi init

2012-12-14 Thread Corey Minyard
On 12/14/2012 10:25 AM, Evans, Robert wrote: Corey, Thanks for the thoughtful reply. Below I respond in detail to these three points. 1) Why building a variant kernel with ipmi_si as a module is not feasible. 2) User mode access to IPMI on Stratus systems (e.g. ipmitool). 3) ipmi_si hot

Re: [PATCH 0/6] staging:rtl8192u: begin cleanup of some checkpatch errors

2012-12-14 Thread Dan Carpenter
On Fri, Dec 14, 2012 at 06:00:02PM +0100, Jennifer Naumann wrote: > On 12/05/2012 09:40 PM, Sebastian Hahn wrote: > >Jennifer and I have started making the rtl8192u driver conform with the > >CodingStyle rules a little better. We started out with a cleanfile run, > >then did corrections for

[PATCH] staging: Enable parport sb105x drivers if parport is configured

2012-12-14 Thread Steven Rostedt
Some of the drivers that the sb105x SystemBase handles are for parallel port cards. If PARPORT isn't configured, the build fails. Only initialize the parallel port cards if PARPORT is configured in. Reported-by: Wu Fengguang Signed-off-by: Steven Rostedt diff --git

Re: [PATCH] clk: debug clock tree

2012-12-14 Thread Mike Turquette
On Fri, Dec 14, 2012 at 2:43 AM, Peter De Schrijver wrote: > On Thu, Dec 13, 2012 at 07:01:31PM +0100, Stephen Warren wrote: >> On 12/13/2012 09:27 AM, Mike Turquette wrote: >> > On Wed, Dec 12, 2012 at 7:49 PM, Prashant Gaikwad >> > wrote: >> >> Adds debug file "clock_tree" in

Re: [PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-14 Thread Lars-Peter Clausen
On 12/14/2012 04:24 PM, Alexander Holler wrote: > Am 14.12.2012 15:34, schrieb Lars-Peter Clausen: >> On 12/14/2012 03:29 PM, Alexander Holler wrote: >>> Am 14.12.2012 15:15, schrieb Alexander Holler: Am 14.12.2012 14:08, schrieb Alexander Holler: > Am 14.12.2012 10:42, schrieb Lars-Peter

Subject: [PATCH] [lmk] improve ANR produce rate caused by high io wait on android,create a thread for lowmem killer instead of usingkswapd

2012-12-14 Thread Tu, Xiaobing
Subject: [PATCH] [lmk] create a thread for low mem killer instead of using kswapd Currently low mem killer is registered as a shrinker and will be invoked by kswapd. Since low mem killer and kswapd has different criteria to invoke to work -- kswap wakes up when watermark of some certain order in

[PATCH 02/21] gpio: ab8500: Make pins configurable

2012-12-14 Thread Lee Jones
From: Mian Yousaf Kaukab Make it possible to set the pin configuration either as gpio or specific functionality through the driver interface. Signed-off-by: Lee Jones Signed-off-by: Bengt Jonsson Signed-off-by: Mian Yousaf Kaukab Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c

[PATCH 04/21] gpio: ab8500: Read register corrected in get_value api

2012-12-14 Thread Lee Jones
From: Bibek Basu Read register is corrected from "AB8500_GPIO_OUT1_REG" to "AB8500_GPIO_IN1_REG" in get_value api Signed-off-by: Lee Jones Signed-off-by: Bibek Basu Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c |2 +-

[PATCH 06/21] gpio: ab8500: Add api to enable pulldown

2012-12-14 Thread Lee Jones
From: Mian Yousaf Kaukab Signed-off-by: Lee Jones Signed-off-by: Bibek Basu Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c | 17 + include/linux/mfd/abx500/ab8500-gpio.h |3 +++ 2 files

[PATCH 10/21] gpio: ab8500: Add support for the AB9540

2012-12-14 Thread Lee Jones
From: Michel JAOUEN Signed-off-by: Lee Jones Signed-off-by: Maxime Coquelin Signed-off-by: Alex MACRO Signed-off-by: Michel JAOUEN Reviewed-by: Jonas ABERG Reviewed-by: Bengt JONSSON Reviewed-by: Bibek BASU --- drivers/gpio/gpio-ab8500.c | 92

[PATCH 11/21] gpio: ab8500: Add support for AB8505 Chip

2012-12-14 Thread Lee Jones
From: Naga Radhesh Number of gpio pins has been changed for AB8505, so change gpio configurations according to AB8505. Signed-off-by: Lee Jones Signed-off-by: Naga Radhesh Reviewed-by: Bibek BASU Reviewed-by: Jonas ABERG Reviewed-by: Srinidhi KASAGAR --- drivers/gpio/gpio-ab8500.c | 41

[PATCH 08/21] gpio: ab8500: Fix gpio offset bounds for irq mapping

2012-12-14 Thread Lee Jones
From: Mian Yousaf Kaukab AB8500 gpio numbers start from 1 and not 0 so the offset 0 represents gpio 1. Fixing cluster bounds accordingly for irq mappings. Signed-off-by: Lee Jones Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG ---

[PATCH 03/21] gpio: ab8500: Fix alternate function register address

2012-12-14 Thread Lee Jones
From: Bibek Basu Alternate function register address is actually 0x50 and thus changed accordingly. Signed-off-by: Lee Jones Signed-off-by: Bibek Basu Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c |2 +- 1 file

[PATCH 01/21] gpio: ab8500: Activate and port AB8500 GPIO driver to new framework

2012-12-14 Thread Lee Jones
From: Philippe Langlais The AB8500 GPIO driver is currently marked as broken, as it's still using the old framework. This patch brings it back up to scratch and enables it so we can make good use of it once more. Signed-off-by: Lee Jones Signed-off-by: Philippe Langlais ---

[PATCH 00/21] gpio: ab8500: Bring AB8500 back to life

2012-12-14 Thread Lee Jones
The ab8500 GPIO driver is currently 'BROKEN', due to a lack of updates and recent frame-work adoption. This patch-set aims to bring the driver back to life so we may make use of it again. This first stage is to bring it into line with ST-Ericsson's internal track, which has been keeping

[PATCH 12/21] gpio: ab8500: Allow gpios to wake the system from suspend

2012-12-14 Thread Lee Jones
From: Paer-Olof Haakansson Signed-off-by: Lee Jones Signed-off-by: Paer-Olof Haakansson Reviewed-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index

[PATCH 13/21] gpio: ab8500: Use most recent run-time platform checker

2012-12-14 Thread Lee Jones
From: Michel JAOUEN Use is_ab9540() instead of cpu_is_u9540() when checking platform. Signed-off-by: Lee Jones Signed-off-by: Michel JAOUEN Reviewed-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 17/21] gpio: ab8500: Add the action range for the internal pull up function on GPIO

2012-12-14 Thread Lee Jones
From: Yang QU Only 4 GPIOs named GPIOx_VBAT have both internal pull up and pull down capability on ab8540. Limit the action range for this function. Signed-off-by: Lee Jones Signed-off-by: Yang QU Reviewed-by: Per FORLIN --- drivers/gpio/gpio-ab8500.c | 54

[PATCH 14/21] gpio: ab8500: Remove ENUMs from linux/mfd/abx500/ab8500-gpio.h

2012-12-14 Thread Lee Jones
These are no longer used and will be replaced by a simple macro. Signed-off-by: Lee Jones --- drivers/gpio/gpio-ab8500.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index 200c605..ab6ceac 100644 ---

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2012-12-14 Thread Stephen Warren
On 12/13/2012 11:09 PM, Terje Bergström wrote: > On 13.12.2012 19:58, Stephen Warren wrote: >> On 12/13/2012 01:57 AM, Thierry Reding wrote: >>> After some more discussion with Stephen on IRC we came to the >>> conclusion that the easiest might be to have tegra-drm call into >>> host1x with

[PATCH 19/21] gpio: ab8500: Update gpio ab8540 interrupt mapping

2012-12-14 Thread Lee Jones
From: Yang QU Add some GPIOs used as interrupt on ab8540 and modify the setting strategy of the interrupt line. Signed-off-by: Lee Jones Signed-off-by: Yang QU Reviewed-by: Rabin VINCENT Reviewed-by: Xiao Mei ZHANG Tested-by: Yang QU --- drivers/gpio/gpio-ab8500.c | 50

[PATCH 15/21] gpio: ab8500: Add support for the ab8540

2012-12-14 Thread Lee Jones
From: Alexandre Torgue Signed-off-by: Lee Jones Signed-off-by: Alexandre Torgue Reviewed-by: Maxime COQUELIN Reviewed-by: Marcus COOPER Reviewed-by: Mattias WALLIN --- drivers/gpio/gpio-ab8500.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

[PATCH 09/21] gpio: ab8500: Fix bad include name after renaming

2012-12-14 Thread Lee Jones
From: Philippe Langlais Signed-off-by: Lee Jones Signed-off-by: Philippe Langlais --- drivers/gpio/gpio-ab8500.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index a0253ad..273f7ca 100644 ---

[PATCH 16/21] gpio: ab8500: Add internal pull up on GPIO of ab8540

2012-12-14 Thread Lee Jones
From: Alexandre Torgue Add 4 GPIOs named GPIOx_VBAT which have both internal pull up and pull down capability on ab8540. We can also select different voltage domains for GPIOx_VBAT. Signed-off-by: Lee Jones Signed-off-by: Yang QU Reviewed-by: Alexandre TORGUE Reviewed-by: Philippe LANGLAIS

[PATCH 07/21] gpio: ab8500: Write argument value instead of hardwired 1

2012-12-14 Thread Lee Jones
From: Marcel Tunnissen This fixes a bug in gpio_set_value(xxx, 0) for ab8500 GPIOs. Signed-off-by: Lee Jones Signed-off-by: Marcel Tunnissen Reviewed-by: Jonas ABERG Tested-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 20/21] gpio: ab8500: Fix ab8540 setting direction output error

2012-12-14 Thread Lee Jones
From: Yang QU Set GpioPullUpDownSel register for direction output function as GPIO51 to GPIO54 not share the same register with other GPIOs on AB8540. Signed-off-by: Lee Jones Signed-off-by: Yang QU Reviewed-by: Patrick DELAUNAY Reviewed-by: Xiao Mei ZHANG Reviewed-by: Philippe LANGLAIS

[PATCH 18/21] gpio: ab8500: Fix parameter uninitialized warning for ab8540

2012-12-14 Thread Lee Jones
From: Yang QU Missing initial value in ab8540 gpio configuration function. So initialize it and fix this warning. Signed-off-by: Lee Jones Signed-off-by: Yang QU Reviewed-by: Rabin VINCENT --- drivers/gpio/gpio-ab8500.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 21/21] gpio: ab8500: Add explicit dependencies

2012-12-14 Thread Lee Jones
From: Linus Walleij This driver is using symbols from so include this file explicitly. Signed-off-by: Lee Jones Signed-off-by: Linus Walleij Reviewed-by: Philippe LANGLAIS --- drivers/gpio/gpio-ab8500.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-ab8500.c

[PATCH 05/21] gpio: ab8500: Allow direction and pullups configuration

2012-12-14 Thread Lee Jones
From: Mian Yousaf Kaukab This patch extends the the platform data to include gpio direction and pullups configurations. These configurations are applied during probe(). Signed-off-by: Lee Jones Signed-off-by: Bibek Basu Signed-off-by: Mian Yousaf Kaukab Reviewed-by: Jonas ABERG Tested-by:

[PATCH] ARM: EXYNOS: Fix MSHC clocks instance names

2012-12-14 Thread Dongjin Kim
Replace clock instance name of MSHC controller for BIC and CIU of Exynos4412. Signed-off-by: Dongjin Kim --- arch/arm/mach-exynos/clock-exynos4.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos4.c

Re: [patch 2/8] mm: vmscan: disregard swappiness shortly before going OOM

2012-12-14 Thread Michal Hocko
On Fri 14-12-12 10:43:55, Rik van Riel wrote: > On 12/14/2012 03:37 AM, Michal Hocko wrote: > > >I can answer the later. Because memsw comes with its price and > >swappiness is much cheaper. On the other hand it makes sense that > >swappiness==0 doesn't swap at all. Or do you think we should get

Re: power: Add simple poweroff-gpio driver

2012-12-14 Thread Stephen Warren
On 12/14/2012 08:08 AM, Dave Jones wrote: > On Fri, Dec 14, 2012 at 09:21:50AM +0100, Andrew Lunn wrote: > > > > Given this seems to be dependant on device-tree, shouldn't there be > > > some 'depends on' in the kconfig to prevent this showing up on > architectures > > > that don't implement

Re: [PATCH] mm: Downgrade mmap_sem before locking or populating on mmap

2012-12-14 Thread Andy Lutomirski
On Fri, Dec 14, 2012 at 6:49 AM, Al Viro wrote: > On Fri, Dec 14, 2012 at 03:14:50AM -0800, Andy Lutomirski wrote: > >> > Wait a minute. get_user_pages() relies on ->mmap_sem being held. Unless >> > I'm seriously misreading your patch it removes that protection. And yes, >> > I'm aware of

Re: [RFC][PATCH] Fix cap_capable to only allow owners in the parent user namespace to have caps.

2012-12-14 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > "Serge E. Hallyn" writes: > > > Quoting Eric W. Biederman (ebied...@xmission.com): > >> "Serge E. Hallyn" writes: > >> > >> > Quoting Eric W. Biederman (ebied...@xmission.com): > >> >> > >> >> Andy Lutomirski pointed out that the current

[RFCv2 03/11] remoteproc: Set vring addresses in resource table

2012-12-14 Thread Sjur Brændeland
Set the vring addresses in the resource table so that the remote device can read the actual addresses used. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c |5 + include/linux/remoteproc.h |2 ++ 2 files changed, 7 insertions(+), 0 deletions(-)

[RFCv2 02/11] remoteproc: Move check on firmware name to rproc_add

2012-12-14 Thread Sjur Brændeland
Verify that firmware name is defined in rproc_add. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index

[RFCv2 00/10] remoteproc: Support bi-directional vdev config space

2012-12-14 Thread Sjur Brændeland
Changes since v1: - Separate vring allocation and registration - Break up patches in smaller parts to facilitate review. (The patches here are perhaps too fine grained and can be squashed later). This patch-set adds support for shared resource table between Linux kernel and remote devices.

[RFCv2 08/11] remoteproc: Refactor function rproc_elf_find_rsc_table

2012-12-14 Thread Sjur Brændeland
Refatcor rproc_elf_find_rsc_table and split out the scanning for the section header named resource table. This is done to prepare for loading firmware once. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_elf_loader.c | 83 +--- 1 files changed, 51

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