Re: [PATCH v3 0/2] Add CCPI2 PMU support

2019-08-04 Thread Ganapatrao Kulkarni
On Mon, Jul 29, 2019 at 4:24 PM Ganapatrao Kulkarni wrote: > > Hi Will, > > Any comments to this patchset? If no further comments, can it be queued please? > > On Tue, Jul 23, 2019 at 2:46 PM Ganapatrao Kulkarni > wrote: > > > > Add Cavium Coherent Processor Interconnect (CCPI2) PMU > > support

Re: [PATCH 5/5] docs: zh_CN: howto.rst: fix a broken reference

2019-08-04 Thread Alex Shi
Hi Mauro, Thanks for catching! this part need more info, like make latexdocs. So I update them and sent out a patch for this. Please feel free to pick up my patch in your series. :) Thanks! Alex 在 2019/7/27 上午3:29, Mauro Carvalho Chehab 写道: > There's a broken reference there pointing to the lon

[PATCH] docs/zh_CN: update Chinese howto.rst for latexdocs making

2019-08-04 Thread Alex Shi
Mauro Carvalho Chehab foundd a reference error in Chinese howto.rst. which need update introducations for latexdocs/epubdocs format doc making. So I update this part according to latest howto.rst. Originally-from: Mauro Carvalho Chehab Signed-off-by: Alex Shi Cc: Harry Wei Cc: Jonathan Corbet

Re: [PATCH] Documentation: virt: Fix broken reference to virt tree's index

2019-08-04 Thread Matthew Wilcox
On Sun, Aug 04, 2019 at 04:46:35PM +0100, Sheriff Esseson wrote: > Fix broken reference to virt/index.rst. > > Sequel to: 2f5947dfcaec ("Documentation: move Documentation/virtual to > Documentation/virt") 'Sequel to'? Do you mean 'Fixes'? > Reported-by: Sphinx Reported-by is used for people.

Re: [PATCH v8 0/2] fTPM: firmware TPM running in TEE

2019-08-04 Thread Jarkko Sakkinen
On Thu, Jul 11, 2019 at 11:08:58PM +0300, Jarkko Sakkinen wrote: > On Fri, Jul 05, 2019 at 04:47:44PM -0400, Sasha Levin wrote: > > Changes from v7: > > > > - Address Jarkko's comments. > > > > Sasha Levin (2): > > fTPM: firmware TPM running in TEE > > fTPM: add documentation for ftpm driver

Re: [RFC v2 0/6] Introduce TEE based Trusted Keys support

2019-08-04 Thread Jarkko Sakkinen
On Tue, Jul 30, 2019 at 05:53:34PM +0530, Sumit Garg wrote: > tee: optee: allow kernel pages to register as shm > tee: enable support to register kernel memory > tee: add private login method for kernel clients > KEYS: trusted: Introduce TEE based Trusted Keys > doc: keys: Document usage

[PATCH] Documentation: virt: Fix broken reference to virt tree's index

2019-08-04 Thread Sheriff Esseson
Fix broken reference to virt/index.rst. Sequel to: 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt") Reported-by: Sphinx Signed-off-by: Sheriff Esseson --- Documentation/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/i

[PATCH v4 05/12] fpga: dfl: add id_table for dfl private feature driver

2019-08-04 Thread Wu Hao
This patch adds id_table for each dfl private feature driver, it allows to reuse same private feature driver to match and support multiple dfl private features. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull Signed-off-by: Moritz Fischer --- v2: reb

[PATCH v4 07/12] fpga: dfl: afu: add error reporting support.

2019-08-04 Thread Wu Hao
Error reporting is one important private feature, it reports error detected on port and accelerated function unit (AFU). It introduces several sysfs interfaces to allow userspace to check and clear errors detected by hardware. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Alan Tull Si

[PATCH v4 12/12] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-08-04 Thread Wu Hao
This patch adds virtualization support description for DFL based FPGA devices (based on PCIe SRIOV), and introductions to new interfaces added by new dfl private feature drivers. [m...@kernel.org: Fixed up to make it work with new reStructuredText docs] Signed-off-by: Xu Yilun Signed-off-by: Wu H

[PATCH v4 01/12] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-08-04 Thread Wu Hao
In order to support virtualization usage via PCIe SRIOV, this patch adds two ioctls under FPGA Management Engine (FME) to release and assign back the port device. In order to safely turn Port from PF into VF and enable PCIe SRIOV, it requires user to invoke this PORT_RELEASE ioctl to release port f

[PATCH v4 04/12] fpga: dfl: afu: add userclock sysfs interfaces.

2019-08-04 Thread Wu Hao
This patch introduces userclock sysfs interfaces for AFU, user could use these interfaces for clock setting to AFU. Please note that, this is only working for port header feature with revision 0, for later revisions, userclock setting is moved to a separated private feature, so one revision sysfs

[PATCH v4 11/12] fpga: dfl: fme: add global error reporting support

2019-08-04 Thread Wu Hao
This patch adds support for global error reporting for FPGA Management Engine (FME), it introduces sysfs interfaces to report different error detected by the hardware, and allow user to clear errors or inject error for testing purpose. Signed-off-by: Luwei Kang Signed-off-by: Ananda Ravuri Signe

[PATCH v4 10/12] fpga: dfl: fme: add capability sysfs interfaces

2019-08-04 Thread Wu Hao
This patch adds 3 read-only sysfs interfaces for FPGA Management Engine (FME) block for capabilities including cache_size, fabric_version and socket_id. Signed-off-by: Luwei Kang Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Alan Tull Signed-off-by: Moritz Fischer --- v2: rebased. v

[PATCH v4 09/12] fpga: dfl: afu: add STP (SignalTap) support

2019-08-04 Thread Wu Hao
STP (SignalTap) is one of the private features under the port for debugging. This patch adds private feature driver support for it to allow userspace applications to mmap related mmio region and provide STP service. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by

[PATCH v4 06/12] fpga: dfl: afu: export __port_enable/disable function.

2019-08-04 Thread Wu Hao
As these two functions are used by other private features. e.g. in error reporting private feature, it requires to check port status and reset port for error clearing. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull Signed-off-by: Moritz Fischer ---

[PATCH v4 08/12] fpga: dfl: make uinit callback optional

2019-08-04 Thread Wu Hao
This patch makes uinit callback of sub features optional. With this change, people don't need to prepare any empty uinit callback. Signed-off-by: Wu Hao --- drivers/fpga/dfl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/fpga/dfl.c b/drivers/fpga/dfl.c index 87ea

[PATCH v4 03/12] fpga: dfl: afu: add AFU state related sysfs interfaces

2019-08-04 Thread Wu Hao
This patch introduces more sysfs interfaces for Accelerated Function Unit (AFU). These interfaces allow users to read current AFU Power State (APx), read / clear AFU Power (APx) events which are sticky to identify transient APx state, and manage AFU's LTR (latency tolerance reporting). Signed-off-

[PATCH v4 00/12] FPGA DFL updates

2019-08-04 Thread Wu Hao
Hi Greg, This is v4 patchset which adds more features to FPGA DFL. The avx512 partial reconfiguration support patch is dropped for now as need to address some opens first. Main changes from v3: - drop avx512 partail reconfiguration patch for now. - split dfl_fpga_cdev_config_port to 2 functio

[PATCH v4 02/12] fpga: dfl: pci: enable SRIOV support.

2019-08-04 Thread Wu Hao
This patch enables the standard sriov support. It allows user to enable SRIOV (and VFs), then user could pass through accelerators (VFs) into virtual machine or use VFs directly in host. Signed-off-by: Zhang Yi Z Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Morit