[PATCH 03/19] mm: change PageAnon() to work on tail pages

2014-11-05 Thread Kirill A. Shutemov
Current PageAnon() is always return false for tail. We need to look on head page for correct answer. Let's change the function to give the right result. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- include/linux/mm.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 02/19] thp: cluster split_huge_page* code together

2014-11-05 Thread Kirill A. Shutemov
Rearrange code in mm/huge_memory.c to make future changes somewhat easier. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/huge_memory.c | 223 +++ 1 file changed, 111 insertions(+), 112 deletions(-) diff --git

[PATCH 01/19] mm, thp: drop FOLL_SPLIT

2014-11-05 Thread Kirill A. Shutemov
FOLL_SPLIT is used only in two places: migration and s390. Let's replace it with explicit split and remove FOLL_SPLIT. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- Documentation/vm/transhuge.txt | 11 --- arch/s390/mm/pgtable.c | 17 +++--

Re: [PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-05 Thread Kumar Gala
On Nov 5, 2014, at 6:55 AM, Ankit Jindal ankit.jin...@linaro.org wrote: Hi Kumar, On 31 October 2014 19:09, Kumar Gala ga...@codeaurora.org wrote: On Oct 31, 2014, at 4:30 AM, Ankit Jindal ankit.jin...@linaro.org wrote: Hi Kumar, On 21 October 2014 12:08, Kumar Gala

[PATCH v3.18-rc3] param: fix crash on bad kernel arguments

2014-11-05 Thread Daniel Thompson
Currently if the user passes an invalid value on the kernel command line then the kernel will crash during argument parsing. On most systems this is very hard to debug because the console hasn't been initialized yet. This is a regression due to commit 51e158c12aca (param: hand arguments after --

[PATCH 04/19] mm: avoid PG_locked on tail pages

2014-11-05 Thread Kirill A. Shutemov
With new refcounting pte entries can point to tail pages. It's doesn't make much sense to mark tail page locked -- we need to protect whole compound page. This patch adjust helpers related to PG_locked to operate on head page. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com ---

[PATCH v4 1/6] integrity: define a new function integrity_read_file()

2014-11-05 Thread Dmitry Kasatkin
This patch defines a new function called integrity_read_file() to read file from the kernel into a buffer. Subsequent patches will read a file containing the public keys and load them onto the IMA keyring. This patch moves and renames ima_kernel_read(), the non-security checking version of

[PATCH 10/19] thp: PMD splitting without splitting compound page

2014-11-05 Thread Kirill A. Shutemov
Current split_huge_page() combines two operations: splitting PMDs into tables of PTEs and splitting underlying compound page. This patch changes split_huge_pmd() implementation to split the given PMD without splitting other PMDs this page mapped with or underlying compound page. In order to do

[PATCH v4 2/6] integrity: provide a function to load x509 certificate from the kernel

2014-11-05 Thread Dmitry Kasatkin
Provide the function to load x509 certificates from the kernel into the integrity kernel keyring. Changes in v2: * configuration option removed * function declared as '__init' Signed-off-by: Dmitry Kasatkin d.kasat...@samsung.com --- security/integrity/digsig.c| 37

[PATCH] Add North complex power state debug driver for BYT and CHT

2014-11-05 Thread Mahesh Kumar P
The patch adds a debug driver which dumps the power states of all the North complex devices. This debug interface is useful to figure out the NC IPs which blocks the S0ix transitions on the platform. This is extremely useful during enabling PM on customer platforms and derivatives. Signed-off-by:

[PATCH 3/3] input: ft5x06: Allow to set the maximum axes value through the DT

2014-11-05 Thread Maxime Ripard
Currently the driver relies on some obscure and undocumented register to set the maximum axis value. The reported value is way too high to be meaningful, which confuses some userspace tools like QT's evdevtouch plugin which try to scale the reported events to the maximum values. Use the values

[PATCH 2/3] input: touchscreen: of: Register multitouch axes

2014-11-05 Thread Maxime Ripard
So far, the DT parsing code was only setting up the regular input axes, completely ignoring their multitouch counter parts. Fill them with the same parameters than the regular axes. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/input/touchscreen/of_touchscreen.c | 12

[PATCH 1/3] input: touchscreen: of: Use input_set_abs_params

2014-11-05 Thread Maxime Ripard
Drivers are still required to call input_set_abs_params for their axes, as if they only use the touchscreen_parse_of_params function, the axis bit in absbit won't be set. Switch to using input_set_abs_params to fully setup each and every available axis so that drivers will be able to solely use

[PATCH 0/3] input: ft5x06: Fix userspace reported maximum value

2014-11-05 Thread Maxime Ripard
Hi, The current ft5x06 reports to the user-space that its maximum coordinates are, on both X and Y, way higher than what could be actually usable on the screen (in my case, 5759x1151 instead of 480x800). This causes trouble on some userspace stacks that then try to re-scale these coordinates

[PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Andrey Ryabinin
Adding __printf(3, 4) to slab_err exposed following: mm/slub.c: In function ‘check_slab’: mm/slub.c:852:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘const char *’ [-Wformat=] s-name, page-objects, maxobj); ^ mm/slub.c:852:4: warning: too many

Re: [PATCH 02/35] UBI: Fix stale pointers in ubi-lookuptbl

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: + ubi-lookuptbl[e2-pnum] = NULL; kmem_cache_free(ubi_wl_entry_slab, e2); Since these 2 must always go together, they really deserve a separate helper function. -- To unsubscribe from this

[PATCH 5/5 v4] brd: Add getgeo to block ops for fdisk

2014-11-05 Thread Boaz Harrosh
From: Boaz Harrosh b...@plexistor.com Now when fdisk is run on brd it will ask some cryptic questions about CHS. This is because the getgeo block operation is not implemented. With the usual emulated values of 64, 32, X and the default size of 4M device, fdisk will offer 34 as possible

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Boris, On Tue, Nov 04, 2014 at 10:55:06AM +0100, Boris Brezillon wrote: The v4l2_mbus_pixelcode enum (or its values) should be replaced by the media_bus_format enum. Keep this enum in v4l2-mediabus.h and create

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-11-05 Thread Nix
On 5 Nov 2014, Johan Hovold stated: On Fri, Oct 31, 2014 at 04:44:46PM +, Nix wrote: Sorry for the delay: illness and work-related release time flurries. On 24 Oct 2014, Johan Hovold told this: [ +CC: linux-usb ] On Wed, Oct 22, 2014 at 04:36:59PM +0100, Nix wrote: On 22 Oct

[PATCHv9 1/2] pwm: Add Allwinner SoC support

2014-11-05 Thread Alexandre Belloni
This adds a generic PWM framework driver for the PWM controller found on Allwinner SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/pwm/Kconfig | 9 ++ drivers/pwm/Makefile| 1 +

[PATCHv9 2/2] pwm: sunxi: document OF bindings

2014-11-05 Thread Alexandre Belloni
This is the documentation for the Allwinner SoCs PWM bindings. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Maxime Ripard maxime.rip...@free-electrons.com --- Documentation/devicetree/bindings/pwm/pwm-sun4i.txt | 20 1 file changed, 20

[PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-05 Thread Alexandre Belloni
Hi, This patch series adds support for the PWM controller found on the Allwinner SoCs. The first patch adds the driver itself. The second patch adds the DT binding documentation Changes in v8: - renamed the driver sun4i as the PWM IP is different in the next sunxi SoCs - Took into account

[RFC] The SIGINFO signal from BSD

2014-11-05 Thread Martin Tournoij
Hi there, As a long-time BSD user, I have become quite used to the SIGINFO (sent with ^t) feature; after switching to Linux as my desktop a few months ago, I very much miss this. SIGINFO prints the status of the process to the terminal; BSD cp, for example, shows show much data it's copied:

Re: [PATCH 5/5 v4] brd: Add getgeo to block ops for fdisk

2014-11-05 Thread Boaz Harrosh
On 11/05/2014 05:14 PM, Boaz Harrosh wrote: From: Boaz Harrosh b...@plexistor.com Sorry [V4] Also fix the cryptic comment at the source code. I have pushed new trees to the public tree as well Thanks Boaz +static int brd_getgeo(struct block_device *bd, struct hd_geometry *geo) +{ +

Re: [PATCH 03/15] [media] Make use of the new media_bus_format definitions

2014-11-05 Thread Sakari Ailus
On Tue, Nov 04, 2014 at 10:54:58AM +0100, Boris Brezillon wrote: Replace references to the v4l2_mbus_pixelcode enum with the new media_bus_format enum in all common headers. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Sakari Ailus sakari.ai...@linux.intel.com

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Hans Verkuil
On 11/05/14 16:15, Boris Brezillon wrote: On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Boris, On Tue, Nov 04, 2014 at 10:55:06AM +0100, Boris Brezillon wrote: The v4l2_mbus_pixelcode enum (or its values) should be replaced by the media_bus_format enum.

Re: [PATCH] Documentation: vm: Add 1GB large page support information

2014-11-05 Thread Masanari Iida
Luiz, Dave, Thanks for comments. I understand that there are some exception cases which doesn't support 1G large pages on newer CPUs. I like Dave's example, at the same time I would like to add pdpe1gb flag in the document. For example, x86 CPUs normally support 4K and 2M (1G if pdpe1gb flag

Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-05 Thread Eric Rannaud
On Wed, Nov 5, 2014 at 12:27 AM, Christoph Hellwig h...@infradead.org wrote: On Mon, Nov 03, 2014 at 11:04:27AM -0800, Linus Torvalds wrote: Oh, so you don't actually need any file contents at all? If that is actually a real usage, then maybe we should just say that O_TMPFILE|O_RDONLY is

Re: [PATCH v2] ftrace: Document filter and option limitations

2014-11-05 Thread Steven Rostedt
On Tue, 4 Nov 2014 12:46:05 -0500 Peter Hurley pe...@hurleysoftware.com wrote: When using the function or function_graph tracers from the command line, certain command line options have limitations. Document that only kernel built-in functions can be filtered via ftrace_filter= or

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Sakari Ailus
Hi Boris, On Wed, Nov 05, 2014 at 04:15:38PM +0100, Boris Brezillon wrote: On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: I would keep the original file name, even if the compatibility definitions are there. I don't see any harm in having them around as well.

Re: [PATCH 03/35] UBI: Fastmap: Add self check to detect absent PEBs

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: This self check allows Fastmap to detect absent PEBs while writing a new fastmap to the MTD device. It will help to find implementation issues in Fastmap. Signed-off-by: Richard Weinberger rich...@nod.at ---

Re: [PATCH v2 1/3] iio: exyno-adc: use syscon for PMU register access

2014-11-05 Thread Jonathan Cameron
On 28/10/14 12:31, Vivek Gautam wrote: Hi all, CC'ing Naveen's gmail id, since the Samsung id is invalid now. On Tue, Sep 16, 2014 at 2:28 PM, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: This patch updates the IIO based ADC driver to use syscon and regmap APIs to access and

Re: Early test: hangs in mm/compact.c w. Linus's 12d7aacab56e9ef185c

2014-11-05 Thread Vlastimil Babka
On 11/04/2014 10:36 AM, P. Christeas wrote: On Tuesday 04 November 2014, Vlastimil Babka wrote: Please do keep testing (and see below what we need), and don't try another tree - it's 3.18 we need to fix! Let me apologize/warn you about the poor quality of this report (and debug data). It is

Re: Possible regression with commit 52221610d

2014-11-05 Thread Tim Kryger
On Wed, Nov 5, 2014 at 12:10 AM, Alexandre Courbot acour...@nvidia.com wrote: On 11/05/2014 12:31 AM, Tim Kryger wrote: On Tue, Nov 4, 2014 at 1:00 AM, Alexandre Courbot acour...@nvidia.com wrote: Hi Tim, thanks for your reply! On 11/04/2014 02:28 PM, Tim Kryger wrote: On Mon, Nov 3,

Re: [PATCH 0/4] extcon: gpio: add DT support

2014-11-05 Thread George Cherian
On 11/04/2014 08:11 PM, Felipe Balbi wrote: On Tue, Nov 04, 2014 at 11:42:04AM +0530, George Cherian wrote: Hi Felipe et al. Another series was posted by removing the platform support. https://lkml.org/lkml/2014/10/14/244 I guess I forgot to copy linux-omap. you do too many things in patch

Re: [PATCH v2 1/3] iio: exyno-adc: use syscon for PMU register access

2014-11-05 Thread Jonathan Cameron
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote: This patch updates the IIO based ADC driver to use syscon and regmap APIs to access and use PMU registers instead of remapping the PMU registers in the driver. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To:

Re: [PATCH] Documentation: vm: Add 1GB large page support information

2014-11-05 Thread Dave Hansen
On 11/05/2014 07:21 AM, Masanari Iida wrote: Luiz, Dave, Thanks for comments. I understand that there are some exception cases which doesn't support 1G large pages on newer CPUs. I like Dave's example, at the same time I would like to add pdpe1gb flag in the document. For example, x86

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Boris Brezillon
On Wed, 05 Nov 2014 16:19:56 +0100 Hans Verkuil hansv...@cisco.com wrote: On 11/05/14 16:15, Boris Brezillon wrote: On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Boris, On Tue, Nov 04, 2014 at 10:55:06AM +0100, Boris Brezillon wrote: The

Re: [PATCH v4 2/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-11-05 Thread Jonathan Cameron
On 05/11/14 15:01, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 14:06 +, Jonathan Cameron wrote: On 05/11/14 13:57, Ivan T. Ivanov wrote: On Wed, 2014-11-05 at 13:09 +, Jonathan Cameron wrote: On 03/11/14 15:24, Ivan T. Ivanov wrote: From: Stanimir Varbanov svarba...@mm-sol.com The

[RESEND PATCH 0/2] Add dt support for extcon gpio driver

2014-11-05 Thread George Cherian
This series - Adds dt support to extcon-gpio driver. - Add cable name support in case of dt. George Cherian (2): extcon: gpio: Add dt support for the driver extcon: gpio: Add support for using cable names drivers/extcon/extcon-gpio.c | 87

[RESEND PATCH 1/2] extcon: gpio: Add dt support for the driver

2014-11-05 Thread George Cherian
Add device tree support to extcon-gpio driver. Add devicetree binding documentation While at that - Cleanup the pdata as there are no users for the same. - Convert the driver to use gpiod_* API's. - Some gpio's can sleep while reading, so always use

Re: [PATCH 01/15] [media] Move mediabus format definition to a more standard place

2014-11-05 Thread Boris Brezillon
On Wed, 5 Nov 2014 17:00:25 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi, On Tue, Nov 04, 2014 at 12:09:59PM +0100, Hans Verkuil wrote: Well, I gave two alternatives :-) Both are fine as far as I am concerned, but it would be nice to hear what others think. In fact I think

Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-05 Thread Andy Lutomirski
On Wed, Nov 5, 2014 at 7:21 AM, Eric Rannaud e...@nanocritical.com wrote: On Wed, Nov 5, 2014 at 12:27 AM, Christoph Hellwig h...@infradead.org wrote: On Mon, Nov 03, 2014 at 11:04:27AM -0800, Linus Torvalds wrote: Oh, so you don't actually need any file contents at all? If that is actually a

Re: [PATCH 11/13] arm: dts: dra7: add DMA properties for UART

2014-11-05 Thread Lennart Sorensen
On Wed, Nov 05, 2014 at 09:11:35AM +0100, Sebastian Andrzej Siewior wrote: Okay. No DMA but the basic part seems to work for you. Thanks for testing. Two systems ran 16 hours each so far with no issues. Pushed 170MB of data through the pair of serial ports on one system at 230400. -- Len

Re: [PATCH v2 2/3] Documentation: dt-bindings: update exynos-adc.txt with syscon handle

2014-11-05 Thread Jonathan Cameron
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote: This patch updates the DT bindings for ADC in exynos-adc.txt with the syscon phandle to the ADC nodes. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com To: devicet...@vger.kernel.org Applied to the togreg branch of iio.git -

[RESEND PATCH 2/2] extcon: gpio: Add support for using cable names

2014-11-05 Thread George Cherian
Add support for using cable names. Enables other drivers to register interest and get notified using extcon provided notifier call backs. Signed-off-by: George Cherian george.cher...@ti.com --- Documentation/devicetree/bindings/extcon/extcon-gpio.txt | 2 ++ drivers/extcon/extcon-gpio.c

[PATCH] soc: Include drivers/soc/Kconfig only once

2014-11-05 Thread Andreas Larsson
Signed-off-by: Andreas Larsson andr...@gaisler.com --- drivers/Kconfig |2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/Kconfig b/drivers/Kconfig index 1a693d3..622fa26 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -148,8 +148,6 @@ source drivers/remoteproc/Kconfig

Re: [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities

2014-11-05 Thread Artem Bityutskiy
On Mon, 2014-11-03 at 15:58 +0200, Tanya Brokhman wrote: If there is more then one UBI device mounted, there is no way to distinguish between messages from different UBI devices. Add device number to all ubi layer message types. The R/O block driver messages were replaced by pr_* since

Re: [PATCH v2 3/3] ARM: dts: exynos: Add sysreg phandle to ADC node

2014-11-05 Thread Jonathan Cameron
On 16/09/14 09:58, Naveen Krishna Chatradhi wrote: Instead of using the ADC_PHY register base address, use sysreg phandle in ADC node to control ADC_PHY configuration register. This patch adds syscon node for Exynos3250, Exynos4x12, Exynos5250, and Exynos5420, Exynos5800. Signed-off-by:

Re: [PATCH 11/15] [media] Deprecate v4l2_mbus_pixelcode

2014-11-05 Thread Hans Verkuil
On 11/05/14 16:30, Boris Brezillon wrote: On Wed, 05 Nov 2014 16:19:56 +0100 Hans Verkuil hansv...@cisco.com wrote: On 11/05/14 16:15, Boris Brezillon wrote: On Wed, 5 Nov 2014 17:08:15 +0200 Sakari Ailus sakari.ai...@iki.fi wrote: Hi Boris, On Tue, Nov 04, 2014 at 10:55:06AM +0100,

Re: [ANNOUNCE] 3.14.23-rt20

2014-11-05 Thread Harry van Haaren
On Wed, 5 Nov 2014 14:50:41 +0100 Juerg Haefliger jue...@gmail.com wrote: The cpufreq code does nested down_read_trylocks and only the first one succeeds: drivers/cpufreq/cpufreq.c: store down_read_trylock(cpufreq_rwsem) - succeeds store_scaling_governor cpufreq_get_policy

Re: [PATCH v2] iio: adc: exynos_adc: Add support for exynos7

2014-11-05 Thread Jonathan Cameron
On 01/11/14 08:25, Chanwoo Choi wrote: Hi Abhilash, On Sat, Nov 1, 2014 at 1:00 PM, Abhilash Kesavan a.kesa...@samsung.com wrote: The ADC on exynos7 is quite similar to ADCv2. The differences are as follows: - exynos7-adc has 8 input channels (as against 10 in ADCv2). -

Re: [PATCH 05/35] UBI: Fastmap: Ensure that only one fastmap work is scheduled

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); ubi_update_fastmap(ubi); + spin_lock(ubi-wl_lock); + ubi-fm_work_scheduled = 0; + spin_unlock(ubi-wl_lock); } Why is the

[PATCH 0/7] Security: Provide unioned file support

2014-11-05 Thread David Howells
The attached patches provide security support for unioned files where the security involves an object-label-based LSM (such as SELinux) rather than a path-based LSM. There are two problems that need addressing: (1) The files that the user accesses through the overlayfs filesystem don't

[PATCH 2/7] Overlayfs: Use copy-up security hooks

2014-11-05 Thread David Howells
Use the copy-up security hooks previously provided to allow an LSM to adjust the security on a newly created copy and to filter the xattrs copied to that file copy. Signed-off-by: David Howells dhowe...@redhat.com --- fs/overlayfs/copy_up.c | 12 1 file changed, 12 insertions(+)

[PATCH 3/7] SELinux: Stub in copy-up handling

2014-11-05 Thread David Howells
Provide stubs for union/overlay copy-up handling. The xattr copy up stub discards lower SELinux xattrs rather than letting them be copied up so that the security label on the copy doesn't get corrupted. Signed-off-by: David Howells dhowe...@redhat.com --- security/selinux/hooks.c | 15

[PATCH 1/7] Security: Provide copy-up security hooks for unioned files

2014-11-05 Thread David Howells
Provide two new security hooks for use with security files that are used when a file is copied up between layers: (1) security_inode_copy_up(). This is called so that the security label on the destination file can be set appropriately. (2) security_inode_copy_up_xattr(). This is called

[PATCH 5/7] SELinux: Handle opening of a unioned file

2014-11-05 Thread David Howells
Handle the opening of a unioned file by trying to derive the label that would be attached to the union-layer inode if it doesn't exist. If the union-layer inode does exist (as it necessarily does in overlayfs, but not in unionmount), we assume that it has the right label and use that. Otherwise

[PATCH 7/7] SELinux: Check against union and lower labels for file ops on lower files

2014-11-05 Thread David Howells
File operations (eg. read, write) issued against a file that is attached to the lower layer of a union file needs to be checked against the union-layer label as well as the lower-layer label. Signed-off-by: David Howells dhowe...@redhat.com --- security/selinux/hooks.c | 14 +++--- 1

Re: [ANNOUNCE] 3.14.23-rt20

2014-11-05 Thread Mike Galbraith
On Wed, 2014-11-05 at 10:00 -0500, Steven Rostedt wrote: On Wed, 5 Nov 2014 15:43:24 +0100 Juerg Haefliger jue...@gmail.com wrote: Thanks for the explanation. So is this considered a temporary failure until multiple readers are allowed or does cpufreq need fixing or something else? Just

[PATCH 6/7] SELinux: The copy-up operation must have read permission on the lower file

2014-11-05 Thread David Howells
The copy-up operation must have read permission on the lower file for the task that caused the copy-up. This helps prevent overlayfs from being used to access something it shouldn't. Signed-off-by: David Howells dhowe...@redhat.com --- security/selinux/hooks.c |3 ++- 1 file changed, 2

[PATCH 4/7] Security: Pass the union-layer file path into security_file_open()

2014-11-05 Thread David Howells
Pass the path point representing the union-layer file into security_file_open() so that the correct security state can be divined - otherwise for overlayfs, only the security state for the lower filesystem can be accessed. This is a stopgap and isn't really the correct solution: the correct

Re: [PATCH 06/35] UBI: Fastmap: Ensure that all fastmap work is done upon WL shutdown

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: ...otherwise the deferred work might run after datastructures got freed and corrupt memory. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/wl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH V7 13/17] perf, x86: enable LBR callstack when recording callchain

2014-11-05 Thread Peter Zijlstra
On Wed, Nov 05, 2014 at 02:22:07PM +0100, Stephane Eranian wrote: I tend to agree here. The problem with FP is that it is not easy to figure out how a binary has been compiled. Getting valid FP callchains for large binaries using lots of shared libraries is very challenging. All libraries must

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-11-05 Thread Michal Hocko
Ups, just noticed that I have a compile fix staged which didn't make it into git format-patch. Will repost after/if you are OK with this approach. But I guess this is much better outcome. Thanks for pushing Tejun! On Wed 05-11-14 15:14:58, Michal Hocko wrote: [...] diff --git a/mm/oom_kill.c

Re: [Qemu-devel] [RFC PATCH] virtio-mmio: support for multiple irqs

2014-11-05 Thread Joel Schopp
On 11/05/2014 03:12 AM, Shannon Zhao wrote: Hi Rémy, On 2014/11/5 16:26, GAUGUEY Rémy 228890 wrote: Hi Shannon, Type of backend bandwith(GBytes/sec) virtio-net 0.66 vhost-net 1.49 vhost-net with irqfd2.01 Test cmd: ./iperf -c 192.168.0.2 -P 1 -i

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-11-05 Thread Tejun Heo
On Wed, Nov 05, 2014 at 02:42:19PM +0100, Michal Hocko wrote: On Wed 05-11-14 14:31:00, Michal Hocko wrote: On Wed 05-11-14 08:02:47, Tejun Heo wrote: [...] Also, why isn't this part of oom_killer_disable/enable()? The way they're implemented is really silly now. It just sets a flag

Re: [PATCH 05/35] UBI: Fastmap: Ensure that only one fastmap work is scheduled

2014-11-05 Thread Richard Weinberger
Am 05.11.2014 um 16:42 schrieb Artem Bityutskiy: On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); ubi_update_fastmap(ubi); +spin_lock(ubi-wl_lock); +ubi-fm_work_scheduled = 0; +

[PATCH v3 2/7] sched/cpupri: Remove unnecessary definitions in cpupri.h

2014-11-05 Thread pang.xunlei
Actually, cpupri_set() and cpupri_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei pang.xun...@linaro.org --- kernel/sched/cpupri.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/cpupri.h b/kernel/sched/cpupri.h index 6b03334..63cbb9c 100644 ---

[PATCH v3 7/7] sched/deadline: Modify cpudl_find() for more cases of electing best_cpu

2014-11-05 Thread pang.xunlei
When a runqueue runs out of DL tasks, it may have RT tasks or non-RT tasks or just idle. It'd be better to push the DL task to an idle cpu or non-RT cpu if there is any. Adds idle_enter_dl()/idle_exit_dl() to detect idle cases. Adds rt_enter_dl()/rt_exit_dl() to detect non-RT cases. Use the same

[PATCH v3 1/7] sched/rt: Deal with cpupri.pri_to_cpu[CPUPRI_IDLE] for idle cases

2014-11-05 Thread pang.xunlei
When a runqueue runs out of RT tasks, it may have non-RT tasks or none tasks(idle). Currently, RT balance treats the two cases equally and manipulates cpupri.pri_to_cpu[CPUPRI_NORMAL] only which may cause problems. For instance, 4 cpus system, non-RT task1 is running on cpu0, RT task2 is running

Re: [PATCH v3] bitops: Fix shift overflow in GENMASK macros

2014-11-05 Thread Maxime Coquelin
On 11/05/2014 12:10 PM, Rasmus Villemoes wrote: On Tue, Nov 04 2014, Maxime COQUELIN maxime.coque...@st.com wrote: -#define GENMASK(h, l) (((U32_C(1) ((h) - (l) + 1)) - 1) (l)) -#define GENMASK_ULL(h, l) (((U64_C(1) ((h) - (l) + 1)) - 1) (l)) +#define GENMASK(h, l) \ +

Re: [PATCH 06/35] UBI: Fastmap: Ensure that all fastmap work is done upon WL shutdown

2014-11-05 Thread Richard Weinberger
Am 05.11.2014 um 16:45 schrieb Artem Bityutskiy: On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: ...otherwise the deferred work might run after datastructures got freed and corrupt memory. Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/mtd/ubi/wl.c | 3 +++ 1

Re: [PATCH v9 4/4] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-11-05 Thread Johan Hovold
On Mon, Oct 27, 2014 at 06:31:12PM +0200, Octavian Purdila wrote: From: Daniel Baluta daniel.bal...@intel.com This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. [...] +static void dln2_gpio_pin_set_out_val(struct dln2_gpio *dln2, +

[PATCH v3 3/7] sched/rt: Optimize find_lowest_rq() to select a cache hot cpu

2014-11-05 Thread pang.xunlei
Add the case for iteration of sched_domains without SD_WAKE_AFFINE flags to select a cpu, this flag may be unset through proc by users. Signed-off-by: pang.xunlei pang.xun...@linaro.org --- kernel/sched/rt.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git

[PATCH v3 6/7] sched/deadline: Remove unnecessary definitions in cpudeadline.h

2014-11-05 Thread pang.xunlei
Actually, cpudl_set() and cpudl_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei pang.xun...@linaro.org --- kernel/sched/cpudeadline.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/sched/cpudeadline.h b/kernel/sched/cpudeadline.h index 0c9636e..dfdf594

Re: [PATCH 07/35] UBI: Fastmap: Fix races in ubi_wl_get_peb()

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: ubi_wl_get_peb() has two problems, it reads the pool size and usage counters without any protection. While reading one value would be perfectly fine it reads multiple values and compares them. This is racy and can lead to incorrect

[PATCH v3 4/7] sched/deadline: Fix several problems with cpudl_find()

2014-11-05 Thread pang.xunlei
cpudl_find() has some problems: 1)in check_preempt_equal_dl(), called with NULL later_mask, thus cpudl_find() doesn't check cpudl.free_cpus at all. 2)Also, the whole system isn't always overloaded with many DL tasks in which cases all the cpu may have a DL task running, so it may return the best

Re: [PATCH v9 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-11-05 Thread Johan Hovold
On Mon, Oct 27, 2014 at 06:31:10PM +0200, Octavian Purdila wrote: From: Laurentiu Palcu laurentiu.pa...@intel.com This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol

Re: [PATCH v9 1/4] mfd: add support for Diolan DLN-2 devices

2014-11-05 Thread Johan Hovold
On Mon, Oct 27, 2014 at 06:31:09PM +0200, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be

[PATCH v3 5/7] sched/deadline: Optimize find_later_rq() to select a cache hot cpu

2014-11-05 Thread pang.xunlei
Add the case for iteration of sched_domains without SD_WAKE_AFFINE flags to select a cpu, this flag may be unset through proc by users. Signed-off-by: pang.xunlei pang.xun...@linaro.org --- kernel/sched/deadline.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff

Re: [PATCH 06/35] UBI: Fastmap: Ensure that all fastmap work is done upon WL shutdown

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-11-05 at 16:49 +0100, Richard Weinberger wrote: If you want I can rebase. That would be very helpful. I did all fixes first and then the cleanups. Well, the first patch adds debugging stuff - not exactly a fix ;-) -- To unsubscribe from this list: send the line unsubscribe

RE: [PATCH V7 13/17] perf, x86: enable LBR callstack when recording callchain

2014-11-05 Thread Liang, Kan
Thanks for your comments. There are lots of discussion about the patch. It's hard to reply them one by one. So I try to reply all the concerns here. The patchset doesn't try to introduce the 3rd independent callchain option That's because LBR callstack has some limitations (only available for

Re: [PATCH v2] ftrace: Document filter and option limitations

2014-11-05 Thread Peter Hurley
On 11/05/2014 10:23 AM, Steven Rostedt wrote: On Tue, 4 Nov 2014 12:46:05 -0500 Peter Hurley pe...@hurleysoftware.com wrote: When using the function or function_graph tracers from the command line, certain command line options have limitations. Document that only kernel built-in functions

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-11-05 Thread Daniel Silverstone
On Wed, Nov 05, 2014 at 15:14:49 +, Nix wrote: Did you get anywhere with trying to look at the device firmware? Look at it? Only Daniel Silverstone (Cc:ed) can do that. The only copy of the firmware I have is baked into the sealed key. :) Sadly I can't look at the exact firmware of the

