[PATCH v2 2/2] iio: ina2xx: Remove trace_printk debug statments

2016-02-24 Thread Andrew F. Davis
These are generally for devlopment use only, remove these from performance-critical code, convert to dev_dbg elswhere. Signed-off-by: Andrew F. Davis --- drivers/iio/adc/ina2xx-adc.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/drivers/iio/adc/ina2xx

Re: [PATCH v13] x86, mce: Add memcpy_trap()

2016-02-24 Thread Tony Luck
On Fri, Feb 19, 2016 at 9:53 AM, Luck, Tony wrote: > Make use of the EXTABLE_FAULT exception table entries. This routine > returns a structure to indicate the result of the copy: > > struct mcsafe_ret { > u64 trap_nr; > u64 bytes_left; > }; > > If the copy is successful, then both

[PATCH] drivers: staging: rtl8192e: rtllib_rx.c: Fix blank lines before a close brace

2016-02-24 Thread Tapan Prakash T
Fixed checkpatch.pl issue 'Blank lines aren't necessary before a close brace' Signed-off-by: Tapan Prakash T --- drivers/staging/rtl8192e/rtllib_rx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c index af64bd3..e

[PATCH] pinctrl: lpc18xx: ensure ngroups is initialized at correct place

2016-02-24 Thread Colin King
From: Colin Ian King The initialization of ngroups is occurring at the end of the first iteration of the outer loop, which means that the assignment pins[ngroups++] = i is potentially indexing into a region outside of array pins because ngroups is not initialized. Instead, initialize ngroups in

Re: [PATCH] i2c: bcm2835: Don't complain on -EPROBE_DEFER from getting our clock

2016-02-24 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 19. Februar 2016 um 02:12 geschrieben: > > > Fixes dmesg spam when we just need to wait a moment for the clock > driver to probe. > > Signed-off-by: Eric Anholt > --- > drivers/i2c/busses/i2c-bcm2835.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > dif

Re: [PATCH 08/50] pinctrl: berlin: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Antoine Ténart
Hello, On Wed, Feb 24, 2016 at 06:45:33PM +0530, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan Acked-by: Antoine Tenart Thanks! Antoine > Cc: Antoine Ténart > --- > drivers/pinctrl/berlin/berlin.c | 3 ++- > 1 file ch

Re: [PATCH] include/linux: Fix misspellings in comments.

2016-02-24 Thread Randy Dunlap
On 02/23/16 17:44, Adam Buchbinder wrote: > Signed-off-by: Adam Buchbinder Acked-by: Randy Dunlap Thanks. > --- > include/linux/amba/mmci.h| 2 +- > include/linux/bio.h | 2 +- > include/linux/bpf.h | 2 +- > include/lin

