Re: kernel BUG at drivers/android/binder_alloc.c:LINE!

2018-01-31 Thread Eric Biggers
On Fri, Dec 01, 2017 at 04:22:00PM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > 3c1c4ddffb58b9e10b3365764fe59546130b3f32 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw c

Re: [PATCH v2] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2018-01-31 Thread Dan Carpenter
The point is that you have to send a v3 patch which includes that information. And please CC all the android folk as well. regards, dan carpenter

Re: [PATCH] Lock mmap_sem when calling migrate_pages() in do_move_pages_to_node()

2018-01-31 Thread Michal Hocko
On Tue 30-01-18 14:12:28, Zi Yan wrote: > On 30 Jan 2018, at 11:10, Michal Hocko wrote: [...] > I think the question is whether we need to hold mmap_sem for > migrate_pages(). Hugh also agrees it is not necessary on a separate > email. But it is held in the original code. I would be really surpris

Re: [PATCH v5 02/12] array_idx: sanitize speculative array de-references

2018-01-31 Thread Ingo Molnar
* Van De Ven, Arjan wrote: > > > IOW, is there some work on tooling/analysis/similar? Not asking for > > > near-term, but more of a "big picture" question.. > > short term there was some extremely rudimentary static analysis done. clearly > that has extreme limitations both in insane rate of f

[PATCH v2] drm/stm: check pitch and size calculations even if !CONFIG_MMU

2018-01-31 Thread Benjamin Gaignard
In all cases we have to check pitch and size calculations to speed up data transfer. Fixes: 21f815bf773c ("drm/stm: drv: Improve data transfers") Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/stm/drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/stm/drv.c b/drive

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

2018-01-31 Thread Dan Carpenter
On Tue, Jan 30, 2018 at 08:05:27PM +0100, Ulf Magnusson wrote: > In preparation for adding a warning ("kconfig: Warn if help text is > blank"): https://lkml.org/lkml/2018/1/30/516 > Please don't start the boddy of the email in the middle of a sentence. It looks like this: https://marc.info/?l=l

Re: [PATCH] drm: Print the pid when debug logging an ioctl error.

2018-01-31 Thread Daniel Vetter
On Tue, Jan 30, 2018 at 01:56:43PM -0800, Eric Anholt wrote: > When we debug print what ioctl we're calling into, we include the pid. > If you have multiple processes rendering simulataneously, the error > return also needs the pid so you can see which of the ioctl calls was > the one to fail. > >

Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation

2018-01-31 Thread Thomas Gleixner
On Tue, 30 Jan 2018, Dan Williams wrote: > On Mon, Jan 29, 2018 at 5:03 PM, Dan Williams > wrote: > > Commit 75f139aaf896 "KVM: x86: Add memory barrier on vmcs field lookup" > > added a raw 'asm("lfence");' to prevent a bounds check bypass of > > 'vmcs_field_to_offset_table'. We can save an lfen

Re: [PATCH v8 04/11] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-31 Thread Sergei Shtylyov
Hello! On 1/30/2018 12:58 PM, Jacopo Mondi wrote: Add Capture Engine Unit (CEU) node to device tree. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- arch/arm/boot/dts/r7s72100.dtsi | 15 --- 1 file changed,

RE: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages

2018-01-31 Thread He, Roger
I think this patch isn't need at all. You can directly read total_swap_pages variable in TTM. Because the variable is not exported by EXPORT_SYMBOL_GPL. So direct using will result in: "WARNING: "total_swap_pages" [drivers/gpu/drm/ttm/ttm.ko] undefined!". Thanks Roger(Hongbo.He) -Or

Re: kernel BUG at drivers/android/binder_alloc.c:LINE!

2018-01-31 Thread Dan Carpenter
On Tue, Jan 30, 2018 at 11:59:47PM -0800, Eric Biggers wrote: > On Fri, Dec 01, 2017 at 04:22:00PM -0800, syzbot wrote: > > syzkaller has found reproducer for the following crash on > > 3c1c4ddffb58b9e10b3365764fe59546130b3f32 > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/mas

Re: 4.15: WARNING: CPU: 3 PID: 258 at kernel/irq/chip.c:244 __irq_startup+0x80/0x100

2018-01-31 Thread Ingo Molnar
* Thomas Gleixner wrote: > > cures the warning and at least the first bootup was working otherwise > > too. > > I'll do a proper fix and queue it so your museum is kept alive. Museum, space heater and ventilation system all in one? :-) Thanks, Ingo

Re: [RFC PATCH 0/8] [media] Request API, take three

2018-01-31 Thread Tomasz Figa
Hi Hans, Sorry for joining the party late. On Wed, Jan 31, 2018 at 4:50 PM, Hans Verkuil wrote: > On 01/30/2018 07:31 AM, Alexandre Courbot wrote: >> Hi Hans, >> >> On Mon, Jan 29, 2018 at 8:21 PM, Hans Verkuil wrote: >>> On 01/26/2018 07:02 AM, Alexandre Courbot wrote: Howdy. Here is your