Early comments on kdbus v2 (Re: [PATCH 00/12] Add kdbus implementation)

2014-11-05 Thread Andy Lutomirski
On Wed, Nov 5, 2014 at 6:34 AM, Daniel Mack dan...@zonque.org wrote: On 10/29/2014 11:19 PM, Andy Lutomirski wrote: I think that each piece of trustable metadata needs to be explicitly opted-in to by the sender at the time of capture. Otherwise you're asking for lots of information leaks and

Re: [PATCH 03/35] UBI: Fastmap: Add self check to detect absent PEBs

2014-11-05 Thread Richard Weinberger
Am 05.11.2014 um 16:23 schrieb Artem Bityutskiy: On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote: This self check allows Fastmap to detect absent PEBs while writing a new fastmap to the MTD device. It will help to find implementation issues in Fastmap. Signed-off-by: Richard

Re: [RFC][PATCH 05/12 v3] tracing: Convert seq_buf fields to be like seq_file fields

2014-11-05 Thread Petr Mladek
On Tue 2014-11-04 10:52:42, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org In facilitating the conversion of seq_file to use seq_buf, have the seq_buf fields match the types used by seq_file. Signed-off-by: Steven Rostedt rost...@goodmis.org ---

Re: [PATCH 06/35] UBI: Fastmap: Ensure that all fastmap work is done upon WL shutdown

