Some results (was: Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs)

2015-02-25 Thread Borislav Petkov
On Fri, Feb 20, 2015 at 10:58:15AM -0800, Andy Lutomirski wrote: > - /* Auto enable eagerfpu for xsaveopt */ > - if (cpu_has_xsaveopt && eagerfpu != DISABLE) > + /* Auto enable eagerfpu for everyone */ > + if (eagerfpu != DISABLE) > eagerfpu = ENABLE; So Mel did run

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Wed, Feb 25, 2015 at 10:51:16AM -0500, Steven Rostedt wrote: > > > +static void try_to_push_tasks(void *arg) > > > +{ > > > + struct rt_rq *rt_rq = arg; > > > + struct rq *rq, *next_rq; > > > + int next_cpu = -1; > > > + int next_prio = MAX_PRIO + 1; > > > + int this_prio; > > > + int src_prio;

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Stathis Voukelatos
Hi Richard, On 25/02/15 17:01, Richard Cochran wrote: On Wed, Feb 25, 2015 at 04:19:45PM +0100, Richard Cochran wrote: Let me suggest another approach that stays in line with the existing frame work. Based on the device's limitations and your own example, it seems clear that the intended use

Dead Kconfig Option OMAP4_ERRATA_I688

2015-02-25 Thread Stefan Hengelein
During the research for my masters thesis i came across the OMAP4_ERRATA_I688 option and realized, it is never possible to enable this option. The a62a6e98 commit added the "&& !ARCH_MULTIPLATFORM" dependency to disable this option for multiplatforms. However, because of enclosing dependencies,

Re: [PATCH] coresight-stm: adding driver for CoreSight STM component

2015-02-25 Thread Mathieu Poirier
On 5 February 2015 at 04:27, Paul Bolle wrote: > On Wed, 2015-02-04 at 15:22 -0700, mathieu.poir...@linaro.org wrote: >> From: Pratik Patel >> >> This driver adds support for the STM CoreSight IP block, >> allowing any system compoment (HW or SW) to log and >> aggregate messages via a single

[PATCH] ARM: dts: am335x-boneblack: enable aes and sham

2015-02-25 Thread Matt Porter
Beaglebone Black doesn't have AES and SHAM enabled like the original Beaglebone White dts. This breaks applications that leverage the crypto blocks so fix this by enabling these nodes. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-boneblack.dts | 8 1 file changed, 8

[PATCH] ARM: dts: warp: Add initial WaRP Board support

2015-02-25 Thread Otavio Salvador
The WaRP Board is a Wearable Reference Plaform. The board features: - Freescale i.MX6 SoloLite processor with 512MB of RAM - Freescale FXOS8700CQ 6-axis Xtrinsic sensor - Freescale Kinetis KL16 MCU - Freescale Xtrinsic MMA955xL intelligent motion sensing platform The board implements a

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 17:58, Roger Quadros wrote: static unsigned int gpmc_ticks_to_ps(unsigned int ticks) @@ -346,16 +395,22 @@ static void gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) * @st_bit Start Bit * @end_bit End Bit. Must be >= @st_bit. * @nameDTS

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Russell King - ARM Linux
On Wed, Feb 25, 2015 at 04:58:35PM +0100, Arnd Bergmann wrote: > On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: > > This patch adds support for a half-word xchg() for ARM using ldrexh/strexh > > instructions. It also fixes an asm comment for __cmpxchg2. > > > > Currently using a

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Gregory CLEMENT
Hi Tyler, On 10/02/2015 23:50, Tyler Hall wrote: > The current register being used to read the temperature returns a noisy value > that is prone to variance and occasional outliers. The value in the thermal > manager control and status register appears to have the same scale but much > less

Re: [PATCH net-next v4 0/3] Linn Ethernet Packet Sniffer driver

2015-02-25 Thread Richard Cochran
On Wed, Feb 25, 2015 at 04:19:45PM +0100, Richard Cochran wrote: > Let me suggest another approach that stays in line with the existing > frame work. Based on the device's limitations and your own example, > it seems clear that the intended use case is synchronization for AVB > applications using

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Russell King - ARM Linux
On Wed, Feb 25, 2015 at 11:47:48AM -0500, Nicolas Pitre wrote: > I completely agree with the r/w spinlock. Something like this ought to > be sufficient to make gic_raise_softirq() reentrant which is the issue > here, right? I've been stress-testing it for a while with no problems > so far.

Re: [PATCH v2 2/2] ARM: perf: Add support for Scorpion PMUs

