[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 |

[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

[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

[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,

[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

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 >>

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]

[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

[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

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

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

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

[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

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' >

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 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

[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

[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 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(-)

[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 ---

[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

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 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

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) >>

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:

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

[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

[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

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 --

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

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:

[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(-)

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

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 >

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

[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 ---

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; > >

[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

[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

[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

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

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: [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

[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

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 >

[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

[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

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

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: crypto: algif_skcipher - Require setkey before accept(2)

2015-12-24 Thread Julia Lawall
ert, > > [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: >

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(-) > >

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

[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

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

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

[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 ---

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

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

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 > --- >

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:

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

[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

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

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 >

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] > > > + > > +_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]: > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > + ti,no-reset-on-init; > > +}; > > + > > + { > > +

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

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: [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: [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,

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

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; > >

[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

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; > >

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

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

[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

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 --

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

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

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

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 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

[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

[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

[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

[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

[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 +++

[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

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-24 Thread Linus Walleij
On Wed, Dec 2, 2015 at 2:39 AM, Krzysztof Kozlowski wrote: > The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: > > Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) > > are available in the git repository at: > >

[PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread 장영진
>From bc1e491b29d9199f16c6e002a69f9377677b93af Mon Sep 17 00:00:00 2001 From: "yj84.jang" Date: Wed, 16 Dec 2015 08:52:47 +0900 Subject: [PATCH] Move the judgement of timeout into mmc_switch_status_error() __mmc_switch() is possible to misjudge error. Although

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

2015-12-24 Thread Alexey Charkov
2015-12-24 0:35 GMT+03:00 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

Re: [PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-24 Thread Kai Huang
On 12/24/2015 05:11 PM, Xiao Guangrong wrote: On 12/24/2015 04:36 PM, Kai Huang wrote: On 12/23/2015 07:25 PM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow

Re: [PATCH] Move the judgement of timeout into mmc_switch_status_error()

2015-12-24 Thread Jaehoon Chung
Hi, Before send the patch at mailing list, you need to make the patch as mainline style. Maybe..maintainer should not review this patch. Refer to "Linux kernel coding style" and "submitting Patches". Also set your email environment. (Documentation/email-clients.txt) Best Regards, Jaehoon

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

2015-12-24 Thread Chen, Yu C
(resend for messy code) Hi, Andy > -Original Message- > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Thursday, December 24, 2015 9:40 AM > To: Zheng, Lv > Cc: Chen, Yu C; Moore, Robert; Wysocki, Rafael J; Brown, Len; Andy > Lutomirski; Lv Zheng; linux-kernel@vger.kernel.org;

Re: [PATCH] regulator: mt6397: convert to arch_initcall

2015-12-24 Thread Yingjoe Chen
On Wed, 2015-12-23 at 12:00 +, Mark Brown wrote: > On Wed, Dec 23, 2015 at 06:16:08PM +0800, Henry Chen 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.

Re: [PATCH v2 09/11] KVM: MMU: simplify mmu_need_write_protect

2015-12-24 Thread Kai Huang
On 12/23/2015 07:25 PM, Xiao Guangrong wrote: Now, all non-leaf shadow page are page tracked, if gfn is not tracked there is no non-leaf shadow page of gfn is existed, we can directly make the shadow page of gfn to unsync Signed-off-by: Xiao Guangrong ---

Re: [PATCH] vxlan: Properly depend on ipv6 and revert to module_init()

2015-12-24 Thread kbuild test robot
Hi Calvin, [auto build test ERROR on net-next/master] [also build test ERROR on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Calvin-Owens/vxlan-Properly-depend-on-ipv6-and-revert-to-module_init/20151224-070557 config: i386-randconfig-b0-12241357 (attached as .config

Re: [PATCH] gpiolib: Fix uninitialized variable warning

2015-12-24 Thread Linus Walleij
On Wed, Dec 23, 2015 at 10:46 PM, Ross Zwisler wrote: > Commit ef7c7553039b ("gpiolib: improve overlap check of range of gpio") > introduced the following compiler warning: > > drivers/gpio/gpiolib.c: In function ‘gpiochip_add’: > drivers/gpio/gpiolib.c:193:20:

  1   2   3   4   5   6   7   >