Re: [PATCH v3] Add ARCH_MIGHT_HAVE_VGA_CONSOLE

2015-02-06 Thread Yoshinori Sato
At Wed, 04 Feb 2015 08:37:16 +0100, Arnd Bergmann wrote: > > On Wednesday 04 February 2015 15:03:32 Yoshinori Sato wrote: > > @@ -2,14 +2,14 @@ > > # Video configuration > > # > > > > +config ARCH_MIGHT_HAVE_VGA_CONSOLE > > +bool > > + > > menu "Console display driver support" > >

Re: [PATCH] drm: atmel-hlcdc: add discard area support

2015-02-06 Thread Boris Brezillon
Rob, Daniel, On Fri, 6 Feb 2015 18:32:19 -0500 Rob Clark wrote: > On Fri, Feb 6, 2015 at 4:11 PM, Daniel Vetter wrote: > > On Fri, Feb 06, 2015 at 04:31:02PM +0100, Boris Brezillon wrote: > >> The HLCDC IP provides a way to discard a specific area on the primary > >> plane (in case at least

Re: arm: kprobe compilation error

2015-02-06 Thread Masami Hiramatsu
(2015/02/06 0:17), Janusz Użycki wrote: > Hi, > > I got the compilation error on next-20150204: > >CC arch/arm/probes/kprobes/actions-arm.o > In file included from arch/arm/probes/kprobes/actions-common.c:18: > arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other > than

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 10:34:21PM -0800, Paul E. McKenney wrote: > On Fri, Feb 06, 2015 at 10:53:34PM -0500, Rik van Riel wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 02/06/2015 06:15 PM, Frederic Weisbecker wrote: > > > > > Just a few things then: > > > > > > 1) In

Re: [PATCH] sched, autogroup: Fix failure when writing to cpu.rt_runtime_us

