[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 dividers.

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 D

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 sys

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 b/arch/arm64/mm/dma-m

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 war

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 (per-

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&m=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 wors

[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 B

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 > > an

[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 --- drivers/

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 >>> handl

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 level,

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 release

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 addres

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 to

[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 Pete

[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 a

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() accordin

[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 a

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 preempt(irqs

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. > > H

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 >> featur

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 thi

[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 | 2

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 to

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 arch-agnost

[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 hle

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 62572e2

[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 some

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: https://github.com/0day-ci/linux/commits/Jisheng-Zhang/PCI-designware-

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 oops

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 C

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 is

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 systems

[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 29

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 d883f

[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 bus

[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 bring

[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, o

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 bootl

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 c

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. > >>> > >>>That

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 wa

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 do

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. > > > > This

[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 CHANNELMSG_UNL

[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: https://bugzi

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 reg

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: And

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 b

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 lock.

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 fal

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 bus

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 guaran

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 a

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 on

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 s

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 se

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 Boye

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 /devices/pci:00/:00:14.0/usb2/2-10/2-10.1/2-10.1:1.

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 D

[PATCH v3 07/15] dmaengine: dw: substitute dma_read_byaddr by dma_readl_native

2016-03-18 Thread Andy Shevchenko
Since struct dw_dma is allocated and regs member is assigned properly we can use standard IO accessors to the DMA registers. Signed-off-by: Andy Shevchenko --- drivers/dma/dw/core.c | 8 +++- drivers/dma/dw/regs.h | 4 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drive

[RFC PATCH 4/4] vhost: use workqueues for the works

2016-03-18 Thread Bandan Das
Use the common workqueue machanism for processing vhost work by creating a unbound workqueue/vhost device. The backend workers could still share work and are not visible to vhost. Signed-off-by: Bandan Das --- drivers/vhost/vhost.c | 103 +++--- driver

[PATCH v3 10/15] dmaengine: dw: keep entire platform data in struct dw_dma

2016-03-18 Thread Andy Shevchenko
Keep the entire platform data in the struct dw_dma. It makes the driver a bit cleaner. Signed-off-by: Andy Shevchenko --- drivers/dma/dw/core.c| 31 --- drivers/dma/dw/platform.c| 4 ++-- drivers/dma/dw/regs.h| 5 ++--- in

[RFC PATCH linux-next] net: dst_cache_per_cpu_dst_set() can be static

2016-03-18 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- dst_cache.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/core/dst_cache.c b/net/core/dst_cache.c index 3938f3f..554d364 100644 --- a/net/core/dst_cache.c +++ b/net/core/dst_cache.c @@ -28,8 +28,8 @@ struct dst_cache_pcpu {

[RFC PATCH 3/4] cgroup: use spin_lock_irq for cgroup match and attach fns

2016-03-18 Thread Bandan Das
Since these functions will be called from the worker thread context, using spin_lock_bh triggers WARN_ONs. Signed-off-by: Bandan Das --- kernel/cgroup.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 3ffdbb4..24b34e8 100644 ---

Re: [PATCH v1 1/2] dt-bindings: modify document of Rockchip power domains

2016-03-18 Thread Heiko Stuebner
Am Freitag, 18. März 2016, 09:18:51 schrieb Kevin Hilman: > Elaine Zhang writes: > > Add qos example for power domain which found on Rockchip SoCs. > > These qos register description in TRMs > > (rk3036, rk3228, rk3288, rk3366, rk3368, rk3399) looks the same. > > This should describe in more deta

[PATCH 4/5] Drivers: hv: vmbus: Use the new virt_xx barrier code

2016-03-18 Thread K. Y. Srinivasan
Use the virt_xx barriers that have been defined for use in virtual machines. Signed-off-by: K. Y. Srinivasan --- drivers/hv/ring_buffer.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buffer.c index 67dc245..c2c2b

[PATCH 0/5] Drivers: hv: vmbus

2016-03-18 Thread K. Y. Srinivasan
Cleanup the Hyper-V ring buffer code. Also Implement APIs for supporting copy-free operations on the read side. K. Y. Srinivasan (5): Drivers: hv: vmbus: Introduce functions for estimating room in the ring buffer Drivers: hv: vmbus: Use READ_ONCE() to read variables that are volatile

[RFC net-next 1/2] drivers/net: Create an ANCIENT_NETDEVICES symbol

2016-03-18 Thread Joe Perches
Many drivers are ancient and written for hardware that is no longer available. These drivers are effectively untested under current kernels. Add a symbol that could guard inclusions of these drivers into modern kernels unless specifically requested. Signed-off-by: Joe Perches --- drivers/net/K

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-18 Thread Bjorn Andersson
On Tue, Mar 15, 2016 at 6:41 AM, Laxman Dewangan wrote: > > On Wednesday 02 March 2016 10:05 AM, Mark Brown wrote: >> >> * PGP Signed by an unknown key >> >> On Wed, Mar 02, 2016 at 09:05:26AM +0530, Laxman Dewangan wrote: >>> >>> On Wednesday 02 March 2016 09:08 AM, Mark Brown wrote: Yo

[PATCH v6 13/17] ARM: Xen: Document UEFI support on Xen ARM virtual platforms

2016-03-18 Thread Shannon Zhao
From: Shannon Zhao Add a "uefi" node under /hypervisor node in FDT, then Linux kernel could scan this to get the UEFI information. Signed-off-by: Shannon Zhao Acked-by: Rob Herring Reviewed-by: Stefano Stabellini --- CC: Rob Herring --- Documentation/devicetree/bindings/arm/xen.txt | 33 +++

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

2016-03-18 Thread Jens Axboe
On 03/18/2016 05:32 PM, Linus Torvalds wrote: 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 res

[PATCH 2/2] storvsc_drv: make use of the lightweight FC transport class

2016-03-18 Thread James Bottomley
Signed-off-by: James Bottomley --- drivers/scsi/storvsc_drv.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 3ddcabb..dcb7393 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@

[RFC PATCH 0/2] of: Implement iterator for phandles

2016-03-18 Thread Joerg Roedel
Hi, here is an implementation of the iterator over phandles concept which Rob Herring suggested to me some time ago. My approach is a little bit different from what the diff showed back then, but it gets rid of the allocation and 'struct 'struct of_phandle_args' misuse. I also converted the arm-s

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

2016-03-18 Thread Zhang Rui
Hi, all, On Wed, 2016-03-16 at 15:27 -0700, Laura Abbott wrote: > Hi, > > Fedora received a bug report > (https://bugzilla.redhat.com/show_bug.cgi?id=1317190) > of a major performance drop on various bench marks and general system > sluggishness with the 4.4.4 kernel update. The benchmarks were

Re: [GIT PULL] GPIO bulk changes for kernel v4.6

2016-03-18 Thread Linus Torvalds
On Fri, Mar 18, 2016 at 2:39 AM, Laxman Dewangan wrote: > > Apologizing for the trouble created by me. Don't worry about it, we'll just have to make sure it doesn't happen again. I thought you must have had done something special to do this, and that made me upset. But the fact that it was just

[PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-18 Thread Jon Hunter
Some IRQ chips may be located in a power domain outside of the CPU subsystem and hence will require device specific runtime power management. In order to support such IRQ chips, add a pointer for a device structure to the irq_chip structure, and if this pointer is populated by the IRQ chip driver a

<    1   2   3   4   5   >