[PATCH] trivial: typofix in vmlinux.lds.h

2018-01-31 Thread Cao jin
aling --> aligned Signed-off-by: Cao jin --- include/asm-generic/vmlinux.lds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index ee8b707d9fa9..470c41d2e272 100644 --- a/include/asm-generic/vmlinux.

Re: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages

2018-01-31 Thread Christian König
Yeah, indeed. But what we could do is to rely on a fixed limit like the Intel driver does and I suggested before. E.g. don't copy anything into a shmemfile when there is only x MB of swap space left. Roger can you test that approach once more with your fix for the OOM issues in the page faul

Re: [PATCH] drm: Check for lessee in DROP_MASTER ioctl

2018-01-31 Thread Daniel Vetter
On Tue, Jan 30, 2018 at 11:55:01AM -0800, Keith Packard wrote: > Daniel Vetter writes: > > > On Thu, Jan 18, 2018 at 05:51:59PM -0800, Keith Packard wrote: > >> Don't let a lessee control what the current DRM master is set to; > >> that's the job of the "real" master. Otherwise, the lessee would

Re: [netfilter-core] kernel panic: Out of memory and no killable processes... (2)

2018-01-31 Thread Michal Hocko
On Tue 30-01-18 11:27:45, Andrew Morton wrote: > On Tue, 30 Jan 2018 15:01:04 +0100 Michal Hocko wrote: > > > > Well, this is not about syzkaller, it merely pointed out a potential > > > DoS... And that has to be addressed somehow. > > > > So how about this? > > --- > > argh ;) doh, those hard

Re: [RFC PATCH 6/8] v4l2: document the request API interface

2018-01-31 Thread Hans Verkuil
On 01/30/2018 07:31 AM, Alexandre Courbot wrote: > On Tue, Jan 30, 2018 at 1:03 AM, Hans Verkuil wrote: >> On 01/26/2018 07:02 AM, Alexandre Courbot wrote: >>> Document how the request API can be used along with the existing V4L2 >>> interface. >>> >>> Signed-off-by: Alexandre Courbot >>> --- >>>

Re: [PATCH 1/2] crypto: Implement a generic crypto statistics

2018-01-31 Thread Steffen Klassert
On Fri, Jan 26, 2018 at 11:43:28PM +0800, Herbert Xu wrote: > On Thu, Jan 18, 2018 at 09:58:13AM +0100, LABBE Corentin wrote: > > > > I have two way of adding a new netlink request > > - keep the current patch and simply add a new CRYPTO_MSG_GETSTAT which use > > the same function than CRYPTO_MSG_

Re: [PATCH] Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper().

2018-01-31 Thread Mathieu Malaterre
Hi Peter, On Tue, Jan 30, 2018 at 9:30 PM, Peter Malone wrote: > Signed-off-by: Peter Malone AFAIK empty commit message is not acceptable upstream > drivers/video/fbdev/sbuslib.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/fbdev/sbuslib.c b/drive

Re: [PATCH 1/2] lightnvm: remove mlc pairs structure

2018-01-31 Thread Matias Bjørling
On 01/31/2018 03:00 AM, Javier González wrote: On 30 Jan 2018, at 21.26, Matias Bjørling wrote: The known implementations of the 1.2 specification, and upcoming 2.0 implementation all expose a sequential list of pages to write. Remove the data structure, as it is no longer needed. Signed-off-b

Re: [PATCH v2 3/6] gpio: Add GPIO driver for Nintendo Wii

2018-01-31 Thread Jonathan Neuschäfer
Hi, On Sun, Jan 28, 2018 at 07:31:58PM +0200, Andy Shevchenko wrote: > On Mon, Jan 22, 2018 at 7:04 AM, Jonathan Neuschäfer > wrote: > > Style issues below. > > > +#define HW_GPIO_OWNER 0x3c > > + > > + > > +struct hlwd_gpio { > > No need extra empty line in between. Ok. > > +

Re: [PATCH v2] staging: android: ion: Add implementation of dma_buf_vmap and dma_buf_vunmap

2018-01-31 Thread Greg KH
On Wed, Jan 31, 2018 at 01:44:47AM +0200, alexey wrote: > > > On 01/31/2018 12:15 AM, Greg KH wrote: > > On Tue, Jan 30, 2018 at 10:39:13PM +0200, Alexey Skidanov wrote: > > > dma_buf_vmap and dma_buf_vunmap allow drivers to access buffers, created > > > by ion. > > But why would anyone ever wan

[PATCH RESEND v3] perf/core: Fix installing cgroup event into cpu

2018-01-31 Thread linxiulei
From: "leilei.lin" Do not install cgroup event into the CPU context and schedule it if the cgroup is not running on this CPU While there is no task of cgroup running specified CPU, current kernel still install cgroup event into CPU context that causes another cgroup event can't be installed into

