[patch] ib_srpt: fix a WARN_ON() message

2016-03-18 Thread Dan Carpenter
The first argument of WARN_ON() is a condition, so it means the warning message here will just be the name without the ->qp_num information. Signed-off-by: Dan Carpenter diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index 1d13090..0bd3cb2 100644 ---

Re: [PATCH v3 0/2] Livepatch module notifier cleanup

2016-03-18 Thread Jiri Kosina
On Wed, 16 Mar 2016, Jessica Yu wrote: > These are the remaining 2 patches that came from the original ftrace/livepatch > module notifier patchset found here: https://lkml.org/lkml/2016/2/8/1180 > > Basically, the patchset does a bit of module.c cleanup (patch 1) in > preparation for the

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-18 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 11:15 AM, Sedat Dilek wrote: > On Thu, Mar 17, 2016 at 10:33 AM, Miklos Szeredi wrote: >> On Thu, Mar 17, 2016 at 10:09 AM, Sedat Dilek wrote: >>> On Thu, Mar 17, 2016 at 10:02 AM, Miklos Szeredi wrote: From: Miklos Szeredi This series fixes bugs in nfs

Re: [PATCH] net: mvneta: bm: clarify dependencies

2016-03-18 Thread David Miller
From: Arnd Bergmann Date: Tue, 15 Mar 2016 22:47:14 +0100 > MVNETA_BM has a dependency on MVNETA, so we can only select the former > if the latter is enabled. However, the code dependency is the reverse: > The mvneta module can call into the mvneta_bm module, so mvneta cannot > be a built-in if

