Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 08:45:16PM +0100, Peter Zijlstra wrote: > On Thu, Feb 26, 2015 at 11:41:44AM -0800, Paul E. McKenney wrote: > > Or just have the *_ONCE() calls in the single version. I bet that there > > is no visible performance loss. > > I'll go play with that tomorrow, see what GCC

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-26 Thread Scott Branden
Hi Arnd, Latency is 32 us for 32bits of data - commented inline. What delay call do you recommend in this case? On 15-02-26 12:15 PM, Arnd Bergmann wrote: On Thursday 26 February 2015 11:37:20 Scott Branden wrote: Response inline. On 15-02-25 11:17 AM, Arnd Bergmann wrote: On Wednesday

Re: [PATCH v2] coresight-stm: adding driver for CoreSight STM component

2015-02-26 Thread Rob Herring
Adding Will D... On Wed, Feb 25, 2015 at 5:32 PM, Mathieu Poirier wrote: > From: Pratik Patel > > This driver adds support for the STM CoreSight IP block, > allowing any system compoment (HW or SW) to log and > aggregate messages via a single entity. > > The STM exposes an application defined

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-26 Thread Tony Lindgren
* Dave Gerlach [150226 12:05]: > Tony, > On 01/05/2015 04:51 PM, Tony Lindgren wrote: > > * Dave Gerlach [150105 14:51]: > >> Felipe, > >> On 01/02/2015 02:16 PM, Felipe Balbi wrote: > >>> On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: > Introduce a wkup_m3_ipc driver to

Re: 3.20-rc0 breaks nfsroot over usb

2015-02-26 Thread Pavel Machek
Hi! > It no longer works after I merged > > commit 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f > Merge: 8c334ce 45ee2db > Author: Linus Torvalds > Date: Mon Feb 16 15:48:00 2015 -0800 > > Merge branch 'drm-next' of > git://people.freedesktop.org/~airlied/linux > > Pull drm updates

[PATCH] KVM/s390: Fix trivial typo in comments

2015-02-26 Thread Yannick Guerrini
Change 'architecuture' to 'architecture' Signed-off-by: Yannick Guerrini --- arch/s390/kvm/gaccess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/gaccess.c index 267523c..633fe9b 100644 --- a/arch/s390/kvm/gaccess.c +++

[PATCH] capabilities: Ambient capability set V2

2015-02-26 Thread Christoph Lameter
V1->V2: - Fix up the processing of the caps bits after discussions with Any and Serge. Make patch less intrusive. Ambient caps are something like restricted root privileges. A process has a set of additional capabilities and those are inherited without have to set capabilites in other

Re: [PATCH] avc: remove unnecessary pointer reassignment

2015-02-26 Thread Nick Kralevich
Acked-By: Nick Kralevich On Thu, Feb 26, 2015 at 1:54 PM, Jeff Vander Stoep wrote: > Commit f01e1af445fa ("selinux: don't pass in NULL avd to > avc_has_perm_noaudit") > made this pointer reassignment unnecessary. Avd should continue to reference > the stack-based copy. > > Signed-off-by: Jeff

Re: [PATCH RESEND] coresight-stm: Bindings for System Trace Macrocell

2015-02-26 Thread Rob Herring
On Thu, Feb 26, 2015 at 10:14 AM, Mathieu Poirier wrote: > The System Trace Macrocell (STM) is an IP block falling under the > CoreSight umbrella. It's main purpose it so expose stimulus channels > to any system component for the purpose of information logging. > > Bindings for this IP block

[PATCH] qla2xxx: Fix trivial typos in ql_log message

2015-02-26 Thread Yannick Guerrini
Change 'Fimware' to 'Firmware' Change 'enalbled' to 'enabled' Signed-off-by: Yannick Guerrini --- drivers/scsi/qla2xxx/qla_init.c | 4 ++-- drivers/scsi/qla2xxx/qla_mid.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_init.c

Regression in v4.0.0-rc1 with Android Binder

2015-02-26 Thread Amit Pundir
Hi, I ran into series of following binder mmap failures with v4.0.0-rc1: [ cut here ] WARNING: CPU: 0 PID: 1971 at mm/vmalloc.c:130 vmap_page_range_noflush+0x119/0x144() CPU: 0 PID: 1971 Comm: healthd Not tainted 4.0.0-rc1-00399-g7da3fdc-dirty #157 Hardware name:

Re: [PATCH 2/2] fbcon: expose cursor blink interval via sysfs

2015-02-26 Thread Pavel Machek
On Wed 2015-02-25 23:32:00, Scot Doyle wrote: > On Wed, 25 Feb 2015, Pavel Machek wrote: > > On Mon 2015-01-26 20:41:53, Scot Doyle wrote: > > > The fbcon cursor, when set to blink, is hardcoded to toggle display state > > > five times per second. Expose this setting via > > >

Re: [PATCH v3 2/2] HID: wacom: add full support of the Wacom Bamboo PAD

