Re: [PATCH 3/6] gpu: host1x: Fix memory access in syncpt request

2013-05-26 Thread Arto Merilainen
On 05/26/2013 01:15 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Fri, May 17, 2013 at 02:49:45PM +0300, Arto Merilainen wrote: This patch fixes a bad memory access in syncpoint request code. If no syncpoints were available, the code accessed unreserved memory area causing unexpec

Re: [PATCH 2/6] gpu: host1x: Fix syncpoint wait return value

2013-05-26 Thread Arto Merilainen
On 05/26/2013 01:12 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Fri, May 17, 2013 at 02:49:44PM +0300, Arto Merilainen wrote: Syncpoint wait returned EAGAIN if it was called with zero timeout. This patch modifies the function to return ETIMEDOUT. This description is a bit redu

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-26 Thread Arnd Bergmann
On Monday 27 May 2013, Daniel Tang wrote: > > On 27/05/2013, at 6:46 AM, Arnd Bergmann wrote: > > > > > >> +{ > >> +.virtual= NSPIRE_PWR_VIRT_BASE, > >> +.pfn= __phys_to_pfn(NSPIRE_PWR_PHYS_BASE), > >> +.length = SZ_4K, > >> +

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Laxman Dewangan
On Monday 27 May 2013 12:11 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 12:06 PM, Laxman Dewangan wrote: On Monday 27 May 2013 12:01 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote

Re: [RFC][PATCH] mm: Fix RLIMIT_MEMLOCK

2013-05-26 Thread Peter Zijlstra
On Fri, May 24, 2013 at 03:40:26PM +, Christoph Lameter wrote: > On Fri, 24 May 2013, Peter Zijlstra wrote: > > > Patch bc3e53f682 ("mm: distinguish between mlocked and pinned pages") > > broke RLIMIT_MEMLOCK. > > Nope the patch fixed a problem with double accounting. And introduces another

Re: [patch v2 3/6] mm/memory_hotplug: Disable memory hotremove for 32bit

2013-05-26 Thread Michal Hocko
On Mon 27-05-13 07:51:38, Wanpeng Li wrote: > On Sun, May 26, 2013 at 08:12:09PM +0200, Michal Hocko wrote: > >On Sun 26-05-13 17:06:17, Wanpeng Li wrote: > >> On Sun, May 26, 2013 at 11:00:54AM +0200, Michal Hocko wrote: > >> >On Sun 26-05-13 13:58:38, Wanpeng Li wrote: > >> >> As KOSAKI Motohiro

AW: [PATCH v3] watchdog: New watchdog driver for MEN A21 watchdogs

2013-05-26 Thread Thumshirn, Johannes Tobias
Hi Johannes, > +static int a21_wdt_notify_sys(struct notifier_block *notify, unsigned long > code, > + void *unused) > +{ > + if (code == SYS_DOWN || code == SYS_HALT) > + gpio_set_value(GPIO_WD_ENAB, 0); > + > + return NOTIFY_DONE; > +} > + > +static struc

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 12:06 PM, Laxman Dewangan wrote: On Monday 27 May 2013 12:01 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi,

Re: [PATCH v3 1/6] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-05-26 Thread KOSAKI Motohiro
(5/26/13 8:02 PM), Wanpeng Li wrote: > On Sun, May 26, 2013 at 07:49:33AM -0400, KOSAKI Motohiro wrote: >> On Sun, May 26, 2013 at 1:58 AM, Wanpeng Li >> wrote: >>> Changelog: >>> v1 -> v2: >>> * show number of HighTotal before hotremove >>> * remove CONFIG_HIGHMEM >>> *

linux-next: build failure after merge of the akpm tree

2013-05-26 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/jfs/jfs_logmgr.c: In function 'lbmRead': fs/jfs/jfs_logmgr.c:2015:3: error: too few arguments to function 'lbmIODone' lbmIODone(bio, 0); ^ fs/jfs/jfs_logmgr.c:194:21: note: declar

Re: [PATCH 04/24] drivers/scsi/initio: Convert to module_pci_driver

2013-05-26 Thread James Bottomley
On Mon, 2013-05-27 at 10:28 +0800, Libo Chen wrote: > use module_pci_driver instead of init/exit, make code clean. For the ancient drivers, like this, the principal is that we really don't touch except for tested bug fixes. For the current ones (like mvumi) it's up to the maintainer. James --

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Laxman Dewangan
On Monday 27 May 2013 12:01 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kisho

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 11:52 AM, Laxman Dewangan wrote: On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kishon, I have some comment about this patch and upload modified pa

[PATCH] arch: ia64: kernel: flow control, need use 'return' instead of 'break'

2013-05-26 Thread Chen Gang
In this case, the original author did not provide the related reason string for die_if_kernel(), so the 'buf' is not initialized. The original author wants to generic a 'SIGSEGV' and 'return', not want to 'break' to fall to die. Signed-off-by: Chen Gang --- arch/ia64/kernel/traps.c |2 +-

Re: [PATCH 1/6] gpu: host1x: Fixes to host1x firewall

2013-05-26 Thread Arto Merilainen
On 05/26/2013 01:02 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Fri, May 17, 2013 at 02:49:43PM +0300, Arto Merilainen wrote: From: Terje Bergstrom This patch adds several fixes to host1x firewall: - Host1x firewall does not survive if it expects a reloc, but user space did

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Laxman Dewangan
On Monday 27 May 2013 11:38 AM, Chanwoo Choi wrote: On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kishon, I have some comment about this patch and upload modified patch to following repository (extcon-for-palmas). - http://gi

linux-next: manual merge of the akpm tree with Linus' tree

2013-05-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/aio.c between commit 03e04f048d27 ("aio: fix kioctx not being freed after cancellation at exit time") from Linus' tree and commit "aio: reqs_active -> reqs_available" from the akpm tree. I fixed it up (see below - taken fro

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Chanwoo Choi
On 05/27/2013 02:54 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: >> Hi Kishon, >> >> I have some comment about this patch >> and upload modified patch to following repository (extcon-for-palmas). >> - >> http://git.kernel.org/cgit/linux/kernel/git

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Kishon Vijay Abraham I
Hi, On Monday 27 May 2013 11:04 AM, Chanwoo Choi wrote: Hi Kishon, I have some comment about this patch and upload modified patch to following repository (extcon-for-palmas). - http://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/commit/?h=extcon-for-palmas&id=f2b7cb80699cbe1a5fd6c97

[PATCH] arch: frv: kernel: using vsnprintf() instead of vsprintf()

2013-05-26 Thread Chen Gang
Since die_if_kernel() is an extern common used function, better always check the buffer length to avoid memory overflow by a long 'str'. Signed-off-by: Chen Gang --- arch/frv/kernel/traps.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/frv/kernel/traps.c b/arch

Re: BUG_ON in virtio-ring.c

2013-05-26 Thread Rusty Russell
Dave Airlie writes: >>> correct. >>> >>> If I have an indirect ring and I'm adding sgs to it and the host is >>> delayed (say I've got a thread consuming things from the vring and its >>> off doing something interesting), >>> I'd really like to get ENOSPC back from virtqueue_add. However if the >>

