At some point I have noticed too many users of struct rtc_time that
printing its content field by field.
In this series I introduce %ptR[dt][rv] specifier to make life a bit
easier.
There are still users of detailed output of the struct rtc_time, but we
can introduce an additional extension for t
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rx6110.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/rtc/rtc-rx6110.c b/drivers/rtc/rtc-rx6110.c
in
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-pic32.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rx8025.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-at91sam9.c | 16
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-at91sam9.c b/drivers/rtc/rtc-at
> On Feb 20, 2018, at 4:14 PM, Bart Van Assche wrote:
>
> On Tue, 2018-02-20 at 21:59 +0100, Arnd Bergmann wrote:
>> /* # of WCs to poll for with a single call to ib_poll_cq */
>> -#define IB_POLL_BATCH 16
>> +#define IB_POLL_BATCH 8
>
> The purpose
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-mcp795.c | 18 ++
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp7
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-rk808.c | 20 ++--
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-rk808.c b/drivers/rtc/rtc-rk80
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-at91rm9200.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-m48t59.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c
index 3
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-pcf50633.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/rtc/rtc-pcf50633.c b/drivers/rtc/rtc-pcf50633.c
i
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Guan Xuetao
Signed-off-by: Andy Shevchenko
---
drivers/rtc/rtc-puv3.c | 18 --
1 file changed, 4 insertions(+), 14 deletions(-)
diff --git a/drivers/rtc/rtc-puv3.c b/drivers
Use %ptR instead of open coded variant to print content of
struct rtc_time in human readable format.
Cc: Arnd Bergmann
Acked-by: Greg Kroah-Hartman
Signed-off-by: Andy Shevchenko
---
drivers/char/Kconfig| 1 +
drivers/char/rtc.c | 7 +++
drivers/rtc/Kconfig | 1 +
drivers/r
On Tue, Feb 20, 2018 at 10:14 PM, Parav Pandit wrote:
> Hi Arnd Bergmann,
>
>> -Original Message-
>> From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma-
>> ow...@vger.kernel.org] On Behalf Of Arnd Bergmann
>> Sent: Tuesday, February 20, 2018 2:59 PM
>> To: Doug Ledford ; Jason Gunth
Hi Nico, all,
I was playing with ARM link-time optimization handling earlier this
month, and eventually got it to build cleanly with randconfig kernels,
but ended up with a lot of ugly hacks to actually pull it off.
Here are the ones that I don't think we actually want to merge,
but it may be hel
Commit ca8b5d97d6bf ("ARM: XIP kernel: store .data compressed in ROM")
moved the decompressor workspace to the stack and added a compiler
flag to avoid the stack size warning.
With LTO, that warning comes back. Moving the workspace into an initdata
variable avoids that warning but presumably also
I got link errors for references to local symbols from
inline assembler, and also for referencing local symbols
inside of inline assembler fragments from C.
In both cases, making the symbols globally visible fixes
the link process, but this seems a bit ugly, so I hope there
is a better way to do t
We need some way to pass -mbig-endian to the linker during the
LTO link stage, otherwise we get a waning like
arm-linux-gnueabi/bin/ld: arch/arm/lib/clearbit.o: compiled for a big endian
system and target is little endian
for each file we link in.
There is probably a better method of passing th
When CONFIG_LTO is enabled, we get a link error for this file
that contains a reference to printk():
arch/arm/lib/io-acorn.o: In function `outsl':
(.text+0x38): undefined reference to `printk'
Normally the file is simply dropped, but that doesn't happen
with LTO. Making the reference conditional
This fails during deflate_xip_data.sh
/home/arnd/cross-gcc/bin/arm-linux-gnueabi-objcopy -O binary -R .comment -S
vmlinux arch/arm/boot/xipImage && /bin/bash -c
'/git/arm-soc/arch/arm/boot/deflate_xip_data.sh vmlinux arch/arm/boot/xipImage
|| { rm -f arch/arm/boot/xipImage; false; }'
make -f
Building the EFI stub on 32-bit ARM with LTO resulted in a build error:
arm-linux-gnueabi-ld: drivers/firmware/efi/libstub/arm-stub.stub.o: plugin
needed to handle lto object
arch/arm/boot/compressed/head.o: In function `efi_stub_entry':
Locally disabling LTO for this directory seems to do the t
Trying to build an LTO-Enabled kernel with Thumb2 instructions failed
horribly for me, with an endless output of things like
ccVnNycO.s:2665: Error: thumb conditional instruction should be in IT block --
`bxne lr'
ccVnNycO.s:7128: Error: thumb conditional instruction should be in IT block --
`st
On Tue, Feb 20, 2018 at 1:18 PM, Luck, Tony wrote:
> ...
>> > - inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0644, 0,
>> > + inode = efivarfs_get_inode(sb, d_inode(root), S_IFREG | 0600, 0,
>> >is_removable);
>
> Linus,
>
> Does this rate an exception
The only user of this variable is inside of an #ifdef, causing
a warning without CONFIG_INET:
net/core/filter.c: In function 'bpf_sock_ops_cb_flags_set':
net/core/filter.c:3382:6: error: unused variable 'val' [-Werror=unused-variable]
int val = argval & BPF_SOCK_OPS_ALL_CB_FLAGS;
This repla
On Tue, Feb 20, 2018 at 10:44 PM, Daniel Borkmann wrote:
> Hi Arnd,
>
> On 02/20/2018 10:16 PM, Arnd Bergmann wrote:
>> The only user of this variable is inside of an #ifdef, causing
>> a warning without CONFIG_INET:
>>
>> net/core/filter.c: In function 'bpf_sock_ops_cb_flags_set':
>> net/core
On 02/20/2018 11:08 PM, Arnd Bergmann wrote:
> On Tue, Feb 20, 2018 at 10:44 PM, Daniel Borkmann
> wrote:
>> Hi Arnd,
>>
>> On 02/20/2018 10:16 PM, Arnd Bergmann wrote:
>>> The only user of this variable is inside of an #ifdef, causing
>>> a warning without CONFIG_INET:
>>>
>>> net/core/filter.c:
On Sun, 18 Feb 2018 23:15:32 +0100
Yves-Alexis Perez wrote:
> On Tue, 2018-02-13 at 13:40 -0800, Raj, Ashok wrote:
> > This version has only hw dumps for now, but we plan to add some
> > other things like walking 2nd level page-tables, or get some SVM
> > specific data from the driver in the futu
On Tue, Feb 20, 2018 at 1:01 PM, Dominik Brodowski
wrote:
> +ENTRY(interrupt_entry)
> + UNWIND_HINT_FUNC
> +
> + PUSH_AND_CLEAR_REGS save_ret=1
> + ENCODE_FRAME_POINTER 8
> +
> + ret
> +END(interrupt_entry)
There's nothing wrong with this patch, but it does expose what a n
Hi Rodrigo,
Thanks for working on that! I have a few questions and remarks.
For the reverse-engineering part, there's a lot of existing reference in
existing (user-space) drivers for the controllers like sc-controller,
but feel free to reach out if you have any questions. It's overall
pretty
On 2/20/18 3:21 AM, Peter Zijlstra wrote:
> On Sun, May 30, 2083 at 09:51:06AM +0530, Nitesh Shetty wrote:
>> This removes the dependency on interrupts to wake up task. Set task
>> state as TASK_RUNNING, if need_resched() returns true,
>> while polling for IO completion.
>> Earlier, polling task us
On Wed, Feb 21, 2018 at 03:49:29AM +0800, Yang Shi wrote:
> When running vm-scalability with large memory (> 300GB), the below hung
> task issue happens occasionally.
>
> INFO: task ps:14018 blocked for more than 120 seconds.
>Tainted: GE 4.9.79-009.ali3000.alios7.x86_64 #1
>
On Tue, 20 Feb 2018, Arnd Bergmann wrote:
> gcc-6 and higher warn about the way some loops are written in
> the ncr5380 driver:
>
> drivers/scsi/g_NCR5380.c: In function 'generic_NCR5380_pread':
> drivers/scsi/g_NCR5380.c:541:3: error: this 'while' clause does not guard...
> [-Werror=misleading-
The PAN emulation notification was only happening for non-boot CPUs
if CPU capabilities had already been configured. This seems to be the
wrong place, as it's system-wide and isn't attached to capabilities,
so its reporting didn't normally happen. Instead, report it once from
the boot CPU. Addition
Add Dong Aisheng, Fabio Estevam, Shawn Guo and myself as maintainer
and the Pengutronix kernel team as reviewer.
Signed-off-by: Stefan Agner
Reviewed-by: Fabio Estevam
Acked-by: Dong Aisheng
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAIN
Distributions build kernels that are intended to satisfy multiple
use-cases. One is that kernels must be usable in scenarios where module
signing is required (such as many Secure Boot policies) and scenarios
where it isn't (such as booting the same kernel on a legacy BIOS
system). This requires tha
From: Alexander Steffen
My Nuvoton 6xx in a Dell XPS-13 has been intermittently failing to work
(necessitating a reboot). The problem seems to be that the TPM gets into a
state where the partial self-test doesn't return TPM_RC_SUCCESS (meaning
all tests have run to completion), but instead return
Outputting kernel addresses will reveal the locations of kernel code
and data. Change the cases in show_floppy that print
fd_timer.work.func and fd_timeout.work.func to use the %pf format
specifier, which will print the symbol name, like what is done for the
other function pointers printed by show_
On 20.02.2018 23:51, Stefan Agner wrote:
> Add Dong Aisheng, Fabio Estevam, Shawn Guo and myself as maintainer
> and the Pengutronix kernel team as reviewer.
>
> Signed-off-by: Stefan Agner
> Reviewed-by: Fabio Estevam
> Acked-by: Dong Aisheng
> ---
> MAINTAINERS | 11 +++
> 1 file cha
Add Dong Aisheng, Fabio Estevam, Shawn Guo and myself as maintainer
and the Pengutronix kernel team as reviewer.
Signed-off-by: Stefan Agner
Reviewed-by: Fabio Estevam
Acked-by: Dong Aisheng
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAIN
On Wed, Feb 21, 2018 at 12:53:47AM +0200, Jarkko Sakkinen wrote:
> From: Alexander Steffen
>
> My Nuvoton 6xx in a Dell XPS-13 has been intermittently failing to work
> (necessitating a reboot). The problem seems to be that the TPM gets into a
> state where the partial self-test doesn't return TP
On Sun, Dec 31, 2017 at 02:28:29AM +0800, Jiaxun Yang wrote:
> To reduce unnecessary license text.
>
> Signed-off-by: Jiaxun Yang
> ---
> arch/mips/loongson64/Makefile | 1 +
> arch/mips/loongson64/Platform | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/mips/loongson64/Makefile
On Tue, Feb 20, 2018 at 11:35:47AM -0800, Tejun Heo wrote:
> Hmm... nr_populated_domain_children check should have caught that
> condition and rejected it. Will look into what's going on.
Ah, okay, I was special-casing the first level children case too
early. If you nest the test case by one mor
On Tue, Feb 20, 2018 at 08:26:45PM +, Winkler, Tomas wrote:
> >
> > On Mon, 2018-02-19 at 11:43 +, Winkler, Tomas wrote:
> > > > All local variable declarations must be in the beginning of the
> > > > function.
> > >
> > > Who says?
> >
> > It is coherent how we have everything else.
> I
On Sun, Dec 31, 2017 at 02:28:24AM +0800, Jiaxun Yang wrote:
> diff --git a/arch/mips/loongson64/common/cs5536/cs5536_acc.c
> b/arch/mips/loongson64/common/cs5536/cs5536_acc.c
> index ab4d6cc57384..ba0474bb4a3d 100644
> --- a/arch/mips/loongson64/common/cs5536/cs5536_acc.c
> +++ b/arch/mips/loongs
From: Pantelis Antoniou
Changesets are very powerful, but the lack of a helper API
makes using them cumbersome. Introduce a simple copy based
API that makes things considerably easier.
To wit, adding a property using the raw API.
struct property *prop;
prop = kzalloc(sizeof(*pro
From: Pantelis Antoniou
The changeset helpers are easier to use, use them instead of
using the static property.
Signed-off-by: Pantelis Antoniou
Acked-by: Wolfram Sang
["okay" -> "ok"]
Signed-off-by: Laurent Pinchart
---
drivers/i2c/muxes/i2c-demux-pinctrl.c | 12 +++-
1 file changed
From: Pantelis Antoniou
Add a unitest specific for the new changeset helpers.
Signed-off-by: Pantelis Antoniou
Signed-off-by: Laurent Pinchart
---
drivers/of/unittest.c | 54 +++
1 file changed, 54 insertions(+)
diff --git a/drivers/of/unittest
From: Pantelis Antoniou
Adds a changeset helper for moving a subtree to a different place
in the running tree. This is useful in advances cases of dynamic
device tree construction.
Signed-off-by: Pantelis Antoniou
Signed-off-by: Laurent Pinchart
---
drivers/of/dynamic.c | 66 +
Hello,
This patch series addresses a design mistake that dates back from the initial
DU support. Support for the LVDS encoders, which are IP cores separate from
the DU, was bundled in the DU driver. Worse, both the DU and LVDS were
described through a single DT node.
To fix the, patches 01/16 and
From: Pantelis Antoniou
Add an __of_node_dupv() private method and make __of_node_dup() use it.
This is required for the subsequent changeset accessors which will
make use of it.
Signed-off-by: Pantelis Antoniou
Signed-off-by: Laurent Pinchart
---
drivers/of/dynamic.c | 29 +++
On Mon, 19 Feb 2018 11:53:50 -0500 Waiman Long wrote:
> Even with clamped sysctl parameters, it is still not that straight
> forward to figure out the exact range of those parameters. One may
> try to write extreme parameter values to see if they get clamped.
> To make it easier, a warning with t
On Tue, Feb 20, 2018 at 7:18 PM, Andy Lutomirski wrote:
> On 02/15/2018 10:22 AM, Joe Konno wrote:
>>
>> From: Joe Konno
>>
>> Efivarfs nodes are created with group and world readable permissions.
>> Reading certain EFI variables trigger SMIs. So, this is a potential DoS
>> surface.
>>
>> Make pe
On Tue, Feb 20, 2018 at 02:29:48PM -0800, Pierre-Loup A. Griffais wrote:
> Hi Rodrigo,
>
> Thanks for working on that! I have a few questions and remarks.
>
> For the reverse-engineering part, there's a lot of existing reference in
> existing (user-space) drivers for the controllers like sc-contr
Reinette,
On Tue, 20 Feb 2018, Reinette Chatre wrote:
> On 2/20/2018 9:15 AM, Thomas Gleixner wrote:
> > On Tue, 13 Feb 2018, Reinette Chatre wrote:
> >
> > Are you really sure that the life time rules of plr are correct vs. an
> > application which still has the locked memory mapped? i.e. the fo
On Mon, 19 Feb 2018 02:45:27 +0800 kbuild test robot wrote:
> [auto build test ERROR on mmotm/master]
> [also build test ERROR on v4.16-rc1 next-20180216]
> [if your patch is applied to the wrong git tree, please drop us a note to
> help improve the system]
>
> url:
> https://github.com/0da
Hello!
This RFC series adds some miscellaneous updates to the Linux kernel
memory model:
1. Clarify the origin and scope of the tool name to avoid confusion
between "memory model" and "memory management", courtesy of
Andrea Parri.
2. Move the maintainer list for LKMM to
Typical cat-language code uses hyphens for word separators in
identifiers, but several LKMM identifiers use underscores instead.
This commit therefore converts underscores to hyphens in the .bell-
and .cat-file identifiers corresponding to smp_mb__before_atomic(),
smp_mb__after_atomic(), and smp_mb
Signed-off-by: Paul E. McKenney
---
tools/memory-model/litmus-tests/README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/memory-model/litmus-tests/README
b/tools/memory-model/litmus-tests/README
index 9a3bb5949191..dca7d823ad57 100644
--- a/tools/memory-model/litm
From: Andrea Parri
Ingo pointed out that:
"The "memory model" name is overly generic, ambiguous and somewhat
misleading, as we usually mean the virtual memory layout/model
when we say "memory model". GCC too uses it in that sense [...]"
Make it clear that tools/memory-model/ uses the te
This commit adds comments to the litmus tests summarizing what these
tests are intended to demonstrate.
Suggested-by: Ingo Molnar
Signed-off-by: Paul E. McKenney
[ paulmck: Apply Andrea's and Alan's feedback. ]
---
.../memory-model/litmus-tests/CoRR+poonceonce+Once.litmus | 7 +++
.../mem
Signed-off-by: Paul E. McKenney
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 674b35c3f28e..cc4c1ac94593 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8097,6 +8097,7 @@ M:David Howells
M: Jade Alglave
M: Luc Maranget
M:
From: Andrea Parri
A memory consistency model is now available for the Linux kernel [1],
which "can (roughly speaking) be thought of as an automated version of
memory-barriers.txt" and which is (in turn) "accompanied by extensive
documentation on its use and its design".
Inform the (occasional)
From: Alan Stern
Since commit 76ebbe78f739 ("locking/barriers: Add implicit
smp_read_barrier_depends() to READ_ONCE()") was merged for the 4.15
kernel, it has not been necessary to use smp_read_barrier_depends().
Similarly, commit 59ecbbe7b31c ("locking/barriers: Kill
lockless_dereference()") rem
From: Andrea Parri
We now have a shiny new Linux-kernel memory model (LKMM) and the old
tried-and-true Documentation/memory-barrier.txt. It would be good to
keep these automatically synchronized, but in the meantime we need at
least let people know that they are related. Will suggested adding t
From: Alan Stern
This commit adds a litmus test in which P0() and P1() form a lock-based S
litmus test, with the addition of P2(), which observes P0()'s and P1()'s
accesses with a full memory barrier but without the lock. This litmus
test asks whether writes carried out by two different processe
LKMM and the herd7 tool are co-evolving, and out-of-date herd7 tools
produce inaccurate results, often with no obvious error messages. This
commit therefore adds the required herd7 version to the LKMM README file.
Longer term, it would be good if .cat files could specify the required
version in a
From: Andrea Parri
Move the contents of tools/memory-model/MAINTAINERS into the main
MAINTAINERS file, removing tools/memory-model/MAINTAINERS. This
allows get_maintainer.pl to correctly identify the maintainers of
tools/memory-model/.
Suggested-by: Ingo Molnar
Signed-off-by: Andrea Parri
Acke
From: Nikolay Borisov
In the description of data dependency barriers the words 'before' is
used erroneously. Since such barrier order dependent loads one after
the other. So substitute 'before' with 'after'.
Signed-off-by: Nikolay Borisov
Signed-off-by: Paul E. McKenney
---
Documentation/memo
On Tue, Feb 20, 2018 at 02:01:51PM -0800, Linus Torvalds wrote:
> And just on general principlies, I don't want to see weasel-wordy
> commit messages like
>
> "Reading certain EFI variables trigger SMIs"
>
> I understand *writing* them causing SMI's due to some flash protection
> scheme. What's
On 2/20/18 2:38 PM, Alexey Dobriyan wrote:
On Wed, Feb 21, 2018 at 03:49:29AM +0800, Yang Shi wrote:
When running vm-scalability with large memory (> 300GB), the below hung
task issue happens occasionally.
INFO: task ps:14018 blocked for more than 120 seconds.
Tainted: GE
On Sun, 18 Feb 2018 09:06:47 +0800 huang ying
wrote:
> >> >> +struct swap_info_struct *get_swap_device(swp_entry_t entry)
> >> >> +{
> >> >> + struct swap_info_struct *si;
> >> >> + unsigned long type, offset;
> >> >> +
> >> >> + if (!entry.val)
> >> >> + goto out;
> >> >> + type =
Hi Shakeel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.16-rc2 next-20180220]
[cannot apply to linus/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url
On Tue, Feb 20, 2018 at 3:30 PM Luck, Tony wrote:
> [1] I didn't dig through the Linux code to check whether we manage to
> get those four SMIs from a single EFI call, or whether we make multiple
> EFI calls to open/read/close one file. It is possible that we stink a
> bit too if we are doing more
[+cc David Ahern, TJ]
On Thu, Feb 15, 2018 at 09:17:58AM -0600, Bjorn Helgaas wrote:
> I'm trying to make some progress on this old series from Yinghai [1].
> There's a lot more to do than just these first two patches, but maybe a
> tiny bit of incremental progress is better than none.
>
> The fi
On Mon, Feb 19, 2018 at 11:53:49AM -0500, Waiman Long wrote:
> The current intvec range helper functions will fail with error when
> users try to assign an out-of-range value.
As designed.
> The following new non-failing range helper functions are now added:
> - proc_dointvec_clamp_minmax()
> -
The following errors are seen when building the kernel with the latest
available metag toolchain (4.2.4 (IMG-1.4.0.700)). Kernel version tested
is (v4.16-rc2-64-gaf3e79d29555).
metag:allmodconfig
arch/metag/kernel/devtree.c:54: error: implicit declaration of function
'pr_info'
arch/metag/kernel
Hi Jonathan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.16-rc2 next-20180220]
[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
> read() will make two calls - one to obtain the size of the variable, the
> other to read it. It looks like cat will also trigger an fstat(), so we're
> probably also making a call for that. There's presumably some optimisation
> that could be made there if we trust the firmware not to change the
On Tue, Feb 20, 2018 at 03:17:05PM -0800, Andrew Morton wrote:
> On Mon, 19 Feb 2018 11:53:50 -0500 Waiman Long wrote:
>
> > Even with clamped sysctl parameters, it is still not that straight
> > forward to figure out the exact range of those parameters. One may
> > try to write extreme parameter
On Tue, 2018-02-20 at 23:43 +0200, Andy Shevchenko wrote:
> There are users which print time and date represented by content of
> struct rtc_time in human readable format.
>
> Instead of open coding that each time introduce %ptR[dt][rv] specifier.
>
> Note, users have to select PRINTK_PEXT_TIMEDA
On Tue, Feb 20, 2018 at 04:21:58PM +0100, Peter Zijlstra wrote:
> On Tue, Feb 20, 2018 at 04:05:49PM +0100, Christian König wrote:
> > Am 20.02.2018 um 15:54 schrieb Peter Zijlstra:
> > > On Tue, Feb 20, 2018 at 03:34:07PM +0100, Christian König wrote:
> > > > > OK, but neither case would in fact n
On Wed, Feb 21, 2018 at 08:36:04AM +1100, Dave Chinner wrote:
> FWIW, I'm not wanting to use it to replace static variables. All the
> structures are dynamically allocated right now, and get assigned to
> other dynamically allocated pointers. I'd likely split the current
> structures into a "ro aft
On 2/20/18 11:49 AM, Yang Shi wrote:
When running vm-scalability with large memory (> 300GB), the below hung
task issue happens occasionally.
INFO: task ps:14018 blocked for more than 120 seconds.
Tainted: GE 4.9.79-009.ali3000.alios7.x86_64 #1
"echo 0 > /proc/sys/kernel/
On Sat, 17 Feb 2018 11:14:10 +0300 Konstantin Khlebnikov
wrote:
> On 17.02.2018 02:57, Andrew Morton wrote:
> > On Sun, 11 Feb 2018 13:36:41 +0300 Konstantin Khlebnikov
> > wrote:
> >
> >> KPF_WAITERS indicates tasks are waiting for a page lock or writeback.
> >> This might be false-positive,
On Sat, 17 Feb 2018 16:06:42 +0200 Andy Shevchenko
wrote:
> On Sat, Feb 17, 2018 at 9:20 AM, Alexey Dobriyan wrote:
> > Signed-off-by: Alexey Dobriyan
>
>
> > - seq_printf(m, "%s", symname);
> > + seq_puts(m, symname);
>
> While this might have no security concer
Remove the GPL v2 license boilerplate and update with
the SPDX license identifier.
Signed-off-by: Rajmohan Mani
---
drivers/acpi/pmic/tps68470_pmic.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/acpi/pmic/tps68470_pmic.c
b/drivers/acpi/pmic/tps68470_pmic
Remove the GPL v2 license boilerplate and update with
the SPDX license identifier.
Signed-off-by: Rajmohan Mani
---
drivers/gpio/gpio-tps68470.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/gpio/gpio-tps68470.c b/drivers/gpio/gpio-tps68470.c
index fa2662f
This patch series update the TPS68470 PMIC drivers with SPDX license
identifiers, while removing the GPL v2 boilerplate license text.
Rajmohan Mani (3):
mfd: Update to SPDX license identifier
gpio: Update to SPDX license identifier
ACPI / PMIC: Update to SPDX license identifier
drivers/acp
Remove the GPL v2 license boilerplate and update with
the SPDX license identifier.
Signed-off-by: Rajmohan Mani
---
drivers/mfd/tps68470.c | 10 +-
include/linux/mfd/tps68470.h | 17 +++--
2 files changed, 4 insertions(+), 23 deletions(-)
diff --git a/drivers/mfd/tps68
On 02/20/2018 03:20 PM, Rodrigo Rivas Costa wrote:
On Tue, Feb 20, 2018 at 02:29:48PM -0800, Pierre-Loup A. Griffais wrote:
Hi Rodrigo,
Thanks for working on that! I have a few questions and remarks.
For the reverse-engineering part, there's a lot of existing reference in
existing (user-space)
On Tue, 23 Jan 2018 16:57:21 +0300 Konstantin Khlebnikov
wrote:
> # stress-ng --clone 100 -t 10s --metrics-brief
> at 32-core machine shows boost 35000 -> 36000 bogo ops
>
> Patch 4/4 is a kind of RFC.
> Actually per-cpu cache of preallocated stacks works faster than buddy
> allocator thus
> p
On Tue, 16 Jan 2018 21:50:15 -0800 Kees Cook wrote:
> One of the classes of kernel stack content leaks is exposing the contents
> of prior heap or stack contents when a new process stack is allocated.
> Normally, those stacks are not zeroed, and the old contents remain in
> place. With some types
The ISL12026 is a combination RTC and EEPROM device with I2C
interface. The standard RTC driver interface is provided. The EEPROM
is accessed via the NVMEM interface via the "eeprom0" directory in the
sysfs entry for the device.
Reviewed-by: Rob Herring
Reviewed-by: Andy Shevchenko
Signed-off-
On Tue, 2018-02-20 at 14:54 +0530, Chintan Pandya wrote:
>
> On 12/28/2017 4:54 PM, Hanjun Guo wrote:
> > From: Hanjun Guo
> >
> > When we using iounmap() to free the 4K mapping, it just clear the PTEs
> > but leave P4D/PUD/PMD unchanged, also will not free the memory of page
> > tables.
> >
>
Hi Salvador,
On 01/30/2018 01:36 AM, Salvador Fandino wrote:
> Let me start by explaining the problem that have motivated me to write
> this patches:
>
> I work on the QVD, a virtual desktop platform for Linux. This software
> runs Linux desktops (i.e. XFCE, KDE) and their applications inside LXC
On Tue, 9 Jan 2018 08:30:49 +0200 Mike Rapoport
wrote:
> This patches introduces new process_vmsplice system call that combines
> functionality of process_vm_read and vmsplice.
All seems fairly strightforward. The big question is: do we know that
people will actually use this, and get suffici
On Tue, Feb 20, 2018 at 3:30 PM, Luck, Tony wrote:
>
> Too much weasel there. Should say:
>
> EFI[1] stinks. Reading any file in /sys/firmware/efi/efivars/ generates
> 4 (yes FOUR!) SMIs.
Is that actualkly the normal implementation?
Also, if these are just synchronous SMI's, then don't we just
On Tue, Feb 20, 2018 at 02:01:51PM -0800, Linus Torvalds wrote:
> Which variables are actually used by user space tools? It sounds like
> it may be exactly those boot order things that we already have flags
> and special behavior for.
Not that many are really part of a non-root workflow. The big
Hi Shakeel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.16-rc2 next-20180220]
[cannot apply to linus/master]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url
Remove the GPL v2 license boilerplate and update with the SPDX license
identifier.
Signed-off-by: Rajmohan Mani
---
drivers/media/i2c/dw9714.c | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/drivers/media/i2c/dw9714.c b/drivers/media/i2c/dw9714.c
index 8dbbf0f
401 - 500 of 816 matches
Mail list logo