[PATCH-v3 05/10] target: Convert se_portal_group->tpg_lun_list[] to RCU hlist

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts the fixed size se_portal_group->tpg_lun_list[] to use modern RCU with hlist_head in order to support an arbitary number of se_lun ports per target endpoint. It includes dropping core_tpg_alloc_lun() from core_dev_add_lun(), and calling it directly fro

[PATCH trace-cmd V6 1/7] trace-cmd: Support -N option for trace-cmd extract

2015-05-25 Thread Masami Hiramatsu
From: Yoshihiro YUNOMAE There is no reason to prohibit supporting -N command in extract mode, since both record and extract read trace logs from ftrace and save it. Signed-off-by: Yoshihiro YUNOMAE Signed-off-by: Masami Hiramatsu --- trace-record.c |8 ++-- 1 file changed, 6 insertion

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

2015-05-25 Thread Tomi Valkeinen
On 26/05/15 06:56, Heiko Schocher wrote: >> Without locking, the initmem may be freed while fb_find_logo() is >> running. > > Yes, you are right, that must be added ... but has such a change a > chance to go in mainline? I don't know. To be honest, this whole thing feels a bit like hackery. I

[PATCH-v3 08/10] target: Drop unused se_lun->lun_acl_list

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_device.c | 15 --- drivers/target/target_core_tpg.c| 4 include/target/target_core_base.h | 3 --- 3 files changed, 2

[PATCH-v3 07/10] target: Convert core_tpg_deregister to use list splice

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts core_tpg_deregister() to perform a list splice for any remaining dynamically generated se_node_acls attached to se_tpg, before calling kfree(nacl) to free memory. Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas B

[PATCH-v3 03/10] target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lun

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes __core_scsi3_do_alloc_registration() code to drop pr_reg->pr_reg_tg_pt_lun pointer usage in favor of a new pr_reg RPTI + existing target_lun. It also includes changes to REGISTER, REGISTER_AND_MOVE and APTPL feature bit codepaths. Cc: Hannes Reinecke

[PATCH-v3 00/10] target: se_node_acl + se_lun RCU conversions

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi all, Here is -v3 series for converting LIO target se_node_acl + se_lun mapping tables from fixed size arrays to dynamic RCU hlist_heads. This turns fast-path I/O into a lock-less RCU reader using existing percpu based se_lun->lun_ref logic, and converts the RCU updat

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

2015-05-25 Thread Andy Shevchenko
On Tue, May 26, 2015 at 6:51 AM, Vinod Koul wrote: > 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, co

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

2015-05-25 Thread Andy Shevchenko
On Tue, May 26, 2015 at 7:06 AM, Vinod Koul wrote: > 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 co

[PATCH-v3 06/10] target: Convert se_tpg->acl_node_lock to ->acl_node_mutex

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_tpg->acl_node_lock to struct mutex, so that ->acl_node_acl walkers in core_clear_lun_from_tpg() can block when calling core_disable_device_list_for_node(). It also updates core_dev_add_lun() to hold ->acl_node_mutex when calling core_tpg_add_node_t

[PATCH-v3 07/10] target: Convert core_tpg_deregister to use list splice

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts core_tpg_deregister() to perform a list splice for any remaining dynamically generated se_node_acls attached to se_tpg, before calling kfree(nacl) to free memory. Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas B

Re: [FYI] tux3: Core changes

2015-05-25 Thread Rik van Riel
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 reflected on >> the current page? > > Why would it do th

[PATCH-v3 06/10] target: Convert se_tpg->acl_node_lock to ->acl_node_mutex

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_tpg->acl_node_lock to struct mutex, so that ->acl_node_acl walkers in core_clear_lun_from_tpg() can block when calling core_disable_device_list_for_node(). It also updates core_dev_add_lun() to hold ->acl_node_mutex when calling core_tpg_add_node_t

[PATCH-v3 10/10] target: Drop left-over se_lun->lun_status

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Now that se_portal_group->tpg_lun_hlist is a RCU protected hlist, go ahead and drop the left-over lun->lun_status usage. Reported-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_tpg.c | 6 -- include/target/target_core_base.

[PATCH-v3 03/10] target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lun

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes __core_scsi3_do_alloc_registration() code to drop pr_reg->pr_reg_tg_pt_lun pointer usage in favor of a new pr_reg RPTI + existing target_lun. It also includes changes to REGISTER, REGISTER_AND_MOVE and APTPL feature bit codepaths. Cc: Hannes Reinecke