Re: [PATCH] Staging: speakup: Fixed a multiple assignment issue

2018-01-31 Thread Greg KH
On Wed, Jan 31, 2018 at 07:19:05PM +1300, Shannon Booth wrote: > Fixed a coding style issue. > > Signed-off-by: Shannon Booth > --- > drivers/staging/speakup/main.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > > diff --git a/drivers/staging/speakup/main.c b/drivers/staging

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

2018-01-31 Thread Ulf Magnusson
On Wed, Jan 31, 2018 at 9:06 AM, Dan Carpenter wrote: > On Tue, Jan 30, 2018 at 08:05:27PM +0100, Ulf Magnusson wrote: >> In preparation for adding a warning ("kconfig: Warn if help text is >> blank"): https://lkml.org/lkml/2018/1/30/516 >> > > Please don't start the boddy of the email in the midd

Re: [PATCH v1] mm: optimize memory hotplug

2018-01-31 Thread Michal Hocko
On Wed 31-01-18 00:42:43, Pavel Tatashin wrote: > This patch was inspired by the discussion of this problem: > http://lkml.kernel.org/r/20180130083006.gb1...@in.ibm.com > > Currently, during memory hotplugging we traverse struct pages several > times: > > 1. memset(0) in sparse_add_one_section()

Re: [PATCH] clk: sunxi-ng: ccu-sun4i-a10: Fix mali changing dclk frequency

2018-01-31 Thread Maxime Ripard
Hi, On Wed, Jan 31, 2018 at 12:23:59AM +0100, Giulio Benetti wrote: > When mali.ko is inserted, it set default clocks and call all parent > clocks to stay into range, causing pll-video0 to change and > subsequently to change dclk to wrong frequencies. This is what you should fix. > "gpu" clock h

Re: [PATCH 4/5] lightnvm: pblk: add padding distribution sysfs attribute

2018-01-31 Thread Matias Bjørling
On 01/31/2018 03:06 AM, Javier González wrote: From: Hans Holmberg When pblk receives a sync, all data up to that point in the write buffer must be comitted to persistent storage, and as flash memory comes with a minimal write size there is a significant cost involved both in terms of time for

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

2018-01-31 Thread Dan Carpenter
On Wed, Jan 31, 2018 at 09:41:24AM +0100, Ulf Magnusson wrote: > On Wed, Jan 31, 2018 at 9:06 AM, Dan Carpenter > wrote: > > On Tue, Jan 30, 2018 at 08:05:27PM +0100, Ulf Magnusson wrote: > >> In preparation for adding a warning ("kconfig: Warn if help text is > >> blank"): https://lkml.org/lkml/

Re: [RFC PATCH 0/8] [media] Request API, take three

2018-01-31 Thread Hans Verkuil
On 01/31/2018 09:10 AM, Tomasz Figa wrote: > Hi Hans, > > Sorry for joining the party late. > > On Wed, Jan 31, 2018 at 4:50 PM, Hans Verkuil wrote: >> On 01/30/2018 07:31 AM, Alexandre Courbot wrote: >>> Hi Hans, >>> >>> On Mon, Jan 29, 2018 at 8:21 PM, Hans Verkuil wrote: On 01/26/2018 0

[PATCH] devpts: fix error handling in devpts_mntget()

2018-01-31 Thread Eric Biggers
From: Eric Biggers If devpts_ptmx_path() returns an error code, then devpts_mntget() dereferences an ERR_PTR(): BUG: unable to handle kernel paging request at fff5 IP: devpts_mntget+0x13f/0x280 fs/devpts/inode.c:173 Fix it by returning early in the error paths. Reproducer:

Re: [PATCH 5/5] lightnvm: pblk: refactor bad block identification

2018-01-31 Thread Matias Bjørling
On 01/31/2018 03:06 AM, Javier González wrote: In preparation for the OCSSD 2.0 spec. bad block identification, refactor the current code to generalize bad block get/set functions and structures. Signed-off-by: Javier González --- drivers/lightnvm/pblk-init.c | 213 +++

Re: [PATCH 3.18 00/52] 3.18.93-stable review

2018-01-31 Thread Greg Kroah-Hartman
On Tue, Jan 30, 2018 at 11:48:58AM -0800, Guenter Roeck wrote: > On Tue, Jan 30, 2018 at 07:51:31PM +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 30, 2018 at 03:51:56PM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Jan 30, 2018 at 06:19:15AM -0800, Guenter Roeck wrote: > > > > On 01/29/2018 04:

Re: [PATCH] mm/swap: add function get_total_swap_pages to expose total_swap_pages

2018-01-31 Thread Chunming Zhou
Discussed with Roger just now, we can try "void si_swapinfo(struct sysinfo *val)" function to get the total swap space. Regards, David Zhou On 2018年01月31日 16:12, Christian König wrote: Yeah, indeed. But what we could do is to rely on a fixed limit like the Intel driver does and I suggested b

