Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

2015-05-25 Thread Takashi Iwai
At Sat, 23 May 2015 18:32:29 +0200, Maciej S. Szmigiero wrote: > > snd_soc_pcm_stream.formats is a bitmask of SNDRV_PCM_FMTBIT_*, > not of SNDRV_PCM_FORMAT_* (which are sequential integers), > however some of ASoC CODEC drivers use these values instead. > > Found out by sparse on 0-day kernel

Re: [PATCH] Staging: vt6655: Remove unnecessary equality checks for a bool variable

2015-05-25 Thread Sudip Mukherjee
On Mon, May 25, 2015 at 12:22:25PM +, Harisangam, Sharvari (S.) wrote: > Modified the if-else statements to remove unnecessary comparisons. > This change was detected with the help of coccinelle tool > > Signed-off-by: Harisangam Sharvari S you should not use initials in the Signed-off-by

Re: [PATCH] staging: rtl8192u: ieee80211: Silence sparse endianness warning

2015-05-25 Thread Sudip Mukherjee
On Mon, May 25, 2015 at 07:50:55PM -0300, Gaston Gonzalez wrote: > On 25/05/15 13:35, Dan Carpenter wrote: > > This is also wrong then. > > > > regards, > > dan carpenter > Hi Dan, > > Yes, you are right. It is the next sparse warning in line for that file. > Including the fix for that, the patch

[PATCH] Fix reversed logic in drivers/md/md.c

2015-05-25 Thread Eddie Kovsky
Fixes the following compiler warning in next-20150525 using gcc 5.1.0: drivers/md/md.c: In function ‘update_array_info’: drivers/md/md.c:6394:26: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] !mddev->persistent != info->not_pers

Re: [PATCH] Fix reversed logic in drivers/md/md.c

2015-05-25 Thread NeilBrown
On Mon, 25 May 2015 22:36:24 -0600 Eddie Kovsky wrote: > Fixes the following compiler warning in next-20150525 using gcc 5.1.0: > > drivers/md/md.c: In function ‘update_array_info’: > drivers/md/md.c:6394:26: warning: logical not is only applied to the > left hand side of compar

Re: [PATCH] staging: rts5208: remove always true comparison

2015-05-25 Thread Sudip Mukherjee
On Mon, May 25, 2015 at 07:22:40PM +0300, Dan Carpenter wrote: > On Fri, May 15, 2015 at 03:46:49PM +0530, Sudip Mukherjee wrote: > > On Thu, May 14, 2015 at 06:18:59PM +0300, Dan Carpenter wrote: > > > On Thu, May 14, 2015 at 07:55:59PM +0530, Sudip Mukherjee wrote: > > > > the if comparison is

[PATCH v1] staging: lustre: libcfs: add __user annotation in libcfs_ioctl_data

2015-05-25 Thread David Decotigny
This fixes the following sparse warnings: drivers/staging/lustre/lnet/lnet/api-ni.c:1926:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/lustre/lnet/lnet/api-ni.c:1926:38:expected void [noderef] *to

Re: [PATCH] cgroup: add explicit cast and comment for return type conversion

2015-05-25 Thread Nicholas Mc Guire
On Mon, 25 May 2015, Tejun Heo wrote: > Hello, Nicholas. > > On Mon, May 25, 2015 at 01:50:47PM +0200, Nicholas Mc Guire wrote: > > that would be no benefit of course - the goal is not to simply put casts > > in but to use casts as last resort if type cleanups are not doable or if > > the type

Re: [PATCH] livepatch: match function return value type with prototype

2015-05-25 Thread Minfei Huang
On Tue, May 26, 2015 at 10:44 AM, Li Bin wrote: > The klp_is_module return type should be boolean. > > Signed-off-by: Li Bin > --- > kernel/livepatch/core.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c > index

Re: [FYI] tux3: Core changes

2015-05-25 Thread Daniel Phillips
On Monday, May 25, 2015 9:25:44 PM PDT, Rik van Riel wrote: On 05/21/2015 03:53 PM, Daniel Phillips wrote: On Wednesday, May 20, 2015 8:51:46 PM PDT, David Lang wrote: how do you prevent it from continuing to interact with the old version of the page and never see updates or have it's changes

[PATCH] serial: 8250: include from serial_8250.h

2015-05-25 Thread Masahiro Yamada
The header file, include/linux/serial_8250.h, contains references to UART_LSR_BRK_ERROR_BITS and UART_MSR_ANY_DELTA that are defined in . Signed-off-by: Masahiro Yamada --- include/linux/serial_8250.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/serial_8250.h

[PATCH] pinctrl: zynq: change error code for pinctrl_register failure

2015-05-25 Thread Masahiro Yamada
pinctrl_register() could fail for memory unrelated errors. Returning -EINVAL (or -ENODEV) seems more suitable for here. At least, the other pinctrl drivers do so. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/pinctrl-zynq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH-v2 1/9] target: Convert se_node_acl->device_list[] to RCU hlist

