Re: [PATCH v9 1/2] x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary

2012-12-04 Thread Zhang Yanfei
于 2012年12月05日 04:14, Eric W. Biederman 写道: > Zhang Yanfei writes: > >> This patch provides a way to VMCLEAR VMCSs related to guests >> on all cpus before executing the VMXOFF when doing kdump. This >> is used to ensure the VMCSs in the vmcore updated and >> non-corrupted. > > Apologies for the

Re: ccache: FATAL: Could not create /scratch/kisskb/ccache

2012-12-04 Thread Michael Ellerman
On Wed, 2012-11-14 at 09:03 +0100, Geert Uytterhoeven wrote: > Hi Stephen, > > On Sat, Nov 3, 2012 at 12:19 AM, Stephen Rothwell > wrote: > > On Fri, 2 Nov 2012 19:44:48 +0100 Geert Uytterhoeven > > wrote: > >> http://kisskb.ellerman.id.au/kisskb/buildresult/7458505/ > >> > >> ccache: FATAL:

Re: [PATCH] SUNRPC: connect to UNIX sockets synchronously

2012-12-04 Thread Stanislav Kinsbursky
04.12.2012 18:20, Eric Paris пишет: On Tue, Dec 4, 2012 at 6:10 AM, Stanislav Kinsbursky wrote: But there should be noted, that such implementation introduces limitation (Trond's quote): "That approach can fall afoul of the selinux restrictions on the process context. Processes that are

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread Takashi Iwai
At Tue, 04 Dec 2012 18:17:28 +, David Howells wrote: > > Michal Marek wrote: > > > Using the asm .incbin statement in C sources breaks any gcc wrapper which > > assumes that preprocessed C source is self-contained. Use a separate .S > > file to include the siging key and certificate. > > I

Re: [patch,v2] bdi: add a user-tunable cpu_list for the bdi flusher threads

2012-12-04 Thread Jens Axboe
On 2012-12-04 23:26, Jeff Moyer wrote: > Jens Axboe writes: > > @@ -437,6 +488,14 @@ static int bdi_forker_thread(void *ptr) > spin_lock_bh(>wb_lock); > bdi->wb.task = task; > spin_unlock_bh(>wb_lock);

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread Takashi Iwai
At Wed, 05 Dec 2012 10:28:48 +1030, Rusty Russell wrote: > > David Howells writes: > > > Michal Marek wrote: > > > >> Using the asm .incbin statement in C sources breaks any gcc wrapper which > >> assumes that preprocessed C source is self-contained. Use a separate .S > >> file to include the

Re: [PATCH] memory: of_memory.c: remove unnecessary initialization

2012-12-04 Thread Li, Zhen-Hua
Infact, your patch does remove an orl operation, but add a new "move" operation. You can test such two functions: int func1(int rm1, int rm2){ int i = 0; i |= rm1; i |= rm2; } and int func(int rm1, int rm2){ int i; i = rm1; i |= rm2; } Use gcc to

[PATCH] tmpfs: fix shared mempolicy leak

2012-12-04 Thread Hugh Dickins
From: Mel Gorman Commit 00442ad04a5e ("mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()") changed get_vma_policy() to raise the refcount on a shmem shared mempolicy; whereas shmem_alloc_page() went on expecting alloc_page_vma() to drop the refcount it had acquired.

Re: [PATCH] staging: rtl8712: avoid a useless call to memset().

2012-12-04 Thread Dan Carpenter
On Wed, Dec 05, 2012 at 02:22:02AM +0100, Cyril Roelandt wrote: > In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that > has just been zeroed by a call to memset(). > I look at it like the original code is fine. Your version is also fine but is it worth the churn?

Look Ma, da kernel is b0rken

2012-12-04 Thread Andreas Mohr
Hi, drivers/pnp/pnpacpi/core.c: In function 'ispnpidacpi': drivers/pnp/pnpacpi/core.c:65:2: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] drivers/pnp/pnpacpi/core.c:66:2: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op]

Re: [PATCH 0/4] sched: fork/exec/wake clean up

2012-12-04 Thread Alex Shi
On Mon, Dec 3, 2012 at 9:54 PM, Alex Shi wrote: > This patchset try to clean up select_task_rq_fair which used for > fork/exec/wake scheduling. > > With this patchset, our system NHM EX and SNB EP 4 socket machine > has 10% hackbench performance increase. Any comments for this patchset? > >

Re: [V2 PATCH 1/2] rtc: sa1100: move clock enable/disable to probe/remove

2012-12-04 Thread Haojian Zhuang
On Wed, Dec 5, 2012 at 2:49 PM, Chao Xie wrote: > The original sa1100_rtc_open/sa1100_rtc_release will be called > when the /dev/rtc0 is opened or closed. > In fact, these two functions will enable/disable the clock. > Disabling clock will make rtc not work. > So only enable/disable clock when

Re: [V2 PATCH 2/2] rtc: pxa: add pxa95x rtc support

