Re: [PATCH 10/11] ARM: sti: always enable RESET_CONTROLLER

2015-02-13 Thread Maxime Coquelin
Hi Arnd, On 02/12/2015 08:42 PM, Arnd Bergmann wrote: A lot of the sti device drivers require reset controller support, but do not all have individual 'depends on RESET_CONTROLLER' statements. Using 'select' here once avoids a lot of build errors resulting from this. Signed-off-by: Arnd

[PATCH v3 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-13 Thread Bogdan Purcareata
In certain scenarios - e.g. seccomp filtering with ERRNO as default action - the system call fails for other reasons than the syscall not being available. The seccomp filter can be configured to store a user-defined error code on return from a blacklisted syscall. Don't always set ENOSYS on

Re: scsi: Implement per-cpu logging buffer

2015-02-13 Thread Hannes Reinecke
On 02/12/2015 06:18 PM, Josh Triplett wrote: On Thu, Feb 12, 2015 at 02:29:35PM +0100, Hannes Reinecke wrote: On 02/12/2015 01:36 PM, Geert Uytterhoeven wrote: On Wed, Feb 11, 2015 at 8:16 PM, Linux Kernel Mailing List linux-kernel@vger.kernel.org wrote: Gitweb:

Re: [RESEND] [PATCH] block: create ioctl to discard-or-zeroout a range of blocks

2015-02-13 Thread Darrick J. Wong
So, uh, it's been a couple of weeks... Jens: Any comments? Nobody's objected to either the function or the interface; can this go in -next? --D On Wed, Jan 28, 2015 at 06:00:25PM -0800, Darrick J. Wong wrote: Create a new ioctl to expose the block layer's newfound ability to issue either a

[PATCH] [media] staging: dt3155v4l: Switch to using managed resource with devm_

2015-02-13 Thread Kiran Padwal
This patch uses managed resource APIs to allocate memory in order to simplify the driver unload or failure cases Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff

Re: [PATCH v3 1/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-02-13 Thread Mathias Nyman
On 12.02.2015 17:18, Alan Stern wrote: On Thu, 12 Feb 2015, Mathias Nyman wrote: On 25.01.2015 10:13, Sneeker Yeh wrote: This issue is defined by a three-way race at disconnect, between 1) Class driver interrupt endpoint resheduling attempts if the ISR gave an ep error event due to

[PATCH 1/1] Staging: gdm724x: code style improvements

2015-02-13 Thread Tolga Ceylan
Corrections based on checkpatch.pl with --strict. 1) Lines over 80 were corrected 2) Alignment should match open paranthesis cases corrected 3) Comparisons such as if (x == NULL) rewritten as if (!x) 4) CamelCase variables renamed 5) Missing spaces between operators added 6) Unnecessary blank

[PATCH] memory hotplug: Use macro to switch between section and pfn

2015-02-13 Thread Sheng Yong
Use macro section_nr_to_pfn and pfn_to_section_nr to switch between section and pfn, instead of bit operations, no semantic changes. Signed-off-by: Sheng Yong shengyo...@huawei.com --- drivers/base/memory.c | 2 +- mm/memory_hotplug.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH RFC v3 2/7] epoll: Specify clockid explicitly

2015-02-13 Thread Fam Zheng
Later we will add clockid in the interface, so let's start using explicit clockid internally. Now we specify CLOCK_MONOTONIC, which is the same as before. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 29 + 1 file changed, 17 insertions(+), 12

[PATCH RFC v3 6/7] epoll: Add implementation for epoll_pwait1

2015-02-13 Thread Fam Zheng
This is the new implementation for poll which has a flags parameter and packs a number of parameters into a structure. The main advantage of it over existing epoll_pwait is about timeout: epoll_pwait expects a relative millisecond value, while epoll_pwait1 accepts 1) a timespec which is in

[PATCH RFC v3 5/7] x86: Hook up epoll_ctl_batch syscall

2015-02-13 Thread Fam Zheng
Signed-off-by: Fam Zheng f...@redhat.com --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index b3560ec..fe809f6 100644 ---

[PATCH RFC v3 3/7] epoll: Extract ep_ctl_do

2015-02-13 Thread Fam Zheng
This is a common part from epoll_ctl implementation which will be shared with the coming epoll_ctl_wait. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 26 ++ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c

Re: [PATCH 1/1] Staging: gdm724x: code style improvements

2015-02-13 Thread Dan Carpenter
On Fri, Feb 13, 2015 at 12:56:03AM -0800, Tolga Ceylan wrote: Corrections based on checkpatch.pl with --strict. 1) Lines over 80 were corrected 2) Alignment should match open paranthesis cases corrected 3) Comparisons such as if (x == NULL) rewritten as if (!x) 4) CamelCase variables renamed

Re: [PATCH v3 1/5] xhci: add a quirk for device disconnection errata for Synopsis Designware USB3 core

