Re: [PATCH 1/2] usb: gadget: f_midi: refactor state machine

2015-12-23 Thread Clemens Ladisch
Felipe Ferreri Tonello wrote: >> Running status is feature. > >What do you mean by that? That this behavior is intended, and required. > I don't qualify writing a *wrong* MIDI-USB >packet because of a previous MIDI message as a feature. The MIDI Specification qualifies Running Status as a featur

Re: [lustre-devel] [PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dilger, Andreas
On 2015/12/23, 14:40, "Simmons, James A." wrote: >>From: Niranjan Dighe >> >>Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed >>thereby >>making functions like - kportal_memhog_alloc(), kportal_memhog_free() >>and type - >>struct libcfs_device_userstate unused. > >Actually

Re: [PATCH v3 0/2] WM8505/WM8650 DT fixes for SD card controller

2015-12-23 Thread Roman Volkov
В Sat, 4 Apr 2015 15:27:20 +0300 Roman Volkov пишет: > В Sun, 1 Mar 2015 23:39:11 +0300 > Roman Volkov пишет: > > > В Sun, 01 Mar 2015 20:52:55 +0100 > > Arnd Bergmann пишет: > > > > > On Sunday 01 March 2015 19:06:45 Roman Volkov wrote: > > > > This patch set enables SD controller suppor

[PATCH] gpiolib: Fix uninitialized variable warning

2015-12-23 Thread Ross Zwisler
] struct gpio_chip *iterator; ^ Fix this by initializing 'iterator' to NULL. Signed-off-by: Ross Zwisler --- This was found in next-20151223. --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/dr

[PATCH] cgroup: Fix uninitialized variable warning