Re: [PATCH v6 0/4] x86, kasan: add KASAN checks to atomic operations

2018-01-31 Thread Dmitry Vyukov
On Wed, Jan 31, 2018 at 8:28 AM, Ingo Molnar wrote: > > * Will Deacon wrote: > >> Hi Dmitry, >> >> On Mon, Jan 29, 2018 at 06:26:03PM +0100, Dmitry Vyukov wrote: >> > KASAN uses compiler instrumentation to intercept all memory accesses. >> > But it does not see memory accesses done in assembly co

[PATCH v2] dmaengine: dmatest: add norandom option

2018-01-31 Thread Yang Shunyong
Existing option noverify disables both random src/dst address offset setup and data verification. Sometimes, we need to control random src/dst address setup and verification separately, such as disabling random to make sure that test covers addresses in all interleaving banks, but data verification

Re: [GIT PULL tools] Linux kernel memory model

2018-01-31 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Mon, Jan 29, 2018 at 07:57:24AM +0100, Ingo Molnar wrote: > > > > hi Paul, > > > > * Paul E. McKenney wrote: > > > > > Hello, Ingo, > > > > > > This pull request contains a single commit that adds a memory model to > > > the tools directory. This memory model

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Vincent Guittot
Hi Daniel, On 23 January 2018 at 16:34, Daniel Lezcano wrote: > The cpu idle cooling driver performs synchronized idle injection across all > cpus belonging to the same cluster and offers a new method to cool down a SoC. > > Each cluster has its own idle cooling device, each core has its own idle

Re: [PATCH 4.14 00/71] 4.14.16-stable review

2018-01-31 Thread Greg KH
On Wed, Jan 31, 2018 at 10:31:42AM +0300, Ozkan Sezer wrote: > > This is the start of the stable review cycle for the 4.14.16 release. > > There are 71 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > > let me kno

Re: [PATCH] general protection fault in sock_has_perm

2018-01-31 Thread Paul Moore
On Tue, Jan 30, 2018 at 5:46 PM, Greg KH wrote: > On Tue, Jan 30, 2018 at 11:00:04AM -0800, Mark Salyzyn wrote: >> On 01/19/2018 09:41 AM, Stephen Smalley wrote: >> > If we can't safely dereference the sock in these hooks, then that seems >> > to point back to the approach used in my original code

Re: [PATCH] platform/x86: dell-laptop: Allocate buffer on heap rather than globally

2018-01-31 Thread Pali Rohár
On Tuesday 30 January 2018 20:14:26 Andy Shevchenko wrote: > >> -static void dell_set_arguments(u32 arg0, u32 arg1, u32 arg2, u32 arg3) > >> +static void dell_set_arguments(struct calling_interface_buffer *buffer, > >> +u32 arg0, u32 arg1, u32 arg2, u32 arg3) > > > > Hm.

Re: [PATCH 5/5] lightnvm: pblk: refactor bad block identification

2018-01-31 Thread Javier Gonzalez
> On 31 Jan 2018, at 16.51, Matias Bjørling wrote: > >> On 01/31/2018 03:06 AM, Javier González wrote: >> In preparation for the OCSSD 2.0 spec. bad block identification, >> refactor the current code to generalize bad block get/set functions and >> structures. >> Signed-off-by: Javier González

Re: [PATCH] samples/bpf: Add program for CPU state statistics

2018-01-31 Thread Jesper Dangaard Brouer
On Wed, 31 Jan 2018 02:29:59 +0800 Leo Yan wrote: > CPU 0 > State: Duration(ms) Distribution > cstate 0 : 47555|* | > cstate 1 : 0|| > cstate 2 : 0|

Re: [alsa-devel] [PATCH] sound/tlv320dac33: Add device tree support

2018-01-31 Thread Peter Ujfalusi
On 2018-01-30 01:20, Ladislav Michl wrote: > On Tue, Jan 30, 2018 at 12:05:39AM +0100, Pavel Machek wrote: >> >> This adds device tree support to tlv320dac33.c. >> >> Signed-off-by: Pavel Machek >> >> diff --git a/Documentation/devicetree/bindings/sound/tlv320dac33.txt >> b/Documentation/device

[PATCH 0/3] Enumerate TME and PCONFIG

2018-01-31 Thread Kirill A. Shutemov
This patchset enumerates two features required for Multi-Key Total Memory Encryption enabling[1]. Apart from trivial cpufeatures bits, the patchset enumerates how many bits from physical address are claimed for encryption key ID. This may be critical as we or guest VM must not use these bits for p

Re: [PATCH v5 0/3] livepatch: introduce atomic replace

