Re: [PATCH V8 1/4] dt-bindings: clock: add ipq6018 a53 pll compatible

2020-06-22 Thread Stephen Boyd
Quoting Sivaprakash Murugesan (2020-06-21 21:28:09) > cpus on ipq6018 are clocked by a53 pll, add device compatible for a53 > pll found on ipq6018 devices. > > Reviewed-by: Rob Herring > Signed-off-by: Sivaprakash Murugesan > --- Applied to clk-next

Re: [PATCH 01/10] tty/sysrq: emergency_thaw_all does not depend on CONFIG_BLOCK

2020-06-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH v2 4/8] clk: qcom: smd: Add support for SDM660 rpm clocks

2020-06-22 Thread Stephen Boyd
Quoting Konrad Dybcio (2020-06-22 00:57:42) > Add rpm smd clocks, PMIC and bus clocks which are required on > SDM630/660 (and APQ variants) for clients to vote on. > > Signed-off-by: Konrad Dybcio Just minor nits. Please resend without the other dts and SoC things and trim the Cc list way down.

Re: [PATCH] usb: gadget: function: printer: fix use-after-free in __lock_acquire

2020-06-22 Thread Zhang,Qiang
I cannot find a reference count for this structure(printer_dev). In this scenario: When the Character device is still open, if you operate the device through configfs and execute commands like unlink, the resources allocated when the device is bound will be released(printer_dev). After that,

Re: [PATCH 02/10] block: mark bd_finish_claiming static

2020-06-22 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn

Re: [PATCH v2 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-06-22 Thread David Hildenbrand
On 22.06.20 10:26, Wei Yang wrote: > On Fri, Jun 19, 2020 at 02:59:20PM +0200, David Hildenbrand wrote: >> Especially with memory hotplug, we can have offline sections (with a >> garbage memmap) and overlapping zones. We have to make sure to only >> touch initialized memmaps (online sections

Re: drivers/clk/clk-divider.c:39:17: sparse: sparse: incorrect type in argument 1 (different base types)

2020-06-22 Thread Arnd Bergmann
On Mon, Jun 22, 2020 at 10:36 AM Stephen Boyd wrote: > > Quoting kernel test robot (2020-06-21 02:05:20) > > Hi Stephen, > > > > First bad commit (maybe != root cause): > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head:

Re: [PATCH v16 00/14] Introduce Data Access MONitor (DAMON)

2020-06-22 Thread SeongJae Park
Last week, this patchset received 5 'Reviewed-by' tags, but no further comments for changes. I updated the documentation, but the change is only small. For the reason, I'm only asking more reviews rather than posting the whole series again. Any comment is welcome. Thanks, SeongJae Park

Re: [PATCH 3/3] arm64: dts: qcom: sm8250: Add thermal zones and throttling support

2020-06-22 Thread Amit Kucheria
On Sun, Jun 21, 2020 at 12:51 PM Bjorn Andersson wrote: > > On Mon 08 Jun 23:44 PDT 2020, Amit Kucheria wrote: > > > sm8250 has 24 thermal sensors split across two tsens controllers. Add > > the thermal zones to expose them and wireup the cpus to throttle on > > crossing passive temperature

Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

2020-06-22 Thread Christian Brauner
On Sun, Jun 21, 2020 at 03:54:37PM +0200, Dominique Martinet wrote: > Alexander Kapshuk wrote on Sun, Jun 21, 2020: > > Export symbol __lock_task_sighand, so it is accessible from code compiled > > as modules. > > This fixes the following modpost error: > > ERROR: modpost: "__lock_task_sighand"

Re: [PATCH] kernel/signal.c: Export symbol __lock_task_sighand

2020-06-22 Thread Christian Brauner
On Mon, Jun 22, 2020 at 08:25:28AM +0200, Oleg Nesterov wrote: > On 06/21, Alexander Kapshuk wrote: > > > > Export symbol __lock_task_sighand, so it is accessible from code compiled > > as modules. > > This fixes the following modpost error: > > ERROR: modpost: "__lock_task_sighand"

Re: [PATCH v2 3/8] soc: qcom: socinfo: Add socinfo entry for SDM630

2020-06-22 Thread Konrad Dybcio
Hi Bjorn, you said "Applied" - so should I omit this patch when sending a v3 of the series or keep it in there? Regards Konrad

Re: [PATCH 06/12] xen-blkfront: add callbacks for PM suspend and hibernation]

2020-06-22 Thread Roger Pau Monné
On Fri, Jun 19, 2020 at 11:43:12PM +, Anchal Agarwal wrote: > On Wed, Jun 17, 2020 at 10:35:28AM +0200, Roger Pau Monné wrote: > > CAUTION: This email originated from outside of the organization. Do not > > click links or open attachments unless you can confirm the sender and know > > the

[RESEND PATCH 1/2] arm64: dts: lx2160a: add dspi controller DT nodes

2020-06-22 Thread Qiang Zhao
From: Chuanhua Han Add the dspi support on lx2160 Signed-off-by: Chuanhua Han Signed-off-by: Bao Xiaowei Signed-off-by: Hou Zhiqiang Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git

Re: [PATCH v2 3/3] mm/shuffle: remove dynamic reconfiguration

2020-06-22 Thread Wei Yang
On Mon, Jun 22, 2020 at 09:33:28AM +0200, David Hildenbrand wrote: >On 20.06.20 03:49, Dan Williams wrote: >> On Fri, Jun 19, 2020 at 5:59 AM David Hildenbrand wrote: >>> >>> Commit e900a918b098 ("mm: shuffle initial free memory to improve >>> memory-side-cache utilization") promised

[RESEND PATCH 2/2] arm64: dts: lx2160a: add DT node for all DSPI controller

2020-06-22 Thread Qiang Zhao
From: Chuanhua Han Add device tree node for first flash (CS0) connected to all dspi controller. Signed-off-by: Chuanhua Han Signed-off-by: Wasim Khan Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 36 +++ 1 file changed, 36

Re: [PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-06-22 Thread Vincent Guittot
On Sun, 21 Jun 2020 at 00:28, Valentin Schneider wrote: > > > On 20/06/20 18:49, Ionela Voinescu wrote: > > Hi Vincent, > > > > On Thursday 18 Jun 2020 at 17:03:24 (+0200), Vincent Guittot wrote: > >> On Sun, 14 Jun 2020 at 03:10, Valentin Schneider > >> wrote: > > [..] > >> > diff --git

[RESEND PATCH] arm64: dts: ls1028a: Add DSPI nodes

2020-06-22 Thread Qiang Zhao
From: Xiaowei Bao Add the DSPI nodes for ls1028a. Signed-off-by: Xiaowei Bao Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

Re: drivers/clk/clk-divider.c:39:17: sparse: sparse: incorrect type in argument 1 (different base types)

2020-06-22 Thread Stephen Boyd
Quoting kernel test robot (2020-06-21 02:05:20) > Hi Stephen, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 6469e8962c20b580b471790fe42367750599 > commit: bbd7ffdbef6888459f301c5889f3b14ada38b913

[PATCH 1/1] ARM: dts: ux500: Supply nodes for the other 2 AB8500 PWM devices

2020-06-22 Thread Lee Jones
As per 'struct mfd_cell ab8500_devs[]' there are not 1, but 3 PWM devices on the AB8500. Until now, each of them have referenced the same Device Tree node. This change ensures each device has their own. Due to recent `dtc` checks [0], nodes cannot share the same node name, so we are forced to

Re: [PATCH v2 3/6] media: ov5647: Add support for non-continuous clock mode

2020-06-22 Thread Jacopo Mondi
Hi Roman, On Mon, Jun 22, 2020 at 10:00:46AM +0300, Roman Kovalivskyi wrote: > Hi Jacopo, > > On 18.06.20 13:13, Jacopo Mondi wrote: > > Hi Roman, Sakari > > > > On Tue, May 19, 2020 at 02:57:07PM +0300, Sakari Ailus wrote: > >> Hi Roman, > >> > >> On Tue, May 19, 2020 at 04:16:18AM +0300, Roman

[PATCH 1/2] tracefs: Remove unnecessary debug_fs checks.

2020-06-22 Thread Peter Enderborg
This is a preparation for debugfs restricted mode. We don't need debugfs to trace, the removed check stop tracefs to work if debugfs is not initialised. We instead tries to automount within debugfs and relay on it's handling. The code path is to create a backward compatibility from when tracefs

[PATCH v4 0/2] debugfs: Add access restriction option

2020-06-22 Thread Peter Enderborg
Since debugfs include sensitive information it need to be treated carefully. But it also has many very useful debug functions for userspace. With this option we can have same configuration for system with need of debugfs and a way to turn it off. This gives a extra protection for exposure on

[PATCH 2/2] debugfs: Add access restriction option

2020-06-22 Thread Peter Enderborg
Since debugfs include sensitive information it need to be treated carefully. But it also has many very useful debug functions for userspace. With this option we can have same configuration for system with need of debugfs and a way to turn it off. This gives a extra protection for exposure on

Re: [PATCH v2 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-06-22 Thread Wei Yang
On Fri, Jun 19, 2020 at 02:59:20PM +0200, David Hildenbrand wrote: >Especially with memory hotplug, we can have offline sections (with a >garbage memmap) and overlapping zones. We have to make sure to only >touch initialized memmaps (online sections managed by the buddy) and that >the zone

[PATCH] arm64: dts: ls1028a: Add DSPI nodes

2020-06-22 Thread Qiang Zhao
From: Xiaowei Bao Add the DSPI nodes for ls1028a. Signed-off-by: Xiaowei Bao Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 85 +++ 1 file changed, 85 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts

[PATCH 1/2] arm64: dts: lx2160a: add dspi controller DT nodes

2020-06-22 Thread Qiang Zhao
From: Chuanhua Han Add the dspi support on lx2160 Signed-off-by: Chuanhua Han Signed-off-by: Bao Xiaowei Signed-off-by: Hou Zhiqiang Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git

Re: [PATCH 1/3] thermal/cpu-cooling, sched/core: Cleanup thermal pressure definition

2020-06-22 Thread Vincent Guittot
On Sat, 20 Jun 2020 at 19:49, Ionela Voinescu wrote: > > Hi Vincent, > > On Thursday 18 Jun 2020 at 17:03:24 (+0200), Vincent Guittot wrote: > > On Sun, 14 Jun 2020 at 03:10, Valentin Schneider > > wrote: > [..] > > > diff --git a/drivers/thermal/cpufreq_cooling.c > > >

[PATCH 2/2] arm64: dts: lx2160a: add DT node for all DSPI controller

2020-06-22 Thread Qiang Zhao
From: Chuanhua Han Add device tree node for first flash (CS0) connected to all dspi controller. Signed-off-by: Chuanhua Han Signed-off-by: Wasim Khan Signed-off-by: Zhao Qiang --- arch/arm64/boot/dts/freescale/fsl-lx2160a-qds.dts | 36 +++ 1 file changed, 36

Re: [RFC] power: supply: bq27xxx_battery: Fix polling interval after re-bind

2020-06-22 Thread Krzysztof Kozlowski
On Fri, Jun 19, 2020 at 07:55:21PM +0200, Sebastian Reichel wrote: > Hi, > > On Wed, May 27, 2020 at 09:42:54AM +0200, Pali Rohár wrote: > > On Tuesday 26 May 2020 21:16:28 Andrew F. Davis wrote: > > > On 5/25/20 7:32 AM, Krzysztof Kozlowski wrote: > > > > This reverts commit

[PATCH v1] software node: Use software_node_unregister() when unregistering group of nodes

2020-06-22 Thread Andy Shevchenko
After the commit 46d26819a505 ("software node: implement software_node_unregister()") has been applied a new helper appears that may be utilised in other places. For time being there is one such place, i.e. in software_node_unregister_node_group() which will benefit of the clean up. Use

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 10:10:27AM +0200, Peter Zijlstra wrote: > On Sat, Jun 20, 2020 at 09:32:26AM -0700, Linus Torvalds wrote: > > Peter/Ingo? > > I have the below (and a whole fair number of even more patches), but > I've been struggling with a possibly related NULL pointer deref, which > is

Re: [RFC PATCH 06/10] pwm: ntxec: Add driver for PWM function in Netronix EC

2020-06-22 Thread Uwe Kleine-König
Hello, On Sun, Jun 21, 2020 at 12:42:17AM +0200, Jonathan Neuschäfer wrote: > The Netronix EC provides a PWM output, which is used for the backlight s/,// > on ebook readers. This patches adds a driver for the PWM output. on *some* ebook readers > +#define NTXEC_UNK_A 0xa1 >

[PATCH v6 2/5] cpufreq: blacklist SC7180 in cpufreq-dt-platdev

2020-06-22 Thread Sibi Sankar
Add SC7180 to cpufreq-dt-platdev blacklist since the actual scaling is handled by the 'qcom-cpufreq-hw' driver. Reviewed-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke Signed-off-by: Sibi Sankar --- v6/v7: * No change v5: * Picked up R-b from Amit v4: * Updated commit message

[PATCH v6 1/5] cpufreq: blacklist SDM845 in cpufreq-dt-platdev

2020-06-22 Thread Sibi Sankar
Add SDM845 to cpufreq-dt-platdev blacklist since the actual scaling is handled by the 'qcom-cpufreq-hw' driver. Reviewed-by: Amit Kucheria Reviewed-by: Matthias Kaehlcke Signed-off-by: Sibi Sankar --- v6/v7: * No change v5: * Picked up R-b from Amit v4: * Updated commit message

[PATCH v6 3/5] OPP: Add and export helper to set bandwidth

2020-06-22 Thread Sibi Sankar
Add and export 'dev_pm_opp_set_bw' to set the bandwidth levels associated with an OPP. Reviewed-by: Matthias Kaehlcke Signed-off-by: Sibi Sankar --- v7: * Picked up R-b from Matthias v6: * Pass NULL to _set_opp_bw v5: https://lkml.org/lkml/2020/5/27/7 * Rework the patch based on ^^ v4:

[PATCH v6 4/5] cpufreq: qcom: Update the bandwidth levels on frequency change

2020-06-22 Thread Sibi Sankar
Add support to parse optional OPP table attached to the cpu node when the OPP bandwidth values are populated. This allows for scaling of DDR/L3 bandwidth levels with frequency change. Signed-off-by: Sibi Sankar --- v7: * Fixup comments for correctness [Matthias] * Initialize

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Mon, Jun 22, 2020 at 10:10:27AM +0200, Peter Zijlstra wrote: > Instead of relying on BUG_ON() to ensure the various data structures > line up, use a bunch of horrible unions. > struct irq_work { > + union { > + struct __call_single_node node; > + struct { > +

[PATCH v6 5/5] cpufreq: qcom: Disable fast switch when scaling DDR/L3

2020-06-22 Thread Sibi Sankar
Disable fast switch when the opp-tables required for scaling DDR/L3 are populated. Reviewed-by: Matthias Kaehlcke Signed-off-by: Sibi Sankar --- v7: * Picked up R-b from Matthias v6: * No change v5: * Drop dev_pm_opp_get_path_count [Saravana] drivers/cpufreq/qcom-cpufreq-hw.c | 3 +-- 1

[PATCH v6 0/5] DDR/L3 Scaling support on SDM845 and SC7180 SoCs

2020-06-22 Thread Sibi Sankar
This patch series aims to extend cpu based scaling support to L3/DDR on SDM845 and SC7180 SoCs. Patches [1-2] - Blacklist SDM845 and SC7180 in cpufreq-dt-platdev Patches [3-5] - Update bw levels based on cpu frequency change V7: * Fixup comments for correctness [Matthias] * Initialize

Re: [PATCH v2 5/8] arm64: dts: qcom: pm660(l): Add base dts files

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > Add base DTS files for pm660(l) along with GPIOs, power-on and > rtc nodes. > > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/pm660.dtsi | 60 > arch/arm64/boot/dts/qcom/pm660l.dtsi | 46

Re: [PATCH 09/11] clk: actions: Add Actions S500 SoC Reset Management Unit support

2020-06-22 Thread Stephen Boyd
Quoting Cristian Ciocaltea (2020-06-17 09:48:09) > Add Reset Management Unit (RMU) support for Actions Semi S500 SoC. > > Signed-off-by: Cristian Ciocaltea > --- > drivers/clk/actions/owl-s500.c | 80 ++ > 1 file changed, 80 insertions(+) > > diff --git

Re: [PATCH v4 0/2] dtc: Improve checks for i2c reg properties

2020-06-22 Thread David Gibson
On Mon, Jun 22, 2020 at 12:40:03PM +0930, Joel Stanley wrote: > This is to fix a build warning in the Linux kernel caused by dtc > incorrectly warning about I2C_OWN_SLAVE_ADDRESS. Applied, thanks. > > v4 adds a U to the defines > v3 fixes the 10 bit size check > v2 contains a second patch to

Re: [tip: sched/urgent] sched: Fix RANDSTRUCT build fail

2020-06-22 Thread Peter Zijlstra
On Sat, Jun 20, 2020 at 09:32:26AM -0700, Linus Torvalds wrote: > Peter/Ingo? I have the below (and a whole fair number of even more patches), but I've been struggling with a possibly related NULL pointer deref, which is why I've been holding off on landing this. It looks like we finally have a

Linux 5.7.5

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.5 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Re: [dm-devel] [RFC PATCH 0/1] dm-crypt excessive overhead

2020-06-22 Thread Damien Le Moal
On 2020/06/22 16:55, Ignat Korchagin wrote: > On Mon, Jun 22, 2020 at 1:45 AM Damien Le Moal wrote: >> >> On 2020/06/20 1:56, Mike Snitzer wrote: >>> On Fri, Jun 19 2020 at 12:41pm -0400, >>> Ignat Korchagin wrote: >>> This is a follow up from the long-forgotten [1], but with some more

Re: [RFC] power: supply: bq27xxx_battery: Fix polling interval after re-bind

2020-06-22 Thread Krzysztof Kozlowski
On Fri, Jun 19, 2020 at 08:58:29PM +0200, Pali Rohár wrote: > On Friday 19 June 2020 19:55:21 Sebastian Reichel wrote: > > Hi, > > > > On Wed, May 27, 2020 at 09:42:54AM +0200, Pali Rohár wrote: > > > On Tuesday 26 May 2020 21:16:28 Andrew F. Davis wrote: > > > > On 5/25/20 7:32 AM, Krzysztof

Linux 5.4.48

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.48 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2 1/3] mfd: core: Make a best effort attempt to match devices with the correct of_nodes

2020-06-22 Thread Lee Jones
On Thu, 11 Jun 2020, Lee Jones wrote: > Currently, when a child platform device (sometimes referred to as a > sub-device) is registered via the Multi-Functional Device (MFD) API, > the framework attempts to match the newly registered platform device > with its associated Device Tree (OF) node.

Re: Linux 4.9.228

2020-06-22 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt b/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt index b6a7e7397b8b..b944fe067188 100644 --- a/Documentation/devicetree/bindings/display/mediatek/mediatek,dpi.txt +++

Linux 4.9.228

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.9.228 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.19.129

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.129 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: Linux 4.4.228

2020-06-22 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index f13f464d9928..009a36b276f7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 227 +SUBLEVEL = 228 EXTRAVERSION = NAME = Blurry Fish Butt @@ -313,12 +313,8 @@ KBUILD_MODULES := KBUILD_BUILTIN := 1 # If we have

Re: [PATCH v4 3/5] drm: panel: Add Xingbangda XBD599 panel (ST7703 controller)

2020-06-22 Thread Sam Ravnborg
On Sun, Jun 21, 2020 at 12:30:10AM +0200, Ondřej Jirman wrote: > On Sat, Jun 20, 2020 at 11:25:29PM +0200, Sam Ravnborg wrote: > > Hi Ondrej et al. > > > > On Wed, Jun 17, 2020 at 02:32:07AM +0200, Ondrej Jirman wrote: > > > From: Icenowy Zheng > > > > > > Xingbangda XBD599 is a 5.99" 720x1440

Linux 4.14.185

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.185 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.4.228

2020-06-22 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.4.228 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v2 3/8] soc: qcom: socinfo: Add socinfo entry for SDM630

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > This patch adds missing soc ID for SDM630. > > Signed-off-by: Konrad Dybcio Applied Thanks, Bjorn > --- > drivers/soc/qcom/socinfo.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/soc/qcom/socinfo.c

Re: [PATCH v1 3/3] iio:adc:ltc2471: add dt binding yaml

2020-06-22 Thread Berghe, Darius
On Sat, 2020-06-20 at 16:31 +0100, Jonathan Cameron wrote: > [External] > > On Wed, 17 Jun 2020 16:35:23 +0300 > Darius Berghe wrote: > > > Add dt binding documentation for ltc2471 driver. This covers all supported > > devices. > > > > Signed-off-by: Darius Berghe > A few things inline but

Re: [PATCH v2 2/8] Documentation: Document pm660(l) SPMI GPIOs compatible

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: Reviewed-by: Bjorn Andersson > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v2 1/8] pinctrl: qcom: spmi-gpio: Add pm660(l) compatibility

2020-06-22 Thread Bjorn Andersson
On Mon 22 Jun 00:57 PDT 2020, Konrad Dybcio wrote: > Add support for pm660(l) SPMI GPIOs. The PMICs feature > 13 and 12 GPIOs respectively, though with a lot of > holes inbetween. > > Signed-off-by: Konrad Dybcio Acked-by: Bjorn Andersson > --- > drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4

Re: [PATCH] scripts: add dummy report mode to add_namespace.cocci

2020-06-22 Thread Matthias Maennich
On Thu, Jun 04, 2020 at 02:39:18PM -0600, Shuah Khan wrote: On 6/4/20 1:31 PM, Julia Lawall wrote: On Thu, 4 Jun 2020, Matthias Maennich wrote: When running `make coccicheck` in report mode using the add_namespace.cocci file, it will fail for files that contain MODULE_LICENSE. Those match

Re: [RFC PATCH v1 0/2] rk3318 A95X Z2 board

2020-06-22 Thread Johan Jonker
Hi, BUG report 1: About phy-rockchip-inno-usb2.c and rk3318. Goal is to use ttyUSB0 as console in combination with agetty as long as we don't have a working HDMI signal on a DVI monitor. Boot with rk3318 starts normal on emmc with U-boot OK. It then loads the kernel and initrd on SD card. Log

[PATCH v2 0/4] hwspinlock: qcom: Allow dropping the intermediate TCSR mutex syscon

2020-06-22 Thread Bjorn Andersson
In modern Qualcomm platforms the mutex region of the TCSR is forked off into its own block, all with a offset of 0 and stride of 4096, and in some of these platforms no other registers in this region is accessed from Linux. Update the binding and the implementation to allow the TCSR mutex to be

[PATCH v2 1/4] dt-bindings: hwlock: qcom: Migrate binding to YAML

2020-06-22 Thread Bjorn Andersson
Migrate the Qualcomm TCSR mutex binding to YAML to allow validation. Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Actually remove the old binding doc .../bindings/hwlock/qcom-hwspinlock.txt | 39 -- .../bindings/hwlock/qcom-hwspinlock.yaml

[PATCH v2 2/4] dt-bindings: hwlock: qcom: Allow device on mmio bus

2020-06-22 Thread Bjorn Andersson
In modern Qualcomm platforms the mutex region of the TCSR is forked off into its own block, all with a offset of 0 and stride of 4096, and in some of these platforms no other registers in this region is accessed from Linux. Update the binding to allow the hardware block to be described directly

[PATCH v2 4/4] arm64: dts: qcom: sm8250: Drop tcsr_mutex syscon

2020-06-22 Thread Bjorn Andersson
Now that we don't need the intermediate syscon to represent the TCSR mutexes, update the dts to describe the TCSR mutex directly under /soc. The change also fixes the sort order of the nodes. Signed-off-by: Bjorn Andersson --- Changs since v1: - Adjusted sort order of the nodes

[PATCH v2 3/4] hwspinlock: qcom: Allow mmio usage in addition to syscon

2020-06-22 Thread Bjorn Andersson
In modern Qualcomm platforms the mutex region of the TCSR is forked off into its own block, all with a offset of 0 and stride of 4096, and in some of these platforms no other registers in this region is accessed from Linux. So add support for directly memory mapping this register space, to avoid

[PATCH v2 6/8] arm64: dts: qcom: sdm630: Add sdm630 dts file

2020-06-22 Thread Konrad Dybcio
Add devicetree files for SDM630 SoC and its pin configuration. This commit adds basic nodes like cpu, psci and other required configuration for booting up from eMMC to the serial console. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630-pins.dtsi | 268 ++

Re: linux-next: Signed-off-by missing for commit in the hid tree

2020-06-22 Thread Cristian Klein
On Sun, Jun 21, 2020 at 07:51:24AM +1000, Stephen Rothwell wrote: > Hi all, > > Commit > > 470376737e88 ("HID: allow building hid.ko as an external module") > > is missing a Signed-off-by from its author. > > -- > Cheers, > Stephen Rothwell Hi, My bad. Please find attached the corrected

Re: [PATCH v2] soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's

2020-06-22 Thread Neil Armstrong
On 09/06/2020 10:13, Christian Hewitt wrote: > Correct the SoC revision and package bits/mask values for S905D3/X3 to detect > a wider range of observed SoC IDs, and tweak sort order for A311D/S922X. > > S905X3 05 0101 (SEI610 initial devices) > S905X3 10 0001 (ODROID-C4 and recent

Re: New mode DM-Verity error handling

2020-06-22 Thread Milan Broz
On 18/06/2020 19:09, Mike Snitzer wrote: > On Thu, Jun 18 2020 at 12:50pm -0400, > Sami Tolvanen wrote: > >> On Thu, Jun 18, 2020 at 11:44:45AM -0400, Mike Snitzer wrote: >>> I do not accept that panicing the system because of verity failure is >>> reasonable. >>> >>> In fact, even rebooting

Re: [PATCH RESEND v1] drm/meson: viu: fix setting the OSD burst length in VIU_OSD1_FIFO_CTRL_STAT

2020-06-22 Thread Neil Armstrong
Hi Martin, On 20/06/2020 17:57, Martin Blumenstingl wrote: > The burst length is configured in VIU_OSD1_FIFO_CTRL_STAT[31] and > VIU_OSD1_FIFO_CTRL_STAT[11:10]. The public S905D3 datasheet describes > this as: > - 0x0 = up to 24 per burst > - 0x1 = up to 32 per burst > - 0x2 = up to 48 per burst

[PATCH v2 4/8] clk: qcom: smd: Add support for SDM660 rpm clocks

2020-06-22 Thread Konrad Dybcio
Add rpm smd clocks, PMIC and bus clocks which are required on SDM630/660 (and APQ variants) for clients to vote on. Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/clock/qcom,rpmcc.txt | 1 + drivers/clk/qcom/clk-smd-rpm.c| 77 +++

[PATCH v2 5/8] arm64: dts: qcom: pm660(l): Add base dts files

2020-06-22 Thread Konrad Dybcio
Add base DTS files for pm660(l) along with GPIOs, power-on and rtc nodes. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/pm660.dtsi | 60 arch/arm64/boot/dts/qcom/pm660l.dtsi | 46 + 2 files changed, 106 insertions(+) create mode

[PATCH v2 7/8] arm64: dts: qcom: Add support for Sony Xperia XA2/Plus/Ultra (Nile platform)

2020-06-22 Thread Konrad Dybcio
Add device tree support for the Sony Xperia XA2, XA2 Plus and XA2 Ultra smartphones. They are all based on the Sony Nile platform (sdm630) and share a lot of common code. The differences are really minor, so a Nile-common DTSI has been created to reduce clutter. XA2 - Pioneer XA2 Plus - Voyager

[PATCH v2 8/8] arm64: dts: qcom: Add support for Sony Xperia 10/10 Plus (Ganges platform)

2020-06-22 Thread Konrad Dybcio
From: Martin Botka Add device tree support for the Sony Xperia 10 and 10 Plus smartphones. They are all based on the Sony Ganges platform (sdm630/636) and share a lot of common code. The differences are really minor, so a Ganges-common DTSI has been created to reduce clutter. 10 - Kirin 10 Plus

[PATCH v2 3/8] soc: qcom: socinfo: Add socinfo entry for SDM630

2020-06-22 Thread Konrad Dybcio
This patch adds missing soc ID for SDM630. Signed-off-by: Konrad Dybcio --- drivers/soc/qcom/socinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index 5983c6ffb078..705f142ee588 100644 --- a/drivers/soc/qcom/socinfo.c +++

[PATCH v2 0/8] Add support for Sony SDM630-based boards

2020-06-22 Thread Konrad Dybcio
changes since v1: - fixed some indentation - fixed a typo in RPMCC - added Tested-bys Konrad Dybcio (7): pinctrl: qcom: spmi-gpio: Add pm660(l) compatibility Documentation: Document pm660(l) SPMI GPIOs compatible soc: qcom: socinfo: Add socinfo entry for SDM630 clk: qcom: smd: Add support

[PATCH v2 2/8] Documentation: Document pm660(l) SPMI GPIOs compatible

2020-06-22 Thread Konrad Dybcio
Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index

[PATCH v2 1/8] pinctrl: qcom: spmi-gpio: Add pm660(l) compatibility

2020-06-22 Thread Konrad Dybcio
Add support for pm660(l) SPMI GPIOs. The PMICs feature 13 and 12 GPIOs respectively, though with a lot of holes inbetween. Signed-off-by: Konrad Dybcio --- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c

Re: [PATCH v2] arm64: dts: amlogic: Add the Ethernet "timing-adjustment" clock

2020-06-22 Thread Neil Armstrong
On 20/06/2020 18:23, Martin Blumenstingl wrote: > Add the "timing-adjustment" clock now that we know how it is connected > to the PRG_ETHERNET registers. It is used internally to generate the > RGMII RX delay on the MAC side (if needed). > > Signed-off-by: Martin Blumenstingl > --- > Changes

Re: [PATCH 0/3] ARM: dts: wire up the power domains on Meson8/8b/8m2

2020-06-22 Thread Neil Armstrong
On 20/06/2020 18:10, Martin Blumenstingl wrote: > Now that the meson-ee-pwrc driver has gained support for the power > domains on Meson8/Meson8b/Meson8m2 we can add it to the corresponding > .dtsi files. > > So far this doesn't fix (or break) anything for me (probably because all > vendor u-boots

Re: [PATCH] arm64: dts: meson-gx: Switch to the meson-ee-pwrc bindings

2020-06-22 Thread Neil Armstrong
On 20/06/2020 18:12, Martin Blumenstingl wrote: > The "amlogic,meson-gx-pwrc-vpu" binding only supports the VPU power > domain, while actually there are more power domains behind that set of > registers. Switch to the new bindings so we can add more power domains > as needed. > > Signed-off-by:

Re: [dm-devel] [RFC PATCH 0/1] dm-crypt excessive overhead

2020-06-22 Thread Ignat Korchagin
On Mon, Jun 22, 2020 at 1:45 AM Damien Le Moal wrote: > > On 2020/06/20 1:56, Mike Snitzer wrote: > > On Fri, Jun 19 2020 at 12:41pm -0400, > > Ignat Korchagin wrote: > > > >> This is a follow up from the long-forgotten [1], but with some more > >> convincing > >> evidence. Consider the

Re: [PATCH] clk: meson: meson8b: Drop CLK_IS_CRITICAL from fclk_div2

2020-06-22 Thread Neil Armstrong
On 20/06/2020 18:14, Martin Blumenstingl wrote: > Drop CLK_IS_CRITICAL from fclk_div2. This was added because we didn't > know the relation between this clock and RGMII Ethernet. It turns out > that fclk_div2 is used as "timing adjustment clock" to generate the RX > delay on the MAC side - which

Re: [PATCH v3 05/10] pinctrl: ocelot: Add Sparx5 SoC support

2020-06-22 Thread Lars Povlsen
Linus Walleij writes: > On Mon, Jun 15, 2020 at 3:33 PM Lars Povlsen > wrote: > >> This add support for Sparx5 pinctrl, using the ocelot drives as >> basis. It adds pinconfig support as well, as supported by the >> platform. >> >> Reviewed-by: Alexandre Belloni >> Signed-off-by: Lars Povlsen

[PATCH v1] uuid: Remove unused uuid_le_to_bin() definition

2020-06-22 Thread Andy Shevchenko
There is no more user, so remove it. Signed-off-by: Andy Shevchenko --- include/linux/uuid.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/uuid.h b/include/linux/uuid.h index d41b0d3e9474..8cdc0d3567cd 100644 --- a/include/linux/uuid.h +++ b/include/linux/uuid.h @@ -98,8

Re: [PATCH v2] nbd: Fix memory leak in nbd_add_socket

2020-06-22 Thread Markus Elfring
>> Can an other wording variant be nicer? > > em, how about this? > > > When adding first socket to nbd, How do you think about to replace abbreviations by terms? > if nsock's allocation fails, … failed, > config->socks is malloced The data structure member “config->socks” was reallocated.

[PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-06-22 Thread Lee Jones
The existing SYSCON implementation only supports MMIO (memory mapped) accesses, facilitated by Regmap. This extends support for registers held behind I2C busses. Signed-off-by: Lee Jones --- Changelog: v3 => v4 - Add ability to provide a non-default Regmap configuration v2 => v3 - Change

Re: [PATCH v3] arm64: dts: ti: k3-am654-main: Update otap-del-sel values

2020-06-22 Thread Tero Kristo
On 19/05/2020 11:20, Faiz Abbas wrote: According to the latest AM65x Data Manual[1], a different output tap delay value is optimum for a given speed mode. Update these values. [1] http://www.ti.com/lit/gpn/am6526 Signed-off-by: Faiz Abbas Queued up for 5.9, thanks. -Tero --- v3: Updated

Re: [PATCH 0/2] arm64: dts: ti: k3: add platforms chipid module nodes

2020-06-22 Thread Tero Kristo
On 19/06/2020 19:26, Grygorii Strashko wrote: On 15/06/2020 10:47, Peter Ujfalusi wrote: Hi Grygorii, On 13/06/2020 19.43, Grygorii Strashko wrote: Hi Tero, Hence k3 platforms chipid module driver was merged, there is follow up series to add corresponding DT chipid nodes. [1]

[PATCH v2] staging: gasket: replace symbolic permissions

2020-06-22 Thread Rodolfo C. Villordo
WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. + .attr = __ATTR(_name, S_IRUGO, _show_function, NULL), \ warning detected by checkpatch.pl Unable to use __ATTR_RO(). Driver has multiple files using the same show

Re: [PATCH] pinctrl: amd: fix npins for uart0 in kerncz_groups

2020-06-22 Thread Linus Walleij
On Tue, Jun 16, 2020 at 3:50 AM Jacky Hu wrote: > uart0_pins is defined as: > static const unsigned uart0_pins[] = {135, 136, 137, 138, 139}; > > which npins is wronly specified as 9 later > { > .name = "uart0", > .pins = uart0_pins, >

Re: [PATCH v4 9/9] remoteproc: Properly handle firmware name when attaching

2020-06-22 Thread Bjorn Andersson
On Mon 01 Jun 10:51 PDT 2020, Mathieu Poirier wrote: > This patch prevents the firmware image name from being displayed when > the remoteproc core is attaching to a remote processor. This is needed > needed since there is no guarantee about the nature of the firmware > image that is loaded by the

Re: [PATCH v2 3/3] mm/shuffle: remove dynamic reconfiguration

2020-06-22 Thread David Hildenbrand
On 20.06.20 03:49, Dan Williams wrote: > On Fri, Jun 19, 2020 at 5:59 AM David Hildenbrand wrote: >> >> Commit e900a918b098 ("mm: shuffle initial free memory to improve >> memory-side-cache utilization") promised "autodetection of a >> memory-side-cache (to be added in a follow-on patch)" over a

Re: [PATCH v4 8/9] remoteproc: Refactor function rproc_free_vring()

2020-06-22 Thread Bjorn Andersson
On Mon 01 Jun 10:51 PDT 2020, Mathieu Poirier wrote: > When function rproc_free_vring() clears the virtio device section > it does so on the cached resource table rather than the one > installed in the remote processor memory. When a remote processor > has been booted by another entity there is

Re: [PATCH v4 7/9] remoteproc: Refactor function rproc_trigger_auto_boot()

2020-06-22 Thread Bjorn Andersson
On Mon 01 Jun 10:51 PDT 2020, Mathieu Poirier wrote: > Refactor function rproc_trigger_auto_boot() to properly deal > with scenarios where the remoteproc core needs to attach with a > remote processor that has already been booted by an external > entity. > > Signed-off-by: Mathieu Poirier

Re: linux-next boot error: WARNING in kmem_cache_free

2020-06-22 Thread Qian Cai
> On Jun 22, 2020, at 2:42 AM, Dmitry Vyukov wrote: > > There is a reason, it's still important for us. > But also it's not our strategy to deal with bugs by not testing > configurations and closing eyes on bugs, right? If it's an official > config in the kernel, it needs to be tested. If

Re: [PATCH v4 6/9] remoteproc: Refactor function rproc_boot()

2020-06-22 Thread Bjorn Andersson
On Mon 01 Jun 10:51 PDT 2020, Mathieu Poirier wrote: > Refactor function rproc_boot() to properly deal with scenarios > where the remoteproc core needs to attach with a remote > processor that has already been booted by an external entity. > > Signed-off-by: Mathieu Poirier Reviewed-by: Bjorn

Re: [PATCH v2 2/3] mm/memory_hotplug: document why shuffle_zone() is relevant

2020-06-22 Thread David Hildenbrand
On 20.06.20 03:41, Dan Williams wrote: > On Fri, Jun 19, 2020 at 6:00 AM David Hildenbrand wrote: >> >> It's not completely obvious why we have to shuffle the complete zone, as >> some sort of shuffling is already performed when onlining pages via >> __free_one_page(), placing MAX_ORDER-1 pages

<    12   13   14   15   16   17   18   >