2015-02-25 Thread Ashwin Chaugule
On 24 February 2015 at 12:23, Ashwin Chaugule wrote: > On 20 February 2015 at 15:16, Stephen Boyd wrote: >> On 02/20, Will Deacon wrote: >>> On Fri, Feb 13, 2015 at 06:24:09PM +, Stephen Boyd wrote: >>> >>> > +static void scorpion_evt_setup(int idx, u32 config_base) >>> > +{ >>> > +

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 11:11:28 Pranith Kumar wrote: > On Wed, Feb 25, 2015 at 10:58 AM, Arnd Bergmann wrote: > > On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: > >> This patch adds support for a half-word xchg() for ARM using ldrexh/strexh > >> instructions. It also fixes an

Re: [PATCH 8/8 v2] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-25 Thread Roger Quadros
Robert, On 24/02/15 22:05, Robert ABEL wrote: > The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, > even though the access is defined as asynchronous, and no GPMC_CLK clock > is provided to the external device. Still, GPMCFCLKDIVIDER is used as a > divider > for the GPMC

Re: [PATCH 1/2] Drivers: hv: hv_balloon: report offline pages as being used

2015-02-25 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Thursday, February 19, 2015 8:27 AM >> To: KY Srinivasan; de...@linuxdriverproject.org >> Cc: Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui >> Subject: [PATCH 1/2]

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Denys Vlasenko
On 02/25/2015 01:37 PM, Andrey Wagin wrote: > Hello Denys, > > My test vm doesn't boot with this patch. Could you help to investigate > this issue? > > I have attached a kernel config and console log. > > [2.508252] traps: systemd-cgroups[380] general protection ip:7f68ad096028 >

Re: [PATCH] perf, tools, record: Support recording running/enabled time

2015-02-25 Thread David Ahern
On 2/24/15 4:13 PM, Andi Kleen wrote: --- a/tools/perf/Documentation/perf-record.txt +++ b/tools/perf/Documentation/perf-record.txt @@ -241,6 +241,9 @@ Capture machine state (registers) at interrupt, i.e., on counter overflows for each sample. List of captured registers depends on the

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-25 Thread Nicolas Pitre
On Wed, 25 Feb 2015, Russell King - ARM Linux wrote: > On Thu, Feb 05, 2015 at 04:11:00PM +, Russell King - ARM Linux wrote: > > On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: > > > Works for me, assuming no hidden uses of RCU in the IPI code. ;-) > > > > Sigh... I kind'a

Re: [PATCH v6 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Jaewon Kim wrote: > This patch adds MAX77843 core/irq driver to support PMIC, > MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, > LED and Haptic device. > > Cc: Lee Jones > Signed-off-by: Jaewon Kim > Signed-off-by: Beomho Seo > --- > drivers/mfd/Kconfig

Re: [PATCH 3.18 00/20] 3.18.8-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:10:15PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.8 release. > There are 20 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[PATCH v2 2/2] HID: wacom: add full support of the Wacom Bamboo PAD

2015-02-25 Thread Benjamin Tissoires
The stylus of this device works just fine out of the box. The touch is seen by default as a mouse with relative events and some gestures. The wireless and the wired version have slightly different firmwares, but the debug mode 2 on the feature 2 is common to the 2 devices. In this mode, all the

[PATCH v2 1/2] HID: wacom: store the hid_device pointers of the sibling devices

2015-02-25 Thread Benjamin Tissoires
The Bamboo PAD in debug mode needs to re-route events from the debug interface to the Pen interface. This can be easily done with hid_input_report(), but that means that we need to keep a reference to the various hid_devices. There should be only one touch and one pen interface per physical

[PATCH v2] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-25 Thread Georgi Djakov
This patch adds support for the global clock controller found on the MSM8916 based devices. It allows the various device drivers to probe and control their clocks and resets. Signed-off-by: Georgi Djakov --- Changes since v1: * Addressed comments from Stephen Boyd and Archit Taneja * Fixed

[PATCH v2 0/2] HID: wacom: add support of Bamboo PAD

2015-02-25 Thread Benjamin Tissoires
So here is the v2 of the patch set to support the Bamboo PAD. It has been tested by Josep (thanks!) on the wired version and I developped it on the wireless version. I guess it should be good to go if the reviews goes well. Cheers, Benjamin Benjamin Tissoires (2): HID: wacom: store the

Re: [PATCH 3.14 00/17] 3.14.34-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:10:02PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.34 release. > There are 17 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.10 00/16] 3.10.70-stable review