Re: [GIT PULL] USB driver patches for 4.6-rc1

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 2:43 PM, Linus Torvalds wrote: > > Something in this - or possibly the tty pull, but that doesn't sound > very likely - has killed my USB keyboard on my desktop. Yeah, the bisect is now solidly in the usb part. The machine has 00:14.0 USB controller: Intel Corporation

Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-18 Thread Philip Li
On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote: > On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot > wrote: > > Hi Al, > > > > FYI, the error/warning still remains. > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head:

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-18 Thread Juri Lelli
Hi, On 17/03/16 00:51, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: [PATCH] cpufreq: Support for fast frequency switching > [...] > +void cpufreq_enable_fast_switch(struct cpufreq_policy *policy) > +{ > + lockdep_assert_held(>rwsem); > + > +

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-18 Thread Gregory Farnum
On Thu, Mar 17, 2016 at 10:47 AM, Linus Torvalds wrote: > On Wed, Mar 16, 2016 at 10:18 PM, Gregory Farnum wrote: >> >> So we've not asked for NO_HIDE_STALE on the mailing lists, but I think >> it was one of the problems Sage had using xfs in his BlueStore >> implementation and was a big part of

Re: [PATCH] UBIFS: Implement ->migratepage()

2016-03-18 Thread Richard Weinberger
Am 17.03.2016 um 05:39 schrieb kbuild test robot: > Hi Kirill, > > [auto build test ERROR on v4.5-rc7] > [also build test ERROR on next-20160316] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: >

Re: [RFT] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-03-18 Thread Luis R. Rodriguez
On Wed, Mar 16, 2016 at 12:16:57PM +0200, Oded Gabbay wrote: > On Wed, Mar 16, 2016 at 12:14 PM, Joerg Roedel wrote: > > On Wed, Mar 16, 2016 at 09:02:43AM +0200, Oded Gabbay wrote: > >> fwiw, we currently have this covered by the ugly hack of putting iommu > >> subsystem in front of gpu

Re: [PATCH] mm/page_isolation: let caller take the zone lock for test_pages_isolated

2016-03-18 Thread Lucas Stach
Am Freitag, den 18.03.2016, 02:18 +0900 schrieb Joonsoo Kim: > 2016-03-17 1:49 GMT+09:00 Lucas Stach : > > This fixes an annoying race in the CMA code leading to lots of "PFNs busy" > > messages when CMA is used concurrently. This is harmless normally as CMA > > will just retry the allocation at a

Re: [PATCH] USB: serial: ftdi_sio: Add support for ICP DAS I-756xU devices

2016-03-18 Thread Josh Boyer
On Thu, Mar 10, 2016 at 9:48 AM, Josh Boyer wrote: > A Fedora user reports that the ftdi_sio driver works properly for the > ICP DAS I-7561U device. Further, the user manual for these devices > instructs users to load the driver and add the ids using the sysfs > interface. > > Add support for

Re: [PATCH v2] mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED

2016-03-18 Thread Ulf Hansson
On 22 February 2016 at 18:18, Mark Salyzyn wrote: > When CONFIG_MMC_SIMULATE_MAX_SPEED is enabled, Expose max_read_speed, > max_write_speed and cache_size sysfs controls to simulate a slow > eMMC device. The boot default values, should one wish to set this > behavior right from kernel start: > >

Re: [PATCH v4 7/8] Documentation: devicetree: rockchip: Document Landingship

2016-03-18 Thread Andreas Färber
Am 18.03.2016 um 22:30 schrieb Rob Herring: > On Wed, Mar 16, 2016 at 02:58:45PM +0100, Andreas Färber wrote: >> Use "geekbuying,geekbox-landingship" compatible string, plus those of >> the GeekBox module. >> >> Signed-off-by: Andreas Färber >> --- >> v3 -> v4: Unchanged >> >> v2 -> v3: >> *

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-18 Thread Ric Wheeler
On 03/17/2016 01:47 PM, Linus Torvalds wrote: On Wed, Mar 16, 2016 at 10:18 PM, Gregory Farnum wrote: So we've not asked for NO_HIDE_STALE on the mailing lists, but I think it was one of the problems Sage had using xfs in his BlueStore implementation and was a big part of why it moved to pure

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-18 Thread Catalin Marinas
On Wed, Mar 16, 2016 at 10:26:08AM -0500, Timur Tabi wrote: > Catalin Marinas wrote: > >Why do you need your own defconfig? If it's just on the short term until > >all your code is upstream, that's fine, but this goes against the single > >Image aim. I would like defconfig to cover all supported

Re: [PATCH v4 11/14] i2c-octeon: Rename driver to prepare for split

2016-03-18 Thread David Daney
On 03/18/2016 01:46 AM, Jan Glauber wrote: This is just an intermediate commit in preparation of the driver split. The module rename in this commit will be reverted in the next patch, this is just done to make the series bisectible. Signed-off-by: Jan Glauber --- drivers/i2c/busses/Makefile

[PATCH v4 00/13] Add A83T clk, r_pio, mmc rsb support

2016-03-18 Thread Vishnu Patekar
Hello, This is v4 of series which adds further support for A83T, mainly adds clock support.Also adds R_PIO, PRCM related clocks, mmc, rsb support. A83T difference in short: R_PIO is slightly different from A23 r_pio. AHB1 has different parents as compared to a31-ahb1, APB1 has different

Re: [PATCH 04/15] irqchip/gic: WARN if setting the interrupt type fails

2016-03-18 Thread Jason Cooper
On Thu, Mar 17, 2016 at 03:04:01PM +, Jon Hunter wrote: > > On 17/03/16 14:51, Thomas Gleixner wrote: > > On Thu, 17 Mar 2016, Jon Hunter wrote: > > > >> Setting the interrupt type for private peripheral interrupts (PPIs) may > >> not be supported by a given GIC because it is IMPLEMENTATION

Re: [PATCH 2/8] sched/fair: add margin to utilization update

2016-03-18 Thread Michael Turquette
Quoting Steve Muckle (2016-03-15 19:52:59) > On 03/13/2016 10:22 PM, Michael Turquette wrote: > > +unsigned long cfs_capacity_margin = CAPACITY_MARGIN_DEFAULT; > > + > > #ifdef CONFIG_CFS_BANDWIDTH > > /* > > * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) > > pool > >

RE: [PATCH v3 3/3] cpuacct: split usage into user_usage and sys_usage

2016-03-18 Thread Zhao Lei
Hi, Peter Zijlstra > -Original Message- > From: Peter Zijlstra [mailto:pet...@infradead.org] > Sent: Thursday, March 17, 2016 4:40 PM > To: Zhao Lei > Cc: linux-kernel@vger.kernel.org; Tejun Heo ; Yang > Dongsheng > Subject: Re: [PATCH v3 3/3] cpuacct: split usage into user_usage and

Re: [PATCH 1/1] arm64/dma-mapping: remove an unnecessary conversion

2016-03-18 Thread Catalin Marinas
On Thu, Mar 17, 2016 at 07:06:27PM +0800, Leizhen (ThunderTown) wrote: > On 2016/3/16 9:56, Leizhen (ThunderTown) wrote: > > On 2016/3/15 23:37, Catalin Marinas wrote: > >> On Tue, Mar 15, 2016 at 10:12:11AM +0800, Zhen Lei wrote: > >>> diff --git a/arch/arm64/mm/dma-mapping.c

RE: [PATCH] staging: lustre: really make lustre dependent on LNet

2016-03-18 Thread Simmons, James A.
>A patch intended to add a dependency on LNET for lustre didn't >actually do that and instead allowed configurations that contain >lustre with lnet but without IPv4 support that subsequently >fail to link: > >warning: (LUSTRE_FS) selects LNET which has unmet direct dependencies (STAGING >&& INET

Re: [PATCH] ARM: Rockchip: Fix use of plain integer as NULL pointer

2016-03-18 Thread Lee Jones
Nit: Subject line doesn't match the preferred format for the sub-arch. On Thu, 17 Mar 2016, Peter Griffin wrote: > This fixes the following sparse build warning > mach-rockchip/platsmp.c:68:43: Using plain integer as NULL pointer Nit: I would insert a '\n' between your wording and the quoted

Re: [PATCH] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-18 Thread Josh Hunt
On 03/16/2016 04:21 AM, Ulrich Obergfell wrote: Josh, I haven't tried to reproduce the soft lockups with kernel 4.1, but I believe I found an explanation in terms of how your test case breaks the watchdog mechanism in kernel 4.1: The soft lockup detector is implemented via two components

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-18 Thread Sergey Senozhatsky
On (03/18/16 14:49), Byungchul Park wrote: [..] > > http://marc.info/?l=linux-kernel=145750373530161 > > I checked it now. Do you mean the wake_up_process() introduced in the new > patch in console_unlock()? If so, I also think it does not make a deadlock, > just can make a recursion in the worst

[PATCH v6 3/4] i2c: i801: add support of Host Notify

2016-03-18 Thread Benjamin Tissoires
The i801 chip can handle the Host Notify feature since ICH 3 as mentioned in http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf Enable the functionality unconditionally and propagate the alert on each notification. With a T440s and a Synaptics touchpad that

[PATCH v2 5/9] efi/arm64: libstub: make screen_info accessible to the UEFI stub

2016-03-18 Thread Ard Biesheuvel
Unlike on 32-bit ARM, where we need to pass the stub's version of struct screen_info to the kernel proper via a configuration table, on 64-bit ARM it simply involves making the core kernel's copy of struct screen_info visible to the stub by exposing an __efistub_ alias for it. Signed-off-by: Ard

Re: [PATCH] arm64: dma-mapping: fix dma_to_phys API for IOMMU attached devices

2016-03-18 Thread Arnd Bergmann
On Thursday 17 March 2016 12:36:28 Sinan Kaya wrote: > > The first solution that comes to my mind is to implement a weak function in > swiotlb.c with these contents > > dma_addr_t __weak swio_phys_to_dma(struct device *dev, phys_addr_t paddr) > { > return paddr; > } > > > phys_addr_t

Re: [PATCH] powercap: intel_rapl: PSys support

2016-03-18 Thread Srinivas Pandruvada
On Thu, 2016-03-17 at 23:51 +0100, Borislav Petkov wrote: > On Thu, Mar 17, 2016 at 03:23:29PM -0700, Srinivas Pandruvada wrote: > > > > Skylake processor supports a new set of RAPL registers for > > controlling > > entire platform instead of just CPU package. This is useful for > > thermal > >

[PATCH 06/10] iommu/ipmmu-vmsa: Add optional root device feature

2016-03-18 Thread Magnus Damm
From: Magnus Damm Add root device handling to the IPMMU driver by allowing certain DT compat strings to enable has_cache_leaf_nodes that in turn will support both root devices with interrupts and leaf devices that face the actual IPMMU consumer devices. Signed-off-by: Magnus Damm ---

Re: [PATCH v9] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-18 Thread Jagan Teki
On 18 March 2016 at 12:52, Jiancheng Xue wrote: > Add hisilicon spi-nor flash controller driver > > Signed-off-by: Binquan Peng > Signed-off-by: Jiancheng Xue > Acked-by: Rob Herring > Reviewed-by: Ezequiel Garcia > --- Reviewed-by: Jagan Teki -- Jagan.

Re: [GIT PULL v4.6] MDB Linux Kernel Debugger x86/x86_64

2016-03-18 Thread Jeffrey Merkey
On 3/16/16, Jeffrey Merkey wrote: > On 3/15/16, Theodore Ts'o wrote: >> On Tue, Mar 15, 2016 at 01:03:39PM +1100, Stephen Rothwell wrote: >>> We don't generally PGP (GPG) sign commits in the kernel tree (so "-S" >>> is not required), just tags. However we always require that anyone who >>>

Re: [PATCH 03/10] iommu/ipmmu-vmsa: Teach xlate() to skip disabled iommus

2016-03-18 Thread Geert Uytterhoeven
On Thu, Mar 17, 2016 at 5:29 PM, Magnus Damm wrote: > From: Magnus Damm > > Right now the ->xlate() call gets invoked even though > the iommu device has status = "disabled" in DT, so > make sure we skip over disabled devices. > > In my mind it would make sense to have this at some > shared

Re: rcutorture: Consider FROZEN hotplug notifier transitions

2016-03-18 Thread Paul E. McKenney
On Thu, Mar 17, 2016 at 11:14:35AM +0100, Anna-Maria Gleixner wrote: > The hotplug notifier rcutorture_cpu_notify() doesn't consider the > corresponding CPU_XXX_FROZEN transitions. They occure on > suspend/resume and are usually handled the same way as the > corresponding non frozen transitions. >

[PATCH v2 2/2] mcb: export bus information via sysfs

2016-03-18 Thread Johannes Thumshirn
Export information about the bus stored in the FPGA's header to userspace via sysfs, instead of hiding it in pr_debug()s from everyone. Signed-off-by: Johannes Thumshirn --- Documentation/ABI/testing/sysfs-bus-mcb | 29 drivers/mcb/mcb-core.c | 60

Re: linux-next: Tree for Feb 24

2016-03-18 Thread Sedat Dilek
On Thu, Mar 17, 2016 at 11:27 AM, Stephen Rothwell wrote: > Hi Sedat, > > On Thu, 17 Mar 2016 11:21:56 +0100 Sedat Dilek wrote: >> >> not seeing this anymore. >> How was that solved? > > The code has been removed while it is further worked on and reviewed > and may reappear after -rc1 is

Re: [PATCH v14 11/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2016-03-18 Thread Caesar Wang
在 2016年02月15日 19:10, Yakir Yang 写道: RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang Tested-by: Caesar Wang --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None Changes in v10:

Re: [PATCH] iio: add driver for Microchip MCP414X/416X/424X/426X

2016-03-18 Thread Lars-Peter Clausen
On 03/16/2016 05:25 PM, Slawomir Stepien wrote: > On Mar 16, 2016 13:30, Peter Meerwald-Stadler wrote: [...] >> plenty of the private API, some of which seems to be debug only? >> what is really needed to interact with a poti? > > I wanted to export both the non volatile and volatile memory

Re: [PATCH] ACPI / property: Export a couple of symbols.

2016-03-18 Thread David Daney
On 03/17/2016 06:00 AM, Rafael J. Wysocki wrote: On Thu, Mar 17, 2016 at 9:09 AM, Mika Westerberg wrote: On Wed, Mar 16, 2016 at 05:23:19PM -0700, David Daney wrote: From: David Daney The acpi_dev_prop_read() and acpi_dev_prop_read_single() can be called by drivers. Add EXPORT_SYMBOL_GPL

[GIT PULL] dlm updates for 4.6

2016-03-18 Thread David Teigland
Hi Linus, Please pull dlm updates from tag: git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm.git dlm-4.6 Previous changes introduced the use of socket error reporting for dlm sockets. This set includes two fixes in how the socket error callbacks are used. Thanks, Dave Bob

[PATCH 2/4] efi: Capsule update support

2016-03-18 Thread Matt Fleming
The EFI capsule mechanism allows data blobs to be passed to the EFI firmware. A common use case is performing firmware updates. This patch just introduces the main infrastructure for interacting with the firmware, and a driver that allows users to upload capsules will come in a later patch. Once

Re: [PATCH v5 7/7][Update] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-18 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 12:30 PM, Juri Lelli wrote: > Hi Rafael, > > On 17/03/16 01:01, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki > > [...] > >> +static void sugov_update_commit(struct sugov_policy *sg_policy, u64 time, >> + unsigned int next_freq) >> +{ >>

[PATCH v4 1/7] cpufreq: sched: Helpers to add and remove update_util hooks

2016-03-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Replace the single helper for adding and removing cpufreq utilization update hooks, cpufreq_set_update_util_data(), with a pair of helpers, cpufreq_add_update_util_hook() and cpufreq_remove_update_util_hook(), and modify the users of cpufreq_set_update_util_data()

[PATCH v3 15/15] dmaengine: dw: set cdesc to NULL when free cyclic transfers

2016-03-18 Thread Andy Shevchenko
To be sure we have the cyclic transfers already gone we set cdesc to NULL. It will prevent the double free. Signed-off-by: Andy Shevchenko --- drivers/dma/dw/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c index 78be785..86e55ab 100644

Re: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ

2016-03-18 Thread Jon Hunter
On 17/03/16 14:19, Jon Hunter wrote: > Some IRQ chips, such as GPIO controllers or secondary level interrupt > controllers, may require require additional runtime power management > control to ensure they are accessible. For such IRQ chips, it makes sense > to enable the IRQ chip when interrupts

Re: [PATCH] trace: irqsoff: Fix function tracing in preempt and preemptirqsoff tracers

2016-03-18 Thread Steven Rostedt
This should fix the issue for you. This probably should be added to stable as well (I'll add a tag). -- Steve >From e79b49b73079d4320a6ad08eb91d3c92cfef6e6a Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (Red Hat)" Date: Fri, 18 Mar 2016 12:27:43 -0400 Subject: [PATCH] tracing: Have

Re: Suspicious error for CMA stress test

2016-03-18 Thread Vlastimil Babka
On 03/17/2016 04:52 PM, Joonsoo Kim wrote: > 2016-03-18 0:43 GMT+09:00 Vlastimil Babka : >> >> Okay. I used following slightly optimized version and I need to >> add 'max_order = min_t(unsigned int, MAX_ORDER, pageblock_order + 1)' >> to yours. Please consider it, too. > >

Re: [RFC] tty: n_tty -- Add new TIOCPEEKRAW ioctl to peek unread data

2016-03-18 Thread Cyrill Gorcunov
On Wed, Mar 16, 2016 at 09:05:06PM -0700, Peter Hurley wrote: > > Here is a new ioctl code which simply copies data from read buffer > > into the userspace without any additional processing (just like > > terminal is sitting in a raw mode). > > Maybe I'm overlooking something obvious, but why not

Re: [PATCH 8/8] sched: prefer cpufreq_scale_freq_capacity

2016-03-18 Thread Dietmar Eggemann
On 15/03/16 20:46, Michael Turquette wrote: > Quoting Dietmar Eggemann (2016-03-15 12:13:58) >> On 14/03/16 05:22, Michael Turquette wrote: [...] >> For me this independence of the scheduler code towards the actual >> implementation of the Frequency Invariant Engine (FEI) was actually a >>

Re: [GIT PULL] remoteproc updates for v4.6

2016-03-18 Thread Ohad Ben-Cohen
On Thu, Mar 17, 2016 at 3:27 AM, Linus Torvalds wrote: > On Mon, Mar 14, 2016 at 10:54 PM, Bjorn Andersson > wrote: >> >> New driver for controlling ST's remote processors and a couple of minor >> fixes. Also includes the addition of myself as co-maintainer. > > So I don't have any issue with

[PATCH 7/8] lib/mpi: mpi_read_buffer(): replace open coded endian conversion

2016-03-18 Thread Nicolai Stange
Currently, the endian conversion from CPU order to BE is open coded in mpi_read_buffer(). Replace this by the centrally provided cpu_to_be*() macros. Copy from the temporary storage on stack to the destination buffer by means of memcpy(). Signed-off-by: Nicolai Stange --- lib/mpi/mpicoder.c |

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-18 Thread Russell King - ARM Linux
On Thu, Mar 17, 2016 at 07:17:24PM -0400, ok...@codeaurora.org wrote: > What is the correct way? I don't want to write engine->sram_dma = sram Well, what the driver _is_ wanting to do is to go from a CPU physical address to a device DMA address. phys_to_dma() looks like the correct thing there

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-18 Thread Suravee Suthikulpanit
Hi Boris, On 03/18/2016 04:04 PM, Borislav Petkov wrote: On Fri, Mar 18, 2016 at 02:07:25PM +0700, Suravee Suthikulpanit wrote: Actually the exposed APIs (in both files) are from the AMD IOMMU driver, which is not necessary x86-specific. They mostly use struct pci_dev, which is also

[PATCH v3 00/15] Fixes / cleanups in dw_dmac (affects on few subsystems)

2016-03-18 Thread Andy Shevchenko
This patch series (v2: http://www.spinics.net/lists/dmaengine/msg08274.html) contains a number of mostly minor fixes and cleanups for the DW DMA driver. A couple of them affect the DT binding so these may need to be updated to maintain compatibility. The rest should be relatively straight-forward.

[PATCH 3.19.y-ckt 69/70] mld, igmp: Fix reserved tailroom calculation

2016-03-18 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Benjamin Poirier commit 1837b2e2bcd23137766555a63867e649c0b637f0 upstream. The current reserved_tailroom calculation fails to take

Re: [PATCH 3.4 098/107] kernel/watchdog.c: touch_nmi_watchdog should only touch local cpu not every one

2016-03-18 Thread Don Zickus
On Wed, Mar 16, 2016 at 04:06:32PM +0800, l...@kernel.org wrote: > From: Ben Zhang > > 3.4.111-rc1 review patch. If anyone has any objections, please let me know. Just an FYI below, this patch won't work the way it was integrated.. comments below > > -- > > > commit

[PATCH 4/5] oprofile: nmi-timer: Handle the FROZEN hot plug notifier actions.

2016-03-18 Thread Richard Cochran
When performing a suspend operation, the kernel brings all of the non-boot CPUs offline, calling the hot plug notifiers with the flag, CPU_TASKS_FROZEN, set in the action code. Similarly, during resume, the CPUs are brought back online, but again the notifiers have the FROZEN flag set. While

Re: [PATCH] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-03-18 Thread kbuild test robot
Hi Jisheng, [auto build test WARNING on pci/next] [also build test WARNING on next-20160316] [cannot apply to v4.5] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [RFC][PATCH v4 2/2] printk: Skip messages on oops

2016-03-18 Thread Sergey Senozhatsky
Hello Jan, On (03/14/16 23:13), Sergey Senozhatsky wrote: > > From: Jan Kara > > When there are too many messages in the kernel printk buffer it can take > very long to print them to console (especially when using slow serial > console). This is undesirable during oops so when we encounter

Re: [PATCH v4 7/7] ARM: OMAP2+: Update GPMC and NAND DT binding documentation

2016-03-18 Thread Rob Herring
On Thu, Mar 10, 2016 at 05:56:43PM -0600, Franklin S Cooper Jr wrote: > Add additional details to the GPMC NAND documentation to clarify > what is needed to enable NAND DMA prefetch. > > Signed-off-by: Franklin S Cooper Jr > --- > Documentation/devicetree/bindings/bus/ti-gpmc.txt | 7 ++-

Re: [PATCH] Drivers: hv: vmbus: handle various crash scenarios

2016-03-18 Thread Radim Krcmar
2016-03-18 13:33+0100, Vitaly Kuznetsov: > Kdump keeps biting. Turns out CHANNELMSG_UNLOAD_RESPONSE is always > delivered to CPU0 regardless of what CPU we're sending CHANNELMSG_UNLOAD > from. vmbus_wait_for_unload() doesn't account for the fact that in case > we're crashing on some other CPU and

Re: [PATCH] net: consolidate lock/unlock into unlock_wait

2016-03-18 Thread Joe Perches
On Fri, 2016-03-18 at 17:37 -0400, David Miller wrote: > From: Nicholas Mc Guire > > The spin_lock()/spin_unlock() is synchronizing on the adapter->work_lock > > as the comment also suggests, which is equivalent to spin_unlock_wait() > > but the later should be more efficient. [] > There really

Re: [GIT PULL] USB driver patches for 4.6-rc1

2016-03-18 Thread Greg KH
On Fri, Mar 18, 2016 at 04:09:50PM -0700, Linus Torvalds wrote: > On Fri, Mar 18, 2016 at 3:58 PM, Greg KH wrote: > > > > Yes, people did report issues with that yesterday, and I queued up a > > patch for it, it's attached below, but I didn't think it would cause any > > issues with non-OF

[PATCH 3/5] Drivers: hv: vmbus: Fix a bug in hv_need_to_signal_on_read()

2016-03-18 Thread K. Y. Srinivasan
We need to issue a full memory barrier prior making a signalling decision. Signed-off-by: K. Y. Srinivasan Cc: sta...@vger.kernel.org --- drivers/hv/ring_buffer.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index

Re: [PATCH v8 3/6] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-03-18 Thread Michael Neuling
On Sat, 2016-03-19 at 09:37 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2016-03-18 at 15:04 +1100, Michael Neuling wrote: > > > > static int nr_chips; > > +static DEFINE_PER_CPU(unsigned int, chip_id); > > > > /* > > * Note: The set of pstates consists of contiguous integers, the > > @@

Re: [GIT PULL] USB driver patches for 4.6-rc1

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 2:58 PM, Linus Torvalds wrote: > > Yeah, the bisect is now solidly in the usb part. The commit that ends up being marked bad is odd, but there it is: 69bec7259853 "USB: core: let USB device know device node". Very odd, but I tested multiple times: I'm typing this on

[PATCH 2/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-03-18 Thread Andreas Dannenberg
The Texas Instruments TAS5720L/M device is a high-efficiency mono Class-D audio power amplifier optimized for high transient power capability to use the dynamic power headroom of small loudspeakers. Its digital time division multiplexed (TDM) interface enables up to 16 devices to share the same

[PATCH 0/2] ASoC: codecs: add support for TAS5720 digital amplifier

2016-03-18 Thread Andreas Dannenberg
Driver for TI's TAS5720L/M digital audio amplifiers. The driver should be pretty standard except the optional interrupt-based fault reporting. Some background on the fault reporting since that might be a discussion of interest. The code should have that documented rather well but I wanted to

[PATCH 3/5] drm: Add an encoder and connector type enum for DPI.

2016-03-18 Thread Eric Anholt
Right now exynos is exposing DPI as a TMDS encoder and VGA connector, which seems rather misleading. This isn't just an internal detail, since xrandr actually exposes "VGA" as the output name. Define some new enums so that vc4's DPI can have a more informative name. I considered other names for

Re: [GIT PULL] Block driver changes for 4.6-rc

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 10:33 AM, Jens Axboe wrote: > > 1) Pull for-4.6/drivers and do the merges yourself. This is the original >branch. > > 2) Pull for-4.6/drivers-merged, which is the above branch, but with v4.5 >merged into it and the merges resolved cleanly. I don't think your merge

Re: [PATCH 0/3] KVM: VMX: fix handling inv{ept,vpid} and nested RHEL6 KVM

2016-03-18 Thread Paolo Bonzini
On 18/03/2016 18:42, David Matlack wrote: > On Fri, Mar 18, 2016 at 9:09 AM, Paolo Bonzini wrote: >> Patches 1 and 2 fix two cases where a guest could hang at 100% CPU >> due to mis-emulation of a failing invept or invvpid. > > Will you be sending out kvm-unit-test test cases for these? Yes,

Re: [PATCH v2] efi: Introduce EFI bootloader control driver

2016-03-18 Thread Stanacar, Stefan
On Fri, 2016-03-18 at 16:15 +, Matt Fleming wrote: > On Fri, 18 Mar, at 12:11:50PM, Daniel Baluta wrote: > > > > From: Matt Gumbel > > > > This driver intercepts system reboot requests and populates the > > LoaderEntryOneShot EFI variable with the user-supplied reboot > > argument. EFI

RE: [PATCH V2 1/2] x86/perf/intel/uncore: Make Intel uncore modular

2016-03-18 Thread Liang, Kan
> > On Fri, 18 Mar 2016, kan.li...@intel.com wrote: > > > From: Kan Liang > > > > This patch makes Intel uncore pmu driver modular. > > By default, the uncore driver will be built in the kernel. If it is > > configured as module, the supported cpu model can be auto loaded. > > This patch also

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-18 Thread Paul E. McKenney
On Fri, Mar 18, 2016 at 09:40:25AM +, Daniel Thompson wrote: > On 18/03/16 00:33, Paul E. McKenney wrote: > >On Thu, Mar 17, 2016 at 08:17:59PM -0400, Chris Metcalf wrote: > >>On 3/17/2016 6:55 PM, Paul E. McKenney wrote: > >>>The RCU stall-warn stack traces can be ugly, agreed. > >>> >

Re: [PATCH] mac80211: fix order of flag descriptions

2016-03-18 Thread Luis de Bethencourt
On 18/03/16 17:29, Joe Perches wrote: > On Fri, 2016-03-18 at 16:35 +, Luis de Bethencourt wrote: >> Fix order of mac80211_rx_flags description to match the enum. >> >> Signed-off-by: Luis de Bethencourt >> --- >> Hi, >> >> I want ahead and fixed the order of the descriptions. checkpatch.pl

Re: [PATCH 1/2] watchdog: Fix output

2016-03-18 Thread Jiri Kosina
On Sat, 19 Mar 2016, Jiri Kosina wrote: > > It was Jiri who made this mess by replacing WARN(), which has a very > > distinct format, with this custom stuff. > > Right, this was in 55537871e ("kernel/watchdog.c: perform all-CPU > backtrace in case of hard lockup"). > > To be really honest, I

Re: [PATCHv4 08/25] thp: support file pages in zap_huge_pmd()

2016-03-18 Thread Kirill A. Shutemov
On Fri, Mar 18, 2016 at 07:23:41PM +0530, Aneesh Kumar K.V wrote: > "Kirill A. Shutemov" writes: > > > [ text/plain ] > > split_huge_pmd() for file mappings (and DAX too) is implemented by just > > clearing pmd entry as we can re-fill this area from page cache on pte > > level later. > > > >

[PATCH] Drivers: hv: vmbus: handle various crash scenarios

2016-03-18 Thread Vitaly Kuznetsov
Kdump keeps biting. Turns out CHANNELMSG_UNLOAD_RESPONSE is always delivered to CPU0 regardless of what CPU we're sending CHANNELMSG_UNLOAD from. vmbus_wait_for_unload() doesn't account for the fact that in case we're crashing on some other CPU and CPU0 is still alive and operational

[PATCH v3] dell-rbtn: Ignore ACPI notifications if device is suspended

2016-03-18 Thread Gabriele Mazzotta
Some BIOSes unconditionally send an ACPI notification to RBTN when the system is resuming from suspend. This makes dell-rbtn send an input event to userspace as if a function key was pressed. Prevent this by ignoring all the notifications received while the device is suspended. Link:

Re: [LKP] [lkp] [futex] 65d8fc777f: +25.6% will-it-scale.per_process_ops

2016-03-18 Thread Thomas Gleixner
On Fri, 18 Mar 2016, Huang, Ying wrote: > Usually we will put most important change we think in the subject of the > mail, for this email, it is, > > +25.6% will-it-scale.per_process_ops That is confusing on it's own, because the reader does not know at all whether this is an improvement or a

Re: [PATCH] x86: Avoid undefined behavior in macro expansion

2016-03-18 Thread Al Viro
On Wed, Mar 16, 2016 at 11:48:49PM -0300, Vinicius Tinti wrote: > C11 standard (at 6.10.3.3) says that ## operator (paste) has undefined > behavior when one of the result operands is not a valid preprocessing > token. > > Therefore the macro expansion may depend on compiler implementation > which

[PATCH] staging: delete STE RMI4 hackish driver

2016-03-18 Thread Linus Walleij
As of commit 62d5bdf972ebcfc99f72f734ae979713e4ca6450 "Merge branch 'synaptics-rmi4' into next" the input subsystem has a proper RMI4 infrastructure and touchscreen driver. The ST Ux500 platform has been converted to use the new driver and its devicetree bindings. Delete this ancient hack. Cc:

Re: [PATCH v15 1/6] efi: ARM/arm64: ignore DT memory nodes instead of removing them

2016-03-18 Thread Ard Biesheuvel
On 18 March 2016 at 13:56, Matt Fleming wrote: > On Fri, 18 Mar, at 01:31:59PM, Ard Biesheuvel wrote: >> >> Typically, the UEFI memory map is more restrictive, since it does not >> only describe where the memory lives, but also which parts of it the >> firmware has claimed for its own use. So if

Re: [PATCH v8 3/6] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-03-18 Thread Rafael J. Wysocki
On Fri, Mar 18, 2016 at 5:11 AM, Michael Neuling wrote: > On Fri, 2016-03-18 at 15:04 +1100, Michael Neuling wrote: > >> On Wed, 2016-02-03 at 01:11 +0530, Shilpasri G Bhat wrote: >> > >> > cpu_to_chip_id() does a DT walk through to find out the chip id by >> > taking a contended device tree

Re: [PATCH] Remove v850 from linux/elf-em.h

2016-03-18 Thread Rob Landley
On 03/18/2016 12:46 PM, David Daney wrote: > I am not going to comment on it any more, but [commenting more] Yes you are. (And did then too.) > On 03/17/2016 07:32 PM, Rob Landley wrote: > [...] >> >> As I explained last email, userspace uses the libc header, not the linux >> header, > > The

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-18 Thread Paul E. McKenney
On Fri, Mar 18, 2016 at 02:00:11PM -0700, Josh Triplett wrote: > On Thu, Feb 25, 2016 at 04:56:38PM -0800, Paul E. McKenney wrote: > > On Thu, Feb 25, 2016 at 04:13:11PM +1100, Ross Green wrote: > > > On Wed, Feb 24, 2016 at 8:28 AM, Ross Green wrote: > > > > On Wed, Feb 24, 2016 at 7:55 AM, Paul

[PATCH 1/2] ASoC: codecs: add TA5720 digital amplifier DT bindings

2016-03-18 Thread Andreas Dannenberg
The Texas Instruments TAS5720L/M device is a high-efficiency mono Class-D audio power amplifier optimized for high transient power capability to use the dynamic power headroom of small loudspeakers. Its digital time division multiplexed (TDM) interface enables up to 16 devices to share the same

Re: [PATCH v2] cpufreq: Make cpufreq_quick_get() safe to call.

2016-03-18 Thread Rafael J. Wysocki
On Saturday, March 12, 2016 06:52:37 AM Viresh Kumar wrote: > On 11-03-16, 09:43, Richard Cochran wrote: > > The function, cpufreq_quick_get, accesses the global 'cpufreq_driver' and > > its fields without taking the associated lock, cpufreq_driver_lock. > > > > Without the locking, nothing

Re: [REGRESSION] 774ac8b7eff6 ("Thermal: initialize thermal zone device correctly") causes performance drop

2016-03-18 Thread Pandruvada, Srinivas
On Fri, 2016-03-18 at 15:28 -0700, Laura Abbott wrote: > (bringing this back to the main thread) > > On 03/16/2016 05:20 PM, Pandruvada, Srinivas wrote: > > On Wed, 2016-03-16 at 17:00 -0700, Laura Abbott wrote: > > > On 03/16/2016 03:46 PM, Greg Kroah-Hartman wrote: > > > > On Wed, Mar 16, 2016

Re: [PATCH] Drivers: hv: vmbus: handle various crash scenarios

2016-03-18 Thread Radim Krcmar
2016-03-18 16:53+0100, Vitaly Kuznetsov: > Radim Krcmar writes: >> 2016-03-18 13:33+0100, Vitaly Kuznetsov: >>> @@ -530,9 +542,17 @@ static void vmbus_wait_for_unload(void) >> >> (I'm not a huge fan of the unloaded variable; what about remembering the >> header/msgtype here ... >> >>>

Re: bluetooth: use-after-free in vhci_send_frame

2016-03-18 Thread Jiri Slaby
On 03/07/2016, 05:27 PM, Jiri Slaby wrote: > On 03/04/2016, 10:15 AM, Dmitry Vyukov wrote: >> Ping. >> Just got another one on 4.5-rc6 > > FWIW I've just hit that too right now. > > But I haven't hit it with 4.4 which I am fuzzing by the orders of > magnitude longer. Scratch that, it happened

whats wrong with my code ? trying to lock and iterate through read tasks in cfs rq

2016-03-18 Thread nad gam
here is the code of system call I implemented trying to iterate through cfs tasks of cpu_num rq and retrieve their pids : #include #include #include "/home/user/linux-3.14.1/kernel/sched/sched.h" #include #include asmlinkage long sys_get_tasks_from_rq(int cpu_num,void* dst) { struct

Re: [PATCH 1/1] linux-firmware: Update AMD microcode patch firmware

2016-03-18 Thread Kyle McMartin
On Thu, Mar 17, 2016 at 01:56:11AM -0500, Sherry Hurwitz wrote: > For AMD Family 15h Processors to fix bugs in prior microcode patch > file: amd-ucode/microcode_amd_fam15h.bin > md5sum: 2384ef1d8ec8ca3930b62d82ea5a3813 > > Version: 2016_03_16 > > Signed-off-by: Sherry Hurwitz applied, thanks

Re: [PATCH] sched: Add preempt checks in preempt_schedule() code

2016-03-18 Thread Boqun Feng
Hi Steven, On Fri, Mar 18, 2016 at 01:06:02PM -0400, Steven Rostedt wrote: > While testing the tracer preemptoff, I hit this strange trace: > > # cmd pid | time | caller > # \ / | \| / ><...>-259 0...10us : schedule <-worker_thread >

Re: [GIT PULL] USB driver patches for 4.6-rc1

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 3:58 PM, Greg KH wrote: > > Yes, people did report issues with that yesterday, and I queued up a > patch for it, it's attached below, but I didn't think it would cause any > issues with non-OF systems either. I wanted to give it a few days > testing in linux-next before

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-18 Thread Rafael J. Wysocki
On Fri, Mar 18, 2016 at 6:35 PM, Josh Boyer wrote: > On Fri, Mar 18, 2016 at 10:36 AM, Rafael J. Wysocki > wrote: >> On Friday, March 18, 2016 08:37:15 AM Josh Boyer wrote: >>> On Thu, Mar 17, 2016 at 8:20 PM, Rafael J. Wysocki >>> wrote: >>> > On Thursday, March 17, 2016 12:44:54 PM Josh

USB Sound oops in Linus's latest tree

2016-03-18 Thread Greg KH
Hi, I'm getting the following oops with my USB sound device using Linus's latest tree of the moment, which has the sound tree pull in it. Anyone seen this before? thanks, greg k-h [ +0.002298] input: Schiit Audio USB Modi Device as

Re: [GIT PULL] USB driver patches for 4.6-rc1

2016-03-18 Thread Greg KH
On Fri, Mar 18, 2016 at 03:12:15PM -0700, Greg KH wrote: > On Fri, Mar 18, 2016 at 02:58:27PM -0700, Linus Torvalds wrote: > > On Fri, Mar 18, 2016 at 2:43 PM, Linus Torvalds > > wrote: > > > > > > Something in this - or possibly the tty pull, but that doesn't sound > > > very likely - has killed

[RFC PATCH 2/4] workqueue: introduce support for attaching to cgroups

2016-03-18 Thread Bandan Das
Introduce cgroup aware unbounded worker pools. Whenever a new worker thread is created, create_worker attaches itself to the cgroups of the task that called alloc_workqueue(). New worker pools are created if there's no match in the global list of cgroup aware worker pools. Signed-off-by: Bandan

<    1   2   3   4   5   6   7   8   9   >