[PATCH v8 2/3] clk: clk-pic32: Add PIC32 clock driver

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd --- Note:

[PATCH v8 0/3] PIC32MZDA Clock Driver

2016-02-24 Thread Joshua Henderson
Clock bindings got acked and then essentially unacked, while the clock driver never made it upstream. In the meantime, the initial DTS file made it upstream. This latest patch series includes a patch to go back and correct the DTS files to reflect the new clock bindings in this patch series. This

[PATCH v8 1/3] dt/bindings: Add PIC32 clock binding documentation

2016-02-24 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle Cc: Michael Turquette Cc: Stephen Boyd Acked-by: Rob Herring --- Note: Please pull t

Re: [PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Alex Deucher
On Wed, Feb 24, 2016 at 9:58 AM, Geert Uytterhoeven wrote: > Hi Alex, > > On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander > wrote: >>> -Original Message- >>> From: Geert Uytterhoeven [mailto:geert+rene...@glider.be] >>> Sent: Wednesday, February 24, 2016 3:14 AM >>> To: David Airlie;

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

2016-02-24 Thread Oleksandr Natalenko
23.02.2016 17:08, Ville Syrjälä написав: In the meantime I think as a workaround I think you could use something like video=HDMI-A-1:e on the kernel command line (not sure I got the connector name right for your system). I think that should result in the live status check to be skipped, at least

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

2016-02-24 Thread Brian Gerst
On Wed, Feb 24, 2016 at 10:19 AM, 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 guar

Re: [PATCHv6 2/3] IB/core: added support to use rdma cgroup controller

2016-02-24 Thread Parav Pandit
On Wed, Feb 24, 2016 at 7:13 PM, Haggai Eran wrote: >> + * all the resources are deallocated, and after a stage when any >> + * other resource allocation of user application cannot be done >> + * for this device to avoid any leak in accounting. >> + * HCA drivers should clear resource pool ops af

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

2016-02-24 Thread Romain Izard
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 clocksource does not work, as it is registered too late in the initi

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

2016-02-24 Thread Peter Zijlstra
On Wed, Feb 24, 2016 at 03:02:39PM +0100, Peter Zijlstra wrote: > FWIW, it would be nice to have a similar test for: > > attr = { > .disabled = true; > } > > sys_perf_event_open(&attr, .pid = self); > > if (attr.disabled) > ioctl(ENABLE); > >

Re: [LKP] [lkp] [gpio] 3c702e9987: kmsg.user_verbs:couldn't_register_device_number

2016-02-24 Thread Linus Walleij
On Tue, Feb 23, 2016 at 7:35 AM, Huang, Ying wrote: >> On Mon, Feb 15, 2016 at 3:39 AM, Huang, Ying wrote: >>> Michael Welling writes: >> Then dmesg |grep CHARDEV should tell what we need to know. > > Sorry for late, the dmesg with the patch is attached. And the output of > dmesg | grep CHARD

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

2016-02-24 Thread miles.chen
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 user virtual address) with VA_START (lowest kernel virtual address). #define VA_BITS

Re: [PATCH 14/15] perf x86 intel: Add DATALA events into sysfs

2016-02-24 Thread Andi Kleen
On Wed, Feb 24, 2016 at 09:46:55AM +0100, Jiri Olsa wrote: > Adding DATALA events into Haaswell events sysfs > directory, so it's easier to use them. > > Adding all DATALA events as specified by Intel SDM > manual 18.10.3 PEBS Data Address Profiling. > > Link: http://lkml.kernel.org/n/tip-dvpk5ys

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

2016-02-24 Thread Kirill A. Shutemov
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_SIZE by loop over ptes. The solution is to introduce new variable to be used i

Re: [PATCH v5 03/20] kthread: Add create_kthread_worker*()

