Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-12-25 Thread Ralf Baechle
On Sun, Dec 25, 2016 at 09:16:16AM +0800, kbuild test robot wrote: (dropping Markos who's email address is no longer valid from the cc list.) > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head:

[PATCH] clean_bdev_aliases: Prevent cleaning blocks that are not in block range

2016-12-25 Thread Chandan Rajendra
The first block to be cleaned may start at a non-zero page offset. In such a scenario clean_bdev_aliases() will end up cleaning blocks that do not fall in the range of blocks to be cleaned. This commit fixes the issue by skipping blocks that do not fall in valid block range. Signed-off-by:

Re: [PATCH] mtd: mtdswap: use MTDSWAP_ECNT_MIN/MAX

2016-12-25 Thread Marek Vasut
On 12/24/2016 04:18 PM, Geliang Tang wrote: > On Fri, Dec 23, 2016 at 07:51:56PM +0100, Marek Vasut wrote: >> On 12/20/2016 02:54 PM, Geliang Tang wrote: >>> Since macros MTDSWAP_ECNT_MIN() and MTDSWAP_ECNT_MAX() have been >>> defined in mtdswap.c, use them instead of open-coding. >>> >>>

[GIT pull] time/timers: Type cleanups

2016-12-25 Thread Thomas Gleixner
On Sun, 25 Dec 2016, Thomas Gleixner wrote: > Linus, > > please pull the latest timers-urgent-for-linus git tree from: Sorry forgot to add [GIT pull] into the subject line. And forgot to wish you: Merry Christmas! Thanks, tglx

[PATCH] drivers: watchdog: pika_wdt: add __ro_after_init to ident

2016-12-25 Thread Bhumika Goyal
The object ident of type watchdog_info structure is not modified after getting initialized by pikawdt_init. Apart from getting referenced in init it is also passed as an argument to the function copy_to_user but this argument is of type const void *. Therefore add __ro_after_init to its

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-12-25 Thread Heinrich Schuchardt
The patch adds a new property "linux,hotpluggable" to memory nodes of the device tree. memory@0 { reg = <0x0 0x0100 0x0 0x7f00>; linux,hotpluggable; } Memory areas marked by this property can later be disabled using the hotplugging API. Especially for virtual machines

Re: [PATCH v2 1/4] vfio-mdev: Fix remove race

2016-12-25 Thread Kirti Wankhede
On 12/23/2016 1:51 AM, Alex Williamson wrote: > Using the mtty mdev sample driver we can generate a remove race by > starting one shell that continuously creates mtty devices and several > other shells all attempting to remove devices, in my case four remove > shells. The fault occurs in

[snd-usb-audio] BUG: NULL pointer dereference at 0000000000000070

2016-12-25 Thread Dave Young
Hi, With recent mainline kernel, I see a BUG, it is easy to reproduce, just plugging the usb microphone, bisected the first bad commit is: 16200948d8353fe29a473a394d7d26790deae0e7 is the first bad commit commit 16200948d8353fe29a473a394d7d26790deae0e7 Author: Takashi Iwai Date:

[GIT pull] smp/hotplug: Removal of notifiers

2016-12-25 Thread Thomas Gleixner
Linus, please pull the latest smp-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-urgent-for-linus This is the final cleanup of the hotplug notifier infrastructure. The series has been reintgrated in the last two days because there came a new

[PATCH] x86/e820: make e820_search_gap() static and remove unused variables

2016-12-25 Thread Wei Yang
e820_search_gap() is just used locally now and the start_addr and end_addr is fixed. Also gapstart is not checked in this function. The patch makes e820_search_gap() static and remove those unused variables. Signed-off-by: Wei Yang --- arch/x86/include/asm/e820.h |

[tip:smp/urgent] ARM/imx/mmcd: Fix broken cpu hotplug handling

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: a051f220d6b9bf9367695e2c319ccc3712b631ee Gitweb: http://git.kernel.org/tip/a051f220d6b9bf9367695e2c319ccc3712b631ee Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:48 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

fs/xfs/xfs_ondisk.h:96:2: error: call to '__compiletime_assert_96' declared with attribute error: XFS: sizeof(xfs_dir2_sf_entry_t) is wrong, expected 3

2016-12-25 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 10 months

[tip:timers/urgent 2/4] include/linux/futex.h:10:51: error: unknown type name 'ktime_t'

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: frv-defconfig (attached as .config) compiler: frv-linux-gcc (GCC) 6.2.0

[tip:smp/urgent] irqchip/armada-xp: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 008b69e4d52f2cbee3ed0d0502edd78155000b1a Gitweb: http://git.kernel.org/tip/008b69e4d52f2cbee3ed0d0502edd78155000b1a Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:57 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] irqchip/gic: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 6896bcd198df04777820cab4acc70142e87d5ce0 Gitweb: http://git.kernel.org/tip/6896bcd198df04777820cab4acc70142e87d5ce0 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:56 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:timers/urgent 2/4] kernel/time/tick-common.c:233:3: warning: 'next_event' may be used uninitialized in this function

2016-12-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent head: 75f62a4c59d4fce751f8ee71f87955943fd69b74 commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config) compiler:

