Re: [PATCH] [media] imx: csi: retain current field order and colorimetry setting as default

2017-04-06 Thread Philipp Zabel
On Thu, 2017-04-06 at 17:43 +0200, Hans Verkuil wrote: > On 04/06/2017 04:54 PM, Philipp Zabel wrote: > > On Thu, 2017-04-06 at 16:20 +0200, Hans Verkuil wrote: > >> On 04/06/2017 03:55 PM, Philipp Zabel wrote: > >>> If the the field order is set to ANY in set_fmt, choose the currently > >>> set fi

Re: [RFC 6/8] nvmet: Be careful about using iomem accesses when dealing with p2pmem

2017-04-06 Thread Logan Gunthorpe
On 05/04/17 11:33 PM, Sagi Grimberg wrote: > >>> Note that the nvme completion queues are still on the host memory, so >>> this means we have lost the ordering between data and completions as >>> they go to different pcie targets. >> >> Hmm, in this simple up/down case with a switch, I think it

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-06 Thread Daniel Kiper
Hi Julien, On Thu, Apr 06, 2017 at 04:39:13PM +0100, Julien Grall wrote: > Hi Daniel, > > On 06/04/17 16:20, Daniel Kiper wrote: > >On Thu, Apr 06, 2017 at 04:38:24PM +0200, Juergen Gross wrote: > >>On 06/04/17 16:27, Daniel Kiper wrote: > >>>On Thu, Apr 06, 2017 at 09:32:32AM +0100, Julien Grall

Re: [PATCH 1/1] gpio: core: Decouple open drain/source flag with active low/high

2017-04-06 Thread Andy Shevchenko
On Thu, Apr 6, 2017 at 4:35 PM, Laxman Dewangan wrote: > Currently, the GPIO interface is said to Open Drain if it is Single > Ended and active LOW. Similarly, it is said as Open Source if it is > Single Ended and active HIGH. > > The active HIGH/LOW is used in the interface for setting the pin >

[PATCH v2 2/5] iio: dac: add support for stm32 DAC

2017-04-06 Thread Fabrice Gasnier
Add support for STMicroelectronics STM32 DAC. It's a 12-bit, voltage output digital-to-analog converter. It has two output channels, each with its own converter. It supports 8 bits or 12bits left/right aligned data format. Only 12bits right-aligned is used here. It has built-in noise or triangle wa

[PATCH v2 1/5] dt-bindings: iio: stm32-dac: Add support for STM32 DAC

2017-04-06 Thread Fabrice Gasnier
Document STMicroelectronics STM32 DAC (digital-to-analog converter). Signed-off-by: Fabrice Gasnier --- Changes in v2: - use 'reg' instead of 'st,dac-channel' property - remove alignment from description --- .../devicetree/bindings/iio/dac/st,stm32-dac.txt | 61 ++ 1 file c

[PATCH v2 4/5] iio: dac: stm32: add support for trigger events

2017-04-06 Thread Fabrice Gasnier
STM32 DAC supports triggers to synchronize conversions. When trigger occurs, data is transferred from DHR (data holding register) to DOR (data output register) so output voltage is updated. Both hardware and software triggers are supported. Signed-off-by: Fabrice Gasnier --- Changes in v2: - Fix

[PATCH v2 0/5] Add STM32H7 DAC driver

2017-04-06 Thread Fabrice Gasnier
This patchset adds support for the STM32H7 DAC controller It's a 12-bit, voltage output digital-to-analog converter. It has two output channels, each with its own converter, trigger sources and waveform generator. Each channel can be used independently, so common resources are managed in stm32-da

[PATCH v2 3/5] iio: trigger: add set_trigger callback to notify device

2017-04-06 Thread Fabrice Gasnier
Add 'set_trigger' callback to iio info structure. This allows device to be notified when a trigger (or no trigger) has been assigned. This maybe useful for instance in non buffered mode (e.g. event triggered). This is called, after trigger and device side validate callbacks have been called. Signe

[PATCH v2 5/5] iio: dac: stm32: add support for waveform generator

2017-04-06 Thread Fabrice Gasnier
STM32 DAC has built-in noise or triangle waveform generator. - "wavetype" extended attribute selects noise or triangle. - "amplitude" extended attribute selects amplitude for waveform generator A DC offset can be added to waveform generator output. This can be done using out_voltage[1/2]_offset W

Hallo,

2017-04-06 Thread kathcullen
Hallo, Mein Name ist Brinda Khaled, ich werde gerne mehr über dich wissen, ich möchte nur meine Ansicht mit dir teilen, wenn es dir nichts ausmacht. Ich werde mehr erzählen, wenn ich von dir antworte. Danke und ich warte auf deine Antwort. Brinda

[PATCH v2 0/6] Add support for the ARMv8.2 Statistical Profiling Extension

2017-04-06 Thread Will Deacon
Hi all, This is the fourth posting of the patches previously posted here: rfcv1: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/476450.html rfcv2: http://lists.infradead.org/pipermail/linux-arm-kernel/2017-January/479387.html v1: http://lists.infradead.org/pipermai

[PATCH v2 4/6] perf/core: Add PERF_AUX_FLAG_COLLISION to report colliding samples

2017-04-06 Thread Will Deacon
The ARM SPE architecture permits an implementation to ignore a sample if the sample is due to be taken whilst another sample is already being produced. In this case, it is desirable to report the collision to userspace, as they may want to lower the sample period. This patch adds a PERF_AUX_FLAG_C