Re: [PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey

2016-02-24 Thread David Howells
Tadeusz Struk wrote: > I have converted the software_pkey to make use of the pkcs1pad > template. The rsa.c is reverted back to what it was i.e. just > math primitives and all padding is done in rsa-pkcs1padd.c > software_pkey.c just allocates pksc1padd(alg,hash) Okay, thanks - I'll take a look

Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-02-24 Thread Laxman Dewangan
On Wednesday 24 February 2016 10:52 PM, Stefan Wahren wrote: Hi Laxman, Laxman Dewangan hat am 24. Februar 2016 um 14:15 geschrieben: Add resource manageemnt APIs fro pinctrl_register() and pinctrl_unregister() and use these new APIs on hw driver to reduce the error path code and remove cal

Re: [Xen-devel] [PATCH v2] xen/x86: Zero out .bss for PV guests

2016-02-24 Thread Andrew Cooper
On 24/02/16 15:19, Boris Ostrovsky wrote: > Baremetal kernels clear .bss early in the boot but Xen PV guests don't > execute that code. They have been able to run without problems because > Xen domain builder happens to give out zeroed pages. However, since this > is not really guaranteed, .bss sho

[PATCH] rtc: mt6397: Remove plaform module alias

2016-02-24 Thread Javier Martinez Canillas
The driver uses the MODULE_ALIAS() macro to export a platform module alias to allow the module to be autoloaded if the device is registered using the legacy platform registration mechanism but the driver is always used by OF only machines so the alias is not needed and should just be removed. Sugg

Re: [PATCH v2 3/8] ACPI: add definitions of DBG2 subtypes

2016-02-24 Thread Aleksey Makarov
On 02/24/2016 08:17 PM, Moore, Robert wrote: > I've got these for the next release of ACPICA It have not been pulled to linux-next but is required for the patchset. So I included it here. > > >> -Original Message- >> From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org] >> Sent: W

Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-02-24 Thread Stefan Wahren
Hi Laxman, > Laxman Dewangan hat am 24. Februar 2016 um 14:15 > geschrieben: > > > Add resource manageemnt APIs fro pinctrl_register() and pinctrl_unregister() > and use these new APIs on hw driver to reduce the error path code and > remove callback for driver. > just for interest: why didn't yo

Re: [PATCH] Staging: rdma: hfi1: verbs_mcast: fixed a brace coding style issue

2016-02-24 Thread Dennis Dalessandro
On Sun, Feb 21, 2016 at 04:30:39PM +0100, Jannik Becher wrote: Fixed a coding style issue. Signed-off-by: Jannik Becher --- drivers/staging/rdma/hfi1/verbs_mcast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rdma/hfi1/verbs_mcast.c b/drivers/staging

Re: [BUG] random kernel crashes after THP rework on s390 (maybe also on PowerPC and ARM)

2016-02-24 Thread Aneesh Kumar K.V
Christian Borntraeger writes: > On 02/24/2016 11:41 AM, Will Deacon wrote: >> On Wed, Feb 24, 2016 at 11:16:34AM +0100, Christian Borntraeger wrote: >>> On 02/23/2016 09:22 PM, Will Deacon wrote: On Tue, Feb 23, 2016 at 10:33:45PM +0300, Kirill A. Shutemov wrote: > On Tue, Feb 23, 2016 a

Re: [Xen-devel] [PATCH 1/2] hvc_xen: add earlycon support

2016-02-24 Thread Andrew Cooper
On 24/02/16 17:18, Konrad Rzeszutek Wilk wrote: >> I could do the same here by dropping the if (!xen_pv_domain()) check >> above, but then if somebody specifies earlyprintk=xenboot on a non-Xen >> environment, I expect Linux would crash. > Nah, you made it "Work" with: > commit eb5ef07151ba3c3cb4bc

Re: [PATCHv2] lkdtm: Add READ_AFTER_FREE test

2016-02-24 Thread Kees Cook
I did 3 defconfig builds as a benchmark, just to get ballpark numbers... On Tue, Feb 23, 2016 at 1:25 PM, Kees Cook wrote: > Okay, it looks like the combinations to test are: > > default: > DEBUG_PAGEALLOC=n > PAGE_POISONING=n Run times: 412.57 414.19 417.27 Mean: 414.68 Std Dev: 1.95 READ_AFTE

RE: [PATCH v2 3/8] ACPI: add definitions of DBG2 subtypes

2016-02-24 Thread Moore, Robert
I've got these for the next release of ACPICA > -Original Message- > From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org] > Sent: Wednesday, February 24, 2016 9:10 AM > To: linux-a...@vger.kernel.org > Cc: linux-ser...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker..

Re: [PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-02-24 Thread Mathieu Desnoyers
- On Feb 24, 2016, at 6:11 AM, Thomas Gleixner t...@linutronix.de wrote: > On Tue, 23 Feb 2016, Mathieu Desnoyers wrote: >> +/* >> + * If parent process has a thread-local ABI, the child inherits. Only >> applies >> + * when forking a process, not a thread. >> + */ >> +void getcpu_cache_fork(

[PATCH] drivers: staging: rtl8192e: rtllib_rx.c: Fix code indent for conditional statement

2016-02-24 Thread Tapan Prakash T
Fixed checkpatch.pl warning 'suspect code indent for conditional statements' Signed-off-by: Tapan Prakash T --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192e/rtllib_rx.c b/drivers/staging/rtl8192e/rtllib_rx.c in

[PATCH 2/2] crypto: remove padding logic from rsa.c

2016-02-24 Thread Tadeusz Struk
This reverts back the rsa.c to do the math primitives only. It also reverts the akcipher api changes as the hash param will be passed to the rsa-pkcs1 template. All padding and encoding logic is moved to the rsa-pkcs1pad. The software_pkey.c uses pkcs1pad template to allocate the akcipher and the h

[PATCH 1/2] crypto: Add hash param to pkcs1pad

2016-02-24 Thread Tadeusz Struk
This adds hash param to pkcs1pad. The pkcs1pad template can work with or without the hash. When hash param is provided then the verify operation will also verify the output against the known digest. Signed-off-by: Tadeusz Struk --- crypto/rsa-pkcs1pad.c | 182 +++

[PATCH 0/2] KEYS: Use pkcs1pad for padding in software_pkey

2016-02-24 Thread Tadeusz Struk
Hi David, I have converted the software_pkey to make use of the pkcs1pad template. The rsa.c is reverted back to what it was i.e. just math primitives and all padding is done in rsa-pkcs1padd.c software_pkey.c just allocates pksc1padd(alg,hash) This is incremental series on top of the current http

Re: [PATCH] dmaengine: pl330: fix to support the brust mode

2016-02-24 Thread Dinh Nguyen
Just a small nit: On 02/23/2016 09:52 PM, Caesar Wang wrote: > This patch fixes the brust mode that will break DMA uart on SoCFPGA. > > In some cases, some SoCS didn't support the multi-brust > even if the devices who use the pl330 claim support the maxbrust. > s/brust/burst s/maxbrust/maxburst

Re: [PATCH] dmaengine: pl330: fix to support the brust mode

2016-02-24 Thread Dinh Nguyen
Just a small nit: On 02/23/2016 09:52 PM, Caesar Wang wrote: > This patch fixes the brust mode that will break DMA uart on SoCFPGA. > > In some cases, some SoCS didn't support the multi-brust > even if the devices who use the pl330 claim support the maxbrust. > s/brust/burst s/maxbrust/burst >

[PATCH v2 3/8] ACPI: add definitions of DBG2 subtypes

2016-02-24 Thread Aleksey Makarov
The recent version of Microsoft Debug Port Table 2 (DBG2) [1] specifies additional serial debug port subtypes. These constants are also referred by Serial Port Console Redirection Table (SPCR) [2] Add these constants. [1] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.8

[PATCH v2 1/8] arm64: move acpi/dt decision earlier in boot process

2016-02-24 Thread Aleksey Makarov
From: Leif Lindholm In order to support selecting earlycon via either ACPI or DT, move the decision on whether to attempt ACPI configuration into the early_param handling. Then make acpi_boot_table_init() bail out if acpi_disabled. Signed-off-by: Leif Lindholm Signed-off-by: Aleksey Makarov --

Re: [PATCH 00/13] arm-cci: PMU driver updates for 4.6

2016-02-24 Thread Will Deacon
On Wed, Feb 24, 2016 at 08:58:14AM -0800, Olof Johansson wrote: > On Tue, Feb 23, 2016 at 01:55:51PM +, Suzuki K. Poulose wrote: > > On 23/02/16 11:40, Will Deacon wrote: > > >On Tue, Feb 23, 2016 at 10:49:42AM +, Suzuki K Poulose wrote: > > >>Here are some fixes and updates for arm-cci pmu

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Nicolas Ferre
Le 24/02/2016 17:44, Romain Izard a écrit : > 2016-02-24 17:20 GMT+01:00 Sylvain Rochet : >> Hi, >> >> On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >>> Register the counter of the Periodic Interval Timer as a possible >>> source for sched_clock. Keep the timer running even if the r

[PATCH v2 5/8] ACPI: parse DBG2 table

2016-02-24 Thread Aleksey Makarov
'ARM Server Base Boot Requiremets' [1] mentions DBG2 (Microsoft Debug Port Table 2) [2] as a mandatory ACPI table that specifies debug ports. - Implement macros ACPI_DBG2_DECLARE(name, type, subtype, setup_fn, data_ptr) that defines a handler for the port of given type and subtype. -

Re: [PATCH 2/5] ARM: bcm2835: Replace alt0/i2s_alt[02] with standard groups.

2016-02-24 Thread Stephen Warren
On 02/23/2016 03:21 PM, Eric Anholt wrote: Since all of these pins were documented, we can use their names to explain what's going on. I only received patch 2/5, and e.g. the spinics.net email archive seems to be in the same boat.

[PATCH v2 7/8] ACPI: enable ACPI_DBG2_TABLE on ARM64

2016-02-24 Thread Aleksey Makarov
SBBR mentions DBG2 as a mandatory ACPI table. So enable it for ARM64 Signed-off-by: Aleksey Makarov --- arch/arm64/Kconfig | 1 + arch/arm64/kernel/acpi.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 2ee5731..4ad33f8 100644 --- a/arch

[PATCH v2 6/8] ACPI: serial: implement earlycon on ACPI DBG2 port

2016-02-24 Thread Aleksey Makarov
Add ACPI_DBG2_EARLYCON_DECLARE() macros that declares an earlycon on the serial port specified in the DBG2 ACPI table. Pass the string "earlycon=acpi_dbg2" to the kernel to activate it. Callbacks for EARLYCON_DECLARE() and OF_EARLYCON_DECLARE() can also be used for this macros. Signed-off-by: Al

[PATCH v2 2/8] of/serial: move earlycon early_param handling to serial

2016-02-24 Thread Aleksey Makarov
From: Leif Lindholm We have multiple "earlycon" early_param handlers - merge the DT one into the main earlycon one. This means the earlycon early_param handler does not just return success if no options are specified. Signed-off-by: Leif Lindholm Signed-off-by: Aleksey Makarov --- drivers/of/

[PATCH v2 4/8] ACPI: genaralize iterating over subtables in ACPI_PROBE_TABLE()

2016-02-24 Thread Aleksey Makarov
Refactor ACPI_PROBE_TABLE() so that it is possible to iterate over subtables that do not have acpi_subtype header (for example over subtables of DBG2 table) To do so: - Add void * data pointer argument for callback. It will allow to parse the table and iterate over subtables calling the subtab

[PATCH v2 8/8] serial: pl011: add ACPI DBG2 serial port

2016-02-24 Thread Aleksey Makarov
Add a handler for ACPI DBG2 serial port of type ACPI_DBG2_ARM_PL011 that sets up an earlycon on it. Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 50

[PATCH v2 0/8] ACPI: parse the DBG2 table

2016-02-24 Thread Aleksey Makarov
nsole for pl011 serial Based on the original work by Leif Lindholm [4] Should be applied to next-20160224. Tested on last QEMU with patches that introduce DBG2 and fix a QEMU bug: https://git.linaro.org/people/aleksey.makarov/qemu.git amakarov/gdb2.03 v2: - Fix parse_acpi() (Matthias Brugger) -

[PATCH RFC] ext4: use __GFP_NOFAIL in ext4_free_blocks()

2016-02-24 Thread Konstantin Khlebnikov
This might be unexpected but pages allocated for sbi->s_buddy_cache are charged to current memory cgroup. So, GFP_NOFS allocation could fail if current task has been killed by OOM or if current memory cgroup has no free memory left. Block allocator cannot handle such failures here yet. Signed-off-

Re: [PATCH] mmc: sdhci-tegra: Set DMA mask

2016-02-24 Thread Stephen Warren
On 02/24/2016 02:11 AM, Alexandre Courbot wrote: On T210, the sdhci controller can address more than 32 bits of address space. Failing to express this fact results in the use of bounce buffers and affects performance. Signed-off-by: Alexandre Courbot --- I am pretty sure this one is wrong in so

Re: [PATCH 2/2] HSI: omap-ssi: add clk change support

2016-02-24 Thread Sebastian Reichel
Hi, On Wed, Feb 24, 2016 at 04:19:09PM +0100, Arnd Bergmann wrote: > On Tuesday 23 February 2016 03:34:43 Sebastian Reichel wrote: > > > > On Sun, Jan 31, 2016 at 01:52:38AM +0100, Sebastian Reichel wrote: > > > This adds support for frequency changes of the SSI > > > functional clock, which may

Re: [PATCH 1/1] intel_pstate: Increase hold-off time before busyness is scaled

2016-02-24 Thread Stephane Gasparini
Hi Doug > On Feb 19, 2016, at 5:38 PM, Doug Smythies wrote: > > Hi Steph, > > On 2016.02.19 03:12 Stephane Gasparini wrote: >> >> The issue you are reporting looks like one we improved on android by using >> the average pstate instead of using the last requested pstate >> >> We know that th

RE: [PATCH 12/15] ACPICA: ACPI 6.1: Add full support for this version of ACPI spec

2016-02-24 Thread Moore, Robert
Yes, looks like we missed the revision update for the generic update. We will update the actbl1.h file Thanks, Bob > -Original Message- > From: Abdulhamid, Harb [mailto:ha...@codeaurora.org] > Sent: Saturday, February 20, 2016 1:41 PM > To: Zheng, Lv; Wysocki, Rafael J; Rafael J. Wysock

Re: [PATCH] rtc: mt6397: Add platform device ID table

2016-02-24 Thread Javier Martinez Canillas
Hello Arnd, On 02/24/2016 01:56 PM, Arnd Bergmann wrote: On Tuesday 16 February 2016 21:19:07 Eddie Huang wrote: On Tue, 2016-02-16 at 12:37 +0100, Arnd Bergmann wrote: On Monday 15 February 2016 11:50:48 Javier Martinez Canillas wrote: On 02/14/2016 10:58 PM, Eddie Huang wrote: [snip] @@

Re: dm: drop unnecessary assignment of md->queue

2016-02-24 Thread Mike Snitzer
On Wed, Feb 24 2016 at 3:15am -0500, Bob Liu wrote: > md->queue and q are the same thing in dm_init_request_based_queue() and > dm_init_request_based_blk_mq_queue(). > > Also drop the temporary struct request_queue *q. Yeah, I carried the extra assignment just as a form of documentation but yo

Re: [PATCH 00/13] arm-cci: PMU driver updates for 4.6

2016-02-24 Thread Olof Johansson
On Tue, Feb 23, 2016 at 01:55:51PM +, Suzuki K. Poulose wrote: > On 23/02/16 11:40, Will Deacon wrote: > >On Tue, Feb 23, 2016 at 10:49:42AM +, Suzuki K Poulose wrote: > >>Here are some fixes and updates for arm-cci pmu driver targeting v4.6, > >>applies on top of v4.5-rc5. > >> > >>Highlig

Re: [PATCH] dts: add specific compatible type for Terasic DE0-NANO-SoC Board

2016-02-24 Thread Dinh Nguyen
Hi Tim, On Fri, 12 Feb 2016, Tim Sander wrote: > From: Tim Sander > > Add a more specific compatible string:"terasic,de0-nano-soc" for respective > board. > Background: when checking for bootspec entries, some board specific fixups > are not apropriate for board of the

Re: [PATCH] rtc: mt6397: Add platform device ID table

2016-02-24 Thread Arnd Bergmann
On Tuesday 16 February 2016 21:19:07 Eddie Huang wrote: > On Tue, 2016-02-16 at 12:37 +0100, Arnd Bergmann wrote: > > On Monday 15 February 2016 11:50:48 Javier Martinez Canillas wrote: > > > > > > On 02/14/2016 10:58 PM, Eddie Huang wrote: > > > > > > [snip] > > > > > > >> @@ -412,6 +418,7 @@ s

Re: [PATCH] x86/entry/32: Add an ASM_CLAC to entry_SYSENTER_32

2016-02-24 Thread Andy Lutomirski
On Wed, Feb 24, 2016 at 7:46 AM, Brian Gerst wrote: > On Tue, Feb 23, 2016 at 4:19 PM, Andy Lutomirski wrote: >> Both before and after 5f310f739b4c ("x86/entry/32: Re-implement >> SYSENTER using the new C path"), we relied on a uaccess very early >> in the SYSENTER path to clear AC. After that c

Re: [PATCH] ASoC: trace: fix printing jack name

2016-02-24 Thread Steven Rostedt
On Wed, 24 Feb 2016 17:38:14 +0100 Arnd Bergmann wrote: > After a change to the snd_jack structure, the 'name' member > is no longer available in all configurations, which results in a > build failure in the tracing code: > > include/trace/events/asoc.h: In function > 'trace_event_raw_event_snd

Re: [PATCHv6 1/3] rdmacg: Added rdma cgroup controller

2016-02-24 Thread Haggai Eran
Hi, Overall I the patch looks good to me. I have a few comments below. On 20/02/2016 13:00, Parav Pandit wrote: > Resource pool is created/destroyed dynamically whenever > charging/uncharging occurs respectively and whenever user > configuration is done. Its a tradeoff of memory vs little more co

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-24 Thread Andy Lutomirski
On Wed, Feb 24, 2016 at 8:41 AM, Borislav Petkov wrote: > On Wed, Feb 24, 2016 at 05:20:02PM +0100, Borislav Petkov wrote: >> That's mixed mode. I think you mean the FLUSH_TLB_ALL in efi_call. >> That's EFI on 64-bit but that is mandated by the spec, AFAIR. > > Ok, so mfleming set me straight on I

Re: [Xen-devel] [PATCH] xen/x86: Zero out .bss for PV guests

2016-02-24 Thread Boris Ostrovsky
On 02/24/2016 11:22 AM, Luis R. Rodriguez wrote: On Wed, Feb 24, 2016 at 6:58 AM, David Vrabel wrote: Yes. Can you respin with a commit message explaining? (Or just provide the message here and I'll fix it up). Is there no way to re-use somehow the clear_bss() from bare metal? xen_start_in

[PATCH v17 0/9] Compile-time stack metadata validation

2016-02-24 Thread Josh Poimboeuf
This is v17 of the compile-time stack metadata validation patch set. It's based on tip:x86/debug. However, note that when run against that branch it will give a lot of warnings: objtool: arch/x86/ia32/sys_ia32.o: __ex_table size not a multiple of 12 objtool: arch/x86/ia32/ia32_signal.o: __ex

Re: [BUG] random kernel crashes after THP rework on s390 (maybe also on PowerPC and ARM)

2016-02-24 Thread Gerald Schaefer
On Tue, 23 Feb 2016 22:33:45 +0300 "Kirill A. Shutemov" wrote: > On Tue, Feb 23, 2016 at 07:19:07PM +0100, Gerald Schaefer wrote: > > I'll check with Martin, maybe it is actually trivial, then we can > > do a quick test it to rule that one out. > > Oh. I found a bug in __split_huge_pmd_locked().

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Romain Izard
2016-02-24 17:20 GMT+01:00 Sylvain Rochet : > Hi, > > On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: >> Register the counter of the Periodic Interval Timer as a possible >> source for sched_clock. Keep the timer running even if the related >> clockevent is disabled. >> >> This provid

Re: [PATCH 29/50] pinctrl: tegra: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Stephen Warren
On 02/24/2016 06:15 AM, Laxman Dewangan wrote: Use devm_pinctrl_register() for pin control registration and remove need of .remove callback. Acked-by: Stephen Warren Any chance you could send a patch to soc-to-kernel-pinctrl-driver.py in git://github.com/NVIDIA/tegra-pinmux-scripts.git for t

Re: [PATCH 30/50] pinctrl: tegra-xusb: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Stephen Warren
On 02/24/2016 06:15 AM, Laxman Dewangan wrote: Use devm_pinctrl_register() for pin control registration and clean the error path. Acked-by: Stephen Warren

perf rapl/powercap : powercap has more lenient permissions

2016-02-24 Thread Vince Weaver
Hello so perf_event requires paranoid value of 0 to read the RAPL counters perf stat -a -e power/energy-cores/ /bin/ls Error: You may not have permission to collect system-wide stats. But I can use the new powercap driver to read the same values no problem: cat /sys/devices/vir

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-24 Thread Borislav Petkov
On Wed, Feb 24, 2016 at 05:20:02PM +0100, Borislav Petkov wrote: > That's mixed mode. I think you mean the FLUSH_TLB_ALL in efi_call. > That's EFI on 64-bit but that is mandated by the spec, AFAIR. Ok, so mfleming set me straight on IRC - that's tip/master I should be staring at. In any case, I t

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Sylvain Rochet
Hi, On Wed, Feb 24, 2016 at 05:04:42PM +0100, Romain Izard wrote: > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based default.

Re: [PATCH v3 01/11] x86/boot: enumerate documentation for the x86 hardware_subarch

2016-02-24 Thread Andy Lutomirski
On Feb 24, 2016 12:33 AM, "Ingo Molnar" wrote: > > For hard coded platform quirks I'd suggest we add x86_platform.quirks flags. > For > example the F00F hack for Xen could be done via: > > x86_platform.quirks.idt_remap = 0; > Don't we unconditionally remap the IDT? I think Kees did it f

Re: [PATCH] sound: hdmi: avoid dereferencing uninitialized 'jack' pointer

2016-02-24 Thread Arnd Bergmann
On Wednesday 24 February 2016 17:25:42 Takashi Iwai wrote: > > Thanks for catching this. Yes, your fix is correct. This must have > been a wrong pick up when converting from the standalone hda jack to > unified jack stuff. > > Could you send a proper patch for inclusion? Ok, done. Arn

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-24 Thread Andy Lutomirski
On Wed, Feb 24, 2016 at 6:10 AM, Matt Fleming wrote: > On Tue, 23 Feb, at 06:43:04PM, Andy Lutomirski wrote: >> On Tue, Feb 23, 2016 at 4:50 PM, Sai Praneeth Prakhya >> wrote: >> > >> > As you rightly said the code is about making a page GLOBAL if PRESENT is >> > set and we do set PRESENT bit bef

Re: [REGRESSION] i915: No HDMI output with 4.4

2016-02-24 Thread Oleksandr Natalenko
24.02.2016 06:40, Jindal, Sonika написав: Do you have logs for the failure with the single link hdmi cable and the register dump which you have given for the working case? If not, can you please capture the logs and register dump. Also which platform is this? If it is live status related issue, w

[PATCH v17 6/9] x86/xen: Add xen_cpuid() to objtool whitelist

2016-02-24 Thread Josh Poimboeuf
'objtool check' reports the following false positive warning: objtool: arch/x86/xen/enlighten.o: xen_cpuid()+0x41: can't find jump dest instruction at .text+0x108 The warning is due to xen_cpuid()'s use of XEN_EMULATE_PREFIX to insert some fake instructions which objtool doesn't know how to de

[PATCH v17 4/9] x86/objtool: Add STACK_FRAME_NON_STANDARD macro

2016-02-24 Thread Josh Poimboeuf
Add a new objtool ignore macro, STACK_FRAME_NON_STANDARD, which can be used to tell objtool to skip validation of a function. Signed-off-by: Josh Poimboeuf --- MAINTAINERS | 1 + arch/x86/kernel/vmlinux.lds.S | 5 - include/linux/objtool.h | 22 +

[PATCH v17 3/9] x86/objtool: Enable objtool on x86_64

2016-02-24 Thread Josh Poimboeuf
Set HAVE_STACK_VALIDATION to enable stack metadata validation for x86_64. Also, disable objtool checking for the kexec purgatory code, because: 1. It's built by the archprepare target, which can run before objtool has been built yet. 2. It runs outside the scope of the kernel's normal mode of

[PATCH] ASoC: trace: fix printing jack name

2016-02-24 Thread Arnd Bergmann
After a change to the snd_jack structure, the 'name' member is no longer available in all configurations, which results in a build failure in the tracing code: include/trace/events/asoc.h: In function 'trace_event_raw_event_snd_soc_jack_report': include/trace/events/asoc.h:240:32: error: 'struct

[PATCH v17 7/9] bpf: Add __bpf_prog_run() to objtool whitelist

2016-02-24 Thread Josh Poimboeuf
objtool reports the following false positive warnings: objtool: kernel/bpf/core.o: __bpf_prog_run()+0x5c: sibling call from callable instruction with changed frame pointer objtool: kernel/bpf/core.o: __bpf_prog_run()+0x60: function has unreachable instruction objtool: kernel/bpf/core.o: __

[PATCH] CREDITS: Remove my outdated address information.

2016-02-24 Thread Gertjan van Wingerde
From: Gertjan van Wingerde This address hasn't been accurate for several years now. Simply remove it. Signed-off-by: Gertjan van Wingerde --- CREDITS | 2 -- 1 file changed, 2 deletions(-) diff --git a/CREDITS b/CREDITS index a3887b5..899950f8 100644 --- a/CREDITS +++ b/CREDITS @@ -3924,8 +39

[PATCH v17 2/9] x86/objtool: Add CONFIG_STACK_VALIDATION option

2016-02-24 Thread Josh Poimboeuf
Add a CONFIG_STACK_VALIDATION option which will run "objtool check" for each .o file to ensure the validity of its stack metadata. Signed-off-by: Josh Poimboeuf --- Makefile | 5 - arch/Kconfig | 6 ++ lib/Kconfig.debug | 12 scripts/Makefile.b

[PATCH v17 8/9] sched: Add __schedule() to objtool whitelist

2016-02-24 Thread Josh Poimboeuf
objtool reports the following warnings for __schedule(): objtool: kernel/sched/core.o: __schedule()+0x3c0: duplicate frame pointer save objtool: kernel/sched/core.o: __schedule()+0x3fd: sibling call from callable instruction with changed frame pointer objtool: kernel/sched/core.o: __schedul

[PATCH v17 5/9] x86/objtool: Add directory and file whitelists

2016-02-24 Thread Josh Poimboeuf
Tell objtool to skip validation of the following code which runs outside the kernel's normal mode of operation: - boot image - vdso image - relocation - realmode - efi - head Also, skip the following code which does the right thing with respect to frame pointers, but is too "special" to be valida

[PATCH v17 9/9] x86/kprobes: Add kretprobe_trampoline() to objtool whitelist

2016-02-24 Thread Josh Poimboeuf
objtool reports the following warning for kretprobe_trampoline(): objtool: arch/x86/kernel/kprobes/core.o: kretprobe_trampoline()+0x20: call without frame pointer save/setup kretprobes are a special case where the stack is intentionally wrong. The return address isn't known at the beginning of

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-24 Thread Andy Lutomirski
On Wed, Feb 24, 2016 at 8:20 AM, Borislav Petkov wrote: > On Wed, Feb 24, 2016 at 02:10:46PM +, Matt Fleming wrote: >> > Normally, the only pages with are _PAGE_GLOBAL are those that are in >> > the normal kernel mappings (swapper_pg_dir and normal mm_struct pgds). >> > By allowing _PAGE_GLOBA

RE: PROBLEM: lk 4.5 oops on boot with Xeon D-1520

2016-02-24 Thread Liang, Kan
> > Thanks, that fixes it. > > Note: your patch appears to be against linux-next. I had to change > "arch/x86/events/intel/uncore_snbep.c" to > "arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c" for the patch to > apply against current linux-git. Thanks for the verification. I think the per

Re: [PATCH v2] xen/x86: Zero out .bss for PV guests

2016-02-24 Thread Boris Ostrovsky
On 02/24/2016 11:05 AM, Brian Gerst wrote: Use the macros in instead of defining your own. Also, xorl %eax,%eax is good for 64-bit too, since the upper bits are cleared. I suspected this would have to be defined somewhere but couldn't find it. Thanks! -boris

Re: [PATCH 00/33] Compile-time stack metadata validation

2016-02-24 Thread Josh Poimboeuf
On Wed, Feb 24, 2016 at 08:40:54AM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > Hi Ingo, > > > > On Tue, Feb 23, 2016 at 09:14:06AM +0100, Ingo Molnar wrote: > > > So I tried out this latest stacktool series and it looks mostly good for > > > an > > > upstream merge. > > > > >

Re: [PATCH 3.10 00/54] 3.10.98-stable review

2016-02-24 Thread Willy Tarreau
Hi Greg, FWIW, 3.10.98-rc1 and 3.14.62-rc1 confirmed to run fine on my x86_64 machine, and 4.4.3-rc1 validated on an ARMv7 board (clearfog-a1). Cheers, Willy

Re: PROBLEM: lk 4.5 oops on boot with Xeon D-1520

2016-02-24 Thread Tony Battersby
Thanks, that fixes it. Note: your patch appears to be against linux-next. I had to change "arch/x86/events/intel/uncore_snbep.c" to "arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c" for the patch to apply against current linux-git. Tested-by: Tony Battersby On 02/24/2016 10:37 AM, Liang, K

Re: [PATCH 00/10] x86/xsaves: Fix XSAVES known issues

2016-02-24 Thread Yu-cheng Yu
On Wed, Feb 24, 2016 at 09:43:36AM +0100, Ingo Molnar wrote: > > Small housekeeping request: could you please make sure your series is > properly > threaded for email clients? This submission was sent as singular patches, > without > any References header. > > I don't even know how you coaxed

Re: [PATCH v2] mfd: syscon: allow to register syscon with a device

2016-02-24 Thread Arnd Bergmann
On Wednesday 24 February 2016 16:02:28 Philipp Zabel wrote: > > > @@ -473,6 +474,12 @@ static const struct of_device_id > > > imx6q_pinctrl_of_match[] = { > > > > > > static int imx6q_pinctrl_probe(struct platform_device *pdev) > > > { > > > + struct device_node *syscon_np; > > > + > > >

Re: [PATCH] sound: hdmi: avoid dereferencing uninitialized 'jack' pointer

2016-02-24 Thread Takashi Iwai
On Wed, 24 Feb 2016 17:18:58 +0100, Arnd Bergmann wrote: > > On Wednesday 17 February 2016 10:35:40 Takashi Iwai wrote: > > On Wed, 17 Feb 2016 10:03:50 +0100, > > + const char *id; > > +#ifdef CONFIG_SND_JACK_INPUT_DEV > > + struct input_dev *input_dev; > > int registered; > > int typ

Re: [PATCH v5 10/20] kthread: Better support freezable kthread workers

2016-02-24 Thread Petr Mladek
On Tue 2016-02-23 01:33:12, kbuild test robot wrote: > Hi Petr, > > [auto build test WARNING on soc-thermal/next] > [also build test WARNING on v4.5-rc5 next-20160222] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://

Re: [PATCHv6 1/3] rdmacg: Added rdma cgroup controller

2016-02-24 Thread Parav Pandit
On Wed, Feb 24, 2016 at 6:43 PM, Haggai Eran wrote: > Hi, > > Overall I the patch looks good to me. I have a few comments below. > Thanks for the review. Addressing most comments one. Some comments inline. > Its -> It's Ok. >> +void rdmacg_query_limit(struct rdmacg_device *device, >> +

Re: [PATCH] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2016-02-24 Thread Marc Zyngier
On 24/02/16 16:09, Mark Salter wrote: > On Tue, 2016-02-09 at 17:56 -0800, Duc Dang wrote: >> This patch makes pci-xgene-msi driver ACPI-aware and provides >> MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. >> >> Signed-off-by: Duc Dang >> --- >> drivers/pci/host/pci-xgene-msi.c

Re: [Xen-devel] [PATCH] xen/x86: Zero out .bss for PV guests

2016-02-24 Thread Luis R. Rodriguez
On Wed, Feb 24, 2016 at 6:58 AM, David Vrabel wrote: > Yes. Can you respin with a commit message explaining? (Or just provide > the message here and I'll fix it up). Is there no way to re-use somehow the clear_bss() from bare metal? This uses a section range: /* Don't add a printk in there. pr

RE: [PATCH 12/15] ACPICA: ACPI 6.1: Add full support for this version of ACPI spec

2016-02-24 Thread Moore, Robert
> -Original Message- > From: Abdulhamid, Harb [mailto:ha...@codeaurora.org] > Sent: Saturday, February 20, 2016 1:41 PM > To: Zheng, Lv; Wysocki, Rafael J; Rafael J. Wysocki; Brown, Len > Cc: Lv Zheng; linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org; > Moore, Robert; Al Stone; fu..

Re: [PATCH] sound: hdmi: avoid dereferencing uninitialized 'jack' pointer

2016-02-24 Thread Arnd Bergmann
On Wednesday 17 February 2016 10:35:40 Takashi Iwai wrote: > On Wed, 17 Feb 2016 10:03:50 +0100, > + const char *id; > +#ifdef CONFIG_SND_JACK_INPUT_DEV > + struct input_dev *input_dev; > int registered; > int type; > - const char *id; > char name[100]; > unsigne

Re: [tip:efi/core] x86/mm/pat: Use _PAGE_GLOBAL bit for EFI page table mappings

2016-02-24 Thread Borislav Petkov
On Wed, Feb 24, 2016 at 02:10:46PM +, Matt Fleming wrote: > > Normally, the only pages with are _PAGE_GLOBAL are those that are in > > the normal kernel mappings (swapper_pg_dir and normal mm_struct pgds). > > By allowing _PAGE_GLOBAL to be set in EFI mappings, you're breaking > > that conventi

Re: [PATCH] arm64/mm: fix virtual address boundary check

2016-02-24 Thread Catalin Marinas
On Thu, Feb 25, 2016 at 12:01:48AM +0800, miles.c...@mediatek.com wrote: > From: Miles Chen > > The MODULES_VADDR is not the lowest possible > kernel virtual address. TASK_SIZE_64 may be larger than > MODULES_VADDR, FIXADDR_TOP, and PCI_IO_START. > > Fix this by comparing TASK_SIZE_64 (highest u

Re: [PATCH v5 08/20] kthread: Allow to cancel kthread work

2016-02-24 Thread Petr Mladek
On Tue 2016-02-23 00:50:22, kbuild test robot wrote: > Hi Petr, > > [auto build test WARNING on soc-thermal/next] > [also build test WARNING on v4.5-rc5 next-20160222] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://

Re: [PATCH] thp: call pmdp_invalidate() with correct virtual address

2016-02-24 Thread Will Deacon
On Wed, Feb 24, 2016 at 06:58:03PM +0300, Kirill A. Shutemov wrote: > Sebastian Ott and Gerald Schaefer reported random crashes on s390. > It was bisected to my THP refcounting patchset. > > The problem is that pmdp_invalidated() called with wrong virtual > address. It got offset up by HPAGE_PMD_S

Re: [PATCH 45/50] pinctrl: st: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Maxime Coquelin
On 02/24/2016 02:16 PM, Laxman Dewangan wrote: Use devm_pinctrl_register() for pin control registration. Signed-off-by: Laxman Dewangan Cc: Srinivas Kandagatla Cc: Maxime Coquelin Cc: Patrice Chotard Cc: ker...@stlinux.com --- drivers/pinctrl/pinctrl-st.c | 2 +- 1 file changed, 1 inser

Re: [PATCH v2] clocksource: atmel-pit: register as a sched_clock

2016-02-24 Thread Alexandre Belloni
On 24/02/2016 at 17:04:42 +0100, Romain Izard wrote : > Register the counter of the Periodic Interval Timer as a possible source > for sched_clock. Keep the timer running even if the related clockevent > is disabled. > > This provides a better precision than the jiffies-based default. The > TCB cl

Re: [PATCH 1/8] arm64: move acpi/dt decision earlier in boot process

2016-02-24 Thread Aleksey Makarov
Hi Matthias, Thank you for review. The bug is fixed in the next version of the patchset. Aleksey Makarov On 02/23/2016 05:37 PM, Matthias Brugger wrote: > > > On 23/02/16 14:57, Graeme Gregory wrote: >> On Mon, Feb 22, 2016 at 04:45:17PM +0100, Matthias Brugger wrote: >>> >>> >>> On 22/02/16

Re: [alsa-devel] [PATCH] ASoC: rt5640: add master clock handling for rt5640

2016-02-24 Thread Pierre-Louis Bossart
On 2/23/16 9:32 PM, Mark Brown wrote: On Wed, Feb 24, 2016 at 12:08:31AM +0100, Heiko Stuebner wrote: Am Dienstag, 23. Februar 2016, 08:50:04 schrieb Pierre-Louis Bossart: This patch assumes that the information on mclk comes from DeviceTree. The mclk may also be enabled/disabled in the machi

Re: [PATCH v5 07/20] kthread: Initial support for delayed kthread work

2016-02-24 Thread Petr Mladek
On Tue 2016-02-23 00:06:50, kbuild test robot wrote: > Hi Petr, > > [auto build test WARNING on soc-thermal/next] > [also build test WARNING on v4.5-rc5 next-20160222] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://

Re: [PATCH] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2016-02-24 Thread Mark Salter
On Tue, 2016-02-09 at 17:56 -0800, Duc Dang wrote: > This patch makes pci-xgene-msi driver ACPI-aware and provides > MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. > > Signed-off-by: Duc Dang > --- >  drivers/pci/host/pci-xgene-msi.c | 35 --- >  1

[PATCH v8 3/3] MIPS: dts: pic32: Update dts to reflect new PIC32MZDA clk binding

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal - now clock nodes definition is merged with core .dtsi file - only one rootclk is now part of DT - clock clients also updated based on new binding doc Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Ste

<    3   4   5   6   7   8   9   10   11   12   >