Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Atish Patra
On 4/24/18 12:44 PM, Palmer Dabbelt wrote: On Tue, 24 Apr 2018 12:27:26 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 11:07 AM, Atish Patra wrote: On 4/19/18 4:28 PM, Alan Kao wrote: This implements the baseline PMU for RISC-V platforms. To ease future PMU portings, a guide is also

Re: [PATCH v2 3/7] powerpc: use task_pid_nr() for TID allocation

2018-04-24 Thread Sukadev Bhattiprolu
Andrew Donnellan [andrew.donnel...@au1.ibm.com] wrote: > [+ Sukadev, Christophe] > > On 18/04/18 11:08, Alastair D'Silva wrote: > > From: Alastair D'Silva > > > > The current implementation of TID allocation, using a global IDR, may > > result in an errant process starving

Re: [PATCH v2] doc: dev-tools: kselftest.rst: update contributing new tests

2018-04-24 Thread Shuah Khan
On 04/19/2018 04:28 AM, Anders Roxell wrote: > Add a description that the kernel headers should be used as far as it is > possible and then the system headers. > > Signed-off-by: Anders Roxell > --- > Documentation/dev-tools/kselftest.rst | 5 + > 1 file changed, 5

Re: [PATCH v3 09/10] drivers/hwmon: Add PECI hwmon client drivers

2018-04-24 Thread Jae Hyun Yoo
Hi Andy, Thanks a lot for your review. Please check my inline answers. On 4/24/2018 8:56 AM, Andy Shevchenko wrote: On Tue, 2018-04-10 at 11:32 -0700, Jae Hyun Yoo wrote: drivers/hwmon/peci-cputemp.c | 783 ++ drivers/hwmon/peci-dimmtemp.c | 432

Greetings to you,

2018-04-24 Thread Sgt Clara Herbert
Greetings to you, My name is Sgt Clara,from America i am here to search for a business partner or friend who will help me to invest my fund in his company/country Please reply me through my email. thanks Sgt Clara -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the

Re: [RFC 10/10] tools: PCI: Add MSI-X support

2018-04-24 Thread Gustavo Pimentel
Hi Alan, On 24/04/2018 10:57, Alan Douglas wrote: > Hi Gustavo, > > On 10 April 2018 18:15, Gustavo Pimentel wrote: >> Adds MSI-X support to the pcitest tool and modified the pcitest.sh script to >> accomodate this new type of interruption test. >> >> Signed-off-by: Gustavo Pimentel

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Atish Patra
On 4/24/18 11:07 AM, Atish Patra wrote: On 4/19/18 4:28 PM, Alan Kao wrote: This implements the baseline PMU for RISC-V platforms. To ease future PMU portings, a guide is also written, containing perf concepts, arch porting practices and some hints. Changes in v5: - Fix patch errors from

Re: [PATCH v3 03/10] drivers/peci: Add support for PECI bus driver core

2018-04-24 Thread Jae Hyun Yoo
On 4/24/2018 9:01 AM, Andy Shevchenko wrote: On Tue, 2018-04-10 at 11:32 -0700, Jae Hyun Yoo wrote: This commit adds driver implementation for PECI bus core into linux driver framework. All comments you got for patch 6 are applicable here. And perhaps in the rest of the series. The rule of

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Atish Patra
On 4/19/18 4:28 PM, Alan Kao wrote: This implements the baseline PMU for RISC-V platforms. To ease future PMU portings, a guide is also written, containing perf concepts, arch porting practices and some hints. Changes in v5: - Fix patch errors from checkpatch.pl. Changes in v4: - Fix

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Palmer Dabbelt
On Tue, 24 Apr 2018 12:27:26 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 11:07 AM, Atish Patra wrote: On 4/19/18 4:28 PM, Alan Kao wrote: This implements the baseline PMU for RISC-V platforms. To ease future PMU portings, a guide is also written, containing perf concepts, arch porting

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Alan Kao
Hi Atish, Palmer, On Tue, Apr 24, 2018 at 06:15:49PM -0700, Atish Patra wrote: > On 4/24/18 5:29 PM, Palmer Dabbelt wrote: > >On Tue, 24 Apr 2018 15:16:16 PDT (-0700), atish.pa...@wdc.com wrote: > >>On 4/24/18 12:44 PM, Palmer Dabbelt wrote: > >>>On Tue, 24 Apr 2018 12:27:26 PDT (-0700),

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Palmer Dabbelt
On Tue, 24 Apr 2018 15:16:16 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 12:44 PM, Palmer Dabbelt wrote: On Tue, 24 Apr 2018 12:27:26 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 11:07 AM, Atish Patra wrote: On 4/19/18 4:28 PM, Alan Kao wrote: However, I got an rcu-stall for the

