Re: [PATCH] ARM: dts: at91: Fix typo in ISC_D0 on PC9

2019-03-11 Thread Nicolas.Ferre
On 11/03/2019 at 08:57, David Engraf wrote: > The function argument for the ISC_D0 on PC9 was incorrect. According to > the documentation it should be 'C' aka 3. > > Signed-off-by: David Engraf Reviewed-by: Nicolas Ferre Fixes: 7f16cb676c00 ("ARM: at91/dt: add sama5d2 pinmux") Cc: # v4.4+ >

Re: [RFC] Log PCIe service info with pci_dev, not pcie_device

2019-03-11 Thread Rafael J. Wysocki
On Friday, March 8, 2019 7:01:49 PM CET Bjorn Helgaas wrote: > This is strictly a discussion starter, obviously not for application. > > The portdrv driver binds to pci_dev for PCIe Root Ports and Switch > Ports. It creates additional pcie_devices for each "service" (Power > Management events, AE

Re: [PATCH 0/7] VF610 GPIO fixes/improvments

2019-03-11 Thread Bartosz Golaszewski
pon., 11 mar 2019 o 07:28 Andrey Smirnov napisał(a): > > Everyone: > > This series contains a number of fixes/improvements I came up with > while working VF610 GPIO code. Hopefully each commit is > self-explanatory. > > Feedback is welcome! > > Thanks, > Andrey Smirnov > > Andrey Smirnov (7): >

[PATCH 07/11] arm64: dts: meson-g12a-x96-max: Enable BT Module

2019-03-11 Thread Neil Armstrong
Enable the Bluetooth Module on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g

[PATCH 06/11] arm64: dts: meson-g12a-x96-max: add regulators

2019-03-11 Thread Neil Armstrong
From: Guillaume La Roque Add system regulators for the X96 Max Set-Top-Box. Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 65 +++ 1 file changed, 65 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/me

[PATCH 05/11] arm64: dts: meson-g12a-sei510: add regulators

2019-03-11 Thread Neil Armstrong
From: Jerome Brunet Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU(PWM controlled) * VDDQ1_5 Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-sei510.dts| 55 +++ 1 file changed, 55 insertions(+)

[PATCH 01/11] arm64: dts: meson-g12a-u200: add uart_AO pinctrl

2019-03-11 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts index c44dbd

[PATCH 09/11] arm64: dts: meson-g12a-sei510: Enable USB

2019-03-11 Thread Neil Armstrong
Enable the USB2 and USB3 Host ports on the SEI520 Set-Top-Box. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g

Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

2019-03-11 Thread Andreas Schwab
On Mär 11 2019, Geert Uytterhoeven wrote: > Hi Finn, > > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain wrote: >> No, the link fails because the compiler still emits some references to >> strlen(). > > Despite -ffreestanding?!? *Because* of -ffreestanding. Without that, strlen would be recognized

Re: [PATCH 5/5] drm/vc4: fix fb references in async update

2019-03-11 Thread Boris Brezillon
+Eric (the VC4 driver maintainer) Hello Helen, On Mon, 4 Mar 2019 11:49:09 -0300 Helen Koike wrote: > Async update callbacks are expected to set the old_fb in the new_state > so prepare/cleanup framebuffers are balanced. > > Calling drm_atomic_set_fb_for_plane() (which gets a reference of the

[PATCH 04/11] arm64: dts: meson-g12a-u200: add regulators

2019-03-11 Thread Neil Armstrong
From: Jerome Brunet Add system regulators for the S905D2 U200 reference design. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-u200.dts | 79 +++ 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/mes

[PATCH 03/11] arm64: dts: meson-g12a-x96-max: add uart_AO pinctrl

2019-03-11 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts ind

[PATCH 11/11] arm64: dts: meson-g12a-x96-max: Enable USB

2019-03-11 Thread Neil Armstrong
Enable the USB2 and USB3 Host ports on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meso

[PATCH 10/11] arm64: dts: meson-g12a-u200: Enable USB

2019-03-11 Thread Neil Armstrong
Enable the USB2 OTG and USB3 Host ports on the S905D2 Reference Design. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/a

[PATCH 02/11] arm64: dts: meson-g12a-sei510: add uart_AO pinctrl

2019-03-11 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index

[PATCH 00/11] arm64: dts: g12a: Add boards peripherals

2019-03-11 Thread Neil Armstrong
Following [1], add regulators, bluetooth, UART and ADC keys on : - meson-g12a-x96-max - meson-g12a-u200 - meson-g12a-sei510 [1] https://patchwork.kernel.org/cover/10843095/ Guillaume La Roque (1): arm64: dts: meson-g12a-x96-max: add regulators Jerome Brunet (2): arm64: dts: meson-g12a-u200:

[PATCH 08/11] arm64: dts: meson-g12a-sei510: Add ADC Key and BT support

2019-03-11 Thread Neil Armstrong
Add support for the : - ADC Touch key - Bluetooth Module on UART A Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-sei510.dts| 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/aml

Re: [PATCH 3/3] userfaultfd: apply unprivileged_userfaultfd check

2019-03-11 Thread Peter Xu
On Mon, Mar 11, 2019 at 05:37:01PM +0800, Peter Xu wrote: > Apply the unprivileged_userfaultfd check when doing userfaultfd > syscall. We didn't check it in other paths of userfaultfd (e.g., the > ioctl() path) because we don't want to drag down the fast path of > userfaultfd, as suggested by Andr

Re: [PATCH] drm/meson: handle when meson_canvas_get returns -EPROBE_DEFER

2019-03-11 Thread Maxime Jourdan
Hi Neil, On Mon, Feb 4, 2019 at 10:55 AM Neil Armstrong wrote: > > When meson_canvas is not yet probed, meson_canvas_get returns -EPROBE_DEFER. > > Handle this case but deferring the probe of the drm driver aswell. > > Fixes: 66cae477c380 ("drm/meson: Use optional canvas provider") > Signed-off-by

Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

2019-03-11 Thread Geert Uytterhoeven
Hi Andreas, On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab wrote: > On Mär 11 2019, Geert Uytterhoeven wrote: > > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain > > wrote: > >> No, the link fails because the compiler still emits some references to > >> strlen(). > > > > Despite -ffreestanding?!?

Re: [PATCH v3 2/9] irqdomain: add bus token DOMAIN_BUS_WAKEUP

2019-03-11 Thread Marc Zyngier
On 22/02/2019 22:18, Lina Iyer wrote: > Add new bus token to describe domains that are wakeup capable. This doesn't quite match what this bus token is trying to describe. How about something along the lines of the following: A single controller can handle normal interrupts and wake-up interrupts

[PATCH v5] PM / devfreq: Restart previous governor if new governor fails to start

2019-03-11 Thread Sibi Sankar
From: Saravana Kannan If the new governor fails to start, switch back to old governor so that the devfreq state is not left in some weird limbo. [Mjungjoo: assume fatal on revert failure and set df->governor to NULL] Signed-off-by: Sibi Sankar Signed-off-by: Saravana Kannan Reviewed-by: Chanwo

Re: [PATCH] leds: fix a potential NULL pointer dereference

2019-03-11 Thread Enrico Weigelt, metux IT consult
On 10.03.19 21:27, Jacek Anaszewski wrote: > Hi Kangjie, > > Thank you for the patch. > > On 3/9/19 7:04 AM, Kangjie Lu wrote: >> In case of_match_device cannot find a match, the fixes returns >> -EINVAL to avoid NULL pointer dereference. >> >> Signed-off-by: Kangjie Lu >> --- >>   drivers/leds/

Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

2019-03-11 Thread Andreas Schwab
On Mär 11 2019, Geert Uytterhoeven wrote: > Hi Andreas, > > On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab wrote: >> On Mär 11 2019, Geert Uytterhoeven wrote: >> > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain >> > wrote: >> >> No, the link fails because the compiler still emits some references

Re: [m68k:master 1174/1174] arch/m68k/include/asm/string.h:72:25: warning: '__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]

2019-03-11 Thread Geert Uytterhoeven
Hi Andreas, On Mon, Mar 11, 2019 at 11:13 AM Andreas Schwab wrote: > On Mär 11 2019, Geert Uytterhoeven wrote: > > On Mon, Mar 11, 2019 at 10:56 AM Andreas Schwab > > wrote: > >> On Mär 11 2019, Geert Uytterhoeven wrote: > >> > On Thu, Mar 7, 2019 at 10:42 PM Finn Thain > >> > wrote: > >> >

Re: 5.0-rc1 Open circuit voltage tables -- 3afb50d7125bc

2019-03-11 Thread Pavel Machek
On Mon 2019-01-07 20:05:55, Pavel Machek wrote: > Hi! > > Can we do something with that code? > > First -- tables should not be necceessary. Formula for li-ion open > circuit voltage is well-known, and does not really depend on the > device -- only on the chemistry of battery. > > state of charg

Re: [PATCHv7 03/10] acpi/hmat: Parse and report heterogeneous memory

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:31 -0700 Keith Busch wrote: > Systems may provide different memory types and export this information > in the ACPI Heterogeneous Memory Attribute Table (HMAT). Parse these > tables provided by the platform and report the memory access and caching > attributes to the kern

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

2019-03-11 Thread Sascha Hauer
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 leaf clock node, > leaving the rest to the clock driver, that way simplifying the > clock control. I am afraid of this chang

Re: [PATCHv7 04/10] node: Link memory nodes to their compute nodes

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:32 -0700 Keith Busch wrote: > Systems may be constructed with various specialized nodes. Some nodes > may provide memory, some provide compute devices that access and use > that memory, and others may provide both. Nodes that provide memory are > referred to as memory ta

Re: [PATCH v3 4/9] drivers: irqchip: add PDC irqdomain for wakeup capable GPIOs

2019-03-11 Thread Marc Zyngier
On 22/02/2019 22:18, Lina Iyer wrote: > Introduce a new domain for wakeup capable GPIOs. The domain can be > requested using the bus token DOMAIN_BUS_WAKEUP. In the following > patches, we will specify PDC as the wakeup-parent for the TLMM GPIO > irqchip. Requesting a wakeup GPIO will setup the GPI

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

2019-03-11 Thread Abel Vesa
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 leaf clock node, > > leaving the rest to the clock driver, that way simpl

Re: [PATCH v3 3/9] of: irq: add helper to remap interrupts to another irqdomain

2019-03-11 Thread Marc Zyngier
On 22/02/2019 22:18, Lina Iyer wrote: > From: Stephen Boyd > > Sometimes interrupts are routed from an interrupt controller to another > in no specific order. Having these in the drives makes it difficult to s/drives/driver/ ? > maintain when the same drivers supports multiple variants with dif

Re: [RFC PATCH v1 08/25] printk: add ring buffer and kthread

2019-03-11 Thread John Ogness
On 2019-03-07, Sergey Senozhatsky wrote: >> The current printk implementation will do a better job of getting the >> informational messages out, but at an enormous cost to all the tasks >> on the system (including the realtime tasks). I am proposing a printk >> implementation where the tasks are n

Re: [PATCH v3 6/9] drivers: pinctrl: msm: setup GPIO irqchip hierarchy

2019-03-11 Thread Marc Zyngier
On 22/02/2019 22:18, Lina Iyer wrote: > To allow GPIOs to wakeup the system from suspend or deep idle, the > wakeup capable GPIOs are setup in hierarchy with interrupts from the > wakeup-parent irqchip. > > In older SoC's, the TLMM will handover detection to the parent irqchip > and in newer SoC's

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

2019-03-11 Thread Sergey Senozhatsky
On (03/07/19 10:53), John Ogness wrote: [..] > > No, I am not sure if we can convert all console drivers to atomic > consoles. But I think if we don't have to fear disturbing the system, > the possibilities for such an implementation are greater. > > If there are setups which can be fully !atomic

Re: [PATCH v5 07/10] perf record: implement -z,--compression_level=n option and compression

2019-03-11 Thread Jiri Olsa
On Sun, Mar 10, 2019 at 07:17:08PM +0300, Alexey Budankov wrote: SNIP > > so to be on the same page.. normal processing without compression is: > > > > perf_mmap__push does: > > push(mmap buf) > > record__pushfn > > record__write > > write(buf) > > > > perf_mmap_

replacement for CAN_LEDS

2019-03-11 Thread Rasmus Villemoes
Hi I'm in the process of upgrading an old BSP to a 4.19 kernel, and noticed that CAN_LEDS has been marked broken. The comments say that the netdev trigger can do everything, but doesn't provide much guidance on how to actually do the transition. In my case, I used to have a device tree node

Re: [PATCH v2] net: renesas: fix a missing check of of_get_phy_mode

2019-03-11 Thread Geert Uytterhoeven
Hi Kangjie, On Mon, Mar 11, 2019 at 8:50 AM Kangjie Lu wrote: > of_get_phy_mode may fail and return a negative error code; > the fix checks the return value of of_get_phy_mode and > returns NULL of it fails. > > Signed-off-by: Kangjie Lu > --- a/drivers/net/ethernet/renesas/sh_eth.c > +++ b/dri

Re: [PATCH 1/4] elf: don't be afraid of overflow

2019-03-11 Thread Pavel Machek
On Mon 2019-02-04 23:27:15, Alexey Dobriyan wrote: > Number of ELF program headers is 16-bit by spec, so total size > comfortably fits into "unsigned int". If it can't overflow, gcc should know too, and optimize checks out... right? > @@ -429,13 +430,9 @@ static struct elf_phdr *load_elf_phdrs(st

Re: [PATCH 14/22] x86/fpu: Eager switch PKRU state

2019-03-11 Thread Sebastian Andrzej Siewior
On 2019-03-08 11:01:25 [-0800], Dave Hansen wrote: > On 3/8/19 10:08 AM, Sebastian Andrzej Siewior wrote: > > On 2019-02-25 10:16:24 [-0800], Dave Hansen wrote: > >>> + if (!cpu_feature_enabled(X86_FEATURE_OSPKE)) > >>> + return; > >>> + > >>> + if (current->mm) { > >>> + pk = get_x

Re: [PATCH v3 0/9] qcom: support wakeup capable GPIOs

2019-03-11 Thread Marc Zyngier
On 22/02/2019 22:18, Lina Iyer wrote: > Hi all, > > This series is based on idea of setting up a wakeup parent interrupt > controller > for GPIOs that are wakeup capable. The patch is based on Thierry's > hierarchical > GPIO irqdomains. Much of the idea stem's from Stephen's suggestions in [1]

Re: [PATCH] iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data

2019-03-11 Thread Arnd Bergmann
On Sun, Mar 10, 2019 at 10:37 AM Jonathan Cameron wrote: > On Thu, 7 Mar 2019 16:35:26 -0800 Nick Desaulniers > wrote: > > On Thu, Mar 7, 2019 at 1:46 PM Nathan Chancellor > > wrote: > > > > > > When building with -Wsometimes-uninitialized, Clang warns: > > > > > > drivers/iio/common/ssp_senso

Re: 5.0-rc1 Open circuit voltage tables -- 3afb50d7125bc

2019-03-11 Thread Baolin Wang
Hi Pavel, On Mon, 11 Mar 2019 at 18:23, Pavel Machek wrote: > > On Mon 2019-01-07 20:05:55, Pavel Machek wrote: > > Hi! > > > > Can we do something with that code? > > > > First -- tables should not be necceessary. Formula for li-ion open > > circuit voltage is well-known, and does not really dep

Re: [PATCHv7 07/10] acpi/hmat: Register processor domain to its memory

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:35 -0700 Keith Busch wrote: > If the HMAT Subsystem Address Range provides a valid processor proximity > domain for a memory domain, or a processor domain matches the performance > access of the valid processor proximity domain, register the memory > target with that ini

Re: [PATCH v4 4/4] gnss: add driver for mediatek receivers

2019-03-11 Thread Pavel Machek
On Thu 2019-02-14 11:12:12, Johan Hovold wrote: > On Thu, Feb 14, 2019 at 11:00:19AM +0100, Corentin Labbe wrote: > > On Wed, Feb 13, 2019 at 04:09:29PM +0100, Loys Ollivier wrote: > > > Add driver for serial-connected Mediatek-based GNSS receivers. > > > > > > These devices typically boot transmi

Re: [PATCHv7 08/10] acpi/hmat: Register performance attributes

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:36 -0700 Keith Busch wrote: > Save the best performace access attributes and register these with the performance > memory's node if HMAT provides the locality table. While HMAT does make > it possible to know performance for all possible initiator-target > pairings, we

[PATCH 1/2] i2c: i2c-designware-platdrv: Allow a dynamic adap. nr without an ACPI fwnode

2019-03-11 Thread Hans de Goede
Before this commit the i2c-designware-platdrv assumes that if the pdev has an apci-companion it should use a dynamic adapter-nr and otherwise it will use pdev->id as adapter-nr. On some devices e.g. the Apollo Lake using Acer TravelMate Spin B118, some of the LPSS i2c-adapters are enumerated throu

[PATCH 0/2] intel-lpss-pci-i2c: Fix oops when there is no ACPI fwnode

2019-03-11 Thread Hans de Goede
Hi All, Here is a patch series fixing an oops when there is no ACPI fwnode associated with a PCI enumerated LPSS I2C controller: https://bugzilla.redhat.com/show_bug.cgi?id=1687065 This is fixed by the first patch in this series, which modifies i2c-designware-platdrv.c to fix this. The fix is ena

[PATCH 2/2] mfd: intel-lpss: Add "linux,use-dynamic-adapter-nr" device-prop to i2c-devices

2019-03-11 Thread Hans de Goede
The i2c-designware-platdrv assumes that if the pdev has an apci-companion it should use a dynamic adapter-nr and otherwise it will use pdev->id as adapter-nr. On some devices e.g. the Apollo Lake using Acer TravelMate Spin B118, some of the LPSS i2c-adapters are enumerated through PCI and do not h

Re: [PATCH 4/4] leds: lm3532: Introduce the lm3532 LED driver

2019-03-11 Thread Dan Murphy
Jacek On 3/10/19 2:49 PM, Jacek Anaszewski wrote: > Hi Dan, > > Thank your for the patch. > > I have some comments below, please take a look. > Thanks for the review. I have pushed v2 with some code changes but those changes that were made seem to be outside your comments. So I will implemn

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

2019-03-11 Thread Lucas Stach
Hi Eric, Am Sonntag, den 10.03.2019, 16:18 -0700 schrieb Eric Nelson: > The pll4_audio_div attempted to reflect one bit of a two-bit > divisor (AUDIO_DIV_LSB) in the CCM_ANALOG_MISC2 register. > > Unfortunately, this divisor is non-functional at least on the > latest silicon revisions and has bee

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

2019-03-11 Thread Suthikulpanit, Suravee
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 the > not-running bit set in the avic backing page. I believe you are referring t

Re: [PATCHv7 10/10] doc/mm: New documentation for memory performance

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:38 -0700 Keith Busch wrote: > Platforms may provide system memory where some physical address ranges > perform differently than others, or is side cached by the system. The magic 'side cached' term still here in the patch description, ideally wants cleaning up. > > Add

Re: [PATCH v8 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-03-11 Thread Yash Shah
On Fri, Mar 8, 2019 at 5:27 PM Uwe Kleine-König wrote: > > Hello, > > On Fri, Mar 08, 2019 at 04:59:36PM +0530, Yash Shah wrote: > > On Thu, Mar 7, 2019 at 8:57 PM Uwe Kleine-König > > wrote: > > > > +static int pwm_sifive_apply(struct pwm_chip *chip, struct pwm_device > > > > *dev, > > > > +

Re: [PATCH 2/2] ceph: quota: fix quota subdir mounts

2019-03-11 Thread Luis Henriques
"Yan, Zheng" writes: > On Sat, Mar 9, 2019 at 12:30 AM Luis Henriques wrote: >> >> The CephFS kernel client does not enforce quotas set in a directory that >> isn't >> visible from the mount point. For example, given the path '/dir1/dir2', if >> quotas >> are set in 'dir1' and the filesystem

[PATCH v2] PCI: xilinx-nwl: Fix Multi MSI data programming

2019-03-11 Thread Bharat Kumar Gogada
The current Multi MSI data programming fails if multiple end points requesting MSI and multi MSI are connected with switch, i.e the current multi MSI data being given is not considering the number of vectors being requested in case of multi MSI. Due to this if multiple end points are connected and

Re: [PATCHv7 00/10] Heterogenous memory node attributes

2019-03-11 Thread Jonathan Cameron
On Wed, 27 Feb 2019 15:50:28 -0700 Keith Busch wrote: > == Changes since v6 == > > Updated to linux-next, which has a change to the HMAT structures to > account for ACPI revision 6.3. > > Changed memory-side cache "associativity" attribute to "indexing" > > > Regarding the Kconfig, I am

Re: [RFC PATCH ghak10 v6 0/2] audit: Log changes that can affect the system clock

2019-03-11 Thread Ondrej Mosnacek
On Fri, Mar 8, 2019 at 9:26 PM Richard Guy Briggs wrote: > On 2019-03-07 13:32, Ondrej Mosnacek wrote: > > This patchset implements auditing of (syscall-triggered) changes that > > can modify or indirectly affect the system clock. Some of these > > changes can already be detected by simply logging

Re: [PATCH v8 0/5] arm64: ftrace with regs

2019-03-11 Thread Torsten Duwe
On Wed, Feb 13, 2019 at 11:11:04AM +, Julien Thierry wrote: > Hi Torsten, > > On 08/02/2019 15:08, Torsten Duwe wrote: > > Patch series v8, as discussed. > > The whole series applies cleanly on 5.0-rc5 So what's the status now? Besides debatable minor style issues there were no more objection

Re: [PATCH v2 4/5] selftests/ima: kexec_file_load syscall test

2019-03-11 Thread Mimi Zohar
On Mon, 2019-03-11 at 09:34 +0100, Petr Vorel wrote: > Hi Mimi, > > > On Thu, 2019-02-28 at 23:00 +0100, Petr Vorel wrote: > > > > > + local keypair1="$2" > > > > + local keypair2="$3" > > > > + > > > > + mount_securityfs > > > > + > > > > + local ima_policy=$SECURITYFS/im

RE: [PATCH 1/2] dt: snps,dw-apb-ssi: Add clock bindings documentation

2019-03-11 Thread Gareth Williams
> On Sat, Mar 03, 2019 at 23:32 +0100, Mark Brown wrote: > > On Thu, Feb 28, 2019 at 01:25:41PM +, Gareth Williams wrote: > > From: Phil Edworthy > > > > The driver requires a clock property, so detail it in the docs. > > Fix a typo, 'pis' to 'pins'. > > Add documentation for a separate, optio

Re: [PATCH] vmlinux.lds.h: drop unused __vermagic

2019-03-11 Thread Jessica Yu
+++ Mathias Krause [10/03/19 20:26 +0100]: Hi Jessica, On Mon, 21 Jan 2019 at 12:39, Mathias Krause wrote: On Wed, 2 Jan 2019 at 21:29, Jessica Yu wrote: > > +++ Mathias Krause [30/12/18 13:40 +0100]: > >The reference to '__vermagic' is a relict from v2.5 times. And even > >there it had a ve

[PATCH] PM / wakeup: Drop wakeup_source_drop()

2019-03-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit d856f39ac1cc ("PM / wakeup: Rework wakeup source timer cancellation") wakeup_source_drop() is a trivial wrapper around __pm_relax() and it has no users except for wakeup_source_destroy() and wakeup_source_trash() which also has no users, so drop it along with

[PATCH] cpufreq: intel_pstate: Fix up iowait_boost computation

2019-03-11 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit b8bd1581aa61 ("cpufreq: intel_pstate: Rework iowait boosting to be less aggressive") the handling of the case when the SCHED_CPUFREQ_IOWAIT flag is set again after a few iterations of intel_pstate_update_util() is a bit inconsistent, because the new value of c

Re: [PATCH] doc: acpi: fix path for acpidbg tool

2019-03-11 Thread Rafael J. Wysocki
On Friday, March 1, 2019 11:53:11 AM CET Flavio Suligoi wrote: > The file: > > Documentation/acpi/aml-debugger.txt > > reports an obsolete path for the acpidbg tool. > > Signed-off-by: Flavio Suligoi > --- > Documentation/acpi/aml-debugger.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 del

Re: [PATCH] power: Add and use pr_fmt

2019-03-11 Thread Rafael J. Wysocki
On Tuesday, March 5, 2019 3:15:19 AM CET Kevin Hilman wrote: > Joe Perches writes: > > > Prefix all printk/pr_ messages with "PM: " to make the > > logging a bit more consistent. > > > > Miscellanea: > > > > o Convert a few printks to pr_ > > o Whitespace to align to open parentheses > > o Remove

Actualiza tu cuenta

2019-03-11 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se actual

Re: [PATCH 1/2] PM / Runtime: Consolidate code to get active/suspended time

2019-03-11 Thread Rafael J. Wysocki
On Tuesday, March 5, 2019 1:55:26 PM CET Ulf Hansson wrote: > In a step to consolidate code around fetching the runtime PM active/suspend > time for a device, let's re-factor the existing pm_runtime_suspended_time() > and add a new corresponding pm_runtime_active_time(). Make the latter > shared in

Re: [PATCH] cpufreq: pxa2xx: remove incorrect __init annotation

2019-03-11 Thread Rafael J. Wysocki
On Thursday, March 7, 2019 11:22:41 AM CET Arnd Bergmann wrote: > pxa_cpufreq_init_voltages() is marked __init but usually inlined into > the non-__init pxa_cpufreq_init() function. When building with clang, > it can stay as a standalone function in a discarded section, and produce > this warning:

Re: [RFC PATCH v1 19/25] printk: introduce emergency messages

2019-03-11 Thread John Ogness
On 2019-03-08, Petr Mladek wrote: >>> +static bool console_can_emergency(int level) >>> +{ >>> + struct console *con; >>> + >>> + for_each_console(con) { >>> + if (!(con->flags & CON_ENABLED)) >>> + continue; >>> + if (con->write_atomic && level < emergenc

Actualiza tu cuenta

2019-03-11 Thread Administrador de cuenta
Web de correo electrónico de administración de notificaciones Este mensaje es de nuestro centro de mensajería Web Admin a todos nuestros propietarios de cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web. Su cuenta de correo electrónico se actual

Re: [PATCH 1/2] PM / wakeup: Remove timer from wakeup_source_remove()

2019-03-11 Thread Rafael J. Wysocki
On Friday, March 8, 2019 10:53:11 AM CET Viresh Kumar wrote: > wakeup_source_remove() is the counterpart of wakeup_source_add() helper > and must undo the initializations done by wakeup_source_add(). Currently > the timer is initialized by wakeup_source_add() but removed from > wakeup_source_drop()

Re: [PATCH] gpio: omap: avoid clang warning

2019-03-11 Thread Arnd Bergmann
On Mon, Mar 11, 2019 at 10:40 AM Bartosz Golaszewski wrote: > czw., 7 mar 2019 o 11:39 Arnd Bergmann napisał(a): > > clang warns about a tentative array definition in the gpio-omap driver: > > > > drivers/gpio/gpio-omap.c:1282:34: error: tentative array definition assumed > > to have one element

Re: [PATCH] vmlinux.lds.h: drop unused __vermagic

2019-03-11 Thread Arnd Bergmann
On Mon, Mar 11, 2019 at 12:55 PM Jessica Yu wrote: > > +++ Mathias Krause [10/03/19 20:26 +0100]: > >Hi Jessica, > > > >On Mon, 21 Jan 2019 at 12:39, Mathias Krause wrote: > >> > >> On Wed, 2 Jan 2019 at 21:29, Jessica Yu wrote: > >> > > >> > +++ Mathias Krause [30/12/18 13:40 +0100]: > >> > >Th

Re: [PATCH v3 3/3] arm64: mm: enable per pmd page table lock

2019-03-11 Thread Mark Rutland
Hi, On Sat, Mar 09, 2019 at 06:19:06PM -0700, Yu Zhao wrote: > Switch from per mm_struct to per pmd page table lock by enabling > ARCH_ENABLE_SPLIT_PMD_PTLOCK. This provides better granularity for > large system. > > I'm not sure if there is contention on mm->page_table_lock. Given > the option c

Re: linux-next: build failure after merge of the xarray tree

2019-03-11 Thread Jason Gunthorpe
On Sun, Mar 10, 2019 at 07:44:34PM -0700, Matthew Wilcox wrote: > On Thu, Feb 21, 2019 at 12:34:42PM +, Leon Romanovsky wrote: > > On Thu, Feb 21, 2019 at 05:13:32PM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the xarray tree, today's linux-next build (powerpc > > > p

Re: [PATCH v8 0/5] arm64: ftrace with regs

2019-03-11 Thread Mark Rutland
Hi Torsten, On Mon, Mar 11, 2019 at 12:49:46PM +0100, Torsten Duwe wrote: > On Wed, Feb 13, 2019 at 11:11:04AM +, Julien Thierry wrote: > > Hi Torsten, > > > > On 08/02/2019 15:08, Torsten Duwe wrote: > > > Patch series v8, as discussed. > > > The whole series applies cleanly on 5.0-rc5 > >

Re: [PATCH serial v3] sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()

2019-03-11 Thread Dan Carpenter
On Mon, Mar 11, 2019 at 05:39:59PM +0800, Mao Wenan wrote: > Add the missing uart_unregister_driver() and i2c_del_driver() before > return from sc16is7xx_init() in the error handling case. > > Signed-off-by: Mao Wenan > Reviewed-by: Vladimir Zapolskiy This looks nice. Thanks! Reviewed-by: Dan

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

2019-03-11 Thread Jason Gunthorpe
On Sun, Mar 10, 2019 at 08:58:15PM -0700, Davidlohr Bueso wrote: > On Sun, 10 Mar 2019, Qian Cai wrote: > > > atomic64_read() on ppc64le returns "long int", so fix the same way as > > the commit d549f545e690 ("drm/virtio: use %llu format string form > > atomic64_t") by adding a cast to u64, which

Re: [PATCH 03/25] dt-bindings: leds: Add LED_FUNCTION definitions

2019-03-11 Thread Dan Murphy
Jacek On 3/10/19 1:28 PM, Jacek Anaszewski wrote: > Add common LED function definitions for use in Device Tree. > The function names were extracted from existing dts files > after eliminating oddities. > > Signed-off-by: Jacek Anaszewski > Cc: Baolin Wang > Cc: Daniel Mack > Cc: Dan Murphy >

Re: [PATCH 04/25] dt-bindings: leds: Add LED_COLOR_NAME definitions

2019-03-11 Thread Dan Murphy
Jacek On 3/10/19 1:28 PM, Jacek Anaszewski wrote: > Add common LED color name definitions for use in Device Tree. > > Signed-off-by: Jacek Anaszewski > Cc: Baolin Wang > Cc: Daniel Mack > Cc: Dan Murphy > Cc: Linus Walleij > Cc: Oleh Kravchenko > Cc: Sakari Ailus > Cc: Simon Shields > ---

Re: [PATCH 05/25] dt-bindings: leds: Add function and color properties

2019-03-11 Thread Dan Murphy
On 3/10/19 1:28 PM, Jacek Anaszewski wrote: > Introduce dedicated properties for conveying information about > LED function and color. Mark old "label" property as deprecated. > > Signed-off-by: Jacek Anaszewski > Cc: Baolin Wang > Cc: Daniel Mack > Cc: Dan Murphy > Cc: Linus Walleij > Cc: Ol

Re: [PATCH 11/25] leds: lp8860: Use led_compose_name()

2019-03-11 Thread Dan Murphy
On 3/10/19 1:28 PM, Jacek Anaszewski wrote: > Switch to using generic LED support for composing LED class > device name. > > While at it, avoid iterating through available child of nodes > in favor of obtaining single expected child node using single > call to of_get_next_available_child(). > > S

Re: linux-next: build failure after merge of the xarray tree

2019-03-11 Thread Matthew Wilcox
On Mon, Mar 11, 2019 at 12:13:54PM +, Jason Gunthorpe wrote: > > @@ -1059,14 +1050,14 @@ static int assign_client_id(struct ib_client > > *client) > > * to get the LIFO order. The extra linked list can go away if xarray > > * learns to reverse iterate. > > */ > > - if (list_em

Re: [PATCH v5 11/15] perf tools report: Implement browsing of individual samples

2019-03-11 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 09:56:24PM -0800, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c > index 08e2b3be4c1b..da3a944f42aa 100644 > --- a/tools/perf/util/hist.c > +++ b/tools/perf/util/hist.c > @@ -445,6 +445,14 @@ static int hist_entry__init(struct hist_en

Re: [PATCH v5 01/15] perf tools: Add utility function to fetch executable

2019-03-11 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 09:56:14PM -0800, Andi Kleen wrote: > From: Andi Kleen > > Add a utility function to fetch executable code. Convert one > user over to it. There are more places doing that, but they > do significantly different actions, so they are not > easy to fit into a single library f

Re: [PATCH v5 03/15] perf tools script: Filter COMM/FORK/.. events by CPU

2019-03-11 Thread Jiri Olsa
On Fri, Mar 08, 2019 at 09:56:16PM -0800, Andi Kleen wrote: > From: Andi Kleen > > The --cpu option only filtered samples. Filter other perf events, > such as COMM, FORK, SWITCH by the CPU too. > > Reported-by: Jiri Olsa > Signed-off-by: Andi Kleen > > --- > v2: Only filter printf output > --

Re: [PATCH v5 03/10] perf session: define bytes_transferred and bytes_compressed metrics

2019-03-11 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 11:19:03AM +0300, Alexey Budankov wrote: > On 07.03.2019 11:29, Alexey Budankov wrote: > > > > On 05.03.2019 15:26, Jiri Olsa wrote: > >> On Fri, Mar 01, 2019 at 06:43:28PM +0300, Alexey Budankov wrote: > >>> > >>> Define bytes_transferred and bytes_compressed metrics to ca

Re: [PATCH v2] AMD perf PMU events for AMD Family 17h.

2019-03-11 Thread Martin Liška
On 3/8/19 5:57 PM, Arnaldo Carvalho de Melo wrote: > Collected Boris's Acked-by and the original cset commit log and the > patch at the end of the message, next time please resubmit with a: > > [PATCH v2] proper summary > > proper description > > collect acks > s-o-b > > Thanks, > > -

Re: [PATCH 13/25] leds: lm3692x: Use led_compose_name()

2019-03-11 Thread Dan Murphy
On 3/10/19 1:28 PM, Jacek Anaszewski wrote: > Switch to using generic LED support for composing LED class > device name. > > Since the same device strings would be used in two places, > then add macros LM36922_NAME and LM36922_NAME for use in > lm3692x_probe_dt(() and lm3692x_id array. > > Signed

Re: linux-next: build failure after merge of the xarray tree

2019-03-11 Thread Leon Romanovsky
On Sun, Mar 10, 2019 at 07:44:34PM -0700, Matthew Wilcox wrote: > On Thu, Feb 21, 2019 at 12:34:42PM +, Leon Romanovsky wrote: > > On Thu, Feb 21, 2019 at 05:13:32PM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the xarray tree, today's linux-next build (powerpc > > > p

Re: [PATCH v2] serial: sh-sci: Missing uart_unregister_driver() on error in sci_probe_single()

2019-03-11 Thread Dan Carpenter
On Mon, Mar 11, 2019 at 05:51:15PM +0800, Mao Wenan wrote: > Add the missing uart_unregister_driver() before return > from sci_probe_single() in the error handling case. > > Signed-off-by: Mao Wenan > --- Sorry, I didn't really look at the code when I saw the v1 patch. There are other error pat

[PATCH] vt: use /dev/vcs (not /dev/vcs0) in comment

2019-03-11 Thread Jakub Wilk
Both /dev/vcs and /dev/vcs0 were in use in the past, but these days /dev/vcs0 is mostly historical curiosity. * "/dev/vcs" is the name that has always been in the Linux allocated devices list. * "vcs" is the device name in sysfs since Linux v2.6.12. * MAKEDEV(1) in Debian used to create /dev/vcs

Re: [PATCH] printk: kmsg_dump: Mark registered flag as private

2019-03-11 Thread Sergey Senozhatsky
On (03/10/19 21:03), Ahmed S. Darwish wrote: > The 'registered' flag is internally used by kmsg_dump_register() > and kmsg_dump_unregister() to track multiple registrations of the > same dumper. > > It's protected by printk's internal dump_list_lock, and must thus > be accessed only from there. Ma

Re: [PATCH 1/2] i2c: i2c-designware-platdrv: Allow a dynamic adap. nr without an ACPI fwnode

2019-03-11 Thread Andy Shevchenko
On Mon, Mar 11, 2019 at 12:22:15PM +0100, Hans de Goede wrote: > Before this commit the i2c-designware-platdrv assumes that if the pdev > has an apci-companion it should use a dynamic adapter-nr and otherwise > it will use pdev->id as adapter-nr. > > On some devices e.g. the Apollo Lake using Acer

Re: [PATCH v3 3/3] arm64: mm: enable per pmd page table lock

2019-03-11 Thread Anshuman Khandual
On 03/11/2019 05:42 PM, Mark Rutland wrote: > Hi, > > On Sat, Mar 09, 2019 at 06:19:06PM -0700, Yu Zhao wrote: >> Switch from per mm_struct to per pmd page table lock by enabling >> ARCH_ENABLE_SPLIT_PMD_PTLOCK. This provides better granularity for >> large system. >> >> I'm not sure if there is c

Re: [PATCH 2/3] clk: imx8mq: add hdmi_phy_27m clock as pll's reference clock

2019-03-11 Thread Lucas Stach
Am Donnerstag, den 07.03.2019, 12:56 + schrieb Anson Huang: > Hi, Lucas > > Best Regards! > Anson Huang > > > -Original Message- > > > > From: Lucas Stach [mailto:l.st...@pengutronix.de] > > Sent: 2019年3月7日 20:06 > > > > > > To: Anson Huang ; shawn...@kernel.org; > > > > s.ha...@pengu

[PATCH v3] optee: allow to work without static shared memory

2019-03-11 Thread Volodymyr Babchuk
From: Volodymyr Babchuk On virtualized systems it is possible that OP-TEE will provide only dynamic shared memory support. So it is fine to boot without static SHM enabled if dymanic one is supported. Signed-off-by: Volodymyr Babchuk --- Changes from V2: - rebased onto upstream drivers/te

KASAN: null-ptr-deref Read in reclaim_high

2019-03-11 Thread syzbot
syzbot has bisected this bug to: commit 29a4b8e275d1f10c51c7891362877ef6cffae9e7 Author: Shakeel Butt Date: Wed Jan 9 22:02:21 2019 + memcg: schedule high reclaim for remote memcgs on high_work bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=155bf5db20 start commit:

Re: WARNING in ep_poll_callback

2019-03-11 Thread syzbot
syzbot has bisected this bug to: commit f92cacf118171208f62519d92502a8dd0341286d Author: Roman Penyaev Date: Tue Jan 8 01:15:44 2019 + epoll: loosen irq safety in ep_poll_callback() bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=107ae15f20 start commit: f92cacf1 e

<    1   2   3   4   5   6   7   8   9   10   >