Re: [PATCH 1/8] drivers: tty: serial: 8250_bcm2835aux: use devm_platform_ioremap_resource()

2019-03-13 Thread Enrico Weigelt, metux IT consult
On 12.03.19 17:33, Greg KH wrote: > On Tue, Mar 12, 2019 at 03:57:33PM +0100, Enrico Weigelt, metux IT consult > wrote: >> --- >> drivers/tty/serial/8250/8250_bcm2835aux.c | 12 >> 1 file changed, 4 insertions(+), 8 deletions(-) > > No changelog or signed-off-by, sorry, please fix u

[PATCH v2] ARM: dts: vf610: Add ZII SPB4 board

2019-03-13 Thread Andrey Smirnov
Add Device Tree for VF610 based Zodiac Seat Power Box. Signed-off-by: Andrey Smirnov Cc: Shawn Guo Cc: Chris Healy Cc: Andrew Lunn Cc: Heiner Kallweit Cc: Fabio Estevam Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@nxp.com --- Changes since [v1]:

Re: [PATCH v4 3/3] i2c: mux: pca954x: allow management of device idle state via sysfs

2019-03-13 Thread Peter Rosin
Hi Greg, I was wondering if you think the below ABI addition looks sane to you? Or, should I ask someone else for a tag? Cheers, Peter On 2019-02-28 12:43, Robert Shearman wrote: > From: Robert Shearman > > The behaviour, by default, to not deselect after each transfer is > unsafe when there i

Re: [PATCH v3 5/7] staging: iio: ad5933: add ABI documentation

2019-03-13 Thread Alexandru Ardelean
On Tue, Mar 12, 2019 at 7:31 PM Marcelo Schmitt wrote: > > On 03/11, Alexandru Ardelean wrote: > > On Sun, Mar 10, 2019 at 7:47 PM Marcelo Schmitt > > wrote: > > > > > > Add an ABI documentation for the ad5933 driver. > > > > There's already an ABI documentation for this driver. > > See: > > http

Re: [LKP] [ext4] fde872682e: fsmark.files_per_sec -38.0% regression

2019-03-13 Thread huang ying
Hi, Ted, On Wed, Jan 2, 2019 at 8:40 AM kernel test robot wrote: > > Greeting, > > FYI, we noticed a -38.0% regression of fsmark.files_per_sec due to commit: > > > commit: fde872682e175743e0c3ef939c89e3c6008a1529 ("ext4: force inode writes > when nfsd calls commit_metadata()") > https://git.kern

