Re: Linux 4.9.7

2017-02-03 Thread Greg KH
On Fri, Feb 03, 2017 at 11:07:08PM -0500, Ed Tomlinson wrote: > Hi, > > Any reports of 4.9.7 breaking X? > > I run arch and keep it up to date. With todays updates and 4.9.7 built here > X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is > the same for both builds. I ha

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-03 Thread kbuild test robot
Hi Dmitry, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.10-rc6 next-20170203] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dmitry-Torokhov/regulator-core-fix

Re: [sched/clock] 9881b024b7: WARNING:at_kernel/sched/clock.c:#set_sched_clock_stable

2017-02-03 Thread Ye Xiaolong
On 01/26, Peter Zijlstra wrote: >On Thu, Jan 26, 2017 at 05:14:06AM +0800, kernel test robot wrote: >> >> FYI, we noticed the following commit: >> >> commit: 9881b024b7d7671f6a014091bc96506b89081802 ("sched/clock: Delay >> switching sched_clock to stable") >> https://git.kernel.org/pub/scm/linux

Re: Staging: speakup - syle fix permissions to octal

2017-02-03 Thread Joe Perches
(adding Julia Lawall) On Fri, 2017-02-03 at 20:44 -0800, Guenter Roeck wrote: > On Sat, Jan 28, 2017 at 07:05:09PM +1300, Derek Robson wrote: > > A style fix across whole driver. > > changed permissions to octal style, found using checkpatch > > > > Signed-off-by: Derek Robson > > FWIW, I think

