[PATCH 2/3] x86, perf, uncore: Use Sandy Bridge client PMU on Haswell/Broadwell

2015-06-14 Thread Andi Kleen
From: Andi Kleen Haswell and Broadwell have the same uncore CBOX/ARB PMU as Sandy Bridge. Add the respective model numbers to enable the SNB uncore PMU. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 1/3] x86, perf, uncore: Add support for ARB uncore PMU on Sandy/IvyBridge

2015-06-14 Thread Andi Kleen
From: Andi Kleen Add a new "ARB" uncore PMU that is used to monitor the uncore queue arbiter. This is useful to measure uncore queue occupancy and similar statistics. The registers all have the same format as the existing CBOX PMU. Also move the event constraints from the CBOX to ARB. The 0x80+

[PATCH 3/3] x86, perf, uncore: Don't make MSR uncore depend on PCI uncore

2015-06-14 Thread Andi Kleen
From: Andi Kleen Several sytems, such as my laptop, don't expose the PCI devices for the PCI uncore measurements. But the MSRs for the CBOX and ARB uncores are always available. Currently the init code doesn't initialize the MSR uncores when the PCI uncore registration fails. Stop it from doing

[PATCH v4] pagemap: switch to the new format and do some cleanup

2015-06-14 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov This patch removes page-shift bits (scheduled to remove since 3.11) and completes migration to the new bit layout. Also it cleans messy macro. Signed-off-by: Konstantin Khlebnikov --- v4: fix misprint PM_PFEAME_BITS -> PM_PFRAME_BITS --- fs/proc/task_mmu.c|

Re: arc_pmu not initialized in the arc/kernel/perf_event.c?

2015-06-14 Thread Vineet Gupta
-CC Mischa (left Synopsys a while back) +CC Alexey (does most fo perf work these days) Hi Max, On Sunday 14 June 2015 04:39 AM, Max Filippov wrote: > Mischa, Vineet, > > Looking at ARC PMU driver I've got an impression that its static arc_pmu > is left uninitialized, which possibly leads to Oops

Re: [PATCH RESENT] phy: tusb1210: make better use of gpiod API

2015-06-14 Thread Kishon Vijay Abraham I
Hi, On Friday 12 June 2015 11:21 PM, Uwe Kleine-König wrote: Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Furthermore

Re: [RFC 2/3] mm: make optimistic check for swapin readahead

2015-06-14 Thread Rik van Riel
On 06/15/2015 01:40 AM, Leon Romanovsky wrote: > On Sun, Jun 14, 2015 at 6:04 PM, Ebru Akagunduz > wrote: >> This patch makes optimistic check for swapin readahead >> to increase thp collapse rate. Before getting swapped >> out pages to memory, checks them and allows up to a >> certain number. It

Re: [RFC 2/3] mm: make optimistic check for swapin readahead

2015-06-14 Thread Leon Romanovsky
On Sun, Jun 14, 2015 at 6:04 PM, Ebru Akagunduz wrote: > This patch makes optimistic check for swapin readahead > to increase thp collapse rate. Before getting swapped > out pages to memory, checks them and allows up to a > certain number. It also prints out using tracepoints > amount of unmapped

Re: [PATCH RESEND v4 3/3] kvm/powerpc: Export HCALL reason codes

2015-06-14 Thread Paul Mackerras
On Mon, Jun 15, 2015 at 10:26:09AM +0530, Hemant Kumar wrote: > For perf to analyze the KVM events like hcalls, we need the > hypervisor calls and their codes to be exported through uapi. Why? The hcall codes are defined externally to the kernel (in the PAPR document) and won't change. They're

