Re: [PATCH 6/9] usb: chipidea: debug: use list_for_each_entry

2015-12-24 Thread Peter Chen
On Sat, Dec 19, 2015 at 12:34:31AM +0800, Geliang Tang wrote: > Use list_for_each_entry() instead of list_for_each() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > drivers/usb/chipidea/debug.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/

Re: crypto: algif_skcipher - Require setkey before accept(2)

2015-12-24 Thread Herbert Xu
On Fri, Dec 25, 2015 at 07:54:48AM +0100, Julia Lawall wrote: > Lines 766, 767 don't look correct at all. Thanks Julia. I have sent an updated patch in the original thread. I wonder why I haven't received the original kbuild test robot email though. Cheers, -- Email: Herbert Xu Home Page: http

[PATCH v2] crypto: algif_skcipher - Require setkey before accept(2)

2015-12-24 Thread Herbert Xu
Dmitry Vyukov wrote: > > I am testing with your two patches: > crypto: algif_skcipher - Use new skcipher interface > crypto: algif_skcipher - Require setkey before accept(2) > on top of a88164345b81292b55a8d4829fdd35c8d611cd7d (Dec 23). You sent the email to everyone on the original CC list excep

[PATCH v3 3/4] ocfs2: create/remove sysfile for online file check

2015-12-24 Thread Gang He
Create online file check sysfile when ocfs2 mount, remove the related sysfile when ocfs2 umount. Signed-off-by: Gang He --- fs/ocfs2/super.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 2de4c8a..5ef88b8 100644 --- a/fs/ocfs2/super.c +++ b/fs/

[PATCH v3 4/4] ocfs2: check/fix inode block for online file check

2015-12-24 Thread Gang He
Implement online check or fix inode block during reading a inode block to memory. Signed-off-by: Gang He --- fs/ocfs2/inode.c | 200 +++-- fs/ocfs2/ocfs2_trace.h | 2 + 2 files changed, 196 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/i

[PATCH v3 2/4] ocfs2: sysfile interfaces for online file check

2015-12-24 Thread Gang He
Implement online file check sysfile interfaces, e.g. how to create the related sysfile according to device name, how to display/handle file check request from the sysfile. Signed-off-by: Gang He --- fs/ocfs2/Makefile| 3 +- fs/ocfs2/filecheck.c | 605 +++

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

2015-12-24 Thread Gang He
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 could be considered: A file in the sys filesytem which would accept inode numbers. This could be used

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

2015-12-24 Thread Gang He
Export ocfs2_kset object from ocfs2_stackglue kernel module, then online file check code will create the related sysfiles under ocfs2_kset object. Signed-off-by: Gang He --- fs/ocfs2/stackglue.c | 3 ++- fs/ocfs2/stackglue.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/f

[PATCH 1/2] ftrace: fix the race between ftrace and insmod

2015-12-24 Thread Qiu, PeiyangX
From: Qiu Peiyang We hit ftrace_bug report when booting Android on a 64bit ATOM SOC chip. Basically, there is a race between insmod and ftrace_run_update_code. After load_module=>ftrace_module_init, another thread jumps in to call ftrace_run_update_code=>ftrace_arch_code_modify_prepare

[PATCH 2/2] module: deal with the failure of complete_formation

2015-12-24 Thread Qiu, PeiyangX
From: Qiu Peiyang complete_formation might fail. kernel need clean up ftrace records of the module. The patch fixes it by tuning the operation sequence in complete_formation. After complete_formation checks verify_export_symbols, call ftrace_module_init to init ftrace records. Signed-off-by: Qi

Re: crypto: algif_skcipher - Require setkey before accept(2)

2015-12-24 Thread Julia Lawall
Herbert, > > [auto build test WARNING on crypto/master] > [also build test WARNING on next-20151223] > [cannot apply to v4.4-rc6] > > url: > https://github.com/0day-ci/linux/commits/Herbert-Xu/crypto-algif_skcipher-Require-setkey-before-accept-2/20151224-174142 > base:

[PATCH 1/2] ftrace: fix the race between ftrace and insmod

2015-12-24 Thread Qiu, PeiyangX
From: Qiu Peiyang We hit ftrace_bug report when booting Android on a 64bit ATOM SOC chip. Basically, there is a race between insmod and ftrace_run_update_code. After load_module=>ftrace_module_init, another thread jumps in to call ftrace_run_update_code=>ftrace_arch_code_modify_prepare

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-12-24 Thread Rehanna
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubsc

