Re: Read/write file from random(4) driver

2015-04-18 Thread Greg KH
On Sat, Apr 18, 2015 at 01:02:19PM -0400, Theodore Ts'o wrote: (Assuming you can get the embedded developers to use the latest version of the userspace distributions / frameworks, granted, which is not at all guaranteed, but they are more likely to use newer userspace than they are the latest

Re: [PATCH 3.10 00/34] 3.10.75-stable review

2015-04-18 Thread Guenter Roeck
On 04/18/2015 02:02 AM, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 01:00:10PM -0700, Guenter Roeck wrote: On Fri, Apr 17, 2015 at 03:28:32PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.75 release. There are 34 patches in this series, all

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Sat, 18 Apr 2015 14:38:44 -0400 On (04/18/15 11:28), Guenter Roeck wrote: Some merge gone wrong, maybe ? I tried to revert f1600e549b94 and apply http://patchwork.ozlabs.org/patch/459803/ instead. That patch is a part-2 of a 3-part

Re: [PATCH 12/21] nd_pmem: add NFIT support to the pmem driver

2015-04-18 Thread Dan Williams
On Fri, Apr 17, 2015 at 11:38 PM, Christoph Hellwig h...@lst.de wrote: On Fri, Apr 17, 2015 at 09:36:18PM -0400, Dan Williams wrote: nd_pmem attaches to persistent memory regions and namespaces emitted by the nd subsystem, and, same as the original pmem driver, presents the

[PATCH 5/7] tools lib traceevent: Add alias field to struct format_field

2015-04-18 Thread Jiri Olsa
Introduce an 'alias' field to 'struct format_field' to be able to use alternative name for the field. It is initialized with same string pointer as 'name' field. The free logic checks the 'alias' pointer being reset by user and frees it. This will be handy when converting data into CTF, where

Re: [RFC PATCH 4/4] mm: madvise allow remove operation for hugetlbfs