Re: [PATCH v3 1/5] include: Add definitions for sed

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > diff --git a/include/linux/sed.h b/include/linux/sed.h > > +/* > + * These constant values come from: > + * TCG Storage Architecture Core Spec v2.01 r1 > + * Section: 3.3 Interface Communications > + */ > +enum { > + TCG_SECP_00 = 0, Protocol 0 is not

Re: [PATCH v3 4/5] nvme: Implement resume_from_suspend and SED Allocation code.

2016-12-25 Thread Jethro Beekman
On 19-12-16 20:35, Scott Bauer wrote: > @@ -1796,6 +1797,13 @@ static void nvme_reset_work(struct work_struct *work) > if (result) > goto out; > > + result = nvme_opal_initialize(>ctrl); > + if (result) > + goto out; It seems you always try to intialize

Re: [v2 5/7] x86: Add emulation code for UMIP instructions

2016-12-25 Thread Masami Hiramatsu
On Fri, 23 Dec 2016 17:37:43 -0800 Ricardo Neri wrote: > +static int __identify_insn(struct insn *insn) > +{ > + /* by getting modrm we also get the opcode */ > + insn_get_modrm(insn); > + if (insn->opcode.bytes[0] != 0xf) > + return

Re: undefined reference to `_text'

2016-12-25 Thread Stafford Horne
On Sun, Dec 25, 2016 at 03:21:43PM +0800, kbuild test robot wrote: > Hi Randy, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba > commit:

[tip:smp/urgent] coresight/etm3/4x: Consolidate hotplug state space

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Gitweb: http://git.kernel.org/tip/36e5b0e39194b09a10f19697fb9ea4ccc44eb166 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:55 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] cpu/hotplug: Cleanup state names

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 73c1b41e63f040e92669e61a02c7893933bfe743 Gitweb: http://git.kernel.org/tip/73c1b41e63f040e92669e61a02c7893933bfe743 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:54 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

Re: [PATCH v3 2/2] drivers: net: ethernet: 3com: fix return value

2016-12-25 Thread Sergei Shtylyov
Hello! On 12/25/2016 3:30 AM, Thomas Preisner wrote: In some cases the return value of a failing function is not being used and the function typhoon_init_one() returns another negative error code instead. Signed-off-by: Thomas Preisner Signed-off-by: Milan

[tip:smp/urgent] staging/lustre/libcfs: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Anna-Maria Gleixner
Commit-ID: 7b737965b33188bd3dbb44e938535c4006d97fbb Gitweb: http://git.kernel.org/tip/7b737965b33188bd3dbb44e938535c4006d97fbb Author: Anna-Maria Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:52 +0100 Committer: Thomas Gleixner CommitDate:

[tip:smp/urgent] cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: 530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Gitweb: http://git.kernel.org/tip/530e9b76ae8f863dfdef4a6ad0b38613d32e8c3f Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:53 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[tip:smp/urgent] scsi/bnx2i: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: e210faa2359f92eb2e417cd8462eb980a4dbb172 Gitweb: http://git.kernel.org/tip/e210faa2359f92eb2e417cd8462eb980a4dbb172 Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:51 +0100 Committer: Thomas Gleixner CommitDate:

[RFC PATCH] input: Add disable sysfs entry for every input device

2016-12-25 Thread Pali Rohár
This patch allows user to disable events from any input device so events would not be delivered to userspace. Currently there is no way to disable particular input device by kernel. User for different reasons would need it for integrated PS/2 keyboard or touchpad in notebook or touchscreen on

[tip:smp/urgent] scsi/bnx2fc: Convert to hotplug state machine

2016-12-25 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Gitweb: http://git.kernel.org/tip/c53b005dd64bdcf5acac00bd55ecf94dda22dc4f Author: Sebastian Andrzej Siewior AuthorDate: Wed, 21 Dec 2016 20:19:50 +0100 Committer: Thomas Gleixner CommitDate:

[tip:smp/urgent] cpu/hotplug: Prevent overwriting of callbacks

2016-12-25 Thread tip-bot for Thomas Gleixner
Commit-ID: dc280d93623927570da279e99393879dbbab39e7 Gitweb: http://git.kernel.org/tip/dc280d93623927570da279e99393879dbbab39e7 Author: Thomas Gleixner AuthorDate: Wed, 21 Dec 2016 20:19:49 +0100 Committer: Thomas Gleixner CommitDate: Sun, 25 Dec

[PATCH 09/19] [media] uvc_driver: Less function calls in uvc_parse_streaming() after error detection

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 15:45:31 +0100 The kfree() function was called in a few cases by the uvc_parse_streaming() function during error handling even if the passed data structure member contained a null pointer. Adjust jump targets according

[PATCH 08/19] [media] uvc_driver: Rename a jump label in uvc_scan_fallback()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:57:12 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 9 - 1 file changed, 4

[PATCH 07/19] [media] uvc_driver: Rename a jump label in uvc_probe()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:54:15 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 15 +++ 1 file

[PATCH 17/19] [media] uvc_video: Fix a typo in a comment line

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 18:42:58 +0100 The script "checkpatch.pl" pointed out that a word may be misspelled. Add a missing character there. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_video.c |

[PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread Scott Matheina
Across the file, variables were sometimes upper case, some times lower case, this fix addresses a few of the instances with this inconsistency. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 48 ++--- 1 file changed,

[PATCHv4 0/8] Checkpatch fixes to driver/staging/iio/addac

2016-12-25 Thread Scott Matheina
*** BLURB HERE *** Scott Matheina (8): fixed long description text exceeding 80 characters Fixed variables not being consistently lower case Fix camel case issues Fix braces not present on all arms of if else statement Remove line after closing braces Fixed code wrap alignment with

[PATCHv4 1/8] fixed long description text exceeding 80 characters

2016-12-25 Thread Scott Matheina
The description was split into 2 lines due to the line greatly exceeding the 80 character soft limit. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread Al Viro
On Sun, Dec 25, 2016 at 01:41:06PM -0600, Scott Matheina wrote: > Across the file, variables were sometimes upper case, some times > lower case, this fix addresses a few of the instances with this > inconsistency. NAK. Go learn C and don't come back until you've done that. If somebody has told

Re: [PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread kbuild test robot
Hi Scott, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.9 next-20161224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v5 09/14] ACPI: platform: setup MSI domain for ACPI based platform device

2016-12-25 Thread Hanjun Guo
Hi Rafael, Happy holidays! reply inline. On 2016/12/26 8:31, Rafael J. Wysocki wrote: > On Sat, Dec 24, 2016 at 8:34 AM, Hanjun Guo wrote: >> Hi Rafael, >> >> Thank you for your comments, when I was demoing your suggestion, >> I got a little bit confusions, please see my

[PATCH 02/19] [media] uvc_driver: Combine substrings for 48 messages

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 07:41:29 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines * Thus fix the affected source code places. * Improve indentation for passed parameters.

[PATCH 04/19] [media] uvc_driver: Adjust 28 checks for null pointers

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 09:40:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written … Thus

[PATCH 03/19] [media] uvc_driver: Adjust three function calls together with a variable assignment

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 08:05:58 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring

[PATCH 18/19] [media] uvc_video: Enclose an expression for the sizeof operator by parentheses

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 18:50:35 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: sizeof *ctrl should be sizeof(*ctrl) Thus fix the affected source code place. Signed-off-by: Markus Elfring

[PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2016-12-25 Thread Waiman Long
A number of cmpxchg calls in qspinlock_paravirt.h were replaced by more relaxed versions to improve performance on architectures that use LL/SC. All the locking related cmpxchg's are replaced with the _acquire variants: - pv_queued_spin_steal_lock() - trylock_clear_pending() The cmpxchg's

Re: Question regarding power button of Dell XPS13

2016-12-25 Thread Linus Torvalds
On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel wrote: > > I heard that you both have a Dell XPS13. I got the “revision” 9360, and > installed Debian Stretch/testing on it with Linux 4.8.15 and Linux 4.9-rc8. > > When pressing the power button the GNOME dialog, asking what to

[PATCH 00/19] [media] USB Video Class driver: Fine-tuning for several function implementations

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 19:23:32 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (19): uvc_driver: Use kmalloc_array() in uvc_simplify_fraction() uvc_driver: Combine substrings for

[PATCH 14/19] [media] uvc_video: Combine substrings for 22 messages

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 17:54:05 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines * Thus fix the affected source code places. * Improve indentation for passed parameters.

[PATCH 12/19] [media] uvc_driver: Move six assignments in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:25:57 +0100 Move the assignments for six local variables so that these statements will only be executed if memory allocations succeeded by this function. Signed-off-by: Markus Elfring

[PATCH 13/19] [media] uvc_video: Use kmalloc_array() in uvc_video_clock_init()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:45:21 +0100 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected

[PATCHv4 1/8] fixed long description text exceeding 80 characters

2016-12-25 Thread Scott Matheina
The description was split into 2 lines due to the line greatly exceeding the 80 character soft limit. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCHv4 3/8] Fix camel case issues

2016-12-25 Thread Scott Matheina
Cases of camel case were fixed by making variables lower case throughout the file. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 82 ++--- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git

[PATCHv4 0/8] Checkpatch fixes to driver/staging/iio/addac

2016-12-25 Thread Scott Matheina
*** BLURB HERE *** Scott Matheina (8): fixed long description text exceeding 80 characters Fixed variables not being consistently lower case Fix camel case issues Fix braces not present on all arms of if else statement Remove line after closing braces Fixed code wrap alignment with

Re: [PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread Al Viro
On Sun, Dec 25, 2016 at 10:34:54PM +, Jonathan Cameron wrote: > > > On 25 December 2016 20:14:09 GMT+00:00, Al Viro > wrote: > >On Sun, Dec 25, 2016 at 01:41:06PM -0600, Scott Matheina wrote: > >> Across the file, variables were sometimes upper case, some times >

[PATCH/RESEND 2/5] mm/z3fold.c: extend compaction function

2016-12-25 Thread Vitaly Wool
z3fold_compact_page() currently only handles the situation where there's a single middle chunk within the z3fold page. However it may be worth it to move middle chunk closer to either first or last chunk, whichever is there, if the gap between them is big enough. Basically compression ratio

[PATCH 15/19] [media] uvc_video: Adjust one function call together with a variable assignment

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 18:00:39 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code place. Signed-off-by: Markus Elfring

[PATCH 16/19] [media] uvc_video: Adjust 18 checks for null pointers

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 18:26:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written … Thus

Re: [PATCH v2 1/4] vfio-mdev: Fix remove race

2016-12-25 Thread Alex Williamson
On Sun, 25 Dec 2016 22:39:47 +0530 Kirti Wankhede wrote: > On 12/23/2016 1:51 AM, Alex Williamson wrote: > > Using the mtty mdev sample driver we can generate a remove race by > > starting one shell that continuously creates mtty devices and several > > other shells all

[PATCH 2/2] rtc: mcp795: add alarm support.

2016-12-25 Thread Emil Bartczak
This patch adds alarm support. This allows to configure the chip to generate an interrupt when the alarm matches current time value. Alarm can be programmed up to one year in the future and is accurate to the second. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c

[PATCH 1/2] rtc: mcp795: Add support for weekday.

2016-12-25 Thread Emil Bartczak
This patch adds support for saving/loading weekday value from the chip. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index

Bug 4.9 and memorymanagement

2016-12-25 Thread Klaus Ethgen
Hello, The last days I compiled version 4.9 for my i386 laptop. (Lenovo x61s) First, everything seems to be sane but after some sleep and awake (suspend to ram) cycles I seen some really weird behaviour ending in OOM or even complete freeze of the laptop. What I was able to see is that it went

[PATCH v2 1/2] rtc: mcp795: Add support for weekday.

2016-12-25 Thread Emil Bartczak
This patch adds support for saving/loading weekday value from the chip. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c index

[PATCH v2 2/2] rtc: mcp795: add alarm support.

2016-12-25 Thread Emil Bartczak
This patch adds alarm support. This allows to configure the chip to generate an interrupt when the alarm matches current time value. Alarm can be programmed up to one year in the future and is accurate to the second. Signed-off-by: Emil Bartczak --- drivers/rtc/rtc-mcp795.c

[PATCH] um: Fix _print_addr()

2016-12-25 Thread Richard Weinberger
Recent changes to printk() broke UML's stack trace output. Kill the root of the problem by using a single printk() statement. Signed-off-by: Richard Weinberger --- arch/um/kernel/sysrq.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] arm: dt: Initialize boot_command_line from CONFIG_CMDLINE in case DT does not provide /chosen/bootargs

2016-12-25 Thread Pali Rohár
On Friday 16 December 2016 12:42:34 Pali Rohár wrote: > On Thursday 15 December 2016 11:09:32 Russell King - ARM Linux wrote: > > > What is reason that CONFIG_CMDLINE is not supported for DT? > > > > Sorry, that's my mistake - as you've pointed out above, it is > > supported but via generic code.

[PATCH/RESEND 1/5] mm/z3fold.c: make pages_nr atomic

2016-12-25 Thread Vitaly Wool
Convert pages_nr per-pool counter to atomic64_t so that we won't have to care about locking for reading/updating it. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/mm/z3fold.c

[PATCH 10/19] [media] uvc_driver: Return -ENOMEM after a failed kzalloc() call in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:00:17 +0100 Use the return code "-ENOMEM" (instead of "-EINVAL") after a call of the function "kzalloc" failed here. Signed-off-by: Markus Elfring ---

[PATCH 11/19] [media] uvc_driver: Delete an unnecessary variable initialisation in uvc_parse_streaming()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 16:02:46 +0100 The local variable "streaming" will be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring ---

[PATCHv4 6/8] Fixed code wrap alignment with preceding (.

2016-12-25 Thread Scott Matheina
The code wasn't aligned with preceding ( on following lines, fixes this coding style issue. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git

[PATCHv4 3/8] Fix camel case issues

2016-12-25 Thread Scott Matheina
Cases of camel case were fixed by making variables lower case throughout the file. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 82 ++--- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git

[PATCHv4 4/8] Fix braces not present on all arms of if else statement

2016-12-25 Thread Scott Matheina
Adds braces to second arm of if else statement. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index

[PATCHv4 7/8] Changed code to align with coding style of using octat

2016-12-25 Thread Scott Matheina
The permmission code was changed to reflect octat (0644/0444) for required permissions. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 264 ++-- 1 file changed, 101 insertions(+), 163 deletions(-) diff --git

[PATCHv4 8/8] Fixes style issues due to mis-aligned carry over lines

2016-12-25 Thread Scott Matheina
Lines were not aligned with (, this patch simply changes the indention, no substantive changes function of driver. Signed-Off-By: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 415 ++-- 1 file changed, 210 insertions(+), 205

[PATCHv4 5/8] Remove line after closing braces

2016-12-25 Thread Scott Matheina
There was an additional line which was un-needed, removed that line. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2016-12-25 Thread Pali Rohár
On Sunday 25 December 2016 21:15:40 Arend Van Spriel wrote: > On 24-12-2016 17:52, Pali Rohár wrote: > > NVS calibration data for wl1251 are model specific. Every one > > device with wl1251 chip has different and calibrated in factory. > > > > Not all wl1251 chips have own EEPROM where are

Re: [PATCHv4 8/8] Fixes style issues due to mis-aligned carry over lines

2016-12-25 Thread kbuild test robot
Hi Scott, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.9 next-20161224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 01/16] Add the ability to lock down access to the running kernel image

2016-12-25 Thread Pavel Machek
Hi! > allow the running kernel image to be changed including the loading of > modules that aren't validly signed with a key we recognise, fiddling with > MSR registers and disallowing hibernation, "." at EOL. > @@ -158,6 +158,21 @@ config HARDENED_USERCOPY_PAGESPAN > been removed. This

Re: [PATCH 1/4] serial: core: Add LED trigger support

2016-12-25 Thread Pavel Machek
Hi! > > Could we somehow remedy the lack of knowledge from the core as whether > > the HW sends/receives characters first before adding support for LED > > triggers? It would be more generic and future proof to require UART > > drivers to report to the core when they actually TX/RX, and then at

Re: [PATCH 1/4] serial: core: Add LED trigger support

2016-12-25 Thread Pavel Machek
Hi! > As the serial core layer does not know when the hardware actually sends > or receives characters, this needs help from the UART drivers. The > LED triggers are registered in uart_add_led_triggers() called from > the UART drivers which want to support LED triggers. All the driver > has to do

Re: [PATCH 01/16] Add the ability to lock down access to the running kernel image

2016-12-25 Thread David Howells
Pavel Machek wrote: > > +config ALLOW_LOCKDOWN_LIFT > > + bool > > Don't you need to add 'bool "something"' so that user can actually > select this? No - see patch 6. This option merely makes the function available. Actually, I haven't done it quite right: the function in the

[PATCH v2 0/2] Provides support for alarm.

2016-12-25 Thread Emil Bartczak
This patchset provides support for weekday and alarm in the file driver/rtc/rtc-mcp795.c. Please review the changes and consider to apply them to the main kernel tree. Changes from v1: - Cover letter added. Emil Bartczak (2): rtc: mcp795: Add support for weekday. rtc: mcp795: add alarm

Linux 4.10-rc1

2016-12-25 Thread Linus Torvalds
It's Christmas Day, and it's two weeks since the merge window opened. Thus, the merge window is now closed. I did a few final pulls today, but I also rejected a couple of pulls that came in late in the window and looked dodgy. You know who you are. On the whole, this wasn't all that big a

[PATCH/RESEND 5/5] z3fold: add kref refcounting

2016-12-25 Thread Vitaly Wool
With both coming and already present locking optimizations, introducing kref to reference-count z3fold objects is the right thing to do. Moreover, it makes buddied list no longer necessary, and allows for a simpler handling of headless pages. Signed-off-by: Vitaly Wool ---

[PATCH/RESEND 3/5] z3fold: use per-page spinlock

2016-12-25 Thread Vitaly Wool
Most of z3fold operations are in-page, such as modifying z3fold page header or moving z3fold objects within a page. Taking per-pool spinlock to protect per-page objects is therefore suboptimal, and the idea of having a per-page spinlock (or rwlock) has been around for some time. This patch

[PATCH/RESEND 4/5] z3fold: fix header size related issues

2016-12-25 Thread Vitaly Wool
Currently the whole kernel build will be stopped if the size of struct z3fold_header is greater than the size of one chunk, which is 64 bytes by default. This patch instead defines the offset for z3fold objects as the size of the z3fold header in chunks. Fixed also are the calculation of

[PATCH/RESEND 2/5] mm/z3fold.c: extend compaction function

2016-12-25 Thread Vitaly Wool
z3fold_compact_page() currently only handles the situation where there's a single middle chunk within the z3fold page. However it may be worth it to move middle chunk closer to either first or last chunk, whichever is there, if the gap between them is big enough. Basically compression ratio

[PATCH 01/19] [media] uvc_driver: Use kmalloc_array() in uvc_simplify_fraction()

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Dec 2016 21:10:16 +0100 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected

[PATCH 06/19] [media] uvc_driver: Add some spaces for better code readability

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:37:17 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_driver.c | 62

[PATCH 05/19] [media] uvc_driver: Enclose 24 expressions for the sizeof operator by parentheses

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 10:05:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" pointed information out like the following. WARNING: sizeof … should be sizeof(…) Thus

[PATCH 19/19] [media] uvc_video: Add some spaces for better code readability

2016-12-25 Thread SF Markus Elfring
From: Markus Elfring Date: Sun, 25 Dec 2016 19:00:29 +0100 Use space characters at some source code places according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/media/usb/uvc/uvc_video.c | 4 ++--

[PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread Scott Matheina
Across the file, variables were sometimes upper case, some times lower case, this fix addresses a few of the instances with this inconsistency. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 48 ++--- 1 file changed,

[PATCHv4 7/8] Changed code to align with coding style of using octat

2016-12-25 Thread Scott Matheina
The permmission code was changed to reflect octat (0644/0444) for required permissions. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 264 ++-- 1 file changed, 101 insertions(+), 163 deletions(-) diff --git

[PATCHv4 4/8] Fix braces not present on all arms of if else statement

2016-12-25 Thread Scott Matheina
Adds braces to second arm of if else statement. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index

[PATCHv4 5/8] Remove line after closing braces

2016-12-25 Thread Scott Matheina
There was an additional line which was un-needed, removed that line. Signed-off-by: Scott Matheina --- drivers/staging/iio/addac/adt7316.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index

Re: [PATCH 2/6] wl1251: Use request_firmware_prefer_user() for loading NVS calibration data

2016-12-25 Thread Arend Van Spriel
On 24-12-2016 17:52, Pali Rohár wrote: > NVS calibration data for wl1251 are model specific. Every one device with > wl1251 chip has different and calibrated in factory. > > Not all wl1251 chips have own EEPROM where are calibration data stored. And > in that case there is no "standard" place.

Re: [PATCHv4 7/8] Changed code to align with coding style of using octat

2016-12-25 Thread kbuild test robot
Hi Scott, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.9 next-20161224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCHv4 3/8] Fix camel case issues

2016-12-25 Thread kbuild test robot
Hi Scott, [auto build test ERROR on iio/togreg] [also build test ERROR on v4.9 next-20161224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH 2/2] mm: add PageWaiters indicating tasks are waiting for a page bit

2016-12-25 Thread Linus Torvalds
On Sat, Dec 24, 2016 at 7:00 PM, Nicholas Piggin wrote: > Add a new page flag, PageWaiters, to indicate the page waitqueue has > tasks waiting. This can be tested rather than testing waitqueue_active > which requires another cacheline load. Ok, I applied this one too. I think

Re: [PATCHv4 2/8] Fixed variables not being consistently lower case

2016-12-25 Thread Jonathan Cameron
On 25 December 2016 20:14:09 GMT+00:00, Al Viro wrote: >On Sun, Dec 25, 2016 at 01:41:06PM -0600, Scott Matheina wrote: >> Across the file, variables were sometimes upper case, some times >> lower case, this fix addresses a few of the instances with this >>

Re: [PATCH v5 09/14] ACPI: platform: setup MSI domain for ACPI based platform device

2016-12-25 Thread Rafael J. Wysocki
On Sat, Dec 24, 2016 at 8:34 AM, Hanjun Guo wrote: > Hi Rafael, > > Thank you for your comments, when I was demoing your suggestion, > I got a little bit confusions, please see my comments below. > [cut] >>> + >>> +/** >>> * acpi_create_platform_device - Create platform

[PATCH/RESEND 0/5] z3fold optimizations and fixes

2016-12-25 Thread Vitaly Wool
This is a consolidation of z3fold optimizations and fixes done so far, revised after comments from Dan [1]. The coming patches are to be applied on top of the following commit: commit 07cfe852286d5e314f8cd19781444e12a2b6cdf3 Author: zhong jiang Date: Tue Dec 20 11:53:40

  1   2   3   >