2015-02-13 Thread Mathias Nyman
On 25.01.2015 10:13, Sneeker Yeh wrote: Oh, and one more thing: +static void xhci_try_to_clear_csc(struct usb_hcd *hcd, int dev_port_num) +{ + int max_ports; + struct xhci_hcd *xhci = hcd_to_xhci(hcd); + __le32 __iomem **port_array; + u32 status; + + /* print debug

[PATCH RFC v3 7/7] x86: Hook up epoll_pwait1 syscall

2015-02-13 Thread Fam Zheng
Signed-off-by: Fam Zheng f...@redhat.com --- arch/x86/syscalls/syscall_32.tbl | 1 + arch/x86/syscalls/syscall_64.tbl | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index fe809f6..bf912d8 100644 ---

[PATCH RFC v3 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-13 Thread Fam Zheng
Hi all, This is the updated series for the new epoll system calls, with the cover letter rewritten which includes some more explanation. Comments are very welcome! Original Motivation === QEMU, and probably many more select/poll based applications, will consider epoll as an

[PATCH v4] USB:ftdi_sio: Added Pids for Actisense Usb Devices

2015-02-13 Thread Mark Glover
From: Mark Glover m...@actisense.com Only Email comments have changed since the last version of this patch. These product identifiers (PID) all deal with marine NMEA format data used on motor boats and yachts We supply the programmed devices to Chetco, for use inside their equipment. The PIDs

Re: [PATCH 08/14] pinctrl: Add pinctrl driver for STM32 MCUs

2015-02-13 Thread Maxime Coquelin
2015-02-12 21:37 GMT+01:00 Geert Uytterhoeven ge...@linux-m68k.org: On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -125,6 +125,15 @@ config PINCTRL_ST select PINCONF select

Re: RAID1 might_sleep() warning on 3.19-rc7

2015-02-13 Thread NeilBrown
On Fri, 13 Feb 2015 09:32:50 +0100 Peter Zijlstra pet...@infradead.org wrote: On Fri, Feb 13, 2015 at 04:26:00PM +1100, NeilBrown wrote: I choose ... Buzz Lightyear !!! Great choice! From: NeilBrown ne...@suse.de Date: Fri, 13 Feb 2015 15:49:17 +1100 Subject: [PATCH] sched: prevent

[v3.20] Regression: V3.20 doesn'nt wake up from suspend

2015-02-13 Thread Jörg Otte
In suspend state the power-led remains on (should be blinking). So may be the kernel does not reach suspend state correctly. Once suspended, pressing the suspend key to wake up does not have any visible effect. There is nothing special in the logs. I tried to bisect, but I ran into an unbootable

[PATCH RFC v3 1/7] epoll: Extract epoll_wait_do and epoll_pwait_do

2015-02-13 Thread Fam Zheng
In preparation of new epoll syscalls, this patch allows reusing the code from epoll_pwait implementation. The new functions uses ktime_t for more accuracy. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 162 ++--- 1 file changed,

Re: [PATCH 3/6] timekeeping: Make it safe to use the fast timekeeper while suspended

2015-02-13 Thread John Stultz
On Fri, Feb 13, 2015 at 10:03 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, February 13, 2015 08:53:38 AM John Stultz wrote: On Wed, Feb 11, 2015 at 12:03 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Theoretically,

[PATCH RFC v3 4/7] epoll: Add implementation for epoll_ctl_batch

2015-02-13 Thread Fam Zheng
This new syscall is a batched version of epoll_ctl. It will execute each command as specified in cmds in given order, and stop at first failure or upon completion of all commands. Signed-off-by: Fam Zheng f...@redhat.com --- fs/eventpoll.c | 48

Re: [PATCH 02/11] ARM: sunxi: always select RESET_CONTROLLER

2015-02-13 Thread Maxime Ripard
Hi Arnd, On Thu, Feb 12, 2015 at 08:42:34PM +0100, Arnd Bergmann wrote: A lot of drivers for mach-sunxi depend on RESET_CONTROLLER. While this is selected for the drivers that have it, we keep running into build errors in drivers that are used on both the SoCs with and without a reset

Re: [PATCH RFC v3 0/7] epoll: Introduce new syscalls, epoll_ctl_batch and epoll_pwait1

2015-02-13 Thread Omar Sandoval
On Fri, Feb 13, 2015 at 05:03:56PM +0800, Fam Zheng wrote: Hi all, This is the updated series for the new epoll system calls, with the cover letter rewritten which includes some more explanation. Comments are very welcome! Original Motivation === QEMU, and probably

Re: [PATCH v7 01/16] clk: tegra: Add binding for the Tegra124 DFLL clocksource

2015-02-13 Thread Mikko Perttunen
On 02/12/2015 03:54 PM, Peter De Schrijver wrote: On Thu, Jan 08, 2015 at 03:22:04PM +0200, Mikko Perttunen wrote: From: Tuomas Tynkkynen ttynkky...@nvidia.com The DFLL is the main clocksource for the fast CPU cluster on Tegra124 and also provides automatic CPU rail voltage scaling as well.

Re: RAID1 might_sleep() warning on 3.19-rc7

2015-02-13 Thread Peter Zijlstra
On Fri, Feb 13, 2015 at 07:49:53PM +1100, NeilBrown wrote: Like said, that will still recursive call delayacct_blkio_*() and would increase nr_iowait for a second time; while arguably its still the same one io-wait instance. No it doesn't. There is no blk_flush_plug call between the

Re: [PATCH 6/9] nbd: Restructure debugging prints

2015-02-13 Thread Markus Pargmann
On Thu, Feb 12, 2015 at 01:08:48PM -0800, Joe Perches wrote: On Thu, 2015-02-12 at 21:57 +0100, Markus Pargmann wrote: dprintk has some name collisions with other frameworks and drivers. It is also not necessary to have these custom debug print filters. Dynamic debug offers the same amount

Re: [PATCH 6/9] nbd: Restructure debugging prints

2015-02-13 Thread Joe Perches
On Fri, 2015-02-13 at 10:58 +0100, Markus Pargmann wrote: On Thu, Feb 12, 2015 at 01:08:48PM -0800, Joe Perches wrote: On Thu, 2015-02-12 at 21:57 +0100, Markus Pargmann wrote: dprintk has some name collisions with other frameworks and drivers. It is also not necessary to have these

Re: [PATCH] led/led-class: Handle LEDs with the same name

2015-02-13 Thread Ricardo Ribalda Delgado
Hello Bryan This is a real error message: [6.335055] [ cut here ] [6.335089] WARNING: CPU: 1 PID: 74 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x68/0x80() [6.335100] sysfs: cannot create duplicate filename

Re: [PATCH v7 01/16] clk: tegra: Add binding for the Tegra124 DFLL clocksource

2015-02-13 Thread Mikko Perttunen
On 02/13/2015 12:42 AM, Thierry Reding wrote: On Thu, Jan 08, 2015 at 03:22:04PM +0200, Mikko Perttunen wrote: From: Tuomas Tynkkynen ttynkky...@nvidia.com The DFLL is the main clocksource for the fast CPU cluster on Tegra124 and also provides automatic CPU rail voltage scaling as well. The

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Liviu Dudau
On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: The vexpress tc2 power management code calls mcpm_loopback, which is only available if ARM_CPU_SUSPEND is enabled, otherwise we get a link error: arch/arm/mach-vexpress/built-in.o: In function `tc2_pm_init':

Re: linux-next: manual merge of the mips tree with Linus' tree

2015-02-13 Thread Ralf Baechle
On Fri, Feb 13, 2015 at 11:11:50AM +1100, Stephen Rothwell wrote: Today's linux-next merge of the mips tree got a conflict in arch/mips/kernel/elf.c between commit fd75a33e0002 (MIPS: ELF: fix loading o32 binaries on 64-bit kernels) from Linus' tree and commit d8fb6537f1d4 (MIPS: kernel: elf:

stand-alone kvmtool

2015-02-13 Thread Andre Przywara
Hi, as I found it increasingly inconvenient to use kvmtool[1] as part of a Linux repository, I decided to give it a go and make it a stand-alone project. So I filtered all the respective commits, adjusted the paths in there (while keeping authorship and commit date, of course) and then added the

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-13 Thread Catalin Marinas
On Fri, Feb 13, 2015 at 04:00:43PM +0800, Bamvor Jian Zhang wrote: On 2015/2/11 23:40, Catalin Marinas wrote: On Wed, Feb 11, 2015 at 07:22:08PM +0800, Bamvor Jian Zhang wrote: On 2015/2/10 20:27, Catalin Marinas wrote: On Tue, Feb 10, 2015 at 10:10:11AM +, Zhang Jian(Bamvor) wrote:

Re: [PATCH 06/13] clk: mediatek: Add basic clocks for Mediatek MT8173.

2015-02-13 Thread Tomasz Figa
Please find my comments inline. On Mon, Feb 9, 2015 at 7:47 PM, Sascha Hauer s.ha...@pengutronix.de wrote: From: James Liao jamesjj.l...@mediatek.com This patch adds basic clocks for MT8173, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao jamesjj.l...@mediatek.com

Re: [PATCH 02/14] ARM: ARMv7M: Enlarge vector table to 256 entries

2015-02-13 Thread Uwe Kleine-König
On Fri, Feb 13, 2015 at 09:42:46AM +0100, Maxime Coquelin wrote: Hi Geert, 2015-02-12 21:34 GMT+01:00 Geert Uytterhoeven ge...@linux-m68k.org: On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: From Cortex-M4 and M7 reference manuals, the nvic supports up

Re: [PATCH v3 1/3] lib: find_*_bit reimplementation

2015-02-13 Thread Rasmus Villemoes
On Fri, Feb 13 2015, George Spelvin li...@horizon.com wrote: the main loop is 20--3b. The test instruction at 2e seems to be redundant. The same at 37: the sub instruction already sets plenty of flags that could be used, so explicitly comparing %rbx to -1 seems redundant. Er... I think you

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-13 Thread Jiri Kosina
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: My biggest concerns and questions related to this patch set are: 1) To safely examine the task stacks, the transition code locks each task's rq struct, which requires using the scheduler's internal rq locking functions. It seems to work well,

Twoja skrzynka pocztowa zostala tymczasowo zawieszona !!!

2015-02-13 Thread Admin
-- Drogi Uzytkowniku Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala tymczasowo zawieszona przez administratora systemu, prosimy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki: W zwiazku z tym, mozna otrzymac te wiadomosc w

Re: [PATCH v7 05/16] clk: tegra: Add DFLL DVCO reset control for Tegra124

2015-02-13 Thread Mikko Perttunen
On 02/12/2015 04:19 PM, Peter De Schrijver wrote: On Thu, Jan 08, 2015 at 03:22:08PM +0200, Mikko Perttunen wrote: From: Paul Walmsley pwalms...@nvidia.com The DVCO present in the DFLL IP block has a separate reset line, exposed via the CAR IP block. This reset line is asserted upon SoC

Re: [PATCH] iwl4965: Enable checking of format strings

2015-02-13 Thread Rasmus Villemoes
On Fri, Feb 13 2015, Mark Rustad mrus...@gmail.com wrote: On 2/12/15 2:20 AM, Rasmus Villemoes wrote: Rather weak arguments, but I have three of them :-) Yes, weak. All three. (1) If I'm reading some code and spot a non-constant format argument, I sometimes track back to see how e.g.

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 10:37:16AM +, Liviu Dudau wrote: On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: The vexpress tc2 power management code calls mcpm_loopback, which is only available if ARM_CPU_SUSPEND is enabled, otherwise we get a link error:

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Liviu Dudau
On Fri, Feb 13, 2015 at 10:57:53AM +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 10:37:16AM +, Liviu Dudau wrote: On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: The vexpress tc2 power management code calls mcpm_loopback, which is only available if

Re: linux-next: Tree for Feb 13

2015-02-13 Thread Sabrina Dubroca
2015-02-13, 16:56:15 +1100, Stephen Rothwell wrote: Hi all, Please do not add any material destined for v3.21 to your linux-next included trees until after v3.20-rc1 has been released. Changes since 20150212: Hi Stephen, Your conflict resolution in 8fe7fba50596 Merge branch

[PATCH 1/3] drm/layerscape: Add fsl dcu DRM driver

2015-02-13 Thread Jianwei Wang
= Freescale DCU DRM, + .date = 20150213, + .major = 1, + .minor = 0, +}; + +#ifdef CONFIG_PM_SLEEP +static int fsl_dcu_drm_pm_suspend(struct device *dev) +{ + struct fsl_dcu_drm_device *fsl_dev = dev_get_drvdata(dev

Hello

2015-02-13 Thread Mrs Anita raymond
Am Anita please don't be offended by contacting you in this manner. I want us to discuss something very important that will benefit both of us. I will be very glad if partner with me and profit from this business deal. Please it is very important you contact me immediately for further explanation

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 11:01:52AM +, Liviu Dudau wrote: On Fri, Feb 13, 2015 at 10:57:53AM +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 10:37:16AM +, Liviu Dudau wrote: On Thu, Feb 12, 2015 at 07:42:33PM +, Arnd Bergmann wrote: The vexpress tc2 power

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-13 Thread Bamvor Jian Zhang
On 2015/2/11 23:40, Catalin Marinas wrote: On Wed, Feb 11, 2015 at 07:22:08PM +0800, Bamvor Jian Zhang wrote: On 2015/2/10 20:27, Catalin Marinas wrote: On Tue, Feb 10, 2015 at 10:10:11AM +, Zhang Jian(Bamvor) wrote: ... The native sigval_t is also a union but on 64-bit big endian, the

[PATCH] IIO: si7020: Allocate correct amount of memory in devm_iio_device_alloc

2015-02-13 Thread Andrey Smirnov
Since only a pointer to struct i2c_client is stored in a private area of IIO device created by the driver there's no need to allocate sizeof(struct i2c_client) worth of storage. Signed-off-by: Andrey Smirnov andrew.smir...@gmail.com --- drivers/iio/humidity/si7020.c | 2 +- 1 file changed, 1

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-02-13 Thread Robert Jarzmik
Linus Walleij linus.wall...@linaro.org writes: On Fri, Feb 13, 2015 at 12:59 AM, Robert Jarzmik robert.jarz...@free.fr wrote: But isn't the real problem that in the device tree case, irq_get_irq_data(ndev-irq) will work becaus parsing an interrupt from the device tree populates it correctly

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-13 Thread addy ke
On 2015/2/12 21:59, Alim Akhtar wrote: On Thu, Feb 12, 2015 at 4:40 PM, Andrzej Hajda a.ha...@samsung.com wrote: On 02/12/2015 03:28 AM, addy ke wrote: Hi Andrzej and Alim On 2015/2/12 07:20, Alim Akhtar wrote: Hi Andrzej, On Wed, Feb 11, 2015 at 5:28 PM, Andrzej Hajda

Re: [PATCH 0/6] PM / sleep: Support for quiescing timers during suspend-to-idle

2015-02-13 Thread Peter Zijlstra
On Wed, Feb 11, 2015 at 05:00:15AM +0100, Rafael J. Wysocki wrote: Hi, This series adds support for quiescing timers during the last state of suspend-to-idle transitions. Patches [1-4/6] together are functionally equivalent to the combo RFC patch I sent last time

Re: RAID1 might_sleep() warning on 3.19-rc7

2015-02-13 Thread Peter Zijlstra
On Fri, Feb 13, 2015 at 04:26:00PM +1100, NeilBrown wrote: I choose ... Buzz Lightyear !!! Great choice! From: NeilBrown ne...@suse.de Date: Fri, 13 Feb 2015 15:49:17 +1100 Subject: [PATCH] sched: prevent recursion in io_schedule() io_schedule() calls blk_flush_plug() which, depending on

Re: [PATCH 06/11] ARM: at91: fix pm declarations

2015-02-13 Thread Nicolas Ferre
Le 12/02/2015 20:42, Arnd Bergmann a écrit : In a recent rearrangement of the at91 pm initialization code, a broken set of declarations was added for the !CONFIG_PM-case, leading to this link error: arch/arm/mach-at91/board-dt-sama5.o: In function `at91_rm9200_pm_init':

[PATCH v3 0/3] powerpc: Enable seccomp filter support

2015-02-13 Thread Bogdan Purcareata
Add the missing pieces in order to enable SECCOMP_FILTER on PowerPC architectures, and enable this support. Testing has been pursued using libseccomp with the latest ppc support patches [1][2], on Freescale platforms for both ppc and ppc64. ppc64le support is untested. [1]

[PATCH v3 2/3] powerpc: Relax secure computing on syscall entry trace

2015-02-13 Thread Bogdan Purcareata
The secure_computing_strict will just force the kernel to panic on secure_computing failure. Once SECCOMP_FILTER support is enabled in the kernel, syscalls can be denied without system failure. Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- arch/powerpc/kernel/ptrace.c | 4

Re: [PATCH 1/1] Staging: iio: meter: ade7854-i2c: code style improvements

2015-02-13 Thread Sudip Mukherjee
On Thu, Feb 12, 2015 at 10:49:46PM -0800, Tolga Ceylan wrote: Code reformatting based on checkpatch.pl with --strict: 1) Lines over 80 characters were fixed 2) Alignment should match open paranthesis cases corrected 3) Comparison to NULL rewritten as !indio_dev you are doing three different

[PATCH v3 3/3] powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

2015-02-13 Thread Bogdan Purcareata
Signed-off-by: Bogdan Purcareata bogdan.purcare...@freescale.com --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 22b0940..2588b57 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -104,6 +104,7 @@ config

Re: [PATCH 02/14] ARM: ARMv7M: Enlarge vector table to 256 entries

2015-02-13 Thread Maxime Coquelin
Hi Geert, 2015-02-12 21:34 GMT+01:00 Geert Uytterhoeven ge...@linux-m68k.org: On Thu, Feb 12, 2015 at 6:45 PM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: From Cortex-M4 and M7 reference manuals, the nvic supports up to 240 interrupts. So the number of entries in vectors table is 256.

[PATCH 1/2]Trivial patch: to solve indentation warnings in amba-clcd.c driver

2015-02-13 Thread Parmeshwr Prasad
Hi All, This patch soves the indentation warning in amba-clcd.c file. Please review the same. From a5f58880b2a6fd7cc532c4fb2bf6543cf1945195 Mon Sep 17 00:00:00 2001 From: Parmeshwr Prasad parmeshwr_pra...@dell.com Date: Thu, 12 Feb 2015 07:30:04 -0500 Subject: [PATCH 1/2] Trivial patch: Removed

RE: [PATCH] iwl4965: Enable checking of format strings

2015-02-13 Thread David Laight
From: Rasmus Villemoes Well, probably the linker is allowed to overlap anonymous objects (string literals) with whatever const char[] (or indeed any const) object it finds containing the appropriate byte sequence. But I think language lawyers would insist that for const char foo[] = a

[PATCH 3/3] arm/dts/ls1021a: Add a TFT LCD panel dts node for DCU

2015-02-13 Thread Jianwei Wang
Add a required display-timings node for the TFT LCD panel. the TFT LCD panel is WQVGA 480x272, and the bpp is 24. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Xiubo Li lixi...@cmss.chinamobile.com Signed-off-by: Jianwei Wang b52...@freescale.com ---

Re: [PATCH 01/11] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-02-13 Thread Liviu Dudau
On Fri, Feb 13, 2015 at 11:16:12AM +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 11:01:52AM +, Liviu Dudau wrote: On Fri, Feb 13, 2015 at 10:57:53AM +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 10:37:16AM +, Liviu Dudau wrote: On Thu, Feb 12,

Re: [PATCH 6/9] nbd: Restructure debugging prints

2015-02-13 Thread Markus Pargmann
Hi, On Fri, Feb 13, 2015 at 02:05:27AM -0800, Joe Perches wrote: On Fri, 2015-02-13 at 10:58 +0100, Markus Pargmann wrote: On Thu, Feb 12, 2015 at 01:08:48PM -0800, Joe Perches wrote: On Thu, 2015-02-12 at 21:57 +0100, Markus Pargmann wrote: dprintk has some name collisions with other

Re: [PATCH 1/8] usb: add bus type for USB ULPI

2015-02-13 Thread Heikki Krogerus
On Thu, Feb 12, 2015 at 05:44:20PM -0800, Stephen Boyd wrote: On 01/23/15 07:12, Heikki Krogerus wrote: diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c index e614ef6..753cb08 100644 --- a/scripts/mod/file2alias.c +++ b/scripts/mod/file2alias.c @@ -1176,6 +1176,19 @@

Re: [PATCH 1/2]Trivial patch: to solve indentation warnings in amba-clcd.c driver

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 06:21:33AM -0500, Parmeshwr Prasad wrote: @@ -288,7 +288,7 @@ static int clcdfb_set_par(struct fb_info *info) struct clcd_regs regs; fb-fb.fix.line_length = fb-fb.var.xres_virtual * -fb-fb.var.bits_per_pixel / 8; +

[PATCH 2/3] arm/dts/ls1021a: Add DCU dts node

2015-02-13 Thread Jianwei Wang
Add DCU node, DCU is a display controller of Freescale named 2D-ACE. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Xiubo Li lixi...@cmss.chinamobile.com Signed-off-by: Jianwei Wang b52...@freescale.com --- arch/arm/boot/dts/ls1021a.dtsi | 11 +++ 1 file changed, 11

Re: [PATCH 12/14] ARM: dts: Introduce STM32F429 MCU

2015-02-13 Thread Philipp Zabel
Hi Maxime, Am Donnerstag, den 12.02.2015, 18:46 +0100 schrieb Maxime Coquelin: [...] + soc { + reset_ahb1: reset@40023810 { + #reset-cells = 1; + compatible = st,stm32-reset; + reg = 0x40023810 0x4; + };

Re: [PATCH 6/9] nbd: Restructure debugging prints

2015-02-13 Thread Joe Perches
On Fri, 2015-02-13 at 12:24 +0100, Markus Pargmann wrote: On Fri, Feb 13, 2015 at 02:05:27AM -0800, Joe Perches wrote: On Fri, 2015-02-13 at 10:58 +0100, Markus Pargmann wrote: On Thu, Feb 12, 2015 at 01:08:48PM -0800, Joe Perches wrote: On Thu, 2015-02-12 at 21:57 +0100, Markus Pargmann

Re: [PATCH 04/14] reset: Add reset_controller_of_init() function

2015-02-13 Thread Philipp Zabel
Hi Maxime, Am Donnerstag, den 12.02.2015, 18:45 +0100 schrieb Maxime Coquelin: Some platforms need to initialize the reset controller before the timers. This patch introduces a reset_controller_of_init() function that can be called before the timers intialization. Signed-off-by: Maxime

[PATCH v3 1/3] mmc: dw_mmc: update clock after host reach a stable voltage

2015-02-13 Thread Addy Ke
As show in mmc_power_up(), in MMC_POWER_UP state, the voltage isn't stable and we may get 'data busy' which can't be cleaned by resetting all blocks. So we should not send command to update clock in this state. Signed-off-by: Addy Ke addy...@rock-chips.com --- drivers/mmc/host/dw_mmc.c | 3 ++-

[PATCH v3 0/3] about data busy

2015-02-13 Thread Addy Ke
patch 1: This patch can fix bug that controller is still data busy after reset all blocks. After this patch, I still get data busy in set_ios(). patch 2: This patch fix bug 'Timeout sending command'. After patch1 and patch2, there is no mmc errors after: cd

[PATCH v3 3/3] mmc: dw_mmc: Don't start command while data busy

2015-02-13 Thread Addy Ke
We should wait for data busy here in non-volt-switch state. This may happend when sdio sends CMD53. Signed-off-by: Addy Ke addy...@rock-chips.com --- drivers/mmc/host/dw_mmc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index

[PATCH v3 2/3] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-13 Thread Addy Ke
Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc controller send command to update card clocks. If this happends, mci_send_cmd will be failed and

Re: [PATCH 1/2]Trivial patch: to solve indentation warnings in amba-clcd.c driver

2015-02-13 Thread Joe Perches
On Fri, 2015-02-13 at 11:35 +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 06:21:33AM -0500, Parmeshwr Prasad wrote: @@ -288,7 +288,7 @@ static int clcdfb_set_par(struct fb_info *info) struct clcd_regs regs; fb-fb.fix.line_length = fb-fb.var.xres_virtual *

[PATCH 0/7] perf list: make some improvements and fixes

2015-02-13 Thread Yunlong Song
Hi, Found some functions to improve and bugs to fix in perf list. Yunlong Song (7): perf list: clean up the printing functions of hardware/software events perf list: sort the output of 'perf list' to view more clearly perf list: fix some inaccuracy problem when parsing the argument perf

[PATCH 2/7] perf list: sort the output of 'perf list' to view more clearly

2015-02-13 Thread Yunlong Song
Sort the output according to ASCII character list (using strcmp), which supports both number sequence and alphabet sequence. Example Before this patch: $perf list List of pre-defined events (to be used in -e): cpu-cycles OR cycles [Hardware event] instructions

[PATCH 5/7] perf list: avoid confusion of perf output and the next command prompt

2015-02-13 Thread Yunlong Song
Distinguish the output of 'perf list --list-opts' or 'perf --list-cmds' with the next command prompt, which also happens in other cases (e.g. record, report ...). Example Before this patch: $perf list --list-opts --raw-dump $ -- the output and the next command prompt are at

[PATCH 6/7] perf list: extend raw-dump to certain kind of events

2015-02-13 Thread Yunlong Song
Extend 'perf list --raw-dump' to 'perf list --raw-dump [hw|sw|cache |tracepoint|pmu|event_glob]' in order to show the raw-dump of a certain kind of events rather than all of the events. Example Before this patch: $perf list --raw-dump hw branch-instructions branch-misses bus-cycles cache-misses

[PATCH 3/7] perf list: fix some inaccuracy problem when parsing the argument

2015-02-13 Thread Yunlong Song
If somebody happens to name an event with the beginning of 'tracepoint' (e.g. tracepoint_foo), then it will never be showed with perf list event_glob, thus we parse the argument 'tracepoint' more carefully for accuracy. Example Before this patch: $perf list tracepoint_foo:*

[PATCH 1/7] perf list: clean up the printing functions of hardware/software events

2015-02-13 Thread Yunlong Song
Do not need print_events_type or __print_events_type for listing hw/sw events, let print_symbol_events do its job instead. Moreover, print_symbol_events can also handle event_glob and name_only. Signed-off-by: Yunlong Song yunlong.s...@huawei.com --- tools/perf/builtin-list.c | 6 --

Re: [PATCH 6/8] usb: dwc3: add ULPI interface support

2015-02-13 Thread Heikki Krogerus
On Thu, Feb 12, 2015 at 05:41:30PM -0800, David Cohen wrote: On Thu, Feb 12, 2015 at 02:12:14PM +0200, Heikki Krogerus wrote: diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index a8c9062..66cbf38 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c

Re: [PATCH 2/2]Trivial patch: to solve indentation warnings in amba-clcd.c driver

2015-02-13 Thread Russell King - ARM Linux
On Fri, Feb 13, 2015 at 08:28:10AM -0500, Parmeshwr Prasad wrote: This is second patch in series. In driver in_atomic we should not use to check if code is unning in IRQ. clcdfb_sleep() function is used to give some delay between operation. I have used schedule_timeout() function for same

[PATCH] MIPS: Alchemy: Remove bogus args from alchemy_clk_fgcs_detr

2015-02-13 Thread Tomeu Vizoso
They were added to this function by mistake when they were added to the clk_ops.determine_rate callback. Fixes: 1c8e600440c7 (clk: Add rate constraints to clocks) Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- arch/mips/alchemy/common/clock.c | 2 -- 1 file changed, 2 deletions(-)

Re: [PATCH RFC v9 01/20] clk: divider: Correct parent clk round rate if no bestdiv is normally found

2015-02-13 Thread Tomi Valkeinen
On 12/02/15 15:41, Sascha Hauer wrote: Tomis patch is based on the assumption that clk_set_rate(clk_round_rate(rate)) is equal to clk_round_rate(rate). So when this assumption is wrong then it should simply be reverted. When is it not equal? I agree that doing clk_set_rate(clk,

Re: [RFC PATCH 2/9] livepatch: separate enabled and patched states

2015-02-13 Thread Miroslav Benes
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: Once we have a consistency model, patches and their objects will be enabled and disabled at different times. For example, when a patch is disabled, its loaded objects' funcs can remain registered with ftrace indefinitely until the unpatching

[PATCH 1/3] mfd: intel_soc_pmic: Move PMIC interrupt comment to probe function

2015-02-13 Thread Jarkko Nikula
intel_soc_pmic_find_gpio_irq() tries to find a GPIO interrupt but doesn't select between it or I2C interrupt so it makes more sense to move this comment to intel_soc_pmic_i2c_probe() with minor edits. Signed-off-by: Jarkko Nikula jarkko.nik...@linux.intel.com ---

[PATCH 3/3] mfd: intel_soc_pmic: Ensure GPIO irq is set to input pin

2015-02-13 Thread Jarkko Nikula
Surely GPIO irq will be used as an input pin so make sure its direction is set after requesting. Signed-off-by: Jarkko Nikula jarkko.nik...@linux.intel.com --- Again, I haven't seen any issue. Just a thought if BIOS haven't configured the pin correctly. --- drivers/mfd/intel_soc_pmic_core.c | 2

[PATCH 2/3] mfd: intel_soc_pmic: Do not mangle error code from devm_gpiod_get_index()

2015-02-13 Thread Jarkko Nikula
It is usually better to pass actual error code from a function call than mangling it to another. Signed-off-by: Jarkko Nikula jarkko.nik...@linux.intel.com --- I haven't seen any issue with this. Random observation by looking at the code. --- drivers/mfd/intel_soc_pmic_core.c | 2 +- 1 file

Re: [PATCH 1/4] mm: cma: add currently allocated CMA buffers list to debugfs

2015-02-13 Thread SeongJae Park
Hello, Stefan. On Fri, 13 Feb 2015, Stefan Strogin wrote: /sys/kernel/debug/cma/cma-N/buffers contains a list of currently allocated CMA buffers for CMA region N when CONFIG_CMA_DEBUGFS is enabled. Format is: base_phys_addr - end_phys_addr (size kB), allocated by PID (comm) stack backtrace

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-13 Thread Josh Poimboeuf
On Fri, Feb 13, 2015 at 03:40:14PM +0100, Miroslav Benes wrote: On Fri, 13 Feb 2015, Jiri Kosina wrote: On Fri, 13 Feb 2015, Josh Poimboeuf wrote: How about we take a slightly different aproach -- put a probe (or ftrace) on __switch_to() during a klp transition period, and

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Takashi Iwai
At Mon, 09 Feb 2015 11:59:07 +0100, Takashi Iwai wrote: Hi, we've got a bug report about the suspend/resume regression of DVB device with 3.19. The symptom is VLC doesn't work after S3 or S4 resume. strace shows that /dev/dvb/adaptor0/dvr returns -ENODEV. The reporter confirmed that

Re: [PATCH] x86: insn decoder: create artificial 3rd byte for 2-byte VEX

2015-02-13 Thread Denys Vlasenko
On Fri, Feb 13, 2015 at 1:32 PM, Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2015/02/13 4:04), Denys Vlasenko wrote: Before this patch, users need to do this to fetch vex.: if (insn-vex_prefix.nbytes == 2) { vex_ = ((insn-vex_prefix.bytes[1] 3)

Re: [PATCH v2] clockevents: Introduce mode specific callbacks

2015-02-13 Thread Rafael J. Wysocki
On Friday, February 13, 2015 11:01:18 AM Viresh Kumar wrote: On 13 February 2015 at 10:11, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, February 13, 2015 08:54:56 AM Viresh Kumar wrote: It is not possible for the clockevents core to know which modes (other than those with a

Re: stand-alone kvmtool

2015-02-13 Thread Claudio Fontana
Hello Andre, On 13.02.2015 11:39, Andre Przywara wrote: Hi, as I found it increasingly inconvenient to use kvmtool[1] as part of a Linux repository, I decided to give it a go and make it a stand-alone project. So I filtered all the respective commits, adjusted the paths in there (while

Re: [PATCH 6/7] perf list: extend raw-dump to certain kind of events

2015-02-13 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 13, 2015 at 09:11:54PM +0800, Yunlong Song escreveu: Extend 'perf list --raw-dump' to 'perf list --raw-dump [hw|sw|cache |tracepoint|pmu|event_glob]' in order to show the raw-dump of a certain kind of events rather than all of the events. Again, please check that this doesn't break

Re: [RFC PATCH 3/9] livepatch: move patching functions into patch.c

2015-02-13 Thread Josh Poimboeuf
On Fri, Feb 13, 2015 at 03:28:28PM +0100, Miroslav Benes wrote: On Mon, 9 Feb 2015, Josh Poimboeuf wrote: Move functions related to the actual patching of functions and objects into a new patch.c file. I am definitely for splitting the code to several different files. Otherwise it

Re: DVB suspend/resume regression on 3.19

2015-02-13 Thread Takashi Iwai
At Fri, 13 Feb 2015 12:41:25 -0200, Mauro Carvalho Chehab wrote: Em Fri, 13 Feb 2015 15:02:42 +0100 Takashi Iwai ti...@suse.de escreveu: At Mon, 09 Feb 2015 11:59:07 +0100, Takashi Iwai wrote: Hi, we've got a bug report about the suspend/resume regression of DVB device

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-13 Thread Catalin Marinas
On Thu, Feb 12, 2015 at 07:59:24PM +0100, Arnd Bergmann wrote: Catalin Marinas catalin.mari...@arm.com hat am 12. Februar 2015 um 19:17 geschrieben: On Wed, Feb 11, 2015 at 02:21:18PM -0500, Rich Felker wrote: On Wed, Feb 11, 2015 at 05:39:19PM +, Catalin Marinas wrote: On Tue,

  1   2   3   4   5   6   7   8   9   >