2015-05-25 Thread Nicholas A. Bellinger
On Mon, 2015-05-25 at 15:14 -0700, Nicholas A. Bellinger wrote: > On Fri, 2015-05-22 at 13:31 +0200, Christoph Hellwig wrote: > > On Fri, May 22, 2015 at 01:55:30AM -0700, Nicholas A. Bellinger wrote: > > > > > + kref_put(>pr_kref, target_pr_kref_release); > > > > > +

Re: [PATCH v2 7/8] dmaengine: add a driver for Intel integrated DMA 64-bit

2015-05-25 Thread Vinod Koul
On Mon, May 25, 2015 at 07:09:31PM +0300, Andy Shevchenko wrote: > Intel integrated DMA (iDMA) 64-bit is a specific IP that is used as a part of > LPSS devices such as HSUART or SPI. The iDMA IP is attached for private > usage on each host controller independently. > > While it has similarities

[PATCH v5] arm, imx6, dts: add DT for aristainetos2 board

2015-05-25 Thread Heiko Schocher
This patch add support for the imx6dl based aristainetos2 board with following configuration: CPU: Freescale i.MX6DL rev1.1 at 792 MHz MReset cause: POR MBoard: aristaitenos2 DRAM: 1 GiB NAND: 1024 MiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected N25Q128A with page size 256 Bytes, erase size

Re: [PATCH v2 3/8] core: platform: wakeup the parent before trying any driver operations

2015-05-25 Thread Vinod Koul
On Mon, May 25, 2015 at 01:36:43PM -0400, Alan Stern wrote: > On Mon, 25 May 2015, Andy Shevchenko wrote: > > > From: Heikki Krogerus > > > > If the parent is still suspended when a driver probe, > > remove or shutdown is attempted, the result may be a > > failure. > > > > For example, if the

Re: [RFC PATCH] video/logo: introduce new system state for checking if logos are freed

2015-05-25 Thread Heiko Schocher
Hello Tomi, Am 25.05.2015 07:57, schrieb Tomi Valkeinen: On 06/05/15 10:09, Heiko Schocher wrote: commit 92b004d1aa9f ("video/logo: prevent use of logos after they have been freed") added a late_initcall function to mark the logos as freed. In reality the logos are freed later, and fbdev

Re: [PATCH v3] brcmfmac: prohibit ACPI power management for brcmfmac driver

2015-05-25 Thread Fu, Zhonghui
On 2015/5/20 17:02, Arend van Spriel wrote: > On 05/18/15 08:26, Fu, Zhonghui wrote: >> >> Hi guys, >> >> Any comments about this patch? > > My acked is already there. I have not been able to test it, but I assume you > did. Yes, I have verified this patch on ASUS T100TA. Thanks, Zhonghui > >

Re: [PATCH v2 0/8] mfd: introduce a driver for LPSS devices on SPT

2015-05-25 Thread Vinod Koul
On Mon, May 25, 2015 at 07:09:24PM +0300, Andy Shevchenko wrote: > The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH. > > The driver is based on MFD framework since the main device, i.e. serial bus > controller, contains register space for itself, DMA part, and an

Re: [PATCH v4 1/5] Documentation: dmaengine: pxa-dma design

2015-05-25 Thread Vinod Koul
On Mon, May 25, 2015 at 11:29:18PM +0200, Robert Jarzmik wrote: > Document the new design of the pxa dma driver. > Applied all, Thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

RE: [v7 4/8] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2015-05-25 Thread Wu, Feng
> -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, May 25, 2015 4:38 PM > To: Wu, Feng > Cc: j...@8bytes.org; dw...@infradead.org; jiang@linux.intel.com; > io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org > Subject: Re: [v7 4/8]

Re: [RFC PATCH 2/2] arm64: Implement vmalloc based thread_info allocator

2015-05-25 Thread yalin wang
2015-05-25 0:02 GMT+08:00 Jungseok Lee : > Fork-routine sometimes fails to get a physically contiguous region for > thread_info on 4KB page system although free memory is enough. That is, > a physically contiguous region, which is currently 16KB, is not available > since system memory is

[PATCH] livepatch: match function return value type with prototype

2015-05-25 Thread Li Bin
The klp_is_module return type should be boolean. Signed-off-by: Li Bin --- kernel/livepatch/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 284e269..30e9339 100644 --- a/kernel/livepatch/core.c +++

livepatch: match function return value type with prototype

2015-05-25 Thread Li Bin
The klp_is_module return type should be boolean. Signed-off-by: Li Bin --- kernel/livepatch/core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 284e269..30e9339 100644 --- a/kernel/livepatch/core.c +++

[PATCH] base: power: domain.c: fixed a typo error

2015-05-25 Thread Sriram Dash
From: dashsriram Fixed a typo error in the file Signed-off-by: Sriram Dash --- drivers/base/power/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 2327613..10aa00c 100644 ---

[PATCH 3/3] n_gsm: wake up ldisc tty before using it

2015-05-25 Thread Zhang, Yanmin
Wake up ldisc device before calling its driver to access the device. Signed-off-by: Zhang Yanmin --- drivers/tty/n_gsm.c | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c index

[PATCH 2/3] cdc-acm: call usb_autopm_get_interface_upgrade in, acm_tty_write