RE: [PATCH 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-13 Thread Anson Huang
Hi, Uwe Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2019年3月11日 17:27 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker.

Re: [PATCH] svm: Fix AVIC incomplete IPI emulation

2019-03-13 Thread Oren Twaig
Hi Suravee, Please see below.. On 03/11/2019 01:38 PM, Suthikulpanit, Suravee wrote: Hi Oren, Sorry for delay response. On 3/5/19 1:15 AM, Oren Twaig wrote: Hello Suravee, According to AMD's SDM, the target-not-running incomplete ipi exit is only received if any of the destination cpus had

[PATCH V2 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-13 Thread Anson Huang
Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. Signed-off-by: Anson Huang --- Changes since V1: - remove optional property which is no need now. --- Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19 +++ 1 file changed, 19 insertions(+)

[PATCH V2 0/5] Add i.MX7ULP EVK PWM backlight support

2019-03-13 Thread Anson Huang
i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support and also add backlight support for MIPI-DSI display. Anson Huang (5): dt-bindings: pwm: Add i.MX TPM PWM binding pwm: Add i.MX TPM PWM driver support A

[PATCH V2 3/5] ARM: imx_v6_v7_defconfig: Add TPM PWM support by default

2019-03-13 Thread Anson Huang
Select CONFIG_PWM_IMX_TPM by default to support i.MX7ULP TPM PWM. Signed-off-by: Anson Huang --- No changes. --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 5586a50..57

[PATCH V2 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-13 Thread Anson Huang
i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) inside, add TPM PWM driver support. Signed-off-by: Anson Huang --- Changes since V1: - improve coding style, function name's prefix; - improve Kconfig's help info; - use .apply instead for .enable/.disable/.co

[PATCH V2 4/5] ARM: dts: imx7ulp: Add pwm0 support

2019-03-13 Thread Anson Huang
Add i.MX7ULP EVK board PWM0 support. Signed-off-by: Anson Huang --- Changes since V1: - update the pad config to pull down to make sure when TPM counter is disabled, PWM output will be Low. --- arch/arm/boot/dts/imx7ulp-evk.dts | 12 arch/arm/boot/dts/imx7ulp.dtsi

[PATCH V2 5/5] ARM: dts: imx7ulp-evk: Add backlight support

2019-03-13 Thread Anson Huang
This patch adds i.MX7ULP EVK board MIPI-DSI backlight support. Signed-off-by: Anson Huang --- No changes. --- arch/arm/boot/dts/imx7ulp-evk.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts index 3f5ea18..f90f2f

Re: [PATCH 1/1] PM / Domains: Avoid a potential deadlock

2019-03-13 Thread Ulf Hansson
On Tue, 12 Mar 2019 at 07:51, Jiada Wang wrote: > > Lockdep warns that prepare_lock and genpd->mlock can cause a deadlock > the deadlock scenario is like following: > First thread is probing cs2000 > cs2000_probe() > clk_register() > __clk_core_init() > clk_prepare_lock()

Re: [PATCH v3 7/8] KVM:X86: Add XSS bit 11 and 12 support for CET xsaves/xrstors.

2019-03-13 Thread Yang Weijiang
On Mon, Mar 11, 2019 at 04:32:32PM +0100, Paolo Bonzini wrote: > On 10/03/19 14:35, Yang Weijiang wrote: > -if (data != 0) > +if (data & ~kvm_supported_xss()) > return 1; > >>> You should instead check this against CPUID[0xD, 1

Re: [PATCH] clk: imx6q: remove unsupported pll4_audio_div

2019-03-13 Thread kbuild test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on v5.0 next-20190306] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/

Re: [PATCH] mm/hotplug: fix offline undo_isolate_page_range()

2019-03-13 Thread Oscar Salvador
On Tue, Mar 12, 2019 at 09:42:16PM -0400, Qian Cai wrote: > + > + /* > + * Onlining will reset pagetype flags and makes migrate type > + * MOVABLE, so just need to decrease the number of isolated > + * pageblocks zone counter here. > + */ > + for (pfn = start_pfn; pfn <

Re: [PATCH] Bluetooth: btqca: Fix misspelling of 'baudrate'

2019-03-13 Thread Marcel Holtmann
Hi Matthias, > Rename the misspelled struct 'qca_bardrate' to 'qca_baudrate' > > Signed-off-by: Matthias Kaehlcke > --- > drivers/bluetooth/btqca.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-next tree. Regards Marcel

Re: [PATCH] mm/hotplug: fix offline undo_isolate_page_range()

2019-03-13 Thread Michal Hocko
On Wed 13-03-19 08:52:16, Oscar Salvador wrote: > On Tue, Mar 12, 2019 at 09:42:16PM -0400, Qian Cai wrote: > > + > > + /* > > +* Onlining will reset pagetype flags and makes migrate type > > +* MOVABLE, so just need to decrease the number of isolated > > +* pageblocks zone counter he

RE: [PATCH RESEND V2 1/4] dt-bindings: fsl: scu: add watchdog binding

2019-03-13 Thread Anson Huang
Hi, Rob Do you have any feedback about adding imx scu watchdog node in dts? Thanks. Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2019年3月6日 22:45 > To: 'Rob Herring' > Cc: Guenter Roeck ; mark.rutl...@arm.com; > ulf.hans...@linaro.org; he...@sntech.d

Re: KASAN: null-ptr-deref Read in reclaim_high

2019-03-13 Thread Dmitry Vyukov
On Tue, Mar 12, 2019 at 11:31 PM Eric Biggers wrote: > > Hi Dmitry, > > On Tue, Mar 12, 2019 at 09:21:09AM +0100, 'Dmitry Vyukov' via syzkaller-bugs > wrote: > > On Tue, Mar 12, 2019 at 7:43 AM Eric Biggers wrote: > > > > > > On Mon, Mar 11, 2019 at 11:25:41PM -0700, Andrew Morton wrote: > > > >

Re: [PATCH] Makefile: Add '-fno-builtin-bcmp' to CLANG_FLAGS

2019-03-13 Thread Rasmus Villemoes
On 12/03/2019 22.52, Nathan Chancellor wrote: > After LLVM revision r355672 [1], all known working kernel configurations > fail to link [2]: > > ld: init/do_mounts.o: in function `prepare_namespace': > do_mounts.c:(.init.text+0x5ca): undefined reference to `bcmp' > ld: do_mounts.c:(.init.text+0x5e

RE: [PATCH V10 1/4] dt-bindings: fsl: scu: add thermal binding

2019-03-13 Thread Anson Huang
Ping... Hi, Eduardo Can you take a look at this thread? Thanks. Best Regards! Anson Huang > -Original Message- > From: Anson Huang > Sent: 2019年3月6日 13:27 > To: 'Rob Herring' ; 'edubez...@gmail.com' > > Cc: 'mark.rutl...@arm.com' ; > 'shawn...@kernel.org' ; 's.ha...@pengutronix.

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-13 Thread John Ogness
On 2019-03-13, Sergey Senozhatsky wrote: >>> I suggest the following way forward (separate patchsets): >>> >>> 1. Replace log buffer (least controversial thing) >> >> Yes. I will post a series that only implements the ringbuffer using >> your simplified API. That will be enough to remove prin

Re: [PATCH v7 01/15] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-03-13 Thread Peter Zijlstra
On Tue, Mar 12, 2019 at 03:50:43PM +, Patrick Bellasi wrote: > On 12-Mar 16:20, Peter Zijlstra wrote: > > On Fri, Feb 08, 2019 at 10:05:40AM +, Patrick Bellasi wrote: > > > +/* Integer ceil-rounded range for each bucket */ ^^^ > > > +#define UCLAMP_BUCKET

Re: [PATCH 0/3] userfaultfd: allow to forbid unprivileged users

2019-03-13 Thread Paolo Bonzini
On 13/03/19 07:00, Peter Xu wrote: >> However, I can imagine more special cases being added for other users. And, >> once you have more than one special case then you may want to combine them. >> For example, kvm and hugetlbfs together. > It looks fine to me if we're using MMF_USERFAULTFD_ALLOW fl

Re: KASAN: null-ptr-deref Read in reclaim_high

2019-03-13 Thread Dmitry Vyukov
On Tue, Mar 12, 2019 at 11:50 PM Eric Biggers wrote: > > On Tue, Mar 12, 2019 at 09:33:44AM +0100, 'Dmitry Vyukov' via syzkaller-bugs > wrote: > > On Tue, Mar 12, 2019 at 7:25 AM Andrew Morton > > wrote: > > > > > > On Tue, 12 Mar 2019 07:08:38 +0100 Dmitry Vyukov > > > wrote: > > > > > > > O

Re: [PATCH 2/5] ocxl: Clean up printf formats

2019-03-13 Thread Greg Kurz
On Wed, 13 Mar 2019 15:06:58 +1100 "Alastair D'Silva" wrote: > From: Alastair D'Silva > > Use %# instead of using a literal '0x' > > Signed-off-by: Alastair D'Silva > --- Reviewed-by: Greg Kurz > drivers/misc/ocxl/config.c | 6 +++--- > drivers/misc/ocxl/context.c | 2 +- > drivers/mis

Re: [question] panic() during reboot -f (reboot syscall)

2019-03-13 Thread Peter Zijlstra
On Tue, Mar 12, 2019 at 04:29:25PM -0500, Eric W. Biederman wrote: > I wonder if there is an easy way to get the scheduler to not schedule > userspace processes once the reboot system call has started. That > sounds like the simple way to avoid this kind of confusion. That sounds like adding code

Re: [PATCH v8 2/2] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-03-13 Thread Erin Lo
On Tue, 2019-03-12 at 13:22 +0100, Matthias Brugger wrote: > > On 11/03/2019 09:54, Erin Lo wrote: > > 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, > >

Re: [PATCH 1/2] Drivers: hv: Move Hyper-V clockevents code to new clocksource driver

2019-03-13 Thread Vitaly Kuznetsov
Michael Kelley writes: > Clockevents code for Hyper-V synthetic timers is currently mixed > in with other Hyper-V code. Move the code to a Hyper-V specific > driver in the "clocksource" directory. Update the VMbus driver > to call initialization and cleanup routines since the Hyper-V > synthetic

Re: [GIT PULL] UBI/UBIFS updates for 5.1-rc1

2019-03-13 Thread Richard Weinberger
Am Mittwoch, 13. März 2019, 00:40:33 CET schrieb Linus Torvalds: > On Tue, Mar 12, 2019 at 3:18 PM Linus Torvalds > wrote: > > > > On Tue, Mar 12, 2019 at 8:13 AM Richard Weinberger wrote: > > > > > > git://git.infradead.org/linux-ubifs.git tags/upstream-5.1-rc1 > > > > Pulling this thing is ta

Re: [PATCH 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-13 Thread Uwe Kleine-König
Hello, On Wed, Mar 13, 2019 at 07:28:24AM +, Anson Huang wrote: > > On Mon, Mar 11, 2019 at 07:16:16AM +, Anson Huang wrote: > > > + > > > config PWM_JZ4740 > > > tristate "Ingenic JZ47xx PWM support" > > > depends on MACH_INGENIC > > > diff --git a/drivers/pwm/Makefile b/drivers/pwm/

[RFC v2 2/2] vfio/pci: add vfio-pci-mdev driver

2019-03-13 Thread Liu, Yi L
This patch adds new driver named vfio-pci-mdev. It is similar with vfio-pci driver. Thus consumes some symbols from vfio-pci driver. However, this new driver wraps a pci device as a mediated device. For a pci device, once bound to vfio-pci-mdev driver, user space access of this device will go throu

[RFC v2 0/2] vfio/pci: wrap pci device as a mediated device

2019-03-13 Thread Liu, Yi L
This patchset aims to add a vfio-pci-like meta driver as a demo user of the vfio changes introduced in "vfio/mdev: IOMMU aware mediated device" patchset from Baolu Lu. Previous RFC v1 has given two proposals and the discussion could be found in following link. Per the comments, this patchset adds

[RFC v2 1/2] vfio/pci: export common symbols in vfio-pci

2019-03-13 Thread Liu, Yi L
This patch exports the following symbols from vfio-pci driver for vfio-pci alike driver. e.g. vfio-pci-mdev driver *) vfio_pci_set_vga_decode(); *) vfio_pci_release(); *) vfio_pci_open(); *) vfio_pci_register_dev_region(); *) vfio_pci_ioctl(); *) vfio_pci_rw(); *) vfio_pci_mmap(); *) vfio_pci_requ

