[PATCH] arm64: vdso: use $(LD) instead of $(CC) to link VDSO

2019-04-11 Thread Masahiro Yamada
We use $(LD) to link vmlinux, modules, decompressors, etc. VDSO is the only exceptional case where $(CC) is used as the linker driver, but I do not know why we need to do so. VDSO uses a special linker script, and does not link standard libraries at all. I changed the Makefile to use $(LD) rather

[PATCH v4 2/6] usb: ohci-da8xx: let the regulator framework keep track of use count

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's no reason to have a separate variable to keep track of the regulator state. The regulator core already does that. Remove reg_enabled from struct da8xx_ohci_hcd. Signed-off-by: Bartosz Golaszewski Acked-by: Alan Stern --- drivers/usb/host/ohci-da8xx.c | 8 ++--

[PATCH v4 4/6] ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Instead of directly using the vbus GPIO we should model it as a fixed regulator. Add all necessary fix-ups for the regulator to be registered and configure the vbus GPIO as its enable pin. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/board-omapl138-haw

[PATCH] ARM: vdso: use $(LD) instead of $(CC) to link VDSO

2019-04-11 Thread Masahiro Yamada
We use $(LD) to link vmlinux, modules, decompressors, etc. VDSO is the only exceptional case where $(CC) is used as the linker driver, but I do not know why we need to do so. VDSO uses a special linker script, and does not link standard libraries at all. I changed the Makefile to use $(LD) rather

[PATCH] pinctrl: Add kernel config PINCTRL_MTK_V2

2019-04-11 Thread Light Hsieh
Since no single Mediatek chip use code for PINCTRL_MTK and code for PINCTRL_MTK_MOORE/PINCTRL_MTK_PARIS simultaneously, it is better to use different config to determine if related code will be built or not on building non-generic kernel. Add kernel config PINCTRL_MTK_V2 selected by either PINCTRL

Re: [PATCH -next] memory: tegra: Make terga20_mc_reset_ops static

2019-04-11 Thread Thierry Reding
On Wed, Apr 10, 2019 at 10:04:50PM +0800, Yue Haibing wrote: > From: YueHaibing > > Fix sparse warning: > > drivers/memory/tegra/tegra20.c:277:33: warning: > symbol 'terga20_mc_reset_ops' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- >

Re: [PATCH RFC] clk: ux500: add range to usleep_range

2019-04-11 Thread Ulf Hansson
On Sun, 7 Apr 2019 at 05:13, Nicholas Mc Guire wrote: > > Providing a range for usleep_range() allows the hrtimer subsystem to > coalesce timers - the delay is runtime configurable so a factor 2 > is taken to provide the range. > > Signed-off-by: Nicholas Mc Guire > --- > > Problem located with a

Re: [PATCH RESEND] fs: drop unused fput_atomic definition

2019-04-11 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes ThumshirnSUSE Labs Filesystems jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnb

[RESEND PATCH 0/4] um: build and irq fixes

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Resending again - this time with tags collected. === I've previously sent these patches separately. I still don't see them in next and I don't know what the policy is for picking up uml patches but I thought I'd resend them rebased together on top of v5.1-rc4. Bartosz

[RESEND PATCH 1/4] um: remove unused variable

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The buf variable is unused. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: Anton Ivanov Acked-by: Anton Ivanov --- arch/um/kernel/skas/uaccess.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/kernel/skas/uaccess.c b/arch/um/kernel/skas/uacces

[RESEND PATCH 4/4] um: irq: don't set the chip for all irqs

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Setting a chip for an interrupt marks it as allocated. Since UM doesn't support dynamic interrupt numbers (yet), it means we cannot simply increase NR_IRQS and then use the free irqs between LAST_IRQ and NR_IRQS with gpio-mockup or iio testing drivers as irq_alloc_descs(

[RESEND PATCH 3/4] um: define set_pte_at() as a static inline function, not a macro

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski When defined as macro, the mm argument is unused and subsequently the variable passed as mm is considered unused by the compiler. This fixes a build warning. Signed-off-by: Bartosz Golaszewski Reviewed-by: Geert Uytterhoeven Reviewed-by: Anton Ivanov Acked-by: Anton

[RESEND PATCH 2/4] um: remove uses of variable length arrays

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While the affected code is run in user-mode, the build still warns about it. Convert all uses of VLA to dynamic allocations. Signed-off-by: Bartosz Golaszewski --- arch/um/os-Linux/umid.c | 36 +++- 1 file changed, 27 insertions(+), 9 d

Re: [PATCH] MAINTAINERS: Add section for MediaTek MMC/SD/SDIO driver

2019-04-11 Thread Ulf Hansson
Chaotian, On Mon, 25 Mar 2019 at 13:24, Ulf Hansson wrote: > > Cc: Chaotian Jing > Signed-off-by: Ulf Hansson > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 3e5a5d263f29..b43e563b4c95 100644 > --- a/MAINTAINERS > +++ b/MAINT

Re: [PATCH 2/2] MAINTAINERS: Add Ulf Hansson to the MEMORYSTICK section