2015-05-25 Thread Zhang, Yanmin
acm device might be used as ldisc device by n_gsm driver. gsmtty_write and other gsm functions calls acm_tty_write indirectly while they holds spinlocks. Meanwhile, application might access ACM tty device directly. Here we choose to call usb_autopm_get_interface_upgrade instead of

[PATCH 1/3] usb: add function usb_autopm_get_interface_upgrade

2015-05-25 Thread Zhang, Yanmin
Some usb driver has a specific requirement. Their critical functions might be called under both atomic environment and non-atomic environment. If it's under atomic environment, the driver can wake up the device by calling pm_runtime_get_sync directly. If it's under non-atomic environment, the

[PATCH 0/3] cdc-acm: fix incorrect runtime wakeup in acm_tty_write

2015-05-25 Thread Zhang, Yanmin
There is a scenario about cdc-acm utilization.Application opens n_gsm tty and cdc-acm tty. cdc-acm tty connects to xhci device. The application configures cdc-adm tty to n_gsm tty as ldisc tty. n_gsm=>cdc-acm=>xhci driver acm_tty_write can be called from n_gsm driver by ldisc connection,

Re: [PATCH v2 1/7] sched/deadline: fix try to pull pinned dl tasks in pull algorithm

2015-05-25 Thread Wanpeng Li
Ping, On Tue, May 19, 2015 at 08:23:15AM +0800, Wanpeng Li wrote: >Ping Peterz for this patchset, :) >On Wed, May 13, 2015 at 02:01:01PM +0800, Wanpeng Li wrote: >>Function pick_next_earliest_dl_task is used to pick earliest and pushable >>dl task from overloaded cpus in pull algorithm, however,

[PATCH] PCI / ACPI: Do not set ACPI companions for host bridges with parents

2015-05-25 Thread Rafael J. Wysocki
On Tuesday, May 26, 2015 03:08:17 AM Rafael J. Wysocki wrote: > On Tuesday, May 26, 2015 01:42:16 AM Rafael J. Wysocki wrote: > > On Tuesday, May 26, 2015 01:22:12 AM Rafael J. Wysocki wrote: > > > On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky wrote: > > > > On 05/22/2015 04:11 AM, Sander

Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses

2015-05-25 Thread James Bottomley
On Mon, 2015-05-25 at 17:47 -0700, Josh Triplett wrote: > On Mon, May 25, 2015 at 09:29:51PM +, James Bottomley wrote: > > On Mon, 2015-05-25 at 12:29 -0700, Josh Triplett wrote: > > > On Mon, May 25, 2015 at 07:07:14PM +, James Bottomley wrote: > > > > On Mon, 2015-05-25 at 10:54 -0700,

Re: [PATCH 2/2] Smack: allow multiple labels in onlycap

2015-05-25 Thread Casey Schaufler
On 5/21/2015 9:24 AM, Rafal Krypa wrote: > Smack onlycap allows limiting of CAP_MAC_ADMIN and CAP_MAC_OVERRIDE to > processes running with the configured label. But having single privileged > label is not enough in some real use cases. On a complex system like Tizen, > there maybe few programs

[PATCH] Documentation/scheduler/sched-deadline.txt: fix schedtool's time-units

2015-05-25 Thread Andrea Parri
Use the proper time-units for schedtool's reservation parameters. Signed-off-by: Andrea Parri --- Documentation/scheduler/sched-deadline.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/scheduler/sched-deadline.txt

Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses

2015-05-25 Thread Josh Triplett
On Mon, May 25, 2015 at 09:29:51PM +, James Bottomley wrote: > On Mon, 2015-05-25 at 12:29 -0700, Josh Triplett wrote: > > On Mon, May 25, 2015 at 07:07:14PM +, James Bottomley wrote: > > > On Mon, 2015-05-25 at 10:54 -0700, Josh Triplett wrote: > > > > On Mon, May 25, 2015 at 12:55:17PM

Re: [Xen-devel] Regression due to "device property: Make it possible to use secondary firmware nodes" Re: Xen-unstable + linux 4.1-mergewindow: problems with PV guest pci passthrough: pcifront pci-0:

2015-05-25 Thread Rafael J. Wysocki
On Tuesday, May 26, 2015 01:42:16 AM Rafael J. Wysocki wrote: > On Tuesday, May 26, 2015 01:22:12 AM Rafael J. Wysocki wrote: > > On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky wrote: > > > On 05/22/2015 04:11 AM, Sander Eikelenboom wrote: > > > > Hello Sander, > > > > > > [cut] > > > >

Re: [RFC PATCH v3 09/37] bpf tools: Open eBPF object file and do basic validation

2015-05-25 Thread Arnaldo Carvalho de Melo
Em Tue, May 26, 2015 at 08:05:28AM +0800, Wangnan (F) escreveu: > On 2015/5/25 21:30, Arnaldo Carvalho de Melo wrote: > >Well, there are many styles to pick, the fact that perf uses __ to > >separate class name from class method doesn't mean that you should as > >well, as you may find it

Re: [PATCH 04/21] ARM: EXYNOS: Register drivers before devices

2015-05-25 Thread Krzysztof Kozlowski
2015-05-25 23:53 GMT+09:00 Tomeu Vizoso : > So devices can be probed on demand, we need to have the drivers already > registered as we don't have enough information to register a driver on > demand. > > Signed-off-by: Tomeu Vizoso This is 4/21 but I can't see other patches. I found the cover

