[PATCH v4 00/12] Add support for the Armada 3700 SoC an mvebu ARM64 based

2016-02-16 Thread Gregory CLEMENT
This series introduce the support of the Armada 3700 family: it is the first ARM64 SoC of the mvebu family submitted to the mainline! Currently there are two members of the Armada 3700 family, the only difference is the number of core: the Armada 3710 comes with one Cortex-A53 whereas the Armada

[PATCH v4 11/12] Documentation: arm: update supported Marvell EBU processors

2016-02-16 Thread Gregory CLEMENT
Now that we support Armada 37xx, let's add this family of SoC to the Marvell documentation, and a reference to a link with more details about those processors. As for Armda 39x, no datasheet is publicly available at this time. Signed-off-by: Gregory CLEMENT

[PATCH v4 07/12] Documentation: dt: Tidy up the Marvell related files

2016-02-16 Thread Gregory CLEMENT
Over the last releases we have added more and more Marvell related binding directly in the arm directory. It's time to have our proper directory inside it, and move all the files in it. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni

[PATCH v4 09/12] arm64: dts: add the Marvell Armada 3700 family and a development board

2016-02-16 Thread Gregory CLEMENT
Add initial dtsi files to support Marvell Armada 3700 SoC with Cortex-A53 CPUs. There are two members in this family: the Armada 3710 (Single CPU) and the Armada 3720 (Dual CPUs). It also adds a dts file for the Marvell Armada 3720 DB board. Signed-off-by: Gregory CLEMENT

[PATCH v4 12/12] arm64: defconfig: enable Armada 3700 related config

2016-02-16 Thread Gregory CLEMENT
This patch enables the configuration for the Armada 3700 family and for the related driver it uses. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- arch/arm64/configs/defconfig | 5 + 1 file changed,

[PATCH v4 10/12] MAINTAINERS: Extend dts entry for ARM64 mvebu files

2016-02-16 Thread Gregory CLEMENT
Extend the mvebu entry to ARM64 device tree sources. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v4 01/12] irqchip: armada-370-xp: add Kconfig option for the driver

2016-02-16 Thread Gregory CLEMENT
From: Thomas Petazzoni Instead of building the irq-armada-370-xp driver directly when CONFIG_ARCH_MVEBU is enabled, this commit introduces an intermediate CONFIG_ARMADA_370_XP_IRQ hidden Kconfig option. This allows this option to select other

[PATCH v4 08/12] devicetree: bindings: add DT binding for the Marvell Armada 3700 SoC family

2016-02-16 Thread Gregory CLEMENT
The Marvell Armada 3700 is a family of ARMv8 CA53 SoCs. This commit introduces the Device Tree binding that documents the top-level compatible strings for Armada 3700 based platforms. Signed-off-by: Gregory CLEMENT Acked-by: Rob Herring ---

[PATCH v4 05/12] arm64: add mvebu architecture entry

2016-02-16 Thread Gregory CLEMENT
The Armada 3700 is an mvebu ARM64 SoC using one or two Cortex-A53 cores depending of the variant. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni --- arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6

[PATCH v4 06/12] Documentation: dt-bindings: Add a new compatible for the Armada 3700

2016-02-16 Thread Gregory CLEMENT
The AHCI interfaces used in the Armada 3700 has a few differences with the one used in the Armada 38x, so it deserves its own compatible string. Signed-off-by: Gregory CLEMENT Reviewed-by: Thomas Petazzoni Acked-by: Rob

[PATCH v4 04/12] ata: ahci_mvebu: add support for Armada 3700 variant

2016-02-16 Thread Gregory CLEMENT
From: Lior Amsalem The main difference in the new Armada 3700 is that no address decoding needs to take place in the driver probe. [gregory.clem...@free-electrons.com: reformulate the commit log] Signed-off-by: Lior Amsalem Reviewed-by: Nadav Haklai

[PATCH v4 03/12] serial: mvebu-uart: initial support for Armada-3700 serial port

2016-02-16 Thread Gregory CLEMENT
From: Wilson Ding Armada-3700's uart is a simple serial port, which doesn't support. Configuring the modem control lines. The uart port has a 32 bytes Tx FIFO and a 64 bytes Rx FIFO The uart driver implements the uart core operations. It also support the system (early)

[PATCH v4 02/12] irqchip: armada-370-xp: do not enable it by default when ARCH_MVEBU is selected

2016-02-16 Thread Gregory CLEMENT
The irq-armada-370-xp driver can only be built for ARM 32 bits. The mvebu family had grown with a new ARM64 SoC which will also select the ARCH_MEVBU configuration. Since "ARM: mvebu: use the ARMADA_370_XP_IRQ option", the ARM32 mvebu SoC directly select this new option. Selecting it by default

Re: [PATCH block/for-4.5-fixes] writeback: keep superblock pinned during cgroup writeback association switches

2016-02-16 Thread Jens Axboe
On 02/16/2016 11:24 AM, Tejun Heo wrote: From 586afaa034bec88934bad4eb6ab38ba07031ec5a Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 16 Feb 2016 13:14:35 -0500 If cgroup writeback is in use, an inode is associated with a cgroup for writeback. If the inode's main

