Re: [PATCH v6 0/17] Add Analogix Core Display Port Driver

2015-10-20 Thread Yakir Yang
Hi Javier, On 10/20/2015 05:48 PM, Javier Martinez Canillas wrote: Hello Yakir, On 10/20/2015 04:10 AM, Yakir Yang wrote: Hi Javier, On 10/19/2015 06:40 PM, Javier Martinez Canillas wrote: Hello Yakir, On 10/10/2015 05:35 PM, Yakir Yang wrote: Hi all, The Samsung Exynos eDP

Re: [PATCH] iscsi-target: return -ENOMEM instead of -1 in case of failed kmalloc()

2015-10-20 Thread Sagi Grimberg
On 10/19/2015 11:18 PM, Luis de Bethencourt wrote: Smatch complains about returning hard coded error codes, silence this warning. drivers/target/iscsi/iscsi_target_parameters.c:211 iscsi_create_default_params() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Luis de Bethencourt

Re: [PATCH V2 19/30] coresight: etb10: implementing the setup_aux() API

2015-10-20 Thread Alexander Shishkin
Mathieu Poirier writes: > /** > + * struct cs_buffer - keep track of a recording session' specifics > + * @cur: index of the current buffer > + * @nr_pages:max number of pages granted to us > + * @nr_bufs: number of clustered pages > + * @offset: offset within the current buffer >

[PATCH for-next] EDAC: fix misuse of PAGES_TO_MiB macros

2015-10-20 Thread Tan Xiaojun
The PAGES_TO_MiB macros is only used for unit conversion. Signed-off-by: Tan Xiaojun --- drivers/edac/edac_mc.c | 2 +- drivers/edac/ghes_edac.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 943ed8c..77ecd6a 100644

Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown

2015-10-20 Thread Lars-Peter Clausen
On 10/20/2015 01:17 PM, Takashi Iwai wrote: > On Tue, 20 Oct 2015 11:46:31 +0200, > Lars-Peter Clausen wrote: >> >> Use the new dmaengine_synchronize() function to make sure that all complete >> callbacks have finished running before the runtime data, which is accessed >> in the completed

Re: Regression since commit 92bac83

2015-10-20 Thread Hans de Goede
Hi, On 19-10-15 17:55, Larry Finger wrote: On 10/19/2015 03:08 AM, Hans de Goede wrote: Hi, On 19-10-15 01:59, Larry Finger wrote: Hi, I recently upgraded the kernel in a Dell Latitude D600 and found that the touchpad clicks failed. The problem was bisected to commit

Re: [PATCH] x86, perf: Use INST_RETIRED.PREC_DIST for cycles:pp on Skylake

2015-10-20 Thread Peter Zijlstra
On Mon, Oct 19, 2015 at 03:58:16PM -0700, Andi Kleen wrote: > Switch the cycles:pp alias from UOPS_RETITRED to INST_RETIRED.PREC_DIST. > The basic mechanism of abusing the inverse cmask to get all cycles > works the same as before. > > PREC_DIST has special support for avoiding shadow effects,

Re: [PATCH 1/4] Documentation: tps65086: Add DT bindings for the TPS65086 PMIC

2015-10-20 Thread Lee Jones
On Mon, 19 Oct 2015, Andrew F. Davis wrote: > On 10/19/2015 10:21 AM, Lee Jones wrote: > >On Mon, 19 Oct 2015, Andrew F. Davis wrote: > > > >>On 10/19/2015 04:13 AM, Lee Jones wrote: > >>>On Fri, 16 Oct 2015, Andrew F. Davis wrote: > >>> > The TPS65086 PMIC contains several regulators and a

Re: [PATCH] pinctrl: tegra-xusb: Correct lane mux options

2015-10-20 Thread Jon Hunter
On 16/10/15 17:17, Stephen Warren wrote: > On 10/16/2015 03:24 AM, Jon Hunter wrote: >> The description of the XUSB_PADCTL_USB3_PAD_MUX_0 register in the >> Tegra124 >> documentation implies that all functions (pcie, usb3 and sata) can be >> muxed onto to all lanes (pcie lanes 0-4 and sata lane

[PATCH v2 2/4] ARM: dts: berlin: add 2nd clock for BG2Q sdhci0 and sdhci1

2015-10-20 Thread Jisheng Zhang
Add the optional 2nd clock for BG2Q's sdhci0 and sdhci1. This would let the clock be disabled during runtime pm, so saves power a bit. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH v2 3/4] clk: berlin: bg2q: remove CLK_IGNORE_UNUSED flag for sdio clk

2015-10-20 Thread Jisheng Zhang
Since we have added the necessary two clks' properties in dts, we can remove the "sdio" clk's CLK_IGNORE_UNUSED flag now. Signed-off-by: Jisheng Zhang --- drivers/clk/berlin/bg2q.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/berlin/bg2q.c

[PATCH v2 4/4] clk: berlin: bg2: remove CLK_IGNORE_UNUSED flag for sdio clk

2015-10-20 Thread Jisheng Zhang
The clocks' properties have been already properly set, so there's no need to set this flag for sdio0 and sdio1 clk any more. Signed-off-by: Jisheng Zhang --- drivers/clk/berlin/bg2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/berlin/bg2.c

[PATCH v2 0/4] berlin sdhci clock clean up

2015-10-20 Thread Jisheng Zhang
Add or fix the optional clock property, then remove the CLK_IGNORE_UNUSED flag for sdio clk(s). Since v1: - remove the "mmc: sdhci-pxav3: fix optional clock name" patch to not block the clock clean up patches, will send another separate patch after talking with HW people. Jisheng

[PATCH v2 1/4] ARM: dts: berlin: correct BG2Q's sdhci2 2nd clock

2015-10-20 Thread Jisheng Zhang
The optional 2nd clock is CLKID_SDIO. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 63a4849..2cb07fa 100644 ---

Re: [PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown

2015-10-20 Thread Takashi Iwai
On Tue, 20 Oct 2015 11:46:31 +0200, Lars-Peter Clausen wrote: > > Use the new dmaengine_synchronize() function to make sure that all complete > callbacks have finished running before the runtime data, which is accessed > in the completed callback, is freed. > > This fixes a long standing

Re: [PATCHv2 2/3] ARM: zynq: dt: Updated devicetree for Zynq 7000 platform.

2015-10-20 Thread Michal Simek
On 10/19/2015 08:24 PM, Josh Cartwright wrote: > On Mon, Oct 19, 2015 at 04:09:09PM +0200, Michal Simek wrote: >> On 10/18/2015 07:53 PM, Josh Cartwright wrote: >>> On Fri, Oct 16, 2015 at 03:42:29PM -0700, Moritz Fischer wrote: > [..] @@ -294,6 +294,11 @@ devcfg:

Re: [PATCH 1/2] i2c: designware: register clkdev during acpi device configuration

2015-10-20 Thread Mika Westerberg
On Tue, Oct 20, 2015 at 02:38:01PM +0800, Ken Xue wrote: > DW I2C driver tries to register a clk from id->driver_data as an > alternative way besides intel lpss. But code doesn't register the > clk to clkdev. So, devm_clk_get will fail during probe. > > The patch can fix this issue. Since you

Re: [RFC v3 8/9] kmsg: add predefined _PID, _TID, _COMM keywords to kmsg* log dict

2015-10-20 Thread Paul Osmialowski
Hi Andy, On Mon, 19 Oct 2015, Andy Lutomirski wrote: On Mon, Oct 19, 2015 at 5:58 AM, Paul Osmialowski wrote: From: Marcin Niesluchowski kmsg* devices write operation wrote no dict along with message Due to usage of kmsg devices in userspace dict has been added identifying pid, tid and

Re: [PATCH 6/7] clocksource: digicolor: don't trace digicolor_timer_sched_read()

2015-10-20 Thread Baruch Siach
Hi Jisheng Zhang, On Tue, Oct 20, 2015 at 04:02:39PM +0800, Jisheng Zhang wrote: > We should not trace digicolor_timer_sched_read() function, add notrace > attribute to this function. > > Signed-off-by: Jisheng Zhang Acked-by: Baruch Siach Thanks, baruch --

Re: [PATCH v5 6/8] drivers: soc: add support for exynos SROM driver

2015-10-20 Thread Andi Shyti
On Tue, Oct 20, 2015 at 02:45:37PM +0530, Pankaj Dubey wrote: > This patch adds Exynos SROM controller driver which will handle > save restore of SROM registers during S2R. > > Signed-off-by: Pankaj Dubey ... > +config EXYNOS_SROM > + bool > + depends on ARM && ARCH_EXYNOS && PM Cool,

Re: [GIT PULL] On-demand device probing

2015-10-20 Thread David Woodhouse
On Mon, 2015-10-19 at 16:43 +0100, Russell King - ARM Linux wrote: > On Mon, Oct 19, 2015 at 04:29:40PM +0100, David Woodhouse wrote: > > I don't know that there *is* a coherent plan here to address it > > all. > > > > Certainly, we *will* need subsystems to have firmware-specific > > knowledge

Re: [RFC v4 9/9] kmsg: selftests

2015-10-20 Thread Paul Osmialowski
Hi Shuah, Thanks for your comments, On Mon, 19 Oct 2015, Shuah Khan wrote: --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -7,6 +7,7 @@ TARGETS += ftrace TARGETS += futex TARGETS += kcmp TARGETS += kdbus Doesn't look like this patch is based on

Re: [PATCH v6 2/4] irqchip: add platform device driver for mbigen device

2015-10-20 Thread majun (F)
Sorry, I missed Makefile and Kconfig file in this patch. I will re-send this patch set. 在 2015/10/20 16:41, MaJun 写道: > From: Ma Jun > > Mbigen means Message Based Interrupt Generator(MBIGEN). > > Its a kind of interrupt controller that collects > the interrupts from external devices and

Re: [RESEND PATCH] timerfd: Allow TFD_TIMER_CANCEL_ON_SET with relative timeouts

2015-10-20 Thread Arnd Bergmann
On Tuesday 20 October 2015 10:59:34 Jesper Nilsson wrote: > On Tue, Oct 20, 2015 at 10:18:22AM +0200, Arnd Bergmann wrote: > > On Monday 19 October 2015 11:53:25 John Stultz wrote: > > > > > > But yea. At the same time I get you want to avoid user-pain like in > > > the case of the badly

Re: [PATCH v4] iio: mma8452: support either of the available interrupt pins

2015-10-20 Thread Martin Kepplinger
Am 2015-10-15 um 15:10 schrieb Martin Kepplinger: > This change is important in order for everyone to be easily able to use the > driver for one of the supported accelerometer chips! > > Until now, the driver blindly assumed that the INT1 interrupt line is wired > on a user's board. But these

Re: [PATCH 2/2] x86, perf: Optimize stack walk user accesses

2015-10-20 Thread Peter Zijlstra
On Mon, Oct 19, 2015 at 03:54:29PM -0700, Andi Kleen wrote: > @@ -2307,7 +2312,13 @@ perf_callchain_user(struct perf_callchain_entry > *entry, struct pt_regs *regs) > frame.next_frame = NULL; > frame.return_address = 0; > > - bytes =

Kernel panic with ipsec over ipv6

2015-10-20 Thread Scott Harrison
Hi, I have recently upgraded from 4.1.6 to 4.2.1 and am now seeing a kernel panic when trying to do IPSec (using ipsec-tools, racoon and setkey) over IPv6: Call Trace: [] ? ip6_dst_destroy+0x5c/0xf0 [] dst_destroy+0x6f/0xd0 [] dst_gc_task+0xb7/0x220 [] ? __switch_to+0x273/0x480 []

Re: Unkillable processes due to PTRACE_TRACEME

2015-10-20 Thread Oleg Nesterov
On 10/20, Dmitry Vyukov wrote: > > On Tue, Oct 20, 2015 at 10:34 AM, Dmitry Vyukov wrote: > > On Mon, Oct 19, 2015 at 10:17 PM, Dmitry Vyukov wrote: > >> On Mon, Oct 19, 2015 at 9:49 PM, Oleg Nesterov wrote: > >>> > >>> So I bet the problem is that your /sbin/init doesn't use __WALL, > >>> so

Re: [PATCH 10/14] init: deps: IDs for annotated initcalls

2015-10-20 Thread Alexander Holler
Am 20.10.2015 um 12:42 schrieb Alexander Holler: Another idea to split this one file into multiple ones would be to reserve blocks of IDs. E.g. use 1-2 for networking stuff, 1000-1200 for I2C and so on. In detail it could look like driver_ids_base.h: enum { drvid_i2c_base =

[Dell XPS 13 9343] Random kernel Oops at boot if initramfs contains hid-multitouch

2015-10-20 Thread Niccolò Belli
Hi, If you load hid-multitouch into the initramfs it leads to random crashes. If you load the module later it doesn't harm. Only Arch dm-crypt users are affected by this issue because they need the mkinitcpio "keyboard" hook to be able to type the password, and it loads hid-multitouch into the

[PATCH v8 2/5] iio: core: Introduce IIO configfs support

2015-10-20 Thread Daniel Baluta
This creates an IIO configfs subystem named "iio", with a default "triggers" group. Next patches will add trigger types support, allowing new triggers creation using configfs. Signed-off-by: Daniel Baluta --- drivers/iio/Kconfig | 8 + drivers/iio/Makefile|

[PATCH v8 5/5] iio: Documentation: Add IIO configfs documentation

2015-10-20 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/configfs-iio | 21 Documentation/iio/iio_configfs.txt | 93 ++ 2 files changed, 114 insertions(+) create mode 100644 Documentation/ABI/testing/configfs-iio create mode 100644

[PATCH v8 4/5] iio: trigger: Introduce IIO hrtimer based trigger

2015-10-20 Thread Daniel Baluta
This patch registers a new IIO software trigger interrupt source based on high resolution timers. Notice that if configfs is enabled we create sampling_frequency attribute allowing users to change hrtimer period (1/sampling_frequency). The IIO hrtimer trigger has a long history, this patch is

[PATCH v8 0/5] Add initial configfs support for IIO

2015-10-20 Thread Daniel Baluta
This patchset introduces IIO software triggers, offers a way of configuring them via configfs and adds the IIO hrtimer based interrupt source to be used with software triggers. The arhitecture is now split in 3 parts, to remove all IIO trigger specific parts from IIO configfs core: (1) IIO

[PATCH v8 1/5] configfs: Allow dynamic group creation

2015-10-20 Thread Daniel Baluta
We don't want to hardcode default groups at subsystem creation time. We export: * configfs_register_group * configfs_unregister_group to allow drivers to programatically create/destroy groups later, after module init time. This is needed for IIO configfs support. Suggested-by:

[PATCH v8 3/5] iio: core: Introduce IIO software triggers

2015-10-20 Thread Daniel Baluta
A software trigger associates an IIO device trigger with a software interrupt source (e.g: timer, sysfs). This patch adds the generic infrastructure for handling software triggers. Software interrupts sources are kept in a iio_trigger_types_list and registered separately when the associated

Re: [PATCH 10/14] init: deps: IDs for annotated initcalls

2015-10-20 Thread Alexander Holler
Am 20.10.2015 um 12:42 schrieb Alexander Holler: Am 20.10.2015 um 12:30 schrieb Alexander Holler: Am 19.10.2015 um 15:12 schrieb Mark Brown: On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote: Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman: On Sat, Oct 17, 2015 at 07:55:17PM

Re: [PATCH v4 1/4] Produce system time from correlated clocksource

2015-10-20 Thread Thomas Gleixner
On Tue, 20 Oct 2015, Richard Cochran wrote: > On Mon, Oct 19, 2015 at 05:36:56PM -0700, John Stultz wrote: > > If we're only tracking 4ms of history, how does this solution > > measurably improve the error over using the timestamps to generate > > MONOTONIC_RAW clock deltas (which doesn't require

Re: [RFC] perf: fix building for ARCv1

2015-10-20 Thread Vineet Gupta
On Tuesday 20 October 2015 03:41 PM, Peter Zijlstra wrote: >> > Can we use existing syscall(s) - again this is what our good old pthread >> > library >> > code did. >> > >> > static void __pthread_acquire(int * spinlock) >> > { >> > int cnt = 0; >> > struct timespec tm; >> > >> >

Re: [PATCH V2 3/3] Add dts node for smmu on hi6220 SoC

2015-10-20 Thread chenfeng
Thanks for review. On 2015/10/20 17:00, Arnd Bergmann wrote: > On Tuesday 20 October 2015 16:45:24 Chen Feng wrote: >> + >> + smmu@f421 { > > I think the canonical name for an IOMMU device is 'iommu', not 'smmu'. Accept. > >> + compatible =

Re: [PATCH v4 11/22] i2c: core: Probe i2c adapters and devices on demand

2015-10-20 Thread Wolfram Sang
On Mon, Sep 07, 2015 at 02:23:36PM +0200, Tomeu Vizoso wrote: > When looking up an i2c adapter or device through its OF node, probe it > if it hasn't already. > > The goal is to reduce deferred probes to a minimum, as it makes it very > cumbersome to find out why a device failed to probe, and can

Re: [PATCH 10/14] init: deps: IDs for annotated initcalls

2015-10-20 Thread Alexander Holler
Am 20.10.2015 um 12:30 schrieb Alexander Holler: Am 19.10.2015 um 15:12 schrieb Mark Brown: On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote: Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman: On Sat, Oct 17, 2015 at 07:55:17PM +0200, Alexander Holler wrote: Am 17.10.2015 um

Re: [PATCH 21/31] perf test: Enforce LLVM test, add kbuild test

2015-10-20 Thread Wangnan (F)
On 2015/10/19 22:53, Arnaldo Carvalho de Melo wrote: Em Mon, Oct 19, 2015 at 11:42:31PM +0900, Namhyung Kim escreveu: Hi, On Wed, Oct 14, 2015 at 12:41:32PM +, Wang Nan wrote: This patch enforces existing LLVM test, makes it compile more than one BPF source file. The compiled results

Fwd:My resume

2015-10-20 Thread jonna vastine
Hi! A friend of mine gave me your email. He was confident you would be very glad to read my CV. After browsing your homepage and seeing what it is you guys do, I'm also quite sure you will not be disappointed. I'm attaching my resume for you to read. I am really looking forward to you getting

Re: [PATCH V2 1/3] Documentation for system mmu in hi6220 platform.

2015-10-20 Thread Mark Rutland
On Tue, Oct 20, 2015 at 04:45:22PM +0800, Chen Feng wrote: > docs: iommu: Documentation for smmu in hi6220 SoC. > > Signed-off-by: Chen Feng > Signed-off-by: Yu Dongbin > --- > .../bindings/iommu/hisi,hi6220-iommu.txt | 52 > ++ > 1 file changed, 52 insertions(+)

Re: [PATCH 10/14] init: deps: IDs for annotated initcalls

2015-10-20 Thread Alexander Holler
Am 19.10.2015 um 15:12 schrieb Mark Brown: On Sat, Oct 17, 2015 at 08:46:44PM +0200, Alexander Holler wrote: Am 17.10.2015 um 20:29 schrieb Greg Kroah-Hartman: On Sat, Oct 17, 2015 at 07:55:17PM +0200, Alexander Holler wrote: Am 17.10.2015 um 19:45 schrieb Greg Kroah-Hartman: A file like

Re: [PATCH] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency

2015-10-20 Thread Laurent Pinchart
Hi Magnus, On Tuesday 20 October 2015 17:54:59 Magnus Damm wrote: > On Mon, Oct 19, 2015 at 3:42 PM, Laurent Pinchart wrote: > > On Monday 19 October 2015 12:02:53 Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE > >> nor the

Re: [PATCH v4 0/4] drm: Cleanup probe function for component based masters.

2015-10-20 Thread Liviu Dudau
On Tue, Oct 20, 2015 at 12:02:33PM +0200, Daniel Vetter wrote: > On Tue, Oct 20, 2015 at 10:23:11AM +0100, Liviu Dudau wrote: > > Changelog: > > v4: Fixed a bug where the wrong pointer was sent to component_match_add() > > and > > component_master_add_with_match() in the armada_drv.c file

Re: [PATCH v4 1/4] drm: Introduce generic probe function for component based masters.

2015-10-20 Thread Liviu Dudau
On Tue, Oct 20, 2015 at 11:09:09AM +0100, Russell King - ARM Linux wrote: > On Tue, Oct 20, 2015 at 11:00:55AM +0100, Emil Velikov wrote: > > Hi Liviu, > > > > On 20 October 2015 at 10:23, Liviu Dudau wrote: > > > A lot of component based DRM drivers use a variant of the same code > > > as the

Re: [PATCH] zram: make is_partial_io/valid_io_request/page_zero_filled return boolean

2015-10-20 Thread Sergey Senozhatsky
Cc Andrew On (10/20/15 02:55), Geliang Tang wrote: > This patch makes is_partial_io()/valid_io_request()/page_zero_filled() > return boolean, since each function only uses either one or zero as its > return value. > > Signed-off-by: Geliang Tang looks good to me, but I'm not a huge fan of

Re: [RFC] perf: fix building for ARCv1

2015-10-20 Thread Peter Zijlstra
On Tue, Oct 20, 2015 at 08:00:46AM +, Vineet Gupta wrote: > On Monday 19 October 2015 03:22 PM, Peter Zijlstra wrote: > > On Mon, Oct 19, 2015 at 09:46:35AM +, Vineet Gupta wrote: > >> On ARC we could use the atomic EXchange to implement a user space only > >> binary > >> semaphore -

Re: [RFC PATCH] dt: Tegra XUSB padctl: per-lane PHYs and USB lane map

2015-10-20 Thread Jon Hunter
On 20/10/15 00:30, Stephen Warren wrote: > From: Stephen Warren > > Convert the binding to provide a PHY per lane, rather than a PHY per > "pad" block in the hardware. This will allow the driver to easily know > which lanes are used by clients, and thus only enable those lanes, and > generally

Re: [PATCH v4 1/4] drm: Introduce generic probe function for component based masters.

2015-10-20 Thread Russell King - ARM Linux
On Tue, Oct 20, 2015 at 11:00:55AM +0100, Emil Velikov wrote: > Hi Liviu, > > On 20 October 2015 at 10:23, Liviu Dudau wrote: > > A lot of component based DRM drivers use a variant of the same code > > as the probe function. They bind the crtc ports in the first iteration > > and then scan

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-20 Thread Hannes Frederic Sowa
Hello Alexei, On Tue, Oct 20, 2015, at 03:09, Alexei Starovoitov wrote: > On 10/19/15 4:02 PM, Hannes Frederic Sowa wrote: > > I bet commercial software will make use of this ebpf framework, too. And > > the kernel always helped me and gave me a way to see what is going on, > > debug which part

Re: linux-next: build warning after merge of the powerpc tree

2015-10-20 Thread Michael Ellerman
On Tue, 2015-10-20 at 16:21 +1100, Stephen Rothwell wrote: > Hi all, > > After merging the powerpc tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > WARNING: vmlinux.o(.text+0x9367c): Section mismatch in reference from the > function .msi_bitmap_alloc() to the

Re: [PATCH v5] arm64: Introduce IRQ stack

2015-10-20 Thread James Morse
Hi Jungseok, On 17/10/15 15:27, Jungseok Lee wrote: > Currently, kernel context and interrupts are handled using a single > kernel stack navigated by sp_el1. This forces a system to use 16KB > stack, not 8KB one. This restriction makes low memory platforms > suffer from memory pressure

Re: [PATCH RFC v3 2/2] pidns: introduce syscall getvpid

2015-10-20 Thread Konstantin Khlebnikov
On 28.09.2015 19:57, Eric W. Biederman wrote: Konstantin Khlebnikov writes: If pid is negative then getvpid() returns pid of parent task for -pid. Now that I am noticing this. I don't think I have seen any discussion about justifying a syscall getting another processes parent pid. My

Re: [PATCH v4 0/4] drm: Cleanup probe function for component based masters.

2015-10-20 Thread Daniel Vetter
On Tue, Oct 20, 2015 at 10:23:11AM +0100, Liviu Dudau wrote: > Changelog: > v4: Fixed a bug where the wrong pointer was sent to component_match_add() and > component_master_add_with_match() in the armada_drv.c file that was > flagged > by kbuild test robot. Dropped the RFC tag and added

Re: [PATCH 2/4] mfd: tps65086: Add driver for the TPS65086 PMIC

2015-10-20 Thread Lee Jones
On Mon, 19 Oct 2015, Andrew F. Davis wrote: > On 10/19/2015 04:23 AM, Lee Jones wrote: > >On Fri, 16 Oct 2015, Andrew F. Davis wrote: > > > >>Add support for the TPS65912 device. It provides communication > >>through I2C and contains the following components: > >> > >> - Regulators > >> - Load

Re: [PATCH v4 1/4] drm: Introduce generic probe function for component based masters.

2015-10-20 Thread Emil Velikov
Hi Liviu, On 20 October 2015 at 10:23, Liviu Dudau wrote: > A lot of component based DRM drivers use a variant of the same code > as the probe function. They bind the crtc ports in the first iteration > and then scan through the child nodes and bind the encoders attached > to the remote

[PATCH] zram: make is_partial_io/valid_io_request/page_zero_filled return boolean

2015-10-20 Thread Geliang Tang
This patch makes is_partial_io()/valid_io_request()/page_zero_filled() return boolean, since each function only uses either one or zero as its return value. Signed-off-by: Geliang Tang --- drivers/block/zram/zram_drv.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

Re: [PATCH V2 20/30] coresight: etb10: implementing buffer set/reset() API

2015-10-20 Thread Alexander Shishkin
Mathieu Poirier writes: > Implementing perf related APIs to activate and terminate > a trace session. More specifically dealing with the sink > buffer's internal mechanic along with perf's API to start > and stop interactions with the ring buffers. A matter of preference, but I'd say that it

[PATCH 6/6] MAINTAINERS: Unify microcode driver section

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Merge the AMD and Intel sections and generalize pattern. Signed-off-by: Borislav Petkov --- MAINTAINERS | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5f467845ef72..3a39ef4b3c09 100644 ---

[PATCH 2/6] x86/microcode: Merge early loader

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Merge the early loader functionality into the driver proper. The diff is huge but logically, it is simply moving code from the _early.c files into the main driver. Signed-off-by: Borislav Petkov --- arch/x86/Kconfig| 19 +-

[PATCH 5/6] x86/microcode/intel: Move ifdef DEBUG inside the function

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov ... and save us the stub. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index

[PATCH 3/6] x86/microcode: Remove modularization leftovers

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Remove the remaining module functionality leftovers. Make "dis_ucode_ldr" an early_param and make it static again. Drop module aliases, autoloading table, description, etc. Bump version number, while at it. Signed-off-by: Borislav Petkov ---

[PATCH 4/6] x86/microcode/amd: Remove maintainers from comments

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov We have the MAINTAINERS file for that. Also, Andreas doesn't have the time for this work anymore. Signed-off-by: Borislav Petkov Cc: Andreas Herrmann --- arch/x86/kernel/cpu/microcode/amd.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 1/6] x86/microcode: Unmodularize driver

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Make it a bool. It was practically a bool already anyway since early loader was forcing it to =y. Regardless, there's no real reason to have something be a module which gets built-in on the majority of installations out there. And its not like there's noticeable change in

[PATCH 0/6] x86/microcode: Merge the early loader

2015-10-20 Thread Borislav Petkov
From: Borislav Petkov Hi all, so this basically codifies what we're already doing in practice anyway: the early loader is enabled and the microcode functionality is built-in. So we can make this official and remove all that additional Kconfig complexity of keeping the early and the late loader

Re: [Xen-devel] PROBLEM: kernel panic xsave_init

2015-10-20 Thread Jan Beulich
>>> On 19.10.15 at 18:25, wrote: > On 10/19/2015 06:16 AM, John Doe wrote: [0.00] general protection fault: [#1] SMP [0.00] Modules linked in: [0.00] CPU: 0 PID: 0 Comm: swapper Not tainted > 4.1.9-6.pvops.qubes.x86_64 #1 [0.00] Hardware

Re: [PATCH 1/2] crypto/x509: Fix unaligned access in x509_get_sig_params()

2015-10-20 Thread David Howells
Sowmini Varadhan wrote: > x509_get_sig_params() has the same code pattern as the one in > pkcs7_verify() that is fixed by commit 62f57d05e287 ("crypto: pkcs7 - Fix > unaligned access in pkcs7_verify()") so apply a similar fix here: make > sure that desc is pointing at an algined value past the

Re: [PATCH v6 0/17] Add Analogix Core Display Port Driver

2015-10-20 Thread Javier Martinez Canillas
Hello Yakir, On 10/20/2015 04:10 AM, Yakir Yang wrote: > Hi Javier, > > On 10/19/2015 06:40 PM, Javier Martinez Canillas wrote: >> Hello Yakir, >> >> On 10/10/2015 05:35 PM, Yakir Yang wrote: >>> Hi all, >>> >>> The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >>> share

Re: [PATCH v4 1/2] sched: make __update_cpu_load() handle active tickless case

2015-10-20 Thread Peter Zijlstra
On Tue, Oct 20, 2015 at 09:49:32AM +0900, Byungchul Park wrote: > > > = A^i * cpu_load(n-i) + (A^(i-1) + A^(i-2) + ... + 1) * B > > > , where i = pending_updates - 1 > > > > You missed an opportunity here, if you take i==n you avoid the need for > > i entirely. > > i

Re: [PATCH 3/3] Thermal: do thermal zone update after a cooling device registered

2015-10-20 Thread Javi Merino
Hi Yu, On Tue, Oct 20, 2015 at 01:44:20AM +, Chen, Yu C wrote: > > -Original Message- > > From: Javi Merino [mailto:javi.mer...@arm.com] > > Sent: Thursday, October 15, 2015 10:05 PM > > To: Chen, Yu C > > Cc: linux...@vger.kernel.org; edubez...@gmail.com; Zhang, Rui; linux- > >

[PATCH 1/4] dmaengine: Add transfer termination synchronization support

2015-10-20 Thread Lars-Peter Clausen
The DMAengine API has a long standing race condition that is inherent to the API itself. Calling dmaengine_terminate_all() is supposed to stop and abort any pending or active transfers that have previously been submitted. Unfortunately it is possible that this operation races against a currently

[PATCH 3/4] dmaengine: axi_dmac: Add synchronization support

2015-10-20 Thread Lars-Peter Clausen
Implement the new device_synchronize() callback to allow proper synchronization when stopping a channel. Since the driver already makes sure that no new complete callbacks are scheduled after the device_terminate_all() callback has been called, all left to do in the device_synchronize() callback

[PATCH 0/4] dmaengine: Add transfer termination synchronization support

2015-10-20 Thread Lars-Peter Clausen
The DMAengine API has a long standing issue that is inherent to the API itself. For a client that calls dmaengine_terminate_all() it is not possible to properly synchronize the completion of any currently running complete callbacks to the current context. This means it is possible to end up with a

[PATCH 2/4] dmaengine: virt-dma: Add synchronization helper function

2015-10-20 Thread Lars-Peter Clausen
Add a synchronize helper function for the virt-dma library. The function makes sure that any scheduled descriptor complete callbacks have finished running before the function returns. This needs to be called by drivers using virt-dma in their device_synchronize() callback. Depending on the driver

[PATCH 4/4] ALSA: pcm_dmaengine: Properly synchronize DMA on shutdown

2015-10-20 Thread Lars-Peter Clausen
Use the new dmaengine_synchronize() function to make sure that all complete callbacks have finished running before the runtime data, which is accessed in the completed callback, is freed. This fixes a long standing use-after-free race condition that has been observed on some systems.

Re: [RFC PATCH v3 1/4] drm: Introduce generic probe function for component based masters.

2015-10-20 Thread Eric Anholt
Liviu Dudau writes: > A lot of component based DRM drivers use a variant of the same code > as the probe function. They bind the crtc ports in the first iteration > and then scan through the child nodes and bind the encoders attached > to the remote endpoints. Factor the common code into a

[tip:x86/urgent] compiler, atomics, kasan: Provide READ_ONCE_NOCHECK()

2015-10-20 Thread tip-bot for Andrey Ryabinin
Commit-ID: d976441f44bc5d48635d081d277aa76556ffbf8b Gitweb: http://git.kernel.org/tip/d976441f44bc5d48635d081d277aa76556ffbf8b Author: Andrey Ryabinin AuthorDate: Mon, 19 Oct 2015 11:37:17 +0300 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 11:04:19 +0200 compiler, atomics,

Re: [PATCH net-next 3/4] bpf: add support for persistent maps/progs

2015-10-20 Thread Hannes Frederic Sowa
Hey Alexei, On Tue, Oct 20, 2015, at 02:30, Alexei Starovoitov wrote: > On 10/19/15 3:17 PM, Daniel Borkmann wrote: > > On 10/19/2015 10:48 PM, Alexei Starovoitov wrote: > >> On 10/19/15 1:03 PM, Hannes Frederic Sowa wrote: > >>> > >>> I doubt it will stay a lightweight feature as it should not

[tip:x86/urgent] x86/mm, kasan: Silence KASAN warnings in get_wchan()

2015-10-20 Thread tip-bot for Andrey Ryabinin
Commit-ID: f7d27c35ddff7c100d7a98db499ac0040149ac05 Gitweb: http://git.kernel.org/tip/f7d27c35ddff7c100d7a98db499ac0040149ac05 Author: Andrey Ryabinin AuthorDate: Mon, 19 Oct 2015 11:37:18 +0300 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 11:04:19 +0200 x86/mm, kasan: Silence

[tip:perf/core] perf record: Add ability to sample call branches

2015-10-20 Thread tip-bot for Stephane Eranian
Commit-ID: 43e41adc9e8c36545888d78fed2ef8d102a938dc Gitweb: http://git.kernel.org/tip/43e41adc9e8c36545888d78fed2ef8d102a938dc Author: Stephane Eranian AuthorDate: Tue, 13 Oct 2015 09:09:11 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:30:55 +0200 perf record: Add

[tip:perf/core] perf: Add PERF_SAMPLE_BRANCH_CALL

2015-10-20 Thread tip-bot for Stephane Eranian
Commit-ID: c229bf9dc179d2023e185c0f705bdf68484c1e73 Gitweb: http://git.kernel.org/tip/c229bf9dc179d2023e185c0f705bdf68484c1e73 Author: Stephane Eranian AuthorDate: Tue, 13 Oct 2015 09:09:08 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:30:53 +0200 perf: Add

[tip:perf/core] perf/powerpc: Add support for PERF_SAMPLE_BRANCH_CALL

2015-10-20 Thread tip-bot for Stephane Eranian
Commit-ID: 24f1a79a5fc10858e05ee0bf651ec99abfc0319b Gitweb: http://git.kernel.org/tip/24f1a79a5fc10858e05ee0bf651ec99abfc0319b Author: Stephane Eranian AuthorDate: Tue, 13 Oct 2015 09:09:10 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:30:54 +0200 perf/powerpc: Add

[tip:perf/core] perf/x86: Add support for PERF_SAMPLE_BRANCH_CALL

2015-10-20 Thread tip-bot for Stephane Eranian
Commit-ID: d892819faa6860d469aae71d70c336b391c25505 Gitweb: http://git.kernel.org/tip/d892819faa6860d469aae71d70c336b391c25505 Author: Stephane Eranian AuthorDate: Tue, 13 Oct 2015 09:09:09 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:30:53 +0200 perf/x86: Add support

[tip:perf/core] perf/x86: Fix time_shift in perf_event_mmap_page

2015-10-20 Thread tip-bot for Adrian Hunter
Commit-ID: b9511cd761faafca7a1acc059e792c1399f9d7c6 Gitweb: http://git.kernel.org/tip/b9511cd761faafca7a1acc059e792c1399f9d7c6 Author: Adrian Hunter AuthorDate: Fri, 16 Oct 2015 16:24:05 +0300 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:30:52 +0200 perf/x86: Fix time_shift

[tip:sched/core] sched: Don't scan all-offline -> cpus_allowed twice if !CONFIG_CPUSETS

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: e73e85f0593832aa583b252f9a16cf90ed6d30fa Gitweb: http://git.kernel.org/tip/e73e85f0593832aa583b252f9a16cf90ed6d30fa Author: Oleg Nesterov AuthorDate: Sat, 10 Oct 2015 20:53:15 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:25:57 +0200 sched: Don't scan

[tip:sched/core] sched: Start stopper early

2015-10-20 Thread tip-bot for Peter Zijlstra
Commit-ID: 07f06cb3b5f6bd21374a48dbefdb431d71d53974 Gitweb: http://git.kernel.org/tip/07f06cb3b5f6bd21374a48dbefdb431d71d53974 Author: Peter Zijlstra AuthorDate: Fri, 9 Oct 2015 18:00:54 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:25:55 +0200 sched: Start stopper

[tip:sched/core] stop_machine: Kill cpu_stop_threads->setup() and cpu_stop_unpark()

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: f0cf16cbd0659d2dd21352da9f06f3fab7a51596 Gitweb: http://git.kernel.org/tip/f0cf16cbd0659d2dd21352da9f06f3fab7a51596 Author: Oleg Nesterov AuthorDate: Fri, 9 Oct 2015 18:00:51 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:23:56 +0200 stop_machine: Kill

Re: [PATCH V2 22/30] coresight: etm-perf: new PMU driver for ETM tracers

2015-10-20 Thread Alexander Shishkin
Mathieu Poirier writes: > +static void *etm_setup_aux(struct perf_event *event, void **pages, > +int nr_pages, bool overwrite) > +{ > + int cpu; > + cpumask_t *mask; > + struct etm_event_data *event_data = NULL; > + struct coresight_device *csdev; > + > +

[tip:sched/core] stop_machine: Kill smp_hotplug_thread-> pre_unpark, introduce stop_machine_unpark()

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: c00166d87e730088d919814020e96ffed129d0d1 Gitweb: http://git.kernel.org/tip/c00166d87e730088d919814020e96ffed129d0d1 Author: Oleg Nesterov AuthorDate: Fri, 9 Oct 2015 18:00:49 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:23:55 +0200 stop_machine: Kill

[tip:sched/core] stop_machine: Introduce __cpu_stop_queue_work() and cpu_stop_queue_two_works()

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 5caa1c089aebcb83ccd5b79a3b88b0aa58288d05 Gitweb: http://git.kernel.org/tip/5caa1c089aebcb83ccd5b79a3b88b0aa58288d05 Author: Oleg Nesterov AuthorDate: Thu, 8 Oct 2015 16:51:34 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:23:54 +0200 stop_machine: Introduce

[tip:sched/core] stop_machine: Change cpu_stop_queue_two_works() to rely on stopper->enabled

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: d8bc853582bfd81a9c08ca6922aeb01570080ccc Gitweb: http://git.kernel.org/tip/d8bc853582bfd81a9c08ca6922aeb01570080ccc Author: Oleg Nesterov AuthorDate: Thu, 8 Oct 2015 19:01:41 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:23:55 +0200 stop_machine: Change

[tip:locking/core] ARM, locking/atomics: Implement _relaxed variants of atomic[64]_{inc,dec}

2015-10-20 Thread tip-bot for Will Deacon
Commit-ID: 6e490b0106a2118ee4c37c37847454a5c2dc6e32 Gitweb: http://git.kernel.org/tip/6e490b0106a2118ee4c37c37847454a5c2dc6e32 Author: Will Deacon AuthorDate: Wed, 7 Oct 2015 15:10:38 +0100 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:17:23 +0200 ARM, locking/atomics:

[tip:sched/core] stop_machine: Ensure that a queued callback will be called before cpu_stop_park()

2015-10-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 233e7f267e580fefdeb36628b7efe8bfe056d27c Gitweb: http://git.kernel.org/tip/233e7f267e580fefdeb36628b7efe8bfe056d27c Author: Oleg Nesterov AuthorDate: Thu, 8 Oct 2015 16:51:31 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:23:53 +0200 stop_machine: Ensure that

[tip:sched/core] nohz: Revert "nohz: Set isolcpus when nohz_full is set"

2015-10-20 Thread tip-bot for Frederic Weisbecker
Commit-ID: 0baabb385eb4bce699ddab0db015112be6cf1e6a Gitweb: http://git.kernel.org/tip/0baabb385eb4bce699ddab0db015112be6cf1e6a Author: Frederic Weisbecker AuthorDate: Mon, 12 Oct 2015 17:21:23 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:13:36 +0200 nohz: Revert "nohz:

[tip:sched/core] sched/deadline: Fix migration of SCHED_DEADLINE tasks

2015-10-20 Thread tip-bot for Luca Abeni
Commit-ID: 5aa5050787f449e7eaef2c5ec93c7b357aa7dcdc Gitweb: http://git.kernel.org/tip/5aa5050787f449e7eaef2c5ec93c7b357aa7dcdc Author: Luca Abeni AuthorDate: Fri, 16 Oct 2015 10:06:21 +0200 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:13:36 +0200 sched/deadline: Fix

[tip:sched/core] sched/fair: Fix overly small weight for interactive group entities

2015-10-20 Thread tip-bot for Yuyang Du
Commit-ID: fde7d22e01aa0d252fc5c95fa11f0dac35a4dd59 Gitweb: http://git.kernel.org/tip/fde7d22e01aa0d252fc5c95fa11f0dac35a4dd59 Author: Yuyang Du AuthorDate: Tue, 13 Oct 2015 09:18:22 +0800 Committer: Ingo Molnar CommitDate: Tue, 20 Oct 2015 10:13:34 +0200 sched/fair: Fix overly small

<    5   6   7   8   9   10   11   12   13   14   >