2015-02-25 Thread Guenter Roeck
On Tue, Feb 24, 2015 at 06:09:52PM -0800, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.70 release. > There are 16 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [RFC v2 0/5] introduce gcma

2015-02-25 Thread SeongJae Park
On Wed, 25 Feb 2015, Michal Hocko wrote: On Wed 25-02-15 14:31:08, SeongJae Park wrote: Hello Michal, Thanks for your comment :) On Tue, 24 Feb 2015, Michal Hocko wrote: On Tue 24-02-15 04:54:18, SeongJae Park wrote: [...] include/linux/cma.h |4 + include/linux/gcma.h | 64 +++

RE: [PATCH V4 0/7] x86/intel_rdt: Intel Cache Allocation Technology

2015-02-25 Thread Luck, Tony
> The CAT thing was annoying already, but at least one can find that in > the SDM, this RDT thing, not a single mention. The problems of development at the bleeding edge. Would you rather Linux sat on the sidelines until there are enough Google hits from other users of new features? I did get

[PATCH 1/2] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets

2015-02-25 Thread riel
From: Rik van Riel Ensure that cpus specified with the isolcpus= boot commandline option stay outside of the load balancing in the kernel scheduler. Operations like load balancing can introduce unwanted latencies, which is exactly what the isolcpus= commandline is there to prevent. Previously,