Re: [PATCH 3/3] usb: dwc3: use extcon fwrk to receive connect/disconnect notification

2013-05-26 Thread Chanwoo Choi
On 05/24/2013 11:31 PM, Kishon Vijay Abraham I wrote: > Modified dwc3-omap to receive connect and disconnect notification using > extcon framework. Also did the necessary cleanups required after > adapting to extcon framework. > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/usb/dwc3/dwc

Re: [PATCH v5 2/3] extcon: Palmas Extcon Driver

2013-05-26 Thread Chanwoo Choi
Hi Kishon, I have some comment about this patch and upload modified patch to following repository (extcon-for-palmas). - http://git.kernel.org/cgit/linux/kernel/git/chanwoo/extcon.git/commit/?h=extcon-for-palmas&id=f2b7cb80699cbe1a5fd6c97ef2c600915f8d7f2c This patchset include patch related to o

Re: [RFC v2 0/3][TESTS] LAB: Support for Legacy Application Booster governor - tests results

2013-05-26 Thread Viresh Kumar
On 24 May 2013 16:50, Lukasz Majewski wrote: >> On 24 May 2013 14:00, Lukasz Majewski wrote: > This is not safe IMHO to add permanently overclocked frequency to the > freq table. Since, for example, thermal framework also asks for > reference to this table. Yes, its wrong. Even adding it perman

Re: Fans at full speed after resume

2013-05-26 Thread Zhang Rui
On Thu, 2013-05-23 at 22:22 +0200, Michael Großhäuser wrote: > Zhang Rui wrote: > > > On Wed, 2013-05-22 at 20:46 +0200, Michael Großhäuser wrote: > >> Zhang Rui wrote: > >> > >> > On Wed, 2013-05-15 at 12:26 +0800, Zhang Rui wrote: > >> >> please > >> >> > >> >> On Tue, 2013-05-14 at 21:18 -070

[PATCH] arch: parisc: kernel: memory overflow, 'name' length is too short for using

