Re: [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable

2015-02-16 Thread Cass May
On Mon, 2015-02-16 at 12:12 +0300, Dan Carpenter wrote: On Sun, Feb 15, 2015 at 11:40:17PM +, Cass May wrote: Clean up Makefile by removing unnecessary definition of DG_NAME. Signed-off-by: Cass May c...@cassm.net --- Having done some build tests, it seems that DG_NAME is not

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Dmitry Vyukov
Can a module be freed in an interrupt? On Mon, Feb 16, 2015 at 5:44 PM, Andrey Ryabinin a.ryabi...@samsung.com wrote: On 02/16/2015 05:58 AM, Rusty Russell wrote: Andrey Ryabinin a.ryabi...@samsung.com writes: This feature let us to detect accesses out of bounds of global variables. This

Re: [PATCH v2 6/6] irqchip: gicv3: skip ITS init when no ITS available

2015-02-16 Thread Yun Wu (Abel)
Hi Murzin, On 2015/2/16 18:05, Vladimir Murzin wrote: Hi Yun, On 15/02/15 09:32, Yun Wu wrote: There is one more condition that needs to be considered when judging whether LPI feature is enabled or not, which is whether there is any ITS available and correctly enabled. This patch will

Re: [PATCH] usb: dwc3: Moved PCI IDS to linux/pci_ids.h

2015-02-16 Thread Bjorn Helgaas
On Sun, Feb 15, 2015 at 6:17 PM, Joseph Kogut joseph.ko...@gmail.com wrote: Moved DWC3 PCI IDS to linux/pci_ids.h per the FIXME. Signed-off-by: Joseph Kogut joseph.ko...@gmail.com --- drivers/usb/dwc3/dwc3-pci.c | 10 +- include/linux/pci_ids.h | 8 2 files changed, 9

[PATCH v2] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Ian Abbott
This patch changes the way space is reserved in spidev's pre-allocated TX and RX bounce buffers to avoid wasting space in the buffers for an SPI message consisting of multiple, half-duplex transfers in different directions. Background: spidev data structures have separate, pre-allocated TX and

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Andrey Ryabinin
On 02/16/2015 05:47 PM, Dmitry Vyukov wrote: Can a module be freed in an interrupt? Since commit: c749637909ee (module: fix race in kallsyms resolution during module load success.) module's init section always freed rcu callback (rcu callbacks executed from softirq) Currently, with

Re: [LKP] [sched] BUG: kernel boot hang

2015-02-16 Thread Peter Zijlstra
On Sun, Feb 15, 2015 at 01:18:07PM -0500, Steven Rostedt wrote: On Sun, 15 Feb 2015 16:46:22 +0100 Frederic Weisbecker fweis...@gmail.com wrote: diff --git a/kernel/sched/core.c b/kernel/sched/core.c index c017a5f..a6d4d6c 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@

Re: [PATCH] mfd: Add support for COMe-cBL6 to Kontron PLD driver

2015-02-16 Thread Lee Jones
On Tue, 27 Jan 2015, Michael Brunner wrote: This patch adds the DMI system ID of the Kontron COMe-cBL6 board to the Kontron PLD driver. The list of supported products in the module description is also updated. Signed-off-by: Michael Brunner michael.brun...@kontron.com Acked-by: Christian

[PATCH 1/1] Documentation/robust-futex-API: remove alternative language

2015-02-16 Thread Heinrich Schuchardt
The man-pages as well as robust-futexes.txt use the word contend for a situation where two threads try to access the same futex at the same time. To avoid confusion robust-futex-API.txt should not use contest as alternative language. Signed-off-by: Heinrich Schuchardt xypron.g...@gmx.de ---

Re: [PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Lukasz Majewski
Hi Chanwoo, This patch fixes the NULL pointer exception during kernel booting. The thermal_zone _of_sensor_register() registers a sensor to DT thermal zone and then read the current temperature by '.get_temp' callback. The callback function of exynos thermal driver is exynos_get_temp() which

Re: [PATCH 3/3] thermal: exynos: Clean-up code to use oneline entry for exynos compatible table

2015-02-16 Thread Lukasz Majewski
Hi Chanwoo, This patch cleanup the code to use oneline for entry of exynos compatible table. Cc: Zhang Rui rui.zh...@intel.com Cc: Eduardo Valentin edubez...@gmail.com Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- drivers/thermal/samsung/exynos_tmu.c | 38

Re: [PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Oliver Neukum
On Thu, 2015-02-12 at 15:24 +0800, 曾婷葳 (tammy_tseng) wrote: Sorry. Re-send the code diff again. Here is the hid touch driver for sis touch controller. Thanks. This driver does very strange things. It looks like you are simulating a disconnect() to the usbhid driver currently driving the

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Juri Lelli
Hi, On 16/02/15 14:44, Peter Zijlstra wrote: On Mon, Feb 16, 2015 at 02:08:21PM +0100, Peter Zijlstra wrote: On Mon, Feb 16, 2015 at 03:38:34PM +0300, Kirill Tkhai wrote: We shouldn't enqueue migrating tasks. Please, try this one instead ;) Ha, we should amend that task-rq-lock loop for

Re: [LKP] [mutex] 871a6bb4916: -1.8% will-it-scale.per_process_ops, -98.3% will-it-scale.time.voluntary_context_switches, +209.6% will-it-scale.time.involuntary_context_switches

2015-02-16 Thread Peter Zijlstra
On Sun, Feb 15, 2015 at 03:46:54PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git locking/core commit 871a6bb4916fef3123b6ff749b0dc82680fb0d2a (mutex: In mutex_spin_on_owner(), return true when owner changes)

Re: [PATCH 0/8] x86,fpu: various small FPU cleanups and optimizations

2015-02-16 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 03:01 PM, r...@redhat.com wrote: This includes the three patches by Oleg that are not in -tip yet, and five more by myself. I believe the changes to my patches address all the comments by reviewers on the previous version. Ingo,

Re: [PATCH v2] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-16 Thread Mark Rutland
On Fri, Feb 13, 2015 at 11:01:37PM +, Russell King - ARM Linux wrote: On Fri, Feb 13, 2015 at 09:44:50PM +, Magnus Damm wrote: Also, based on the comment in mcpm_cpu_can_disable() it looks like the PSCI hook may be executed once only with your change in place? Hopefully PSCI is OK

Re: [PATCH v4 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 17:32:22 +0800 Xunlei Pang xlp...@126.com wrote: From: Xunlei Pang pang.xun...@linaro.org If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT

Re: [PATCH v4 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 17:32:23 +0800 Xunlei Pang xlp...@126.com wrote: From: Xunlei Pang pang.xun...@linaro.org Currently, SMP RT scheduler has some trouble in dealing with equal prio cases. For example, in check_preempt_equal_prio(): When RT1(current task) gets preempted by RT2, if there

Re: [PATCH 2/2] INPUT/HID: add touch support for SiS touch driver

2015-02-16 Thread Benjamin Tissoires
On Mon, Feb 16, 2015 at 10:10 AM, Oliver Neukum oneu...@suse.de wrote: On Thu, 2015-02-12 at 15:24 +0800, 曾婷葳 (tammy_tseng) wrote: Sorry. Re-send the code diff again. Here is the hid touch driver for sis touch controller. Thanks. This driver does very strange things. It looks like you are

Re: linux-next: Tree for Jan 16 (mips build errors due to MIPSR6 patches)

2015-02-16 Thread Guenter Roeck
On Fri, Jan 16, 2015 at 07:47:57PM +1100, Stephen Rothwell wrote: Hi all, Changes since 20150115: The i2c tree gained a build failure so I used the version from next-20150115. The wireless-drivers-next tree gained a conflict against the wireless-drivers tree. The usb-gadget tree

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-02-16 Thread Guenter Roeck
On 02/16/2015 04:09 AM, Wolfram Sang wrote: Hi Guenter, I wonder where we are with thisp patch; I don't recall a reply to my previous e-mail. Sorry for the late reply. I needed to recover from a HDD headcrash :( Do you need some more time to think about it ? Otherwise I'll publish an

Re: [PATCH 04/11] ARM: davinci: davinci_cfg_reg cannot be init

2015-02-16 Thread Sekhar Nori
On Friday 13 February 2015 01:12 AM, Arnd Bergmann wrote: davinci_cfg_reg gets called from a lot of locations that might get called after the init section has been discarded, so the function itself must not be marked __init either. The kernel build currently warns about this with lots of

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

2015-02-16 Thread Rich Felker
On Mon, Feb 16, 2015 at 03:40:54PM +0100, Arnd Bergmann wrote: On Friday 13 February 2015 13:37:07 Rich Felker wrote: On Fri, Feb 13, 2015 at 05:33:46PM +, Catalin Marinas wrote: The data structure definition is a little bit fragile, as it depends on user space not using

Re: [PATCHv3 04/24] rmap: add argument to charge compound page

2015-02-16 Thread Kirill A. Shutemov
On Thu, Feb 12, 2015 at 04:10:21PM -0500, Rik van Riel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/12/2015 11:18 AM, Kirill A. Shutemov wrote: +++ b/include/linux/rmap.h @@ -168,16 +168,24 @@ static inline void anon_vma_merge(struct vm_area_struct *vma, struct

[PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Charles Keepax
arizona_extcon_do_magic does not lend a lot of clarity to the purpose of the function, and as all the registers used are described in the datasheet there is no need to obfuscate the code. This patch renames the function to arizona_extcon_hp_clamp, as it controls clamping on the headphone output.

[PATCH 2/2] extcon: arizona: Fix headphone clamping on wm5110

2015-02-16 Thread Charles Keepax
wm5110 requires slightly different configuration of the headphone clamps to other Arizona devices. Otherwise headphone detection accuracy will be way off. This patch adds the needed clamping. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/extcon/extcon-arizona.c |

Re: [PATCH 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-16 Thread Andrzej Pietrasiewicz
W dniu 15.02.2015 o 23:43, Ruslan Bilovol pisze: snip In my opinion all things which you have described are working out-of-box when you use configfs interface. It's mostly ready so you may create equivalent of most legacy gadgets (apart from printer and tcm) and just bind from one udc to

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Arnd Bergmann
On Saturday 14 February 2015 23:47:33 Robert Jarzmik wrote: @@ -294,7 +294,8 @@ int pxa_request_dma (char *name, pxa_dma_prio prio, /* try grabbing a DMA channel with the requested priority */ for (i = 0; i num_dma_channels; i++) { if

Re: [alsa-devel] [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-16 Thread Charles Keepax
On Thu, Feb 12, 2015 at 04:23:06PM +0800, Bo Shen wrote: Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen voice.s...@atmel.com --- sound/soc/codecs/wm8731.c | 28 1 file changed, 28

[GIT PULL] ARC fixes for 3.20-rc1

2015-02-16 Thread Vineet Gupta
Hi Linus, ARC updates for 3.20. Please pull. Thx, -Vineet ---8 The following changes since commit 26bc420b59a38e4e6685a73345a0def461136dce: Linux 3.19-rc6 (2015-01-25 20:04:41 -0800) are available in the git repository at:

Re: General protection fault in iscsi_rx_thread_pre_handler

2015-02-16 Thread Gavin Guo
Hi Nicholas, On Thu, Feb 12, 2015 at 3:16 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Hi Gavin, On Tue, 2015-02-03 at 08:28 +0800, Gavin Guo wrote: Hi Nicholas, On Sun, Feb 1, 2015 at 11:47 AM, Gavin Guo gavin@canonical.com wrote: Hi Nicholas, On Sat, Jan 31, 2015 at

Re: General protection fault in iscsi_rx_thread_pre_handler

2015-02-16 Thread Gavin Guo
Hi Nicholas, On Mon, Feb 16, 2015 at 6:52 PM, Gavin Guo gavin@canonical.com wrote: Hi Nicholas, On Thu, Feb 12, 2015 at 3:16 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Hi Gavin, On Tue, 2015-02-03 at 08:28 +0800, Gavin Guo wrote: Hi Nicholas, On Sun, Feb 1, 2015 at 11:47

[PATCH 0/4] powerpc: trivial unused functions cleanup

2015-02-16 Thread Arseny Solokha
This series removes unused functions from powerpc tree that I've been able to discover. Arseny Solokha (4): powerpc/boot: drop planetcore_set_serial_speed kvm/ppc/mpic: drop unused IRQ_testbit powrepc/qe: drop unused ucc_slow_poll_transmitter_now powerpc/mpic: remove unused functions

[PATCH 3/4] powrepc/qe: drop unused ucc_slow_poll_transmitter_now

2015-02-16 Thread Arseny Solokha
Drop ucc_slow_poll_transmitter_now() which has no users. Signed-off-by: Arseny Solokha asolo...@kb.kras.ru --- arch/powerpc/include/asm/ucc_slow.h | 13 - arch/powerpc/sysdev/qe_lib/ucc_slow.c | 5 - 2 files changed, 18 deletions(-) diff --git

[PATCH 2/4] kvm/ppc/mpic: drop unused IRQ_testbit

2015-02-16 Thread Arseny Solokha
Drop unused static procedure which doesn't have callers within its translation unit. Signed-off-by: Arseny Solokha asolo...@kb.kras.ru Cc: Alexander Graf ag...@suse.de Cc: Gleb Natapov g...@kernel.org Cc: Paolo Bonzini pbonz...@redhat.com --- arch/powerpc/kvm/mpic.c | 5 - 1 file changed, 5

[PATCH 4/4] powerpc/mpic: remove unused functions

2015-02-16 Thread Arseny Solokha
Drop unused fsl_mpic_primary_get_version(), mpic_set_clk_ratio(), mpic_set_serial_int(). Signed-off-by: Arseny Solokha asolo...@kb.kras.ru --- arch/powerpc/include/asm/mpic.h | 16 arch/powerpc/sysdev/mpic.c | 35 --- 2 files changed, 51

[PATCH 1/4] powerpc/boot: drop planetcore_set_serial_speed

2015-02-16 Thread Arseny Solokha
Drop planetcore_set_serial_speed() which had no users since its inception. Signed-off-by: Arseny Solokha asolo...@kb.kras.ru --- arch/powerpc/boot/planetcore.c | 33 - arch/powerpc/boot/planetcore.h | 3 --- 2 files changed, 36 deletions(-) diff --git

Re: [PATCH 0/7] ARM: berlin: refactor the clock

2015-02-16 Thread Sebastian Hesselbarth
On 16.02.2015 04:37, Jisheng Zhang wrote: On Fri, 13 Feb 2015 08:42:54 -0800 Antoine Tenart antoine.ten...@free-electrons.com wrote: Marvell Berlin SoCs have a chip control register set providing several individual registers dealing with various controllers (pinctrl, reset, clk). This chip

[PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-16 Thread Boaz Harrosh
Hi There is a deficiency in current e820.c handling where unknown new memory-chip types come up as a BUSY resource when some other driver (like pmem) tries to call request_mem_region_exclusive() on that resource. Even though, actually there is nothing using it. From inspecting the code and the

Re: [PATCH v4 0/3] about data busy

2015-02-16 Thread Javier Martinez Canillas
Hello Jaehoon, On Mon, Feb 16, 2015 at 6:48 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: On 02/15/2015 08:41 PM, Javier Martinez Canillas wrote: I modified [1] your patch #2 to do what Alim suggested and only with that patch on top of linux-next I have neither the the Timeout sending

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread robert . jarzmik
- Mail original - De: Arnd Bergmann a...@arndb.de À: linux-arm-ker...@lists.infradead.org Cc: Robert Jarzmik robert.jarz...@free.fr, Vinod Koul vinod.k...@intel.com, Olof Johansson o...@lixom.net, Daniel Mack zon...@gmail.com, Haojian Zhuang haojian.zhu...@gmail.com,

[PATCH 1/2] e820: Don't let unknown DIMM type come out BUSY

2015-02-16 Thread Boaz Harrosh
There is something not very nice (Gentlemen nice) In current e820.c code. At Multiple place for example @ memblock_x86_fill(), it will add the different memory resources *except the E820_RESERVED type* Then at e820_reserve_resources() it will mark all !E820_RESERVED as busy. This is all fine

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Vasily Khoruzhick
On Sun, Feb 15, 2015 at 1:47 AM, Robert Jarzmik robert.jarz...@free.fr wrote: In order to slowly transition pxa to dmaengine, the legacy code will now rely on dmaengine to request a channel. Hi Robert, What about dropping old PXA DMA code completely? Daniel Mack did port for most of PXA

Re: MIPS: CONFIG_MIPS_R6?

2015-02-16 Thread Paul Bolle
Leonid, On Sat, 2015-02-14 at 17:22 -0800, Leonid Yegoshin wrote: On 02/14/2015 09:21 AM, Paul Bolle wrote: Your commits 430857eae56c (MIPS: mm: Add MIPS R6 instruction encodings) and 90163242784b (MIPS: kernel: unaligned: Add support for the MIPS R6) are included in yesterday's linux-next

RE: [PATCH 0/6] Drivers: hv: vmbus

2015-02-16 Thread Dexuan Cui
-Original Message- From: KY Srinivasan Sent: Monday, February 16, 2015 13:28 PM To: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com Subject: RE: [PATCH 0/6] Drivers: hv: vmbus

Re: [PATCH] mfd: stw481x: Remove unused fields from struct stw481x

2015-02-16 Thread Linus Walleij
On Fri, Feb 13, 2015 at 6:28 AM, Axel Lin axel@ingics.com wrote: The mutex lock is not used at all, remove it. The *vmmc_regulator is not necessary, use a local variable in stw481x_vmmc_regulator_probe() instead. Signed-off-by: Axel Lin axel@ingics.com Reviewed-by: Linus Walleij

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-16 Thread Peter Zijlstra
Guys, trim your emails, please! On Wed, Feb 11, 2015 at 04:51:36PM +0100, Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 03:12:38 PM Mark Rutland wrote: I guess that would have to imply IRQF_SHARED, so we'd have something like: IRQF_SHARED_SUSPEND_OK - This handler is safe to

Re: MIPS: FP32XX_HYBRID_FPRS

2015-02-16 Thread Markos Chandras
On Sat, Feb 14, 2015 at 06:33:59PM +0100, Paul Bolle wrote: On Sat, 2015-02-14 at 17:57 +0100, Paul Bolle wrote: Your d8fb6537f1d4 (MIPS: kernel: elf: Improve the overall ABI and FPU mode checks) is included in yesterday's linux-next (ie, next-20150213). I noticed because a script I use to

Re: [PATCH v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-02-16 Thread Geert Uytterhoeven
On Sat, Feb 14, 2015 at 1:42 AM, Stephen Boyd sb...@codeaurora.org wrote: --- a/arch/arm/include/asm/smp.h +++ b/arch/arm/include/asm/smp.h @@ -104,6 +104,7 @@ struct smp_operations { #ifdef CONFIG_HOTPLUG_CPU int (*cpu_kill)(unsigned int cpu); void (*cpu_die)(unsigned int

Re: [PATCH 1/2] [media] mantis: Move jump label to activate dead code

2015-02-16 Thread Dan Carpenter
On Sun, Feb 15, 2015 at 01:11:04PM +0100, Silvan Jegen wrote: diff --git a/drivers/media/pci/mantis/mantis_cards.c b/drivers/media/pci/mantis/mantis_cards.c index 801fc55..e566061 100644 --- a/drivers/media/pci/mantis/mantis_cards.c +++ b/drivers/media/pci/mantis/mantis_cards.c @@ -215,10

Re: [PATCH v3 1/2] dgnc: Remove superfluous EXTRA_CFLAGS variable

2015-02-16 Thread Dan Carpenter
On Sun, Feb 15, 2015 at 11:40:17PM +, Cass May wrote: Clean up Makefile by removing unnecessary definition of DG_NAME. Signed-off-by: Cass May c...@cassm.net --- Having done some build tests, it seems that DG_NAME is not needed, but DG_PART is referenced in dgnc_mgmt.c. I have removed

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

2015-02-16 Thread Mathias Nyman
On 15.02.2015 16:29, Sneeker Yeh wrote: hi Mathias: thanks for reviewing these patch, and sorry for replying lately~ + status = readl(port_array[dev_port_num - 1]); + + /* write 1 to clear */ + if (!(status PORT_CONNECT) (status PORT_CSC)) + writel(status

[PATCH V6 08/10] USB: f81232: fix read MSR strange value

2015-02-16 Thread Peter Hung
When we use RS232 loopback, assume doing RTS change will cause CTS change, DTR change will cause DCD/DSR change too. Sometimes we got 7~4 bits of MSR changed but the 3~0 bits of MSR(delta) maybe not changed when set get MCR fasterly. So we add more check not only UART_MSR_ANY_DELTA but also

[PATCH V6 10/10] USB: f81232: modify/add author

2015-02-16 Thread Peter Hung
Add me to co-author and fix no '' in greg kh's email Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 5134a19..5e35859

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

2015-02-16 Thread Fam Zheng
Hi Seymour, On Mon, 02/16 07:25, Seymour, Shane M wrote: I found the manual pages really confusing so I had a go at rewriting them - there were places in the manual page that didn't match the functionality provided by your code as well as I could tell). Could you point which places don't

[PATCH 1/4] f2fs: remove unused inline_dentry_addr

2015-02-16 Thread Chao Yu
inline_dentry_addr is introduced with inline dentry feature without being used, now we do not need to keep it for any reason, so remove it. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/f2fs.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h

[PATCH 2/4] f2fs: introduce f2fs_update_dentry to clean up duplicated codes

2015-02-16 Thread Chao Yu
This patch introduces f2fs_update_dentry to remove redundant code in f2fs_add_inline_entry and __f2fs_add_link. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/dir.c| 33 +++-- fs/f2fs/f2fs.h | 2 ++ fs/f2fs/inline.c | 18 ++ 3 files

Re: [PATCH v5 0/7] platform/chrome: Add user-space dev inferface support

2015-02-16 Thread Javier Martinez Canillas
Hello Olof, On 02/02/2015 12:26 PM, Javier Martinez Canillas wrote: Hello, The mainline ChromeOS Embedded Controller (EC) driver is still missing some features that are present in the downstream ChromiumOS tree. These are: - Low Pin Count (LPC) interface - User-space device interface

[PATCH V6 03/10] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Peter Hung
The F81232 bulk-in is RX data + LSR channel, data format is [LSR+Data][LSR+Data]. , We had reimplemented in this patch. Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 68 +++-- 1 file changed, 35

Re: [PATCH] sched/completion: completion_done() should serialize with complete()

2015-02-16 Thread Peter Zijlstra
On Thu, Feb 12, 2015 at 08:59:13PM +0100, Oleg Nesterov wrote: Commit de30ec47302c Remove unnecessary -wait.lock serialization when reading completion state was not correct, without lock/unlock the code like stop_machine_from_inactive_cpu() while (!completion_done())

[PATCH 3/4] f2fs: use -writepage in sync_meta_pages

2015-02-16 Thread Chao Yu
This patch uses -writepage of meta mapping in sync_meta_pages instead of f2fs_write_meta_page, by this way, in its caller we can ignore any changes (e.g. changing name) of this registered function. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c | 2 +- 1 file changed, 1

Re: [BUG] b893e80e3147 breaks touchpad on Dell XPS13

2015-02-16 Thread Jarkko Nikula
Hi On 02/16/2015 09:14 AM, Chris Rorvick wrote: Hi, Commit b893e80e3147 (ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C) is causing my touchpad to not load on my Dell XPS13. I do not see any errors in the Xorg log, just 20 or so lines missing where it would normally

[PATCH V6 09/10] USB: f81232: implement delta change for MSR count

2015-02-16 Thread Peter Hung
We implement delta change for MSR counting. This patch is referenced from ftdi_sio.c Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git

[PATCH V6 06/10] USB: f81232: clarify f81232_ioctl and fix

2015-02-16 Thread Peter Hung
We extract TIOCGSERIAL section in f81232_ioctl() to f81232_get_serial_info() to make it clarify. Also we fix device type from 16654 to 16550A, and set it's baud_base to 115200 (1.8432MHz/16) Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 30

[PATCH V6 07/10] USB: f81232: fix error in f81232_carrier_raised()

2015-02-16 Thread Peter Hung
It's should compared with UART_MSR_DCD, not UART_DCD. also we clean-up some non-used define to avoid impropriety use. Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git

RE: [f2fs-dev] [PATCH v3 06/10] f2fs: add core functions for rb-tree extent cache

2015-02-16 Thread Chao Yu
Ping. Any comments on this patch now? -Original Message- From: Chao Yu [mailto:chao2...@samsung.com] Sent: Thursday, February 05, 2015 5:55 PM To: Jaegeuk Kim; Changman Lee Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: [f2fs-dev] [PATCH v3 06/10]

[PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Nan Li
This will greatly enhance the usefulness of QEMU virtual serial ports, because the Linux kernel interprets a break on the serial console as a SysRq, but there is currently no way to pass this signal over a pseudo-terminal. This patch will work for transmitting BREAK from master to slave through

null pointer dereference error in mtk_timer.c

2015-02-16 Thread 박용배
Hello. My name is Yongbae Park. I would like to report a possible null pointer dereference error at mtk_timer_interrupt() in drivers/clocksource/mtk_timer.c (version: 3.19-rc5). The null pointer dereference error occurs if the interrupt handler mtk_timer_interrupt() accesses evt-dev.event_handler

null pointer dereference error in time-efm32.c

2015-02-16 Thread 박용배
Hello. My name is Yongbae Park. I would like to report a possible null pointer dereference error at efm32_clock_event_handler() in drivers/clocksource/time-efm32.c (version: 3.19-rc5). The null pointer dereference error occurs if the interrupt handler efm32_clock_event_handler() accesses

null pointer dereference error in timer-sun5i.c

2015-02-16 Thread 박용배
Hello. My name is Yongbae Park. I would like to report a possible null pointer dereference error at sun5i_timer_interrupt() in drivers/clocksource/timer-sun5i.c (version: 3.19-rc5). The null pointer dereference error occurs if the interrupt handler sun5i_timer_interrupt() accesses

[PATCH 4/4] f2fs: fix incorrectly stat number of inline data inode

2015-02-16 Thread Chao Yu
We should stat inline data information for temp file in f2fs_tmpfile if we enable inline_data feature. Otherwise, inline data stat number will be wrong after this temp file is evicted. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/namei.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

2015-02-16 Thread Arend van Spriel
On 02/16/15 08:34, Fu, Zhonghui wrote: On 2015/2/15 22:54, Kalle Valo wrote: Arend van Sprielar...@broadcom.com writes: On 02/15/15 04:27, Pat Erley wrote: On 02/14/2015 08:40 PM, Fu, Zhonghui wrote: Any comments to this patch? Can it be accepted? I assume that patches are queued up

[PATCH v4 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-02-16 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT scheduler. This patch adds a common __plist_add() for adding @node before or

[PATCH v4 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-02-16 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org Currently, SMP RT scheduler has some trouble in dealing with equal prio cases. For example, in check_preempt_equal_prio(): When RT1(current task) gets preempted by RT2, if there is a migratable RT3 with same prio, RT3 will be pushed away instead of RT1

Re: [PATCH] fs: record task name which froze superblock

2015-02-16 Thread Jan Kara
On Sat 14-02-15 21:55:24, Alexey Dobriyan wrote: Freezing and thawing are separate system calls, task which is supposed to thaw filesystem/superblock can disappear due to crash or not thaw due to a bug. Record at least task name (we can't take task_struct reference) to make support engineer's

[PATCH 1/2] staging: rtl8192e: remove unnecessary spaces

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: space prohibited before that ',' (ctx:WxE) +433, 433, 477} } , Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- drivers/staging/rtl8192e/rtllib_rx.c | 4 ++--

[PATCH 2/2] staging: rtl8192e: added parentheses in macros

2015-02-16 Thread Pushpendra Singh
Removed checkpatch.pl error ERROR: Macros with complex values should be enclosed in parentheses +#define MFIE_STRING(x) case MFIE_TYPE_ ##x: return #x Signed-off-by: Pushpendra Singh pushpendra.si...@smartplayin.com --- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 1 file changed, 1 insertion(+),

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

2015-02-16 Thread Peter De Schrijver
On Fri, Feb 13, 2015 at 12:39:03PM +0200, Mikko Perttunen wrote: 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,

Re: [PATCH] test-hexdump: test the return value of the hex_dump_to_buffer

2015-02-16 Thread Andy Shevchenko
On Sun, 2015-02-15 at 09:50 +, Wang Long wrote: As the function hex_dump_to_buffer returns the amount of bytes placed in the buffer without terminating NUL. the test-hexdump should test the return value of it. I don't think it's needed. When the prototype was changed the new test case had

Re: [PATCH] staging: nvec: Make nvec_write_sync return result by parameter

2015-02-16 Thread Marc Dietrich
Hi Even, Am Freitag, 13. Februar 2015, 21:28:48 schrieb Evan Hauck: As outlined in the TODO file, nvec_write_sync was modified to return an error code instead of NULL on failure, and return the nvec_msg as a parameter. Signed-off-by: Evan Hauck echa...@mtu.edu thanks for looking into this

Re: [PATCH v2 6/6] irqchip: gicv3: skip ITS init when no ITS available

2015-02-16 Thread Vladimir Murzin
Hi Yun, On 15/02/15 09:32, Yun Wu wrote: There is one more condition that needs to be considered when judging whether LPI feature is enabled or not, which is whether there is any ITS available and correctly enabled. This patch will fix this by caching ITS enabling status in the GIC chip

[PATCH v4 21/28] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-02-16 Thread Alexey Kardashevskiy
The iommu_free_table helper release memory it is using (the TCE table and @it_map) and release the iommu_table struct as well. We might not want the very last step as we store iommu_table in parent structures. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru ---

[PATCH v4 26/28] vfio: powerpc/spapr: Rework an IOMMU group attach/detach

2015-02-16 Thread Alexey Kardashevskiy
Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- drivers/vfio/vfio_iommu_spapr_tce.c | 62 +++-- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c b/drivers/vfio/vfio_iommu_spapr_tce.c index fdcc04c..4ff8289

[PATCH v4 23/28] powerpc/powernv: Change prototypes to receive iommu

2015-02-16 Thread Alexey Kardashevskiy
This changes few functions to receive a powerpc_iommu pointer rather than PE as they are going to be a part of upcoming powerpc_iommu_ops callback set. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/platforms/powernv/pci-ioda.c | 13 - 1 file changed, 8

[PATCH v4 07/28] vfio: powerpc/spapr: Moving pinning/unpinning to helpers

2015-02-16 Thread Alexey Kardashevskiy
This is a pretty mechanical patch to make next patches simpler. New tce_iommu_unuse_page() helper does put_page() now but it might skip that after the memory registering patch applied. As we are here, this removes unnecessary checks for a value returned by pfn_to_page() as it cannot possibly

[PATCH v4 24/28] powerpc/powernv/ioda: Define and implement DMA table/window management callbacks

2015-02-16 Thread Alexey Kardashevskiy
This extends powerpc_iommu_ops by a set of callbacks to support dynamic DMA windows management. query() returns IOMMU capabilities such as default DMA window address and supported number of DMA windows and TCE table levels. create_table() creates a TCE table with specific parameters. For now it

[PATCH v4 20/28] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_set_window

2015-02-16 Thread Alexey Kardashevskiy
This is a part of moving DMA window programming to an iommu_ops callback. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/platforms/powernv/pci-ioda.c | 84 --- 1 file changed, 56 insertions(+), 28 deletions(-) diff

[PATCH v4 12/28] powerpc/spapr: vfio: Switch from iommu_table to new powerpc_iommu

2015-02-16 Thread Alexey Kardashevskiy
Modern IBM POWERPC systems support multiple (currently two) TCE tables per IOMMU group (a.k.a. PE). This adds a powerpc_iommu container for TCE tables. Right now just one table is supported. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/include/asm/iommu.h| 18

[PATCH v4 19/28] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_create_table

2015-02-16 Thread Alexey Kardashevskiy
This is a part of moving TCE table allocation into an iommu_ops callback to support multiple IOMMU groups per one VFIO container. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/platforms/powernv/pci-ioda.c | 88 +++ 1

[PATCH v4 28/28] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-02-16 Thread Alexey Kardashevskiy
This adds create/remove window ioctls to create and remove DMA windows. sPAPR defines a Dynamic DMA windows capability which allows para-virtualized guests to create additional DMA windows on a PCI bus. The existing linux kernels use this new window to map the entire guest memory and switch to the

[PATCH v4 08/28] vfio: powerpc/spapr: Register memory

2015-02-16 Thread Alexey Kardashevskiy
The existing implementation accounts the whole DMA window in the locked_vm counter which is going to be even worse with multiple containers and huge DMA windows. This introduces 2 ioctls to register/unregister DMA memory which receive user space address and size of a memory region which needs to

[PATCH v4 15/28] powerpc/powernv/ioda/ioda2: Rework tce_build()/tce_free()

2015-02-16 Thread Alexey Kardashevskiy
The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is supposed to be called on IODA1/2 and not called on p5ioc2. It receives start and end host addresses of TCE table. This approach makes it possible to get pnv_pci_ioda_tce_invalidate() unintentionally called on p5ioc2. Another

[PATCH v4 00/28] powerpc/iommu/vfio: Enable Dynamic DMA windows

2015-02-16 Thread Alexey Kardashevskiy
This enables PAPR defined feature called Dynamic DMA windows (DDW). Each Partitionable Endpoint (IOMMU group) has a separate DMA window on a PCI bus where devices are allows to perform DMA. By default there is 1 or 2GB window allocated at the host boot time and these windows are used when an

[PATCH v4 02/28] vfio: powerpc/spapr: Do cleanup when releasing the group

2015-02-16 Thread Alexey Kardashevskiy
This clears the TCE table when a container is being closed as this is a good thing to leave the table clean before passing the ownership back to the host kernel. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- drivers/vfio/vfio_iommu_spapr_tce.c | 14 +++--- 1 file changed, 11

[PATCH v4 11/28] powerpc/iommu: Introduce iommu_table_alloc() helper

2015-02-16 Thread Alexey Kardashevskiy
This replaces multiple calls of kzalloc_node() with a new iommu_table_alloc() helper. Right now it calls kzalloc_node() but later it will be modified to allocate a powerpc_iommu struct with a single iommu_table in it. Later the helper will allocate a powerpc_iommu struct which embeds the iommu

[PATCH v4 05/28] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2015-02-16 Thread Alexey Kardashevskiy
There moves locked pages accounting to helpers. Later they will be reused for Dynamic DMA windows (DDW). This reworks debug messages to show the current value and the limit. This stores the locked pages number in the container so when unlocking the iommu table pointer won't be needed. This does

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Ian Abbott
On 16/02/15 04:13, Mark Brown wrote: On Sun, Feb 15, 2015 at 10:30:22AM +, Ian Abbott wrote: On 14/02/15 04:49, Mark Brown wrote: This is a bit hard to parse. I think you're talking about buffers in spidev here but it's unclear and you've not described in what way you're changing the

[PATCH v4 3/3] sched/rt: Check to push the task when changing its affinity

2015-02-16 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org We may suffer from extra rt overload rq due to the affinity, so when the affinity of any runnable rt task is changed, we should check to trigger balancing, otherwise it will cause some unnecessary delayed real-time response. Unfortunately, current RT

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-16 Thread Peter Zijlstra
Please change the Subject to start with [PATCH] again when including patches, otherwise its too easy for them to get lost. Esp. with excessive quoting on top. I nearly missed the patch here, seeing nothing in the first page of text. On Wed, Feb 11, 2015 at 05:13:13PM +, Mark Rutland wrote:

Re: [PATCH 3.18 04/57] vm: add VM_FAULT_SIGSEGV handling support

2015-02-16 Thread Luis Henriques
On Tue, Feb 10, 2015 at 12:22:41PM +0400, Konstantin Khlebnikov wrote: I've found regression: [ 257.139907] [ 257.139909] [ BUG: lock held when returning to user space! ] [ 257.139912] 3.18.6-debug+ #161 Tainted: G U [ 257.139914]

<    10   11   12   13   14   15   16   >