[PATCH] pwm: Add missing static storage class specifiers in core.c file

2012-08-02 Thread Sachin Kamat
Fixes the following sparse warnings: drivers/pwm/core.c:152:6: warning: symbol 'of_pwmchip_add' was not declared. Should it be static? drivers/pwm/core.c:165:6: warning: symbol 'of_pwmchip_remove' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/pwm/core.c |4 ++

Re: [RFC PATCH 1/3] ACPIHP: introduce a framework for ACPI based system device hotplug

2012-08-02 Thread Tang Chen
Hi, A little problem here. :) On 07/28/2012 07:42 PM, Jiang Liu wrote: > +int acpihp_register_slot(struct acpihp_slot *slot) > +{ > + int ret; > + char *name; > + size_t off; > + > + if (!slot || !slot->slot_ops) > + return -EINVAL; > + > + /* Hook top level hotplu

oops in x86/oprofile/dump_stack with 3.4.6

2012-08-02 Thread wyang1
Hi all, A couple of days ago I tried to use oprofile with enabling call graph in a recent build of 3.4.6. this causes a OOPS "BUG: unable to handle kernel paging request at 636f7270". The oops can be often reproduced by the following steps on my board based on Intel Atom. opcontrol --no-vml

[PATCH RESEND v5] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-08-02 Thread Kyungsik Lee
It is expected that Extended CSD register(the size of this register is larger than CID/CSD) will be referenced more frequently as more fields have been added to Extended CSD and it seems that it is not a good option to double the memory used. This patch is intended to avoid the use of bounce buffe

Re: [RFC PATCH 1/3] ACPIHP: introduce a framework for ACPI based system device hotplug

2012-08-02 Thread Jiang Liu
On 2012-8-2 15:07, Tang Chen wrote: > Hi, > > A little problem here. :) > > On 07/28/2012 07:42 PM, Jiang Liu wrote: >> +int acpihp_register_slot(struct acpihp_slot *slot) >> +{ >> +int ret; >> +char *name; >> +size_t off; >> + >> +if (!slot || !slot->slot_ops) >> +ret

[PATCH v2] powerpc: fix personality handling in ppc64_personality()

2012-08-02 Thread Jiri Kosina
Directly comparing current->personality against PER_LINUX32 doesn't work in cases when any of the personality flags stored in the top three bytes are used. Directly forcefully setting personality to PER_LINUX32 or PER_LINUX discards any flags stored in the top three bytes Use personality() macro

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-08-02 Thread Raghavendra K T
On 08/01/2012 11:55 PM, Marcelo Tosatti wrote: On Wed, Aug 01, 2012 at 04:19:01PM +0530, Raghavendra K T wrote: On 08/01/2012 08:37 AM, Marcelo Tosatti wrote: On Tue, Jul 24, 2012 at 02:23:59PM +0530, Raghavendra K T wrote: From: Raghavendra K T Thanks Alex for KVM_HC_FEATURES inputs and Jan

[PATCH v2] [S390] do not clobber personality flags in sys_32_personality()

2012-08-02 Thread Jiri Kosina
There are multiple errors in how sys_32_personality() handles personality flags stored in top three bytes. - directly comparing current->personality against PER_LINUX32 doesn't work in cases when any of the personality flags stored in the top three bytes are used. - directly forcefully setting

[PATCH v2] parisc: fix personality flag check in copy_thread()

2012-08-02 Thread Jiri Kosina
Directly comparing task_struct->personality against PER_* is not fully correct, as it doesn't take flags potentially stored in top three bytes into account. Analogically, directly forcefully setting personality to PER_LINUX32 or PER_LINUX discards any flags stored in the top three bytes. Signed-o

[PATCH v2] sparc64: do not clobber personality flags in sys_sparc64_personality()

2012-08-02 Thread Jiri Kosina
>From 4f000eda5917ceecb03767962026cc6a390b8216 Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Wed, 1 Aug 2012 21:10:51 +0200 Subject: [PATCH 4/4] sparc64: do not clobber personality flags in sys_sparc64_personality() There are multiple errors in how sys_sparc64_personality() handles personalit

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-02 Thread Michal Hocko
Hi Larry, On Wed 01-08-12 11:06:33, Larry Woodman wrote: > On 08/01/2012 08:32 AM, Michal Hocko wrote: > > > >I am really lame :/. The previous patch is wrong as well for goto out > >branch. The updated patch as follows: > This patch worked fine Michal! Thanks for the good news! > You and Mel

Re: [PATCH] firmware: Remove obsolete Chelsio cxgb3 firmware

2012-08-02 Thread David Miller
From: Tim Gardner Date: Wed, 1 Aug 2012 13:17:50 -0600 > The current firmware version used by the device driver > is 7.12.0 > > Cc: Paul Gortmaker > Cc: Ben Hutchings > Cc: James Bottomley > Cc: Dan Williams > Cc: Divy Le Ray > Cc: net...@vger.kernel.org > Signed-off-by: Tim Gardner "git

Re: [PATCH] bnx2x: fix mem leak when command is unknown

2012-08-02 Thread David Miller
From: Jesper Juhl Date: Tue, 31 Jul 2012 23:39:37 +0200 (CEST) > In bnx2x_mcast_enqueue_cmd() we'll leak the memory allocated to > 'new_cmd' if we hit the deafault case of the 'switch (cmd)'. > Add a 'kfree(new_cmd)' to that case to avoid the leak. > > Signed-off-by: Jesper Juhl Applied. -- To

[PATCH] drm: ignore disconnected <-> unknown status changes

2012-08-02 Thread Knut Petersen
On an AOpen i915GMm-hfs the hotplug events generated by transitions between connector_status_unknown and connector_status_disconnected cause screen distortions. The attached patch cures the problem by disabling the generation of hotplug events in those cases. That should be safe for everybody as

Re: kernel BUG at fs/buffer.c:2886! Linux 3.5.0

2012-08-02 Thread Vincent ETIENNE
Hi, So 12 commits left, corresponding to this bisection log git bisect start # bad: [2d534926205db9ffce4bbbde67cb9b2cee4b835c] Merge tag 'irqdomain-for-linus' of git://git.secretlab.ca/git/linux-2.6 git bisect bad 2d534926205db9ffce4bbbde67cb9b2cee4b835c # good: [c3b92c8787367a8bb53d57d9789b558f

Re: [PATCH 2/5] clk: mmp: add clock definition for pxa168

2012-08-02 Thread Chao Xie
On Tue, Jul 31, 2012 at 7:54 PM, Arnd Bergmann wrote: > On Tuesday 31 July 2012, Chao Xie wrote: >> +#define APBC_RTC APBC_REG(0x28) >> +#define APBC_TWSI0 APBC_REG(0x2c) >> +#define APBC_KPC APBC_REG(0x30) >> +#define APBC_UART0 APBC_REG(0x00) >> +#define APBC_UART1 APBC_R

Re: [PATCH v2] sparc64: do not clobber personality flags in sys_sparc64_personality()

2012-08-02 Thread David Miller
From: Jiri Kosina Date: Thu, 2 Aug 2012 09:12:46 +0200 (CEST) > From 4f000eda5917ceecb03767962026cc6a390b8216 Mon Sep 17 00:00:00 2001 > From: Jiri Kosina > Date: Wed, 1 Aug 2012 21:10:51 +0200 > Subject: [PATCH 4/4] sparc64: do not clobber personality flags in > sys_sparc64_personality() > >

Re: [PATCH] pwm: Add missing static storage class specifiers in core.c file

2012-08-02 Thread Thierry Reding
On Thu, Aug 02, 2012 at 12:32:42PM +0530, Sachin Kamat wrote: > Fixes the following sparse warnings: > drivers/pwm/core.c:152:6: warning: > symbol 'of_pwmchip_add' was not declared. Should it be static? > drivers/pwm/core.c:165:6: warning: > symbol 'of_pwmchip_remove' was not declared. Should it be

Re: [PATCH 01/24] arm: initial Xen support

2012-08-02 Thread Ian Campbell
On Wed, 2012-08-01 at 19:27 +0100, Rob Herring wrote: > On 07/26/2012 10:33 AM, Stefano Stabellini wrote: > > - Basic hypervisor.h and interface.h definitions. > > - Skelethon enlighten.c, set xen_start_info to an empty struct. > > - Do not limit xen_initial_domain to PV guests. > > > > The new co

RE: [PATCH v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-02 Thread Liu Qiang-B32616
> -Original Message- > From: Ira W. Snyder [mailto:i...@ovro.caltech.edu] > Sent: Thursday, August 02, 2012 1:25 AM > To: Liu Qiang-B32616 > Cc: linux-cry...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > ker...@vger.kernel.org; dan.j.willi...@gmail.com; Vinod Koul; > herb...@gond

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-08-02 Thread Mel Gorman
On Thu, Aug 02, 2012 at 09:19:34AM +0200, Michal Hocko wrote: > Hi Larry, > > On Wed 01-08-12 11:06:33, Larry Woodman wrote: > > On 08/01/2012 08:32 AM, Michal Hocko wrote: > > > > > >I am really lame :/. The previous patch is wrong as well for goto out > > >branch. The updated patch as follows: >

Re: Need help debugging crazy kernel memory issue

2012-08-02 Thread Alan Cox
> kernel-2.6.32-220.17.1.el6.x86_64 > kernel-2.6.32-220.23.1.el6.x86_64 > kernel-2.6.32-279.1.1.el6.x86_64 You need to contact your vendor for RHEL based kernels - they are sufficiently different to upstream and from a long time back (with backports). This is the wrong place unless you can duplic

Re: [PATCH 07/13] perf: Add attribute to filter out callchains

2012-08-02 Thread Andrew Vagin
On Wed, Aug 01, 2012 at 02:10:59PM +0400, Jiri Olsa wrote: > From: Frederic Weisbecker > > Introducing following bits to the the perf_event_attr struct: > - exclude_callchain_kernel to filter out kernel callchain > from the sample dump > - exclude_callchain_user to filter out user callch

Re: [PATCH 3/3] ARM: OMAP: omap_device: expose hwmod assert/deassert to omap devices

2012-08-02 Thread Paul Walmsley
Hi Omar On Mon, 16 Jul 2012, Omar Ramirez Luna wrote: > This APIs are meant to be an interface to hwmod assert/deassert > function, omap devices can call them through their platform data > to control their reset lines, they are expected to know the name > of the reset line they are trying to cont

Re: [alsa-devel] [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-02 Thread Lee Jones
On Wed, Aug 01, 2012 at 08:41:34PM +0100, Mark Brown wrote: > On Wed, Aug 01, 2012 at 05:08:24PM +0100, Mark Brown wrote: > > On Wed, Aug 01, 2012 at 02:50:32PM +0100, Lee Jones wrote: > > > > >It's very disappointing to see such an error exist, and even more > > > >disappointing that there's no i

[PATCH] ipv6: Fix premature timeout for MLDv1 compatibility mode

2012-08-02 Thread Dragos Ilie
The timeout for MLDv1 compatibility mode is now calculated according to Section 9.2 in RFC 3810. Signed-off-by: Dragos Ilie --- net/ipv6/mcast.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c index 92f8e48..ef824a0 100644 --- a/net/

Re: [PATCH 2/3] ARM: OMAP: hwmod: revise deassert sequence

2012-08-02 Thread Paul Walmsley
Hello OMar, On Mon, 16 Jul 2012, Omar Ramirez Luna wrote: > For a reset sequence to complete cleanly, a module needs its > associated clocks to be enabled, otherwise the timeout check > in prcm code can print a false failure (failed to hardreset) > that occurs because the clocks aren't powered ON

[PATCH 1/8] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-08-02 Thread Fangxiaozhi (Franko)
From: fangxiaozhi 1. This patch is based on the kernel of 3.5 2. In this patch, we add new micro for matching the series USB devices with vendor ID and interface information. 3. In this patch, we add new declarations into option.c to support the new interfaces of Huawei Data Card devices. And a

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Alex Courbot
On 07/31/2012 07:45 AM, Stephen Warren wrote: Oh I see. That's a little confusing. Why not just reference the relevant resources directly in each step; something more like: gpio@1 { action = "enable-gpio"; gpio = <&gpio 1 0>;

checkpatch.pl: Wrong check SINGLE_STATEMENT_DO_WHILE_MACRO

2012-08-02 Thread Schrober
Hi, I think your check for SINGLE_STATEMENT_DO_WHILE_MACRO is wrong. Just to give an example: #define foobar(x) \ do { \ if (pizza_ready(x)) \ eat_pizza(x); \ } while (0) if (hungry(y)) foobar(x); else barfoo(x); checkpat

[PATCH v3] Hardware breakpoints: Invoke __perf_event_disable() if interrupts are already disabled

2012-08-02 Thread Naveen N. Rao
Hi Frederick, I've added a check to make sure we are targeting the current task. This applies on top of v3.5. Kindly review. Thanks, Naveen History: v3: Added check to make sure we only target "current" task. v2: Use __perf_event_disable() directly __ From: K.Prasad While debugging a warni

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Thierry Reding
On Thu, Aug 02, 2012 at 05:00:13PM +0900, Alex Courbot wrote: > On 07/31/2012 07:45 AM, Stephen Warren wrote: > >Oh I see. That's a little confusing. Why not just reference the relevant > >resources directly in each step; something more like: > > > > gpio@1 { > > act

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Alex Courbot
On Thu 02 Aug 2012 05:21:57 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Aug 02, 2012 at 05:00:13PM +0900, Alex Courbot wrote: On 07/31/2012 07:45 AM, Stephen Warren wrote: Oh I see. That's a little confusing. Why not just reference the relevant resources directly in ea

[PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
This patch is to fix a oops from a torn down device. When scsi_run_queue process starved queues, scsi_request_fn can race with scsi_remove_device. In this case, rarely, scsi_request_fn release the last reference and set sdev->request_queue to NULL. It result in NULL-pointer dereference when spin_un

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-02 Thread Michael S. Tsirkin
On Mon, Jul 30, 2012 at 07:12:15PM -0600, Alex Williamson wrote: > > > > > > > kvm_eoifd.fd specifies the eventfd used for > > > > > > > +notification. KVM_EOIFD_FLAG_DEASSIGN is used to de-assign an > > > > > > > eoifd > > > > > > > +once assigned. KVM_EOIFD also requires additional bits set i

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Thierry Reding
On Thu, Aug 02, 2012 at 05:27:44PM +0900, Alex Courbot wrote: > On Thu 02 Aug 2012 05:21:57 PM JST, Thierry Reding wrote: > >* PGP Signed by an unknown key > > > >On Thu, Aug 02, 2012 at 05:00:13PM +0900, Alex Courbot wrote: > >>On 07/31/2012 07:45 AM, Stephen Warren wrote: > >>>Oh I see. That's a

Re: [PATCH v2] parisc: fix personality flag check in copy_thread()

2012-08-02 Thread James Bottomley
On Thu, 2012-08-02 at 09:12 +0200, Jiri Kosina wrote: > Directly comparing task_struct->personality against PER_* is not fully > correct, as it doesn't take flags potentially stored in top three bytes > into account. > > Analogically, directly forcefully setting personality to PER_LINUX32 or > PER

Re: [PATCH 07/13] perf: Add attribute to filter out callchains

2012-08-02 Thread Jiri Olsa
On Thu, Aug 02, 2012 at 11:38:26AM +0400, Andrew Vagin wrote: > On Wed, Aug 01, 2012 at 02:10:59PM +0400, Jiri Olsa wrote: > > From: Frederic Weisbecker > > > > Introducing following bits to the the perf_event_attr struct: > > - exclude_callchain_kernel to filter out kernel callchain > > f

[NEW DRIVER V1 7/7] DA9058 REGULATOR driver

2012-08-02 Thread Anthony Olech
This is the REGULATOR component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/regulator/Kconfig| 11 + drivers/regulator/Makefile

[NEW DRIVER V1 4/7] DA9058 RTC driver

2012-08-02 Thread Anthony Olech
This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/rtc/Kconfig | 21 ++- drivers/rtc/Makefile |1 + drivers/rtc/rtc

[NEW DRIVER V1 2/7] DA9058 ONKEY driver

2012-08-02 Thread Anthony Olech
This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/input/misc/Kconfig| 10 ++ drivers/input/misc/Makefile |1

[NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-02 Thread Anthony Olech
This is the GPIO component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/gpio/Kconfig | 12 ++ drivers/gpio/Makefile |1 + drivers/gpi

[NEW DRIVER V1 1/7] DA9058 MFD core and ADC driver

2012-08-02 Thread Anthony Olech
This is the MFD core driver for the Dialog DA9058 PMIC. This driver, via MFD CELLs, causes all the component drivers to be loaded, if it is a module, and initialized via their probe methods. It also provides access to the ADC functions on the PMIC. All the other component drivers depend on this one

[NEW DRIVER V1 6/7] DA9058 HWMON driver

2012-08-02 Thread Anthony Olech
This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/hwmon/Kconfig| 10 + drivers/hwmon/Makefile |1 + drivers

[NEW DRIVER V1 3/7] DA9058 POWER driver

2012-08-02 Thread Anthony Olech
This is the POWER component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Tony Olech (at Home) --- drivers/power/Kconfig| 10 + drivers/power/Makefile |1 + drivers

[NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-02 Thread Anthony Olech
This is submission attempt number 1 to have this driver included in the linux kernel source tree. This is the driver for the Dialog DA9058. The DA9058 is a low power Power Management Integrated Circuit with extra functionality. It is a Multi Function Device controlled only from an I2C bus whose co

[PATCH 1/2] pwm: samsung: add missing device pointer to struct pwm_chip

2012-08-02 Thread Jingoo Han
This patch adds missing device pointer to struct pwm_chip. If the device pointer is NULL, pwmchip_add() will return error. Signed-off-by: Jingoo Han --- drivers/pwm/pwm-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-

[PATCH 2/2] pwm: samsung: fix the number of PWMs

2012-08-02 Thread Jingoo Han
Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be set as 4. Signed-off-by: Jingoo Han --- drivers/pwm/pwm-samsung.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index e5187c0..32562c6 100644 --- a

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread James Bottomley
On Thu, 2012-08-02 at 17:41 +0900, Chanho Min wrote: > This patch is to fix a oops from a torn down device. When > scsi_run_queue process starved queues, scsi_request_fn can race with > scsi_remove_device. In this case, rarely, scsi_request_fn release the > last reference and set sdev->request_queu

Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2)

2012-08-02 Thread Meredydd Luff
On Thu, Aug 2, 2012 at 7:55 AM, Al Viro wrote: >> This means you need an x32 version of the function -- execve >> unfortunately is one of the few system calls which require a special x32 >> version (although it's a simple wrapper around sys32_execve). See >> sys_x32_execve. > > I *really* strongl

[PATCH] i2c: muxes: fix build break

2012-08-02 Thread Venu Byravarasu
Seems a new parameter is added to i2c_add_mux_adapter(). All its references, except for the one present in i2c-mux-pinctrl.c, were updated. As this is causing build break, pushing current patch to fix it. Signed-off-by: Venu Byravarasu --- drivers/i2c/muxes/i2c-mux-pinctrl.c |2 +- 1 files c

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Alex Courbot
On Thu 02 Aug 2012 05:45:41 PM JST, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Aug 02, 2012 at 05:27:44PM +0900, Alex Courbot wrote: On Thu 02 Aug 2012 05:21:57 PM JST, Thierry Reding wrote: Old Signed by an unknown key On Thu, Aug 02, 2012 at 05:00:13PM +0900, Alex Courbot

[REGRESSION] kernel 3.5 / drm mode probe problem on i915GM

2012-08-02 Thread Knut Petersen
Hi! On an AOpen i915GMm-hfs a monitor connected to DVI-1 works well with both kernel 3.4.7 and 3.5. A monitor connected to VGA-1 boots to 1280x1024 with kernel 3.4.7 and 1024x768 with kernel 3.5. kernel 3.5 <7>[3.132038] [drm:drm_helper_probe_single_connector_modes], [CONNECTOR:

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
On Thu, Aug 2, 2012 at 5:57 PM, James Bottomley wrote: > On Thu, 2012-08-02 at 17:41 +0900, Chanho Min wrote: >> This patch is to fix a oops from a torn down device. When >> scsi_run_queue process starved queues, scsi_request_fn can race with >> scsi_remove_device. In this case, rarely, scsi_reque

Re: linux-next: removal of some trees

2012-08-02 Thread Cong Wang
On 08/02/2012 06:41 AM, Stephen Rothwell wrote: Hi Ben, Since I haven't been able to fetch these trees for quite some time and I haven't heard from you about them, I am removing the following trees from linux-next. If/When you have time to maintain these trees again, we can add them back withou

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread James Bottomley
On Thu, 2012-08-02 at 18:28 +0900, Chanho Min wrote: > On Thu, Aug 2, 2012 at 5:57 PM, James Bottomley > wrote: > > On Thu, 2012-08-02 at 17:41 +0900, Chanho Min wrote: > >> This patch is to fix a oops from a torn down device. When > >> scsi_run_queue process starved queues, scsi_request_fn can ra

Re: [PATCH 1/2] x86: abort secondary CPU bring-up gracefully if do_boot_cpu timed out on cpu_callin_mask

2012-08-02 Thread Igor Mammedov
Hi Toshi, I'm sorry for delayed response, I was on vacation. Thanks for looking at the patch, my comments are below. PS: I'm not happy with introducing one more sync point and bitmat. Well, it's necessary to somehow notify being on-lined CPU that master CPU will wait for it, but perhaps it c

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Josh Triplett
On Wed, Aug 01, 2012 at 11:27:49AM -0700, Tejun Heo wrote: > On Wed, Aug 01, 2012 at 08:24:32PM +0200, Sasha Levin wrote: > > On 08/01/2012 08:21 PM, Tejun Heo wrote: > > > On Wed, Aug 01, 2012 at 08:19:52PM +0200, Sasha Levin wrote: > > >> If we switch to using functions, we could no longer hide i

Re: [PATCH] i2c: muxes: fix build break

2012-08-02 Thread Jean Delvare
Hi Venu, On Thu, 2 Aug 2012 14:42:17 +0530, Venu Byravarasu wrote: > Seems a new parameter is added to i2c_add_mux_adapter(). > All its references, except for the one present in > i2c-mux-pinctrl.c, were updated. > As this is causing build break, pushing current patch to fix it. Thanks for the he

Re: [PATCH 2/2] pwm: samsung: fix the number of PWMs

2012-08-02 Thread Thierry Reding
On Thu, Aug 02, 2012 at 05:56:27PM +0900, Jingoo Han wrote: > Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be > set as 4. > > Signed-off-by: Jingoo Han > --- > drivers/pwm/pwm-samsung.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/pwm

Re: [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 07:58:24AM +0200, Ola Lilja wrote: > Accusing me of having "no interest in fixing the driver" is just absurd > regarding the time I've spent on this. I'm also still driving for Sorry, this is more directed at the current round of fixes that are being sent than the driver i

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Sasha Levin
On 08/02/2012 12:45 AM, Tejun Heo wrote: > On Thu, Aug 02, 2012 at 12:41:56AM +0200, Sasha Levin wrote: >> How would your DEFINE_HASHTABLE look like if we got for the simple >> 'struct hash_table' approach? > > I think defining a different enclosing anonymous struct which the > requested number of

[PATCH] drivers: usb: musb: cleanup while removing musb omap glue driver

2012-08-02 Thread Kishon Vijay Abraham I
No functional change. Just replaced the call to platform_device_del and platform_device_put with platform_device_unregister. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/musb/omap2430.c

Re: [PATCH] powerpc/smp: Do not disable IPI interrupts during suspend

2012-08-02 Thread Zhao Chenhui
On Sat, Jul 28, 2012 at 08:20:31AM +1000, Benjamin Herrenschmidt wrote: > On Fri, 2012-07-27 at 16:58 -0500, Kumar Gala wrote: > > On Jul 20, 2012, at 7:47 AM, Zhao Chenhui wrote: > > > > > During suspend, all interrupts including IPI will be disabled. In this > > > case, > > > the suspend proces

[PATCH] uprobes: Ignore unsupported instructions in uprobe_mmap

2012-08-02 Thread Srikar Dronamraju
uprobe_mmap()->install_breakpoint() can fail if the probed insn is not supported (remember, uprobe_register() succeeds if nobody mmaps inode/offset). Failure in uprobe_mmap() causes mmap_region/do_fork to fail too. However failing mmap_region()/do_fork() because of a probe on an unsupported instru

Re: [PATCH] spi: omap2-mcspi: Fix the error handling in probe

2012-08-02 Thread Shubhrajyoti
On Wednesday 01 August 2012 08:37 PM, Guenter Roeck wrote: > On Wed, Aug 01, 2012 at 03:06:28PM +0530, Shubhrajyoti D wrote: >> The kfree() is taken care of by the spi core (spi_master_release() function) >> that is called once the last reference to the underlying struct device has >> been released

[PATCH] iio: lm3533-als: Fix build warnings

2012-08-02 Thread Axel Lin
Fix below build warnings: CC [M] drivers/iio/light/lm3533-als.o drivers/iio/light/lm3533-als.c:667:8: warning: initialization from incompatible pointer type [enabled by default] drivers/iio/light/lm3533-als.c:667:8: warning: (near initialization for 'dev_attr_in_illuminance0_thresh_either_en.s

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-08-02 Thread Alexander Graf
On 02.08.2012, at 09:08, Raghavendra K T wrote: > On 08/01/2012 11:55 PM, Marcelo Tosatti wrote: >> On Wed, Aug 01, 2012 at 04:19:01PM +0530, Raghavendra K T wrote: >>> On 08/01/2012 08:37 AM, Marcelo Tosatti wrote: On Tue, Jul 24, 2012 at 02:23:59PM +0530, Raghavendra K T wrote: > Fr

Re: [NEW DRIVER V1 1/7] DA9058 MFD core and ADC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:55AM +0100, Anthony Olech wrote: > +#if 0 > + return regmap_bulk_read(da9058->regmap, reg, val, val_count); > +#else > + int ret = regmap_bulk_read(da9058->regmap, reg, val, val_count); > + return ret; > +#endif This shouldn't be going into mainline... >

Re: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:58AM +0100, Anthony Olech wrote: > This is submission attempt number 1 to have this driver included in > the linux kernel source tree. This is the driver for the Dialog DA9058. I just noticed that you haven't CCed the maintainers for most of this stuff on your patches

Re: [NEW DRIVER V1 5/7] DA9058 GPIO driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:57AM +0100, Anthony Olech wrote: > + mutex_lock(&gpio->lock); > + ret = da9058_reg_read(da9058, DA9058_STATUSC_REG, &gpio_level); > + mutex_unlock(&gpio->lock); regmap already does locking for you. > + ret = da9058_reg_read(da9058, DA9058_GPIO0001_RE

Re: [RESEND PATCHv5 09/11] modem_shm: Character device for SHM channel access.

2012-08-02 Thread Alan Cox
On Tue, 31 Jan 2012 09:48:44 +0100 Sjur Brændeland wrote: > Add a character device implementation for the SHM stream channels. > The character device provides asynchronous IO and ring-buffer handling. > The device copies data directly from the Shared Memory area into > user-land buffers. What is

Re: [NEW DRIVER V1 7/7] DA9058 REGULATOR driver

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 09:48:58AM +0100, Anthony Olech wrote: Overall the big issue here is that the driver isn't making much use of framework features, there should be a *lot* less code here. > +static unsigned int da9058_regulator_val_to_mvolts(unsigned int val, > +

Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2)

2012-08-02 Thread Al Viro
On Thu, Aug 02, 2012 at 10:14:53AM +0100, Meredydd Luff wrote: > On Thu, Aug 2, 2012 at 7:55 AM, Al Viro wrote: > >> This means you need an x32 version of the function -- execve > >> unfortunately is one of the few system calls which require a special x32 > >> version (although it's a simple wrapp

Re: [PATCH 2/5] clk: mmp: add clock definition for pxa168

2012-08-02 Thread Arnd Bergmann
On Thursday 02 August 2012, Chao Xie wrote: > > #define APBC_RTC 0x28 > > > > apbc_clks[rtc_clk] = mmp_clk_register_apbc(rtc_clk, clk32k, APBC_RTC, 10, > > APBC_POWER_CTRL, mmp_clk_lock); > > clk_register_clkdev(apbc_clks[rtc_clk], NULL, "sa1100-rtc"); > > > > Arnd > > > hi > I would

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Josh Triplett
On Thu, Aug 02, 2012 at 12:00:33PM +0200, Sasha Levin wrote: > On 08/02/2012 12:45 AM, Tejun Heo wrote: > > On Thu, Aug 02, 2012 at 12:41:56AM +0200, Sasha Levin wrote: > >> How would your DEFINE_HASHTABLE look like if we got for the simple > >> 'struct hash_table' approach? > > > > I think defini

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Greg KH
On Wed, Aug 01, 2012 at 11:02:42PM -0500, Seth Forshee wrote: > On Wed, Aug 01, 2012 at 04:21:47PM -0700, Greg KH wrote: > > On Wed, Aug 01, 2012 at 05:54:00PM +0100, Matthew Garrett wrote: > > > On Tue, Jul 31, 2012 at 03:32:40PM -0700, Greg KH wrote: > > > > > > > With this series, does the late

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-02 Thread richard -rw- weinberger
On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook wrote: > Notify get_robust_list users that the syscall is going away. > > Suggested-by: Thomas Gleixner > Signed-off-by: Kees Cook > --- I'm using this system call in an application and noticed that's marked as deprecated now. My application collects a

RE: [NEW DRIVER V1 0/7] please comment on this new PMIC driver

2012-08-02 Thread Opensource [Anthony Olech]
Thanks Mark, for your very helpful comments on all on the patches in this first submission attempt, I will digest and regurgitate a second attempt as soon as I can. best regards, Tony Olech -Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: 02 Augus

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Greg KH
On Thu, Aug 02, 2012 at 12:01:58PM +0800, Fengguang Wu wrote: > Remove the non-sense isdnloop revision transform code, so as to fix: > > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 > [ 22.097508] isdnloop: (loop0) virtual card added > [ 22.174400] Kernel panic - not syncing: stack-protec

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Fengguang Wu
[Add more CC] On Thu, Aug 02, 2012 at 12:01:58PM +0800, Fengguang Wu wrote: > Remove the non-sense isdnloop revision transform code, so as to fix: > > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 > [ 22.097508] isdnloop: (loop0) virtual card added > [ 22.174400] Kernel panic - not syncin

Re: [PATCH] [RFC] syscalls,x86: Add execveat() system call (v2)

2012-08-02 Thread Meredydd Luff
On Thu, Aug 2, 2012 at 11:30 AM, Al Viro wrote: > FWIW, I've just pushed (completely untested) arm and alpha > parts of what I described into signal.git#execve2; x86 is > next. Note that after that sys_execve() is identical on > converted architectures and can be merged; ditto for > kernel_execve

[PATCH] perf, x86: Fix uncore_types_exit section mismatch

2012-08-02 Thread Borislav Petkov
From: Borislav Petkov Fix the following section mismatch: WARNING: arch/x86/kernel/cpu/built-in.o(.text+0x7ad9): Section mismatch in reference from the function uncore_types_exit() to the function .init.text:uncore_type_exit() The function uncore_types_exit() references the function __init unc

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Greg KH
On Thu, Aug 02, 2012 at 06:44:56PM +0800, Fengguang Wu wrote: > [Add more CC] That's not going to do much, you just sent them a patch they can't apply without editing by hand :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Dan Carpenter
On Thu, Aug 02, 2012 at 06:44:56PM +0800, Fengguang Wu wrote: > [Add more CC] > That's not helpful... Resend the patch to netdev in a way that applies. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [PATCH] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-02 Thread Greg KH
On Thu, Aug 02, 2012 at 12:06:42PM +0530, Virupax Sadashivpetimath wrote: > In case of USB bulk transfer, when himem page > is received, the usb_sg_init function sets the > urb transfer buffer to NULL. When such URB > transfer is handled, kernel crashes in PIO mode. > Handle this by mapping the hig

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Fengguang Wu
On Thu, Aug 02, 2012 at 01:57:36PM +0300, Dan Carpenter wrote: > On Thu, Aug 02, 2012 at 06:44:56PM +0800, Fengguang Wu wrote: > > [Add more CC] > > > > That's not helpful... Resend the patch to netdev in a way that > applies. OK, sorry... -- To unsubscribe from this list: send the line "unsubs

[PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread Fengguang Wu
Fix a buffer overflow bug by removing the revision transform code. [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 [ 22.097508] isdnloop: (loop0) virtual card added [ 22.174400] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: 83244972 [ 22.174400] [ 2

Re: WARNING: at mm/page_alloc.c:4514 free_area_init_node+0x4f/0x37b()

2012-08-02 Thread Borislav Petkov
On Thu, Aug 02, 2012 at 08:33:35AM +0900, Minchan Kim wrote: > Hello Borislav, > > On Wed, Aug 01, 2012 at 07:38:37PM +0200, Borislav Petkov wrote: > > Hi, > > > > I'm hitting the WARN_ON in $Subject with latest linus: > > v3.5-8833-g2d534926205d on a 4-node AMD system. As it looks from > > dmesg

Re: [PATCH v8 5/7] powerpc/85xx: add sleep and deep sleep support

2012-08-02 Thread Zhao Chenhui
On Tue, Jul 31, 2012 at 09:15:33AM -0500, Kumar Gala wrote: > > On Jul 20, 2012, at 7:42 AM, Zhao Chenhui wrote: > > > In sleep PM mode, the clocks of e500 core and unused IP blocks is > > turned off. IP blocks which are allowed to wake up the processor > > are still running. > > > > Some Freesc

Re: [PATCH v2] futex: mark get_robust_list as deprecated

2012-08-02 Thread Eric W. Biederman
richard -rw- weinberger writes: > On Fri, Mar 23, 2012 at 8:08 PM, Kees Cook wrote: >> Notify get_robust_list users that the syscall is going away. >> >> Suggested-by: Thomas Gleixner >> Signed-off-by: Kees Cook >> --- > > I'm using this system call in an application and noticed that's marked

[PATCH] spi: omap2-mcspi: Fix the error handling in probe

2012-08-02 Thread Shubhrajyoti D
The kfree() is taken care of by the spi core (spi_master_release() function) that is called once the last reference to the underlying struct device has been released. So the driver need not call kfree. Also the put was missed in some of the error handling fix the same. There by fixing the missing

RE: [PATCH v5 3/6] fsl-dma: change release process of dma descriptor for supporting async_tx

2012-08-02 Thread Liu Qiang-B32616
Hi Ira, Here, I want to talk about the issue of dma lock when use dmatest with original patch. I do some tests on p1022ds, 2 cores, 6 dma channels (actually is 4 channels, I am investigating why is 6, but it doesn't matter). I would like to share with you to find something:) First, it is easy

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-08-02 Thread Sasha Levin
On 08/02/2012 12:32 PM, Josh Triplett wrote: > On Thu, Aug 02, 2012 at 12:00:33PM +0200, Sasha Levin wrote: >> On 08/02/2012 12:45 AM, Tejun Heo wrote: >>> On Thu, Aug 02, 2012 at 12:41:56AM +0200, Sasha Levin wrote: How would your DEFINE_HASHTABLE look like if we got for the simple 'stru

[PATCH] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Laxman Dewangan
Device have SYS rail which is always ON. It is system power bus. LDO5 and LDO_RTC get powered through this rail internally. Add support for this rail and make the LDO5/LDO_RTC input supply to "sys". Update document accordingly. Signed-off-by: Laxman Dewangan --- .../devicetree/bindings/regulator

Re: [PATCH] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Mark Brown
On Thu, Aug 02, 2012 at 04:46:33PM +0530, Laxman Dewangan wrote: > +static const unsigned int tps6586x_sys_voltages[] = { > + 500, > +}; Is the system rail actually regulated or is it just a nominal 5V? Normally it's just the raw, unregulated input switched in with FETs or whatever. -- To

Re: [PATCH v2] parisc: fix personality flag check in copy_thread()

2012-08-02 Thread Jiri Kosina
On Thu, 2 Aug 2012, James Bottomley wrote: > > Directly comparing task_struct->personality against PER_* is not fully > > correct, as it doesn't take flags potentially stored in top three bytes > > into account. > > > > Analogically, directly forcefully setting personality to PER_LINUX32 or > > P

[PATCH 0/3] implement uid and gid mount options for ext2, ext3 and ext4

2012-08-02 Thread Ludwig Nussel
When using 'real' file systems on removable storage devices such as hard disks or usb sticks people quickly face the problem that their Linux users have different uids on different machines. Therefore one cannot modify or even read files created on a different machine without running chown as root

[PATCH 3/3] implement uid and gid mount options for ext4

2012-08-02 Thread Ludwig Nussel
Signed-off-by: Ludwig Nussel --- Documentation/filesystems/ext4.txt |9 fs/ext4/ext4.h |4 ++ fs/ext4/inode.c| 52 +++-- fs/ext4/super.c| 87 +++- 4 Dateien geändert, 137 Z

[PATCH 2/3] implement uid and gid mount options for ext3

2012-08-02 Thread Ludwig Nussel
Signed-off-by: Ludwig Nussel --- Documentation/filesystems/ext3.txt |9 fs/ext3/ext3.h |8 +++ fs/ext3/inode.c| 54 ++-- fs/ext3/super.c| 95 +++- 4 Dateien geändert, 149 Z

  1   2   3   4   >