Re: [RFC] mm/migrate: Add new migration reason MR_HUGETLB

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 08:37:14, Anshuman Khandual wrote: > alloc_contig_range() initiates compaction and eventual migration for > the purpose of either CMA or HugeTLB allocation. At present, reason > code remains the same MR_CMA for either of those cases. Lets add a > new reason code which will different

Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK

2018-01-30 Thread Vincent Guittot
On 29 January 2018 at 19:43, Dietmar Eggemann wrote: > On 01/24/2018 09:25 AM, Vincent Guittot wrote: >> >> Hi, >> >> Le Thursday 18 Jan 2018 à 10:38:07 (+), Morten Rasmussen a écrit : >>> >>> On Mon, Jan 15, 2018 at 09:26:09AM +0100, Vincent Guittot wrote: Le Wednesday 03 Jan 2018 à

Re: [PATCH v2] of: use hash based search in of_find_node_by_phandle

2018-01-30 Thread Chintan Pandya
(1) Can you point me to the driver code that is invoking the search? There are many locations. Few of them being, https://source.codeaurora.org/quic/la/kernel/msm-4.9/tree/drivers/of/irq.c?h=msm-4.9#n214 https://source.codeaurora.org/quic/la/kernel/msm-4.9/tree/drivers/irqchip/irq-gic-v3.c?h=msm

Re: [PATCH -next v3 1/2] mtd: nand: toshiba: Retrieve ECC requirements from extended ID

2018-01-30 Thread Boris Brezillon
On Tue, 30 Jan 2018 08:44:30 +0900 KOBAYASHI Yoshitake wrote: > On 2017/12/27 15:06, KOBAYASHI Yoshitake wrote: > > On 2017/12/19 20:56, Boris Brezillon wrote: > >> On Tue, 19 Dec 2017 20:42:36 +0900 > >> KOBAYASHI Yoshitake wrote: > >> > >>> On 2017/12/07 0:08, Boris Brezillon wrote: > >>

v4.15 and I/O hang with BFQ

2018-01-30 Thread Oleksandr Natalenko
Hi, Paolo, Ivan, Ming et al. It looks like I've just encountered the issue Ivan has already described in [1]. Since I'm able to reproduce it reliably in a VM, I'd like to draw more attention to it. First, I'm using v4.15 kernel with all pending BFQ fixes: === 2ad909a300c4 bfq-iosched: don't

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

2018-01-30 Thread Michal Hocko
On Mon 29-01-18 22:00:11, Zi Yan wrote: > From: Zi Yan > > migrate_pages() requires at least down_read(mmap_sem) to protect > related page tables and VMAs from changing. Let's do it in > do_page_moves() for both do_move_pages_to_node() and > add_page_for_migration(). > > Also add this lock requi

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

2018-01-30 Thread Florian Westphal
Michal Hocko wrote: > On Mon 29-01-18 23:35:22, Florian Westphal wrote: > > Kirill A. Shutemov wrote: > [...] > > > I hate what I'm saying, but I guess we need some tunable here. > > > Not sure what exactly. > > > > Would memcg help? > > That really depends. I would have to check whether vmallo

Re: v4.15 and I/O hang with BFQ

2018-01-30 Thread Ming Lei
Hi, On Tue, Jan 30, 2018 at 09:05:26AM +0100, Oleksandr Natalenko wrote: > Hi, Paolo, Ivan, Ming et al. > > It looks like I've just encountered the issue Ivan has already described in > [1]. Since I'm able to reproduce it reliably in a VM, I'd like to draw more > attention to it. > > First, I'm

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

2018-01-30 Thread David Woodhouse
On Mon, 2018-01-29 at 16:23 -0800, Linus Torvalds wrote: >   And the "big hammer" approach to spectre would seem to > be to just make sure the BTB and RSB are flushed at vmexit time - and > even then you might decide that you really want to just move it to > vmenter time, and only do it if the VM h

Re: [PATCH] IB/cxgb3: remove cxio_dbg.c

2018-01-30 Thread LABBE Corentin
On Sun, Jan 28, 2018 at 02:09:03PM -0700, Jason Gunthorpe wrote: > On Sun, Jan 28, 2018 at 08:24:22AM -0800, Joe Perches wrote: > > On Sun, 2018-01-28 at 15:11 +, Corentin Labbe wrote: > > > cxio_dbg.c is uncompiled since commit 2b540355cd2f ("RDMA/cxgb3: > > > cleanups") > > > 10 years after,

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

2018-01-30 Thread Kirill A. Shutemov
On Tue, Jan 30, 2018 at 09:11:27AM +0100, Florian Westphal wrote: > Michal Hocko wrote: > > On Mon 29-01-18 23:35:22, Florian Westphal wrote: > > > Kirill A. Shutemov wrote: > > [...] > > > > I hate what I'm saying, but I guess we need some tunable here. > > > > Not sure what exactly. > > > > >

Memory hotplug not increasing the total RAM

2018-01-30 Thread Bharata B Rao
Hi, With the latest upstream, I see that memory hotplug is not working as expected. The hotplugged memory isn't seen to increase the total RAM pages. This has been observed with both x86 and Power guests. 1. Memory hotplug code intially marks pages as PageReserved via __add_section(). 2. Later th