[PATCH-v3 00/10] target: se_node_acl + se_lun RCU conversions

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi all, Here is -v3 series for converting LIO target se_node_acl + se_lun mapping tables from fixed size arrays to dynamic RCU hlist_heads. This turns fast-path I/O into a lock-less RCU reader using existing percpu based se_lun->lun_ref logic, and converts the RCU updat

[PATCH-v3 08/10] target: Drop unused se_lun->lun_acl_list

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Cc: Hannes Reinecke Cc: Christoph Hellwig Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_device.c | 15 --- drivers/target/target_core_tpg.c| 4 include/target/target_core_base.h | 3 --- 3 files changed, 2

[PATCH-v3 09/10] target: Only reset specific dynamic entries during lun_group creation

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes core_tpg_add_node_to_devs() to avoid unnecessarly resetting every se_dev_entry in se_node_acl->tpg_lun_hlist when the operation is driven by an explicit configfs se_lun->lun_group creation via core_dev_add_lun() to only update a single se_lun. Otherwis

[PATCH-v3 04/10] target/pr: cleanup core_scsi3_pr_seq_non_holder

2015-05-25 Thread Nicholas A. Bellinger
From: Christoph Hellwig Clean up the mess of registered variables, and pass the isid mismatch flag explicitly instead of overloading the registration type. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_pr.c | 44 +

[PATCH-v3 02/10] target/pr: Use atomic bitop for se_dev_entry->deve_flags reservation check

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts the core_scsi3_pr_seq_non_holder() check for non reservation holding registrations to use an atomic bitop in ->deve_flags to determine if a registration is currently active. It also includes associated a set_bit() in __core_scsi3_add_registration() an

Re: [PATCH-v3 00/10] target: se_node_acl + se_lun RCU conversions

2015-05-25 Thread Nicholas A. Bellinger
Please ignore this resend.. On Tue, 2015-05-26 at 06:40 +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > Hi all, > > Here is -v3 series for converting LIO target se_node_acl + se_lun > mapping tables from fixed size arrays to dynamic RCU hlist_heads. > > This turns fast-path

[PATCH-v3 01/10] target: Convert se_node_acl->device_list[] to RCU hlist

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts se_node_acl->device_list[] table for mappedluns to modern RCU hlist_head usage in order to support an arbitrary number of node_acl lun mappings. It converts transport_lookup_*_lun() fast-path code to use RCU read path primitives when looking up se_dev

[PATCH-v3 05/10] target: Convert se_portal_group->tpg_lun_list[] to RCU hlist

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch converts the fixed size se_portal_group->tpg_lun_list[] to use modern RCU with hlist_head in order to support an arbitary number of se_lun ports per target endpoint. It includes dropping core_tpg_alloc_lun() from core_dev_add_lun(), and calling it directly fro

[PATCH-v3 09/10] target: Only reset specific dynamic entries during lun_group creation

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch changes core_tpg_add_node_to_devs() to avoid unnecessarly resetting every se_dev_entry in se_node_acl->tpg_lun_hlist when the operation is driven by an explicit configfs se_lun->lun_group creation via core_dev_add_lun() to only update a single se_lun. Otherwis

[PATCH-v3 04/10] target/pr: cleanup core_scsi3_pr_seq_non_holder

2015-05-25 Thread Nicholas A. Bellinger
From: Christoph Hellwig Clean up the mess of registered variables, and pass the isid mismatch flag explicitly instead of overloading the registration type. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_pr.c | 44 +

[PATCH-v3 10/10] target: Drop left-over se_lun->lun_status

2015-05-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Now that se_portal_group->tpg_lun_hlist is a RCU protected hlist, go ahead and drop the left-over lun->lun_status usage. Reported-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- drivers/target/target_core_tpg.c | 6 -- include/target/target_core_base.

Re: [PATCH] init/do_mounts: Add create_dev() failure log

2015-05-25 Thread Pavel Machek
On Mon 2015-05-25 19:19:43, Vishnu Pratap Singh wrote: > if create_dev() function fails to create the root mount device (/dev/root), > then it goes to panic as root device not found but there is no check/log > present in case of failure, So i have added the log in case it fails to create > the root

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

2015-05-25 Thread Pavel Machek
On Tue 2015-05-26 08:06:51, Sriram Dash wrote: > From: dashsriram > > Fixed a typo error in the file > > Signed-off-by: Sriram Dash Acked-by: Pavel Machek (cc: triv...@kernel.org might help for patches like this one). P

Re: [RFC PATCH v3 00/37] perf tools: introduce 'perf bpf' command to load eBPF programs.