2015-02-26 Thread Ping Cheng
On Thu, Feb 26, 2015 at 8:28 AM, Benjamin Tissoires wrote: > The stylus of this device works just fine out of the box. > The touch is seen by default as a mouse with relative events and some > gestures. > The wireless and the wired version have slightly different firmwares, but > the debug mode 2

[PATCH 2/4] ARM: qcom: Cleanup scm interface to only export what is needed

2015-02-26 Thread Kumar Gala
Now that scom boot interface is merged we don't need export scm_call anymore. Some other minor cleanups related to boot interface to only export what is needed by scm_set_boot_addr(). Signed-off-by: Kumar Gala --- arch/arm/mach-qcom/scm.c | 7 --- arch/arm/mach-qcom/scm.h | 7 --- 2

[PATCH 4/4] firmware: qcom: scm: Move the scm driver to drivers/firmware

2015-02-26 Thread Kumar Gala
Architectural changes in the ARM Linux kernel tree mandate the eventual removal of the mach-* directories. Move the scm driver to drivers/firmware and the scm header to include/linux to support that removal. Signed-off-by: Kumar Gala --- MAINTAINERS | 1 +

[PATCH 3/4] ARM: qcom: Prep scm code for move to drivers/firmware

2015-02-26 Thread Kumar Gala
Add qcom prefix to functions, etc to create a unique name space for the scm code as it gets ready to move out of qcom specific mach dir. Signed-off-by: Kumar Gala --- arch/arm/mach-qcom/platsmp.c | 8 +-- arch/arm/mach-qcom/scm.c | 148 +--

[PATCH 1/4] ARM: qcom: Merge scm and scm boot code together

2015-02-26 Thread Kumar Gala
Put all scm related code into a single file as a first step in cleaning up the scm interface to just expose functional behavior insteam of making direct scm calls. Signed-off-by: Kumar Gala --- arch/arm/mach-qcom/Makefile | 2 +- arch/arm/mach-qcom/platsmp.c | 2 +-

[GIT PULL] hwmon fixes for v4.0-rc2

2015-02-26 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux v4.0-rc2 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus-v4.0-rc2 Thanks, Guenter -- The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1

[PATCH] avc: remove unnecessary pointer reassignment

2015-02-26 Thread Jeff Vander Stoep
Commit f01e1af445fa ("selinux: don't pass in NULL avd to avc_has_perm_noaudit") made this pointer reassignment unnecessary. Avd should continue to reference the stack-based copy. Signed-off-by: Jeff Vander Stoep --- security/selinux/avc.c | 6 ++ 1 file changed, 2 insertions(+), 4

Re: SPDX-License-Identifier

2015-02-26 Thread Pavel Machek
On Thu 2015-02-26 10:26:50, One Thousand Gnomes wrote: > > So that GPL header at begining of each file becomes one line... and so > > that if it is BSD/GPL dual licensed is plain to see, and I don't have > > to read the notices saying "oh this is gpl.. but if you want to, > > delete gpl above and

Re: [DIGImend-devel] [PATCH 3/4]....

2015-02-26 Thread Benjamin Tissoires
Hi Vince, On Feb 26 2015 or thereabouts, Vince Herried wrote: > I'm overwhelmed by these updates My understanding of the code is not that > good. > > Currently i have a version of the code that gives two interfaces from my > Huion h610. I have gotten the buttons to work using xsetwacom. I

Re: SPDX-License-Identifier

2015-02-26 Thread Pavel Machek
On Wed 2015-02-25 16:00:47, Felipe Balbi wrote: > On Wed, Feb 25, 2015 at 10:49:51PM +0100, Pavel Machek wrote: > > Hi! > > > > > > >Is one tag per directory sufficient? Is one tag per file sufficient? > > > > >How about one tag per package? If package, then isn't a single tag for > > > > >the

Re: [PATCH 1/8] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-02-26 Thread Stephen Warren
On 02/17/2015 11:52 AM, Sebastian Hesselbarth wrote: I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. This patch

Re: [PATCH v2 4/7] thermal: introduce the Power Allocator governor