2018-01-31 Thread Evgenii Shatokhin
On 30.01.2018 22:24, Joe Lawrence wrote: On 01/30/2018 01:19 PM, Jason Baron wrote: [ ... snip ... ] Our main interest in 'atomic replace' is simply to make sure that cumulative patches work as expected in that they 'replace' any prior patches. We have an interest primarily in being able to app

Re: [PATCH V3 0/5] bugs fix for large PEBS mmap read and rdpmc read

2018-01-31 Thread Jiri Olsa
On Tue, Jan 30, 2018 at 07:59:41PM -0800, Andi Kleen wrote: > > Still, the part I am missing here, is why asking for > > PERF_SAMPLE_PERIOD voids large PEBS. > > I think it was disabled together with frequency mode > (which we could support too, but it's a bit more work) > > But yes PERIOD could

[PATCH 3/3] x86/cpufeatures: Add Intel PCONFIG cpufeature

2018-01-31 Thread Kirill A. Shutemov
CPUID.0x7.0x0:EDX[18] indicates whether Intel CPU support PCONFIG instruction. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index d3702d9ac012.

[PATCH 2/3] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-01-31 Thread Kirill A. Shutemov
IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled TME and MKTME. It includes which encryption policy/algorithm is selected for TME or available for MKTME. For MKTME, the MSR also enumerates how many KeyIDs are available. Signed-off-by: Kirill A. Shutemov --- arch/x86/kernel/

[PATCH 1/3] x86/cpufeatures: Add Intel Total Memory Encryption cpufeature

2018-01-31 Thread Kirill A. Shutemov
CPUID.0x7.0x0:ECX[13] indicates whether CPU supports Intel Total Memory Encryption. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index 14c3aa2b

[tip:x86/urgent] x86/kexec: Make kexec (mostly) work in 5-level paging mode

2018-01-31 Thread tip-bot for Kirill A. Shutemov
Commit-ID: 5bf30316991d5bcda046343ee77d823cf16fdd03 Gitweb: https://git.kernel.org/tip/5bf30316991d5bcda046343ee77d823cf16fdd03 Author: Kirill A. Shutemov AuthorDate: Mon, 29 Jan 2018 14:08:45 +0300 Committer: Ingo Molnar CommitDate: Wed, 31 Jan 2018 08:39:40 +0100 x86/kexec: Make kexe

Re: [PATCH v2] perf cgroup: simplify arguments if track multiple events for a cgroup

2018-01-31 Thread Jiri Olsa
On Mon, Jan 29, 2018 at 11:48:09PM +0800, weiping zhang wrote: > if use -G with one cgroup and -e with multiple events, only the first > event has correct cgroup setting, all events from the second will track > system-wide events. > > if user want track multiple events for a specific cgroup, user

Re: [PATCH 4/4] sched/fair: Use a recently used CPU as an idle candidate and the basis for SIS

2018-01-31 Thread Rafael J. Wysocki
On Tuesday, January 30, 2018 2:15:31 PM CET Peter Zijlstra wrote: > On Tue, Jan 30, 2018 at 12:57:18PM +, Mel Gorman wrote: > > On Tue, Jan 30, 2018 at 12:50:54PM +0100, Peter Zijlstra wrote: > > > > Not saying this patch is bad; but Rafael / Srinivas we really should do > > > better. Why isn'

Re: [alsa-devel] [PATCH] sound/tlv320dac33: Add device tree support

2018-01-31 Thread Peter Ujfalusi
On 2018-01-30 13:38, Ladislav Michl wrote: > On Tue, Jan 30, 2018 at 11:35:38AM +0100, Pavel Machek wrote: >> On Tue 2018-01-30 11:10:46, Ladislav Michl wrote: >>> On Tue, Jan 30, 2018 at 11:00:23AM +0100, Pavel Machek wrote: On Tue 2018-01-30 10:38:38, Ladislav Michl wrote: > On Tue, Jan

Re: [PATCH 08/24] x86,sme: Annotate indirect call

2018-01-31 Thread Peter Zijlstra
On Fri, Jan 26, 2018 at 10:37:30AM +, David Woodhouse wrote: > On Tue, 2018-01-23 at 16:25 +0100, Peter Zijlstra wrote: > > This is boot code, we run this _way_ before userspace comes along to > > poison our branch predictor. > > Hm, objtool knows about sections, doesn't it? Why it is whining

[PATCH] staging: auxdisplay: add missing MODULE_LICENSE()

2018-01-31 Thread Shannon Booth
This patch fixes the compilation warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/auxdisplay/img-ascii-lcd.o Signed-off-by: Shannon Booth --- drivers/auxdisplay/img-ascii-lcd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/auxdisplay/img-ascii-lcd.c b/drivers/auxd

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Daniel Lezcano
On 31/01/2018 10:01, Vincent Guittot wrote: > Hi Daniel, > > On 23 January 2018 at 16:34, Daniel Lezcano wrote: [ ... ] (please trim :) >> + /* >> +* Each cooling device is per package. Each package >> +* has a set of cpus where the physical number

[PATCH] mm: Remove PG_highmem description

2018-01-31 Thread miles.chen
From: Miles Chen The commit cbe37d093707 ("[PATCH] mm: remove PG_highmem") has removed PG_highmem to save a page flag. So the description of PG_highmem is no longer needed, remove it. Signed-off-by: Miles Chen --- include/linux/page-flags.h | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH 00/11] Remove blank help texts from Kconfig files and add warning

2018-01-31 Thread Ulf Magnusson
This patchset first removes all blank help texts from Kconfig files for all arches, and then makes Kconfig print a warning for blank help texts. All patches can be applied independently, but to avoid warning spam, the blank help texts ought to be removed before the warning is added. Ulf Magnusson

[PATCH 02/11] video: fbdev: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- drivers/v

[PATCH 07/11] MIPS: BCM63XX: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- arch/mips

[PATCH 05/11] Staging: rtl8192e: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- drivers/s

No audit patches for v4.16

2018-01-31 Thread Paul Moore
Hello all, As the audit/next branch is empty, there isn't going to be a pull request for the 4.16 merge window. Because of this, I'm going to take the opportunity to go ahead and rebase audit/next to v4.15; hopefully this doesn't mess up any work in progress, if it does let me know and we can wor

[PATCH 10/11] nios2: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- arch/nios

[PATCH 11/11] kconfig: Warn if help text is blank

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to flag them, IMO. Example warning: drivers/mmc/host/Kco

[PATCH 09/11] arm: vt8500: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- arch/arm/

Re: [PATCH v6 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-31 Thread Arnd Bergmann
On Wed, Jan 31, 2018 at 8:29 AM, Maxime Ripard wrote: > Hi Thierry, > > On Tue, Jan 30, 2018 at 11:01:50AM +0100, Thierry Reding wrote: >> On Tue, Jan 30, 2018 at 10:59:16AM +0100, Thierry Reding wrote: >> > On Tue, Jan 30, 2018 at 10:24:48AM +0100, Arnd Bergmann wrote: >> > > On Tue, Jan 30, 2018

[PATCH] ohci-hcd: Fix race condition caused by ohci_urb_enqueue() and io_watchdog_func()

2018-01-31 Thread Haiqing Bai
Running io_watchdog_func() while ohci_urb_enqueue() is running can cause a race condition where ohci->prev_frame_no is corrupted and the watchdog can mis-detect following error: ohci-platform 664a0800.usb: frame counter not updating; disabled ohci-platform 664a0800.usb: HC died; cleaning up S

[PATCH 08/11] MIPS: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- arch/mips

Re: [PATCH] libceph: use 64-bit arithmetic instead of 32-bit

2018-01-31 Thread Ilya Dryomov
On Wed, Jan 31, 2018 at 6:29 AM, Gustavo A. R. Silva wrote: > Cast objsetno to u64 in order to give the compiler complete > information about the proper arithmetic to use. Notice > that this variable is used in a context that expects an > expression of type u64 (64 bits, unsigned). > > The express

[PATCH 06/11] lib/Kconfig.debug: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- lib/Kconf

[PATCH 03/11] mmc: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- drivers/m

[PATCH 04/11] Staging: rtl8192u: kconfig: Remove blank help text

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- drivers/s

[PATCH 01/11] net/sched: kconfig: Remove blank help texts

2018-01-31 Thread Ulf Magnusson
Blank help texts are probably either a typo, a Kconfig misunderstanding, or some kind of half-committing to adding a help text (in which case a TODO comment would be clearer, if the help text really can't be added right away). Best to remove them, IMO. Signed-off-by: Ulf Magnusson --- net/sched

[PATCH v4] vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs

2018-01-31 Thread Suravee Suthikulpanit
Currently, VFIO IOMMU type1 unmaps IOVA pages synchronously, which requires IOTLB flush for every IOVA unmap. This results in a large number of IOTLB flushes during initialization of pass-through devices. This can be avoided using the asynchronous (fast) IOTLB flush interface. Cc: Alex Williamson

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Vincent Guittot
On 31 January 2018 at 10:33, Daniel Lezcano wrote: > On 31/01/2018 10:01, Vincent Guittot wrote: >> Hi Daniel, >> >> On 23 January 2018 at 16:34, Daniel Lezcano >> wrote: > > [ ... ] (please trim :) > >>> + /* >>> +* Each cooling device is per package. Each package

[tip:x86/pti] x86/paravirt: Remove 'noreplace-paravirt' cmdline option

2018-01-31 Thread tip-bot for Josh Poimboeuf
Commit-ID: 12c69f1e94c89d40696e83804dd2f0965b5250cd Gitweb: https://git.kernel.org/tip/12c69f1e94c89d40696e83804dd2f0965b5250cd Author: Josh Poimboeuf AuthorDate: Tue, 30 Jan 2018 22:13:33 -0600 Committer: Thomas Gleixner CommitDate: Wed, 31 Jan 2018 10:37:45 +0100 x86/paravirt: Remove

Re: [patch -mm v2 1/3] mm, memcg: introduce per-memcg oom policy tunable

2018-01-31 Thread Michal Hocko
On Tue 30-01-18 14:38:40, David Rientjes wrote: > On Tue, 30 Jan 2018, Michal Hocko wrote: > > > > > So what is the actual semantic and scope of this policy. Does it apply > > > > only down the hierarchy. Also how do you compare cgroups with different > > > > policies? Let's say you have > > > >

Re: [PATCH v2 00/10] Remove empty help texts from Kconfig files

2018-01-31 Thread Ulf Magnusson
On Tue, Jan 30, 2018 at 10:00 PM, Randy Dunlap wrote: > On 01/30/2018 11:22 AM, Ulf Magnusson wrote: >> Empty help texts are probably either a typo, a Kconfig misunderstanding, or >> some kind of half-committing to adding a help text (in which case a TODO >> comment would be clearer, if the help t

Re: [RFC PATCH 0/8] [media] Request API, take three

2018-01-31 Thread Tomasz Figa
On Wed, Jan 31, 2018 at 5:47 PM, Hans Verkuil wrote: > On 01/31/2018 09:10 AM, Tomasz Figa wrote: >> Hi Hans, >> >> Sorry for joining the party late. >> >> On Wed, Jan 31, 2018 at 4:50 PM, Hans Verkuil wrote: >>> On 01/30/2018 07:31 AM, Alexandre Courbot wrote: Hi Hans, On Mon, Jan

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Daniel Lezcano
On 31/01/2018 10:46, Vincent Guittot wrote: > On 31 January 2018 at 10:33, Daniel Lezcano wrote: >> On 31/01/2018 10:01, Vincent Guittot wrote: >>> Hi Daniel, >>> >>> On 23 January 2018 at 16:34, Daniel Lezcano >>> wrote: >> >> [ ... ] (please trim :) >> + /* +

Re: [PATCH] hrtimer: Reset hrtimer cpu base proper on CPU hotplug

2018-01-31 Thread Paul E. McKenney
On Tue, Jan 30, 2018 at 10:03:17PM +0100, Thomas Gleixner wrote: > On Mon, 29 Jan 2018, Paul E. McKenney wrote: > > > On Mon, Jan 29, 2018 at 01:57:38AM -0800, Paul E. McKenney wrote: > > > On Mon, Jan 29, 2018 at 09:20:48AM +0100, Sebastian Sewior wrote: > > > > On 2018-01-26 14:09:17 [-0800], Pa

Re: [PATCH 05/10] Staging: rtl8192e: kconfig: Remove empty help text

2018-01-31 Thread Ulf Magnusson
On Wed, Jan 31, 2018 at 9:46 AM, Dan Carpenter wrote: > On Wed, Jan 31, 2018 at 09:41:24AM +0100, Ulf Magnusson wrote: >> On Wed, Jan 31, 2018 at 9:06 AM, Dan Carpenter >> wrote: >> > On Tue, Jan 30, 2018 at 08:05:27PM +0100, Ulf Magnusson wrote: >> >> In preparation for adding a warning ("kconf

Re: [PATCH] kconfig: Warn if help text is blank

2018-01-31 Thread Ulf Magnusson
On Tue, Jan 30, 2018 at 9:31 PM, Paul Bolle wrote: > On Tue, 2018-01-30 at 20:33 +0100, Ulf Magnusson wrote: >> I agree that this shouldn't go in until/unless a significant portion >> of those empty help texts get removed first. > > Not a significant portion, but all, I'd say. > >> The patchset th

Re: [PATCH 5/8] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-01-31 Thread Vincent Guittot
On 31 January 2018 at 10:50, Daniel Lezcano wrote: > On 31/01/2018 10:46, Vincent Guittot wrote: >> On 31 January 2018 at 10:33, Daniel Lezcano >> wrote: >>> On 31/01/2018 10:01, Vincent Guittot wrote: Hi Daniel, On 23 January 2018 at 16:34, Daniel Lezcano wrote: >>> >>> [

[tip:irq/urgent] genirq: Make legacy autoprobing work again

2018-01-31 Thread tip-bot for Thomas Gleixner
Commit-ID: 55595980acc3232b018ba30df8ee6e0ac40ad184 Gitweb: https://git.kernel.org/tip/55595980acc3232b018ba30df8ee6e0ac40ad184 Author: Thomas Gleixner AuthorDate: Tue, 30 Jan 2018 19:36:32 +0100 Committer: Thomas Gleixner CommitDate: Wed, 31 Jan 2018 10:52:06 +0100 genirq: Make legacy

[PATCH] staging: android: ion: minor cleanup for ion_page_pool

2018-01-31 Thread Yisheng Xie
ion_page_pool.c now is used to apply pool APIs for system heap, which do not need do any initial at device_initcall. Meanwhile, this patch also remove some useless include files. Signed-off-by: Yisheng Xie --- drivers/staging/android/ion/ion_page_pool.c | 11 --- 1 file changed, 11 dele

Re: [PATCH 20/24] objtool: Another static block fail

2018-01-31 Thread Peter Zijlstra
On Tue, Jan 30, 2018 at 09:12:21PM -0600, Josh Poimboeuf wrote: > > Or, maybe we should just forget the whole thing and just stick with the > dynamic IBRS checks with lfence. Yes, it's less ideal for the kernel, > but adding these acrobatics to objtool also has a cost. For now, IBRS seems off th

Re: [PATCH 1/2] dmaengine: dmatest: change symbolic permissions to octal values

2018-01-31 Thread Viresh Kumar
On Mon, Jan 29, 2018 at 10:18 AM, Vinod Koul wrote: > On Mon, Jan 22, 2018 at 06:44:40PM +0800, Yang Shunyong wrote: >> Current coding style prefers octal permissions values. This patch >> changes symbolic permissions to octal values. > > Is this preference documented anywhere? This is where it s

Re: [RFC 05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Christophe de Dinechin
KarimAllah Ahmed writes: > From: David Woodhouse > > Not functional yet; just add the handling for it in the Spectre v2 > mitigation selection, and the X86_FEATURE_IBRS flag which will control > the code to be added in later patches. > > Also take the #ifdef CONFIG_RETPOLINE from around the RSB-

Re: [PATCH v2 1/3] f2fs: support passing down write hints given by users to block layer

2018-01-31 Thread Chao Yu
On 2018/1/31 10:36, Hyunchul Lee wrote> Signed-off-by: Hyunchul Lee Reviewed-by: Chao Yu Thanks,

Re: [PATCH v2 2/3] f2fs: support passing down write hints to block layer with F2FS policy

2018-01-31 Thread Chao Yu
On 2018/1/31 10:36, Hyunchul Lee wrote: > Signed-off-by: Hyunchul Lee Reviewed-by: Chao Yu Thanks,

Re: [PATCH v2 3/3] f2fs: Add the 'whint_mode' mount option to f2fs documentation

2018-01-31 Thread Chao Yu
On 2018/1/31 10:36, Hyunchul Lee wrote:> Signed-off-by: Hyunchul Lee Reviewed-by: Chao Yu Thanks,

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Christophe de Dinechin
> On 30 Jan 2018, at 21:46, Alan Cox wrote: > >> If you are ever going to migrate to Skylake, I think you should just >> always tell the guests that you're running on Skylake. That way the >> guests will always assume the worst case situation wrt Specte. > > Unfortunately if you do that then g

Re: [PATCH 20/24] objtool: Another static block fail

2018-01-31 Thread David Woodhouse
On Wed, 2018-01-31 at 11:01 +0100, Peter Zijlstra wrote: > On Tue, Jan 30, 2018 at 09:12:21PM -0600, Josh Poimboeuf wrote: > >  > > Or, maybe we should just forget the whole thing and just stick with the > > dynamic IBRS checks with lfence.  Yes, it's less ideal for the kernel, > > but adding the

Re: [GIT PULL tools] Linux kernel memory model

2018-01-31 Thread Peter Zijlstra
On Wed, Jan 31, 2018 at 10:00:06AM +0100, Ingo Molnar wrote: > - Similary, some of the high level descriptions in tools/memory-model/README > should probably propagated into the source code files as well: for example > both tools/memory-model/lock.cat and linux-kernel.cat could be improved that

Re: [PATCH 4/8] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice

2018-01-31 Thread Daniel Thompson
On Fri, Jan 26, 2018 at 02:25:58PM +0100, Daniel Lezcano wrote: > > Perhaps I should have distinguished more between runtime-meaning-boot-time > > and runtime-meaning-full-system-operation. To be clear none of my > > comments are about being able to enable/disable idle injection on a > > fully runn

Re: WARNING in usercopy_warn

2018-01-31 Thread Kees Cook
On Wed, Jan 31, 2018 at 8:36 AM, Eric Biggers wrote: > On Fri, Jan 19, 2018 at 06:58:01AM -0800, syzbot wrote: >> Hello, >> >> syzbot hit the following crash on linux-next commit >> b625c1ff82272e26c76570d3c7123419ec345b20 >> >> So far this crash happened 5 times on linux-next, mmots. >> C reprodu

Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure

2018-01-31 Thread Thomas Gleixner
On Wed, 31 Jan 2018, Christophe de Dinechin wrote: > > On 30 Jan 2018, at 21:46, Alan Cox wrote: > > > >> If you are ever going to migrate to Skylake, I think you should just > >> always tell the guests that you're running on Skylake. That way the > >> guests will always assume the worst case sit

  1   2   3   4   5   6   7   8   >