Re: [PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons

2015-06-14 Thread Paul Mackerras
On Mon, Jun 15, 2015 at 10:26:07AM +0530, Hemant Kumar wrote: > To analyze the kvm exits with perf, we will need to map the exit codes > with the exit reasons. Such a mapping exists today in trace_book3s.h. > Currently its not exported to perf. > > This patch moves these kvm exit reasons and

Re: [PATCH] PM / sleep: cancel the synchronous restriction of pm-trace

2015-06-14 Thread Fu, Zhonghui
On 2015/5/28 22:43, Fu, Zhonghui wrote: > > On 2015/5/21 9:16, Rafael J. Wysocki wrote: >> On Wednesday, May 20, 2015 04:50:13 PM Fu, Zhonghui wrote: >>> On 2015/5/16 8:45, Rafael J. Wysocki wrote: On Wednesday, May 06, 2015 10:47:24 PM Fu, Zhonghui wrote: > Some system-hang occur only

Re: [PATCH] Staging: sm750fb: Fix checkpatch.pl warnings

2015-06-14 Thread Sudip Mukherjee
On Sun, Jun 14, 2015 at 05:17:43PM +, Dighe, Niranjan (N.) wrote: > From: Niranjan Dighe > > This patch removes spaces at the start of the line and replaces it > by tabs You are also removing blank lines, adding blank lines, moving a ')' to next line. regards sudip -- To unsubscribe from

Re: doubt about sm7xxfb (was: Re: [PATCH v4 0/7] staging: fsl-mc: New functionality to the MC bus driver)

2015-06-14 Thread Sudip Mukherjee
On Sat, Jun 13, 2015 at 09:57:05AM -0700, Joe Perches wrote: > > It seems ready to me. > > As far as I can tell, there's just a few niggles > that could be done: > > Something like (too lazy to separate them into multiple patches) Thanks. I will break into patches. Call me lazy for not having

[PATCH RESEND v4 1/2] perf/kvm: Port perf kvm to powerpc

2015-06-14 Thread Hemant Kumar
From: Srikar Dronamraju perf kvm can be used to analyze guest exit reasons. This support already exists in x86. Hence, porting it to powerpc. - To trace KVM events : perf kvm stat record If many guests are running, we can track for a specific guest by using --pid as in : perf kvm stat

Re: [PATCH] ASoC: Intel: mrfld: simplify sst_fill_widget_module_info

2015-06-14 Thread Vinod Koul
On Thu, Jun 04, 2015 at 10:13:53AM +0200, Rasmus Villemoes wrote: > Some tiny improvements, cutting 180 bytes off the generated code. > > - use strchr() for single-character needle > > - compute index using pointer subtraction instead of two strlen() > calls > > - factor out the common check

[PATCH RESEND v4 2/2] perf/kvm: Support HCALL events

2015-06-14 Thread Hemant Kumar
powerpc provides hcall events that also provides insights into guest behaviour. Enhance perf kvm to record and analyze hcall events. - To trace hcall events : perf kvm stat record - To show the results : perf kvm stat report --event=hcall The result shows the number of hypervisor calls

RENDSZERGAZDA

2015-06-14 Thread br1788
Ez az üzenet a rendszergazda üzenetközpont valamennyi tulajdonosa webmail számlák. Jelenleg korszersítése a adatbázis-központ és figyelembe email. Töröljük email segítségével webes e-mail fiókot, hogy nagyobb teret az új számlákat. Ha még nem frissítette eltt ez az utolsó alkalom, hogy csinálni.

[PATCH 1/1] net: replace if()/BUG with BUG_ON()

2015-06-14 Thread Maninder Singh
Use BUG_ON(condition) instead of if(condition)/BUG() Signed-off-by: Maninder Singh Reviewed-by: Akhilesh Kumar --- net/packet/af_packet.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index b5989c6..c91d405 100644 ---

MAINTAINERS: pinctrl: Outdated email of Thomas Abraham

2015-06-14 Thread Krzysztof Kozlowski
Hi Thomas, The email mentioned in maintainers: = PIN CONTROLLER - SAMSUNG M: Tomasz Figa M: Thomas Abraham = bounces with not existing recipient for very long time: = Delivery to the following recipient failed permanently:

RENDSZERGAZDA

2015-06-14 Thread br1788
Ez az üzenet a rendszergazda üzenetközpont valamennyi tulajdonosa webmail számlák. Jelenleg korszersítése a adatbázis-központ és figyelembe email. Töröljük email segítségével webes e-mail fiókot, hogy nagyobb teret az új számlákat. Ha még nem frissítette eltt ez az utolsó alkalom, hogy csinálni.

RENDSZERGAZDA

2015-06-14 Thread br1788
Ez az üzenet a rendszergazda üzenetközpont valamennyi tulajdonosa webmail számlák. Jelenleg korszersítése a adatbázis-központ és figyelembe email. Töröljük email segítségével webes e-mail fiókot, hogy nagyobb teret az új számlákat. Ha még nem frissítette eltt ez az utolsó alkalom, hogy csinálni.

[PATCH RESEND v4 2/3] kvm/powerpc: Add exit reason for return code 0x0

2015-06-14 Thread Hemant Kumar
This patch adds an exit reason "RETURN_TO_HOST" for the return code 0x0. Note that this is not related to any interrupt vector address, but this is added just to make sure that perf doesn't complain if and when a kvm exit happens with a trap code as 0x0. Signed-off-by: Hemant Kumar ---

[PATCH RESEND v4 3/3] kvm/powerpc: Export HCALL reason codes

2015-06-14 Thread Hemant Kumar
For perf to analyze the KVM events like hcalls, we need the hypervisor calls and their codes to be exported through uapi. This patch moves most of the pSeries hcall codes from arch/powerpc/include/asm/hvcall.h to arch/powerpc/include/uapi/asm/pseries_hcalls.h. It also moves the mapping from

[PATCH RESEND v4 1/3] kvm/powerpc: Export kvm exit reasons

2015-06-14 Thread Hemant Kumar
To analyze the kvm exits with perf, we will need to map the exit codes with the exit reasons. Such a mapping exists today in trace_book3s.h. Currently its not exported to perf. This patch moves these kvm exit reasons and their mapping from "arch/powerpc/kvm/trace_book3s.h" to

[PATCH] pinctrl: samsung: Remove old unused defines

2015-06-14 Thread Krzysztof Kozlowski
Since 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple pinmux/pinconf nodes") the defines for GPIO group and function names are not used anywhere in the driver. Signed-off-by: Krzysztof Kozlowski Inspired-by: Dan Carpenter --- drivers/pinctrl/samsung/pinctrl-samsung.c | 5 - 1 file

Re: [Xen-devel] [Patch V2 2/3] usb: Introduce Xen pvUSB frontend

2015-06-14 Thread Juergen Gross
On 06/12/2015 06:20 PM, Greg KH wrote: On Fri, Jun 12, 2015 at 04:10:00PM +0200, Juergen Gross wrote: Introduces the Xen pvUSB frontend. With pvUSB it is possible for a Xen domU to communicate with a USB device assigned to that domU. The communication is all done via the pvUSB backend in a

Re: ext4: mballoc: avoid 20-argument function call

2015-06-14 Thread Theodore Ts'o
On Thu, Jun 11, 2015 at 12:28:02AM +0200, Rasmus Villemoes wrote: > Making a function call with 20 arguments is rather expensive in both > stack and .text. In this case, doing the formatting manually doesn't > make it any less readable, so we might as well save 155 bytes of .text > and 112 bytes

Re: [PATCH v7 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2015-06-14 Thread punnaiah choudary kalluri
Ping. Regards, Punnaiah On Mon, Jun 8, 2015 at 11:38 PM, Punnaiah Choudary Kalluri wrote: > Add driver for arm pl353 static memory controller nand interface with > HW ECC support. This controller is used in xilinx zynq soc for interfacing > the nand flash memory. > > Signed-off-by: Punnaiah

Re: [PATCH v7 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2015-06-14 Thread punnaiah choudary kalluri
Ping. Regards, Punnaiah On Mon, Jun 8, 2015 at 11:37 PM, Punnaiah Choudary Kalluri wrote: > Add driver for arm pl353 static memory controller. This controller is > used in xilinx zynq soc for interfacing the nand and nor/sram memory > devices. > > Signed-off-by: Punnaiah Choudary Kalluri > ---

Re: [PATCH v3 2/2] mtd: nand: Add support for Arasan Nand Flash Controller

2015-06-14 Thread punnaiah choudary kalluri
Ping. Regards, Punnaiah On Fri, May 22, 2015 at 11:49 PM, Punnaiah Choudary Kalluri wrote: > Added the basic driver for Arasan Nand Flash Controller used in > Zynq UltraScale+ MPSoC. It supports only Hw Ecc and upto 24bit > correction. > > Signed-off-by: Punnaiah Choudary Kalluri > --- >

Re: [PATCH 1/1 linux-next] ext4: use swap() in mext_page_double_lock()

2015-06-14 Thread Theodore Ts'o
On Fri, Jun 12, 2015 at 06:59:15PM +0200, Fabian Frederick wrote: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. > > Signed-off-by: Fabian Frederick Thanks, applied. - Ted -- To unsubscribe from this list:

Re: [PATCH 1/1 linux-next] ext4: use swap() in memswap()

2015-06-14 Thread Theodore Ts'o
On Fri, Jun 12, 2015 at 06:58:54PM +0200, Fabian Frederick wrote: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. > > Signed-off-by: Fabian Frederick Thanks, applied. - Ted -- To unsubscribe from this list:

Re: [Patch V2 1/3] usb: Add Xen pvUSB protocol description

2015-06-14 Thread Juergen Gross
On 06/12/2015 06:23 PM, Greg KH wrote: On Fri, Jun 12, 2015 at 04:09:59PM +0200, Juergen Gross wrote: +enum usb_spec_version { + USB_VER_UNKNOWN = 0, + USB_VER_USB11, + USB_VER_USB20, + USB_VER_USB30, /* not supported yet */ +}; + You are defining a bunch of things in

Re: [PATCHv6 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Krzysztof Kozlowski
On 15.06.2015 11:13, Anand Moon wrote: > hi Krzysztof > > On 15 June 2015 at 05:21, Krzysztof Kozlowski wrote: >> On 14.06.2015 19:24, Anand Moon wrote: >>> This changes enables TMU IP block on the Exynos5422 Odroid-XU3 >>> device. >>> >>> Signed-off-by: Anand Moon >>> Tested-by: Markus Reichl

kexec_load(2) bypasses signature verification

2015-06-14 Thread Theodore Ts'o
>From experimentation and from looking at the sources, it appears that the signature checking is only done in the kexec_file_load(2) system all, and not in the kexec_load(2) system call. And I understand why -- the signature is not sent from userspace to the kernel in the older kexec_load(2)

Re: [PATCH] ARM: orion5x: Use vsprintf %pM extension

2015-06-14 Thread Andrew Lunn
On Sun, Jun 14, 2015 at 07:01:30PM -0700, Joe Perches wrote: > Format mac addresses with the normal kernel extension. > > Signed-off-by: Joe Perches Acked-by: Andrew Lunn Andrew > --- > arch/arm/mach-orion5x/dns323-setup.c | 4 +--- > arch/arm/mach-orion5x/tsx09-common.c | 4 +---

Re: [PATCH] Staging: sm750fb: fix checkpatch.pl indentation warnings

2015-06-14 Thread Dighe, Niranjan (N.)
On Sun, Jun 14, 2015 at 08:45:02PM +0200, Markus Böhme wrote: > >This patch fixes indentation issues by replacing spaces by tabs at > >the start of line > > > >Signed-off-by: Niranjan Dighe > > > >diff --git a/drivers/staging/sm750fb/ddk750_dvi.c > >b/drivers/staging/sm750fb/ddk750_dvi.c >

[PATCH] sched/deadline: remove needless parameter in dl_runtime_exceeded()

2015-06-14 Thread Zhiqiang Zhang
Sine commit 269ad80(sched/deadline: Avoid double-accounting in case of missed deadlines), parameter rq is no longer used, so remove it. Signed-off-by: Zhiqiang Zhang --- kernel/sched/deadline.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/deadline.c

[PATCH 1/1] arm64/hw_breakpoint.c: remove unnecessary header

2015-06-14 Thread Maninder Singh
Header is not needed for arm64, removing the same. Signed-off-by: Maninder Singh Reviewed-by: Vaneet Narang --- arch/arm64/kernel/hw_breakpoint.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c

[PATCH 1/1] arm/hw_breakpoint.c: remove unnecessary header

2015-06-14 Thread Maninder Singh
Header is not needed for arm, removing the same. Signed-off-by: Maninder Singh Reviewed-by: Vaneet Narang --- arch/arm/kernel/hw_breakpoint.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/hw_breakpoint.c b/arch/arm/kernel/hw_breakpoint.c index

Re: [Patch 0/2] Add mt6580 basic chip support

2015-06-14 Thread Mars Cheng
Hi all May I know if I miss anything to let this patch be reviewed? I will do my best to fix the problems. Thanks a lot. On Wed, 2015-06-03 at 16:18 +0800, Mars Cheng wrote: > This series add support to mediatek's new SoC, mt6580, a 4-core CA7. > Only basic I/O, including interrupt, timer &

Re: [PATCH v2] arm:arm64/hw_breakpoint.c: Remove unnecessary header

2015-06-14 Thread Maninder Singh
>On Thu, Jun 11, 2015 at 04:29:43PM +0100, Will Deacon wrote: >> On Thu, Jun 11, 2015 at 11:39:58AM +0100, Maninder Singh wrote: >> > Header is not needed in hw_breakpoint.c >> > for arm as well as arm64. >> > Removing the same. >> > >> > Signed-off-by: Maninder Singh >> > Reviewed-by: Vaneet

RE: [PATCH 2/7] input: cyapa: add gen6 device module support in driver

2015-06-14 Thread Dudley Du
Jeremiah, Thanks for the review. I will correct all the spelling errors you helped pointed out, and I will double check the spell, space and black line issues again. Thanks, Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2015?6?13? 14:57 > To:

[PATCH v3 1/1] usb: core: lpm: set lpm_capable for root hub device

2015-06-14 Thread Lu Baolu
Commit 25cd2882e2fc ("usb/xhci: Change how we indicate a host supports Link PM.") removed the code to set lpm_capable for USB 3.0 super-speed root hub. The intention of that change was to avoid touching usb core internal field, a.k.a. lpm_capable, and let usb core to set it by checking U1 and U2

Re: why do we need vmalloc_sync_all?

2015-06-14 Thread Andy Lutomirski
On Sun, Jun 14, 2015 at 7:47 PM, Andi Kleen wrote: > Oleg Nesterov writes: >> >> But again, the kernel no longer does this? do_page_fault() does >> vmalloc_fault() >> without notify_die(). If it fails, I do not see how/why a modular DIE_OOPS >> handler could try to resolve this problem and

[PATCHv7 3/4] ARM: dts: exynos5422-odroidxu3: Define default thermal-zones

2015-06-14 Thread Anand Moon
Trip points corresponding to the one defined in the exynos_tmu_data.c for Exynos5422 have been included so define thermal-zones attribute. Signed-off-by: Anand Moon Tested-by: Markus Reichl Acked-by: Lukasz Majewski Acked-by: Krzysztof Kozlowski ---

[PATCHv7 4/4] ARM: dts: exynos5422-odroidxu3: Enable thermal-zones

2015-06-14 Thread Anand Moon
Include exynos5422-cpu-thermal.dtsi to enable thermal_zone support. Signed-off-by: Anand Moon Acked-by: Lukasz Majewski Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCHv7 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Anand Moon
This changes enables TMU IP block on the Exynos5422 Odroid-XU3 device. Signed-off-by: Anand Moon Acked-by: Lukasz Majewski --- Changes rebase on git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung branch for-next Changes from v5 and v6: Use LDO7 regulator instead of LDO10

[PATCHv7 1/4] ARM: dts: exynos5422-odroidxu3: Add pwm-fan node

2015-06-14 Thread Anand Moon
Add pwm-fan node to the Odroid-XU3 board. Signed-off-by: Anand Moon Tested-by: Markus Reichl Acked-by: Lukasz Majewski Acked-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH v2 1/1] usb: core: lpm: set lpm_capable for root hub device

2015-06-14 Thread Lu, Baolu
On 06/13/2015 11:00 PM, Alan Stern wrote: On Sat, 13 Jun 2015, Lu Baolu wrote: Commit 25cd2882e2fc ("usb/xhci: Change how we indicate a host supports Link PM.") removed the code to set lpm_capable for USB 3.0 super-speed root hub. The intention of that change was to avoid touching usb core

Re: Suspicious RCU usage in linux-next: Bisected to commit 8d52d399

2015-06-14 Thread Larry Finger
On 06/14/2015 08:20 PM, Martin KaFai Lau wrote: On Sun, Jun 14, 2015 at 06:06:21PM -0500, Larry Finger wrote: I will be happy to test any suggested patches. Can you also turn off kmemleak and give it a try? Thanks for the quick response. As you expected, the problem is not found when

Re: why do we need vmalloc_sync_all?

2015-06-14 Thread Andi Kleen
Oleg Nesterov writes: > > But again, the kernel no longer does this? do_page_fault() does > vmalloc_fault() > without notify_die(). If it fails, I do not see how/why a modular DIE_OOPS > handler could try to resolve this problem and trigger another fault. The same problem can happen from NMI

Re: [PATCH 1/1] net: fs_enet: Disable NETIF_F_SG feature for Freescale MPC5121

2015-06-14 Thread Alexander Popov
10.06.2015 03:14, David Miller пишет: From: Alexander Popov Date: Wed, 10 Jun 2015 02:57:42 +0300 skb_copy_from_linear_data() which doesn't work well for non-linear sk_buff: The correct fix is to use an SKB copy routine which can handle non-linear data. Thanks, David. I'll prepare the

Re: [PATCH] gpio: generic: add get_direction support

2015-06-14 Thread Alexandre Courbot
On Sat, Jun 13, 2015 at 1:20 AM, Philipp Zabel wrote: > Allow to determine the current direction configuration by > reading back from the direction register. Interesting that this was missing. Acked-by: Alexandre Courbot -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 2/3] ASoC: mediatek: Add machine driver for MAX98090 codec

2015-06-14 Thread Koro Chen
On Fri, 2015-06-12 at 14:13 +0100, Mark Brown wrote: > On Wed, Jun 10, 2015 at 10:24:35PM +0800, Koro Chen wrote: > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/sound/mt8173-max98090.txt > > @@ -0,0 +1,17 @@ > > +MT8173 with MAX98090 CODEC > > + > > +Required properties: > > +-

RE: [PATCH 6/7] input: cyapa: add of match device support and description document

2015-06-14 Thread Dudley Du
Jeremiah, Thanks for the review. I made the patch based on dtor-next's code based. I will make the next v1 patches based on the linux-next to avoid this problem. Thanks, Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2015?6?13? 11:54 > To:

Re: [PATCH v2] gpio / ACPI: Add label to the gpio request

2015-06-14 Thread Alexandre Courbot
On Mon, Jun 15, 2015 at 7:00 AM, Tobias Diedrich wrote: > In leds-gpio.c create_gpio_led only the legacy path propagates the label > by passing it into devm_gpio_request_one. Similarily gpio_keys_polled.c > also neglects to propagate the name to the gpio subsystem. > > On the newer

Re: [PATCH v5 00/24] Convert the posix_clock_operations and k_clock structure to ready for 2038

2015-06-14 Thread Baolin Wang
On 12 June 2015 at 21:16, Thomas Gleixner wrote: > On Fri, 12 Jun 2015, Baolin Wang wrote: > > Sigh. Again threading of the series failed. Some patches are, the > whole series is not. Can you please get your tools straight? > > You neither managed to cc me on the security patch. > >> - Modify the

RE: [PATCH 5/7] input: cyapa: add proximity and interrupt sysfs interfaces support

2015-06-14 Thread Dudley Du
Dmitry, Thanks for the review. The purpose of adding the proximity interface is: 1. User can apply the use of the proximity function as they want. Some productions may need the proximity function, but some may not. And for product, the requirements may be also different in the different

Re: [PATCH 1/1] perf tools: Check access permission when reading /proc/kcore file.

2015-06-14 Thread Li Zhang
On 2015年06月10日 22:44, Arnaldo Carvalho de Melo wrote: Em Wed, Jun 10, 2015 at 11:01:33AM +0800, Li Zhang escreveu: When using command perf report --kallsyms=/proc/kallsyms with a non-root user, symbols are resolved. Then select one symbol and annotate it, it reports the error as the following:

Re: [PATCHv6 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Anand Moon
hi Krzysztof On 15 June 2015 at 05:41, Krzysztof Kozlowski wrote: > On 14.06.2015 19:24, Anand Moon wrote: >> This changes enables TMU IP block on the Exynos5422 Odroid-XU3 >> device. >> >> Signed-off-by: Anand Moon >> Tested-by: Markus Reichl > > This does not look right. > You put this

Re: Linux 4.1-rc8

2015-06-14 Thread Linus Torvalds
On Sun, Jun 14, 2015 at 4:10 PM, Linus Torvalds wrote: > So I'm on vacation, but time doesn't stop for that, and it's Sunday, > so time for a hopefully final rc. .. and if you were quick, and on the ball, and confused about why you couldn't find the tar-ball or patch, it's because I'm a clutzy

Re: [PATCHv6 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Anand Moon
hi Krzysztof On 15 June 2015 at 05:21, Krzysztof Kozlowski wrote: > On 14.06.2015 19:24, Anand Moon wrote: >> This changes enables TMU IP block on the Exynos5422 Odroid-XU3 >> device. >> >> Signed-off-by: Anand Moon >> Tested-by: Markus Reichl >> Acked-by: Lukasz Majewski >> --- >> Changes

Re: [PATCH 4/5] clk: mediatek: Add subsystem clocks of MT8173

2015-06-14 Thread James Liao
On Fri, 2015-06-12 at 19:09 +0200, Matthias Brugger wrote: > On Thursday, May 21, 2015 03:12:55 PM James Liao wrote: > > + > > +static struct mtk_gate_regs venclt_cg_regs = { > > + .set_ofs = 0x0004, > > + .clr_ofs = 0x0008, > > + .sta_ofs = 0x, > > +}; > > > The register for imagesys,

Linux 4.1-rc8

2015-06-14 Thread Linus Torvalds
So I'm on vacation, but time doesn't stop for that, and it's Sunday, so time for a hopefully final rc. It turns out it's just as well that I wanted to drag the release out by a week so that I don't have the merge window while on vacation - we still have some fixes in md. As Neil Brown put it

Re: [PATCH 1/1] iio:adc: XADC: Set offset explicitly to zero on voltage channels

2015-06-14 Thread Gergely Imreh
On 14 June 2015 at 23:55, Jonathan Cameron wrote: > On 14/06/15 16:45, Lars-Peter Clausen wrote: >> On 06/14/2015 05:15 AM, Gergely Imreh wrote: >>> On 14 June 2015 at 02:30, Jonathan Cameron wrote: On 11/06/15 09:22, Gergely Imreh wrote: > The Xilinx XADC driver has both a temperature

Re: [PATCH 1/3] ASoC: mediatek: Add AFE platform driver

2015-06-14 Thread Koro Chen
On Fri, 2015-06-12 at 14:06 +0100, Mark Brown wrote: > On Wed, Jun 10, 2015 at 10:24:34PM +0800, Koro Chen wrote: > > This is the DPCM based platform driver of AFE (Audio Front End) unit. > > > > Signed-off-by: Koro Chen > > Signed-off-by: Sascha Hauer > > Your signoff should be last if you're

[PATCH] media: ttpci: Use vsprintf %pM extension

2015-06-14 Thread Joe Perches
Format mac addresses with the normal kernel extension. Signed-off-by: Joe Perches --- drivers/media/pci/ttpci/ttpci-eeprom.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/media/pci/ttpci/ttpci-eeprom.c b/drivers/media/pci/ttpci/ttpci-eeprom.c index

[PATCH] m68k: Use vsprintf %pM extension

2015-06-14 Thread Joe Perches
Format mac addresses with the normal kernel extension. Signed-off-by: Joe Perches --- arch/m68k/68000/m68EZ328.c | 3 +-- arch/m68k/68000/m68VZ328.c | 3 +-- arch/m68k/68360/config.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/m68k/68000/m68EZ328.c

[PATCH] ARM: orion5x: Use vsprintf %pM extension

2015-06-14 Thread Joe Perches
Format mac addresses with the normal kernel extension. Signed-off-by: Joe Perches --- arch/arm/mach-orion5x/dns323-setup.c | 4 +--- arch/arm/mach-orion5x/tsx09-common.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-orion5x/dns323-setup.c

[PATCH V2 1/1] usb:serial:f81534 Add F81532/534 Driver

2015-06-14 Thread Peter Hung
This driver is for Fintek F81532/F81534 USB to Serial Ports IC. Features: 1. F81534 is 1-to-4 & F81532 is 1-to-2 serial ports IC 2. Support Baudrate from B50 to B150 (excluding B100). 3. The RTS signal can be transformed their behavior with configuration for transceiver (for

Re: [lkp] [jbd2] 562bef4565e: kernel BUG at fs/jbd2/transaction.c:1329!

2015-06-14 Thread Theodore Ts'o
On Mon, Jun 15, 2015 at 09:17:04AM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://internal_merge_and_test_tree > revert-562bef4565ef88e3c7206d5340263c8bb15bd87d-562bef4565ef88e3c7206d5340263c8bb15bd87d > commit 562bef4565ef88e3c7206d5340263c8bb15bd87d ("jbd2: speedup

Re: [PATCH cgroup/for-4.2] MAINTAINERS: add a cgroup core co-maintainer

2015-06-14 Thread Tejun Heo
On Fri, Jun 12, 2015 at 05:15:23PM -0500, Tejun Heo wrote: > Add Johannes Weiner as a co-maintainer of cgroup core. Johannes has > been heavily involved with the design of the v2 interface and is > familiar with design and implementation of cgroup core. > > Signed-off-by: Tejun Heo > Cc: Li

Re: Suspicious RCU usage in linux-next: Bisected to commit 8d52d399

2015-06-14 Thread Martin KaFai Lau
On Sun, Jun 14, 2015 at 06:06:21PM -0500, Larry Finger wrote: > I will be happy to test any suggested patches. Can you also turn off kmemleak and give it a try? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH cgroup/for-4.2] MAINTAINERS: add a cgroup core co-maintainer

2015-06-14 Thread Zefan Li
On 2015/6/13 6:15, Tejun Heo wrote: > Add Johannes Weiner as a co-maintainer of cgroup core. Johannes has > been heavily involved with the design of the v2 interface and is > familiar with design and implementation of cgroup core. > > Signed-off-by: Tejun Heo > Cc: Li Zefan > Cc: Johannes

Re: [RFC 1/3] mm: add tracepoint for scanning pages

2015-06-14 Thread Rik van Riel
On 06/14/2015 11:04 AM, Ebru Akagunduz wrote: > Using static tracepoints, data of functions is recorded. > It is good to automatize debugging without doing a lot > of changes in the source code. > > This patch adds tracepoint for khugepaged_scan_pmd, > collapse_huge_page and

Re: [sched/preempt] BUG: KASan: out of bounds access in trace_graph_entry at addr ffff88000d717e48

2015-06-14 Thread Fengguang Wu
Hi Frederic, On Sun, Jun 14, 2015 at 02:33:32PM +0200, Frederic Weisbecker wrote: > On Sun, Jun 14, 2015 at 04:55:59PM +0800, Fengguang Wu wrote: > > Hi Frederic, > > > > FYI, there are a number more bug messages showing up after this commit > > > >

Re: [PATCH v8 1/5] drivers: pwm: core: Add pwmchip_add_inversed

2015-06-14 Thread Tim Kryger
On Fri, Jun 12, 2015 at 2:45 AM, Thierry Reding wrote: > On Tue, May 26, 2015 at 01:08:16PM -0700, Jonathan Richardson wrote: >> From: Tim Kryger >> >> Add a new function to register a PWM chip with channels that have their >> initial polarity as inversed. This benefits drivers of controllers

Re: [PATCH 02/12] x86/mm/hotplug: Remove pgd_list use from the memory hotplug code

2015-06-14 Thread Paul E. McKenney
On Sun, Jun 14, 2015 at 09:38:25PM +0200, Oleg Nesterov wrote: > On 06/14, Oleg Nesterov wrote: > > > > On 06/14, Ingo Molnar wrote: > > > > > > * Oleg Nesterov wrote: > > > > > > > > + spin_lock(_lock); /* Implies rcu_read_lock() for > > > > > the task list iteration: */ > > > >

Re: [PATCH] module: add per-module param_lock

2015-06-14 Thread Rusty Russell
Dan Streetman writes: > You suggested giving direct access to the mutex, but this patch just > provides lock/unlock functions to the appropriate mutex, which seemed > cleaner and clearer to me, but if you prefer the direct mutex access > I can update the patch for that. Happy with your judgement

Re: [PATCH] kernel/params.c: make use of unused but set variable

2015-06-14 Thread Rusty Russell
Tejun Heo writes: > On Fri, Jun 12, 2015 at 10:57:24AM +0930, Rusty Russell wrote: >> Linus Torvalds writes: >> > On Sun, Jun 7, 2015 at 5:00 PM, Tejun Heo wrote: >> > At most, it could be a "WARN_ON_ONCE()". Maybe even just silently >> > ignore the error. But BUG_ON()? Hell no. >> >> Yeah, in

Re: [RFC PATCH 00/12] mm: mirrored memory support for page buddy allocations

2015-06-14 Thread Naoya Horiguchi
On Fri, Jun 12, 2015 at 12:03:35PM -0700, Luck, Tony wrote: > On Fri, Jun 12, 2015 at 08:42:33AM +, Naoya Horiguchi wrote: > > 4?) I don't have the whole picture of how address ranging mirroring works, > > but I'm curious about what happens when an uncorrected memory error happens > > on the a

Re: Suspicious RCU usage in linux-next: Bisected to commit 8d52d399

2015-06-14 Thread Martin KaFai Lau
On Sun, Jun 14, 2015 at 06:06:21PM -0500, Larry Finger wrote: > When booting kernels from Linux-next, the following is output: > > [2.816564] === > [2.816986] [ INFO: suspicious RCU usage. ] > [2.817402] 4.1.0-rc7-next-20150612 #1 Not tainted > [

[PATCH] ARM: dts: vf610: Extend I2C support to all available buses.

2015-06-14 Thread Cory Tusar
This commit extends the existing Vybrid I2C support to cover buses i2c1, i2c2, and i2c3. Based in (very) large part on an initial patch by Stefan Agner that was just lacking a couple of DMA assignments. Signed-off-by: Cory Tusar --- arch/arm/boot/dts/vfxxx.dtsi | 41

Re: [PATCH kernel] powerpc/powernv/ioda2: Add devices only from buses which belong to PE

2015-06-14 Thread Gavin Shan
On Fri, Jun 12, 2015 at 08:06:43AM -0700, Nishanth Aravamudan wrote: >On 12.06.2015 [16:47:03 +1000], Gavin Shan wrote: >> On Fri, Jun 12, 2015 at 04:19:17PM +1000, Alexey Kardashevskiy wrote: >> >The existing code puts all devices from a root PE to the same IOMMU group. >> >However it is a

Re: [PATCHv6 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Krzysztof Kozlowski
On 14.06.2015 19:24, Anand Moon wrote: > This changes enables TMU IP block on the Exynos5422 Odroid-XU3 > device. > > Signed-off-by: Anand Moon > Tested-by: Markus Reichl This does not look right. You put this "Tested-by" since beginning of this patchset (v1) but first it was LDO10. Then you

Re: [PATCHv6 4/4] ARM: dts: exynos5422-odroidxu3: Enable thermal-zones

2015-06-14 Thread Krzysztof Kozlowski
On 14.06.2015 19:24, Anand Moon wrote: > Include exynos5422-cpu-thermal.dtsi to enable thermal_zone support. > > Signed-off-by: Anand Moon > Tested-by: Markus Reichl > Acked-by: Lukasz Majewski > --- > arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + > 1 file changed, 1 insertion(+)

Re: [PATCHv6 2/4] ARM: dts: exynos5422-odroidxu3: Enable TMU at Exynos5422 base

2015-06-14 Thread Krzysztof Kozlowski
On 14.06.2015 19:24, Anand Moon wrote: > This changes enables TMU IP block on the Exynos5422 Odroid-XU3 > device. > > Signed-off-by: Anand Moon > Tested-by: Markus Reichl > Acked-by: Lukasz Majewski > --- > Changes rebase on > git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung

Re: lockup when C1E and high-resolution timers enabled

2015-06-14 Thread Christoph Fritz
On Sun, 2015-06-14 at 23:24 +0800, Daniel J Blueman wrote: > val=0x$(setpci -s 00:18.3 0xd4.l) # read D18F3xD4 > val=$((val &~(1 << 13))) # clear bit13 (MTC1eEn) > setpci -d 1022:1603 0xd4.l=$(printf %x $val) # write back This slows down the whole system dramatically: - before: MTC1eEn set:

Suspicious RCU usage in linux-next: Bisected to commit 8d52d399

2015-06-14 Thread Larry Finger
When booting kernels from Linux-next, the following is output: [2.816564] === [2.816986] [ INFO: suspicious RCU usage. ] [2.817402] 4.1.0-rc7-next-20150612 #1 Not tainted [2.817881] --- [2.818297]

Re: lockup when C1E and high-resolution timers enabled

2015-06-14 Thread Christoph Fritz
> > already using latest microcode: > > > > [0.514490] microcode: CPU0: patch_level=0x06000822 > > [0.514497] microcode: CPU1: patch_level=0x06000822 > > [0.514508] microcode: CPU2: patch_level=0x06000822 > > [0.514519] microcode: CPU3: patch_level=0x06000822 > > [0.514529]

[PATCH 09/16] staging: rtl8192e: Remove rtllib_wx_get_encode_ext()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h| 3 -- drivers/staging/rtl8192e/rtllib_wx.c | 57 2 files changed, 60 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 08/16] staging: rtl8192e: Remove rtllib_is_shortslot()

2015-06-14 Thread Mateusz Kulikowski
This function was declared but never unused. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 5 - 2 files changed, 6 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 11/16] staging: rtl8192e: Remove WIRELESS_EXT checks

2015-06-14 Thread Mateusz Kulikowski
Current WIRELESS_EXT version is at least 22. Resolve ifdefs and delete dead code. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h | 12 1 file changed, 12 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index

[PATCH 14/16] staging: rtl8192e: Remove unused rtllib_device members

2015-06-14 Thread Mateusz Kulikowski
Delete several members of rtllib_device including their initializers if needed. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 -- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 1 - drivers/staging/rtl8192e/rtllib.h| 12

[PATCH 13/16] staging: rtl8192e: Remove rt_pwr_save_ctrl members

2015-06-14 Thread Mateusz Kulikowski
Following members were removed: - tmpJoinAction - tmpSuppRateBuf - bTmpIbpm As a consequence several unused defines/enums/structs were also removed from rtllib.h Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h | 36 1 file changed,

[PATCH 10/16] staging: rtl8192e: Remove rtllib_device::get_nic_desc_num()

2015-06-14 Thread Mateusz Kulikowski
This function/callback was initialized and never called. rtl8192_get_nic_desc_num() function that was default implementation was also removed. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 17 - drivers/staging/rtl8192e/rtllib.h

[PATCH 12/16] staging: rtl8192e: Remove rtllib_network::last_associate

2015-06-14 Thread Mateusz Kulikowski
Variable was initialized and never used. Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h| 1 - drivers/staging/rtl8192e/rtllib_rx.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index

[PATCH 15/16] staging: rtl8192e: Remove softmac_hint11d_wq queue

2015-06-14 Thread Mateusz Kulikowski
This queue is never used, and function handler is empty Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_softmac.c | 6 -- 2 files changed, 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH 16/16] staging: rtl8192e: Remove rtllib_device::agregation

2015-06-14 Thread Mateusz Kulikowski
Variable is always true; Resolve condition where it is used (and change indentation of conditional expression). Signed-off-by: Mateusz Kulikowski --- drivers/staging/rtl8192e/rtllib.h | 1 - drivers/staging/rtl8192e/rtllib_rx.c | 52 ++-

  1   2   3   4   5   6   >