2015-02-26 Thread Eduardo Valentin
Javi, Replying in v2. On Thu, Feb 26, 2015 at 07:00:30PM +, Javi Merino wrote: > + > +/** > + * divvy_up_power() - divvy the allocated power between the actors > + * @req_power: each actor's requested power > + * @max_power: each actor's maximum available power > + *

Re: [PATCH v1 4/7] thermal: introduce the Power Allocator governor

2015-02-26 Thread Eduardo Valentin
On Wed, Jan 28, 2015 at 05:00:35PM +, Javi Merino wrote: > The power allocator governor is a thermal governor that controls system > and device power allocation to control temperature. Conceptually, the > implementation divides the sustainable power of a thermal zone among > all the heat

Re: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

2015-02-26 Thread Alexander Graf
On 26.02.15 21:32, Stuart Yoder wrote: > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Thursday, February 26, 2015 8:33 AM >> To: Yoder Stuart-B08248; a...@arndb.de >> Cc: Rivera Jose-B46482; linux-kernel@vger.kernel.org; >> gre...@linuxfoundation.org

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > There is nothing in get_vfs_caps_from_disk that does this and the magic > > vanishes after this function is done. > > get_vfs_caps_from_disk does: > > cpu_caps->magic_etc = magic_etc = le32_to_cpu(caps.magic_etc); > > then

[PATCH] doc: add information about max_ptes_none

2015-02-26 Thread Ebru Akagunduz
max_ptes_none specifies how many extra small pages (that are not already mapped) can be allocated when collapsing a group of small pages into one large page. /sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none A higher value leads to use additional memory for programs. A lower value

Re: [PATCH 3.19-rc6 v16 1/6] irqchip: gic: Optimize locking in gic_raise_softirq

2015-02-26 Thread Nicolas Pitre
On Thu, 26 Feb 2015, Daniel Thompson wrote: > On Thu, 2015-02-26 at 15:31 -0500, Nicolas Pitre wrote: > > On Tue, 3 Feb 2015, Daniel Thompson wrote: > > > > > Currently gic_raise_softirq() is locked using upon irq_controller_lock. > > > This lock is primarily used to make register

[PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-26 Thread Andrew Schwartzmeyer
This adds support for reporting the combined channels count of the hv_netvsc driver via 'ethtool --show-channels'. This required adding 'max_chn' to 'struct netvsc_device', and assigning it 'rsscap.num_recv_que' in 'rndis_filter_device_add'. Now we can access the combined maximum channel count

Re: [PATCH 1/3] ocfs2: remove unneeded variable 'status'

2015-02-26 Thread Andrew Morton
On Mon, 23 Feb 2015 19:38:10 +0900 Daeseok Youn wrote: > Use 'retval' instead of 'status'. > The patch does a lot more than this. It causes __ocfs2_add_entry to propagate error codes which were previously dropped on the floor. Please update the changelog to fully explain the functional

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 03:23:35PM -0600, Christoph Lameter wrote: > On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > > No. fE is not "not available". If you set it with setcap, you *should* > > (if i'm tinking right) find fE full when calculating the new capability > > sets, because of

Re: [RFC PATCH 0/3] genirq: mixing IRQF_NO_SUSPEND and wakeup sources on shared IRQs

2015-02-26 Thread Rafael J. Wysocki
On Thursday, February 26, 2015 07:17:24 PM Boris Brezillon wrote: > On Thu, 26 Feb 2015 19:17:03 +0100 > "Rafael J. Wysocki" wrote: > > > On Thursday, February 26, 2015 04:47:24 PM Boris Brezillon wrote: > > > On Thu, 26 Feb 2015 16:44:16 +0100 > > > "Rafael J. Wysocki" wrote: > > [...] > > >

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Andy Lutomirski wrote: > I'm still extremely nervous about allowing nonempty pA to propagate to > setuid or nonzero fP programs. It's less obviously dangerous if pA is > never a superset of pP, but it could still cause problems with setuid > programs that execute

Re: [PATCH] kconfig: Use macros which are already defined

2015-02-26 Thread Andrew Morton
On Mon, 23 Feb 2015 11:23:14 +0100 Michal Simek wrote: > Hi Andrew, > > On 12/11/2014 10:00 AM, Michal Simek wrote: > > It is better to use macros which are already available > > because then there is just one location which needs to be change. > > > > Signed-off-by: Michal Simek > > --- > >

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > No. fE is not "not available". If you set it with setcap, you *should* > (if i'm tinking right) find fE full when calculating the new capability > sets, because of magic_etc. There is nothing in get_vfs_caps_from_disk that does this and the magic

Re: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support

2015-02-26 Thread Bjorn Andersson
On Thu, Feb 26, 2015 at 12:11 PM, Stephen Boyd wrote: > On 02/26/15 12:09, Srinivas Kandagatla wrote: >> >> >> On 26/02/15 19:31, Stephen Boyd wrote: >>> On 02/22/15 23:54, Srinivas Kandagatla wrote: +pm8921_s5: pm8921-s5 { +compatible=

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 12:58:33PM -0800, Andy Lutomirski wrote: > On Thu, Feb 26, 2015 at 12:55 PM, Serge E. Hallyn wrote: > > On Thu, Feb 26, 2015 at 12:51:57PM -0800, Andy Lutomirski wrote: > >> On Thu, Feb 26, 2015 at 12:34 PM, Serge E. Hallyn wrote: > >> > On Thu, Feb 26, 2015 at 02:13:00PM

Re: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-02-26 Thread Felix Fietkau
On 2015-02-24 05:06, Florian Westphal wrote: > Imre Palik wrote: >> The netfilter code is made with flexibility instead of performance in mind. >> So when all we want is to pass packets between different interfaces, the >> performance penalty of hitting netfilter code can be considerable, even

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 03:09:48PM -0600, Christoph Lameter wrote: > On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > > > Same problem as before. The ambient bits will not be set in pE'. > > > > And what if I weren't scatterbrained and we did > > > > if (pA) > > pE' = pP' > >

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > Same problem as before. The ambient bits will not be set in pE'. > > And what if I weren't scatterbrained and we did > > if (pA) > pE' = pP' > else > pE' = pP' & fE > > All pP' bits would be set in pE'. Ok

Re: [PATCH 3.19-rc6 v16 1/6] irqchip: gic: Optimize locking in gic_raise_softirq

2015-02-26 Thread Daniel Thompson
On Thu, 2015-02-26 at 15:31 -0500, Nicolas Pitre wrote: > On Tue, 3 Feb 2015, Daniel Thompson wrote: > > > Currently gic_raise_softirq() is locked using upon irq_controller_lock. > > This lock is primarily used to make register read-modify-write sequences > > atomic but gic_raise_softirq() uses

RE: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op

2015-02-26 Thread Haiyang Zhang
> -Original Message- > From: Andrew Schwartzmeyer [mailto:and...@schwartzmeyer.com] > Subject: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op Please add net-next to the subject (the patch should also be based on that tree). Also the "hyperv: " word should come first. Like

[char-misc-next 03/18 V2] mei: me: add io register tracing

2015-02-26 Thread Tomas Winkler
To make debugging a bit easier we add me register access tracing /tracing/events/mei/mei_reg_{read,write} Signed-off-by: Tomas Winkler --- V2: add missing include to linux/device.h Fix warning (randconfig) drivers/misc/mei/mei-trace.h:30:24: warning: 'struct device' declared inside parameter

Re: [PATCH] ARM: exynos: Fix wrong hwirq of RTC interrupt for Exynos3250 SoC

2015-02-26 Thread Kukjin Kim
On 02/10/15 17:05, Krzysztof Kozlowski wrote: > 2015-02-10 4:09 GMT+01:00 Chanwoo Choi : >> This patch fixes wrong hwirq of RTC irq for Exynos3250 SoC. When entering >> suspend state, 'enable_irq_wake fail' happen because of the mismatch of RTC >> hwirq. >> >> [ 429.200937] Freezing user

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 12:55 PM, Serge E. Hallyn wrote: > On Thu, Feb 26, 2015 at 12:51:57PM -0800, Andy Lutomirski wrote: >> On Thu, Feb 26, 2015 at 12:34 PM, Serge E. Hallyn wrote: >> > On Thu, Feb 26, 2015 at 02:13:00PM -0600, Christoph Lameter wrote: >> >> On Thu, 26 Feb 2015, Serge E.

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 12:51:57PM -0800, Andy Lutomirski wrote: > On Thu, Feb 26, 2015 at 12:34 PM, Serge E. Hallyn wrote: > > On Thu, Feb 26, 2015 at 02:13:00PM -0600, Christoph Lameter wrote: > >> On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > >> > >> > Andrew Morgan was against that. What if

Re: [PATCH] ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency

2015-02-26 Thread Kukjin Kim
On 02/18/15 07:24, Stephen Boyd wrote: > On 02/16/15 05:36, Krzysztof Kozlowski wrote: >> During CPU shutdown the exynos_cpu_power_down() is called after >> disabling cache coherency and it uses LDREX and STREX instructions (by >> calling of_machine_is_compatible() -> kobject_get() -> kref_get()).

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 12:34 PM, Serge E. Hallyn wrote: > On Thu, Feb 26, 2015 at 02:13:00PM -0600, Christoph Lameter wrote: >> On Thu, 26 Feb 2015, Serge E. Hallyn wrote: >> >> > Andrew Morgan was against that. What if we changed >> > >> > pE' = pP' & (fE | pA) >> > >> > to >> > >> > if

Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Andi Kleen
> > Thoughts? Just use my original patch using page tables which did not need any of these research projects. http://www.serverphorums.com/read.php?12,1043794,1043796#msg-1043796 -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this list: send the line

Re: [PATCH v2 5/7] thermal: add trace events to the power allocator governor

2015-02-26 Thread Eduardo Valentin
On Thu, Feb 26, 2015 at 02:38:45PM -0500, Steven Rostedt wrote: > On Thu, 26 Feb 2015 19:00:31 + > Javi Merino wrote: > > > Add trace events for the power allocator governor and the power actor > > interface of the cpu cooling device. > > For the tracing parts... > > Acked-by: Steven

Re: [PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-02-26 Thread Cyrill Gorcunov
On Thu, Feb 26, 2015 at 11:36:57AM -0800, Davidlohr Bueso wrote: > We currently use the mmap_sem to serialize the mm exe_file. > This is atrocious and a clear example of the misuses this > lock has all over the place, making any significant changes > to the address space locking that much more

Re: [PATCH V7 1/1] perf tool:perf diff support for different binaries

2015-02-26 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 26, 2015 at 12:34:04PM -0800, Andi Kleen escreveu: > > Having a nice explanation of the problem helps, as my first reaction to > > this patch was: "What? This is what this tool is supposed to do, to > > compare two versions of a binary, one that is being developed from the > > same

Re: [PATCH] clk: qcom: Fix i2c frequency table

2015-02-26 Thread Andy Gross
On Mon, Feb 23, 2015 at 01:30:28PM -0800, Stephen Boyd wrote: > PXO is 25MHz, not 27MHz. Fix the table. > > Fixes: 24d8fba44af3 "clk: qcom: Add support for IPQ8064's global > clock controller (GCC)" > > Signed-off-by: Stephen Boyd Reviewed-by: Andy Gross Tested-by: Andy Gross -- Qualcomm

Re: [patch v2] sunrpc: integer underflow in rsc_parse()

2015-02-26 Thread J. Bruce Fields
On Tue, Feb 24, 2015 at 10:54:44PM -0500, Simo Sorce wrote: > On Tue, 2015-02-24 at 18:34 +0300, Dan Carpenter wrote: > > If we call groups_alloc() with invalid values then it's might lead to > > memory corruption. For example, with a negative value then we might not > > allocate enough for

[patch] regulator: core: remove some unneeded conditions

2015-02-26 Thread Dan Carpenter
These always true or always false conditions cause static checker warnings. The check prior to checking "if (pin->enable_count <= 1) {" is "if (pin->enable_count > 1) ", so we know that ->enable_count is <= 1 already and can delete the check. The queue_delayed_work() function is type bool so the

Re: [PATCH V7 1/1] perf tool:perf diff support for different binaries

2015-02-26 Thread Andi Kleen
> Having a nice explanation of the problem helps, as my first reaction to > this patch was: "What? This is what this tool is supposed to do, to > compare two versions of a binary, one that is being developed from the > same source, the other with slight modifications, etc", while the > description

Re: [PATCH 0/8] Add proper support for Compulab CM-A510/SBC-A510

2015-02-26 Thread Sebastian Hesselbarth
On 26.02.2015 21:01, Stephen Warren wrote: On 02/26/2015 12:39 PM, Sebastian Hesselbarth wrote: On 26.02.2015 18:55, Gregory CLEMENT wrote: On 17/02/2015 19:52, Sebastian Hesselbarth wrote: This patch set improves current mainline support for the Compulab CM-A510 System-on-Module (SoM) and

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 02:13:00PM -0600, Christoph Lameter wrote: > On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > > Andrew Morgan was against that. What if we changed > > > > pE' = pP' & (fE | pA) > > > > to > > > > if (pA) > > pE' = pP' & fE > > else > > pE' =

Re: [PATCH 3.19-rc6 v16 2/6] irqchip: gic: Make gic_raise_softirq FIQ-safe

2015-02-26 Thread Nicolas Pitre
On Tue, 3 Feb 2015, Daniel Thompson wrote: > It is currently possible for FIQ handlers to re-enter gic_raise_softirq() > and lock up. > > gic_raise_softirq() > lock(x); > -~-> FIQ > handle_fiq() > gic_raise_softirq() > lock(x); <-- Lockup > >

Re: [PATCH 3.19-rc6 v16 1/6] irqchip: gic: Optimize locking in gic_raise_softirq

2015-02-26 Thread Nicolas Pitre
On Tue, 3 Feb 2015, Daniel Thompson wrote: > Currently gic_raise_softirq() is locked using upon irq_controller_lock. > This lock is primarily used to make register read-modify-write sequences > atomic but gic_raise_softirq() uses it instead to ensure that the > big.LITTLE migration logic can

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 11:38:01AM -0800, Andy Lutomirski wrote: > On Thu, Feb 26, 2015 at 11:32 AM, Serge E. Hallyn wrote: > > On Thu, Feb 26, 2015 at 12:28:30PM -0600, Christoph Lameter wrote: > >> On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > >> > >> > > Well doing that breaks su. > >> > > >>

RE: [PATCH 0/3 v6] drivers/bus: Freescale Management Complex bus driver patch series

2015-02-26 Thread Stuart Yoder
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, February 26, 2015 8:33 AM > To: Yoder Stuart-B08248; a...@arndb.de > Cc: Rivera Jose-B46482; linux-kernel@vger.kernel.org; > gre...@linuxfoundation.org > Subject: Re: [PATCH 0/3 v6] drivers/bus:

Re: [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Bjørn Mork
Ville Syrjälä writes: >> @@ -651,7 +651,14 @@ static int i915_drm_suspend_late(struct drm_device >> *drm_dev) >> } >> >> pci_disable_device(drm_dev->pdev); >> -pci_set_power_state(drm_dev->pdev, PCI_D3hot); >> +/* >> + * During hibernation on some GM45 platforms the BIOS

Re: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support

2015-02-26 Thread Srinivas Kandagatla
On 26/02/15 19:00, Bjorn Andersson wrote: On Sun, Feb 22, 2015 at 11:54 PM, Srinivas Kandagatla wrote: This patch adds rpm node to apq8064 dt as rpm would be used by other devices for regulator support. Also adds all the regulators in the rpm. This looks good, with Kumars suggestion of

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-26 Thread Arnd Bergmann
On Thursday 26 February 2015 11:37:20 Scott Branden wrote: > Response inline. > > On 15-02-25 11:17 AM, Arnd Bergmann wrote: > > On Wednesday 25 February 2015 10:16:24 Scott Branden wrote: > >> This adds a driver for random number generator present on Broadcom > >> IPROC devices. > >> > >>

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Andy Lutomirski wrote: > Also, on further bikeshedding consideration, I think I like the name > "persistent" much better than "ambient". Alas, "persistent" starts > with a P. Ambient is like backround lighting. Its always there but barely visible. -- To unsubscribe from

[PATCH] ARM: zynq: use restart_handler mechanism for slcr reset

2015-02-26 Thread Josh Cartwright
By making use of the restart_handler chain mechanism, the SLCR-based reset mechanism can be prioritized amongst other mechanisms available on a particular board. Choose a default high-ish priority of 192 for this restart mechanism. Signed-off-by: Josh Cartwright --- arch/arm/mach-zynq/common.c

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Christoph Lameter
On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > Andrew Morgan was against that. What if we changed > > pE' = pP' & (fE | pA) > > to > > if (pA) > pE' = pP' & fE > else > pE' = pP' > Same problem as before. The ambient bits will not be set in pE'. -- To

Re: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support

2015-02-26 Thread Stephen Boyd
On 02/26/15 12:09, Srinivas Kandagatla wrote: > > > On 26/02/15 19:31, Stephen Boyd wrote: >> On 02/22/15 23:54, Srinivas Kandagatla wrote: >>> +pm8921_s5: pm8921-s5 { >>> +compatible= "qcom,rpm-pm8921-ftsmps"; >>> +reg= ; >>> +};

Re: [PATCH 0/8] Add proper support for Compulab CM-A510/SBC-A510

2015-02-26 Thread Stephen Warren
On 02/26/2015 12:39 PM, Sebastian Hesselbarth wrote: On 26.02.2015 18:55, Gregory CLEMENT wrote: On 17/02/2015 19:52, Sebastian Hesselbarth wrote: This patch set improves current mainline support for the Compulab CM-A510 System-on-Module (SoM) and its default Compulab SBC-A510 base board.

Re: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support

2015-02-26 Thread Srinivas Kandagatla
On 26/02/15 19:31, Stephen Boyd wrote: On 02/22/15 23:54, Srinivas Kandagatla wrote: + pm8921_s5: pm8921-s5 { + compatible = "qcom,rpm-pm8921-ftsmps"; + reg = ; + }; + +

[PATCH] staging: vt6655: Cleanup C99 comments

2015-02-26 Thread Alex W Slater
Fix checkpatch.pl errors: "ERROR: do not use C99 // comments" Signed-off-by: Alex W Slater --- drivers/staging/vt6655/device_main.c | 36 ++ 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c

Re: 3.19.0 / kswap0 bug

2015-02-26 Thread Pavol Cupka
Thank you for your reply, I am going to try vanilla sources and let you know. It is going to take some time thou, because I don't have to dd another drive for a little while :) Cheers Pavol On Thu, Feb 26, 2015 at 3:23 PM, Vlastimil Babka wrote: > On 02/21/2015 05:16 PM, Pavol Cupka wrote: >>

Re: [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Ville Syrjälä
On Thu, Feb 26, 2015 at 08:50:48PM +0200, Imre Deak wrote: > On to, 2015-02-26 at 10:34 +0100, Bjørn Mork wrote: > > Imre Deak writes: > > > > >> That patch fixes the problem, with only pci_set_power_state commented > > >> out. Do you still want me to try with pci_disable_device() commented > >

[PATCH] mfd: kempld-core: Fix callback return value check

2015-02-26 Thread Ameya Palande
On success, callback function returns 0. So invert the if condition check so that we can break out of loop. Cc: sta...@vger.kernel.org Signed-off-by: Ameya Palande <2am...@gmail.com> --- drivers/mfd/kempld-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH_V3 1/3] dt-bindings: dma: Add binding for jz4780-dma

2015-02-26 Thread Alex Smith
Hi Zubair, On 26 February 2015 at 12:43, Zubair Lutfullah Kakakhel wrote: > From: Alex Smith > > Add device tree bindings for the DMA controller on JZ4780 SoCs, used by > the dma-jz4780 driver. > > Signed-off-by: Alex Smith > Signed-off-by: Zubair Lutfullah Kakakhel > > --- > V3 -> V2 >

Re: [PATCHv3 01/17] mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines

2015-02-26 Thread Aaro Koskinen
Hi, On Thu, Feb 26, 2015 at 01:35:04PM +0200, Kirill A. Shutemov wrote: > Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page > table levels folded. Usually, these defines are provided by > and . > > But some architectures fold page table levels in a custom way. They need >

Re: [PATCH 2/3] soc: ti: Add wkup_m3_ipc driver

2015-02-26 Thread Dave Gerlach
Tony, On 01/05/2015 04:51 PM, Tony Lindgren wrote: > * Dave Gerlach [150105 14:51]: >> Felipe, >> On 01/02/2015 02:16 PM, Felipe Balbi wrote: >>> On Fri, Jan 02, 2015 at 02:00:16PM -0600, Dave Gerlach wrote: Introduce a wkup_m3_ipc driver to handle communication between the MPU and

Re: [Intel-gfx] [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Daniel Vetter
On Thu, Feb 26, 2015 at 08:50:48PM +0200, Imre Deak wrote: > On to, 2015-02-26 at 10:34 +0100, Bjørn Mork wrote: > > Imre Deak writes: > > > > >> That patch fixes the problem, with only pci_set_power_state commented > > >> out. Do you still want me to try with pci_disable_device() commented > >

Re: [RFC PATCH] ipc/sem.c: Add one more memory barrier to sem_lock().

2015-02-26 Thread Manfred Spraul
Hi Oleg, On 02/26/2015 08:29 PM, Oleg Nesterov wrote: @@ -341,7 +359,13 @@ static inline int sem_lock(struct sem_array *sma, struct sembuf *sops, * Thus: if is now 0, then it will stay 0. */ if (sma->complex_count == 0)

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-26 Thread Nicolas Pitre
On Thu, 26 Feb 2015, Daniel Thompson wrote: > On Wed, 2015-02-25 at 11:47 -0500, Nicolas Pitre wrote: > > On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: > > > > > On Thu, Feb 05, 2015 at 04:11:00PM +, Russell King - ARM Linux wrote: > > > > On Thu, Feb 05, 2015 at 06:29:18AM -0800,

Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 11:41:44AM -0800, Paul E. McKenney wrote: > Or just have the *_ONCE() calls in the single version. I bet that there > is no visible performance loss. I'll go play with that tomorrow, see what GCC makes of it. -- To unsubscribe from this list: send the line "unsubscribe