2019-04-11 Thread Ulf Hansson
On Fri, 22 Mar 2019 at 18:03, Maxim Levitsky wrote: > > Thanks! > I also expect to start contributing again to maintain the code I have > in the kernel, after I done with upsteaming the nvme-mdev driver I > have just sent for initial review. > I work for Red Hat now, so I hope I'll find some time

[PATCH v1 1/1] thermal: rcar_gen3_thermal: request IRQ after device initialization

2019-04-11 Thread Jiada Wang
Currently IRQ is remain enabled after .remove, later if device is probed, IRQ is requested before .thermal_init, this may cause IRQ function be triggered but not able to clear IRQ status, thus cause system to hang. this patch by moving request of IRQ after device initialization to avoid this issue

Water, Sanitation and Hygeine Proposal

2019-04-11 Thread Austin Edomwonyi
Dear Sir/Ma, Do not let this come as a surprise to you as my organization and I do a lot of philanthropic work and support a lot of good will project in Africa, Asia and South America. I have one of such project that I am currently involved in, it has to do with providing solar powered borehol

Re: [PATCH V3] mmc: tegra: add sdhci tegra suspend and resume

2019-04-11 Thread Ulf Hansson
On Wed, 3 Apr 2019 at 17:39, Sowjanya Komatineni wrote: > > This patch adds suspend and resume PM ops for tegra SDHCI. > > Acked-by: Thierry Reding > Signed-off-by: Sowjanya Komatineni > --- > drivers/mmc/host/sdhci-tegra.c | 56 > +- > 1 file changed, 5

Re: [PATCH V3 05/10] arm64: tegra: fix default tap and trim values

2019-04-11 Thread Ulf Hansson
On Mon, 1 Apr 2019 at 19:43, Sowjanya Komatineni wrote: > > > > > > > > > Default tap and trim values are incorrect for Tegra186 SDMMC4. > > > > This patch fixes it. > > > > > > > > Tested-by: Jon Hunter > > > > Signed-off-by: Sowjanya Komatineni > > > > > > Is this a fix and/or for stable? > >

Water, Sanitation and Hygeine Proposal

2019-04-11 Thread Austin Edomwonyi
Dear Sir/Ma, Do not let this come as a surprise to you as my organization and I do a lot of philanthropic work and support a lot of good will project in Africa, Asia and South America. I have one of such project that I am currently involved in, it has to do with providing solar powered borehol

Re: [PATCH V2 01/16] PCI: Add #defines for PCIe spec r4.0 features

2019-04-11 Thread Thierry Reding
On Fri, Apr 05, 2019 at 01:24:28AM +0530, Vidya Sagar wrote: > Add #defines for the Data Link Feature and Physical Layer 16.0 GT/s > features. > > Signed-off-by: Vidya Sagar > --- > Changes from [v1]: > * None > > include/uapi/linux/pci_regs.h | 22 +- > 1 file changed, 21 i

Re: [PATCH] fs/sync.c: sync_file_range(2) may use WB_SYNC_ALL writeback

