Re: [PATCH 1/6] clk: Remove recursion in clk_core_{prepare,enable}()

2018-10-25 Thread Jerome Brunet
On Wed, 2018-10-24 at 13:36 -0700, dbasehore . wrote: > On Wed, Oct 24, 2018 at 2:51 AM Jerome Brunet wrote: > > > > On Tue, 2018-10-23 at 18:31 -0700, Derek Basehore wrote: > > > From: Stephen Boyd > > > > > > Enabling and preparing clocks can be written quite naturally with > > > recursion. W

Re: [PATCH 1/6] clk: Remove recursion in clk_core_{prepare,enable}()

2018-10-25 Thread Jerome Brunet
On Wed, 2018-10-24 at 13:50 -0700, dbasehore . wrote: > On Wed, Oct 24, 2018 at 1:15 PM dbasehore . wrote: > > > > On Wed, Oct 24, 2018 at 2:51 AM Jerome Brunet wrote: > > > > > > On Tue, 2018-10-23 at 18:31 -0700, Derek Basehore wrote: > > > > From: Stephen Boyd > > > > > > > > Enabling and

Re: [dm-devel] [RFC] dm-bow working prototype

2018-10-25 Thread Bryn M. Reeves
On Wed, Oct 24, 2018 at 03:24:29PM -0400, Mikulas Patocka wrote: > > > On Wed, 24 Oct 2018, Paul Lawrence wrote: > > > Android has had the concept of A/B updates for since Android N, which means > > that if an update is unable to boot for any reason three times, we revert to > > the older system

Re: [PATCH v9 6/9] i3c: master: Add driver for Cadence IP

2018-10-25 Thread Arnd Bergmann
On 10/24/18, Boris Brezillon wrote: > Hi Arnd, > > On Mon, 22 Oct 2018 15:34:01 +0200 > Boris Brezillon wrote: > > >> + >> +static void cdns_i3c_master_rd_from_rx_fifo(struct cdns_i3c_master >> *master, >> +u8 *bytes, int nbytes) >> +{ >> +readsl(master

Re: [PATCH v9 6/9] i3c: master: Add driver for Cadence IP

2018-10-25 Thread Boris Brezillon
On Thu, 25 Oct 2018 17:30:26 +0200 Arnd Bergmann wrote: > On 10/24/18, Boris Brezillon wrote: > > Hi Arnd, > > > > On Mon, 22 Oct 2018 15:34:01 +0200 > > Boris Brezillon wrote: > > > > > >> + > >> +static void cdns_i3c_master_rd_from_rx_fifo(struct cdns_i3c_master > >> *master, > >> +

Re: [PATCH v7 2/2] ThunderX2, perf : Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-10-25 Thread Randy Dunlap
On 10/24/18 10:59 PM, Kulkarni, Ganapatrao wrote: > diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig > index 08ebaf7cca8b..c1956b1af2bb 100644 > --- a/drivers/perf/Kconfig > +++ b/drivers/perf/Kconfig > @@ -87,6 +87,15 @@ config QCOM_L3_PMU > Adds the L3 cache PMU into the perf eve

Re: [PATCH v9 6/9] i3c: master: Add driver for Cadence IP

2018-10-25 Thread Arnd Bergmann
On Thu, Oct 25, 2018 at 6:07 PM Boris Brezillon wrote: > > On Thu, 25 Oct 2018 17:30:26 +0200 > Arnd Bergmann wrote: > > > On 10/24/18, Boris Brezillon wrote: > > > Hi Arnd, > > > > > > On Mon, 22 Oct 2018 15:34:01 +0200 > > > Boris Brezillon wrote: > > > > > > > > >> + > > >> +static void cdns

Re: [PATCH v8 08/12] mfd: intel-peci-client: Add PECI client MFD driver

2018-10-25 Thread Jae Hyun Yoo
On 10/24/2018 10:30 PM, Lee Jones wrote: On Wed, 24 Oct 2018, Jae Hyun Yoo wrote: On 10/24/2018 3:59 AM, Lee Jones wrote: On Tue, 18 Sep 2018, Jae Hyun Yoo wrote: This commit adds PECI client MFD driver. [...] +bool peci_temp_need_update(struct temp_data *temp) +{ + if (temp->va

Re: [RFC] dm-bow working prototype

2018-10-25 Thread MegaBrutal
Paul Lawrence ezt írta (időpont: 2018. okt. 23., K, 23:27): > > bow == backup on write > > Similar to dm-snap, add the ability to take a snapshot of a device. > Unlike dm-snap, a separate volume is not required. > The concept intrigued me, so I actually went on to try your prototype. I could appl

Re: [PATCH v9 6/9] i3c: master: Add driver for Cadence IP

2018-10-25 Thread Boris Brezillon
On Thu, 25 Oct 2018 18:13:51 +0200 Arnd Bergmann wrote: > On Thu, Oct 25, 2018 at 6:07 PM Boris Brezillon > wrote: > > > > On Thu, 25 Oct 2018 17:30:26 +0200 > > Arnd Bergmann wrote: > > > > > On 10/24/18, Boris Brezillon wrote: > > > > Hi Arnd, > > > > > > > > On Mon, 22 Oct 2018 15:34:01

Re: [dm-devel] [RFC] dm-bow working prototype

2018-10-25 Thread Paul Lawrence
Thank you for the suggestion. I spent part of yesterday experimenting with this idea, and it is certainly very promising. However, it does have some disadvantages as compared to dm-bow, if I am understanding the setup correctly: 1) Since dm-snap has no concept of the free space on the underlyi

Re: [RFC] dm-bow working prototype

2018-10-25 Thread Paul Lawrence
The concept intrigued me, so I actually went on to try your prototype. I could apply it on v4.12 mainline (newer kernel versions introduce changes in "struct bio" in "include/linux/blk_types.h" those don't let the module compile – I think minor changes would be necessary to adapt to the new str

Re: [dm-devel] [RFC] dm-bow working prototype

2018-10-25 Thread Darrick J. Wong
On Tue, Oct 23, 2018 at 02:23:28PM -0700, Paul Lawrence wrote: > bow == backup on write > > Similar to dm-snap, add the ability to take a snapshot of a device. > Unlike dm-snap, a separate volume is not required. > > dm-bow can be in one of three states. > > In state one, the free blocks on the

Re: [PATCH 3/6] clk: change rates via list iteration

2018-10-25 Thread dbasehore .
On Tue, Oct 23, 2018 at 6:31 PM Derek Basehore wrote: > > This changes the clk_set_rate code to use lists instead of recursion. > While making this change, also add error handling for clk_set_rate. > This means that errors in the set_rate/set_parent/set_rate_and_parent > functions will not longer