Re: [PATCH] PCI: Add missing link delays required by the PCIe spec

2019-09-18 Thread Mika Westerberg
Hi Bjorn, On Tue, Aug 27, 2019 at 12:25:47PM +0300, Mika Westerberg wrote: > Here are the relevant parts from ICL. I'll send you the full dmesg as > a separate email. The topology is such that I have 2 Titan Ridge devices > connected in chain (each include PCIe switch + xHCI). I wait for the > who

Re: [PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-09-18 Thread Neil Armstrong
Hi, On 19/09/2019 08:55, Xin Ji wrote: > The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed > for portable device. It converts MIPI to DisplayPort 1.3 4K. > > You can add support to your board with binding. > > Example: > anx_bridge: anx7625@58 { > compatible

Re: [PATCH v1 0/2] Add initial support for slimport anx7625

2019-09-18 Thread Neil Armstrong
Hi, Please Cc dri-de...@lists.freedesktop.org Thanks, Neil On 19/09/2019 08:51, Xin Ji wrote: > Hi all, > > The following series add initial support for the Slimport ANX7625 > transmitter, a > ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable > device. > > This is the f

[PATCH v1 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-09-18 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI to DisplayPort 1.3 4K. You can add support to your board with binding. Example: anx_bridge: anx7625@58 { compatible = "analogix,anx7625"; reg = <0x58>;

Re: [PATCH 1/4] seccomp: add SECCOMP_RET_USER_NOTIF_ALLOW

2019-09-18 Thread Christian Brauner
On Wed, Sep 18, 2019 at 12:07:12PM -0600, Tycho Andersen wrote: > On Wed, Sep 18, 2019 at 10:30:00AM -0700, Kees Cook wrote: > > On Wed, Sep 18, 2019 at 10:48:30AM +0200, Christian Brauner wrote: > > > This allows the seccomp notifier to continue a syscall. A positive > > > discussion about this fe

Re: [PATCH 1/4] seccomp: add SECCOMP_RET_USER_NOTIF_ALLOW

2019-09-18 Thread Christian Brauner
On Wed, Sep 18, 2019 at 10:30:00AM -0700, Kees Cook wrote: > On Wed, Sep 18, 2019 at 10:48:30AM +0200, Christian Brauner wrote: > > This allows the seccomp notifier to continue a syscall. A positive > > discussion about this feature was triggered by a post to the > > ksummit-discuss mailing list (c

Re: [PATCH] iio: imu: adis16400: fix memory leak

2019-09-18 Thread Ardelean, Alexandru
On Wed, 2019-09-18 at 12:03 -0500, Navid Emamdoost wrote: > [External] > Hey, Thanks for this patch as well. Comments inline here as well. > In adis_update_scan_mode_burst, if adis->buffer allocation fails release > the adis->xfer. > > Signed-off-by: Navid Emamdoost > --- > drivers/iio/imu/a

Re: [PATCH] iio: imu: adis16400: release allocated memory on failure

2019-09-18 Thread Ardelean, Alexandru
On Wed, 2019-09-18 at 11:57 -0500, Navid Emamdoost wrote: > [External] > Hey, Good catch. One comment inline. > In adis_update_scan_mode, if allocation for adis->buffer fails, > previously allocated adis->xfer needs to be released. > > Signed-off-by: Navid Emamdoost > --- > drivers/iio/imu/a

[PATCH v1 0/2] Add initial support for slimport anx7625

2019-09-18 Thread Xin Ji
Hi all, The following series add initial support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the first version upload, any mistakes, please let me know, I will fix it in the next series. Thanks, Xin Xin Ji (2):

Re: [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories

2019-09-18 Thread Lukasz Luba
Hi Krzysztof, On 9/18/19 8:51 PM, Krzysztof Kozlowski wrote: > On Mon, 16 Sep 2019 at 12:07, Lukasz Luba wrote: >> >> Add compatible for Samsung k3qf2f20db LPDDR3 memory bindings. >> Introduce minor fixes in the old documentation. >> >> Signed-off-by: Lukasz Luba >> --- >> Documentation/device

Re: [PATCH] PCI: Use minimum window alignment when calculating memory window size

2019-09-18 Thread Mika Westerberg
On Mon, Aug 12, 2019 at 05:41:44PM +0300, Mika Westerberg wrote: > There is an issue in Linux PCI resource allocation that if we remove an > existing device that was initially configured by the BIOS and then issue > rescan, it will not fit in to the memory space allocated by the BIOS > even if it o

Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

2019-09-18 Thread Song Liu
On Mon, Sep 16, 2019 at 4:23 PM Tejun Heo wrote: > > Hello, Song. > > On Sat, Sep 14, 2019 at 03:02:51PM +0100, Song Liu wrote: > > I think we don't need a perfect identifier in this case. IIUC, the goal of > > I really don't want different versions of imperfect identifiers > proliferating. > > >

Re: [PATCH v2 1/2] PCI: pciehp: Do not disable interrupt twice on suspend

2019-09-18 Thread Mika Westerberg
On Mon, Aug 12, 2019 at 05:31:32PM +0300, Mika Westerberg wrote: > We try to keep PCIe hotplug ports runtime suspended when entering system > suspend. Due to the fact that the PCIe portdrv sets NEVER_SKIP driver PM > flag the PM core always calls system suspend/resume hooks even if the > device is

Re: [PATCH v2] clk: imx7ulp: remove IMX7ULP_CLK_MIPI_PLL clock

2019-09-18 Thread kbuild test robot
Hi Fancy, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to s

Re: [GIT PULL afs: Development for 5.4

2019-09-18 Thread David Howells
Linus Torvalds wrote: > However, I was close to unpulling it again. It has a merge commit with > this merge message: > > Merge remote-tracking branch 'net/master' into afs-next > > and that simply is not acceptable. Apologies - I meant to rebase that away. There was a bug fix to rxrpc in

[PATCH] fixed-regulator: dt-bindings: Fixed building error for compatible property

2019-09-18 Thread Pragnesh Patel
Compatible property is not of type 'string', so remove const: from it. Signed-off-by: Pragnesh Patel --- Documentation/devicetree/bindings/regulator/fixed-regulator.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/fixed-regu

Re: [PATCH 5.2 00/85] 5.2.16-stable review

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 05:28:49PM +0100, Jon Hunter wrote: > > On 18/09/2019 07:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.16 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH 4.19 00/50] 4.19.74-stable review

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 12:37:49PM -0700, Guenter Roeck wrote: > On Wed, Sep 18, 2019 at 08:18:43AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.74 release. > > There are 50 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 5.2 00/85] 5.2.16-stable review

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 08:47:06PM +0530, Naresh Kamboju wrote: > On Wed, 18 Sep 2019 at 11:56, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.2.16 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH v4 1/3] kernel/notifier.c: intercepting duplicate registrations to avoid infinite loops

2019-09-18 Thread Greg KH
On Thu, Sep 19, 2019 at 10:58:06AM +0800, Xiaoming Ni wrote: > Registering the same notifier to a hook repeatedly can cause the hook > list to form a ring or lose other members of the list. > > case1: An infinite loop in notifier_chain_register() can cause soft lockup > atomic_notifier_cha

Re: [PATCH 5.2 00/85] 5.2.16-stable review

2019-09-18 Thread Greg Kroah-Hartman
On Wed, Sep 18, 2019 at 07:22:50PM -0600, shuah wrote: > On 9/18/19 12:18 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.16 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

RE: [PATCH 1/3] hv_utils: Add the support of hibernation

2019-09-18 Thread Dexuan Cui
> From: Vitaly Kuznetsov > Sent: Monday, September 16, 2019 1:46 AM > Dexuan Cui writes: > > >> From: Vitaly Kuznetsov > >> Sent: Thursday, September 12, 2019 9:37 AM > > > >> > +static int util_suspend(struct hv_device *dev) > >> > +{ > >> > +struct hv_util_service *srv = hv_get_drvdat

Re: [PATCH v2 1/2] edac: Add an API for edac device to report for multiple errors

2019-09-18 Thread Robert Richter
On 12.09.19 15:53:04, Hanna Hawa wrote: > Add an API for EDAC device to report multiple errors with same type. > > Signed-off-by: Hanna Hawa > --- > drivers/edac/edac_device.c | 91 ++ > drivers/edac/edac_device.h | 40 + > 2 files changed, 131

Re: [PATCH v4 1/1] platform/x86/intel_cht_int33fe: Split code to USB Micro-B and Type-C variants

2019-09-18 Thread Andy Shevchenko
On Thu, Sep 19, 2019 at 1:53 AM Yauhen Kharuzhy wrote: > You so fast with new versions that I had no chance to comment on. Finally here mine. > Existing intel_cht_int33fe ACPI pseudo-device driver assumes that > hardware has Type-C connector and register related devices described as > I2C connec

Re: [PATCH net] net: dsa: sja1105: Add dependency for NET_DSA_SJA1105_TAS

2019-09-18 Thread Vladimir Oltean
On Thu, 19 Sep 2019 at 09:22, Mao Wenan wrote: > > If CONFIG_NET_DSA_SJA1105_TAS=y and CONFIG_NET_SCH_TAPRIO=n, > below error can be found: > drivers/net/dsa/sja1105/sja1105_tas.o: In function `sja1105_setup_tc_taprio': > sja1105_tas.c:(.text+0x318): undefined reference to `taprio_offload_free' >

[PATCH net] net: dsa: sja1105: Add dependency for NET_DSA_SJA1105_TAS

2019-09-18 Thread Mao Wenan
If CONFIG_NET_DSA_SJA1105_TAS=y and CONFIG_NET_SCH_TAPRIO=n, below error can be found: drivers/net/dsa/sja1105/sja1105_tas.o: In function `sja1105_setup_tc_taprio': sja1105_tas.c:(.text+0x318): undefined reference to `taprio_offload_free' sja1105_tas.c:(.text+0x590): undefined reference to `taprio_

Re: [PATCH v2] of: restore old handling of cells_name=NULL in of_*_phandle_with_args()

2019-09-18 Thread Uwe Kleine-König
On Wed, Sep 18, 2019 at 10:19:54PM +0200, Uwe Kleine-König wrote: > On Wed, Sep 18, 2019 at 03:09:06PM -0500, Rob Herring wrote: > > Can I get a proper patch please. > > I don't understand what is wrong with my patch. Can you please expand > what you are missing? I just tried to git-am it and the

Thank you for your cooperation

2019-09-18 Thread Mrs. Virginie Charlotte
Dear friend, Sorry to invade your privacy through this media. I have bad health condition and I'm just looking for someone I can trust to lead a charity work for me. If you are interested, come back to me as as soon as possible for further explanation. Thanks for your collaboration Mrs. Virginie

[PATCH] gpio: mxc: Only getting second IRQ when there is more than one IRQ

2019-09-18 Thread Anson Huang
On some of i.MX SoCs like i.MX8QXP, there is ONLY one IRQ for each GPIO bank, so it is better to check the IRQ count before getting second IRQ to avoid below error message during probe: [1.070908] gpio-mxc 5d08.gpio: IRQ index 1 not found [1.077420] gpio-mxc 5d09.gpio: IRQ index 1

Re: [PATCH] devlink: add devlink notification for recovery

2019-09-18 Thread Jiri Pirko
Wed, Sep 18, 2019 at 08:52:21PM CEST, sheetal.tigad...@broadcom.com wrote: >From: Vikas Gupta > >Add a devlink notification for reporter recovery > >Signed-off-by: Vikas Gupta >Signed-off-by: Sheetal Tigadoli >--- > net/core/devlink.c | 25 + > 1 file changed, 25 insertion

[PATCH v3 1/3] mmc: Add MMC software queue support

2019-09-18 Thread Baolin Wang
Now the MMC read/write stack will always wait for previous request is completed by mmc_blk_rw_wait(), before sending a new request to hardware, or queue a work to complete request, that will bring context switching overhead, especially for high I/O per second rates, to affect the IO performance. T

[PATCH v3 3/3] mmc: host: sdhci-sprd: Add software queue support

2019-09-18 Thread Baolin Wang
Add software queue support to improve the performance. Signed-off-by: Baolin Wang --- drivers/mmc/host/Kconfig |1 + drivers/mmc/host/sdhci-sprd.c | 26 ++ 2 files changed, 27 insertions(+) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index

[PATCH v3 2/3] mmc: host: sdhci: Add request_done ops for struct sdhci_ops

2019-09-18 Thread Baolin Wang
Add request_done ops for struct sdhci_ops as a preparation in case some host controllers have different method to complete one request, such as supporting request completion of MMC software queue. Signed-off-by: Baolin Wang --- drivers/mmc/host/sdhci.c | 12 ++-- drivers/mmc/host/sdhci

[PATCH v3 0/3] Add MMC software queue support

2019-09-18 Thread Baolin Wang
Hi All, Now the MMC read/write stack will always wait for previous request is completed by mmc_blk_rw_wait(), before sending a new request to hardware, or queue a work to complete request, that will bring context switching overhead, especially for high I/O per second rates, to affect the IO perfor

[PATCH] x86/mm/pti: Handle unaligned addr to PMD-mapped page in pti_clone_pgtable

2019-09-18 Thread Song Liu
To clone page table of PMD-mapped pages, pti_clone_pgtable() requires PMD aligned start address. [1] adds warning for unaligned addresses. However, there is still no warning for unaligned address to valid huge pmd [2]. Add alignment check in valid pmd_large() case. If the address is unaligned, rou

Re: [PATCH trivial] KVM: PPC: Remove superfluous check for non-zero return value

2019-09-18 Thread Thomas Huth
On 18/09/2019 22.54, Greg Kurz wrote: > On Wed, 18 Sep 2019 18:44:36 +0200 > Greg Kurz wrote: > >> On Wed, 11 Sep 2019 21:52:35 +0200 >> Thomas Huth wrote: >> >>> After the kfree()s haven been removed in the previous >>> commit 9798f4ea71ea ("fix rollback when kvmppc_xive_create fails"), >>> the

Re: [PATCH v1 2/2] spi: cadence-qspi: Add QSPI support for Intel LGM SoC

2019-09-18 Thread Ramuthevar, Vadivel MuruganX
Hi Mark,    Thank you for the comments and queries. On 18/9/2019 8:08 PM, Mark Brown wrote: On Wed, Sep 18, 2019 at 01:59:06PM +0800, Ramuthevar, Vadivel MuruganX wrote: On 17/9/2019 11:36 PM, Mark Brown wrote: On Tue, Sep 17, 2019 at 10:11:28AM +0800, Ramuthevar, Vadivel MuruganX wrote: *  

Re: [PATCH] mm/pgtable/debug: Fix test validating architecture page table helpers

2019-09-18 Thread Christophe Leroy
Le 18/09/2019 à 09:32, Anshuman Khandual a écrit : On 09/13/2019 11:53 AM, Christophe Leroy wrote: Fix build failure on powerpc. Fix preemption imbalance. Signed-off-by: Christophe Leroy --- mm/arch_pgtable_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/arch_pgtable_

Re: [PATCH V2 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-18 Thread Christophe Leroy
Le 19/09/2019 à 06:56, Anshuman Khandual a écrit : On 09/18/2019 09:56 PM, Christophe Leroy wrote: Le 18/09/2019 à 07:04, Anshuman Khandual a écrit : On 09/13/2019 03:31 PM, Christophe Leroy wrote: Le 13/09/2019 à 11:02, Anshuman Khandual a écrit : +#if !defined(__PAGETABLE_PMD_F

RE: [PATCH V6 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-18 Thread Peng Fan
Hi Jassi, > Subject: Re: [PATCH V6 2/2] mailbox: introduce ARM SMC based mailbox > > On Wed, Sep 18, 2019 at 5:00 AM Andre Przywara > wrote: > > > > > > > > > > > > > + }; > > > > > +}; > > > > > > > > If this is the data structure that this mailbox controller uses, I > > > > would expect this

remoteproc: don't allow modular build

2019-09-18 Thread Keerthy
Hi Christoph/Bjorn, There are a bunch of defconfigs that rely on modular build of remoteproc. If i do a git grep CONFIG_REMOTEPROC on linux-next: arch/arm/configs/davinci_all_defconfig:CONFIG_REMOTEPROC=m arch/arm/configs/multi_v7_defconfig:CONFIG_REMOTEPROC=m arch/arm/configs/omap2plus_defconf

[PATCH 5/6] arm64: dts: rockchip: Rename vcc12v_sys into dc_12v for roc-rk3399-pc

2019-09-18 Thread Jagan Teki
It is always better practice to follow regulator naming conventions as per the schematics for future references. This would indeed helpful to review and check the naming convention directly on schematics, both for the code reviewers and the developers. So, rename vcc12v_sys into dc_12v as per rk3

[PATCH 6/6] arm64: dts: rockchip: Fix roc-rk3399-pc regulator input rails

2019-09-18 Thread Jagan Teki
Few, know rk808 pmic regulators VCC[1-4], VCC[6-7], VCC[9-11], VDD_LOG, VDD_GPU, VDD_CPU_B, VCC3V3_SYS are inputting with vcc_sys which is 5V power rail from dc_12v. So, replace the vin-supply of above mentioned regulators with vcc_sys as per the PMIC-RK808-D page of roc-rk3399-pc schematics. Sig

[PATCH 3/6] arm64: dts: rockchip: Use libretech model, compatible for ROC-PC

2019-09-18 Thread Jagan Teki
Though the ROC-PC is manufactured by firefly, it is co-designed by libretch like other Libretech computer boards from allwinner, amlogic does. So, it is always meaningful to keep maintain those vendors who are part of design participation so-that the linux mainline code will expose outside world w

[PATCH 4/6] arm64: dts: rockchip: Rename roc-pc with libretech notation

2019-09-18 Thread Jagan Teki
Though the ROC-PC is manufactured by firefly, it is co-designed by libretch like other Libretech computer boards from allwinner, amlogic does. So, it is always meaningful to keep maintain those vendors who are part of design participation so-that the linux mainline code will expose outside world w

[PATCH 1/6] arm64: dts: rockchip: Fix rk3399-roc-pc pwm2 pin

2019-09-18 Thread Jagan Teki
ROC-PC is not able to boot linux console if PWM2_d is unattached to any pinctrl logic. To be precise the linux boot hang with last logs as, ... . [0.003367] Console: colour dummy device 80x25 [0.003788] printk: console [tty0] enabled [0.004178] printk: bootconsole [uart8250] disabl

[PATCH 2/6] dt-bindings: arm: rockchip: Use libretech for roc-pc binding

2019-09-18 Thread Jagan Teki
Though the ROC-PC is manufactured by firefly, it is co-designed by libretch like other Libretech computer boards from allwinner, amlogic does. So, it is always meaningful to keep maintain those vendors who are part of design participation so-that the linux mainline code will expose outside world w

[PATCH 0/6] arm64: dts: rockchip: ROC-PC fixes

2019-09-18 Thread Jagan Teki
This series is trying to fix the Linux boot and other regulators stuff for ROC-RK3399-PC board. patch 1: attach pinctrl to pwm2 pin patch 2-4: libretech naming conventions patch 5-6: regulator renaming, input rails fixes Any inputs? Jagan. Jagan Teki (6): arm64: dts: rockchip: Fix rk3399-roc

Re: [PATCH v3 2/2] powerpc/irq: inline call_do_irq() and call_do_softirq()

2019-09-18 Thread Christophe Leroy
Le 18/09/2019 à 18:39, Segher Boessenkool a écrit : Hi Christophe, On Wed, Sep 18, 2019 at 03:48:20PM +, Christophe Leroy wrote: call_do_irq() and call_do_softirq() are quite similar on PPC32 and PPC64 and are simple enough to be worth inlining. Inlining them avoids an mflr/mtlr pair pl

[PATCH v6] perf: Sharing PMU counters across compatible events

2019-09-18 Thread Song Liu
This patch tries to enable PMU sharing. To make perf event scheduling fast, we use special data structures. An array of "struct perf_event_dup" is added to the perf_event_context, to remember all the duplicated events under this ctx. All the events under this ctx has a "dup_id" pointing to its per

[PATCH] Drivers: hv: vmbus: Fix harmless building warnings without CONFIG_PM

2019-09-18 Thread Dexuan Cui
If CONFIG_PM is not set, we can comment out these functions to avoid the below warnings: drivers/hv/vmbus_drv.c:2208:12: warning: ‘vmbus_bus_resume’ defined but not used [-Wunused-function] drivers/hv/vmbus_drv.c:2128:12: warning: ‘vmbus_bus_suspend’ defined but not used [-Wunused-function] driv

RE: [PATCH] hv: vmbus: mark PM functions as __maybe_unused

2019-09-18 Thread Dexuan Cui
> From: Arnd Bergmann > Sent: Wednesday, September 18, 2019 1:01 PM > > When CONFIG_PM is disabled, we get a couple of harmless warnings: > > drivers/hv/vmbus_drv.c:918:12: error: unused function 'vmbus_suspend' > [-Werror,-Wunused-function] > drivers/hv/vmbus_drv.c:937:12: error: unused functio

[PATCH 1/3] arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk

2019-09-18 Thread Anson Huang
On i.MX8MQ, usdhc's ipg clock is from IMX8MQ_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MQ_CLK_DUMMY. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq

[PATCH 3/3] arm64: dts: imx8mn: Use correct clock for usdhc's ipg clk

2019-09-18 Thread Anson Huang
On i.MX8MN, usdhc's ipg clock is from IMX8MN_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MN_CLK_DUMMY. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8

[PATCH 2/3] arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk

2019-09-18 Thread Anson Huang
On i.MX8MM, usdhc's ipg clock is from IMX8MM_CLK_IPG_ROOT, assign it explicitly instead of using IMX8MM_CLK_DUMMY. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8

Re: [PATCH 3/5] ocxl: Tally up the LPC memory on a link & allow it to be mapped

2019-09-18 Thread Alastair D'Silva
On Wed, 2019-09-18 at 16:02 +0200, Frederic Barrat wrote: > > Le 17/09/2019 à 03:42, Alastair D'Silva a écrit : > > From: Alastair D'Silva > > > > Tally up the LPC memory on an OpenCAPI link & allow it to be mapped > > > > Signed-off-by: Alastair D'Silva > > --- > > drivers/misc/ocxl/core.c

Re: [PATCH V2 2/2] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-18 Thread Anshuman Khandual
On 09/18/2019 09:56 PM, Christophe Leroy wrote: > > > Le 18/09/2019 à 07:04, Anshuman Khandual a écrit : >> >> >> On 09/13/2019 03:31 PM, Christophe Leroy wrote: >>> >>> >>> Le 13/09/2019 à 11:02, Anshuman Khandual a écrit : >> +#if !defined(__PAGETABLE_PMD_FOLDED) && !defined(__ARCH_

RE: [PATCH] devfreq: Make log message more explicit when devfreq device already exists

2019-09-18 Thread MyungJoo Ham
>Before creating a new devfreq device devfreq_add_device() checks >if there is already a devfreq dev associated with the requesting >device (parent). If that's the case the function rejects to create >another devfreq dev for that parent and logs an error. The error >message is very unspecific, make

Re: [PATCH] mm: Support memblock alloc on the exact node for sparse_buffer_init()

2019-09-18 Thread Mike Rapoport
Hi, On Wed, Sep 18, 2019 at 12:22:29PM +0800, Yunfeng Ye wrote: > Currently, when memblock_find_in_range_node() fail on the exact node, it > will use %NUMA_NO_NODE to find memblock from other nodes. At present, > the work is good, but when the large memory is insufficient and the > small memory is

Re: [PATCH] staging: mt7621-pci-phy: Use devm_platform_ioremap_resource() in mt7621_pci_phy_probe()

2019-09-18 Thread Sergio Paracuellos
Hi Markus, Thanks for the patch. It looks good to me. On Wed, Sep 18, 2019 at 9:12 PM Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 18 Sep 2019 21:01:32 +0200 > > Simplify this function implementation by using a known wrapper function. > > This issue was detected by using the Cocc

RE: [EXT] Re: [v4 2/2] clk: ls1028a: Add clock driver for Display output interface

2019-09-18 Thread Wen He
> -Original Message- > From: Stephen Boyd > Sent: 2019年9月19日 1:01 > To: devicet...@vger.kernel.org; linux-...@vger.kernel.org; > linux-de...@linux.nxdi.nxp.com; linux-kernel@vger.kernel.org; Mark Rutland > ; Michael Turquette ; > Rob Herring ; Wen He > Cc: Leo Li ; liviu.du...@arm.com >

Re: [PATCH] [RFC] vmscan.c: add a sysctl entry for controlling memory reclaim IO congestion_wait length

2019-09-18 Thread Matthew Wilcox
On Thu, Sep 19, 2019 at 10:33:10AM +0800, Lin Feng wrote: > On 9/18/19 20:33, Michal Hocko wrote: > > I absolutely agree here. From you changelog it is also not clear what is > > the underlying problem. Both congestion_wait and wait_iff_congested > > should wake up early if the congestion is handle

Re: [PATCH v3 1/5] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-09-18 Thread Alastair D'Silva
On Thu, 2019-09-19 at 13:43 +1000, Michael Ellerman wrote: > "Alastair D'Silva" writes: > > From: Alastair D'Silva > > > > When calling flush_icache_range with a size >4GB, we were masking > > off the upper 32 bits, so we would incorrectly flush a range > > smaller > > than intended. > > > > __

Re: [PATCH v3 1/5] powerpc: Allow flush_icache_range to work across ranges >4GB

2019-09-18 Thread Michael Ellerman
"Alastair D'Silva" writes: > From: Alastair D'Silva > > When calling flush_icache_range with a size >4GB, we were masking > off the upper 32 bits, so we would incorrectly flush a range smaller > than intended. > > __kernel_sync_dicache in the 64 bit VDSO has the same bug. Please fix that in a se

[PATCH] perf/probe: Skip same probe address

2019-09-18 Thread Masami Hiramatsu
Fix to skip making a same probe address on given line. Since dwarf line info contains several entries for one line with different column, perf probe will make a different probe on same address if user specifies a probe point by "function:line" or "file:line". e.g. $ perf probe -D kernel_read:8

Re: [PATCH v2] serial: sprd: Add polling IO support

2019-09-18 Thread hhome liu
Baolin Wang 于2019年9月19日周四 上午11:21写道: > > Hi, > > On Thu, 19 Sep 2019 at 11:10, Lanqing Liu wrote: > > > > In order to access the UART without the interrupts, the kernel uses > > the basic polling methods for IO with the device. With these methods > > implemented, it is now possible to enable kgdb

Re: [PATCH v3 3/3] HID: core: fix dmesg flooding if report field larger than 32bit

2019-09-18 Thread Joshua Clayton
Thanks! It means a lot to have this accepted. I actually started working on it, thinking "how hard can it be to increase the size of a data structure"? It only has to be forward compatible anyway. My gut feeling is the existing code is working way too hard to do what should be a memcpy, and the imp

Re: [PATCH v2 3/6] platform/x86: huawei-wmi: Implement huawei wmi management

2019-09-18 Thread kbuild test robot
Hi Ayman, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base'

Re: arch/riscv: disable too many harts before pick main boot hart

2019-09-18 Thread Xiang Wang
‐‐‐ Original Message ‐‐‐ On 2019年9月14日SaturdayAM3点04分, Palmer Dabbelt wrote: > On Thu, 05 Sep 2019 23:51:15 PDT (-0700), me...@hardenedlinux.org wrote: > > > From 12300865d1103618c9d4c375f7d7fbe601b6618c Mon Sep 17 00:00:00 2001 > > From: Xiang Wang me...@hardenedlinux.org > > Date:

Re: [PATCH v2] serial: sprd: Add polling IO support

2019-09-18 Thread Baolin Wang
Hi, On Thu, 19 Sep 2019 at 11:10, Lanqing Liu wrote: > > In order to access the UART without the interrupts, the kernel uses > the basic polling methods for IO with the device. With these methods > implemented, it is now possible to enable kgdb during early boot over serial. > > Signed-off-by: La

[PATCH v2] serial: sprd: Add polling IO support

2019-09-18 Thread Lanqing Liu
In order to access the UART without the interrupts, the kernel uses the basic polling methods for IO with the device. With these methods implemented, it is now possible to enable kgdb during early boot over serial. Signed-off-by: Lanqing Liu --- Change from v1: - Add poll_init() support. --- dr

[PATCH v2] clk: imx7ulp: remove IMX7ULP_CLK_MIPI_PLL clock

2019-09-18 Thread Fancy Fang
The mipi pll clock comes from the MIPI PHY PLL output, so it should not be a fixed clock. MIPI PHY PLL is in the MIPI DSI space, and it is used as the bit clock for transferring the pixel data out and its output clock is configured according to the display mode. So it should be used only for MIPI

[PATCH v2] clk: imx7ulp: remove IMX7ULP_CLK_MIPI_PLL clock

2019-09-18 Thread Fancy Fang
The mipi pll clock comes from the MIPI PHY PLL output, so it should not be a fixed clock. MIPI PHY PLL is in the MIPI DSI space, and it is used as the bit clock for transferring the pixel data out and its output clock is configured according to the display mode. So it should be used only for MIPI

Re: [PATCH v2 4/6] platform/x86: huawei-wmi: Add battery charging thresholds

2019-09-18 Thread kbuild test robot
Hi Ayman, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.3 next-20190918] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to s

[PATCH v4 1/3] kernel/notifier.c: intercepting duplicate registrations to avoid infinite loops

2019-09-18 Thread Xiaoming Ni
Registering the same notifier to a hook repeatedly can cause the hook list to form a ring or lose other members of the list. case1: An infinite loop in notifier_chain_register() can cause soft lockup atomic_notifier_chain_register(&test_notifier_list, &test1); atomic_notifier_chain

[PATCH v4 0/3] kernel/notifier.c: intercepting duplicate registrations to avoid infinite loops

2019-09-18 Thread Xiaoming Ni
Registering the same notifier to a hook repeatedly can cause the hook list to form a ring or lose other members of the list. so, need add a check in in notifier_chain_register(), intercepting duplicate registrations to avoid infinite loops v1: * use notifier_chain_cond_register replace notifier_c

[PATCH v4 3/3] kernel/notifier.c: remove blocking_notifier_chain_cond_register()

2019-09-18 Thread Xiaoming Ni
blocking_notifier_chain_cond_register() does not consider system_booting state, which is the only difference between this function and blocking_notifier_cain_register(). This can be a bug and is a piece of duplicate code. Delete blocking_notifier_chain_cond_register() Signed-off-by: Xiaoming Ni

RE: [PATCH V2 3/4] ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_set_runtime_hwparams

2019-09-18 Thread S.j. Wang
Hi > > When set the runtime hardware parameters, we may need to query the > capability of DMA to complete the parameters. > > This patch is to Extract this operation from > dmaengine_pcm_set_runtime_hwparams function to a separate function > snd_dmaengine_pcm_set_runtime_hwparams, that other com

[PATCH v4 2/3] kernel/notifier.c: remove notifier_chain_cond_register()

2019-09-18 Thread Xiaoming Ni
The only difference between notifier_chain_cond_register() and notifier_chain_register() is the lack of warning hints for duplicate registrations. Consider using notifier_chain_register() instead of notifier_chain_cond_register() to avoid duplicate code Signed-off-by: Xiaoming Ni --- kernel/noti

Re: [PATCH] workqueue: Fix spurious sanity check failures in destroy_workqueue()

2019-09-18 Thread Lai Jiangshan
Looks good to me. There is one test in show_pwq() """ worker == pwq->wq->rescuer ? "(RESCUER)" : "", """ I'm wondering if it needs to be updated to """ worker->rescue_wq ? "(RESCUER)" : "", """ And document "/* MD: rescue worker */" might be better than current "/* I: rescue worker */", although

Re: Re: Re: [PATCH] connector: report comm change event when modifying /proc/pid/task/tid/comm

2019-09-18 Thread KeMeng Shi
On 2019/9/18 at 1:08, Will Deacon wrote: >On Tue, Sep 17, 2019 at 09:56:28AM -0400, KeMeng Shi wrote: >>on 2019/9/17 at 5:10, Will Deacon wrote: >>>The rough idea looks ok to me but I have two concerns: >>> >>> (1) This looks like it will be visible to userspace, and this changes >>> the beha

[PATCH] PCI: Enhance the ACS quirk for Cavium devices

2019-09-18 Thread George Cherian
Enhance the ACS quirk for Cavium Processors. Add the root port vendor ID's in an array and use the same in match function. For newer devices add the vendor ID's in the array so that the match function is simpler. Signed-off-by: George Cherian --- drivers/pci/quirks.c | 28 +++

Re: [PATCH] staging: tracing/kprobe: filter kprobe based perf event

2019-09-18 Thread Jinshan Xiong
That's bloody true. Thanks for your insights. I will make an example program and commit into bcc repository. Jinshan On Wed, Sep 18, 2019 at 1:22 PM Alexei Starovoitov wrote: > > On Wed, Sep 18, 2019 at 8:13 AM Jinshan Xiong wrote: > > > > The problem with the current approach is that it woul

Re: [PATCH] [RFC] vmscan.c: add a sysctl entry for controlling memory reclaim IO congestion_wait length

2019-09-18 Thread Lin Feng
On 9/18/19 20:33, Michal Hocko wrote: +mm_reclaim_congestion_wait_jiffies +== + +This control is used to define how long kernel will wait/sleep while +system memory is under pressure and memroy reclaim is relatively active. +Lower values will decrease the kernel wait/sleep time. + +It'

Re: [PATCH 2/3] dt-bindings: reset: add bindings for the Meson-A1 SoC Reset Controller

2019-09-18 Thread Xingyu Chen
Hi, Neil Thanks for your review On 2019/9/18 20:39, Neil Armstrong wrote: Hi, On 18/09/2019 14:12, Xingyu Chen wrote: Add DT bindings for the Meson-A1 SoC Reset Controller include file, and also slightly update documentation. Signed-off-by: Xingyu Chen Signed-off-by: Jianxin Pan --- .../b

Re: [PATCH] [RFC] vmscan.c: add a sysctl entry for controlling memory reclaim IO congestion_wait length

2019-09-18 Thread Lin Feng
Hi, On 9/18/19 19:38, Matthew Wilcox wrote: On Wed, Sep 18, 2019 at 11:21:04AM +0800, Lin Feng wrote: Adding a new tunable is not the right solution. The right way is to make Linux auto-tune itself to avoid the problem. For example, bdi_writeback contains an estimated write bandwidth (calcula

Re: [PATCH] mfd: mt6360: add pmic mt6360 driver

2019-09-18 Thread Gene Chen
Lee Jones 於 2019年9月18日 週三 下午6:51寫道: > > On Wed, 18 Sep 2019, Gene Chen wrote: > > > From: Gene Chen > > > > Add mfd driver for mt6360 pmic chip include > > Battery Charger/USB_PD/Flash LED/RGB LED/LDO/Buck > > > > Signed-off-by: Gene Chen > --- > > This looks different from the one you sent befo

[PATCH 4/4] thermal: step_wise: Extend thermal step-wise governor to monitor falling temperature.

2019-09-18 Thread Thara Gopinath
>From the step wise governor point of view, the policy decisions that has to taken on a thermal trip point that is defined to be monitored for falling temprature is the mirror opposite of the decisions it has to take on a trip point that is monitored for rising temperature. Signed-off-by: Thara Go

[PATCH 2/4] thermal: Thermal core and sysfs changes needed to support bi-directional monitoring of trip points.

2019-09-18 Thread Thara Gopinath
Thermal trip points can be defined to indicate whether a temperature rise or a temperature fall is to be monitored. This property can now be defined in the DT bindings for a trip point. To support this following three changes are introduced to thermal core and sysfs code. 1. Define a new variable i

[PATCH 0/4] thermal: Introduce support for monitoring falling temperatures.

2019-09-18 Thread Thara Gopinath
Thermal framework today supports monitoring for rising temperatures and subsequently initiating cooling action in case of a trip point being crossed. There are scenarios where a SoC needs some warming action to be activated if the temperature falls below a cetain allowable limit. Since warming act

[PATCH 3/4] thermal: of-thermal: Extend thermal dt driver to support bi-directional monitoring of a thermal trip point.

2019-09-18 Thread Thara Gopinath
Introduce of_thermal_get_trip_monitor_type to return the direction of monitoring of a thermal trip point. Also translate the DT information regarding trip point monitor direction into the thermal framework. Signed-off-by: Thara Gopinath --- drivers/thermal/of-thermal.c | 22 +

[PATCH 1/4] dt-bindings: thermal: Introduce monitor-falling parameter to thermal trip point binding

2019-09-18 Thread Thara Gopinath
Introduce a new binding parameter to thermal trip point description to indicate whether the temperature level specified by the trip point is monitored for a rise or fall in temperature. Signed-off-by: Thara Gopinath --- Documentation/devicetree/bindings/thermal/thermal.txt | 8 1 file c

Re: [PATCH v4 3/3] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-18 Thread Jia He
Hi Kirill [On behalf of justin...@arm.com because some mails are filted...] On 2019/9/18 22:00, Kirill A. Shutemov wrote: On Wed, Sep 18, 2019 at 09:19:14PM +0800, Jia He wrote: When we tested pmdk unit test [1] vmmalloc_fork TEST1 in arm64 guest, there will be a double page fault in __copy_fr

RE: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-18 Thread Namjae Jeon
[..] > Put it in drivers/staging/sdfat/. > > But really we want someone from Samsung to say that they will treat > the staging version as upstream. It doesn't work when people apply > fixes to their version and a year later back port the fixes into > staging. The staging tree is going to have to

Re: [PATCH] serial: sprd: Add polling IO support

2019-09-18 Thread hhome liu
Baolin Wang 于2019年9月18日周三 下午8:10写道: > > Hi Lanqing, > > On Wed, 18 Sep 2019 at 16:16, Lanqing Liu wrote: > > > > In order to access the UART without the interrupts, the kernel uses > > the basic polling methods for IO with the device. With these methods > > implemented, it is now possible to enab

[git pull] autofs-related stuff

2019-09-18 Thread Al Viro
The most interesting part here is getting rid of the last trylock loop on dentry->d_lock - the ones in fs/dcache.c had been dealt with several years ago, but there'd been leftovers in fs/autofs/expire.c The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5

[PATCH 2/2] x86/mm: replace a goto by merging two if clause

2019-09-18 Thread Wei Yang
There is only one place to use good_area jump, which could be reduced by merging the following two if clause. Signed-off-by: Wei Yang --- arch/x86/mm/fault.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 9d18b73b5f

[PATCH 1/2] x86/mm: consolidate bad_area handling to the end

2019-09-18 Thread Wei Yang
There are totally 7 bad_area[_nosemaphore] error branch in do_user_addr_fault(). Consolidate all these handling to the end to make the code a little neat. BTW, after doing so, function bad_area is not used any more. Remove it. Signed-off-by: Wei Yang --- arch/x86/mm/fault.c | 44 ++

[git pull] more mount API conversions

2019-09-18 Thread Al Viro
Conversions to new API for shmem and friends and for mount_mtd()-using filesystems. As for the rest of the work.mount in -next, some of the conversions belong in the individual trees (e.g. binderfs one should definitely go through android folks, after getting redone on top of their

[v5,2/2] rtc: pcf85263/pcf85363: support PM, wakeup device, improve performance

2019-09-18 Thread Biwen Li
Add some features as follow: - Set quartz oscillator load capacitance by DT (generate more accuracy frequency) - Set quartz oscillator drive control by DT (reduce/increase the current consumption) - Set low jitter mode by DT (improve jitter performance) - Set wakeu

  1   2   3   4   5   6   7   8   9   >