[tip:locking/urgent] locking/lockdep: Make lockdep_unregister_key() honor 'debug_locks' again

2019-04-16 Thread tip-bot for Bart Van Assche
Commit-ID: 8b39adbee805c539a461dbf208b125b096152b1c Gitweb: https://git.kernel.org/tip/8b39adbee805c539a461dbf208b125b096152b1c Author: Bart Van Assche AuthorDate: Mon, 15 Apr 2019 10:05:38 -0700 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 08:21:51 +0200 locking/lockdep: Make l

[tip:x86/mm] x86/mm: Fix the 56-bit addresses memory map in Documentation/x86/x86_64/mm.txt

2019-04-16 Thread tip-bot for Stephen Kitt
Commit-ID: 89502a01979033a1c0c0c4d6d9aef07e59021005 Gitweb: https://git.kernel.org/tip/89502a01979033a1c0c0c4d6d9aef07e59021005 Author: Stephen Kitt AuthorDate: Mon, 15 Apr 2019 17:08:53 +0200 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 09:00:34 +0200 x86/mm: Fix the 56-bit add

linux-next: Tree for Apr 16

2019-04-16 Thread Stephen Rothwell
Hi all, Changes since 20190415: The netfilter tree lost its build failure. The netfilter-next tree lost its build failure. The drm tree still had its build failure for which I disabled a driver. The drm-misc tree lost its build failure. The tpmdd tree gained a build failure so I used the vers

Re: [PATCH] ARM: OMAP1: ams-delta: fix early boot crash when LED support is disabled

2019-04-16 Thread Pavel Machek
On Tue 2019-04-16 02:37:32, Aaro Koskinen wrote: > When we boot with the LED support (CONFIG_NEW_LEDS) disabled, > gpio_led_register_device() will return a NULL pointer and we try > to dereference it. Fix by checking also for a NULL pointer. > > Fixes: 19a2668a8ae3 ("ARM: OMAP1: ams-delta: Provide

Re: [PATCH v2 12/19] PM / devfreq: tegra: Avoid inconsistency of current frequency value

2019-04-16 Thread Chanwoo Choi
Hi, On 19. 4. 15. 오후 11:54, Dmitry Osipenko wrote: > The frequency value potentially could change in-between. It doesn't > cause any real problem at all right now, but that could change in the > future. Hence let's avoid the inconsistency. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devf

Re: [PATCH v2 13/19] PM / devfreq: tegra: Mark ACTMON's governor as immutable

2019-04-16 Thread Chanwoo Choi
Hi, On 19. 4. 15. 오후 11:54, Dmitry Osipenko wrote: > The ACTMON's governor supports only the Tegra's devfreq device and there > is no need to use any other governor, hence let's mark Tegra governor as > immutable to permanently stick it with Tegra's devfreq device. > > Signed-off-by: Dmitry Osipe

Re: [RESEND PATCH v3 1/2] power: supply: add input voltage limit property

2019-04-16 Thread Pavel Machek
Hi! > This patch exposes a new property, similar to input current limit, to > re-configure the maximum voltage from the external supply at runtime > based on system-level knowledge or user input. Well, and I suspect it should expose input power limit, not input voltage limit. DC-DC convertor eff

Re: [RFC] mmc: cqhci: clear pending interrupt and halt

2019-04-16 Thread Adrian Hunter
On 16/04/19 9:48 AM, Peng Fan wrote: > On i.MX8MM, we are running Dual Linux OS, with 1st Linux using SD Card > as rootfs storage, 2nd Linux using eMMC as rootfs storage. We let the > the 1st linux configure power/clock for the 2nd Linux. > > When the 2nd Linux is booting into rootfs stage, we let

Re: [PATCH] x86/PCI: fix a memory leak bug

2019-04-16 Thread Ingo Molnar
* Wenwen Wang wrote: > In pcibios_irq_init(), the PCI IRQ routing table 'pirq_table' is firstly > found through pirq_find_routing_table(). If the table is not found and > 'CONFIG_PCI_BIOS' is defined, the table is then allocated in > pcibios_get_irq_routing_table() using kmalloc(). In the follo

[PATCH] lib/siphash.c: mark expected switch fall-throughs

2019-04-16 Thread Stephen Rothwell
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch aims to suppress up to 18 missing-break-in-switch false positives on some architectures. Cc: Jason A. Donenfeld Cc: Gustavo A. R. Silva Cc: Kees Cook Signed-off-by: Stephen R

Re: [PATCH 1/1] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-16 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Wed, Apr 10, 2019 at 4:43 AM Ingo Molnar wrote: > > > > > > * Elena Reshetova wrote: > > > > > 2) Andy's tests, misc-tests: ./timing_test_64 10M sys_enosys > > > base:1000 loops in > > > 1.62224s = 162.22 nsec / l

Re: [RFC] mmc: cqhci: clear pending interrupt and halt

2019-04-16 Thread Peng Fan
Hi Adrian, > > On 16/04/19 9:48 AM, Peng Fan wrote: > > On i.MX8MM, we are running Dual Linux OS, with 1st Linux using SD Card > > as rootfs storage, 2nd Linux using eMMC as rootfs storage. We let the > > the 1st linux configure power/clock for the 2nd Linux. > > > > When the 2nd Linux is booting