[PATCH] irqchip/atmel-aic5: handle suspend to RAM

2017-04-06 Thread Alexandre Belloni
On sama5d2, VDD core may be cut while suspending to RAM. This means the AIC5 registers content is lost. Restore it at resume time. Signed-off-by: Alexandre Belloni --- drivers/irqchip/irq-atmel-aic5.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH v2 2/6] genirq: export irq_get_percpu_devid_partition to modules

2017-04-06 Thread Will Deacon
Any modular driver using cluster-affine PPIs needs to be able to call irq_get_percpu_devid_partition so that it can enable the IRQ on the correct subset of CPUs. This patch exports the symbol so that it can be called from within a module. Acked-by: Marc Zyngier Acked-by: Thomas Gleixner Signed-

Re: [PATCH v2 1/2] pwm: loongson1: Add PWM driver for Loongson1 SoC

2017-04-06 Thread Thierry Reding
On Wed, Feb 15, 2017 at 10:45:31PM +0800, Yang Ling wrote: > Add support for the PWM controller present in Loongson1 family of SoCs. > > Signed-off-by: Yang Ling > > --- > V2: > Remove ls1x_pwm_channel. > Remove period_ns/duty_ns check. > Add return values check. > --- > drivers/pwm/Kconf

[PATCH v2 1/6] perf/core: Keep AUX flags in the output handle

2017-04-06 Thread Will Deacon
In preparation for adding more flags to perf AUX records, introduce a separate API for setting the flags for a session, rather than appending more bool arguments to perf_aux_output_end. This allows to set each flag at the time a corresponding condition is detected, instead of tracking it in each dr

[PATCH v2 5/6] drivers/perf: Add support for ARMv8.2 Statistical Profiling Extension

2017-04-06 Thread Will Deacon
The ARMv8.2 architecture introduces the optional Statistical Profiling Extension (SPE). SPE can be used to profile a population of operations in the CPU pipeline after instruction decode. These are either architected instructions (i.e. a dynamic instruction trace) or CPU-specific uops and the choi

[PATCH v2 3/6] perf/core: Export AUX buffer helpers to modules

2017-04-06 Thread Will Deacon
Perf PMU drivers using AUX buffers cannot be built as modules unless the AUX helpers are exported. This patch exports perf_aux_output_{begin,end,skip} and perf_get_aux to modules. Cc: Peter Zijlstra Signed-off-by: Will Deacon --- kernel/events/ring_buffer.c | 4 1 file changed, 4 insertio

[PATCH v2 6/6] dt-bindings: Document devicetree binding for ARM SPE

2017-04-06 Thread Will Deacon
This patch documents the devicetree binding in use for ARM SPE. Cc: Mark Rutland Cc: Rob Herring Signed-off-by: Will Deacon --- Documentation/devicetree/bindings/arm/spe-pmu.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/ar