2013-05-26 Thread Chen Gang
'path.bc[i]' can be asigned by PCI_SLOT() which can '> 10', so sizeof(6 * "%u:" + "%u" + '\0') may be 21. Since 'name' length is 20, it may be memory overflow. And 'path.bc[i]' is 'unsigned char' for printing, we can be sure the max length of 'name' must be less than 28. So simplify thinking, w

Re: [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-26 Thread Namjae Jeon
2013/5/27, Jaegeuk Kim : > Hi Namjae, Hi Jaegeuk. First, Thanks for your interest. > > This is an interesting functionality. > Could you describe why and when we need to do this? > What are pros and cons? > How can we use this? As the default size of the F2FS parameter can vary as per the storage

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-26 Thread joeyli
於 一,2013-05-27 於 12:27 +0800,joeyli 提到: > Hi Dave, > > 於 五,2013-05-24 於 17:05 -0400,Dave Jones 提到: > > On Fri, May 24, 2013 at 12:02:15PM -0500, Russ Anderson wrote: > > > On Fri, May 24, 2013 at 11:11:11AM -0500, Robin Holt wrote: > > > > Russ, > > > > > > > > Can we open a bug for the BIOS

Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code

2013-05-26 Thread joeyli
Hi Dave, 於 五,2013-05-24 於 17:05 -0400,Dave Jones 提到: > On Fri, May 24, 2013 at 12:02:15PM -0500, Russ Anderson wrote: > > On Fri, May 24, 2013 at 11:11:11AM -0500, Robin Holt wrote: > > > Russ, > > > > > > Can we open a bug for the BIOS folks and see if we can get this > addressed? > > >

Re: [PATCH 1/1] rtc: rtc-ds1307: use devm_*() functions

2013-05-26 Thread devendra.aaru
On Mon, May 27, 2013 at 6:32 AM, Jingoo Han wrote: > On Saturday, May 25, 2013 10:51 AM, Devendra Naga wrote: >> On Sat, May 25, 2013 at 10:41 AM, Nikolay Balandin wrote: >> > From: Nikolay Balandin > > [.] > >> > >> > - ds1307->rtc = rtc_device_register(client->name, &client->dev, >> >

Re: [RFC PATCHv4 1/6] arm: TI-Nspire platform code

2013-05-26 Thread Daniel Tang
On 27/05/2013, at 6:46 AM, Arnd Bergmann wrote: > > >> +{ >> +.virtual= NSPIRE_PWR_VIRT_BASE, >> +.pfn= __phys_to_pfn(NSPIRE_PWR_PHYS_BASE), >> +.length = SZ_4K, >> +.type = MT_DEVICE >> +} >> +}; >

Re: [RFC PATCHv4 0/6] arm: Initial TI-Nspire support

2013-05-26 Thread Daniel Tang
On 27/05/2013, at 7:23 AM, Arnd Bergmann wrote: > On Saturday 25 May 2013, Daniel Tang wrote: >> Changes between v3 and v4: >> * Remove redundant clock-names in device tree >> * Re-enable bus access to some peripherals on bootup >> * Clean up nspire-classic-timer code. >> - Implement a nspire_t

[PATCH v2] video: simplefb: add mode parsing function

2013-05-26 Thread Alexandre Courbot
The naming scheme of simplefb's mode is precise enough to allow building the mode structure from it instead of using a static list of modes. This patch introduces a function that does this. In case exotic modes that cannot be represented from their name alone are needed, the static list of modes is

Re: linux-next: build failure after merge of the crypto tree

2013-05-26 Thread Herbert Xu
On Mon, May 27, 2013 at 01:43:01PM +1000, Stephen Rothwell wrote: > Hi Herbert, > > On Mon, 27 May 2013 10:19:18 +0800 Herbert Xu > wrote: > > > > Hi Stephen, did you get a chance to switch back to the current > > cryptodev tree? > > Not quite sure what you mean? I fetch your tree every mornin

Re: linux-next: build failure after merge of the crypto tree

2013-05-26 Thread Stephen Rothwell
Hi Herbert, On Mon, 27 May 2013 10:19:18 +0800 Herbert Xu wrote: > > Hi Stephen, did you get a chance to switch back to the current > cryptodev tree? Not quite sure what you mean? I fetch your tree every morning (that I build linux-next) so I got an update from you this morning. I haven't got

Re: [GIT PULL v2] f2fs updates for v3.10

2013-05-26 Thread Jaegeuk Kim
Hi, Thank you for the report. I'm not able to reproduce this at all. In my runs, there was no regression. Can you do that? Thanks, 2013-05-15 (수), 12:09 +0300, Anca Emanuel: > Regresions: > http://www.phoronix.com/scan.php?page=article&item=linux_310_f2fs&num=3 > > The most notable one is Postg

Re: BUG_ON in virtio-ring.c

2013-05-26 Thread Dave Airlie
>> correct. >> >> If I have an indirect ring and I'm adding sgs to it and the host is >> delayed (say I've got a thread consuming things from the vring and its >> off doing something interesting), >> I'd really like to get ENOSPC back from virtqueue_add. However if the >> indirect addition fails du