Re: [PATCH v2 14/19] PM / devfreq: tegra: Move governor registration to driver's probe

2019-04-16 Thread Chanwoo Choi
On 19. 4. 15. 오후 11:55, Dmitry Osipenko wrote: > There is no need to register the ACTMON's governor separately from > the driver, hence let's move the registration into the driver's probe > function for consistency and to make code cleaner a tad. > > Signed-off-by: Dmitry Osipenko > --- > driver

[PATCH] kernel/compat.c: mark expected switch fall-throughs

2019-04-16 Thread Stephen Rothwell
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch aims to suppress up to 3 missing-break-in-switch false positives on some architectures. Cc: Arnd Bergmann Cc: Deepa Dinamani Cc: Gustavo A. R. Silva Cc: Kees Cook Cc: Jann H

Re: [PATCH 1/3] dt-bindings: mediatek: update bindings for MT7629 SoC

2019-04-16 Thread Matthias Brugger
On 17/02/2019 14:50, Ryder Lee wrote: > From: Ryder Lee > > This updates bindings for MT7629 SoC, which includes very basic items > such as system timer, UART, sysirq and scpsys unit. > > Signed-off-by: Ryder Lee > Cc: Marc Zyngier > Cc: Greg Kroah-Hartman > --- patch 1 and 2 applied. Tha

[PATCH v5 0/4] support reserving crashkernel above 4G on arm64 kdump

2019-04-16 Thread Chen Zhou
When crashkernel is reserved above 4G in memory, kernel should reserve some amount of low memory for swiotlb and some DMA buffers. So there may be two crash kernel regions, one is below 4G, the other is above 4G. Crash dump kernel reads more than one crash kernel regions via a dtb property under n

Re: [PATCH] x86/entry/64: randomize kernel stack offset upon syscall

2019-04-16 Thread Ingo Molnar
* Reshetova, Elena wrote: > > 4) > > > > But before you tweak the patch, a more fundamental question: > > > > Does the stack offset have to be per *syscall execution* randomized? > > Which threats does this protect against that a simpler per task syscall > > random offset wouldn't protect aga

Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-16 Thread Maxime Ripard
On Mon, Apr 15, 2019 at 06:30:10PM +0200, Clément Péron wrote: > > > I didn't change the driver and the SPDIF is working what's irrelevant > > > in declaring the driver as compatible ? > > > > It's working by accident. > > > > This won't work for example: > > https://elixir.bootlin.com/linux/latest

Re: [PATCH] staging: comedi: adv_pci1710: fix spelling mistake: "droput" -> "dropout"

2019-04-16 Thread Mukesh Ojha
On 4/15/2019 11:19 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a dev_error message. Fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/staging/comedi/drivers/adv_pci1710.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v2 15/19] PM / devfreq: tegra: Synchronize IRQ after masking it in hardware

2019-04-16 Thread Chanwoo Choi
Hi, In this patchset, the patch11 adds new 'disable_interrupt' goto statement and then patch15 removes 'disable_interrupt' goto statement again. Actually, it is inefficient. If you change the order of patches, you could remove this stuff. On 19. 4. 15. 오후 11:55, Dmitry Osipenko wrote: > There is

Re: [PATCH v2 18/19] PM / devfreq: tegra: Enable COMPILE_TEST for the driver

2019-04-16 Thread Chanwoo Choi
On 19. 4. 15. 오후 11:55, Dmitry Osipenko wrote: > The driver's compilation doesn't have any specific dependencies, hence > the COMPILE_TEST option can be supported in Kconfig. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

[tip:perf/urgent] kprobes: Fix error check when reusing optimized probes

2019-04-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 5f843ed415581cfad4ef8fefe31c138a8346ca8a Gitweb: https://git.kernel.org/tip/5f843ed415581cfad4ef8fefe31c138a8346ca8a Author: Masami Hiramatsu AuthorDate: Mon, 15 Apr 2019 15:01:25 +0900 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 09:38:16 +0200 kprobes: Fix error che

[tip:x86/urgent] x86/mm: Prevent bogus warnings with "noexec=off"

2019-04-16 Thread tip-bot for Thomas Gleixner
Commit-ID: 510bb96fe5b3480b4b22d815786377e54cb701e7 Gitweb: https://git.kernel.org/tip/510bb96fe5b3480b4b22d815786377e54cb701e7 Author: Thomas Gleixner AuthorDate: Mon, 15 Apr 2019 10:46:07 +0200 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 09:42:10 +0200 x86/mm: Prevent bogus w

Re: [v2 RFC PATCH 0/9] Another Approach to Use PMEM as NUMA Node

2019-04-16 Thread Michal Hocko
On Mon 15-04-19 17:09:07, Yang Shi wrote: > > > On 4/12/19 1:47 AM, Michal Hocko wrote: > > On Thu 11-04-19 11:56:50, Yang Shi wrote: > > [...] > > > Design > > > == > > > Basically, the approach is aimed to spread data from DRAM (closest to > > > local > > > CPU) down further to PMEM and di

Re: [PATCH v2 17/19] PM / devfreq: tegra: Support Tegra30