2015-04-18 Thread Mike Kravetz
On 04/17/2015 10:11 AM, Mike Kravetz wrote: On 04/17/2015 12:10 AM, Hillf Danton wrote: Now that we have hole punching support for hugetlbfs, we can also support the MADV_REMOVE interface to it. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Signed-off-by: Mike Kravetz

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-18 Thread Kevin Cernekee
On Sat, Apr 18, 2015 at 4:36 AM, Mark Brown broo...@kernel.org wrote: On Wed, Apr 15, 2015 at 02:42:20PM -0700, Kevin Cernekee wrote: +static int tas571x_set_sysclk(struct snd_soc_dai *dai, + int clk_id, unsigned int freq, int dir) +{ + /* + * TAS5717

Re: [PATCH 02/14] MIPS: ath79: Add basic device tree support

2015-04-18 Thread Alban
On Sat, 18 Apr 2015 09:05:52 +0200 Paul Bolle pebo...@tiscali.nl wrote: On Fri, 2015-04-17 at 16:24 +0200, Alban Bedel wrote: --- a/arch/mips/ath79/Kconfig +++ b/arch/mips/ath79/Kconfig +choice + prompt Builtin devicetree selection + default DTB_ATH79_NONE + help +

[PATCH] Staging: rtl8723au: hal: Remove trailing whitespace in odm.c

2015-04-18 Thread Edward Lipinsky
This patch fixes the checkpatch.pl error: ERROR: trailing whitespace Signed-off-by: Edward Lipinsky ellipin...@gmail.com --- drivers/staging/rtl8723au/hal/odm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/hal/odm.c

Re: [PATCH] iio: adc: spmi-vadc: Fix overflow in output value normalization

2015-04-18 Thread Jonathan Cameron
On 17/04/15 15:51, Ivan T. Ivanov wrote: With 'dx' equal to 0.625V and 15 bit ADC, calculations overflow when difference against GND is ~20% of the ADC range. Fix this. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org Applied to the fixes-togreg branch of iio.git and marked for stable.

[PATCH 4/6] perf tools: Add location to pmu event terms

2015-04-18 Thread Jiri Olsa
Saving the terms location within term struct, so it could be used later for report. Link: http://lkml.kernel.org/n/tip-0usk1luyaeeguh8qmxwmm...@git.kernel.org Signed-off-by: Jiri Olsa jo...@kernel.org --- tools/perf/util/parse-events.c | 32

[PATCH 1/6] perf tools: Add parse_events_error interface

2015-04-18 Thread Jiri Olsa
Adding support to return error information from parse_events function. Following struct will be populated by parse_events function on return: struct parse_events_error { int idx; char *str; }; where 'idx' is the position in the string where the parsing failed, and 'str' contains

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Jason Gunthorpe
On Sat, Apr 18, 2015 at 10:01:47AM +0100, Russell King - ARM Linux wrote: On Fri, Apr 17, 2015 at 10:30:54AM -0600, Jason Gunthorpe wrote: On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: + teedev = devm_kzalloc(dev, sizeof(*teedev), GFP_KERNEL); [..] + rc =

Re: [PATCH 2/3] iio: magn: Add support for BMC150 magnetometer

2015-04-18 Thread Jonathan Cameron
On 17/04/15 11:50, Irina Tirdea wrote: Add support for the Bosh BMC150 Magnetometer. The specification can be downloaded from: http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf. The chip contains both an accelerometer and a magnetometer. This patch adds

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 05:05 AM, Sowmini Varadhan wrote: On (04/17/15 22:47), Guenter Roeck wrote: The problem is caused by commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions), which introduces static DEFINE_PER_CPU(unsigned int, iommu_pool_hash); I have to confess

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Sowmini Varadhan
On (04/18/15 11:28), Guenter Roeck wrote: Some merge gone wrong, maybe ? I tried to revert f1600e549b94 and apply http://patchwork.ozlabs.org/patch/459803/ instead. That patch is a part-2 of a 3-part patch set. In order, this should have been v10: applied as:

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: On Sat, Apr 18, 2015 at 10:57:12AM +0200, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: +struct tee_device { + char name[TEE_MAX_DEV_NAME_LEN]; + const struct tee_desc

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: On Sat, Apr 18, 2015 at 10:57:12AM +0200, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: +struct

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Arnd Bergmann
On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top We have discussed and implemented an in-kernel interface

Re: [PATCH] iio: common: ssp_sensors: Fix uninitialized warning for timestamp

2015-04-18 Thread Jonathan Cameron
On 16/04/15 10:30, Karol Wrona wrote: calculated_time variable caused warning as uninitialized. It was not harmful because it was evaluated in the path in which was used later but it is to satisfy the checkers. Signed-off-by: Karol Wrona k.wr...@samsung.com Dumb compiler. It's a false

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Sat, 18 Apr 2015 08:05:10 -0400 But when I clone git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git and do a git show of the commit-id above, I see deltas that dont make sense (they seem to be from a patchset from

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-18 Thread Arnd Bergmann
On Friday 17 April 2015 17:15:46 Dr. Philipp Tomsich wrote: More comments below. On 17 Apr 2015, at 16:46, Catalin Marinas catalin.mari...@arm.com wrote: Even in this case, we could enable AArch32 compat knowing that ioctls wouldn't work. If this is important, we can add an option to

Re: [PATCH v3 1/3] iio: configfs: Add configfs support to IIO

2015-04-18 Thread Jonathan Cameron
On 15/04/15 23:15, Octavian Purdila wrote: On Wed, Apr 15, 2015 at 2:34 PM, Jonathan Cameron ji...@kernel.org wrote: On 15/04/15 21:58, Octavian Purdila wrote: On Sun, Apr 12, 2015 at 8:59 AM, Jonathan Cameron ji...@kernel.org wrote: On 10/04/15 14:43, Daniel Baluta wrote: On Thu, Apr 9, 2015

Re: [PATCH 00/21] ND: NFIT-Defined / NVDIMM Subsystem

2015-04-18 Thread Dan Williams
On Fri, Apr 17, 2015 at 6:35 PM, Dan Williams dan.j.willi...@intel.com wrote: Since 2010 Intel has included non-volatile memory support on a few storage-focused platforms with a feature named ADR (Asynchronous DRAM Refresh). These platforms were mostly targeted at custom applications and

Re: Allowing reset controllers before SMP initialization (on ARM)?

2015-04-18 Thread Arnd Bergmann
On Thursday 16 April 2015 11:42:08 Maxime Coquelin wrote: Hi Florian, Arnd, On 04/16/2015 10:04 AM, Arnd Bergmann wrote: On Wednesday 15 April 2015 17:51:18 Florian Fainelli wrote: Hi, In order to support initialization of the secondary core on BCM63138 SoCs, I would want to utilize

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: David Miller da...@davemloft.net Date: Sat, 18 Apr 2015 15:27:53 -0400 (EDT) Dammit, somehow I applied V4 :-/ Sorry about that. I'll try to sort this out. Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? Thanks! -- To unsubscribe from this list: send

Re: [PATCH 03/21] nd_acpi: initial core implementation and nfit skeleton

2015-04-18 Thread Paul Bolle
On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: --- /dev/null +++ b/drivers/block/nd/Kconfig + depends on (X86 || IA64 || ARM || ARM64 || SH || XTENSA) I've only skimmed this series. I still noticed this patch contains the only Kconfig typo I know by heart. Because I think you

Re: [RFC PATCH] fs: use a sequence counter instead of file_lock in fd_install

2015-04-18 Thread Eric Dumazet
On Sat, 2015-04-18 at 00:02 +0100, Al Viro wrote: On Sat, Apr 18, 2015 at 12:16:48AM +0200, Mateusz Guzik wrote: I would say this makes the use of seq counter impossible. Even if we decided to fall back to a lock on retry, we cannot know what to do if the slot is reserved - it very well

[PATCH 3/7] direct-io: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Get the streamid from the file, if any, and set it on the bio. Signed-off-by: Jens Axboe ax...@fb.com --- fs/direct-io.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index c3b560b24a46..d318a143b186 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@

Re: [PATCH 07/21] nd: dimm devices (nfit memory-devices)

2015-04-18 Thread Dan Williams
On Sat, Apr 18, 2015 at 1:06 AM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Apr 17, 2015 at 09:35:52PM -0400, Dan Williams wrote: Register the dimms described in the nfit as devices on a nd_bus, named dimmN where N is a global ida index. The dimm numbering per-bus may appear

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-18 Thread Jens Axboe
On 04/17/2015 10:23 PM, Ming Lei wrote: Hi Dongsu, On Fri, Apr 17, 2015 at 5:41 AM, Dongsu Park dongsu.p...@profitbricks.com wrote: Hi, there's a critical bug regarding CPU hotplug, blk-mq, and scsi-mq. Every time when a CPU is offlined, some arbitrary range of kernel memory seems to get

Re: [PATH] MIPS: ath79: Add OF support and DTS for TL-WR1043ND

2015-04-18 Thread Florian Fainelli
Le 17/04/2015 07:24, Alban Bedel a écrit : This series add OF bindings and code support for the interrupt controllers, clocks and GPIOs. However it was only tested on a TL-WR1043ND with an AR9132, others SoCs are untested, and a few are not supported at all. Most code changes base on the

Re: [PATCH 3.10 00/34] 3.10.75-stable review

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 12:10:47PM -0700, Guenter Roeck wrote: On 04/18/2015 02:02 AM, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 01:00:10PM -0700, Guenter Roeck wrote: On Fri, Apr 17, 2015 at 03:28:32PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 08:02:24PM +0100, Russell King - ARM Linux wrote: On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: On Sat, Apr 18, 2015 at 10:57:12AM +0200, Greg Kroah-Hartman wrote: On

Re: [RFC 0/6] perf tools: Report event parsing errors

2015-04-18 Thread Jiri Olsa
On Sat, Apr 18, 2015 at 07:39:27PM +0200, Ingo Molnar wrote: * Jiri Olsa jo...@kernel.org wrote: hi, adding support to report error from event string parsing. Very nice! This patchset contains support for standard parsing errors and more logic to recognize tracepoint and 'pmu//'

Re: [PATCH 6/7] perf data: Fix duplicate field names and avoid reserved keywords

2015-04-18 Thread Jiri Olsa
On Sat, Apr 18, 2015 at 02:56:00PM -0400, Jérémie Galarneau wrote: On Sat, Apr 18, 2015 at 11:50 AM, Jiri Olsa jo...@kernel.org wrote: From: Wang Nan wangn...@huawei.com Some parameters of syscall tracepoints named as 'nr', 'event', etc. When dealing with them, perf convert to ctf meets

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan sowmini.varad...@oracle.com Date: Sat, 18 Apr 2015 15:55:14 -0400 Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? The patches look right now. These are the commit-ids I checked ff7d37a502022149655c18035b99a53391be0383

[PATCH] kbuild/mkspec: Simplify vmlinux.bz2 creation

2015-04-18 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de No need for the intermediary vmlinux.orig - bzip2 can keep the original files used for compression with --keep. Signed-off-by: Borislav Petkov b...@suse.de Cc: Michal Marek mma...@suse.cz Cc: linux-kbu...@vger.kernel.org --- scripts/package/mkspec | 4 +--- 1

[PATCH] dm log: Use ULL suffix for 64-bit constants

2015-04-18 Thread Geert Uytterhoeven
On 32-bit: drivers/md/dm-log-writes.c: In function ‘log_super’: drivers/md/dm-log-writes.c:323: warning: integer constant is too large for ‘long’ type drivers/md/dm-log-writes.c:323: warning: integer constant is too large for ‘long’ type drivers/md/dm-log-writes.c:323: warning: integer constant

Re: [PATCH 2/7] Add support for per-file stream ID

2015-04-18 Thread Jens Axboe
On 04/09/2015 05:22 PM, Andreas Dilger wrote: On Mar 25, 2015, at 9:07 AM, Jens Axboe ax...@fb.com wrote: Writing on flash devices can be much more efficient, if we can inform the device what kind of data can be grouped together. If the device is able to group data together with similar

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Sowmini Varadhan
Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? The patches look right now. These are the commit-ids I checked ff7d37a502022149655c18035b99a53391be0383 bb620c3d3925aec0ed4f21010c86df08ec18a8c7 0ae53ed15d9b87b883b593a9884957cfa4fc2480 --Sowmini -- To

[PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
The top bits of bio-bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a stream not set value. Add helpers for setting/getting stream ID of a bio. Signed-off-by: Jens Axboe

[PATCH 2/7] Add support for per-file/inode stream ID

2015-04-18 Thread Jens Axboe
Writing on flash devices can be much more efficient, if we can inform the device what kind of data can be grouped together. If the device is able to group data together with similar lifetimes, then it can be more efficient in garbage collection. This, in turn, leads to lower write amplification,

[PATCH 5/7] btrfs: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Both buffered and O_DIRECT. Signed-off-by: Jens Axboe ax...@fb.com Acked-by: Chris Mason c...@fb.com --- fs/btrfs/extent_io.c | 1 + fs/btrfs/inode.c | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index d688cfe5d496..2845fae054b6 100644 ---

[PATCH 7/7] ext4: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Signed-off-by: Jens Axboe ax...@fb.com --- fs/ext4/page-io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 464984261e69..392a82925d5f 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -389,6 +389,7 @@ submit_and_retry: ret

[PATCH 4/7] Add stream ID support for buffered mpage/__block_write_full_page()

2015-04-18 Thread Jens Axboe
Pass on the inode stream ID to the bio allocation. Signed-off-by: Jens Axboe ax...@fb.com --- fs/buffer.c | 4 ++-- fs/mpage.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/buffer.c b/fs/buffer.c index c7a5602d01ee..5191523cec56 100644 --- a/fs/buffer.c +++

[PATCH v2] Support for write stream IDs

2015-04-18 Thread Jens Axboe
Hi, v2 of this posting. Changes since v1: - Rebased on top of current master. - Fix EINVAL - -EINVAL typo. - Cleanup up BIO_STREAM_OFFSET definition. - Pack i_streamid and f_streamid better into struct file and struct inode. - Add a separate per-file hint, FADV_FILE_STREAMID. This only

[PATCH 6/7] xfs: add support for buffered writeback stream ID

2015-04-18 Thread Jens Axboe
Signed-off-by: Jens Axboe ax...@fb.com --- fs/xfs/xfs_aops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 1d8eef9cf0f5..6d166e55de9a 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -376,6 +376,7 @@ xfs_submit_ioend_bio(

[PATCH Bugfix 3/4] x86/xsaves: Rename xstate_size to kernel_xstate_size to explicitely distinguish xstate size in kernel from user space

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu fenghua...@intel.com User space uses standard format xsave area. fpstate in signal frame should have standard format size. To explicitly distinguish between xstate size in kernel space and the one in user space, we rename xstate_size to kernel_xstate_size. This patch is not

[PATCH Bugfix 1/4] x86/xsave.c: Fix xstate offsets and sizes enumeration

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu fenghua...@intel.com When enumerating xstate offsets and sizes from cpuid (eax=0x0d, ecx=2), it's possible that state m is not implemented while state n (nm) is implemented. So enumeration shouldn't stop at state m. There is no platform configured like above yet. But this could

[PATCH Bugfix 2/4] x86/xsaves: Define and use user_xstate_size for xstate size in signal context

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu fenghua...@intel.com If xsaves is enabled, kernel always uses compact format of xsave area. But user space still uses standard format of xsave area. Thus, xstate size in kernel's xsave area is smaller than xstate size in user's xsave area. xstate in signal frame should be in

[PATCH Bugfix 4/4] x86/xsave: Don't add new states in xsave_struct

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu fenghua...@intel.com The structure of xsave_struct is non-architectural. Some xstates could be disabled and leave some holes in the xsave area. In compact format, offsets of xstates in the xsave area are decided during booting time. So the fields in xsave_struct are not static

[PATCH 3/3] Usb: core: buffer: fixed the checkpatch warning

2015-04-18 Thread Nizam Haider
Fixed two warnings sizeof name and clank line after declaration Signed-off-by: Nizam Haider nizamhaider...@gmail.com --- drivers/usb/core/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c index 684ef70..04125b6

[sparc:master 2/6] lib/iommu-common.c:14:15: sparse: symbol 'iommu_large_alloc' was not declared. Should it be static?

2015-04-18 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master head: ccb301862aa51ea7c10c10b440f3e8bbeac5b720 commit: ff7d37a502022149655c18035b99a53391be0383 [2/6] Break up monolithic iommu table/lock into finer graularity pools and lock reproduce: # apt-get install sparse

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 10:37:16PM +0200, Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 08:02:24PM +0100, Russell King - ARM Linux wrote: On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: On

[GIT] Sparc

2015-04-18 Thread David Miller
Unfortunately, I brown paper bagged the generic iommu pool allocator by applying the wrong revision of the patch series. This reverts the bad one, and puts the right one in. Please pull, thanks a lot! The following changes since commit 04b7fe6a4a231871ef681bc95e08fe66992f7b1f: Merge

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 11:29:23AM -0600, Jason Gunthorpe wrote: On Sat, Apr 18, 2015 at 10:01:47AM +0100, Russell King - ARM Linux wrote: On Fri, Apr 17, 2015 at 10:30:54AM -0600, Jason Gunthorpe wrote: On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: + teedev =

Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-18 Thread Jonas Gorski
Hi, On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel al...@free.fr wrote: The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, not 6. To make things clearer, and allow simpler code, derive AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT and AR71XX_PCI_WIN_SIZE.

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Sowmini Varadhan
On (04/18/15 15:40), David Miller wrote: Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? checking it right now.. give me a few minutes.. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
On 04/09/2015 04:46 PM, Andreas Dilger wrote: On Mar 25, 2015, at 9:07 AM, Jens Axboe ax...@fb.com wrote: The top bits of bio-bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-18 Thread Dorian Gray
On 18 April 2015 at 12:10, Dorian Gray yourfavourite...@gmail.com wrote: On 17 April 2015 at 22:06, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Apr 17, 2015 at 05:14:20PM +0200, Dorian Gray wrote: On 16 April 2015 at 20:42, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote:

Re: [PATCH 06/21] nd: ndctl class device, and nd bus attributes

2015-04-18 Thread Dan Williams
On Sat, Apr 18, 2015 at 1:07 AM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Apr 17, 2015 at 09:35:46PM -0400, Dan Williams wrote: This is the position (device topology) independent method to find all the NFIT-defined buses in the system. The expectation is that there will only ever be

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-18 Thread Kevin Cernekee
On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown broo...@kernel.org wrote: On Sat, Apr 18, 2015 at 09:16:36AM -0700, Kevin Cernekee wrote: On Sat, Apr 18, 2015 at 4:36 AM, Mark Brown broo...@kernel.org wrote: +static int tas571x_set_sysclk(struct snd_soc_dai *dai, +

Re: [PATCH 1/5 v2] blk-mq: Add prep/unprep support

2015-04-18 Thread Christoph Hellwig
On Sat, Apr 18, 2015 at 08:45:19AM +0200, Matias Bjorling wrote: The low level drivers will be NVMe and vendor's own PCI-e drivers. It's very generic in their nature. Each driver would duplicate the same work. Both could have normal and open-channel drives attached. I didn't say the work

[PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-18 Thread Yorick Rommers
From: Yorick yorick-romm...@hotmail.com This is a patch that fixes errors regarding whitespaces and split strings. Signed-off-by: Yorick Rommers yorick-romm...@hotmail.com --- drivers/staging/i2o/i2o_block.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH 1/3] tools build: No need to make libapi for perf explicitly

2015-04-18 Thread Jiri Olsa
The perf build handles its dependencies by itself. Also renaming libapi libapikfs to libapi as it got changed just recently. Link: http://lkml.kernel.org/n/tip-f31hq9rl838ovbyj0w1bh...@git.kernel.org Signed-off-by: Jiri Olsa jo...@kernel.org --- tools/Makefile | 8 1 file changed, 4

[PATCH 3/3] perf tests: Add build tests for building perf from kernel source root and tools

2015-04-18 Thread Jiri Olsa
Adding build tests for following make commands: $ make -C kernelsrc tools/perf $ make -C kernelsrc/tools perf Link: http://lkml.kernel.org/n/tip-8mz4fits682bac4shmejj...@git.kernel.org Signed-off-by: Jiri Olsa jo...@kernel.org --- tools/perf/tests/make | 14 +- 1 file changed, 13

[PATCH 2/3] tools build: Fix Makefile(s) to properly invoke tools build

2015-04-18 Thread Jiri Olsa
Several fixes were needed to allow following builds: $ make tools/tmon $ make -C kernelsrc tools/perf $ make -C kernelsrc/tools perf - some of the tools (perf) use same make variables as in kernel build, unsetting srctree and objtree - using original $(O) for O variable - perf build

[PATCH 0/3] tools build: Fix tools Makefile

2015-04-18 Thread Jiri Olsa
hi, sending tools/Makefile fixes discussed in here: http://marc.info/?t=14225069361r=1w=2 thanks, jirka --- Jiri Olsa (3): tools build: No need to make libapi for perf explicitly tools build: Fix Makefile(s) to properly invoke tools build perf tests: Add build tests for

Re: kernel BUG at mm/swap.c:134! - page dumped because: VM_BUG_ON_PAGE(page_mapcount(page) != 0)

2015-04-18 Thread Borislav Petkov
Forgot to CC lkml for archiving purposes, here's the whole thread in one: --- Hi guys, so I'm running some intermediate state of linus/master + tip/master from Thursday and probably I shouldn't be even taking such splat seriously and wait until 4.1-rc1 has been done but let me report it just in

dm log: struct log_write_super and padding (was: Re: dm: add log writes target)

2015-04-18 Thread Geert Uytterhoeven
On Sat, Apr 18, 2015 at 2:34 PM, Linux Kernel Mailing List linux-kernel@vger.kernel.org wrote: Gitweb: http://git.kernel.org/linus/;a=commit;h=0e9cebe724597a76ab1b0ebc0a21e16f7db11b47 Commit: 0e9cebe724597a76ab1b0ebc0a21e16f7db11b47 --- /dev/null +++ b/drivers/md/dm-log-writes.c @@

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: Hi all, my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console. Bisect points to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking).

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 05:04 PM, Linus Torvalds wrote: On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck li...@roeck-us.net wrote: On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output

[PATCH 0/1] speeding up cpu_up()

2015-04-18 Thread Len Brown
The following patch... [PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable enables reducing cpu_up() time by 10ms on modern systems. This means that for every processor in the system, boot-time and resume-time can be reduced by 10ms per-processor. Once this patch is accepted, I'll

[PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable

2015-04-18 Thread Len Brown
From: Len Brown len.br...@intel.com Default behavior unchanged. cpu_up() has a hard-coded mdelay(10). Change that to a variable, with default CONFIG_X86_INIT_MDELAY and a boot-time override, cpu_init_mdelay=N This patch adds mechanism without changing default policy. Default policy will be

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-18 Thread Paul E. McKenney
On Sat, Apr 18, 2015 at 04:32:38PM +0200, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Sat, Apr 18, 2015 at 03:03:41PM +0200, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This series contains a

qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
Hi all, my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console. Bisect points to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking). Reverting this commit fixes the problem. Please let me know if there is

Re: [patch] seccomp.2: Note that memory area is read-only

2015-04-18 Thread Kees Cook
On Mon, Apr 6, 2015 at 8:29 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hi Kees, I recently was asked about the point below, and had to go check the code to be sure, since the man page said nothing. It would be good to have a confirmation: the seccomp_data buffer supplied to

[PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-18 Thread Yorick Rommers
A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. Signed-off-by: Yorick Rommers yorick-romm...@hotmail.com --- drivers/staging/dgnc/dgnc_mgmt.c | 4 +- drivers/staging/dgnc/dgnc_neo.c | 210 +++ 2 files changed, 151 insertions(+), 63

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Linus Torvalds
On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck li...@roeck-us.net wrote: On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console. Bisect points to commit

Re: [patch] seccomp.2: Note that memory area is read-only

2015-04-18 Thread Alexei Starovoitov
On Sat, Apr 18, 2015 at 04:37:35PM -0700, Kees Cook wrote: On Mon, Apr 6, 2015 at 8:29 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hi Kees, I recently was asked about the point below, and had to go check the code to be sure, since the man page said nothing. It would be

[GIT PULL] ext4 changes for 4.1

2015-04-18 Thread Theodore Ts'o
The following changes since commit 1efff914afac8a965ad63817ecf8861a927c2ace: fs: add dirtytime_expire_seconds sysctl (2015-03-17 12:23:32 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for you to fetch

Re: [PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-18 Thread Joe Perches
On Sun, 2015-04-19 at 02:04 +0200, Yorick Rommers wrote: A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. trivial notes: Try breaking up the patches you send into more discrete chucks that do just one thing, not mostly one thing and some other things. diff --git

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 05:04 PM, Linus Torvalds wrote: On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck li...@roeck-us.net wrote: On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output

[GIT PULL] turbostat update for Linux-4.1

2015-04-18 Thread Len Brown
Hi Linus, Please pull these updates to the turbostat utility. Just one kernel dependency in this batch -- added a #define to msr-index.h thanks! Len Brown, Intel Open Source Technology Center The following changes since commit 39a8804455fb23f09157341d3ba7db6d7ae6ee76: Linux 4.0 (2015-04-12

[PATCH] usb: storage: scsiglue: Remove SPRINTF macro use

2015-04-18 Thread Joe Perches
Single transform macros with hidden arguments are not particularly useful. Just use seq_printf directly instead. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/storage/scsiglue.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 1/2] perf tools: Add 'perf-config' command

2015-04-18 Thread Namhyung Kim
Hi Taeung, On Sat, Apr 18, 2015 at 02:02:08PM +0900, Taewoong Song wrote: Hi, Namhyung Thanks for your review and advices :) There is a question which may be weird, followed by On Apr 13, 2015, at 3:16 PM, Namhyung Kim namhy...@kernel.org wrote: Hi Taeung, On Sun, Apr 12, 2015

[PATCH] Documentation/CodingStyle: fix example macro parenthesis imbalance

2015-04-18 Thread Baruch Siach
Cc: Bartosz Golaszewski bgolaszew...@baylibre.com Cc: Andrew Morton a...@linux-foundation.org Fixes: f2027543b9 ('documentation: update CodingStyle on local variables naming in macros') Signed-off-by: Baruch Siach bar...@tkos.co.il --- Documentation/CodingStyle | 2 +- 1 file changed, 1

Re: [PATCH 1/2] perf tools: Add 'perf-config' command

2015-04-18 Thread Namhyung Kim
On Sat, Apr 18, 2015 at 07:14:06PM +0900, Taewoong Song wrote: On Apr 13, 2015, at 3:16 PM, Namhyung Kim namhy...@kernel.org wrote: On Sun, Apr 12, 2015 at 11:44:48PM +0900, Taeung Song wrote: +static void check_argc(int argc, int limit) +{ + if (argc = limit argc = limit) +

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Rabin Vincent
On Sat, Apr 18, 2015 at 06:56:02PM -0700, Guenter Roeck wrote: Further debugging (with added WARN_ON if cpu != 0 in smp_call_function_single) shows: [800157ec] (unwind_backtrace) from [8001250c] (show_stack+0x10/0x14) [8001250c] (show_stack) from [80494cb4] (dump_stack+0x88/0x98)

Re: [PATCH 2/2] perf tools: Add a option 'remove' to perf-config and features which get or set a config variable.

2015-04-18 Thread Namhyung Kim
On Sat, Apr 18, 2015 at 02:02:17PM +0900, Taewoong Song wrote: On Apr 13, 2015, at 3:55 PM, Namhyung Kim namhy...@kernel.org wrote: On Sun, Apr 12, 2015 at 11:44:49PM +0900, Taeung Song wrote: +static struct config_section *find_config_section(const char *section_name) +{ + struct

Re: [RFC 0/6] perf stat: Metrics calculation fix

2015-04-18 Thread Namhyung Kim
Hi Jiri, On Tue, Apr 07, 2015 at 11:25:13PM +0200, Jiri Olsa wrote: hi, I'm sending Andi's patch accompanied with changes requested by Ingo. http://marc.info/?l=linux-kernelm=139748629929175w=2 I added simple bit calculated index array, while exclude_* bits might have more strict logic

[PATCH] usb: core: add usb3 lpm sysfs

2015-04-18 Thread Zhuang Jin Can
Some usb3 devices may not support usb3 lpm well. The patch adds a sysfs to enable/disable u1 or u2 of the port.The settings apply to both before and after device enumeration. Supported values are 0 - u1 and u2 are disabled, u1 - only u1 is enabled, u2 - only u2 is enabled, u1_u2 - u1 and u2 are

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 08:39 PM, Rabin Vincent wrote: On Sat, Apr 18, 2015 at 06:56:02PM -0700, Guenter Roeck wrote: Further debugging (with added WARN_ON if cpu != 0 in smp_call_function_single) shows: [800157ec] (unwind_backtrace) from [8001250c] (show_stack+0x10/0x14) [8001250c] (show_stack) from

[PATCH 1/7] perf tools: Get rid of position field from struct hist_entry

2015-04-18 Thread Namhyung Kim
It's not used anywhere, let's get rid of it. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/sort.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 846036a921dc..af192f172fa2 100644 --- a/tools/perf/util/sort.h +++

[PATCHSET 0/7] perf tools: Assorted cleanup for TUI (v1)

2015-04-18 Thread Namhyung Kim
Hello, This patches are to cleanup TUI hists browser code for later work. I moved hist_entry_diff and hist_entry_tui under an union in order to reduce memory footprint of hist entry. Also split out hist browser functions to make it easier to read. It's available on 'perf/tui-cleanup-v1' branch

[PATCH 3/7] perf tools: Move TUI-specific fields to struct hist_entry_tui

2015-04-18 Thread Namhyung Kim
Since perf diff only support stdio output, TUI fields are only accessed from perf report (or perf top). So add new struct hist_entry_tui and move those fields into them. And include it as an union member. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 52

[PATCH 2/7] perf diff: Make hist_entry_diff fields union

2015-04-18 Thread Namhyung Kim
The period_ratio_delta, period_ratio and wdiff are never by used at the same time. Instead, Just one of them is accessed according to a comparison method. So make it union to reduce memory footprint. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/sort.h | 15

[PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-18 Thread Namhyung Kim
Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected entry. When it adds an item, it also

[PATCH 5/7] perf hists browser: Fix possible memory leak

2015-04-18 Thread Namhyung Kim
The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's exited from a small item. Fix it by freeing all items when loop terminates. Signed-off-by: Namhyung Kim namhy...@kernel.org ---

<    1   2   3   4   5   >