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

2018-10-24 Thread Kulkarni, Ganapatrao
This patch adds a perf driver for the PMU UNCORE devices DDR4 Memory Controller(DMC) and Level 3 Cache(L3C). Each PMU supports up to 4 counters. All counters lack overflow interrupt and are sampled periodically. Signed-off-by: Ganapatrao Kulkarni --- drivers/perf/Kconfig | 9 + drivers

[PATCH v7 0/2] Add ThunderX2 SoC Performance Monitoring Unit driver

2018-10-24 Thread Kulkarni, Ganapatrao
This patchset adds PMU driver for Cavium's ThunderX2 SoC UNCORE devices. The SoC has PMU support in L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). v7: Incorporated review comments [3]. Modified driver as loadable module. Updated Documentation with Event

[PATCH v7 1/2] perf, uncore: Adding documentation for ThunderX2 pmu uncore driver

2018-10-24 Thread Kulkarni, Ganapatrao
The SoC has PMU support in its L3 cache controller (L3C) and in the DDR4 Memory Controller (DMC). Signed-off-by: Ganapatrao Kulkarni --- Documentation/perf/thunderx2-pmu.txt | 106 +++ 1 file changed, 106 insertions(+) create mode 100644 Documentation/perf/thunderx2-pmu.

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

2018-10-24 Thread Lee Jones
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->valid && > >

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

2018-10-24 Thread Alasdair G Kergon
On Wed, Oct 24, 2018 at 03:24:29PM -0400, Mikulas Patocka wrote: > What about allocating a big file, using the FIEMAP ioctl to find the For reference, dmfilemapd in the lvm2 tree (in daemons/) uses FIEMAP (in libdm/libdm-stats.c) for monitoring I/O by file. > If you decide that rollback is no lo

Re: [PATCH 10/17] prmem: documentation

2018-10-24 Thread Mike Rapoport
Hi Igor, On Wed, Oct 24, 2018 at 12:34:57AM +0300, Igor Stoppa wrote: > Documentation for protected memory. > > Topics covered: > * static memory allocation > * dynamic memory allocation > * write-rare > > Signed-off-by: Igor Stoppa > CC: Jonathan Corbet > CC: Randy Dunlap > CC: Mike Rapoport

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

2018-10-24 Thread Boris Brezillon
On Wed, 24 Oct 2018 17:43:00 -0500 Grygorii Strashko wrote: > On 10/24/18 4:04 PM, Boris Brezillon wrote: > > On Wed, 24 Oct 2018 15:25:17 -0500 > > Grygorii Strashko wrote: > > > >> On 10/24/18 1:20 PM, Boris Brezillon wrote: > >>> Hi Arnd, > >>> > >>> On Mon, 22 Oct 2018 15:34:01 +0200 >

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

2018-10-24 Thread Grygorii Strashko
On 10/24/18 4:04 PM, Boris Brezillon wrote: On Wed, 24 Oct 2018 15:25:17 -0500 Grygorii Strashko wrote: On 10/24/18 1:20 PM, 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_mast

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

2018-10-24 Thread Jae Hyun Yoo
Hi Lee, 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. +config MFD_INTEL_PECI_CLIENT + bool "Intel PECI client" + depends on (PECI || COMPILE_TEST) + select MFD_CORE + help + If you

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

2018-10-24 Thread Boris Brezillon
On Wed, 24 Oct 2018 15:25:17 -0500 Grygorii Strashko wrote: > On 10/24/18 1:20 PM, 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 1/6] clk: Remove recursion in clk_core_{prepare,enable}()

2018-10-24 Thread dbasehore .
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 preparing clocks can be written quite naturally with > > > recursion. We

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

2018-10-24 Thread dbasehore .
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. We start at some point in the tree and recurse up the > > tree to find

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

2018-10-24 Thread Grygorii Strashko
On 10/24/18 1:20 PM, 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->regs +

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

2018-10-24 Thread dbasehore .
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 preparing clocks can be written quite naturally with > > > recursion. We

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

2018-10-24 Thread dbasehore .
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. We start at some point in the tree and recurse up the > > tree to find

Re: [PATCH security-next v5 00/30] LSM: Explict ordering