Re: [PATCH v3 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-03 Thread Shawn Guo
Only a couple of comments below. Otherwise, the patch looks fine to me. On Thu, Jan 26, 2017 at 09:00:31PM +0800, Baoyou Xie wrote: > +static int zx2967_i2c_flush_fifos(struct zx2967_i2c_info *zx_i2c) > +{ > + u32 val; > + u32 offset; > + > + if (zx_i2c->msg_rd) { > + o

Re: Linux 4.9.7

2017-02-03 Thread Willy Tarreau
On Fri, Feb 03, 2017 at 11:07:08PM -0500, Ed Tomlinson wrote: > Hi, > > Any reports of 4.9.7 breaking X? > > I run arch and keep it up to date. With todays updates and 4.9.7 built here > X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is > the same for both builds. I ha

[lkp-robot] [scsi, block] 0dba1314d4: WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup

2017-02-03 Thread kernel test robot
FYI, we noticed the following commit: commit: 0dba1314d4f81115dce711292ec7981d17231064 ("scsi, block: fix duplicate bdi name registration crashes") https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-4.11/next in testcase: boot on test machine: qemu-system-i386 -enable-k

Re: [PATCH v8 00/15] ACPI platform MSI support and its example mbigen

2017-02-03 Thread Hanjun Guo
Hi Lorenzo, On 2017/2/4 2:36, Lorenzo Pieralisi wrote: > Hanjun, Sinan, > > On Wed, Jan 18, 2017 at 08:54:50PM +0800, Hanjun Guo wrote: >> From: Hanjun Guo >> >> With platform msi support landed in the kernel, and the introduction >> of IORT for GICv3 ITS (PCI MSI) and SMMU, the framework for pla

Re: [PATCH V2 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-03 Thread Hillf Danton
On February 04, 2017 7:33 AM Shaohua Li wrote: > @@ -1404,6 +1401,8 @@ bool madvise_free_huge_pmd(struct mmu_gather *tlb, > struct vm_area_struct *vma, > set_pmd_at(mm, addr, pmd, orig_pmd); > tlb_remove_pmd_tlb_entry(tlb, pmd, addr); > } > + > + mark_page_la

[tip:WIP.sched/core 118/144] arch/mips/cavium-octeon/cpu.c:31:3: note: in expansion of macro 'KSTK_STATUS'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: 297dfd2a653a202557af465e87e0aa5d106a15b1 [118/144] sched/headers: Remove from config: mips-cavium_octeon_defconfig (attached as .config) compiler: mips64-l

Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-03 Thread Michał Kępień
> On Fri, Feb 03, 2017 at 04:13:40PM +0200, Andy Shevchenko wrote: > > On Fri, Feb 3, 2017 at 4:06 PM, Michał Kępień wrote: > > > Darren, Andy, > > > > > > Please drop this patch series for now. I will send a rebased v2 after a > > > long overdue patch series from Alan Jenkins gets applied in a r

Re: [PATCH 2/2] DTS: dra7: Add "opp_high" opp node to support 1.5 GHz SoC operation

2017-02-03 Thread Lukasz Majewski
Hi Nishanth, > On 02/03/2017 05:21 PM, Lukasz Majewski wrote: > > Hi Dave, > > > > Thanks for sharing the knowledge :-) > > > >> On 02/03/2017 09:24 AM, Lukasz Majewski wrote: > >>> The "opp_high" property brings support for 1.5 GHz CPU frequency > >>> for TI's am57xx line of processors. > >>> > >

[tip:WIP.sched/core 138/144] arch/mips/netlogic/common/smp.c:157:31: note: in expansion of macro '__KSTK_TOS'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: 3ab291518ff78c8410fd336e02eb59f10d98d4e7 [138/144] sched/headers: Split out of config: mips-nlm_xlr_defconfig (attached as .config) compiler: mips-linux-gn

Re: [PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-02-03 Thread George Cherian
On Friday 03 February 2017 11:02 PM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian wrote: This series adds the support for Cavium Cryptographic Accelerarion Unit (CPT) CPT is available in Cavium's Octeon-Tx SoC series. The series was tested with ecryptfs and dm-crypt for

[PATCH v2] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread Derek Robson
Changed function definition argument to have identifier name. found using checkpatch Signed-off-by: Derek Robson --- Version 1 had missing ; and so broke the build drivers/staging/speakup/spk_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/speakup

Re: status of "tty: Fix ldisc crash on reopened tty"

2017-02-03 Thread Sergey Senozhatsky
Cc Greg On (01/24/17 14:19), Sergey Senozhatsky wrote: > Hello Peter, Mikulas > > just came across this patch https://lkml.org/lkml/2016/5/17/440 > > Peter, are you still planning to merge it? or is there something > that made you change your mind? ping -ss

[tip:WIP.sched/core 138/144] arch/mips/kernel/smp-mt.c:215:2: note: in expansion of macro 'write_tc_gpr_sp'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: 3ab291518ff78c8410fd336e02eb59f10d98d4e7 [138/144] sched/headers: Split out of config: mips-malta_kvm_defconfig (attached as .config) compiler: mipsel-linu

Re: Staging: speakup - syle fix permissions to octal

2017-02-03 Thread Guenter Roeck
On Sat, Jan 28, 2017 at 07:05:09PM +1300, Derek Robson wrote: > A style fix across whole driver. > changed permissions to octal style, found using checkpatch > > Signed-off-by: Derek Robson FWIW, I think changes like this are best done using coccinelle. That ensures that the results can be repro

[PATCH] staging: fbtft: fbtft-bus.c: Fix checkpatch error

2017-02-03 Thread Youngdo Lee
Fix checkpatch error: ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Youngdo Lee --- drivers/staging/fbtft/fbtft-bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-bus.c b/drivers/staging/fbtft/fbtft-bus.c index e

Re: [PATCH resend 4.9] hw_random: Don't use a stack buffer in add_early_randomness()

2017-02-03 Thread Matt Mullins
On Sat, Feb 04, 2017 at 11:47:38AM +0800, Yisheng Xie wrote: > On 2016/10/18 1:06, Andy Lutomirski wrote: > > hw_random carefully avoids using a stack buffer except in > > add_early_randomness(). This causes a crash in virtio_rng if > > CONFIG_VMAP_STACK=y. > I try to understand this patch, but I

Re: [PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-02-03 Thread George Cherian
Hi Sasha, Thanks for the reveiw. On Friday 03 February 2017 12:24 AM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian wrote: diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c new file mode 100644 index 000..4cf466d --- /dev/

RE: [PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process

2017-02-03 Thread Li, Liang Z
> > > > +static void free_extended_page_bitmap(struct virtio_balloon *vb) { > > + int i, bmap_count = vb->nr_page_bmap; > > + > > + for (i = 1; i < bmap_count; i++) { > > + kfree(vb->page_bitmap[i]); > > + vb->page_bitmap[i] = NULL; > > + vb->nr_page_bmap--; > >

Re: Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread Guenter Roeck
On Sat, Feb 04, 2017 at 12:56:41PM +1300, Derek Robson wrote: > Changed function definition argument to have identifier name. > found using checkpatch > > Signed-off-by: Derek Robson > --- > drivers/staging/speakup/spk_priv.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread Joe Perches
On Sat, 2017-02-04 at 16:31 +1300, Derek Robson wrote: > On Sat, Feb 04, 2017 at 10:41:20AM +0800, kbuild test robot wrote: > > Hi Derek, > > > > [auto build test ERROR on staging/staging-testing] > > [also build test ERROR on v4.10-rc6 next-20170203] > > [if y

RE: [PATCH] acpica: Fix double-free in acpi_ns_repair_CID()

2017-02-03 Thread Moore, Robert
Here's the sequence of events as I see it: Repair_HID is a standalone function that removes one reference on the incoming object. For simple _HID objects, this in fact deletes the object. For _CID, all elements of the package are examined. If a repair was made on a _HID within the _CID function

Re: Linux 4.9.7

2017-02-03 Thread Ed Tomlinson
Hi, Any reports of 4.9.7 breaking X? I run arch and keep it up to date. With todays updates and 4.9.7 built here X will not start kde correctly. Reverting to 4.9.6 fixes things. Config is the same for both builds. I have three btrfs patches and the BFQ 4.9.0-v8r7 patchset applied on top

Re: [PATCH v8 00/15] ACPI platform MSI support and its example mbigen

2017-02-03 Thread Hanjun Guo
On 2017/2/3 22:50, Sinan Kaya wrote: > On 1/18/2017 7:54 AM, Hanjun Guo wrote: >> From: Hanjun Guo >> >> With platform msi support landed in the kernel, and the introduction >> of IORT for GICv3 ITS (PCI MSI) and SMMU, the framework for platform msi >> is ready, this patch set add few patches to e

Re: [PATCH resend 4.9] hw_random: Don't use a stack buffer in add_early_randomness()

2017-02-03 Thread Yisheng Xie
Hi Andy, On 2016/10/18 1:06, Andy Lutomirski wrote: > hw_random carefully avoids using a stack buffer except in > add_early_randomness(). This causes a crash in virtio_rng if > CONFIG_VMAP_STACK=y. I try to understand this patch, but I do not know why it will cause a crash in virtio_rng with CONF

[PATCH v8 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-02-03 Thread Baoyou Xie
This patch adds thermal driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/thermal/Kconfig | 8 ++ drivers/thermal/Makefile | 1 + drivers/thermal/zx2967_thermal.c | 255 +++ 3 files changed, 264 insertions(+) create mo

[PATCH v8 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-02-03 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family thermal sensor. Signed-off-by: Baoyou Xie Acked-by: Rob Herring Reviewed-by: Shawn Guo --- .../devicetree/bindings/thermal/zx2967-thermal.txt | 116 + 1 file changed, 116 insertions(+) create mode 100644 Documentat

[PATCH v8 2/3] MAINTAINERS: add zx2967 thermal drivers to ARM ZTE architecture

2017-02-03 Thread Baoyou Xie
Add the zx2967 thermal drivers as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5fb9b62..edfdea3 100644 --- a/MAINTAINERS +++ b/MAINT

[PATCH 1/5] of: introduce of_graph_get_remote_node

2017-02-03 Thread Rob Herring
The OF graph API leaves too much of the graph walking to clients when in many cases the driver doesn't care about accessing the port or endpoint nodes. The drivers typically just want the device connected via a particular graph connection. of_graph_get_remote_node provides this functionality. Sign

[PATCH 5/5] drm: omap: use common OF graph helpers

2017-02-03 Thread Rob Herring
The OMAP driver has its own OF graph helpers that are similar to the common helpers. This commit replaces most of the calls with the common helpers. There's still a couple of custom helpers left, but the driver needs more extensive changes to get rid of them. In dss_init_ports, we invert the loop,

[PATCH 2/5] drm: of: introduce drm_of_find_panel_or_bridge

2017-02-03 Thread Rob Herring
Many drivers have a common pattern of searching the OF graph for either an attached panel or bridge and then finding the DRM struct for the panel or bridge. Also, most drivers need to handle deferred probing when the DRM device is not yet instantiated. Create a common function, drm_of_find_panel_or

[PATCH 3/5] drm: convert drivers to use of_graph_get_remote_node

2017-02-03 Thread Rob Herring
Convert drivers to use the new of_graph_get_remote_node() helper instead of parsing the endpoint node and then getting the remote device node. Now drivers can just specify the device node and which port/endpoint and get back the connected remote device node. The details of the graph binding are nic

[PATCH 0/5] DRM OF graph clean-up

2017-02-03 Thread Rob Herring
I've been unhappy with the OF graph API for some time and decided to do something about it. The problem is drivers have to do too much of the graph parsing and walking themselves. This has led to the same pattern duplicated over and over. This series adds 2 new helpers and adapts DRM drivers to

[PATCH 4/5] drm: convert drivers to use drm_of_find_panel_or_bridge

2017-02-03 Thread Rob Herring
Similar to the previous commit, convert drivers open coding OF graph parsing to use drm_of_find_panel_or_bridge instead. This changes some error messages to debug messages (in the graph core). Graph connections are often "no connects" depending on the particular board, so we want to avoid spurious

Re: [PATCH] mm: extend zero pages to same element pages for zram

2017-02-03 Thread zhouxianrong
right, thanks. On 2017/2/3 23:33, Matthew Wilcox wrote: On Fri, Feb 03, 2017 at 04:42:27PM +0800, zhouxianr...@huawei.com wrote: +static inline void zram_fill_page_partial(char *ptr, unsigned int size, + unsigned long value) +{ + int i; + unsigned long *page; + +

Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread Derek Robson
On Sat, Feb 04, 2017 at 10:41:20AM +0800, kbuild test robot wrote: > Hi Derek, > > [auto build test ERROR on staging/staging-testing] > [also build test ERROR on v4.10-rc6 next-20170203] > [if your patch is applied to the wrong git tree, please drop us a note to > help

Re: [PATCH] mm, vmscan: Clear PGDAT_WRITEBACK when zone is balanced

2017-02-03 Thread Hillf Danton
On February 04, 2017 4:32 AM Mel Gorman wrote: > > Hillf Danton pointed out that since commit 1d82de618dd ("mm, vmscan: > make kswapd reclaim in terms of nodes") that PGDAT_WRITEBACK is no longer > cleared. It was not noticed as triggering it requires pages under writeback > to cycle twice throu

Re: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call

2017-02-03 Thread Al Viro
On Thu, Feb 02, 2017 at 09:51:25AM +, Al Viro wrote: > * fuse_copy_fill(). I'm not at all sure that iov_iter_get_pages() > is a good idea there - fuse_copy_do() could bloody well just use > copy_{to,from}_iter(). Miklos, could you explain why does lock_request() prohibit page faults un

Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread kbuild test robot
Hi Derek, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.10-rc6 next-20170203] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Derek-Robson/Drivers-staging

Re: [PATCH net-next 2/6] net: dsa: simplify netdevice events handling

2017-02-03 Thread Florian Fainelli
On 02/03/2017 10:20 AM, Vivien Didelot wrote: > Simplify the code handling the slave netdevice notifier call by > providing a dsa_slave_changeupper helper for NETDEV_CHANGEUPPER, and so > on (only this event is supported at the moment.) > > Return NOTIFY_DONE when we did not care about an event,

Re: [PATCH] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread kbuild test robot
Hi Derek, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.10-rc6 next-20170203] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Derek-Robson/Drivers-staging

Re: [PATCH] drm/panel: simple: ensure Sharp lq123p1jx31 isn't turned off too soon

2017-02-03 Thread Doug Anderson
Hi On Thu, Feb 2, 2017 at 3:38 PM, Douglas Anderson wrote: > The Sharp lq123p1jx31 has a requirement that the VDD is on for at > least 300 ms before being turned off. At the moment nothing anywhere > in the kernel is ensuring this. > > The simplest way to ensure this is to add a "disable" timing

[PATCH] drm/i915/debugfs: Add i915_hpd_storm_ctl

2017-02-03 Thread Lyude
This adds a file in i915's debugfs directory that allows userspace to manually control HPD storm detection. This is mainly for hotplugging tests, where we might want to test HPD storm functionality or disable storm detection to speed up hotplugging tests without breaking anything. Signed-off-by: L

Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc-

2017-02-03 Thread kbuild test robot
Hi Vlastimil, [auto build test WARNING on mmotm/master] [also build test WARNING on v4.10-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vlastimil-Babka/mm-slab-rename-kmalloc-node-cache-to

Re: [PATCH 3/3] net: ethernet: bgmac: driver power manangement

2017-02-03 Thread Florian Fainelli
On 02/03/2017 01:39 PM, Jon Mason wrote: > From: Joey Zhong > > Implements suspend/resume, external phy 54810 is assumed > to remain powered up during deep-sleep for wake-on-lane. s/wake-on-lane/Wake-on-LAN, are you positive phy_stop() is not suspending the PHY and issuing BMCR_PWRDOWN write? T

Re: regression for m68k/coldfire

2017-02-03 Thread Greg Ungerer
Hi Laurent, On 04/02/17 01:22, Laurent Vivier wrote: Le 03/02/2017 à 16:17, Waldemar Brodkorb a écrit : [snip] Btw: Laurent, are you m68k with mmu support are going to be included upstream? I always carry an old binary for any m68k with mmu testing. I'm working to have the FPU included for n

Re: [PATCH 1/3] fork: dynamically allocate cache array for vmapped stacks using cpuhp

2017-02-03 Thread Hoeun Ryu
On Sat, Feb 4, 2017 at 2:52 AM, Andy Lutomirski wrote: > On Fri, Feb 3, 2017 at 8:42 AM, Hoeun Ryu wrote: >> On Sat, Feb 4, 2017 at 12:39 AM, Michal Hocko wrote: >>> On Sat 04-02-17 00:30:05, Hoeun Ryu wrote: Using virtually mapped stack, kernel stacks are allocated via vmalloc. In th

Re: [PATCH 2/8] power: add power sequence library

2017-02-03 Thread Peter Chen
On Fri, Feb 03, 2017 at 10:14:31PM +0100, Rafael J. Wysocki wrote: > On Friday, February 03, 2017 04:16:15 PM Peter Chen wrote: > > On Wed, Feb 01, 2017 at 09:08:17AM +0100, Greg Kroah-Hartman wrote: > > > On Wed, Feb 01, 2017 at 12:10:17AM +0100, Rafael J. Wysocki wrote: > > > > On Tue, Jan 3, 201

[PATCH] Staging: iio: resolver: ad2s1210.c - style fix

2017-02-03 Thread Derek Robson
Changed symbolic permissions to octal permissions. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/iio/resolver/ad2s1210.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/staging/iio/resolver/ad2s1210.c b/drivers/stag

[tip:WIP.sched/core 144/144] arch/powerpc/lib/feature-fixups.c:178:16: error: '__start___mmu_ftr_fixup' undeclared

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: f83f0b0647162b099f62e62c203b1cfb90b40239 [144/144] sched/headers: Remove the dependency from config: powerpc-sam440ep_defconfig (attached as .config) compi

[PATCH v9 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-02-03 Thread Baoyou Xie
This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 291 ++ 3 files changed, 302 insertions(+) cre

[PATCH v9 1/3] dt: bindings: add documentation for zx2967 family watchdog controller

2017-02-03 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../bindings/watchdog/zte,zx2967-wdt.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCH v9 2/3] MAINTAINERS: add zx2967 watchdog controller driver to ARM ZTE architecture

2017-02-03 Thread Baoyou Xie
Add the zx2967 watchdog controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434 100644 --- a/MAINTAINERS

[tip:WIP.sched/core 144/144] arch/nios2/kernel/process.c:161:21: error: dereferencing pointer to incomplete type 'struct mm_struct'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: f83f0b0647162b099f62e62c203b1cfb90b40239 [144/144] sched/headers: Remove the dependency from config: nios2-10m50_defconfig (attached as .config) compiler:

[PATCH resend 4/4] nfc: Fix hangup of RC-S380* in port100_send_ack()

2017-02-03 Thread OGAWA Hirofumi
If port100_send_ack() was called twice or more, it has race to hangup. port100_send_ack() port100_send_ack() init_completion() [...] dev->cmd_cancel = true /* this removes previous from completion */ init_compl

[PATCH resend 3/4] nfc: Fix RC-S380* needs zero-length packet

2017-02-03 Thread OGAWA Hirofumi
If sent packet size is wMaxPacketSize boundary, this device doesn't answer. To fix this, we have to send zero-length packet in usb spec. Signed-off-by: OGAWA Hirofumi --- drivers/nfc/port100.c |1 + 1 file changed, 1 insertion(+) diff -puN drivers/nfc/port100.c~nfc-need-zero-packet driver

[PATCH resend 1/4] nfc: Add support RC-S380P to port100

2017-02-03 Thread OGAWA Hirofumi
Signed-off-by: OGAWA Hirofumi --- drivers/nfc/port100.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff -puN drivers/nfc/port100.c~nfc-add-rcs380p drivers/nfc/port100.c --- linux/drivers/nfc/port100.c~nfc-add-rcs380p 2016-12-18 22:16:53.503673411 +0900 +++ linux-hirofum

[PATCH resend 2/4] nfc: Send same info for both of NFC_CMD_GET_DEVICE and NFC_EVENT_DEVICE_ADDED

2017-02-03 Thread OGAWA Hirofumi
Now, NFC_EVENT_DEVICE_ADDED doesn't send NFC_ATTR_RF_MODE. But NFC_CMD_GET_DEVICE send. To get NFC_ATTR_RF_MODE, we have to call NFC_CMD_GET_DEVICE just for NFC_ATTR_RF_MODE when get NFC_EVENT_DEVICE_ADDED. This fixes those inconsistent. Signed-off-by: OGAWA Hirofumi --- net/nfc/netlink.c |

[tip:WIP.sched/core 101/144] drivers/char/nwbutton.c:134:3: error: implicit declaration of function 'kill_cad_pid'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: f83f0b0647162b099f62e62c203b1cfb90b40239 commit: b1f67840abd11c21066791dab0ba74aac94fd178 [101/144] sched/headers, signals: Separate out task_struct::signal and task_struct::sighand types and accessors int

Re: [PATCH] devicetree: Add video bus switch

2017-02-03 Thread Sebastian Reichel
Hi, On Fri, Feb 03, 2017 at 10:07:28PM +0100, Pavel Machek wrote: > On Fri 2017-02-03 14:32:19, Pali Rohár wrote: > > On Friday 03 February 2017 13:35:08 Pavel Machek wrote: > > > N900 contains front and back camera, with a switch between the > > > two. This adds support for the switch component,

Re: [PATCH 3/3] MIPS: BMIPS: enable CPUfreq

2017-02-03 Thread Markus Mayer
On 2 February 2017 at 20:29, Viresh Kumar wrote: > On 01-02-17, 17:06, Markus Mayer wrote: >> From: Markus Mayer >> >> Enable all applicable CPUfreq options. >> >> Signed-off-by: Markus Mayer >> --- >> arch/mips/configs/bmips_stb_defconfig | 10 ++ >> 1 file changed, 10 insertions(+) >>

[PATCH v1 8/8] scsi: ufs: dump hw regs on link failures

2017-02-03 Thread Subhash Jadavani
From: Venkat Gopalakrishnan Dump host state, power info and host/vendor specific registers on link failures. This provides useful info to debug the failures. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani --- drivers/scsi/ufs/ufshcd.c | 12 +++- 1 file changed, 1

[PATCH v1 7/8] scsi: ufs-qcom: dump additional testbus registers

2017-02-03 Thread Subhash Jadavani
From: Venkat Gopalakrishnan Change testbus default config, dump additional testbus registers along with other debug vendor specific registers. These additional info are useful in debugging link related failures. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani --- drivers/

[PATCH v1 6/8] scsi: ufs: kick start clock scaling only after device detection

2017-02-03 Thread Subhash Jadavani
UFS clock scaling might start kicking in even before the device is running at the fastest interface speed which is undesirable. This change moves the clock scaling kick start only after the device is detected and running at the fastest interface speed. Signed-off-by: Subhash Jadavani --- drivers

[PATCH v1 5/8] scsi: ufs: don't suspend clock scaling during clock gating

2017-02-03 Thread Subhash Jadavani
Currently we are suspending clock scaling during clock gating which doesn't allow us to have clock gating timeout lower than clock scaling polling window. If clock gating timeout is smaller than the clock scaling polling window then we will mostly suspend the clock scaling before clock scaling poll

[PATCH v1 4/8] scsi: ufs: add host state prints in failure cases

2017-02-03 Thread Subhash Jadavani
From: Gilad Broner Whenever some UFS failure occurs the driver prints the UFS registers in order to help with analysis of the failure. However this may not be sufficient in some cases, so having the host controller state as it is represented and managed in the driver will contribute to analysis e

[PATCH v1 3/8] scsi: ufs: add load based scaling of UFS gear

2017-02-03 Thread Subhash Jadavani
UFS driver's load based clock scaling feature scales down the ufs related clocks in order to allow low power modes of chipsets. UniPro 1.6 supports maximum gear up to HS-G3 (High Speed Gear3) and some of the chipsets low power modes may not be allowed in HS-G3 hence this change adds support to scal

[PATCH v1 2/8] scsi: ufs: reduce printout for aborted requests

2017-02-03 Thread Subhash Jadavani
From: Gilad Broner Details printed for each request that is aborted can overload the target as there can be several requests that are aborted at once. This change will print full request details only for the first aborted request since the last link reset, and minimal details for other subsequent

[PATCH v1 1/8] scsi: ufs: skip request abort task when previous aborts failed

2017-02-03 Thread Subhash Jadavani
From: Gilad Broner On certain error conditions request abort task itself might fail when aborting a request. In such case, subsequent request aborts should skip issuing the abort task as it is expected to fail as well, and device reset handler will be called next. Signed-off-by: Gilad Broner Si

Re: [PATCH 0/4] fujitsu_init() cleanup

2017-02-03 Thread Darren Hart
On Fri, Feb 03, 2017 at 04:13:40PM +0200, Andy Shevchenko wrote: > On Fri, Feb 3, 2017 at 4:06 PM, Michał Kępień wrote: > > Darren, Andy, > > > > Please drop this patch series for now. I will send a rebased v2 after a > > long overdue patch series from Alan Jenkins gets applied in a reworked > >

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-02-03 Thread Trevor Cordes
On 2017-02-01 Michal Hocko wrote: > On Wed 01-02-17 03:29:28, Trevor Cordes wrote: > > On 2017-01-30 Michal Hocko wrote: > [...] > > > Testing with Valinall rc6 released just yesterday would be a good > > > fit. There are some more fixes sitting on mmotm on top and maybe > > > we want some of the

[tip:WIP.sched/core 144/144] arch/blackfin/kernel/flat.c:49:27: error: dereferencing pointer to incomplete type 'struct mm_struct'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 2bf1cc270cf3d7b47dccac40b650df0a1b3c14f9 commit: 2bf1cc270cf3d7b47dccac40b650df0a1b3c14f9 [144/144] sched/headers: Remove the dependency from config: blackfin-allyesconfig (attached as .config) compiler:

[tip:WIP.sched/core 144/144] arch/cris/include/asm/pgtable.h:237:11: error: dereferencing pointer to incomplete type 'const struct mm_struct'

2017-02-03 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 2bf1cc270cf3d7b47dccac40b650df0a1b3c14f9 commit: 2bf1cc270cf3d7b47dccac40b650df0a1b3c14f9 [144/144] sched/headers: Remove the dependency from config: cris-allyesconfig (attached as .config) compiler: cris

Re: [PATCH 2/2] DTS: dra7: Add "opp_high" opp node to support 1.5 GHz SoC operation

2017-02-03 Thread Nishanth Menon
On 02/03/2017 05:21 PM, Lukasz Majewski wrote: Hi Dave, Thanks for sharing the knowledge :-) On 02/03/2017 09:24 AM, Lukasz Majewski wrote: The "opp_high" property brings support for 1.5 GHz CPU frequency for TI's am57xx line of processors. Signed-off-by: Lukasz Majewski --- arch/arm/boot/

Re: [RFC] [PATCH] audit: log module name on init_module

2017-02-03 Thread Paul Moore
On Tue, Jan 31, 2017 at 3:02 PM, Richard Guy Briggs wrote: > On 2017-01-31 11:07, Paul Moore wrote: >> On Tue, Jan 31, 2017 at 7:36 AM, Richard Guy Briggs wrote: >> > On 2017-01-31 06:59, Paul Moore wrote: >> >> On Thu, Jan 26, 2017 at 4:21 PM, Richard Guy Briggs >> >> wrote: >> >> > This adds

Re: [PATCH] clocksource: arm_arch_timer: print timer value at init time

2017-02-03 Thread Olof Johansson
On Mon, Dec 19, 2016 at 9:47 AM, Olof Johansson wrote: > This is useful to get an indication of how much time we spent in firmware. > > It's not guaranteed that the timer started at 0 on reset, so it's just > an approximation, and might very well be invalid on some systems. But > it's still a usef

[PATCH] PM / runtime: Avoid false-positive warnings from might_sleep_if()

2017-02-03 Thread Rafael J. Wysocki
On Thursday, February 02, 2017 02:34:42 PM Sedat Dilek wrote: > On Wed, Feb 1, 2017 at 1:22 AM, Rafael J. Wysocki wrote: > > On Mon, Jan 30, 2017 at 11:44 PM, Rafael J. Wysocki > > wrote: > >> On 1/24/2017 2:33 AM, Sedat Dilek wrote: > >>> > >>> On Fri, Dec 30, 2016 at 3:02 PM, Rafael J. Wysocki

[PATCH] Drivers: staging: speakup: spk_priv.h - style fix

2017-02-03 Thread Derek Robson
Changed function definition argument to have identifier name. found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/speakup/spk_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/speakup/spk_priv.h b/drivers/staging/speakup/spk_priv.h

[PATCH 2/5] f2fs: check last page index in cached bio to decide submission

2017-02-03 Thread Jaegeuk Kim
If the cached bio has the last page's index, then we need to submit it. Otherwise, we don't need to submit it and can wait for further IO merges. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 3 ++- fs/f2fs/data.c | 39 +-- fs/f2fs/f2fs.h

[PATCH 5/5] f2fs: avoid out-of-order execution of atomic writes

2017-02-03 Thread Jaegeuk Kim
We need to flush data writes before flushing last node block writes by using FUA with PREFLUSH. We don't need to guarantee precedent node writes since if those are not written, we can't reach to the last node block when scanning node block chain during roll-forward recovery. Afterwards f2fs_wait_on

[PATCH 3/5] f2fs: move flush tracepoint

2017-02-03 Thread Jaegeuk Kim
This patch moves the tracepoint location for flush command. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 984d94efe8cb..2c283a5fead0 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2

[PATCH 1/5] f2fs: show # of APPEND and UPDATE inodes

2017-02-03 Thread Jaegeuk Kim
This patch shows cached # of APPEND and UPDATE inode entries. Signed-off-by: Jaegeuk Kim --- fs/f2fs/debug.c | 6 -- fs/f2fs/f2fs.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/f2fs/debug.c b/fs/f2fs/debug.c index 0ca977a94c13..de8da9fc5c99 100644 --- a/fs/f2fs/

[PATCH 4/5] f2fs: move write_node_page above fsync_node_pages

2017-02-03 Thread Jaegeuk Kim
This patch just moves write_node_page and introduces an inner function. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.c | 142 ++--- 1 file changed, 74 insertions(+), 68 deletions(-) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index c573954571d

Re: /proc/timer_list leaks the real pids of the associated processes

2017-02-03 Thread Kees Cook
On Fri, Feb 3, 2017 at 2:29 PM, Xing Gao wrote: > Dear Thomas and Kees, > > I posted a bug report on bugzilla, and John asked me to send it the lkml. > > Here is the link, https://bugzilla.kernel.org/show_bug.cgi?id=193921 > > Please cc to me when you reply this email. > > And please check the inf

Re: [PATCH 1/5] refcount_t: A special purpose refcount type

2017-02-03 Thread Kees Cook
On Fri, Feb 3, 2017 at 5:25 AM, Peter Zijlstra wrote: > Provide refcount_t, an atomic_t like primitive built just for > refcounting. > > It provides saturation semantics such that overflow becomes impossible > and thereby 'spurious' use-after-free is avoided. > > Signed-off-by: Peter Zijlstra (Int

[PATCH V2 0/7] mm: fix some MADV_FREE issues

2017-02-03 Thread Shaohua Li
Hi, We are trying to use MADV_FREE in jemalloc. Several issues are found. Without solving the issues, jemalloc can't use the MADV_FREE feature. - Doesn't support system without swap enabled. Because if swap is off, we can't or can't efficiently age anonymous pages. And since MADV_FREE pages are

Re: [GIT PULL] tpmdd updates for Linux 4.11

2017-02-03 Thread James Morris
On Fri, 3 Feb 2017, Jarkko Sakkinen wrote: > Hi > > This is the second flush of updates for 4.11. > > The pull request include two new features: > > 1. Extension to tpm_pcr_extend() (used by IMA) to extend all PCR banks > instead of just SHA-1 banks. It is recommended by TCG to do so in order

[PATCH V2 6/7] proc: show MADV_FREE pages info in smaps

2017-02-03 Thread Shaohua Li
Cc: Michal Hocko Cc: Minchan Kim Cc: Hugh Dickins Cc: Johannes Weiner Cc: Rik van Riel Cc: Mel Gorman Cc: Andrew Morton Signed-off-by: Shaohua Li --- fs/proc/task_mmu.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index

[PATCH V2 3/7] mm: reclaim MADV_FREE pages

2017-02-03 Thread Shaohua Li
When memory pressure is high, we free MADV_FREE pages. If the pages are not dirty in pte, the pages could be freed immediately. Otherwise we can't reclaim them. We put the pages back to anonumous LRU list (by setting SwapBacked flag) and the pages will be reclaimed in normal swapout way. We use no

[PATCH V2 5/7] mm: add vmstat account for MADV_FREE pages

2017-02-03 Thread Shaohua Li
Show MADV_FREE pages info in proc/sysfs files. Cc: Michal Hocko Cc: Minchan Kim Cc: Hugh Dickins Cc: Johannes Weiner Cc: Rik van Riel Cc: Mel Gorman Cc: Andrew Morton Signed-off-by: Shaohua Li --- drivers/base/node.c | 2 ++ fs/proc/meminfo.c | 1 + include/linux/mm_inline

[PATCH V2 7/7] mm: add a separate RSS for MADV_FREE pages

2017-02-03 Thread Shaohua Li
Add a separate RSS for MADV_FREE pages. The pages are charged into MM_ANONPAGES (because they are mapped anon pages) and also charged into the MM_LAZYFREEPAGES. /proc/pid/statm will have an extra field to display the RSS, which userspace can use to determine the RSS excluding MADV_FREE pages. The

[PATCH V2 2/7] mm: move MADV_FREE pages into LRU_INACTIVE_FILE list

2017-02-03 Thread Shaohua Li
Userspace indicates MADV_FREE pages could be freed without pageout, so it pretty much likes used once file pages. For such pages, we'd like to reclaim them once there is memory pressure. Also it might be unfair reclaiming MADV_FREE pages always before used once file pages and we definitively want t

[PATCH V2 4/7] mm: enable MADV_FREE for swapless system

2017-02-03 Thread Shaohua Li
Now MADV_FREE pages can be easily reclaimed even for swapless system. We can safely enable MADV_FREE for all systems. Cc: Michal Hocko Cc: Minchan Kim Cc: Hugh Dickins Cc: Johannes Weiner Cc: Rik van Riel Cc: Mel Gorman Cc: Andrew Morton Signed-off-by: Shaohua Li --- mm/madvise.c | 8 +---

[PATCH V2 1/7] mm: don't assume anonymous pages have SwapBacked flag

2017-02-03 Thread Shaohua Li
There are a few places the code assumes anonymous pages should have SwapBacked flag set. MADV_FREE pages are anonymous pages but we are going to add them to LRU_INACTIVE_FILE list and clear SwapBacked flag for them. The assumption doesn't hold any more, so fix them. Cc: Michal Hocko Cc: Minchan K

[PATCH v6] kprobes: move kprobe declarations to asm-generic/kprobes.h

2017-02-03 Thread Luis R. Rodriguez
ts an independent change so extracting it out of that larger series and sending it out separately. The changelog below describe the changes as the old series progressed. v6: o noticed I had not removed the old tables.h and ranges.h, this now applies cleanly onto linux-next tag next-20170203. o

[PATCH 4/4] refcount: Report failures through CHECK_DATA_CORRUPTION

2017-02-03 Thread Kees Cook
This converts from WARN_ON() to CHECK_DATA_CORRUPTION() in the CONFIG_DEBUG_REFCOUNT case. Additionally moves refcount_t sanity check conditionals into regular function flow. Since CHECK_DATA_CORRUPTION() is marked __much_check, we override few cases where the failure has already been handled but w

[PATCH 2/4] lkdtm: convert to refcount_t testing

2017-02-03 Thread Kees Cook
Since we'll be using refcount_t instead of atomic_t for refcounting, change the LKDTM tests to reflect the new interface and test conditions. Signed-off-by: Kees Cook --- drivers/misc/lkdtm.h | 8 +++-- drivers/misc/lkdtm_bugs.c | 87 +++ drivers

  1   2   3   4   5   6   7   8   >