2019-04-16 Thread Chanwoo Choi
Hi, On 19. 4. 15. 오후 11:55, Dmitry Osipenko wrote: > The devfreq driver can be used on Tegra30 without any code change and > it works perfectly fine, the default Tegra124 parameters are good enough > for Tegra30. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/Kconfig | 4 ++-

Re: [PATCH] Fix warning and undefined behavior in mmc voltage handling

2019-04-16 Thread Ulf Hansson
On Fri, 12 Apr 2019 at 11:34, Pavel Machek wrote: > > !voltage_ranges is tested for too late, allowing warning and undefined > behavior. Fix that. > > Signed-off-by: Pavel Machek Pavel, thanks for your patch. Would you mind re-posting to linux-mmc so I can get it into the patchtracker. Please a

[tip:x86/urgent] x86/reboot: Use EFI reboot for Acer TravelMate X514-51T

2019-04-16 Thread tip-bot for Jian-Hong Pan
Commit-ID: 5767575c1211e8958e5dd80d6542998b519c8478 Gitweb: https://git.kernel.org/tip/5767575c1211e8958e5dd80d6542998b519c8478 Author: Jian-Hong Pan AuthorDate: Fri, 12 Apr 2019 16:01:53 +0800 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 09:49:16 +0200 x86/reboot: Use EFI reboo

Re: [PATCH-tip v3 02/14] locking/rwsem: Make owner available even if !CONFIG_RWSEM_SPIN_ON_OWNER

2019-04-16 Thread Ingo Molnar
* Waiman Long wrote: > > It can be seen that a lot more readers got the lock via optimistic > > spinning.  One possibility is that reader optimistic spinning causes > > readers to spread out into more lock acquisition groups than without. The > > K3 results show that grouping more readers into

Re: [PATCH 1/7] s390: zcrypt: driver callback to indicate resource in use

2019-04-16 Thread Pierre Morel
On 11/04/2019 23:03, Tony Krowiak wrote: Introduces a new driver callback to prevent a root user from unbinding an AP queue from its device driver if the queue is in use. This prevents a root user from inadvertently taking a queue away from a guest and giving it to the host, or vice versa. The ca

Re: [PATCH 18/24] dt-bindings: timer: mtk-timer: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 23/03/2019 22:16, Fabien Parent wrote: > Add binding documentation of mtk-timer for MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + > 1 file changed, 1 insertion(+) applied to v5.1-next/dts64 Daniel let me know if

Re: [PATCH v4 1/2] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-16 Thread Marco Felsch
Hi Agnus, On 19-04-15 16:53, Angus Ainslie (Purism) wrote: > This is the development kit board for the Librem 5. The current level of > support yields a working console and is able to boot userspace from the > Network or eMMC. > > Additional subsystems that are active : > > - Both USB ports > -

Re: [PATCH 19/24] dt-bindings: spi: spi-mt65xx: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 23/03/2019 22:16, Fabien Parent wrote: > Add binding documentation of spi-mt65xx for MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + > 1 file changed, 1 insertion(+) > applied to v5.1-next/dts64 Mark let me know if you wa

Re: [PATCH v1] mfd: intel-lpss: Add Intel Comet Lake PCI IDs

2019-04-16 Thread Andy Shevchenko
On Tue, Apr 16, 2019 at 6:10 AM Evan Green wrote: > On Tue, Apr 9, 2019 at 11:11 PM Andy Shevchenko > wrote: > > > > Intel Comet Lake has the same LPSS than Intel Cannon Lake. > > Add the new IDs to the list of supported devices. > > static const struct pci_device_id intel_lpss_pci_ids[] = { >

Re: [PATCH 20/24] dt-bindings: serial: mtk-uart: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 23/03/2019 22:16, Fabien Parent wrote: > Add binding documentation of mtk-uart for MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + > 1 file changed, 1 insertion(+) > applied to v5.1-next/dts64 Thanks. > diff --git a/Doc

Dear Friend (Assalamu Alaikum),

2019-04-16 Thread AISHA GADDAFI
Dear Friend (Assalamu Alaikum), I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi).

Re: [PATCH 21/24] dt-bindings: irq: mtk,sysirq: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 23/03/2019 22:16, Fabien Parent wrote: > Add binding documentation of mediatek,sysirq for MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > .../bindings/interrupt-controller/mediatek,sysirq.txt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) applied to v5.1-next/dts6

Re: [PATCH 22/24] dt-bindings: i2c: i2c-mtk: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 23/03/2019 22:16, Fabien Parent wrote: > Add binding documentation of i2c-mtk for MT8516 SoC. > > Signed-off-by: Fabien Parent > --- > Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 + > 1 file changed, 1 insertion(+) > applied to v5.1-next/dts64 Wolfram let me know if you want

Re: [PATCH v4 0/2] Add support for the Purism Librem5 devkit

2019-04-16 Thread Marco Felsch
Hi Agnus, On 19-04-15 16:53, Angus Ainslie (Purism) wrote: > The Librem5 devkit is based on the imx8mq from NXP. This is a default > devicetree to boot the board to a command prompt. You should also provide a patch which adds the devicetree to the yaml file, see: Documentation/devicetree/bindings

