[tip:timers/core] hrtimer: Improve kernel message printing

2018-07-12 Thread tip-bot for Geert Uytterhoeven
Commit-ID: 7a6e55375d5c584c7c11cfdcaa8ad9d6cccb419d Gitweb: https://git.kernel.org/tip/7a6e55375d5c584c7c11cfdcaa8ad9d6cccb419d Author: Geert Uytterhoeven AuthorDate: Thu, 12 Jul 2018 16:41:18 +0200 Committer: Thomas Gleixner CommitDate: Thu, 12 Jul 2018 21:29:30 +0200 hrtimer:

[PATCH 3/4] staging: gasket: fix multi line comments style

2018-07-12 Thread Felix Siegel
This patch fixes checkpatch.pl warnings: WARNING: Block comments should align the * on each line Signed-off-by: Felix Siegel --- drivers/staging/gasket/gasket_core.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/gasket/gasket_core.c

[PATCH 4/4] staging: gasket: Use __func__ instead of hardcoded string - Style

2018-07-12 Thread Felix Siegel
Changed logging statements to use %s and __func__ instead of hard coding the function name in a string. Signed-off-by: Felix Siegel --- drivers/staging/gasket/apex_driver.c | 15 --- drivers/staging/gasket/gasket_core.c | 11 ++-

[tip:x86/cache] x86/intel_rdt: Fix possible circular lock dependency

2018-07-12 Thread tip-bot for Reinette Chatre
Commit-ID: 2989360d9c6669d8ae64edc933088e640481b48b Gitweb: https://git.kernel.org/tip/2989360d9c6669d8ae64edc933088e640481b48b Author: Reinette Chatre AuthorDate: Wed, 11 Jul 2018 13:06:07 -0700 Committer: Thomas Gleixner CommitDate: Thu, 12 Jul 2018 21:33:43 +0200 x86/intel_rdt: Fix

[tip:timers/core] ktime: Provide typesafe ktime_to_ns()

2018-07-12 Thread tip-bot for Eric Dumazet
Commit-ID: a8802d97e73346bc81609df9dfba7d3306f40d87 Gitweb: https://git.kernel.org/tip/a8802d97e73346bc81609df9dfba7d3306f40d87 Author: Eric Dumazet AuthorDate: Wed, 11 Jul 2018 11:16:41 -0700 Committer: Thomas Gleixner CommitDate: Thu, 12 Jul 2018 21:35:28 +0200 ktime: Provide

Re: [PATCH v3 3/3] clk: qcom: Add display clock controller driver for SDM845

2018-07-12 Thread Stephen Boyd
Quoting Taniya Das (2018-07-12 10:21:33) > ++ Display driver team, > > On 7/9/2018 8:36 PM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-07-09 02:34:07) > >> > >> > >> On 7/9/2018 1:07 PM, Stephen Boyd wrote: > >>> Quoting Taniya Das (2018-07-09 00:07:21) > > > On 7/9/2018

Re: [PATCH 1/4] staging: gasket: add SPDX-License-Identifier tag

2018-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2018 at 09:27:12PM +0200, Felix Siegel wrote: > Use GPL-2.0 based on the license text in each of the files. > Remove license "boiler-plate". > > Signed-off-by: Felix Siegel I sent this same patch 1 1/2 days ago :) sorry, greg k-h

Re: [PATCH v9 1/5] clocksource/drivers/timer-mediatek: Add system timer bindings

2018-07-12 Thread Daniel Lezcano
On 12/07/2018 21:16, Rob Herring wrote: > On Tue, Jul 10, 2018 at 9:02 AM Daniel Lezcano > wrote: >> >> >> Rob ? Are you fine with this change ? > > Yes, I added my R-by on Fri. Ah, ok. I missed it. Thanks -- Daniel -- Linaro.org │ Open source software for ARM

Re: [PATCHv2] refcount: always allow checked forms

2018-07-12 Thread Kees Cook
On Thu, Jul 12, 2018 at 10:01 AM, Will Deacon wrote: > On Wed, Jul 11, 2018 at 10:36:07AM +0100, Mark Rutland wrote: >> In many cases, it would be useful to be able to use the full >> sanity-checked refcount helpers regardless of CONFIG_REFCOUNT_FULL, as >> this would help to avoid duplicate

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: > On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra wrote: > > > > The locking pattern is fairly simple and shows where RCpc comes apart > > from expectation real nice. > > So who does RCpc right now for the unlock-lock sequence?

Re: [PATCH 4/4] staging: gasket: Use __func__ instead of hardcoded string - Style

2018-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2018 at 09:27:15PM +0200, Felix Siegel wrote: > Changed logging statements to use %s and __func__ instead of hard coding > the function name in a string. > > Signed-off-by: Felix Siegel > --- > drivers/staging/gasket/apex_driver.c | 15 --- >

Re: [PATCH 3/4] staging: gasket: fix multi line comments style

