Re: [PATCH V4 6/6] cpufreq: governor: Create and traverse list of policy_dbs to fix lockdep

2016-02-09 Thread Rafael J. Wysocki
On Tuesday, February 09, 2016 09:01:36 AM Viresh Kumar wrote: > An instance of 'struct dbs_data' can support multiple 'struct > policy_dbs_info' instances. To traverse all policy_dbs supported by a > dbs_data, create a list of policy_dbs within dbs_data. > > We can traverse this list now, instead

Re: [PATCH 0/3] omap: hwmod: add default reset handling support

2016-02-09 Thread Dave Gerlach
Hi, On 02/09/2016 11:44 AM, Suman Anna wrote: On 02/08/2016 11:17 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 09 February 2016 02:37 AM, Suman Anna wrote: On 02/08/2016 05:12 AM, Kishon Vijay Abraham I wrote: Add a new hwmod flag to indicate custom reset handling and use it for devices t

Re: [PATCH] dmaengine: pxa_dma: fix the maximum requestor line

2016-02-09 Thread Robert Jarzmik
Vinod Koul writes: > On Tue, Feb 09, 2016 at 08:20:05AM +0100, Robert Jarzmik wrote: >> Vinod Koul writes: >> >> > On Mon, Feb 08, 2016 at 03:18:51PM +0100, Robert Jarzmik wrote: >> >> The current number of requestor lines is limited to 31. This was an >> >> error of a previous commit, as this

Re: [PATCH 2/5] drm/i915: fix error path in intel_setup_gmbus()

2016-02-09 Thread Jani Nikula
On Tue, 09 Feb 2016, Rasmus Villemoes wrote: > This fails to undo the setup for pin==0; moreover, something > interesting happens if the setup failed already at pin==0. > > Signed-off-by: Rasmus Villemoes > --- > drivers/gpu/drm/i915/intel_i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [linux-sunxi] Re: [PATCH 11/11] arm64: dts: add Pine64 support

2016-02-09 Thread Danny Milosavljevic
Hi, On Mon, 8 Feb 2016 11:55:43 +1100 Julian Calaby wrote: > I believe that device tree overlays are the generally recommended method. I agree. But last time I tried, the device tree compiler didn't support overlays - neither in Debian nor in the in-kernel dtc ("-@" is unsupported; last tried

[PATCH 2/4] tools lib traceevent: Use USECS_PER_SEC instead of hardcoded number

2016-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Instead of using 100, define a USECS_PER_SEC macro and use that instead. Signed-off-by: Steven Rostedt --- tools/lib/traceevent/event-parse.c | 4 ++-- tools/lib/traceevent/event-parse.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a

[PATCH 0/4] tools lib traceevent: Updates from trace-cmd

2016-02-09 Thread Steven Rostedt
Hi Arnaldo, I did a diff of what I have in my trace-cmd library and found there were a few patches that need to be brought over to tools/lib/traceevent as well. I have a repo based off of 4.5-rc3, but feel free to pull the patches in directly. -- Steve git://git.kernel.org/pub/scm/linux/kern

[PATCH 4/4] tools lib traceevent: Fix output of %llu for 64 bit values read on 32 bit machines

2016-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When a long value is read on 32 bit machines for 64 bit output, the parsing needs to change "%lu" into "%llu", as the value is read natively. Unfortunately, if "%llu" is already there, the code will add another "l" to it and fail to parse it properly. Signed-off

[PATCH 1/4] tools lib traceevent: Fix time stamp rounding issue

2016-02-09 Thread Steven Rostedt
From: "Chaos.Chen" When rounding to microseconds, if the timestamp subsecond is between .99500 and .9, it is rounded to .100, when it should instead increment the second counter due to the overflow. For example, if the timestamp is 1234.99501 instead of seeing: 1235.00

[PATCH 3/4] tools lib traceevent: Set int_array fields to NULL if freeing from error

2016-02-09 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Had a bug where on error of parsing __print_array() where the fields are freed after they were allocated, but since they were not set to NULL, the freeing of the arg also tried to free the already freed fields causing a double free. Fix process_hex() while at it.

Re: [PATCH] Optimize int_sqrt for small values for faster idle

2016-02-09 Thread Andi Kleen
On Sun, Feb 07, 2016 at 10:32:26PM +0100, Rasmus Villemoes wrote: > On Mon, Feb 01 2016, Andi Kleen wrote: > > > On Mon, Feb 01, 2016 at 10:25:17PM +0100, Rasmus Villemoes wrote: > >> On Thu, Jan 28 2016, Andi Kleen wrote: > >> > >> > From: Andi Kleen > >> > > >> > The menu cpuidle governor do