Re: [PATCH 3/3] iio: imu: st_lsm6dsx: Add i3c basic support

2019-04-16 Thread Lorenzo Bianconi
> > On Mon, 15 Apr 2019 21:19:41 +0200 > Vitor Soares wrote: > > > For today the st_lsm6dsx driver support lsm6dso sensor only in > > spi and i2c mode. > > > > The lsm6dso is also i3c capable so lets give i3c support to it. > > > > Signed-off-by: Vitor Soares > > --- > > drivers/iio/imu/st_lsm6d

[PATCH] mmc: core: Fix warning and undefined behavior in mmc voltage handling

2019-04-16 Thread Pavel Machek
!voltage_ranges is tested for too late, allowing warning and undefined behavior. Fix that. Signed-off-by: Pavel Machek diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 3a4402a..b3fa9c9 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -363,11 +363,11 @@ i

Re: [PATCH v2 05/19] PM / devfreq: tegra: Replace write memory barrier with the read barrier

2019-04-16 Thread Chanwoo Choi
Hi, On 19. 4. 15. 오후 11:54, Dmitry Osipenko wrote: > The write memory barrier isn't needed because the BUS buffer is flushed > by read after write that happens after the removed wmb(), we will also > use readl() instead of the relaxed version to ensure that read is indeed > completed. > > Signed-

Re: [PATCH] Fix warning and undefined behavior in mmc voltage handling

2019-04-16 Thread Pavel Machek
On Tue 2019-04-16 09:48:51, Ulf Hansson wrote: > On Fri, 12 Apr 2019 at 11:34, Pavel Machek wrote: > > > > !voltage_ranges is tested for too late, allowing warning and undefined > > behavior. Fix that. > > > > Signed-off-by: Pavel Machek > > Pavel, thanks for your patch. > > Would you mind re-p

Re: [PATCH] spi: pxa2xx: Add support for Intel Comet Lake

2019-04-16 Thread Andy Shevchenko
On Tue, Apr 16, 2019 at 6:28 AM Evan Green wrote: > > Add PCI IDs for SPI on Comet Lake. > I didn't check IDs, perhaps Jarkko can do it. >From other prospectives looks good. Acked-by: Andy Shevchenko > Signed-off-by: Evan Green > > --- > > drivers/spi/spi-pxa2xx.c | 4 > 1 file changed,

Re: Alleged fix for writer stall on -rcu branch dev

2019-04-16 Thread Sebastian Andrzej Siewior
On 2019-04-15 15:26:52 [-0700], Paul E. McKenney wrote: > I feel a bit guilty monopolizing your system... Don't be. In the end I want my stuff merged without causing any regressions. > I have accumulated a collection of forward-progress ideas, so one approach > would be for me to get those writte

Re: [PATCH 23/24] arm64: dts: mediatek: add dtsi for MT8516

2019-04-16 Thread Matthias Brugger
On 28/03/2019 20:22, Rob Herring wrote: > On Sat, Mar 23, 2019 at 4:17 PM Fabien Parent wrote: >> >> The MT8516 SoC provides the following peripherals: GPIO, UART, USB2, >> SPI, eMMC, SDIO, NAND, Flash, ADC, I2C, PWM, Timers, IR, Ethernet, and >> Audio (I2S, SPDIF, TDM). >> >> This commit is ad

[PATCH] x86/tlb: Revert: Align TLB invalidation info

2019-04-16 Thread Peter Zijlstra
It was found that under some .config options (notably L1_CACHE_SHIFT=7) and compiler combinations this on-stack alignment leads to a 320 byte stack usage, which then triggers a KASAN stack warning elsewhere. Using 320 bytes of stack space for a 40 byte structure is ludicrous and clearly not righ

Re: [PATCH 3/3] iio: imu: st_lsm6dsx: Add i3c basic support

2019-04-16 Thread Boris Brezillon
On Tue, 16 Apr 2019 09:58:33 +0200 Lorenzo Bianconi wrote: > > > > On Mon, 15 Apr 2019 21:19:41 +0200 > > Vitor Soares wrote: > > > > > For today the st_lsm6dsx driver support lsm6dso sensor only in > > > spi and i2c mode. > > > > > > The lsm6dso is also i3c capable so lets give i3c support to

Re: [PATCH v2] irqchip/gicv3-its: fix some definitions of inner cacheability attributes