Re: [PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-16 Thread Nag Avadhanam
On Tue, 16 Feb 2016, Vladimir Davydov wrote: On Tue, Feb 16, 2016 at 02:58:04AM +, Nag Avadhanam (nag) wrote: We have a class of platforms that are essentially swap-less embedded systems that have limited memory resources (2GB and less). There is a need to implement early alerts (before

Re: [PATCH v1 5/8] mm, kasan: Stackdepot implementation. Enable stackdepot for SLAB

2016-02-16 Thread Alexander Potapenko
On Mon, Feb 1, 2016 at 3:55 AM, Joonsoo Kim wrote: > On Thu, Jan 28, 2016 at 02:27:44PM +0100, Alexander Potapenko wrote: >> On Thu, Jan 28, 2016 at 1:51 PM, Alexander Potapenko >> wrote: >> > >> > On Jan 28, 2016 8:40 AM, "Joonsoo Kim"

[PATCH] ARM: fix __start_rodata_section_aligned on XIP

2016-02-16 Thread Kees Cook
This fixes the build for both allnoconfig (!CONFIG_MMU) and with XIP_KERNEL (due to missing pieces in the linker script), as seen after both "ARM: 8502/1: mm: mark section-aligned portion of rodata NX" and "ARM: 8513/1: xip: Move XIP linking to a separate file". Reported-by: Russell King

[PATCH] of overlay callbacks

2016-02-16 Thread Alan Tull
on next-20160216 and Pantelis' current bbb-overlays branch. Alan Tull (1): of/overlay: of overlay callbacks drivers/of/overlay.c | 90 +- include/linux/of.h | 31 + 2 files changed, 120 insertions(+), 1 deletion(-) -- 1.7.9.5

Re: [PATCH] Use ida_simple for SCSI iSCSI transport session id

2016-02-16 Thread Mike Christie
On 02/15/2016 12:26 PM, Chris Leech wrote: > On Fri, Feb 12, 2016 at 09:54:51AM -0800, James Bottomley wrote: >> On Fri, 2016-02-12 at 09:38 -0800, Lee Duncan wrote: >>> The scsi_transport_iscsi module already uses the ida_simple >>> routines for managing the target ID, if requested to do >>> so.

[PATCH] of/overlay: of overlay callbacks

2016-02-16 Thread Alan Tull
Add overlay callback functionality. When DT overlays are being added, some drivers/subsystems will want to know about the changes before they go into the live tree. Similarly there is a need for post-remove callbacks. Each handler is registered with a of_device_id. When an overlay target

Re: [PATCH 1/2] ARM: mm: DEBUG_RODATA makes no sense with XIP_KERNEL

2016-02-16 Thread Kees Cook
On Tue, Feb 16, 2016 at 8:03 AM, Arnd Bergmann wrote: > When CONFIG_DEBUG_ALIGN_RODATA is set, we get a link error: > > arch/arm/mm/built-in.o:(.data+0x4bc): undefined reference to > `__start_rodata_section_aligned' > > However, this combination is useless, as XIP_KERNEL implies

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

2016-02-16 Thread Christian Borntraeger
On 02/15/2016 10:35 PM, Kirill A. Shutemov wrote: > > Is there any chance that I'll be able to trigger the bug using QEMU? > Does anybody have an QEMU image I can use? qemu/TCG on s390 does neither provide SMP nor large pages (only QEMU/KVM does) so this will probably not help you here.

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Ben Hutchings
On Sun, 2016-02-14 at 14:22 -0800, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Larry Finger > > commit 78bae1de422a7f6f2b4b61f6a5c379e3d7f96f44 upstream. > > This driver

Pilna Aktualizacja Zabezpieczen Do Roku 2016

2016-02-16 Thread System Admin
Ze wzgledu na ostatnie uaktualnienie w naszym serwerem SSL, aby sluzyc Ci lepiej, prosze pamietac, ze wszyscy uzytkownicy sa upowaznione do aktualizacji swoich danych do logowania w innych, aby cieszyc sie nowa aktualizacje DLA 2016. Uzytkownik bedzie zablokowany wysylania i

Re: [PATCH v2] arm64: add alignment fault hanling

2016-02-16 Thread Linus Torvalds
On Tue, Feb 16, 2016 at 9:04 AM, Will Deacon wrote: > [replying to self and adding some x86 people] > > Background: Euntaik reports a problem where userspace has ended up with > a memory page mapped adjacent to an MMIO page (e.g. from /dev/mem or a > PCI memory bar from

[PATCH] [media] v4l2-async: Don't fail if registered_async isn't implemented

2016-02-16 Thread Javier Martinez Canillas
After sub-dev registration in v4l2_async_test_notify(), the v4l2-async core calls the registered_async callback but if a sub-dev driver does not implement it, v4l2_subdev_call() will return a -ENOIOCTLCMD which should not be considered an error. Reported-by: Benoit Parrot

[GIT PULL] Machine check recovery when kernel accesses poison

2016-02-16 Thread Luck, Tony
The following changes since commit 18558cae0272f8fd9647e69d3fec1565a7949865: Linux 4.5-rc4 (2016-02-14 13:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git tags/please-pull-mcsafev11 for you to fetch changes up to

Re: [PATCH] documentation: add kernel-dot.emacs.txt

2016-02-16 Thread Geyslan G. Bem
Hello, 2016-02-16 15:10 GMT-03:00 Tiago Natel de Moura : > Hello folks, > > The patch have some problem with the c-mode-hook setup, in the usage of > c-cleanup-list. On my emacs24 it throw the following error: > > "Invalid indentation setting for symbol c-cleanup-list" > >

Re: [RFC v1 1/9] ASoC: msm8x176: Add Device Tree bindings.

2016-02-16 Thread Mark Rutland
On Tue, Feb 16, 2016 at 05:32:30PM +, Srinivas Kandagatla wrote: > This patch adds DT bindings required for msm8x16 codec which is > integrated in msm8916 and apq8016 SOCs. > > Codec IP is divided into two parts, first analog which is integrated > in pmic pm8916 and secondly digital part

Re: [PATCH 2/3] drm/vc4: Enable runtime PM.

2016-02-16 Thread Eric Anholt
Eric Anholt writes: > +#ifdef CONFIG_PM_SLEEP > +static int vc4_v3d_runtime_suspend(struct device *dev) > +{ > + struct vc4_v3d *v3d = dev_get_drvdata(dev); > + struct vc4_dev *vc4 = v3d->vc4; > + > + vc4_irq_uninstall(vc4->dev); > + > + return 0; > +} > + >

[PATCH] documentation: add kernel-dot.emacs.txt

2016-02-16 Thread Geyslan G. Bem
This patch adds kernel-dot-emacs.txt (elisp) which deliver best indentation, comments and white space highlighting functionalities. This also changes the CodingStyle and 00-INDEX files by referencing the new kernel-dot-emacs. Signed-off-by: Geyslan G. Bem Reviewed-by: Tiago

Re: [RFC v1 2/9] ASoC: msm8x16: add driver structure

2016-02-16 Thread Mark Brown
On Tue, Feb 16, 2016 at 05:32:41PM +, Srinivas Kandagatla wrote: > @@ -195,7 +196,6 @@ snd-soc-wm9705-objs := wm9705.o > snd-soc-wm9712-objs := wm9712.o > snd-soc-wm9713-objs := wm9713.o > snd-soc-wm-hubs-objs := wm_hubs.o > - > # Amp > snd-soc-max9877-objs := max9877.o >

Re: [PATCH] usb: check for signals in chaoskey read function

2016-02-16 Thread Keith Packard
Oliver Neukum writes: > why is this needed? You are doing this right after a > mutex_lock_interruptible(). When the device isn't contended, this mutex will never block and so mutex_lock_interruptible will never check for a signal. I had mistakenly assumed that usb_bulk_msg

Re: [PATCH v3 0/5] ACPI: parse the SPCR table

2016-02-16 Thread Mark Salter
On Mon, 2016-02-15 at 21:05 +0300, Aleksey Makarov wrote: > This patchset is based on the patchset by Leif Lindholm [1] > > 'ARM Server Base Boot Requirements' [2] mentions SPCR (Serial Port > Console Redirection Table) [3] as a mandatory ACPI table that > specifies the configuration of serial

[PATCH] writeback: initialize inode members that track writeback history

2016-02-16 Thread Tahsin Erdogan
inode struct members that track cgroup writeback information should be reinitialized when inode gets allocated from kmem_cache. Otherwise, their values remain and get used by the new inode. Signed-off-by: Tahsin Erdogan --- fs/inode.c | 6 ++ 1 file changed, 6

Re: Kernel docs: muddying the waters a bit

2016-02-16 Thread Keith Packard
Jani Nikula writes: > However I didn't think Sphinx could produce docbook, and a quick search > doesn't convince me otherwise. Do you have some links to back this up? > Would the lack of docbook be a showstopper? (Of course, the pandoc > swiss-army knife can handle

Panic in nf_ct_seq_adjust (be2net, synproxy, heavy load)

2016-02-16 Thread Grzegorz Nosek
Hi, I have finally managed to capture a stack trace from an intermittent crash we've been observing under heavy load. There are two identical machines w/dual-port Emulex 10 Gbps NICs running in an active-passive firewall cluster (though more like passive-passive in reality). As far as I

Re: [RFC v1 4/9] ASoC: msm8x16: add ranges for default, readonly

2016-02-16 Thread Mark Brown
On Tue, Feb 16, 2016 at 05:32:56PM +, Srinivas Kandagatla wrote: > This patch add register ranges for readonly, default and reset register > values. This split of the patches is really not helping at all. The patches cross reference each other which makes things harder to follow and it's

Re: [PATCH v6 1/2] ACPI: introduce a function to find the first physical device

2016-02-16 Thread Rafael J. Wysocki
On Tuesday, February 16, 2016 03:52:38 PM Aleksey Makarov wrote: > Factor out the code that finds the first physical device > of a given ACPI device. It is used in several places. > > Signed-off-by: Aleksey Makarov OK, I've queued up this one and the [2/2] for v4.6.

Re: [ANNOUNCE] 4.4.1-rt6

2016-02-16 Thread Clark Williams
On Mon, 15 Feb 2016 22:53:58 -0600 Clark Williams wrote: > On Sat, 13 Feb 2016 00:47:08 +0100 > Sebastian Andrzej Siewior wrote: > > > - There is a useless rcu_bh thread which has been deactivated. > > > > For some strange reason I had

[PATCH 1/2] cpuidle: menu: avoid expensive square root computation

2016-02-16 Thread Rasmus Villemoes
Computing the integer square root is a rather expensive operation, at least compared to doing a 64x64 -> 64 multiply (avg*avg) and, on 64 bit platforms, doing an extra comparison to a constant (variance <= U64_MAX/36). On 64 bit platforms, this does mean that we add a restriction on the range of

[PATCH 2/2] cpuidle: menu: help gcc generate slightly better code

2016-02-16 Thread Rasmus Villemoes
We know that the avg variable actually ends up holding a 32 bit quantity, since it's an average of such numbers. It is only a u64 because it is temporarily used to hold the sum. Making it an actual u32 allows gcc to generate slightly better code, e.g. when computing the square, it can do a

Re: [PATCH] ARM: fix __start_rodata_section_aligned on XIP

2016-02-16 Thread Geert Uytterhoeven
Hi Kees, On Tue, Feb 16, 2016 at 7:38 PM, Kees Cook wrote: > This fixes the build for both allnoconfig (!CONFIG_MMU) and with > XIP_KERNEL (due to missing pieces in the linker script), as seen after > both "ARM: 8502/1: mm: mark section-aligned portion of rodata NX" and >

Re: [RFC v1 5/9] ASoC: msm8x16: add codec intialization setup

2016-02-16 Thread Mark Brown
On Tue, Feb 16, 2016 at 05:33:03PM +, Srinivas Kandagatla wrote: > + if (micbias1 && micbias2) { > + if ((wcd->micbias1_cap_mode == MICBIAS_EXT_BYP_CAP) || > + (wcd->micbias2_cap_mode == MICBIAS_EXT_BYP_CAP)) > + snd_soc_update_bits(codec, >

Re: [PATCH 4/4] ASoC: simple-card: Support for selecting system clocks by ID

2016-02-16 Thread Michael Turquette
Quoting Mark Brown (2016-02-16 05:42:33) > On Tue, Feb 16, 2016 at 11:46:52AM +0200, Peter Ujfalusi wrote: > > > As for codecs, tlv320aic3106 is also pretty simple device from the outside, > > it > > can receive it's reference clock via: > > MCLK pin, GPIO2 pin or it can use the BCLK from the

Re: [PATCH 0/3] acpi: remove modular references from non modular code

2016-02-16 Thread Rafael J. Wysocki
On Monday, February 15, 2016 12:27:48 AM Paul Gortmaker wrote: > An audit of i386/x86_64 allmodconfig builds found these instances of > non-modular ACPI code needlessly using the modular equivalents of > their built-in counterparts. > > In fixing that, we get rid of some dead code, make the

Re: [PATCH V2] AHCI: Workaround for ThunderX Errata#22536

2016-02-16 Thread Tirumalesh Chalamarla
On 02/16/2016 06:42 AM, Robert Richter wrote: On 15.02.16 13:30:41, Tejun Heo wrote: On Sun, Feb 14, 2016 at 07:36:18PM -0800, Tirumalesh Chalamarla wrote: There is no need for special Driver, AHCI is sufficient for ThunderX, the file only contains this interrupt handler, is it preferable if

Re: Unhelpful caching decisions, possibly related to active/inactive sizing

2016-02-16 Thread Johannes Weiner
On Fri, Feb 12, 2016 at 08:35:53PM +0100, Andres Freund wrote: > To make an actually usable patch out of this it seems we'd have to add a > 'partial' argument to grab_cache_page_write_begin(), so writes to parts > of a page still cause the pages to be marked active. Is it preferrable > to change

Re: [PATCH 1/8] perf, tools, stat: Abstract stat metrics printing

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Sat, Jan 30, 2016 at 09:06:49AM -0800, Andi Kleen escreveu: > v2: Refactor functions, printout now does more. Move > shadow printing. Improve fallback callbacks. Don't > use void * callback data. > v3: Remove unnecessary hunk. Add typedef for new_line > v4: Remove unnecessary hunk. Don't print

Re: [RFC v1 6/9] ASoC: msm8x16: add codec dais

2016-02-16 Thread Mark Brown
On Tue, Feb 16, 2016 at 05:33:10PM +, Srinivas Kandagatla wrote: > +static int msm8x16_wcd_set_interpolator_rate(struct snd_soc_dai *dai, > + u8 rx_fs_rate_reg_val, u32 sample_rate) > +{ > + return 0; > +} Don't include empty functions, just remove them. signature.asc Description:

Re: [RFC v1 1/9] ASoC: msm8x176: Add Device Tree bindings.

2016-02-16 Thread Srinivas Kandagatla
Thanks for the review, On 16/02/16 18:58, Mark Rutland wrote: On Tue, Feb 16, 2016 at 05:32:30PM +, Srinivas Kandagatla wrote: This patch adds DT bindings required for msm8x16 codec which is integrated in msm8916 and apq8016 SOCs. Codec IP is divided into two parts, first analog which is

Re: [PATCH V2] AHCI: Workaround for ThunderX Errata#22536

2016-02-16 Thread David Daney
On 02/16/2016 11:14 AM, Tirumalesh Chalamarla wrote: On 02/16/2016 06:42 AM, Robert Richter wrote: On 15.02.16 13:30:41, Tejun Heo wrote: On Sun, Feb 14, 2016 at 07:36:18PM -0800, Tirumalesh Chalamarla wrote: There is no need for special Driver, AHCI is sufficient for ThunderX, the file

[PATCH] dmaengine: pxa_dma: fix cyclic transfers

2016-02-16 Thread Robert Jarzmik
While testing audio with pxa2xx-ac97, underrun were happening while the user application was correctly feeding the music. Debug proved that the cyclic transfer is not cyclic, ie. the last descriptor did not loop on the first. This was tested on a pxa27x platform. Fixes: a57e16cf0333 ("dmaengine:

Re: [PATCH 0/6] HID: wacom: cleanup

2016-02-16 Thread Jiri Kosina
On Fri, 12 Feb 2016, Benjamin Tissoires wrote: > While working on the wacom.ko driver, I ended up having those 6 patches that > the current wacom.ko could benefit right now. > > Besides cleaning, the only gain users will see is in patch 6 which allows to > actually use the wireless receiver (for

[PATCH] mm/hugetlb: Fix incorrect proc nr_hugepages value

2016-02-16 Thread Vaishali Thakkar
Currently incorrect default hugepage pool size is reported by proc nr_hugepages when number of pages for the default huge page size is specified twice. When multiple huge page sizes are supported, /proc/sys/vm/nr_hugepages indicates the current number of pre-allocated huge pages of the default

[PATCH] fs/pnode.c: treat zero mnt_group_id-s as unequal

2016-02-16 Thread Maxim Patlasov
propagate_one(m) calculates "type" argument for copy_tree() like this: >if (m->mnt_group_id == last_dest->mnt_group_id) { >type = CL_MAKE_SHARED; >} else { >type = CL_SLAVE; >if (IS_MNT_SHARED(m)) > type |= CL_MAKE_SHARED; > } The "type" argument then

[PATCH 2/2] tracing: Fix freak link error caused by branch tracer

2016-02-16 Thread Steven Rostedt
From: Arnd Bergmann In my randconfig tests, I came across a bug that involves several components: * gcc-4.9 through at least 5.3 * CONFIG_GCOV_PROFILE_ALL enabling -fprofile-arcs for all files * CONFIG_PROFILE_ALL_BRANCHES overriding every if() * The optimized implementation of

[PATCH 0/2] [GIT PULL] tracing: A couple of fixes

2016-02-16 Thread Steven Rostedt
Linus, This includes two fixes. The first is something that has come up a few times and has been worked out individually, but it's come up now enough that the problem should be generic. Tracepoints are protected by RCU sched. There are several tracepoints within core infrastructure like

[PATCH 1/2] tracepoints: Do not trace when cpu is offline

2016-02-16 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The tracepoint infrastructure uses RCU sched protection to enable and disable tracepoints safely. There are some instances where tracepoints are used in infrastructure code (like kfree()) that get called after a CPU is going offline, and

Re: [PATCH V2] AHCI: Workaround for ThunderX Errata#22536

2016-02-16 Thread Tirumalesh Chalamarla
On 02/16/2016 11:38 AM, David Daney wrote: On 02/16/2016 11:14 AM, Tirumalesh Chalamarla wrote: On 02/16/2016 06:42 AM, Robert Richter wrote: On 15.02.16 13:30:41, Tejun Heo wrote: On Sun, Feb 14, 2016 at 07:36:18PM -0800, Tirumalesh Chalamarla wrote: There is no need for special Driver,

Re: livepatch/module: remove livepatch module notifier

2016-02-16 Thread Jessica Yu
+++ Miroslav Benes [16/02/16 09:41 +0100]: On Mon, 15 Feb 2016, Jessica Yu wrote: +++ Jiri Kosina [16/02/16 00:42 +0100]: > On Mon, 15 Feb 2016, Josh Poimboeuf wrote: > > > So I think the commit causing the regression is 5156dca34a3e, which > > occurred in the 4.5 cycle, *not* in 4.4. > >

Re: [PATCH] [media] v4l2-async: Don't fail if registered_async isn't implemented

2016-02-16 Thread Benoit Parrot
Javier Martinez Canillas wrote on Tue [2016-Feb-16 15:51:05 -0300]: > After sub-dev registration in v4l2_async_test_notify(), the v4l2-async > core calls the registered_async callback but if a sub-dev driver does > not implement it, v4l2_subdev_call() will return a

Re: [PATCH] fs/pnode.c: treat zero mnt_group_id-s as unequal

2016-02-16 Thread Al Viro
On Tue, Feb 16, 2016 at 11:45:33AM -0800, Maxim Patlasov wrote: > propagate_one(m) calculates "type" argument for copy_tree() like this: > > >if (m->mnt_group_id == last_dest->mnt_group_id) { > >type = CL_MAKE_SHARED; > >} else { > >type = CL_SLAVE; > >if

Re: [PATCH 2/8] perf, tools, stat: Add support for metrics in interval mode

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Sat, Jan 30, 2016 at 09:06:50AM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Now that we can modify the metrics printout functions easily, > it's straight forward to support metric printing for interval mode. > All that is needed is to print the time stamp on every

Re: Kernel docs: muddying the waters a bit

2016-02-16 Thread Jonathan Corbet
On Tue, 16 Feb 2016 11:13:29 -0800 Keith Packard wrote: > https://github.com/HolgerPeters/sphinxcontrib-docbook > > which appears to provide docbook output for sphinx, but I haven't tested > this at all. Yup, that's the one I found, the one that says "Very much work in

[PATCH 1/2] cpufreq: ondemand: Simplify od_update() slightly

2016-02-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Drop some lines of code from od_update() by arranging the statements in there in a more logical way. No functional changes. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/cpufreq_ondemand.c | 11

[PATCH 2/2] cpufreq: ondemand: Drop unused callback from struct od_ops

2016-02-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ->freq_increase callback in struct od_ops is never invoked, so drop it. No functional changes. Signed-off-by: Rafael J. Wysocki --- drivers/cpufreq/cpufreq_governor.h |1 -

[PATCH 0/2] cpufreq: ondemand: Small cleanups

2016-02-16 Thread Rafael J. Wysocki
Hi, Two cleanups for the ondemand governor. [1/2] rearranges some code to avoid duplication. [2/2] drops a governor-specific callback that's never used. Both on top of the linux-next branch of the linux-pm.git tree from today. Thanks, Rafael

Re: [PATCH] [media] v4l2-async: Don't fail if registered_async isn't implemented

2016-02-16 Thread Javier Martinez Canillas
Hello Benoit, On 02/16/2016 04:53 PM, Benoit Parrot wrote: Javier Martinez Canillas wrote on Tue [2016-Feb-16 15:51:05 -0300]: After sub-dev registration in v4l2_async_test_notify(), the v4l2-async core calls the registered_async callback but if a sub-dev driver does

Re: [PATCH v2] net: smc91x: propagate irq return code

2016-02-16 Thread David Miller
From: Robert Jarzmik Date: Sat, 6 Feb 2016 22:23:20 +0100 > The smc91x driver doesn't honor the probe deferral mechanism when the > interrupt source is not yet available, such as one provided by a gpio > controller not probed. > > Fix this by propagating the

Re: coccinelle: also catch kzfree() issues

2016-02-16 Thread SF Markus Elfring
>> @free@ >> +identifier kfree =~ "kz?free"; > > Thanks for the suggestions. However, the regular expression is not such a > good idea. How much is such a SmPL constraint still usable then? > Coccinelle doesn't make any optimizations based on regulat expressions. Where can your software

[PATCH v2] [media] v4l2-async: Don't fail if registered_async isn't implemented

2016-02-16 Thread Javier Martinez Canillas
After sub-dev registration in v4l2_async_test_notify(), the v4l2-async core calls the registered_async callback but if a sub-dev driver does not implement it, v4l2_subdev_call() will return a -ENOIOCTLCMD which should not be considered an error. Reported-by: Benoit Parrot

Re: [PATCH 3/8] perf, tools, stat: Move noise/running printing into printout

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Sat, Jan 30, 2016 at 09:06:51AM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Move the running/noise printing into printout to avoid > duplicated code in the callers. > > v2: Merged with other patches. Remove unnecessary hunk. > Readd hunk that ended in earlier

Re: [PATCH v5] net: ethernet: nb8800: support fixed-link DT node

2016-02-16 Thread David Miller
From: Sebastian Frias Date: Mon, 08 Feb 2016 11:23:04 +0100 > > Under some circumstances, for example when connecting > to a switch: > > https://stackoverflow.com/questions/31046172/device-tree-for-phy-less-connection-to-a-dsa-switch > > the ethernet port will not be

Re: [PATCH v6 01/25] perf hists browser: Fix percentage update on key press

2016-02-16 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 16, 2016 at 11:08:19PM +0900, Namhyung Kim escreveu: > Currently 'perf top --tui' decrements percentage of all entries on any > key press. This is because it adds total period as new samples are > added to hists. As perf-top does it currently but added samples are not > passed to the

Re: [PATCH v3 0/5] ACPI / processor_idle: Add ACPI v6.0 LPI support

2016-02-16 Thread Rafael J. Wysocki
On Wednesday, December 02, 2015 02:10:41 PM Sudeep Holla wrote: > ACPI 6.0 introduced LPI(Low Power Idle) states that provides an alternate > method to describe processor idle states. It extends the specification > to allow the expression of idle states like C-states selectable by the > OSPM when

[PATCH V3] AHCI: Workaround for ThunderX Errata#22536

2016-02-16 Thread tchalamarla
From: Tirumalesh Chalamarla Due to Errata in ThunderX, HOST_IRQ_STAT should be cleared before leaving the interrupt handler. The patch attempts to satisfy the need. Changes from V2: - removed newfile - code is now under CONFIG_ARM64 Changes from

Re: [PATCH v3 1/5] ACPI / processor : add support for ACPI0010 processor container

2016-02-16 Thread Rafael J. Wysocki
On Wednesday, December 02, 2015 02:10:42 PM Sudeep Holla wrote: > ACPI 6.0 adds support for optional processor container device which may > contain child objects that are either processor devices or other processor > containers. This allows representing hierarchical processor topologies. > > It

Re: [PATCH v3 0/6] irqchip: irq-armada-370-xp: generic MSI infrastructure and assorted fixes

2016-02-16 Thread Thomas Petazzoni
Hello, On Tue, 16 Feb 2016 17:49:37 +, Jason Cooper wrote: > > Note that this patch series depends on the patch series from Marc > > Zyngier for proper operation, which have already been merged in > > tip.git by Thomas Gleixner: > > > > > >

Re: [PATCH] net: am79c961a: avoid %? in inline assembly

2016-02-16 Thread David Miller
From: Arnd Bergmann Date: Mon, 8 Feb 2016 15:33:42 +0100 > The am79c961a.c driver fails to build with clang because of an > unusual inline assembly construct: > > drivers/net/ethernet/amd/am79c961a.c:53:7: error: invalid % escape in inline > assembly string > "str%?h

Re: [PATCH 1/2] tracepoints: Do not trace when cpu is offline

2016-02-16 Thread Mathieu Desnoyers
- On Feb 16, 2016, at 2:49 PM, rostedt rost...@goodmis.org wrote: > From: "Steven Rostedt (Red Hat)" > > The tracepoint infrastructure uses RCU sched protection to enable and > disable tracepoints safely. There are some instances where tracepoints are > used in

https://patchwork.ozlabs.org/patch/579654?

2016-02-16 Thread Rainer Weikusat
https://patchwork.ozlabs.org/patch/579654 lists this as 'superseded', among with the older versions of the patch which changed the error handling. But at least, I couldn't find anything superseding it. This was supposed to address the different-but-related problem demonstrated by the following

Re: [PATCH v3 2/5] ACPI / sleep: move acpi_processor_sleep to sleep.c

2016-02-16 Thread Rafael J. Wysocki
On Wednesday, December 02, 2015 02:10:43 PM Sudeep Holla wrote: > acpi_processor_sleep is neither related nor used by CPUIdle framework. > It's used in system suspend/resume path as a syscore operation. It makes > more sense to move it to acpi/sleep.c where all the S-state transition > (a.k.a.

Re: [PATCH v2] [media] v4l2-async: Don't fail if registered_async isn't implemented

2016-02-16 Thread Benoit Parrot
Tested-by: Benoit Parrot Javier Martinez Canillas wrote on Tue [2016-Feb-16 17:03:21 -0300]: > After sub-dev registration in v4l2_async_test_notify(), the v4l2-async > core calls the registered_async callback but if a sub-dev driver does > not implement

Re: [PATCH v3 3/5] ACPI / processor_idle: replace PREFIX with pr_fmt

2016-02-16 Thread Rafael J. Wysocki
On Wednesday, December 02, 2015 02:10:44 PM Sudeep Holla wrote: > Like few of the other ACPI modules, replace PREFIX with pr_fmt and > change all the printk call sites to use pr_* companion functions > in processor_idle. > > Cc: "Rafael J. Wysocki" > Signed-off-by: Sudeep

Re: [PATCH] ARM: fix __start_rodata_section_aligned on XIP

2016-02-16 Thread Kees Cook
On Tue, Feb 16, 2016 at 11:20 AM, Geert Uytterhoeven wrote: > Hi Kees, > > On Tue, Feb 16, 2016 at 7:38 PM, Kees Cook wrote: >> This fixes the build for both allnoconfig (!CONFIG_MMU) and with >> XIP_KERNEL (due to missing pieces in the linker

Re: [PATCH v3 4/5] ACPI / processor_idle : introduce ARCH_SUPPORTS_ACPI_PROCESSOR_CSTATE

2016-02-16 Thread Rafael J. Wysocki
On Wednesday, December 02, 2015 02:10:45 PM Sudeep Holla wrote: > ACPI 6.0 adds a new method to specify the CPU idle states(C-states) > called Low Power Idle(LPI) states. Since new architectures like ARM64 > use only LPIs, introduce ARCH_SUPPORTS_ACPI_PROCESSOR_CSTATE to > encapsulate all the code

Re: coccinelle: also catch kzfree() issues

2016-02-16 Thread Julia Lawall
On Tue, 16 Feb 2016, SF Markus Elfring wrote: > >> @free@ > >> +identifier kfree =~ "kz?free"; > > > > Thanks for the suggestions. However, the regular expression is not such a > > good idea. > > How much is such a SmPL constraint still usable then? > > > > Coccinelle doesn't make any

Re: [PATCH] net: fec: Add "phy-reset-active-low" property to DT

2016-02-16 Thread David Miller
From: Bernhard Walle Date: Mon, 8 Feb 2016 21:21:13 +0100 > We need that for a custom hardware that needs the reverse reset > sequence. > > Signed-off-by: Bernhard Walle Applied to net-next, thanks.

Re: [RFC v1 7/9] ASoC: msm8x16: Add sound mixer controls.

2016-02-16 Thread Mark Brown
On Tue, Feb 16, 2016 at 05:33:28PM +, Srinivas Kandagatla wrote: > +static const char * const msm8x16_wcd_spk_boost_ctrl_text[] = { > + "DISABLE", "ENABLE"}; On/off switches should be presented to usersrpace as on/off switches with "Switch" at the end of their name not as

Re: [PATCH 0/2] crypto: atmel-sha - fix .import()/.export() implementation

2016-02-16 Thread Herbert Xu
On Mon, Feb 08, 2016 at 04:26:47PM +0100, Cyrille Pitchen wrote: > This series of patches includes two fixes for the atmel-sha.c driver. > > The first one fixes the implementation of the import/export hooks, which > did not pass the recent updates in testmgr.c (partial update exercise). > The new

Re: [PATCH 4.4 112/117] rtlwifi: rtl8821ae: Fix errors in parameter initialization

2016-02-16 Thread Luis Henriques
On Tue, Feb 16, 2016 at 06:46:04PM +, Ben Hutchings wrote: > On Sun, 2016-02-14 at 14:22 -0800, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Larry Finger > >

Re: [PATCH v2 1/2] dt/bindings: Add bindings for the PIC32 random number generator

2016-02-16 Thread Herbert Xu
On Mon, Feb 08, 2016 at 02:17:52PM -0700, Joshua Henderson wrote: > Document the devicetree bindings for the random number generator found > on Microchip PIC32 class devices. > > Signed-off-by: Joshua Henderson > Acked-by: Rob Herring All

Re: [PATCH] crypto: mark authenticated ctr(aes) also as FIPS able

2016-02-16 Thread Herbert Xu
On Sat, Feb 06, 2016 at 11:53:07AM +0100, Marcus Meissner wrote: > (2nd try that adds missing , to build.) > > Signed-off-by: Marcus Meissner Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: coccinelle: also catch kzfree() issues

2016-02-16 Thread SF Markus Elfring
>>> Coccinelle doesn't make any optimizations based on regulat expressions. >> >> Where can your software optimise the source code search? > > When the name appears explicitly in the matching code, Coccinelle will > parse and process only files that contain that name. Does your software perform

Re: [PATCH] net: ti: netcp: restore get/set_pad_info() functionality

2016-02-16 Thread David Miller
I would like some of the feedback to be taken into consideration and integrated into this patch. Part of the reason this regression was introduced was probably because the purpose of some fields or descriptor semantics was not defined properly. Therefore it is absolutely appropriate to properly

Re: Fixes for rockchip EMAC

2016-02-16 Thread David Miller
From: Alexander Kochetkov Date: Tue, 9 Feb 2016 18:20:37 +0300 > Here is a set of 3 patches what fix koops, memory leak and > rockchip EMAC hang. Tested on radxarock lite. Series applied, thanks.

Re: [PATCH net-next] hv_netvsc: Increase delay for RNDIS_STATUS_NETWORK_CHANGE

2016-02-16 Thread David Miller
From: Haiyang Zhang Date: Tue, 9 Feb 2016 15:31:34 + > 1) I share your concern as well. Is there a universal way to immediately > trigger > DHCP renew of all current and future daemons with a single event from kernel? > If not, can we put the delay

[PATCH] ARM: drop unused DEBUG_RODATA from XIP_KERNEL

2016-02-16 Thread Kees Cook
With CONFIG_DEBUG_RODATA not being sensible under XIP_KERNEL, remove it from the XIP linker script. Signed-off-by: Kees Cook --- Effectively the patch after Arnd's "ARM: mm: hide __start_rodata_section_aligned for non-debug builds" --- arch/arm/kernel/vmlinux-xip.lds.S |

Re: [PATCH 1/2] ARM: mm: DEBUG_RODATA makes no sense with XIP_KERNEL

2016-02-16 Thread Kees Cook
On Tue, Feb 16, 2016 at 8:03 AM, Arnd Bergmann wrote: > When CONFIG_DEBUG_ALIGN_RODATA is set, we get a link error: > > arch/arm/mm/built-in.o:(.data+0x4bc): undefined reference to > `__start_rodata_section_aligned' > > However, this combination is useless, as XIP_KERNEL implies

  1   2   3   4   5   6   7   8   9   10   >