RE: [PATCH 2/2] turbostat, add set_base_cpu()

2015-05-25 Thread Brown, Len
> -Original Message- > From: Prarit Bhargava [mailto:pra...@redhat.com] > Sent: Friday, May 22, 2015 6:30 PM > To: Brown, Len > Cc: linux-kernel@vger.kernel.org; linux...@vger.kernel.org; Semin, Andrey > Subject: Re: [PATCH 2/2] turbostat, add set_base_cpu() > > > > On 05/22/2015

[PATCH] drivers: xen-blkfront: blkif_recover: recheck feature-persistent

2015-05-25 Thread Bob Liu
When migrate from !feature-persistent host to feature-persistent host, domU still think new host/backend don't support persistent. Dmesg like: backed has not unmapped grant: 839 backed has not unmapped grant: 773 backed has not unmapped grant: 773 backed has not unmapped grant: 773 backed has not

Re: [PATCH] zram: check compressor name before setting it

2015-05-25 Thread Sergey Senozhatsky
Hi, On (05/25/15 23:21), Minchan Kim wrote: [..] > find_backend is just utility function to get zcomp_backend. > IOW, it might be used for several cases in future so I want > make error report as caller's work. [..] > > if (sz > 0 && zram->compressor[sz - 1] == '\n') > >

[PATCH] drivers: xen-blkback: delay pending_req allocation to connect_ring

2015-05-25 Thread Bob Liu
In connect_ring, we can know exactly how many pages are used for the shared ring and also whether feature-persistent is enabled, delay pending_req allocation here so that we won't waste too much memory. Signed-off-by: Bob Liu --- drivers/block/xen-blkback/common.h | 3 +-

Re: [RFC PATCH v3 09/37] bpf tools: Open eBPF object file and do basic validation

2015-05-25 Thread Wangnan (F)
On 2015/5/25 21:30, Arnaldo Carvalho de Melo wrote: Em Fri, May 22, 2015 at 06:00:58PM -0700, Alexei Starovoitov escreveu: On 5/22/15 10:23 AM, Jiri Olsa wrote: +struct bpf_object *bpf_open_object(const char *path) another suggestion for the namespace.. Arnaldo forces us ;-) to use the

Re: [PATCH] cgroup: add explicit cast and comment for return type conversion

2015-05-25 Thread Tejun Heo
Hello, Nicholas. On Mon, May 25, 2015 at 01:50:47PM +0200, Nicholas Mc Guire wrote: > that would be no benefit of course - the goal is not to simply put casts > in but to use casts as last resort if type cleanups are not doable or if > the type missmatch is intended - the cast then should

Re: [PATCH 1/2] ACPICA: acpihelp: Update for new NFIT table GUIDs.

2015-05-25 Thread Rafael J. Wysocki
On Monday, May 25, 2015 08:15:27 AM Lv Zheng wrote: > From: Bob Moore > > ACPICA commit 83727bed8f715685a63a9f668e73c60496a06054 > > Add original UUIDs/GUIDs to the acuuid.h file. > Cleanup acpihelp output for UUIDs/GUIDs. > > Link: https://github.com/acpica/acpica/commit/83727bed >

[PATCH 1/2] staging: comedi/drivers/pcl.* coding style fixes

2015-05-25 Thread Matthew Needes
pcl812.c / pcl816.c (resend of earlier patch) Fixed indentation problems. Signed-off-by: Matthew Needes --- drivers/staging/comedi/drivers/pcl812.c | 2 +- drivers/staging/comedi/drivers/pcl816.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] staging: comedi/drivers/pcl.* coding style fixes

2015-05-25 Thread Matthew Needes
pcl812.c (resend of earlier patch) Fixed lines exceeding 80 columns, correcting some spelling in process Signed-off-by: Matthew Needes --- drivers/staging/comedi/drivers/pcl812.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Question: Now that we have IPv6, do we need TCP/UDP port numbers?

2015-05-25 Thread Coroutines
I have a potentially dumb question to ask, and I'm posting it here because out of everywhere on the web I thought I would find the most experts relating to TCP/UDP's design/handling and its history here. I've recently started educating myself about Tor, about how you can bind a service to a local

Re: [Xen-devel] Regression due to "device property: Make it possible to use secondary firmware nodes" Re: Xen-unstable + linux 4.1-mergewindow: problems with PV guest pci passthrough: pcifront pci-0:

2015-05-25 Thread Rafael J. Wysocki
On Tuesday, May 26, 2015 01:22:12 AM Rafael J. Wysocki wrote: > On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky wrote: > > On 05/22/2015 04:11 AM, Sander Eikelenboom wrote: > > > Hello Sander, > > > [cut] > > (+Rafael again) > > > > So the immediate cause of those errors is that

Re: Problems with bdev_write_page().

2015-05-25 Thread Charles Bertsch
On 05/17/2015 12:02 AM, NeilBrown wrote: Hi Matthew, I've just been looking at bdev_write_page(). You can read about why here: http://marc.info/?t=14298406831=1=2 Can you propose a fix for Charles, who can trigger this bug and nicely bisected it for us - thanks Charles!!!