2019-04-16 Thread Marc Zyngier
Hi Hongbo, On 16/04/2019 02:14, Yao HongBo wrote: > Hi Marc, > > sorry for ping you... > > What's your suggestion for this patch? I look forward to your reply. This patch looks fine, although it doesn't fix anything as far as I know (doing write-through instead of write-back cannot lead to any

[tip:x86/urgent] x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T

2019-04-16 Thread tip-bot for Jian-Hong Pan
Commit-ID: 0082517fa4bce073e7cf542633439f26538a14cc Gitweb: https://git.kernel.org/tip/0082517fa4bce073e7cf542633439f26538a14cc Author: Jian-Hong Pan AuthorDate: Fri, 12 Apr 2019 16:01:53 +0800 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 10:01:24 +0200 x86/reboot, efi: Use EFI

[tip:WIP.core/stacktrace 28/32] kernel/livepatch/transition.c:261: undefined reference to `stack_trace_save_tsk_reliable'

2019-04-16 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/stacktrace head: ee23ee068fe24272f77ff014181286db32179754 commit: 6f6b2fc2fbf712e39df84edc62265273259f8aa1 [28/32] livepatch: Simplify stack trace retrieval config: x86_64-randconfig-s5-04161121 (attached as .config) c

Re: [PATCH RESEND v3 4/4] pinctrl: add drive for I2C related pins on MT8183

2019-04-16 Thread Matthias Brugger
On 25/03/2019 13:41, Zhiyong Tao wrote: > This patch provides the advanced drive for I2C used pins on MT8183. > The detail strength specification description of the I2C pin: > When E1=0/E0=0, the strength is 0.125mA. > When E1=0/E0=1, the strength is 0.25mA. > When E1=1/E0=0, the strength is 0.5

Re: [PATCH] ACPI / device_sysfs: change _ADR representation to 64 bits

2019-04-16 Thread Rafael J. Wysocki
On Tue, Apr 16, 2019 at 5:29 AM Vinod Koul wrote: > > On 15-04-19, 10:18, Pierre-Louis Bossart wrote: > > Standards such as the MIPI DisCo for SoundWire 1.0 specification > > assume the _ADR field is 64 bits. > > > > _ADR is defined as an "Integer" represented as 64 bits since ACPI 2.0 > > release

Re: [PATCH 18/24] dt-bindings: timer: mtk-timer: add support for MT8516

2019-04-16 Thread Daniel Lezcano
On 16/04/2019 09:54, Matthias Brugger wrote: > > > On 23/03/2019 22:16, Fabien Parent wrote: >> Add binding documentation of mtk-timer for MT8516 SoC. >> >> Signed-off-by: Fabien Parent >> --- >> Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + >> 1 file changed, 1 insertio

Re: [PATCH v2 1/2] arm64: dts: mt8173: correct cpu type of cpu2 and cpu3 to cortex-a72

2019-04-16 Thread Matthias Brugger
On 25/02/2019 07:51, Seiya Wang wrote: > The cpu type of cpu2 and cpu3 should be cortex-a72, not cortex-a57. > > Signed-off-by: Seiya Wang > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > applied to v5.1-next/dts64 Sorry for

[PATCH v10] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-04-16 Thread Erin Lo
From: Ben Ho Add basic chip support for Mediatek 8183, include uart node with correct uart clocks, pwrap device Add clock controller nodes, include topckgen, infracfg, apmixedsys and subsystem. Signed-off-by: Ben Ho Signed-off-by: Erin Lo Signed-off-by: Seiya Wang Signed-off-by: Weiyi Lu Si

Re: [PATCH 2/5] mmc: mtk-sd: don't hard-code interrupt trigger type

2019-04-16 Thread Chaotian Jing
On Tue, 2019-04-16 at 14:47 +1000, NeilBrown wrote: > When using devicetree for configuration, interrupt trigger type > should be described in the dts file, not hard-coded in the C code. > > The mtk-sd silicon in the mt7621 soc uses an active-high interrupt > and so cannot be used with the current

[PATCH v10] Add basic and clock support for Mediatek MT8183 SoC

2019-04-16 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. Based on v5.1-rc1 and http://lists.infradead.org/pipermail/linux-mediatek/2019-Ma

[tip:sched/core] sched/core: Document that RT task priorities are 1...99

2019-04-16 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 37a8f8590f307db8f8cfa62dfd82b3fc0978607c Gitweb: https://git.kernel.org/tip/37a8f8590f307db8f8cfa62dfd82b3fc0978607c Author: Sebastian Andrzej Siewior AuthorDate: Wed, 3 Apr 2019 23:08:21 +0200 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 10:06:08 +0200 sched/core: Do

[tip:x86/urgent] x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"

2019-04-16 Thread tip-bot for Peter Zijlstra
Commit-ID: 780e0106d468a2962b16b52fdf42898f2639e0a0 Gitweb: https://git.kernel.org/tip/780e0106d468a2962b16b52fdf42898f2639e0a0 Author: Peter Zijlstra AuthorDate: Tue, 16 Apr 2019 10:03:35 +0200 Committer: Ingo Molnar CommitDate: Tue, 16 Apr 2019 10:10:13 +0200 x86/mm/tlb: Revert "x86/

Re: [PATCH 22/24] dt-bindings: i2c: i2c-mtk: add support for MT8516

2019-04-16 Thread Wolfram Sang
On Tue, Apr 16, 2019 at 09:58:09AM +0200, Matthias Brugger wrote: > > > On 23/03/2019 22:16, Fabien Parent wrote: > > Add binding documentation of i2c-mtk for MT8516 SoC. > > > > Signed-off-by: Fabien Parent > > --- > > Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 + > > 1 file change

Re: [PATCH 5/6] KVM: SVM: Add support for KVM_SEV_GM_GET_DIGEST command

2019-04-16 Thread Borislav Petkov
On Tue, Apr 16, 2019 at 07:54:40AM +, Hao Feng wrote: > Thanks for the comments, I thought there could be multiple signers... There can be multiple signers but as you've read in the sections above, those SOBs all have a meaning and in your case it wasn't clear what that meaning is. > After re

Re: [PATCH 19/24] dt-bindings: spi: spi-mt65xx: add support for MT8516

2019-04-16 Thread lei liu
On Tue, 2019-04-16 at 09:55 +0200, Matthias Brugger wrote: > > On 23/03/2019 22:16, Fabien Parent wrote: > > Add binding documentation of spi-mt65xx for MT8516 SoC. > > > > Signed-off-by: Fabien Parent > > --- > > Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 1 + > > 1 file changed, 1

Re: [PATCH v9] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-04-16 Thread Matthias Brugger
On 18/03/2019 19:42, kbuild test robot wrote: > Hi Erin, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on robh/for-next] > [also build test ERROR on v5.1-rc1 next-20190318] > [if your patch is applied to the wrong git tree, please drop us a note to > help i

Re: [PATCH v3 0/9] klp-convert livepatch build tooling

2019-04-16 Thread Miroslav Benes
On Tue, 16 Apr 2019, Balbir Singh wrote: > On Wed, Apr 10, 2019 at 11:50:49AM -0400, Joe Lawrence wrote: > > Hi folks, > > > > This is the third installment of the klp-convert tool for generating and > > processing livepatch symbols for livepatch module builds. For those > > following along at h

[PATCH 1/3] rtc: mxc: fix possible race condition

2019-04-16 Thread Alexandre Belloni
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc struct before requesting the IRQ. Signed-off-by: Alexandre Be

[PATCH 2/3] rtc: mxc: set range

2019-04-16 Thread Alexandre Belloni
Let the core handle the range, and in particular the imx1 offsetting. This has the benefit of extending the range of the RTC further than 365 days and making .read_time useful again on imx1. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mxc.c | 30 +- 1 file ch

[PATCH 3/3] rtc: mxc: use .set_time

2019-04-16 Thread Alexandre Belloni
Use .set_time instead of the deprecated .set_mmss64. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mxc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index 31d3f375bc0f..e697e96612bb 100644 --- a/drivers/rtc/rtc-mx

Re: [PATCH 1/4] dt-bindings: sound: sun4i-spdif: Add Allwinner H6 compatible

2019-04-16 Thread Clément Péron
Hi, On Tue, 16 Apr 2019 at 09:34, Maxime Ripard wrote: > > On Mon, Apr 15, 2019 at 06:30:10PM +0200, Clément Péron wrote: > > > > I didn't change the driver and the SPDIF is working what's irrelevant > > > > in declaring the driver as compatible ? > > > > > > It's working by accident. > > > > > >

Re: [PATCH v2 19/19] PM / devfreq: Introduce driver for NVIDIA Tegra20

2019-04-16 Thread Chanwoo Choi
Hi, On 19. 4. 15. 오후 11:55, Dmitry Osipenko wrote: > Add devfreq driver for NVIDIA Tegra20 SoC's. The driver periodically > reads out Memory Controller counters and adjusts memory frequency based > on the memory clients activity. > > Signed-off-by: Dmitry Osipenko > --- > MAINTAINERS

[PATCH] pinctrl: mediatek: Add MT8516 Pinctrl driver

2019-04-16 Thread Fabien Parent
This commit adds the pinctrl driver for the MediaTek's MT8516 SoC. Signed-off-by: Fabien Parent --- v2: * Don't assign anything to eint_regs since the registers are similar to the default provided by the common pinctrl driver. --- drivers/pinctrl/mediatek/Kconfig

[PATCH 4/4] rtc: mc13xxx: fix style issue

2019-04-16 Thread Alexandre Belloni
Use unsigned int instead of unsigned. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mc13xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 475def1604e6..afce2c0b4bd6 100644 --- a/drivers/rtc/rtc-mc13xxx.c +

[PATCH 1/4] rtc: mc13xxx: set range

2019-04-16 Thread Alexandre Belloni
All supported PMICs have a 15 bits days counter and hours, minutes, seconds Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mc13xxx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 0fa33708fc49..5

[PATCH 3/4] rtc: mc13xxx: convert to SPDX identifier

2019-04-16 Thread Alexandre Belloni
Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mc13xxx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index d8fab85fce61..475def1604e6 100644 ---

Re: [RFC] mmc: cqhci: clear pending interrupt and halt

2019-04-16 Thread Adrian Hunter
On 16/04/19 10:27 AM, Peng Fan wrote: > Hi Adrian, > >> >> On 16/04/19 9:48 AM, Peng Fan wrote: >>> On i.MX8MM, we are running Dual Linux OS, with 1st Linux using SD Card >>> as rootfs storage, 2nd Linux using eMMC as rootfs storage. We let the >>> the 1st linux configure power/clock for the 2nd L

Re: [PATCH] kernel/compat.c: mark expected switch fall-throughs

2019-04-16 Thread Arnd Bergmann
On Tue, Apr 16, 2019 at 9:29 AM Stephen Rothwell wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch aims to suppress up to 3 missing-break-in-switch false > positives on some architectures. > > Cc: Arnd Bergmann

[PATCH 2/4] rtc: mc13xxx: use .set_time

2019-04-16 Thread Alexandre Belloni
Use .set_time instead of the deprecated .set_mmss64. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-mc13xxx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index 5c2862fcb2df..d8fab85fce61 100644 --- a/driver

[PATCH 5/5] rtc: imxdi: convert to SPDX identifier

2019-04-16 Thread Alexandre Belloni
Use SPDX-License-Identifier instead of a verbose license text. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-imxdi.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 2e1f5069c67f..6342bc403645 100644 -

[PATCH 4/5] rtc: imxdi: remove unnecessary check

2019-04-16 Thread Alexandre Belloni
The RTC core already ensures the alarm is set to a time in the future, it is not necessary to check again in the driver. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-imxdi.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rt

[PATCH 1/5] rtc: imxdi: set range

2019-04-16 Thread Alexandre Belloni
The RTC Time Counter MSB Register contains the 32 most significant bits (47:16) of the 47-bit RTC Time Counter. Clocked by a 32.768 KHz clock, this register is effectively a 32-bit seconds counter. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-imxdi.c | 15 ++- 1 file changed,

[PATCH 2/5] rtc: imxdi: switch to rtc_time64_to_tm/rtc_tm_to_time64

2019-04-16 Thread Alexandre Belloni
Call the 64bit versions of rtc_tm time conversion now that the range is enforced by the core. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-imxdi.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 43d9cad69

Re: [PATCH v1 1/1] arm64: dts: mt8173: add pmu nodes for mt8173

2019-04-16 Thread Seiya Wang
On Fri, 2019-02-08 at 16:04 +0100, Matthias Brugger wrote: > > On 09/01/2019 09:21, Seiya Wang wrote: > > This patch adds the device nodes of ARM Performance Monitor Uint > > for mt8173. > > > > Signed-off-by: Seiya Wang > > --- > > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 14 ++ >

[PATCH 3/5] rtc: imxdi: use .set_time

2019-04-16 Thread Alexandre Belloni
Use .set_time instead of the deprecated .set_mmss. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-imxdi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index 8a7ad1502e4f..254bc894105b 100644 --- a/drivers/rtc/rt

Re: [GIT PULL] extcon fixes for v5.1-rc4

2019-04-16 Thread Chanwoo Choi
Dear Greg, Gently ping. Best Regards, Chanwoo Choi On 19. 4. 5. 오전 10:21, Chanwoo Choi wrote: > Dear Greg, > > This is extcon-fixes pull request for v5.1-rc4. I add detailed description of > this pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi

Re: [PATCH v3 1/3] ARM: dts: da850: add cpu node and operating points to DT

2019-04-16 Thread Bartosz Golaszewski
pon., 15 kwi 2019 o 12:21 Sekhar Nori napisał(a): > > On 12/04/19 9:01 PM, Bartosz Golaszewski wrote: > > pt., 12 kwi 2019 o 15:53 Sekhar Nori napisał(a): > >> > >> On 12/04/19 5:41 PM, Bartosz Golaszewski wrote: > >>> pt., 12 kwi 2019 o 13:26 Sekhar Nori napisał(a): > > Hi Bartosz, >

Re: [RESEND PATCH v3 1/2] power: supply: add input voltage limit property

2019-04-16 Thread Enric Balletbo i Serra
Hi Pavel, On 16/4/19 9:19, Pavel Machek wrote: > Hi! > >> This patch exposes a new property, similar to input current limit, to >> re-configure the maximum voltage from the external supply at runtime >> based on system-level knowledge or user input. > > Well, and I suspect it should expose input

Re: [alsa-devel] [PATCH] soundwire: cdns: Fix compilation error on arm64

2019-04-16 Thread Jan Kotas
> On 14 Apr 2019, at 11:44, Vinod Koul wrote: > > > On 04-04-19, 09:12, Jan Kotas wrote: >> On arm64 the cadence_master.c file doesn't compile. >> >> readl and writel are undefined. >> This patch fixes that by including io.h. > > And I cant verify that without hacking kconfig to force compile

Re: [PATCH 20/57] docs: livepatch: convert it to ReST format

2019-04-16 Thread Petr Mladek
On Mon 2019-04-15 23:55:45, Mauro Carvalho Chehab wrote: > Convert livepatch documentation to ReST format. The changes > are mostly trivial, as the documents are already on a good > shape. Just a few markup changes are needed for Sphinx to > properly parse the docs. > > Signed-off-by: Mauro Carval

[PATCH 2/2] dt-bindings: iio: tsl2583: convert bindings to YAML format

2019-04-16 Thread Brian Masney
Convert the tsl2583 device tree bindings to the new YAML format. Signed-off-by: Brian Masney --- I can no longer find the data sheet for this device linked on AMS's site. The datasheet is still on Digikey [1], however I didn't include it in the binding document since I assume that we should only

[PATCH] drivers: memory: This patch fix the following checkpatch warning.

2019-04-16 Thread Mohan Kumar
Switch hardcoded function name with a reference to __func__ making the code more maintainable WARNING: Prefer using '"%s...", __func__' to using function's name, in a string Use pr_warn instead of printk WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev, ... then dev_err(dev, ... then pr

[PATCH 1/2] dt-bindings: iio: tsl2772: convert bindings to YAML format

2019-04-16 Thread Brian Masney
Convert the tsl2772 device tree bindings to the new YAML format. Signed-off-by: Brian Masney --- .../devicetree/bindings/iio/light/tsl2772.txt | 42 - .../bindings/iio/light/tsl2772.yaml | 85 +++ 2 files changed, 85 insertions(+), 42 deletions(-) delete mode 1

Re: [PATCH] drivers: memory: This patch fix the following checkpatch warning.

2019-04-16 Thread Roger Quadros
Hi Mohan, On 16/04/2019 11:46, Mohan Kumar wrote: > Switch hardcoded function name with a reference to __func__ making the > code more maintainable > > WARNING: Prefer using '"%s...", __func__' to using function's name, in a > string > > Use pr_warn instead of printk > > WARNING: Prefer [subsys

Re: [PATCH 2/2] driver core: fix statics initilisation

2019-04-16 Thread Rafael J. Wysocki
On Mon, Apr 15, 2019 at 5:29 PM Willy Wolff wrote: > > Thank you for your review. > > I follow https://kernelnewbies.org/FirstKernelPatch to write this patch. > It's not stated that checkpatch.pl is for new patches only. Moreover, > https://kernelnewbies.org/FirstKernelPatch#Running_checkpatch.pl

Re: [PATCH 19/24] dt-bindings: spi: spi-mt65xx: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 16/04/2019 10:25, lei liu wrote: > On Tue, 2019-04-16 at 09:55 +0200, Matthias Brugger wrote: >> >> On 23/03/2019 22:16, Fabien Parent wrote: >>> Add binding documentation of spi-mt65xx for MT8516 SoC. >>> >>> Signed-off-by: Fabien Parent >>> --- >>> Documentation/devicetree/bindings/spi/sp

Re: [PATCH 22/24] dt-bindings: i2c: i2c-mtk: add support for MT8516

2019-04-16 Thread Matthias Brugger
On 16/04/2019 10:14, Wolfram Sang wrote: > On Tue, Apr 16, 2019 at 09:58:09AM +0200, Matthias Brugger wrote: >> >> >> On 23/03/2019 22:16, Fabien Parent wrote: >>> Add binding documentation of i2c-mtk for MT8516 SoC. >>> >>> Signed-off-by: Fabien Parent --- >>> Documentation/devicetree/bind

Re: [PATCH] kernel/compat.c: mark expected switch fall-throughs

2019-04-16 Thread Stephen Rothwell
Hi Arnd, On Tue, 16 Apr 2019 10:32:55 +0200 Arnd Bergmann wrote: > > Acked-by: Arnd Bergmann Thanks > It's a bit inconsistent though since put_compat_sigset() has the > comments in separate lines, as of commit 89976005536c > ("include/linux/compat.h: mark expected switch fall-throughs"). OK,

Re: [PATCH,v1] media: mtk-vcodec: fix vp9 content playback error with show exist frame

2019-04-16 Thread gtk_ruiwang
Dear Hans, all, Could you please help to review this patch? This is a fix about vp9 show_existing_frames. Sincerely thanks, BR On Mon, 2019-04-01 at 16:18 +0800, maoguang.m...@mediatek.com wrote: > From: Maoguang Meng > > Update referenced frame buffer's reference count when playing vp9 > con

Re: [PATCH v1 1/1] arm64: dts: mt8173: add pmu nodes for mt8173

2019-04-16 Thread Matthias Brugger
On 16/04/2019 10:35, Seiya Wang wrote: > On Fri, 2019-02-08 at 16:04 +0100, Matthias Brugger wrote: >> >> On 09/01/2019 09:21, Seiya Wang wrote: >>> This patch adds the device nodes of ARM Performance Monitor Uint >>> for mt8173. >>> >>> Signed-off-by: Seiya Wang >>> --- >>> arch/arm64/boot/dt

Re: [PATCH 4.9 72/76] arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value

2019-04-16 Thread Greg Kroah-Hartman
On Mon, Apr 15, 2019 at 03:01:51PM -0700, Nathan Chancellor wrote: > On Mon, Apr 15, 2019 at 08:44:36PM +0200, Greg Kroah-Hartman wrote: > > From: Will Deacon > > > > commit 045afc24124d80c6998d9c770844c67912083506 upstream. > > > > Rather embarrassingly, our futex() FUTEX_WAKE_OP implementation

Re: [PATCH] lib/siphash.c: mark expected switch fall-throughs

2019-04-16 Thread Jason A. Donenfeld
On Tue, Apr 16, 2019 at 4:27 PM Stephen Rothwell wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > This patch aims to suppress up to 18 missing-break-in-switch false > positives on some architectures. > > Cc: Jason A. Done

Re: [PATCH v2 4/4] devfreq: add mediatek cci devfreq

2019-04-16 Thread Chanwoo Choi
Hi Andrew-sh.Cheng, Please add the dt-binding documentation. On 19. 3. 29. 오후 3:46, Andrew-sh.Cheng wrote: > This adds a devfreq driver for the Cache Coherent Interconnect (CCI) > of the Mediatek MT8183. > > On the MT8183 the CCI is supplied by the same regulator as the LITTLE > cores. The drive

  1   2   3   4   5   6   7   8   9   10   >