[PATCH 0/2] fix ftrace initialization issue when a module is loaded

2015-12-24 Thread Qiu, PeiyangX
When a module is loaded, current ftrace initialization around the new module has some issues. 1) ftrace might race with insmod: Just after load_module calls ftrace_module_init to add ftrace records of the module, ftrace_run_update_code might jump in to change module codes. But load_module calls co

Re: [PATCH v3 0/4] Add PWM clock support for bcm2835

2015-12-24 Thread Michael Turquette
On 12/23, Remi Pommarel wrote: > On Sun, Dec 06, 2015 at 05:22:45PM +0100, Remi Pommarel wrote: > > Hi, > > > > This patchset adds support for pwm clock. At boot, this clock does not have > > a > > default parent nor a default rate set. Thus we should be able to change its > > parent to get this

[PATCH] nvmem: mediatek: Fix later provider initialization

2015-12-24 Thread Andrew-CT Chen
Possibly, provider driver initialization is later than consumer driver. Use function subsys_initcall to initialize NVMEM provider early to ensure NVMEM consumer doesn't need to -EPROBE_DEFER. Signed-off-by: Andrew-CT Chen --- drivers/nvmem/mtk-efuse.c | 23 ++- 1 file changed

[PATCH] ACPI / debugger: Fix a redundant mutex unlock issue in acpi_aml_open()

2015-12-24 Thread Lv Zheng
Fix a double mutex_unlock() issue where acpi_initialize_debugger() is called with the mutex already unlocked. Reported-by: Dan Carpenter Signed-off-by: Lv Zheng --- drivers/acpi/acpi_dbg.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/acpi_dbg.c b/drivers

Re: [PATCH v2] Staging: olpc_dcon: Remove obsolete driver

2015-12-24 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system] Hi Shraddha, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/shraddha-6596-gmail-com/Sta

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

2015-12-24 Thread Caesar Wang
Hi Xing, 在 2015年12月23日 17:19, Xing Zheng 写道: This patch describe the emac, and we need to let mac clock under the APLL which is able to provide the accurate 50MHz what mac_ref need. Signed-off-by: Xing Zheng --- arch/arm/boot/dts/rk3036-evb.dts | 25 + arch/arm/

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread kbuild test robot
-to-be-exported-on-proc-atags/20151224-220541 base: https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git for-next config: arm-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin

Re: [PATCH 3/7][v4][RESEND]usb:fsl:otg: Add support to add/remove usb host driver

2015-12-24 Thread kbuild test robot
-socs/20151224-192624 base: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next config: powerpc-mpc837x_rdb_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod

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

2015-12-24 Thread Jaegeuk Kim
Hi Chao, On Fri, Dec 25, 2015 at 09:18:06AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Friday, December 25, 2015 5:52 AM > > To: Chao Yu > > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > > l

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

2015-12-24 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Chao Yu [mailto:chao2...@samsung.com] > Sent: Wednesday, December 23, 2015 5:47 PM > To: 'Jaegeuk Kim' > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 4/4]

Re: [PATCH v3] um: Fix build error and kconfig for i386

2015-12-24 Thread Josh Triplett
On Thu, Dec 24, 2015 at 01:12:11PM +0100, Mickaël Salaün wrote: > Fix build error by generating elfcore.o only when ELF_CORE (depending on > COREDUMP) is selected: > > arch/x86/um/built-in.o: In function `elf_core_write_extra_phdrs': > (.text+0x3e62): undefined reference to `dump_emit' > arch/x86/

Re: [PATCH v2] um: Fix build error and kconfig for i386

