[PATCH v2 1/1] Support for CMedia CM6533 HID audio jack controls

2015-12-29 Thread Ben Chen
The C-Media CM6533 is a USB audio chip featuring it's jack detection capability.The device originates an interrupt transfer via HID interface each time when a jack event occurs. The purpose of this patch is to handle hid raw events to keep the operating system informed of user interactions.

Re: [PATCH v2 00/12] mtd: nand_bbt: introduce independent nand BBT

2015-12-29 Thread 潘栋
Hi Boris and Ezequiel, 2015-12-29 23:11 GMT+08:00 Boris Brezillon : > On Tue, 29 Dec 2015 12:07:50 -0300 > Ezequiel Garcia wrote: > >> On 29 December 2015 at 06:35, Boris Brezillon >> wrote: >> > Hi, >> > >> > On Mon, 28 Dec 2015 17:42:50 -0300 >> > Ezequiel Garcia wrote: >> > >> >> This is

Re: [PATCH] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2015-12-29 Thread kbuild test robot
Hi Jiancheng, [auto build test WARNING on v4.4-rc7] [cannot apply to next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: RCU stall and the system boot hang with nfsroot

2015-12-29 Thread Aaron Ma
On Wed, Dec 30, 2015 at 7:42 AM, Paul E. McKenney wrote: > On Tue, Dec 29, 2015 at 05:34:38PM +0800, Aaron Ma wrote: >> Add paul...@linux.vnet.ibm.com >> >> On Tue, Dec 29, 2015 at 5:32 PM, Aaron Ma wrote: >> > Hi, Paul: >> > I found the linux-stable-4.1.15 with rt15 patches boot hang sometimes.

RE: [PATCH] f2fs: introduce F2FS_MAX_BLOCKS

2015-12-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 30, 2015 9:14 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] f2fs: introduce F2FS_MAX_BLOCKS > > Hi Chao, > >

RE: [f2fs-dev] [PATCH 1/2] f2fs: use atomic variable for total_extent_tree

2015-12-29 Thread Chao Yu
Hi Yunlei, Thanks for your report, but the fix should be done in another patch. :) Hi Jaegeuk, We should add to init total_zombie_tree in ("f2fs: speed up shrinking extent tree entries") as Yunlei reported. Thanks, > -Original Message- > From: He YunLei [mailto:heyun...@huawei.com] >

[PATCH 4/4] soc: mediatek: Add MT2701/MT7623 scpsys driver

2015-12-29 Thread James Liao
From: Shunli Wang Add scpsys driver for MT2701 and MT7623. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- drivers/soc/mediatek/Kconfig | 11 +++ drivers/soc/mediatek/Makefile| 1 + drivers/soc/mediatek/mtk-scpsys-mt2701.c | 161

[PATCH 3/4] soc: mediatek: Add MT2701 power dt-bindings

2015-12-29 Thread James Liao
From: Shunli Wang Add power dt-bindings for MT2701. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- include/dt-bindings/power/mt2701-power.h | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 include/dt-bindings/power/mt2701-power.h diff --git

Re: [V9fs-developer] Hang triggered by udev coldplug, looks like a race