Re: [PATCHv2 2/2] x86: SROP mitigation: implement signal cookies

2016-02-09 Thread Andi Kleen
> Is this compatible with existing userspace? CRIU and DOSEMU seem like > things that are likely to blow up to me. It should at least make it a sysctl. > > We may need to make this type of mitigation be opt-in. I'm already > vaguely planning an opt-in mitigation framework for vsyscall runtime

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-09 Thread Christoffer Dall
On Mon, Feb 08, 2016 at 04:47:27PM +, Julien Grall wrote: > For now, the firmware tables are parsed 2 times: once in the GIC > drivers, the other timer when initializing the vGIC. It means code > duplication and make more tedious to add the support for another > firmware table (like ACPI). > >

Re: [PATCH 2/2] regulator: core: Provide per-regulator runtime PM support

2016-02-09 Thread Paul Kocialkowski
Hi, Le jeudi 21 janvier 2016 à 20:24 +, Mark Brown a écrit : > Provide a flag auto_runtime_pm in the regulator_desc which causes the > regulator core to take a runtime PM reference to a regulator while it > is enabled. This helps integration with chip wide power management for > auxiliary PMIC

Re: [PATCH v2 3/3] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2016-02-09 Thread Andrew Morton
On Tue, 9 Feb 2016 18:58:32 +0100 Vlastimil Babka wrote: > On 02/05/2016 05:11 PM, Joonsoo Kim wrote: > > Yeah, it seems wrong to me. :) > > Here goes fix. > > Doesn't apply for me, even after fixing the most obvious line wraps. > Seems like the version in mmotm is still your original patch and

Re: [PATCH v3 0/2] Consolidate redundant register/stack access code

2016-02-09 Thread David Long
On 02/09/2016 04:36 AM, Michael Ellerman wrote: On Tue, 2016-02-09 at 00:38 -0500, David Long wrote: From: "David A. Long" Move duplicate and functionally equivalent code for accessing registers and stack (CONFIG_HAVE_REGS_AND_STACK_ACCESS_API) from arch subdirs into common kernel files. I'm

Re: [PATCHv2 2/4] pci: allow access to VPD attributes with size '0'

2016-02-09 Thread Bjorn Helgaas
Hi Hannes, On Wed, Jan 13, 2016 at 12:25:33PM +0100, Hannes Reinecke wrote: > It is not always possible to determine the actual size of the VPD > data, so allow access to them if the size is set to '0'. > > Signed-off-by: Hannes Reinecke > --- > drivers/pci/pci-sysfs.c | 20

Re: [PATCH v3 0/2] Consolidate redundant register/stack access code

2016-02-09 Thread David Long
On 02/09/2016 04:45 AM, Ingo Molnar wrote: * Michael Ellerman wrote: On Tue, 2016-02-09 at 00:38 -0500, David Long wrote: From: "David A. Long" Move duplicate and functionally equivalent code for accessing registers and stack (CONFIG_HAVE_REGS_AND_STACK_ACCESS_API) from arch subdirs into

Re: [PATCH V13 08/10] dma: qcom_hidma: read the channel id from HW

2016-02-09 Thread Sinan Kaya
On 2/7/2016 10:04 AM, Sinan Kaya wrote: > Hi Mark, > > On 2/3/2016 1:36 PM, Mark Rutland wrote: >> > Sorry, but it's going to be far easier to review with useless code >> > removed, so I will wait until the next posting where this patch is >> > folded in. > V14 of the patch have been posted on the

Re: [PATCH V2 0/7] cpufreq: governors: Fix ABBA lockups

2016-02-09 Thread Saravana Kannan
On 02/07/2016 06:28 PM, Rafael J. Wysocki wrote: On Friday, February 05, 2016 06:22:35 PM Saravana Kannan wrote: On 02/04/2016 07:54 PM, Rafael J. Wysocki wrote: On Thursday, February 04, 2016 07:18:32 PM Rafael J. Wysocki wrote: On Thu, Feb 4, 2016 at 6:44 PM, Saravana Kannan wrote: On 02/0

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-02-09 Thread Bjorn Helgaas
On Wed, Jan 13, 2016 at 12:25:34PM +0100, Hannes Reinecke wrote: > PCI-2.2 VPD entries have a maximum size of 32k, but might actually > be smaller than that. To figure out the actual size one has to read > the VPD area until the 'end marker' is reached. > Trying to read VPD data beyond that marker

Re: [PATCHv2 4/4] pci: Blacklist vpd access for buggy devices