2015-12-23 Thread Ross Zwisler
Commit 1f7dd3e5a6e4 ("cgroup: fix handling of multi-destination migration from subtree_control enabling") introduced the following compiler warning: mm/memcontrol.c: In function ‘mem_cgroup_can_attach’: mm/memcontrol.c:4790:9: warning: ‘memcg’ may be used uninitialized in this function [-Wmaybe-u

Re: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-23 Thread Denis Kirjanov
On 12/23/15, Zhang Zhuoyu wrote: > Hi, Denis > > Any test result on pmac machine for this patch? Hi, So I ran the tests by writing to cpuN/online. with your change I'm observing lines like the following: [ 713.436922] NOHZ: local_softirq_pending 08 Thanks! > > Zhuoyu > >> -Original Messa

[PATCH v2 1/3] clocksource/vt8500: Use MIN_OSCR_DELTA from PXA

2015-12-23 Thread Roman Volkov
From: Roman Volkov Since vt8500 and PXA timers are identical, use MIN_OSCR_DELTA from PXA, which is bigger than existing value. It is required to determine the minimum delay which hardware can generate. This commit fixes vt8500 breakage in Linux 4.2 introduced by c6eb3f7 ('hrtimer: Get rid of hr

Re: [PATCH 4/4] ARM: dts: rockchip: Add support emac for RK3036

2015-12-23 Thread kbuild test robot
Hi Xing, [auto build test ERROR on rockchip/for-next] [also build test ERROR on next-20151223] [cannot apply to v4.4-rc6] url: https://github.com/0day-ci/linux/commits/Xing-Zheng/net-ethernet-arc-Probe-emac-after-set-RMII-clock/20151223-172442 base: https://git.kernel.org/pub/scm/linux

[PATCH v2 2/3] clocksource/vt8500: Remove the 'loops' variable

2015-12-23 Thread Roman Volkov
From: Roman Volkov The purpose of the 'loops' variable is unclear. vt8500 hardware does not require any protections, in case if these variables intended for preventing infinite loops (identical PXA timer works perfectly without these ones). Signed-off-by: Roman Volkov --- drivers/clocksource/v

[PATCH] PowerCap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2015-12-23 Thread Julia Lawall
The powercap_zone_ops and powercap_zone_constraint_ops structures are never modified, so declare them as const. Most of the actual changes adjust indentation to accomodate the const keyword. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/powercap/intel_rapl.c |

Re: [PATCH v2] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-23 Thread Johannes Weiner
I think we can fold the following in there as well: >From b885bf06f55d05f0e8249357d4edb231dfe4a5dc Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 23 Dec 2015 17:16:07 -0500 Subject: [PATCH] mm: memcontrol: fix possible memcg leak due to interrupted reclaim fix When we handled multipl

[PATCH v2 0/3] clocksource/vt8500: Fix hangs in small delays

2015-12-23 Thread Roman Volkov
From: Roman Volkov vt8500 hangs in nanosleep() function, starting from commit c6eb3f70d4482806dc2d3e1e3c7736f497b1d418, making the system unusable. Per investigation, looks like set_next_event() now receives too small delta and fails with -ETIME. Google group discussion: https://groups.google.co

Freezing of tasks failed ... *0* tasks refusing to freeze, wq_busy=1)

2015-12-23 Thread Eric Valette
I have a NAS system that does supend itslef when rx/tx counts drops below a level meaning no activity... The last working kernel was 3.14.58, any thing longterm after that refuse to freeze after a while with: [ 9692.905439] ehci-pci :00:1d.0: remove, state 1 [ 9692.905448] usb usb4: USB

Re: [GIT PULL] UBI fixes for 4.4-rc

2015-12-23 Thread Richard Weinberger
On Wed, Dec 23, 2015 at 11:36 AM, Richard Weinberger wrote: > Linus, > > the following changes since commit 9f9499ae8e6415cefc4fe0a96ad0e27864353c89: > > Linux 4.4-rc5 (2015-12-13 17:42:58 -0800) > > are available in the git repository at: > > git://git.infradead.org/linux-ubifs.git tags/upstr

Re: [PATCH] pinctrl: nsp-gpio: fix type of iterator

2015-12-23 Thread Ray Jui
+ Reddy On 12/23/2015 2:37 AM, Andrzej Hajda wrote: Iterator i declared as unsigned is always non-negative so the loop will never end. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane

RE: [char-misc-next v3 3/8] watchdog: mei_wdt: implement MEI iAMT watchdog driver

2015-12-23 Thread Winkler, Tomas
> > On 12/21/2015 11:19 PM, Winkler, Tomas wrote: > > > >> > >> On 12/21/2015 03:17 PM, Tomas Winkler wrote: > >>> Create a driver with the generic watchdog interface > >>> for the MEI iAMT watchdog device. > >>> > >>> Signed-off-by: Alexander Usyskin > >>> Signed-off-by: Tomas Winkler > >>> ---

[PATCH net] openvswitch: Fix template leak in error cases.

2015-12-23 Thread Joe Stringer
Commit 5b48bb8506c5 ("openvswitch: Fix helper reference leak") fixed a reference leak on helper objects, but inadvertently introduced a leak on the ct template. Previously, ct_info.ct->general.use was initialized to 0 by nf_ct_tmpl_alloc() and only incremented when ovs_ct_copy_action() returned su

RE: [lustre-devel] [PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Simmons, James A.
>On 2015/12/23, 14:40, "Simmons, James A." wrote: > >>>From: Niranjan Dighe >>> >>>Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed >>>thereby >>>making functions like - kportal_memhog_alloc(), kportal_memhog_free() >>>and type - >>>struct libcfs_device_userstate unused. >>

RE: [char-misc-next v3 4/8] watchdog: mei_wdt: add status debugfs entry

2015-12-23 Thread Winkler, Tomas
> > On 12/21/2015 03:17 PM, Tomas Winkler wrote: > > Add entry for dumping current watchdog internal state > > > > Signed-off-by: Tomas Winkler > > --- > > V2: new in the series > > V3: rebase > > drivers/watchdog/mei_wdt.c | 88 > ++ > > 1 file chan

[PATCH v2 3/3] clocksource/vt8500: Add register R/W functions

2015-12-23 Thread Roman Volkov
From: Roman Volkov vt8500 timer requires special synchronization for accessing some of its registers. Define special read and write functions to handle this process transparently. Use relaxed read/write, according to the following: http://permalink.gmane.org/gmane.linux.ports.arm.kernel/117658:

[ANNOUNCE] 4.4-rc6-rt1

2015-12-23 Thread Sebastian Andrzej Siewior
Please don't continue reading before christmas eve (or morning, depending on your schedule). If you don't celebrate christmas, well go ahead. Dear RT folks! I'm pleased to announce the v4.4-rc6-rt1 patch set. I tested it on my AMD A10, 64bit. Nothing exploded so far, filesystem is still there. I

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2015-12-23 Thread Ross Zwisler
es - Johannes > - do not use kthread_should_stop because that would need a cleanup > and we do not have anybody to stop us - Tetsuo > - move wake_oom_reaper to oom_kill_process because we have to wait > for all tasks sharing the same mm to get killed - Tetsuo > - do not reap mm s

RE: [char-misc-next v3 6/8] watchdog: mei_wdt: register wd device only if required

2015-12-23 Thread Winkler, Tomas
next v3 6/8] watchdog: mei_wdt: register wd device only > if required > > On 12/21/2015 03:17 PM, Tomas Winkler wrote: > > From: Alexander Usyskin > > > > For Intel Broadwell and newer platforms, the ME device can inform > > the host whether the watchdog functionality is activated or not. > > If

Re: [PATCH] netconsole: Initialize after all core networking drivers

2015-12-23 Thread Calvin Owens
On Thursday 12/17 at 17:46 -0800, Calvin Owens wrote: > On Thursday 12/17 at 17:08 -0800, Eric Dumazet wrote: > > On Thu, 2015-12-17 at 15:52 -0800, Calvin Owens wrote: > > > With built-in netconsole and IXGBE, configuring netconsole via the kernel > > > cmdline results in the following panic at bo

[PATCH] ext2, ext4: include filesystem block size in error messages

2015-12-23 Thread Robert Elliott
Print the problematic value in messages about the filesystem block size. Normalize all of the blocksize messages that use "blocksize" to use "filesystem block size". This helps distinguish this block size from the underlying block device's logical block size (i.e., sector size) and physical block

[PATCH] init, Documentation: Remove ramdisk_blocksize mentions

2015-12-23 Thread Robert Elliott
The brd driver has never supported the ramdisk_blocksize kernel parameter that was in the rd driver it replaced, so remove mention of this parameter from comments and Documentation. Commit 9db5579be4bb ("rewrite rd") replaced rd with brd, keeping a brd_blocksize variable in struct brd_device but n

Re: [PATCH] gpio: Add driver for TI TPIC2810

2015-12-23 Thread Linus Walleij
On Tue, Dec 15, 2015 at 9:10 PM, Andrew F. Davis wrote: > Add driver for TI TPIC2810 8-Bit LED Driver with I2C Interface. > > The TPIC2810 has 8 open-drain outputs that can but used to drive > LEDs and other low-side switched resistive loads. > > Signed-off-by: Andrew F. Davis This patch will h

[PATCH] Documentation/kernel-parameters: update KMG units

2015-12-23 Thread Robert Elliott
Since commit e004f3c7780d ("lib/cmdline.c: add size unit t/p/e to memparse") expanded memparse() to support T, P, and E units in addition to K, M, and G, all the kernel parameters that use that function became capable of more than [KMG] mentioned in kernel-parameters.txt. Expand the introduction t

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

2015-12-23 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- This is for tip:x86/asm. 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/pvcloc

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

2015-12-23 Thread Borislav Petkov
On Wed, Dec 23, 2015 at 03:47:08PM -0800, Andy Lutomirski wrote: > Signed-off-by: Andy Lutomirski > --- > > This is for tip:x86/asm. > > 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/

Re: [PATCH v2 0/6] mm, x86/vdso: Special IO mapping improvements

2015-12-23 Thread Andy Lutomirski
Hi Oleg and Kees- I meant to cc you on this in the first place, but I failed. If you have a few minutes, want to take a peek at these and see if you can poke any holes in them? I'm reasonably confident that they're a considerable improvement over the old state of affairs, but they might still no

Re: A blocksize problem about dax and ext4

2015-12-23 Thread Dave Chinner
On Wed, Dec 23, 2015 at 09:18:05PM +, Elliott, Robert (Persistent Memory) wrote: > > > -Original Message- > > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of > > Dan Williams > > Sent: Wednesday, December 23, 2015 11:16 AM > > To: Cholerae Hu > > Cc: linux-

Re: [PATCH] ASoC: rsnd: fix usrcnt decrementing bug

2015-12-23 Thread Kuninori Morimoto
Hi Andrzej > Field usrcnt is unsigned so it cannot be lesser than zero. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 > > Signed-off-by: Andrzej Hajd

[PATCH v2 1/4] x86/efi: show actual ending addresses in efi_print_memmap

2015-12-23 Thread Robert Elliott
Adjust efi_print_memmap to print the real end address of each range, not 1 byte beyond. This matches other prints like those for SRAT and nosave memory. While investigating grub persistent memory corruption issues, it was helpful to make this table match the ending address convention used by: * th

Re: [PATCH v2] ARM: mm: flip priority of CONFIG_DEBUG_RODATA

2015-12-23 Thread Tony Lindgren
* Nicolas Pitre [151223 13:45]: > On Wed, 23 Dec 2015, Tony Lindgren wrote: > > > Hi, > > > > * Laura Abbott [151223 12:31]: > > > > > > Looks like a case similar to Geert's > > > > > > adr r7, kick_counter > > > wait_dll_lock_timed: > > > ldr r4, wait_dll_lock_counter

Re: [v2,3/5] clk: qcom: Add MSM8996 Global Clock Control (GCC) driver

2015-12-23 Thread Michael Turquette
Hi Andy, On Wed, Dec 16, 2015 at 3:30 PM, Andy Gross wrote: > On Mon, Nov 30, 2015 at 05:31:40PM -0800, Stephen Boyd wrote: >> Add support for the global clock controller found on MSM8996 >> based devices. This should allow most non-multimedia device >> drivers to probe and control their clocks.

Re: [char-misc-next v3 3/8] watchdog: mei_wdt: implement MEI iAMT watchdog driver

2015-12-23 Thread Guenter Roeck
On 12/23/2015 02:38 PM, Winkler, Tomas wrote: On 12/21/2015 11:19 PM, Winkler, Tomas wrote: On 12/21/2015 03:17 PM, Tomas Winkler wrote: Create a driver with the generic watchdog interface for the MEI iAMT watchdog device. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler ---

Re: [char-misc-next v3 4/8] watchdog: mei_wdt: add status debugfs entry

2015-12-23 Thread Guenter Roeck
On 12/23/2015 02:48 PM, Winkler, Tomas wrote: On 12/21/2015 03:17 PM, Tomas Winkler wrote: Add entry for dumping current watchdog internal state Signed-off-by: Tomas Winkler --- V2: new in the series V3: rebase drivers/watchdog/mei_wdt.c | 88 ++

RE: [PATCH v6 3/7] mm: add find_get_entries_tag()

2015-12-23 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Linux-nvdimm [mailto:linux-nvdimm-boun...@lists.01.org] On Behalf Of > Ross Zwisler > Sent: Wednesday, December 23, 2015 1:39 PM > Subject: [PATCH v6 3/7] mm: add find_get_entries_tag() > ... > diff --git a/mm/filemap.c b/mm/filemap.c ... > +unsigned find_get_e

Re: [PATCH v2] ARM: mm: flip priority of CONFIG_DEBUG_RODATA

2015-12-23 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 04:11:22PM -0800, Tony Lindgren wrote: > * Nicolas Pitre [151223 13:45]: > > We fixed a bunch of similar issues where code was located in the .data > > section for ease of use from assembly code. See commit b4e61537 and > > d0776aff for example. > > Thanks hey some asse

Re: [PATCH 02/13] perf hist: Save raw_data/size for tracepoint events

2015-12-23 Thread Namhyung Kim
Hi Arnaldo, On Wed, Dec 23, 2015 at 06:43:35PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 23, 2015 at 02:06:59AM +0900, Namhyung Kim escreveu: > > The raw_data and raw_size fields are to provide tracepoint specific > > information. They will be used by dynamic sort keys later. > > > >

arm64 qemu tests failing in linux-next since 'arm64: kernel: enforce pmuserenr_el0 initialization and restore'

2015-12-23 Thread Guenter Roeck
oblem and how to fix it (presumably in qemu) ? Bisect log is attached below. Reverting commit 60792ad349f3 on top of linux-next fixes the problem. Thanks, Guenter --- # bad: [80c75a0f1d81922bf322c0634d1e1a15825a89e6] Add linux-next specific files for 20151223 # good: [4ef7675344d687a0ef5b0d7c0ce

[PATCH v4 1/6] powerpc/mm: any thread in one core can be the first to setup TLB1

2015-12-23 Thread Chenhui Zhao
On e6500, in the case of cpu hotplug, either thread in one core may be the first thread initilzing the TLB1. The subsequent threads must not setup it again. The code is derived from the comment of Scott Wood. Signed-off-by: Chenhui Zhao --- Changes for v4: * added CONFIG_BOOKE arch/powerpc/inc

Re: [PATCH v6.3 4/6] drm: rockchip: Support Synopsys DW MIPI DSI

2015-12-23 Thread Mark yao
On 2015年12月23日 11:43, Chris Zhong wrote: Add support for Synopsys DesignWare MIPI DSI controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- Changes in v6.3: - move the mipi_en gate to ockchip_drm_crtc_mode_config Changes in v6.2: - Remove the atomic feature check (Mar

[GIT PULL] extcon next for 4.5

2015-12-23 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.5. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-11-15 17:00:27

Re: A blocksize problem about dax and ext4

2015-12-23 Thread Dan Williams
On Wed, Dec 23, 2015 at 4:34 PM, Cholerae Hu wrote: > The block size is 1024. > # dumpe2fs -h /dev/pmem0 | grep "Block size" > dumpe2fs 1.42.13 (17-May-2015) > Block size: 1024 > > I tried it out on xfs and I succeeded. There are the prompting messages: > # mkfs.xfs -f -b size=1024 /

[PATCH v4.1 02/13] perf hist: Save raw_data/size for tracepoint events

2015-12-23 Thread Namhyung Kim
The raw_data and raw_size fields are to provide tracepoint specific information. They will be used by dynamic sort keys later. Signed-off-by: Namhyung Kim --- make a copy of raw_data tools/perf/util/hist.c | 27 +++ tools/perf/util/sort.h | 2 ++ 2 files changed, 29 in

Re: [PATCH] cpufreq: scpi-cpufreq: signedness bug in scpi_get_dvfs_info()

2015-12-23 Thread Rafael J. Wysocki
On Wednesday, December 23, 2015 11:20:04 AM Sudeep Holla wrote: > Hi Rafael, > > On Tue, Dec 15, 2015 at 11:16 AM, Sudeep Holla wrote: > > From: Dan Carpenter > > > > The "domain" variable needs to be signed for the error handling to work. > > > > Fixes: 8def31034d03 ('cpufreq: arm_big_little: a

Re: [PATCH 02/13] perf hist: Save raw_data/size for tracepoint events

2015-12-23 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 24, 2015 at 09:45:45AM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Wed, Dec 23, 2015 at 06:43:35PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Dec 23, 2015 at 02:06:59AM +0900, Namhyung Kim escreveu: > > > The raw_data and raw_size fields are to provide tracepoint specifi

Re: [PATCH v12 16/18] drm: bridge: analogix/dp: expand the wait time for looking AUX CH reply flag

2015-12-23 Thread Yakir Yang
Hi Jingoo, Okay, fine, I would drop this patch, until I found the the root cause. - Yakir On 12/23/2015 11:10 PM, Jingoo Han wrote: On Wednesday, December 23, 2015 9:51 PM, Yakir Yang wrote: On Rockchip platform, sometimes driver would failed at reading EDID message, and it's caused by the AU

RE: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-23 Thread Alan Stern
On Wed, 23 Dec 2015, Hayes Wang wrote: > Oliver Neukum [mailto:oneu...@suse.de] > > Sent: Wednesday, December 23, 2015 4:20 PM > [...] > > No, step (2) does not exist. Calls to suspend() and [reset_]resume() > > always balance. Usually a driver shouldn't care about system suspend. > > The way the

RE: [f2fs-dev] [PATCH 2/4 v2] f2fs: avoid unnecessary f2fs_gc for dir operations

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 2:55 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/4 v2] f2

RE: [f2fs-dev] [PATCH 3/4 v2] f2fs: record node block allocation in dnode_of_data

2015-12-23 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 3:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 3/4 v2] f2fs: record node block alloc

Re: [PATCH v4.1 02/13] perf hist: Save raw_data/size for tracepoint events

2015-12-23 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 24, 2015 at 10:05:34AM +0900, Namhyung Kim escreveu: > The raw_data and raw_size fields are to provide tracepoint specific > information. They will be used by dynamic sort keys later. > > Signed-off-by: Namhyung Kim > --- > make a copy of raw_data > > tools/perf/util/hist.c | 27 ++

Re: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-23 Thread Andy Lutomirski
On Tue, Dec 22, 2015 at 7:25 PM, Zheng, Lv wrote: > Hi, Andy > >> From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- >> ow...@vger.kernel.org] On Behalf Of Andy Lutomirski >> Sent: Wednesday, December 23, 2015 6:49 AM >> Subject: Re: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable()

