Re: [PATCH V2 1/3] dt-bindings: mmc: tegra: Add pinctrl for pad drive strength config

2019-01-03 Thread Rob Herring
On Fri, Dec 28, 2018 at 6:08 PM Sowjanya Komatineni wrote: > > Hi Rob, > > >> Add pinctrl for 3V3 and 1V8 pad drive strength configuration for > >> Tegra210 sdmmc which has pad configuration registers in the pinmux > >> reigster domain. > > > > typo > > > >> > >> Signed-off-by: Sowjanya Komatineni

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Yang Shi
On 1/3/19 10:13 AM, Michal Hocko wrote: On Thu 03-01-19 09:33:14, Yang Shi wrote: On 1/3/19 2:12 AM, Michal Hocko wrote: On Thu 03-01-19 04:05:30, Yang Shi wrote: Currently, force empty reclaims memory synchronously when writing to memory.force_empty. It may take some time to return and t

[GIT PULL] Thermal management updates for v4.21-rc1

2019-01-03 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal management updates for v4.21-rc1 with top-most commit 24ef9ec891c761483c5270528781b8637b908eef:   thermal/intel: fixup for Kconfig string parsing tightening up (2019- 0

Re: [PATCH v8 01/10] dt-bindings: opp: Introduce qcom-opp bindings

2019-01-03 Thread Rob Herring
On Fri, Dec 21, 2018 at 2:56 AM Rajendra Nayak wrote: > > On Qualcomm Technologies, Inc. platforms, an OPP node needs > to describe an additional level/corner value that is then communicated > to a remote microprocessor by the CPU, which then takes some > actions (like adjusting voltage values acr

[PATCH v3 0/3] kasan: tag-based mode fixes

2019-01-03 Thread Andrey Konovalov
Changes in v3: - Fixed krealloc tag assigning without changing kasan_kmalloc hook and added more comments to the assign_tag function while at it. - Moved ARCH_SLAB_MINALIGN definition to arch/arm64/include/asm/cache.h. Changes in v2: - Added "kasan: make tag based mode work with CONFIG_HARDENED_

[PATCH v3 3/3] kasan: fix krealloc handling for tag-based mode

2019-01-03 Thread Andrey Konovalov
Right now tag-based KASAN can retag the memory that is reallocated via krealloc and return a differently tagged pointer even if the same slab object gets used and no reallocated technically happens. There are a few issues with this approach. One is that krealloc callers can't rely on comparing the

Re: [RFC RESEND PATCH 2/7] dt-bindings: soc: Add opp table on scpsys bindings

2019-01-03 Thread Rob Herring
On Wed, Jan 2, 2019 at 8:10 AM Henry Chen wrote: > > Add opp table on scpsys dt-bindings for Mediatek SoC. > > Signed-off-by: Henry Chen > --- > Documentation/devicetree/bindings/opp/mtk-opp.txt | 24 + > .../devicetree/bindings/soc/mediatek/scpsys.txt| 42 > +++

[PATCH v3 2/3] kasan: make tag based mode work with CONFIG_HARDENED_USERCOPY

2019-01-03 Thread Andrey Konovalov
With CONFIG_HARDENED_USERCOPY enabled __check_heap_object() compares and then subtracts a potentially tagged pointer with a non-tagged address of the page that this pointer belongs to, which leads to unexpected behavior. Untag the pointer in __check_heap_object() before doing any of these operatio

[PATCH v3 1/3] kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning

2019-01-03 Thread Andrey Konovalov
Instead of changing cache->align to be aligned to KASAN_SHADOW_SCALE_SIZE in kasan_cache_create() we can reuse the ARCH_SLAB_MINALIGN macro. Suggested-by: Vincenzo Frascino Signed-off-by: Andrey Konovalov --- arch/arm64/include/asm/cache.h | 6 ++ mm/kasan/common.c | 2 -- 2 fi

Re: [PATCH v2 1/3] kasan, arm64: use ARCH_SLAB_MINALIGN instead of manual aligning

2019-01-03 Thread Andrey Konovalov
On Wed, Jan 2, 2019 at 9:14 PM Andrew Morton wrote: > > On Wed, 2 Jan 2019 18:36:06 +0100 Andrey Konovalov > wrote: > > > Instead of changing cache->align to be aligned to KASAN_SHADOW_SCALE_SIZE > > in kasan_cache_create() we can reuse the ARCH_SLAB_MINALIGN macro. > > > > ... > > > > --- a/ar

Re: [PATCHv3 1/2] mm/memblock: extend the limit inferior of bottom-up after parsing hotplug attr

2019-01-03 Thread Tejun Heo
Hello, On Wed, Jan 02, 2019 at 07:05:38PM +0200, Mike Rapoport wrote: > I agree that currently the bottom-up allocation after the kernel text has > issues with KASLR. But this issues are not necessarily related to the > memory hotplug. Even with a single memory node, a bottom-up allocation will >

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-03 Thread Florian Fainelli
On 1/3/19 9:41 AM, Rob Herring wrote: > On Thu, Dec 20, 2018 at 05:34:08PM -0800, Florian Fainelli wrote: >> Add a binding document for the Broadcom STB reset controller, also known >> as SW_INIT-style reset controller. >> >> Signed-off-by: Florian Fainelli >> --- >> .../devicetree/bindings/reset

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 10:40:54, Yang Shi wrote: > > > On 1/3/19 10:13 AM, Michal Hocko wrote: > > On Thu 03-01-19 09:33:14, Yang Shi wrote: > > > > > > On 1/3/19 2:12 AM, Michal Hocko wrote: > > > > On Thu 03-01-19 04:05:30, Yang Shi wrote: > > > > > Currently, force empty reclaims memory synchronousl

Re: [PATCH 1/2] x86/pkeys: properly copy pkey state at fork()

2019-01-03 Thread Dave Hansen
On 1/3/19 5:52 AM, Sasha Levin wrote: > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: e8c24d3a23a4 x86/pkeys: Allocation/free syscalls. > > The bot has tested the following trees: v4.20.0, v4.19.13, v4.14.91, > v4.9.148, > > v4.20.0: Build OK! > v4.19.13: B

Re: [PATCH 2/2] x86/selftests/pkeys: fork() to check for state being preserved

2019-01-03 Thread Dave Hansen
On 1/3/19 5:52 AM, Sasha Levin wrote: > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v4.20.0, v4.19.13, v4.14.91, > v4.9.148, v4.4.169, v3.18.131, > > v4.2

Re: [PATCH ghak90 (was ghak32) V4 00/10] audit: implement container identifier

2019-01-03 Thread Guenter Roeck
Hi Richard, On Thu, Jan 03, 2019 at 12:36:13PM -0500, Richard Guy Briggs wrote: > On 2019-01-03 08:15, Guenter Roeck wrote: > > Hi, > > > > On Tue, Jul 31, 2018 at 04:07:35PM -0400, Richard Guy Briggs wrote: > > > Implement kernel audit container identifier. > > > > I don't see a follow-up submi

Re: [PATCH v2 2/9] i2c: reject new transfers when adapters are suspended

2019-01-03 Thread Wolfram Sang
> I share your desire to have the check for this shared in core code, > but I'm afraid that just is not going to work. Okay, so this series is definately not it. Probably the previous one which exposes helpers is not a bad idea after all. Because it is ulitmately the driver's decision when to use

Re: [PATCH V3] i2c: tegra: Fix Maximum transfer size

2019-01-03 Thread Wolfram Sang
On Wed, Jan 02, 2019 at 03:40:23PM -0800, Sowjanya Komatineni wrote: > Tegra194 supports maximum 64K Bytes transfer per packet. > Tegra186 and prior supports maximum 4K Bytes transfer per packet. > > This patch fixes this payload difference between Tegra194 and prior > tegra chipsets using separat

[PATCH] drm/msm/dpu: Convert to a chained irq chip

2019-01-03 Thread Stephen Boyd
Devices that make up DPU, i.e. graphics card, request their interrupts from this "virtual" interrupt chip. The interrupt chip builds upon a GIC SPI interrupt that raises high when any of the interrupts in the DPU's irq status register are triggered. From the kernel's perspective this is a chained i

Re: [PATCH v3] mm/page_owner: fix for deferred struct page init

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 12:38:59, Qian Cai wrote: > On 1/3/19 11:59 AM, Michal Hocko wrote: > >> As mentioned above, "If deselected DEFERRED_STRUCT_PAGE_INIT, it is still > >> better > >> to call page_ext_init() earlier, so page owner could catch more early page > >> allocation call sites." > > > > Do yo

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Yang Shi
On 1/3/19 10:53 AM, Michal Hocko wrote: On Thu 03-01-19 10:40:54, Yang Shi wrote: On 1/3/19 10:13 AM, Michal Hocko wrote: On Thu 03-01-19 09:33:14, Yang Shi wrote: On 1/3/19 2:12 AM, Michal Hocko wrote: On Thu 03-01-19 04:05:30, Yang Shi wrote: Currently, force empty reclaims memory sync

Re: "bpf: Improve the info.func_info and info.func_info_rec_size behavior" breaks strace self tests

2019-01-03 Thread Martin Lau
On Thu, Jan 03, 2019 at 12:46:13PM +0100, Heiko Carstens wrote: > Hello, > > the kernel commit 7337224fc150 ("bpf: Improve the info.func_info and > info.func_info_rec_size behavior") breaks one of strace's self tests: > > FAIL: bpf-obj_get_info_by_fd-prog-v.gen The strace's bpf-obj_get_info_by_fd

Re: [PATCH v3 3/4] i2c: Add Actions Semiconductor Owl family S700 I2C support

2019-01-03 Thread Wolfram Sang
On Tue, Dec 11, 2018 at 09:04:47AM +0100, Parthiban Nallathambi wrote: > Add S700 to the list of devices supported by Owl I2C driver. > > Add Actions Semiconductor Owl family S700 I2C driver. > > Signed-off-by: Parthiban Nallathambi > Reviewed-by: Manivannan Sadhasivam Applied to for-next, tha

Re: [PATCH v3 1/4] dt-bindings: i2c: Add S700 support for Actions Semi Soc's

2019-01-03 Thread Wolfram Sang
On Tue, Dec 11, 2018 at 09:04:45AM +0100, Parthiban Nallathambi wrote: > Add s700 compatible string to Actions Semi SoC dt-bindings. > > Signed-off-by: Parthiban Nallathambi Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [PATCH] drm/amdgpu_vm: fix boolean expressions

2019-01-03 Thread Kuehling, Felix
On 2019-01-03 12:34 p.m., Gustavo A. R. Silva wrote: > Fix boolean expressions by using logical AND operator '&&' > instead of bitwise operator '&'. > > This issue was detected with the help of Coccinelle. > > Fixes: c8c5e569c5b0 ("drm/amdgpu: Consolidate visible vs. real vram check > v2.") Actual

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-03 Thread Rob Herring
On Thu, Jan 03, 2019 at 10:53:25AM -0800, Florian Fainelli wrote: > On 1/3/19 9:41 AM, Rob Herring wrote: > > On Thu, Dec 20, 2018 at 05:34:08PM -0800, Florian Fainelli wrote: > >> Add a binding document for the Broadcom STB reset controller, also known > >> as SW_INIT-style reset controller. > >>

RE: [RFC PATCH] ASoC: fsl: Add Audio Mixer CPU DAI driver

2019-01-03 Thread Viorel Suman
> -Original Message- > From: Rob Herring [mailto:robh...@kernel.org] > Sent: Thursday, January 3, 2019 8:26 PM > To: Viorel Suman > Cc: nicoleots...@gmail.com; dl-linux-imx ; linux- > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; ti...@kernel.org; > devicet...@vger.kernel.org; xiu

Re: [PATCH 1/6] dt-bindings: i2c: Add Mediatek MT7629 i2c binding

2019-01-03 Thread Rob Herring
On Fri, 21 Dec 2018 20:58:26 +0800, qii wang wrote: > Add MT7629 i2c binding to binding file. > > Signed-off-by: qii wang > --- > Documentation/devicetree/bindings/i2c/i2c-mtk.txt |1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Rob Herring

Re: [PATCH 5/6] dt-bindings: i2c: Add Mediatek MT8183 i2c binding

2019-01-03 Thread Rob Herring
On Fri, 21 Dec 2018 20:58:30 +0800, qii wang wrote: > Add MT8183 i2c binding to binding file. Compare to 2712 i2c > controller, MT8183 has different registers, offsets, clock, > and multi-user function. > > Signed-off-by: qii wang > --- > Documentation/devicetree/bindings/i2c/i2c-mtk.txt |6

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 11:10:00, Yang Shi wrote: > > > On 1/3/19 10:53 AM, Michal Hocko wrote: > > On Thu 03-01-19 10:40:54, Yang Shi wrote: > > > > > > On 1/3/19 10:13 AM, Michal Hocko wrote: [...] > > > > Is there any reason for your scripts to be strictly sequential here? In > > > > other words why

[PATCH] arm64: dts: hikey: Add DMA entries for Bluetooth UART

2019-01-03 Thread John Stultz
Add dma0 references for bluetooth uart to enable dma for bt transfers. Cc: Manivannan Sadhasivam Cc: Ryan Grachek Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-ker...@lists.infradead.org Cc: devicet...@vger.kernel.org Signed-off-by: John Stultz Change-Id: I85d36cc492a5f392cde214b

Re: use generic DMA mapping code in powerpc V4

2019-01-03 Thread Christian Zigotzky
Hi Christoph, Happy new year for you too. Unfortunately we have some problems with the latest DRM patches. They modified a lot and some graphics cards don’t work anymore. During the holidays we tried to figure out where the problems are but without any success. I will try to test your patches

Re: [PATCH 1/3] mm/vmalloc: fix size check for remap_vmalloc_range_partial()

2019-01-03 Thread Roman Penyaev
On 2019-01-03 16:13, Michal Hocko wrote: On Thu 03-01-19 15:59:52, Roman Penyaev wrote: area->size can include adjacent guard page but get_vm_area_size() returns actual size of the area. This fixes possible kernel crash when userspace tries to map area on 1 page bigger: size check passes but th

[v5 PATCH 2/2] mm: swap: add comment for swap_vma_readahead

2019-01-03 Thread Yang Shi
swap_vma_readahead()'s comment is missed, just add it. Cc: Huang Ying Cc: Tim Chen Cc: Minchan Kim Signed-off-by: Yang Shi --- v5: Fixed the comments per Ying Huang mm/swap_state.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/mm/swap_state.c b/mm/swap_

[v5 PATCH 1/2] mm: swap: check if swap backing device is congested or not

2019-01-03 Thread Yang Shi
Swap readahead would read in a few pages regardless if the underlying device is busy or not. It may incur long waiting time if the device is congested, and it may also exacerbate the congestion. Use inode_read_congested() to check if the underlying device is busy or not like what file page readah

Re: [PATCH] i2c: dev: prevent adapter retries being set as minus value

2019-01-03 Thread Wolfram Sang
Hi Yi Zeng, On Fri, Dec 21, 2018 at 05:32:06PM +0800, Yi Zeng wrote: > If set adapter->retries to minus value from user space via ioctl, > will make __i2c_transfer and __i2c_smbus_xfer jump the calling to > adapter->algo->master_xfer and adapter->algo->smbus_xfer that > registered by the underlyin

Re: [PATCH v2 1/7] sysfs/cpu: Add "Unknown" vulnerability state

2019-01-03 Thread Stefan Wahren
responding > >> correctly, we need to display an "Unknown" state. > >> i applied your patch series on linux-next-20190103. On my Raspberry Pi 3B+ (defconfig) i'm getting this from sysfs: l1tf:Not affected meltdown:Not affected spec_store_bypass:Unknown spectr

Re: [PATCH 1/2] dt-bindings: reset: Add document for Broadcom STB reset controller

2019-01-03 Thread Florian Fainelli
On 1/3/19 11:19 AM, Rob Herring wrote: > On Thu, Jan 03, 2019 at 10:53:25AM -0800, Florian Fainelli wrote: >> On 1/3/19 9:41 AM, Rob Herring wrote: >>> On Thu, Dec 20, 2018 at 05:34:08PM -0800, Florian Fainelli wrote: Add a binding document for the Broadcom STB reset controller, also known >>>

RE: [PATCH 1/2 v4] kdump: add the vmcoreinfo documentation

2019-01-03 Thread Kazuhito Hagio
Hi Lianbo, -Original Message- > +=== > +What is the VMCOREINFO? > +=== > + > +VMCOREINFO is a special ELF note section. It contains various > +information from the kernel like structure size, page size, symbol > +values, field offsets, etc. These dat

Re: [PATCH] ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode

2019-01-03 Thread b-ak
On Thu, Jan 03, 2019 at 12:45:54PM +, Mark Brown wrote: > On Wed, Jan 02, 2019 at 10:36:33PM +0530, b-ak wrote: > > During the bootup of the kernel, as soon as the DAPM framework kicks in > > it pushes the codec into standy mode. > > > > The existing TVL320AIC32x4 codec driver doesn't prepare

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Willem de Bruijn
On Thu, Jan 3, 2019 at 7:07 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:195303136f19 Merge tag 'kconfig-v4.21-2' of git://git.kern.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=12245d8f40 > kernel config:

Re: possible deadlock in __wake_up_common_lock

2019-01-03 Thread Qian Cai
On 1/3/19 11:37 AM, Mel Gorman wrote: > On Wed, Jan 02, 2019 at 07:29:43PM +0100, Dmitry Vyukov wrote: This wakeup_kswapd is new due to Mel's 1c30844d2dfe ("mm: reclaim small amounts of memory when an external fragmentation event occurs") so CC Mel. >>> >>> New year new bugs :( >> >>

Re: [PATCH 1/3] mm/vmalloc: fix size check for remap_vmalloc_range_partial()

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 20:27:26, Roman Penyaev wrote: > On 2019-01-03 16:13, Michal Hocko wrote: > > On Thu 03-01-19 15:59:52, Roman Penyaev wrote: > > > area->size can include adjacent guard page but get_vm_area_size() > > > returns actual size of the area. > > > > > > This fixes possible kernel crash w

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Willem de Bruijn
On Thu, Jan 3, 2019 at 1:39 PM Willem de Bruijn wrote: > > On Thu, Jan 3, 2019 at 7:07 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:195303136f19 Merge tag 'kconfig-v4.21-2' of git://git.kern.. > > git tree: upstream > > console outpu

RE: [PATCH V3] i2c: tegra: Fix Maximum transfer size

2019-01-03 Thread Sowjanya Komatineni
>> Tegra194 supports maximum 64K Bytes transfer per packet. >> Tegra186 and prior supports maximum 4K Bytes transfer per packet. >> >> This patch fixes this payload difference between Tegra194 and prior >> tegra chipsets using separate i2c_adapter_quirks. >> >> Signed-off-by: Sowjanya Komatine

[PATCH] drm/amd/display: Fix boolean expression in get_surf_rq_param

2019-01-03 Thread Gustavo A. R. Silva
Fix boolean expression by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: 6d04ee9dc101 ("drm/amd/display: Restructuring and cleaning up DML") Cc: sta...@vger.kernel.org Signed-off-by: Gustavo A. R. Silva --- drivers/gp

[PATCH] hv_netvsc: fix typos in code comments

2019-01-03 Thread Adrian Vladu
Fix all typos from hyperv netvsc code comments. Signed-off-by: Adrian Vladu Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: Sasha Levin Cc: "David S. Miller" Cc: "Alessandro Pilotti" --- drivers/net/hyperv/hyperv_net.h | 2 +- drivers/net/hyperv/netvsc.c | 2 +-

Excessive swapping under Linux 4.14.91 (no issues in 4.14.90).

2019-01-03 Thread Hussam Al-Tayeb
Hello. My system has 16GB of ram. Before kernel 4.14.91, it would use about 700KBytes to 1MB of the swap if the memory usage was 4 to 5GB in use out of 16GB (15.6 actually). After upgrading to 4.14.91, I am seeing 500 to 700MB of swap usage even under low memory pressure situations. For example

RE: [PATCH] hv_netvsc: fix typos in code comments

2019-01-03 Thread Haiyang Zhang
> -Original Message- > From: Adrian Vladu > Sent: Thursday, January 3, 2019 2:43 PM > To: linux-kernel@vger.kernel.org > Cc: Adrian Vladu ; KY Srinivasan > ; Haiyang Zhang ; Stephen > Hemminger ; Sasha Levin ; > David S. Miller ; apilotti > > Subject: [PATCH] hv_netvsc: fix typos in co

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Yang Shi
On 1/3/19 11:23 AM, Michal Hocko wrote: On Thu 03-01-19 11:10:00, Yang Shi wrote: On 1/3/19 10:53 AM, Michal Hocko wrote: On Thu 03-01-19 10:40:54, Yang Shi wrote: On 1/3/19 10:13 AM, Michal Hocko wrote: [...] Is there any reason for your scripts to be strictly sequential here? In other

Re: [PATCH] drm/amdgpu_vm: fix boolean expressions

2019-01-03 Thread Gustavo A. R. Silva
On 1/3/19 1:17 PM, Kuehling, Felix wrote: On 2019-01-03 12:34 p.m., Gustavo A. R. Silva wrote: Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: c8c5e569c5b0 ("drm/amdgpu: Consolidate visib

Re: [PATCH v3] mm/page_owner: fix for deferred struct page init

2019-01-03 Thread Qian Cai
On 1/3/19 2:07 PM, Michal Hocko wrote> So can we make the revert with an explanation that the patch was wrong? > If we want to make hacks to catch more objects to be tracked then it > would be great to have some numbers in hands. Well, those numbers are subject to change depends on future start_ke

Re: [PATCH v3 3/3] arm64: Early boot time stamps

2019-01-03 Thread Pavel Tatashin
> I still think this approach is flawed. You provide the kernel with a > potentially broken sched_clock that may jump back and forth until the > workaround kicks in. Nobody expects this. > > Instead, I'd suggest you allow for a something other than local_clock() > to be used for the time stamping u

Re: [PATCH 1/3] mm/vmalloc: fix size check for remap_vmalloc_range_partial()

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 15:59:52, Roman Penyaev wrote: > area->size can include adjacent guard page but get_vm_area_size() > returns actual size of the area. > > This fixes possible kernel crash when userspace tries to map area > on 1 page bigger: size check passes but the following vmalloc_to_page() > re

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Stefano Brivio
Hi Willem, On Thu, 3 Jan 2019 13:41:43 -0600 Willem de Bruijn wrote: > On Thu, Jan 3, 2019 at 1:39 PM Willem de Bruijn > wrote: > > > > On Thu, Jan 3, 2019 at 7:07 AM syzbot > > wrote: > > > > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:195303136f1

Re: [RFC PATCH 0/3] mm: memcontrol: delayed force empty

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 11:49:32, Yang Shi wrote: > > > On 1/3/19 11:23 AM, Michal Hocko wrote: > > On Thu 03-01-19 11:10:00, Yang Shi wrote: > > > > > > On 1/3/19 10:53 AM, Michal Hocko wrote: > > > > On Thu 03-01-19 10:40:54, Yang Shi wrote: > > > > > On 1/3/19 10:13 AM, Michal Hocko wrote: > > [...]

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Eric Dumazet
On 01/03/2019 05:07 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:    195303136f19 Merge tag 'kconfig-v4.21-2' of git://git.kern.. > git tree:   upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=12245d8f40 > kernel config:  https

[GIT PULL] hwspinlock updates for v4.21

2019-01-03 Thread Bjorn Andersson
The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) are available in the Git repository at: git://github.com/andersson/remoteproc tags/hwlock-v4.21 for you to fetch changes up to 4d5a91fd1f42a821d14b92b082b8e71be9911ba5:

Re: [RFC PATCH] ASoC: fsl: Add Audio Mixer CPU DAI driver

2019-01-03 Thread Nicolin Chen
Hi, On Thu, Jan 03, 2019 at 03:56:46PM +, Viorel Suman wrote: > > >  sound/soc/fsl/fsl_amix.c   | 554 > > > + > > >  sound/soc/fsl/fsl_amix.h   | 101 > > I aimn't against the naming here, but it seems to be AUDMIX in RM?

Re: [PATCH RESEND V5 2/3] misc/pvpanic : add pci interface for pvpanic

2019-01-03 Thread Andy Shevchenko
On Thu, Dec 20, 2018 at 6:57 AM Peng Hao wrote: > > Support pvpanic as a pci device in guest kernel. > After my vacation followed by holidays I hardly remember what I suggested. Looking to this code I would recommend to split it in a way how it's done for ChipIdea USB driver, for example. (driver

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Stefano Brivio
On Thu, 3 Jan 2019 12:01:29 -0800 Eric Dumazet wrote: > On 01/03/2019 05:07 AM, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:    195303136f19 Merge tag 'kconfig-v4.21-2' of git://git.kern.. > > git tree:   upstream > > console output: https://syz

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-03 Thread Paul Moore
On Thu, Nov 1, 2018 at 6:07 PM Richard Guy Briggs wrote: > On 2018-10-19 19:15, Paul Moore wrote: > > On Sun, Aug 5, 2018 at 4:32 AM Richard Guy Briggs wrote: > > > The audit-related parameters in struct task_struct should ideally be > > > collected together and accessed through a standard audit

Re: [PATCH ghak90 (was ghak32) V4 05/10] audit: add support for non-syscall auxiliary records

2019-01-03 Thread Paul Moore
On Thu, Nov 1, 2018 at 2:49 PM Richard Guy Briggs wrote: > On 2018-10-19 19:17, Paul Moore wrote: > > On Sun, Aug 5, 2018 at 4:33 AM Richard Guy Briggs wrote: > > > Standalone audit records have the timestamp and serial number generated > > > on the fly and as such are unique, making them standal

Re: [PATCH ghak90 (was ghak32) V4 06/10] audit: add containerid support for tty_audit

2019-01-03 Thread Paul Moore
On Wed, Oct 31, 2018 at 5:17 PM Richard Guy Briggs wrote: > On 2018-10-19 19:17, Paul Moore wrote: > > On Sun, Aug 5, 2018 at 4:33 AM Richard Guy Briggs wrote: > > > Add audit container identifier auxiliary record to tty logging rule > > > event standalone records. > > > > > > Signed-off-by: Rich

Re: [PATCH ghak90 (was ghak32) V4 00/10] audit: implement container identifier

2019-01-03 Thread Paul Moore
On Thu, Jan 3, 2019 at 12:36 PM Richard Guy Briggs wrote: > On 2019-01-03 08:15, Guenter Roeck wrote: > > Hi, > > > > On Tue, Jul 31, 2018 at 04:07:35PM -0400, Richard Guy Briggs wrote: > > > Implement kernel audit container identifier. > > > > I don't see a follow-up submission of this patch seri

[PATCH] ARM: mach-s3c24xx: Fix boolean expressions in osiris_dvs_notify

2019-01-03 Thread Gustavo A. R. Silva
Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: 4fa084af28ca ("ARM: OSIRIS: DVS (Dynamic Voltage Scaling) supoort.") Cc: sta...@vger.kernel.org Signed-off-by: Gustavo A. R. Silva --- arch/arm

Re: [PATCH v4 1/8] dt-bindings: soc: qcom: Add remote-pid binding for GLINK SMEM

2019-01-03 Thread Bjorn Andersson
On Fri 28 Dec 10:53 PST 2018, Sibi Sankar wrote: > Add missing qcom,remote-pid dt binding required for GLINK SMEM > which specifies the remote endpoint of the GLINK edge. > > Fixes: 2b41d6c8e696 ("dt-bindings: soc: qcom: Extend GLINK to cover > SMEM") > > Signed-off-by: Sibi Sankar > Reviewed-b

Re: [PATCH ghak90 (was ghak32) V4 00/10] audit: implement container identifier

2019-01-03 Thread Richard Guy Briggs
On 2019-01-03 10:58, Guenter Roeck wrote: > Hi Richard, > > On Thu, Jan 03, 2019 at 12:36:13PM -0500, Richard Guy Briggs wrote: > > On 2019-01-03 08:15, Guenter Roeck wrote: > > > Hi, > > > > > > On Tue, Jul 31, 2018 at 04:07:35PM -0400, Richard Guy Briggs wrote: > > > > Implement kernel audit co

Re: [PATCH v3] mm/page_owner: fix for deferred struct page init

2019-01-03 Thread Michal Hocko
On Thu 03-01-19 14:53:47, Qian Cai wrote: > On 1/3/19 2:07 PM, Michal Hocko wrote> So can we make the revert with an > explanation that the patch was wrong? > > If we want to make hacks to catch more objects to be tracked then it > > would be great to have some numbers in hands. > > Well, those nu

Re: [PATCH v1 2/2] binderfs: reserve devices for initial mount

2019-01-03 Thread Todd Kjos
On Sun, Dec 23, 2018 at 6:36 AM Christian Brauner wrote: > > The binderfs instance in the initial ipc namespace will always have a > reserve of 4 binder devices unless explicitly capped by specifying a lower > value via the "max" mount option. > This ensures when binder devices are removed (on acc

[PATCH v2] drm/amdgpu_vm: fix boolean expressions

2019-01-03 Thread Gustavo A. R. Silva
Fix boolean expressions by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: 9a4b7d4c769e ("drm/amdgpu: Add vm context module param") Cc: sta...@vger.kernel.org Reviewed-by: Felix Kuehling Signed-off-by: Gustavo A. R. Sil

Re: [PATCH v6 07/13] arm64: add basic pointer authentication support

2019-01-03 Thread Pavel Machek
On Fri 2018-12-07 18:39:25, Kristina Martsenko wrote: > From: Mark Rutland > > This patch adds basic support for pointer authentication, allowing > userspace to make use of APIAKey, APIBKey, APDAKey, APDBKey, and > APGAKey. The kernel maintains key values for each process (shared by all > threads

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-03 Thread Richard Guy Briggs
I'm not sure what's going on here, but it looks like HTML-encoded reply quoting making the quoted text very difficult to read. All the previous ">" have been converted to the HTML ">" encoding. Your most recent reply text looks mostly fine. On 2019-01-03 15:10, Paul Moore wrote: > On Thu, Nov 1,

Re: [RFC v2 0/6] x86: dynamic indirect branch promotion

2019-01-03 Thread Josh Poimboeuf
On Thu, Jan 03, 2019 at 06:30:08PM +, Nadav Amit wrote: > > On Jan 3, 2019, at 10:10 AM, Josh Poimboeuf wrote: > > > > On Mon, Dec 31, 2018 at 07:53:06PM +, Nadav Amit wrote: > >>> On Dec 31, 2018, at 11:51 AM, Andy Lutomirski wrote: > >>> > >>> On Sun, Dec 30, 2018 at 11:20 PM Nadav Am

Re: [PATCH 1/3] mm/vmalloc: fix size check for remap_vmalloc_range_partial()

2019-01-03 Thread Roman Penyaev
On 2019-01-03 20:40, Michal Hocko wrote: On Thu 03-01-19 20:27:26, Roman Penyaev wrote: On 2019-01-03 16:13, Michal Hocko wrote: > On Thu 03-01-19 15:59:52, Roman Penyaev wrote: > > area->size can include adjacent guard page but get_vm_area_size() > > returns actual size of the area. > > > > Thi

Re: [PATCH v2 1/7] sysfs/cpu: Add "Unknown" vulnerability state

2019-01-03 Thread Jeremy Linton
i applied your patch series on linux-next-20190103. On my Raspberry Pi 3B+ (defconfig) i'm getting this from sysfs: l1tf:Not affected meltdown:Not affected spec_store_bypass:Unknown spectre_v1:Mitigation: __user pointer sanitization spectre_v2:Unknown AFAIK it has 4 Cortex-A53 cores (n

Re: [PATCH 2/3] Documentation: DT: Add entry for DPAA2 console

2019-01-03 Thread Rob Herring
On Fri, Dec 21, 2018 at 03:31:11PM +, Ioana Ciornei wrote: > This patch adds a devicetree binding documentation for > FSL's DPAA2 console. > > Signed-off-by: Ioana Ciornei > --- > Documentation/devicetree/bindings/misc/dpaa2-console.txt | 11 +++ > MAINTAINERS

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-03 Thread Paul Moore
On Thu, Jan 3, 2019 at 3:29 PM Richard Guy Briggs wrote: > I'm not sure what's going on here, but it looks like HTML-encoded reply > quoting making the quoted text very difficult to read. All the previous > ">" have been converted to the HTML ">" encoding. Your most recent > reply text looks mos

Re: [PATCH v1 2/2] binderfs: reserve devices for initial mount

2019-01-03 Thread Christian Brauner
On Thu, Jan 03, 2019 at 12:25:24PM -0800, Todd Kjos wrote: > On Sun, Dec 23, 2018 at 6:36 AM Christian Brauner > wrote: > > > > The binderfs instance in the initial ipc namespace will always have a > > reserve of 4 binder devices unless explicitly capped by specifying a lower > > value via the "m

[PATCH] arm64: dts: qcom: qcs404: sdcc1: enable HS400

2019-01-03 Thread Jorge Ramirez-Ortiz
The controller can support EXT_CSD_CARD_TYPE_HS400_1_8V cards. Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index a39924e..2

Re: [PATCH ghak90 (was ghak32) V4 01/10] audit: collect audit task parameters

2019-01-03 Thread Richard Guy Briggs
On 2019-01-03 15:33, Paul Moore wrote: > On Thu, Jan 3, 2019 at 3:29 PM Richard Guy Briggs wrote: > > I'm not sure what's going on here, but it looks like HTML-encoded reply > > quoting making the quoted text very difficult to read. All the previous > > ">" have been converted to the HTML ">" enc

Re: [RFC AFBC 03/12] drm/afbc: Add AFBC modifier usage documentation

2019-01-03 Thread Ezequiel Garcia
Hi Liviu, On Mon, 2018-12-03 at 11:31 +, Ayan Halder wrote: > From: Brian Starkey > > AFBC is a flexible, proprietary, lossless compression protocol and > format, with a number of defined DRM format modifiers. To facilitate > consistency and compatibility between different AFBC producers and

[PATCH net 0/2] Fix two further potential unbounded recursions in GUE error handlers

2019-01-03 Thread Stefano Brivio
Patch 1/2 takes care of preventing the issue fixed by commit 11789039da53 ("fou: Prevent unbounded recursion in GUE error handler") also with UDP-Lite payloads -- I just realised this might happen from a syzbot report. Patch 2/2 fixes the issue for both UDP and UDP-Lite on IPv6, which I also forgo

[PATCH net 1/2] fou: Prevent unbounded recursion in GUE error handler also with UDP-Lite

2019-01-03 Thread Stefano Brivio
In commit 11789039da53 ("fou: Prevent unbounded recursion in GUE error handler"), I didn't take care of the case where UDP-Lite is encapsulated into UDP or UDP-Lite with GUE. From a syzbot report about a possibly similar issue with GUE on IPv6, I just realised the same thing might happen with a UDP

[PATCH net 2/2] fou6: Prevent unbounded recursion in GUE error handler

2019-01-03 Thread Stefano Brivio
I forgot to deal with IPv6 in commit 11789039da53 ("fou: Prevent unbounded recursion in GUE error handler"). Now syzbot reported what might be the same type of issue, caused by gue6_err(), that is, handling exceptions for direct UDP encapsulation in GUE (UDP-in-UDP) leads to unbounded recursion in

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-03 Thread Eric W. Biederman
Trond Myklebust writes: > On Thu, 2019-01-03 at 15:53 +1100, NeilBrown wrote: >> On Wed, Jan 02 2019, Linus Torvalds wrote: >> >> > On Wed, Jan 2, 2019 at 2:42 PM Schumaker, Anna >> > wrote: >> > > We also were unable to track down a maintainer for Neil Brown's >> > > changes to >> > > the gene

Re: [PATCH v2 2/9] i2c: reject new transfers when adapters are suspended

2019-01-03 Thread Hans de Goede
Hi, On 03-01-19 19:59, Wolfram Sang wrote: I share your desire to have the check for this shared in core code, but I'm afraid that just is not going to work. Okay, so this series is definately not it. Probably the previous one which exposes helpers is not a bad idea after all. Because it is

Re: [GIT PULL] Please pull NFS client updates for 4.21

2019-01-03 Thread Linus Torvalds
On Wed, Jan 2, 2019 at 10:10 PM Trond Myklebust wrote: > > The values being compared are in cred_fscmp() are all of type kuid_t or > kgid_t so that means they have already been mapped from the user > namespace into the kernel uid/gid space. Ok, "everything happens in init_ns" is I guess a very va

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2019-01-03 Thread Shakeel Butt
On Mon, Dec 31, 2018 at 2:12 AM Michal Hocko wrote: > > On Sun 30-12-18 19:59:53, Shakeel Butt wrote: > > On Sun, Dec 30, 2018 at 12:00 AM Michal Hocko wrote: > > > > > > On Sun 30-12-18 08:45:13, Michal Hocko wrote: > > > > On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > > > > > On Sat, Dec 29,

Re: [PATCH 1/6] PCI: iproc: Update iProc PCI binding for INTx support

2019-01-03 Thread Ray Jui
On 9/25/2018 3:55 AM, Arnd Bergmann wrote: > On Tue, Sep 25, 2018 at 12:49 PM Lorenzo Pieralisi > wrote: >> >> On Mon, Sep 24, 2018 at 10:53:13PM +0200, Arnd Bergmann wrote: >>> On Tue, Sep 18, 2018 at 3:42 PM Lorenzo Pieralisi >>> wrote: On Mon, Jun 04, 2018 at 09:17:49AM -0500, Rob

Re: [PATCH] scsi: associate bio write hint with WRITE CDB

2019-01-03 Thread Douglas Gilbert
On 2019-01-03 4:47 a.m., Randall Huang wrote: On Wed, Jan 02, 2019 at 11:51:33PM -0800, Christoph Hellwig wrote: On Wed, Dec 26, 2018 at 12:15:04PM +0800, Randall Huang wrote: In SPC-3, WRITE(10)/(16) support grouping function. Let's associate bio write hint with group number for enabling Strea

Re: Excessive swapping under Linux 4.14.91 (no issues in 4.14.90).

2019-01-03 Thread Vito Caputo
On Thu, Jan 03, 2019 at 09:33:09PM +0100, Hussam Al-Tayeb wrote: > > Sent: Thursday, January 03, 2019 at 10:12 PM > > From: "Vito Caputo" > > To: "Hussam Al-Tayeb" > > Subject: Re: Excessive swapping under Linux 4.14.91 (no issues in 4.14.90). > > > > > > The diff between 4.14.90 and 4.14.91 is

Re: [PATCH 2/2] arm/plat-pxa/ssp : unneeded to free devm_ allocated data

2019-01-03 Thread Robert Jarzmik
Peng Hao writes: > devm_ allocated data will be automatically freed. The free > of devm_ allocated data is invalid. > > Signed-off-by: Peng Hao Hi Peng Hao, Thanks for the patch. I changed your title to fit my tree, ie. : "ARM: pxa: ssp: unneeded to free devm_ allocated data" If you have othe

Re: [PATCH] drm/amd/display: Fix boolean expression in get_surf_rq_param

2019-01-03 Thread Wentland, Harry
On 2019-01-03 2:48 p.m., Gustavo A. R. Silva wrote: > Fix boolean expression by using logical AND operator '&&' > instead of bitwise operator '&'. > > This issue was detected with the help of Coccinelle. > > Fixes: 6d04ee9dc101 ("drm/amd/display: Restructuring and cleaning up DML") > Cc: sta...@v

Re: [RFC PATCH 1/1] PM / Domains: Add multi PM domains support for attach_dev

2019-01-03 Thread Ulf Hansson
On Wed, 2 Jan 2019 at 17:29, Aisheng Dong wrote: > > > -Original Message- > > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > > Sent: Wednesday, January 2, 2019 6:49 PM > > > > On Sat, 29 Dec 2018 at 07:43, Aisheng Dong wrote: > > > > > > > From: Ulf Hansson [mailto:ulf.hans...@linaro

Re: [PATCH v1 1/2] dt-binding: iio: add NPCM ADC documentation

2019-01-03 Thread Rob Herring
On Mon, Dec 24, 2018 at 06:47:54PM +0200, Tomer Maimon wrote: > Added device tree binding documentation for Nuvoton BMC > NPCM Analog-to-Digital Converter(ADC). > > Signed-off-by: Tomer Maimon > --- > .../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 > ++ > 1 file cha

Re: kernel panic: stack is corrupted in udp4_lib_lookup2

2019-01-03 Thread Willem de Bruijn
On Thu, Jan 3, 2019 at 2:07 PM Stefano Brivio wrote: > > On Thu, 3 Jan 2019 12:01:29 -0800 > Eric Dumazet wrote: > > > On 01/03/2019 05:07 AM, syzbot wrote: > > > Hello, > > > > > > syzbot found the following crash on: > > > > > > HEAD commit:195303136f19 Merge tag 'kconfig-v4.21-2' of > > >

Re: [PATCH] drm/amd/display: Fix boolean expression in get_surf_rq_param

2019-01-03 Thread Gustavo A. R. Silva
On 1/3/19 3:11 PM, Wentland, Harry wrote: On 2019-01-03 2:48 p.m., Gustavo A. R. Silva wrote: Fix boolean expression by using logical AND operator '&&' instead of bitwise operator '&'. This issue was detected with the help of Coccinelle. Fixes: 6d04ee9dc101 ("drm/amd/display: Restructuring

Re: [PATCH RFC 3/5] dt-bindings: Add PDC timer bindings for Qualcomm SoCs

2019-01-03 Thread Stephen Boyd
Quoting Raju P L S S S N (2019-01-03 04:22:58) > > On 12/29/2018 3:08 AM, Stephen Boyd wrote: > > Quoting Raju P L S S S N (2018-12-26 01:44:43) > >> > >> There are two RSC devices in SoC one for application processor subsystem > >> & other display subsystem. Both RSC contain registers for PDC tim

Re: [RFC,1/5] dt-bindings: Add a binding for Mediatek SCP

2019-01-03 Thread Rob Herring
On Wed, Dec 26, 2018 at 03:53:09PM +0800, Pi-Hsun Shih wrote: > From: Erin Lo > > Add a DT binding documentation of SCP for the > MT8183 SoC from Mediatek. > > Signed-off-by: Erin Lo > --- > .../devicetree/bindings/remoteproc/mtk,scp.txt | 10 ++ > 1 file changed, 10 insertions

<    1   2   3   4   5   6   7   >