Re: [PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 03/09/15 18:48, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:46:43PM +0300, Roger Quadros wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> On 02/09/15 17:34, Felipe Balbi wrote: >>> On Wed, Sep 02, 2015 at

[PATCH v5 6/6] dt/bindings: bcm2835: Add binding documentation for auxiliar spi devices

2015-09-04 Thread kernel
From: Martin Sperl add binding documentation Signed-off-by: Martin Sperl --- .../bindings/spi/brcm,bcm2835-aux-spi.txt | 47 1 file changed, 47 insertions(+) create mode 100644

[PATCH v5 3/6] dt/bindings: bcm2835: add binding documentation for bcm2835-aux

2015-09-04 Thread kernel
From: Martin Sperl add binding documentation Signed-off-by: Martin Sperl --- .../bindings/soc/bcm/brcm,bcm2835-aux.txt | 27 1 file changed, 27 insertions(+) create mode 100644

[PATCH v5 0/6] bcm2835: auxiliar device support for spi

2015-09-04 Thread kernel
From: Martin Sperl The BCM2835 contains 3 auxiliar devices: * spi1 * spi2 * uart1 All of those 3 devices are enabled/disabled via a shared register, which is set by default to be disabled. Access to this register needs to get serialized. So after several iterations of

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-04 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 11:04:40AM +0200, Thierry Reding wrote: > Conversely, if the panel isn't capable of generating an HPD signal, then > I don't think it would be appropriate to make it a DT property. It would > be better to hard-code it in the driver, lest someone forget to set the > property

Re: BUG? Duplicate key code 0xe045 in dell-wmi.c

2015-09-04 Thread Pali Rohár
On Tuesday 07 July 2015 23:18:48 Pali Rohár wrote: > On Tuesday 07 July 2015 13:38:41 Mario Limonciello wrote: > > > > > > On 07/04/2015 11:34 AM, Pali Rohár wrote: > > > Hello, > > > > > > I'm looking at dell-wmi.c driver and its history in git and I found > > > problem with handling WMI key

Re: __blkg_lookup oops with 4.2-rcX

2015-09-04 Thread Richard W.M. Jones
On Wed, Sep 02, 2015 at 11:32:55AM -0400, Tejun Heo wrote: > Hello, > > On Wed, Sep 02, 2015 at 10:53:07AM -0400, Tejun Heo wrote: > > On Sun, Aug 30, 2015 at 08:30:41AM -0400, Josh Boyer wrote: > > I think the offending commit is 776687bce42b ("block, blk-mq: draining > > can't be skipped even

RE: [PATCH] [v3] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-04 Thread Chen, Yu C
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, September 03, 2015 9:19 AM > To: Chen, Yu C > Cc: Brown, Len; pa...@ucw.cz; mi...@redhat.com; > joeyli.ker...@gmail.com; ying...@kernel.org; Zhang, Rui; linux- > p...@vger.kernel.org;

[PATCH trivial] lib: scatterlist: Spelling s/heler/helper/, grammar s/channel/channels/

2015-09-04 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- lib/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index a16555281d5361e9..0b43f9e3b46fcdab 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -514,9 +514,9 @@ source

Re: [PATCH v2 06/10] usb/uvc: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-09-04 Thread Hans Verkuil
Laurent, can you review this? Regards, Hans On 08/21/2015 03:19 PM, Ricardo Ribalda Delgado wrote: > This driver does not use the control infrastructure. > Add support for the new field which on structure > v4l2_ext_controls > > Signed-off-by: Ricardo Ribalda Delgado

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-04 Thread Vladimir Davydov
On Thu, Sep 03, 2015 at 12:32:43PM -0400, Tejun Heo wrote: > On Wed, Sep 02, 2015 at 12:30:39PM +0300, Vladimir Davydov wrote: > ... > > To sum it up. Basically, there are two ways of handling kmemcg charges: > > > > 1. Make the memcg try_charge mimic alloc_pages behavior. > > 2. Make API

[PATCH] dm: ioctl: prevent double freeing

2015-09-04 Thread Sudip Mukherjee
DM_PARAMS_KMALLOC and DM_PARAMS_VMALLOC should never be set together in param_flags. We are setting these flags while allocating so we know that there is almost no chance of having these two set together but still we can have some additional safety. Signed-off-by: Sudip Mukherjee

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Peter Zijlstra
On Fri, Sep 04, 2015 at 06:12:34PM +1000, Dave Chinner wrote: > You probably don't even need a VM to reproduce it - that would > certainly be an interesting counterpoint if it didn't Even though you managed to restore your DEBUG_SPINLOCK performance by changing virt_queued_spin_lock() to use

Re: [[PATCH v2] 2/2] Altera Modular ADC driver support

2015-09-04 Thread Shubhrajyoti Datta
> +static int alt_modular_adc_probe(struct platform_device *pdev) > +{ > + struct altera_adc *adc; > + struct device_node *np = pdev->dev.of_node; > + struct iio_dev *indio_dev; > + struct resource *mem; > + int ret; > + > + if (!np) > + return

Re: [PATCH] mac80211: Do not use sizeof() on pointer type

2015-09-04 Thread Johannes Berg
On Wed, 2015-08-26 at 12:22 +0200, Thierry Reding wrote: > From: Thierry Reding > > The rate_control_cap_mask() function takes a parameter mcs_mask, > which > GCC will take to be u8 * even though it was declared with a fixed > size. > This causes the following warning: > >

Re: [PATCH v2 12/17] staging: sm750fb: hw_i2c_{read,write}: rename CamelCase variables

2015-09-04 Thread Sudip Mukherjee
On Fri, Sep 04, 2015 at 11:18:57AM +0300, Mike Rapoport wrote: > Rename longCamelCase variables deviceAddress and registerIndex to > shorter addr and reg > > Signed-off-by: Mike Rapoport > --- Please build test before sending. This patch breaks the build. regards sudip

[PATCH V1] audit: try harder to send to auditd upon netlink failure

2015-09-04 Thread Richard Guy Briggs
There are several reports of the kernel losing contact with auditd when it is, in fact, still running. When this happens, kernel syslogs show: "audit: *NO* daemon at audit_pid=" although auditd is still running, and is apparently happy, listening on the netlink socket. The pid in the

Re: thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread dawei chien
Sorry, forgot to add Rafael and Viresh as reviewer. On Fri, 2015-09-04 at 17:01 +0800, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add > static/dynamic power model for binding CPU thermal zone. > The power allocator governor allocates power budget to control > CPU

[PATCH 3/5] staging: most: remove driver owner

2015-09-04 Thread Sudip Mukherjee
The platform driver core will set the owner value, we do not need to do it in the module. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/hdm-dim2/dim2_hdm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/most/hdm-dim2/dim2_hdm.c

[PATCH 2/5] staging: most: return NULL instead of integer

2015-09-04 Thread Sudip Mukherjee
The return type of get_aim_dev() is a pointer but we were returning 0 incase of failure. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/aim-v4l2/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/aim-v4l2/video.c

Re: [PATCH 04/15] perf tools: Move tracing_path interface into api/fs/tracing_path.c

2015-09-04 Thread Matt Fleming
On Wed, 02 Sep, at 09:56:34AM, Jiri Olsa wrote: > Moving tracing_path interface into api/fs/tracing_path.c > out of util.c. It seems generic enough to be used by > others, and I couldn't think of better place. > > Link: http://lkml.kernel.org/n/tip-xqvrud2e3z4uynvnu3iml...@git.kernel.org >

Re: [PATCH 2/5] perf probe: Attach trace_probe_event with perf_probe_event

2015-09-04 Thread Namhyung Kim
On Fri, Sep 04, 2015 at 11:36:56AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > > From: Namhyung Kim [mailto:namhy...@kernel.org] Oh, this patch is came from Wang Nan. I missed to update the author, will change in v2. > > > > This patch drops struct __event_package structure. Instead, it adds > >

[PATCH v3 2/2] ARM: dts: : use "ti,pbias-" compatible string for pbias

2015-09-04 Thread Kishon Vijay Abraham I
Use platform specific compatible strings instead of the common "ti,pbias-omap" compatible string. Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/boot/dts/dra7.dtsi |2 +- arch/arm/boot/dts/omap2430.dtsi |2 +-

Re: [PATCH 1/3] arm64/cpufeature.h: Add macros for a cpu features testing

2015-09-04 Thread Suzuki K. Poulose
On 03/09/15 19:11, Alexander Kuleshov wrote: This patch provides a couple of macros for the testing of processor features (crypto and FP/SIMD) like support of SHA1, AES instructions, support for FPU and etc. There is already a couple of places in the arch/arm64/kernel where these processor

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-04 Thread Borislav Petkov
On Thu, Sep 03, 2015 at 12:41:47PM +0200, Thomas Gleixner wrote: > Nah. I rather put the local_irq_save into optimize_nops(). All other > callers of add_nops() are operating on a buffer and use text_poke > after that. Aside of that optimize_nops() is missing a sync_core(). Whoops. > Updated

RE: [LINUX RFC v2 1/4] spi: add support of two chip selects & data stripe

2015-09-04 Thread Ranjit Abhimanyu Waghmode
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, September 03, 2015 5:43 PM > To: Ranjit Abhimanyu Waghmode > Cc: dw...@infradead.org; computersforpe...@gmail.com; Michal Simek; > Soren Brinkmann; zaj...@gmail.com; b...@decadent.org.uk;

Re: [PATCH v2 09/17] staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}

2015-09-04 Thread Sudip Mukherjee
On Fri, Sep 04, 2015 at 11:18:54AM +0300, Mike Rapoport wrote: > Fix the checkpatch warning about CamelCase. > > Signed-off-by: Mike Rapoport > --- Your subject is not matching with your commit message. regards sudip -- To unsubscribe from this list: send the line

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-04 Thread Austin S Hemmelgarn
On 2015-09-04 06:46, Stas Sergeev wrote: 04.09.2015 13:09, Chuck Ebbert пишет: On Fri, 4 Sep 2015 00:28:04 +0300 Stas Sergeev wrote: 03.09.2015 21:51, Austin S Hemmelgarn пишет: There are servers out there that have this enabled and _never_ use it at all, Unless I am

Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 03/09/15 18:44, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:21:48PM +0300, Roger Quadros wrote: + dwc->fsm->id = id; + dwc->fsm->b_sess_vld = vbus; + usb_otg_sync_inputs(dwc->fsm); +} +

Re: [RFC PATCH 09/14] ring_buffer: Initialize completions statically in the benchmark

2015-09-04 Thread Petr Mladek
On Mon 2015-08-03 14:31:09, Steven Rostedt wrote: > On Tue, 28 Jul 2015 16:39:26 +0200 > Petr Mladek wrote: > > > It looks strange to initialize the completions repeatedly. > > > > This patch uses static initialization. It simplifies the code > > and even helps to get rid of

Re: [RFC PATCH 10/14] ring_buffer: Fix more races when terminating the producer in the benchmark

2015-09-04 Thread Petr Mladek
On Mon 2015-08-03 14:33:23, Steven Rostedt wrote: > On Tue, 28 Jul 2015 16:39:27 +0200 > Petr Mladek wrote: > > > @@ -384,7 +389,7 @@ static int ring_buffer_consumer_thread(void *arg) > > > > static int ring_buffer_producer_thread(void *arg) > > { > > - while

[PATCH] Input: i8042 - Lower log level for "no controller" message

2015-09-04 Thread Takashi Iwai
Nowadays the machines without i8042 controller is popular, and no need to print "No controller found" message in the error log level, which annoys at booting in quiet mode. Let's lower it info level. Signed-off-by: Takashi Iwai --- drivers/input/serio/i8042.c | 2 +- 1 file

Re: [[PATCH v6 02/10] perf: Add a flags parameter to pmu txn interfaces

2015-09-04 Thread Michael Ellerman
On Thu, 2015-09-03 at 20:07 -0700, Sukadev Bhattiprolu wrote: > Currently, the PMU interface allows reading only one counter at a time. > But some PMUs like the 24x7 counters in Power, support reading several > counters at once. To leveage this functionality, extend the transaction > interface to

[GIT PULL] arm64: updates for 4.3

2015-09-04 Thread Will Deacon
Hi Linus, Here is the arm64 queue for 4.3. There's quite a lot here and the diffstat looks pretty alarming at first glance, so let me walk you through it: - There are a bunch of new arm64 features and these are summarised in the tag (see below). - One of these features (LSE) involves a

Re: Incorrect key code parsing in dell-wmi.c since 5ea2559

2015-09-04 Thread Pali Rohár
On Saturday 04 July 2015 19:06:48 Pali Rohár wrote: > Hello, > > I found another problem in dell-wmi.c code which is still partially in > mainline kernel since commit 5ea2559726b786283236835dc2905c23b36ac91c: > >

Re: [PATCH] serial: core: prevent softlockups on slow consoles

2015-09-04 Thread Peter Hurley
On 09/04/2015 03:19 AM, Vitaly Kuznetsov wrote: > Greg Kroah-Hartman writes: >> I don't like this, please narrow this down to the real problem that your >> hardware has here, the putchar function should not be this slow. If it >> is, something is wrong. > > I'm

[PATCH] logfs: Use min_t() to compare different types

2015-09-04 Thread Geert Uytterhoeven
fs/logfs/dev_bdev.c: In function ‘__bdev_writeseg’: fs/logfs/dev_bdev.c:84: warning: comparison of distinct pointer types lacks a cast fs/logfs/dev_bdev.c: In function ‘do_erase’: fs/logfs/dev_bdev.c:174: warning: comparison of distinct pointer types lacks a cast Until b54ffb73cadcdcff ("block:

[PATCH] vxlan: Refactor vxlan_udp_encap_recv() to kill compiler warning

2015-09-04 Thread Geert Uytterhoeven
drivers/net/vxlan.c: In function ‘vxlan_udp_encap_recv’: drivers/net/vxlan.c:1226: warning: ‘info’ may be used uninitialized in this function While this warning is a false positive, it can be killed easily by getting rid of the pointer intermediary and referring directly to the ip_tunnel_info

Re: [PATCH 1/2] staging: mt29f_spinand: Fix module autoload for OF platform driver

2015-09-04 Thread Luis de Bethencourt
On Fri, Sep 04, 2015 at 11:42:37AM +0530, Sudip Mukherjee wrote: > On Thu, Sep 03, 2015 at 01:13:14PM +0200, Luis de Bethencourt wrote: > > This platform driver has a OF device ID table but the OF module > > alias information is not created so module autoloading won't work. > > > > Signed-off-by:

Re: [PATCH 1/3] arm64/cpufeature.h: Add macros for a cpu features testing

2015-09-04 Thread Catalin Marinas
On Fri, Sep 04, 2015 at 12:11:51AM +0600, Alexander Kuleshov wrote: > --- a/arch/arm64/include/asm/cpufeature.h > +++ b/arch/arm64/include/asm/cpufeature.h > @@ -28,7 +28,50 @@ > > #define ARM64_NCAPS 4 > > +/* > + * ID_AA64ISAR0_EL1 AES, bits [7:4] > + */ > +#define

Re: [PATCH 2/3] arm64/setup: Use ID_AA64ISAR0_EL1_.* macros

2015-09-04 Thread Catalin Marinas
On Fri, Sep 04, 2015 at 12:12:52AM +0600, Alexander Kuleshov wrote: > The 26d75e67c commit (arm64/cpufeature.h: Add macros for a cpu features Please drop the commit number here, that's specific to your tree and not something in mainline. -- Catalin -- To unsubscribe from this list: send the

Re: [PATCH 2/2] acpi, apei: use appropriate pgprot_t to map GHES memory

2015-09-04 Thread Matt Fleming
On Tue, 25 Aug, at 10:27:22AM, Jonathan (Zhixiong) Zhang wrote: > From: "Jonathan (Zhixiong) Zhang" > > If the ACPI APEI firmware handles hardware error first (called "firmware > first handling"), the firmware updates the GHES memory region with hardware > error record

Re: [PATCH 2/3] mtd: spi-nor: Zap unneeded write_enable from write_reg

2015-09-04 Thread Jagan Teki
On 19 August 2015 at 15:26, Jagan Teki wrote: > Since write enabling shall do with buf and len without > need of exctra write_enable argument, hence removed the > same from write_reg. > > Signed-off-by: Jagan Teki > Cc: David Woodhouse

Re: [PATCH v2] leds: leds-cobalt-qube: Use devm_led_classdev_register

2015-09-04 Thread Vaishali Thakkar
On Fri, Sep 4, 2015 at 4:54 PM, Jacek Anaszewski wrote: > Hi Vaishali, > > > On 09/01/2015 02:35 PM, Vaishali Thakkar wrote: >> >> Use resource-managed function devm_led_classdev_register instead >> of led_classdev_register to make the error-path simpler. >> >> To be

[PATCH] usb: gadget: amd5536udc: fix NULL pointer dereference

2015-09-04 Thread Sudip Mukherjee
We were checking if dev->regs is NULL but it was done after dereferencing it. Lets reset the controller and iounmap dev->regs only if it is not NULL. free_irq() does not need dev->regs, so unmaping it before freeing the irq should not matter. Signed-off-by: Sudip Mukherjee

RE: [PATCH 4/5] perf probe: Split del_perf_probe_events()

2015-09-04 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Namhyung Kim [mailto:namhy...@kernel.org] > > The del_perf_probe_events() does 2 things: > > 1. find existing events which match to filter > 2. delete such trace events from kernel > > But sometimes we need to do something with the trace events. So split > the funtion into two, so that

[PATCH 3/5] 9p: Simplify the xattr handlers

2015-09-04 Thread Andreas Gruenbacher
The generic_{get,set,remove}xattr inode operations use the xattr name prefix to decide which of the defined xattr handlers to call, then call the appropriate handler's get or set operation. The name suffix is passed to the get or set operations, the prefix is still "there" in the name before the

[PATCH 1/5] ubifs: Remove unused "security.*" xattr handler

2015-09-04 Thread Andreas Gruenbacher
Ubifs installs a "security.*" xattr handler in sb->s_xattr but doesn't use the generic_{get,set,list,remove}xattr inode operations needed for processing this list of attribute handlers; the handler is never called. Instead, ubifs uses its own xattr handlers which also process "security.*" xattrs.

Re: [Xen-devel] Kernel crash with "xen: avoid early crash of memory limited dom0"

2015-09-04 Thread David Vrabel
On 04/09/15 12:54, Juergen Gross wrote: > On 09/04/2015 12:10 PM, David Vrabel wrote: >> On 04/09/15 10:48, Roger Pau Monné wrote: >>> Hello, >>> >>> The following commit: >>> >>> commit fa84f27e21200dbe7d18c21af424d1de703b7567 >>> Author: Juergen Gross >>> Date: Wed Aug 19

[PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-04 Thread Dawei Chien
Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei Chien --- This patch is base on following patches https://patchwork.kernel.org/patch/6969581/ https://patchwork.kernel.org/patch/6969571/ https://patchwork.kernel.org/patch/6969381/ ---

[PATCH] kdbus: raise hard-coded limit of matches

2015-09-04 Thread David Herrmann
The current MATCH limit is far too low. We allow more bus-connections per user than peers to install matches. Raise the limit to a reasonable default of 4096. The current limit is exactly enough to run Gnome, but can be easily exceeded by starting some additional service providers. With the raised

Re: [GIT PULL 0/2] perf/urgent fixes

2015-09-04 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: > > Merge tag 'perf-urgent-for-mingo' of >

thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Dawei.Chien (2): thermal: mediatek: Add cpu power cooling model. arm64: dts: mt8173: Add thermal

Re: Kernel crash with "xen: avoid early crash of memory limited dom0"

2015-09-04 Thread Juergen Gross
On 09/04/2015 11:48 AM, Roger Pau Monné wrote: Hello, The following commit: commit fa84f27e21200dbe7d18c21af424d1de703b7567 Author: Juergen Gross Date: Wed Aug 19 18:52:34 2015 +0200 xen: avoid early crash of memory limited dom0 Which is queued in:

[PATCH] xen-blkback: free requests on disconnection

2015-09-04 Thread Roger Pau Monne
Request allocation has been moved to connect_ring, which is called every time blkback connects to the frontend (this can happen multiple times during a blkback instance life cycle). On the other hand, request freeing has not been moved, so it's only called when destroying the backend instance. Due

Re: [PATCH 1/3] mtd: spi-nor: Use write_sr for write status

2015-09-04 Thread Jagan Teki
On 19 August 2015 at 15:26, Jagan Teki wrote: > Use existing write_sr() call instead of decoding and > calling nor->write_reg separately. > > Signed-off-by: Jagan Teki > Cc: David Woodhouse > Cc: Brian Norris

RE: [PATCH 3/5] perf probe: Move print logic into cmd_probe()

2015-09-04 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Namhyung Kim [mailto:namhy...@kernel.org] > > Showing actual trace event when adding perf events is only needed in > perf probe command. But the add functionality itself can be used by > other places. So move the printing code into the cmd_probe(). > > Also it combines the output if

Re: [Patch V0] x86, mce: Don't clear global error reporting banks during cpu_offline

2015-09-04 Thread Borislav Petkov
On Thu, Sep 03, 2015 at 02:17:04PM -0400, Ashok Raj wrote: > During CPU offline, or during suspend/resume operations, its not safe to > clear MCi_CTL. These MSR's are either thread scoped (meaning private to > thread), or core scoped (private to threads in that core only), or socket > scope i.e

[PATCH v3 0/2] regulator: Fix pbias regulator enable

2015-09-04 Thread Kishon Vijay Abraham I
vsel_reg and enable_reg of the pbias regulator descriptor should actually have the offset from syscon. However after "ARM: dts: : add minimal l4 bus layout with control module support" vsel_reg and enable_reg started to have the absolute address because of address translation that happens due to

[PATCH v3 1/2] regulator: pbias: program pbias register offset in pbias driver

2015-09-04 Thread Kishon Vijay Abraham I
Add separate compatible strings for every platform and populate the pbias register offset in the driver data. This helps avoid depending on the dt for pbias register offset. Also update the dt binding documentation with the new compatible strings. Suggested-by: Tony Lindgren

[RESEND PATCH] ARM: multi_v7_defconfig: Enable PBIAS regulator

2015-09-04 Thread Kishon Vijay Abraham I
PBIAS regulator is required for MMC module in OMAP2, OMAP3, OMAP4, OMAP5 and DRA7 SoCs. Enable it here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/configs/multi_v7_defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig

Re: [PATCH] cfg80211: regulatory: restore proper user alpha2

2015-09-04 Thread Johannes Berg
On Wed, 2015-09-02 at 19:00 +0200, Maciej S. Szmigiero wrote: > restore_regulatory_settings() should restore alpha2 > as computed in restore_alpha2(), not raw user_alpha2 to > behave as described in the comment just above that code. > > This fixes endless loop of calling CRDA for "00" and "97" >

[PATCH] MIPS: Fix the build on jz4740 after removing the custom gpio.h

2015-09-04 Thread Alban Bedel
Somehow the wrong version of the patch to remove the use of custom gpio.h on mips has been merged. This patch add the missing fixes for a build error on jz4740 because linux/gpio.h doesn't provide any machine specfics definitions anymore. Signed-off-by: Alban Bedel ---

[PATCH] xen: switch extra memory accounting to use pfns

2015-09-04 Thread Juergen Gross
Instead of using physical addresses for accounting of extra memory areas available for ballooning switch to pfns as this is much less error prone regarding partial pages. Reported-by: Roger Pau Monné Signed-off-by: Juergen Gross --- arch/x86/xen/setup.c

[PATCH] perf tools: Fix gaps propagating maps

2015-09-04 Thread Adrian Hunter
A perf_evsel is a selected event containing the perf_event_attr that is passed to perf_event_open(). A perf_evlist is a collection of perf_evsel's. A perf_evlist also has lists of cpus and threads (pids) on which to open the event. These lists are called 'maps' and this patch is about how those

Re: [PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

2015-09-04 Thread Mikko Rapeli
On Fri, Sep 04, 2015 at 10:58:31AM +0200, Ingo Molnar wrote: > > * Mikko Rapeli wrote: > > > On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote: > > > > > > * Mikko Rapeli wrote: > > > > > > > Hi Ingo, Thomas and Peter, > > > > > > > > Do

Re: [PATCH 4/5] perf probe: Split del_perf_probe_events()

2015-09-04 Thread Namhyung Kim
On Fri, Sep 04, 2015 at 11:52:33AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > > From: Namhyung Kim [mailto:namhy...@kernel.org] > > > > The del_perf_probe_events() does 2 things: > > > > 1. find existing events which match to filter > > 2. delete such trace events from kernel > > > > But sometimes

[PATCH] xen: limit memory to architectural maximum

2015-09-04 Thread Juergen Gross
When a pv-domain (including dom0) is started it tries to size it's p2m list according to the maximum possible memory amount it ever can achieve. Limit the initial maximum memory size to the architectural limit of the hardware in order to avoid overflows during remapping of memory. This problem

[PATCH] ethernet: synopsys: SYNOPSYS_DWC_ETH_QOS should depend on HAS_DMA

2015-09-04 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "dma_alloc_coherent" [drivers/net/ethernet/synopsys/dwc_eth_qos.ko] undefined! ERROR: "dma_free_coherent" [drivers/net/ethernet/synopsys/dwc_eth_qos.ko] undefined! ERROR: "dma_unmap_single" [drivers/net/ethernet/synopsys/dwc_eth_qos.ko] undefined! ERROR:

Re: [PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

2015-09-04 Thread Ingo Molnar
* Mikko Rapeli wrote: > On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote: > > > > * Mikko Rapeli wrote: > > > > > Hi Ingo, Thomas and Peter, > > > > > > Do you have any pointers for me how > > > arch/x86/include/uapi/asm/sigcontext32.h >

RE: [GIT] Networking

2015-09-04 Thread David Laight
> I find them useful as syntactic sugar. We have not used them a lot, but there > are cases in our crypto > handling code where we have fixed size array inputs/outputs and there we > opted to use them. They make > it easy to remember what the expected sizes of input and output are without >

Re: [PATCH 4/6] sched/fair: Name utilization related data and functions consistently

2015-09-04 Thread Vincent Guittot
On 14 August 2015 at 18:23, Morten Rasmussen wrote: > From: Dietmar Eggemann > > Use the advent of the per-entity load tracking rewrite to streamline the > naming of utilization related data and functions by using > {prefix_}util{_suffix}

Kernel crash with "xen: avoid early crash of memory limited dom0"

2015-09-04 Thread Roger Pau Monné
Hello, The following commit: commit fa84f27e21200dbe7d18c21af424d1de703b7567 Author: Juergen Gross Date: Wed Aug 19 18:52:34 2015 +0200 xen: avoid early crash of memory limited dom0 Which is queued in: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.3

Re: [PATCH v4 14/16] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-09-04 Thread Thierry Reding
On Thu, Sep 03, 2015 at 04:55:59PM -0500, Rob Herring wrote: > On Thu, Sep 3, 2015 at 3:47 AM, Thierry Reding wrote: > > On Wed, Sep 02, 2015 at 03:17:57PM -0500, Rob Herring wrote: > > [...] > >> Are there any eDP panels which don't have EDID and need panel details in > >>

Re: [Xen-devel] Kernel crash with "xen: avoid early crash of memory limited dom0"

2015-09-04 Thread David Vrabel
On 04/09/15 10:48, Roger Pau Monné wrote: > Hello, > > The following commit: > > commit fa84f27e21200dbe7d18c21af424d1de703b7567 > Author: Juergen Gross > Date: Wed Aug 19 18:52:34 2015 +0200 > > xen: avoid early crash of memory limited dom0 > > Which is queued in: > >

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-04 Thread Chuck Ebbert
On Fri, 4 Sep 2015 00:28:04 +0300 Stas Sergeev wrote: > 03.09.2015 21:51, Austin S Hemmelgarn пишет: > > There are servers out there that have this enabled and _never_ use it > > at all, > Unless I am mistaken, servers usually use special flavour of the > distro (different from

Re: [PATCH] mm/mmap.c: Only call vma_unlock_anon_vm() when failure occurs in expand_upwards() and expand_downwards()

2015-09-04 Thread Chen Gang
Hello all: It seems 21cn mail can be accepted by our mailing list (I didn't receive any rejective notification mail from our mailing list). If it is necessary to send the patch again via git client, please let me know, I shall try to send it again with my 21cn mail address via git client.

Re: [PATCH] net/bonding: send arp in interval if no active slave

2015-09-04 Thread Uwe Koziolek
Am 03.09.2015 um 17:05 schrieb Jay Vosburgh: Uwe Koziolek wrote: On Tue, Sep 01, 2015 at 05:41 PM +0200, Andy Gospodarek wrote: On Mon, Aug 17, 2015 at 10:51:27PM +0200, Uwe Koziolek wrote: On Mon, Aug 17, 2015 at 09:14PM +0200, Jay Vosburgh wrote: Uwe Koziolek

Re: [PATCH 0/4] omap: Fix broken address translation for pbias

2015-09-04 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 03 September 2015 08:40 PM, Tony Lindgren wrote: > * Kishon Vijay Abraham I [150903 04:31]: >> pbias device stopped having memory resource after >> "ARM: dts: : add minimal l4 bus layout with control module >> support" got merged. This results in

Re: [PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-04 Thread Jagan Teki
On 4 September 2015 at 13:59, Vignesh R wrote: > In addition to providing direct access to SPI bus, some spi controller > hardwares (like ti-qspi) provide special memory mapped port > to accesses SPI flash devices in order to increase read performance. > This means the controller

Re: [PATCH 0/6] leds: Fix module autoload for OF platform drivers

2015-09-04 Thread Jacek Anaszewski
Hi Luis, Whole patch set merged, thanks. On 09/01/2015 11:34 PM, Luis de Bethencourt wrote: Hello, This series adds the missing MODULE_DEVICE_TABLE() for OF to eport that information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier

RE: [PATCH 5/5] perf probe: Print deleted events in cmd_probe()

2015-09-04 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Namhyung Kim [mailto:namhy...@kernel.org] > > Showing actual trace event when deleteing perf events is only needed in > perf probe command. But the add functionality itself can be used by > other places. So move the printing code into the cmd_probe(). > > The output is not changed. >

Re: [PATCH] ARM: ux500: fix typo in regulator names

2015-09-04 Thread Tomeu Vizoso
On 4 September 2015 at 13:48, Ulf Hansson wrote: > On 5 August 2015 at 14:22, Tomeu Vizoso wrote: >> Apparently an extra _reg suffix was appended to the end of the names of >> regulators ab8500_ext2_reg and ab8500_ext3_reg. >> >> Signed-off-by:

Re: [PATCH] clk_register_clkdev: remove format string interface

2015-09-04 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 01:54:07PM -0700, Kees Cook wrote: > Many callers either use NULL or const strings for the third argument of > clk_register_clkdev. For those that do not and use a non-const string, > this is a risk for format strings being accidentally processed (for > example in device

Re: [PATCH 2/9] perf, tools, stat: Abstract stat metrics printing

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:47PM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h > index 62448c8..bb07e46 100644 > --- a/tools/perf/util/stat.h > +++ b/tools/perf/util/stat.h > @@ -67,11 +67,21 @@ void perf_stat_evsel_id_init(struct perf_evsel

Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/09/15 18:51, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 04:52:02PM +0300, Roger Quadros wrote: if (on) { - dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_HOST); + /* OCTL.PeriMode = 0 */ + reg

[PATCH v5 2/6] ARM: bcm2835: add DT for the bcm2835 auxiliar devices

2015-09-04 Thread kernel
From: Martin Sperl Add device tree definitions for auxiliar bcm2835 devices: * spi1 * spi2 * uart1 This also include a device to get used by the relevant device-drivers (via a shared register) to enable/disable the HW-block. The aux-interrupt-register (0x7e21500) is

RE: [PATCH 2/5] perf probe: Attach trace_probe_event with perf_probe_event

2015-09-04 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Namhyung Kim [mailto:namhy...@kernel.org] > > This patch drops struct __event_package structure. Instead, it adds > trace_probe_event into 'struct perf_probe_event'. > > trace_probe_event information gives further patches a chance to access > actual probe points and actual arguments.

[PATCH 1/2] rcu: Show the real fqs_state

2015-09-04 Thread Petr Mladek
The value of "fqs_state" in struct rcu_state is always RCU_GP_IDLE. The real state is stored in a local variable in rcu_gp_kthread(). It is modified by rcu_gp_fqs() via parameter and return value. But the actual value is never stored to rsp->fqs_state. The result is that print_one_rcu_state()

[PATCH 2/2] rcu: Fix up timeouts for forcing the quiescent state

2015-09-04 Thread Petr Mladek
The deadline to force the quiescent state (jiffies_force_qs) is currently updated only when the previous timeout passed. But the timeout used for wait_event() is always the entire original timeout. This is strange. First, we might miss the deadline if we wait after a spurious wake up or after

[PATCH 0/2] rcu: two small fixes for RCU kthreads

2015-09-04 Thread Petr Mladek
I am trying to convert kthreads into a more sane API. I played also with RCU kthreads and found two small problems. They are independent on the conversion, so I send the patches already now. Petr Mladek (2): rcu: Show the real fqs_state rcu: Fix up timeouts for forcing the quiescent state

Re: [PATCH v2 10/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static functions

2015-09-04 Thread Sudip Mukherjee
On Fri, Sep 04, 2015 at 11:18:55AM +0300, Mike Rapoport wrote: > Fix the checkpatch warning about CamelCase. > > Signed-off-by: Mike Rapoport > --- This is again having too many renames. I lost track while seeing. :( Like Greg said, please break them into separate

[PATCH 1/2] thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Signed-off-by: Dawei Chien --- This patch is base on

Re: stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-04 Thread Stas Sergeev
04.09.2015 13:09, Chuck Ebbert пишет: > On Fri, 4 Sep 2015 00:28:04 +0300 > Stas Sergeev wrote: > >> 03.09.2015 21:51, Austin S Hemmelgarn пишет: >>> There are servers out there that have this enabled and _never_ use it >>> at all, >> Unless I am mistaken, servers usually use

[PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-04 Thread Geert Uytterhoeven
net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: net/usb/lan78xx.c:1107: warning: comparison is always false due to limited range of data type net/usb/lan78xx.c:: warning: comparison is always false due to limited range of data type Assigning return values that can be negative error

[PATCH 4/5] staging: most: remove unneeded NULL check

2015-09-04 Thread Sudip Mukherjee
The loop cursor of list_for_each_entry_safe() can never be NULL. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/mostcore/core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/most/mostcore/core.c

[PATCH 1/5] staging: most: remove always true comparison

2015-09-04 Thread Sudip Mukherjee
channel->dev has already been checked for NULL and if it was NULL then we have returned with -EPIPE. So at this point it can not be NULL. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/aim-cdev/cdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 5/5] staging: most: style of bool comparison

2015-09-04 Thread Sudip Mukherjee
BOOLEAN tests do not need any comparison to TRUE or FALSE. Signed-off-by: Sudip Mukherjee --- drivers/staging/most/hdm-usb/hdm_usb.c | 10 +- drivers/staging/most/mostcore/core.c | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH v2 00/10] Support getting default values from any control

2015-09-04 Thread Hans Verkuil
This patch series looks good. I'll drop the saa7164 patches since I made a patch series converting it to the control framework. Once Steve gives me the Ack for that I can merge that series. All I need to merge your series (minus the saa7164 patches) is the Ack from Laurent for the uvc patch.

Re: [PATCH 05/15] tools lib api: Move debugfs__strerror_open into tracing_path.c object

2015-09-04 Thread Matt Fleming
On Wed, 02 Sep, at 09:56:35AM, Jiri Olsa wrote: > Moving debugfs__strerror_open out of api/fs/debugfs.c, > because it's not debugfs specific. It'll be changed to > consider tracefs mount as well in following patches. > > Renaming it into tracing_path__strerror_open_tp to fit > into the namespace.

  1   2   3   4   5   6   7   8   9   10   >