[PATCH v2 0/5] drivers: firmware: psci: Some cleanup and refactoring

2019-03-13 Thread Ulf Hansson
Changes in v2: - Drop two patches from the series. - Added acks and other tags, no other changes. All of these patches have been sent earlier, but part of a bigger series [1]. Instead of waiting for that series to get reviewed and accepted, I have split it up, such that these trivi

[PATCH v2 5/5] drivers: firmware: psci: Announce support for OS initiated suspend mode

2019-03-13 Thread Ulf Hansson
PSCI firmware v1.0+, supports two different modes for CPU_SUSPEND. The Platform Coordinated mode, which is the default and mandatory mode, while support for the OS initiated (OSI) mode is optional. In some cases it's interesting for the user/developer to know if the OSI mode is supported by the PS

[PATCH v2 4/5] drivers: firmware: psci: Simplify error path of psci_dt_init()

2019-03-13 Thread Ulf Hansson
Instead of having each psci init function taking care of the of_node_put(), let's deal with that from psci_dt_init(), as this enables a bit simpler error path for each psci init function. Cc: Lina Iyer Co-developed-by: Lina Iyer Signed-off-by: Ulf Hansson Acked-by: Mark Rutland Reviewed-by: Da

[PATCH v2 2/5] MAINTAINERS: Update files for PSCI