2016-02-09 Thread Bjorn Helgaas
There seem to be several revs of this patch, and it's hard for me to keep track of what's current. If you want to update any patch in the series, please repost the entire series with a new version number. On Wed, Jan 13, 2016 at 12:25:35PM +0100, Hannes Reinecke wrote: > From: Babu Moger > > Re

[PATCH v2] arm64: Add workaround for Cavium erratum 27456

2016-02-09 Thread David Daney
From: Andrew Pinski On ThunderX T88 pass 1.x through 2.1 parts, broadcast TLBI instructions may cause the icache to become invalid if it contains data for a non-current ASID. This patch implements the workaround (which flushes the local icache when switching the mm) by using code patching. Sign

Re: [PATCH 4/4] sched,time: only call account_{user,sys,guest,idle}_time once a jiffy

2016-02-09 Thread Rik van Riel
On Tue, 2016-02-09 at 18:11 +0100, Frederic Weisbecker wrote: >  > So for any T_slice being a given cpu timeslice (in secs) executed > between > two ring switch (user <-> kernel), we are going to account: 1 * > P(T_slice*HZ) > (P() stand for probability here). > > Now after this patch, the scenari

Re: [PATCHv2 4/4] pci: Blacklist vpd access for buggy devices

2016-02-09 Thread Babu Moger
On 2/9/2016 3:07 PM, Bjorn Helgaas wrote: > There seem to be several revs of this patch, and it's hard for me to > keep track of what's current. If you want to update any patch in the > series, please repost the entire series with a new version number. Here is the latest of patch 4/4. https://p

Re: [PATCH V2] mm: Some arch may want to use HPAGE_PMD related values as variables

2016-02-09 Thread Andrew Morton
On Tue, 9 Feb 2016 21:41:44 +0530 "Aneesh Kumar K.V" wrote: > With next generation power processor, we are having a new mmu model > [1] that require us to maintain a different linux page table format. > > Inorder to support both current and future ppc64 systems with a single > kernel we need t

Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT

2016-02-09 Thread Eduardo Valentin
On Tue, Feb 09, 2016 at 01:56:19AM +, Kuninori Morimoto wrote: > > Hi Eduardo > > I'm sorry I didn't mention you. > Can you please check these patches ? Yes Morimoto, they are now on my todo list. Thanks. Eduardo Valentin signature.asc Description: Digital signature

Re: [PATCH 0/3] omap: hwmod: add default reset handling support