Re: [PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-04-06 Thread Lorenzo Pieralisi
On Thu, Apr 06, 2017 at 02:07:27PM +0100, Russell King - ARM Linux wrote: > On Thu, Apr 06, 2017 at 01:59:07PM +0200, Luis R. Rodriguez wrote: > > On Thu, Apr 06, 2017 at 12:38:45PM +0100, Lorenzo Pieralisi wrote: > > > Ok but where ? linux/io.h or asm-generic/io.h ? As I replied to Russell, > > >

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-06 Thread Michal Hocko
On Thu 06-04-17 10:46:53, Reza Arbab wrote: > On Thu, Apr 06, 2017 at 05:41:28PM +0200, Michal Hocko wrote: > >On Thu 06-04-17 10:24:49, Reza Arbab wrote: > >>On Thu, Apr 06, 2017 at 03:08:46PM +0200, Michal Hocko wrote: > >>>OK, so after recent change mostly driven by testing from Reza Arbab > >>>

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-06 Thread Juergen Gross
On 06/04/17 18:06, Daniel Kiper wrote: > Hi Julien, > > On Thu, Apr 06, 2017 at 04:39:13PM +0100, Julien Grall wrote: >> Hi Daniel, >> >> On 06/04/17 16:20, Daniel Kiper wrote: >>> On Thu, Apr 06, 2017 at 04:38:24PM +0200, Juergen Gross wrote: On 06/04/17 16:27, Daniel Kiper wrote: > On T

Re: [PATCH V2 2/4] pwm: tegra: Increase precision in pwm rate calculation

2017-04-06 Thread Thierry Reding
On Thu, Apr 06, 2017 at 07:50:59PM +0530, Laxman Dewangan wrote: > The rate of the PWM calculated as follows: > hz = NSEC_PER_SEC / period_ns; > rate = (rate + (hz / 2)) / hz; > > This has the precision loss in lower PWM rate. > Changing this to have more precision as: > hz = DIV

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-06 Thread Mel Gorman
On Thu, Apr 06, 2017 at 06:21:55PM +0200, Michal Hocko wrote: > On Thu 06-04-17 10:46:53, Reza Arbab wrote: > > On Thu, Apr 06, 2017 at 05:41:28PM +0200, Michal Hocko wrote: > > >On Thu 06-04-17 10:24:49, Reza Arbab wrote: > > >>On Thu, Apr 06, 2017 at 03:08:46PM +0200, Michal Hocko wrote: > > >>>O

Re: [PATCH 1/2] net: netfilter: Remove typedef from "typedef struct field_t"

2017-04-06 Thread Pablo Neira Ayuso
On Sat, Mar 25, 2017 at 05:57:55PM +0530, Arushi Singhal wrote: > This patch removes typedefs from struct and renames it from "typedef struct > field_t" to "struct field" as per kernel coding standards." > > Signed-off-by: Arushi Singhal > --- > net/netfilter/nf_conntrack_h323_asn1.c | 68 > +++

Re: [PATCH v3 00/18] clocksource/arch_timer: Errata workaround infrastructure rework

2017-04-06 Thread Catalin Marinas
Hi Daniel, On Tue, Apr 04, 2017 at 06:18:08PM +0100, Marc Zyngier wrote: > Marc Zyngier (18): > arm64: Allow checking of a CPU-local erratum > arm64: Add CNTVCT_EL0 trap handler > arm64: Define Cortex-A73 MIDR > arm64: cpu_errata: Allow an erratum to be match for all revisions of a > c

Re: [PATCH V2 2/4] pwm: tegra: Increase precision in pwm rate calculation

2017-04-06 Thread Thierry Reding
On Thu, Apr 06, 2017 at 07:50:59PM +0530, Laxman Dewangan wrote: > The rate of the PWM calculated as follows: > hz = NSEC_PER_SEC / period_ns; > rate = (rate + (hz / 2)) / hz; > > This has the precision loss in lower PWM rate. > Changing this to have more precision as: > hz = DIV

Re: [PATCH V2 1/4] pwm: tegra: Use DIV_ROUND_CLOSEST_ULL() instead of local implementation

2017-04-06 Thread Thierry Reding
On Thu, Apr 06, 2017 at 07:50:58PM +0530, Laxman Dewangan wrote: > Use macro DIV_ROUND_CLOSEST_ULL() for 64bit division to closet one "closest" Thierry > instead of implementing the same locally. This increase readability. > > Signed-off-by: Laxman Dewangan > --- > Changes from V1: > None > >

Re: [RFC 6/8] nvmet: Be careful about using iomem accesses when dealing with p2pmem

2017-04-06 Thread Jason Gunthorpe
On Thu, Apr 06, 2017 at 08:33:38AM +0300, Sagi Grimberg wrote: > > >>Note that the nvme completion queues are still on the host memory, so > >>this means we have lost the ordering between data and completions as > >>they go to different pcie targets. > > > >Hmm, in this simple up/down case with a

Re: [PATCH v4] arm64: print a fault message when attempting to write RO memory

2017-04-06 Thread Catalin Marinas
On Wed, Apr 05, 2017 at 12:18:31PM -0700, Stephen Boyd wrote: > If a page is marked read only we should print out that fact, > instead of printing out that there was a page fault. Right now we > get a cryptic error message that something went wrong with an > unhandled fault, but we don't evaluate t

Re: [RFC][PATCH] spin loop arch primitives for busy waiting

2017-04-06 Thread Peter Zijlstra
On Thu, Apr 06, 2017 at 08:16:19AM -0700, Linus Torvalds wrote: > In theory x86 could use monitor/mwait for it too, in practice I think > it tends to still be too high latency (because it was originally just > designed for the idle loop). mwait got extended to actually be useful, > but I'm not sur

Re: [PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 05:21:56PM +0100, Lorenzo Pieralisi wrote: > Ok, so: > > (1) I can do asm-generic/ioremap-nopost.h, which I assume you want to > contain something like > > static inline void __iomem *ioremap_nopost(phys_addr_t offset, size_t size) > { > return ioremap_nocache(of

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-06 Thread Daniel Kiper
On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote: > On 06/04/17 18:06, Daniel Kiper wrote: > > Hi Julien, > > > > On Thu, Apr 06, 2017 at 04:39:13PM +0100, Julien Grall wrote: > >> Hi Daniel, > >> > >> On 06/04/17 16:20, Daniel Kiper wrote: > >>> On Thu, Apr 06, 2017 at 04:38:24PM +020

[PATCH 0/4] tracing: Add usecase of synchronize_rcu_tasks() and stack_tracer_disable()

2017-04-06 Thread Steven Rostedt
Paul, can you take a quick look at these patches. Namely patch 1, 3 and 4. I modified your patch to use the updated name for stack_tracer_disable(). If all looks well, can you give them your ack. Thanks! -- Steve Paul E. McKenney (1): rcu: Fix dyntick-idle tracing Steven Rostedt (VMwa

[PATCH 3/4] tracing: Add stack_tracer_disable/enable() functions

2017-04-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" There are certain parts of the kernel that can not let stack tracing proceed (namely in RCU), because the stack tracer uses RCU, and parts of RCU internals can not handle having RCU read side locks taken. Add stack_tracer_disable() and stack_tracer_enable() functi

[PATCH 4/4] rcu: Fix dyntick-idle tracing

2017-04-06 Thread Steven Rostedt
From: "Paul E. McKenney" The tracing subsystem started using rcu_irq_entry() and rcu_irq_exit() (with my blessing) to allow the current _rcuidle alternative tracepoint name to be dispensed with while still maintaining good performance. Unfortunately, this causes RCU's dyntick-idle entry code's tr

[PATCH 1/4] ftrace: Add use of synchronize_rcu_tasks() with dynamic trampolines

2017-04-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The function tracer needs to be more careful than other subsystems when it comes to freeing data. Especially if that data is actually executable code. When a single function is traced, a trampoline can be dynamically allocated which is called to jump to the functio

[PATCH 2/4] tracing: Replace the per_cpu() with this_cpu() in trace_stack.c

2017-04-06 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The updates to the trace_active per cpu variable can be updated with the this_cpu_*() functions as it only gets updated on the CPU that the variable is on. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/trace_stack.c | 23 +++ 1 file

Re: [PATCH] vfio/type1: Remove locked page accounting workqueue

2017-04-06 Thread Auger Eric
Hi Alex, On 06/04/2017 16:43, Alex Williamson wrote: > On Thu, 6 Apr 2017 10:23:59 +0200 > Auger Eric wrote: > >> Hi Alex, >> >> On 03/04/2017 22:02, Alex Williamson wrote: >>> If the mmap_sem is contented then the vfio type1 IOMMU backend will >>> defer locked page accounting updates to a workq

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-06 Thread Fu Wei
Hi Mark, On 6 April 2017 at 02:38, Mark Rutland wrote: > Hi, > > I tried to fix the issue that Lornzo raised, such that I could queue > these patches. From looking at this patch in more detail however, I > think there are further issues that need to be addressed. > > On Sat, Apr 01, 2017 at 01:51

Re: [PATCH] mwifiex: MAC randomization should not be persistent

2017-04-06 Thread Brian Norris
On Thu, Apr 06, 2017 at 07:02:15AM +0300, Kalle Valo wrote: > Brian Norris writes: > > > nl80211 provides the NL80211_SCAN_FLAG_RANDOM_ADDR for every scan > > request that should be randomized; the absence of such a flag means we > > should not randomize. However, mwifiex was stashing the latest

[PATCH] nfc: fix get_unaligned_...() misuses

2017-04-06 Thread Al Viro
* use unaligned.h, not unaligned/access_ok.h * if a local variable of type uint16_t is unaligned, your compiler is FUBAR * the whole point of get_unaligned_... is to avoid memcpy + ..._to_cpu(). Using it *after* memcpy() (into aligned object, no less) is pointless. Signed-off-by: Al Viro dif

Re: ktest help

2017-04-06 Thread Steven Rostedt
I added LKML (others may want to know this too), and John, who's going to help me maintain ktest. On Thu, 6 Apr 2017 11:34:45 -0500 Timur Tabi wrote: > On 04/05/2017 08:53 PM, Steven Rostedt wrote: > >> > Why is it prompting me for the MACHINE when I've specified it in the > >> > ktest.conf fil

Re: [PATCH] net: davinci_mdio: add GPIO reset logic

2017-04-06 Thread Roger Quadros
On 06/04/17 15:05, Andrew Lunn wrote: >>> Do you really need more than one GPIO? A single gpio would make all >>> this code a lot simpler. >>> >> >> Yes we need. Some of our boards have separate GPIO RESET lines for >> different PHYs on the same MDIO bus. > > If you have a one-to-one mapping of G

Re: [PATCH 2/6] locking: Introduce range reader/writer lock

2017-04-06 Thread Davidlohr Bueso
On Thu, 06 Apr 2017, Laurent Dufour wrote: How is 'seqnum' wrapping handled here ? I'd rather see something like time_before() here, isn't it ? Its a 64bit counter, no overflows.

Re: [PATCH] mm: vmscan: fix IO/refault regression in cache workingset transition

2017-04-06 Thread Rik van Riel
On Thu, 2017-04-06 at 10:49 -0400, Johannes Weiner wrote: > On Wed, Apr 05, 2017 at 06:11:04PM -0400, Rik van Riel wrote: > > On Tue, 2017-04-04 at 18:00 -0400, Johannes Weiner wrote: > > > > > + > > > + /* > > > +  * When refaults are being observed, it means a new > > > workingset > > > +  * is

Re: [PATCH v2] vfio/type1: Remove locked page accounting workqueue

2017-04-06 Thread Auger Eric
Hi Alex, On 06/04/2017 16:53, Alex Williamson wrote: > If the mmap_sem is contented then the vfio type1 IOMMU backend will > defer locked page accounting updates to a workqueue task. This has > a few problems and depending on which side the user tries to play, > they might be over-penalized for u

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-06 Thread Mel Gorman
On Thu, Apr 06, 2017 at 06:21:55PM +0200, Michal Hocko wrote: > > This was my first time using your git branch instead of applying the patches > > from this thread to v4.11-rc5 myself. > > OK, so this looks like another thing to resolve. I have seen this > warning as well but I didn't consider it

Re: [tpmdd-devel] Regression between Linux 3.16 and 4.8/4.9 on Lenovo X60 with coreboot

2017-04-06 Thread Jason Gunthorpe
On Thu, Apr 06, 2017 at 08:18:33AM +0200, Paul Menzel wrote: > Indeed, that improves the situation. I still need to pass `force=1` to the > module to get `/dev/tpm0`. No idea, why it’s not in included in Linux 4.9 > yet. Fair point.. Jarkko - could you forward that patch to -stable? > $ journalc

Re: [PATCH v1 1/5] perf/core: Define the common branch type classification

2017-04-06 Thread Peter Zijlstra
On Thu, Apr 06, 2017 at 10:43:19PM +0800, Jin, Yao wrote: > > > On 4/6/2017 5:25 PM, Peter Zijlstra wrote: > > On Thu, Apr 06, 2017 at 04:21:06PM +0800, Jin, Yao wrote: > > > Hi, otherwise we have to maintain 2 branch type copies between kernel and > > > user-space. > > > > > > For example, curr

[PATCH] x86/intel_rdt: Fix two typos in Documentation

2017-04-06 Thread Xiaochen Shen
Both typos are in example 3. Because cache id 0 is the only cache id, the ";" is redundant in "# echo "L3:0=ffc00;" > p0/schemata". And "C0" in "# echo C0 > p0/cpus" is wrong because it specifies core 6-7 instead of wanted core 4-7. Correct the typos to avoid confusion. Signed-off-by: Xiaochen

Re: [PATCH] mailbox: fix completion order for blocking requests

2017-04-06 Thread Alexey Klimov
Hi Jassi/Sudeep, On Wed, Mar 29, 2017 at 07:01:09PM +0100, Sudeep Holla wrote: > > > On 29/03/17 18:43, Jassi Brar wrote: > > Currently two threads, wait on blocking requests, could wake up for > > completion of request of each other as ... > > > > Thread#1(T1) Thread#2(T2

Re: [PATCH] nfc: fix get_unaligned_...() misuses

2017-04-06 Thread Al Viro
On Thu, Apr 06, 2017 at 05:48:47PM +0100, Al Viro wrote: > * use unaligned.h, not unaligned/access_ok.h ... which got misspelled in that patch, sorry... Fixed variant follows: commit b3e79ba1708c9b74781079c9f8617448fce36b51 Author: Al Viro Date: Thu Apr 6 12:42:14 2017 -0400 nfc: fix get

Re: ktest help

2017-04-06 Thread Timur Tabi
On 04/06/2017 11:49 AM, Steven Rostedt wrote: >> > >> > This tftp's the kernel image (Image.q) and then boots. I'm having >> > difficulty figuring out how to implement that in ktest. >> > > Can you make a script do this? If so, then you can simply tell ktest to > call that script. See the option

Re: [PATCH -v6 04/13] futex,rt_mutex: Provide futex specific rt_mutex API

2017-04-06 Thread Darren Hart
On Thu, Apr 06, 2017 at 02:15:05PM +0200, Peter Zijlstra wrote: > On Fri, Mar 24, 2017 at 05:37:02PM -0700, Darren Hart wrote: > > > > But, Peter are you testing this with anything in particular? > > Testing? :-) > > I ran some of the futex pi tests we have, and have a slightly modified > kernel

Re: [PATCH V4 4/4] pwm: tegra: Add support to configure pin state in suspends/resume

2017-04-06 Thread Laxman Dewangan
Oops, it was actually v2. On Thursday 06 April 2017 08:47 PM, Jon Hunter wrote: On 06/04/17 15:21, Laxman Dewangan wrote: In some of NVIDIA Tegra's platform, PWM controller is used to control the PWM controlled regulators. PWM signal is connected to the VID pin of the regulator where duty cycle

Re: [PATCH] docs/vm/transhuge: Fix few trivial typos

2017-04-06 Thread Randy Dunlap
On 04/05/17 14:02, SeongJae Park wrote: > Signed-off-by: SeongJae Park > --- > Documentation/vm/transhuge.txt | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt > index cd28d5ee5273..4e22578e50d3 100

Re: [PATCH v2] vfio/type1: Remove locked page accounting workqueue

2017-04-06 Thread Alex Williamson
On Thu, 6 Apr 2017 18:53:04 +0200 Auger Eric wrote: > Hi Alex, > > On 06/04/2017 16:53, Alex Williamson wrote: > > If the mmap_sem is contented then the vfio type1 IOMMU backend will > > defer locked page accounting updates to a workqueue task. This has > > a few problems and depending on which

Re: ktest help

2017-04-06 Thread Steven Rostedt
On Thu, 6 Apr 2017 12:01:37 -0500 Timur Tabi wrote: > Is there a way I can send a "boot" command after ktest connects to the > console? > Not currently, but that is something I've been wanting to add for some time. John? -- Steve

Re: [PATCH V3 3/4] pwm: tegra: Add DT binding details to configure pin in suspends/resume

2017-04-06 Thread Laxman Dewangan
On Thursday 06 April 2017 08:56 PM, Jon Hunter wrote: On 06/04/17 15:21, Laxman Dewangan wrote: In some of NVIDIA Tegra's platform, PWM controller is used to control the PWM controlled regulators. PWM signal is connected to the VID pin of the regulator where duty cycle of PWM signal decide the

Re: [PATCH] staging: android: ashmem: lseek failed due to no FMODE_LSEEK.

2017-04-06 Thread Greg KH
On Thu, Apr 06, 2017 at 08:30:40AM -0700, Greg Hackmann wrote: > On 04/06/2017 07:30 AM, zhangshuxia...@gmail.com wrote: > > From: zhangshuxiao > > > > vfs_llseek will check whether the file mode has > > FMODE_LSEEK, no return failure. But ashmem can be > > lseek, so add FMODE_LSEEK to ashmem fil

Re: [PATCH -v6 04/13] futex,rt_mutex: Provide futex specific rt_mutex API

2017-04-06 Thread Darren Hart
On Thu, Apr 06, 2017 at 02:17:28PM +0200, Peter Zijlstra wrote: > On Wed, Apr 05, 2017 at 08:02:17AM -0700, Darren Hart wrote: > > > @@ -1364,20 +1364,18 @@ static int wake_futex_pi(u32 __user *uad > > > pi_state->owner = new_owner; > > > raw_spin_unlock(&new_owner->pi_lock); > > > > > > /*

Re: [PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-04-06 Thread Lorenzo Pieralisi
On Thu, Apr 06, 2017 at 05:40:16PM +0100, Russell King - ARM Linux wrote: > On Thu, Apr 06, 2017 at 05:21:56PM +0100, Lorenzo Pieralisi wrote: > > Ok, so: > > > > (1) I can do asm-generic/ioremap-nopost.h, which I assume you want to > > contain something like > > > > static inline void __iome

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-06 Thread Fu Wei
Hi Lorenzo, On 3 April 2017 at 18:45, Lorenzo Pieralisi wrote: > On Sat, Apr 01, 2017 at 01:51:03AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> On platforms booting with ACPI, architected memory-mapped timers' >> configuration data is provided by firmware through the ACPI GTDT >> stati

Re: [PATCH V14 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2017-04-06 Thread Catalin Marinas
Hi Rafael, On Tue, Mar 28, 2017 at 01:30:30PM -0600, Tyler Baicar wrote: > Tyler Baicar (9): > acpi: apei: read ack upon ghes record consumption > ras: acpi/apei: cper: generic error data entry v3 per ACPI 6.1 > efi: parse ARM processor error > arm64: exception: handle Synchronous External

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-06 Thread Michal Hocko
On Thu 06-04-17 17:55:20, Mel Gorman wrote: > On Thu, Apr 06, 2017 at 06:21:55PM +0200, Michal Hocko wrote: > > > This was my first time using your git branch instead of applying the > > > patches > > > from this thread to v4.11-rc5 myself. > > > > OK, so this looks like another thing to resolve.

Re: [RFC][PATCHv2 2/8] printk: introduce printing kernel thread

2017-04-06 Thread Pavel Machek
Hi! > printk() is quite complex internally and, basically, it does two > slightly independent things: > a) adds a new message to a kernel log buffer (log_store()) > b) prints kernel log messages to serial consoles (console_unlock()) > > while (a) is guaranteed to be executed by printk(), (b) is

Re: [PATCH] qla4xxx: drop redundant init_completion

2017-04-06 Thread Martin K. Petersen
Nicholas Mc Guire writes: > The redundant init_completion() here seems to be a cut&past error as > struct scsi_qla_host only has 4 completion elements to initialize, > thus the duplicate init_completion(disable_acb_comp) is simply > removed. Applied to 4.12/scsi-queue. -- Martin K. Petersen

Re: [PATCH] mailbox: fix completion order for blocking requests

2017-04-06 Thread Jassi Brar
On 6 April 2017 at 22:28, Alexey Klimov wrote: > Hi Jassi/Sudeep, > > On Wed, Mar 29, 2017 at 07:01:09PM +0100, Sudeep Holla wrote: >> >> >> On 29/03/17 18:43, Jassi Brar wrote: ... >> > diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c >> > index 9dfbf7e..e06c50c 100644 >> > ---

Re: [PATCH 1/1] gpio: core: Decouple open drain/source flag with active low/high

2017-04-06 Thread Laxman Dewangan
On Thursday 06 April 2017 09:40 PM, Andy Shevchenko wrote: On Thu, Apr 6, 2017 at 4:35 PM, Laxman Dewangan wrote: Currently, the GPIO interface is said to Open Drain if it is Single Ended and active LOW. Similarly, it is said as Open Source if it is Single Ended and active HIGH. The active HI

Re: [PATCH] format-security: move static strings to const

2017-04-06 Thread Jes Sorensen
On 04/05/2017 05:47 PM, Kees Cook wrote: While examining output from trial builds with -Wformat-security enabled, many strings were found that should be defined as "const", or as a char array instead of char pointer. This makes some static analysis easier, by producing fewer false positives. As

Re: [PATCH v2 02/22] asm-generic/io.h: add ioremap_nopost remap interface

2017-04-06 Thread Russell King - ARM Linux
On Thu, Apr 06, 2017 at 06:09:51PM +0100, Lorenzo Pieralisi wrote: > On Thu, Apr 06, 2017 at 05:40:16PM +0100, Russell King - ARM Linux wrote: > > On Thu, Apr 06, 2017 at 05:21:56PM +0100, Lorenzo Pieralisi wrote: > > > Ok, so: > > > > > > (1) I can do asm-generic/ioremap-nopost.h, which I assume

Re: [RFC][PATCHv2 4/8] pm: switch to printk.emergency mode in unsafe places

2017-04-06 Thread Pavel Machek
On Wed 2017-03-29 18:25:07, Sergey Senozhatsky wrote: > It's not always possible/safe to wake_up() printk kernel > thread. For example, late suspend/early resume may printk() > while timekeeping is not initialized yet, so calling into the > scheduler may result in recursive warnings. > > Another t

Re: [PATCH v5 2/2] extable: verify address is read-only

2017-04-06 Thread kbuild test robot
Hi Eddie, [auto build test WARNING on next-20170330] [cannot apply to linus/master linux/master jeyu/modules-next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.11-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/co

Re: [PATCH -v6 05/13] futex: Change locking rules

2017-04-06 Thread Darren Hart
On Thu, Apr 06, 2017 at 02:28:32PM +0200, Peter Zijlstra wrote: > On Wed, Apr 05, 2017 at 02:18:43PM -0700, Darren Hart wrote: > > On Wed, Mar 22, 2017 at 11:35:52AM +0100, Peter Zijlstra wrote: > > > > + * > > > + * Serialization and lifetime rules: > > > + * > > > + * hb->lock: > > > + * > > > +

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-06 Thread Mark Rutland
On Fri, Apr 07, 2017 at 12:47:47AM +0800, Fu Wei wrote: > On 6 April 2017 at 02:38, Mark Rutland wrote: > > On Sat, Apr 01, 2017 at 01:51:03AM +0800, fu@linaro.org wrote: > >> + /* > >> + * Get the GT timer Frame data for every GT Block Timer > >> + */ > >> + for (i = 0; i <

Re: [PATCH] staging: android: ashmem: lseek failed due to no FMODE_LSEEK.

2017-04-06 Thread Greg Hackmann
On 04/06/2017 10:08 AM, Greg KH wrote: On Thu, Apr 06, 2017 at 08:30:40AM -0700, Greg Hackmann wrote: On 04/06/2017 07:30 AM, zhangshuxia...@gmail.com wrote: From: zhangshuxiao vfs_llseek will check whether the file mode has FMODE_LSEEK, no return failure. But ashmem can be lseek, so add FMOD

Re: [PATCH 1/1] gpio: core: Decouple open drain/source flag with active low/high

2017-04-06 Thread Andy Shevchenko
On Thu, Apr 6, 2017 at 7:56 PM, Laxman Dewangan wrote: > On Thursday 06 April 2017 09:40 PM, Andy Shevchenko wrote: >> On Thu, Apr 6, 2017 at 4:35 PM, Laxman Dewangan >> wrote: >>> Adding different flag for the Open Drain/Open Source which is valid >>> only when Single ended flag is enabled. >>>

Re: [RFC][PATCH] spin loop arch primitives for busy waiting

2017-04-06 Thread Linus Torvalds
On Thu, Apr 6, 2017 at 9:36 AM, Peter Zijlstra wrote: > > Something like the below, which is ugly (because I couldn't be bothered > to resolve the header recursion and thus duplicates the monitor/mwait > functions) and broken (because it hard assumes the hardware can do > monitor/mwait). Yeah, I

[PATCH RFC] mailbox: move controller timer to per-channel timers

2017-04-06 Thread Alexey Klimov
When mailbox controller provides two or more channels and they are actively used by mailbox client(s) it's very easy to trigger the warning in hrtimer_forward(): [ 247.853060] WARNING: CPU: 6 PID: 0 at kernel/time/hrtimer.c:805 hrtimer_forward+0x88/0xd8 [ 247.853549] Modules linked in: [ 247.8

Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage

2017-04-06 Thread Pavel Machek
Hi! > This patch set gives up part of the printk() reliability for bounded > latency (at least unless we detect we are really in trouble) which is IMHO > a good trade-off for lots of users (and others can just turn this feature > off). If they can ever realize they were bitten by this feature. C

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-06 Thread Fu Wei
Hi Mark On 7 April 2017 at 01:24, Mark Rutland wrote: > On Fri, Apr 07, 2017 at 12:47:47AM +0800, Fu Wei wrote: >> On 6 April 2017 at 02:38, Mark Rutland wrote: >> > On Sat, Apr 01, 2017 at 01:51:03AM +0800, fu@linaro.org wrote: >> >> + /* >> >> + * Get the GT timer Frame data for e

Re: [PATCH] arm64: xen: Implement EFI reset_system callback

2017-04-06 Thread Juergen Gross
On 06/04/17 18:43, Daniel Kiper wrote: > On Thu, Apr 06, 2017 at 06:22:44PM +0200, Juergen Gross wrote: >> On 06/04/17 18:06, Daniel Kiper wrote: >>> Hi Julien, >>> >>> On Thu, Apr 06, 2017 at 04:39:13PM +0100, Julien Grall wrote: Hi Daniel, On 06/04/17 16:20, Daniel Kiper wrote: >>>

Re: [PATCH v5 2/2] extable: verify address is read-only

2017-04-06 Thread kbuild test robot
Hi Eddie, [auto build test ERROR on next-20170330] [cannot apply to linus/master linux/master jeyu/modules-next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.11-rc5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/comm

Re: [PATCH -v6 08/13] futex: Pull rt_mutex_futex_unlock() out from under hb->lock

2017-04-06 Thread Darren Hart
On Thu, Apr 06, 2017 at 02:42:48PM +0200, Peter Zijlstra wrote: > On Wed, Apr 05, 2017 at 04:52:25PM -0700, Darren Hart wrote: > > On Wed, Mar 22, 2017 at 11:35:55AM +0100, Peter Zijlstra wrote: > > > There's a number of 'interesting' problems, all caused by holding > > > hb->lock while doing the r

[PATCH] mm, vmscan: prevent kswapd sleeping prematurely due to mismatched classzone_idx -fix

2017-04-06 Thread Mel Gorman
The patch "mm, vmscan: prevent kswapd sleeping prematurely due to mismatched classzone_idx" has different initial starting conditions when kswapd is asleep. kswapd initialises it properly when it starts but the patch initialises kswapd_classzone_idx early and trips on a warning in free_area_init_no

Re: [PATCH 4.4 23/26] power: reset: at91-poweroff: timely shutdown LPDDR memories

2017-04-06 Thread Ben Hutchings
On Thu, 2017-04-06 at 10:38 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Alexandre Belloni > > commit 0b0408745e7ff24757cbfd571d69026c0ddb803c upstream. > > LPDDR memories can only handle up to 4

Re: [PATCH 4.9 00/72] 4.9.21-stable review

2017-04-06 Thread Shuah Khan
On 04/06/2017 02:37 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.21 release. > There are 72 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 know. > > Responses sh

Re: [PATCH 0/6] mm: make movable onlining suck less

2017-04-06 Thread Mel Gorman
On Thu, Apr 06, 2017 at 07:12:42PM +0200, Michal Hocko wrote: > > ---8<--- > > mm, vmscan: prevent kswapd sleeping prematurely due to mismatched > > classzone_idx -fix > > > > The patch "mm, vmscan: prevent kswapd sleeping prematurely due to mismatched > > classzone_idx" has different initial sta

Re: [PATCH 4.4 00/26] 4.4.60-stable review

2017-04-06 Thread Shuah Khan
On 04/06/2017 02:38 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.60 release. > There are 26 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 know. > > Responses sh

Re: [PATCH v23 09/11] acpi/arm64: Add memory-mapped timer support in GTDT driver

2017-04-06 Thread Mark Rutland
On Fri, Apr 07, 2017 at 01:39:09AM +0800, Fu Wei wrote: > On 7 April 2017 at 01:24, Mark Rutland wrote: > > On Fri, Apr 07, 2017 at 12:47:47AM +0800, Fu Wei wrote: > >> On 6 April 2017 at 02:38, Mark Rutland wrote: > >> > On Sat, Apr 01, 2017 at 01:51:03AM +0800, fu@linaro.org wrote: > > How

Re: [PATCH 4.10 00/81] 4.10.9-stable review

2017-04-06 Thread Shuah Khan
On 04/06/2017 02:37 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.10.9 release. > There are 81 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 know. > > Responses sh

Re: [PATCH 4.10 00/81] 4.10.9-stable review

2017-04-06 Thread Greg Kroah-Hartman
On Thu, Apr 06, 2017 at 11:54:04AM -0600, Shuah Khan wrote: > On 04/06/2017 02:37 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.9 release. > > There are 81 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH net-next] bonding: attempt to better support longer hw addresses

2017-04-06 Thread Jarod Wilson
On 2017-04-05 9:45 PM, David Miller wrote: From: Jarod Wilson Date: Tue, 4 Apr 2017 17:32:42 -0400 ... Applied, but: +static inline void bond_hw_addr_copy(u8 *dst, const u8 *src, unsigned int len) +{ + if (len == ETH_ALEN) { + ether_addr_copy(dst, src); + r

Re: [PATCH 4/4] rcu: Fix dyntick-idle tracing

2017-04-06 Thread Paul E. McKenney
On Thu, Apr 06, 2017 at 12:42:41PM -0400, Steven Rostedt wrote: > From: "Paul E. McKenney" > > The tracing subsystem started using rcu_irq_entry() and rcu_irq_exit() > (with my blessing) to allow the current _rcuidle alternative tracepoint > name to be dispensed with while still maintaining good

Re: [Patch V2 2/2] x86/mm/numa: remove the numa_nodemask_from_meminfo()

2017-04-06 Thread Borislav Petkov
On Thu, Apr 06, 2017 at 06:42:16PM +0300, Kirill A. Shutemov wrote: > Config is attached. Thanks! > Looks like fake numa is the key. ... > NUMA: Warning: node ids are out of bound, from=0 to=1 distance=20 >

[PATCH v3 0/9] ARM: dts: i.MX6: Add lcdif/sound nodes on Engicam SOMs

2017-04-06 Thread Jagan Teki
From: Jagan Teki This patchset, add support for LVDS, touchscreen, sound card and related codec and can nodes all Engicam SOM's which are supporting mainline as of now. Jagan Teki (9): ARM: dts: imx6ul-isiot: Add Sound card with codec node ARM: dts: imx6ul-geam: Add Sound card with codec nod

[PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec node

2017-04-06 Thread Jagan Teki
From: Jagan Teki Add support for Sound card and related codec(via i2c1) nodes on Engicam Is.IoT MX6UL variant module boards. Cc: Shawn Guo Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- Changes for v3: - Replace fsl,imx-audio-sgtl5000 and use simple-audio-card Changes fo

[PATCH v3 4/9] ARM: dts: imx6dl-icore-rqs: Add sgtl5000 codec node

2017-04-06 Thread Jagan Teki
From: Jagan Teki - Moved sound card node to imx6qdl-icore-rqs.dtsi - Added codec node in imx6dl-icore-rqs - Replace codec: sgtl5000@0a => sgtl5000: codec@a on imx6q-icore-rqs.dts to [label:] node-name[@unit-address] according to devicetree specification from ePAPER v1.1 Cc: Shawn Guo Cc: Ma

<    2   3   4   5   6   7   8   9   10   >