Re: [PATCH] drm/stm: drv: Improve data transfers

2018-01-30 Thread Benjamin Gaignard
2018-01-22 11:33 GMT+01:00 Philippe Cornu : > To optimize data transfers, align pitch on 128 bytes & height > on 4 bytes. This optimization is not applicable without MMU. > > Signed-off-by: Yannick Fertre > Signed-off-by: Vincent Abriou > Signed-off-by: Philippe Cornu > --- > drivers/gpu/drm/st

Re: [PATCH v2 10/16] iio: adc: sun4i-gpadc-iio: add support for A83T thermal sensor

2018-01-30 Thread Maxime Ripard
1;5002;0c On Mon, Jan 29, 2018 at 12:53:48PM +0100, Philipp Rossak wrote: > > > On 29.01.2018 10:48, Maxime Ripard wrote: > > On Mon, Jan 29, 2018 at 12:29:13AM +0100, Philipp Rossak wrote: > > > This patch adds support for the A83T ths sensor. > > > > > > The A83T supports interrupts. The inter

Re: [RFC PATCH 2/5] sched: Add NOHZ_STATS_KICK

2018-01-30 Thread Vincent Guittot
On 29 January 2018 at 20:31, Valentin Schneider wrote: > Hi Vincent, Peter, > > I've been running some tests on your patches (Peter's base + the 2 from > Vincent). The results themselves are hosted at [1]. > The base of those tests is the same: a task ("accumulator") is ran for 5 > seconds (arbitr

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

2018-01-30 Thread Ladislav Michl
On Tue, Jan 30, 2018 at 12:33:01AM +0100, Pavel Machek wrote: > On Tue 2018-01-30 00:20:31, 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 > > > > > > dif

Re: [PATCH v2 07/16] iio: adc: sun4i-gpadc-iio: rework: support nvmem calibration data

2018-01-30 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 01:33:12PM +0100, Philipp Rossak wrote: > > > static const struct gpadc_data sun4i_gpadc_data = { > > > @@ -87,6 +89,7 @@ static const struct gpadc_data sun4i_gpadc_data = { > > > .sample_start = sun4i_gpadc_sample_start, > > > .sample_end = sun4i_gpadc

Re: [PATCH v4 3/6] arm: dts: sun8i: a83t: Add the cir pin for the A83T

2018-01-30 Thread Maxime Ripard
hi, On Mon, Jan 29, 2018 at 04:58:07PM +0100, Philipp Rossak wrote: > The CIR Pin of the A83T is located at PL12. > > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi > b/arc

Re: [PATCH v4 4/6] arm: dts: sun8i: a83t: Add support for the cir interface

2018-01-30 Thread Maxime Ripard
hi, On Mon, Jan 29, 2018 at 04:58:08PM +0100, Philipp Rossak wrote: > The cir interface is like on the H3 located at 0x01f02000 and is exactly > the same. This patch adds support for the ir interface on the A83T. > > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 10 +

Re: [PATCH v5 5/6] arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller

2018-01-30 Thread Maxime Ripard
On Mon, Jan 29, 2018 at 04:58:09PM +0100, Philipp Rossak wrote: > The Bananapi M3 has an onboard IR receiver. > This enables the onboard IR receiver subnode. > Unlike the other IR receivers this one needs a base clock frequency > of 300 Hz (3 MHz), to be able to work. > > Signed-off-by: Philip

[PATCH 2/4] libusbip: use per vhci_hcd controller attributes

2018-01-30 Thread Salvador Fandino
From: Salvador Fandiño Now every vhci_hcd device is controlled by its own sysfs attributes (before all of them were controlled by vhci_hcd.0 attributes). This patch addapts libusbip to this new interface. Before this patch the library did not provide any mean to access a specific vhci_hcd device

[PATCH 4/4] config: make USB_MAXBUS configurable and adjust VHCI_NR_HCS top limit

2018-01-30 Thread Salvador Fandino
From: Salvador Fandiño The maximum number of USB host controllers supported by the kernel had a hard-coded limit of 64. In some scenarios that limit may be not enough. For instance, in my particular case, I have systems with thousands of containers running and would like to provide a VHCI (USBIP

[PATH 0/4] usbip: make vhci_hcd.* objects independent of vhci_hcd.0

2018-01-30 Thread Salvador Fandino
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 containers, and makes then available through the network to remote user

[PATCH 1/4] usbip: make vhci_hcd.* objects independent of vhci_hcd.0

2018-01-30 Thread Salvador Fandino
From: Salvador Fandiño The usbip VHCI layer supports multiple "vhci_hcd" devices, every one emulating both a high speed and a super speed USB hub. These devices are exposed in sysfs as "vhci_hcd.0", "vhci_hcd.1", etc. But instead of controlling then by attributes inside their respective director

[PATCH 3/4] usbip tools: use per vhci_hcd controller attributes

2018-01-30 Thread Salvador Fandino
From: Salvador Fandiño Now every vhci_hcd device is controlled by its own sysfs attributes (before all of them were controlled by vhci_hcd.0 attributes). This patch addapts the usbip tools to use the new interface through libusbip. The user visible changes are as follows: - The files containing

Re: [PATCH 3/3] fs: fat: add ioctl method in fat filesystem driver

2018-01-30 Thread Pali Rohár
On Tuesday 30 January 2018 14:33:49 Chen Guanqiao wrote: > On Mon, 2018-01-29 at 17:43 +0100, Pali Rohár wrote: > > On Monday 29 January 2018 15:18:42 Andy Shevchenko wrote: > > > +Cc: Pali, who AFAIRC is interested in FAT labeling mess. > > > > Yes, please CC me for FAT labeling discussing in fut

Re: [PATCH 1/2] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP

2018-01-30 Thread Rajendra Nayak
On 01/27/2018 02:01 AM, Evan Green wrote: > Hi Rajendra, > > On Thu, Jan 25, 2018 at 8:32 AM, Rajendra Nayak wrote: >> Add a skeletal sdm845 SoC dtsi and MTP board dts/dtsi files >> >> Signed-off-by: Rajendra Nayak >> --- >> arch/arm64/boot/dts/qcom/Makefile| 1 + >> arch/arm64/boot/

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

2018-01-30 Thread Michal Hocko
On Mon 29-01-18 14:38:02, David Rientjes wrote: > On Fri, 26 Jan 2018, Michal Hocko wrote: > > > > The cgroup aware oom killer is needlessly declared for the entire system > > > by a mount option. It's unnecessary to force the system into a single > > > oom policy: either cgroup aware, or the tra

Re: [PATCH V2] print kdump kernel loaded status in stack dump

2018-01-30 Thread Sergey Senozhatsky
On (01/27/18 12:11), Dave Young wrote: > It is useful to print kdump kernel loaded status in dump_stack() > especially when panic happens so that we can differenciate > kdump kernel early hang and a normal panic in a bug report. > > Signed-off-by: Dave Young Looks OK to me. Reviewed-by: Serge

Re: [PATCH 8/8] platform: vivid-cec: fix potential integer overflow in vivid_cec_pin_adap_events

2018-01-30 Thread Gustavo A. R. Silva
Hi Hans, Quoting Hans Verkuil : Hi Gustavo, On 01/30/2018 01:33 AM, Gustavo A. R. Silva wrote: Cast len to const u64 in order to avoid a potential integer overflow. This variable is being used in a context that expects an expression of type const u64. Addresses-Coverity-ID: 1454996 ("Uninten

[tip:x86/pti] objtool: Add support for alternatives at the end of a section

2018-01-30 Thread tip-bot for Josh Poimboeuf
Commit-ID: b18cbc614b4ddca4019ecd2e6663d54bd495d413 Gitweb: https://git.kernel.org/tip/b18cbc614b4ddca4019ecd2e6663d54bd495d413 Author: Josh Poimboeuf AuthorDate: Mon, 29 Jan 2018 22:00:40 -0600 Committer: Ingo Molnar CommitDate: Tue, 30 Jan 2018 07:55:05 +0100 objtool: Add support for

[tip:x86/pti] objtool: Don't print '.tmp_' prefix for .o files when CONFIG_MODVERSIONS=y

2018-01-30 Thread tip-bot for Josh Poimboeuf
Commit-ID: dfcb8dae5d28b7cf259b367ed9ccbc1296284e0d Gitweb: https://git.kernel.org/tip/dfcb8dae5d28b7cf259b367ed9ccbc1296284e0d Author: Josh Poimboeuf AuthorDate: Mon, 29 Jan 2018 22:00:42 -0600 Committer: Ingo Molnar CommitDate: Tue, 30 Jan 2018 07:55:05 +0100 objtool: Don't print '.t

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

2018-01-30 Thread Pavel Machek
On Tue 2018-01-30 09:34:46, Ladislav Michl wrote: > On Tue, Jan 30, 2018 at 12:33:01AM +0100, Pavel Machek wrote: > > On Tue 2018-01-30 00:20:31, Ladislav Michl wrote: > > > On Tue, Jan 30, 2018 at 12:05:39AM +0100, Pavel Machek wrote: > > > > > > > > This adds device tree support to tlv320dac33.c

[tip:x86/pti] objtool: Warn on stripped section symbol

2018-01-30 Thread tip-bot for Josh Poimboeuf
Commit-ID: 2e9490ba5830a60a18a359192e938b2ad1710120 Gitweb: https://git.kernel.org/tip/2e9490ba5830a60a18a359192e938b2ad1710120 Author: Josh Poimboeuf AuthorDate: Mon, 29 Jan 2018 22:00:41 -0600 Committer: Ingo Molnar CommitDate: Tue, 30 Jan 2018 07:55:05 +0100 objtool: Warn on strippe

Re: [PATCH v2 15/16] arm/arm64: smccc: Implement SMCCC v1.1 inline primitive

2018-01-30 Thread Marc Zyngier
On 29/01/18 19:07, Robin Murphy wrote: > On 29/01/18 17:45, Marc Zyngier wrote: >> One of the major improvement of SMCCC v1.1 is that it only clobbers >> the first 4 registers, both on 32 and 64bit. This means that it >> becomes very easy to provide an inline version of the SMC call >> primitive, a

[tip:x86/pti] objtool: Improve retpoline alternative handling

2018-01-30 Thread tip-bot for Josh Poimboeuf
Commit-ID: 44510d9e1656fbc52721e7ceb41033359576f2a7 Gitweb: https://git.kernel.org/tip/44510d9e1656fbc52721e7ceb41033359576f2a7 Author: Josh Poimboeuf AuthorDate: Mon, 29 Jan 2018 22:00:39 -0600 Committer: Ingo Molnar CommitDate: Tue, 30 Jan 2018 07:55:04 +0100 objtool: Improve retpoli

Re: [patch -mm v2 2/3] mm, memcg: replace cgroup aware oom killer mount option with tunable

2018-01-30 Thread Michal Hocko
On Mon 29-01-18 11:11:39, Tejun Heo wrote: > Hello, Michal. > > On Mon, Jan 29, 2018 at 11:46:57AM +0100, Michal Hocko wrote: > > @@ -1292,7 +1292,11 @@ the memory controller considers only cgroups > > belonging to the sub-tree > > of the OOM'ing cgroup. > > > > The root cgroup is treated as

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

2018-01-30 Thread Christian König
Am 30.01.2018 um 08:55 schrieb Michal Hocko: On Tue 30-01-18 02:56:51, He, Roger wrote: Hi Michal: We need a API to tell TTM module the system totally has how many swap cache. Then TTM module can use it to restrict how many the swap cache it can use to prevent triggering OOM. For Now we set t

Re: [PATCH v3 0/4] KVM: Expose speculation control feature to guests

2018-01-30 Thread David Woodhouse
On Tue, 2018-01-30 at 01:10 +0100, KarimAllah Ahmed wrote: > Add direct access to speculation control MSRs for KVM guests. This allows the > guest to protect itself against Spectre V2 using IBRS+IBPB instead of a > retpoline+IBPB based approach. > > It also exposes the ARCH_CAPABILITIES MSR whic

Re: [PATCH v19 03/10] video: backlight: Add of_find_backlight helper in backlight.c

2018-01-30 Thread Lee Jones
On Mon, 29 Jan 2018, Sean Paul wrote: > On Mon, Jan 29, 2018 at 4:11 AM, Lee Jones wrote: > > On Fri, 26 Jan 2018, Randy Dunlap wrote: > > > >> On 01/26/2018 01:48 AM, Lee Jones wrote: > >> > On Wed, 24 Jan 2018, Meghana Madhyastha wrote: > >> > > >> >> Add of_find_backlight, a helper function whi

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

2018-01-30 Thread Dmitry Vyukov
On Tue, Jan 30, 2018 at 9:28 AM, Kirill A. Shutemov wrote: > On Tue, Jan 30, 2018 at 09:11:27AM +0100, Florian Westphal wrote: >> Michal Hocko wrote: >> > On Mon 29-01-18 23:35:22, Florian Westphal wrote: >> > > Kirill A. Shutemov wrote: >> > [...] >> > > > I hate what I'm saying, but I guess we

Re: [PATCH 4/4] rtc: isl1208: add support for isl1219 with hwmon for tamper detection

2018-01-30 Thread Denis OSTERLAND
Am Montag, den 29.01.2018, 17:41 -0600 schrieb Rob Herring: > On Tue, Jan 23, 2018 at 01:18:01PM +0100, Michael Grzeschik wrote: > > > > We add support for the ISL1219 chip that got an integrated tamper > > detection function. This patch implements the feature by using an hwmon > > interface. > >

Re: possible deadlock in xt_find_table_lock

2018-01-30 Thread Florian Westphal
#syz dup: possible deadlock in do_ip_getsockopt

Re: [PATCH V2] print kdump kernel loaded status in stack dump

2018-01-30 Thread Dave Young
On 01/30/18 at 05:50pm, Sergey Senozhatsky wrote: > On (01/27/18 12:11), Dave Young wrote: > > It is useful to print kdump kernel loaded status in dump_stack() > > especially when panic happens so that we can differenciate > > kdump kernel early hang and a normal panic in a bug report. > > > > S

Re: possible deadlock in xt_find_revision

2018-01-30 Thread Florian Westphal
#syz dup: possible deadlock in do_ip_getsockopt

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

2018-01-30 Thread Filip Matijević
Hi, On 01/30/2018 09:53 AM, Pavel Machek wrote: > On Tue 2018-01-30 09:34:46, Ladislav Michl wrote: >> On Tue, Jan 30, 2018 at 12:33:01AM +0100, Pavel Machek wrote: >>> On Tue 2018-01-30 00:20:31, Ladislav Michl wrote: On Tue, Jan 30, 2018 at 12:05:39AM +0100, Pavel Machek wrote: > >

Re: [PATCH] lib/strscpy: remove word-at-a-time optimization.

2018-01-30 Thread Dmitry Vyukov
On Thu, Jan 25, 2018 at 8:13 PM, Andrey Ryabinin wrote: > On 01/25/2018 08:55 PM, Linus Torvalds wrote: >> On Thu, Jan 25, 2018 at 12:32 AM, Dmitry Vyukov wrote: >>> On Wed, Jan 24, 2018 at 6:52 PM, Linus Torvalds >>> wrote: So I'd *much* rather have some way to tell KASAN that word-at

Backport Mellanox mlx5 patches to stable 4.9.y

2018-01-30 Thread Marta Rybczynska
Hello Mellanox maintainers, I'd like to ask you to OK backporting two patches in mlx5 driver to 4.9 stable tree (they're in master for some time already). We have multiple deployment in 4.9 that are running into the bug fixed by those patches. We're deploying patched kernels and the issue disappea

Re: Memory hotplug not increasing the total RAM

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 14:00:06, Bharata B Rao wrote: > Hi, > > With the latest upstream, I see that memory hotplug is not working > as expected. The hotplugged memory isn't seen to increase the total > RAM pages. This has been observed with both x86 and Power guests. > > 1. Memory hotplug code intially

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

2018-01-30 Thread Stephane Eranian
Hi, On Mon, Jan 29, 2018 at 8:29 AM, wrote: > > From: Kan Liang > > -- > > Changes since V2: > - Refined the changelog > - Introduced specific read function for large PEBS. >The previous generic PEBS read function is confusing. >Disabled PMU in pmu::read() path for large PEBS. >

Re: [PATCH 4/4] dmaengine: qcom: bam_dma: Add num-ees dt binding for remotely controlled

2018-01-30 Thread Srinivas Kandagatla
Thanks for the review, On 29/01/18 16:21, Rob Herring wrote: On Tue, Jan 16, 2018 at 07:02:36PM +, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla When Linux is master of BAM, it can directly read registers to know number of supported execution enviroments, however when it

Re: [PATCH 4/4] drm/amdgpu: Use drm_oom_badness for amdgpu.

2018-01-30 Thread Daniel Vetter
On Thu, Jan 18, 2018 at 11:47:52AM -0500, Andrey Grodzovsky wrote: > Signed-off-by: Andrey Grodzovsky > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > in

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

2018-01-30 Thread Dmitry Vyukov
On Mon, Jan 29, 2018 at 6:26 PM, Dmitry Vyukov wrote: > KASAN uses compiler instrumentation to intercept all memory accesses. > But it does not see memory accesses done in assembly code. > One notable user of assembly code is atomic operations. Frequently, > for example, an atomic reference decrem

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

2018-01-30 Thread Arnd Bergmann
On Tue, Jan 30, 2018 at 8:54 AM, Maxime Ripard wrote: > On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote: >> On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij >> wrote: >> > On Mon, Jan 29, 2018 at 9:25 AM, Maxime Ripard >> > wrote: >> >> On Sat, Jan 27, 2018 at 05:14:26PM +0100, Linu

[GIT PULL] printk for 4.16

2018-01-30 Thread Petr Mladek
Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk.git for-linus = - Add console_msg_format command line option. The value "default" keeps the old "[time stamp] text\n" format. The value "syslog" allows to see the sys

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

2018-01-30 Thread Dmitry Vyukov
On Tue, Jan 30, 2018 at 10:23 AM, Dmitry Vyukov wrote: > On Mon, Jan 29, 2018 at 6:26 PM, Dmitry Vyukov wrote: >> KASAN uses compiler instrumentation to intercept all memory accesses. >> But it does not see memory accesses done in assembly code. >> One notable user of assembly code is atomic oper

Re: Memory hotplug not increasing the total RAM

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 10:16:00, Michal Hocko wrote: > On Tue 30-01-18 14:00:06, Bharata B Rao wrote: > > Hi, > > > > With the latest upstream, I see that memory hotplug is not working > > as expected. The hotplugged memory isn't seen to increase the total > > RAM pages. This has been observed with both

Re: [RFC] Per file OOM badness

2018-01-30 Thread Michel Dänzer
On 2018-01-24 12:50 PM, Michal Hocko wrote: > On Wed 24-01-18 12:23:10, Michel Dänzer wrote: >> On 2018-01-24 12:01 PM, Michal Hocko wrote: >>> On Wed 24-01-18 11:27:15, Michel Dänzer wrote: > [...] 2. If the OOM killer kills a process which is sharing BOs with another process, this shoul

Re: [PATCH v5 1/5] pwm-backlight: enable/disable the PWM before/after LCD enable toggle.

2018-01-30 Thread Enric Balletbo Serra
Hi, 2017-12-01 13:06 GMT+01:00 Enric Balletbo i Serra : > Before this patch the enable signal was set before the PWM signal and > vice-versa on power off. This sequence is wrong, at least, it is on > the different panels datasheets that I checked, so I inverted the sequence > to follow the specs.

Re: [RFC] Per file OOM badness

2018-01-30 Thread Daniel Vetter
On Wed, Jan 24, 2018 at 01:11:09PM +0100, Christian König wrote: > Am 24.01.2018 um 12:50 schrieb Michal Hocko: > > On Wed 24-01-18 12:23:10, Michel Dänzer wrote: > > > On 2018-01-24 12:01 PM, Michal Hocko wrote: > > > > On Wed 24-01-18 11:27:15, Michel Dänzer wrote: > > [...] > > > > > 2. If the O

Re: [PATCH v3 0/4] KVM: Expose speculation control feature to guests

2018-01-30 Thread KarimAllah Ahmed
On 01/30/2018 10:00 AM, David Woodhouse wrote: On Tue, 2018-01-30 at 01:10 +0100, KarimAllah Ahmed wrote: Add direct access to speculation control MSRs for KVM guests. This allows the guest to protect itself against Spectre V2 using IBRS+IBPB instead of a retpoline+IBPB based approach. It als

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

2018-01-30 Thread Daniel Vetter
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 > disable all access to master operations for the owner and all lessees > under it. > > This matches

Re: [PATCH V2] print kdump kernel loaded status in stack dump

2018-01-30 Thread Petr Mladek
On Tue 2018-01-30 17:07:29, Dave Young wrote: > On 01/30/18 at 05:50pm, Sergey Senozhatsky wrote: > > On (01/27/18 12:11), Dave Young wrote: > > > It is useful to print kdump kernel loaded status in dump_stack() > > > especially when panic happens so that we can differenciate > > > kdump kernel e

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

2018-01-30 Thread Ladislav Michl
On Tue, Jan 30, 2018 at 10:11:02AM +0100, Filip Matijević wrote: > Hi, > > On 01/30/2018 09:53 AM, Pavel Machek wrote: > > On Tue 2018-01-30 09:34:46, Ladislav Michl wrote: > >> On Tue, Jan 30, 2018 at 12:33:01AM +0100, Pavel Machek wrote: > >>> On Tue 2018-01-30 00:20:31, Ladislav Michl wrote: >

Re: ppc elf_map breakage with MAP_FIXED_NOREPLACE

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 14:35:12, Michael Ellerman wrote: > Michal Hocko writes: > > > On Mon 29-01-18 11:02:09, Anshuman Khandual wrote: > >> On 01/29/2018 08:17 AM, Anshuman Khandual wrote: > >> > On 01/26/2018 07:34 PM, Michal Hocko wrote: > >> >> On Fri 26-01-18 18:04:27, Anshuman Khandual wrote: > >

Re: [PATCH] srcu: fix misprint in srcu_funnel_exp_start

2018-01-30 Thread Paul E. McKenney
On Mon, Jan 29, 2018 at 09:23:09PM +0300, Ildar Ismagilov wrote: > Signed-off-by: Ildar Ismagilov The original does look backwards, now that you mention it, thank you for sending it. Did you see any performance differences from this patch?

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

2018-01-30 Thread Paul E. McKenney
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], Paul E. McKenney wrote: > > > find this one. ;-) But it did pass rcutorture testing for a great many > > > years, didn't it? :

Re: [RFC] Per file OOM badness

2018-01-30 Thread Michel Dänzer
On 2018-01-30 10:31 AM, Daniel Vetter wrote: > On Wed, Jan 24, 2018 at 01:11:09PM +0100, Christian König wrote: >> Am 24.01.2018 um 12:50 schrieb Michal Hocko: >>> On Wed 24-01-18 12:23:10, Michel Dänzer wrote: On 2018-01-24 12:01 PM, Michal Hocko wrote: > On Wed 24-01-18 11:27:15, Michel

Re: [PATCH] drm/edid: use false for boolean value

2018-01-30 Thread Daniel Vetter
On Tue, Jan 23, 2018 at 10:46:07AM -0600, Gustavo A. R. Silva wrote: > Assign true or false to boolean variables instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Thanks for your patch. > --- > drivers/gpu/drm/drm_edid

Re: [PATCH 1/2] arm64: dts: sdm845: Add minimal dts/dtsi files for sdm845 SoC and MTP

2018-01-30 Thread Stephen Boyd
On 01/29, Rajendra Nayak wrote: > > > On 01/27/2018 03:45 AM, Stephen Boyd wrote: > > On 01/25, Rajendra Nayak wrote: > >> create mode 100644 arch/arm64/boot/dts/qcom/sdm845-mtp.dts > >> create mode 100644 arch/arm64/boot/dts/qcom/sdm845-mtp.dtsi > > > > Do we really need two files? Maybe coll

Re: [PATCH v7 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-30 Thread jacopo mondi
Hi Laurent, On Mon, Jan 29, 2018 at 01:01:01PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Friday, 26 January 2018 15:55:26 EET Jacopo Mondi wrote: > > Add support to ov772x driver for frame intervals handling and enumeration. > > Tested with 10MHz and 24MHz inp

Re: [PATCH v2] kdb: use ktime_get_mono_fast_ns() instead of ktime_get_ts()

2018-01-30 Thread Daniel Thompson
On Mon, Jan 29, 2018 at 10:22:51AM +0800, Baolin Wang wrote: > The kdb code will print the monotonic time by ktime_get_ts(), but > the ktime_get_ts() will be protected by a sequence lock, that will > introduce one deadlock risk if the lock was already held in the > context from which we entered the

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

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 09:11:27, Florian Westphal wrote: > Michal Hocko wrote: > > On Mon 29-01-18 23:35:22, Florian Westphal wrote: > > > Kirill A. Shutemov wrote: > > [...] > > > > I hate what I'm saying, but I guess we need some tunable here. > > > > Not sure what exactly. > > > > > > Would memcg he

Re: Memory hotplug not increasing the total RAM

2018-01-30 Thread Bharata B Rao
On Tue, Jan 30, 2018 at 10:28:15AM +0100, Michal Hocko wrote: > On Tue 30-01-18 10:16:00, Michal Hocko wrote: > > On Tue 30-01-18 14:00:06, Bharata B Rao wrote: > > > Hi, > > > > > > With the latest upstream, I see that memory hotplug is not working > > > as expected. The hotplugged memory isn't s

Re: [PATCH 8/8] platform: vivid-cec: fix potential integer overflow in vivid_cec_pin_adap_events

2018-01-30 Thread Hans Verkuil
On 01/30/2018 09:51 AM, Gustavo A. R. Silva wrote: > Hi Hans, > > Quoting Hans Verkuil : > >> Hi Gustavo, >> >> On 01/30/2018 01:33 AM, Gustavo A. R. Silva wrote: >>> Cast len to const u64 in order to avoid a potential integer >>> overflow. This variable is being used in a context that expects >>

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

2018-01-30 Thread Peter Zijlstra
On Mon, Jan 29, 2018 at 04:52:53PM -0600, Josh Poimboeuf wrote: > On Tue, Jan 23, 2018 at 04:25:59PM +0100, Peter Zijlstra wrote: > > I've observed GCC generate: > > > > sym: > > NOP/JMP 1f (static_branch) > > JMP 2f > > 1: /* crud */ > > JMP 3f > > 2: /* other crud */ > >

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

2018-01-30 Thread Michal Hocko
On Tue 30-01-18 10:02:34, Dmitry Vyukov wrote: > On Tue, Jan 30, 2018 at 9:28 AM, Kirill A. Shutemov > wrote: > > On Tue, Jan 30, 2018 at 09:11:27AM +0100, Florian Westphal wrote: > >> Michal Hocko wrote: > >> > On Mon 29-01-18 23:35:22, Florian Westphal wrote: > >> > > Kirill A. Shutemov wrote:

Re: [PATCH 4/4] objtool: Don't print '.tmp_' prefix for .o files

2018-01-30 Thread Peter Zijlstra
On Mon, Jan 29, 2018 at 10:00:42PM -0600, Josh Poimboeuf wrote: > With the following commit: > > 2a0098d70640 ("objtool: Fix seg fault with gold linker") > > ... objtool warnings started showing the modversions '.tmp_' prefix in > the .o file name, like: > > arch/x86/mm/.tmp_mem_encrypt_boot

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

2018-01-30 Thread Jacopo Mondi
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, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm

[PATCH v8 00/11] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-30 Thread Jacopo Mondi
Hello, this 8th round has two minor modifications compared to v7: - Fixed Geert's comments on RZ/A1-H/L/M in bindings documentation - Calculate the PLL divisor/multiplier to generate the proper pixel clock for ov772x in place of using static tables. Series based on top of Hans': [PATCHv2 0/9

[PATCH v8 02/11] include: media: Add Renesas CEU driver interface

2018-01-30 Thread Jacopo Mondi
Add renesas-ceu header file. Do not remove the existing sh_mobile_ceu.h one as long as the original driver does not go away. Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- include/media/drv-intf/renesas-ceu.h | 26 ++ 1 file change

[PATCH v8 05/11] media: i2c: Copy ov772x soc_camera sensor driver

2018-01-30 Thread Jacopo Mondi
Copy the soc_camera based driver in v4l2 sensor driver directory. This commit just copies the original file without modifying it. No modification to KConfig and Makefile as soc_camera framework dependencies need to be removed first in next commit. Signed-off-by: Jacopo Mondi Acked-by: Laurent Pin

[PATCH v8 07/11] media: i2c: ov772x: Support frame interval handling

2018-01-30 Thread Jacopo Mondi
Add support to ov772x driver for frame intervals handling and enumeration. Tested with 10MHz and 24MHz input clock at VGA and QVGA resolutions for 10, 15 and 30 frame per second rates. Signed-off-by: Jacopo Mondi --- drivers/media/i2c/ov772x.c | 210 +

[PATCH v8 09/11] media: i2c: tw9910: Remove soc_camera dependencies

2018-01-30 Thread Jacopo Mondi
Remove soc_camera framework dependencies from tw9910 sensor driver. - Handle clock and gpios - Register async subdevice - Remove soc_camera specific g/s_mbus_config operations - Add kernel doc to driver interface header file - Adjust build system This commit does not remove the original soc_camera

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

2018-01-30 Thread Vinod Koul
On Mon, Jan 29, 2018 at 06:26:40AM +, Yang, Shunyong wrote: > Hi, Vinod > > On Mon, 2018-01-29 at 10:18 +0530, 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 symbo

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

2018-01-30 Thread Pavel Machek
On Tue 2018-01-30 10:38:38, Ladislav Michl wrote: > On Tue, Jan 30, 2018 at 10:11:02AM +0100, Filip Matijević wrote: > > Hi, > > > > > Well, notice I'm converting existing driver to device tree. And that > > > one already has GPIO dependency. It is possible that more work needs > > > to be done t

[PATCH v8 10/11] arch: sh: migor: Use new renesas-ceu camera driver

2018-01-30 Thread Jacopo Mondi
Migo-R platform uses sh_mobile_ceu camera driver, which is now being replaced by a proper V4L2 camera driver named 'renesas-ceu'. Move Migo-R platform to use the v4l2 renesas-ceu camera driver interface and get rid of soc_camera defined components used to register sensor drivers and of platform sp

[PATCH v8 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-01-30 Thread Jacopo Mondi
The sensor driver sets mbus format colorspace information and sizes, but not ycbcr encoding, quantization and xfer function. When supplied with an badly initialized mbus frame format structure, those fields need to be set explicitly not to leave them uninitialized. This is tested by v4l2-compliance

[PATCH v8 08/11] media: i2c: Copy tw9910 soc_camera sensor driver

2018-01-30 Thread Jacopo Mondi
Copy the soc_camera based driver in v4l2 sensor driver directory. This commit just copies the original file without modifying it. No modification to KConfig and Makefile as soc_camera framework dependencies need to be removed first in next commit. Signed-off-by: Jacopo Mondi Acked-by: Laurent Pin

Re: [PATCH v6 07/36] nds32: Exception handling

2018-01-30 Thread Vincent Chen
2018-01-24 19:10 GMT+08:00 Arnd Bergmann : > On Wed, Jan 24, 2018 at 12:09 PM, Arnd Bergmann wrote: >> On Wed, Jan 24, 2018 at 11:53 AM, Vincent Chen wrote: >>> 2018-01-18 18:14 GMT+08:00 Arnd Bergmann : > >> Ok. I still wonder about the kernel part of this though: is it a good idea >> for user s

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

2018-01-30 Thread Thierry Reding
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 at 8:54 AM, Maxime Ripard > > wrote: > > > On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote: > > >> On Mon, Jan 29, 2018 at 10:25 A

Re: [PATCH] drm/edid: use false for boolean value

2018-01-30 Thread Gustavo A. R. Silva
Hi Daniel, Quoting Daniel Vetter : On Tue, Jan 23, 2018 at 10:46:07AM -0600, Gustavo A. R. Silva wrote: Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva Thanks for your patch. -

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

2018-01-30 Thread Thierry Reding
On Tue, Jan 30, 2018 at 10:24:48AM +0100, Arnd Bergmann wrote: > On Tue, Jan 30, 2018 at 8:54 AM, Maxime Ripard > wrote: > > On Mon, Jan 29, 2018 at 03:34:02PM +0100, Arnd Bergmann wrote: > >> On Mon, Jan 29, 2018 at 10:25 AM, Linus Walleij > >> wrote: > >> > On Mon, Jan 29, 2018 at 9:25 AM, Maxi

[PATCH v8 06/11] media: i2c: ov772x: Remove soc_camera dependencies

2018-01-30 Thread Jacopo Mondi
Remove soc_camera framework dependencies from ov772x sensor driver. - Handle clock and gpios - Register async subdevice - Remove soc_camera specific g/s_mbus_config operations - Change image format colorspace from JPEG to SRGB as the two use the same colorspace information but JPEG makes assumpti

[PATCH v8 03/11] media: platform: Add Renesas CEU driver

2018-01-30 Thread Jacopo Mondi
Add driver for Renesas Capture Engine Unit (CEU). The CEU interface supports capturing 'data' (YUV422) and 'images' (NV[12|21|16|61]). This driver aims to replace the soc_camera-based sh_mobile_ceu one. Tested with ov7670 camera sensor, providing YUYV_2X8 data on Renesas RZ platform GR-Peach. T

[PATCH v8 01/11] dt-bindings: media: Add Renesas CEU bindings

2018-01-30 Thread Jacopo Mondi
Add bindings documentation for Renesas Capture Engine Unit (CEU). Signed-off-by: Jacopo Mondi Reviewed-by: Rob Herring Reviewed-by: Laurent Pinchart Acked-by: Hans Verkuil --- .../devicetree/bindings/media/renesas,ceu.txt | 81 ++ 1 file changed, 81 insertions(+) cre

Re: [PATCH 4.4 00/74] 4.4.114-stable review

2018-01-30 Thread Naresh Kamboju
On 29 January 2018 at 18:26, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.114 release. > There are 74 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 know. > > Respon

Re: [PATCH 2/4] rtc: isl1208: Add device tree binding documentation

2018-01-30 Thread Alexandre Belloni
Hi, On 23/01/2018 at 13:17:59 +0100, Michael Grzeschik wrote: > From: Denis Osterland > > Wrote documentation for ISL1208, ISL1218 device tree > binding with short examples. > This binding is already in Documentation/devicetree/bindings/trivial-devices.txt, no need to duplicate. > Signed-off-

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

2018-01-30 Thread Naresh Kamboju
On 29 January 2018 at 18:26, Greg Kroah-Hartman 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 know. > > Respon

Re: [PATCH 4.9 00/66] 4.9.79-stable review

2018-01-30 Thread Naresh Kamboju
On 29 January 2018 at 18:26, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.79 release. > There are 66 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 know. > > Respons

  1   2   3   4   5   6   7   8   9   10   >