[PATCH v2] arm64: Store breakpoint single step state into pstate

2015-12-23 Thread Wang Nan
Two 'perf test' fail on arm64: # perf test overflow 17: Test breakpoint overflow signal handler : FAILED! 18: Test breakpoint overflow sampling: FAILED! When breakpoint raises, after perf_bp_event, breakpoint_handler() temporary disables breakpoint and

Problems with 'serial: 8250: move of_serial code to 8250 directory' in linux-next

2015-12-23 Thread Guenter Roeck
root cause. Thanks, Guenter --- bisect log: # bad: [80c75a0f1d81922bf322c0634d1e1a15825a89e6] Add linux-next specific files for 20151223 # good: [4ef7675344d687a0ef5b0d7c0cee12da005870c0] Linux 4.4-rc6 git bisect start 'HEAD' 'v4.4-rc6' # good: [52c8be920db8e42d195ca7fe93fe31

Re: [f2fs-dev] [PATCH 2/4 v2] f2fs: avoid unnecessary f2fs_gc for dir operations

2015-12-23 Thread Jaegeuk Kim
Hi Chao, Right. But, in the rename path, we still need to do f2fs_balance_fs, since it produces another dirty node page in the mean time. How about this? >From bbc5bf8f6c940cd75a4d71ce40ce4bd3f647a823 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 22 Dec 2015 11:56:08 -0800 Subject: [PAT

[PATCH 4/4] f2fs: declare static function

2015-12-23 Thread Jaegeuk Kim
The __f2fs_commit_super is static. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 597b533..75704d9 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1195,7 +1195,7 @@ next: re

[PATCH 3/4] f2fs: avoid f2fs_lock_op in f2fs_write_begin

2015-12-23 Thread Jaegeuk Kim
If f2fs_write_begin is to update data, we can bypass calling f2fs_lock_op() in order to avoid the checkpoint latency in the write syscall. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 43 ++- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git

[PATCH 1/4] f2fs: introduce prepare_write_begin to clean up

2015-12-23 Thread Jaegeuk Kim
This patch adds prepare_write_begin to clean f2fs_write_begin. The major role of this function is to convert any inline_data and allocate or find block address. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 92 ++ 1 file changed, 54 inser

[PATCH 2/4] f2fs: return early when trying to read null nid

2015-12-23 Thread Jaegeuk Kim
If get_node_page() gets zero nid, we can return early without getting a wrong page. For example, get_dnode_of_data() can try to do that. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 341de5d..e17128d 100

[PATCH v4.2 02/13] perf hist: Save raw_data/size for tracepoint events

2015-12-23 Thread Namhyung Kim
The raw_data and raw_size fields are to provide tracepoint specific information. They will be used by dynamic sort keys later. Signed-off-by: Namhyung Kim --- Make a copy using memdup() tools/perf/util/hist.c | 24 tools/perf/util/sort.h | 2 ++ 2 files changed, 26 in

Re: [PATCH 01/11] resource: Add System RAM resource type

2015-12-23 Thread Toshi Kani
On Wed, 2015-12-23 at 15:23 +0100, Borislav Petkov wrote: > On Tue, Dec 22, 2015 at 01:04:32PM -0700, Toshi Kani wrote: : > > I agree that we can add new interfaces with the type check. This > > 'type' > > may need some clarification since it is an assigned type, which is > > different from I/O r

CONTACT nkigr...@yahoo.com FOR FINANCIAL HELP

2015-12-23 Thread NKI GROUP
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

RE: A blocksize problem about dax and ext4

2015-12-23 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: Cholerae Hu [mailto:cholerae...@gmail.com] > Sent: Wednesday, December 23, 2015 8:36 PM > Subject: Re: A blocksize problem about dax and ext4 ... > xfs will silently disable dax when the fs block size is too small, > i.e. your mmap() operations are backed by pag

Re: [PATCH 1/2] power:bq27xxx: fix reading for bq27000 and bq27010

2015-12-23 Thread Andrew F. Davis
On 12/17/2015 04:12 AM, H. Nikolaus Schaller wrote: bug: the driver reports funny capacity values: root@letux:/sys/class/power_supply/bq27000-battery# cat uevent POWER_SUPPLY_NAME=bq27000-battery POWER_SUPPLY_STATUS=Charging POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_VOLTAGE_NOW=3702000 POWER_SUPPLY_CU

Re: [PATCH v3 5/5] hisilicon/dts: Add hi655x pmic dts node

2015-12-23 Thread chenfeng
On 2015/12/23 8:46, Mark Brown wrote: > On Mon, Dec 21, 2015 at 02:20:16PM +0800, chenfeng wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to read and reply to. > ok, thanks fo

Re: [PATCH 2/2] power:bq27xxx: fix register numbers of bq27500

2015-12-23 Thread Andrew F. Davis
On 12/17/2015 04:12 AM, H. Nikolaus Schaller wrote: bug: according to data sheet some register numbers are wrong. tested: no Signed-off-by: H. Nikolaus Schaller Indeed they are, good catch. Acked-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 6 +++--- 1 file changed, 3 ins

Re: [PATCH 0/5] tools build: Make FEATURE_DUMP include makefile

2015-12-23 Thread Wangnan (F)
On 2015/12/24 1:58, Jiri Olsa wrote: hi, Changing the contents of the FEATURE-DUMP file, so it looks like: feature-backtrace=1 feature-dwarf=0 feature-fortify-source=1 feature-sync-compare-and-swap=0 This way it could get included in sub projects, so they won't be forc

Re: [PATCH v4] crypto: KEYS: convert public key and digsig asym to the akcipher api

2015-12-23 Thread Tadeusz Struk
On 12/23/2015 12:21 PM, Herbert Xu wrote: > Why not just leave the MPIs in the structure and only remove them > by adding a third patch? Right, I think that's a better way of resolving this. v5 on it's way. Thanks, -- TS -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH v2 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread David Miller
From: Henri Roosen Date: Wed, 23 Dec 2015 11:42:29 +0100 > + do { > + of_node = dev_walker->of_node; > + dev_walker = dev_walker->parent; > + > + } while (!of_node && dev_walker); Please remove the unnecessary empty line in this loop. Thanks. -- To unsubscribe fr

[PATCH v5 0/3] crypto: KEYS: convert public key to akcipher api

2015-12-23 Thread Tadeusz Struk
This patch set converts the module verification and digital signature code to the new akcipher API. RSA implementation has been removed from crypto/asymmetric_keys and the new API is used for cryptographic primitives. There is no need for MPI above the akcipher API anymore. Modules can be verified

[PATCH v5 3/3] crypto: public_key: remove MPIs from public_key_signature struct

2015-12-23 Thread Tadeusz Struk
After digsig_asymmetric.c is converted the MPIs can be now safely removed from the public_key_signature structure. Signed-off-by: Tadeusz Struk --- include/crypto/public_key.h | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/include/crypto/public_key.h b/inclu

[PATCH v5 2/3] integrity: convert digsig to akcipher api

2015-12-23 Thread Tadeusz Struk
Convert asymmetric_verify to akcipher api. Signed-off-by: Tadeusz Struk --- security/integrity/Kconfig |1 + security/integrity/digsig_asymmetric.c | 10 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/security/integrity/Kconfig b/security/integrity/Kc

[GIT PULL REQUEST] one more md fix for 4.4-rc

2015-12-23 Thread NeilBrown
The following changes since commit 9f7e43278605a0daf4edf7025c52c25e9ace6875: Merge tag 'rtc-4.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux (2015-12-20 10:01:11 -0800) are available in the git repository at: git://neil.brown.name/md tags/md/4.4-rc6-fix for you to f

[PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api

2015-12-23 Thread Tadeusz Struk
This patch converts the module verification code to the new akcipher API. Signed-off-by: Tadeusz Struk --- crypto/asymmetric_keys/Kconfig|2 crypto/asymmetric_keys/Makefile |7 - crypto/asymmetric_keys/pkcs7_parser.c | 12 +- crypto/asymmetric_keys/pkcs7_trus

Re: [PATCH 2/2] bridge: use kobj_to_dev instead of to_dev

2015-12-23 Thread David Miller
From: Geliang Tang Date: Wed, 23 Dec 2015 20:42:21 +0800 > kobj_to_dev has been defined in linux/device.h, so I replace to_dev > with it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

Re: [PATCH 1/2] bonding: drop unused to_dev macro in bond_sysfs.c

2015-12-23 Thread David Miller
From: Geliang Tang Date: Wed, 23 Dec 2015 20:42:20 +0800 > to_dev is not used anymore so drop it. > > Signed-off-by: Geliang Tang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

RE: [f2fs-dev] [PATCH 2/4 v2] f2fs: avoid unnecessary f2fs_gc for dir operations

2015-12-23 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 10:13 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/4 v2] f2fs: avoid un

Re: [RFC PATCH v2 2/3] thread_local_abi: wire up x86 32/64 system call

2015-12-23 Thread Josh Triplett
On December 22, 2015 10:02:12 AM PST, Mathieu Desnoyers wrote: >Wire up the thread local ABI on x86 32/64. Call the >thread_local_abi_handle_notify_resume() function on return to >userspace if TIF_NOTIFY_RESUME thread flag is set. > >This provides an ABI improving the speed of a getcpu operation

[PATCH] staging: android: sync.c: Changed the ways nullptrs were being checked

2015-12-23 Thread Chase Metzger
Removed all checkpatch.pl CHECKs that suggested to check NULL by !obj instead of obj == NULL. Signed-off-by: Chase Metzger --- drivers/staging/android/sync.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/android/sync.c b/drivers/staging/an

Running arm:versatile_defconfig with qemu in linux-next

2015-12-23 Thread Guenter Roeck
Hi all, various versatile and realview configurations fail to run for me with qemu (2.5) in linux-next. Some of those are qemu configurations I collected from various sources, so I guess I am on my own there. However, the following standard configurations no longer work. arm:versatileab:versatil

[PATCH -next] MIPS: VDSO: Fix build error with binutils 2.24 and earlier

2015-12-23 Thread Guenter Roeck
Commit 2a037f310bab ("MIPS: VDSO: Fix build error") tries to fix a build error seen with binutils 2.24 and earlier. However, the fix does not work, and again results in the already known build errors if the kernel is built with an earlier version of binutils. CC arch/mips/vdso/gettimeofday.o

RE: [PATCH 0/7][v4] Add OTG support for FSL socs

2015-12-23 Thread Ramneek Mehresh
> -Original Message- > From: Jun Li [mailto:jun...@nxp.com] > Sent: Wednesday, December 23, 2015 10:02 PM > To: Mehresh Ramneek-B31383 ; Felipe > Balbi ; linux-kernel@vger.kernel.org > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; linux- > u...@vger.kernel.org > Subject: RE:

[PATCH 1/5] watchdog: bcm2835_wdt: Drop log message if watchdog is stopped

2015-12-23 Thread Guenter Roeck
Stopping a watchdog is a normal operation and does not warrant a log message. Signed-off-by: Guenter Roeck --- drivers/watchdog/bcm2835_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/bcm2835_wdt.c b/drivers/watchdog/bcm2835_wdt.c index 8a5ce5b5a0b6..2e6164c4abc0 100644

[PATCH 4/5] watchdog: mena21: Do not use device pointer from struct watchdog_device

2015-12-23 Thread Guenter Roeck
The device pointer in struct watchdog_device has a different lifetime than the driver code and should not be used in drivers. Use pr_err instead of dev_err. Signed-off-by: Guenter Roeck --- drivers/watchdog/mena21_wdt.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[PATCH 5/5] watchdog: qcom-wdt: Do not set 'dev' in struct watchdog_device

2015-12-23 Thread Guenter Roeck
The 'dev' pointer in struct watchdog_device is set by the watchdog core when registering the watchdog device and not by the driver. It points to the watchdog device, not its parent. Signed-off-by: Guenter Roeck --- drivers/watchdog/qcom-wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dr

[PATCH 0/5] watchdog: Do not use 'dev' from watchdog_device in watchdog drivers

2015-12-23 Thread Guenter Roeck
The 'dev' variable in watchdog drivers has a different lifetime than the watchdog character device and should therefore not be used by watchdog drivers. Some of the drivers use the variable to print kernel messages. Those are either dropped or converted to use pr_ functions. One driver sets the va

[PATCH 3/5] watchdog: gpio: Do not use device pointer from struct watchdog_device

2015-12-23 Thread Guenter Roeck
The device pointer in struct watchdog_device has a different lifetime than the driver code and should not be used in drivers. Use pr_crit instead of dev_crit. Signed-off-by: Guenter Roeck --- drivers/watchdog/gpio_wdt.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH 2/5] watchdog: tangox: Print info message using pointer to platform device