2019-03-13 Thread Ulf Hansson
The files for the PSCI firmware driver were moved to a sub-directory, let's update MAINTAINERS to reflect that. Suggested-by: Mark Rutland Signed-off-by: Ulf Hansson Acked-by: Daniel Lezcano Acked-by: Mark Rutland Acked-by: Lorenzo Pieralisi --- MAINTAINERS | 2 +- 1 file changed, 1 insertio

[PATCH v2 3/5] drivers: firmware: psci: Split psci_dt_cpu_init_idle()

2019-03-13 Thread Ulf Hansson
Let's split the psci_dt_cpu_init_idle() function into two functions. This makes the code clearer and provides better re-usability. Cc: Lina Iyer Co-developed-by: Lina Iyer Signed-off-by: Ulf Hansson Acked-by: Daniel Lezcano Acked-by: Mark Rutland Acked-by: Lorenzo Pieralisi --- drivers/firm

[PATCH v2 1/5] drivers: firmware: psci: Move psci to separate directory

2019-03-13 Thread Ulf Hansson
Some following changes extends the PSCI driver with some additional new files. Let's avoid to continue cluttering the toplevel firmware directory and first move the PSCI files into a PSCI sub-directory. Suggested-by: Mark Rutland Signed-off-by: Ulf Hansson Acked-by: Daniel Lezcano Acked-by: Ma

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-13 Thread Sebastian Siewior
On 2019-03-13 09:19:32 [+0100], John Ogness wrote: > recursive situation. As you are pointing out, the notification/wake > component of printk_safe will still be needed. I will leave that (small) > part in printk_safe.c. Does this mean we keep irq_work part or we bury it and solve it by other mean

[PATCH v1] arm: dts: mediatek: add basic support for MT7629 SoC

2019-03-13 Thread ryder.lee
From: Ryder Lee This adds basic support for MT7629 reference board. Signed-off-by: Ryder Lee --- Changes since v1: -Fix unit-address warnings. -Put all the mmio peripherals under a simple-bus node. -Drop all the 'partitions' nodes in flash node. --- arch/arm/boot/dts/Makefile|

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-13 Thread Sergey Senozhatsky
On (03/13/19 09:19), John Ogness wrote: > >> Yes. I will post a series that only implements the ringbuffer using > >> your simplified API. That will be enough to remove printk_safe and > >> actually does most of the work of updating devkmsg, kmsg_dump, and > >> syslog. > > > > This may _not_ be eno