[PATCH 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-02-25 Thread riel
From: Rik van Riel The previous patch makes it so the code skips over isolcpus when building scheduler load balancing domains. This makes it hard to see for a user which of the CPUs in a cpuset are participating in load balancing, and which ones are isolated cpus. Add a cpuset.isolcpus file

[PATCH -v2 0/2] cpusets,isolcpus: resolve conflict between cpusets and isolcpus

2015-02-25 Thread riel
-v2 addresses the conflict David Rientjes spotted between my previous patches and commit e8e6d97c9b ("cpuset: use %*pb[l] to print bitmaps including cpumasks and nodemasks") Ensure that cpus specified with the isolcpus= boot commandline option stay outside of the load balancing in the kernel

Re: [PATCH 0/2] powerpc/kvm: Enable running guests on RT Linux

2015-02-25 Thread Sebastian Andrzej Siewior
* Scott Wood | 2015-02-23 17:27:31 [-0600]: >This isn't a host PIC driver. It's guest PIC emulation, some of which >is indeed not suitable for a rawlock (in particular, openpic_update_irq >which loops on the number of vcpus, with a loop body that calls >IRQ_check() which loops over all pending

Re: [PATCH v2 00/18] Add support to STMicroelectronics STM32 family

2015-02-25 Thread David Howells
Maxime Coquelin wrote: > > Is support for this in upstream binutils and gcc? What's the preferred > > target tuple? I'll add support to Fedora's cross-binutils and cross-gcc > > sets if I can. > > I just rebuilt using latest upstream binutils and gcc. > To compile Kernel and bootloader, I

[PATCH 3/3] Hal8188ERateAdaptive.c : Expression is always false because 'else if' condition matches previous condition at line 404.

2015-02-25 Thread Ameen Ali
else if at line 406 has the same condition as the else if at line 404. i chosed 0x5 because it's half 0xb (just a rate controller) Signed-off-by : Ameen Ali --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 7/8 v2] ARM OMAP2+ GPMC: calculate GPMCFCLKDIVIDER based on WAITMONITORINGTIME

2015-02-25 Thread Roger Quadros
On 24/02/15 22:05, Robert ABEL wrote: > The WAITMONITORINGTIME is expressed as a number of GPMC_CLK clock cycles, > even though the access is defined as asynchronous, and no GPMC_CLK clock > is provided to the external device. Still, GPMCFCLKDIVIDER is used as a > divider > for the GPMC clock, so

Re: [PATCH v4 4/4] phy: add phy-hi6220-usb

2015-02-25 Thread Felipe Balbi
On Wed, Feb 25, 2015 at 09:28:36PM +0800, zhangfei wrote: > +static void hi6220_detect_work(struct work_struct *work) > +{ > + struct hi6220_priv *priv = > + container_of(work, struct hi6220_priv, work.work); > + int gpio_id, gpio_vbus; >

Re: [PATCH Resend] cpufreq: Set cpufreq_cpu_data to NULL before putting kobject

2015-02-25 Thread santosh shilimkar
On 2/24/2015 9:47 PM, Ethan Zhao wrote: Viresh, Will do that when I get the test box. Thanks Ethan. On Wed, Feb 25, 2015 at 12:35 PM, viresh kumar wrote: On Wednesday 25 February 2015 08:54 AM, Ethan Zhao wrote: Viresh, With this patch applied, still got the following warning

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Roger Quadros
On 25/02/15 18:23, Robert Abel wrote: > Hi Roger, > > On 25 Feb 2015 17:18, Roger Quadros wrote: >> OK. Would be interesting to see how unconditional call to >> of_platform_decide_create() behaves >> for your case. > I'm not able to test today, so results will be in tomorrow. If that doesn't >

Re: [PATCH v3 0/3] epoll: introduce round robin wakeup mode

2015-02-25 Thread Jason Baron
On 02/25/2015 02:38 AM, Ingo Molnar wrote: > * Jason Baron wrote: > >> Hi, >> >> When we are sharing a wakeup source among multiple epoll >> fds, we end up with thundering herd wakeups, since there >> is currently no way to add to the wakeup source >> exclusively. This series introduces a new

Re: [PATCH 5/8 v2] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-25 Thread Robert Abel
Hi Tony, On 25 Feb 2015 16:23, Tony Lindgren wrote: * Roger Quadros [150225 05:28]: On 24/02/15 22:05, Robert ABEL wrote: DTS output was formatted to require additional work when copy-pasting into DTS. Nano-second timings were removed, because they were not a confidence interval nor an

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Robert Abel
Hi Roger, On 25 Feb 2015 17:18, Roger Quadros wrote: OK. Would be interesting to see how unconditional call to of_platform_decide_create() behaves for your case. I'm not able to test today, so results will be in tomorrow. If that doesn't work, I'll just resubmit my first patch with the

[PATCH v2 0/1] Intel Quark X1000 DTS thermal driver

2015-02-25 Thread Ong Boon Leong
Dear maintainers, This patch introduces DTS thermal driver for Intel Quark X1000. The code implementation is based on intel_soc_dts_thermal.c. Intel Quark X1000 has one on-die DTS with two configurable trip points: critical and hot trip points. However, todate, UEFI BIOS for Quark X1000 uses

irqchip status (please read)

2015-02-25 Thread Jason Cooper
boot support Hanjun Guo 20150225 [PATCH v5 0/7] irqchip: Move OMAP{4,5}/DRA7 to use stacked domains Marc Zyngier 20150223 "In my queue" means it's queued up for review, nothing more. I'm certain there are patches for consideration for this cycle which are not on the

Re: [PATCH 3/8 v2] ARM OMAP2+ GPMC: add bus children

2015-02-25 Thread Roger Quadros
Robert, On 25/02/15 17:06, Robert Abel wrote: > Hi Roger, > > On 25 Feb 2015 13:02, Roger Quadros wrote: >> This creates platform devices for the children of child, but what about >> platform device for the child itself? > It seems my first try in the other patch set wasn't so wrong after all.

Re: [PATCH 2/4] x86: get rid of KERNEL_STACK_OFFSET

2015-02-25 Thread Andy Lutomirski
On Wed, Feb 25, 2015 at 1:45 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> - BUG_ON(((current_stack_pointer() ^ >> this_cpu_read_stable(kernel_stack)) >> + BUG_ON(((current_stack_pointer() ^ >> +(this_cpu_read_stable(kernel_stack) - 1)) >>

[PATCH v2 1/1] thermal: intel Quark SoC X1000 DTS thermal driver

2015-02-25 Thread Ong Boon Leong
In Intel Quark SoC X1000, there is one on-die digital temperature sensor(DTS). The DTS offers both hot & critical trip points. However, in current distribution of UEFI BIOS for Quark platform, only critical trip point is configured to be 105 degree Celsius (based on Quark SW ver1.0.1 and hot trip

[PATCH 3/4] arm/arm64: KVM: Fix migration race in the arch timer

2015-02-25 Thread Alex Bennée
From: Christoffer Dall When a VCPU is no longer running, we currently check to see if it has a timer scheduled in the future, and if it does, we schedule a host hrtimer to notify is in case the timer expires while the VCPU is still not running. When the hrtimer fires, we mask the guest's timer

[PATCH 2/4] arm/arm64: KVM: Implement support for unqueueing active IRQs

2015-02-25 Thread Alex Bennée
From: Christoffer Dall Migrating active interrupts causes the active state to be lost completely. This implements some additional bitmaps to track the active state on the distributor and export this to user space. Signed-off-by: Christoffer Dall Signed-off-by: Alex Bennée --- AJB: - fixed

[PATCH 4/4] arm/arm64: KVM: Keep elrsr/aisr in sync with software model

2015-02-25 Thread Alex Bennée
From: Christoffer Dall There is an interesting bug in the vgic code, which manifests itself when the KVM run loop has a signal pending or needs a vmid generation rollover after having disabled interrupts but before actually switching to the guest. In this case, we flush the vgic as usual, but

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
On Wed, Feb 25, 2015 at 10:58 AM, Arnd Bergmann wrote: > On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: >> This patch adds support for a half-word xchg() for ARM using ldrexh/strexh >> instructions. It also fixes an asm comment for __cmpxchg2. >> >> Currently using a half-word

Re: [RFC v2 0/5] introduce gcma

2015-02-25 Thread Michal Hocko
On Wed 25-02-15 14:31:08, SeongJae Park wrote: > Hello Michal, > > Thanks for your comment :) > > On Tue, 24 Feb 2015, Michal Hocko wrote: > > >On Tue 24-02-15 04:54:18, SeongJae Park wrote: > >[...] > >> include/linux/cma.h |4 + > >> include/linux/gcma.h | 64 +++ > >> mm/Kconfig

[PATCH 1/4] arm: KVM: export vcpi->pause state via MP_STATE ioctls

2015-02-25 Thread Alex Bennée
To cleanly restore an SMP VM we need to ensure that the current pause state of each vcpu is correctly recorded. Things could get confused if the CPU starts running after migration restore completes when it was paused before it state was captured. We use the existing KVM_GET/SET_MP_STATE ioctl to

Re: [PATCH v6 6/7] PCI: update dma configuration from DT

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 11:03:02 Murali Karicheri wrote: > > > (I don't know exactly how these patches all fit together, so that's > > probably not accurate, but that's the *sort* of thing I'd like to include.) > > > > If that actually *is* what's going on, I have to wonder why this isn't >

Re: [PATCH] thermal: armada: read stable temp on Armada XP

2015-02-25 Thread Gregory CLEMENT
Hi Tyler, Eduardo, On 24/02/2015 20:56, Tyler Hall wrote: > Eduardo, > > On Tue, Feb 24, 2015 at 1:36 PM, Eduardo Valentin wrote: >> The fix seams reasonable. Although, it remains the question what is >> applicability to other Armada chips? Besides, shouldn't we simply use it >> by default?

Re: [PATCH 9/8 v2] ARM OMAP2+ GPMC: fix programming/showing reserved timing parameters

2015-02-25 Thread Roger Quadros
Robert, On 25/02/15 17:17, Robert Abel wrote: > Hi Roger, > > On 25 Feb 2015 11:44, Roger Quadros wrote: >> typo ATTCHEDDEVICEPAGELENGTH->ATTACHEDDEVICEPAGELENGTH > Yep. >>> +/** DEVICESIZE Max Value */ >>> +#define GPMC_CONFIG1_DEVICESIZE_MAX GPMC_CONFIG1_DEVICESIZE_16 >> Shouldn't this be

Re: RFC: (almost) getting rid of FIXUP/RESTORE_TOP_OF_STACK?

2015-02-25 Thread Andy Lutomirski
On Tue, Feb 24, 2015 at 3:45 AM, Denys Vlasenko wrote: > On 02/24/2015 12:58 AM, Andy Lutomirski wrote: >>> - Next possible change is to use PUSH insns to build the stack. Something >>> along the lines of >>> swapgs >>> mov %rsp,%gs:old_rsp >>> mov

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Borislav Petkov
On Wed, Feb 25, 2015 at 11:01:29AM -0500, Steven Rostedt wrote: > I'm just curious, do all these micro optimizations have any real impact > on real use cases? > > That is, if we are going to make the system less robust, shouldn't we > show that it has real benefit? I'm wondering the same thing

[RFC V2 08/12] i2c: dln2: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-dln2.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-dln2.c b/drivers/i2c/busses/i2c-dln2.c index b3fb86af4cbb14..b6f9ba7eb17564 100644 ---

[RFC V2 04/12] i2c: opal: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-opal.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-opal.c b/drivers/i2c/busses/i2c-opal.c index 16f90b1a750894..b2788ecad5b3cb 100644 ---

[RFC V2 03/12] i2c: at91: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-at91.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 636fd2efad8850..b3a70e8fc653c5 100644 ---

[RFC V2 01/12] i2c: add quirk structure to describe adapter flaws

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang The number of I2C adapters which are not fully I2C compatible is rising, sadly. Drivers usually do handle the flaws, still the user receives only some errno for a transfer which normally can be expected to work. This patch introduces a formal description of flaws. One

[RFC V2 00/12] i2c: describe adapter quirks in a generic way

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Here is the second version of the patch series to describe i2c adapter quirks in a generic way. For the motivation, please read description of patch 1. This is still RFC because I would like to do some more tests on my own, but I need to write a tool for that. However, I'd

[RFC V2 02/12] i2c: add quirk checks to core

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Let the core do the checks if HW quirks prevent a transfer. Saves code from drivers and adds consistency. Signed-off-by: Wolfram Sang --- drivers/i2c/i2c-core.c | 62 ++ 1 file changed, 62 insertions(+) diff --git

[RFC V2 07/12] i2c: axxia: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-axxia.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-axxia.c b/drivers/i2c/busses/i2c-axxia.c index 768a598d8d03ad..488c5d3bf9dba7 100644 ---

[RFC V2 12/12] i2c: bcm-iproc: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-bcm-iproc.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm-iproc.c b/drivers/i2c/busses/i2c-bcm-iproc.c index d3c89157b33774..f9f2c2082151e2 100644 ---

[RFC V2 11/12] i2c: pmcmsp: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-pmcmsp.c | 42 - 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c index

Re: [PATCH v6 6/7] PCI: update dma configuration from DT

2015-02-25 Thread Murali Karicheri
On 02/24/2015 08:53 PM, Bjorn Helgaas wrote: On Thu, Feb 05, 2015 at 04:52:58PM -0500, Murali Karicheri wrote: If there is a DT node available for the root bridge's parent device, use the dma configuration from that device node. For example, keystone PCI devices would require dma_pfn_offset to

[RFC V2 10/12] i2c: viperboard: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-viperboard.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c index 7533fa34d73711..47e88adf2011e1 100644 ---

[RFC V2 09/12] i2c: powermac: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-powermac.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/i2c/busses/i2c-powermac.c b/drivers/i2c/busses/i2c-powermac.c index 60a53c169ed2b3..6abcf696e3594b 100644 ---

[RFC V2 06/12] i2c: cpm: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-cpm.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c index 2d466538b2e2c9..714bdc837769fd 100644 ---

[RFC V2 05/12] i2c: qup: make use of the new infrastructure for quirks

2015-02-25 Thread Wolfram Sang
From: Wolfram Sang Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-qup.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c index 4dad23bdffbe90..fdcbdab808e9fc 100644 ---

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 16:40:49 +0100 Denys Vlasenko wrote: > >> The downside would be that if we ever grow past 1024 > >> syscall entries we'll be in trouble if new userspace calls > >> syscall 513 on an old kernel and gets syscall 1. > > > > What if we test against ~0x3ff and jump to sys_ni if

b4eef9b36db4 ("kvm: x86: vmx: NULL out hwapic_isr_update() in case of !enable_apicv")

2015-02-25 Thread Borislav Petkov
Hi, commit in $Subject breaks my kvm guest on AMD host, causing it to do the following below. Mouse doesn't work anymore in the guest, network is gone too. Reverting it fixes the issue. --- ... [4.849095] Freeing unused kernel memory: 2972K (81aee000 - 81dd5000) [

Re: [PATCH V6 00/12] Tegra xHCI support

2015-02-25 Thread Thierry Reding
On Mon, Nov 24, 2014 at 04:17:12PM -0800, Andrew Bresticker wrote: > This series adds support for xHCI on NVIDIA Tegra SoCs. This includes: > - patches 1, 2, and 3: minor cleanups for mailbox framework and xHCI, > - patches 4 and 5: adding a driver for the mailbox used to communicate >with

Re: [Xen-devel] [PATCH 06/13] xen: detect pre-allocated memory interfering with e820 map

2015-02-25 Thread Juergen Gross
On 02/25/2015 03:24 PM, David Vrabel wrote: On 24/02/15 06:27, Juergen Gross wrote: On 02/19/2015 07:07 PM, David Vrabel wrote: On 18/02/2015 06:51, Juergen Gross wrote: +{ +unsigned long pfn; +unsigned long area_start, area_end; +unsigned i; + +for (i = 0; i <

Re: [RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Arnd Bergmann
On Wednesday 25 February 2015 10:36:20 Pranith Kumar wrote: > This patch adds support for a half-word xchg() for ARM using ldrexh/strexh > instructions. It also fixes an asm comment for __cmpxchg2. > > Currently using a half-word xchg() results in the following splat on an ARMv7 > machine. > >

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Steven Rostedt
On Wed, 25 Feb 2015 11:35:35 +0100 Peter Zijlstra wrote: > On Tue, Feb 24, 2015 at 01:39:46PM -0500, Steven Rostedt wrote: > > Index: linux-rt.git/kernel/sched/rt.c > > === > > --- linux-rt.git.orig/kernel/sched/rt.c 2015-02-24

Re: [PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Peter Griffin wrote: > Hi Lee, > > On Wed, 25 Feb 2015, Lee Jones wrote: > > > > + resets = < STIH407_USB3_POWERDOWN>, > > > + < STIH407_MIPHY2_SOFTRESET>; > > > + reset-names = "powerdown", > >

Re: [PATCH v3] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Charles Keepax wrote: > Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in > the dt-binding directory for use by device tree bindings. This also > makes gpio.h redundant so remove it in the process. > > Signed-off-by: Charles Keepax > Acked-by: Mark Brown

Re: [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-25 Thread Lee Jones
On Wed, 25 Feb 2015, Rob Herring wrote: > On Mon, Feb 23, 2015 at 11:23 AM, Mike Turquette > wrote: > > Quoting Lee Jones (2015-02-18 08:15:00) > >> Much h/w contain clocks which if turned off would prove fatal. The > >> only way to recover is to restart the board(s). This driver takes > >>

[PATCH v5 3/6] ARM: dts: Add properties to use pwm-fan device as a cooling device in Odroid U3

2015-02-25 Thread Lukasz Majewski
With those bindings it is possible to use pwm-fan device available in Odroid U3 as a cooling device. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values property to cooling-levels Changes for v3: - Change patch's topic to "ARM dts" - Reduce maximal cooling-level to 230

Re: [PATCH v2 2/2] epoll: introduce EPOLLEXCLUSIVE and EPOLLROUNDROBIN

2015-02-25 Thread Jason Baron
On 02/21/2015 07:24 PM, Eric Wong wrote: > Jason Baron wrote: >> On 02/18/2015 12:51 PM, Ingo Molnar wrote: >>> * Ingo Molnar wrote: >>> > [...] However, I think the userspace API change is less > clear since epoll_wait() doesn't currently have an > 'input' events argument as

Re: [PATCH v3 0/2] x86/arm64: add xenconfig

2015-02-25 Thread Michal Marek
On 2015-02-10 23:32, Paul Bolle wrote: > On Tue, 2015-02-10 at 14:21 -0800, David Rientjes wrote: >> We need an update to the MAINTAINERS file if "Yann E. MORIN" >> isn't the active Kconfig maintainer anymore. > > Yes, we do. Michal, what update would you suggest? I'll revert the patch that

RE: [PATCH] thermal: intel Quark SoC X1000 DTS thermal driver

2015-02-25 Thread Ong, Boon Leong
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >ow...@vger.kernel.org] On Behalf Of Ong, Boon Leong >Sent: Monday, February 23, 2015 9:39 AM >To: Kweh, Hock Leong; Zhang, Rui; edubez...@gmail.com >Cc: linux...@vger.kernel.org; LKML; Bryan O'Donoghue

Re: [PATCH 5/8 v2] ARM OMAP2+ GPMC: change get_gpmc_timing_reg output for DTS

2015-02-25 Thread Tony Lindgren
* Roger Quadros [150225 05:28]: > On 24/02/15 22:05, Robert ABEL wrote: > > DTS output was formatted to require additional work when copy-pasting into > > DTS. > > Nano-second timings were removed, because they were not a confidence > > interval nor > > an indication what timing values would

Re: [PATCH v2] virtio-balloon: do not call blocking ops when !TASK_RUNNING

2015-02-25 Thread Thomas Huth
On Wed, 25 Feb 2015 16:11:27 +0100 Cornelia Huck wrote: > On Wed, 25 Feb 2015 15:36:02 +0100 > "Michael S. Tsirkin" wrote: > > > virtio balloon has this code: > > wait_event_interruptible(vb->config_change, > > (diff = towards_target(vb)) != 0 > >

[RFC PATCH] arm: asm/cmpxchg.h: Add support half-word xchg()

2015-02-25 Thread Pranith Kumar
This patch adds support for a half-word xchg() for ARM using ldrexh/strexh instructions. It also fixes an asm comment for __cmpxchg2. Currently using a half-word xchg() results in the following splat on an ARMv7 machine. [ 45.833303] xchg: bad data size: pc 0xbe806020, ptr 0xeb18deee, size 2

Re: [PATCH] perf, tools, record: Support recording running/enabled time

2015-02-25 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 25, 2015 at 04:13:06PM +0100, Jiri Olsa escreveu: > On Tue, Feb 24, 2015 at 03:13:40PM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > Add an option to perf record to record running/enabled time > > for read events, similar to what stat does. > > > > This is useful to

Re: [PATCH 1/4] x86: entry.S: tidy up several suboptimal insns

2015-02-25 Thread Denys Vlasenko
On Wed, Feb 25, 2015 at 3:43 PM, Steven Rostedt wrote: > On Wed, 25 Feb 2015 10:20:43 +0100 Ingo Molnar wrote: >> But, if we do that, we can do even better, and also do an >> optimization of the 64-bit entry path as well: we could >> simply mask RAX with 0x3ff and not do a compare. Pad the >>

[PATCH v3] mfd: arizona: Move useful defines into a dt-binding include

2015-02-25 Thread Charles Keepax
Move parts of linux/mfd/arizona/pdata.h and gpio.h into a new file in the dt-binding directory for use by device tree bindings. This also makes gpio.h redundant so remove it in the process. Signed-off-by: Charles Keepax Acked-by: Mark Brown Acked-by: Rob Herring --- Changes since v2: -

Re: [PATCH] phy: armada375-usb2: Set drvdata for phy and use it

2015-02-25 Thread Kishon Vijay Abraham I
On Tuesday 24 February 2015 07:42 PM, Axel Lin wrote: Signed-off-by: Axel Lin need a commit msg pls. -Kishon --- drivers/phy/phy-armada375-usb2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/phy-armada375-usb2.c b/drivers/phy/phy-armada375-usb2.c

Re: doubt about sm7xxfb

2015-02-25 Thread Greg Kroah-Hartman
On Wed, Feb 25, 2015 at 06:00:02PM +0530, Sudip Mukherjee wrote: > On Wed, Feb 11, 2015 at 02:33:51PM +0800, Greg Kroah-Hartman wrote: > > On Wed, Feb 11, 2015 at 11:58:18AM +0530, Sudip Mukherjee wrote: > > > > Ok, that makes sense, I was thinking this was a "new" driver, instead of > > a vendor

[PATCH v5 4/6] hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty cycle

2015-02-25 Thread Lukasz Majewski
It was necessary to decouple code handling writing to sysfs from the one responsible for setting PWM of the fan. Due to that, new __set_pwm() method was extracted, which is responsible for only setting new PWM duty cycle. Signed-off-by: Lukasz Majewski --- Changes for v2: - None Changes for v3:

[PATCH v5 6/6] hwmon: pwm-fan: Code for using PWM FAN as a cooling device

2015-02-25 Thread Lukasz Majewski
The PWM FAN device can now be used as a thermal cooling device. Necessary infrastructure has been added in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Replace pwm_fan_cooling_states with pwm_fan_cooling_levels - Update ctx->pwm_fan_state when correct data from device tree

[PATCH v5 5/6] hwmon: pwm-fan: Read PWM FAN configuration from device tree

2015-02-25 Thread Lukasz Majewski
This patch provides code for reading PWM FAN configuration data via device tree. The pwm-fan can work with full speed when configuration is not provided. However, errors are propagated when wrong DT bindings are found. Additionally the struct pwm_fan_ctx has been extended. Signed-off-by: Lukasz

[PATCH v5 1/6] Documentation: dts: Documentation entry to explain how to use PWM FAN as a cooling device

2015-02-25 Thread Lukasz Majewski
Explanation of several properties, which allow PWM fan working as a cooling device, have been embraced in this commit. Signed-off-by: Lukasz Majewski --- Changes for v2: - Rename cooling-pwm-values to cooling-levels - Remove default-pulse-width property and stick to default hwmon policy Changes

[PATCH v5 2/6] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2015-02-25 Thread Lukasz Majewski
From: Kamil Debski Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the cooling fan. In addition, add the "pwm" label to the pwm@139D node in the exynos4412.dtsi. Signed-off-by: Kamil Debski Signed-off-by: Lukasz Majewski --- Changes since v1: - added pwm label to the

[PATCH v5 0/6] hwmon: thermal: Odroid U3: Provide support for Odroid U3 fan

2015-02-25 Thread Lukasz Majewski
Presented patches add support for Odroid's U3 optional CPU FAN, which uses PWM subsystem for low level control. After successful probe it registers itself as a cooling device for thermal subsystem. This driver also supports devices without DTS specified. To provide correct functionality, new

Re: [PATCH] mfd: da9150: Constify struct regmap_config

2015-02-25 Thread Lee Jones
On Tue, 24 Feb 2015, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/da9150-core.c | 2 +- > 1 file changed, 1 insertion(+), 1

<    1   2   3   4   5   6   7   8   9   10   >