[PATCH RESEND 01/24] drivers/scsi/a100u2w: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/scsi/a100u2w.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) * add "Signed-off-by: Libo Chen " diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c old mode 10064

[PATCH 02/24] drivers/scsi/dc395x: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/scsi/dc395x.c | 24 +--- 1 files changed, 1 insertions(+), 23 deletions(-) diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c old mode 100644 new mode 100755 index 694

Re: BUG_ON in virtio-ring.c

2013-05-26 Thread Rusty Russell
Dave Airlie writes: > Hi Rusty, > > current virtio-ring.c has a BUG_ON in virtqueue_add that checks > total_sg > vg->vring.num, however I'm not sure it really is 100% > correct. > > If I have an indirect ring and I'm adding sgs to it and the host is > delayed (say I've got a thread consuming thing

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-05-26 Thread Alexey Kardashevskiy
On 05/25/2013 12:45 PM, David Gibson wrote: > On Wed, May 22, 2013 at 04:06:57PM -0500, Scott Wood wrote: >> On 05/20/2013 10:06:46 PM, Alexey Kardashevskiy wrote: >>> diff --git a/arch/powerpc/kvm/powerpc.c b/arch/powerpc/kvm/powerpc.c >>> index 8465c2a..da6bf61 100644 >>> --- a/arch/powerpc/kvm/p

Re: [PATCH 00/25] Convert to module_pci_driver replace init/exit

2013-05-26 Thread Libo Chen
sorry, only 24! On 2013/5/27 10:28, Libo Chen wrote: > use module_pci_driver instead of init/exit, make code clean. > > Libo Chen (25): > drivers/scsi/a100u2w: Convert to module_pci_driver replace init/exit > drivers/scsi/dc395x: Convert to module_pci_driver > drivers/scsi/dmx3191d: Convert

[PATCH 19/24] drivers/media/pci/dm1105/dm1105: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/media/pci/dm1105/dm1105.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/pci/dm1105/dm1105.c b/drivers/media/pci/dm1105/dm1105.c index 026767b..

[PATCH 18/24] drivers/media/pci/mantis/hopper_cards: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/media/pci/mantis/hopper_cards.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/pci/mantis/hopper_cards.c b/drivers/media/pci/mantis/hopper_cards

[PATCH 13/24] drivers/uwb/whci: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/uwb/whci.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/uwb/whci.c b/drivers/uwb/whci.c index f48093e..deeeba4 100644 --- a/drivers/uwb/whci.c +++ b/

[PATCH 15/24] drivers/memstick/host/jmb38x_ms: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/memstick/host/jmb38x_ms.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/memstick/host/jmb38x_ms.c b/drivers/memstick/host/jmb38x_ms.c index c37d375..

[PATCH 08/24] drivers/atm/he: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/atm/he.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 507362a..80f9743 100644 --- a/drivers/atm/he.c +++ b/drivers/

[PATCH 17/24] drivers/media/pci/dm1105/dm1105: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/media/pci/b2c2/flexcop-pci.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/pci/b2c2/flexcop-pci.c b/drivers/media/pci/b2c2/flexcop-pci.c index

[PATCH 21/24] drivers/media/pci/pt1/pt1: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/media/pci/pt1/pt1.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c index e921108..75ce142 100644 --

[PATCH 22/24] drivers/media/radio/radio-maxiradio: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean Signed-off-by: Libo Chen --- drivers/media/radio/radio-maxiradio.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/radio/radio-maxiradio.c b/drivers/media/radio/radio-maxiradio.c inde

[PATCH 24/24] drivers/pcmcia/yenta_socket: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/pcmcia/yenta_socket.c | 16 +--- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c index 6b4ff09..dc18a3a 10

[PATCH 20/24] drivers/media/pci/pluto2/pluto2: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/media/pci/pluto2/pluto2.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/pci/pluto2/pluto2.c b/drivers/media/pci/pluto2/pluto2.c index 2290fae..

[PATCH 23/24] drivers/pcmcia/pd6729: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/pcmcia/pd6729.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/pcmcia/pd6729.c b/drivers/pcmcia/pd6729.c index b29d97e..9a7fc88 100644 --- a/drivers/pc

[PATCH 14/24] drivers/platform/x86/intel_ips: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/platform/x86/intel_ips.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index 5051aa9..18dc

[PATCH 16/24] drivers/media/pci/mantis/mantis_cards: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean Signed-off-by: Libo Chen --- drivers/media/pci/mantis/mantis_cards.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/media/pci/mantis/mantis_cards.c b/drivers/media/pci/mantis/mantis_cards.

[PATCH 10/24] drivers/mfd/lpc_ich: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/mfd/lpc_ich.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 9f12f91..06431df 100644 --- a/drivers/mfd/lpc_

[PATCH 11/24] drivers/ptp/ptp_pch: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean Signed-off-by: Libo Chen --- drivers/ptp/ptp_pch.c | 18 +- 1 files changed, 1 insertions(+), 17 deletions(-) diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index bea9451..e63ca00 100644 --- a/drivers/ptp/

[PATCH 04/24] drivers/scsi/initio: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/scsi/initio.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c old mode 100644 new mode 100755 index 280d5af..1befc

[PATCH 06/24] drivers/net/irda/donauboe: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/net/irda/donauboe.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/net/irda/donauboe.c b/drivers/net/irda/donauboe.c old mode 100644 new mode 100755

[PATCH 01/24] drivers/scsi/a100u2w: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. --- drivers/scsi/a100u2w.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/scsi/a100u2w.c b/drivers/scsi/a100u2w.c old mode 100644 new mode 100755 index 0163457..db3710f --- a/drivers/scsi/a10

[PATCH 05/24] drivers/scsi/mvumi: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/scsi/mvumi.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c old mode 100644 new mode 100755 index c3601b5..d

[PATCH 07/24] drivers/ide/delkin_cb: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/ide/delkin_cb.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/ide/delkin_cb.c b/drivers/ide/delkin_cb.c index 7e27d32..300daab 100644 --- a/drivers/id

[PATCH 09/24] drivers/pci/ioapic: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/pci/ioapic.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/pci/ioapic.c b/drivers/pci/ioapic.c index 3c6bbdd..1b90579 100644 --- a/drivers/pci/ioapic.

[PATCH 12/24] drivers/memstick/host/r592: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/memstick/host/r592.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/memstick/host/r592.c b/drivers/memstick/host/r592.c index 9718661..1b6e913 100644 -

[PATCH 03/24] drivers/scsi/dmx3191d: Convert to module_pci_driver

2013-05-26 Thread Libo Chen
use module_pci_driver instead of init/exit, make code clean. Signed-off-by: Libo Chen --- drivers/scsi/dmx3191d.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c old mode 100644 new mode 100755 index 4b0dd8c.

Re: [PATCH v7 04/11] KVM: MMU: zap pages in batch

2013-05-26 Thread Xiao Guangrong
On 05/25/2013 04:34 AM, Marcelo Tosatti wrote: > On Thu, May 23, 2013 at 03:55:53AM +0800, Xiao Guangrong wrote: >> Zap at lease 10 pages before releasing mmu-lock to reduce the overload >> caused by requiring lock >> >> After the patch, kvm_zap_obsolete_pages can forward progress anyway, >> so upd

Re: linux-next: build failure after merge of the crypto tree

2013-05-26 Thread Herbert Xu
On Fri, May 24, 2013 at 05:57:15PM +0800, Herbert Xu wrote: > On Tue, May 21, 2013 at 11:45:48AM +1000, Stephen Rothwell wrote: > > Hi Herbert, > > > > After merging the crypto tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > arch/x86/crypto/crct10dif-pclmul_glue

Re: [PATCH v2 2/7] Documentation/devices.txt: Mark /dev/oldmem obsolete

2013-05-26 Thread HATAYAMA Daisuke
(2013/05/27 10:54), Zhang Yanfei wrote: 于 2013年05月27日 09:46, HATAYAMA Daisuke 写道: (2013/05/26 15:36), Zhang Yanfei wrote: From: Zhang Yanfei Signed-off-by: Zhang Yanfei Cc: Dave Jones --- Documentation/devices.txt |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 0/3 v3] dcache: make it more scalable on large system