2015-12-23 Thread Guenter Roeck
The device pointer in struct watchdog_device should not be used by drivers and may be removed in the near future. Use the platform device pointer for info messages instead. Signed-off-by: Guenter Roeck --- drivers/watchdog/tangox_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [Bugfix v2 1/5] x86/irq: Do not reuse struct apic_chip_data.old_domain as temporary buffer

2015-12-23 Thread Jeremiah Mahler
Jiang, On Wed, Dec 23, 2015 at 10:13:26PM +0800, Jiang Liu wrote: > Function __assign_irq_vector() makes use of apic_chip_data.old_domain > as a temporary buffer, which causes trouble to rollback logic in case of > failure. So use a dedicated temporary buffer for __assign_irq_vector(). > > Signed

[PATCH] extcon: gpio: Fix typo in comment.

2015-12-23 Thread Moritz Fischer
Signed-off-by: Moritz Fischer --- drivers/extcon/extcon-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index 279ff8f..0af543a 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c @@ -12

Re: [PATCH] extcon: gpio: Fix typo in comment.

2015-12-23 Thread Moritz Fischer
On Wed, Dec 23, 2015 at 9:28 PM, Moritz Fischer wrote: > Signed-off-by: Moritz Fischer > --- > drivers/extcon/extcon-gpio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c > index 279ff8f..0af543a 100644 > --- a