2019-04-11 Thread Jan Kara
On Wed 10-04-19 13:42:23, Amir Goldstein wrote: > On Wed, Apr 10, 2019 at 12:10 PM Jan Kara wrote: > > > > On Tue 09-04-19 21:01:54, Amir Goldstein wrote: > > > On Tue, Apr 9, 2019 at 6:43 PM Jan Kara wrote: > > > > On Tue 09-04-19 14:49:22, Amir Goldstein wrote: > > > > > Commit 23d0127096cb ("f

Re: [PATCH V2 02/16] PCI/PME: Export pcie_pme_disable_msi() API

2019-04-11 Thread Thierry Reding
On Fri, Apr 05, 2019 at 01:24:29AM +0530, Vidya Sagar wrote: > Export pcie_pme_disable_msi() API to enable drivers using this API be able to > build as loadable modules > > Signed-off-by: Vidya Sagar > --- > Changes from [v1]: > * This is a new patch in v2 series > > drivers/pci/pcie/pme.c

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Arnd Bergmann
On Thu, Apr 11, 2019 at 12:20 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > On Wed, Apr 10, 2019 at 1:13 PM Arnd Bergmann wrote: > > > > llvm does does not understand -march=z9-109 and older target > > Please file bugs for these in LLVM's issue tracker. It might be > possible to enable

Re: [PATCH 1/2] s390: only build for new CPUs with clang

2019-04-11 Thread Arnd Bergmann
On Thu, Apr 11, 2019 at 8:24 AM Heiko Carstens wrote: > > On Wed, Apr 10, 2019 at 10:12:40PM +0200, Arnd Bergmann wrote: > > llvm does does not understand -march=z9-109 and older target > > specifiers, so disable the respective Kconfig settings and > > the logic to make the boot code work on old s

[PATCH v3 0/2] Amazon's Annapurna Labs Thermal Sensor Driver

2019-04-11 Thread Talel Shenhar
This series introduces support for Amazon's Annapurna Labs Thermal Sensor based on a new simple MMIO thermal driver. This driver is intended to be used by other devices as well, which require just a simple MMIO access to read temperature. Changes since v2: = - dt-binding: changed

Re: [Milbeaut PATCH v0.4 2/2] mmc: sdhci_f_sdh30: Add support for Milbeaut M10V host controller

2019-04-11 Thread Ulf Hansson
On Tue, 26 Mar 2019 at 05:56, Takao Orito wrote: > > SD Host controller on Milbeaut is consist of two controller parts. > One is core controller F_SDH30, this is similar to sdhci-fujitsu > controller. > Another is bridge controller. > This bridge controller is not compatible with sdhci-fujitsu con

[PATCH v3 2/2] thermal: Introduce Amazon's Annapurna Labs Thermal Driver

2019-04-11 Thread Talel Shenhar
This is a generic thermal driver for simple MMIO sensors, of which amazon,al-thermal is one. This device uses a single MMIO transaction to read the temperature and report it to the thermal subsystem. Signed-off-by: Talel Shenhar Reviewed-by: David Woodhouse --- MAINTAINERS|

[PATCH v3 1/2] dt-bindings: thermal: al-thermal: Add binding documentation

2019-04-11 Thread Talel Shenhar
Add thermal binding documentation for Amazon's Annapurna Labs Thermal Sensor. Signed-off-by: Talel Shenhar Reviewed-by: David Woodhouse Reviewed-by: Rob Herring --- .../bindings/thermal/amazon,al-thermal.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100

Re: [PATCH v7 6/7] platform/chrome: cros_ec: add EC host command support using rpmsg.

2019-04-11 Thread Enric Balletbo Serra
Hi, Missatge de Pi-Hsun Shih del dia dc., 10 d’abr. 2019 a les 9:13: > > Hi, > > On Thu, Mar 28, 2019 at 7:16 PM Enric Balletbo Serra > wrote: > > > > Hi > > > > Thanks for sending this upstream, Some few comments and questions > > below. Apart from these LGTM. > > > > Missatge de Peter Shih de

[PATCH 0/3] x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSO

2019-04-11 Thread Huw Davies
This series adds support for the CLOCK_MONOTONIC_RAW clock in the x86 vDSO, thus decreasing its readout cost. This is particularly useful for Wine which needs to implement Win32 API clock functions whose value does not get adjusted with adjtimex(). Cc: Thomas Gleixner Cc: Andy Lutomirski Huw D

[PATCH 3/3] x86/vdso: Add support for CLOCK_MONOTONIC_RAW in the vDSO

2019-04-11 Thread Huw Davies
This is particularly useful for Wine which needs to implement Win32 API clock functions whose values do not get adjusted by adjtimex(). Cc: Thomas Gleixner Cc: Andy Lutomirski Signed-off-by: Huw Davies --- arch/x86/entry/vsyscall/vsyscall_gtod.c | 6 ++ arch/x86/include/asm/vgtod.h

Re: [RFC 2/2] signal: extend pidfd_send_signal() to allow expedited process killing

2019-04-11 Thread Christian Brauner
On Wed, Apr 10, 2019 at 06:43:53PM -0700, Suren Baghdasaryan wrote: > Add new SS_EXPEDITE flag to be used when sending SIGKILL via > pidfd_send_signal() syscall to allow expedited memory reclaim of the > victim process. The usage of this flag is currently limited to SIGKILL > signal and only to pri

[PATCH 1/3] x86/vdso: Remove unused 'mask' member

2019-04-11 Thread Huw Davies
The 'mask' member of struct vsyscall_gtod_data is unused, so remove it. Its use was removed in commit a51e996d48ac (x86/vdso: Enforce 64bit clocksource). Cc: Thomas Gleixner Cc: Andy Lutomirski Signed-off-by: Huw Davies --- arch/x86/entry/vsyscall/vsyscall_gtod.c | 1 - arch/x86/include/asm/v

[PATCH 2/3] x86/vdso: Allow clock specific mult and shift values

2019-04-11 Thread Huw Davies
This will allow clocks with different mult and shift values, e.g. CLOCK_MONOTONIC_RAW, to be supported in the vDSO. The coarse clocks do not require these data so the values are not copied for these clocks. One could add potential new values of mult and shift alongside the existing values in stru

Re: [RFC 2/2] signal: extend pidfd_send_signal() to allow expedited process killing

2019-04-11 Thread Christian Brauner
Cc: Oleg too On Thu, Apr 11, 2019 at 12:30:18PM +0200, Christian Brauner wrote: > On Wed, Apr 10, 2019 at 06:43:53PM -0700, Suren Baghdasaryan wrote: > > Add new SS_EXPEDITE flag to be used when sending SIGKILL via > > pidfd_send_signal() syscall to allow expedited memory reclaim of the > > victim

[RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Sudeep Holla
PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets where the semantics are described by the PSCI specification itself as well as vendor-specific resets. Currently only system warm reset semantics is defined as part of architectural resets by the specification. This patch impleme

Re: [PATCH RFC] clk: ux500: add range to usleep_range

2019-04-11 Thread Nicholas Mc Guire
On Thu, Apr 11, 2019 at 11:36:45AM +0200, Ulf Hansson wrote: > On Sun, 7 Apr 2019 at 05:13, Nicholas Mc Guire wrote: > > > > Providing a range for usleep_range() allows the hrtimer subsystem to > > coalesce timers - the delay is runtime configurable so a factor 2 > > is taken to provide the range.

Re: [PATCH 2/2] spi: pxa2xx: use a module softdep for dw_dmac

2019-04-11 Thread Mark Brown
On Thu, Apr 11, 2019 at 07:14:06AM +, Flavio Suligoi wrote: > > Right, yes - that analysis seems correct. The interfaces seem a bit > > weird here but fixing them looks like the most complete and robust fix. > Ok Mark, I'll fix this problem as soon as I can, using EPROBE_DEFER. > For now, in

Re: [PATCH] MAINTAINERS: Add section for MediaTek MMC/SD/SDIO driver

2019-04-11 Thread Chaotian Jing
On Thu, 2019-04-11 at 11:49 +0200, Ulf Hansson wrote: > Chaotian, > > On Mon, 25 Mar 2019 at 13:24, Ulf Hansson wrote: > > > > Cc: Chaotian Jing > > Signed-off-by: Ulf Hansson > > --- > > MAINTAINERS | 6 ++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/MAINTAINERS b/MAINTAINERS

Re: [PATCH v2] mmc: sdhci_am654: Clear HISPD_ENA in some lower speed modes

2019-04-11 Thread Ulf Hansson
On Mon, 1 Apr 2019 at 14:58, Faiz Abbas wrote: > > According to the AM654x Data Manual[1], the setup timing in lower speed > modes can only be met if the controller uses a falling edge data launch. > > To ensure this, the HIGH_SPEED_ENA (HOST_CONTROL[2]) bit should be > cleared in default speed, S

Re: [PATCH v2] mmc: mtk-sd: check for valid optional memory resource

2019-04-11 Thread Ulf Hansson
On Wed, 3 Apr 2019 at 21:31, Fabien Parent wrote: > > 'top_base' memory region is optional. Check that the resource is valid > before using it. This avoid getting a "invalid resource" error message > printed by the kernel. > > Signed-off-by: Fabien Parent Applied for next, thanks! Kind regards

Re: [PATCH v6] mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

2019-04-11 Thread Ulf Hansson
On Thu, 11 Apr 2019 at 11:00, Faiz Abbas wrote: > > commit 5b0d62108b46 ("mmc: sdhci-omap: Add platform specific reset > callback") skips data resets during tuning operation. Because of this, > a data error or data finish interrupt might still arrive after a command > error has been handled and th

Re: [PATCH 4/4] locking/lockdep: Test all incompatible scenario at once in check_irq_usage()

2019-04-11 Thread Peter Zijlstra
On Wed, Apr 10, 2019 at 04:28:48AM +0200, Frederic Weisbecker wrote: > Should I re-issue the set or you do the changes? I've made it like so; does that work? In particular, do the comments make sense? It is always hard to write these things down. --- Subject: locking/lockdep: Test all incompatib

Re: [PATCH] MAINTAINERS: Add section for MediaTek MMC/SD/SDIO driver

2019-04-11 Thread Ulf Hansson
On Thu, 11 Apr 2019 at 12:42, Chaotian Jing wrote: > > On Thu, 2019-04-11 at 11:49 +0200, Ulf Hansson wrote: > > Chaotian, > > > > On Mon, 25 Mar 2019 at 13:24, Ulf Hansson wrote: > > > > > > Cc: Chaotian Jing > > > Signed-off-by: Ulf Hansson > > > --- > > > MAINTAINERS | 6 ++ > > > 1 fil

Re: [RFC 0/2] opportunistic memory reclaim of a killed process

2019-04-11 Thread Michal Hocko
On Wed 10-04-19 18:43:51, Suren Baghdasaryan wrote: [...] > Proposed solution uses existing oom-reaper thread to increase memory > reclaim rate of a killed process and to make this rate more deterministic. > By no means the proposed solution is considered the best and was chosen > because it was si

Re: your mail

2019-04-11 Thread Peter Zijlstra
Was this supposed to be patch 6/5 of your previous series? On Thu, Apr 11, 2019 at 04:05:36PM +1000, Nicholas Piggin wrote: > Date: Tue, 9 Apr 2019 20:23:16 +1000 > Subject: [PATCH] kernel/sched: run nohz idle load balancer on HK_FLAG_MISC > CPUs > > The nohz idle balancer runs on the lowest idl

Re: [PATCH v3] platform: chrome: Add ChromeOS EC ISHTP driver

2019-04-11 Thread Enric Balletbo i Serra
Hi, On 10/4/19 17:31, Jett Rink wrote: > Reviewed-by: Jett Rink > Tested-by: Jett Rink > > > On Sun, Apr 7, 2019 at 6:10 AM Rushikesh S Kadam > wrote: >> >> This driver implements a slim layer to enable the ChromeOS >> EC kernel stack (cros_ec) to communicate with ChromeOS EC >> firmware runn

Re: [PATCH 04/11] platform/x86: asus-wmi: Add quirk to force DSTS WMI method detection

2019-04-11 Thread Daniel Drake
On Thu, Apr 11, 2019 at 4:28 AM Yurii Pavlovskyi wrote: > The DSTS method detection fails, as nothing is returned if method is not > defined in WMNB. As a result the control of keyboard backlight is not > functional for TUF Gaming series laptops (at the time the only > functionality of the driver

Re: [PATCH] mm/memory_hotplug: Drop memory device reference after find_memory_block()

2019-04-11 Thread Michal Hocko
On Thu 11-04-19 11:11:05, David Hildenbrand wrote: > On 11.04.19 10:41, Michal Hocko wrote: > > On Wed 10-04-19 12:14:55, David Hildenbrand wrote: > >> While current node handling is probably terribly broken for memory block > >> devices that span several nodes (only possible when added during boot

Re: [PATCH v2 01/21] docs/memory-barriers.txt: Rewrite "KERNEL I/O BARRIER EFFECTS" section

2019-04-11 Thread Ingo Molnar
* Will Deacon wrote: > Anyway, please take a look at the diff below and let me know if you're > happy with it. The original commit is currently at the bottom of my mmiowb > tree, so I'll probably put this on top as an extra commit with your > Reported-by. Sure - and the changes look good to me

Re: [PATCH -next] memstick: remove set but not used variable 'data'

2019-04-11 Thread Ulf Hansson
On Thu, 11 Apr 2019 at 04:48, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/memstick/host/jmb38x_ms.c: In function 'jmb38x_ms_issue_cmd': > drivers/memstick/host/jmb38x_ms.c:371:17: warning: > variable 'data' set but not used [-Wunused-but-set-variable] > > It's

Re: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Mark Rutland
On Thu, Apr 11, 2019 at 11:33:46AM +0100, Sudeep Holla wrote: > PSCI v1.1 introduced SYSTEM_RESET2 to allow both architectural resets > where the semantics are described by the PSCI specification itself as > well as vendor-specific resets. Currently only system warm reset > semantics is defined as

[PATCH V2] clk: ux500: add range to usleep_range

2019-04-11 Thread Nicholas Mc Guire
Providing a range for usleep_range() allows the hrtimer subsystem to coalesce timers - the delay is runtime configurable so a factor 2 is taken to provide the range. With the expected range for enable_delay_us being milliseconds, the range should lie in the 250us range which is sufficient for hrtim

Re: [PATCH V2] clk: ux500: add range to usleep_range

2019-04-11 Thread Ulf Hansson
On Thu, 11 Apr 2019 at 13:04, Nicholas Mc Guire wrote: > > Providing a range for usleep_range() allows the hrtimer subsystem to > coalesce timers - the delay is runtime configurable so a factor 2 > is taken to provide the range. With the expected range for > enable_delay_us being milliseconds, the

Re: [PATCH] fs/sync.c: sync_file_range(2) may use WB_SYNC_ALL writeback

2019-04-11 Thread Amir Goldstein
On Thu, Apr 11, 2019 at 1:16 PM Jan Kara wrote: > > On Wed 10-04-19 13:42:23, Amir Goldstein wrote: > > On Wed, Apr 10, 2019 at 12:10 PM Jan Kara wrote: > > > > > > On Tue 09-04-19 21:01:54, Amir Goldstein wrote: > > > > On Tue, Apr 9, 2019 at 6:43 PM Jan Kara wrote: > > > > > On Tue 09-04-19 14

Re: [PATCH] slab: fix an infinite loop in leaks_show()

2019-04-11 Thread Qian Cai
On 4/11/19 4:20 AM, Vlastimil Babka wrote: > On 4/11/19 5:26 AM, Qian Cai wrote: >> "cat /proc/slab_allocators" could hang forever on SMP machines with >> kmemleak or object debugging enabled due to other CPUs running do_drain() >> will keep making kmemleak_object or debug_objects_cache dirty an

[PATCH v2] mm/memory_hotplug: Drop memory device reference after find_memory_block()

2019-04-11 Thread David Hildenbrand
Right now we are using find_memory_block() to get the node id for the pfn range to online. We are missing to drop a reference to the memory block device. While the device still gets unregistered via device_unregister(), resulting in no user visible problem, the device is never released via device_r

Re: [PATCH v3] platform: chrome: Add ChromeOS EC ISHTP driver

2019-04-11 Thread Rushikesh S Kadam
Hi Enric, Srinivas On Thu, Apr 11, 2019 at 12:55:13PM +0200, Enric Balletbo i Serra wrote: > Hi, > > On 10/4/19 17:31, Jett Rink wrote: > > Reviewed-by: Jett Rink > > Tested-by: Jett Rink > > > > > > On Sun, Apr 7, 2019 at 6:10 AM Rushikesh S Kadam > > wrote: > >> > >> This driver implements

Re: [PATCH] mm/memory_hotplug: Drop memory device reference after find_memory_block()

2019-04-11 Thread David Hildenbrand
On 11.04.19 12:56, Michal Hocko wrote: > On Thu 11-04-19 11:11:05, David Hildenbrand wrote: >> On 11.04.19 10:41, Michal Hocko wrote: >>> On Wed 10-04-19 12:14:55, David Hildenbrand wrote: While current node handling is probably terribly broken for memory block devices that span several n

Applied "regulator: hi6421: Convert to use simplified DT parsing" to the regulator tree

2019-04-11 Thread Mark Brown
The patch regulator: hi6421: Convert to use simplified DT parsing has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Applied "regulator: mcp16502: Remove setup_regulators function" to the regulator tree

2019-04-11 Thread Mark Brown
The patch regulator: mcp16502: Remove setup_regulators function has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "regulator: mcp16502: Remove unneeded fields from struct mcp16502" to the regulator tree

2019-04-11 Thread Mark Brown
The patch regulator: mcp16502: Remove unneeded fields from struct mcp16502 has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometim

Re: [PATCH v2] mm/memory_hotplug: Drop memory device reference after find_memory_block()

2019-04-11 Thread Pankaj Gupta
> Right now we are using find_memory_block() to get the node id for the > pfn range to online. We are missing to drop a reference to the memory > block device. While the device still gets unregistered via > device_unregister(), resulting in no user visible problem, the device is > never released

Applied "regulator: vexpress: Constify regulator_ops" to the regulator tree

2019-04-11 Thread Mark Brown
The patch regulator: vexpress: Constify regulator_ops has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "ASoC: wcd9335: Fix missing regmap requirement" to the asoc tree

2019-04-11 Thread Mark Brown
The patch ASoC: wcd9335: Fix missing regmap requirement has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.1 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

[PATCH v2] fs/sync.c: sync_file_range(2) may use WB_SYNC_ALL writeback

2019-04-11 Thread Amir Goldstein
Commit 23d0127096cb ("fs/sync.c: make sync_file_range(2) use WB_SYNC_NONE writeback") claims that sync_file_range(2) syscall was "created for userspace to be able to issue background writeout and so waiting for in-flight IO is undesirable there" and changes the writeback (back) to WB_SYNC_NONE. Th

RE: [PATCH 2/2] spi: pxa2xx: use a module softdep for dw_dmac

2019-04-11 Thread Flavio Suligoi
> > > Right, yes - that analysis seems correct. The interfaces seem a bit > > > weird here but fixing them looks like the most complete and robust > fix. > > > Ok Mark, I'll fix this problem as soon as I can, using EPROBE_DEFER. > > For now, in my application, I use the patch that I already sent,

Re: [PATCH] mm/memory_hotplug: Drop memory device reference after find_memory_block()

2019-04-11 Thread Michal Hocko
On Thu 11-04-19 13:18:07, David Hildenbrand wrote: > On 11.04.19 12:56, Michal Hocko wrote: > > On Thu 11-04-19 11:11:05, David Hildenbrand wrote: > >> On 11.04.19 10:41, Michal Hocko wrote: > >>> On Wed 10-04-19 12:14:55, David Hildenbrand wrote: > While current node handling is probably terr

Re: [PATCH] ARM: dts: rockchip: Remove unnecessary setting of UART0 SCLK rate on veyron

2019-04-11 Thread Heiko Stuebner
Am Mittwoch, 10. April 2019, 20:30:10 CEST schrieb Matthias Kaehlcke: > Some veyron devices have a Bluetooth controller connected on UART0. > The UART needs to operate at a high speed, however setting the clock > rate at initialization has no practical effect. During initialization > user space adj

Re: [PATCH] ARM: dts: rockchip: Add BT_EN to the power sequence for veyron

2019-04-11 Thread Heiko Stuebner
Am Mittwoch, 10. April 2019, 01:14:05 CEST schrieb Matthias Kaehlcke: > Add GPIO D5 (BT_ENABLE_L) as reset-GPIO to the power sequence for the > Bluetooth/WiFi module. On devices with a Broadcom module the signal > needs to be asserted to use Bluetooth. > > Note that BT_ENABLE_L is a misnomer in th

RE: [RESEND][PATCH v2] firmware/psci: add support for SYSTEM_RESET2

2019-04-11 Thread Koskinen, Aaro (Nokia - FI/Espoo)
Hi, From: Sudeep Holla [sudeep.ho...@arm.com]: > static void psci_sys_reset(enum reboot_mode reboot_mode, const char *cmd) > { > + if ((reboot_mode == REBOOT_WARM || reboot_mode == REBOOT_SOFT) && I would omit the REBOOT_SOFT here. > + psci_system_reset2_supported) > +

Re: [PATCH] soc: rockchip: Set the proper PWM for rk3288

2019-04-11 Thread Heiko Stuebner
Am Dienstag, 9. April 2019, 22:49:05 CEST schrieb Douglas Anderson: > The rk3288 SoC has two PWM implementations available, the "old" > implementation and the "new" one. You can switch between the two of > them by flipping a bit in the grf. > > The "old" implementation is the default at chip powe

Re: [PATCH 1/6] arch: riscv: add support for building DTB files from DT source data

2019-04-11 Thread Christoph Hellwig
On Thu, Apr 11, 2019 at 01:42:59AM -0700, Paul Walmsley wrote: > Similar to ARM64, add support for building DTB files from DT source > data for RISC-V boards. > > This patch starts with the infrastructure needed for SiFive boards. > Boards from other vendors would add support here in a similar for

Re: [PATCH RFC] clk: ux500: add range to usleep_range

2019-04-11 Thread Joe Perches
On Thu, 2019-04-11 at 04:56 +0200, Nicholas Mc Guire wrote: > On Wed, Apr 10, 2019 at 03:53:51PM -0700, Stephen Boyd wrote: > > Quoting Nicholas Mc Guire (2019-04-06 20:13:24) > > > Providing a range for usleep_range() allows the hrtimer subsystem to > > > coalesce timers - the delay is runtime con

Re: [Lsf-pc] [RFC 0/2] opportunistic memory reclaim of a killed process

2019-04-11 Thread Rik van Riel
On Wed, 2019-04-10 at 18:43 -0700, Suren Baghdasaryan via Lsf-pc wrote: > The time to kill a process and free its memory can be critical when > the > killing was done to prevent memory shortages affecting system > responsiveness. The OOM killer is fickle, and often takes a fairly long time to trig

[PATCH] tty: vt: keyboard: Allow Unicode compose base char

2019-04-11 Thread Reinis Danne
Pass Unicode character to k_unicode handler function to honor possible accent_table definition. With introduction of KDSKBDIACRUC ioctl, it has been possible to set compose characters (diacr, base and result) to any Unicode character (below 0xf000 code point) as defined in struct kbdiacruc. But i

Re: [PATCH 1/2] spi: pxa2xx: fix SCR (divisor) calculation

2019-04-11 Thread Jarkko Nikula
On 4/10/19 3:51 PM, Flavio Suligoi wrote: Calculate the divisor for the SCR (Serial Clock Rate), avoiding that the SSP transmission rate can be greater than the device rate. When the division between the SSP clock and the device rate generates a reminder, we have to increment by one the divisor.

Administracion de cuentas

2019-04-11 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se actuali

Administracion de cuentas

2019-04-11 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se actuali

Re: WARN_ON_ONCE() hit at kernel/events/core.c:330

2019-04-11 Thread Alexander Shishkin
Peter Zijlstra writes: > On Wed, Apr 10, 2019 at 03:51:24PM +0200, Thomas-Mich Richter wrote: >> Thanks for the fix with commit id 86071b11317550d994b55ce5e31aa06bcad783b5. >> >> However doing an fgrep on the pending_disable member of struct perf_event >> reveals two more hits in file kernel/eve

Re: [Lsf-pc] [RFC 0/2] opportunistic memory reclaim of a killed process

2019-04-11 Thread Michal Hocko
On Thu 11-04-19 07:51:21, Rik van Riel wrote: > On Wed, 2019-04-10 at 18:43 -0700, Suren Baghdasaryan via Lsf-pc wrote: > > The time to kill a process and free its memory can be critical when > > the > > killing was done to prevent memory shortages affecting system > > responsiveness. > > The OOM

Re: [PATCH -next] memstick: remove set but not used variable 'data'

2019-04-11 Thread YueHaibing
On 2019/4/11 19:01, Ulf Hansson wrote: > On Thu, 11 Apr 2019 at 04:48, YueHaibing wrote: >> >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> drivers/memstick/host/jmb38x_ms.c: In function 'jmb38x_ms_issue_cmd': >> drivers/memstick/host/jmb38x_ms.c:371:17: warning: >> variable 'data' set bu

Re: rseq/arm32: choosing rseq code signature

2019-04-11 Thread Florian Weimer
* Mathieu Desnoyers: > /* > * TODO: document trap instruction objdump output on each sub-architecture > * instruction sets, as well as instruction set extensions. > */ > #define RSEQ_SIG 0x Will RSEQ_SIG actually be needed at run time outside the rseq implementation library (whether it

Re: [PATCH -next] memory: tegra: Make terga20_mc_reset_ops static

2019-04-11 Thread YueHaibing
On 2019/4/11 17:33, Thierry Reding wrote: > On Wed, Apr 10, 2019 at 10:04:50PM +0800, Yue Haibing wrote: >> From: YueHaibing >> >> Fix sparse warning: >> >> drivers/memory/tegra/tegra20.c:277:33: warning: >> symbol 'terga20_mc_reset_ops' was not declared. Should it be static? >> >> Reported-by: H

Administracion de cuentas

2019-04-11 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se actuali

[PATCH net-next 12/12] net: hns3: code optimization for command queue' spin lock

2019-04-11 Thread Huazhong Tan
From: Peng Li This patch removes some redundant BH disable when initialization and uninitialization command queue. Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 4 ++-- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c

Re: [PATCH v3 0/1] Use HMM for ODP v3

2019-04-11 Thread Leon Romanovsky
On Wed, Apr 10, 2019 at 11:41:24AM -0400, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Changes since v1/v2 are about rebase and better comments in the code. > Previous cover letter slightly updated. > > > This patchset convert RDMA ODP to use HMM underneath this is motivated > by stronger c

Re: [PATCH v2 08/12] usb: typec: Registering real device entries for the muxes

2019-04-11 Thread Andy Shevchenko
On Wed, Apr 10, 2019 at 6:25 PM Heikki Krogerus wrote: > > Registering real device entries (struct device) for the mode > muxes as well as for the orientation switches. > > The Type-C mux code was deliberately attempting to avoid > creation of separate device entries for the orientation > switch a

Re: [PATCH RESEND 1/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs

2019-04-11 Thread jroe...@suse.de
On Wed, Apr 10, 2019 at 03:59:57PM +, Deucher, Alexander wrote: > > + a few AMD people > > > > Seeing this bug makes it more clear. I don't think this is a problem with > > the > > GPU. I think it's a problem with either the sbios or iommu. I think the > > original > > quirk added for sto

Re: [PATCH 0/4] mmc: mmci: add busy detect for stm32 sdmmc variant

2019-04-11 Thread Ludovic BARRE
Hi Ulf Just a gentleman ping about this series. I sent this series at same time of dt_mode (no dependence between both). BR Ludo On 3/5/19 5:10 PM, Ludovic Barre wrote: From: Ludovic Barre This patch series adds busy detect for stm32 sdmmc variant. Some adaptations are required: -Avoid to ch

Re: [PATCH RESEND 1/1] PCI: Add ATS-disable quirk for AMD Radeon R7 GPUs

2019-04-11 Thread Joerg Roedel
On Mon, Apr 08, 2019 at 01:37:25PM +0300, Nikolai Kostrigin wrote: > ATS is broken on this hardware (at least for Stoney Ridge > based laptop) and causes IOMMU stalls and > system failure. Disable ATS on these devices to make them > usable again with IOMMU enabled > Thanks to Joerg Roedel for help

[PATCH v9 10/11] input: max77650: add onkey support

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add support for the push- and slide-button events for max77650. Signed-off-by: Bartosz Golaszewski Acked-by: Dmitry Torokhov Acked-by: Pavel Machek --- drivers/input/misc/Kconfig | 9 +++ drivers/input/misc/Makefile | 1 + drivers/input/misc/max

Re: [PATCH] arm64: dts: rockchip: fix cts, rts pin assign of UART3 for rk3399

2019-04-11 Thread Heiko Stuebner
Am Samstag, 6. April 2019, 17:35:57 CEST schrieb Katsuhiro Suzuki: > This patch fixes pin assign of cts and rts signal of UART3. > > Currently GPIO3_C2 and C3 pins are assigned but TRM says that > GPIO3_C0 and C1 are correct. > > Refer: > RK3399 TRM v1.4 - Table 19-1 UART Interface Description

[PATCH v9 04/11] dt-bindings: input: add DT bindings for max77650

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the DT binding document for the onkey module of max77650. Signed-off-by: Bartosz Golaszewski Reviewed-by: Rob Herring --- .../bindings/input/max77650-onkey.txt | 26 +++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/de

[PATCH v9 11/11] MAINTAINERS: add an entry for max77650 mfd driver

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski I plan on extending this set of drivers so add myself as maintainer. Signed-off-by: Bartosz Golaszewski --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2359e12e4c41..ab4e8c30a4de 100644 --- a/MAINTAIN

[PATCH v9 05/11] mfd: core: document mfd_add_devices()

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a kernel doc for mfd_add_devices(). Signed-off-by: Bartosz Golaszewski Acked-by: Pavel Machek Acked-for-MFD-by: Lee Jones --- drivers/mfd/mfd-core.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.

[PATCH v9 09/11] leds: max77650: add LEDs support

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds basic support for LEDs for the max77650 PMIC. The device has three current sinks for driving LEDs. Signed-off-by: Bartosz Golaszewski Acked-by: Jacek Anaszewski Acked-by: Pavel Machek --- drivers/leds/Kconfig | 6 ++ drivers/leds/Makefile

[PATCH v9 08/11] gpio: max77650: add GPIO support

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add GPIO support for max77650 mfd device. This PMIC exposes a single GPIO line. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-max77650.c | 190 +

[PATCH v9 07/11] power: supply: max77650: add support for battery charger

2019-04-11 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add basic support for the battery charger for max77650 PMIC. Signed-off-by: Bartosz Golaszewski Reviewed-by: Linus Walleij --- drivers/power/supply/Kconfig| 7 + drivers/power/supply/Makefile | 1 + drivers/power/supply/max77650-charger.c |

<    1   2   3   4   5   6   7   8   >