2015-02-06 Thread Zefan Li
>> See this commit: >> >> commit f44937718ce3b8360f72f6c68c9481712517a867 >> Author: Mike Galbraith >> Date: Thu Jan 13 04:54:50 2011 +0100 >> >> sched, autogroup: Fix CONFIG_RT_GROUP_SCHED sched_setscheduler() failure >> ... >> + /* >> +* Autogroup RT tasks are redirected to

Re: [PATCH v8 08/21] dt / chosen: Add linux,uefi-stub-generated-dtb property

2015-02-06 Thread Hanjun Guo
On 2015年02月07日 13:03, Ard Biesheuvel wrote: On 7 February 2015 at 03:36, Hanjun Guo wrote: On 2015年02月06日 18:34, G Gregory wrote: [...] linux,uefi-stub-kern-ver | string | Copy of linux_banner from build.

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 10:53:34PM -0500, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/06/2015 06:15 PM, Frederic Weisbecker wrote: > > > Just a few things then: > > > > 1) In this case rename context_tracking_user_enter/exit() to > > context_tracking_enter()

Re: [PATCH 0/5] RFC: Offer a way for userspace to request real deletion of files

2015-02-06 Thread Russ Dill
Alexander Holler ahsoftware.de> writes: > > Hello. > > I've set up a repository at github which contains the 3 pathches to add > limited support to the Linux kernel for wiping files on ext4 and (v)fat > with 3 small patches and a total of "9 files changed, 101 insertions(+), > 8

[PATCH 2/3] arm64, ft-1500a: Add initial dts for Phytium FT-1500A SoC

2015-02-06 Thread Chen Baozi
Add initial device tree nodes for Phytium FT-1500A SoC with support of 16 cores, gicv3 interrupt controller, serial port, PCIe host and on-chip GMAC ethernet controller. Signed-off-by: Chen Baozi --- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/phytium/Makefile

[PATCH 3/3] stmmac: Add AXI burst length support to platform device.

2015-02-06 Thread Chen Baozi
The AXI Bus Mode Register controls the AXI master behavior. It is mainly used to control the burst splitting and the number of outstanding requests. This register is present and valid only in GMAC-AXI configuration. The old driver only supports this feature on PCI devices. This patch adds an

[PATCH 0/3] Add support for Phytium FT-1500A SoC

2015-02-06 Thread Chen Baozi
This patchset introduces support for Phytium FT-1500A SoC. FT-1500A is the first arm64 SoC designed by Phytium, which includes 16 cores of armv8 processor, a 32-lane PCI-E host, 2 GMAC on-chip ethernet controller and a GICv3 interrupt controller with ITS support. Chen Baozi (3): arm64: Add

[PATCH 1/3] arm64: Add Kconfig option for Phytium FT SoC Family.

2015-02-06 Thread Chen Baozi
This introduces ARCH_PHYTIUM to enable SoC specific drivers and dtb files. Signed-off-by: Chen Baozi --- arch/arm64/Kconfig | 5 + arch/arm64/configs/defconfig | 2 ++ 2 files changed, 7 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index b1f9a20..9cfa320

RE: [PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-02-06 Thread Jake Oshins
> > -Original Message- > > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > > Sent: Friday, February 6, 2015 7:04 AM > > To: Jake Oshins > > Cc: gre...@linuxfoundation.org; KY Srinivasan; linux-kernel@vger.kernel.org; > > de...@linuxdriverproject.org; o...@aepfle.de;

Re: [PATCH] vxlan: Wrong type passed to %pIS

2015-02-06 Thread Cong Wang
On Fri, Feb 6, 2015 at 6:17 PM, Rasmus Villemoes wrote: > src_ip is a pointer to a union vxlan_addr, one member of which is a > struct sockaddr. Passing a pointer to src_ip is wrong; one should pass > the value of src_ip itself. Since %pIS formally expects something of > type struct sockaddr*,

Re: [PATCH v8 08/21] dt / chosen: Add linux,uefi-stub-generated-dtb property

2015-02-06 Thread Ard Biesheuvel
On 7 February 2015 at 03:36, Hanjun Guo wrote: > On 2015年02月06日 18:34, G Gregory wrote: > [...] > >> >> >> linux,uefi-stub-kern-ver | string | Copy of linux_banner from >> build. >> >>

Re: [NFSv4.1] 6ae373394c4: kernel boot crash

2015-02-06 Thread Trond Myklebust
On Fri, Feb 6, 2015 at 11:31 PM, Fengguang Wu wrote: > Hi Trond, > > On Fri, Feb 06, 2015 at 10:43:34PM -0500, Trond Myklebust wrote: >> On Fri, Feb 6, 2015 at 9:45 PM, Fengguang Wu wrote: >> > >> > Hi Trond, >> > >> > We noticed the below kernel crash on >> > >> >

Re: [NFSv4.1] 6ae373394c4: kernel boot crash

2015-02-06 Thread Fengguang Wu
Hi Trond, On Fri, Feb 06, 2015 at 10:43:34PM -0500, Trond Myklebust wrote: > On Fri, Feb 6, 2015 at 9:45 PM, Fengguang Wu wrote: > > > > Hi Trond, > > > > We noticed the below kernel crash on > > > > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing > > commit

[PATCH] xen-scsiback: some modifications about code comment

2015-02-06 Thread Rudy Zhang
From: Tao Chen Signed-off-by: Tao Chen --- drivers/xen/xen-scsiback.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c index 3e32146..59f09fd 100644 --- a/drivers/xen/xen-scsiback.c +++

Re: [PATCH] thinkpad_acpi: unhandled hkey event

2015-02-06 Thread Darren Hart
On Sat, Jan 31, 2015 at 07:52:03PM +0100, Xavier Naveira wrote: > Pressing Fn+Esc in a Lenovo Thinkpad x240 to lock the Fn keys generates > an unhandled hkey event > > Signed-off-by: Xavier Naveira > --- > drivers/platform/x86/thinkpad_acpi.c | 7 +++ > 1 file changed, 7 insertions(+) > >

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 15:27:54 -0800 "Paul E. McKenney" wrote: > > Reported-by: Sedat Dilek > > Suggested-by: Paul E. McKenney > > Signed-off-by: Steven Rostedt > > Acked-by: Paul E. McKenney Both patches survived all my tests, now I just need an ack by from Dave and/or Peter, and I'll push

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 06:15 PM, Frederic Weisbecker wrote: > Just a few things then: > > 1) In this case rename context_tracking_user_enter/exit() to > context_tracking_enter() and context_tracking_exit(), since it's > not anymore about user only but about

Re: [NFSv4.1] 6ae373394c4: kernel boot crash

2015-02-06 Thread Trond Myklebust
On Fri, Feb 6, 2015 at 9:45 PM, Fengguang Wu wrote: > > Hi Trond, > > We noticed the below kernel crash on > > git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing > commit 6ae373394c4257bad562817aa60464ff7fe8f9c4 ("NFSv4.1: Ask for no > delegation on OPEN if using O_DIRECT") > > >

Re: [PATCH v8 08/21] dt / chosen: Add linux,uefi-stub-generated-dtb property

2015-02-06 Thread Hanjun Guo
On 2015年02月06日 18:34, G Gregory wrote: [...] linux,uefi-stub-kern-ver | string | Copy of linux_banner from build.

Re: [PATCH] vxlan: Wrong type passed to %pIS

2015-02-06 Thread Joe Perches
On Sat, 2015-02-07 at 03:17 +0100, Rasmus Villemoes wrote: > src_ip is a pointer to a union vxlan_addr, one member of which is a > struct sockaddr. Passing a pointer to src_ip is wrong; one should pass > the value of src_ip itself. Since %pIS formally expects something of > type struct sockaddr*,

Re: [PATCH v3 04/15] drm: bridge/dw_hdmi: add indentification registers parse and record

2015-02-06 Thread yakir
On 02/05/2015 11:46 PM, Daniel Kurtz wrote: On Tue, Feb 3, 2015 at 11:11 PM, Yakir Yang wrote: By parsing the indentification registers we can know what functions are present on the hdmi ip. Signed-off-by: Yakir Yang --- Changes in v3: - Add ID registers parse and record Changes in v2:

Re: [PATCH v3 05/15] drm: bridge/dw_hdmi: combine hdmi_set_clock_regenerator_n() and hdmi_regenerate_cts()

2015-02-06 Thread yakir
On 02/05/2015 11:54 PM, Daniel Kurtz wrote: On Tue, Feb 3, 2015 at 11:12 PM, Yakir Yang wrote: Signed-off-by: Yakir Yang Reviewed-by: Daniel Kurtz Okay, add in next verson4. Thanks. : ) --- Changes in v3: - Combine hdmi_set_clock_regenerator_n() and hdmi_regenerate_cts() Changes in

Re: [PATCH] Sony-laptop: fix sparse warning

2015-02-06 Thread Darren Hart
On Thu, Feb 05, 2015 at 04:00:32PM +, Lad, Prabhakar wrote: > Hi Giedrius, > > On Thu, Feb 5, 2015 at 3:55 PM, Giedrius Statkevičius > wrote: > > On 2015.02.05 16:49, Lad Prabhakar wrote: > >> From: "Lad, Prabhakar" > >> > >> this patch fixes following sparse warning: > >> > >>

Re: a method to distinguish between syscall-enter/exit-stop

2015-02-06 Thread Dmitry V. Levin
On Fri, Feb 06, 2015 at 05:07:41PM -0800, Kees Cook wrote: > On Fri, Feb 6, 2015 at 3:17 PM, Dmitry V. Levin wrote: > > On Fri, Feb 06, 2015 at 12:07:03PM -0800, Kees Cook wrote: > >> On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski > >> wrote: > >> > On Fri, Feb 6, 2015 at 11:23 AM, Kees Cook

Re: [PATCH] x86: thinkpad_acpi.c: fix sparse warning

2015-02-06 Thread Darren Hart
On Thu, Feb 05, 2015 at 02:45:38PM +, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch fixes following sparse warning: Please use the imperative, command form, in the future: "Fix the following sparse warning:" For the subject, just the module name is sufficient, no need to

[sched] 6acbfb96976: kernel BUG at kernel/smpboot.c

2015-02-06 Thread Fengguang Wu
Hi Jiangshan, We noticed the below BUG in commit 6acbfb96976fc3350e30d964acb1dbbdf876d55e ("sched: Fix hotplug vs. set_cpus_allowed_ptr()") testbox/testcase/testparams: brickland1/will-it-scale/powersave-page_fault3 brickland1 is an Ivy Bridge-EX with 128G memory. 4dac0b638310d2e9

Re: [PATCH] samsung-laptop: fix sparse warning

2015-02-06 Thread Darren Hart
On Thu, Feb 05, 2015 at 02:40:05PM +, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch fixes following sparse warning: > > samsung-laptop.c:1365:52: warning: Using plain integer as NULL pointer > > Signed-off-by: Lad, Prabhakar Queued, thanks. -- Darren Hart Intel Open

[NFSv4.1] 6ae373394c4: kernel boot crash

2015-02-06 Thread Fengguang Wu
Hi Trond, We noticed the below kernel crash on git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing commit 6ae373394c4257bad562817aa60464ff7fe8f9c4 ("NFSv4.1: Ask for no delegation on OPEN if using O_DIRECT") testbox/testcase/testparams: vm-vp-quantal-x86_64/boot/1 0e3b137fbf0f4ab9

Re: [RFT PATCH 2/4] compal-laptop: Check return value of power_supply_register

2015-02-06 Thread Darren Hart
On Tue, Jan 27, 2015 at 12:30:19PM +0100, Krzysztof Kozlowski wrote: > The return value of power_supply_register() call was not checked and > even on error probe() function returned 0. If registering failed then > during unbind the driver tried to unregister power supply which was not > actually

Re: [PATCH v3] samsung-laptop: enable better lid handling

2015-02-06 Thread Darren Hart
On Thu, Jan 29, 2015 at 01:04:37PM +, Julijonas Kikutis wrote: > Some Samsung laptops with SABI3 delay the sleep for 10 seconds after > the lid is closed and do not wake up from sleep after the lid is opened. > A SABI command is needed to enable the better behavior. > > Command = 0x6e, d0 =

Re: [PATCH v3 02/20] power_supply: Move run-time configuration to separate structure

2015-02-06 Thread Darren Hart
On Fri, Jan 30, 2015 at 03:47:40PM +0100, Krzysztof Kozlowski wrote: > Add new structure 'power_supply_config' for holding run-time > initialization data like of_node, supplies and private driver data. > > The power_supply_register() function is changed so all power supply > drivers need

[PATCH] vxlan: Wrong type passed to %pIS

2015-02-06 Thread Rasmus Villemoes
src_ip is a pointer to a union vxlan_addr, one member of which is a struct sockaddr. Passing a pointer to src_ip is wrong; one should pass the value of src_ip itself. Since %pIS formally expects something of type struct sockaddr*, let's pass a pointer to the appropriate union member, though this

[PATCH] llist: Fix missing lockless_dereference()

2015-02-06 Thread Mathieu Desnoyers
A lockless_dereference() appears to be missing in llist_del_first(). It should only matter for Alpha in practice. Signed-off-by: Mathieu Desnoyers CC: Huang Ying CC: Paul McKenney CC: David Howells CC: Pranith Kumar CC: sta...@vger.kernel.org # v3.1+ --- lib/llist.c | 8 +++- 1 file

Re: issues on last 32 bit m68k toolchain

2015-02-06 Thread Guenter Roeck
On Fri, Feb 06, 2015 at 09:46:52PM +0100, Angelo Dureghello wrote: > Dear all, > > i was using the public x86 32bit toolchain from kernel.org: > > https://www.kernel.org/pub/tools/crosstool/files/bin/i686/4.6.3/i686-gcc-4.6.3-nolibc_m68k-linux.tar.gz > > Unfortunately, for ColdFire arch, there

Re: [PATCH 2/3] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-02-06 Thread Brent Wang
Hello Tyler, Thank you very much for helping test this patchset! 2015-02-07 2:10 GMT+08:00 Tyler Baker : > Hi Bintian, > > This patch applied to next-20150204 is producing build failures on > various ARM defconfigs[1]. I received the following error in all > cases: > > drivers/built-in.o: In

Re: [PATCH] af_packet: don't pass empty blocks for PACKET_V3

2015-02-06 Thread Willem de Bruijn
On Thu, Feb 5, 2015 at 10:54 PM, Alexander Drozdov wrote: > On 05.02.2015 23:01:38 +0300 Willem de Bruijn wrote: >> >> On Wed, Feb 4, 2015 at 9:58 PM, Alexander Drozdov >> wrote: >>> >>> Don't close an empty block on timeout. Its meaningless to >>> pass it to the user. Moreover, passing empty

Re: [Linaro-acpi] [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64

2015-02-06 Thread Ard Biesheuvel
On 6 February 2015 at 14:16, Catalin Marinas wrote: > On Fri, Feb 06, 2015 at 11:08:51AM +, Ard Biesheuvel wrote: >> On 6 February 2015 at 10:36, Catalin Marinas wrote: >> > On Thu, Feb 05, 2015 at 10:16:03PM +, Ard Biesheuvel wrote: >> >> On 5 February 2015 at 17:48, Catalin Marinas

epoll: optimize setting task running after blocking

2015-02-06 Thread Davidlohr Bueso
After waking up a task waiting for an event, we explicitly mark it as TASK_RUNNING (which is necessary as we do the checks for wakeups as TASK_INTERRUPTABLE). Once running and dealing with actually delivering the events, we're obviously not planning on calling schedule, thus we can relax the

[PATCH v8 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Ray Jui
Add initial support to the Broadcom iProc I2C controller found in the iProc family of SoCs. The iProc I2C controller has separate internal TX and RX FIFOs, each has a size of 64 bytes. The iProc I2C controller supports two bus speeds including standard mode (100kHz) and fast mode (400kHz)

[PATCH v8 3/3] ARM: dts: add I2C device nodes for Broadcom Cygnus

2015-02-06 Thread Ray Jui
Add I2C device nodes and its properties in bcm-cygnus.dtsi but keep them disabled there. Individual I2C devices can be enabled in board specific dts file when I2C slave devices are enabled in the future Signed-off-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Kevin Cernekee ---

[PATCH v8 1/3] i2c: iProc: define Broadcom iProc I2C binding

2015-02-06 Thread Ray Jui
Document the I2C device tree binding for Broadcom iProc family of SoCs Signed-off-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Kevin Cernekee --- .../devicetree/bindings/i2c/brcm,iproc-i2c.txt | 37 1 file changed, 37 insertions(+) create mode 100644

[PATCH v8 0/3] Add I2C support to Broadcom iProc

2015-02-06 Thread Ray Jui
This patchset contains the initial I2C support for Broadcom iProc family of SoCs. The iProc I2C controller has separate internal TX and RX FIFOs, each has a size of 64 bytes. The iProc I2C controller supports two bus speeds including standard mode (100 kHz) and fast mode (400 kHz) Changes from

Re: a method to distinguish between syscall-enter/exit-stop

2015-02-06 Thread Kees Cook
On Fri, Feb 6, 2015 at 3:17 PM, Dmitry V. Levin wrote: > On Fri, Feb 06, 2015 at 12:07:03PM -0800, Kees Cook wrote: >> On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski wrote: >> > On Fri, Feb 6, 2015 at 11:23 AM, Kees Cook wrote: > [...] >> >> And an unrelated thought: >> >> >> >> 3) Can't we

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Ray Jui
On 2/6/2015 2:31 PM, Kevin Cernekee wrote: > On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: >> Add initial support to the Broadcom iProc I2C controller found in the >> iProc family of SoCs. >> >> The iProc I2C controller has separate internal TX and RX FIFOs, each has >> a size of 64

Re: [PATCH] ext4: fix indirect punch hole corruption

2015-02-06 Thread Chris J Arges
On 02/06/2015 06:28 PM, Omar Sandoval wrote: > On Thu, Feb 05, 2015 at 03:30:47PM -0600, Chris J Arges wrote: >> On 02/05/2015 02:50 PM, Omar Sandoval wrote: >>> Commit 4f579ae7de56 (ext4: fix punch hole on files with indirect >>> mapping) rewrote FALLOC_FL_PUNCH_HOLE for ext4 files with indirect

Re: [PATCH] ext4: fix indirect punch hole corruption

2015-02-06 Thread Omar Sandoval
On Thu, Feb 05, 2015 at 03:30:47PM -0600, Chris J Arges wrote: > On 02/05/2015 02:50 PM, Omar Sandoval wrote: > > Commit 4f579ae7de56 (ext4: fix punch hole on files with indirect > > mapping) rewrote FALLOC_FL_PUNCH_HOLE for ext4 files with indirect > > mapping. However, the case where the punch

[PATCH] ARM: omap1_defconfig: drop obsolete Kconfig symbols

2015-02-06 Thread Paul Walmsley
scripts/checkkconfigsymbols.py indicates that omap1_defconfig references the following obsolete Kconfig symbols: CONFIG_BT_L2CAP CONFIG_BT_SCO CONFIG_DEBUG_ERRORS CONFIG_EXPERIMENTAL CONFIG_FB_OMAP_BOOTLOADER_INIT CONFIG_LEDS_CPU CONFIG_MACH_OMAP_HTCWIZARD CONFIG_MTD_CHAR CONFIG_MTD_DEBUG

[PATCH] ARM: OMAP1: PM: fix some build warnings on 1510-only Kconfigs

2015-02-06 Thread Paul Walmsley
Building an OMAP1510-only Kconfig generates the following warnings: arch/arm/mach-omap1/pm.c: In function ‘omap1_pm_idle’: arch/arm/mach-omap1/pm.c:123:2: warning: #warning Enable 32kHz OS timer in order to allow sleep states in idle [-Wcpp] #warning Enable 32kHz OS timer in order to allow

[PATCH] thermal: ti-soc-thermal: fix compilation warnings when !CONFIG_PM_SLEEP

2015-02-06 Thread Paul Walmsley
When CONFIG_PM_SLEEP=n, the following compilation warnings appear: drivers/thermal/ti-soc-thermal/ti-bandgap.c:1478:12: warning: ‘ti_bandgap_suspend’ defined but not used [-Wunused-function] static int ti_bandgap_suspend(struct device *dev) ^

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

2015-02-06 Thread Luis R. Rodriguez
On Mon, Feb 2, 2015 at 1:32 PM, Luis R. Rodriguez wrote: > On Mon, Feb 2, 2015 at 1:13 PM, Michal Marek wrote: >> Dne 30.1.2015 v 19:25 Luis R. Rodriguez napsal(a): >>> On Fri, Jan 30, 2015 at 2:49 AM, Michal Marek wrote: On 2015-01-29 21:47, Paul Bolle wrote: > [Added Michal. Removed

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-02-06 Thread Greg Thelen
On Fri, Feb 6, 2015 at 6:17 AM, Tejun Heo wrote: > Hello, Greg. > > On Thu, Feb 05, 2015 at 04:03:34PM -0800, Greg Thelen wrote: >> So this is a system which charges all cgroups using a shared inode >> (recharge on read) for all resident pages of that shared inode. There's >> only one copy

Re: [PATCH] drm: atmel-hlcdc: add discard area support

2015-02-06 Thread Rob Clark
On Fri, Feb 6, 2015 at 4:11 PM, Daniel Vetter wrote: > On Fri, Feb 06, 2015 at 04:31:02PM +0100, Boris Brezillon wrote: >> The HLCDC IP provides a way to discard a specific area on the primary >> plane (in case at least one of the overlay is activated and alpha >> blending is disabled). >> Doing

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 03:06:55PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When taking a CPU down for suspend and resume, a tracepoint may be called > when the CPU has been designated offline. As tracepoints require RCU for > protection, they must not be called if the

Re: [PATCH 4/5] kvm,rcu,nohz: use RCU extended quiescent state when running KVM guest

2015-02-06 Thread Frederic Weisbecker
On Thu, Feb 05, 2015 at 03:23:51PM -0500, r...@redhat.com wrote: > From: Rik van Riel > > The host kernel is not doing anything while the CPU is executing > a KVM guest VCPU, so it can be marked as being in an extended > quiescent state, identical to that used when running user space > code. >

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Davidlohr Bueso
On Fri, 2015-02-06 at 16:15 -0500, Sasha Levin wrote: > On 02/06/2015 02:42 PM, Davidlohr Bueso wrote: > > On Fri, 2015-02-06 at 08:25 -0800, Linus Torvalds wrote: > >> On Fri, Feb 6, 2015 at 6:49 AM, Raghavendra K T > >> wrote: > >>> Paravirt spinlock clears slowpath flag after doing unlock. >

Re: a method to distinguish between syscall-enter/exit-stop

2015-02-06 Thread Dmitry V. Levin
On Fri, Feb 06, 2015 at 12:07:03PM -0800, Kees Cook wrote: > On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski wrote: > > On Fri, Feb 6, 2015 at 11:23 AM, Kees Cook wrote: [...] > >> And an unrelated thought: > >> > >> 3) Can't we find some way to fix the inability of a ptracer to > >>

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Frederic Weisbecker
On Fri, Feb 06, 2015 at 01:51:56PM -0500, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/06/2015 01:23 PM, Frederic Weisbecker wrote: > > On Fri, Feb 06, 2015 at 01:20:21PM -0500, Rik van Riel wrote: On > > 02/06/2015 12:22 PM, Frederic Weisbecker wrote: > On

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Rasmus Villemoes
On Fri, Feb 06 2015, Steven Rostedt wrote: > The functionality of strnstr() does not change with this patch, so it > does not need to address your concern. Yeah, I should have checked that, of course. Sorry. > Feel free to submit a patch that states the difference of the kernel > version of

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 11:51:19PM +0100, Sedat Dilek wrote: > On Fri, Feb 6, 2015 at 11:48 PM, Paul E. McKenney > wrote: > > On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: > >> On Fri, 6 Feb 2015 23:13:02 +0100 > >> Sedat Dilek wrote: > >> > >> > >> > OK, so both patches go

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 14:48:36 -0800 "Paul E. McKenney" wrote: > On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: > > On Fri, 6 Feb 2015 23:13:02 +0100 > > Sedat Dilek wrote: > > > > > > > OK, so both patches go through Steve's tree. > > > > The second patch will require acks

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 11:51 PM, Sedat Dilek wrote: > On Fri, Feb 6, 2015 at 11:48 PM, Paul E. McKenney > wrote: >> On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: >>> On Fri, 6 Feb 2015 23:13:02 +0100 >>> Sedat Dilek wrote: >>> >>> >>> > OK, so both patches go through Steve's

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Kevin Cernekee
On Fri, Feb 6, 2015 at 2:48 PM, Dmitry Torokhov wrote: > On Fri, Feb 6, 2015 at 2:31 PM, Kevin Cernekee wrote: >> On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: >>> + >>> + dev_dbg(iproc_i2c->device, "xfer %c, addr=0x%02x, len=%d\n", >>> + (msg->flags & I2C_M_RD) ? 'R'

[PATCH 3/3] perf/doc: Update perf_event_attr struct

2015-02-06 Thread Tom Huynh
Update the fields in perf_event_attr as currently seen in include/uapi/linux/perf_event.h Remove outdated comments on the config field The doc has not account for commit a21ca2cac582 ("perf_counter: Separate out attr->type from attr->config"). Signed-off-by: Tom Huynh ---

[PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-06 Thread Tom Huynh
Make the perf events in e6500 available via sysfs. $ ls /sys/devices/cpu/events/ branch-instructions branch-misses cache-misses cpu-cycles instructions FSL_0_INST_CMPL FSL_1_INST_CMPL ... $ cat

[PATCH 0/3] Add e6500 perf events to sysfs and update perf doc

2015-02-06 Thread Tom Huynh
This patch set adds generic events, specific events, and format attribute for the e6500 pmu to sysfs. This makes perf more convenient to use on the e6500 by allowing the users to see all supported events and specify events using meaningful names instead of raw event codes. This patchset includes

Re: [PATCH 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Sergei Shtylyov writes: >> +clocksources { >> +#address-cells = <1>; >> +#size-cells = <1>; >> +ranges; >> + >> +pxa-timer@40a0 { > >Just "timer@40a0", please. Hi Sergei, I forgot that in the v2, sorry. I'll put it in v3. Cheers.

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Steven Rostedt
On Fri, 06 Feb 2015 23:30:19 +0100 Rasmus Villemoes wrote: > On Fri, Feb 06 2015, Al Viro wrote: > > > +/** > > + * strnstr - Find the first substring in a length-limited string > > + * @s1: The string to be searched > > + * @s2: The string to search for > > + * @len: the maximum number of

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 11:48 PM, Paul E. McKenney wrote: > On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: >> On Fri, 6 Feb 2015 23:13:02 +0100 >> Sedat Dilek wrote: >> >> >> > OK, so both patches go through Steve's tree. >> >> The second patch will require acks from those that

[PATCH v2 4/5] ARM: dts: pxa: add pxa27x-keypad to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa27x has an embedded keypad controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa27x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi index

[PATCH v2 3/5] ARM: dts: pxa: add pxa27x-udc to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa27x has an embedded usb udc controller. Add it in the pxa27x device-tree description. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa27x.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi index

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 05:35:48PM -0500, Steven Rostedt wrote: > On Fri, 6 Feb 2015 23:13:02 +0100 > Sedat Dilek wrote: > > > > OK, so both patches go through Steve's tree. > > The second patch will require acks from those that maintain the files I > touch. Yep, that is required either way.

[PATCH v2 2/5] ARM: dts: pxa: add clocks

2015-02-06 Thread Robert Jarzmik
Add clocks to the IPs already described in the pxa device-tree files. There are more clocks in the clock tree than IPs described in the current pxa device-tree. This patch ensures that : - the current description is correct - the clocks are actually claimed, so that clock framework doesn't

[PATCH v2 1/5] ARM: dts: pxa: add pwri2c to pxa device-tree

2015-02-06 Thread Robert Jarzmik
Each pxa variant has 2 I2C busses on the SoC : - the casual I2C - the power I2C, normally driving power regulators, and capable of receiving orders on core frequency modifications Add the missing pwri2c to pxa description. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa2xx.dtsi | 9

[PATCH v2 5/5] ARM: dts: pxa: add pxa-timer to pxa27x

2015-02-06 Thread Robert Jarzmik
Each pxa has an embedded OS Timers IP. The kernel cannot work without a valid clocksource, and this adds the OS Timers to the pxa device-tree description. Signed-off-by: Robert Jarzmik --- Since v1: removed clocksource node, pxa-timer being directly under pxabus (Rob's comment). ---

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Dmitry Torokhov
On Fri, Feb 6, 2015 at 2:31 PM, Kevin Cernekee wrote: > On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: >> + >> + dev_dbg(iproc_i2c->device, "xfer %c, addr=0x%02x, len=%d\n", >> + (msg->flags & I2C_M_RD) ? 'R' : 'W', msg->addr, >> + msg->len); >> +

[PATCH 2/3] perf/e6500: Create a sysfs format entry for e6500 events

2015-02-06 Thread Tom Huynh
Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes the format of the e6500 PMU events. e6500 has <= 512 events, so use the 9 lsb to specify the raw event code. $ cat /sys/devices/cpu/format/event config:0-8 Similar to commit 3bf7b07ece6e

Re: [PATCH] classmate-laptop: fix sparse warning

2015-02-06 Thread Thadeu Lima de Souza Cascardo
On Thu, Feb 05, 2015 at 02:57:44PM +, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch fixes following sparse warning: > > classmate-laptop.c:523:61: warning: Using plain integer as NULL pointer > > Signed-off-by: Lad, Prabhakar Acked-by: Thadeu Lima de Souza Cascardo > ---

Re: [PATCH] llist: Fix missing memory barrier

2015-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 06, 2015 at 10:16:25PM +, Mathieu Desnoyers wrote: > - Original Message - > > From: "Greg Kroah-Hartman" > > To: "Mathieu Desnoyers" > > Cc: "Pranith Kumar" , "Huang Ying" > > , "LKML" > > , "Paul McKenney" > > , "David Howells" > > Sent: Friday, February 6, 2015

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 23:13:02 +0100 Sedat Dilek wrote: > OK, so both patches go through Steve's tree. The second patch will require acks from those that maintain the files I touch. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 6/8] fbdev: ssd1307fb: Add module parameter to set update delay of the deffered io.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds the module parameter "delaydivider" to set delay for the deferred io. Effectively this is setting the refresh rate for mmap access to the framebuffer. The delay for the deferred io is HZ/delaydivider. Signed-off-by: Thomas Niederprüm ---

[PATCH 3/8] fbdev: ssd1307fb: Add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 13 + 2 files changed, 14 insertions(+), 1

[PATCH 1/8] Documentation: dts: add missing Solomon Systech vendor prefix.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 2/8] fbdev: ssd1307fb: Unify init code and make controller configurable from device tree

2015-02-06 Thread niederp
From: Thomas Niederprüm This patches unifies the init code for the ssd130X chips and adds device tree bindings to describe the hardware configuration of the used controller. This gets rid of the magic bit values used in the init code so far. Signed-off-by: Thomas Niederprüm ---

[PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds a module parameter 'bitsperpixel' to adjust the colordepth of the framebuffer. All values >1 will result in memory map of the requested color depth. However only the MSB of each pixel will be sent to the device. The framebuffer identifies itself as a

[PATCH 0/8] Cleanup and add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on device tree configuration. This gets rid of

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as "contrast" and "dim" in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 88

[PATCH 8/8] fbdev: ssd1307fb: Turn off display on driver unload.

2015-02-06 Thread niederp
From: Thomas Niederprüm Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 02931c7..be91dfc 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++

[PATCH 4/8] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-02-06 Thread niederp
From: Thomas Niederprüm It makes sense to use vmalloc to allocate the video buffer since it has to be page aligned memory for using it with mmap. Also deffered io seems buggy in combination with kmalloc'ed memory (crash on unloading the module). Signed-off-by: Thomas Niederprüm ---

Re: [PATCH] seccomp: cap SECCOMP_RET_ERRNO data to MAX_ERRNO

2015-02-06 Thread Dmitry V. Levin
On Fri, Feb 06, 2015 at 01:03:09PM -0800, Kees Cook wrote: > The value resulting from the SECCOMP_RET_DATA mask could exceed MAX_ERRNO > when setting errno during a SECCOMP_RET_ERRNO filter action. This makes sure > we have a reliable value being set, so that an invalid errno will not be > ignored

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 10:42 PM, Steven Rostedt wrote: > On Fri, 6 Feb 2015 22:39:52 +0100 > Sedat Dilek wrote: > >> Man man man you write and test your stuff still on ancient x85 arch. >> What's coming next... revive/reinclude i386 code? > > Real mode for Real men! Yeah Baby! > I hope you

Re: [v7,2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-06 Thread Kevin Cernekee
On Mon, Jan 19, 2015 at 01:51:49PM -0800, Ray Jui wrote: > Add initial support to the Broadcom iProc I2C controller found in the > iProc family of SoCs. > > The iProc I2C controller has separate internal TX and RX FIFOs, each has > a size of 64 bytes. The iProc I2C controller supports two bus

Re: [RFC][PATCH v2 2/7] implement memmem()

2015-02-06 Thread Rasmus Villemoes
On Fri, Feb 06 2015, Al Viro wrote: > +/** > + * strnstr - Find the first substring in a length-limited string > + * @s1: The string to be searched > + * @s2: The string to search for > + * @len: the maximum number of characters to search > + */ > +char *strnstr(const char *s1, const char *s2,

Re: [RFC 0/3] Mirrored memory support for boot time allocations

2015-02-06 Thread Tony Luck
On Fri, Feb 6, 2015 at 1:54 PM, Tony Luck wrote: > Platforms that support a mix of mirrored and regular memory are coming. Obviously I don't do enough -mm work to remember where linux-mm mailing list is hosted :-( Let's see who finds this on the linux-kernel list (that I did spell right). When

Re: [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-06 Thread Oleksij Rempel
formatting of this patch is still badly broken. ./scripts/checkpatch.pl ~/Downloads/patch.eml ERROR: DOS line endings #442: FILE: drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1170: +^I^IAURFC_STAT_SET(aurfc_submit_delay, delay);^M$ total: 195 errors, 6 warnings, 1 checks, 310 lines checked

[RFC 3/3] x86, mirror: x86 enabling - find mirrored memory ranges and tell memblock

2015-02-06 Thread Tony Luck
Can't post this part yet because it uses things in an upcoming[*] ACPI, UEFI, or some other four-letter-ending-in-I standard. So just imagine a call someplace early in startup that reads information about mirrored address ranges and does: + for (...) { + start = ...; +

[RFC 2/3] mm/memblock: Allocate boot time data structures from mirrored memory

2015-02-06 Thread Tony Luck
Try to allocate all boot time kernel data structures from mirrored memory. If we run out of mirrored memory print warnings, but fall back to using non-mirrored memory to make sure that we still boot. Signed-off-by: Tony Luck --- include/linux/memblock.h | 8 ++ mm/memblock.c|

  1   2   3   4   5   6   7   8   9   10   >