Re: [PATCH v5 0/7] mm: reparent slab memory on cgroup removal

2019-05-28 Thread Michal Hocko
On Wed 22-05-19 22:23:01, Roman Gushchin wrote: > On Wed, May 22, 2019 at 02:59:06PM -0700, Andrew Morton wrote: > > On Wed, 22 May 2019 21:43:54 + Roman Gushchin wrote: > > > > > Is this patchset good to go? Or do you have any remaining concerns? > > > > > > It has been carefully reviewed b

[PATCH net-next] net: stmmac: use dev_info() before netdev is registered

2019-05-28 Thread Jisheng Zhang
Before the netdev is registered, calling netdev_info() will emit something as "(unnamed net device) (uninitialized)", looks confusing. Before this patch: [3.155028] stmmaceth f7b6.ethernet (unnamed net_device) (uninitialized): device MAC address 52:1a:55:18:9e:9d After this patch: [3

Re: [PATCH] mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main()

2019-05-28 Thread Gen Zhang
On Tue, May 28, 2019 at 11:44:35AM +0530, Suganath Prabu Subramani wrote: > Please consider this patch as Ack-by: Suganath Prabu S > > > Thanks, > Suganath. > > > On Mon, May 27, 2019 at 6:27 AM Gen Zhang wrote: > > > > In _ctl_ioctl_main(), 'ioctl_header' is fetched the first time from > > us

Re: [PATCH v3 2/2] arm64: dts: imx8mm-evk: Enable audio codec wm8524

2019-05-28 Thread Daniel Baluta
On Mon, May 20, 2019 at 10:33 PM Fabio Estevam wrote: > > On Thu, May 16, 2019 at 3:35 PM Fabio Estevam wrote: > > > > On Wed, May 15, 2019 at 11:42 AM Daniel Baluta > > wrote: > > > > > + simple-audio-card,codec { > > > + sound-dai = <&wm8524>; > > > +

Re: [PATCH] kernel/sys.c: fix possible spectre-v1 in do_prlimit()

2019-05-28 Thread Cyrill Gorcunov
On Tue, May 28, 2019 at 10:37:10AM +0800, Dianzhang Chen wrote: > Hi, > Because when i reply your email,i always get 'Message rejected' from > gmail(get this rejection from all the recipients). I still don't know > how to deal with it, so i reply your email here: Hi! This is weird. Next time simpl

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Guillaume Tucker
Hi Linus, On 28/05/2019 00:38, kernelci.org bot wrote: > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > * This automated bisection report was sent to you on the basis * > * that you may be involved with the breaking commit it has * > * found. No manual investigation has

Re: [Question: devm_kfree] When should devm_kfree() be used?

2019-05-28 Thread Gen Zhang
On Tue, May 28, 2019 at 08:49:49AM +0200, Greg KH wrote: > On Tue, May 28, 2019 at 08:32:57AM +0800, Gen Zhang wrote: > > devm_kmalloc() is used to allocate memory for a driver dev. Comments > > above the definition and doc > > (https://www.kernel.org/doc/Documentation/driver-model/devres.txt) all

Re: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-05-28 Thread Pali Rohár
On Tuesday 28 May 2019 01:37:14 Xiaoxiao Liu wrote: > Add Saito-san. > > Hi Hui, > Does it mean that your device (reported to kernel) sends only trackstick > packets and not touchpad? > -> Yes. Ok, I think this answers all questions. So your patch is not correct as it registers "fake" tou

Re: [PATCH 1/3][V3] lib: fix __sysfs_match_string() helper when n != -1

2019-05-28 Thread Ardelean, Alexandru
On Wed, 2019-05-08 at 14:19 +0300, Alexandru Ardelean wrote: > The documentation the `__sysfs_match_string()` helper mentions that `n` > (the size of the given array) should be: > * @n: number of strings in the array or -1 for NULL terminated arrays > > The behavior of the function is different,

Re: [PATCH v3] mm, memcg: introduce memory.events.local

2019-05-28 Thread Michal Hocko
On Mon 27-05-19 10:46:43, Shakeel Butt wrote: > The memory controller in cgroup v2 exposes memory.events file for each > memcg which shows the number of times events like low, high, max, oom > and oom_kill have happened for the whole tree rooted at that memcg. > Users can also poll or register noti

Re: [RFC 5/7] mm: introduce external memory hinting API

2019-05-28 Thread Michal Hocko
On Tue 28-05-19 08:33:06, Minchan Kim wrote: > On Mon, May 27, 2019 at 05:12:02PM +0200, Oleg Nesterov wrote: > > On 05/27, Minchan Kim wrote: > > > > > > > another problem is that pid_task(pid) can return a zombie leader, in > > > > this case > > > > mm_access() will fail while it shouldn't. > >

Re: [PATCH RESEND v2] KVM: X86: Implement PV sched yield hypercall

2019-05-28 Thread kbuild test robot
-ci/linux/commits/Wanpeng-Li/KVM-X86-Implement-PV-sched-yield-hypercall/20190528-132021 base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty make ARCH=x86_64 allmodconfig

Re: [PATCH] mmc: meson-gx: fix irq ack

2019-05-28 Thread Brad Harper
On 24/05/2019 12:59 am, Jerome Brunet wrote: While cleaning the ISR of the meson-gx and acking only raised irqs, the ack of the irq was moved at the very last stage of the function. This was stable during the initial tests but it triggered issues with hs200, under specific loads (like booting an

Re: [PATCH v3 1/2] dt-bindings: clock: renesas,r9a06g032-sysctrl: Document power Domains

2019-05-28 Thread Geert Uytterhoeven
Hi Gareth, On Fri, May 24, 2019 at 5:32 PM Gareth Williams wrote: > The driver is gaining power domain support, so add the new property > to the DT binding and update the examples. > > Signed-off-by: Gareth Williams Thanks for your patch! > --- a/Documentation/devicetree/bindings/clock/renesas

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

2019-05-28 Thread Konstantin Khlebnikov
On 28.05.2019 9:51, Michal Hocko wrote: On Tue 28-05-19 09:25:13, Konstantin Khlebnikov wrote: On 27.05.2019 17:39, Michal Hocko wrote: On Mon 27-05-19 16:21:56, Michal Hocko wrote: On Mon 27-05-19 16:12:23, Michal Hocko wrote: [Cc linux-api. Please always cc this list when proposing a new us

Re: [PATCH v3 2/2] clk: renesas: r9a06g032: Add clock domain support

2019-05-28 Thread Geert Uytterhoeven
Hi Gareth, On Fri, May 24, 2019 at 5:32 PM Gareth Williams wrote: > There are several clocks on the r9ag032 which are currently not enabled > in their drivers that can be delegated to clock domain system for power > management. Therefore add support for clock domain functionality to the > r9a06g0

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

2019-05-28 Thread Michal Hocko
On Tue 28-05-19 10:30:12, Konstantin Khlebnikov wrote: > On 28.05.2019 9:51, Michal Hocko wrote: > > On Tue 28-05-19 09:25:13, Konstantin Khlebnikov wrote: > > > On 27.05.2019 17:39, Michal Hocko wrote: > > > > On Mon 27-05-19 16:21:56, Michal Hocko wrote: > > > > > On Mon 27-05-19 16:12:23, Michal

Re: KASAN: invalid-free in tomoyo_realpath_from_path

2019-05-28 Thread Tetsuo Handa
Well, I don't think this is a TOMOYO's problem. On 2019/05/28 14:48, syzbot wrote: > CPU: 1 PID: 11697 Comm: syz-executor.3 Not tainted 5.2.0-rc1+ #2 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > Call Trace: (...snipped...) > kfree+0xcf/0x220 mm/

Re: [RFC PATCH 1/2] mmc: sdhci: Manually check card status after reset

2019-05-28 Thread Ulf Hansson
On Wed, 1 May 2019 at 19:55, Raul E Rangel wrote: > > There is a race condition between resetting the SDHCI controller and > disconnecting the card. > > For example: > 0) Card is connected and transferring data > 1) mmc_sd_reset is called to reset the controller due to a data error I assume you r

Re: [PATCH v3 1/3] PCI: Introduce pcibios_ignore_alignment_request

2019-05-28 Thread Shawn Anastasio
On 5/28/19 1:27 AM, Alexey Kardashevskiy wrote: On 28/05/2019 15:36, Oliver wrote: On Tue, May 28, 2019 at 2:03 PM Shawn Anastasio wrote: Introduce a new pcibios function pcibios_ignore_alignment_request which allows the PCI core to defer to platform-specific code to determine whether or

Re: [RFC PATCH 2/2] mmc: sdhci: Quirk for AMD SDHC Device 0x7906

2019-05-28 Thread Ulf Hansson
On Wed, 1 May 2019 at 19:55, Raul E Rangel wrote: > > AMD SDHC 0x7906 requires a hard reset to clear all internal state. > Otherwise it can get into a bad state where the DATA lines are always > read as zeros. > > This change requires firmware that can transition the device into > D3Cold for it to

Re: [PATCH net] xfrm: Fix xfrm sel prefix length validation

2019-05-28 Thread Steffen Klassert
On Wed, May 22, 2019 at 11:17:00AM +0800, Herbert Xu wrote: > On Tue, May 21, 2019 at 08:59:47PM +0530, Anirudh Gupta wrote: > > Family of src/dst can be different from family of selector src/dst. > > Use xfrm selector family to validate address prefix length, > > while verifying new sa from usersp

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Geert Uytterhoeven
Hi Guillaume, On Tue, May 28, 2019 at 9:13 AM Guillaume Tucker wrote: > On 28/05/2019 00:38, kernelci.org bot wrote: > > * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * > > * This automated bisection report was sent to you on the basis * > > * that you may be involved with the

Re: [PATCH v2] mmc: dw_mmc: Disable SDIO interrupts while suspended to fix suspend/resume【请注意,邮件由linux-rockchip-bounces+shawn.lin=rock-chips....@lists.infradead.org代发】

2019-05-28 Thread Shawn Lin
On 2019/4/30 4:40, Douglas Anderson wrote: Processing SDIO interrupts while dw_mmc is suspended (or partly suspended) seems like a bad idea. We really don't want to be processing them until we've gotten ourselves fully powered up. You might be wondering how it's even possible to become suspen

[PATCH RESEND v2 2/3] KVM: X86: Implement PV sched yield hypercall

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li The target vCPUs are in runnable state after vcpu_kick and suitable as a yield target. This patch implements the sched yield hypercall. 17% performance increase of ebizzy benchmark can be observed in an over-subscribe environment. (w/ kvm-pv-tlb disabled, testing TLB flush ca

RE: [EXT] [PATCH] scsi: ufs: Check that space was properly alloced in copy_query_response

2019-05-28 Thread Bean Huo (beanhuo)
Hi, Avri > >Signed-off-by: Avri Altman Acked-by: Bean Huo Thanks, //Bean

Dolgozói juttatások

2019-05-28 Thread Kapolcs Mátyás
Üdvözlöm! 2019 januártól változik a nem bér jellegű juttatások rendje. Egy kiváló lehetőséggel élehet, amennyiben a mi kártyánkat választja! Ez a kártya: Korlátlanul felhasználható: készpénzfelvétel élelmiszer vásárlás egészségügyi ellátás elektronikai termékek vásárlása oktatás szállás

[PATCH RESEND v2 3/3] KVM: X86: Expose PV_SCHED_YIELD CPUID feature bit to guest

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li Expose PV_SCHED_YIELD feature bit to guest, the guest can check this feature bit before using paravirtualized sched yield. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- Documentation/virtual/kvm/cpuid.txt | 4 arch/x86/kvm/cpuid.c| 3 +

[PATCH RESEND v2 1/3] KVM: X86: Implement PV sched yield in linux guest

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li When sending a call-function IPI-many to vCPUs, yield if any of the IPI target vCPUs was preempted, we just select the first preempted target vCPU which we found since the state of target vCPUs can change underneath and to avoid race conditions. Cc: Paolo Bonzini Cc: Radim Krčm

[PATCH RESEND v2 0/3] KVM: Yield to IPI target if necessary

2019-05-28 Thread Wanpeng Li
The idea is from Xen, when sending a call-function IPI-many to vCPUs, yield if any of the IPI target vCPUs was preempted. 17% performance increase of ebizzy benchmark can be observed in an over-subscribe environment. (w/ kvm-pv-tlb disabled, testing TLB flush call-function IPI-many since call-f

Re: [PATCH v7 1/3] media: cec: expose HDMI connector to CEC dev mapping

2019-05-28 Thread Dariusz Marcinkiewicz
On Fri, May 24, 2019 at 11:21 AM Hans Verkuil wrote: > > Hi Dariusz, > > I did some more testing with the Khadas VIM2 and found another problem, > something that will, unfortunately, require some redesign. > ... > > The other problem is in the CEC driver: it creates the CEC device as > soon as the

[PATCH -next v3 2/2] staging: kpc2000: replace white spaces with tabs for kpc2000_spi.c

2019-05-28 Thread Mao Wenan
There are multiple wrong formats in kpc2000_spi.c, is time to do clean work for it. Signed-off-by: Mao Wenan --- drivers/staging/kpc2000/kpc2000_spi.c | 722 +- 1 file changed, 361 insertions(+), 361 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/driv

[PATCH -next v3 0/2] cleanup for kpc2000_spi.c

2019-05-28 Thread Mao Wenan
The error status should resotre to m->status in kp_spi_transfer_one_message(), and many white spaces in kpc2000_spi.c. patch 1 is to fix the error path, and patch 2 is to cleanup kpc2000_spi.c. v1: remove set but not used variable 'status'. v2: fix the subject tile. v3: add another patch to fix

[PATCH -next v3 1/2] staging: kpc2000: report error status to spi core

2019-05-28 Thread Mao Wenan
There is an error condition that's not reported to the spi core in kp_spi_transfer_one_message(). It should restore status value to m->status, and return it in error path. Signed-off-by: Mao Wenan --- drivers/staging/kpc2000/kpc2000_spi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletion

答复: 答复: [PATCH] input: alps-fix the issue alps cs19 trackstick do not work.

2019-05-28 Thread Xiaoxiao Liu
Add Kawase-san. -邮件原件- 发件人: Pali Rohár 发送时间: Tuesday, May 28, 2019 3:18 PM 收件人: 劉 曉曉 Xiaoxiao Liu 抄送: XiaoXiao Liu ; dmitry.torok...@gmail.com; peter.hutte...@who-t.net; hui.w...@canonical.com; linux-in...@vger.kernel.org; linux-kernel@vger.kernel.org; 曹 曉建 Xiaojian Cao ; zhang...@le

[v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-28 Thread Chunfeng Yun
When CONFIG_USB is not set, and CONFIG_USB_GADGET is set, there is an issue, e.g.: drivers/usb/mtu3/mtu3_debugfs.o: in function 'ssusb_debugfs_create_root': mtu3_debugfs.c:(.text+0xba3): undefined reference to 'usb_debug_root' usb_debug_root is currently only built when host is supported (CONFIG_

[PATCH RESEND v2 1/3] KVM: X86: Implement PV sched yield in linux guest

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li When sending a call-function IPI-many to vCPUs, yield if any of the IPI target vCPUs was preempted, we just select the first preempted target vCPU which we found since the state of target vCPUs can change underneath and to avoid race conditions. Cc: Paolo Bonzini Cc: Radim Krčm

[PATCH RESEND v2 2/3] KVM: X86: Implement PV sched yield hypercall

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li The target vCPUs are in runnable state after vcpu_kick and suitable as a yield target. This patch implements the sched yield hypercall. 17% performance increase of ebizzy benchmark can be observed in an over-subscribe environment. (w/ kvm-pv-tlb disabled, testing TLB flush ca

[PATCH RESEND v2 0/3] KVM: Yield to IPI target if necessary

2019-05-28 Thread Wanpeng Li
The idea is from Xen, when sending a call-function IPI-many to vCPUs, yield if any of the IPI target vCPUs was preempted. 17% performance increase of ebizzy benchmark can be observed in an over-subscribe environment. (w/ kvm-pv-tlb disabled, testing TLB flush call-function IPI-many since call-f

[PATCH RESEND v2 3/3] KVM: X86: Expose PV_SCHED_YIELD CPUID feature bit to guest

2019-05-28 Thread Wanpeng Li
From: Wanpeng Li Expose PV_SCHED_YIELD feature bit to guest, the guest can check this feature bit before using paravirtualized sched yield. Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li --- Documentation/virtual/kvm/cpuid.txt | 4 arch/x86/kvm/cpuid.c| 3 +

[PATCH] x86/vdso: implement clock_gettime(CLOCK_MONOTONIC_RAW, ...)

2019-05-28 Thread Sverdlin, Alexander (Nokia - DE/Ulm)
From: Alexander Sverdlin Add CLOCK_MONOTONIC_RAW to the existing clock_gettime() vDSO implementation. This is based on the ideas of Jason Vas Dias and comments of Thomas Gleixner. Test code #include #include #include #include #include #define CLOCK_TYPE CLOCK_MONOTONIC_RAW

Re: [PATCH v5 0/2] Fix issues with vmalloc flush flag

2019-05-28 Thread Peter Zijlstra
On Mon, May 27, 2019 at 02:10:56PM -0700, Rick Edgecombe wrote: > These two patches address issues with the recently added > VM_FLUSH_RESET_PERMS vmalloc flag. > > Patch 1 addresses an issue that could cause a crash after other > architectures besides x86 rely on this path. > > Patch 2 addresses

Re: [PATCHv2 00/13] ti-sysc driver changes to drop custom hwmods property

2019-05-28 Thread Keerthy
On 28/05/19 11:54 AM, Tony Lindgren wrote: Hi all, Here are changes to improve ti-sysc driver to the point where we can finally drop the custom hwmods property for most cases. This series drops hwmods property only for omap4 UART and MMC as those can be tested with core retention idle. I'll

Re: [RFC] printk/sysrq: Don't play with console_loglevel

2019-05-28 Thread Tetsuo Handa
On 2019/05/28 13:22, Sergey Senozhatsky wrote: > On (05/28/19 12:21), Tetsuo Handa wrote: > [..] >> What I suggested in my proposal ("printk: Introduce "store now but print >> later" prefix." at >> https://lore.kernel.org/lkml/1550896930-12324-1-git-send-email-penguin-ker...@i-love.sakura.ne.jp/T/

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

2019-05-28 Thread Konstantin Khlebnikov
On 28.05.2019 10:38, Michal Hocko wrote: On Tue 28-05-19 10:30:12, Konstantin Khlebnikov wrote: On 28.05.2019 9:51, Michal Hocko wrote: On Tue 28-05-19 09:25:13, Konstantin Khlebnikov wrote: On 27.05.2019 17:39, Michal Hocko wrote: On Mon 27-05-19 16:21:56, Michal Hocko wrote: On Mon 27-0

Re: [PATCH] usb: typec: ucsi: ccg: fix memory leak in do_flash

2019-05-28 Thread Heikki Krogerus
On Mon, May 27, 2019 at 01:10:50PM -0500, Gustavo A. R. Silva wrote: > In case memory resources for *fw* were successfully allocated, > release them before return. > > Addresses-Coverity-ID: 1445499 ("Resource leak") > Fixes: 5c9ae5a87573 ("usb: typec: ucsi: ccg: add firmware flashing support") >

Re: [PATCH] usb: typec: ucsi: ccg: fix memory leak in do_flash

2019-05-28 Thread Heikki Krogerus
On Tue, May 28, 2019 at 11:04:52AM +0300, Heikki Krogerus wrote: > On Mon, May 27, 2019 at 01:10:50PM -0500, Gustavo A. R. Silva wrote: > > In case memory resources for *fw* were successfully allocated, > > release them before return. > > > > Addresses-Coverity-ID: 1445499 ("Resource leak") > > Fi

Re: [PATCH v7 1/3] media: cec: expose HDMI connector to CEC dev mapping

2019-05-28 Thread Hans Verkuil
On 5/28/19 9:53 AM, Dariusz Marcinkiewicz wrote: > On Fri, May 24, 2019 at 11:21 AM Hans Verkuil wrote: >> >> Hi Dariusz, >> >> I did some more testing with the Khadas VIM2 and found another problem, >> something that will, unfortunately, require some redesign. >> > ... >> >> The other problem is

Re: [PATCH 25/44] tools headers UAPI: Sync drm/drm.h with the kernel

2019-05-28 Thread Lionel Landwerlin
On 27/05/2019 23:37, Arnaldo Carvalho de Melo wrote: From: Arnaldo Carvalho de Melo To pick up the changes in these csets: 060cebb20cdb ("drm: introduce a capability flag for syncobj timeline support") 50d1ebef79ef ("drm/syncobj: add timeline signal ioctl for syncobj v5") ea569910cba

[PATCH v2 0/3] clk: meson: add support for Amlogic G12B

2019-05-28 Thread Neil Armstrong
The Amlogic G12B SoC is very similar with the G12A SoC, sharing most of the features and architecture. G12B clock tree is very close, the main differences are : - SYS_PLL is used for the second cluster (otherwise used fir the first on G12a) - SYS_PLL1 is used for the first cluster (instead of SYS_P

[PATCH v2 3/3] clk: meson: g12a: mark fclk_div3 as critical

2019-05-28 Thread Neil Armstrong
On Amlogic Meson G12b platform, the fclk_div3 seems to be necessary for the system to operate correctly. Disabling it cause the entire system to freeze, including peripherals. Let's mark this clock as critical, fixing boot on G12b platforms. Signed-off-by: Neil Armstrong --- drivers/clk/meson/

[PATCH v2 2/3] clk: meson: g12a: Add support for G12B CPUB clocks

2019-05-28 Thread Neil Armstrong
Update the Meson G12A Clock driver to support the Amlogic G12B SoC. G12B clock driver is very close, the main differences are : - the clock tree is duplicated for the both clusters, and the SYS_PLL are swapped between the clusters - G12B has additional clocks like for CSI an other components He

[PATCH v2 1/3] dt-bindings: clk: meson: add g12b periph clock controller bindings

2019-05-28 Thread Neil Armstrong
Update the documentation to support clock driver for the Amlogic G12B SoC. G12B clock driver is very close, the main differences are : - the clock tree is duplicated for the both clusters, and the SYS_PLL are swapped between the clusters - G12B has additional clocks like for CSI an other compone

Re: [PATCH v4 00/30] coresight: Support for ACPI bindings

2019-05-28 Thread Leo Yan
Hi Suzuki, Mathieu, On Tue, May 28, 2019 at 01:19:24PM +0800, Leo Yan wrote: [...] > After I applied this patch set, I found all device names under > '/sys/bus/event_source/devices/cs_etm/sinks/' have been changed as > below on my DB410c board: > # ls /sys/bus/event_source/devices/cs_etm/sinks/

Re: [PATCH 2/4] arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP

2019-05-28 Thread Anshuman Khandual
On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: > Wire up the special helper functions to manipulate aliases of vmalloc > regions in the linear map. IMHO the commit message here could be bit more descriptive because of the amount of changes this patch brings in. > > Signed-off-by: Ard Biesheuve

Re: [PATCH 08/14] pwm: meson: add the per-channel register offsets and bits in a struct

2019-05-28 Thread Neil Armstrong
On 27/05/2019 19:57, Martin Blumenstingl wrote: > Hi Neil, > > On Mon, May 27, 2019 at 2:28 PM Neil Armstrong > wrote: > [...] >> This looks a little over-engineered, but it's correct : > my main motivation was to "not copy the 20 line switch/case statement > from meson_pwm_enable() to meson_pwm

Re: [v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-28 Thread Felipe Balbi
Hi, Chunfeng Yun writes: > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > index 7fcb9f782931..88b3ee03a12d 100644 > --- a/drivers/usb/core/usb.c > +++ b/drivers/usb/core/usb.c > @@ -1190,7 +1190,7 @@ EXPORT_SYMBOL_GPL(usb_debug_root); > > static void usb_debugfs_init(void) >

Re: [RFC 7/7] mm: madvise support MADV_ANONYMOUS_FILTER and MADV_FILE_FILTER

2019-05-28 Thread Minchan Kim
On Tue, May 28, 2019 at 08:29:47AM +0200, Michal Hocko wrote: > On Tue 28-05-19 12:26:32, Minchan Kim wrote: > > On Mon, May 27, 2019 at 02:44:11PM +0200, Michal Hocko wrote: > > > On Mon 27-05-19 16:58:11, Minchan Kim wrote: > > > > On Tue, May 21, 2019 at 08:26:28AM +0200, Michal Hocko wrote: > >

Re: [PATCH 3/4] arm64/kprobes: set VM_FLUSH_RESET_PERMS on kprobe instruction pages

2019-05-28 Thread Anshuman Khandual
On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: > In order to avoid transient inconsistencies where freed code pages > are remapped writable while stale TLB entries still exist on other > cores, mark the kprobes text pages with the VM_FLUSH_RESET_PERMS > attribute. This instructs the core vmalloc

Re: [PATCH 2/4] arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP

2019-05-28 Thread Ard Biesheuvel
On 5/28/19 10:10 AM, Anshuman Khandual wrote: On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: Wire up the special helper functions to manipulate aliases of vmalloc regions in the linear map. IMHO the commit message here could be bit more descriptive because of the amount of changes this patch

Re: [PATCH v1 08/15] crypto: talitos - Do not modify req->cryptlen on decryption.

2019-05-28 Thread Horia Geanta
On 5/21/2019 4:34 PM, Christophe Leroy wrote: > For decrypt, req->cryptlen includes the size of the authentication > part while all functions of the driver expect cryptlen to be > the size of the encrypted data. > > As it is not expected to change req->cryptlen, this patch > implements local calcu

Re: [PATCH] scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE

2019-05-28 Thread Konstantin Khlebnikov
On 27.05.2019 11:34, Manuel Traut wrote: At least for ARM64 kernels compiled with the crosstoolchain from Debian/stretch or with the toolchain from kernel.org the line number is not decoded correctly by 'decode_stacktrace.sh': $ echo "[ 136.513051] f1+0x0/0xc [kcrash]" | \ CROSS_COMPILE=

Re: [PATCH 3/4] arm64/kprobes: set VM_FLUSH_RESET_PERMS on kprobe instruction pages

2019-05-28 Thread Ard Biesheuvel
On 5/28/19 10:20 AM, Anshuman Khandual wrote: On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: In order to avoid transient inconsistencies where freed code pages are remapped writable while stale TLB entries still exist on other cores, mark the kprobes text pages with the VM_FLUSH_RESET_PERMS att

Re: [PATCH v4] locking/lock_events: Use this_cpu_add() when necessary

2019-05-28 Thread Peter Zijlstra
On Mon, May 27, 2019 at 12:33:56PM -0700, Linus Torvalds wrote: > On Mon, May 27, 2019 at 1:23 AM Peter Zijlstra wrote: > > > > That's disguisting... I see Linus already applied it, but yuck. That's > > what we have raw_cpu_*() for. > > Ahh, I tried to look for that, but there was enough indirect

Re: [v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-28 Thread Chunfeng Yun
add Felipe, sorry On Tue, 2019-05-28 at 15:54 +0800, Chunfeng Yun wrote: > When CONFIG_USB is not set, and CONFIG_USB_GADGET is set, > there is an issue, e.g.: > > drivers/usb/mtu3/mtu3_debugfs.o: in function 'ssusb_debugfs_create_root': > mtu3_debugfs.c:(.text+0xba3): undefined reference to 'usb

Re: [PATCH V5] ARM: mach-shmobile: Don't init CNTVOFF/counter if PSCI is available

2019-05-28 Thread Geert Uytterhoeven
Hi Oleksandr, On Fri, May 17, 2019 at 11:58 AM Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > If PSCI is available then most likely we are running on PSCI-enabled > U-Boot which, we assume, has already taken care of resetting CNTVOFF > and updating counter module before switching t

[PATCH] ARM: Add workaround for I-Cache line size mismatch between CPU cores

2019-05-28 Thread Marek Szyprowski
Some big.LITTLE systems have I-Cache line size mismatch between LITTLE and big cores. This patch adds a workaround for proper I-Cache support on such systems. Without it, some class of the userspace code (typically self-modifying) might suffer from random SIGILL failures. Similar workaround alread

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Linus Walleij
On Tue, May 28, 2019 at 9:13 AM Guillaume Tucker wrote: > This commit has now been reverted in mainline. Would it be OK > for you to rebase your for-next branch on v5.2-rc2 or cherry-pick > the revert to avoid recurring bisections? Sure I can do that, it's a one-off so why not. I rebased my dev

Re: [RFC 7/7] mm: madvise support MADV_ANONYMOUS_FILTER and MADV_FILE_FILTER

2019-05-28 Thread Daniel Colascione
On Tue, May 28, 2019 at 1:14 AM Minchan Kim wrote: > if we went with the per vma fd approach then you would get this > > feature automatically because map_files would refer to file backed > > mappings while map_anon could refer only to anonymous mappings. > > The reason to add such filter option i

Re: [PATCH] KVM: Remove obsolete address of the FSF

2019-05-28 Thread Marc Zyngier
On 27/05/2019 17:56, Thomas Huth wrote: > The FSF moved from the "Temple Place" to "51 Franklin Street" quite > a while ago already, so we should not refer to the old address in > the source code anymore. Anyway, instead of replacing it with the > new address, let's rather add proper SPDX identifie

Re: [PATCH v2 3/3] mmc: sdhci_am654: Fix SLOTTYPE write

2019-05-28 Thread Faiz Abbas
Hi Adrian, On 10/05/19 11:28 AM, Adrian Hunter wrote: > On 10/05/19 6:42 AM, Faiz Abbas wrote: >> In the call to regmap_update_bits() for SLOTTYPE, the mask and value >> fields are exchanged. Fix this. This didn't have any affect on the >> driver because this was a NOP and it was taking the correc

Re: Testing the recent RISC-V DT patchsets

2019-05-28 Thread Paul Walmsley
An update for those testing RISC-V patches: here's a new branch of riscv-pk/bbl that doesn't try to read or modify the DT data at all, which should be useful until U-Boot settles down. This new riscv-pk version should be easier to use than the previous version for those testing upstream-boun

Dolgozói juttatások

2019-05-28 Thread Kapolcs Mátyás
Üdvözlöm! 2019 januárjától megszűnt az Erzsébet utalványok és kártyák forgalmazása. Ismerje meg juttatási kártyáinkat és utalványainkat, melyekkel egyszerűen helyettesítheti a korábbi Erzsébetes juttatásokat. Amennyiben Ön is a legegyszerűbb átállást szeretné, szívesen bemutatom Önnek megoldás

RE: [EXT] [PATCH][next] qed: fix spelling mistake "inculde" -> "include"

2019-05-28 Thread Michal Kalderon
> From: Colin King > Sent: Tuesday, May 28, 2019 9:52 AM > > External Email > > -- > From: Colin Ian King > > There is a spelling mistake in a DP_INFO message. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/net/e

Re: [PATCH] list_lru: fix memory leak in __memcg_init_list_lru_node

2019-05-28 Thread Kirill Tkhai
On 28.05.2019 07:32, Shakeel Butt wrote: > Syzbot reported following memory leak: > > da RBX: 0003 RCX: 00441f79 > BUG: memory leak > unreferenced object 0x888114f26040 (size 32): > comm "syz-executor626", pid 7056, jiffies 4294948701 (age 39.410s) > hex dump (f

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Guillaume Tucker
Hi Geert, On 28/05/2019 08:45, Geert Uytterhoeven wrote: > Hi Guillaume, > > On Tue, May 28, 2019 at 9:13 AM Guillaume Tucker > wrote: >> On 28/05/2019 00:38, kernelci.org bot wrote: >>> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * >>> * This automated bisection report was s

Please read carefully,

2019-05-28 Thread DR Rhama David Benson
From: Dr Rhama David Benson, Please read carefully, This message might meet you in utmost surprise. However, it's just my urgent need for foreign partner that made me to contact you for this transaction. I got your contact from yahoo tourist search while I was searching for a foreign partner. I

Re: [PATCH v2 3/6] i2c: acpi: Factor out getting the IRQ from ACPI

2019-05-28 Thread Charles Keepax
On Mon, May 27, 2019 at 04:19:29PM +0100, Charles Keepax wrote: > In preparation for future refactoring factor out the fetch of the IRQ > into its own helper function. > > Signed-off-by: Charles Keepax > --- > > +static int i2c_acpi_get_irq(struct acpi_device *adev) > +{ > + struct list_hea

Re: [PATCH] scripts/decode_stacktrace: Look for modules with .ko.debug extension

2019-05-28 Thread Konstantin Khlebnikov
On 22.05.2019 2:41, Nicolas Boichat wrote: In Chromium OS kernel builds, we split the debug information as .ko.debug files, and that's what decode_stacktrace.sh needs to use. Relax objfile matching rule to allow any .ko* file to be matched. Signed-off-by: Nicolas Boichat --- scripts/decode_s

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Geert Uytterhoeven
Hi Guillaume, On Tue, May 28, 2019 at 10:36 AM Guillaume Tucker wrote: > On 28/05/2019 08:45, Geert Uytterhoeven wrote: > > On Tue, May 28, 2019 at 9:13 AM Guillaume Tucker > > wrote: > >> This commit has now been reverted in mainline. Would it be OK > >> for you to rebase your for-next branch

Re: [PATCH 2/4] arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP

2019-05-28 Thread Anshuman Khandual
On 05/28/2019 01:50 PM, Ard Biesheuvel wrote: > On 5/28/19 10:10 AM, Anshuman Khandual wrote: >> >> >> On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: >>> Wire up the special helper functions to manipulate aliases of vmalloc >>> regions in the linear map. >> >> IMHO the commit message here could b

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

2019-05-28 Thread Michal Hocko
On Tue 28-05-19 11:04:46, Konstantin Khlebnikov wrote: > On 28.05.2019 10:38, Michal Hocko wrote: [...] > > Could you define the exact semantic? Ideally something for the manual > > page please? > > > > Like kswapd which works with thresholds of free memory this one reclaims > until 'free' (i.e.

Re: [PATCH 1/1] drm/panel: truly: Add additional delay after pulling down reset gpio

2019-05-28 Thread Marc Gonzalez
On 27/05/2019 12:26, Vivek Gautam wrote: > MTP SDM845 panel seems to need additional delay to bring panel > to a workable state. Running modetest without this change displays > blurry artifacts. > > Signed-off-by: Vivek Gautam > --- > drivers/gpu/drm/panel/panel-truly-nt35597.c | 1 + > 1 file

[GIT PULL] pin control fixes for v5.2

2019-05-28 Thread Linus Walleij
Hi Linus, here are a bunch of pin control fixes for v5.2. The outstanding commits are the Intel fixes that arrived during the merge window and I got relayed by pull request from Andy. Apart from that a minor Kconfig noise. Please pull it in! Yours, Linus Walleij The following changes since com

Re: linusw/for-next boot bisection: v5.2-rc1-8-g73a790c68d7e on rk3288-veyron-jaq

2019-05-28 Thread Linus Walleij
On Tue, May 28, 2019 at 10:36 AM Guillaume Tucker wrote: > > Can't you mark this as a known issue, to prevent spending cycles on the > > same bisection, and sending out more bisection reports for the same > > issue? > > Not really, so I've disabled bisections in the linux-gpio tree > and a few ot

Re: [RFC 7/7] mm: madvise support MADV_ANONYMOUS_FILTER and MADV_FILE_FILTER

2019-05-28 Thread Minchan Kim
On Tue, May 28, 2019 at 01:31:13AM -0700, Daniel Colascione wrote: > On Tue, May 28, 2019 at 1:14 AM Minchan Kim wrote: > > if we went with the per vma fd approach then you would get this > > > feature automatically because map_files would refer to file backed > > > mappings while map_anon could r

Re: [v3 PATCH] usb: create usb_debug_root for gadget only

2019-05-28 Thread Chunfeng Yun
Hi Felipe, On Tue, 2019-05-28 at 11:11 +0300, Felipe Balbi wrote: > Hi, > > Chunfeng Yun writes: > > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > > index 7fcb9f782931..88b3ee03a12d 100644 > > --- a/drivers/usb/core/usb.c > > +++ b/drivers/usb/core/usb.c > > @@ -1190,7 +1190,7 @@

Re: [RFC] printk/sysrq: Don't play with console_loglevel

2019-05-28 Thread Sergey Senozhatsky
On (05/28/19 17:02), Tetsuo Handa wrote: > On 2019/05/28 13:22, Sergey Senozhatsky wrote: > > On (05/28/19 12:21), Tetsuo Handa wrote: > > [..] > Dmitry's patch is changing only the header line (in other words, per printk() > call). > Since op_p->handler(key) is out of KERN_UNSUPPRESSED effect, th

Re: [PATCH] mmc: android-goldfish: Drop pointer to mmc_host from goldfish_mmc_host

2019-05-28 Thread Ulf Hansson
On Tue, 7 May 2019 at 21:53, Kamlesh Gurudasani wrote: > > The driver for android-goldfish uses a pointer to get from the private > goldfish_mmc_host structure to the generic mmc_host structure. > However the latter is always immediately preceding the former in > memory, so compute its address wit

Re: [PATCH] mmc: meson-gx: fix irq ack

2019-05-28 Thread Ulf Hansson
On Thu, 23 May 2019 at 16:59, Jerome Brunet wrote: > > While cleaning the ISR of the meson-gx and acking only raised irqs, > the ack of the irq was moved at the very last stage of the function. > > This was stable during the initial tests but it triggered issues with > hs200, under specific loads

Re: [PATCH v3] gpu/drm: mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()

2019-05-28 Thread CK Hu
Hi, Hsin-Yi: On Tue, 2019-05-28 at 15:39 +0800, Hsin-Yi Wang wrote: > mtk_dsi_stop() should be called after mtk_drm_crtc_atomic_disable(), which > needs > ovl irq for drm_crtc_wait_one_vblank(), since after mtk_dsi_stop() is called, > ovl irq will be disabled. If drm_crtc_wait_one_vblank() is cal

Re: [PATCH v2 1/3] dt-bindings: mmc: meson-gx: add dram-access-quirk property

2019-05-28 Thread Ulf Hansson
On Mon, 27 May 2019 at 14:43, Neil Armstrong wrote: > > On the Amlogic G12A SoC family, (only) the SDIO controller has a bug which > makes any DRAM access from the MMC controller fail. > > Add the amlogic,dram-access-quirk property so signal this particular > controller has this bug and needs a qu

Re: [PATCH v2 2/3] mmc: meson-gx: add dram-access-quirk

2019-05-28 Thread Ulf Hansson
On Mon, 27 May 2019 at 14:43, Neil Armstrong wrote: > > On the Amlogic G12A SoC family, (only) the SDIO controller fails to access > the data from DRAM, leading to a broken controller. > > But each MMC controller has 1,5KiB of SRAM after the registers, that can > be used as bounce buffer to avoid

Re: [PATCH 0/2] mmc: meson: update with SPDX Licence identifier

2019-05-28 Thread Ulf Hansson
On Mon, 20 May 2019 at 16:36, Neil Armstrong wrote: > > Update the SPDX Licence identifier for the Amlogic MMC drivers. > > Neil Armstrong (2): > mmc: meson-gx-mmc: update with SPDX Licence identifier > mmc: meson-mx-sdio: update with SPDX Licence identifier > > drivers/mmc/host/meson-gx-mmc.

Re: [PATCH v3 1/2] vfio/mdev: add migration_version attribute for mdev device

2019-05-28 Thread Cornelia Huck
On Sun, 26 May 2019 23:43:42 -0400 Yan Zhao wrote: > migration_version attribute is used to check migration compatibility > between two mdev device of the same mdev type. s/device/devices/ > The key is that it's rw and its data is opaque to userspace. > > Userspace reads migration_version of m

[PATCH] ARC: [plat-hsdk]: unify memory apertures configuration

2019-05-28 Thread Eugeniy Paltsev
HSDK SOC has memory bridge which allows to configure memory map for different AXI masters in runtime. As of today we adjust memory apertures configuration in U-boot so we have different configuration in case of loading kernel via U-boot and JTAG. It isn't really critical in case of existing platfo

Re: [PATCH V2 1/3] perf/x86: Disable non generic regs for software/probe events

2019-05-28 Thread Peter Zijlstra
On Mon, May 27, 2019 at 12:07:55PM -0700, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/include/uapi/asm/perf_regs.h > b/arch/x86/include/uapi/asm/perf_regs.h > index ac67bbe..3a96971 100644 > --- a/arch/x86/include/uapi/asm/perf_regs.h > +++ b/arch/x86/include/uapi/asm/perf_regs.h > @@

Re: [PATCH 2/4] arm64/mm: wire up CONFIG_ARCH_HAS_SET_DIRECT_MAP

2019-05-28 Thread Ard Biesheuvel
On 5/28/19 10:41 AM, Anshuman Khandual wrote: On 05/28/2019 01:50 PM, Ard Biesheuvel wrote: On 5/28/19 10:10 AM, Anshuman Khandual wrote: On 05/23/2019 03:52 PM, Ard Biesheuvel wrote: Wire up the special helper functions to manipulate aliases of vmalloc regions in the linear map. IMHO th

Re: [PATCH RFC] mm/madvise: implement MADV_STOCKPILE (kswapd from user space)

2019-05-28 Thread Konstantin Khlebnikov
On 28.05.2019 11:42, Michal Hocko wrote: On Tue 28-05-19 11:04:46, Konstantin Khlebnikov wrote: On 28.05.2019 10:38, Michal Hocko wrote: [...] Could you define the exact semantic? Ideally something for the manual page please? Like kswapd which works with thresholds of free memory this one r

Re: [PATCH 1/3] perf header: Add die information in CPU topology

2019-05-28 Thread Jiri Olsa
On Thu, May 23, 2019 at 01:41:19PM -0700, kan.li...@linux.intel.com wrote: SNIP > > Add cpu_map__get_die_id() in cpumap.c to fetch die id information. > > Signed-off-by: Kan Liang > --- > tools/perf/Documentation/perf.data-file-format.txt | 9 +- > tools/perf/util/cpumap.c

  1   2   3   4   5   6   7   8   9   10   >