Re: [RESEND PATCH v3 2/2] thermal: core: introduce thermal zone device mode control

2018-07-06 Thread Matthias Kaehlcke
Hi Enric, On Wed, Jul 04, 2018 at 12:36:39PM +0200, Enric Balletbo i Serra wrote: > Hi Matthias, > > Sorry for late reply, my memory is bad so I need to look at this again. The > patch was send some time ago and there are pending changes to do but then I > switched. I'll take a look, but did you

Re: [RESEND PATCH v3 2/2] thermal: core: introduce thermal zone device mode control

2018-07-06 Thread Matthias Kaehlcke
Hi Enric, On Wed, Jul 04, 2018 at 12:36:39PM +0200, Enric Balletbo i Serra wrote: > Hi Matthias, > > Sorry for late reply, my memory is bad so I need to look at this again. The > patch was send some time ago and there are pending changes to do but then I > switched. I'll take a look, but did you

Re: [PATCH v2 1/3] clk: tegra: refactor 7.1 div calculation

2018-07-06 Thread Stephen Boyd
Quoting Aapo Vienamo (2018-07-04 03:17:33) > diff --git a/drivers/clk/tegra/div71.c b/drivers/clk/tegra/div71.c > new file mode 100644 > index 000..1a5e04c > --- /dev/null > +++ b/drivers/clk/tegra/div71.c > @@ -0,0 +1,54 @@ > +/* > + * Copyright (c) 2018, NVIDIA CORPORATION. All rights

Re: [PATCH v2 1/3] clk: tegra: refactor 7.1 div calculation

2018-07-06 Thread Stephen Boyd
Quoting Aapo Vienamo (2018-07-04 03:17:33) > diff --git a/drivers/clk/tegra/div71.c b/drivers/clk/tegra/div71.c > new file mode 100644 > index 000..1a5e04c > --- /dev/null > +++ b/drivers/clk/tegra/div71.c > @@ -0,0 +1,54 @@ > +/* > + * Copyright (c) 2018, NVIDIA CORPORATION. All rights

Re: [PATCH v2 2/3] clk: tegra: Add sdmmc mux divider clock

2018-07-06 Thread Stephen Boyd
Quoting Aapo Vienamo (2018-07-04 03:17:34) > diff --git a/drivers/clk/tegra/clk-sdmmc-mux.c > b/drivers/clk/tegra/clk-sdmmc-mux.c > new file mode 100644 > index 000..8e19cb3 > --- /dev/null > +++ b/drivers/clk/tegra/clk-sdmmc-mux.c > @@ -0,0 +1,254 @@ > +/* > + * Copyright (c) 2018 NVIDIA

Re: [PATCH v2 2/3] clk: tegra: Add sdmmc mux divider clock

2018-07-06 Thread Stephen Boyd
Quoting Aapo Vienamo (2018-07-04 03:17:34) > diff --git a/drivers/clk/tegra/clk-sdmmc-mux.c > b/drivers/clk/tegra/clk-sdmmc-mux.c > new file mode 100644 > index 000..8e19cb3 > --- /dev/null > +++ b/drivers/clk/tegra/clk-sdmmc-mux.c > @@ -0,0 +1,254 @@ > +/* > + * Copyright (c) 2018 NVIDIA

Re: [PATCH v5 2/5] clk: at91: add I2S clock mux driver

2018-07-06 Thread Stephen Boyd
Quoting Codrin Ciubotariu (2018-06-18 07:12:36) > This driver is a simple muxing driver that controls the > I2S's clock input by using syscon/regmap to change the parent. > The available inputs can be peripheral clock and generated clock. > > Signed-off-by: Codrin Ciubotariu > --- Applied to

Re: [PATCH v5 1/5] dt-bindings: clk: at91: add an I2S mux clock

2018-07-06 Thread Stephen Boyd
Quoting Codrin Ciubotariu (2018-06-18 07:12:35) > The I2S mux clock can be used to select the I2S input clock. The > available parents are the peripheral and the generated clocks. > > Signed-off-by: Codrin Ciubotariu > --- Applied to clk-next

Re: [PATCH v5 2/5] clk: at91: add I2S clock mux driver

2018-07-06 Thread Stephen Boyd
Quoting Codrin Ciubotariu (2018-06-18 07:12:36) > This driver is a simple muxing driver that controls the > I2S's clock input by using syscon/regmap to change the parent. > The available inputs can be peripheral clock and generated clock. > > Signed-off-by: Codrin Ciubotariu > --- Applied to

Re: [PATCH v5 1/5] dt-bindings: clk: at91: add an I2S mux clock

2018-07-06 Thread Stephen Boyd
Quoting Codrin Ciubotariu (2018-06-18 07:12:35) > The I2S mux clock can be used to select the I2S input clock. The > available parents are the peripheral and the generated clocks. > > Signed-off-by: Codrin Ciubotariu > --- Applied to clk-next

Re: 4.17.x won't boot due to "x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G"

2018-07-06 Thread Andi Kleen
> At least we need to make user aware about risk of setting custom flags. There are valid use cases to override the flags. I use it sometimes too, and know some other people do to. But you need to know what you're doing. Perhaps a warning during build would be reasonable. So if you ask for a

Re: 4.17.x won't boot due to "x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G"

2018-07-06 Thread Andi Kleen
> At least we need to make user aware about risk of setting custom flags. There are valid use cases to override the flags. I use it sometimes too, and know some other people do to. But you need to know what you're doing. Perhaps a warning during build would be reasonable. So if you ask for a

Re: [PATCH v5 07/12] PM / devfreq: export devfreq_class

2018-07-06 Thread Matthias Kaehlcke
Hi, On Wed, Jul 04, 2018 at 02:30:32PM +0900, Chanwoo Choi wrote: > I didn't see any framework which exporting the class instance. > It is very dangerous. Unknown device drivers is able to reset > the 'devfreq_class' instance. I can't agree this approach. While I agree that it is potential

Re: [PATCH v5 07/12] PM / devfreq: export devfreq_class

2018-07-06 Thread Matthias Kaehlcke
Hi, On Wed, Jul 04, 2018 at 02:30:32PM +0900, Chanwoo Choi wrote: > I didn't see any framework which exporting the class instance. > It is very dangerous. Unknown device drivers is able to reset > the 'devfreq_class' instance. I can't agree this approach. While I agree that it is potential

Re: [PATCH 4.17 00/46] 4.17.5-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 11:51:24AM -0600, Dan Rue wrote: > On Fri, Jul 06, 2018 at 07:46:21AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.17.5 release. > > There are 46 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 4.17 00/46] 4.17.5-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 11:51:24AM -0600, Dan Rue wrote: > On Fri, Jul 06, 2018 at 07:46:21AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.17.5 release. > > There are 46 patches in this series, all will be posted as a response > > to this one. If

RE: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-06 Thread KY Srinivasan
> -Original Message- > On Fri, 6 Jul 2018, Thomas Gleixner wrote: > > On Fri, 6 Jul 2018, KY Srinivasan wrote: > > > > > > > > The problem is that the wreckage is in Linus tree and needs to be fixed > > > > there, i.e. via x86/urgent. > > > > > > > > Now we have the new bits queued in

RE: [PATCH 1/1] X86/Hyper-V:: Fix the circular dependency in IPI enlightenment.

2018-07-06 Thread KY Srinivasan
> -Original Message- > On Fri, 6 Jul 2018, Thomas Gleixner wrote: > > On Fri, 6 Jul 2018, KY Srinivasan wrote: > > > > > > > > The problem is that the wreckage is in Linus tree and needs to be fixed > > > > there, i.e. via x86/urgent. > > > > > > > > Now we have the new bits queued in

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Chris Wilson
Quoting Randy Dunlap (2018-07-06 18:55:57) > On 07/06/18 10:51, Chris Wilson wrote: > > Quoting Randy Dunlap (2018-07-06 18:48:55) > >> > >> On 07/06/18 02:44, Chris Wilson wrote: > >>> net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > >>> number of bits in a type

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Chris Wilson
Quoting Randy Dunlap (2018-07-06 18:55:57) > On 07/06/18 10:51, Chris Wilson wrote: > > Quoting Randy Dunlap (2018-07-06 18:48:55) > >> > >> On 07/06/18 02:44, Chris Wilson wrote: > >>> net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > >>> number of bits in a type

Re: [REGRESSION 4.17] Spurious wakeup / reboot with power button

2018-07-06 Thread Thomas Hänig
Am 06.07.2018 um 14:27 schrieb Takashi Iwai: > On Fri, 06 Jul 2018 14:13:04 +0200, > Rafael J. Wysocki wrote: >> >> On Friday, July 6, 2018 1:21:50 PM CEST Rafael J. Wysocki wrote: >>> On Fri, Jul 6, 2018 at 1:12 PM, Thomas Hänig wrote: >> >> [cut] >> >>> So the latest patch: >>> >>>

Re: [REGRESSION 4.17] Spurious wakeup / reboot with power button

2018-07-06 Thread Thomas Hänig
Am 06.07.2018 um 14:27 schrieb Takashi Iwai: > On Fri, 06 Jul 2018 14:13:04 +0200, > Rafael J. Wysocki wrote: >> >> On Friday, July 6, 2018 1:21:50 PM CEST Rafael J. Wysocki wrote: >>> On Fri, Jul 6, 2018 at 1:12 PM, Thomas Hänig wrote: >> >> [cut] >> >>> So the latest patch: >>> >>>

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-07-06 Thread Matthias Kaehlcke
Hi Chanwoo, On Wed, Jul 04, 2018 at 03:41:46PM +0900, Chanwoo Choi wrote: > Firstly, > I'm not sure why devfreq needs the devfreq_verify_within_limits() function. > > devfreq already used the OPP interface as default. It means that > the outside of 'drivers/devfreq' can disable/enable the

Re: [PATCH v5 05/12] PM / devfreq: Add support for policy notifiers

2018-07-06 Thread Matthias Kaehlcke
Hi Chanwoo, On Wed, Jul 04, 2018 at 03:41:46PM +0900, Chanwoo Choi wrote: > Firstly, > I'm not sure why devfreq needs the devfreq_verify_within_limits() function. > > devfreq already used the OPP interface as default. It means that > the outside of 'drivers/devfreq' can disable/enable the

[PATCH 12/17] drm/sun4i: tcon: Add support for R40 TCON

2018-07-06 Thread Jernej Skrabec
R40 TV TCON is basically the same as on A83T. However, it needs special handling, because it has to set up TCON TOP muxes at runtime. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 40 ++ 1 file changed, 40 insertions(+) diff --git

[PATCH 12/17] drm/sun4i: tcon: Add support for R40 TCON

2018-07-06 Thread Jernej Skrabec
R40 TV TCON is basically the same as on A83T. However, it needs special handling, because it has to set up TCON TOP muxes at runtime. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_tcon.c | 40 ++ 1 file changed, 40 insertions(+) diff --git

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Randy Dunlap
On 07/06/18 10:51, Chris Wilson wrote: > Quoting Randy Dunlap (2018-07-06 18:48:55) >> >> On 07/06/18 02:44, Chris Wilson wrote: >>> net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the >>> number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the >>> macro to

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Randy Dunlap
On 07/06/18 10:51, Chris Wilson wrote: > Quoting Randy Dunlap (2018-07-06 18:48:55) >> >> On 07/06/18 02:44, Chris Wilson wrote: >>> net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the >>> number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the >>> macro to

Re: [PATCH] clk: aspeed: Support HPLL strapping on ast2400

2018-07-06 Thread Stephen Boyd
Quoting Joel Stanley (2018-06-28 16:15:40) > The HPLL can be configured through a register (SCU24), however some > platforms chose to configure it through the strapping settings and do > not use the register. This was not noticed as the logic for bit 18 in > SCU24 was confused: set means

Re: [PATCH] clk: aspeed: Support HPLL strapping on ast2400

2018-07-06 Thread Stephen Boyd
Quoting Joel Stanley (2018-06-28 16:15:40) > The HPLL can be configured through a register (SCU24), however some > platforms chose to configure it through the strapping settings and do > not use the register. This was not noticed as the logic for bit 18 in > SCU24 was confused: set means

Re: [PATCH] get_maintainer.pl: Add optional .get_maintainer.MAINTAINERS override

2018-07-06 Thread Don Zickus
On Tue, Jun 26, 2018 at 01:16:11PM -0700, Joe Perches wrote: > On Tue, 2018-06-26 at 14:25 -0400, Prarit Bhargava wrote: > > OSes have additional maintainers that should be cc'd on patches or may > > want to circulate internal patches. > > > > Parse the .get_maintainer.MAINTAINERS file. Entries

Re: [PATCH] get_maintainer.pl: Add optional .get_maintainer.MAINTAINERS override

2018-07-06 Thread Don Zickus
On Tue, Jun 26, 2018 at 01:16:11PM -0700, Joe Perches wrote: > On Tue, 2018-06-26 at 14:25 -0400, Prarit Bhargava wrote: > > OSes have additional maintainers that should be cc'd on patches or may > > want to circulate internal patches. > > > > Parse the .get_maintainer.MAINTAINERS file. Entries

Re: [PATCH v7 2/4] clk: davinci: kill davinci_clk_reset_assert/deassert()

2018-07-06 Thread David Lechner
On 06/21/2018 02:37 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This code is no longer used. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner Acked-by: Stephen Boyd --- I've picked this up in clk-davinci-4.20, so it will just hang out there for a

Re: [PATCH v7 2/4] clk: davinci: kill davinci_clk_reset_assert/deassert()

2018-07-06 Thread David Lechner
On 06/21/2018 02:37 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This code is no longer used. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner Acked-by: Stephen Boyd --- I've picked this up in clk-davinci-4.20, so it will just hang out there for a

Re: [PATCH 4.14 00/61] 4.14.54-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 07:46:24AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.54 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.14 00/61] 4.14.54-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 07:46:24AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.54 release. > There are 61 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[GIT PULL] clk fixes for v4.18-rc3

2018-07-06 Thread sboyd
From: Stephen Boyd The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch

[GIT PULL] clk fixes for v4.18-rc3

2018-07-06 Thread sboyd
From: Stephen Boyd The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Chris Wilson
Quoting Randy Dunlap (2018-07-06 18:48:55) > > On 07/06/18 02:44, Chris Wilson wrote: > > net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > > number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the > > macro to bitops.h, alongside BITS_PER_BYTE, for wider

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Chris Wilson
Quoting Randy Dunlap (2018-07-06 18:48:55) > > On 07/06/18 02:44, Chris Wilson wrote: > > net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > > number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the > > macro to bitops.h, alongside BITS_PER_BYTE, for wider

Re: [PATCH 4.17 00/46] 4.17.5-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 07:46:21AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.5 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.17 00/46] 4.17.5-stable review

2018-07-06 Thread Dan Rue
On Fri, Jul 06, 2018 at 07:46:21AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.5 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v3 4/5] ASoC: dt-bindings: Update dt binding name for apq8096

2018-07-06 Thread Srinivas Kandagatla
On 06/07/18 10:43, Rohit kumar wrote: Remove qcom prefix from machine driver dt bindings of apq8096 SoC. Yes, this is a good move to make everything inline! Signed-off-by: Rohit kumar --- Documentation/devicetree/bindings/sound/qcom,apq8096.txt | 15 +-- 1 file changed, 13

Re: [PATCH v3 2/5] ASoC: qcom: Add support to parse common audio device nodes

2018-07-06 Thread Srinivas Kandagatla
On 06/07/18 10:43, Rohit kumar wrote: This adds support to parse cpu, platform and codec device nodes and add them in dai-links. Also, add API to add slave components associated with machine driver. Signed-off-by: Rohit kumar --- sound/soc/qcom/Kconfig | 3 + sound/soc/qcom/Makefile |

Re: [PATCH v3 4/5] ASoC: dt-bindings: Update dt binding name for apq8096

2018-07-06 Thread Srinivas Kandagatla
On 06/07/18 10:43, Rohit kumar wrote: Remove qcom prefix from machine driver dt bindings of apq8096 SoC. Yes, this is a good move to make everything inline! Signed-off-by: Rohit kumar --- Documentation/devicetree/bindings/sound/qcom,apq8096.txt | 15 +-- 1 file changed, 13

Re: [PATCH v3 2/5] ASoC: qcom: Add support to parse common audio device nodes

2018-07-06 Thread Srinivas Kandagatla
On 06/07/18 10:43, Rohit kumar wrote: This adds support to parse cpu, platform and codec device nodes and add them in dai-links. Also, add API to add slave components associated with machine driver. Signed-off-by: Rohit kumar --- sound/soc/qcom/Kconfig | 3 + sound/soc/qcom/Makefile |

Re: [PATCH v8 05/17] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-07-06 Thread Vladimir Davydov
On Thu, Jul 05, 2018 at 03:10:30PM -0700, Andrew Morton wrote: > On Wed, 4 Jul 2018 18:51:12 +0300 Kirill Tkhai wrote: > > > > - why aren't we decreasing shrinker_nr_max in > > > unregister_memcg_shrinker()? That's easy to do, avoids pointless > > > work in shrink_slab_memcg() and avoids

Re: [PATCH v8 05/17] mm: Assign memcg-aware shrinkers bitmap to memcg

2018-07-06 Thread Vladimir Davydov
On Thu, Jul 05, 2018 at 03:10:30PM -0700, Andrew Morton wrote: > On Wed, 4 Jul 2018 18:51:12 +0300 Kirill Tkhai wrote: > > > > - why aren't we decreasing shrinker_nr_max in > > > unregister_memcg_shrinker()? That's easy to do, avoids pointless > > > work in shrink_slab_memcg() and avoids

Re: [PATCH v3 3/4] clk: rockchip: add support for half divider

2018-07-06 Thread Stephen Boyd
Quoting Heiko Stuebner (2018-07-06 10:19:11) > Am Freitag, 6. Juli 2018, 18:50:51 CEST schrieb Stephen Boyd: > > Quoting Elaine Zhang (2018-06-14 19:16:50) > > > > > > diff --git a/drivers/clk/rockchip/clk-half-divider.c > > > b/drivers/clk/rockchip/clk-half-divider.c > > > new file mode 100644

Re: [PATCH v3 3/4] clk: rockchip: add support for half divider

2018-07-06 Thread Stephen Boyd
Quoting Heiko Stuebner (2018-07-06 10:19:11) > Am Freitag, 6. Juli 2018, 18:50:51 CEST schrieb Stephen Boyd: > > Quoting Elaine Zhang (2018-06-14 19:16:50) > > > > > > diff --git a/drivers/clk/rockchip/clk-half-divider.c > > > b/drivers/clk/rockchip/clk-half-divider.c > > > new file mode 100644

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Randy Dunlap
On 07/06/18 02:44, Chris Wilson wrote: > net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the > macro to bitops.h, alongside BITS_PER_BYTE, for wider usage. > > Signed-off-by: Chris Wilson > Cc: Jani Nikula

Re: [PATCH] bitops: Introduce BITS_PER_TYPE

2018-07-06 Thread Randy Dunlap
On 07/06/18 02:44, Chris Wilson wrote: > net_dim.h has a rather useful extension to BITS_PER_BYTE to compute the > number of bits in a type (BITS_PER_BYTE * sizeof(T)), so promote the > macro to bitops.h, alongside BITS_PER_BYTE, for wider usage. > > Signed-off-by: Chris Wilson > Cc: Jani Nikula

Re: [PATCH v4 4/6] thermal: tsens: Add support for SDM845

2018-07-06 Thread Rob Herring
On Thu, Jul 5, 2018 at 11:13 PM Amit Kucheria wrote: > > On Fri, Jul 6, 2018 at 2:07 AM Rob Herring wrote: > > > > On Wed, Jul 04, 2018 at 10:56:26PM +0530, Amit Kucheria wrote: > > > On Tue, Jul 3, 2018 at 9:56 PM, Rob Herring wrote: > > > > On Mon, Jul 02, 2018 at 06:14:07PM +0530, Amit

Re: [PATCH v4 4/6] thermal: tsens: Add support for SDM845

2018-07-06 Thread Rob Herring
On Thu, Jul 5, 2018 at 11:13 PM Amit Kucheria wrote: > > On Fri, Jul 6, 2018 at 2:07 AM Rob Herring wrote: > > > > On Wed, Jul 04, 2018 at 10:56:26PM +0530, Amit Kucheria wrote: > > > On Tue, Jul 3, 2018 at 9:56 PM, Rob Herring wrote: > > > > On Mon, Jul 02, 2018 at 06:14:07PM +0530, Amit

Re: [patch 0/7] x86/kvmclock: Remove memblock dependency and further cleanups

2018-07-06 Thread Paolo Bonzini
On 06/07/2018 18:13, Thomas Gleixner wrote: > To allow early utilization of kvmclock it is required to remove the > memblock dependency. memblock is currently used to allocate the per > cpu data for kvmclock. > > The first patch replaces the memblock with a static array sized 64bytes * > NR_CPUS

Re: [patch 0/7] x86/kvmclock: Remove memblock dependency and further cleanups

2018-07-06 Thread Paolo Bonzini
On 06/07/2018 18:13, Thomas Gleixner wrote: > To allow early utilization of kvmclock it is required to remove the > memblock dependency. memblock is currently used to allocate the per > cpu data for kvmclock. > > The first patch replaces the memblock with a static array sized 64bytes * > NR_CPUS

[PATCH v3] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela
Flatmem is useful in reducing kernel memory usage. One usecase is in kdump kernel. We are able to save ~14M by moving to flatmem scheme. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela
Flatmem is useful in reducing kernel memory usage. One usecase is in kdump kernel. We are able to save ~14M by moving to flatmem scheme. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git

[Bisect] ext4_validate_inode_bitmap:98: comm stress-ng: Corrupt inode bitmap

2018-07-06 Thread dann frazier
Hi, We're seeing a regression triggered by the stress-ng[*] "chdir" test that I've bisected to: 044e6e3d74a3 ext4: don't update checksum of new initialized bitmaps So far we've only seen failures on servers based on HiSilicon's family of ARM64 SoCs (D05/Hi1616 SoC, D06/Hi1620 SoC). On these

[Bisect] ext4_validate_inode_bitmap:98: comm stress-ng: Corrupt inode bitmap

2018-07-06 Thread dann frazier
Hi, We're seeing a regression triggered by the stress-ng[*] "chdir" test that I've bisected to: 044e6e3d74a3 ext4: don't update checksum of new initialized bitmaps So far we've only seen failures on servers based on HiSilicon's family of ARM64 SoCs (D05/Hi1616 SoC, D06/Hi1620 SoC). On these

Re: [patch 6/7] x86/kvmclock: Move kvmclock vsyscall param and init to kvmclock

2018-07-06 Thread Paolo Bonzini
On 06/07/2018 18:13, Thomas Gleixner wrote: > @@ -241,6 +269,9 @@ void __init kvmclock_init(void) > return; > } > > + if (!hypervisor_is_type(X86_HYPER_KVM)) > + kvmclock_vsyscall = 0; > + No need for this; by the time you get here, the condition will always

Re: [patch 6/7] x86/kvmclock: Move kvmclock vsyscall param and init to kvmclock

2018-07-06 Thread Paolo Bonzini
On 06/07/2018 18:13, Thomas Gleixner wrote: > @@ -241,6 +269,9 @@ void __init kvmclock_init(void) > return; > } > > + if (!hypervisor_is_type(X86_HYPER_KVM)) > + kvmclock_vsyscall = 0; > + No need for this; by the time you get here, the condition will always

Re: [PATCH v3 05/13] clk: davinci: psc-da830: add a lookup entry for aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to use the ti-aemif platform driver for da830-evm. To make it work we need a lookup entry for the aemif clock. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to

Re: [PATCH v3 04/13] clk: davinci: psc-dm646x: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH v3 05/13] clk: davinci: psc-da830: add a lookup entry for aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to use the ti-aemif platform driver for da830-evm. To make it work we need a lookup entry for the aemif clock. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to

Re: [PATCH v3 04/13] clk: davinci: psc-dm646x: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH v3 02/13] clk: davinci: psc-dm365: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH v3 01/13] clk: davinci: psc-da850: remove the 'davinci_nand.0" lookup

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Since commit a8e3923ab571 ("mtd: rawnand: davinci: don't acquire and enable clock") we no longer acquire the aemif clock from the davinci nand driver - we only do it from the ti-aemif driver. Remove the nand entry

Re: [PATCH v3 02/13] clk: davinci: psc-dm365: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH v3 01/13] clk: davinci: psc-da850: remove the 'davinci_nand.0" lookup

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Since commit a8e3923ab571 ("mtd: rawnand: davinci: don't acquire and enable clock") we no longer acquire the aemif clock from the davinci nand driver - we only do it from the ti-aemif driver. Remove the nand entry

Re: [PATCH v3 03/13] clk: davinci: psc-dm644x: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH v3 03/13] clk: davinci: psc-dm644x: use two lookup entries for the aemif clock

2018-07-06 Thread David Lechner
On 06/28/2018 04:57 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski We want to be able to get the clock both from the board file by its con_id and from the aemif driver by dev_id. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- Applied to clk-davinci-4.19.

Re: [PATCH linux-next v6 03/13] peci: Add support for PECI bus driver core

2018-07-06 Thread Jae Hyun Yoo
On 7/6/2018 12:03 AM, Lee Jones wrote: On Thu, 21 Jun 2018, Jae Hyun Yoo wrote: This commit adds driver implementation for PECI bus core into linux driver framework. Signed-off-by: Jae Hyun Yoo Signed-off-by: Fengguang Wu Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by:

Re: [patch 4/7] x86/kvmclock: Cleanup the code

2018-07-06 Thread Paolo Bonzini
> - Cleanup the mrs write for wall clock. s/mrs/MSR/ On 06/07/2018 18:13, Thomas Gleixner wrote: > @@ -195,6 +181,7 @@ static void kvm_register_clock(char *txt > if (!hv_clock) > return; > > + src = _clock[cpu].pvti; > pa = slow_virt_to_phys(src) | 0x01ULL; >

Re: [PATCH linux-next v6 03/13] peci: Add support for PECI bus driver core

2018-07-06 Thread Jae Hyun Yoo
On 7/6/2018 12:03 AM, Lee Jones wrote: On Thu, 21 Jun 2018, Jae Hyun Yoo wrote: This commit adds driver implementation for PECI bus core into linux driver framework. Signed-off-by: Jae Hyun Yoo Signed-off-by: Fengguang Wu Reviewed-by: Haiyue Wang Reviewed-by: James Feist Reviewed-by:

Re: [patch 4/7] x86/kvmclock: Cleanup the code

2018-07-06 Thread Paolo Bonzini
> - Cleanup the mrs write for wall clock. s/mrs/MSR/ On 06/07/2018 18:13, Thomas Gleixner wrote: > @@ -195,6 +181,7 @@ static void kvm_register_clock(char *txt > if (!hv_clock) > return; > > + src = _clock[cpu].pvti; > pa = slow_virt_to_phys(src) | 0x01ULL; >

Re: [PATCH v2 3/3] serial: 8250_dw: add fractional divisor support

2018-07-06 Thread Andy Shevchenko
On Thu, 2018-07-05 at 14:54 +0800, Jisheng Zhang wrote: > On Thu, 5 Jul 2018 14:39:21 +0800 Jisheng Zhang wrote: > > > > > > > > > > + serial_port_out(p, UART_LCR, up->lcr | UART_LCR_DLAB); > > > > + serial_dl_write(up, quot); > > > > > > At some point it would be a helper,

Re: [PATCH v3 00/13] ARM: davinci: remove duplicate aemif support

2018-07-06 Thread David Lechner
On 07/04/2018 01:35 AM, Sekhar Nori wrote: Hi David, On Monday 02 July 2018 09:02 PM, David Lechner wrote: On 07/02/2018 07:28 AM, Sekhar Nori wrote: Hi David, Stephen, On Thursday 28 June 2018 03:27 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This series moves all aemif/nand

Re: [PATCH v2 3/3] serial: 8250_dw: add fractional divisor support

2018-07-06 Thread Andy Shevchenko
On Thu, 2018-07-05 at 14:54 +0800, Jisheng Zhang wrote: > On Thu, 5 Jul 2018 14:39:21 +0800 Jisheng Zhang wrote: > > > > > > > > > > + serial_port_out(p, UART_LCR, up->lcr | UART_LCR_DLAB); > > > > + serial_dl_write(up, quot); > > > > > > At some point it would be a helper,

Re: [PATCH v3 00/13] ARM: davinci: remove duplicate aemif support

2018-07-06 Thread David Lechner
On 07/04/2018 01:35 AM, Sekhar Nori wrote: Hi David, On Monday 02 July 2018 09:02 PM, David Lechner wrote: On 07/02/2018 07:28 AM, Sekhar Nori wrote: Hi David, Stephen, On Thursday 28 June 2018 03:27 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski This series moves all aemif/nand

Re: [patch 3/7] x86/kvmclock: Decrapify kvm_register_clock()

2018-07-06 Thread Thomas Gleixner
On Fri, 6 Jul 2018, Paolo Bonzini wrote: > Decrapification went a bit too far... > > On 06/07/2018 18:13, Thomas Gleixner wrote: > > - int cpu = smp_processor_id(); > > - int low, high, ret; > > struct pvclock_vcpu_time_info *src; > > + int cpu = smp_processor_id(); > > + u64 pa; > >

Re: [patch 3/7] x86/kvmclock: Decrapify kvm_register_clock()

2018-07-06 Thread Thomas Gleixner
On Fri, 6 Jul 2018, Paolo Bonzini wrote: > Decrapification went a bit too far... > > On 06/07/2018 18:13, Thomas Gleixner wrote: > > - int cpu = smp_processor_id(); > > - int low, high, ret; > > struct pvclock_vcpu_time_info *src; > > + int cpu = smp_processor_id(); > > + u64 pa; > >

Re: [patch 3/7] x86/kvmclock: Decrapify kvm_register_clock()

2018-07-06 Thread Paolo Bonzini
Decrapification went a bit too far... On 06/07/2018 18:13, Thomas Gleixner wrote: > - int cpu = smp_processor_id(); > - int low, high, ret; > struct pvclock_vcpu_time_info *src; > + int cpu = smp_processor_id(); > + u64 pa; > > if (!hv_clock) > - return

[PATCH 2/2] null_blk: add zone support

2018-07-06 Thread Matias Bjørling
From: Matias Bjørling Adds support for exposing a null_blk device through the zone device interface. The interface is managed with the parameters zoned and zone_size. If zoned is set, the null_blk instance registers as a zoned block device. The zone_size parameter defines how big each zone will

Re: [patch 3/7] x86/kvmclock: Decrapify kvm_register_clock()

2018-07-06 Thread Paolo Bonzini
Decrapification went a bit too far... On 06/07/2018 18:13, Thomas Gleixner wrote: > - int cpu = smp_processor_id(); > - int low, high, ret; > struct pvclock_vcpu_time_info *src; > + int cpu = smp_processor_id(); > + u64 pa; > > if (!hv_clock) > - return

[PATCH 2/2] null_blk: add zone support

2018-07-06 Thread Matias Bjørling
From: Matias Bjørling Adds support for exposing a null_blk device through the zone device interface. The interface is managed with the parameters zoned and zone_size. If zoned is set, the null_blk instance registers as a zoned block device. The zone_size parameter defines how big each zone will

Re: [PATCH v4 1/3] iio: hx711: add clock-frequency property in DT

2018-07-06 Thread Rob Herring
On Fri, Jul 6, 2018 at 12:22 AM Andreas Klinger wrote: > > Hi Rob, > > please see explanation below. Thanks. > > Rob Herring schrieb am Thu, 05. Jul 15:30: > > On Wed, Jul 04, 2018 at 02:36:38PM +0200, Andreas Klinger wrote: > > > Add clock-frequency property for hx711 ADC > > > > > > This is

Re: [PATCH v4 1/3] iio: hx711: add clock-frequency property in DT

2018-07-06 Thread Rob Herring
On Fri, Jul 6, 2018 at 12:22 AM Andreas Klinger wrote: > > Hi Rob, > > please see explanation below. Thanks. > > Rob Herring schrieb am Thu, 05. Jul 15:30: > > On Wed, Jul 04, 2018 at 02:36:38PM +0200, Andreas Klinger wrote: > > > Add clock-frequency property for hx711 ADC > > > > > > This is

Re: [PATCH v6 5/6] mtd: rawnand: micron: support 8/512 on-die ECC

2018-07-06 Thread Boris Brezillon
On Mon, 25 Jun 2018 10:44:47 +1200 Chris Packham wrote: > Micron MT29F1G08ABAFAWP-ITE:F supports an on-die ECC with 8 bits > per 512 bytes. Add support for this combination. > > Signed-off-by: Chris Packham > Reviewed-by: Boris Brezillon > --- > Changes in v2: > - New > Changes in v3: > -

Re: [PATCH v6 5/6] mtd: rawnand: micron: support 8/512 on-die ECC

2018-07-06 Thread Boris Brezillon
On Mon, 25 Jun 2018 10:44:47 +1200 Chris Packham wrote: > Micron MT29F1G08ABAFAWP-ITE:F supports an on-die ECC with 8 bits > per 512 bytes. Add support for this combination. > > Signed-off-by: Chris Packham > Reviewed-by: Boris Brezillon > --- > Changes in v2: > - New > Changes in v3: > -

Re: [PATCH v2 3/3] serial: 8250_dw: add fractional divisor support

2018-07-06 Thread Andy Shevchenko
On Thu, 2018-07-05 at 14:39 +0800, Jisheng Zhang wrote: > > On Wed, 2018-07-04 at 17:03 +0800, Jisheng Zhang wrote: My comments below. > > > For Synopsys DesignWare 8250 uart which version >= 4.00a, there's > > > a > > > valid divisor latch fraction register. The fractional divisor > > > width

Re: [PATCH v2 3/3] serial: 8250_dw: add fractional divisor support

2018-07-06 Thread Andy Shevchenko
On Thu, 2018-07-05 at 14:39 +0800, Jisheng Zhang wrote: > > On Wed, 2018-07-04 at 17:03 +0800, Jisheng Zhang wrote: My comments below. > > > For Synopsys DesignWare 8250 uart which version >= 4.00a, there's > > > a > > > valid divisor latch fraction register. The fractional divisor > > > width

Re: [PATCH (v4.18 regression fix)] vfs: don't evict uninitialized inode

2018-07-06 Thread Al Viro
On Fri, Jul 06, 2018 at 05:35:48PM +0200, Miklos Szeredi wrote: > iput() ends up calling ->evict() on new inode, which is not yet initialized > by owning fs. So use destroy_inode() instead. > > Add to sb->s_inodes list only after the inode has been inserted into the > hash. The exact point at

Re: [PATCH (v4.18 regression fix)] vfs: don't evict uninitialized inode

2018-07-06 Thread Al Viro
On Fri, Jul 06, 2018 at 05:35:48PM +0200, Miklos Szeredi wrote: > iput() ends up calling ->evict() on new inode, which is not yet initialized > by owning fs. So use destroy_inode() instead. > > Add to sb->s_inodes list only after the inode has been inserted into the > hash. The exact point at

Re: 4.17.x won't boot due to "x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G"

2018-07-06 Thread Gabriel C
2018-07-06 18:33 GMT+02:00 Kirill A. Shutemov : > On Fri, Jul 06, 2018 at 04:39:28PM +0200, Gabriel C wrote: >> > If not, we do not need to think about that case. >> > Just say "Do not do that". >> >> I am sorry but I have a hard time to get your logic here. >> >> You are saying : the *env*

Re: 4.17.x won't boot due to "x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G"

2018-07-06 Thread Gabriel C
2018-07-06 18:33 GMT+02:00 Kirill A. Shutemov : > On Fri, Jul 06, 2018 at 04:39:28PM +0200, Gabriel C wrote: >> > If not, we do not need to think about that case. >> > Just say "Do not do that". >> >> I am sorry but I have a hard time to get your logic here. >> >> You are saying : the *env*

Re: [PATCH v4 6/6] arm64: dts: sdm845: Add tsens nodes

2018-07-06 Thread Stephen Boyd
Quoting Amit Kucheria (2018-07-02 05:44:09) > SDM845 has two tsens blocks, one with 13 sensors and the other with 8 > sensors. > > Signed-off-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 > 1 file changed, 16 insertions(+) > > diff --git

Re: [PATCH v4 6/6] arm64: dts: sdm845: Add tsens nodes

2018-07-06 Thread Stephen Boyd
Quoting Amit Kucheria (2018-07-02 05:44:09) > SDM845 has two tsens blocks, one with 13 sensors and the other with 8 > sensors. > > Signed-off-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 > 1 file changed, 16 insertions(+) > > diff --git

arm32: Missing __get_user for u64 user type

2018-07-06 Thread Mathieu Desnoyers
Hi, The restartable sequence code needs a __get_user for u64 types. arm32. Although a get_user() is implemented, the architecture lacks support for 8 bytes __get_user(). Do you guys recommend extending __get_user_err() to do two __get_user_asm_word() to read it through a temporary union, or do

arm32: Missing __get_user for u64 user type

2018-07-06 Thread Mathieu Desnoyers
Hi, The restartable sequence code needs a __get_user for u64 types. arm32. Although a get_user() is implemented, the architecture lacks support for 8 bytes __get_user(). Do you guys recommend extending __get_user_err() to do two __get_user_asm_word() to read it through a temporary union, or do

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