2015-05-25 Thread Wangnan (F)
On 2015/5/20 4:46, Alexei Starovoitov wrote: On 5/19/15 9:40 AM, Arnaldo Carvalho de Melo wrote: Em Wed, May 20, 2015 at 01:04:48AM +0900, Namhyung Kim escreveu: On Tue, May 19, 2015 at 10:44:58AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, May 18, 2015 at 02:45:58PM -0700, Alexei Starovo

Re: [PATCH 10/21] regulator: core: Probe regulators on demand

2015-05-25 Thread Tomeu Vizoso
On 25 May 2015 at 19:32, Mark Brown wrote: > On Mon, May 25, 2015 at 04:53:14PM +0200, Tomeu Vizoso wrote: > >> When looking up a regulator through its DT node, ensure that the >> corresponding device has been registered. > > I'm sorry but I'm going to need a much better changelog to review this >

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

2015-05-25 Thread Robert Jarzmik
Vinod Koul writes: > 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 Thanks so much Vinod. This really helps me moving forward. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubsc

Re: [FYI] tux3: Core changes

2015-05-25 Thread David Lang
On Mon, 25 May 2015, Daniel Phillips wrote: On Monday, May 25, 2015 11:04:39 PM PDT, David Lang wrote: if the page gets modified again, will that cause any issues? what if the page gets modified before the copy gets written out, so that there are two dirty copies of the page in the process of

Re: [FYI] tux3: Core changes

2015-05-25 Thread Daniel Phillips
On Monday, May 25, 2015 11:04:39 PM PDT, David Lang wrote: if the page gets modified again, will that cause any issues? what if the page gets modified before the copy gets written out, so that there are two dirty copies of the page in the process of being written? David Lang How is the page

Re: [FYI] tux3: Core changes

2015-05-25 Thread David Lang
On Mon, 25 May 2015, Daniel Phillips wrote: 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 pag

Re: [PATCH 4/5] phy: add Marvell HSIC 28nm PHY

2015-05-25 Thread Kishon Vijay Abraham I
Hi, On Saturday 23 May 2015 01:24 AM, Rob Herring wrote: On Thu, May 21, 2015 at 7:51 AM, Kishon Vijay Abraham I wrote: On Thursday 21 May 2015 06:15 PM, Kishon Vijay Abraham I wrote: Hi, On Thursday 14 May 2015 04:18 AM, Rob Herring wrote: Add PHY driver for the Marvell HSIC 28nm PHY. Th

PATCH: perf script/python: add new compaction-times script

2015-05-25 Thread Tony Jones
Create a new script (compaction-times) to report time spent in mm compaction. Report times in nanoseconds (default) or microseconds (-u). Option -p will break down times by process id, -pv will further decompose by each compaction entry/exit. Entries may be further filtered by pid, pid-range or

Re: [PATCH 2/2] pwm: add Mediatek display PWM driver support

2015-05-25 Thread Sascha Hauer
On Thu, May 21, 2015 at 04:22:31PM +0800, YH Huang wrote: > On Mon, 2015-05-18 at 11:42 +0800, Daniel Kurtz wrote: > > On Mon, May 11, 2015 at 5:26 PM, YH Huang wrote: > > > Add display PWM driver support to modify backlight for MT8173/MT6595. > > > > > > Signed-off-by: YH Huang > > > --- > > >

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 tes

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 nam

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 al

[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 drivers/staging/lustre/lnet/lnet/api-ni.c:1926:3

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 mi

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 28

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 r

[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 b/include/linu

[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(&orig->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 wi

[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 6

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 p

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 pr

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 additi

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 a

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] iomm

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 fragmented

[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 +++ b/kernel/

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 +++ b/kernel/

[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 --- a/drivers/base/power/domain

[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 2c34c32..4067

[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 usb_autopm_

[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, it

[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 Eik

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, Jo

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 that

[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 b/Documentation/scheduler/sched-deadline.t

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 +0

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] > > > > (+Ra

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 inconvenie

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 lett

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 11:55

[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 u

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') > > zram->com

[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 +- drivers/block/xen-blkb

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 objec

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 document

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 > Signed-off-

[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 a/drivers/staging/comedi/dr

[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 a/drivers/staging/comedi/drivers/pcl812

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 pdev->evtchn

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&r=1&w=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(&dev->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 se_node_acl

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 variable

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 c

[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 addre

[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 R

[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 s

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: > > > > + clear_bit

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. Conve

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 "unsubscri

[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 refere

  1   2   3   4   5   >