2018-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2018 at 09:27:14PM +0200, Felix Siegel wrote: > This patch fixes checkpatch.pl warnings: > > WARNING: Block comments should align the * on each line > Signed-off-by: Felix Siegel So close, I need a blank line before the signed-of-by line :( I'll go edit it by hand, but be more

[PATCH] mmc: mxcmmc: Fix missing parentheses and brace

2018-07-12 Thread Kees Cook
Looks like the adjusted syntax wasn't fully build tested. This fixes failures with powerpc builds: drivers/mmc/host/mxcmmc.c: In function ‘mxcmci_swap_buffers’: drivers/mmc/host/mxcmmc.c:296:51: error: expected ‘)’ before ‘;’ token void *buf = kmap_atomic(sg_page(sg) + sg->offset;

Re: [PATCH v2 1/4] x86/split_lock: Enumerate #AC exception for split locked access feature

2018-07-12 Thread Thomas Gleixner
On Wed, 11 Jul 2018, Dave Hansen wrote: > On 07/10/2018 12:47 PM, Thomas Gleixner wrote: > > And please tell your hardware people that they should stop creating > > features which are not enumerated in one way or the other. That's just a > > pain all over the place. Boot code, kernel, virt, tools

Re: [PATCH 0/3] ata: ahci_platform: minor fixes

2018-07-12 Thread Tejun Heo
On Thu, Jul 12, 2018 at 11:41:28AM +, Corentin Labbe wrote: > Hello > > This patchset fixes some minor problem found when working on supporting > allwinner R40 AHCI. > > Regards > > Corentin Labbe (3): > ata: ahci_platform: correct parameter documentation for > ahci_platform_shutdown

Re: [PATCH] pinctrl: msm: Pass along set_wake failures

2018-07-12 Thread Lina Iyer
On Thu, Jul 12 2018 at 10:31 -0600, Evan Green wrote: On Tue, Jul 10, 2018 at 1:38 PM Lina Iyer wrote: On Tue, Jul 10 2018 at 12:53 -0600, Evan Green wrote: >On Mon, Jul 9, 2018 at 10:27 AM Bjorn Andersson > wrote: >Our understanding is the downstream kernel had an interrupt hierarchy >of GIC

Re: [PATCH] ata: Guard ata_scsi_dump_cdb() by ATA_VERBOSE_DEBUG

2018-07-12 Thread Tejun Heo
On Thu, Jul 12, 2018 at 06:29:44PM +0200, Paul Menzel wrote: > Date: Sun, 8 Jul 2018 09:11:34 +0200 > > Defining `ATA_DEBUG` nothing can be really seen, as the log is spammed > with CDB messages. > > Therefore, guard the print by `ATA_VERBOSE_DEBUG`. > > Signed-off-by: Paul Menzel Applied to

Re: [PATCH] ata: Only output sg element mapped number in verbose debug

2018-07-12 Thread Tejun Heo
On Thu, Jul 12, 2018 at 06:31:03PM +0200, Paul Menzel wrote: > Date: Sun, 8 Jul 2018 09:18:21 +0200 > > Defining `ATA_DEBUG` there are a lof of messages like below in the log. > > [ 16.345472] ata_sg_setup: 1 sg elements mapped > > As that is too verbose, only output these messages in

Need Immediate Funds for project funding/Loan/finance. Get it Now @ just 2.75% !!!

2018-07-12 Thread Coutts & Co
Coutts & Co Ltd 440 Strand, London, WC2R 0QS Website: https://www.coutts.com Telephone:+4420 3389 7785 & +4420 7753 1000 Fax:+44 872 110 3479 OUR REF: Coutts/UK/2018/LOANAPP YOUR REF:LOANAPPT/Coutts/JULY/2018 TO WHOM IT MAY CONCERN We give out both Local/International Loan starting from 2.75%*

Re: [PATCH 09/10] psi: cgroup support

2018-07-12 Thread Tejun Heo
On Thu, Jul 12, 2018 at 01:29:41PM -0400, Johannes Weiner wrote: > On a system that executes multiple cgrouped jobs and independent > workloads, we don't just care about the health of the overall system, > but also that of individual jobs, so that we can ensure individual job > health, fairness

[PATCH] x86: vdso: Fix leaky vdso link with CC=clang

2018-07-12 Thread Alistair Strachan
The vdso{32,64}.so can fail to link with CC=clang when clang tries to find a suitable GCC toolchain to link these libraries with. /usr/bin/ld: arch/x86/entry/vdso/vclock_gettime.o: access beyond end of merged section (782) This happens because the host environment leaked into the cross

Re: [PATCH v9 4/7] tracepoint: Make rcuidle tracepoint callers use SRCU

2018-07-12 Thread Steven Rostedt
On Thu, 12 Jul 2018 12:17:01 -0700 Joel Fernandes wrote: > AFAICT, _notrace doesn't call into lockdep or tracing (there's also a comment > that says so): > > /** > * srcu_dereference_notrace - no tracing and no lockdep calls from here > */ Note, I had a different tree checked out, so I

Re: [PATCH 2/2] spi: Introduce new driver for Qualcomm QuadSPI controller