2015-12-24 Thread Josh Triplett
On Thu, Dec 24, 2015 at 01:09:45PM +0100, Mickaël Salaün wrote: > > On 23/12/2015 22:42, Josh Triplett wrote: > > On Wed, Dec 23, 2015 at 01:59:13PM +0100, Mickaël Salaün wrote: > >> Fix build error by selecting COREDUMP when X86_32 is selected: > >> > >> arch/x86/um/built-in.o: In function `elf_c

Re: [PATCH 1/2] dell-wmi: Check if Dell WMI descriptor structure is valid

2015-12-24 Thread Andy Lutomirski
On Thu, Dec 24, 2015 at 1:18 PM, Pali Rohár wrote: > According to Dell WMI document mentioned in ML dicussion archived at > http://www.spinics.net/lists/platform-driver-x86/msg07220.html OS should > check Dell WMI descriptor structure. Structure also provide Dell WMI > interface version which is u

Re: linux-next: kernel panic in ipv6_defrag

2015-12-24 Thread Junxiao Bi
On 12/23/2015 04:59 PM, Florian Westphal wrote: > Junxiao Bi wrote: >> The following panic happened when I run ocfs2-test on linux-next. Kernel >> config is attached. >> >> [64910.905501] BUG: unable to handle kernel NULL pointer dereference at >> (null) >> [64910.906466] IP: [] nf_ct_fr

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

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

[PATCH] f2fs: early check broken symlink length in the encrypted case

2015-12-24 Thread Jaegeuk Kim
If link is broken, its len is zero, and we don't need to move forward. Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index fb41c80..5cc4128 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs

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

2015-12-24 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, December 25, 2015 4:16 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] f2fs: return early w

[PATCHV5 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-24 Thread Tony Luck
Using __copy_user_nocache() as inspiration create a memory copy routine for use by kernel code with annotations to allow for recovery from machine checks. Notes: 1) We align the source address rather than the destination. This means we never have to deal with a memory read that spans two cac

Re: [PATCH v2 0/8] Raspberry Pi 2 support.

2015-12-24 Thread Eric Anholt
Arnd Bergmann writes: > On Tuesday 22 December 2015, Alexander Aring wrote: >> Later while booting the kernel hangs forever, the solution on my side >> was to enable: >> >> CONFIG_HAVE_ARM_ARCH_TIMER >> >> I think this doesn't use the BCM2835 timer anymore and some cortex-a7 >> related "generic

Re: [PATCH] drm/vc4: fix build warning

2015-12-24 Thread Eric Anholt
Sudip Mukherjee writes: > We were getting build warning: > > drivers/gpu/drm/vc4/vc4_validate.c: In function 'validate_gl_shader_rec': > drivers/gpu/drm/vc4/vc4_validate.c:864:4: > warning: format '%d' expects argument of type 'int', but argument 4 has type > 'size_t' [-Wformat=] > DRM_ERROR("BO

Re: [PATCH v2 1/3] clk: bcm2835: Add bindings for the auxiliary peripheral clock gates.

2015-12-24 Thread Eric Anholt
Michael Turquette writes: > On Fri, Dec 18, 2015 at 8:19 PM, Rob Herring wrote: >> On Tue, Dec 15, 2015 at 03:35:57PM -0800, Eric Anholt wrote: >>> These will be used for enabling UART1, SPI1, and SPI2. >>> >>> Signed-off-by: Eric Anholt >>> --- >>> >>> v2: Make the binding cover both the IRQ a

Re: Running arm:versatile_defconfig with qemu in linux-next

2015-12-24 Thread Peter Maydell
On 24 December 2015 at 19:51, Guenter Roeck wrote: > I can not get the available dtb files for realview (arm-realview-pb1176.dtb > and arm-realview-pb11mp.dtb) to work with anything I tried. This is because QEMU does not model either of these two boards. thanks -- PMM -- To unsubscribe from this

Re: [PATCH 3.2 00/77] 3.2.75-rc1 review

2015-12-24 Thread Ben Hutchings
On Thu, 2015-12-24 at 14:20 -0800, Guenter Roeck wrote: > On 12/24/2015 07:37 AM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.75 > > release. > > There are 77 patches in this series, which will be posted as > > responses > > to this one.  If anyone has any issu

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

2015-12-24 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 --- v2: No change drivers/watchdog/tangox_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 del

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

2015-12-24 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 messages are either dropped or changed to use the parent device. One driver

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

2015-12-24 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 the pointer to the parent device instead. Signed-off-by: Guenter Roeck --- v2: Print messages using parent device drivers/watchdog/gpio_wdt.c | 3 ++- 1 file changed

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

2015-12-24 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 the pointer to the parent device instead. Signed-off-by: Guenter Roeck --- v2: Print messages using parent device drivers/watchdog/mena21_wdt.c | 4 ++-- 1 file chan

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

2015-12-24 Thread Guenter Roeck
Stopping a watchdog is a normal operation and does not warrant a log message. Signed-off-by: Guenter Roeck --- v2: No change 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..2e61

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

2015-12-24 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 --- v2: No change drivers/watchdog/qcom-wdt.c | 1 - 1 file changed, 1 deletion(-)

Re: [PATCH 3.2 00/77] 3.2.75-rc1 review

2015-12-24 Thread Guenter Roeck
On 12/24/2015 07:37 AM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.75 release. There are 77 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made b

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

2015-12-24 Thread Jaegeuk Kim
Hi Chao, On Thu, Dec 24, 2015 at 12:33:50PM -0800, Jaegeuk Kim wrote: > Hi Chao, > > On Thu, Dec 24, 2015 at 01:50:32PM +0800, Chao Yu wrote: > > Hi Jaegeuk, > > > > > -Original Message- > > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > > Sent: Thursday, December 24, 2015 10:15 AM

Re: [PATCHV4 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-24 Thread Borislav Petkov
On Tue, Dec 15, 2015 at 05:30:49PM -0800, Tony Luck wrote: > Using __copy_user_nocache() as inspiration create a memory copy > routine for use by kernel code with annotations to allow for > recovery from machine checks. > > Notes: > 1) We align the source address rather than the destination. This

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

2015-12-24 Thread Toshi Kani
On Thu, 2015-12-24 at 20:58 +0100, Borislav Petkov wrote: > On Thu, Dec 24, 2015 at 10:08:57AM -0700, Toshi Kani wrote: > > As for checkpatch, I noticed that commit 9c0ece069b3 removed "feature > > -removal.txt" file, and checkpatch removed this check in commit > > 78e3f1f01d2. checkpatch does not

Re: [PATCH 3.2 33/77] ext4: Fix handling of extended tv_sec

2015-12-24 Thread David Turner
LGTM. On Thu, 2015-12-24 at 15:37 +, Ben Hutchings wrote: > 3.2.75-rc1 review patch. If anyone has any objections, please let me > know. > > -- > > From: David Turner > > commit a4dad1ae24f850410c4e60f22823cba1289b8d52 upstream. > > In ext4, the bottom two bits of {a,c,m}

[PATCH 2/2] dell-wmi: Process only one event on devices with interface version 0

2015-12-24 Thread Pali Rohár
BIOS/ACPI on devices with WMI interface version 0 does not clear buffer before filling it. So next time when BIOS/ACPI send WMI event which is smaller as previous then it contains garbage in buffer from previous event. BIOS/ACPI on devices with WMI interface version 1 clears buffer and sometimes s

[PATCH 1/2] dell-wmi: Check if Dell WMI descriptor structure is valid

2015-12-24 Thread Pali Rohár
According to Dell WMI document mentioned in ML dicussion archived at http://www.spinics.net/lists/platform-driver-x86/msg07220.html OS should check Dell WMI descriptor structure. Structure also provide Dell WMI interface version which is used later. Signed-off-by: Pali Rohár --- drivers/platform

[PATCH 0/2] Fixes for dell-wmi

2015-12-24 Thread Pali Rohár
This patch series adds check if Dell WMI descriptor structure is valid and fixes processing WMI events on devices with WMI interface version 0. After testing, second patch is good candidate for backporting into stable kernels, but problem is that it cannot be used without first patch. So I let dec

[PATCHV4 3/3] x86, ras: Add __mcsafe_copy() function to recover from machine checks

2015-12-24 Thread Tony Luck
Using __copy_user_nocache() as inspiration create a memory copy routine for use by kernel code with annotations to allow for recovery from machine checks. Notes: 1) We align the source address rather than the destination. This means we never have to deal with a memory read that spans two cac

[PATCHV4 2/3] x86, ras: Extend machine check recovery code to annotated ring0 areas

2015-12-24 Thread Tony Luck
Extend the severity checking code to add a new context IN_KERN_RECOV which is used to indicate that the machine check was triggered by code in the kernel with a fixup entry. Add code to check for this situation and respond by altering the return IP to the fixup address. Major re-work to the tail

[PATCHV4 1/3] x86, ras: Add new infrastructure for machine check fixup tables

2015-12-24 Thread Tony Luck
Copy the existing page fault fixup mechanisms to create a new table to be used when fixing machine checks. Note: 1) At this time we only provide a macro to annotate assembly code 2) We assume all fixups will in code builtin to the kernel. 3) Only for x86_64 4) New code under CONFIG_MCE_KERNEL_RECOV

[PATCHV4 0/3] Machine check recovery when kernel accesses poison

2015-12-24 Thread Tony Luck
Ingo: I think I have fixed up everything to make all the people who commented happy. Do you have any further suggestions, or is this ready to go into the tip tree? This series is initially targeted at the folks doing filesystems on top of NVDIMMs. They really want to be able to return -EIO when th

Re: [PATCH 4/5] f2fs: support data flush in ioctl

2015-12-24 Thread Jaegeuk Kim
Hi Chao, On Thu, Dec 24, 2015 at 06:10:25PM +0800, Chao Yu wrote: > Sometimes user want to sync all data belong to superblock into storage > for persistence, 'syncfs' syscall is one option, still f2fs supports > similar one through ioctl, difference is that sb releted kworker is > online for write

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

2015-12-24 Thread Ross Zwisler
On Thu, Dec 24, 2015 at 4:06 AM, Tetsuo Handa wrote: > Michal Hocko wrote: >> This is VM_BUG_ON_PAGE(page_mapped(page), page), right? Could you attach >> the full kernel log? It all smells like a race when OOM reaper tears >> down the mapping and there is a truncate still in progress. But hitting

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

2015-12-24 Thread Ross Zwisler
On Thu, Dec 24, 2015 at 2:47 AM, Michal Hocko wrote: > On Wed 23-12-15 16:00:09, Ross Zwisler wrote: > [...] >> While running xfstests on next-20151223 I hit a pair of kernel BUGs >> that bisected to this commit: >> >> 1eb3a80d8239 ("mm, oom: introduce oom reaper") > > Thank you for the report and

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

2015-12-24 Thread Jaegeuk Kim
Hi Chao, On Thu, Dec 24, 2015 at 01:50:32PM +0800, Chao Yu wrote: > 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.

[PATCH] surface pro 4: Add support for Surface Pro 4 Buttons

2015-12-24 Thread Weng Xuetian
Surface Pro 4 button is managed by a device with _HID "MSHW0040" different from Surface Pro 3. This commit adds MSHW0040 to id list to Support Surface Pro 4, and rename the driver to surfacepro_button accordingly. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=109871 Signed-off-by: Weng Xu

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

2015-12-24 Thread Jaegeuk Kim
On Thu, Dec 24, 2015 at 01:49:24PM +0800, Chao Yu wrote: > 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.s

Re: mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-24 Thread Sasha Levin
On 12/21/2015 04:14 PM, Christoph Lameter wrote: > On Mon, 21 Dec 2015, Sasha Levin wrote: > >> > I've also noticed a new warning from the workqueue code which my scripts >> > didn't pick up before: >> > >> > [ 3462.380681] BUG: workqueue lockup - pool cpus=2 node=2 flags=0x4 nice=0 >> > stuck fo

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

2015-12-24 Thread Paul Kocialkowski
Le jeudi 24 décembre 2015 à 19:35 +, Mark Brown a écrit : > On Thu, Dec 24, 2015 at 07:12:53PM +0100, Paul Kocialkowski wrote: > > Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > > > > This isn't really adding support for the enable GPIO as the changelog > > > suggests, it's

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

2015-12-24 Thread Borislav Petkov
On Thu, Dec 24, 2015 at 10:08:57AM -0700, Toshi Kani wrote: > As for checkpatch, I noticed that commit 9c0ece069b3 removed "feature > -removal.txt" file, and checkpatch removed this check in commit > 78e3f1f01d2. checkpatch does not have such check since then. So, I am > inclined not to add this

Re: Running arm:versatile_defconfig with qemu in linux-next

2015-12-24 Thread Guenter Roeck
Hi Arnd, On 12/24/2015 01:58 AM, Arnd Bergmann wrote: On Thursday 24 December 2015, Guenter Roeck wrote: 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

Re: Documentation-getdelays: Less function calls in usage()

2015-12-24 Thread SF Markus Elfring
>> A single call of the fprintf() function is sufficient for the desired >> display of the usage information. > > This seems like churn that doesn't actually fix anything. Will it matter occasionally to reduce the number of function calls by combining several text fragments into the passing of on

Re: [lkp] [resources] 09b7f22ba7: BUG: sleeping function called from invalid context at mm/slub.c:1287

2015-12-24 Thread Yinghai Lu
On Tue, Dec 22, 2015 at 10:54 PM, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git > for-pci-v4.5-next > commit 09b7f22ba7bc2c45f7b2b1588c17d5264dc571f4 ("resources: Make > allocate_resource() return bes

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
Hi, Le mercredi 23 décembre 2015 à 13:03 -0300, Javier Martinez Canillas a écrit : > Hello Paul, > > [snip] > > > + > > +&omap3_pmx_core { > > + pinctrl-names = "default"; > > + > > + uart3_pins: pinmux_uart3_pins { > > + pinctrl-single,pins = < > > +

Re: [PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-24 Thread Paul Kocialkowski
Hi, Le mercredi 23 décembre 2015 à 07:44 -0800, Tony Lindgren a écrit : > * Paul Kocialkowski [151223 03:00]: > > +&gpio1 { > > + ti,no-reset-on-init; > > +}; > > + > > +&gpio2 { > > + ti,no-reset-on-init; > > +}; > > + > > +&gpio3 { > > + ti,no-reset-on-init; > > +}; > > + > > +&gpio4 { >

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

2015-12-24 Thread Mark Brown
On Thu, Dec 24, 2015 at 07:12:53PM +0100, Paul Kocialkowski wrote: > Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > > This isn't really adding support for the enable GPIO as the changelog > > suggests, it's requesting but not managing the GPIO. Since there is > > core support

[PATCH] Input: evdev: avoid storing newest SYN_REPORT when dropping all events

2015-12-24 Thread Aniroop Mathur
The newest event can be SYN_REPORT in case of dropping all old events when buffer is full, but as now there is no device data available to read so lets drop SYN_REPORT as well and store only SYN_DROPPED. Signed-off-by: Aniroop Mathur --- drivers/input/evdev.c | 17 +++-- 1 file chang

Re: [PATCH V7 04/24] coresight: moving PM runtime operations to core framework

2015-12-24 Thread Rabin Vincent
On Wed, Dec 23, 2015 at 09:27:28AM -0700, Mathieu Poirier wrote: > On 19 December 2015 at 10:13, Rabin Vincent wrote: > > It should presumably be using pm_runtime_put() instead. > > That's a first - what platform did you test on? If I send you fixes > will you be able to help me with the verific

Re: [PATCH 1/5] arm: devtree: Set system_rev from DT "/revision"

2015-12-24 Thread Pali Rohár
On Monday 06 July 2015 22:26:09 Pali Rohár wrote: > With this patch "/revision" DT entry is used to set global system_rev > variable. DT "/revision" is expected to be u32 numeric value. > > TODO: add documentation > > Signed-off-by: Pali Rohár > --- > arch/arm/kernel/devtree.c | 12 ++

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Ivaylo Dimitrov
On 24.12.2015 20:53, Tony Lindgren wrote: * Pali Rohár [151224 09:48]: On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: So it can be used by code outside arch/arm/kernel/. Fix save_atags() declaration to match its definition while at it. Signed-off-by: Ivaylo Dimitrov Tested-

Re: [PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Tony Lindgren
* Pali Rohár [151224 09:49]: > On Thursday 24 December 2015 17:37:56 Ivaylo Dimitrov wrote: > > Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the > > bootloader (boot reason, device serial, boot mode, various GPIO > > swithes, etc). Save that data early enough in the boot proces

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Tony Lindgren
* Pali Rohár [151224 09:48]: > On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: > > So it can be used by code outside arch/arm/kernel/. Fix save_atags() > > declaration to match its definition while at it. > > > > Signed-off-by: Ivaylo Dimitrov > > Tested-by: Pali Rohár Nice, plea

[PATCH] thinkpad_acpi: Add support for keyboard backlight

2015-12-24 Thread Pali Rohár
This patch adds support for controlling keyboard backlight via standard linux led class interface (::kbd_backlight). It uses ACPI HKEY device with MLCG and MLCS methods. Signed-off-by: Pali Rohár Tested-by: Fabio D'Urso --- drivers/platform/x86/thinkpad_acpi.c | 205 +++

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

2015-12-24 Thread Paul Kocialkowski
Le mercredi 23 décembre 2015 à 11:56 +, Mark Brown a écrit : > On Wed, Dec 23, 2015 at 11:58:37AM +0100, Paul Kocialkowski wrote: > > > + gpio = lp->pdata->enable_gpio; > > + if (!gpio_is_valid(gpio)) > > + return 0; > > + > > + /* Always set enable GPIO high. */ > > + ret =

Re: [PATCH] Input: xpad - use LED API when identifying wireless controllers

2015-12-24 Thread Pavel Rojtberg
2015-12-21 21:06 GMT+01:00 Dmitry Torokhov : > On Sun, Dec 20, 2015 at 01:49:25PM +0100, Pavel Rojtberg wrote: >> 2015-12-20 8:55 GMT+01:00 Dmitry Torokhov : >> > On Sat, Dec 19, 2015 at 10:17:09PM +0100, Clement Calmels wrote: >> >> On Wed, 16 Dec 2015 14:44:08 -0800 >> >> Dmitry Torokhov wrote:

[PATCH v2] Staging: olpc_dcon: Remove obsolete driver

2015-12-24 Thread shraddha.6596
From: Shraddha Barke Remove support for One Laptop Per Child organization since it is dead. http://www.olpcnews.com/about_olpc_news/goodbye_one_laptop_per_child.html Signed-off-by: Shraddha Barke --- Changes in v2- Added mailing list and other maintainers MAINTAINERS

Re: Documentation-getdelays: Fix a check for container file usage in main()

2015-12-24 Thread SF Markus Elfring
>> The close() function could be called by the main() function even if >> the passed variable "cfd" was assigned a negative value. … > This seems more easily fixed by simply making the condition > 0. How do you think about the reuse of the error predicate "cfd != -1" for the return value from a ca

[PATCH] PM / Domains: Fix typo in comment

2015-12-24 Thread Moritz Fischer
Signed-off-by: Moritz Fischer --- drivers/base/power/domain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 65f50ec..53e81ac 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -160,7 +

Re: [PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Pali Rohár
On Thursday 24 December 2015 17:37:56 Ivaylo Dimitrov wrote: > Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the > bootloader (boot reason, device serial, boot mode, various GPIO > swithes, etc). Save that data early enough in the boot process, so > it can be exported later in /p

Re: [PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Pali Rohár
On Thursday 24 December 2015 17:37:55 Ivaylo Dimitrov wrote: > So it can be used by code outside arch/arm/kernel/. Fix save_atags() > declaration to match its definition while at it. > > Signed-off-by: Ivaylo Dimitrov Tested-by: Pali Rohár -- Pali Rohár pali.ro...@gmail.com signature.asc De

[PATCH v2 3/3] can: sja1000: of: add compatibility with Technologic Systems version

2015-12-24 Thread Damien Riegel
Technologic Systems provides an IP compatible with the SJA1000, instantiated in an FPGA. Because of some bus widths issue, access to registers is made through a "window" that works like this: base + 0x0: address to read/write base + 0x2: 8-bit register value This commit adds a new compati

[PATCH v2 1/3] can: sja1000: of: add per-compatible init hook

2015-12-24 Thread Damien Riegel
This commit adds the capability to allocate and init private data embedded in the sja1000_priv structure on a per-compatible basis. The device node is passed as a parameter of the init callback to allow parsing of custom device tree properties. Signed-off-by: Damien Riegel --- drivers/net/can/sj

[PATCH v2 2/3] can: sja1000: add documentation for Technologic Systems version

2015-12-24 Thread Damien Riegel
This commit adds documentation for the Technologic Systems version of SJA1000. The difference with the NXP version is in the way the registers are accessed. Signed-off-by: Damien Riegel --- Documentation/devicetree/bindings/net/can/sja1000.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[PATCH v2 0/3] can: sja1000: support for technologic version

2015-12-24 Thread Damien Riegel
This patchset introduces support for the technologic version of the SJA1000. Access to IP's registers are proxied through a window, requiring two bus accesses to read or write a register. These accesses must be protected by a spinlock to prevent race conditions. Currently, there is no easy way to a

[GIT] Sparc

2015-12-24 Thread David Miller
Please pull to get the following sparc bug fixes: 1) Finally make perf stack backtraces stable on sparc, several problems (mostly due to the context in which the user copies from the stack are done) contributed to this. From Rob Gardner. 2) Export ADI capability if the cpu supports it.

BUG: Bad rss-counter state mm:ffff8800c5a96000 idx:3 val:3894

2015-12-24 Thread Jeremiah Mahler
all, I have started seeing a "Bad rss-counter" message in the logs with the latest linux-next 20151222+. [ 458.282192] BUG: Bad rss-counter state mm:8800c5a96000 idx:3 val:3894 I can test patches if anyone has any ideas. -- - Jeremiah Mahler -- To unsubscribe from this list: send the li

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

2015-12-24 Thread Toshi Kani
On Wed, 2015-12-23 at 19:23 -0700, Toshi Kani wrote: > 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 clarificatio

Re: [PATCH] tty/serial: Skip 'NULL' char after console break when sysrq enabled

2015-12-24 Thread David Miller
From: Vijay Kumar Date: Wed, 23 Dec 2015 10:55:33 -0800 > When sysrq is triggered from console, serial driver for SUN hypervisor > console receives a console break and enables the sysrq. It expects a valid > sysrq char following with break. Meanwhile if driver receives 'NULL' > ASCII char then it

[PATCH 0/2] OMAP: RX51: save atags data to be exported on /proc/atags

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 legacy userspace needs ATAGS passed by the bootloder to be available in /proc/atags. With DT booted kernel this information is no longer availabe. Fix that by saving ATAGS data early in the boot stage so it can be exported in /proc/atags later Ivaylo Dimitrov (2): ARM: ATAGS: move sa

[PATCH 2/2] OMAP: RX51: save ATAGS data in the early boot stage

2015-12-24 Thread Ivaylo Dimitrov
Nokia N900 (RX51) legacy userspace needs various ATAGS passed by the bootloader (boot reason, device serial, boot mode, various GPIO swithes, etc). Save that data early enough in the boot process, so it can be exported later in /proc/atags Signed-off-by: Ivaylo Dimitrov --- arch/arm/mach-omap2/b

[PATCH 1/2] ARM: ATAGS: move save_atags() to include/asm arch/arm/include/asm/setup.h

2015-12-24 Thread Ivaylo Dimitrov
So it can be used by code outside arch/arm/kernel/. Fix save_atags() declaration to match its definition while at it. Signed-off-by: Ivaylo Dimitrov --- arch/arm/include/asm/setup.h | 6 ++ arch/arm/kernel/atags.h | 6 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2] sparc64: Add ADI capability to cpu capabilities

2015-12-24 Thread David Miller
From: Khalid Aziz Date: Thu, 17 Dec 2015 10:33:50 -0700 > Add ADI (Application Data Integrity) capability to cpu capabilities list. > ADI capability allows virtual addresses to be encoded with a tag in > bits 63-60. This tag serves as an access control key for the regions > of virtual address wit

Re: [PATCH 3.2 00/77] 3.2.75-rc1 review

2015-12-24 Thread Ben Hutchings
This is the combined diff for 3.2.75-rc1 relative to 3.2.74. Ben. -- Ben Hutchings If the facts do not conform to your theory, they must be disposed of. diff --git a/Makefile b/Makefile index 89a7d05..d7073cb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 2 -SUBL

Re: [PATCH -next RESEND] sparc: Hook up userfaultfd system call

2015-12-24 Thread David Miller
From: Mike Kravetz Date: Fri, 20 Nov 2015 15:54:06 -0800 > After hooking up system call, userfaultfd selftest was successful for > both 32 and 64 bit version of test. > > Signed-off-by: Mike Kravetz Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH resend 0/9] usb: host: ehci.h cleanup

2015-12-24 Thread Geyslan G. Bem
2015-12-24 13:27 GMT-03:00 Greg Kroah-Hartman : > On Thu, Dec 24, 2015 at 01:01:36PM -0300, Geyslan G. Bem wrote: >> >> 2015-12-11 18:24 GMT-03:00 Geyslan G. Bem : >> >> This cleanup was done with the help of checkpatch and coccinelle tools. >> >> Geyslan G. Bem (9): >> usb: host: ehc

[PATCH v2 2/7] udf: Check output buffer length when converting name to CS0

2015-12-24 Thread Andrew Gabbasov
If a name contains at least some characters with Unicode values exceeding single byte, the CS0 output should have 2 bytes per character. And if other input characters have single byte Unicode values, then the single input byte is converted to 2 output bytes, and the length of output becomes larger

[PATCH v2 3/7] udf: Parameterize output length in udf_put_filename

2015-12-24 Thread Andrew Gabbasov
Make the desired output length a parameter rather than have it hard-coded to UDF_NAME_LEN. Although all call sites still have this length the same, this parameterization will make the function more universal and also consistent with udf_get_filename. Signed-off-by: Andrew Gabbasov --- fs/udf/nam

  1   2   3   4   >