2016-02-09 Thread Paul Walmsley
On Tue, 9 Feb 2016, Dave Gerlach wrote: > Sorry got held up by the discussion here [1], that regression affects > rmmod/re-insmod of wkup_m3_rproc as well. If I revert the guilty patch > 5de85b9d57ab ("PM / runtime: Re-init runtime > PM states at probe error and driver unbind") and apply these thr

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-09 Thread João Paulo Rechi Vita
On 8 February 2016 at 17:53, Julian Calaby wrote: >> + if (ev.op == RFKILL_OP_AIRPLANE_MODE_RELEASE) { >> + if (rfkill_apm_owned && !data->is_apm_owner) { > > Are you sure this is correct? > > In the case that airplane mode isn't owned, the > rfkill_apm_led_trigger_event() cal

[PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-09 Thread João Paulo Rechi Vita
Provide an interface for the airplane-mode indicator be controlled from userspace. User has to first acquire the control through RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole time it wants to be in control of the indicator. Closing the fd or using RFKILL_OP_AIRPLANE_MODE_RELEAS

Re: [PATCH 5/5] asus-wmi: Add quirk_no_rfkill for the Asus Z550MA

2016-02-09 Thread João Paulo Rechi Vita
On 8 February 2016 at 16:03, Darren Hart wrote: > On Mon, Feb 08, 2016 at 12:05:23PM -0500, João Paulo Rechi Vita wrote: > > I'm waiting for the RFKILL reviews to complete, but quickly, patches 4 and 5 > require a commit message. There is always something you can add here, for > example, do these

Re: [PATCH 0/2] locking/mutex: Enable optimistic spinning of lock waiter

2016-02-09 Thread Jason Low
On Tue, 2016-02-09 at 14:47 -0500, Waiman Long wrote: > This patchset is a variant of PeterZ's "locking/mutex: Avoid spinner > vs waiter starvation" patch. The major difference is that the > waiter-spinner won't enter into the OSQ used by the spinners. Instead, > it will spin directly on the lock i

[PATCH] arm64: use raw_smp_processor_id in stack backtrace dump

2016-02-09 Thread Yang Shi
dump_backtrace may be called in kthread context, which is not bound to a single cpu, i.e. khungtaskd, then calling smp_processor_id may trigger the below bug report: BUG: using smp_processor_id() in preemptible [] code: khungtaskd/71 caller is debug_smp_processor_id+0x1c/0x28 CPU: 3 PID: 7

[PATCH] Bluetooth: Add new AR3012 ID 0489:e095

2016-02-09 Thread Dmitry Tunin
T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0489 ProdID=e095 Rev=00.01 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlc

Re: [PATCH 0/3] arm: dts: DRA7: Add IVA and DSPEVE thermal domain data

2016-02-09 Thread Eduardo Valentin
On Mon, Feb 08, 2016 at 02:46:27PM +0530, Keerthy wrote: > OMAP5 has 3 thermal zones cpu, core and multimedia. > On the other hand DRA7 has 5 thermal zones cpu, gpu, core, dspeve > and iva. Currently cpu, core and multimedia are being added via dt > and the other 2 are getting added via kernel. Add

Re: [PATCH 0/3] arm: dts: DRA7: Add IVA and DSPEVE thermal domain data

2016-02-09 Thread Eduardo Valentin
On Tue, Feb 09, 2016 at 09:07:27AM +0530, Keerthy wrote: > > > On Tuesday 09 February 2016 01:27 AM, Tony Lindgren wrote: > >* Keerthy [160208 01:19]: > >>OMAP5 has 3 thermal zones cpu, core and multimedia. > >>On the other hand DRA7 has 5 thermal zones cpu, gpu, core, dspeve > >>and iva. Curren

Re: Should snd_card_free() check for null pointer?

2016-02-09 Thread Takashi Iwai
On Tue, 09 Feb 2016 15:30:16 +0100, Jerome Marchand wrote: > > Hi, > > Before commit f24640648186b (ALSA: Use standard device refcount for card > accounting), snd_card_free() would return -EINVAL on a null pointer. Now > it ends up in a null pointer dereference. There is at least one driver > tha

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-09 Thread Wei Huang
On 02/09/2016 02:49 PM, Christoffer Dall wrote: > On Mon, Feb 08, 2016 at 04:47:27PM +, Julien Grall wrote: >> For now, the firmware tables are parsed 2 times: once in the GIC >> drivers, the other timer when initializing the vGIC. It means code >> duplication and make more tedious to add the

Re: [PATCH] tty: serial: meson: Add support for XTAL clock input

2016-02-09 Thread Carlo Caione
On Mon, Feb 8, 2016 at 1:49 PM, Andreas Färber wrote: > Fix the baudrate calculation for 24 MHz XTAL clock found on gxbb platforms. > > Signed-off-by: Andreas Färber Acked-by: Carlo Caione Thanks! -- Carlo Caione

Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode

2016-02-09 Thread Jiri Olsa
On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: > The hierarchy output mode is to group entries for each level so that > user can see higher level picture more easily. It also helps to find > out which component is most costly. The output will look like below: > > 15.11%

Re: [PATCH v3 2/3] clocksource: Add NPS400 timers driver

2016-02-09 Thread Noam Camus
>From: Daniel Lezcano >Sent: Tuesday, February 9, 2016 3:38 PM >Actually I was referring to clk_prepare_enable, clocksource_register_hz. >Agree clk_get_rate is always valid. Thanks for making this clear. Any way as you can see I do call pr_err() in case of error just like most drivers around. By

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-09 Thread Julian Calaby
Hi All, On Wed, Feb 10, 2016 at 8:36 AM, João Paulo Rechi Vita wrote: > Provide an interface for the airplane-mode indicator be controlled from > userspace. User has to first acquire the control through > RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole time > it wants to be in

Re: [PATCH v2 2/2] debugfs: prevent access to removed files' private data

2016-02-09 Thread Nicolai Stange
Greg Kroah-Hartman writes: > On Mon, Feb 08, 2016 at 09:00:05PM +0100, Nicolai Stange wrote: >> Greg Kroah-Hartman writes: >> >> > On Mon, Feb 08, 2016 at 06:14:58PM +0100, Nicolai Stange wrote: >> >> Greg Kroah-Hartman writes: >> >> >> >> > On Mon, Feb 08, 2016 at 04:03:27PM +0100, Nicolai S

Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT

2016-02-09 Thread Eduardo Valentin
On Tue, Feb 09, 2016 at 01:33:17PM -0800, Eduardo Valentin wrote: > On Tue, Feb 09, 2016 at 01:56:19AM +, Kuninori Morimoto wrote: > > > > Hi Eduardo > > > > I'm sorry I didn't mention you. > > Can you please check these patches ? > > Yes Morimoto, they are now on my todo list. Applied fir

Re: [PATCH 0/4][RESEND] thermal: rcar: use thermal-zone on DT

2016-02-09 Thread Eduardo Valentin
On Thu, Jan 28, 2016 at 02:43:55AM +, Kuninori Morimoto wrote: > Hi Zhang, Simon > > These are resend of thermal-zone support patch for R-Car thermal driver > > Kuninori Morimoto (4): > thermal: rcar: enable to use thermal-zone on DT > ARM: shmobile: r8a7790: enable to use thermal

Re: [PATCH] arm: dts: AM57XX: Correct the thermal thresholds

2016-02-09 Thread Eduardo Valentin
On Mon, Feb 08, 2016 at 03:15:05PM +0530, Keerthy wrote: > The thermal threholds for am57xx are different from that of dra7. > Correcting the thresholds for the same. > > Signed-off-by: Keerthy > --- > > Depends on: https://lkml.org/lkml/2016/2/8/90 > > arch/arm/boot/dts/am57xx-beagle-x15.dts

Re: [PATCH 3/3] thermal: allow u8500-thermal driver to be a module

2016-02-09 Thread Eduardo Valentin
On Wed, Jan 27, 2016 at 07:33:00AM +, Lee Jones wrote: > On Mon, 25 Jan 2016, Arnd Bergmann wrote: > > > When the thermal subsystem is a loadable module, the u8500 driver > > fails to build: > > > > drivers/thermal/built-in.o: In function `db8500_thermal_probe': > > db8500_thermal.c:(.text+0x

[PATCH] drivers/pci:Broken link fixed

2016-02-09 Thread Bhaskar Jupudi
From: cmps107-njupudi Dell developed a way to consistently name devices, and their last proposal was accepted under the name biosdevname. Signed-off-by: Naga Venkata Sai Indubhaskar Jupudi --- Proposal 1 provides a character device interface to ethernet devices. Proposal 2 is implemented in t

Re: [PATCH 1/5] iio: hmc5843: Add attribute for available measurement config

2016-02-09 Thread Jonathan Cameron
On 07/02/16 22:21, Cristina Moraru wrote: > Add static attribute meas_conf_available to show available > configurations for the bias current. > > API for setting bias measurement configuration: > > 0 - Normal measurement configuration (default): In normal measurement > configuration the devic

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

2016-02-09 Thread Fabio Estevam
Hi Bernhard, On Tue, Feb 9, 2016 at 6:01 PM, Bernhard Walle wrote: > We need that for a custom hardware that needs the reverse reset > sequence. > > Signed-off-by: Bernhard Walle Looks good: Reviewed-by: Fabio Estevam

Re: [PATCH 2/5] iio: hmc5843: Swap suspend and resume implementations

2016-02-09 Thread Jonathan Cameron
On 07/02/16 22:21, Cristina Moraru wrote: > Swap implementations of hmc5843_common_suspend and > hmc5843_common_resume functions for they have been > inversed. Device should go on SLEEP mode on suspend > and on CONTINUOUS mode on resume. > > Signed-off-by: Cristina Moraru I'd normally apply this

Re: [RFC v5 07/15] usb: ehci: add vbus-gpio parameter

2016-02-09 Thread Alban
On Tue, 9 Feb 2016 11:13:53 +0300 Antony Pavlov wrote: > This patch retrieves and configures the vbus control gpio via > the device tree. Wouldn't using a regulator be better than hard coding the GPIO case? Alban

Re: [PATCH 4/5] iio: hmc5843: Fix comment style warnings

2016-02-09 Thread Jonathan Cameron
On 07/02/16 22:21, Cristina Moraru wrote: > Fix comment style warnings in order to comply with Coding Style > standard provided by Documentation/CodingStyle. > > This patch solves following issue found with checkpatch: > WARNING: Block comments use a trailing */ on a separate line > > Signed-off-

Re: [PATCH] arm: dts: AM57XX: Correct the thermal thresholds

2016-02-09 Thread Nishanth Menon
On 02/09/2016 04:09 PM, Eduardo Valentin wrote: > On Mon, Feb 08, 2016 at 03:15:05PM +0530, Keerthy wrote: >> The thermal threholds for am57xx are different from that of dra7. >> Correcting the thresholds for the same. >> >> Signed-off-by: Keerthy >> --- >> >> Depends on: https://lkml.org/lkml/201

Very low responsiveness for pstore ftrace

2016-02-09 Thread Shi, Yang
Hi folks, I'm newbie to pstore. I just did a quick try for pstore ftrace. But, I experience very serious responsiveness problem. When running "echo 1 > /sys/kernel/debug/pstore/record_ftrace", it took a couple of minutes to return (here return means to get prompt back) on my arm64 machine (8 A

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-09 Thread Lina Iyer
On Tue, Feb 09 2016 at 06:13 -0700, Georgi Djakov wrote: The SAW (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) is part of the SPM subsystem. It is a hardware block in the Qualcomm chipsets that regulates the power to the CPU cores on platform such as apq8064, msm8974, apq8084 and

Re: [PATCH v2 3/6] iommu/amd: Introduce amd_iommu_get_num_iommus()

2016-02-09 Thread Suravee Suthikulpanit
Hi Joerg, On 01/07/2016 06:15 AM, Joerg Roedel wrote: On Fri, Jan 01, 2016 at 12:13:37PM -0600, Suravee Suthikulpanit wrote: +int amd_iommu_get_num_iommus(void) +{ + return amd_iommus_present; +} +EXPORT_SYMBOL(amd_iommu_get_num_iommus); Is this export needed? The perf code can't be bui

Re: [PATCH v2 2/2] debugfs: prevent access to removed files' private data

2016-02-09 Thread Greg Kroah-Hartman
On Tue, Feb 09, 2016 at 11:03:49PM +0100, Nicolai Stange wrote: > Greg Kroah-Hartman writes: > >> Last time I checked the tree (Nov.), there weren't any users of this > >> kind (debugfs file removal w/o module unload). > >> Obviously I missed ion though... I will recheck. > > Uhm, I must have bee

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-09 Thread Jonathan Cameron
On 08/02/16 17:50, William Breathitt Gray wrote: > The Apex Embedded Systems STX104 is a 16-channel 16-bit analog input and > 2-channel 16-bit analog output PC/104 card. The STX104 incorporates a > large one mega-sample FIFO. > > This driver provides IIO support for the 2-channel DAC on the STX104

Re: [PATCH 23/23] perf top: Add --hierarchy option

2016-02-09 Thread Jiri Olsa
On Fri, Feb 05, 2016 at 10:01:55PM +0900, Namhyung Kim wrote: > Support hierarchy output for perf-top using --hierarchy option. > > Acked-by: Pekka Enberg > Signed-off-by: Namhyung Kim > --- > tools/perf/Documentation/perf-top.txt | 3 +++ > tools/perf/builtin-top.c | 15 +

[PATCH] scsi: fdomain: add missing CONFIG_ to PCMCIA

2016-02-09 Thread Yang Shi
There are some "#ifdef PCMCIA" in the driver code, but all of them missed CONFIG_ prefix. Correct PCMCIA to CONFIG_PCMCIA. Signed-off-by: Yang Shi --- I happened to find this problem when I was tracking down another problem, however this driver looks very old, not sure if anybody cares about it

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

2016-02-09 Thread Johannes Weiner
Hi, On Tue, Feb 09, 2016 at 05:52:40PM +0100, Andres Freund wrote: > Hi, > > I'm working on fixing long IO stalls with postgres. After some > architectural changes fixing the worst issues, I noticed that indivdiual > processes/backends/connections still spend more time waiting than I'd > expect.

[3.19.y-ckt stable] Linux 3.19.8-ckt15 stable review

2016-02-09 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.19.8-ckt15 stable kernel. This version contains 47 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-r

[PATCH 3.19.y-ckt 08/47] ACPI / PCI / hotplug: unlock in error path in acpiphp_enable_slot()

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Insu Yun commit 2c3033a0664dfae91e1dee7fabac10f24354b958 upstream. In acpiphp_enable_slot(), there is a missing unlock path when error

[PATCH 3.19.y-ckt 13/47] USB: cp210x: add ID for IAI USB to RS485 adaptor

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Dedecker commit f487c54ddd544e1c9172cd510954f697b77b76e3 upstream. Added the USB serial console device ID for IAI Corp. RCB-CV-US

[PATCH 3.19.y-ckt 01/47] x86/xen/p2m: hint at the last populated P2M entry

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit 98dd166ea3a3c3b57919e20d9b0d1237fcd0349d upstream. With commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (x86/xen: p

[PATCH 3.19.y-ckt 41/47] perf hists: Fix HISTC_MEM_DCACHELINE width setting

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jiri Olsa commit 0805909f59e02036a4e2660159f27dbf8b6084ac upstream. Set correct width for unresolved mem_dcacheline addr. Signed-off-b

[PATCH 3.19.y-ckt 22/47] ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 462b3f161beb62eeb290f4ec52f5ead29a2f8ac7 upstream. Some architectures like PowerPC can handle the maximum struct si

[PATCH 3.19.y-ckt 47/47] KEYS: Fix keyring ref leak in join_session_keyring()

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Yevgeny Pats commit 23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 upstream. This fixes CVE-2016-0728. If a thread is asked to join as a ses

[PATCH 3.19.y-ckt 33/47] irqchip/atmel-aic: Fix wrong bit operation for IRQ priority

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Milo Kim commit 49f34134aea74f19ca016f055d25ee55ec359dee upstream. Atmel AIC has common structure for SMR (Source Mode Register). bi

[PATCH 3.19.y-ckt 46/47] ASN.1: Fix non-match detection failure on data overrun

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Howells commit 0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f upstream. If the ASN.1 decoder is asked to parse a sequence of objects, n

[PATCH 3.19.y-ckt 43/47] [media] usbvision fix overflow of interfaces array

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oliver Neukum commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream. This fixes the crash reported in: http://seclists.org/bugtraq/2

[PATCH 3.19.y-ckt 45/47] [media] usbvision: fix crash on detecting device with invalid configuration

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vladis Dronov commit fa52bd506f274b7619955917abfde355e3d19ffe upstream. The usbvision driver crashes when a specially crafted usb devic

[PATCH 3.19.y-ckt 44/47] [media] usbvision: fix leak of usb_dev on failure paths in usbvision_probe()

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexey Khoroshilov commit afd270d1a45043cef14341bcceff62ed50e8dc9a upstream. There is no usb_put_dev() on failure paths in usbvision_pr

[PATCH 3.19.y-ckt 40/47] perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Markus Trippelsdorf commit d4913cbd05bab685e49c8174896e563b2487d054 upstream. The issue was pointed out by gcc-6's -Wmisleading-indenta

[PATCH 3.19.y-ckt 42/47] powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Madhavan Srinivasan commit 370f06c88528b3988fe24a372c10e1303bb94cf6 upstream. Commit 7a7868326d77 ("powerpc/perf: Add an explict flag i

[PATCH] clk: clk_register: Correctly initialize enable_count

2016-02-09 Thread Rhyland Klein
When clocks are registered, they could be enabled already in hardware. As of now, the enable count will start at 0. When this happens, it means a clock is enabled and the framework doesn't know that, so it will always report it as disabled. After the first call of clk_enable(), the enable_count wi

[PATCH 3.19.y-ckt 37/47] Staging: speakup: Fix getting port information

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Samuel Thibault commit 327b882d3bcc1fba82dbd39b5cf5a838c81218e2 upstream. Commit f79b0d9c223c ("staging: speakup: Fixed warning instea

Re: [PATCH] reset: ath79: Make reset_control_ops const

2016-02-09 Thread Alban
On Mon, 8 Feb 2016 14:28:17 +0100 Philipp Zabel wrote: > The ath79_reset_ops structure is never modified. Make it const. > > Signed-off-by: Philipp Zabel > --- > drivers/reset/reset-ath79.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/reset/reset-ath79.c b

[PATCH 3.19.y-ckt 31/47] n_tty: Fix unsafe reference to "other" ldisc

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 6d27a63caad3f13e96cf065d2d96828c2006be6b upstream. Although n_tty_check_unthrottle() has a valid ldisc reference (s

[PATCH 3.19.y-ckt 38/47] x86/mm/pat: Avoid truncation when converting cpa->numpages to address

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matt Fleming commit 742563777e8da62197d6cb4b99f4027f59454735 upstream. There are a couple of nasty truncation bugs lurking in the pagea

[PATCH 3.19.y-ckt 36/47] drm/vmwgfx: respect 'nomodeset'

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rob Clark commit 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 upstream. Signed-off-by: Rob Clark Reviewed-by: Thomas Hellstrom . Signed-of

[PATCH 3.19.y-ckt 39/47] serial: 8250_pci: Add Intel Broadwell ports

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mika Westerberg commit 6c55d9b98335f7f6bd5f061866ff1633401f3a44 upstream. Some recent (early 2015) macbooks have Intel Broadwell where

[PATCH 3.19.y-ckt 35/47] ALSA: dummy: Disable switching timer backend via sysfs

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 7ee96216c31aabe1eb42fb91ff50dae9fcd014b2 upstream. ALSA dummy driver can switch the timer backend between system ti

[PATCH 3.19.y-ckt 24/47] ALSA: bebob: Use a signed return type for get_formation_index

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lucas Tanure commit 07905298e4d5777eb58516cdc242f7ac1ca387a2 upstream. The return type "unsigned int" was used by the get_formation_ind

[PATCH 3.19.y-ckt 34/47] seccomp: always propagate NO_NEW_PRIVS on tsync

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jann Horn commit 103502a35cfce0710909da874f092cb44823ca03 upstream. Before this patch, a process with some permissive seccomp filter th

[PATCH 3.19.y-ckt 30/47] tty: Fix unsafe ldisc reference via ioctl(TIOCGETD)

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 5c17c861a357e9458001f021a7afa7aab9937439 upstream. ioctl(TIOCGETD) retrieves the line discipline id directly from t

[PATCH 3.19.y-ckt 32/47] staging/speakup: Use tty_ldisc_ref() for paste kworker

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit f4f9edcf9b5289ed96113e79fa65a7bf27ecb096 upstream. As the function documentation for tty_ldisc_ref_wait() notes, it

[PATCH 3.19.y-ckt 20/47] arm64: kernel: fix architected PMU registers unconditional access

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lorenzo Pieralisi commit f436b2ac90a095746beb6729b8ee8ed87c9eaede upstream. The Performance Monitors extension is an optional feature o

[PATCH 3.19.y-ckt 28/47] powerpc/eeh: Fix PE location code

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Gavin Shan commit 7e56f627768da4e6480986b5145dc3422bc448a5 upstream. In eeh_pe_loc_get(), the PE location code is retrieved from the "i

[PATCH 3.19.y-ckt 29/47] SCSI: fix crashes in sd and sr runtime PM

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alan Stern commit 13b4389143413a1f18127c07f72c74cad5b563e8 upstream. Runtime suspend during driver probe and removal can cause problems

[PATCH 3.19.y-ckt 21/47] USB: option: fix Cinterion AHxx enumeration

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: John Ernberg commit 4152b387da81617c80cb2946b2d56e3958906b3e upstream. In certain kernel configurations where the cdc_ether and option

[PATCH 3.19.y-ckt 26/47] arm64: mm: avoid calling apply_to_page_range on empty range

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Mika=20Penttil=C3=A4?= commit 57adec866c0440976c96a4b8f5b59fb411b1cacb upstream. Calling apply_to_page_range with an empty ra

[PATCH 3.19.y-ckt 27/47] x86/mm: Fix types used in pgprot cacheability flags translations

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jan Beulich commit 3625c2c234ef66acf21a72d47a5ffa94f6c5ebf2 upstream. For PAE kernels "unsigned long" is not suitable to hold page prot

[PATCH 3.19.y-ckt 25/47] arm64: errata: Add -mpc-relative-literal-loads to build flags

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: dann frazier commit 67dfa1751ce71e629aad7c438e1678ad41054677 upstream. GCC6 (and Linaro's 2015.12 snapshot of GCC5) has a new default t

[PATCH 3.19.y-ckt 23/47] ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guillaume Fougnies commit 5a4ff9ec8d6edd2ab1cfe8ce6a080d6e57cbea9a upstream. TEAC UD-501/UD-503/NT-503 fail to switch properly between

[PATCH 3.19.y-ckt 18/47] ALSA: seq: Degrade the error message for too many opens

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit da10816e3d923565b470fec78a674baba794ed33 upstream. ALSA OSS sequencer spews a kernel error message ("ALSA: seq_oss:

[PATCH 3.19.y-ckt 19/47] USB: serial: ftdi_sio: add support for Yaesu SCU-18 cable

2016-02-09 Thread Kamal Mostafa
3.19.8-ckt15 -stable review patch. If anyone has any objections, please let me know. ---8< From: Greg Kroah-Hartman commit e03cdf22a2727c60307be6a729233edab3bfda9c upstream. Harald Linden reports that the ftdi_sio driver works prope

[PATCH V3 2/5] perf/amd/iommu: Modify functions to query max banks and counters

2016-02-09 Thread Suravee Suthikulpanit
Currently, amd_iommu_pc_get_max_[banks|counters]() require devid, which should not be the case. Also, these don't properly support multi-IOMMU system. Current and future AMD systems with IOMMU that support perf counter would likely contain homogeneous IOMMUs where multiple IOMMUs are availalbe. So

[PATCH V3 5/5] perf/amd/iommu: Enable support for multiple IOMMUs

2016-02-09 Thread Suravee Suthikulpanit
The current amd_iommu_pc_get_set_reg_val() does not support muli-IOMMU system. This patch replace amd_iommu_pc_get_set_reg_val() with amd_iommu_pc_set_reg_val() and amd_iommu_pc_[set|get]_cnt_vals(). Also, the current struct hw_perf_event.prev_count can only store the previous counter value only f

<    3   4   5   6   7   8   9   10   11   >