Re: sscanf: implement basic character sets

2016-02-23 Thread Jessica Yu
+++ Kees Cook [23/02/16 11:00 -0800]: On Tue, Feb 23, 2016 at 2:56 AM, Andy Shevchenko wrote: On Mon, 2016-02-22 at 16:24 -0500, Jessica Yu wrote: Implement basic character sets for the '%[]' conversion specifier. What part of the kernel will be using this

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread Junio C Hamano
Fengguang Wu writes: >> >> I have a mixed feeling about this one, primarily because this was >> >> already tried quite early in the life of "format-patch" command. >> >> >> >> http://thread.gmane.org/gmane.comp.version-control.git/9694/focus=9757 >> >> >> >> Only

[PATCH 07/11] perf script: Add data_src and weight column definitions

2016-02-23 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding data_src and weight column definitions, so it's displayed for related sample types. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter

[PATCH 04/11] perf tools: Add monitored events array

2016-02-23 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa It will ease up configuration of memory events and addition of other memory events in following patches. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim

Re: [RFC PATCH 00/27] Move LRU page reclaim from zones to nodes v2

2016-02-23 Thread Johannes Weiner
On Tue, Feb 23, 2016 at 03:04:23PM +, Mel Gorman wrote: > In many benchmarks, there is an obvious difference in the number of > allocations from each zone as the fair zone allocation policy is removed > towards the end of the series. For example, this is the allocation stats > when running

Re: [PATCH v2 4/7] bindings: move cpm_qe binding from powerpc/fsl to soc/fsl

2016-02-23 Thread Rob Herring
On Thu, Feb 18, 2016 at 09:06:09AM +0800, Zhao Qiang wrote: > cpm_qe is supported on both powerpc and arm. > and the QE code has been moved from arch/powerpc into > drivers/soc/fsl, so move cpm_qe binding from powerpc/fsl > to soc/fsl > > Signed-off-by: Zhao Qiang > --- >

Re: [PATCHv6 7/7] misc: at24: replace memory_accessor with nvmem_device_read

2016-02-23 Thread Andrew Lunn
On Tue, Feb 23, 2016 at 09:25:16PM +0530, Sekhar Nori wrote: > On Friday 19 February 2016 04:21 PM, Srinivas Kandagatla wrote: > > + adding davinci maintainers to the loop. > > > > Hi Andrew, > > > > Not sure which tree should take the patch, but we needs acks from the > > mach-davinci

[PATCH] Documentation: kselftest: Remove duplicate word

2016-02-23 Thread Zhiyi Sun
Remove duplicate word "for" in kselftest.txt. Signed-off-by: Zhiyi Sun --- Documentation/kselftest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt index 9bbbcdc..979eaca 100644 ---

Re: [PATCH 2/2] virtio_balloon: export 'available' memory to balloon statistics

2016-02-23 Thread Denis V. Lunev
On 02/23/2016 06:53 PM, Michael S. Tsirkin wrote: On Tue, Feb 23, 2016 at 06:26:47PM +0300, Denis V. Lunev wrote: On 02/23/2016 06:10 PM, Michael S. Tsirkin wrote: On Tue, Feb 16, 2016 at 06:50:52PM +0300, Denis V. Lunev wrote: From: Igor Redko Add a new field,

Re: [PATCH] kernel/resource.c: fix muxed resource handling in __request_region()

2016-02-23 Thread Simon Guinot
On Mon, Feb 22, 2016 at 12:46:09PM -0800, Jesse Barnes wrote: > On 02/22/2016 05:49 AM, Alan Cox wrote: > >> we have some good alternatives in the form of bus and platform > >> drivers that > >> can manage the appropriate serialization and keep things from > >> stomping > >> on one another. > > >

Re: [PATCH 3/4] sched/deadline: Tracepoints for deadline scheduler

