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 declaration
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: 7c7808ce107d63e158dbbc3af0
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: Mon Dec 5 11:19:
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 this
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 2016 10:47:40 +0100
ARM/imx/mmcd: Fix br
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 2016 10:47:42 +0100
cpu/hotplug: Prevent
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: Sun, 25 Dec 2016 10:47:42 +0100
scsi/bnx2f
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: Sun, 25 Dec 2016 10:47:43 +0100
scsi/bnx2i
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 mobi
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 Stephan
---
drivers/net/ethernet/3
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: Sun, 25 Dec 2016 10:47:43 +0100
staging/lustre/l
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 2016 10:47:43 +0100
cpu/hotplug: Remove
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 2016 10:47:44 +0100
coresight/etm3/4x: C
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 2016 10:47:44 +0100
cpu/hotplug: Cleanup
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 2016 10:47:44 +0100
irqchip/gic: Consoli
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 2016 10:47:44 +0100
irqchip/armada-xp: C
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: 7c0f6ba682b9c76
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
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: Chandan
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
dri
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.
>>>
>>> Signed-of
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
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: bfin-ucl
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 | 2 --
arch/x86/kernel/e820.c
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 de
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(&dev->ctrl);
> + if (result)
> + goto out;
It seems you always try to intiali
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
rep
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 -EINVAL;
> +
> + if (insn->opcode.b
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 mdev_re
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 48 messages
uvc_driver: Adjust
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 by using the Coccinelle software.
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.
Signed-off-by: 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
---
drivers/media/usb/uvc/uvc_driver.c | 10 +
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 fix the affected source code pla
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 fix the affected source code pla
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 +++---
1 file changed, 31 insert
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 insertions(+), 5 deletions(-)
diff --git a/drivers/media/usb/uvc/
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 changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/media/u
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 to the Linux coding style convent
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
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -
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
---
drivers/media/usb/uvc/uvc_driver.c | 2 +-
1 file changed, 1 in
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
---
drivers/media/usb/uvc/uvc_driver.c | 15 ++-
1
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 by using the Coccinelle software.
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.
Signed-off-by: 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
---
drivers/media/usb/uvc/uvc_video.c | 4 ++--
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 fix the affected source code pla
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
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
---
drivers/media/usb/uvc/uvc_video.c | 2 +-
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 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
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 attempting to remove devic
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 a/drivers/staging/iio/addac/adt7316.c
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 a/drivers/staging/iio/addac/adt7316.c
b/drivers/staging
*** 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 pre
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 2b584a0..e78d302 100644
---
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 e78d302..4678a64 100644
-
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, 24 insertions(+), 24 d
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 a/drivers/staging/iio/addac/a
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 a/drivers/staging/iio/addac/adt7316.c
b/drivers/staging
*** 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 pre
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, 24 insertions(+), 24 d
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 a/drivers/staging/iio/addac/adt
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 a/drivers/staging/iio/addac/adt7316.c
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 2b584a0..e78d302 100644
---
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 e78d302..4678a64 100644
-
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 a/drivers/staging/iio/addac/a
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 deletions(-)
diff --git a/
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 y
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. Eve
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:
https://github.com/0day-ci/linux/commits/Scott-Matheina/Checkpatch-fixes-to-driver-staging-iio
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 relat
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:
https://github.com/0day-ci/linux/commits/Scott-Matheina/Checkpatch-fixes-to-driver-staging-iio
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 calibra
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:
https://github.com/0day-ci/linux/commits/Scott-Matheina/Checkpatch-fixes-to-driver-staging-iio
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:
https://github.com/0day-ci/linux/commits/Scott-Matheina/Checkpatch-fixes-to-driver-staging-iio
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 c
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 th
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
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 | 171 +++
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 ce75e42..8107fc0 100644
---
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 t
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 .c file should
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 there's room for imp
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 supp
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 ce75e42..8107fc0 100644
---
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 | 171 +++
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.
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 a/arch/um/kernel/sysrq.c b/arch/um/ke
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 do (restart,
> power off
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
>> inconsistency.
>
>NAK. Go learn C and
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
> >> lower case, this fix add
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 2016 +1100
mm/z3fo
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 device for ACPI device
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 b/mm/z3fold.c
index 207e5dd..22737
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 wise,
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 wise,
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 implem
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 num_free_
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 release
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
---
mm/z3fold.c | 137
On Sun, 25 Dec 2016 13:51:17 -0800
Linus Torvalds wrote:
> 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 cachel
1 - 100 of 142 matches
Mail list logo