Re: [RFC][PATCH] module: Optimize __module_address() using a latched RB-tree

2015-02-26 Thread Paul E. McKenney
On Thu, Feb 26, 2015 at 08:13:35PM +0100, Peter Zijlstra wrote: > On Thu, Feb 26, 2015 at 10:28:17AM -0800, Paul E. McKenney wrote: > > > > Color me confused, both by the existing code and the modifications. > > > > It appears that you are using seqlock to force readers to retry when > > a

Re: [tip:perf/x86] perf/x86/intel: Add Intel Cache QoS Monitoring support

2015-02-26 Thread Peter Zijlstra
On Thu, Feb 26, 2015 at 06:47:00PM +, Matt Fleming wrote: > Weird. I just noticed that the Makefile hunk got dropped. Was that > intentional? > > diff --git a/arch/x86/kernel/cpu/Makefile b/arch/x86/kernel/cpu/Makefile > index 80091ae54c2b..6c1ca139f736 100644 > ---

Re: [PATCH 0/8] Add proper support for Compulab CM-A510/SBC-A510

2015-02-26 Thread Sebastian Hesselbarth
On 26.02.2015 18:55, Gregory CLEMENT wrote: On 17/02/2015 19:52, Sebastian Hesselbarth wrote: This patch set improves current mainline support for the Compulab CM-A510 System-on-Module (SoM) and its default Compulab SBC-A510 base board. Thanks to Gabriel Dobato who agreed to remote debug and