Re: [PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-24 Thread Atish Patra
On 4/24/18 5:29 PM, Palmer Dabbelt wrote: On Tue, 24 Apr 2018 15:16:16 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 12:44 PM, Palmer Dabbelt wrote: On Tue, 24 Apr 2018 12:27:26 PDT (-0700), atish.pa...@wdc.com wrote: On 4/24/18 11:07 AM, Atish Patra wrote: On 4/19/18 4:28 PM, Alan Kao

[PATCH 4/7] docs/vm: ksm: reshuffle text between "sysfs" and "design" sections

2018-04-24 Thread Mike Rapoport
The description of "max_page_sharing" sysfs attribute includes lots of implementation details that more naturally belong in the "Design" section. Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.rst | 51 1 file

RE: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Alan Douglas
Hi Gustavo, On 10 April 2018 18:15 Gustavo Pimentel wrote: > > Adds the MSI-X support and updates driver documentation accordingly. > > Changes the driver parameter in order to allow the interruption type > selection. > > Signed-off-by: Gustavo Pimentel > --- >

[PATCH 5/7] docs/vm: ksm: update stable_node_chains_prune_millisecs description

2018-04-24 Thread Mike Rapoport
Make the description of stable_node_chains_prune_millisecs sysfs parameter less implementation aware and add a few words about this parameter in the "Design" section. Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.rst | 19 +++ 1 file changed, 11

[PATCH 6/7] docs/vm: ksm: udpate description of stable_node_{dups,chains}

2018-04-24 Thread Mike Rapoport
Remove implementation details from sysfs parameter descriptions. Also move the paragraph discussing fragmentation issues and their possible solution to the "Design" section. Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.rst | 21 ++--- 1 file

[PATCH 7/7] docs/vm: ksm: split userspace interface to admin-guide/mm/ksm.rst

2018-04-24 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/admin-guide/mm/index.rst | 1 + Documentation/admin-guide/mm/ksm.rst | 189 + Documentation/vm/ksm.rst | 176 +- 3 files changed, 191

[PATCH 0/7] docs/vm: update KSM documentation

2018-04-24 Thread Mike Rapoport
Hi, These patches extend KSM documentation with high level design overview and some details about reverse mappings and split the userspace interface description to Documentation/admin-guide/mm. The description of some KSM sysfs attributes is changed so that it won't include implementation

[PATCH 1/7] mm/ksm: docs: extend overview comment and make it "DOC:"

2018-04-24 Thread Mike Rapoport
The existing comment provides a good overview of KSM implementation. Let's update it to reflect recent additions of "chain" and "dup" variants of the stable tree nodes and mark it as "DOC:" for inclusion into the KSM documentation. Signed-off-by: Mike Rapoport ---

[PATCH 3/7] docs/vm: ksm: add "Design" section

2018-04-24 Thread Mike Rapoport
Include the KSM description from the source code comment, add a subsection about reverse mapping and include kernel-doc references for KSM data structures. Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.rst | 39 +++ 1 file

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: >> Hi Gustavo, >> >> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: >>> Changes the pcie_raise_irq function signature, namely the interrupt_num >>>

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 17 April 2018 11:08 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 17/04/2018 11:33, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: >>> Adds the MSI-X support and updates driver documentation accordingly. >>> >>> Changes the

[PATCH 2/7] docs/vm: ksm: (mostly) formatting updates

2018-04-24 Thread Mike Rapoport
Aside from the formatting: * fixed typos * added section and sub-section headers * moved ksmd overview after the description of KSM origins Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.rst | 110 +-- 1 file changed,

RE: [RFC 00/10] Adds pcitest tool support for MSI-X

2018-04-24 Thread Alan Douglas
Hi Gustavo, On 10 April 2018 18:15 Gustavo Pimentel wrote: > This patch set depends the following series: > https://lkml.org/lkml/2018/4/10/421> This series aims to add pcitest tool > support for MSI-X. > > Includes new callbacks methods and handlers to trigger the MSI-X > interruptions on the

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Gustavo Pimentel
Hi Kishon, On 24/04/2018 08:19, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 17 April 2018 11:08 PM, Gustavo Pimentel wrote: >> Hi Kishon, >> >> On 17/04/2018 11:33, Kishon Vijay Abraham I wrote: >>> Hi, >>> >>> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: Adds the MSI-X

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Gustavo Pimentel
Hi Kishon, On 24/04/2018 08:07, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: >> Hi Kishon, >> >> On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: >>> Hi Gustavo, >>> >>> On Tuesday 10 April 2018 10:44 PM, Gustavo Pimentel wrote: Changes

RE: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Alan Douglas
Hi, On 10 April 2018 18:15 Gustavo Pimentel wrote: > Changes the pcie_raise_irq function signature, namely the interrupt_num > variable type from u8 to u16 to accommodate the MSI-X maximum interrupts > of 2048. > > Implements a PCIe config space capability iterator function to search and save >

RE: [RFC 00/10] Adds pcitest tool support for MSI-X

2018-04-24 Thread Alan Douglas
On 24 April 2018 09:50, Gustavo Pimentel wrote: > Hi Alan, > > On 24/04/2018 07:48, Alan Douglas wrote: > > Hi Gustavo, > > > > On 10 April 2018 18:15 Gustavo Pimentel wrote: > >> https://lkml.org/lkml/2018/4/10/421 > >> This series aims to add pcitest tool support for MSI-X. > >> Includes new

RE: [RFC 10/10] tools: PCI: Add MSI-X support

2018-04-24 Thread Alan Douglas
Hi Gustavo, On 10 April 2018 18:15, Gustavo Pimentel wrote: > Adds MSI-X support to the pcitest tool and modified the pcitest.sh script to > accomodate this new type of interruption test. > > Signed-off-by: Gustavo Pimentel > --- > include/uapi/linux/pcitest.h |

Re: [RFC 00/10] Adds pcitest tool support for MSI-X

2018-04-24 Thread Gustavo Pimentel
Hi Alan, On 24/04/2018 07:48, Alan Douglas wrote: > Hi Gustavo, > > On 10 April 2018 18:15 Gustavo Pimentel wrote: >> This patch set depends the following series: >>

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Gustavo Pimentel
Hi Alan, On 24/04/2018 07:59, Alan Douglas wrote: > Hi Gustavo, > > On 10 April 2018 18:15 Gustavo Pimentel wrote: >> >> Adds the MSI-X support and updates driver documentation accordingly. >> >> Changes the driver parameter in order to allow the interruption type >> selection. >> >>

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 24 April 2018 03:06 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:07, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: >>> Hi Kishon, >>> >>> On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: Hi Gustavo,

Re: [RFC 06/10] misc: pci_endpoint_test: Add MSI-X support

2018-04-24 Thread Kishon Vijay Abraham I
Hi, On Tuesday 24 April 2018 04:27 PM, Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:19, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Tuesday 17 April 2018 11:08 PM, Gustavo Pimentel wrote: >>> Hi Kishon, >>> >>> On 17/04/2018 11:33, Kishon Vijay Abraham I wrote: Hi,

Re: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Gustavo Pimentel
On 24/04/2018 10:15, Alan Douglas wrote: > Hi, > > On 10 April 2018 18:15 Gustavo Pimentel wrote: >> Changes the pcie_raise_irq function signature, namely the interrupt_num >> variable type from u8 to u16 to accommodate the MSI-X maximum interrupts >> of 2048. >> >> Implements a PCIe config space

Re: [PATCH v1 1/1] misc: IBM Virtual Management Channel Driver

2018-04-24 Thread Randy Dunlap
On 04/24/2018 07:29 AM, Greg KH wrote: > On Mon, Apr 23, 2018 at 02:17:28PM -0700, Randy Dunlap wrote: >> On 04/23/18 12:53, Greg KH wrote: >>> On Mon, Apr 23, 2018 at 11:38:18AM -0700, Randy Dunlap wrote: On 04/23/18 07:46, Bryant G. Ly wrote: > This driver is a logical device which

Re: [PATCH] thermal: core: fix emulation of subzero temps

2018-04-24 Thread Zhang Rui
On δΈ€, 2018-04-23 at 10:53 -0700, Kevin DuBois wrote: > The current implementation casted away its sign. > It was also using '0' to disable emulation, but 0C is a valid > thermal reading. A large negative value (below absolute zero) now > disables the emulation. Makes sense to me. > > Test: Build

RE: [RFC 01/10] PCI: dwc: Add MSI-X callbacks handler

2018-04-24 Thread Alan Douglas
Hi Kishon, On 24 April 2018 10:36 Gustavo Pimentel wrote: > Hi Kishon, > > On 24/04/2018 08:07, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 23 April 2018 03:06 PM, Gustavo Pimentel wrote: > >> Hi Kishon, > >> > >> On 16/04/2018 10:29, Kishon Vijay Abraham I wrote: > >>> Hi Gustavo, >

Re: [PATCH v1 1/1] misc: IBM Virtual Management Channel Driver

2018-04-24 Thread Greg KH
On Mon, Apr 23, 2018 at 02:17:28PM -0700, Randy Dunlap wrote: > On 04/23/18 12:53, Greg KH wrote: > > On Mon, Apr 23, 2018 at 11:38:18AM -0700, Randy Dunlap wrote: > >> On 04/23/18 07:46, Bryant G. Ly wrote: > >>> This driver is a logical device which provides an > >>> interface between the

Re: [PATCH v3 09/10] drivers/hwmon: Add PECI hwmon client drivers

2018-04-24 Thread Andy Shevchenko
On Tue, 2018-04-10 at 11:32 -0700, Jae Hyun Yoo wrote: > drivers/hwmon/peci-cputemp.c | 783 > ++ > drivers/hwmon/peci-dimmtemp.c | 432 +++ Does it make sense one driver per patch? > +#define CLIENT_CPU_ID_MASK0xf0ff0 /* Mask

Re: [PATCH v3 03/10] drivers/peci: Add support for PECI bus driver core

2018-04-24 Thread Andy Shevchenko
On Tue, 2018-04-10 at 11:32 -0700, Jae Hyun Yoo wrote: > This commit adds driver implementation for PECI bus core into linux > driver framework. > All comments you got for patch 6 are applicable here. And perhaps in the rest of the series. The rule of thumb: when you get even single comment in