2016-02-23 Thread Daniel Bristot de Oliveira
On 02/23/2016 07:44 AM, Peter Zijlstra wrote: >>> Worse, the proposed tracepoints are atrocious, look at crap like this: >>> > > > > > +if (trace_sched_deadline_yield_enabled()) { > > > +u64 delta_exec = rq_clock_task(rq) - > > > p->se.exec_start;

Re: [PATCH 2/2] drm/tegra: Set the DMA mask

2016-02-23 Thread Thierry Reding
On Tue, Feb 23, 2016 at 08:18:26AM -0800, Terje Bergstrom wrote: > > > On 02/23/2016 08:04 AM, Thierry Reding wrote: > >* PGP Signed by an unknown key > > On Tue, Feb 23, 2016 at 03:25:54PM > >+0900, Alexandre Courbot wrote: > >> The default DMA mask covers a 32 bits address range, but tegradrm

Re: [RFC][PATCH 4/7] perf: Fix scaling vs enable_on_exec

2016-02-23 Thread Pratyush Anand
Hi Peter/Jiri, On 23/02/2016:04:48:49 PM, Jiri Olsa wrote: > On Tue, Feb 23, 2016 at 04:27:29PM +0100, Peter Zijlstra wrote: > > On Fri, Feb 19, 2016 at 03:37:47PM +0100, Peter Zijlstra wrote: > > > Oleg reported that enable_on_exec results in weird scale factors. > > > > > > The recent commit

[PATCH v7 5/9] ARM: dts: am335x: Fix NAND device nodes

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Cc: Teresa Remmet Cc: Ilya Ledvich Cc: Yegor Yefremov Cc:

[PATCH v7 9/9] ARM: dts: omap3: Fix NAND device nodess

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts | 3 ++-

[PATCH v7 7/9] ARM: dts: dm816x: Fix NAND device nodes

2016-02-23 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. The GPMC node will provide an interrupt controller for the NAND IRQs. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/dm8168-evm.dts | 5 + arch/arm/boot/dts/dm816x.dtsi| 2 ++

Re: [PATCH] trace-cmd: filter out specific pids

2016-02-23 Thread Steven Rostedt
On Fri, 4 Dec 2015 12:03:38 -0500 Josef Bacik wrote: > Sometimes it is a good idea to filter out events from the recording processes > and even other pids, for example an external app that links against > libtracecmd > that watches syscalls probably doesn't want its own syscalls

Re: [RFC PATCH 1/2] memremap: add arch specific hook for MEMREMAP_WB mappings

2016-02-23 Thread Robert Jarzmik
Dan Williams writes: > On Tue, Feb 23, 2016 at 4:26 AM, Ard Biesheuvel > wrote: >> On 23 February 2016 at 13:03, Ard Biesheuvel >> wrote: >>> On 23 February 2016 at 12:58, Russell King - ARM Linux >>>

Re: [PATCH v2 2/4] Documentation: Bindings: Add STM32 DWMAC glue

2016-02-23 Thread Joachim Eastwood
Hi Alexandre, You should copy 'devicet...@vger.kernel.org' on bindings doc. Adding cc here. On 23 February 2016 at 16:10, Alexandre TORGUE wrote: > Signed-off-by: Alexandre TORGUE > > diff --git

Re: [PATCHv2] lkdtm: Add READ_AFTER_FREE test

2016-02-23 Thread Kees Cook
On Tue, Feb 23, 2016 at 1:25 PM, Kees Cook <keesc...@chromium.org> wrote: > zero poison only: > DEBUG_PAGEALLOC=n > PAGE_POISONING=y > PAGE_POISONING_NO_SANITY=y > PAGE_POISONING_ZERO=y > page_poison=on This combo (in next-20160223) results in an unusable system. :( [

Re: [PATCH net v3] r8169:fix "rtl_counters_cond == 1 (loop: 1000, delay: 10)" log spam.

2016-02-23 Thread Francois Romieu
Chunhao Lin : [...] > diff --git a/drivers/net/ethernet/realtek/r8169.c > b/drivers/net/ethernet/realtek/r8169.c > index 537974c..404be51 100644 > --- a/drivers/net/ethernet/realtek/r8169.c > +++ b/drivers/net/ethernet/realtek/r8169.c [...] > @@ -7853,6 +7859,11 @@ static int

Re: [PATCH v3] sscanf: implement basic character sets

2016-02-23 Thread Rasmus Villemoes
On Tue, Feb 23 2016, Jessica Yu wrote: > Implement basic character sets for the '%[]' conversion specifier. > > > lib/vsprintf.c | 41 + > 1 file changed, 41 insertions(+) > > diff --git a/lib/vsprintf.c b/lib/vsprintf.c > index

Re: [PATCH v3] mptbase: fixup error handling paths in mpt_attach()

2016-02-23 Thread Martin K. Petersen
> "Ewan" == Ewan D Milne writes: Ewan> mpt_attach() was not checking for the failure to create Ewan> fw_event_q. Also, iounmap() was not being called in all error Ewan> cases after ioremap() had been called by mpt_mapresources(). Applied to 4.6/scsi-queue. -- Martin K.

Re: [PATCH v3 1/2] devicetree: Add UCS1002 USB Port Power Controller binding

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 08:27:04AM +0100, Enric Balletbo i Serra wrote: > The UCS1002-2 provides a USB port power switch for precise control of up > to 2.5 amperes continuous current. > > You can add support to your board with current binding. > > Example: > > ucs1002: ucs1002@57 { >

Re: [PATCH] Staging: comedi: mite: added spaces around | and *

2016-02-23 Thread Philippe Loctaux
On Tue, Feb 23, 2016 at 04:48:23PM +, Ian Abbott wrote: > Actually, that one looks like a false positive by the checkpatch tool. I'd > expect no space after that '*'. checkpatch has probably got confused by the > line-break before the '*'. I see, I think I'll end up resending another patch

Re: [PATCH] rtc: s5m: De-inline large functions to save space

2016-02-23 Thread Alexandre Belloni
On 16/02/2016 at 11:04:42 +0900, Krzysztof Kozlowski wrote : > Few functions were marked inline even though they were relatively large > and sometimes used in multiple places. De-inline them to let the > compiler decide whether optimization makes sense. This fixes inline_hunt > report: >

Re: [PATCH 1/4] EDAC, MCE, AMD: Enable error decoding of Scalable MCA errors

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:37 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:08PM -0600, Aravind Gopalakrishnan wrote: /* AMD-specific bits */ #define MCI_STATUS_DEFERRED (1ULL<<44) /* declare an uncorrected error */ #define MCI_STATUS_POISON (1ULL<<43) /* access poisonous data */

Re: [PATCH] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-02-23 Thread Shanker Donthineni
Hi Marc, Sorry, I have not responded to your email earlier, by mistake replied to original patch. On 02/23/2016 02:51 AM, Marc Zyngier wrote: On 23/02/16 03:57, Shanker Donthineni wrote: We are not checking whether the requested device identifier fits into table or not. The ITS MAPD command

[PATCH 2/2 v6] printk, allow different timestamps for printk.time

2016-02-23 Thread Prarit Bhargava
Over the past years I've seen many reports of bugs that include time-stamped kernel logs (enabled when CONFIG_PRINTK_TIME=y or print.time=1 is specified as a kernel parameter) that do not align with either external time stamped logs or /var/log/messages. This also makes determining the time of a

Re: [PATCH] drivers: staging: rts5208: sd.c: Fix Comparisons should place the constant on the right side of the test warning

2016-02-23 Thread Joe Perches
On Tue, 2016-02-23 at 23:14 +0530, Tapan Prakash T wrote: > Fixed checkpatch.pl warning 'Comparisons should place the constant on > the right side of the test' [] > diff --git a/drivers/staging/rts5208/sd.c b/drivers/staging/rts5208/sd.c [] > @@ -1438,7 +1438,7 @@ static int

Re: [Xen-devel] [PATCH v3 10/11] x86/rtc: replace paravirt rtc check with x86 specific solution

2016-02-23 Thread Luis R. Rodriguez
On Tue, Feb 23, 2016 at 11:57:16AM +, David Vrabel wrote: > On 23/02/16 07:24, Luis R. Rodriguez wrote: > > --- a/arch/x86/xen/enlighten.c > > +++ b/arch/x86/xen/enlighten.c > [...] > > @@ -1526,8 +1525,6 @@ asmlinkage __visible void __init > > xen_start_kernel(void) > > > > /* Install

Re: [PATCH v3 00/12] pwm: add support for atomic update

2016-02-23 Thread Thierry Reding
On Tue, Feb 23, 2016 at 09:35:48AM -0800, Doug Anderson wrote: > On Tue, Feb 23, 2016 at 6:38 AM, Thierry Reding > wrote: [...] > > That's not quite what I was thinking. If hardware readout is supported > > then whatever we report back should be the current hardware

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-02-23 Thread Fabio Estevam
On Sat, Feb 20, 2016 at 12:48 PM, Robert Jarzmik wrote: > Hello, > > I'll reping once more, to see if any of you could give this patch a try. > So far Hitoshi doesn't have the hardware anymore, so it leaves only Guennadi > and > Fabio. > > If you could give it a try it

Re: [PATCH] [media] tvp5150: remove signal generator as input from the DT binding

2016-02-23 Thread Javier Martinez Canillas
Hi Laurent, On 02/23/2016 03:02 PM, Laurent Pinchart wrote: Hi Javier, On Tuesday 23 February 2016 13:27:51 Javier Martinez Canillas wrote: On 02/23/2016 01:16 PM, Laurent Pinchart wrote: On Tuesday 23 February 2016 13:09:58 Javier Martinez Canillas wrote: The chip internal signal generator

Re: [PATCH v2 3/3] vfs: Use per-cpu list for superblock's inode list

2016-02-23 Thread Waiman Long
On 02/22/2016 08:04 AM, Jan Kara wrote: On Mon 22-02-16 13:12:22, Peter Zijlstra wrote: On Mon, Feb 22, 2016 at 12:54:35PM +0100, Jan Kara wrote: Also, I think fsnotify_unmount_inodes() (as per mainline) is missing a final iput(need_iput) at the very end, but I could be mistaken, that code

Re: [PATCH] Revert "[media] tvp5150: document input connectors DT bindings"

2016-02-23 Thread Laurent Pinchart
Hi Javier, Thank you for the patch. On Tuesday 23 February 2016 15:48:08 Javier Martinez Canillas wrote: > This reverts commit 82c2ffeb217a ("[media] tvp5150: document input > connectors DT bindings") since the DT binding is too device driver > specific and should instead be more generic and use

Re: [PATCH] Staging: comedi: mite: added spaces around | and *

2016-02-23 Thread Ian Abbott
On 22/02/16 23:38, Philippe Loctaux wrote: Added spaces around | and *, fixing 2 checkpatch checks. Signed-off-by: Philippe Loctaux --- drivers/staging/comedi/drivers/mite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) [snip] @@ -216,7 +216,7 @@

[PATCH 0/6] staging: lustre: update modinfo data

2016-02-23 Thread James Simmons
The module information for Lustre is stale or in some cases completely missing. This collection of patches brings the modinfo up to date as well as filling in any missing information. Andreas Dilger (4): staging: lustre: add missing MODULE_AUTHOR for LNet selftest module staging: lustre:

[PATCH 5/6] staging: lustre: make module_init/exit naming consistent

2016-02-23 Thread James Simmons
From: Andreas Dilger Make the name of the module_init()/_exit() functions consistently {module_name}_init and {module_name}_exit. Signed-off-by: Andreas Dilger Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Reviewed-on:

[PATCH 3/6] staging: lustre: update the MODULE_VERSION for all lustre modules

2016-02-23 Thread James Simmons
For several lustre modules the MODULE_VERSION has the wrong value, located in the wrong place in the source code, or completely missing. This patch brings it up to date. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6204 Reviewed-on:

[PATCH v3 3/8] arm64: dts: qcom: add audio pinctrls

2016-02-23 Thread Srinivas Kandagatla
This patch adds pinctrls required for digital and analog audio via lpass. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 216 + 1 file changed, 216 insertions(+) diff --git

[PATCH v3 2/8] arm64: dts: qcom: apq8016-sbc: add usb support

2016-02-23 Thread Srinivas Kandagatla
Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi | 14 + arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 34 ++ 2 files changed, 48 insertions(+) diff --git

[PATCH 6/6] staging: lustre: update format for lnet_lib_init/exit comment

2016-02-23 Thread James Simmons
From: Andreas Dilger The documentation about the return values for lnet_lib_init and lnet_lib_exit was in the old style format. Bring it in sync with the rest of the LNet core. Broken out of patch 16787. Signed-off-by: Andreas Dilger

[PATCH v3 0/8] arm64: dts: apq8016 dt patches (Set2).

2016-02-23 Thread Srinivas Kandagatla
Hi Andy, Here are few more dt patches (set2) which enables usb and lpass, with some fixes. I have tested these patches with few changes to defconfig on DB410C + a usb phy fix. Thanks, srini Changes since v2: - fixed usb and usb-id pinctrl nodes as suggested by Bjorn Changes since v1: -

[PATCH 1/6] staging: lustre: move module info to end of libcfs module.c file

2016-02-23 Thread James Simmons
Move the MODULE_* field in module.c that belongs to libcfs to the end of the file like it is done for other kernel drivers. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/module.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-)

[PATCH v3 1/8] arm64: dts: qcom: add manual pullup setting to otg.

2016-02-23 Thread Srinivas Kandagatla
This patch adds manual pull up setting for usb otg indicating that the vbus is vbus is not routed to USB controller/phy therefore enables pull-up explicitly before starting controller. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi |

[PATCH v3 7/8] arm64: dts: qcom: apq8016-sbc: enable bam dma node.

2016-02-23 Thread Srinivas Kandagatla
This patch enables bam dma node, dma is used for both tx and rx on spi and on high speed serial. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v3 4/8] arm64: dts: qcom: add lpass node

2016-02-23 Thread Srinivas Kandagatla
This patch adds lpass node to the SOC. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi

[PATCH v3 8/8] arm64: dts: qcom: Fix MPP's function used for LED control

2016-02-23 Thread Srinivas Kandagatla
From: "Ivan T. Ivanov" The qcom-spmi-mpp driver is now using string "digital" to denote old "normal" functionality. Update DTS file. Also update the powersource. Signed-off-by: Ivan T. Ivanov ---

[PATCH v3 6/8] arm64: dts: qcom: fix usb digital voltage levels

2016-02-23 Thread Srinivas Kandagatla
This patch updates the digital voltage levels from corner values to microvolts as we are going to use s1 regulator directly for vddcx instead of s1_corner. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1

[PATCH v3 5/8] arm64: dts: qcom: apq8016-sbc: enable lpass on DB410c

2016-02-23 Thread Srinivas Kandagatla
This patch enables the lpass on DB410C. LPASS is used as cpu dai for both analog and digital audio. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/6] staging: lustre: add missing MODULE_AUTHOR for LNet selftest module

2016-02-23 Thread James Simmons
From: Andreas Dilger For LNet selftest module the MODULE_AUTHOR was missing. Add proper OpenSFS authorship. Broken out of patch http://review.whamcloud.com/16787. Signed-off-by: Andreas Dilger Intel-bug-id:

[PATCH 4/6] staging: lustre: update the MODULE_DESCRIPTION for all lustre modules

2016-02-23 Thread James Simmons
From: Andreas Dilger Fixup the MODULE_DESCRIPTION for several lustre modules. Some wrongly place the version in the string or they are not descriptive enough. Broken out of patch http://review.whamcloud.com/16787. Signed-off-by: Andreas Dilger

Re: [lkp] [printk] 34578dc67f: EIP is at vprintk_emit+0x1ea/0x600

2016-02-23 Thread Petr Mladek
On Tue 2016-02-23 08:55:03, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > commit 34578dc67f38c02ccbe696e4099967884caa8e15 ("printk: set may_schedule > for some of console_trylock() callers") > >

Re: [PATCH 0/4] serial: omap: robustify for high speed transfers

2016-02-23 Thread Andy Shevchenko
On Tue, Feb 23, 2016 at 2:43 PM, Sebastian Andrzej Siewior wrote: > On 02/23/2016 10:59 AM, Sekhar Nori wrote: >>> With the am335x (Beaglebone Black, eDMA engine) I see 1000 DMA >>> interrupts and 1000 spurious UART interrupts. The spurious UART >>> interrupts arrive

Re: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915

2016-02-23 Thread Takashi Iwai
On Mon, 22 Feb 2016 22:37:28 +0100, Martin Kepplinger wrote: > > Am 2016-02-22 um 20:10 schrieb Takashi Iwai: > > On Mon, 22 Feb 2016 19:58:18 +0100, > > Martin Kepplinger wrote: > >> > >> Am 2016-02-22 um 15:12 schrieb Takashi Iwai: > >>> On Mon, 22 Feb 2016 15:02:56 +0100, > >>> Martin

[PATCH v7] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-23 Thread Christophe Leroy
This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. PPC32 doesn't have the PACA structure, so we use the task_info structure to store the accounting data. In order to reuse on PPC32 the PPC64 functions, all u64 data has been replaced by 'unsigned long' so that it is u32 on PPC32 and u64

[PATCH] tty/serial: at91: restore dynamic driver binding

2016-02-23 Thread Romain Izard
In commit c39dfebc7798956fd2140ae6321786ff35da30c3, the modular support code for atmel_serial was removed, as the driver cannot be built as a module. Because no use case was proposed, the dynamic driver binding support was removed as well. The atmel_serial driver can manage up to 7 serial

Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build

2016-02-23 Thread Torsten Duwe
On Wed, Feb 17, 2016 at 02:08:41PM +1100, Michael Ellerman wrote: > > That stub uses r2 to find the location of itself, but it only works if r2 > holds > the TOC for scsi_mod.ko. In this case r2 still contains ibmvscsi.ko's TOC. Here's my solution, a bit rough still. This replaces the

[PATCH] crypto: algif_hash - correctly handle algos without state

2016-02-23 Thread Sasha Levin
Algorithms without state will cause the creation of a 0 sized array, which is undefined outside of structs. Signed-off-by: Sasha Levin --- crypto/algif_hash.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c

Re: BUGZILLA [112941] - Cannot reenable SRIOV after disabling SRIOV on AMD GPU

2016-02-23 Thread Bjorn Helgaas
[+cc Joerg, Alex] Hi Kelly, On Tue, Feb 23, 2016 at 03:52:13PM +, Zytaruk, Kelly wrote: > As per our offline discussions I have created Bugzilla #112941 for > the SRIOV issue. https://bugzilla.kernel.org/show_bug.cgi?id=112941 > When trying to enable SRIOV on AMD GPU after doing a previous

[PATCH 06/11] perf tools: Use ARRAY_SIZE in mem sort display functions

2016-02-23 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa There's no need to define extra macros for that. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc:

Re: [PATCH v2 1/7] QE: Add IC, SI and SIRAM document to device tree bindings.

2016-02-23 Thread Rob Herring
On Thu, Feb 18, 2016 at 09:06:06AM +0800, Zhao Qiang wrote: > Add IC, SI and SIRAM document of QE to > Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt > > Signed-off-by: Zhao Qiang > --- > Changes for v2 > - Add interrupt-controller in Required properties >

Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info

2016-02-23 Thread Stefan Beller
On Tue, Feb 23, 2016 at 12:46 PM, H. Peter Anvin wrote: > On February 23, 2016 12:35:12 PM PST, Junio C Hamano > wrote: >>ebied...@xmission.com (Eric W. Biederman) writes: >> >>> Junio C Hamano writes: >>> It is valuable for a testing

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

2016-02-23 Thread Eric Anholt
Since all of these pins were documented, we can use their names to explain what's going on. Signed-off-by: Eric Anholt --- arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 17 ++--- arch/arm/boot/dts/bcm2835-rpi-a.dts | 17 ++---

Re: [PATCH] trace-cmd: add trace_hash_find_reverse

2016-02-23 Thread Steven Rostedt
On Tue, 15 Dec 2015 11:13:24 -0500 Josef Bacik wrote: > Sometimes we want to FIFO identical entries in the hash table, so add > trace_hash_find_reverse, which will cycle through the hash list in reverse. > This is helpful in our case where we are monitoring block request issues to

Dell XPS 15 9550 acpi deadlock

2016-02-23 Thread Andy Clayton
Hello, I'm seeing a blocked acpi_os_execute_deferred task on a Dell XPS 15 9550 upon thunderbolt hotplug. It seems to prevent thunderbolt from working and causes subsequent shutdown or suspend to hang. I've put together the following patch ("ACPICA: fix deadlock on recursion of entry method")

Re: [PATCH v2] RTC/PCF85063: fix reading/setting time/date

2016-02-23 Thread Alexandre Belloni
On 09/02/2016 at 11:57:24 +0100, Juergen Borleis wrote : > The PCF85063 RTC needs special treatment while setting or reading the > time/date: > > - when reading the 7 time/date registers they are blocked from updating by >the 'one second' pulse internally. So reading all time/date registers

[PATCH] rtc: pcf85063: remove useless century handling

2016-02-23 Thread Alexandre Belloni
pcf85063_get_datetime() tries to handle a century bit but that bit is not documented and the final value is never used anywhere else in the kernel. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf85063.c | 6 -- 1 file changed, 6 deletions(-)

Re: [PATCH] VMD: Attach vmd resources to parent domain's resource tree

2016-02-23 Thread Keith Busch
On Tue, Feb 23, 2016 at 02:50:13PM -0700, Jon Derrick wrote: > This patch attaches the new VMD domain's resources to the VMD device's > resources. This allows /proc/iomem to display a more complete picture. > > Before: > c000-c1ff : :5d:05.5 > c200-c3ff : :5d:05.5 >

Re: [PATCH] ipv4: in new netns initialize sysctls in net.ipv4.conf.* with defaults

2016-02-23 Thread David Miller
From: Konstantin Khlebnikov Date: Sun, 21 Feb 2016 10:11:02 +0300 > Currently initial net.ipv4.conf.all.* and net.ipv4.conf.default.* are > copied from init network namespace because static structures are used > for init_net. This makes no sense because new netns might

Re: [PATCH v4] spi: master driver to enable RTC on ICPDAS LP-8841

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 01:44:28PM +0300, Sergei Ianovich wrote: > ICP DAS LP-8841 contains a DS-1302 RTC. This driver provides an SPI > master which makes the RTC usable. The driver is not supposed to work > with anything else. > > The driver uses the standard MicroWire half-duplex transfer

[PATCH v4 0/5] getcpu_cache system call for 4.6

2016-02-23 Thread Mathieu Desnoyers
Hi, Here is a patchset implementing a cache for the CPU number of the currently running thread in user-space. Benchmarks comparing this approach to a getcpu based on system call on ARM show a 44x speedup. They show a 14x speedup on x86-64 compared to executing lsl from a vDSO through glibc. I'm

[PATCH v4 3/5] getcpu_cache: wire up ARM system call

2016-02-23 Thread Mathieu Desnoyers
Wire up the getcpu cache system call on 32-bit ARM. This provides an ABI improving the speed of a getcpu operation on ARM by skipping the getcpu system call on the fast path. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin

[PATCH v4 4/5] getcpu_cache: x86 32/64 resume notifier

2016-02-23 Thread Mathieu Desnoyers
Call the getcpu_cache_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Signed-off-by: Mathieu Desnoyers CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter

[PATCH v4 5/5] getcpu_cache: wire up x86 32/64 system call

2016-02-23 Thread Mathieu Desnoyers
Wire up the getcpu_cache system call on x86 32/64. This provides an ABI improving the speed of a getcpu operation on x86 by removing the need to perform a function call, "lsl" instruction, or system call on the fast path. Signed-off-by: Mathieu Desnoyers CC:

[PATCH v4 2/5] getcpu_cache: ARM resume notifier

2016-02-23 Thread Mathieu Desnoyers
Call the getcpu_cache_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon

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

2016-02-23 Thread Mathieu Desnoyers
Expose a new system call allowing threads to register one userspace memory area where to store the CPU number on which the calling thread is running. Scheduler migration sets the TIF_NOTIFY_RESUME flag on the current thread. Upon return to user-space, a notify-resume handler updates the current

Re: [PATCH v7] rtc: rewrite DS1302 using SPI

2016-02-23 Thread Rob Herring
On Tue, Feb 23, 2016 at 01:54:57PM +0300, Sergei Ianovich wrote: > DS1302 is half-duplex SPI device. The driver respects this fact now. > > Pin configurations should be implemented using SPI subsystem. > > Signed-off-by: Sergei Ianovich > CC: Alexandre Belloni

Re: [PATCH v2 0/3] drm: introduce bus_flags for pixel clock polarity

2016-02-23 Thread Stefan Agner
Any comments on this? Also added Manfred, Tomi and Boris to CC which previously attended in similar discussions. Previous discussions: http://thread.gmane.org/gmane.linux.kernel.api/12830 http://thread.gmane.org/gmane.comp.video.dri.devel/96240/ I think one of the main observation so far was

Re: [PATCH] trace-cmd: trace-cmd.c call free only once on tracing and path

2016-02-23 Thread Steven Rostedt
On Thu, 3 Dec 2015 23:34:13 +0100 (CET) John Kacur wrote: > >From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001 > From: John Kacur > Date: Thu, 3 Dec 2015 23:29:05 +0100 > Subject: [PATCH] trace-cmd: don't call free on tracing and path

Re: [PATCH] trace-cmd: quiet some output when using libtracecmd

2016-02-23 Thread Steven Rostedt
On Fri, 4 Dec 2015 10:37:30 -0500 Josef Bacik wrote: > If you link against libtracecmd you get a few extraneous warnings and printf's > that aren't related to your tool. So by default make the path to the events > you > are tracing use pr_stat() so if it's not defined we don't

[PATCH] mfd: intel-lpss: remove spt_info, it is not used

2016-02-23 Thread Colin King
From: Colin Ian King spt_info is not used at all, I suspect it is vestigial code left over when the intel-lpss-acpi was derived from intel-lpss-pci Signed-off-by: Colin Ian King --- drivers/mfd/intel-lpss-acpi.c | 4 1 file changed, 4

Re: [PATCH v2] mm,oom: exclude oom_task_origin processes if they are OOM-unkillable.

2016-02-23 Thread David Rientjes
On Tue, 23 Feb 2016, Michal Hocko wrote: > > oom_badness() ranges from 0 (don't kill) to 1000 (please kill). It > > factors in the setting of /proc/self/oom_score_adj to change that value. > > That is where OOM_SCORE_ADJ_MIN is enforced. > > The question is whether the current placement of

Re: [PATCH v2 1/2] mpt3sas: Free memory pools before retrying to allocate with different value.

2016-02-23 Thread Martin K. Petersen
> "Suganath" == Suganath Prabu Subramani > writes: Suganath> Deallocate resources before reallocating of the same in Suganath> retry_allocation path of _base_allocate_memory_pools() Both patches applied to 4.6/scsi-queue. -- Martin K. Petersen

[PATCH] ACPICA: fix deadlock on recursion of entry method

2016-02-23 Thread Andy Clayton
The execution of each control method is protected by a mutex. acpi_ds_begin_method_execution avoids trying to reacquire a mutex during recursion by checking if the mutex is already held by the current thread. The mutex's thread_id is only set in acpi_ds_begin_method_execution if a walk state is

Re: [PATCH RESEND] dpt_i2o: fix build warning

2016-02-23 Thread Martin K. Petersen
> "Sudip" == Sudip Mukherjee writes: Sudip> We were getting build warning about: Sudip> drivers/scsi/dpt_i2o.c:183:29: warning: 'dptids' defined but not Sudip> used Sudip> dptids[] is only used in the MODULE_DEVICE_TABLE so when MODULE Sudip> is not defined then

Re: [PATCH 2/4] x86/mce/AMD: Fix logic to obtain block address

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:39 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:09PM -0600, Aravind Gopalakrishnan wrote: /* 'SMCA': AMD64 Scalable MCA */ +#define MSR_AMD64_SMCA_MC0_MISC0 0xc0002003 #define MSR_AMD64_SMCA_MC0_CONFIG 0xc0002004 #define MSR_AMD64_SMCA_MC0_IPID

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread Luis R. Rodriguez
On Fri, Feb 19, 2016 at 1:48 PM, Luis R. Rodriguez wrote: > On Fri, Feb 19, 2016 at 12:25:55PM -0800, H. Peter Anvin wrote: >> On 02/19/2016 05:45 AM, Luis R. Rodriguez wrote: >> > + >> > +/** >> > + * DOC: Regular linker linker table constructors >> > + * >> > + * Regular

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

2016-02-23 Thread Heiko Stuebner
Am Dienstag, 23. Februar 2016, 08:50:04 schrieb Pierre-Louis Bossart: > On 2/22/16 7:26 PM, Sugar Zhang wrote: > > enable/disable master clock when codec is active or not. > > > > Signed-off-by: Sugar Zhang > > --- > > > >

Re: [PATCH] drivers/rtc: make class.c explicitly non-modular

2016-02-23 Thread Alexandre Belloni
On 14/02/2016 at 15:04:19 -0500, Paul Gortmaker wrote : > The Makefile/Kconfig currently controlling compilation of this code is: > > obj-$(CONFIG_RTC_CLASS) += rtc-core.o > rtc-core-y := class.o interface.o > > drivers/rtc/Kconfig:menuconfig RTC_CLASS >

Re: [PATCH] trace-cmd: use nonblocking reads for streaming

2016-02-23 Thread Steven Rostedt
On Thu, 17 Dec 2015 12:01:52 -0500 Josef Bacik wrote: > I noticed while using the streaming infrastructure in trace-cmd that I was > seemingly missing events. Using other tracing methods I got these events and > record->missed_events was never being set. This is because the

Re: [PATCH 3/4] x86/mce: Clarify comments regarding deferred error

2016-02-23 Thread Aravind Gopalakrishnan
On 2/23/16 6:11 AM, Borislav Petkov wrote: On Tue, Feb 16, 2016 at 03:45:10PM -0600, Aravind Gopalakrishnan wrote: /* AMD-specific bits */ -#define MCI_STATUS_DEFERRED(1ULL<<44) /* declare an uncorrected error */ +#define MCI_STATUS_DEFERRED(1ULL<<44) /* declare a deferred error

[PATCH 1/5] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2016-02-23 Thread Han Xu
From: Han Xu support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27

Re: [PATCH] hpsa: update MAINTAINERS with new e-mail

2016-02-23 Thread Matthew R. Ochs
Reviewed-by: Matthew R. Ochs

Re: [RFC v2 2/7] tables.h: add linker table support

2016-02-23 Thread H. Peter Anvin
On 02/23/2016 03:08 PM, Luis R. Rodriguez wrote: > > OK yes I see the issue now. I've modified this to use const, and > retested the kprobe patch and it works well still. kprobe would not > use LINKTABLE_TEXT, instead it uses its own macro, however users of > LINKTABLE_TEXT would then have const

[PATCH v4 3/5] dell-wmi: enable receiving WMI events on Dell Vostro V131

2016-02-23 Thread Michał Kępień
On some laptop models (e.g. Dell Vostro V131), WMI events are not generated until a specific SMBIOS request is issued to register an event listener [1]. As there seems to be no ACPI method or SMBIOS request to determine without possible side effects whether a given machine needs to issue this

[PATCH v4 1/5] dell-laptop: move dell_smi_error() to dell-smbios

2016-02-23 Thread Michał Kępień
The dell_smi_error() method could be used by modules other than dell-laptop for convenient translation of SMBIOS request errors into errno values. Thus, move it to dell-smbios. Signed-off-by: Michał Kępień --- drivers/platform/x86/dell-laptop.c | 14 --

[PATCH v4 5/5] dell-wmi: support Dell Inspiron M5110

2016-02-23 Thread Michał Kępień
Similarly to Dell Vostro V131, Dell Inspiron M5110 also requires an SMBIOS request to be issued in order for WMI events to be generated and does not raise an i8042 interrupt when the Dell Instant Launch hotkey is pressed. However, the event code for that hotkey on this machine is 0xe029, so add

[PATCH v4 4/5] dell-wmi: properly process Dell Instant Launch hotkey

2016-02-23 Thread Michał Kępień
On models on which an SMBIOS request needs to be issued in order for WMI events to be generated, pressing the Dell Instant Launch hotkey does not raise an i8042 interrupt - only a WMI event is generated (0xe025 on Dell Vostro V131). Thus, the 0xe025 event should only be ignored on machines which

  1   2   3   4   5   6   7   8   9   10   >