Re: [PATCH 2/4] target: Drop lun_sep_lock for se_lun->lun_se_dev RCU usage

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 13:56 +0200, Christoph Hellwig wrote: > > @@ -683,7 +679,7 @@ void core_tpg_remove_lun( > > dev->export_count--; > > spin_unlock(>se_port_lock); > > > > - lun->lun_se_dev = NULL; > > + rcu_assign_pointer(lun->lun_se_dev, NULL); >

Re: [Xen-devel] Regression due to "device property: Make it possible to use secondary firmware nodes" Re: Xen-unstable + linux 4.1-mergewindow: problems with PV guest pci passthrough: pcifront pci-0:

2015-05-25 Thread Rafael J. Wysocki
On Friday, May 22, 2015 09:53:37 PM Boris Ostrovsky wrote: > On 05/22/2015 04:11 AM, Sander Eikelenboom wrote: > > Hello Sander, > > > > Friday, May 15, 2015, 12:47:27 AM, you wrote: > > > >> Sorry for the resend, i messed up the to's en from's. > > > >> Hi Konrad / David, > > > >> One big snip on

Re: [PATCH-v2 2/9] target/pr: Use atomic bitop for se_dev_entry->pr_reg reservation check

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 13:52 +0200, Christoph Hellwig wrote: > > > > -/* > > - * this function can be called with struct se_device->dev_reservation_lock > > - * when register_move = 1 > > - */ > > static void __core_scsi3_add_registration( > > struct se_device *dev, > > struct

Re: [PATCH] staging: rtl8192u: ieee80211: Silence sparse endianness warning

2015-05-25 Thread Gaston Gonzalez
On 25/05/15 13:35, Dan Carpenter wrote: > This is also wrong then. > > regards, > dan carpenter Hi Dan, Yes, you are right. It is the next sparse warning in line for that file. Including the fix for that, the patch would be as showed below. There are similar endianness warnings for other

Re: [RFC PATCH 2/2] arm64: Implement vmalloc based thread_info allocator

2015-05-25 Thread Catalin Marinas
On 25 May 2015, at 23:29, Arnd Bergmann wrote: > On Monday 25 May 2015 19:47:15 Catalin Marinas wrote: >> On 25 May 2015, at 13:01, Jungseok Lee wrote: Could the stack size be reduced to 8KB perhaps? >>> >>> I guess probably not. >>> >>> A commit, 845ad05e, says that 8KB is not enough to

[PATCH v4 2/3] Phy: DT binding documentation for Broadcom Cygnus USB PHY driver

2015-05-25 Thread Arun Ramamurthy
Broadcom's Cygnus chip has a USB 2.0 host controller connected to three separate phys. One of the phs (port 2) is also connectd to a usb 2.0 device controller Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/phy/brcm,cygnus-usb-phy.txt

[PATCH v4 0/3] USB PHY driver for Broadcom's Cygnus chipset

2015-05-25 Thread Arun Ramamurthy
This patchset adds the USB phy driver and documentation for Broadom's Cygnus chipset. The phy is configurable from device tree and is capable of both device and host functions. It also provides a clock and reset to the host controller History: v1: - Included Dmitry Torokhov's patch that

[PATCH v4 3/3] phy: cygnus-usbphy: Add Broadcom Cygnus USB phy driver

2015-05-25 Thread Arun Ramamurthy
This driver adds support for USB 2.0 host and device phy for Broadcom's Cygnus chipset. The host controller is connected to three separate phys and one of the phys (port 2) is connected to the device controller Signed-off-by: Arun Ramamurthy Signed-off-by: Dmitry Torokhov Reviewed-by: Ray Jui

[PATCH v4 1/3] phy: phy-core: allow specifying supply at port level

2015-05-25 Thread Arun Ramamurthy
From: Dmitry Torokhov Multi-port phys may have per port power supplies. Let's change phy core to look for supply at the port level when multiple ports are specified. To keep compatibility with the existing device tree board descriptions for single-port phys we will continue looking up the power

Re: [PATCH-v2 2/9] target/pr: Use atomic bitop for se_dev_entry->pr_reg reservation check

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 13:34 +0200, Christoph Hellwig wrote: > On Fri, May 22, 2015 at 02:05:57AM -0700, Nicholas A. Bellinger wrote: > > On Fri, 2015-05-22 at 10:26 +0200, Christoph Hellwig wrote: > > > On Fri, May 22, 2015 at 06:11:04AM +, Nicholas A. Bellinger wrote: > > > > +

Re: [PATCH-v2 1/9] target: Convert se_node_acl->device_list[] to RCU hlist

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 13:31 +0200, Christoph Hellwig wrote: > On Fri, May 22, 2015 at 01:55:30AM -0700, Nicholas A. Bellinger wrote: > > > This update will now be racy, ditto for the read/write_bytes update > > > later. > > > > This should become an atomic_long_t increment, yes..? > > Yes.

Payment

2015-05-25 Thread Finance Department
Dear Winner, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146. This compensation funds from the United Nation.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line

[PATCH 2/2] ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai

2015-05-25 Thread Alexandre Belloni
It is currently possible to have CONFIG_SND_ATMEL_SOC_SSC=y with either CONFIG_SND_ATMEL_SOC_PDC=m or CONFIG_SND_ATMEL_SOC_DMA=m. This results in a driver that compiles but does not link with this kind of error: sound/built-in.o: In function `atmel_ssc_set_audio': (.text+0x87d90): undefined

[PATCH 1/2] ASoC: atmel: simplify Kconfig

2015-05-25 Thread Alexandre Belloni
Enclose the options in if SND_ATMEL_SOC ... endif to remove the dependency. Also remove the useless description for SND_ATMEL_SOC_SSC. Signed-off-by: Alexandre Belloni --- sound/soc/atmel/Kconfig | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

Re: [PATCH] PCI / hotplug: Propagate the "ignore hotplug" setting to parent

2015-05-25 Thread Rafael J. Wysocki
On Friday, May 22, 2015 08:40:37 PM Bjorn Helgaas wrote: > On Mon, Apr 13, 2015 at 04:23:36PM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Refine the mechanism introduced by commit f244d8b623da (ACPIPHP / radeon > > / nouveau: Fix VGA switcheroo problem related to hotplug)

Re: [PATCH-v2 0/9] target: se_node_acl + se_lun RCU conversions

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 12:15 +0200, Bart Van Assche wrote: > On 05/22/15 08:11, Nicholas A. Bellinger wrote: > > Here is -v2 series for converting LIO target se_node_acl + se_lun > > mapping tables from fixed size arrays to dynamic RCU hlist_heads. > > The full list of new sparse warnings

Re: [PATCH] sched/fair: Fix null pointer dereference of empty queues

2015-05-25 Thread Kirill Tkhai
Hi, 25.05.2015, 23:53, "Mohammed Naser" : > Hi Peter, > > (resending as plain text, my bad) > > Thank you for reply. > > Would you have any ideas on why this would have occurred or other > steps to look at?  It's my first time attempting to help fix a problem > like this. > > I have a crashdump

Re: [PATCH-v2 2/9] target/pr: Use atomic bitop for se_dev_entry->pr_reg reservation check

2015-05-25 Thread Nicholas A. Bellinger
On Fri, 2015-05-22 at 12:12 +0200, Bart Van Assche wrote: > On 05/22/15 08:11, Nicholas A. Bellinger wrote: > > diff --git a/include/target/target_core_base.h > > b/include/target/target_core_base.h > > index e2c0eaf..def5bc8 100644 > > --- a/include/target/target_core_base.h > > +++

Re: [PATCH V2] irda: use msecs_to_jiffies for conversion to jiffies

2015-05-25 Thread David Miller
From: Nicholas Mc Guire Date: Mon, 25 May 2015 08:16:50 +0200 > API compliance scanning with coccinelle flagged: > ./net/irda/timer.c:63:35-37: use of msecs_to_jiffies probably perferable > > Converting milliseconds to jiffies by "val * HZ / 1000" technically > is not a clean solution as it

Re: [trivial PATCH] neterion: s2io: Fix kernel doc formatting

2015-05-25 Thread David Miller
From: Joe Perches Date: Sat, 23 May 2015 10:32:55 -0700 > These two uses seem to have had carriage returns removed. > Make these entries like all the others in this file. > > Signed-off-by: Joe Perches Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] irda: irda-usb: use msecs_to_jiffies for conversions

2015-05-25 Thread David Miller
From: Nicholas Mc Guire Date: Sat, 23 May 2015 14:46:30 +0200 > API compliance scanning with coccinelle flagged: > > Converting milliseconds to jiffies by "val * HZ / 1000" is technically > is not a clean solution as it does not handle all corner cases correctly. > By changing the conversion to

[PATCH v4 5/5] dmaengine: pxa_dma: add support for legacy transition

2015-05-25 Thread Robert Jarzmik
In order to achieve smooth transition of pxa drivers from old legacy dma handling to new dmaengine, introduce a function to "hide" dma physical channels from dmaengine. This is temporary situation where pxa dma will be handled in 2 places : - arch/arm/plat-pxa/dma.c - drivers/dma/pxa_dma.c The

Re: [PATCH] net: stmmac: create one debugfs dir per net-device

2015-05-25 Thread David Miller
From: Mathieu Olivari Date: Fri, 22 May 2015 19:03:29 -0700 > stmmac DebugFS entries are currently global to the driver. As a result, > having more than one stmmac device in the system creates the following > error: > * ERROR stmmaceth, debugfs create directory failed > * stmmac_hw_setup: failed

Re: block_all_signals() usage in DRM

2015-05-25 Thread Dave Airlie
On 26 May 2015 at 02:50, Oleg Nesterov wrote: > On 05/25, Richard Weinberger wrote: >> >> Is this functionality still in use/needed? > > All I can say it doesn't work. > >> Otherwise we could get rid of block_all_signals() and unpuzzle the signaling >> code a bit. :-) > > Yes. I do not even

Re: [PATCH net-next v5 2/2] net: Adding support for Cavium ThunderX network controller

2015-05-25 Thread David Miller
From: Aleksey Makarov Date: Fri, 22 May 2015 18:28:16 -0700 > +#ifdef NOT_SUPPORTED_FOR_NOW > +static int nicvf_set_coalesce(struct net_device *netdev, > + struct ethtool_coalesce *cmd) > +{ ... > +#ifdef NOT_SUPPORTED_FOR_NOW > + .set_coalesce =

[PATCH v4 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-05-25 Thread Robert Jarzmik
This is a new driver for pxa SoCs, which is also compatible with the former mmp_pdma. The rationale behind a new driver (as opposed to incremental patching) was : - the new driver relies on virt-dma, which obsoletes all the internal structures of mmp_pdma (sw_desc, hw_desc, ...), and by

[PATCH v4 1/5] Documentation: dmaengine: pxa-dma design

2015-05-25 Thread Robert Jarzmik
Document the new design of the pxa dma driver. Signed-off-by: Robert Jarzmik --- Since v2: Vinod's review --- Documentation/dmaengine/pxa_dma.txt | 153 1 file changed, 153 insertions(+) create mode 100644 Documentation/dmaengine/pxa_dma.txt diff --git

[PATCH v4 4/5] dmaengine: pxa_dma: add debug information

2015-05-25 Thread Robert Jarzmik
Reuse the debugging features which were available in pxa architecture. This is a copy of the code from arch/arm/plat-pxa/dma, which is doomed to disappear once the conversion is completed towards dmaengine. This is a transfer of the commit "[ARM] pxa/dma: add debugfs entries"

Re: block_all_signals() usage in DRM

2015-05-25 Thread Dave Airlie
On 26 May 2015 at 00:59, Richard Weinberger wrote: > Hi! > > drivers/gpu/drm/drm_lock.c is the only remaining user of block_all_signals(): It's the only user of it, ever. The API was introduced for the drm locking code. No other user will ever exist. Just to clear up the an API exists with one

[PATCH v4 2/5] MAINTAINERS: add pxa dma driver to pxa architecture

2015-05-25 Thread Robert Jarzmik
Add the pxa dma driver as maintained by the pxa architecture maintainers, as it is part of the core IP. Signed-off-by: Robert Jarzmik --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9a76a40..35062a7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [RFC v1] tree-wide: remove "select FW_LOADER" uses

2015-05-25 Thread James Bottomley
On Mon, 2015-05-25 at 12:29 -0700, Josh Triplett wrote: > On Mon, May 25, 2015 at 07:07:14PM +, James Bottomley wrote: > > On Mon, 2015-05-25 at 10:54 -0700, Josh Triplett wrote: > > > On Mon, May 25, 2015 at 12:55:17PM +0200, Paul Bolle wrote: > > > > On Fri, 2015-05-22 at 14:43 -0700,

Re: [PATCHv3 net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-25 Thread David Miller
From: Linus Lüssing Date: Sat, 23 May 2015 03:12:34 +0200 > Network managers like netifd (used in OpenWRT for instance) try to > configure interface options after creation but before setting the > interface up. > > Unfortunately the sysfs / bridge currently only allows to configure the >

Re: [linux-sunxi] Re: [RFC 7/7] ARM: dts: sun9i: Add secure SRAM node used for MCPM SMP hotplug

2015-05-25 Thread Maxime Ripard
On Sun, May 24, 2015 at 11:55:22PM +0800, Chen-Yu Tsai wrote: > On Wed, May 20, 2015 at 6:08 PM, Maxime Ripard > wrote: > > On Thu, May 14, 2015 at 02:10:11PM +0800, Chen-Yu Tsai wrote: > >> The A80 stores some magic flags in a portion of the secure SRAM. The > >> BROM jumps directly to the

Re: [PATCH] char:agp:amd64-agp - Change 1 to true for bool type

2015-05-25 Thread Richard Weinberger
Am 25.05.2015 um 23:14 schrieb Shailendra Verma: > Hello Richard, > > I will separate both the changes and will send the patches to you. > > What issue does this fix? IOW why is assigning 1 wrong? > > Yes, you are correct. There will be no issue in assigning 1 to the > variable. But

Re: [RFC PATCH 2/2] arm64: Implement vmalloc based thread_info allocator

2015-05-25 Thread Arnd Bergmann
On Monday 25 May 2015 19:01:33 Jungseok Lee wrote: > On May 25, 2015, at 2:49 AM, Arnd Bergmann wrote: > > Could the stack size be reduced to 8KB perhaps? > > I guess probably not. > > A commit, 845ad05e, says that 8KB is not enough to cover SpecWeb benchmark. > The stack size is 16KB on

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-25 Thread Arun Ramamurthy
On 15-05-14 05:52 PM, Felipe Balbi wrote: Hi, On Wed, Apr 22, 2015 at 04:04:10PM -0700, Arun Ramamurthy wrote: Most of the phy providers use "select" to enable GENERIC_PHY. Since select is only recommended when the config is not visible, GENERIC_PHY is changed an invisible option. To

Do you need financail help? If yes contact us for more info

2015-05-25 Thread World Finance Loan
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/2] mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff

2015-05-25 Thread Maxime Ripard
Hi Michal, The patch itself looks good, but there's a few style issues. On Sun, May 24, 2015 at 08:07:32PM +0200, Michal Suchanek wrote: > The 250ms timeout is too short. > > On my system enabling the oclk takes under 50ms and disabling slightly > over 100ms when idle. Under load disabling the

Re: [PATCH v3 6/6] Documentation: dmaengine: document DMA_CTRL_ACK

2015-05-25 Thread Robert Jarzmik
Vinod Koul writes: >> > Also, we should still mention that it's !slave API only. >> Certainly not, it's fully slave API, that's the purpose of this patch. > Its is not dependent on slave, it cna be used by slave as well as other > users You're right Vinod. I will rephrase that : this applies for

Re: [PATCH v3 3/6] dmaengine: pxa: add pxa dmaengine driver

2015-05-25 Thread Robert Jarzmik
Vinod Koul writes: >> +#define DCSR_RUNBIT(31) /* Run Bit (read / write) */ >> +#define DCSR_NODESC BIT(30) /* No-Descriptor Fetch (read / write) */ >> +#define DCSR_STOPIRQEN BIT(29) /* Stop Interrupt Enable (read / write) >> */ >> +#define DCSR_REQPENDBIT(8) /* Request

Re: [PATCH] clockevents: don't suspend/resume if unused

2015-05-25 Thread Sylvain Rochet
Hello Thomas, On Mon, May 25, 2015 at 10:11:15PM +0200, Thomas Gleixner wrote: > > That's a reasonable explanation. > > While timer IPs seem to be designed by janitors in general, this one > has an extraordinary level of stupidity. Yes, that's quite a stupid design, however I wasn't totally

[PATCH] perf tools: Add hint for 'Too many events are opened.' error message

2015-05-25 Thread Jiri Olsa
Enhancing the 'Too many events are opened.' error message with hint to use use 'ulimit -n ' command. Before: $ perf record -e 'sched:*,syscalls:*' ls Error: Too many events are opened. Try again after reducing the number of events. Now: $ perf record -e 'sched:*,syscalls:*' ls Error:

Re: [PATCH] sched/fair: Fix null pointer dereference of empty queues

2015-05-25 Thread Mohammed Naser
Hi Peter, (resending as plain text, my bad) Thank you for reply. Would you have any ideas on why this would have occurred or other steps to look at? It's my first time attempting to help fix a problem like this. I have a crashdump of the kernel since this issue repeated itself a few times on

[PATCH] staging:nvec:nvec - Fix for typo in comment to function tegra_nvec_remove().

2015-05-25 Thread Shailendra Verma
Signed-off-by: Shailendra Verma --- drivers/staging/nvec/nvec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 1bdc8d0..164634d 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@

[PATCH] firewire:sbp2 - Change 1 to true for bool type variable.

2015-05-25 Thread Shailendra Verma
The variable sbp2_param_exclusive_login is bool type. Hence initializing with true instead of 1. Signed-off-by: Shailendra Verma --- drivers/firewire/sbp2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c index

Re: [PATCH] net/ibm/emac: fix size of emac dump memory areas

2015-05-25 Thread David Miller
From: Ivan Mikhaylov Date: Thu, 21 May 2015 19:11:02 +0400 > Fix in send of emac regs dump to ethtool which > causing in wrong data interpretation on ethtool > layer for MII and EMAC. > > Signed-off-by: Ivan Mikhaylov Applied, thanks. -- To unsubscribe from this list: send the line

Re: [PATCH] gpiolib: debugfs: display gpios requested as irq only

2015-05-25 Thread Johan Hovold
On Mon, May 25, 2015 at 09:54:29PM +0300, grygorii.stras...@linaro.org wrote: > On 05/24/2015 08:12 PM, Johan Hovold wrote: > > On Thu, May 21, 2015 at 11:33:01PM +0300, grygorii.stras...@linaro.org > > wrote: > >> On 05/21/2015 05:25 PM, Johan Hovold wrote: > >>> A problem with the current

Re: [PATCH] sched/fair: Fix null pointer dereference of empty queues

2015-05-25 Thread Peter Zijlstra
On Mon, 2015-05-25 at 14:00 -0400, Mohammed Naser wrote: > Calling put_prev_task() can result in nr_running being updated > to zero, which would then crash the system when the kernel > attempts to pick_next_entity() with an empty queue. Getting to pick_next_entity() with an empty queue is a bug.

[PATCH] iio: adc: rockchip_saradc: add missing MODULE_* data

2015-05-25 Thread Heiko Stuebner
The module-data is currently missing. This includes the license-information which makes the driver taint the kernel and miss symbols when compiled as module. Fixes: 44d6f2ef94f9 ("iio: adc: add driver for Rockchip saradc") Signed-off-by: Heiko Stuebner --- drivers/iio/adc/rockchip_saradc.c | 4

Re: [PATCH] atm:he - Do not initialise statics to 0.

2015-05-25 Thread David Miller
From: Shailendra Verma Date: Tue, 26 May 2015 01:23:53 +0530 > Static variables are initialised to 0 by GCC. > Fixes the following checkpatch error: > ERROR: do not initialise statics to 0 or NULL > FILE: drivers/atm/he.c:120: > static bool sdh = 0; > > Signed-off-by: Shailendra Verma true is

  1   2   3   4   5   6   7   8   9   10   >