2013-05-26 Thread Dave Chinner
On Thu, May 23, 2013 at 05:34:23PM -0400, Waiman Long wrote: > On 05/23/2013 05:42 AM, Dave Chinner wrote: > >On Wed, May 22, 2013 at 09:37:25PM -0400, Waiman Long wrote: > >>Change log: > >> > >>v2->v3 > >> - Fix the RCU lock problem found by Al Viro. > >> - Rebase the code to the latest v3.10-r

[PATCH V2] ARM: EXYNOS: add PM dependency to PM_GENERIC_DOMAINS

2013-05-26 Thread Jingoo Han
PM_GENERIC_DOMAINS needs PM dependency. Fixed build warning as below: warning: (PLAT_S3C64XX && CPU_EXYNOS4210) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) warning: (PLAT_S3C64XX && CPU_EXYNOS4210) selects PM_GENERIC_DOMAINS which has unmet direct dependencies (PM) arch/

Re: [PATCH 0/4] ipc/sem.c: Bug fixes, regression fixes, v3

2013-05-26 Thread Greg KH
On Sun, May 26, 2013 at 11:08:51AM +0200, Manfred Spraul wrote: > I've split my patch into 4 parts: > - 1: Fix-missing-wakeups-in-do_smart_update > - 2: seperate-wait-for-zero-and-alter-tasks > - 3: Always-use-only-one-queue-for-alter-operations > - 4: Rename-try_atomic_semop-to-perform_atomic > >