2018-10-24 Thread Kees Cook
On Wed, Oct 24, 2018 at 1:56 AM, Casey Schaufler wrote: > On 10/23/2018 12:05 PM, Casey Schaufler wrote: >> On 10/23/2018 11:50 AM, Kees Cook wrote: >> >>> Did you poke around at my combined series? >>> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=lsm/ordering-v6-blob-shar

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

2018-10-24 Thread dbasehore .
On Wed, Oct 24, 2018 at 6:07 AM Stephen Boyd wrote: > > Quoting Derek Basehore (2018-10-23 18:31:27) > > From: Stephen Boyd > > > > Enabling and preparing clocks can be written quite naturally with > > recursion. We start at some point in the tree and recurse up the > > tree to find the oldest pa

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

2018-10-24 Thread Mikulas Patocka
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. However, if the failure occurs after the new system has > started modifying

Re: [RFC] dm-bow working prototype

2018-10-24 Thread Paul Lawrence
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. However, if the failure occurs after the new system has started modifying userdata, we will be attempting to start an older

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

2018-10-24 Thread Boris Brezillon
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->regs + RX_FIFO, bytes, nbytes / 4); Vitor reporte

Re: [GIT PULL] Documentation for 4.20 (or whatever it's called)

2018-10-24 Thread Linus Torvalds
On Tue, Oct 23, 2018 at 9:11 AM Jonathan Corbet wrote: > > This is a fairly typical cycle for documentation. There's some welcome > readability improvements for the formatted output, some LICENSES updates > including the addition of the ISC license, the removal of the unloved and > unmaintained 0

Re: [PATCH v8 07/12] dt-bindings: mfd: Add a document for PECI client MFD

2018-10-24 Thread Jae Hyun Yoo
Hi Lee, On 10/24/2018 12:25 AM, Lee Jones wrote: On Tue, 18 Sep 2018, Jae Hyun Yoo wrote: +Required properties: +- compatible : Should be "intel,peci-client". +- reg: Should contain address of a client CPU. Address range of CPU + clients starts from 0x30 based on PECI spec

Re: [PATCH 10/17] prmem: documentation

2018-10-24 Thread Igor Stoppa
Hi, On 24/10/18 06:48, Randy Dunlap wrote: Hi, On 10/23/18 2:34 PM, Igor Stoppa wrote: [...] +- The present document doesn't address such transient. transience. ok [...] + are attempted after the write protection is in place, will cau

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

2018-10-24 Thread Stephen Boyd
Quoting Derek Basehore (2018-10-23 18:31:27) > From: Stephen Boyd > > Enabling and preparing clocks can be written quite naturally with > recursion. We start at some point in the tree and recurse up the > tree to find the oldest parent clk that needs to be enabled or > prepared. Then we enable/pr

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

2018-10-24 Thread Lee Jones
On Tue, 18 Sep 2018, Jae Hyun Yoo wrote: > This commit adds PECI client MFD driver. > > Cc: Lee Jones > Cc: Randy Dunlap > Cc: Rob Herring > Cc: Andrew Jeffery > Cc: James Feist > Cc: Jason M Biils > Cc: Joel Stanley > Cc: Vernon Mauery > Signed-off-by: Jae Hyun Yoo > --- > drivers/mfd/

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

2018-10-24 Thread Jerome Brunet
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. We start at some point in the tree and recurse up the > tree to find the oldest parent clk that needs to be enabled or > prepared. Then

Re: [PATCH security-next v5 00/30] LSM: Explict ordering

2018-10-24 Thread Casey Schaufler
On 10/23/2018 12:05 PM, Casey Schaufler wrote: > On 10/23/2018 11:50 AM, Kees Cook wrote: > >> Did you poke around at my combined series? >> https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=lsm/ordering-v6-blob-sharing > I hope to do that on the plane later today. I had a chan

Re: [PATCH v8 07/12] dt-bindings: mfd: Add a document for PECI client MFD

2018-10-24 Thread Lee Jones
On Tue, 18 Sep 2018, Jae Hyun Yoo wrote: > This commit adds a dt-bindings document for PECI client MFD. > > Cc: Lee Jones > Cc: Rob Herring > Cc: Mark Rutland > Cc: Andrew Jeffery > Cc: James Feist > Cc: Jason M Biils > Cc: Joel Stanley > Cc: Vernon Mauery > Signed-off-by: Jae Hyun Yoo >