2012-12-04 Thread Haojian Zhuang
On Wed, Dec 5, 2012 at 2:49 PM, Chao Xie wrote: > the pxa95x rtc need access PBSR register before write to > RTTR, RCNR, RDCR, and RYCR registers. > > Signed-off-by: Chao Xie > --- > drivers/rtc/rtc-pxa.c | 100 +--- > 1 files changed, 85

Re: [RFC v2] Support volatile range for anon vma

2012-12-04 Thread Minchan Kim
Hi John, On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: > On 12/03/2012 11:22 PM, Minchan Kim wrote: > >On Mon, Dec 03, 2012 at 04:57:20PM -0800, John Stultz wrote: > >>On 12/03/2012 04:00 PM, Minchan Kim wrote: > >>>On Wed, Nov 28, 2012 at 08:18:01PM -0800, John Stultz wrote: >

[PATCH 1/3] perf hists: Exchange order of comparing items when collapsing hists

2012-12-04 Thread Namhyung Kim
From: Namhyung Kim When comparing entries for collapsing put the given entry first, and then the iterated entry. This is not the case of hist_entry__cmp() when called if given sort keys don't require collapsing. So change the order for the sake of consistency. It will be required for matching

[PATCH 3/3] perf diff: Use internal rb tree for compute resort

2012-12-04 Thread Namhyung Kim
From: Namhyung Kim There's no reason to run hists_compute_resort() using output tree. Convert it to use internal tree so that it can remove unnecessary _output_resort. Also move position computation below the resort since it changes the output ordering. Cc: Jiri Olsa Cc: Stephane Eranian

[PATCH v2 0/3] perf hists: Changes on hists__{match,link}

2012-12-04 Thread Namhyung Kim
Hi Arnaldo, I exchanged arguments of hist_entry__cmp() and friends as you requested. You can get this on my perf/link-v2 branch at git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Thanks, Namhyung Namhyung Kim (3): perf hists: Exchange order of comparing items when

[PATCH 2/3] perf hists: Link hist entries before inserting to an output tree

2012-12-04 Thread Namhyung Kim
From: Namhyung Kim For matching and/or linking hist entries, they need to be sorted by given sort keys. However current hists__match/link did this on the output trees, so that the entries in the output tree need to be resort before doing it. This looks not so good since we have trees for

[V2 PATCH 2/2] rtc: pxa: add pxa95x rtc support

2012-12-04 Thread Chao Xie
the pxa95x rtc need access PBSR register before write to RTTR, RCNR, RDCR, and RYCR registers. Signed-off-by: Chao Xie --- drivers/rtc/rtc-pxa.c | 100 +--- 1 files changed, 85 insertions(+), 15 deletions(-) diff --git a/drivers/rtc/rtc-pxa.c

[V2 PATCH 1/2] rtc: sa1100: move clock enable/disable to probe/remove

2012-12-04 Thread Chao Xie
The original sa1100_rtc_open/sa1100_rtc_release will be called when the /dev/rtc0 is opened or closed. In fact, these two functions will enable/disable the clock. Disabling clock will make rtc not work. So only enable/disable clock when probe/remove the device. Signed-off-by: Chao Xie ---

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Heinz Diehl
On 05.12.2012, Lekensteyn wrote: > > I have now i915.i915_enable_rc6=0 in grub.cfg and disabled the XFCE > > compositor. Now I'm trying to hit the bug again... > Do you have a reliable reproduce method? As you can see in the linked bug it > was caused by relatively low memory pressure combined

Re: [PATCH net-next 2/3] virtio_net: multiqueue support

2012-12-04 Thread Jason Wang
On 12/04/2012 11:11 PM, Michael S. Tsirkin wrote: > On Tue, Dec 04, 2012 at 10:45:33PM +0800, Jason Wang wrote: >> On Tuesday, December 04, 2012 03:24:22 PM Michael S. Tsirkin wrote: >>> I found some bugs, see below. >>> Also some style nitpicking, this is not mandatory to address. >> Thanks for

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-12-04 Thread Hugh Dickins
On Tue, 4 Dec 2012, Hugh Dickins wrote: > > Yes, your patch fixes it Mel, but I prefer it as below, with a couple > of mods: removing the no longer true comment, and leaving shmem_swapin() > alone with just a comment. It appears to be the job of the rather weird > mpol_cond_copy() to drop the