Re: [PATCH v7 03/11] KVM: MMU: fast invalidate all pages

2013-05-26 Thread Xiao Guangrong
Hi Marcelo, On 05/25/2013 04:23 AM, Marcelo Tosatti wrote: >> +static void kvm_zap_obsolete_pages(struct kvm *kvm) >> +{ >> +struct kvm_mmu_page *sp, *node; >> +LIST_HEAD(invalid_list); >> + >> +restart: >> +list_for_each_entry_safe_reverse(sp, node, >> + &kvm->arch.active_mm

[PATCH v2] arch: arm64: kernel: sprintf(), 'str' needs additional 1 byte for failure processing

2013-05-26 Thread Chen Gang
When failure occurs at the last looping cycle (when 'i == 0'), it will print "bad PC value" instead of "(%08x) ", which needs additional 1 byte. If not add 1 byte, the 'str' may be memory overflow. Signed-off-by: Chen Gang --- arch/arm64/kernel/traps.c |2 +- 1 files changed, 1 insertions

Re: [PATCH v2 2/7] Documentation/devices.txt: Mark /dev/oldmem obsolete

2013-05-26 Thread Zhang Yanfei
于 2013年05月27日 09:46, HATAYAMA Daisuke 写道: > (2013/05/26 15:36), Zhang Yanfei wrote: >> From: Zhang Yanfei >> >> Signed-off-by: Zhang Yanfei >> Cc: Dave Jones >> --- >> Documentation/devices.txt |3 +-- >> 1 files changed, 1 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/de

Re: Weird disk idling

2013-05-26 Thread Alexander Holler
Am 26.05.2013 07:29, schrieb Fredrik Tolf: > I'm sure you all know what the various fields are (except the first, Hmm, I had to look at Documentation/block/stat.txt. > which is just a timestamp), so as you can see, there are 135 requests in > the queue, but no reads or writes happen, in this cas

[PATCH v2] arch: blackfin: kernel: using strlcpy() instead of strncpy()

2013-05-26 Thread Chen Gang
For NULL terminated string, need always be sure of ended by zero. Just use strlcpy() instead of strncpy(). Signed-off-by: Chen Gang --- arch/blackfin/kernel/setup.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/se

Re: [PATCH] arch: blackfin: kernel: using strlcpy instead of strncpy

2013-05-26 Thread Chen Gang
On 05/26/2013 03:04 PM, Chen Gang wrote: > > For NULL terminated string, need always be sure of ended by zero. > > 'command_line' is a static variable which will be initialized > automatically, and cmdline_init() is __init function, so need not > initialize it again, can just use strlcpy instead

Re: [PATCH v8 9/9] vmcore: support mmap() on /proc/vmcore

2013-05-26 Thread HATAYAMA Daisuke
(2013/05/24 18:02), Maxim Uvarov wrote: 2013/5/24 Andrew Morton mailto:a...@linux-foundation.org>> On Thu, 23 May 2013 14:25:48 +0900 HATAYAMA Daisuke mailto:d.hatay...@jp.fujitsu.com>> wrote: > This patch introduces mmap_vmcore(). > > Don't permit writable nor executable

Re: [PATCH 2/2] f2fs: add sysfs support for controlling the gc_thread

2013-05-26 Thread Jaegeuk Kim
Hi Namjae, This is an interesting functionality. Could you describe why and when we need to do this? What are pros and cons? How can we use this? IMO, when users try to control IO latencies, it seems that they can trigger such the explicit GCs, but in order to do that, they also need to know the

Re: [PATCH v2 2/7] Documentation/devices.txt: Mark /dev/oldmem obsolete

2013-05-26 Thread HATAYAMA Daisuke
(2013/05/26 15:36), Zhang Yanfei wrote: From: Zhang Yanfei Signed-off-by: Zhang Yanfei Cc: Dave Jones --- Documentation/devices.txt |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/Documentation/devices.txt b/Documentation/devices.txt index 08f01e7..c8e4002 100644

Re: [PATCH] arch: arm64: kernel: sprintf(), 'str' needs additional 1 byte for failure processing

2013-05-26 Thread Chen Gang
On 05/26/2013 06:28 PM, Chen Gang wrote: > > When failure occurs at the last looping cycle (when 'i == 0'), it will > print "bad PC value" instead of "(%08x) ", which needs additional 1 > byte. > > If not add 1 byte, the str will not be NUL terminated, and the next > printk() will cause issue. >

Re: [PATCH 2/7] Documentation/devices.txt: Remove /dev/oldmem description

2013-05-26 Thread Zhang Yanfei
于 2013年05月27日 09:27, HATAYAMA Daisuke 写道: > (2013/05/26 9:58), Zhang Yanfei wrote: >> 于 2013年05月26日 07:20, Eric W. Biederman 写道: >>> Zhang Yanfei writes: >>> From: Zhang Yanfei >>> >>> Won't we want to keep this reservation around to so that this number >>> doesn't get reused, and cause peop

Re: [PATCH 2/7] Documentation/devices.txt: Remove /dev/oldmem description

2013-05-26 Thread HATAYAMA Daisuke
(2013/05/26 9:58), Zhang Yanfei wrote: 于 2013年05月26日 07:20, Eric W. Biederman 写道: Zhang Yanfei writes: From: Zhang Yanfei Won't we want to keep this reservation around to so that this number doesn't get reused, and cause people confusion when upgrading/downgrading kernels? Ah, yes. I wil

Re: [PATCH 3.9-stable] NFSv4.1 Fix a pNFS session draining deadlock

2013-05-26 Thread Myklebust, Trond
On Mon, 2013-05-27 at 09:23 +0900, Jonghwan Choi wrote: > This patch looks like it should be in the 3.9-stable tree, should we apply > it? It's a condition which appears to be extremely rare: so far, we've only seen it during extreme stress testing at NetApp. For that reason, and because it is NFS

[PATCH 3.9-stable] cpufreq / intel_pstate: Add additional supported CPU ID

2013-05-26 Thread Jonghwan Choi
This patch looks like it should be in the 3.9-stable tree, should we apply it? -- From: "Dirk Brandewie " commit c96d53d600643ee0adfd1cb90814bd9510e62b71 upstream Add CPU ID for Ivybrigde processor. Signed-off-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki Signed-off-by:

Re: [PATCH 1/1] rtc: rtc-ds1307: use devm_*() functions

2013-05-26 Thread Jingoo Han
On Saturday, May 25, 2013 10:51 AM, Devendra Naga wrote: > On Sat, May 25, 2013 at 10:41 AM, Nikolay Balandin wrote: > > From: Nikolay Balandin [.] > > > > - ds1307->rtc = rtc_device_register(client->name, &client->dev, > > + ds1307->rtc = devm_rtc_device_register(&client->dev, c

linux-next: manual merge of the parisc-hd tree with Linus' tree

2013-05-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the parisc-hd tree got conflicts in arch/parisc/include/asm/processor.h and arch/parisc/kernel/irq.c between commit d96b51ec1465 ("parisc: fix irq stack on UP and SMP") from Linus' tree and commit 1c92ce8487f6 ("parisc: use arch_spinlock_t instead of raw_spinloc

[PATCH 3.9-stable] NFSv4.1 Fix a pNFS session draining deadlock

2013-05-26 Thread Jonghwan Choi
This patch looks like it should be in the 3.9-stable tree, should we apply it? -- From: "Andy Adamson " commit 774d5f14ee1ecac55f42a84ff35eb00b896b00b6 upstream On a CB_RECALL the callback service thread flushes the inode using filemap_flush prior to scheduling the state manager

Re: [PATCH v8 3/9] vmcore: treat memory chunks referenced by PT_LOAD program header entries in page-size boundary in vmcore_list

2013-05-26 Thread HATAYAMA Daisuke
(2013/05/24 22:12), Vivek Goyal wrote: On Thu, May 23, 2013 at 02:49:28PM -0700, Andrew Morton wrote: On Thu, 23 May 2013 14:25:13 +0900 HATAYAMA Daisuke wrote: Treat memory chunks referenced by PT_LOAD program header entries in page-size boundary in vmcore_list. Formally, for each range [st

Re: Adding fscache branch to linux-next

2013-05-26 Thread Stephen Rothwell
Hi David, On Thu, 23 May 2013 16:20:28 +0100 David Howells wrote: > > Can you add: > > > http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=fscache Please use git URL's when talking about git trees. > To linux-next please? Added git://git.kernel.org/pub/scm/linux

Linux 3.10-rc3

2013-05-26 Thread Linus Torvalds
Another week, another rc. A *big* one. I'm not thrilled about it, and -rc3 is much bigger than -rc2 was, although there isn't anything particularly scary that stands out. Just a lot of small details. A number of people apparently missed rc2, and then made rc3. Oh, well. I can pretty much guaran

[PATCH v4 3/3] mm/hugetlb: remove hugetlb_prefault

2013-05-26 Thread Wanpeng Li
Changelog: v1 -> v2: * add Michal reviewed-by hugetlb_prefault are not used any more, this patch remove it. Reviewed-by: Michal Hocko Signed-off-by: Wanpeng Li --- include/linux/hugetlb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hu

[PATCH v4 1/3] mm/hugetlb: use already exist interface huge_page_shift

2013-05-26 Thread Wanpeng Li
Changelog: v1 -> v2: * update alloc_bootmem_huge_page in powerpc * add Michal reviewed-by Use already exist interface huge_page_shift instead of h->order + PAGE_SHIFT. Reviewed-by: Michal Hocko Signed-off-by: Wanpeng Li --- arch/powerpc/mm/hugetlbpage.c | 2 +- mm/hugetlb.c

[PATCH v4 2/3] mm/pageblock: remove get/set_pageblock_flags

2013-05-26 Thread Wanpeng Li
Changelog: v1 -> v2: * add Michal reviewed-by get_pageblock_flags and set_pageblock_flags are not used any more, this patch remove them. Reviewed-by: Michal Hocko Signed-off-by: Wanpeng Li --- include/linux/pageblock-flags.h | 6 -- 1 file changed, 6 deletions(-) diff --git a

Re: [RFC] Add co-maintainer for fbdev

2013-05-26 Thread Florian Tobias Schandinat
Hi Jean-Christophe, On 05/24/2013 06:56 PM, Arnd Bergmann wrote: > On Friday 24 May 2013, Olof Johansson wrote: >> [+akpm] > > [+florian] Thanks for CC'ing me. Lately I got dropped frequently from the mailinglist (after 1 or 2 days). Guess I should try subscribing via my own mail server. >> On

Re: [PATCH 00/14] misc/ep93xx_pwm: cleanup driver for conversion to PWM framework

2013-05-26 Thread Ryan Mallon
On 25/05/13 09:19, H Hartley Sweeten wrote: > This driver needs to be converted to the new PWM framework. > > Before converting it clean up all the cruft, > > H Hartley Sweeten (14): > misc/ep93xx_pwm: use managed device resources > misc/ep93xx_pwm: use {read,write}* instead of __raw_* versio

Re: [PATCH 0/4] ipc/sem.c: Bug fixes, regression fixes, v3

2013-05-26 Thread Linus Torvalds
On Sun, May 26, 2013 at 1:50 PM, Davidlohr Bueso wrote: > > In lack of getting my swingbench DSS environment back, I ran these > changes against the semop-multi program on my laptop. For 256 threads, > with Manfred's patchset the ops/sec suffers around -7.3%. Hmm. That test program only tests sim

Re: How to get driver_data of struct ieee1394_device_id in kernel driver module?

2013-05-26 Thread Greg Kroah-Hartman
On Sun, May 26, 2013 at 11:35:13PM +0200, Stefan Richter wrote: > I think your approach is sensible. There is of course just the little > problem that firewire-core keeps the matching device_id table entry as a > secret to itself. Therefore, struct ieee1394_device_id.driver_data is > currently to

Re: How to get driver_data of struct ieee1394_device_id in kernel driver module?

2013-05-26 Thread Stefan Richter
On May 26 Stefan Richter wrote: > (Adding LKML and Greg KH, in case that there are general opinions about > how a bus_type should work.) > > On May 26 Takashi Sakamoto wrote: > > Hi all, > > > > I'm a newbile for Linux Firewire subsystem and not used to IEEE 1394 bus > > programing in Linux. > >

Re: [PATCH v2 1/1] uio.c: solve memory leak

2013-05-26 Thread Cong Ding
On Thu, Apr 25, 2013 at 12:19 PM, Cong Ding wrote: > On Thu, Feb 14, 2013 at 12:43:15PM +0100, Cong Ding wrote: >> On Sun, Jan 20, 2013 at 10:01:41PM +0100, Hans J. Koch wrote: >> > On Fri, Jan 18, 2013 at 02:00:50PM -0800, Greg Kroah-Hartman wrote: >> > > On Fri, Jan 18, 2013 at 10:05:45PM +0100,

  1   2   3   >