2018-07-12 Thread Doug Anderson
Hi, On Thu, Jul 5, 2018 at 2:46 PM, Girish Mahadevan wrote: > New driver for Qualcomm QuadSPI(QSPI) controller that is used to > communicate with slaves such flash memory devices. The QSPI controller > can operate in 2 or 4 wire mode but only supports SPI Mode 0 and SPI > Mode 3. The controller

[GIT PULL][PATCH 0/2] Few timekeeping items for 4.19

2018-07-12 Thread John Stultz
Hey Thomas, I had a few other items in my stack here, but you've already queued them in -tip, so here's what I have left. Let me know if you have any objections or feedback for change. thanks -john Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Miroslav Lichvar Cc: Richard Cochran Cc: Prarit

[PATCH 1/2] selftest: timers: Tweak raw_skew to SKIP when ADJ_OFFSET/other clock adjustments are in progress

2018-07-12 Thread John Stultz
In the past we've warned when ADJ_OFFSET was in progress, usually caused by ntpd or some other time adjusting daemon running in non steady sate, which can cause the skew calculations to be incorrect. Thus, this patch checks to see if the clock was being adjusted when we fail so that we don't

Re: [PATCH v4 11/14] treewide: Prepare to remove VLA usage for AHASH_REQUEST_ON_STACK

2018-07-12 Thread Kees Cook
On Thu, Jul 12, 2018 at 9:02 AM, Arnd Bergmann wrote: > On Wed, Jul 11, 2018 at 10:36 PM, Kees Cook wrote: >> Several uses of AHASH_REQUEST_ON_STACK() will trigger FRAME_WARN warnings >> (when less than 2048) once the VLA is no longer hidden from the check: >> >>

[PATCH 2/2] timekeeping: Update multiplier when NTP frequency is set directly

2018-07-12 Thread John Stultz
From: Miroslav Lichvar When the NTP frequency is set directly from userspace using the ADJ_FREQUENCY or ADJ_TICK timex mode, immediately update the timekeeper's multiplier instead of waiting for the next tick. This removes a hidden non-deterministic delay in setting of the frequency and allows

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread David Howells
Linus Torvalds wrote: > Don't play games with override_creds. It's wrong. > > You have to use file->f_creds - no games, no garbage. You missed the point. It's all very well to say "use file->f_creds". The problem is this has to be handed down all the way through the filesystem and down into

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 09:52:42PM +0200, Andrea Parri wrote: > On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: > > On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra > > wrote: > > > > > > The locking pattern is fairly simple and shows where RCpc comes apart > > > from expectation

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Andy Lutomirski
> On Jul 12, 2018, at 1:23 PM, David Howells wrote: > > Linus Torvalds wrote: > >> Don't play games with override_creds. It's wrong. >> >> You have to use file->f_creds - no games, no garbage. > > You missed the point. > > > My suggestion was to use override_creds() to impose the

Re: [PATCH] x86: vdso: Fix leaky vdso link with CC=clang

2018-07-12 Thread H. Peter Anvin
On 07/12/18 13:10, Alistair Strachan wrote: > The vdso{32,64}.so can fail to link with CC=clang when clang tries to > find a suitable GCC toolchain to link these libraries with. > > /usr/bin/ld: arch/x86/entry/vdso/vclock_gettime.o: > access beyond end of merged section (782) > > This happens

Re: [GIT PULL][PATCH 0/2] Few timekeeping items for 4.19

2018-07-12 Thread Thomas Gleixner
John, On Thu, 12 Jul 2018, John Stultz wrote: > I had a few other items in my stack here, but you've already > queued them in -tip, so here's what I have left. Did I miss you replying on them that you picked them up? Normally when I see that you or Daniel picked something up I happily move

Re: [RESEND PATCH] mmc: tegra: enable ddr_signaling for MMC_TIMING_MMC_DDR52

2018-07-12 Thread Marcel Ziswiler
On Thu, 2018-07-12 at 19:38 +0200, Tamás Szűcs wrote: > This fixes sampling errors with eMMC modules using DDR52 when host > capabilities > via setting NVQUIRK_ENABLE_DDR50 and NVQUIRK_ENABLE_SDHCI_SPEC_300 > are enabled. > > Signed-off-by: Tamás Szűcs > --- > drivers/mmc/host/sdhci-tegra.c | 2

Re: [PATCH v9 4/7] tracepoint: Make rcuidle tracepoint callers use SRCU

2018-07-12 Thread Joel Fernandes
On Thu, Jul 12, 2018 at 1:15 PM, Steven Rostedt wrote: > On Thu, 12 Jul 2018 12:17:01 -0700 >> So then, we should use the regular variant for this additional check you're >> suggesting. > > OK, I thought we had a rcu_dereference_notrace() that did checks and > thought that this followed suit, but

Re: [PATCH v9 4/7] tracepoint: Make rcuidle tracepoint callers use SRCU

2018-07-12 Thread Steven Rostedt
On Thu, 12 Jul 2018 13:29:32 -0700 Joel Fernandes wrote: > Also the kselftest patches were acked and can be taken independently, > I had reposted them as a separate 2 patch series with some minor > changes based on your suggestions. Could you check them? > Yep, I saw them. I was going to wait