Re: [PATCH] pinctrl: nsp-gpio: fix type of iterator

2015-12-23 Thread Yendapally Reddy Dhananjaya Reddy
On 12/24/2015 4:05 AM, Ray Jui wrote: > + Reddy > > On 12/23/2015 2:37 AM, Andrzej Hajda wrote: >> Iterator i declared as unsigned is always non-negative so the >> loop will never end. >> >> The problem has been detected using proposed semantic patch >> scripts/coccinelle/tests/unsigned_lesser_th

[PATCH v2] extcon: gpio: Fix typo in comment (cosmetic)

2015-12-23 Thread Moritz Fischer
Signed-off-by: Moritz Fischer --- drivers/extcon/extcon-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index 279ff8f..d023789 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c @@ -12

RE: [f2fs-dev] [PATCH 2/4] f2fs: return early when trying to read null nid

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 10:15 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/4] f2fs

RE: [f2fs-dev] [PATCH 4/4] f2fs: call f2fs_balance_fs only when node was changed

2015-12-23 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 3:14 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 4/4] f2fs: call f2fs_balance_fs only

RE: [f2fs-dev] [PATCH 3/4] f2fs: avoid f2fs_lock_op in f2fs_write_begin

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 24, 2015 10:15 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 3/4] f2fs

Re: [PATCH 2/2] kexec: Provide arch_kexec_protect(unprotect)_crashkres()

2015-12-23 Thread Dave Young
Ccing Vivek On 12/23/15 at 07:12pm, Xunlei Pang wrote: > Implement the protection method for the crash kernel memory > reservation for the 64-bit x86 kdump. > > Signed-off-by: Xunlei Pang > --- > Only provided x86_64 implementation, as I've only tested on x86_64 so far. > > arch/x86/kernel/mac

<    1   2   3   4   5   6   >