2015-12-29 Thread Andy Lutomirski
[add cc's] Hi scheduler people: This is relatively easy for me to reproduce. Any hints for debugging it? Could we really have a bug in which processes that are schedulable as a result of mutex unlock aren't always reliably scheduled? --Andy On Thu, Dec 24, 2015 at 2:51 AM, Dominique Martinet

[PATCH 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

2015-12-29 Thread James Liao
Some power domain comsumers may init before module_init. So the power domain provider (scpsys) need to be initialized earlier too. Signed-off-by: James Liao --- drivers/soc/mediatek/mtk-scpsys-mt8173.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

Re: Makefile:610: arch/m32r/Makefile: No such file or directory

2015-12-29 Thread Sudip Mukherjee
On Tue, Dec 29, 2015 at 11:50:06AM +0800, Fengguang Wu wrote: > Hi Sudip, > > Sorry for the noise -- it looks like a bug caused by a recent change > to our build scripts. Your commit is fine. Not my commit. I am just trying to fix the build failures with m32r. So noticed your mail. regards

[PATCH 1/4] soc: mediatek: Separate scpsys driver common code

2015-12-29 Thread James Liao
Separate scpsys driver common code to mtk-scpsys.c, and move MT8173 platform code to mtk-scpsys-mt8173.c. Signed-off-by: James Liao --- drivers/soc/mediatek/Kconfig | 13 +- drivers/soc/mediatek/Makefile| 1 + drivers/soc/mediatek/mtk-scpsys-mt8173.c | 179

[PATCH 0/4] Mediatek MT2701 SCPSYS power domain support

2015-12-29 Thread James Liao
This patchset is based on 4.4-rc7, add scpsys power domain support for Mediatek MT2701/MT7623. This patchset also separate MT8173 scpsys driver into common part (mtk-scpsys.c) and platform part (mtk-scpsys-mt8173.c), so that MT2701 scpsys driver can share most implementation with MT8173. James

[RFC][PATCH] sysrq: ensure manual invocation of the OOM killer under OOM livelock

2015-12-29 Thread Tetsuo Handa
>From 7fcac2054b33dc3df6c5915a58f232b9b80bb1e6 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Wed, 30 Dec 2015 15:24:40 +0900 Subject: [RFC][PATCH] sysrq: ensure manual invocation of the OOM killer under OOM livelock This patch is similar to what commit 373ccbe5927034b5 ("mm, vmstat: allow

[PATCH 4/5] reset: mediatek: mt2701 reset controller dt-binding file

2015-12-29 Thread James Liao
From: Shunli Wang Dt-binding file about reset controller is used to provide kinds of definition, which is referenced by dts file and IC-specified reset controller driver code. Signed-off-by: Shunli Wang --- .../dt-bindings/reset-controller/mt2701-resets.h | 74 ++ 1 file

[PATCH 3/5] clk: mediatek: Add MT2701 clock support

2015-12-29 Thread James Liao
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- drivers/clk/mediatek/Kconfig |8 + drivers/clk/mediatek/Makefile |1 + drivers/clk/mediatek/clk-gate.c

Re: [PATCH] DT: i2c: Add Freescale MPL3115 to trivial devices list

2015-12-29 Thread Wolfram Sang
On Tue, Dec 29, 2015 at 12:35:16PM -0600, Rob Herring wrote: > On Wed, Dec 23, 2015 at 01:59:07PM -0500, Akshay Bhat wrote: > > This adds devicetree documentation for the bindings of mpl3115 driver. > > > > Signed-off-by: Akshay Bhat > > --- > >

[PATCH 5/5] reset: mediatek: mt2701 reset driver

2015-12-29 Thread James Liao
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang --- drivers/clk/mediatek/clk-mt2701.c | 4 1

[PATCH 1/5] clk: mediatek: Refine the makefile to support multiple clock drivers

2015-12-29 Thread James Liao
Add a Kconfig to define clock configuration for each SoC, and modify the Makefile to build drivers that only selected in config. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- drivers/clk/Kconfig | 1 + drivers/clk/mediatek/Kconfig | 23 +++

[PATCH 2/5] clk: mediatek: Add dt-bindings for MT2701 clocks

2015-12-29 Thread James Liao
From: Shunli Wang Add MT2701 clock dt-bindings, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao --- include/dt-bindings/clock/mt2701-clk.h | 481 + 1 file changed, 481 insertions(+)

[PATCH 0/5] Add clock support for Mediatek MT2701

2015-12-29 Thread James Liao
This patchset is based on 4.4-rc7, add clock and reset controller support for Mediatek MT2701. This patchset also refined makefile and Kconfig to support configurable multiple SoC clock support. James Liao (1): clk: mediatek: Refine the makefile to support multiple clock drivers Shunli Wang

[RFC] is_global_init() called on global init sub-thread

2015-12-29 Thread Sergey Senozhatsky
Hello, re-upping https://www.redhat.com/archives/linux-audit/2013-December/msg00086.html Oleg Nesterov wrote: :Because is_global_init() is only true for the main thread of /sbin/init. : :Just look at oom_unkillable_task(). It tries to not kill init. But, say, :select_bad_process() can happily

Re: [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread kbuild test robot
Hi Leo, [auto build test ERROR on thermal/next] [also build test ERROR on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread Leo Yan
k_po/k_pu are in essence ratio values compared with sustainable power. So when update sustainable power, we can recalculate k_po/k_pu simply with below formula: sustainable_power(new) k_p(new) = -- * k_p(old) sustainable_power(old)

Re: [PATCH v3 1/4] ocfs2: export ocfs2_kset for online file check

2015-12-29 Thread Gang He
Hello Andrew, >>> > On Fri, 25 Dec 2015 15:16:16 +0800 Gang He wrote: > >> Export ocfs2_kset object from ocfs2_stackglue kernel module, >> then online file check code will create the related sysfiles >> under ocfs2_kset object. >> >> ... >> >> --- a/fs/ocfs2/stackglue.c >> +++

[PATCH] thermal: hisilicon: increase temperature resolution

2015-12-29 Thread Leo Yan
When calculate temperature, old code firstly do division and then convert to "millicelsius" unit. This will lose resolution and only can read back temperature with "Celsius" unit. So firstly scale step value to "millicelsius" and then do division, so finally we can increase resolution for

Re: [PATCH 1/2] Staging: panel: Fix line over 80 characters

2015-12-29 Thread Sudip Mukherjee
On Sun, Dec 27, 2015 at 12:16:15PM +0100, Ksenija Stanojevic wrote: > Split comment in order to fit into 80 characters per line. > Found by checkpatch.pl > > Signed-off-by: Ksenija Stanojevic > --- Instead of multiline maybe this is better: diff --git a/drivers/staging/panel/panel.c

Re: [PATCH v2 1/1] usb: cdc-acm: handle unlinked urb in acm read callback

2015-12-29 Thread Lu Baolu
On 12/30/2015 09:46 AM, Greg Kroah-Hartman wrote: > On Wed, Dec 30, 2015 at 08:42:01AM +0800, Lu Baolu wrote: >> In current acm driver, the bulk-in callback function ignores the >> URBs unlinked in usb core. >> >> This causes unexpected data loss in some cases. For example, >> runtime suspend

[PATCH v3 1/1] usb: cdc-acm: handle unlinked urb in acm read callback

2015-12-29 Thread Lu Baolu
In current acm driver, the bulk-in callback function ignores the URBs unlinked in usb core. This causes unexpected data loss in some cases. For example, runtime suspend entry will unlinked all urbs and set urb->status to -ENOENT even those urbs might have data not processed yet. Hence, data loss

Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()

2015-12-29 Thread Joshua Clayton
On Wednesday, December 30, 2015 10:17:50 AM Sudip Mukherjee wrote: > On Sat, Dec 26, 2015 at 09:12:42PM -0800, Joshua Clayton wrote: > > running sparse on drivers/staging/lustre results in dozens of warnings: > > include/linux/gfp.h:281:41: warning: > > odd constant _Bool cast (40 becomes 1) >

RE: [PATCH v2 1/4] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2015-12-29 Thread Yao Yuan
Hi Rob, Thanks for your review. So you mean that I should add the commit message for why I add this new compatible? Best Regards, Yuan Yao On Wed, Dec 30, 2015 at 02:35AM, Rob Herring wrote: > On Thu, Dec 24, 2015 at 07:01:00PM +0800, Yuan Yao wrote: > > new compatible string:

Re: [PATCH] mm: fix noisy sparse warning in LIBCFS_ALLOC_PRE()

2015-12-29 Thread Sudip Mukherjee
On Sat, Dec 26, 2015 at 09:12:42PM -0800, Joshua Clayton wrote: > running sparse on drivers/staging/lustre results in dozens of warnings: > include/linux/gfp.h:281:41: warning: > odd constant _Bool cast (40 becomes 1) > > Use "!!" to explicitly convert the result to bool range. > ---

[PATCH v2 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-29 Thread Krzysztof Kozlowski
Before updating time and alarm the driver must set appropriate mask in UDR register. For that purpose the driver uses common register configuration and a lot of exceptions per device in the code. The exceptions are not obvious, for example except the change in the logic sometimes the fields are

[PATCH v2 1/3] rtc: s5m: Cleanup by removing useless 'rtc' prefix from fields

2015-12-29 Thread Krzysztof Kozlowski
Remove the 'rtc' prefix from some of the fields in struct s5m_rtc_reg_config because it is obvious - this is a RTC driver. No functional changes. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. None. --- drivers/rtc/rtc-s5m.c | 40 +++- 1 file

[PATCH v2 2/3] rtc: s5m: Add separate field for storing auto-cleared mask in register config

2015-12-29 Thread Krzysztof Kozlowski
Some devices from S2M/S5M family use different register update masks for different operations (alarm and register update). Now the driver uses common register configuration and a lot of exceptions per device in code. Before eliminating the exceptions and using specific register configuration for

Re: [PATCH 1/5] staging: media: lirc: replace NULL comparisons with !var

2015-12-29 Thread Sudip Mukherjee
On Fri, Dec 18, 2015 at 06:35:25PM +0530, Sudip Mukherjee wrote: > A NULL comparison can be written as if (var) or if (!var). > Reported by checkpatch. > > Signed-off-by: Sudip Mukherjee > --- Hi Mauro, A gentle ping. Can this series be considered for 4.5? regards sudip -- To unsubscribe

Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver

2015-12-29 Thread kbuild test robot
Hi Gilad, [auto build test WARNING on net/master] [also build test WARNING on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH v3 1/7] x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST=n

2015-12-29 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/pvclock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/pvclock.h b/arch/x86/include/asm/pvclock.h index 66df22b2e0c9..fdcc04020636 100644 --- a/arch/x86/include/asm/pvclock.h +++

[PATCH v3 3/7] mm: Add vm_insert_pfn_prot

2015-12-29 Thread Andy Lutomirski
The x86 vvar vma conntains pages with differing cacheability flags. x86 currently implements this by manually inserting all the ptes using (io_)remap_pfn_range when the vma is set up. x86 wants to move to using .fault with VM_FAULT_NOPAGE to set up the mappings as needed. The correct API to use

[PATCH v3 4/7] x86/vdso: Track each mm's loaded vdso image as well as its base

2015-12-29 Thread Andy Lutomirski
As we start to do more intelligent things with the vdso at runtime (as opposed to just at mm initialization time), we'll need to know which vdso is in use. In principle, we could guess based on the mm type, but that's over-complicated and error-prone. Instead, just track it in the mmu context.

[PATCH v3 7/7] x86/vdso: Disallow vvar access to vclock IO for never-used vclocks

2015-12-29 Thread Andy Lutomirski
It makes me uncomfortable that even modern systems grant every process direct read access to the HPET. While fixing this for real without regressing anything is a mess (unmapping the HPET is tricky because we don't adequately track all the mappings), we can do almost as well by tracking which

[PATCH v3 5/7] x86,vdso: Use .fault for the vdso text mapping

2015-12-29 Thread Andy Lutomirski
The old scheme for mapping the vdso text is rather complicated. vdso2c generates a struct vm_special_mapping and a blank .pages array of the correct size for each vdso image. Init code in vdso/vma.c populates the .pages array for each vdso image, and the mapping code selects the appropriate

[PATCH v3 6/7] x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping

2015-12-29 Thread Andy Lutomirski
This is IMO much less ugly, and it also opens the door to disallowing unprivileged userspace HPET access on systems with usable TSCs. Signed-off-by: Andy Lutomirski --- arch/x86/entry/vdso/vma.c | 97 --- 1 file changed, 57 insertions(+), 40

[PATCH v3 2/7] mm: Add a vm_special_mapping .fault method

2015-12-29 Thread Andy Lutomirski
From: Andy Lutomirski Requiring special mappings to give a list of struct pages is inflexible: it prevents sane use of IO memory in a special mapping, it's inefficient (it requires arch code to initialize a list of struct pages, and it requires the mm core to walk the entire list just to figure

[PATCH v3 0/7] mm, x86/vdso: Special IO mapping improvements

2015-12-29 Thread Andy Lutomirski
This applies on top of the earlier vdso pvclock series I sent out. Once that lands in -tip, this will apply to -tip. This series cleans up the hack that is our vvar mapping. We currently initialize the vvar mapping as a special mapping vma backed by nothing whatsoever and then we abuse

[PATCH v2] crypto: af_alg - Disallow bind/setkey/... after accept(2)

2015-12-29 Thread Herbert Xu
On Tue, Dec 29, 2015 at 07:36:14PM +0100, Dmitry Vyukov wrote: > Hello, > > On commit 8513342170278468bac126640a5d2d12ffbff106 > + crypto: algif_skcipher - Use new skcipher interface > + crypto: algif_skcipher - Require setkey before accept(2) > + crypto: af_alg - Disallow bind/setkey/... after

Re: [PATCH 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-29 Thread Krzysztof Kozlowski
On 30.12.2015 12:38, Krzysztof Kozlowski wrote: > On 30.12.2015 11:53, Yadwinder Singh Brar wrote: >> Hi Krysztof, >> >> On Tue, Dec 29, 2015 at 5:53 PM, Krzysztof Kozlowski >> wrote: >>> Before updating time and alarm the driver must set appropriate mask in >>> UDR register. For that purpose the

Re: [PATCH 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-29 Thread Krzysztof Kozlowski
On 30.12.2015 11:53, Yadwinder Singh Brar wrote: > Hi Krysztof, > > On Tue, Dec 29, 2015 at 5:53 PM, Krzysztof Kozlowski > wrote: >> Before updating time and alarm the driver must set appropriate mask in >> UDR register. For that purpose the driver uses common register >> configuration and a lot

Re: [PATCH v3 0/4] Add online file check feature

2015-12-29 Thread Andrew Morton
On Tue, 29 Dec 2015 20:00:08 -0700 "Gang He" wrote: > > This feature should be documented, please. That means all pseudo-file > > locations, all inputs, all outputs, expected behaviour etc etc. Enough > > info so that our users can usefully and fully use this feature in the > > minimum time.

[PULL] Re: bcache stability patches

2015-12-29 Thread Eric Wheeler
Hi Jens and Kent, This affects many users, so please take a look when you have a moment: There is a growing bcache user community with a well-tested patchset that is necessary for production bcache use. The diffstat is small and we all want someone to pull it in and get it into mainline.

Re: [PATCH v3 0/4] Add online file check feature

2015-12-29 Thread Gang He
Hello Andrew and Mark, >>> > On Fri, 25 Dec 2015 15:16:15 +0800 Gang He wrote: > >> When there are errors in the ocfs2 filesystem, >> they are usually accompanied by the inode number which caused the error. >> This inode number would be the input to fixing the file. >> One of these options

Re: [PATCH 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-29 Thread Yadwinder Singh Brar
Hi Krysztof, On Tue, Dec 29, 2015 at 5:53 PM, Krzysztof Kozlowski wrote: > Before updating time and alarm the driver must set appropriate mask in > UDR register. For that purpose the driver uses common register > configuration and a lot of exceptions per device in the code. The > exceptions are

Re: nf_unregister_net_hook: hook not found!

2015-12-29 Thread Eric W. Biederman
Pablo Neira Ayuso writes: > On Mon, Dec 28, 2015 at 09:05:03PM +0100, Sander Eikelenboom wrote: >> Hi, >> >> Running a 4.4.0-rc6 kernel i encountered the warning below. > > Cc'ing Eric Biederman. > > @Sander, could you provide a way to reproduce this? I am on vacation until the new year, but

[PATCH] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2015-12-29 Thread Jiancheng Xue
add hisilicon spi-nor flash controller driver Signed-off-by: Binquan Peng Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/spi/spi-hisi-sfc.txt | 24 + drivers/mtd/spi-nor/Kconfig| 7 + drivers/mtd/spi-nor/Makefile | 1 +

Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver

2015-12-29 Thread kbuild test robot
Hi Gilad, [auto build test WARNING on net/master] [also build test WARNING on v4.4-rc7 next-20151223] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: Inconsistent description in memory-barrier.txt

2015-12-29 Thread Jianyu Zhan
On Wed, Dec 30, 2015 at 8:26 AM, Paul E. McKenney wrote: > It looks like you are quite correct, good catch! Does the patch below > fix this? > > Thanx, Paul > > > >

[PATCH] mm,oom: Always sleep before retrying.

2015-12-29 Thread Tetsuo Handa
>From c0b5820c594343e06239f15afb35d23b4b8ac0d0 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Wed, 30 Dec 2015 10:55:59 +0900 Subject: [PATCH] mm,oom: Always sleep before retrying. When we entered into "Reclaim has failed us, start killing things" state, sleep function is called only when

[PATCH v4 4/6] ARM: debug: add hi3519 debug uart

2015-12-29 Thread Jiancheng Xue
add hi3519 debug uart. Signed-off-by: Jiancheng Xue --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 259c0ca..29af057 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug @@ -270,6

[PATCH v4 1/6] clk: hisilicon: add CRG driver for hi3519 soc

2015-12-29 Thread Jiancheng Xue
The CRG(Clock and Reset Generator) block provides clock and reset signals for other modules in hi3519 soc. Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/clock/hi3519-crg.txt | 46 +++ drivers/clk/hisilicon/Kconfig | 7 +

[PATCH v4 3/6] ARM: config: hisi: enable CONFIG_RESET_CONTROLLER

2015-12-29 Thread Jiancheng Xue
enable CONFIG_RESET_CONTROLLER in hisi_defconfig Signed-off-by: Jiancheng Xue --- arch/arm/configs/hisi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/hisi_defconfig b/arch/arm/configs/hisi_defconfig index b2e340b..ba62c07 100644 ---

[PATCH v4 6/6] ARM: dts: add dts files for Hi3519

2015-12-29 Thread Jiancheng Xue
add dts files for Hi3519 Signed-off-by: Jiancheng Xue --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/hi3519-demb.dts | 42 + arch/arm/boot/dts/hi3519.dtsi | 175 ++ 3 files changed, 219 insertions(+) create mode 100644

[PATCH v4 0/6] ARM: hisi: Add initial support including clock driver for Hi3519 soc.

2015-12-29 Thread Jiancheng Xue
Hello, Hi3519 soc is mainly used for ip camera and sport DV solutions. This patchset adds initial support for Hi3519 soc. It includes clock driver, arch configuration, debug uart configuration and device tree. It has been tested on hi3519 reference board. Spi-nor flash driver and other

[PATCH v4 5/6] mfd: dt-bindings: add device tree bindings for Hi3519 sysctrl

2015-12-29 Thread Jiancheng Xue
Add device tree bindings for Hi3519 system controller. Signed-off-by: Jiancheng Xue --- Documentation/devicetree/bindings/mfd/hi3519.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/hi3519.txt diff --git

[PATCH v4 2/6] ARM: hisi: add compatible string for Hi3519 soc

2015-12-29 Thread Jiancheng Xue
add compatible string for Hi3519 soc. Signed-off-by: Jiancheng Xue --- arch/arm/mach-hisi/hisilicon.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 8cc6215..00dae89 100644 ---

[PATCH 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-29 Thread Krzysztof Kozlowski
Before updating time and alarm the driver must set appropriate mask in UDR register. For that purpose the driver uses common register configuration and a lot of exceptions per device in the code. The exceptions are not obvious, for example except the change in the logic sometimes the fields are

[PATCH 2/3] rtc: s5m: Add separate field for storing auto-cleared mask in register config

2015-12-29 Thread Krzysztof Kozlowski
Some devices from S2M/S5M family use different register update masks for different operations (alarm and register update). Now the driver uses common register configuration and a lot of exceptions per device in code. Before eliminating the exceptions and using specific register configuration for

[PATCH 1/3] rtc: s5m: Cleanup by removing useless 'rtc' prefix from fields

2015-12-29 Thread Krzysztof Kozlowski
Remove the 'rtc' prefix from some of the fields in struct s5m_rtc_reg_config because it is obvious - this is a RTC driver. No functional changes. Signed-off-by: Krzysztof Kozlowski --- drivers/rtc/rtc-s5m.c | 40 +++- 1 file changed, 19 insertions(+), 21

Re: [RESEND PATCH v1 0/4] Add support emac for the RK3036 SoC platform

2015-12-29 Thread David Miller
From: Heiko Stübner Date: Tue, 29 Dec 2015 23:27:55 +0100 > Hi Dave, > > Am Dienstag, 29. Dezember 2015, 15:53:14 schrieb David Miller: >> You have to submit this series properly, the same problem happend twice >> now. >> >> When you submit a series you should: >> >> 1) Make it clear which

Re: [PATCH v2 1/1] usb: cdc-acm: handle unlinked urb in acm read callback

2015-12-29 Thread Greg Kroah-Hartman
On Wed, Dec 30, 2015 at 08:42:01AM +0800, Lu Baolu wrote: > In current acm driver, the bulk-in callback function ignores the > URBs unlinked in usb core. > > This causes unexpected data loss in some cases. For example, > runtime suspend entry will unlinked all urbs and set urb->status > to

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Andrew Morton
On Wed, 30 Dec 2015 03:06:23 +0100 "Rafael J. Wysocki" wrote: > I'll apply it to my tree if you don't mind with the Andy's [1/3] on top > so we have all of that in one place. That version needed a fix. Here's the one to apply: From: Andrew Morton Subject: include/linux/property.h: fix

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Andy Shevchenko
On Wed, Dec 30, 2015 at 4:06 AM, Rafael J. Wysocki wrote: > On Tuesday, December 29, 2015 05:24:53 PM Andrew Morton wrote: >> On Wed, 30 Dec 2015 02:49:26 +0100 "Rafael J. Wysocki" >> wrote: >> >> > On Monday, December 28, 2015 01:24:13 PM Andy Shevchenko wrote: >> > > On Mon, 2015-12-28 at

Re: [PATCH] mwifiex: correctly handling kzalloc

2015-12-29 Thread Andy Shevchenko
On Tue, Dec 29, 2015 at 10:17 PM, Insu Yun wrote: Empty commit message? > Signed-off-by: Insu Yun > --- > drivers/net/wireless/mwifiex/sdio.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/net/wireless/mwifiex/sdio.c > b/drivers/net/wireless/mwifiex/sdio.c >

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Rafael J. Wysocki
On Tuesday, December 29, 2015 05:24:53 PM Andrew Morton wrote: > On Wed, 30 Dec 2015 02:49:26 +0100 "Rafael J. Wysocki" > wrote: > > > On Monday, December 28, 2015 01:24:13 PM Andy Shevchenko wrote: > > > On Mon, 2015-12-28 at 02:12 +0100, Rafael J. Wysocki wrote: > > > > On Wednesday, December

RE: [PATCH 2/2] f2fs: support revoking atomic written pages

2015-12-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 30, 2015 8:05 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/2] f2fs: support revoking atomic written pages >

Re: [PATCH v1 1/3] ARM64 LPC: indirect ISA PORT IO introduced

2015-12-29 Thread Rongrong Zou
在 2015/12/29 22:35, Arnd Bergmann 写道: On Tuesday 29 December 2015 22:26:27 Rongrong Zou wrote: 在 2015/12/29 21:47, Arnd Bergmann 写道: On Tuesday 29 December 2015 21:33:50 Rongrong Zou wrote: Indirect ISA port I/O accessing introduced, vendors can hook their own in/out function to general

Re: [PATCH] BTRFS: Adds an option to select RAID Stripe size

2015-12-29 Thread Sanidhya Solanki
On Tue, 29 Dec 2015 18:06:11 +0100 David Sterba wrote: > I don't know about all implications from changing the define to > sb->stripesize, also we want to define the allowed range etc. It would > be better to add more description to the patch. So, is the patch atleast somewhat usable and you

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Andy Shevchenko
On Wed, Dec 30, 2015 at 3:49 AM, Rafael J. Wysocki wrote: > On Monday, December 28, 2015 01:24:13 PM Andy Shevchenko wrote: >> On Mon, 2015-12-28 at 02:12 +0100, Rafael J. Wysocki wrote: >> > On Wednesday, December 23, 2015 03:34:42 PM Andy Shevchenko wrote: >> > > Just a style fix, no functional

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Andrew Morton
On Wed, 30 Dec 2015 02:49:26 +0100 "Rafael J. Wysocki" wrote: > On Monday, December 28, 2015 01:24:13 PM Andy Shevchenko wrote: > > On Mon, 2015-12-28 at 02:12 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, December 23, 2015 03:34:42 PM Andy Shevchenko wrote: > > > > Just a style fix, no

Re: crypto: use-after-free in alg_bind

2015-12-29 Thread Herbert Xu
On Tue, Dec 29, 2015 at 09:19:22PM +0100, Dmitry Vyukov wrote: > Hello, > > On commit 8513342170278468bac126640a5d2d12ffbff106 > + crypto: algif_skcipher - Use new skcipher interface > + crypto: algif_skcipher - Require setkey before accept(2) > + crypto: af_alg - Disallow bind/setkey/... after

Re: [PATCH v2 1/3] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-29 Thread Rafael J. Wysocki
On Monday, December 28, 2015 01:24:13 PM Andy Shevchenko wrote: > On Mon, 2015-12-28 at 02:12 +0100, Rafael J. Wysocki wrote: > > On Wednesday, December 23, 2015 03:34:42 PM Andy Shevchenko wrote: > > > Just a style fix, no functional changes. > > > > > > To be folded to Andrew's patch. > > > >

Re: [PATCH] f2fs: introduce F2FS_MAX_BLOCKS

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 05:48:04PM +0800, Chao Yu wrote: > Introduce a macro named F2FS_MAX_BLOCKS to indicate maximum block index > in f2fs, it could be used to avoid unneeded calculation in runtime. It's not so different from previous one. How about adding something like: static

Re: [f2fs-dev] [PATCH 3/3] f2fs: load largest extent all the time

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 05:23:55PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, December 29, 2015 7:32 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

[PATCH v2 3/3] arm: boot: beaglex15: pass correct interrupt

2015-12-29 Thread Chanwoo Choi
From: Felipe Balbi According to latest schematics [1], GPIO_1/VBUSDET on TPS659038 is tied to AM57x GPIO4_21. We can use that as a VBUS interrupt, instead of relying on PMIC's VBUS interrupts which don't seem to be firing on x15 at all. A follow up patch will add support for using this

[PATCH v2 0/3] arm: beaglex15: fix USB Gadget

2015-12-29 Thread Chanwoo Choi
This patchset make the extcon-palmas.c more generic style and then send v2 patchset. I add the Felipe comment of v1 patchset as following: But, I have not test on real board because I don't have it. Just, I modify this patchset based on v1 patchset[1] from Felipe Balbi. - Felipe comment of this

[PATCH v2 2/3] arm: boot: dts: beaglex15: Remove ID GPIO

2015-12-29 Thread Chanwoo Choi
From: Felipe Balbi According to latest schematics [1], this board leaves ID pin floating. It's not connected to anything at all. So let's remove it. [1] https://github.com/beagleboard/beagleboard-x15/blob/master/BeagleBoard-X15_RevA2.pdf Signed-off-by: Felipe Balbi Signed-off-by: Chanwoo

[PATCH v2 1/3] extcon: palmas: Add the support for VBUS detection by using GPIO

2015-12-29 Thread Chanwoo Choi
From: Felipe Balbi This patch support for VBUS detection by using GPIO pin. Signed-off-by: Felipe Balbi Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-palmas.c | 50 ++ include/linux/mfd/palmas.h | 3 +++ 2 files changed, 53 insertions(+)

Re: [f2fs-dev] [PATCH 2/3] f2fs: use i_size_read to get i_size

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 05:18:19PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, December 29, 2015 7:32 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [f2fs-dev] [PATCH 1/3] f2fs: early check broken symlink length in the encrypted case

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 09:52:49AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, December 29, 2015 7:32 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

Re: [PATCH] f2fs: fix to stop recovering dot dentries in a readonly fs

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 02:26:53PM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Tuesday, December 29, 2015 6:54 AM > > To: Chao Yu > > Cc: linux-f2fs-de...@lists.sourceforge.net;

[PATCH v2 1/1] usb: cdc-acm: handle unlinked urb in acm read callback

2015-12-29 Thread Lu Baolu
In current acm driver, the bulk-in callback function ignores the URBs unlinked in usb core. This causes unexpected data loss in some cases. For example, runtime suspend entry will unlinked all urbs and set urb->status to -ENOENT even those urbs might have data not processed yet. Hence, data loss

latency problem of TCP/IP over USB (rndis_host driver related)

2015-12-29 Thread Andy Tai
Hi, I tried to connect two Linux computers connected via a USB2 link and use the rndis_host driver to establish a logical ethernet connection over this USB link. I can have normal TCP/IP connections (TCP and UDP) over this setup between the two computers; ssh, sftp and ping all work over this

Re: [PATCH] extcon: arizona: Use DAPM mutex helper functions

2015-12-29 Thread Chanwoo Choi
On 2015년 12월 30일 01:32, Charles Keepax wrote: > We should be using the helper functions to lock the DAPM mutex not > accessing it directly. There are no ill effects of this as the moment > but it is best practice, and the implementation could be changed in the > future. > > Signed-off-by: Charles

Re: Inconsistent description in memory-barrier.txt

2015-12-29 Thread Paul E. McKenney
On Tue, Dec 22, 2015 at 02:21:31PM +0800, Jianyu Zhan wrote: > Hi, Paul, > > I noticed that in the control dependency section in > memory-barrier.txt, you mistakenly made an inconsistent > description: > > On the description part: > > 641 It is tempting to try to enforce ordering on identical

[PATCH] Input: i8042 add Fujitsu Lifebook U745 to the nomux list

2015-12-29 Thread Aurélien Francillon
Without i8042.nomux=1 the Elantech touch pad is not working at all on a Fujitsu Lifebook U745. This patch does not seem necessary for all U745 (maybe because of different BIOS versions?). However, it was verified that the patch does not break those (see opensuse bug 883192:

Re: [PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-29 Thread Milo Kim
Hi Paul, On 29/12/15 20:13, Paul Kocialkowski wrote: Hi Milo, Le mardi 29 décembre 2015 à 09:45 +0900, Milo Kim a écrit : Hi Paul, On 29/12/15 07:49, Paul Kocialkowski wrote: Hi Milo, thanks for the review, Le lundi 28 décembre 2015 à 09:56 +0900, Milo Kim a écrit : Hi Paul, On 23/12/15

Re: nf_unregister_net_hook: hook not found!

2015-12-29 Thread Pablo Neira Ayuso
On Mon, Dec 28, 2015 at 09:05:03PM +0100, Sander Eikelenboom wrote: > Hi, > > Running a 4.4.0-rc6 kernel i encountered the warning below. Cc'ing Eric Biederman. @Sander, could you provide a way to reproduce this? Thanks. > [ 13.740472] ip_tables: (C) 2000-2006 Netfilter Core Team > [

Re: [PATCH 2/2] f2fs: support revoking atomic written pages

2015-12-29 Thread Jaegeuk Kim
Hi Chao, On Tue, Dec 29, 2015 at 11:12:36AM +0800, Chao Yu wrote: > f2fs support atomic write with following semantics: > 1. open db file > 2. ioctl start atomic write > 3. (write db file) * n > 4. ioctl commit atomic write > 5. close db file > > With this flow we can avoid file becoming

Re: [PATCH] ixgbe: correctly handling failed allocation

2015-12-29 Thread Alexander Duyck
On Tue, Dec 29, 2015 at 1:55 PM, Insu Yun wrote: > Since kzalloc can be failed in memory pressure, > NULL derefence could be happened. > > Signed-off-by: Insu Yun > --- > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-29 Thread Dave Hansen
On 12/18/2015 01:45 PM, Linus Torvalds wrote: > On Fri, Dec 18, 2015 at 1:12 PM, Dave Hansen > wrote: >> >> But, if we are picking out an execute-only pkey more dynamically, we've >> got to keep the default value for the entire process somewhere. > > How dynamic do we want to make this, though?

Re: RCU stall and the system boot hang with nfsroot

2015-12-29 Thread Paul E. McKenney
On Tue, Dec 29, 2015 at 05:34:38PM +0800, Aaron Ma wrote: > Add paul...@linux.vnet.ibm.com > > On Tue, Dec 29, 2015 at 5:32 PM, Aaron Ma wrote: > > Hi, Paul: > > I found the linux-stable-4.1.15 with rt15 patches boot hang sometimes. > > Hardware is Grantley-EP and WildcatPass. I must confess

  1   2   3   4   5   6   7   8   >