Re: [GIT PULL][PATCH 0/2] Few timekeeping items for 4.19

2018-07-12 Thread John Stultz
On Thu, Jul 12, 2018 at 1:26 PM, Thomas Gleixner wrote: > On Thu, 12 Jul 2018, John Stultz wrote: > >> I had a few other items in my stack here, but you've already >> queued them in -tip, so here's what I have left. > > Did I miss you replying on them that you picked them up? Normally when I >

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Linus Torvalds
On Thu, Jul 12, 2018 at 1:23 PM David Howells wrote: > > It's all very well to say "use file->f_creds". The problem is this has to be > handed down all the way through the filesystem and down into the block layer > as appropriate to anywhere there's an LSM call, a CAP_* check or a pathwalk - >

Re: [PATCH v4 0/3] uio: fix potential crash bug

2018-07-12 Thread Hamish Martin
Hi Xiubo, Tested-by: Hamish Martin I see these were already merged into Linus' tree but I wanted to let you know that I tested v4.18-rc4 (which contains these three patches) and the issue which led to my original series is still fixed and this patch series of yours has caused no regression

Re: [PATCH 1/4] staging: gasket: add SPDX-License-Identifier tag

2018-07-12 Thread Felix Siegel
On Thu, 12 Jul 2018 21:42:49 +0200 Greg Kroah-Hartman wrote: > On Thu, Jul 12, 2018 at 09:27:12PM +0200, Felix Siegel wrote: > > Use GPL-2.0 based on the license text in each of the files. > > Remove license "boiler-plate". > > > > Signed-off-by: Felix Siegel > > I sent this same patch 1 1/2

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Linus Torvalds
On Thu, Jul 12, 2018 at 1:34 PM Linus Torvalds wrote: > > This is the whole "write() is only for data". If you ever have > credentials mattering at write time, you're doing something wrong. > > Really really. > > Don't do it. .. and I'd like to repeat: we *have* done things wrong. But that's

[PATCH v5 1/5] mm/sparse: abstract sparse buffer allocations

2018-07-12 Thread Pavel Tatashin
When struct pages are allocated for sparse-vmemmap VA layout, we first try to allocate one large buffer, and than if that fails allocate struct pages for each section as we go. The code that allocates buffer is uses global variables and is spread across several call sites. Cleanup the code by

[PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-12 Thread Pavel Tatashin
sparse_init() requires to temporary allocate two large buffers: usemap_map and map_map. Baoquan He has identified that these buffers are so large that Linux is not bootable on small memory machines, such as a kdump boot. The buffers are especially large when CONFIG_X86_5LEVEL is set, as they are

[PATCH v5 3/5] mm/sparse: move buffer init/fini to the common place

2018-07-12 Thread Pavel Tatashin
Now, that both variants of sparse memory use the same buffers to populate memory map, we can move sparse_buffer_init()/sparse_buffer_fini() to the common place. Signed-off-by: Pavel Tatashin --- include/linux/mm.h | 3 --- mm/sparse-vmemmap.c | 2 -- mm/sparse.c | 14 +++---

Re: [PATCH] x86: vdso: Fix leaky vdso link with CC=clang

2018-07-12 Thread Alistair Strachan
On Thu, Jul 12, 2018 at 1:25 PM H. Peter Anvin wrote: > On 07/12/18 13:10, Alistair Strachan wrote: > > The vdso{32,64}.so can fail to link with CC=clang when clang tries to > > find a suitable GCC toolchain to link these libraries with. > > > > /usr/bin/ld: arch/x86/entry/vdso/vclock_gettime.o:

[PATCH v5 5/5] mm/sparse: delete old sprase_init and enable new one

2018-07-12 Thread Pavel Tatashin
Rename new_sparse_init() to sparse_init() which enables it. Delete old sparse_init() and all the code that became obsolete with. Signed-off-by: Pavel Tatashin --- include/linux/mm.h | 6 -- mm/Kconfig | 4 - mm/sparse-vmemmap.c | 21 - mm/sparse.c | 217

[PATCH v5 0/5] sparse_init rewrite

2018-07-12 Thread Pavel Tatashin
Changelog: v5 - v4 - Fixed the issue that was reported on ppc64 when CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER is removed - Consolidated the new buffer allocation between vmemmap and non-vmemmap variants of sparse layout. - Removed all review-by comments,

[PATCH v5 2/5] mm/sparse: use the new sparse buffer functions in non-vmemmap

2018-07-12 Thread Pavel Tatashin
non-vmemmap sparse also allocated large contiguous chunk of memory, and if fails falls back to smaller allocations. Use the same functions to allocate buffer as the vmemmap-sparse Signed-off-by: Pavel Tatashin --- mm/sparse.c | 41 ++--- 1 file changed, 14

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Alan Stern
On Thu, 12 Jul 2018, Andrea Parri wrote: > > It seems reasonable to ask people to learn that locks have stronger > > ordering guarantees than RMW atomics do. Maybe not the greatest > > situation in the world, but one I think we could live with. > > Yeah, this was one of my main objections.

Re: [PATCH 3/4] staging: gasket: fix multi line comments style

2018-07-12 Thread Felix Siegel
On Thu, 12 Jul 2018 21:53:54 +0200 Greg Kroah-Hartman wrote: > On Thu, Jul 12, 2018 at 09:27:14PM +0200, Felix Siegel wrote: > > This patch fixes checkpatch.pl warnings: > > > > WARNING: Block comments should align the * on each line > > Signed-off-by: Felix Siegel > > So close, I need a

Re: [PATCH 02/39] x86/entry/32: Rename TSS_sysenter_sp0 to TSS_entry_stack

2018-07-12 Thread Andy Lutomirski
> On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > From: Joerg Roedel > > The stack address doesn't need to be stored in tss.sp0 if > we switch manually like on sysenter. Rename the offset so > that it still makes sense when we change its location. > > We will also use this stack for

Re: [PATCH 01/39] x86/asm-offsets: Move TSS_sp0 and TSS_sp1 to asm-offsets.c

2018-07-12 Thread Andy Lutomirski
> On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > From: Joerg Roedel > > These offsets will be used in 32 bit assembly code as well, > so make them available for all of x86 code. Reviewed-by: Andy Lutomirski > > Signed-off-by: Joerg Roedel > --- > arch/x86/kernel/asm-offsets.c|

Re: [PATCH 03/39] x86/entry/32: Load task stack from x86_tss.sp1 in SYSENTER handler

2018-07-12 Thread Andy Lutomirski
> On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > From: Joerg Roedel > We want x86_tss.sp0 point to the entry stack later to use > it as a trampoline stack for other kernel entry points > besides SYSENTER. Makes sense: sp0 will be the entry stack. But: > > >/* Offset from the

Re: [PATCH 05/39] x86/entry/32: Unshare NMI return path

2018-07-12 Thread Andy Lutomirski
> On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > From: Joerg Roedel > > NMI will no longer use most of the shared return path, > because NMI needs special handling when the CR3 switches for > PTI are added. Why? What would go wrong? How many return-to-usermode paths will we have?

Re: [PATCH 6/6] coresight: etm-perf: Add support for ETR backend

2018-07-12 Thread Mathieu Poirier
Hi Suzuki, On Wed, Jul 11, 2018 at 03:16:39PM +0100, Suzuki K Poulose wrote: > Add support for using TMC-ETR as backend for ETM perf tracing. > We use software double buffering at the moment. i.e, the TMC-ETR > uses a separate buffer than the perf ring buffer. The data is > copied to the perf

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread David Howells
Andy Lutomirski wrote: > fsconfigure(contextfd, ADD_BLOCKDEV, dfd, path, flags); > > fsconfigure(contextfd, ADD_OPTION, 0, “foo=bar”, flags); That seems okayish. I'm not sure we need the flags, but I do want to allow for binary data in an option. So perhaps something like: int

[PATCH] of: overlay: update phandle cache on overlay apply and remove

2018-07-12 Thread frowand . list
From: Frank Rowand A comment in the review of the patch adding the phandle cache said that the cache would have to be updated when modules are applied and removed. This patch implements the cache updates. Fixes: 0b3ce78e90fc ("of: cache phandle nodes to reduce cost of

we do editing for you

2018-07-12 Thread Simon
We are a good team, we can process 200+ images each day for you. If you need any image editing service, please let us know. Photos cut out; Photos clipping path; Photos masking; Photo shadow creation; Photos color correction; Photos retouching; Beauty Model retouching on skin, face, body;

Re: [PATCH 07/39] x86/entry/32: Enter the kernel via trampoline stack

2018-07-12 Thread Andy Lutomirski
> On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > From: Joerg Roedel > > Use the entry-stack as a trampoline to enter the kernel. The > entry-stack is already in the cpu_entry_area and will be > mapped to userspace when PTI is enabled. > > Signed-off-by: Joerg Roedel > --- >

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 04:43:46PM -0400, Alan Stern wrote: > On Thu, 12 Jul 2018, Andrea Parri wrote: > > > > It seems reasonable to ask people to learn that locks have stronger > > > ordering guarantees than RMW atomics do. Maybe not the greatest > > > situation in the world, but one I think

Re: [PATCH v3 05/12] kconfig: make syncconfig update .config regardless of sym_change_count

2018-07-12 Thread Dirk Gouders
Dirk Gouders writes: > Masahiro Yamada writes: > >> 2018-07-09 20:39 GMT+09:00 Dirk Gouders : >>> Dirk Gouders writes: >>> Dirk Gouders writes: > Masahiro Yamada writes: > >> syncconfig updates the .config only when sym_change_count > 0, i.e. >> any change in config

Re: [PATCH 1/2] lib: Add module for testing preemptoff/irqsoff latency tracers

2018-07-12 Thread Steven Rostedt
On Tue, 10 Jul 2018 23:35:39 -0700 Joel Fernandes wrote: > > Co-developed-by: Erick Reyes A co-developer needs to add their signed off by. To specify that Erick is a co-author, you could do: [ Erick is a co-developer of this commit ] Signed-off-by: Add Erick's SOB here. > Cc: Andy

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-12 Thread Andrea Parri
On Thu, Jul 12, 2018 at 11:13:48PM +0200, Andrea Parri wrote: > On Thu, Jul 12, 2018 at 04:43:46PM -0400, Alan Stern wrote: > > On Thu, 12 Jul 2018, Andrea Parri wrote: > > > > > > It seems reasonable to ask people to learn that locks have stronger > > > > ordering guarantees than RMW atomics do.

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread David Howells
Linus Torvalds wrote: > The unix semantics are that credentials are checked at open time. Sigh. The problem is that there's more than one actual "open" involved. fd = fsopen("ext4");<--- #1 whatever_interface(fd, "s /dev/sda1");

[PATCH 2/2] parport: ieee1284: mark expected switch fall-throughs

2018-07-12 Thread Sudip Mukherjee
From: "Gustavo A. R. Silva" In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva Signed-off-by: Sudip Mukherjee --- drivers/parport/ieee1284.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 1/2] parport: sunbpp: fix error return code

2018-07-12 Thread Sudip Mukherjee
From: Julia Lawall Return an error code on failure. Change leading spaces to tab on the first if. Problem found using Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Sudip Mukherjee --- drivers/parport/parport_sunbpp.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Linus Torvalds
On Thu, Jul 12, 2018 at 2:00 PM David Howells wrote: > > > for example: > > fd = fsopen("ext4", FSOPEN_CLOEXEC); > fsconfig(fd, fsconfig_blockdev, "dev.data", "/dev/sda1", ...); > fsconfig(fd, fsconfig_blockdev, "dev.journal", "/dev/sda2", ...); Ok, that looks good to me.

[patch -mm] mm, oom: remove oom_lock from exit_mmap

2018-07-12 Thread David Rientjes
oom_lock isn't needed for __oom_reap_task_mm(). If MMF_UNSTABLE is already set for the mm, we can simply back out immediately since oom reaping is already in progress (or done). Signed-off-by: David Rientjes --- mm/mmap.c | 2 -- mm/oom_kill.c | 6 -- 2 files changed, 4

Re: [PATCHv2] refcount: always allow checked forms

2018-07-12 Thread Ingo Molnar
* Kees Cook wrote: > On Thu, Jul 12, 2018 at 10:01 AM, Will Deacon wrote: > > On Wed, Jul 11, 2018 at 10:36:07AM +0100, Mark Rutland wrote: > >> In many cases, it would be useful to be able to use the full > >> sanity-checked refcount helpers regardless of CONFIG_REFCOUNT_FULL, as > >> this

Re: [PATCH 1/2] lib: Add module for testing preemptoff/irqsoff latency tracers

2018-07-12 Thread Joel Fernandes
On Thu, Jul 12, 2018 at 05:22:32PM -0400, Steven Rostedt wrote: > On Tue, 10 Jul 2018 23:35:39 -0700 > Joel Fernandes wrote: > > > > > Co-developed-by: Erick Reyes > > A co-developer needs to add their signed off by. To specify that Erick > is a co-author, you could do: > > [ Erick is a

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Linus Torvalds
On Thu, Jul 12, 2018 at 2:26 PM David Howells wrote: > > The problem is that there's more than one actual "open" involved. No. The problem is "write()". This is not about open, about fsopen, or about anything at all. This is about the fact that "write()" by definition can happen in a different

Re: [PATCH v3 1/2] leds: core: Introduce generic pattern interface

2018-07-12 Thread Jacek Anaszewski
Hi Baolin, On 07/12/2018 02:24 PM, Baolin Wang wrote: Hi Jacek, On 12 July 2018 at 05:10, Jacek Anaszewski wrote: Hi Baolin. On 07/11/2018 01:02 PM, Baolin Wang wrote: Hi Jacek and Pavel, On 29 June 2018 at 13:03, Baolin Wang wrote: From: Bjorn Andersson Some LED controllers have

[PATCH v2 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-07-12 Thread Tomer Maimon
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and GPIO controller driver. Signed-off-by: Tomer Maimon --- drivers/pinctrl/Kconfig |1 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/nuvoton/Kconfig | 12 + drivers/pinctrl/nuvoton/Makefile

[PATCH v2 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-07-12 Thread Tomer Maimon
Added device tree binding documentation for Nuvoton BMC NPCM750/730/715/705 pinmux and GPIO controller. Signed-off-by: Tomer Maimon --- .../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 + 1 file changed, 216 insertions(+) create mode 100644

[PATCH v2 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-07-12 Thread Tomer Maimon
This patch set adds pinmux and GPIO controller for the Nuvoton NPCM750/730/715/705 Baseboard Management Controller (BMC). The Nuvoton BMC NPCM750/730/715/705 Pinmux functions accessible only for pin groups and pinconf parameters available only for individual pins. The Nuvoton BMC

Re: [v2,3/3] i2c: at91: added slave mode support

2018-07-12 Thread Wolfram Sang
On Tue, Jul 10, 2018 at 10:42:57AM +0200, Ludovic Desroches wrote: > On Mon, Jul 09, 2018 at 05:51:36PM +0200, Wolfram Sang wrote: > > > > > Sorry for having not catched it. If I remember well, it was the only > > > issue I had while testing the slave support. > > > > > > > > > > > BTW maybe I

Re: [PATCH 1/2] tracing: kprobes: Prohibit probing on notrace functions

2018-07-12 Thread Steven Rostedt
On Thu, 12 Jul 2018 13:54:12 -0400 Francis Deslauriers wrote: > From: Masami Hiramatsu > > Prohibit kprobe-events probing on notrace function. > Since probing on the notrace function can cause recursive > event call. In most case those are just skipped, but > in some case it falls into

Re: [PATCH v2 4/6] arm: dts: add support for Laird WB50N cpu module and DVK

2018-07-12 Thread Alexandre Belloni
Hi, I've now applied the whole series after fixing two small whitespace issues. On 15/06/2018 14:40:53+0100, Ben Whitten wrote: > +_clk { > + atmel,clk-output-range = <0 13200>; > +}; > + But this is not actually allowed by the hardware (well, it is but it will lead to issues) and will

[PATCH 2/2] staging: bcm2835-audio: Don't leak workqueue if open fails

2018-07-12 Thread Tuomas Tynkkynen
Currently, if bcm2835_audio_open() fails partway, the allocated workqueue is leaked. Avoid that. While at it, propagate the return value of bcm2835_audio_open_connection() on failure instead of returning -1. Signed-off-by: Tuomas Tynkkynen ---

[PATCH 1/2] staging: bcm2835-audio: Check if workqueue allocation failed

2018-07-12 Thread Tuomas Tynkkynen
Currently, if allocating a workqueue fails, the driver will probe successfully but it will silently do nothing, which is rather silly. So instead bail out with -ENOMEM in bcm2835_audio_open() if alloc_workqueue() fails, and remove the now pointless checks for a NULL workqueue. While at it, get

Re: [v2,3/3] i2c: at91: added slave mode support

2018-07-12 Thread Wolfram Sang
> Yes sure, you can add my Ack. I would be pleased to see the slave > support taken. Sadly, I can't get it to apply cleanly. Could you rebase and retest? signature.asc Description: PGP signature

Re: [PATCH] i2c: i2c-qcom-geni: Fix suspend clock handling

2018-07-12 Thread Wolfram Sang
On Mon, Jul 09, 2018 at 04:49:37PM -0700, Evan Green wrote: > pm_runtime_suspended can return 0 even if the last runtime power > management function called in the device was a suspend call. This > trips up the i2c-qcom-geni's suspend_noirq accounting, which was > trying to use the function to

Re: [PATCH] x86: vdso: Fix leaky vdso link with CC=clang

2018-07-12 Thread H. Peter Anvin
On 07/12/18 13:37, Alistair Strachan wrote: > On Thu, Jul 12, 2018 at 1:25 PM H. Peter Anvin wrote: >> On 07/12/18 13:10, Alistair Strachan wrote: >>> The vdso{32,64}.so can fail to link with CC=clang when clang tries to >>> find a suitable GCC toolchain to link these libraries with. >>> >>>

Re: [PATCH 08/32] genirq: Synchronize only with single thread on free_irq()

2018-07-12 Thread Bjorn Helgaas
[+cc linux-kernel] I assume this would need to be merged along with the rest of the series, which should probably go through the PCI tree, but I'm definitely not qualified to review this IRQ patch. And it would need an ack from Thomas in any case. On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas

[RFC PATCH v2 2/2] ata: ahci: Enable DEVSLP by default on x86 with SLP_S0

2018-07-12 Thread Srinivas Pandruvada
From: Srinivas One of the requirement for modern x86 system to enter lowest power mode (SLP_S0) is SATA IP block to be off. This is true even during when platform is suspended to idle and not only in opportunistic (runtime) suspend. Several of these system don't have traditional ACPI S3, so it

[RFC PATCH v2 1/2] ata: ahci: Support state with min power and Partial low power state

2018-07-12 Thread Srinivas Pandruvada
Currently when min_power policy is selected, the partial low power state is not entered and link will try aggressively enter to only slumber state. Add a new policy which still enable DEVSLP but also try to enter partial low power state. For information the difference between partial and slumber

[RFC PATCH v2 0/2] ata: ahci: Enable DEVSLP by default on SLP_S0 support

2018-07-12 Thread Srinivas Pandruvada
One of the requirement for modern x86 system to enter lowest power mode (SLP_S0) is SATA IP block to be off. This is true even during when platform is suspended to idle and not only in opportunistic (runtime) suspend. This series is to enable DEVSLP by default. v2 - As suggested by Hans, it is

[PATCH] staging: speakup: fix wraparound in uaccess length check

2018-07-12 Thread Jann Horn
From: Samuel Thibault From: Samuel Thibault If softsynthx_read() is called with `count < 3`, `count - 3` wraps, causing the loop to copy as much data as available to the provided buffer. If softsynthx_read() is invoked through sys_splice(), this causes an unbounded kernel write; but even when

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread Theodore Y. Ts'o
On Thu, Jul 12, 2018 at 10:26:37PM +0100, David Howells wrote: > The problem is that there's more than one actual "open" involved. > > fd = fsopen("ext4");<--- #1 > whatever_interface(fd, "s /dev/sda1"); > whatever_interface(fd, "o

[PATCH] vfio-pci: Disable binding to PFs with SR-IOV enabled

2018-07-12 Thread Alex Williamson
We expect to receive PFs with SR-IOV disabled, however some host drivers leave SR-IOV enabled at unbind. This puts us in a state where we can potentially assign both the PF and the VF, leading to both functionality as well as security concerns due to lack of managing the SR-IOV state as well as

Proposal

2018-07-12 Thread Miss Victoria Mehmet
Hello I have a business proposal of mutual benefits i would like to discuss with you.

Proposal

2018-07-12 Thread Miss Victoria Mehmet
Hello I have a business proposal of mutual benefits i would like to discuss with you.

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-07-12 Thread Kees Cook
On Tue, Apr 17, 2018 at 1:11 AM, Thierry Reding wrote: > On Mon, Apr 16, 2018 at 08:21:09PM +0200, Stefan Agner wrote: >> On 16.04.2018 18:08, Stephen Warren wrote: >> > On 04/16/2018 09:56 AM, Stefan Agner wrote: >> >> On 27.03.2018 14:16, Dmitry Osipenko wrote: >> >>> On 27.03.2018 14:54, Robin

Re: [PATCH v5 1/5] mm/sparse: abstract sparse buffer allocations

2018-07-12 Thread Andrew Morton
On Thu, 12 Jul 2018 16:37:26 -0400 Pavel Tatashin wrote: > When struct pages are allocated for sparse-vmemmap VA layout, we first > try to allocate one large buffer, and than if that fails allocate struct > pages for each section as we go. > > The code that allocates buffer is uses global

Re: [PATCH] staging: speakup: fix wraparound in uaccess length check

2018-07-12 Thread Al Viro
On Fri, Jul 13, 2018 at 12:29:36AM +0200, Jann Horn wrote: > From: Samuel Thibault > > From: Samuel Thibault > > If softsynthx_read() is called with `count < 3`, `count - 3` wraps, causing > the loop to copy as much data as available to the provided buffer. If > softsynthx_read() is invoked

Re: [PATCH 24/32] vfs: syscall: Add fsopen() to prepare for superblock creation [ver #9]

2018-07-12 Thread David Howells
Theodore Y. Ts'o wrote: > So maybe the answer is that you open /dev/sda1 and /dev/sda2 and then > pass the file descriptors to the fsopen object? We can require that > the fd's be opened with O_RDWR and O_EXCL, which has the benefit where > if you have multiple block devices, you know *which*

readdir() and directory names containing slashes

2018-07-12 Thread Jann Horn
Hi! The kernel doesn't seem to filter slashes out of directory names coming from the disk (with the exception of a few specific filesystems, like FUSE): # touch fatimg # truncate --size=40M fatimg # mkfs.fat fatimg mkfs.fat 4.1 (2017-01-24) # mkdir mount # mount fatimg mount # touch mount/FOOBAR

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-07-12 Thread Russell King - ARM Linux
On Sun, Mar 25, 2018 at 08:09:56PM +0200, Stefan Agner wrote: > As documented in GCC naked functions should only use Basic asm > syntax. The Extended asm or mixture of Basic asm and "C" code is > not guaranteed. Currently this works because it was hard coded > to follow and check GCC behavior for

Proposal

2018-07-12 Thread Miss Victoria Mehmet
Hello I have a business proposal of mutual benefits i would like to discuss with you.

Re: [PATCH 1/2] lib: Add module for testing preemptoff/irqsoff latency tracers

2018-07-12 Thread Steven Rostedt
On Thu, 12 Jul 2018 14:36:11 -0700 Joel Fernandes wrote: > Sure, I added this below. Hope its easy for you to apply, if not let me know > and I can send it again separately. thanks. Thanks, I added this in my queue. -- Steve

Re: [PATCH v2 3/6] ARM: trusted_foundations: do not use naked function

2018-07-12 Thread Russell King - ARM Linux
On Thu, Jul 12, 2018 at 03:43:10PM -0700, Kees Cook wrote: > On Tue, Apr 17, 2018 at 1:11 AM, Thierry Reding wrote: > > On Mon, Apr 16, 2018 at 08:21:09PM +0200, Stefan Agner wrote: > >> On 16.04.2018 18:08, Stephen Warren wrote: > >> > On 04/16/2018 09:56 AM, Stefan Agner wrote: > >> >> On

<    7   8   9   10   11   12   13   >