RE: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-04 Thread Dudley Du
Hi Henrik, Kamal, Thanks for your review. And I add some comments in below. Thanks. Dudley Du d...@cypress.com > Hi Henrik- > > Thanks again for your review. The forthcoming PATCH v4 includes the majority > of your change requests, except where noted below (and considering my email >

Re: [PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-12-04 Thread Namjae Jeon
2012/12/4, OGAWA Hirofumi : > Namjae Jeon writes: > >> 2012/12/3, OGAWA Hirofumi : >>> Namjae Jeon writes: >>> From: Namjae Jeon This patch enables rebuilding of directory inodes which are not present in the cache.This is done by traversing the disk clusters to find the

Re: [PATCH v5 5/8] fat: restructure export_operations

2012-12-04 Thread Namjae Jeon
2012/12/4, OGAWA Hirofumi : > Namjae Jeon writes: > +static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, + struct fid *fh, int fh_len, + int fh_type) +{ + struct inode

Re: [PATCH] mfd: 88pm80x: add dt support

2012-12-04 Thread Qing Xu
On 12/05/2012 10:28 AM, Haojian Zhuang wrote: On Wed, Dec 5, 2012 at 10:23 AM, Qing Xu wrote: From: Qing Xu add dt support for 88pm800 and 88pm805 Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c | 26 +++--- drivers/mfd/88pm805.c | 26

[PATCH 2/2] Documentation: add docs for 88pm80x dt

2012-12-04 Thread Qing Xu
From: Qing Xu Signed-off-by: Qing Xu --- Documentation/devicetree/bindings/mfd/88pm80x.txt | 52 + 1 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/88pm80x.txt diff --git

[PATCH 1/2] mfd: 88pm80x: add dt support

2012-12-04 Thread Qing Xu
From: Qing Xu add dt support for 88pm800 and 88pm805 Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c | 26 +++--- drivers/mfd/88pm805.c | 26 +++--- drivers/mfd/88pm80x.c | 32

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-12-04 Thread Hugh Dickins
On Tue, 4 Dec 2012, Mel Gorman wrote: > On Tue, Dec 04, 2012 at 02:54:08PM +0200, Tommi Rantala wrote: > > 2012/10/9 Mel Gorman : > > > commit 00442ad04a5eac08a98255697c510e708f6082e2 upstream. > > > > > > Commit cc9a6c877661 ("cpuset: mm: reduce large amounts of memory barrier > > > related

Re: [lm-sensors] [PATCH] x86, AMD: Power driver support for AMD's family 16h processors

2012-12-04 Thread Guenter Roeck
On Tue, Dec 04, 2012 at 10:26:16AM -0700, Bjorn Helgaas wrote: > On Tue, Dec 4, 2012 at 5:10 AM, Boris Ostrovsky > wrote: > > Add family 16h PCI ID to AMD's power driver to allow it report > > power consumption on these processors. > > > > Signed-off-by: Boris Ostrovsky > > --- > >

Re: [PATCH RT 0/2][RFC] fix RCU stall warning on ARM

2012-12-04 Thread Frank Rowand
On 12/04/12 20:47, Frank Rowand wrote: > The RCU stall warning functions call trigger_all_cpu_backtrace() > to print a backtrace on each cpu. This function is only > implemented for x86. Add a version for ARM. > > With CONFIG_PREEMPT_RT_FULL enabled, flushing the output from > printk() is

Re: [PATCH RT 0/2][RFC] fix RCU stall warning on ARM

2012-12-04 Thread Frank Rowand
This patch should __not__ be committed to the RT_PREEMPT tree. Test scaffolding to force printing of rcu detected stall. Each time the specified value is echoed into the proc file, the routine to be tested will be called one time, from the context it would normally be called from. # test

[PATCH RT 2/2][RFC] let RCU stall messages escape with CONFIG_PREEMPT_RT_FULL

2012-12-04 Thread Frank Rowand
The printk()s in RCU stall warnings do not get flushed to the console on ARM. Add the oops_in_progress flag back into the special trylock case in console_trylock_for_printk(), and set the flag using "bust_spinlocks(1)". This allows the printk() output to be flushed to the console.

[PATCH RT 1/2][RFC] ARM version of arch_trigger_all_cpu_backtrace()

2012-12-04 Thread Frank Rowand
The RCU stall warning functions print_cpu_stall() and print_other_cpu_stall() call trigger_all_cpu_backtrace() to print a backtrace on each cpu. This function is only implemented for x86. Add a version for ARM. Signed-off-by: Frank Rowand --- arch/arm/include/asm/hardirq.h |2 1 + 1

[PATCH RT 0/2][RFC] fix RCU stall warning on ARM

2012-12-04 Thread Frank Rowand
The RCU stall warning functions call trigger_all_cpu_backtrace() to print a backtrace on each cpu. This function is only implemented for x86. Add a version for ARM. With CONFIG_PREEMPT_RT_FULL enabled, flushing the output from printk() is inhibited in some contexts to avoid increasing real time

Re: [RFC v2] Support volatile range for anon vma

2012-12-04 Thread Minchan Kim
On Tue, Dec 04, 2012 at 11:13:40AM -0800, John Stultz wrote: > On 12/03/2012 11:22 PM, Minchan Kim wrote: > >On Mon, Dec 03, 2012 at 04:57:20PM -0800, John Stultz wrote: > >>On 12/03/2012 04:00 PM, Minchan Kim wrote: > >>>On Wed, Nov 28, 2012 at 08:18:01PM -0800, John Stultz wrote: > On

Re: [PATCH] staging: rtl8712: avoid a useless call to memset().

2012-12-04 Thread Larry Finger
On 12/04/2012 07:22 PM, Cyril Roelandt wrote: In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that has just been zeroed by a call to memset(). Signed-off-by: Cyril Roelandt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c |3 ++- 1 file changed, 2

[ANNOUNCE] kmod 12

2012-12-04 Thread Lucas De Marchi
kmod 12 is out: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-12.tar.xz ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-12.tar.sign Bug fix release only. Copying the NEWS section here for brevity: - Fix removing vermagic from module when told to force load a module

Re: [RFC PATCH 01/10] CPU hotplug: Introduce "stable" cpu online mask, for atomic hotplug readers

2012-12-04 Thread Michael Wang
On 12/05/2012 10:56 AM, Michael Wang wrote: [...] >> >> I wonder about the cpu-online case. A typical caller might want to do: >> >> >> /* >> * Set each online CPU's "foo" to "bar" >> */ >> >> int global_bar; >> >> void set_cpu_foo(int bar) >> { >> get_online_cpus_stable_atomic(); >>

Re: Why a host not ping-able?

2012-12-04 Thread Woody Wu
On 2012-12-04, Rob Landley wrote: > On 12/04/2012 12:17:25 AM, Woody Wu wrote: >> Hi, list >> >> I am not sure this has something with kernel. > > It doesn't. > >> But the system I just >> generated cannot be reached from ping. It can ping outside, but if I >> ping it from outside, I just get

Re: [PATCH] Update atime from future.

2012-12-04 Thread Andreas Dilger
On 2012-12-04, at 13:24, Dave Chinner wrote: > On Tue, Dec 04, 2012 at 01:56:39AM +0800, yangsheng wrote: >> Relatime should update the inode atime if it is more than a day in the >> future. The original problem seen was a tarball that had a bad atime, >> but could also happen if someone

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

2012-12-04 Thread Jianguo Wu
Hi Tang, On 2012/12/5 10:07, Tang Chen wrote: > Hi Wu, > > On 12/04/2012 08:20 PM, Jianguo Wu wrote: > (snip) >>> >>> Seems that we have different ways to handle pages allocated by bootmem >>> or by regular allocator. Is the checking way in [PATCH 09/12] available >>> here ? >>> >>> +/*

Re: [PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250.

2012-12-04 Thread Abhilash Kesavan
Cc'ing missed out recipients -- Forwarded message -- From: Abhilash Kesavan Date: Tue, Dec 4, 2012 at 9:48 PM Subject: Re: [PATCH RFC] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250. To: linux...@vger.kernel.org Jonghwan Choi samsung.com> writes: > > > Hi Abhilash

Re: kswapd craziness in 3.7

2012-12-04 Thread Bruno Wolff III
On Tue, Dec 04, 2012 at 16:42:10 -0500, Johannes Weiner wrote: kernel-3.7.0-0.rc7.git1.2.van.main.knurd.kswap.4.fc18.i686 and kernel-3.7.0-0.rc7.git1.2.van.main.knurd.kswap.4.fc18.x86_64 for over 24hours with no evidence of problems with kswapd" Now waiting for results from Jiri, Zdenek

Re: [PATCH 2/2, v2] mm/migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalable

2012-12-04 Thread Michel Lespinasse
On Sun, Dec 2, 2012 at 7:12 AM, Ingo Molnar wrote: > Subject: [PATCH] mm/rmap, migration: Make rmap_walk_anon() and > try_to_unmap_anon() more scalable > > rmap_walk_anon() and try_to_unmap_anon() appears to be too > careful about locking the anon vma: while it needs protection > against anon

Re: [RFC PATCH 01/10] CPU hotplug: Introduce "stable" cpu online mask, for atomic hotplug readers

2012-12-04 Thread Michael Wang
On 12/05/2012 06:10 AM, Andrew Morton wrote: > On Tue, 04 Dec 2012 14:23:41 +0530 > "Srivatsa S. Bhat" wrote: > >> From: Michael Wang >> >> There are places where preempt_disable() is used to prevent any CPU from >> going offline during the critical section. Let us call them as "atomic >>

[PATCH] mfd: arizona: Log if we fail to create the primary IRQ domain

2012-12-04 Thread Mark Brown
This is the only thing in probe for which we don't log an error. Signed-off-by: Mark Brown --- drivers/mfd/arizona-irq.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 113805d..2bec5f0 100644 --- a/drivers/mfd/arizona-irq.c +++

[PATCH] mfd: arizona: Disable control interface reporting for WM5102 and WM5110

2012-12-04 Thread Mark Brown
Rather than disabling the error reporting only for earlier revisions unconditionally disable it. Signed-off-by: Mark Brown --- This is a bug fix for later chip revisons. drivers/mfd/arizona-irq.c | 18 ++ 1 file changed, 2 insertions(+), 16 deletions(-) diff --git

Re: [RFC] dt/platform: Use cell-index for device naming if available

2012-12-04 Thread Stepan Moskovchenko
On 11/20/2012 8:19 AM, Grant Likely wrote: What if instead we added something like OF_ALIASES to the uevent attribute? Then userspace would have access to all the aliases for a device. Heck, even a shell script can parse the uevent attribute. There is also precedence for exporting OF data using

[PATCH] of: Output devicetree alias names in uevent

2012-12-04 Thread Stepan Moskovchenko
In some situations, userspace may want to resolve a device by function and logical number (ie, "serial0") rather than by the base address or full device path. Being able to resolve a device by alias frees userspace from the burden of otherwise having to maintain a mapping between device addresses

Re: [PATCH] mfd: 88pm80x: add dt support

2012-12-04 Thread Haojian Zhuang
On Wed, Dec 5, 2012 at 10:23 AM, Qing Xu wrote: > From: Qing Xu > > add dt support for 88pm800 and 88pm805 > > Signed-off-by: Qing Xu > --- > drivers/mfd/88pm800.c | 26 +++--- > drivers/mfd/88pm805.c | 26 +++--- > drivers/mfd/88pm80x.c

[PATCH] mfd: 88pm80x: add dt support

2012-12-04 Thread Qing Xu
From: Qing Xu add dt support for 88pm800 and 88pm805 Signed-off-by: Qing Xu --- drivers/mfd/88pm800.c | 26 +++--- drivers/mfd/88pm805.c | 26 +++--- drivers/mfd/88pm80x.c | 32

[PATCH v4 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-04 Thread Kamal Mostafa
From: Dudley Du Input/mouse driver for Cypress PS/2 Trackpad. Original code contributed by Dudley Du (Cypress Semiconductor Corporation), modified by Kamal Mostafa and Kyle Fazzari. BugLink: http://launchpad.net/bugs/978807 Signed-off-by: Dudley Du Signed-off-by: Kamal Mostafa

[PATCH v4 4/4] input: Cypress PS/2 Trackpad simulated multitouch (disabled)

2012-12-04 Thread Kamal Mostafa
This feature is disabled by default; enable with CYPRESS_SIMULATED_MT. Instead of SEMI_MT, present a full mt interface with simulated contact positions for >=3 fingers. Enables e.g. multi-finger tap and drag for old userspace applications which only count the contact positions. Signed-off-by:

[PATCH v4 3/4] input: Cypress PS/2 Trackpad link into psmouse-base

2012-12-04 Thread Kamal Mostafa
From: Dudley Du Original code contributed by Dudley Du (Cypress Semiconductor Corporation), modified by Kamal Mostafa. BugLink: http://launchpad.net/bugs/978807 Signed-off-by: Dudley Du Signed-off-by: Kamal Mostafa Signed-off-by: Mario Limonciello Signed-off-by: Tim Gardner ---

[PATCH v4 0/4] Cypress PS/2 Trackpad driver

2012-12-04 Thread Kamal Mostafa
This driver, submitted on behalf of Cypress Semiconductor Corporation and additional contributors, provides support for the Cypress PS/2 Trackpad. This [PATCH v4] version differs from my previous submitted version[2]: Patch #1 (cmdbuf to 8 bytes) and #3 (link in driver) are unchanged. Patch

[PATCH v4 1/4] input: increase struct ps2dev cmdbuf[] to 8 bytes

2012-12-04 Thread Kamal Mostafa
Cypress PS/2 Trackpad (drivers/input/mouse/cypress_ps2.c) needs this larger cmdbuf[] to handle 8-byte packet responses. Signed-off-by: Kamal Mostafa --- include/linux/libps2.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/libps2.h b/include/linux/libps2.h

Re: [PATCH v3 2/4] input: Cypress PS/2 Trackpad psmouse driver

2012-12-04 Thread Kamal Mostafa
Hi Henrik- Thanks again for your review. The forthcoming PATCH v4 includes the majority of your change requests, except where noted below (and considering my email "Subject: SEMI_MT vs. simulated mt")... On Mon, 2012-12-03 at 08:45 +0100, Henrik Rydberg wrote: > > + /* > > +

SEMI_MT vs. simulated mt (was Re: [PATCH v3 0/4] Cypress PS/2 Trackpad driver)

2012-12-04 Thread Kamal Mostafa
Hi Dmitry and Henrik- Regarding SEMI_MT vs. "simulated multitouch" . . . > > > > Patch #4 (new) reintroduces simulated multitouch for up to 5 fingers > > (#if CYPRESS_SIMULATE_MT), disabling SEMI_MT again. > > > > If that functionality (support for >2 fingers) can be acheived in some > >

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Kevin Liu
2012/12/5 Mark Brown > > On Tue, Dec 04, 2012 at 10:50:03PM +0800, Kevin Liu wrote: > > 2012/12/4 Marek Szyprowski : > > > > + if (host->vmmc && regulator_get_voltage(host->vmmc) > 0) { > > > ret = regulator_is_supported_voltage(host->vmmc, > > > 270, > > >

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

2012-12-04 Thread Tang Chen
Hi Wu, On 12/04/2012 08:20 PM, Jianguo Wu wrote: (snip) Seems that we have different ways to handle pages allocated by bootmem or by regular allocator. Is the checking way in [PATCH 09/12] available here ? +/* bootmem page has reserved flag */ +if (PageReserved(page)) { .. +}

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-04 Thread Chen Gang
于 2012年12月04日 00:03, Paul Fulghum 写道: > On 12/2/2012 8:20 PM, Chen Gang wrote: >> pardon (I am just learning) >> does 65535 mean HDLC_MAX_FRAME_SIZE ? >> why do we need info->max_frame_size >= 4096 ? >> in drivers/tty/synclink_gt.c: >> 3550 if (info->max_frame_size < 4096) >> 3551

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Mark Brown
On Tue, Dec 04, 2012 at 10:50:03PM +0800, Kevin Liu wrote: > 2012/12/4 Marek Szyprowski : > > + if (host->vmmc && regulator_get_voltage(host->vmmc) > 0) { > > ret = regulator_is_supported_voltage(host->vmmc, 270, > > 360); > >

[PULL] More module signing fixes.

2012-12-04 Thread Rusty Russell
David gave me these a month ago, during my git workflow churn :( The following changes since commit df2fc246c8ee8b6067af1fa55d3bc23107457f61: Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux (2012-12-04 09:32:12 -0800) are available in the git repository at:

Re: [PATCH 1/3] MODSIGN: Fix comparison erros in scripts/sign-file

2012-12-04 Thread Rusty Russell
Michal Marek writes: > Signed-off-by: Michal Marek > --- > scripts/sign-file |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/scripts/sign-file b/scripts/sign-file > index 87ca59d..974a20b 100755 > --- a/scripts/sign-file > +++ b/scripts/sign-file > @@ -156,12

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread Rusty Russell
David Howells writes: > Michal Marek wrote: > >> Using the asm .incbin statement in C sources breaks any gcc wrapper which >> assumes that preprocessed C source is self-contained. Use a separate .S >> file to include the siging key and certificate. > > I was trying to avoid that as .S files

Re: [PATCH 2/2] i2c: pxa: Use i2c-core to get bus number now

2012-12-04 Thread Haojian Zhuang
On Thu, Nov 22, 2012 at 2:26 AM, Doug Anderson wrote: > The commit: "i2c-core: dt: Pick i2c bus number from i2c alias if > present" adds support for automatically picking the bus number based > on the alias ID. Remove the now unnecessary code from i2c-pxa that > did the same thing. > >

Re: [PATCH 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2012-12-04 Thread Haojian Zhuang
On Thu, Nov 22, 2012 at 2:26 AM, Doug Anderson wrote: > This allows you to get the equivalent functionality of > i2c_add_numbered_adapter() with all data in the device tree and no > special case code in your driver. This is a common device tree > technique. > > For quick reference, the FDT

[v2 PATCH 5/8] watchdog/at91sam9_wdt: Remove the __initdata of at91wdt_wdd

2012-12-04 Thread Wenyou Yang
For this variable will be used in the timer handler. Signed-off-by: Wenyou Yang Cc: w...@iguana.be Cc: linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/watchdog/at91sam9_wdt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[v2 PATCH 6/8] watchdog/at91sam9_wdt: Use module_platform_driver()

2012-12-04 Thread Wenyou Yang
Using module_platform_driver() replaces module_init() and module_exit() and makes the code simpler. Signed-off-by: Wenyou Yang Cc: w...@iguana.be Cc: linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/watchdog/at91sam9_wdt.c | 14 ++ 1 file changed, 2

[v2 PATCH 2/8] watchdog/at91sam9_wdt: Convert to use the watchdog framework

2012-12-04 Thread Wenyou Yang
According to the kernel document: convert_drivers_to_kernel_api.txt, remove the file_operations struct, miscdevice, and obsolete includes Since the at91sam watchdog inherent characteristics, add the watchdog operations: at91wdt_start, at91wdt_stop and at91wdt_ping. Signed-off-by: Wenyou Yang

[v2 PATCH 1/8] watchdog/at91sam9_wdt: Remove at91wdt_private and add at91wdt_drvdata struct

2012-12-04 Thread Wenyou Yang
Remove the global variable at91wdt_private, add the struct at91wdt_drvdata as a substitute, and set it as the driver data of the at91wdt_wdd. Signed-off-by: Wenyou Yang Cc: w...@iguana.be Cc: linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/watchdog/at91sam9_wdt.c |

[v2 PATCH 4/8] watchdog/at91sam9_wdt: Add nowayout helpers to Watchdog Timer Driver Kernel API

2012-12-04 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: w...@iguana.be Cc: linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/watchdog/at91sam9_wdt.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index 4dc6d61..f1e21dd

[v2 PATCH 7/8] ARM: dts: add the watchdog nodes for at91sam9x5 and at91sam9n12 SoC

2012-12-04 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/at91sam9n12.dtsi |6 ++ arch/arm/boot/dts/at91sam9x5.dtsi |6 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi

[v2 PATCH 8/8] ARM: dts: add the watchdog nodes for at91sam9g25ek boards

2012-12-04 Thread Wenyou Yang
Tested on the at91sam9g25ek boards Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/at91sam9g25ek.dts |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g25ek.dts b/arch/arm/boot/dts/at91sam9g25ek.dts

[v2 PATCH 3/8] watchdog/at91sam9_wdt: Adjust the options of watchdog_info

2012-12-04 Thread Wenyou Yang
Since the Watchdog Timer Mode Register can be only written only once, so the watchdog_info shall not support WDIOF_SETTIMEOUT and WDIOF_MAGICCLOSE options, remove them. Signed-off-by: Wenyou Yang Cc: w...@iguana.be Cc: linux-watch...@vger.kernel.org Cc: linux-kernel@vger.kernel.org ---

Re: [PATCH for 3.2.34] memcg: do not trigger OOM from add_to_page_cache_locked

2012-12-04 Thread azurIt
>The following should print the traces when we hand over ENOMEM to the >caller. It should catch all charge paths (migration is not covered but >that one is not important here). If we don't see any traces from here >and there is still global OOM striking then there must be something else >to

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-04 Thread Chen Gang
于 2012年12月04日 01:13, Paul Fulghum 写道: > Fix call to line discipline receive_buf by synclink drivers. > Dummy flag buffer argument is ignored by N_HDLC line discipline but might > be of insufficient size if accessed by a different line discipline > selected by mistake. flag buffer allocation now

[PATCH] staging: rtl8712: avoid a useless call to memset().

2012-12-04 Thread Cyril Roelandt
In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that has just been zeroed by a call to memset(). Signed-off-by: Cyril Roelandt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v3] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-04 Thread Jingoo Han
On Wednesday, December 05, 2012 7:58 AM, Andrew Morton wrote > On Tue, 04 Dec 2012 14:28:15 +0900 > Jingoo Han wrote: > > > From: Marko Katic > > > > Changing backlight intensity on an Akita (Sharp Zaurus C-1000) > > triggers WARN_ON message: > > Well, I queued it up. > > > ... > > > > ---

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-04 Thread Federico Vaga
On Tuesday 04 December 2012 14:15:15 Mauro Carvalho Chehab wrote: > Em 24-09-2012 07:58, Federico Vaga escreveu: > > This patch re-write the driver and use the videobuf2 > > interface instead of the old videobuf. Moreover, it uses also > > the control framework which allows the driver to inherit >

[PATCH v4] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-04 Thread Jingoo Han
From: Marko Katic Changing backlight intensity on an Akita (Sharp Zaurus C-1000) triggers WARN_ON message: WARNING: at drivers/gpio/gpiolib.c:1672 __gpio_set_value+0x38/0xa4() Modules linked in: Backtrace: [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c) r6:c0158fc8 r5:0009

Re: [PATCH 20/52] mm, numa: Implement migrate-on-fault lazy NUMA strategy for regular and THP pages

2012-12-04 Thread David Rientjes
Commit "mm, numa: Implement migrate-on-fault lazy NUMA strategy for regular and THP pages" breaks the build because HPAGE_PMD_SHIFT and HPAGE_PMD_MASK defined to explode without CONFIG_TRANSPARENT_HUGEPAGE: mm/migrate.c: In function 'migrate_misplaced_transhuge_page_put': mm/migrate.c:1549:

[PATCH 0/3] ACPI / PM: Export ACPI power states of devices via sysfs

2012-12-04 Thread Rafael J. Wysocki
Hi All, In some situations it is very useful to know the current ACPI power states of devices. For this reason, the following series of patches makes it possible to retrieve that information via sysfs. Patches [1-2/3] are trivial function renames, patch [3/3] is the real thing. The series is

[PATCH 2/3] ACPI / PM: Common string representations of device power states

2012-12-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The function returning string representations of ACPI device power states, state_string((), is now static, because it is only used internally in drivers/acpi/bus.c. However, it will be used outside of that file going forward, so rename it to acpi_power_state_string(),

[PATCH 3/3] ACPI / PM: Export power states of ACPI devices via sysfs

2012-12-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make it possible to retrieve the current power state of an ACPI device from user space via sysfs by adding a new attribute power_state to the power subdirectory of the sysfs directory associated with the struct acpi_device representing the device's ACPI node.

[PATCH 1/3] ACPI / PM: More visible function for retrieving device power states

2012-12-04 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The function used for retrieving ACPI device power states, __acpi_bus_get_power(), is now static, because it is only used internally in drivers/acpi/bus.c. However, it will be used outside of that file going forward, so rename it to acpi_device_get_power(), in analogy

Re: [PATCH v3] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-04 Thread Jingoo Han
On Wednesday, December 05, 2012 8:28 AM, Marko Katic wrote > On Tue, Dec 4, 2012 at 6:28 AM, Jingoo Han wrote: > > From: Marko Katic > > > > Changing backlight intensity on an Akita (Sharp Zaurus C-1000) > > triggers WARN_ON message: > > > > WARNING: at drivers/gpio/gpiolib.c:1672

Re: [PATCH 1/2] Staging: android: binder: Add support for 32bit binder calls in a 64bit kernel

2012-12-04 Thread Arve Hjønnevåg
On Tue, Dec 4, 2012 at 2:44 AM, Serban Constantinescu wrote: > Android's IPC, Binder, does not support calls from a 32-bit userspace > in a 64 bit kernel. This patch adds support for syscalls coming from a > 32-bit userspace in a 64-bit kernel. > It also seems to remove support for 64-bit

Re: [PATCH] PCI/PM: Keep runtime PM enabled for unbound PCI devices

2012-12-04 Thread Bjorn Helgaas
On Wed, Nov 28, 2012 at 3:43 PM, Rafael J. Wysocki wrote: > On Wednesday, November 28, 2012 03:25:59 PM Bjorn Helgaas wrote: >> On Tue, Nov 20, 2012 at 1:08 AM, Huang Ying wrote: >> > For unbound PCI devices, what we need is: >> > >> > - Always in D0 state, because some devices does not work

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

2012-12-04 Thread Eli Billauer
On 12/05/2012 01:05 AM, Arnd Bergmann wrote: On Tuesday 04 December 2012, Eli Billauer wrote: On 12/04/2012 10:43 PM, Arnd Bergmann wrote: On Tuesday 04 December 2012, Eli Billauer wrote: It's also a bit confusing because it doesn't appear to be a "bus" in the Linux sense of being

Re: [PATCH] PCI: add PCIe 8.0 GT/s supported link speed define

2012-12-04 Thread Bjorn Helgaas
On Tue, Nov 20, 2012 at 11:58 AM, Betty Dall wrote: > Add a new define for the 8.0 GT/s supported link speed added in the PCI > 3.0 specification. This is used to identify a device's current link speed > (PCI_EXP_CLS). > > Here is the section of the PCI 3.0 specification: > "Supported Link

Re: [PATCH V2 2/3] Remove VLAIS usage from gadget code

2012-12-04 Thread Behan Webster
On 12-12-04 11:24 PM, Sebastian Andrzej Siewior wrote: On Mon, Dec 03, 2012 at 07:57:33PM +0100, Behan Webster wrote: However, in order to approximate what gcc is doing in code, obviously some math is required. The thought was that macros would hide the worst of it, trying not to obfuscate what

Re: [PATCH 2/7] aoe: avoid races between device destruction and discovery

2012-12-04 Thread Andrew Morton
On Mon, 3 Dec 2012 20:42:56 -0500 Ed Cashin wrote: > This change avoids a race that could result in a NULL pointer > derference following a WARNing from kobject_add_internal, "don't > try to register things with the same name in the same directory." > > The problem was found with a test that

Re: [RFC PATCH 02/10] smp, cpu hotplug: Fix smp_call_function_*() to prevent CPU offline properly

2012-12-04 Thread Rusty Russell
"Srivatsa S. Bhat" writes: > From: Michael Wang > > With stop_machine() gone from the CPU offline path, we can't depend on > preempt_disable() to prevent CPUs from going offline from under us. Minor gripe: I'd prefer this paragraph to use the future rather than past tense, like: "Once

Re: [PATCH 1/7] aoe: improve handling of misbehaving network paths

2012-12-04 Thread Andrew Morton
On Mon, 3 Dec 2012 20:40:55 -0500 Ed Cashin wrote: > An AoE target can have multiple network ports used for AoE, and > in the aoe driver, those are tracked by the aoetgt struct. These > changes allow the aoe driver to handle network paths, or aoetgts, > that are not working well, compared to

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

2012-12-04 Thread Toshi Kani
On Tue, 2012-12-04 at 17:16 +0800, Hanjun Guo wrote: > On 2012/12/4 8:10, Toshi Kani wrote: > > On Mon, 2012-12-03 at 12:25 +0800, Hanjun Guo wrote: > >> On 2012/11/30 6:27, Toshi Kani wrote: > >>> On Thu, 2012-11-29 at 12:48 +0800, Hanjun Guo wrote: > On 2012/11/29 2:41, Toshi Kani wrote: >

Re: [PATCH v3] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-04 Thread Marko Katić
On Tue, Dec 4, 2012 at 6:28 AM, Jingoo Han wrote: > From: Marko Katic > > Changing backlight intensity on an Akita (Sharp Zaurus C-1000) > triggers WARN_ON message: > > WARNING: at drivers/gpio/gpiolib.c:1672 __gpio_set_value+0x38/0xa4() > Modules linked in: > Backtrace: > []

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

2012-12-04 Thread Arnd Bergmann
On Tuesday 04 December 2012, Eli Billauer wrote: > On 12/04/2012 10:43 PM, Arnd Bergmann wrote: > > On Tuesday 04 December 2012, Eli Billauer wrote: > > It's also a bit confusing because it doesn't appear > > to be a "bus" in the Linux sense of being something that provides > > an abstract

  1   2   3   4   5   6   7   8   9   10   >