Re: [PATCH v2 2/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

2015-02-26 Thread Scott Branden
Response inline. On 15-02-25 11:17 AM, Arnd Bergmann wrote: On Wednesday 25 February 2015 10:16:24 Scott Branden wrote: This adds a driver for random number generator present on Broadcom IPROC devices. Reviewed-by: Ray Jui Signed-off-by: Scott Branden The driver looks reasonable overall,

Re: [PATCH v2 5/7] thermal: add trace events to the power allocator governor

2015-02-26 Thread Steven Rostedt
On Thu, 26 Feb 2015 19:00:31 + Javi Merino wrote: > Add trace events for the power allocator governor and the power actor > interface of the cpu cooling device. For the tracing parts... Acked-by: Steven Rostedt -- Steve > > Cc: Zhang Rui > Cc: Eduardo Valentin > Cc: Steven Rostedt >

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 11:32 AM, Serge E. Hallyn wrote: > On Thu, Feb 26, 2015 at 12:28:30PM -0600, Christoph Lameter wrote: >> On Thu, 26 Feb 2015, Serge E. Hallyn wrote: >> >> > > Well doing that breaks su. >> > >> > Don't what exactly? You're saying that doing >> > >> > pI' = pI >> > pA' =

[PATCH] mm: replace mmap_sem for mm->exe_file serialization

2015-02-26 Thread Davidlohr Bueso
We currently use the mmap_sem to serialize the mm exe_file. This is atrocious and a clear example of the misuses this lock has all over the place, making any significant changes to the address space locking that much more complex and tedious. This also has to do of how we used to check for the

Re: [PATCH] capabilities: Ambient capability set V1

2015-02-26 Thread Serge E. Hallyn
On Thu, Feb 26, 2015 at 12:28:30PM -0600, Christoph Lameter wrote: > On Thu, 26 Feb 2015, Serge E. Hallyn wrote: > > > > Well doing that breaks su. > > > > Don't what exactly? You're saying that doing > > > > pI' = pI > > pA' = pA (pA is ambient) > > pP' = (X & fP) | (pI & (fI | pA)) > > pE' =

Re: [RFC PATCH] ipc/sem.c: Add one more memory barrier to sem_lock().

2015-02-26 Thread Oleg Nesterov
Sorry Manfred, I initiated this discussion and then disappeared. Currently I am buried in the ancient 2.16.18 bugs ;) On 02/25, Manfred Spraul wrote: > Hi, > > What do you think about the following patch for sem_lock()? > > Other options: > > 1) I don't like > > #define