2016-02-24 Thread Petr Mladek
On Mon 2016-02-22 23:48:53, kbuild test robot wrote: > Hi Petr, > > [auto build test ERROR on soc-thermal/next] > [also build test ERROR 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://gith

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

2016-02-24 Thread Stefano Stabellini
On Wed, 24 Feb 2016, Boris Ostrovsky wrote: > On 02/24/2016 07:23 AM, Stefano Stabellini wrote: > > Introduce EARLYCON support in hvc_xen, useful for early debugging on arm > > and arm64, where xen early_printk is not available. Differently from > > xenboot_write_console on x86, we won't just retur

[PATCH] libata: Align ata_device's id on a cacheline

2016-02-24 Thread Harvey Hunt
The id buffer in ata_device is a DMA target, but it isn't explicitly cacheline aligned. Due to this, adjacent fields can be overwritten with stale data from memory on non coherent architectures. As a result, the kernel is sometimes unable to communicate with an ATA device. Fix this by ensuring tha

Re: [PATCH 2/2] hvc_xen: fix xenboot for DomUs

2016-02-24 Thread Stefano Stabellini
patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://github.com/0day-ci/linux/commits/Stefano-Stabellini/hvc_xen-add-earlycon-support/20160224-203006 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.

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

2016-02-24 Thread Arnd Bergmann
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 occur due to DVFS. > > I queued this one for 4.6. > This causes a regressio

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

2016-02-24 Thread Sebastian Andrzej Siewior
On 02/24/2016 04:37 PM, Sekhar Nori wrote: > I don't see the error interrupt count in /proc/interrupts go up although > the code is returning IRQ_NONE when this happens. I initially thought > that must be because of the interrupt being IRQF_SHARED. But getting rid > of IRQF_SHARED still does not le

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

2016-02-24 Thread Brian Gerst
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 change, though, we can > potentially make it all the way in

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

2016-02-24 Thread Liang, Kan
I have no idea why the original email was redirected to Junk folder. Sorry for the late response. I extended BDX-DE uncore code to support BDX-EP. So they share the same code path. But there is no sbox in BDX-DE. I once tried the BDX-EP patch on my BDX-DE, it boots fine. But it looks it doesn't

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

2016-02-24 Thread Sekhar Nori
On Wednesday 24 February 2016 08:50 AM, Peter Hurley wrote: > Just to follow-up on what Sebastian wrote. > > As he pointed out, these spurious interrupts are not timeout interrupts. > Since IIR_UART[0] == 1, no uart interrupt is pending. > > As he wrote, these count as spurious interrupts and tri

[PATCH v7 07/18] perf hists: Resort after filtering hierarchy

2016-02-24 Thread Namhyung Kim
In hierarchy mode, a filter can affect periods of entries in upper hierarchy. So it needs to resort the hists after filter. For example, let's look at following example: Overhead Command / Shared Object / Symbol 30.00%perf 20.00%

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

2016-02-24 Thread Boris Ostrovsky
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 should be explicitly cleared. (Since we introduce ma

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

2016-02-24 Thread romain izard
2016-02-24 15:53 GMT+01:00 Nicolas Ferre : > Le 23/02/2016 17:59, Romain Izard a écrit : >> 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 drive

[PATCH v7 13/18] perf hists browser: Implement hierarchy output

2016-02-24 Thread Namhyung Kim
Implement hierarchy mode in TUI. The output is look like stdio but it also supports to fold/unfold children dynamically. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 290 + 1 file changed, 268 insertions(+), 22

Re: [PATCH] watchdog: orion: Depend on 32-bit ARM

2016-02-24 Thread Guenter Roeck
On 02/24/2016 06:22 AM, Thierry Reding wrote: From: Thierry Reding The driver uses the atomic_io_modify() function to update registers, but that function is only available on 32-bit ARM. Recent changes have added ARCH_MVEBU support to 64-bit ARM and hence allowed this driver to build on 64-bit

RE: [PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Deucher, Alexander
> -Original Message- > From: Geert Uytterhoeven [mailto:geert+rene...@glider.be] > Sent: Wednesday, February 24, 2016 3:14 AM > To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi > Cc: dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org; Geert > Uytterhoeven > Subject: [PA

Re: [PATCH 5/8] arm64: kprobes instruction simulation support

2016-02-24 Thread Marc Zyngier
On 24/02/16 15:07, David Long wrote: > On 02/24/2016 04:05 AM, Marc Zyngier wrote: >> On Wed, 24 Feb 2016 01:56:52 -0500 >> David Long wrote: >> >>> On 02/19/2016 09:04 AM, Marc Zyngier wrote: Hi David, On 18/02/16 23:48, David Long wrote: > From: Sandeepa Prabhu > > Kp

Re: [PATCH v3 0/7] Trim unused exported kernel symbols

2016-02-24 Thread Nicolas Pitre
Gentle ping. On Thu, 18 Feb 2016, Nicolas Pitre wrote: > This patch series provides the option to omit exported symbols from > the kernel and modules that are never referenced by any of the selected > modules in the current kernel configuration. > > The original cover letter with lots of test

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

2016-02-24 Thread David Miller
From: Konstantin Khlebnikov Date: Wed, 24 Feb 2016 08:16:59 +0300 > Major kernel upgrades always break something in weird setups. > This shouldn't block bug fixing. A bug for you is a feature for another person. I'm standing by my position, and will not apply this and break existing setups, sor

Re: [PATCHv6 3/3] rdmacg: Added documentation for rdmacg

2016-02-24 Thread Parav Pandit
On Wed, Feb 24, 2016 at 7:56 PM, Haggai Eran wrote: > On 20/02/2016 13:00, Parav Pandit wrote: >> Added documentation for v1 and v2 version describing high >> level design and usage examples on using rdma controller. >> >> Signed-off-by: Parav Pandit > > I think you might want to mention that res

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-24 Thread Bjorn Helgaas
On Wed, Feb 24, 2016 at 06:46:09AM +, Gabriele Paoloni wrote: > > Hi Bjorn, many thanks for replying > > > -Original Message- > > From: Bjorn Helgaas [mailto:helg...@kernel.org] > > Sent: 24 February 2016 09:14 > > To: Gabriele Paoloni > > Cc: 'Mark Rutland'; Guohanjun (Hanjun Guo); W

[PATCH] dt-bindings: interrupt-controller: add SoC-specific compatible string to Marvell ODMI

2016-02-24 Thread Thomas Petazzoni
As requested by Rob Herring, this commit adds a SoC-specific compatible string to the Marvell ODMI DT binding. Signed-off-by: Thomas Petazzoni --- This commit applies on top of the Marvell ODMI driver patch, which has already been merged. --- .../bindings/interrupt-controller/marvell,odmi-contro

[PATCH v7 09/18] perf ui/stdio: Implement hierarchy output mode

2016-02-24 Thread Namhyung Kim
The hierarchy output mode is to group entries for each level so that user can see higher level picture more easily. It also helps to find out which component is most costly. The output will look like below: 15.11% swapper 14.97% [kernel.vmlinux] 0.09% [libahc

Re: [RFC PATCH 2/2] perf script: Print bpf-output events in 'perf script'

2016-02-24 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 24, 2016 at 11:20:45AM +, Wang Nan escreveu: > This patch allows 'perf script' output messages from BPF program. > For example, use test_bpf_output_3.c at the end of this commit > message, > > # ./perf record -e bpf-output/no-inherit,name=evt/ \ > -e ./test_bpf_ou

[PATCH v7 03/18] perf hists: Resort hist entries with hierarchy

2016-02-24 Thread Namhyung Kim
For hierarchical output, each entries should be sorted in their rbtree (hroot) properly. Add hists__hierarchy_output_resort() to do the job. Note that those hierarchy entries share the period counts, it'd be important to update the hists->stats only once (for leaves). Acked-by: Pekka Enberg Sig

[PATCH v7 02/18] perf hists: Basic support of hierarchical report view

2016-02-24 Thread Namhyung Kim
In the hierarchical view, entries will be grouped and sorted on the first key, and then second key, and so on. Add he->hroot_{in,out} field to keep lower level entries. Actually this can be shared with callchain sorted_root since the hroots are only used by non-leaf entries and callchain is only u

Re: fs: NULL deref in atime_needs_update

2016-02-24 Thread Al Viro
On Wed, Feb 24, 2016 at 02:35:18PM +0100, Dmitry Vyukov wrote: > The warning is this one: > > static inline int should_follow_link(struct nameidata *nd, struct path *link, > int follow, > struct inode *inode, unsigned seq)

[PATCH v7 05/18] perf hists: Introduce hist_entry__filter()

2016-02-24 Thread Namhyung Kim
The hist_entry__filter() function is to filter hist entries using sort key relatd info. This is needed to support hierarchy mode since each hist entry will be associated with a hpp fmt which has a sort key. So each entry should compare to only matching type of filters. To do that, add the ->se_fi

[PATCH] virtio_blk: VIRTIO_BLK_F_WCE->VIRTIO_BLK_F_FLUSH

2016-02-24 Thread Michael S. Tsirkin
Latest virtio spec says the feature bit name is VIRTIO_BLK_F_FLUSH, VIRTIO_BLK_F_WCE is the legacy name. virtio blk header says exactly the reverse - fix that and update driver code to match. Signed-off-by: Michael S. Tsirkin --- I'm inclined to merge it for the current kernel - safe and avoids

[PATCH v7 12/18] perf hists browser: Support collapsing/expanding whole entries in hierarchy

2016-02-24 Thread Namhyung Kim
The 'C' and 'E' keys are to collapse/expand all hist entries. Update nr_hierarchy_entries properly in this case. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 58 ++ 1 file changed, 48 insertions(+), 10 deletions

Re: [PATCH] 6lowpan: fix error checking code

2016-02-24 Thread Marcel Holtmann
Hi Alex, > Bool variable 'fail' is always non-negative, it indicates an error if it > is true. > > The problem has been detected using coccinelle script > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci > > Signed-off-by: Andrzej Hajda > --- > net/6lowpan/iphc.c | 2 +- > 1 file changed

[PATCH v7 11/18] perf hists browser: Count number of hierarchy entries

2016-02-24 Thread Namhyung Kim
Add nr_hierarchy_entries field to keep current number of (unfolded) hist entries. And the hist_entry->nr_rows carries number of direct children. But in the hierarchy mode, entry can have grand children and callchains. So update the number properly using hierarchy_count_rows() when toggling the fol

[PATCH v7 18/18] perf top: Add --hierarchy option

2016-02-24 Thread Namhyung Kim
Support hierarchy output for perf-top using --hierarchy option. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-top.txt | 3 +++ tools/perf/builtin-top.c | 15 +++ 2 files changed, 18 insertions(+) diff --git a/tools/perf/Documenta

Re: [PATCH] virtio_blk: VIRTIO_BLK_F_WCE->VIRTIO_BLK_F_FLUSH

2016-02-24 Thread Paolo Bonzini
On 24/02/2016 16:11, Michael S. Tsirkin wrote: > Latest virtio spec says the feature bit name is VIRTIO_BLK_F_FLUSH, > VIRTIO_BLK_F_WCE is the legacy name. virtio blk header says exactly the > reverse - fix that and update driver code to match. > > Signed-off-by: Michael S. Tsirkin > --- > I'm

[PATCH v7 15/18] perf ui/gtk: Implement hierarchy output mode

2016-02-24 Thread Namhyung Kim
The hierarchy output mode is to group entries for each level so that user can see higher level picture more easily. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 163 +- 1 file changed, 162 insertions(+), 1 deletio

[PATCH v7 08/18] perf hists: Count number of sort keys

2016-02-24 Thread Namhyung Kim
It'll be used for hierarchy output mode to indent entries properly. Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 3 +++ tools/perf/util/hist.h | 1 + 2 files changed, 4 insertions(+) diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 12223d791e9f..edbf854e8e1c 100644 ---

[PATCH v7 14/18] perf hists browser: Align column header in hierarchy mode

2016-02-24 Thread Namhyung Kim
Like in stdio, fit column header to hierarchy output. Merge column headers with "/" as a separator. OverheadCommand / Shared Object / Symbol ... + 0.09%dwm + 0.06%emacs - 0.05%perf - 0.05%[kernel.vmlinux] + 0.03%[k]

[PATCH v7 17/18] perf hists: Support decaying in hierarchy mode

2016-02-24 Thread Namhyung Kim
In the hierarchy mode, hist entries should decay their children too. Also update hists__delete_entry() to be able to free child entries. Acked-by: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 42 ++ 1 file changed, 34 insertions(+

[PATCH v7 16/18] perf report: Add --hierarchy option

2016-02-24 Thread Namhyung Kim
The --hierarchy option is to show output in hierarchy mode. It extends folding/unfolding in the TUI and GTK browsers to support sort items as well as callchains. Users can toggle the items to see the performance result at wanted level. $ perf report --hierarchy --tui Overhead Command

[PATCH v7 06/18] perf hists: Support filtering in hierarchy mode

2016-02-24 Thread Namhyung Kim
The hists__filter_hierarchy() function implements filtering in hierarchy mode. Now we have hist_entry__filter() so use it for entries in the hierarchy. It returns 3 kind of values. A negative value means that it's not filtered by this type. It marks current entry as filtered tentatively so if a

[PATCH v7 10/18] perf ui/stdio: Align column header for hierarchy output

2016-02-24 Thread Namhyung Kim
The hierarchy output mode is to group entries so the existing columns won't fit to the new output. Treat all sort keys as a single column and separate headers by "/". #Overhead Command / Shared Object # ... # 15.11% swapper 1

[PATCH v7 04/18] perf hists: Add helper functions for hierarchy mode

2016-02-24 Thread Namhyung Kim
The rb_hierarchy_{next,prev,last} functions are to traverse all hist entries in a hierarchy. They will be used by various function which supports hierarchy output. As the rb_hierarchy_next() is used to traverse the whole hierarchy, it sometime needs to visit entries regardless of current folding

Re: [PATCH 5/8] arm64: kprobes instruction simulation support

2016-02-24 Thread David Long
On 02/24/2016 04:05 AM, Marc Zyngier wrote: On Wed, 24 Feb 2016 01:56:52 -0500 David Long wrote: On 02/19/2016 09:04 AM, Marc Zyngier wrote: Hi David, On 18/02/16 23:48, David Long wrote: From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from different

[PATCHSET 00/18] perf tools: Add support for hierachy view (v7)

2016-02-24 Thread Namhyung Kim
Hello, This patchset implements a new feature that collects hist entries in a hierachical manner. That means lower-level entries belong to an upper-level entry. The entry hierachy is built on the sort keys given, so users can set it whatever they want. It only shows top-level entries first, and

[PATCH v7 01/18] perf tools: Add helper functions for some sort keys

2016-02-24 Thread Namhyung Kim
The trace, srcline and srcfile sort keys updates hist entry's field later. With the hierarchy mode, those fields are passed to a matching entry so it needs to identify the sort keys. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.h | 3 +++ tools/perf/util/sort.c | 33 +++

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

2016-02-24 Thread Sergey Senozhatsky
On (02/24/16 21:50), Sergey Senozhatsky wrote: > On (02/24/16 12:46), Petr Mladek wrote: > [..] > > > and you get the NMI watchdog softlockup because you have a whole bunch of > > > > > >"of_overlay_destroy: Could not find overlay #6" > > >"### dt-test ### of_unittest_destroy_tracked_overl

Re: [RFC PATCH 0/2] perf tools: Print bpf-output events in 'perf script'

2016-02-24 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 24, 2016 at 11:20:43AM +, Wang Nan escreveu: > Hi Arnaldo and Jiri, > >Glad to see the progress we made today. Indeed, thanks, tested and applied both of these patches, - Arnaldo

Re: [Y2038] [PATCH 8/8] net: sunrpc: Replace CURRENT_TIME by current_fs_time()

2016-02-24 Thread Arnd Bergmann
On Monday 22 February 2016 10:34:31 Trond Myklebust wrote: > > diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c > > index 31789ef..bab3187 100644 > > --- a/net/sunrpc/rpc_pipe.c > > +++ b/net/sunrpc/rpc_pipe.c > > @@ -477,7 +477,9 @@ rpc_get_inode(struct super_block *sb, umode_t mode) > >

Re: [PATCH 40/50] pinctrl: lpc18xx: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Joachim Eastwood
Hi Laxman, On 24 February 2016 at 14:16, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan > Cc: Joachim Eastwood > --- > drivers/pinctrl/pinctrl-lpc18xx.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Acked-by: J

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

2016-02-24 Thread Philipp Zabel
Am Mittwoch, den 24.02.2016, 16:00 +0100 schrieb Arnd Bergmann: > On Wednesday 24 February 2016 13:44:24 Philipp Zabel wrote: > > Am Mittwoch, den 24.02.2016, 13:18 +0100 schrieb Arnd Bergmann: > > > On Wednesday 24 February 2016 12:19:01 Philipp Zabel wrote: > > > > Commit bdb0066df96e ("mfd: sysc

Re: [PATCH 30/48] perf record: Generate tracking events for process forked by perf

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:57AM +, Wang Nan wrote: > With 'perf record --switch-output' without -a, record__synthesize() in > record__switch_output() won't generate tracking events because there's > no thread_map in evlist. Which causes newly created perf.data doesn't > contain map and comm

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

2016-02-24 Thread Arnd Bergmann
On Wednesday 24 February 2016 13:44:24 Philipp Zabel wrote: > Am Mittwoch, den 24.02.2016, 13:18 +0100 schrieb Arnd Bergmann: > > On Wednesday 24 February 2016 12:19:01 Philipp Zabel wrote: > > > Commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform > > > devices") added the po

Re: [PATCH v2] osd: remove deadcode

2016-02-24 Thread Boaz Harrosh
On 02/24/2016 01:21 PM, Sudip Mukherjee wrote: > The variable is_ver1 is always true and so OSD_CAP_LEN can never be > used. > Reported by Coverity. > > Signed-off-by: Sudip Mukherjee ACK-by: Boaz harrosh Thanks > --- > > v2: Joe Perches asked to mention the tool used in the commit log. > >

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

2016-02-24 Thread David Vrabel
On 24/02/16 14:52, Boris Ostrovsky wrote: > On 02/24/2016 09:15 AM, Andrew Cooper wrote: >> On 24/02/16 14:12, David Vrabel wrote: >>> On 22/02/16 22:06, Boris Ostrovsky wrote: Baremetal kernels clear .bss early in the boot. Since Xen PV guests don't excecute that early code they sho

Re: [PATCH] drm/amd: Do not make DRM_AMD_ACP default to y

2016-02-24 Thread Geert Uytterhoeven
Hi Alex, On Wed, Feb 24, 2016 at 3:48 PM, Deucher, Alexander wrote: >> -Original Message- >> From: Geert Uytterhoeven [mailto:geert+rene...@glider.be] >> Sent: Wednesday, February 24, 2016 3:14 AM >> To: David Airlie; Deucher, Alexander; Bayyavarapu, Maruthi >> Cc: dri-de...@lists.freedes

Re: [PATCH 29/48] perf record: Re-synthesize tracking events after output switching

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:56AM +, Wang Nan wrote: > Tracking events describe kernel and threads. They are generated by > reading /proc/kallsyms, /proc/*/maps and /proc/*/task/* during > initialization of 'perf record', serialized into event sequences and put > at the head of 'perf.data'. In

Re: [PATCH v4 16/17] FDT: Add a helper to get specified name subnode

2016-02-24 Thread Rob Herring
On Tue, Feb 23, 2016 at 5:13 AM, Shannon Zhao wrote: > > > On 2016/2/9 13:04, Rob Herring wrote: >> On Thu, Feb 4, 2016 at 9:05 PM, Shannon Zhao >> wrote: >>> From: Shannon Zhao >>> >>> Sometimes it needs to check if there is a node in FDT by full path. >> >> I'm confused. Are you searching by

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

2016-02-24 Thread Nicolas Ferre
Le 23/02/2016 17:59, Romain Izard a écrit : > 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. > > Th

Re: [PATCH] X.509: Fix test for self-signed certificate

2016-02-24 Thread David Howells
Hi Michal, I have the attached patch already in my queue. David --- commit d19fcb825912c67e09e0575b95accaa42899e07f Author: David Howells Date: Wed Feb 24 14:37:54 2016 + X.509: Don't treat self-signed keys specially Trust for a self-signed certificate can normally only be de

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

2016-02-24 Thread Boris Ostrovsky
On 02/24/2016 09:15 AM, Andrew Cooper wrote: On 24/02/16 14:12, David Vrabel wrote: On 22/02/16 22:06, Boris Ostrovsky wrote: Baremetal kernels clear .bss early in the boot. Since Xen PV guests don't excecute that early code they should do it too. (Since we introduce macros for specifying 32-

[PATCH] netxen: Use kobj_to_dev()

2016-02-24 Thread Amitoj Kaur Chawla
Introduce the use of kobj_to_dev() helper function instead of open coding it with container_of() The Coccinelle semantic patch used to make this change is as follows: // @@ expression a; symbol kobj; @@ - container_of(a, struct device, kobj) + kobj_to_dev(a) // Signed-off-by: Amitoj Kaur Chawla

Re: [PATCH 23/48] perf record: Turns auxtrace_snapshot_enable into 3 states

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:50AM +, Wang Nan wrote: > auxtrace_snapshot_enable has only two states (0/1). Turns it into a > triple states enum so SIGUSR2 handler can safely do other works without > triggering auxtrace snapshot. > > Signed-off-by: Wang Nan > Signed-off-by: He Kuang > Cc: Ar

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

2016-02-24 Thread Boris Ostrovsky
On 02/24/2016 07:23 AM, Stefano Stabellini wrote: Introduce EARLYCON support in hvc_xen, useful for early debugging on arm and arm64, where xen early_printk is not available. Differently from xenboot_write_console on x86, we won't just return if !xen_pv_domain(), because arm and arm64 guests are

Re: [PATCH 3.2 00/67] 3.2.78-rc1 review

2016-02-24 Thread Ben Hutchings
On Tue, 2016-02-23 at 18:48 -0800, Guenter Roeck wrote: > On 02/23/2016 01:42 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.78 > > release. > > There are 67 patches in this series, which will be posted as > > responses > > to this one.  If anyone has any issu

Re: [PATCHv6 3/3] rdmacg: Added documentation for rdmacg

2016-02-24 Thread Haggai Eran
On 20/02/2016 13:00, Parav Pandit wrote: > Added documentation for v1 and v2 version describing high > level design and usage examples on using rdma controller. > > Signed-off-by: Parav Pandit I think you might want to mention that resource limits are reflected in the results returned from ib_uv

Re: [PATCH] acpi, pci, irq: account for early penalty assignment

2016-02-24 Thread Sinan Kaya
On 2/24/2016 8:04 AM, Rafael J. Wysocki wrote: > Hi, > > On Tue, Feb 16, 2016 at 3:15 AM, Sinan Kaya wrote: >> On 2/15/2016 7:26 PM, Rafael J. Wysocki wrote: >>> On Mon, Feb 15, 2016 at 5:41 PM, Sinan Kaya wrote: A crash has been observed when assigning penalty on x86 systems. It

[RFC] mm: vmpressure: dynamic window sizing.

2016-02-24 Thread Martijn Coenen
The window size used for calculating vm pressure events was previously fixed at 512 pages. The window size has a big impact on the rate of notifications sent off to userspace, in particular when using the "low" level. On machines with a lot of memory, the current value is likely excessive. On the

[PATCH 02/12] powerpc/module: Mark module stubs with a magic value

2016-02-24 Thread Michael Ellerman
When a module is loaded, calls out to the kernel go via a stub which is generated at runtime. One of these stubs is used to call _mcount(), which is the default target of tracing calls generated by the compiler with -pg. If dynamic ftrace is enabled (which it typicall is), another stub is used to

[PATCH 03/12] powerpc/module: Create a special stub for ftrace_caller()

2016-02-24 Thread Michael Ellerman
In order to support the new -mprofile-kernel ABI, we need to be able to call from the module back to ftrace_caller() (in the kernel) without using the module's r2. That is because the function in this module which is calling ftrace_caller() may not have setup r2, if it doesn't otherwise need it (ie

[PATCH 04/12] powerpc/ftrace: Prepare for -mprofile-kernel

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe The gcc switch -mprofile-kernel, available for ppc64 on gcc > 4.8.5, allows to call _mcount very early in the function, which low-level ASM code and code patching functions need to consider. Especially the link register and the parameter registers are still alive and not yet sa

Re: linux-next: Tree for Feb 24

2016-02-24 Thread Benjamin LaHaise
On Wed, Feb 24, 2016 at 07:32:17AM +0100, Sedat Dilek wrote: > On Wed, Feb 24, 2016 at 6:34 AM, Stephen Rothwell > wrote: > > Hi all, > > > > Changes since 20160223: > > > ... > > The aio tree still had a build failure so I used the version from > > next-20160111. > > > > Might be good to poke t

Re: [PATCH 1/4] soc: rockchip: add bindings for Rockchip grf

2016-02-24 Thread Heiko Stuebner
Am Dienstag, 23. Februar 2016, 15:01:01 schrieb jianqun.xu: > From: Jianqun Xu > > Add devicetree bindings for Rockchip grf which found on > Rockchip SoCs. > > Signed-off-by: Jianqun Xu applied to my dts32 branch for 4.6 with Rob's Ack. Thanks Heiko

Re: [PATCH 21/48] perf record: Extract synthesize code to record__synthesize()

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:48AM +, Wang Nan wrote: SNIP > + err = perf_event__synthesize_auxtrace_info(rec->itr, tool, > + session, process_synthesized_event); > + if (err) > + goto out; > + } > + > + e

Re: [PATCH 22/48] perf tools: Add perf_data_file__switch() helper

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:49AM +, Wang Nan wrote: > perf_data_file__switch() closes current output file, renames it, then > open a new one to continue record. It will be used by perf record > to split output into multiple perf.data files. > > Signed-off-by: Wang Nan > Signed-off-by: He Ku

[PATCH 05/12] powerpc/ftrace: ftrace_graph_caller() needs to save/restore toc

2016-02-24 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/entry_64.S | 8 1 file changed, 8 insertions(+) Squash. diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S index 2a7313cfbc7d..9e77a2c8f218 100644 --- a/arch/powerpc/kernel/entry_64.S +++ b/arch/powerpc/k

[PATCH 06/12] powerpc/module: Rework is_early_mcount_callsite()

2016-02-24 Thread Michael Ellerman
is_early_mcount_callsite() needs to detect either the two instruction or the three instruction versions of the _mcount() sequence. But if we're running a kernel with the two instruction sequence, we need to be careful not to read instruction - 2, otherwise we might fall off the front of a page and

[PATCH 09/12] powerpc/ftrace: Use generic ftrace_modify_all_code()

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe Convert powerpc's arch_ftrace_update_code() from its own version to use the generic default functionality (without stop_machine -- our instructions are properly aligned and the replacements atomic). With this we gain error checking and the much-needed function_trace_op handlin

[PATCH] kernel/resource.c: ensure parent is not freed in __request_region()

2016-02-24 Thread Simon Guinot
The commit 59ceeaaf355fa0fb16558ef7c24413c804932ada ("kernel/resource.c: fix muxed resource handling in __request_region()") don't address properly the case where the current parent resource has been freed while sleeping, waiting for a muxed resource to be available. This patch fixes the issue by

[PATCH 07/12] powerpc/ftrace: FTRACE_WITH_REGS implementation for ppc64le

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe Implement FTRACE_WITH_REGS for powerpc64, on ELF ABI v2. Initial work started by Vojtech Pavlik, used with permission. * arch/powerpc/kernel/entry_64.S: - Implement an effective ftrace_caller that works from within the kernel binary as well as from modules. * arc

[PATCH 10/12] powerpc/ftrace: FTRACE_WITH_REGS configuration variables

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe * arch/powerpc/Makefile: - globally use -mprofile-kernel in case it's configured, available and bug-free. * arch/powerpc/gcc-mprofile-kernel-notrace.sh: - make sure -mprofile-kernel works and has none of the known bugs. * arch/powerpc/kernel/ftrace.c:

[PATCH 11/12] powerpc/ftrace: Rework __ftrace_make_nop()

2016-02-24 Thread Michael Ellerman
__ftrace_make_nop() needs to detect either the two instruction or the three instruction versions of the _mcount() sequence. But if we're running a kernel with the two instruction sequence, we need to be careful not to read from ip - 8, or we'll fault and (possibly) incorrectly declare the sequence

[PATCH 12/12] powerpc/ftrace: Disable profiling for some files

2016-02-24 Thread Michael Ellerman
From: Torsten Duwe Using -mprofile-kernel on early boot code not only confuses the checker but is also useless, as the infrastructure is not yet in place. Proceed like with -pg (remove it from CFLAGS), equally with time.o, ftrace and its helper files. * arch/powerpc/kernel/Makefile, arch/p

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

2016-02-24 Thread Takashi Iwai
On Wed, 24 Feb 2016 13:18:43 +0100, Martin Kepplinger wrote: > > Am 2016-02-24 um 10:13 schrieb Takashi Iwai: > > On Wed, 24 Feb 2016 08:51:32 +0100, > > Takashi Iwai wrote: > >> > >> Since dig_port_map[] is used only for the audio callback, we can > >> assign it dynamically just before the callba

[PATCH 08/12] powerpc/ftrace: Rework ftrace_caller()

2016-02-24 Thread Michael Ellerman
The main change is to just use paca->kernel_toc, rather than a branch to +4 and mflr etc. That makes the code simpler and should also perform better. There was also a sequence after ftrace_call() where we load from pt_regs->nip, move to LR, then a few instructions later load from LRSAVE and move t

[PATCH 01/12] powerpc/module: Only try to generate the ftrace_caller() stub once

2016-02-24 Thread Michael Ellerman
Currently we generate the module stub for ftrace_caller() at the bottom of apply_relocate_add(). However apply_relocate_add() is potentially called more than once per module, which means we will try to generate the ftrace_caller() stub multiple times. Although the current code deals with that corr

Re: [PATCH 18/48] perf tools: Only validate is_pos for tracking evsels

2016-02-24 Thread Jiri Olsa
On Mon, Feb 22, 2016 at 09:10:45AM +, Wang Nan wrote: > is_pos only useful for tracking events (fork, mmap, exit, ...). > Perf collects those events through evsel with 'tracking' set. > Therefore, there's no need to validate every is_pos against > evlist->is_pos. > > This patch is required aft

[PATCH] watchdog: orion: Depend on 32-bit ARM

2016-02-24 Thread Thierry Reding
From: Thierry Reding The driver uses the atomic_io_modify() function to update registers, but that function is only available on 32-bit ARM. Recent changes have added ARCH_MVEBU support to 64-bit ARM and hence allowed this driver to build on 64-bit ARM where this function isn't available and ther

Re: [PATCHv2 1/4] slub: Drop lock at the end of free_debug_processing

2016-02-24 Thread Paolo Bonzini
On 15/02/2016 19:44, Laura Abbott wrote: > -static inline struct kmem_cache_node *free_debug_processing( > +static inline int free_debug_processing( > struct kmem_cache *s, struct page *page, > void *head, void *tail, int bulk_cnt, > unsigned long addr, unsigned long *flags) { r

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