2014-11-05 Thread Richard Weinberger
Am 05.11.2014 um 16:54 schrieb Artem Bityutskiy: On Wed, 2014-11-05 at 16:49 +0100, Richard Weinberger wrote: If you want I can rebase. That would be very helpful. I did all fixes first and then the cleanups. Well, the first patch adds debugging stuff - not exactly a fix ;-) Let's name

Re: [RFC][PATCH 06/12 v3] tracing: Add a seq_buf_clear() helper and clear len and readpos in init

2014-11-05 Thread Petr Mladek
On Tue 2014-11-04 10:52:43, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add a helper function seq_buf_clear() that resets the len and readpos fields of a seq_buf. Currently it is only used in the seq_buf_init() but will be used later when updating the seq_file

Re: [PATCH 3/4] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-11-05 Thread Michal Hocko
On Wed 05-11-14 10:44:36, Tejun Heo wrote: On Wed, Nov 05, 2014 at 02:42:19PM +0100, Michal Hocko wrote: On Wed 05-11-14 14:31:00, Michal Hocko wrote: On Wed 05-11-14 08:02:47, Tejun Heo wrote: [...] Also, why isn't this part of oom_killer_disable/enable()? The way they're

Re: [RFC 1/2] core: Add generic object registry implementation

2014-11-05 Thread Andrzej Hajda
On 11/05/2014 03:04 PM, Thierry Reding wrote: On Wed, Nov 05, 2014 at 01:36:24PM +0100, Andrzej Hajda wrote: On 11/04/2014 05:29 PM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Add a generic implementation of an object registry. This targets drivers and subsystems that