Re: [PATCH 01/12] ARM: dts: apq8064: add RPM regulators support

2015-02-26 Thread Stephen Boyd
On 02/22/15 23:54, Srinivas Kandagatla wrote: > + pm8921_s5: pm8921-s5 { > + compatible = "qcom,rpm-pm8921-ftsmps"; > + reg = ; > + }; > + > + pm8921_s6: pm8921-s6 {

Re: [PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-02-26 Thread Hagen Paul Pfeifer
On 25 February 2015 at 00:16, Vikas Shivappa wrote: > +1.2 Why is CAT needed > +- > + > +The CAT enables more cache resources to be made available for higher > +priority applications based on guidance from the execution > +environment. > + > +The architecture also allows

Re: [PATCH] ARM: kexec: Relax SMP validation to improve DT compatibility

2015-02-26 Thread Geert Uytterhoeven
On Thu, Feb 26, 2015 at 8:00 PM, Stephen Warren wrote: > On 02/26/2015 10:42 AM, Russell King - ARM Linux wrote: >> >> On Thu, Feb 26, 2015 at 11:37:08AM +0100, Geert Uytterhoeven wrote: >>> >>> When trying to kexec into a new kernel on a platform where multiple CPU >>> cores are present, but no

Re: [PATCH 1/7] x86/intel_rdt: Intel Cache Allocation Technology detection

2015-02-26 Thread Borislav Petkov
On Thu, Feb 26, 2015 at 11:12:28AM -0800, Vikas Shivappa wrote: > It would be easier to view the resources like CPUID availability > through cgroup interface itself rather than add an other interface for > the same. Right, exposing that info in the same place where it is being used/controlled

Re: [PATCH 4/7] x86: entry.S: use JZ mnemonic after TEST, not JE

2015-02-26 Thread Borislav Petkov
On Thu, Feb 26, 2015 at 08:03:38AM -0800, Andy Lutomirski wrote: > https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/log/?h=x86/entry > > It was in -next, but that version was broken. I'll put it back -next > and email out the series today, unless something changs. Two boxes from the

Re: [PATCH] drm/i915: fix failure to power off after hibernate

2015-02-26 Thread Bjørn Mork
Imre Deak writes: > Attached is the proposed fix for this issue. > > --Imre > > From 5c23657bc168db12a1ba100ab65fabd305c89c8a Mon Sep 17 00:00:00 2001 > From: Imre Deak > Date: Thu, 26 Feb 2015 18:38:53 +0200 > Subject: [PATCH] drm/i915: gm45: work around hang during hibernation I can confirm

Re: [PATCH 3.2 055/152] x86_64, switch_to(): Load TLS descriptors before switching DS and ES

2015-02-26 Thread Andy Lutomirski
On Thu, Feb 26, 2015 at 8:28 AM, Brian Gerst wrote: > On Thu, Feb 26, 2015 at 10:32 AM, Andy Lutomirski wrote: >> On Tue, Feb 24, 2015 at 7:23 PM, Brian Gerst wrote: >>> On Tue, Feb 24, 2015 at 3:08 PM, Denys Vlasenko >>> wrote: On Tue, Feb 24, 2015 at 9:02 PM, Andy Lutomirski

[PATCH 1/1] lib: correct link to the original source for div64_u64

2015-02-26 Thread Heinrich Schuchardt
The code refers to an invalid url http://www.hackersdelight.org/HDcode/newCode/divDouble.c.txt The correct url is http://www.hackersdelight.org/hdcodetxt/divDouble.c.txt Signed-off-by: Heinrich Schuchardt --- lib/div64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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