RE: [PATCH 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-13 Thread Anson Huang
Hi, Uwe Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2019年3月13日 16:32 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker.

Re: [RFC PATCH 2/2] spi: spi-mem: Add support for Zynq QSPI controller

2019-03-13 Thread Paul Kocialkowski
Hi, On Thu, 2019-02-28 at 12:32 +0530, Naga Sureshkumar Relli wrote: > Add support for QSPI controller driver used by Xilinx Zynq SOC. I recently gave this a try on a Zynq SoC, configured to use 2 QSPI flash chips (16 MiB each) in a dual-stacked configuration. It looks like the driver does not s

Re: [PATCH 5.0 00/25] 5.0.2-stable review

2019-03-13 Thread Naresh Kamboju
On Tue, 12 Mar 2019 at 22:41, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.2 release. > There are 25 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [PATCH 3/3] kvm: don't redefine flags as something else

2019-03-13 Thread Sebastian Andrzej Siewior
On 2018-10-17 19:06:33 [+0200], Paolo Bonzini wrote: > On 17/10/2018 19:05, Sebastian Andrzej Siewior wrote: > > The function irqfd_wakeup() has flags defined as __poll_t and then it > > has additional flags which is used for irqflags. > > > > Redefine the inner flags variable as iflags so it does

[PATCH 0/4] Introduce OPP bandwidth bindings

2019-03-13 Thread Georgi Djakov
Here is a proposal to extend the OPP bindings with bandwidth based on a previous discussion [1]. Every functional block on a SoC can contribute to the system power efficiency by expressing its own bandwidth needs (to memory or other SoC modules). This will allow the system to save power when high

[PATCH 2/4] OPP: Add support for parsing the interconnect bandwidth

2019-03-13 Thread Georgi Djakov
The OPP bindings now support bandwidth values, so add support to parse it from device tree and store it into the new dev_pm_opp_icc_bw struct, which is part of the dev_pm_opp. Also add and export the dev_pm_opp_set_path() and dev_pm_opp_put_path() helpers, to set (and release) an interconnect path

[PATCH 3/4] OPP: Update the bandwidth on OPP frequency changes

2019-03-13 Thread Georgi Djakov
If the OPP bandwidth values are populated, we want to switch also the interconnect bandwidth in addition to frequency and voltage. Signed-off-by: Georgi Djakov --- drivers/opp/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/opp/core.c b/drivers/opp/core.c index 4b019cecaa0

[PATCH 4/4] cpufreq: dt: Add support for interconnect bandwidth scaling

2019-03-13 Thread Georgi Djakov
In addition to clocks and regulators, some devices can scale the bandwidth of their on-chip interconnect - for example between CPU and DDR memory. Add support for that, so that platforms which support it can make use of it. Signed-off-by: Georgi Djakov --- drivers/cpufreq/cpufreq-dt.c | 27 +

[PATCH 1/4] dt-bindings: opp: Introduce opp-bw-MBs bindings

2019-03-13 Thread Georgi Djakov
In addition to frequency and voltage, some devices may have bandwidth requirements for their interconnect throughput - for example a CPU or GPU may also need to increase or decrease their bandwidth to DDR memory based on the current operating performance point. Extend the OPP tables with additiona

[PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate

2019-03-13 Thread Peng Fan
"arch_initcall_sync(of_platform_default_populate_init);" could be used to populate the device tree, there is no need to call of_platform_default_populate in machine code. Tested on i.MX6Q-SDB i.MX6SL-EVK i.MX6UL-EVK board. Signed-off-by: Peng Fan --- arch/arm/mach-imx/mach-imx6q.c | 2 -- arch

[PATCH 2/2] ARM: imx: mach-imx7ulp: warn when imx_soc_device_init fail

2019-03-13 Thread Peng Fan
Follow other i.MX6/7 machince code to check return value of imx_soc_device_init and warn when fail. Also drop of_platform_default_populate, because "arch_initcall_sync(of_platform_default_populate_init);" could be used to populate the device tree. Signed-off-by: Peng Fan --- arch/arm/mach-imx/m

Re: [PATCH 1/1] arch/powerpc: Rework local_paca to avoid LTO warnings

2019-03-13 Thread Christophe Leroy
Hello, Le 13/03/2019 à 04:42, Alastair D'Silva a écrit : From: Alastair D'Silva When building an LTO kernel, the existing code generates warnings: ./arch/powerpc/include/asm/paca.h:37:30: warning: register of ‘local_paca’ used for multiple global register variables register

Re: [GIT PULL RESEND] pidfd changes for v5.1-rc1

2019-03-13 Thread Christian Brauner
On Wed, Mar 13, 2019 at 05:00:57AM +, Jonathon Kowalski wrote: > Hi, > > Thanks for the work on this system call! I am interested in making use of it > in my process supervisor. It works pretty well and avoids the long-standing > issue of PID reuse. Thanks! The systemd folks have been quite e

Re: [PATCH 3/3] perf, tools, report: Set up samples correctly in hierarchy mode

2019-03-13 Thread Jiri Olsa
On Tue, Mar 12, 2019 at 06:52:30AM -0700, Andi Kleen wrote: > On Tue, Mar 12, 2019 at 12:12:59PM +0100, Jiri Olsa wrote: > > On Mon, Mar 11, 2019 at 08:52:24PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > In hierarchy mode the res samples need to be cloned from the parent > > > ent

[RFC 1/2] dt-bindings: imx6q-pcie: Add support for i.MX8QM/QXP PCIe

2019-03-13 Thread Richard Zhu
Add codes needed to support i.MX8QM/QXP PCIe. - HSIO(High Speed IO) subsystem is new defined on i.MX8QM/QXP. The PCIe and SATA modules are contained in the HSIO subsystem. There are two PCIe, one SATA controllers and three mixed lane PHYs on i.MX8QM. There are three use cases of the HSIO subs

[RFC 2/2] PCI: imx6: Add support for i.MX8QM/QXP PCIe

2019-03-13 Thread Richard Zhu
Add codes needed to support i.MX8QM/QXP PCIe. - HSIO(High Speed IO) subsystem is new defined on i.MX8QM/QXP. The PCIe and SATA modules are contained in the HSIO subsystem. There are two PCIe, one SATA controllers and three mixed lane PHYs on i.MX8QM. There are three use cases of the HSIO subs

Re: [PATCH] mm/debug: add a cast to u64 for atomic64_read()

2019-03-13 Thread Peter Zijlstra
On Mon, Mar 11, 2019 at 03:20:04PM +0100, Arnd Bergmann wrote: > On Mon, Mar 11, 2019 at 3:00 PM Qian Cai wrote: > > > > On Mon, 2019-03-11 at 12:21 +, Jason Gunthorpe wrote: > > > On Sun, Mar 10, 2019 at 08:58:15PM -0700, Davidlohr Bueso wrote: > > > > On Sun, 10 Mar 2019, Qian Cai wrote: > >

[PATCH] arm64: dts: imx8qxp: fix mbox-cells

2019-03-13 Thread Peng Fan
Currently lsio_mu1 is used by Linux Kernel with mbox-cells as 2, but actually mu0-4 could be used to communicate with SCU. So fix the mbox-cells. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/

[PATCH] arm64: dts: imx8qxp: add lsio_mu2 node

2019-03-13 Thread Peng Fan
Add lsio_mu2 node which could be used communicate with SCU. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index 16766838ac

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-13 Thread Sergey Senozhatsky
On (03/13/19 09:40), Sebastian Siewior wrote: > On 2019-03-13 09:19:32 [+0100], John Ogness wrote: > > recursive situation. As you are pointing out, the notification/wake > > component of printk_safe will still be needed. I will leave that (small) > > part in printk_safe.c. > > Does this mean we k

[PATCH] ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255

2019-03-13 Thread Jian-Hong Pan
The Acer TravelMate X514-51T with ALC255 cannot detect the headset MIC until ALC255_FIXUP_ACER_HEADSET_MIC quirk applied. Although, the internal DMIC uses another module - snd_soc_skl as the driver. We still need the NID 0x1a in the quirk to enable the headset MIC. Signed-off-by: Jian-Hong Pan

RE: [PATCH v2 2/2] mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning

2019-03-13 Thread Hunter, Adrian
> -Original Message- > From: Rizvi, Mohammad Faiz Abbas [mailto:faiz_ab...@ti.com] > Sent: Tuesday, March 12, 2019 7:35 PM > To: Hunter, Adrian ; linux- > ker...@vger.kernel.org; linux-...@vger.kernel.org; linux- > o...@vger.kernel.org > Cc: ulf.hans...@linaro.org; kis...@ti.com > Subject:

Re: [PATCH v1] Bluetooth: hci_qca: Enable the ldisc for ROME for x86 platforms.

2019-03-13 Thread rjliao
在 2019-03-12 23:52,Matthias Kaehlcke 写道: Hi Rocky, On Tue, Mar 12, 2019 at 05:01:59PM +0800, rjl...@codeaurora.org wrote: 在 2019-03-09 02:52,Matthias Kaehlcke 写道: > On Fri, Mar 08, 2019 at 10:43:14AM +0530, Balakrishna Godavarthi wrote: > > Hi Matthias, > > > > On 2019-03-08 02:12, Matthias Kae

Re: [PATCH v1] Bluetooth: hci_qca: Give enough time to ROME controller to bootup.

2019-03-13 Thread rjliao
在 2019-03-07 14:49,Balakrishna Godavarthi 写道: Hi Stepen, On 2019-03-07 04:03, Stephen Boyd wrote: Quoting Balakrishna Godavarthi (2019-03-06 08:21:13) This patch enables enough time to ROME controller to bootup after we bring the enable ping out of reset. Signed-off-by: Balakrishna Godavarthi

Re: [PATCH] um: remove uses of variable length arrays

2019-03-13 Thread Bartosz Golaszewski
śr., 13 mar 2019 o 10:45 Anton Ivanov napisał(a): > > On 12/03/2019 13:30, Bartosz Golaszewski wrote: > > 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: Barto

Re: [PATCH 4/9] arm64: dts: meson: g12a: add uart_ao_a pinctrl

2019-03-13 Thread Neil Armstrong
On 12/03/2019 22:15, Kevin Hilman wrote: > Neil Armstrong writes: > >> On 07/03/2019 16:13, Neil Armstrong wrote: >>> From: Jerome Brunet >>> >>> Add the always on UART pinctrl setting to the g12a soc DT and >>> use it for the u200 reference design >>> >>> Signed-off-by: Jerome Brunet >>> Signe

RE: [RFC PATCH 2/2] spi: spi-mem: Add support for Zynq QSPI controller

2019-03-13 Thread Naga Sureshkumar Relli
Hi Paul, Thank you very much for your testing. > -Original Message- > From: Paul Kocialkowski > Sent: Wednesday, March 13, 2019 2:22 PM > To: Naga Sureshkumar Relli ; broo...@kernel.org; > bbrezil...@kernel.org > Cc: rich...@nod.at; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org

为上帝的慈善工作捐款

2019-03-13 Thread roseemman9
为上帝的慈善工作捐款 我向你和你的家人致以亲切的问候。我是已故的Paul Emmanuel博士的遗体Rose Emmanuel女士最近,我的医生告诉我,由于手术已经进行了几个月的生活,尽管由于我的脊髓受损导致我目前的困境是多么令人不安。意外。了解了我的情况后,我决定将(2,500,000.00美元)的金额捐给慈善机构和个人以获得上帝的好工作,并帮助无母亲,少有特权以及寡妇的帮助,因为我是因为我的两个女儿已经死了,只有幸存的人才能继承这笔钱。我要求你做的就是协助保管这笔存放在保安公司保管的基金,然后再予以没收或宣布不能使用。我还决定,在该基金成功发行后,您应从基金中获得30%的资金。我收到

RE: [PATCH V1 07/11] mmc: cqhci: add quirk for setting DCMD CMD_TIMING

2019-03-13 Thread Hunter, Adrian
> -Original Message- > From: Ritesh Harjani [mailto:rite...@codeaurora.org] > Sent: Wednesday, March 13, 2019 4:31 AM > To: Sowjanya Komatineni ; Hunter, Adrian > ; ulf.hans...@linaro.org; robh...@kernel.org; > mark.rutl...@arm.com; Asutosh Das > Cc: thierry.red...@gmail.com; Jonathan Hunt

Re: [PATCH] PM / OPP: Update performance state when freq == old_freq

2019-03-13 Thread Rafael J. Wysocki
On Tuesday, March 12, 2019 5:57:18 AM CET Viresh Kumar wrote: > At boot up, CPUfreq core performs a sanity check to see if the system is > running at a frequency defined in the frequency table of the CPU. If so, > we try to find a valid frequency (lowest frequency greater than the > currently progr

Re: [PATCH v2 1/5] PCI: dwc: Fix dw_pcie_free_msi() if msi_irq is invalid

2019-03-13 Thread Gustavo Pimentel
On 01/03/2019 05:03, Jisheng Zhang wrote: > We should check msi_irq before calling irq_set_chained_handler() and > irq_set_handler_data(). > > Signed-off-by: Jisheng Zhang > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > >

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-13 Thread Sergey Senozhatsky
On (03/13/19 18:27), Sergey Senozhatsky wrote: > > Does this mean we keep irq_work part or we bury it and solve it by other > > means? > > That's a very good question. Because if we add console_trylock() > to printk(), then we can't invoke ->atomic() consoles when console_sem > is already locked, b

Re: [PATCH 3/4] printk: Add consoles to a virtual "console" bus

2019-03-13 Thread Petr Mladek
On Tue 2019-03-12 21:52:13, Calvin Owens wrote: > On Monday 03/11 at 14:33 +0100, Petr Mladek wrote: > > On Fri 2019-03-01 16:48:19, Calvin Owens wrote: > > > This patch embeds a device struct in the console struct, and registers > > > them on a "console" bus so we can expose attributes in sysfs. >

Re: [PATCH] um: remove uses of variable length arrays

2019-03-13 Thread Geert Uytterhoeven
Hi Bartosz, On Wed, Mar 13, 2019 at 10:50 AM Bartosz Golaszewski wrote: > śr., 13 mar 2019 o 10:45 Anton Ivanov > napisał(a): > > PID can be more than 5 digits nowdays. > > Do we have a macro in the kernel that yields the minimum size of an > array to fit a number? I can't find it. I vagely reme

Re: [PATCH v2 2/5] PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi()

2019-03-13 Thread Gustavo Pimentel
Hi, On 01/03/2019 05:04, Jisheng Zhang wrote: > To avoid memory leak, we need to free the page for MSI in > dw_pcie_free_msi(). > > Signed-off-by: Jisheng Zhang > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 3 +++ > drivers/pci/controller/dwc/pcie-designware.h | 1 + > 2 file

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

2019-03-13 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 --- arch/um/include/asm/pgtable.h | 7 ++- 1 file changed, 6 insertions

Re: [PATCH v3 5/7] selftests/ima: kexec_file_load syscall test

2019-03-13 Thread Petr Vorel
Hi Mimi, Dave, > > Frankly I did not read and followup much about the testing code changes, > > not sure if it is doable or not. The code sharing under testing folder > > seems not very good. For example the basic check_root is needed by > > different parts, but all have its own implementation.

Re: [PATCH v4 6/7] s390: ap: Cleanup on removing the AP device

2019-03-13 Thread Pierre Morel
On 12/03/2019 22:53, Tony Krowiak wrote: On 3/11/19 4:31 AM, Pierre Morel wrote: On 08/03/2019 23:43, Tony Krowiak wrote: On 2/22/19 10:29 AM, Pierre Morel wrote: When the device is remove, we must make sure to clear the interruption and reset the AP device. We also need to clear the CRYCB of

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-13 Thread Pierre Morel
On 12/03/2019 22:39, Tony Krowiak wrote: On 3/3/19 9:09 PM, Halil Pasic wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and

Re: [PATCH 1/1] sound/hda/hdac_stream: Avoid NULL pointer dereference

2019-03-13 Thread Takashi Iwai
On Mon, 11 Mar 2019 21:53:57 +0100, Mariusz Ceier wrote: > > For ca0132 codec, azx_dev->stream is NULL during firmware loading. > Calling snd_hdac_get_stream_stripe_ctl unconditionally causes NULL > pointer dereference in that function. > > Signed-off-by: Mariusz Ceier Applied now (with a prope

Re: [PATCH v2 3/5] PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()

2019-03-13 Thread Gustavo Pimentel
Hi, On 01/03/2019 05:05, Jisheng Zhang wrote: > If we ever did some msi related initializations, we need to call > dw_pcie_free_msi() in the error code path. > > Signed-off-by: Jisheng Zhang > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 7 +-- > 1 file changed, 5 insertions(+

Re: [PATCH] hyper-v: Check for ring buffer in hv_get_bytes_to_read/write

2019-03-13 Thread Mohammed Gamal
On Tue, 2019-03-12 at 18:02 +, Haiyang Zhang wrote: >   >   > > -Original Message- > > From: Mohammed Gamal > > Sent: Thursday, March 7, 2019 1:32 PM > > To: Michael Kelley ; linux-hyp...@vger.kern > el.org; > > kimbrownkd > > Cc: Sasha Levin ; Dexuan Cui > > ; Stephen Hemminger ; > >

Re: [PATCH] ALSA: usx2y: Fix potential NULL pointer dereference

2019-03-13 Thread Takashi Iwai
On Tue, 05 Mar 2019 00:00:02 +0100, Aditya Pakki wrote: > > usb_alloc_urb can fail due to kmalloc failure and push the error > upstream. Further this can cause a NULL pointer dereference in > init_pipe_urbs. This patch avoids such a scenario. > > Signed-off-by: Aditya Pakki Applied, thanks.

Re: [PATCH v2 2/2] dmaengine: tegra210-adma: update system sleep callbacks

2019-03-13 Thread Jon Hunter
On 13/03/2019 05:43, Sameer Pujar wrote: > If the driver is active till late suspend, where runtime PM cannot run, > force suspend is essential in such case to put the device in low power > state. Thus pm_runtime_force_suspend and pm_runtime_force_resume are > used as system sleep callbacks durin

Re: [PATCH] ALSA: hda/tegra: avoid build error without CONFIG_PM

2019-03-13 Thread Takashi Iwai
On Mon, 04 Mar 2019 21:33:25 +0100, Arnd Bergmann wrote: > > The #ifdef protection around the PM functions is wrong, leading to > a failed reference in some configurations: > > sound/pci/hda/hda_tegra.c: In function 'hda_tegra_runtime_suspend': > sound/pci/hda/hda_tegra.c:273:2: error: implicit d

Re: [PATCH] um: define set_pte_at() as a static inline function, not a macro

2019-03-13 Thread Geert Uytterhoeven
On Wed, Mar 13, 2019 at 11:16 AM Bartosz Golaszewski wrote: > 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 Re

Re: [PATCH v2 2/2] bus: tegra-aconnect: add system sleep callbacks

2019-03-13 Thread Jon Hunter
On 13/03/2019 04:41, Sameer Pujar wrote: > pm_runtime_force_suspend() and pm_runtime_force_resume() are used as system > sleep noirq suspend and resume callbacks. If the driver is active till late > suspend, where runtime PM cannot run, force suspend is essential for the > device. This makes sure

Re: [PATCH] Fix speakers on Acer Predator Helios 500 Ryzen laptops

2019-03-13 Thread Takashi Iwai
On Tue, 05 Mar 2019 00:38:19 +0100, Bernhard Rosenkraenzer wrote: > > On an Acer Predator Helios 500 (Ryzen version), the laptop's speakers > don't work out of the box. > > The problem can be worked around with hdajackretask, remapping the > "Black Headphone, Right side" pin (0x21) to the Interna

Re: [PATCH] um: remove unused variable

2019-03-13 Thread Anton Ivanov
On 12/03/2019 13:30, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The buf variable is unused. Remove it. Signed-off-by: Bartosz Golaszewski --- 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/ua

Re: [PATCH] um: remove uses of variable length arrays

2019-03-13 Thread Anton Ivanov
On 12/03/2019 13:30, Bartosz Golaszewski wrote: 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

Re: [PATCH v2 5/5] PCI: dwc: Save root bus for driver remove

2019-03-13 Thread Gustavo Pimentel
Hi, On 01/03/2019 05:06, Jisheng Zhang wrote: > Currently dwc host doesn't support the remove, but nothing prevent us > from supporting it. Save the root bus for clean up work in driver > remove code path. > > After this patch, the dwc host users could implement its remove as: > > static int foo

Re: [PATCH v2 4/5] PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify the code

2019-03-13 Thread Gustavo Pimentel
Hi, On 01/03/2019 05:06, Jisheng Zhang wrote: > Use devm_pci_alloc_host_bridge() to simplify the error code path. > > Signed-off-by: Jisheng Zhang > --- > .../pci/controller/dwc/pcie-designware-host.c | 21 +++ > 1 file changed, 8 insertions(+), 13 deletions(-) > > diff --git a

Re: [PATCH] Fix speakers on Acer Predator Helios 500 Ryzen laptops

2019-03-13 Thread Takashi Iwai
On Wed, 13 Mar 2019 11:30:48 +0100, Takashi Iwai wrote: > > On Tue, 05 Mar 2019 00:38:19 +0100, > Bernhard Rosenkraenzer wrote: > > > > On an Acer Predator Helios 500 (Ryzen version), the laptop's speakers > > don't work out of the box. > > > > The problem can be worked around with hdajackretask

Re: [PATCH v2 2/2] dmaengine: tegra210-adma: update system sleep callbacks

2019-03-13 Thread Sameer Pujar
On 3/13/2019 3:58 PM, Jon Hunter wrote: On 13/03/2019 05:43, Sameer Pujar wrote: If the driver is active till late suspend, where runtime PM cannot run, force suspend is essential in such case to put the device in low power state. Thus pm_runtime_force_suspend and pm_runtime_force_resume are u

Re: [RFC] clk: imx: Allow re-parenting by default on set rate

2019-03-13 Thread Sascha Hauer
On Mon, Mar 11, 2019 at 10:41:40AM +, Abel Vesa wrote: > On 19-03-11 11:28:25, Sascha Hauer wrote: > > Hi Abel, > > > > On Thu, Mar 07, 2019 at 09:20:37AM +, Abel Vesa wrote: > > > By default, the muxes should re-parent on set_rate. > > > This would allow the drivers to control only the le

  1   2   3   4   5   6   7   8   9   >