[PATCH v2 09/11] ARM: at91/dt: add matrix node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 9f1eed5..d49dab7 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++

[PATCH v2 08/11] ARM: at91/dt: add HSMC (Static Memory Controller) node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 5f4144d..9f1eed5 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++

Re: [3.16 stable PATCH 0/2] virtio-rng: two backports to fix stuck

2014-11-05 Thread Luis Henriques
Hi Amos On Tue, Nov 04, 2014 at 12:32:27PM +0800, Amos Kong wrote: On Sat, Oct 11, 2014 at 06:51:47AM +0800, Amos Kong wrote: I received two mails about faile to apply patches to 3.16-stable tree: FAILED: patch [PATCH] virtio-rng: skip reading when we start to remove the device failed

Re: [PATCH 03/35] UBI: Fastmap: Add self check to detect absent PEBs

2014-11-05 Thread Artem Bityutskiy
On Wed, 2014-11-05 at 16:56 +0100, Richard Weinberger wrote: I did that to have alloc and free balanced. I.e. to not have a naked kfree(). Always when I see a kfree() somewhere I'd like to see the k*alloc(). OK. Please, just make the comment simpler then. Say that you are freeing the

[PATCH v2 03/11] mfd: syscon: Add atmel-smc registers definition

2014-11-05 Thread Boris Brezillon
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- include/linux/mfd/syscon/atmel-smc.h |

[PATCH v2 10/11] ARM: at91/dt: add EBI (External Bus Interface) node in sama5d3 dtsi

2014-11-05 Thread Boris Brezillon
Add EBI node and EBI pin muxing. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 83 ++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi

[PATCH v2 11/11] ARM: at91/dt: add NOR definition in sama5d3xcm dtsi

2014-11-05 Thread Boris Brezillon
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- arch/arm/boot/dts/sama5d3xcm.dtsi | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts/sama5d3xcm.dtsi index 962dc28..857ef05 100644 ---

[PATCH v2 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-11-05 Thread Boris Brezillon
The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be access by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon

<    1   2   3   4   5   6   7   8   9   10   >