[PATCH v7.1 5/9] drm: tda998x: use cec_notifier_conn_(un)register

2019-08-19 Thread Dariusz Marcinkiewicz
Use the new cec_notifier_conn_(un)register() functions to (un)register the notifier for the HDMI connector, and fill in the cec_connector_info. Changes since v7: - typo fix Changes since v6: - move cec_notifier_conn_unregister to tda998x_bridge_detach, - add a mutex

[PATCH v3 5/8] thunderbolt: Hide switch attributes that are not set

2019-08-19 Thread Mika Westerberg
Thunderbolt host routers may not always contain DROM that includes device identification information. This is mostly needed for Ice Lake systems but some Falcon Ridge controllers on PCs also do not have DROM. In that case hide the identification attributes. Signed-off-by: Mika Westerberg

Re: [PATCH v4 08/21] ARM: dts: imx7-colibri: Add touch controllers

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:26PM +, Philippe Schenker wrote: > Add touch controller that is connected over an I2C bus. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler > > --- > > Changes in v4: > - Add Marcel Ziswiler's Ack > > Changes in v3: > - Fix commit message >

Re: [PATCH v4 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:25PM +, Philippe Schenker wrote: > From: Stefan Agner > > Add pinmuxing and do not specify voltage restrictions for the usdhc > instance available on the modules edge connector. This allows to use > SD-cards with higher transfer modes if supported by the carrier

Re: [v4, 6/8] PM / OPP: Support adjusting OPP voltages at runtime

2019-08-19 Thread Viresh Kumar
On 13-08-19, 21:31, Andrew-sh.Cheng wrote: > From: Stephen Boyd > > On some SoCs the Adaptive Voltage Scaling (AVS) technique is > employed to optimize the operating voltage of a device. At a > given frequency, the hardware monitors dynamic factors and either > makes a suggestion for how much to

Re: [PATCH v4 06/21] ARM: dts: imx7-colibri: add GPIO wakeup key

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:23PM +, Philippe Schenker wrote: > From: Stefan Agner > > Add wakeup GPIO key which is able to wake the system from sleep > modes (e.g. Suspend-to-Memory). > > Signed-off-by: Stefan Agner > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler > >

Re: [PATCH v2 0/9] Exynos Adaptive Supply Voltage support

2019-08-19 Thread Sylwester Nawrocki
On 8/19/19 11:09, Viresh Kumar wrote: > Will something like this help ? > > https://lore.kernel.org/lkml/1442623929-4507-3-git-send-email-sb...@codeaurora.org/ > > This never got merged but the idea was AVS only. It's quite interesting work, it seems to be for a more advanced use case where

Re: [PATCH v4 05/21] ARM: dts: imx7-colibri: add recovery for I2C for iMX7

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:21PM +, Philippe Schenker wrote: > From: Oleksandr Suvorov > > - add recovery mode for applicable i2c buses for > Colibri iMX7 module. > > Signed-off-by: Oleksandr Suvorov > Signed-off-by: Philippe Schenker Applied, thanks.

Re: [PATCH v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:19PM +, Philippe Schenker wrote: > Add sleep pinmux to the fec so it can properly sleep. > > Signed-off-by: Philippe Schenker > Acked-by: Marcel Ziswiler I did s/mode/pinctrl in subject and applied the patch. Shawn

Re: [ANNOUNCE] v5.2.9-rt3

2019-08-19 Thread Alexander Dahl
Hei hei, just tried to compile this v5.2.9-rt3 for SAMA5D27-SOM1-EK1 based on arch/arm/configs/sama5_defconfig and with running oldconfig and selecting defaults, but that fails if CONFIG_ATMEL_TCB_CLKSRC_USE_SLOW_CLOCK is not set. I think this is due to changes for Atmel TCLIB in v5.2 and the

Re: [PATCH v4 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:18PM +, Philippe Schenker wrote: > Prepare FlexCAN use on SODIMM 55/63 178/188. Those SODIMM pins are > compatible for CAN bus use with several modules from the Colibri > family. > Add Better drivestrength and also add flexcan2. > > Signed-off-by: Philippe

Re: New kernel interface for sys_tz and timewarp?

2019-08-19 Thread Karel Zak
On Wed, Aug 14, 2019 at 11:32:08AM +0200, Alexandre Belloni wrote: > On 14/08/2019 11:09:36+0200, Lennart Poettering wrote: > > On Mi, 14.08.19 10:31, Arnd Bergmann (a...@arndb.de) wrote: > > > > > - glibc stops passing the caller timezone argument to the kernel > > > - the distro kernel disables

Re: [PATCH v4 02/21] ARM: dts: imx7-colibri: disable HS400

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:17PM +, Philippe Schenker wrote: > From: Stefan Agner > > Force HS200 by masking bit 63 of the SDHCI capability register. > The i.MX ESDHC driver uses SDHCI_QUIRK2_CAPS_BIT63_FOR_HS400. With > that the stack checks bit 63 to descide whether HS400 is available. >

[tip:core/stacktrace] lib/stackdepot: Fix outdated comments

2019-08-19 Thread tip-bot for Miles Chen
Commit-ID: ee050dc83bc326ad5ef8ee93bca344819371e7a5 Gitweb: https://git.kernel.org/tip/ee050dc83bc326ad5ef8ee93bca344819371e7a5 Author: Miles Chen AuthorDate: Thu, 15 Aug 2019 19:32:46 +0800 Committer: Thomas Gleixner CommitDate: Mon, 19 Aug 2019 12:57:28 +0200 lib/stackdepot: Fix

Re: [PATCH v2 14/15] kvm: ioapic: Delay update IOAPIC EOI for RTC

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: In-kernel IOAPIC does not update RTC pending EOI info with AMD SVM /w AVIC when interrupt is delivered as edge-triggered since AMD processors cannot exit on EOI for these interrupts. Add code to also check LAPIC pending EOI before injecting

Re: [PATCH v4 01/21] ARM: dts: imx7-colibri: make sure module supplies are always on

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 02:21:15PM +, Philippe Schenker wrote: > From: Marcel Ziswiler > > Prevent regulators from being switched off. > > Signed-off-by: Marcel Ziswiler > Signed-off-by: Philippe Schenker Applied, thanks.

Re: [PATCH V3 0/3] riscv: Add perf callchain support

2019-08-19 Thread Mao Han
On Mon, Aug 19, 2019 at 04:18:01PM +0800, Mao Han wrote: > Hi Paul, > On Fri, Aug 16, 2019 at 10:14:01AM -0700, Paul Walmsley wrote: > > Hello Mao Han, > > > > On Fri, 17 May 2019, Mao Han wrote: > > > > > This patch set add perf callchain(FP/DWARF) support for RISC-V. > > > It comes from the

Re: [PATCH v2 4/4] leds: lm3532: Add full scale current configuration

2019-08-19 Thread Pavel Machek
Hi! > Allow the full scale current to be configured at init. > Valid rangles are 5mA->29.8mA. > > Signed-off-by: Dan Murphy > @@ -121,6 +125,7 @@ struct lm3532_als_data { > * @mode - Mode of the LED string > * @ctrl_brt_pointer - Zone target register that controls the sink > * @num_leds

[PATCH] kbuild: enable unused-function warnings for W= build with Clang

2019-08-19 Thread Masahiro Yamada
GCC and Clang have different policy for -Wunused-function; GCC does not report unused-function warnings at all for the functions marked as 'static inline'. Clang does report unused-function warnings if they are defined in source files instead of headers. We could use Clang for detecting unused

[PATCH v1] reset: Remove copy'n'paste redundancy in the comments

2019-08-19 Thread Andy Shevchenko
It seems the commit bb475230b8e5 ("reset: make optional functions really optional") brought couple of redundant lines in the comments. Drop them here. Cc: Ramiro Oliveira Signed-off-by: Andy Shevchenko --- drivers/reset/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH v2 3/4] dt: lm3532: Add property for full scale current.

2019-08-19 Thread Pavel Machek
On Tue 2019-08-13 13:11:53, Dan Murphy wrote: > Add a property for each control bank to configure the > full scale current setting for the device. > > Signed-off-by: Dan Murphy Acked-by: Pavel Machek > @@ -62,6 +62,9 @@ Optional LED child properties: > - label : see

Re: [PATCH v2 2/4] leds: lm3532: Fixes for the driver for stability

2019-08-19 Thread Pavel Machek
On Tue 2019-08-13 13:11:52, Dan Murphy wrote: > Fixed misspelled words, added error check during probe > on the init of the registers, and fixed ALS/I2C control > mode. > > Fixes: e37a7f8d77e1 ("leds: lm3532: Introduce the lm3532 LED driver") > Reported-by: Pavel Machek > Signed-off-by: Dan

[PATCH 0/3] watchdog/softlockup: Make softlockup reports more reliable and useful

2019-08-19 Thread Petr Mladek
( Resending this as a proper patch with updated commit messages. The original was https://lkml.kernel.org/r/20190605140954.28471-1-pmla...@suse.com ) We were analyzing logs with several softlockup reports in flush_tlb_kernel_range(). They were confusing. Especially it was not clear whether

Re: [PATCH v2 1/4] leds: lm3532: Fix brightness control for i2c mode

2019-08-19 Thread Pavel Machek
On Tue 2019-08-13 13:11:51, Dan Murphy wrote: > Fix the brightness control for I2C mode. Instead of > changing the full scale current register update the ALS target > register for the appropriate banks. > > In addition clean up some code errors and random misspellings found > during coding. > >

[PATCH 2/3] watchdog/softlockup: Report the same softlockup regularly

2019-08-19 Thread Petr Mladek
Softlockup report means that there is no progress on the given CPU. It might be a "short" affair where the system gets recovered. But often the system stops being responsive and need to get rebooted. The softlockup might be root of the problems or just a symptom. It might be a deadlock, livelock,

[PATCH 1/3] watchdog/softlockup: Preserve original timestamp when touching watchdog externally

2019-08-19 Thread Petr Mladek
Some bug report included the same softlockups in flush_tlb_kernel_range() in regular intervals. Unfortunately was not clear if there was a progress or not. The situation can be simulated with a simply busy loop: while (true) cpu_relax(); The softlockup detector produces:

[PATCH 3/3] Test softlockup

2019-08-19 Thread Petr Mladek
Trigger busy loop by: $> cat /proc/version Stop the busy loop by: $> cat /proc/consoles The code also shows the first touch*watchdog() function that hides softlockup on a "well known" location. Signed-off-by: Petr Mladek --- fs/proc/consoles.c | 5 + fs/proc/version.c | 7 +++

Re: [PATCH v2 2/2] drm: bridge: adv7511: Add support for ADV7535

2019-08-19 Thread Sam Ravnborg
Hi Bogdan. > > > adv7533_detach_dsi(adv7511); > > > i2c_unregister_device(adv7511->i2c_cec); > > > if (adv7511->cec_clk) > > > @@ -1266,8 +1278,9 @@ static const struct i2c_device_id > > > adv7511_i2c_ids[] = { > > > { "adv7511", ADV7511 }, > > > { "adv7511w", ADV7511 }, > > >

RE: [char-misc-next] mei: me: add Tiger Lake point LP device ID

2019-08-19 Thread Winkler, Tomas
Oops, this should go to 5.3-rc6 possibly, not for next. Thanks > > Add Tiger Lake Point device ID for TGP LP. > > Signed-off-by: Tomas Winkler > --- > drivers/misc/mei/hw-me-regs.h | 2 ++ > drivers/misc/mei/pci-me.c | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git

[char-misc-next] mei: me: add Tiger Lake point LP device ID

2019-08-19 Thread Tomas Winkler
Add Tiger Lake Point device ID for TGP LP. Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me-regs.h | 2 ++ drivers/misc/mei/pci-me.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/misc/mei/hw-me-regs.h b/drivers/misc/mei/hw-me-regs.h index 6c0173772162..77f7dff7098d

Re: [PATCH v2 12/15] kvm: i8254: Check LAPIC EOI pending when injecting irq on SVM AVIC

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: ACK notifiers don't work with AMD SVM w/ AVIC when the PIT interrupt is delivered as edge-triggered fixed interrupt since AMD processors cannot exit on EOI for these interrupts. Add code to check LAPIC pending EOI before injecting any pending

Re: [PATCH 2/3] x86/irq: factor out IS_ERR_OR_NULL check from platfom-specific handle_irq

2019-08-19 Thread Thomas Gleixner
On Sun, 4 Aug 2019, Heiner Kallweit wrote: > - > - if (!handle_irq(desc, regs)) { > + if (IS_ERR_OR_NULL(desc)) { This really want's an unlikely or preferrably be written as: if (likely(!IS_ERR_OR_NULL(desc))) { handle_irq(desc); } else { >

Re: [PATCH v3 0/3] software node: Introduce software_node_find_by_name()

2019-08-19 Thread Rafael J. Wysocki
On Mon, Aug 19, 2019 at 12:39 PM Andy Shevchenko wrote: > > On Mon, Aug 19, 2019 at 1:08 PM Heikki Krogerus > wrote: > > > > Hi, > > > > There was still one bug spotted by Andy in v2. The role switch node > > was not removed in case of an error (patch 2/3). It is now fixed. > > It would be nice

Re: [PATCH v3 0/3] software node: Introduce software_node_find_by_name()

2019-08-19 Thread Andy Shevchenko
On Mon, Aug 19, 2019 at 1:08 PM Heikki Krogerus wrote: > > Hi, > > There was still one bug spotted by Andy in v2. The role switch node > was not removed in case of an error (patch 2/3). It is now fixed. It would be nice to have immutable branch for these changes. There is at least some other

[tip:x86/urgent] x86/apic: Handle missing global clockevent gracefully

2019-08-19 Thread tip-bot for Thomas Gleixner
Commit-ID: f897e60a12f0b9146357780d317879bce2a877dc Gitweb: https://git.kernel.org/tip/f897e60a12f0b9146357780d317879bce2a877dc Author: Thomas Gleixner AuthorDate: Fri, 9 Aug 2019 14:54:07 +0200 Committer: Thomas Gleixner CommitDate: Mon, 19 Aug 2019 12:34:07 +0200 x86/apic: Handle

Re: [PATCH v3 2/3] usb: roles: intel_xhci: Supplying software node for the role mux

2019-08-19 Thread Andy Shevchenko
On Mon, Aug 19, 2019 at 1:07 PM Heikki Krogerus wrote: > > The primary purpose for this node will be to allow linking > the users of the switch to it. The users will be for example > USB Type-C connectors. By supplying a reference to this > node in the software nodes representing the USB Type-C >

Re: [PATCH v2 11/15] svm: Temporary deactivate AVIC during ExtINT handling

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: AMD AVIC does not support ExtINT. Therefore, AVIC must be temporary deactivated and fall back to using legacy interrupt injection via vINTR and interrupt window. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kvm/svm.c | 49

Re: [PATCH 1/1] Fix: trace sched switch start/stop racy updates

2019-08-19 Thread Valentin Schneider
On 18/08/2019 00:00, Paul E. McKenney wrote: [...] > Linus noted that he believes that compilers for architectures supporting > Linux can be trusted to avoid store-to-load transformations, invented > stores, and unnecessary store tearing. Should these appear, Linus would > report a bug against

Re: [RFC PATCH 15/15] drivers/acrn: add the support of offline SOS cpu

2019-08-19 Thread Dan Carpenter
On Fri, Aug 16, 2019 at 10:25:56AM +0800, Zhao Yakui wrote: > diff --git a/drivers/staging/acrn/acrn_dev.c b/drivers/staging/acrn/acrn_dev.c > index 0602125..6868003 100644 > --- a/drivers/staging/acrn/acrn_dev.c > +++ b/drivers/staging/acrn/acrn_dev.c > @@ -588,6 +588,41 @@ static const struct

[PATCH] ACPI: PM: s2idle: Avoid rearming SCI for wakeup unnecessarily

2019-08-19 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: [PATCH] ACPI: PM: s2idle: Avoid rearming SCI for wakeup unnecessarily It is only necessary to rearm the ACPI SCI for wakeup if pm_system_cancel_wakeup() has been called, so invoke rearm_wake_irq() only in that case. Signed-off-by: Rafael J. Wysocki --- This

Re: [PATCH 11/16] x86: prefer __section from compiler_attributes.h

2019-08-19 Thread Thomas Gleixner
Nick, On Mon, 12 Aug 2019, Nick Desaulniers wrote: -ECHANGELOG_EMPTY While I think I know the reason for this change, it's still usefull to have some explanaiton of WHY this is preferred in the change log. Thanks, tglx

RE: [PATCH v10 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-08-19 Thread Pawel Laszczak
Hi, > >On 21/07/2019 21:32, Pawel Laszczak wrote: >> This patch introduce new Cadence USBSS DRD driver to Linux kernel. >> >> The Cadence USBSS DRD Controller is a highly configurable IP Core which >> can be instantiated as Dual-Role Device (DRD), Peripheral Only and >> Host Only

Re: [PATCH v2 10/15] kvm: x86: hyperv: Use APICv deactivate request interface

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: Since disabling APICv has to be done for all vcpus on AMD-based system, adopt the newly introduced kvm_make_apicv_deactivate_request() intereface. typo Signed-off-by: Suravee Suthikulpanit --- arch/x86/kvm/hyperv.c | 12 ++-- 1

Re: [PATCH v2 09/15] svm: Add support for activate/deactivate AVIC at runtime

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: Add necessary logics for supporting activate/deactivate AVIC at runtime. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kvm/svm.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git

Re: [5.3.0-rc4-next][bisected 882632][qla2xxx] WARNING: CPU: 10 PID: 425 at drivers/scsi/qla2xxx/qla_isr.c:2784 qla2x00_status_entry.isra

2019-08-19 Thread Abdul Haleem
On Wed, 2019-08-14 at 20:42 -0700, Bart Van Assche wrote: > On 8/14/19 10:18 AM, Abdul Haleem wrote: > > On Wed, 2019-08-14 at 10:05 -0700, Bart Van Assche wrote: > >> On 8/14/19 9:52 AM, Abdul Haleem wrote: > >>> Greeting's > >>> > >>> Today's linux-next kernel (5.3.0-rc4-next-20190813) booted

Re: [PATCH 2/2] uacce: add uacce module

2019-08-19 Thread Greg Kroah-Hartman
On Mon, Aug 19, 2019 at 05:43:40PM +0800, zhangfei@foxmail.com wrote: > Hi, Greg > > On 2019/8/15 下午10:20, Greg Kroah-Hartman wrote: > > On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: > > > +/* lock to protect all queues management */ > > > +static DECLARE_RWSEM(uacce_qs_lock);

Re: [PATCH 2/2] uacce: add uacce module

2019-08-19 Thread Greg Kroah-Hartman
On Mon, Aug 19, 2019 at 05:09:23PM +0800, zhangfei@foxmail.com wrote: > Hi, Greg > > Thanks for your kind suggestion. > > On 2019/8/15 下午10:12, Greg Kroah-Hartman wrote: > > On Wed, Aug 14, 2019 at 05:34:25PM +0800, Zhangfei Gao wrote: > > > diff --git a/include/uapi/misc/uacce.h

Re: [PATCH] MAINTAINERS: Remove IP MASQUERADING record

2019-08-19 Thread Pablo Neira Ayuso
On Wed, Aug 14, 2019 at 03:35:02PM +0300, Denis Efremov wrote: > This entry is in MAINTAINERS for historical purpose. > It doesn't match current sources since the commit > adf82accc5f5 ("netfilter: x_tables: merge ip and > ipv6 masquerade modules") moved the module. > The

Re: [PATCH 03/15] riscv: refactor the IPI code

2019-08-19 Thread Christoph Hellwig
On Tue, Aug 13, 2019 at 09:41:58PM -0700, Paul Walmsley wrote: > On Tue, 13 Aug 2019, Christoph Hellwig wrote: > > > This prepare for adding native non-SBI IPI code. > > > > Signed-off-by: Christoph Hellwig > > Thanks, queued for v5.4-rc1. Where did you queue it up? I can't find it anywhere

Re: [PATCH 08/15] riscv: provide native clint access for M-mode

2019-08-19 Thread Christoph Hellwig
On Tue, Aug 13, 2019 at 05:29:58PM +0100, Mark Rutland wrote: > > + np = of_find_compatible_node(NULL, NULL, "riscv,clint0"); > > Since the MMIO layout is that of the SiFive clint, the compatible string > should be specific to that. e.g. "sifive,clint". That way it will be > possible to

Re: [PATCH v4 1/3] kasan: support backing vmalloc space with real shadow memory

2019-08-19 Thread Mark Rutland
On Fri, Aug 16, 2019 at 10:41:00AM -0700, Andy Lutomirski wrote: > On Fri, Aug 16, 2019 at 10:08 AM Mark Rutland wrote: > > > > Hi Christophe, > > > > On Fri, Aug 16, 2019 at 09:47:00AM +0200, Christophe Leroy wrote: > > > Le 15/08/2019 à 02:16, Daniel Axtens a écrit : > > > > Hook into vmalloc

Re: [v5 PATCH] RISC-V: Fix unsupported isa string info.

2019-08-19 Thread Jacob Lifshay
On 8/7/19, Atish Patra wrote: > } > } > + if (isa[0] != '\0') { > + /* Add remainging isa strings */ That should be spelled "remaining" > + for (e = isa; *e != '\0'; ++e) { > +#if !defined(CONFIG_VIRTUALIZATION) > + if (e[0] !=

[PATCH v3 09/14] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR

2019-08-19 Thread Niklas Cassel
Add qcom-opp bindings with properties needed for Core Power Reduction (CPR). CPR is included in a great variety of Qualcomm SoCs, e.g. msm8916 and msm8996. CPR was first introduced in msm8974. Co-developed-by: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Niklas Cassel

[PATCH v3 06/14] dt-bindings: cpufreq: qcom-nvmem: Support pstates provided by a power domain

2019-08-19 Thread Niklas Cassel
Some Qualcomm SoCs have support for Core Power Reduction (CPR). On these platforms, we need to attach to the power domain provider providing the performance states, so that the leaky device (the CPU) can configure the performance states (which represent different CPU clock frequencies).

[PATCH] driver:st1633: fixed multitouch incorrect coordinates

2019-08-19 Thread Dixit Parmar
From: Dixit Parmar For Sitronix st1633 multi-touch controller driver the co-ordinates reported for multiple fingers were wrong. So the below mentioned bug was filed, Bugzilla Bug ID: 204561 While reading co-ordinates from specified I2C registers, the X & Y co-ordinates should be read from

Re: [PULL REQUEST] Please pull rdma.git

2019-08-19 Thread Geert Uytterhoeven
Hi Doug, Bernard, On Wed, Aug 14, 2019 at 5:00 PM Doug Ledford wrote: > Fairly small pull request for -rc3. I'm out of town the rest of this > week, so I made sure to clean out as much as possible from patchworks in > enough time for 0-day to chew through it (Yay! for 0-day being back > online!

[PATCH v3 3/3] platform/x86: intel_cht_int33fe: Use new API to gain access to the role switch

2019-08-19 Thread Heikki Krogerus
The driver for the Intel USB role mux now always supplies software node for the role switch, so no longer checking that, and never creating separate node for the role switch. >From now on using software_node_find_by_name() function to get the handle to the USB role switch. Signed-off-by: Heikki

[PATCH v3 1/3] software node: Add software_node_find_by_name()

2019-08-19 Thread Heikki Krogerus
Function that searches software nodes by node name. Signed-off-by: Heikki Krogerus Reviewed-by: Hans de Goede Tested-by: Hans de Goede Reviewed-by: Andy Shevchenko --- drivers/base/swnode.c| 37 + include/linux/property.h | 4 2 files changed, 41

[PATCH v3 2/3] usb: roles: intel_xhci: Supplying software node for the role mux

2019-08-19 Thread Heikki Krogerus
The primary purpose for this node will be to allow linking the users of the switch to it. The users will be for example USB Type-C connectors. By supplying a reference to this node in the software nodes representing the USB Type-C controllers or connectors, the drivers for those devices can access

[PATCH v3 0/3] software node: Introduce software_node_find_by_name()

2019-08-19 Thread Heikki Krogerus
Hi, There was still one bug spotted by Andy in v2. The role switch node was not removed in case of an error (patch 2/3). It is now fixed. The cover letter from v2: This is the second version of this series where I'm introducing that helper. Hans and Andy! Because of the changes I made to

Re: [PATCH v2 0/9] Exynos Adaptive Supply Voltage support

2019-08-19 Thread Viresh Kumar
On 19-08-19, 14:39, Viresh Kumar wrote: > On 09-08-19, 17:58, Sylwester Nawrocki wrote: > > Thank you for your suggestions. > > > > For some Exynos SoC variants the algorithm of selecting CPU voltage supply > > is a bit more complex than just selecting a column in the frequency/voltage > >

[PATCH] RDMA/siw: Fix compiler warnings on 32-bit due to u64/pointer abuse

2019-08-19 Thread Geert Uytterhoeven
When compiling on 32-bit: drivers/infiniband/sw/siw/siw_cq.c:76:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/infiniband/sw/siw/siw_qp.c:952:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Re: [v4, 3/8] cpufreq: mediatek: Add support for mt8183

2019-08-19 Thread Viresh Kumar
On 13-08-19, 21:31, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > Add compatible string for mediatek mt8183 > > Signed-off-by: Andrew-sh.Cheng > --- > drivers/cpufreq/cpufreq-dt-platdev.c | 1 + > drivers/cpufreq/mediatek-cpufreq.c | 1 + > 2 files changed, 2 insertions(+) > > diff

Re: [PATCH v2 04/15] kvm: x86: Add per-VM APICv state debugfs

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: Currently, there is no way to tell whether APICv is active on a particular VM. This often cause confusion since APICv can be deactivated at runtime. Introduce a debugfs entry to report APICv state of a VM. This creates a read-only file:

[tip:perf/urgent] perf/x86: Fix typo in comment

2019-08-19 Thread tip-bot for Su Yanjun
Commit-ID: 77d760328ee015cf89460c52bfd5a6b0a09b7472 Gitweb: https://git.kernel.org/tip/77d760328ee015cf89460c52bfd5a6b0a09b7472 Author: Su Yanjun AuthorDate: Fri, 16 Aug 2019 16:43:21 +0800 Committer: Ingo Molnar CommitDate: Mon, 19 Aug 2019 11:50:24 +0200 perf/x86: Fix typo in

[tip:sched/urgent] sched/core: Schedule new worker even if PI-blocked

2019-08-19 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: b0fdc01354f45d43f082025636ef808968a27b36 Gitweb: https://git.kernel.org/tip/b0fdc01354f45d43f082025636ef808968a27b36 Author: Sebastian Andrzej Siewior AuthorDate: Fri, 16 Aug 2019 18:06:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 19 Aug 2019 10:57:26 +0200 sched/core:

[tip:x86/cpu] x86/msr-index: Move AMD MSRs where they belong

2019-08-19 Thread tip-bot for Borislav Petkov
Commit-ID: 342061c53a049569fc7f56d237753c26b4b2166d Gitweb: https://git.kernel.org/tip/342061c53a049569fc7f56d237753c26b4b2166d Author: Borislav Petkov AuthorDate: Mon, 19 Aug 2019 09:01:40 +0200 Committer: Ingo Molnar CommitDate: Mon, 19 Aug 2019 10:55:44 +0200 x86/msr-index: Move

RE: [EXT] Re: [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock

2019-08-19 Thread Wen He
> -Original Message- > From: Shawn Guo > Sent: 2019年8月19日 17:32 > To: Wen He > Cc: Rob Herring ; Michael Turquette > ; Stephen Boyd ; Mark > Rutland ; devicet...@vger.kernel.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Leo Li > ; liviu.du...@arm.com > Subject: [EXT]

Re: [v4, 1/8] cpufreq: mediatek: change to regulator_get_optional

2019-08-19 Thread Viresh Kumar
On 13-08-19, 21:31, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > For new mediatek chip mt8183, > cci and little cluster share the same buck, > so need to modify the attribute of regulator from exclusive to optional > > Signed-off-by: Andrew-sh.Cheng > --- >

Re: [v4, 2/8] cpufreq: mediatek: add clock enable for intermediate clock

2019-08-19 Thread Viresh Kumar
On 13-08-19, 21:31, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > Intermediate clock is not always enabled by ccf in different projects, > so cpufreq should always enable it by itself. > > Signed-off-by: Andrew-sh.Cheng > --- > drivers/cpufreq/mediatek-cpufreq.c | 13 - > 1

Re: [PATCH v2 02/15] kvm: x86: Introduce KVM APICv state

2019-08-19 Thread Alexander Graf
On 15.08.19 18:25, Suthikulpanit, Suravee wrote: Currently, after a VM boots with APICv enabled, it could go into the following states: * activated = VM is running w/ APICv * deactivated = VM deactivate APICv (temporary) * disabled= VM deactivate APICv (permanent) Introduce

Re: [PATCH] pinctrl: intel: remap the pin number to gpio offset for irq enabled pin

2019-08-19 Thread Andy Shevchenko
On Mon, Aug 19, 2019 at 10:14:13AM +0300, Mika Westerberg wrote: > On Fri, Aug 16, 2019 at 05:38:38PM +0800, Chris Chiu wrote: > > On Asus X571GT, GPIO 297 is configured as an interrupt and serves > > for the touchpad. The touchpad will report input events much less > > than expected after S3

[PATCH][next] misc: xilinx_sdfec: fix spelling mistake: "Schdule" -> "Schedule"

2019-08-19 Thread Colin King
From: Colin Ian King There is a spelling mistake in a dev_dbg message, fix it. Signed-off-by: Colin Ian King --- drivers/misc/xilinx_sdfec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/xilinx_sdfec.c b/drivers/misc/xilinx_sdfec.c index

Re: [PATCH v2 11/11] arm64: dts: add dts nodes for MT6779

2019-08-19 Thread Marc Zyngier
On 19/08/2019 10:21, Mars Cheng wrote: > this adds initial MT6779 dts settings fo board support, > including cpu, gic, timer, ccf, pinctrl, uart...etc. > > Signed-off-by: Mars Cheng > --- > arch/arm64/boot/dts/mediatek/Makefile|1 + > arch/arm64/boot/dts/mediatek/mt6779-evb.dtsi |

Re: [PATCH] PM / wakeup: Register wakeup class kobj after device is added

2019-08-19 Thread Rafael J. Wysocki
On Friday, August 16, 2019 11:46:19 PM CEST Stephen Boyd wrote: > Quoting Tri Vo (2019-08-16 14:27:35) > > On Fri, Aug 16, 2019 at 7:56 AM Stephen Boyd wrote: > > > diff --git a/drivers/base/power/sysfs.c b/drivers/base/power/sysfs.c > > > index 1b9c281cbe41..27ee00f50bd7 100644 > > > ---

Re: "PM / wakeup: Show wakeup sources stats in sysfs" causes boot warnings

2019-08-19 Thread Rafael J. Wysocki
On Friday, August 16, 2019 4:19:35 PM CEST Stephen Boyd wrote: > Quoting Rafael J. Wysocki (2019-08-16 05:17:23) > > On Wed, Aug 14, 2019 at 8:37 PM Tri Vo wrote: > > > > > > On Wed, Aug 14, 2019 at 1:40 AM Tony Lindgren wrote: > > > > > > > > * Stephen Boyd [691231 23:00]: > > > > > I also

Re: [v1 3/3] arm64: dts: ls1028a: Add properties node for Display output pixel clock

2019-08-19 Thread Shawn Guo
On Mon, Aug 12, 2019 at 06:02:24PM +0800, Wen He wrote: > The LS1028A has a clock domain PXLCLK0 used for the Display output > interface in the display core, independent of the system bus frequency, > for flexible clock design. This display core has its own pixel clock. > > This patch enable the

Re: [PATCH v5 2/2] EDAC: add EDAC driver for DMC520

2019-08-19 Thread Borislav Petkov
On Tue, Aug 13, 2019 at 01:05:02AM +, Lei Wang wrote: > Added some more comments for the file: > > /* > * dmc520_edac.c, EDAC driver for DMC-520 memory controller ^ Filename is redundant. > These comments tell how to potentially expand the driver functions to > support

RE: [PATCH v3] Bluetooth: btusb: Fix suspend issue for Realtek devices

2019-08-19 Thread Max Chou
Dear Kernel Maintainer Marcel, Sorry for the inconvenience. For the original target, this patch is edited for low power consumption hence controller should not receive DEVICE_REMOTE_WAKE_UP that it's able to save power in suspend mode because BT wake-up function is disabled. In upstream

Re: [PATCH v1 00/63] atmel_mxt_ts misc

2019-08-19 Thread Jiada Wang
HiDmitrij On 2019/08/17 2:32, Dmitry Torokhov wrote: Hi Jiada, On Fri, Aug 16, 2019 at 05:28:49PM +0900, Jiada Wang wrote: This patch-set forward ports Nick Dyer's work in ndyer/linux github repository as long as some other features and fixes I see a lot of chages that are fixups for older

Re: [RFC PATCH v2 00/19] RDMA/FS DAX truncate proposal V1,000,002 ;-)

2019-08-19 Thread Dave Chinner
On Mon, Aug 19, 2019 at 08:34:12AM +0200, Jan Kara wrote: > On Sat 17-08-19 12:26:03, Dave Chinner wrote: > > On Fri, Aug 16, 2019 at 12:05:28PM -0700, Ira Weiny wrote: > > > On Thu, Aug 15, 2019 at 03:05:58PM +0200, Jan Kara wrote: > > > > On Wed 14-08-19 11:08:49, Ira Weiny wrote: > > > > > On

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-19 Thread Pavel Machek
Hi! > > [ 13.653778] panel-dsi-cm 58004000.encoder:display: using lookup > > tables for GPIO lookup > > [ 13.661834] panel-dsi-cm 58004000.encoder:display: No GPIO consumer > > te found > > [ 14.756622] [ cut here ] > > [ 14.761352] WARNING: CPU: 0 PID: 20 at > >

[PATCH v2 06/11] pinctrl: mediatek: add pinctrl support for MT6779 SoC

2019-08-19 Thread Mars Cheng
This adds MT6779 pinctrl driver based on MediaTek pinctrl-paris core. Signed-off-by: Mars Cheng Signed-off-by: Andy Teng --- drivers/pinctrl/mediatek/Kconfig |7 + drivers/pinctrl/mediatek/Makefile |1 + drivers/pinctrl/mediatek/pinctrl-mt6779.c | 775

[PATCH v2 11/11] arm64: dts: add dts nodes for MT6779

2019-08-19 Thread Mars Cheng
this adds initial MT6779 dts settings fo board support, including cpu, gic, timer, ccf, pinctrl, uart...etc. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile|1 + arch/arm64/boot/dts/mediatek/mt6779-evb.dtsi | 31 arch/arm64/boot/dts/mediatek/mt6779.dts

[PATCH v2 04/11] pinctrl: mediatek: update pinmux definitions for mt6779

2019-08-19 Thread Mars Cheng
Add devicetree bindings for Mediatek mt6779 SoC Pin Controller. Signed-off-by: Mars Cheng Signed-off-by: Andy Teng --- include/dt-bindings/pinctrl/mt6779-pinfunc.h | 1242 ++ 1 file changed, 1242 insertions(+) create mode 100644

[PATCH v2 02/11] dt-bindings: mtk-uart: add mt6779 uart bindings

2019-08-19 Thread Mars Cheng
Add documentation for mt6779 uart dt-bindings Signed-off-by: Mars Cheng --- .../devicetree/bindings/serial/mtk-uart.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt

[PATCH v2 01/11] dt-bindings: mediatek: add support for mt6779 reference board

2019-08-19 Thread Mars Cheng
Update binding document for mt6779 reference board Signed-off-by: Mars Cheng Reviewed-by: Rob Herring --- .../devicetree/bindings/arm/mediatek.yaml |4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml

[PATCH v2 10/11] clk: mediatek: Add MT6779 clock support

2019-08-19 Thread Mars Cheng
From: mtk01761 Add MT6779 clock support, include topckgen, apmixedsys, infracfg, and subsystem clocks. Signed-off-by: mtk01761 --- drivers/clk/mediatek/Kconfig | 56 ++ drivers/clk/mediatek/Makefile |9 + drivers/clk/mediatek/clk-mt6779-aud.c | 117 +++

[PATCH v2 07/11] pinctrl: mediatek: add mt6779 eint support

2019-08-19 Thread Mars Cheng
add driver setting to support mt6779 eint Signed-off-by: Mars Cheng --- drivers/pinctrl/mediatek/pinctrl-mt6779.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6779.c b/drivers/pinctrl/mediatek/pinctrl-mt6779.c index 145bf22..49ff3cc 100644

[PATCH v2 03/11] dt-bindings: irq: mtk,sysirq: add support for mt6779

2019-08-19 Thread Mars Cheng
Add binding documentation of mediatek,sysirq for mt6779 SoC. Signed-off-by: Mars Cheng --- .../interrupt-controller/mediatek,sysirq.txt |1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/mediatek,sysirq.txt

[PATCHv2 00/11] Add basic SoC Support for Mediatek MT6779 SoC

2019-08-19 Thread Mars Cheng
This patchset is based on v5.3-rc1. Basic SoC support for the new Mediatek SoC, MT6779, which targets for smartphone. It provides ccf, pinctrl, uart, timer, gic...etc. Change History: v2: 1. add Reviewed-by tags 2. fix checkpatch warnings with strict level v1: first patchset Mars Cheng (8):

[PATCH v2 05/11] pinctrl: mediatek: avoid virtual gpio trying to set reg

2019-08-19 Thread Mars Cheng
for virtual gpios, they should not do reg setting and should behave as expected for eint function. Signed-off-by: Mars Cheng --- drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c | 20 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h |1 +

[PATCH v2 09/11] clk: mediatek: Add dt-bindings for MT6779 clocks

2019-08-19 Thread Mars Cheng
From: mtk01761 Add MT6779 clock dt-bindings, include topckgen, apmixedsys, infracfg, and subsystem clocks. Signed-off-by: mtk01761 --- include/dt-bindings/clock/mt6779-clk.h | 436 1 file changed, 436 insertions(+) create mode 100644

[PATCH v2 08/11] dt-bindings: mediatek: bindings for MT6779 clk

2019-08-19 Thread Mars Cheng
From: mtk01761 This patch adds the binding documentation for apmixedsys, audiosys, camsys, imgsys, ipesys, infracfg, mfgcfg, mmsys, topckgen, vdecsys, and vencsys for Mediatek MT6779. Signed-off-by: mtk01761 --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt |1 +

RE: [PATCH v2 01/11] dt-bindings: mmc: arasan: Update documentation for SD Card Clock

2019-08-19 Thread Manish Narani
Hi Uffe, > -Original Message- > From: Ulf Hansson > Sent: Thursday, July 25, 2019 6:31 PM > To: Manish Narani > Cc: Rob Herring ; mark.rutl...@arm.com; > he...@sntech.de; Michal Simek ; > adrian.hun...@intel.com; christoph.muell...@theobroma-systems.com; >

Re: [EXT] Re: [PATCH 4/8] mtd: spinand: enabled parameter page support

2019-08-19 Thread Miquel Raynal
Hi Boris, Another question for you :) "Shivamurthy Shastri (sshivamurthy)" wrote on Mon, 19 Aug 2019 08:51:52 +: > Hi Miquel, > > > > > Hi Shiva, > > > > shiva.linuxwo...@gmail.com wrote on Mon, 22 Jul 2019 07:56:17 +0200: > > > > "mtd: spinand: enable parameter page support" > > >

Re: [PATCH] powerpc: Don't add -mabi= flags when building with Clang

2019-08-19 Thread Segher Boessenkool
On Sun, Aug 18, 2019 at 12:13:21PM -0700, Nathan Chancellor wrote: > When building pseries_defconfig, building vdso32 errors out: > > error: unknown target ABI 'elfv1' > > Commit 4dc831aa8813 ("powerpc: Fix compiling a BE kernel with a > powerpc64le toolchain") added these flags to fix

Re: wifi on Motorola Droid 4 in 5.3-rc2

2019-08-19 Thread Pavel Machek
On Sun 2019-08-18 17:06:05, Kalle Valo wrote: > Pavel Machek writes: > > > On Sun 2019-08-18 12:53:01, Michael Nazzareno Trimarchi wrote: > >> Hi > >> > >> On Sun, Aug 18, 2019 at 12:46 PM Pavel Machek wrote: > >> > > >> > Hi! > >> > > >> > First, I guess I should mention that this is first

Re: [EXT] Re: [PATCH 6/8] mtd: spinand: micron: Turn driver implementation generic

2019-08-19 Thread Miquel Raynal
Hi Boris, I need your opinion on the question below. "Shivamurthy Shastri (sshivamurthy)" wrote on Mon, 19 Aug 2019 09:03:38 +: > Hi Miquel, > > > > > Hi Shiva, > > > > shiva.linuxwo...@gmail.com wrote on Mon, 22 Jul 2019 07:56:19 +0200: > > > > > From: Shivamurthy Shastri > > > >

linux-next: Tree for Aug 19

2019-08-19 Thread Stephen Rothwell
Hi all, Changes since 20190816: The ext4 tree gained a conflict against the fscrypt tree. The fsverity tree gained conflicts against the ext4 and f2fs trees. The drm-misc tree gained a conflict against the drm tree. The security tree still had its build failure for which I added a patch. The

<    5   6   7   8   9   10   11   12   >