[lwn:docs-next 98/103] htmldocs: include/uapi/linux/vtpm_proxy.h:1: warning: no structured comments found

2016-11-07 Thread kbuild test robot
tree: git://git.lwn.net/linux-2.6 docs-next head: d55003d86e0ce598b599277973035327779b643b commit: 9e355ba76455d6d44f5cf888eee820ae9a06b3ec [98/103] tpm: transition tpm_vtpm_proxy documentation to the Sphinx reproduce: make htmldocs All warnings (new ones prefixed by >>):

[PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature present in new Intel Processors. If enabled, it prevents the execution of certain instructions if the Current Privilege Level (CPL) is greater than 0. If these instructions were executed while in CPL > 0, user space applications could

[PATCH 2/4] x86: Prepare vm86 tasks to handle User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature in new Intel processors that causes a general protection exception if certain instructions are executed in user mode (CPL > 0). Unfortunately, some of the instructions that are protected by UMIP (i.e., SGDT, SIDT and SMSW) are used by

[PATCH 3/4] x86: Enable User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User_mode Instruction Prevention (UMIP) is enabled by setting/clearing a bit in %cr4. It make sense to enable UMIP at some point while booting, before user spaces come up. Like SMAP and SMEP, is not critical to have it enabled very early during boot. This is because UMIP is relevant only when

[PATCH 4/4] selftests/x86: Add tests for User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
Certain user space programs that run on virtual-8086 mode may utilize instructions protected by the User-Mode Instruction Prevention (UMIP) security feature present in new Intel processors: SGDT, SIDT and SMSW. In such a case, a general protection exception is issued if UMIP is enabled. For the

[PATCH 0/4] x86: enable User-Mode Instruction Prevention

2016-11-07 Thread Ricardo Neri
User-Mode Instruction Prevention (UMIP) is a security feature present in new Intel Processors. If enabled, it prevents the execution of certain instructions if the Current Privilege Level (CPL) is greater than 0. If these instructions were executed while in CPL > 0, user space applications could

[PATCH] ixgbe: Remove out-of-tree references

2016-11-07 Thread Jamie Bainbridge
The module parameters FdirMode, FdirPballoc, AtrSampleRate, or Node are not available in the in-kernel driver, only in Intel's out-of-tree SourceForge driver. Remove these from the kernel documentation. Remove reference to Intel affinity script. Move max_vfs to tidy up. Signed-off-by: Jamie

Re: [PATCH] USB: fix typo in documentation

2016-11-07 Thread Jonathan Corbet
On Tue, 1 Nov 2016 15:23:37 + Luis de Bethencourt wrote: > A typo sneaked in the latest change on the USB documentation. Fixing it > and also a trailing whitespace since it is also in the "USB Host-Side API > Model" chapter. Applied to the docs tree (with

Re: [PATCH v2] doc-rst: make cleandocs misses a fair number of files

2016-11-07 Thread Jonathan Corbet
On Tue, 1 Nov 2016 15:36:02 +0100 Markus Heiser wrote: > Removes intermediate 'Documentation/DocBook/.*.xml.cmd' files > > Changes since v1: > - Reduce the patch to DocBook cleandocs > > References: >

Re: [PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Jonathan Corbet
On Mon, 7 Nov 2016 23:13:03 -0200 Mauro Carvalho Chehab wrote: > Argh! PDF output is really fragile. I would change it then to: > > .. [#f1] You can, optionally, provide both good and bad arguments at git >start: ``git bisect start [BAD] [GOOD]`` > > Do you

Re: [PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Nov 2016 17:39:02 -0700 Jonathan Corbet escreveu: > On Mon, 7 Nov 2016 17:03:17 -0200 > Mauro Carvalho Chehab wrote: > > > +.. [#f1] You can, optionally, provide both good and bad arguments at git > > +start:: > > + > > + git

Re: [PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Nov 2016 16:55:26 -0700 Jonathan Corbet escreveu: > On Mon, 7 Nov 2016 17:03:17 -0200 > Mauro Carvalho Chehab wrote: > > > Better organize the admin guide documentation by moving the > > bug bisect to a separate file. > > > > Signed-off-by:

Re: [PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Jonathan Corbet
On Mon, 7 Nov 2016 17:03:17 -0200 Mauro Carvalho Chehab wrote: > +.. [#f1] You can, optionally, provide both good and bad arguments at git > + start:: > + > + git bisect start [BAD] [GOOD] So this, as it turns out, kills the PDF build: Markup is

Re: [PATCH 3/3] tpm: move documentation under Documentation/security

2016-11-07 Thread Jarkko Sakkinen
On Mon, Nov 07, 2016 at 03:37:52PM -0700, Jonathan Corbet wrote: > On Thu, 3 Nov 2016 17:57:52 -0600 > Jarkko Sakkinen wrote: > > > In order too make Documentation root directory cleaner move the tpm > > directory under Documentation/security. > > So I'll

Re: [PATCH v2 00/12] Fix and update HOWTO Korean translation

2016-11-07 Thread Jonathan Corbet
On Tue, 1 Nov 2016 05:27:09 +0900 SeongJae Park wrote: > This patchset applies ReST conversion effort for HOWTO document to its Korean > translation. It also contains fixup of trivial nitpicks in the document and > the translation. OK, to the extent that I can understand

Re: [PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Jonathan Corbet
On Mon, 7 Nov 2016 17:03:17 -0200 Mauro Carvalho Chehab wrote: > Better organize the admin guide documentation by moving the > bug bisect to a separate file. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH 3/3] tpm: move documentation under Documentation/security

2016-11-07 Thread Jonathan Corbet
On Thu, 3 Nov 2016 17:57:52 -0600 Jarkko Sakkinen wrote: > In order too make Documentation root directory cleaner move the tpm > directory under Documentation/security. So I'll happily apply these to the docs tree, but... 1) It won't apply to current

Re: [PATCH v7 09/11] scsi: ufs: connect to RPMB subsystem

2016-11-07 Thread Christoph Hellwig
On Mon, Nov 07, 2016 at 07:27:38PM +, Winkler, Tomas wrote: > I value your opinion but I'm not responsible for inventing RPMB > and/or its implementation storage devices (eMMC, UFC, NVMe), it's pretty > much done deal out there in the wild. > I'm just trying to provide common API above

[PATCH] Doc: update kselftest.txt with details on how to run tests after install

2016-11-07 Thread Shuah Khan
Update kselftest.txt with details on how to run tests after install. Signed-off-by: Shuah Khan --- Documentation/kselftest.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt index

RE: [PATCH v7 09/11] scsi: ufs: connect to RPMB subsystem

2016-11-07 Thread Winkler, Tomas
> > On Mon, Nov 07, 2016 at 09:53:12PM +0200, Tomas Winkler wrote: > > Register UFS RPMB LUN with the RPMB subsystem and provide > > implementation for the RPMB access operations. RPMB partition is > > accessed via a sequence of security protocol in and security protocol > > out commands with UFS

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Konrad Rzeszutek Wilk
On Mon, Nov 07, 2016 at 07:57:11PM +0100, Geert Uytterhoeven wrote: > Hi Konrad, > > On Mon, Oct 31, 2016 at 6:52 PM, Konrad Rzeszutek Wilk > wrote: > > On Mon, Oct 31, 2016 at 04:45:04PM +0100, Geert Uytterhoeven wrote: > >> On architectures like arm64, swiotlb is tied

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Geert Uytterhoeven
Hi Konrad, On Mon, Oct 31, 2016 at 6:52 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Oct 31, 2016 at 04:45:04PM +0100, Geert Uytterhoeven wrote: >> On architectures like arm64, swiotlb is tied intimately to the core >> architecture DMA support. In addition, ZONE_DMA cannot

[PATCH 3/4] admin-guide: move tainted kernels info to a separate file

2016-11-07 Thread Mauro Carvalho Chehab
The tainted kernels info is not directly related to the oops tracing. So, let's move it to a separate file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/index.rst | 9 ++-- Documentation/admin-guide/oops-tracing.rst| 59

[PATCH 4/4] admin-guide: merge oops-tracing with bug-hunting

2016-11-07 Thread Mauro Carvalho Chehab
Now that oops-tracing.rst has only information about stack dumps found on OOPS, and bug-hunting.rst has only information about how to identify the source code line associated with a stack dump, let's merge them and improve the information inside it. Signed-off-by: Mauro Carvalho Chehab

[PATCH 2/4] doc-rst: admin-guide: move bug bisect to a separate file

2016-11-07 Thread Mauro Carvalho Chehab
Better organize the admin guide documentation by moving the bug bisect to a separate file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/bug-bisect.rst | 78 +++ Documentation/admin-guide/bug-hunting.rst | 74

[PATCH 1/4] bug-hunting.rst: update info about bug hunting

2016-11-07 Thread Mauro Carvalho Chehab
The document shows a really old procedure for bug hunting that nobody uses anymore. Remove such section, and update the remaining documentation to reflect the procedures used currently. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/bug-hunting.rst

[PATCH 0/4] Better organize the bug hunting documentation

2016-11-07 Thread Mauro Carvalho Chehab
As Jon pointed, the documentation at bug-hunting.rst contains old stuff. There are also old stuff at oops-tracing, with also handles with about the same stuff. This series update the information there, in order to keep it more updated. Jon, Please notice that I kept one section there called:

[PATCH v7 02/11] rpmb: enable emmc specific read data fixup

2016-11-07 Thread Tomas Winkler
For eMMC the block count of the RPMB read operation is not indicated in the original RPMB Data Read Request packet. This might be different then the implementation of other protocol standards. This patch implements a fixup for this behavior. V6: new in the series V7: resend Signed-off-by: Tomas

[PATCH v7 03/11] rpmb: add sysfs-class ABI documentation

2016-11-07 Thread Tomas Winkler
V2: resend V3: add more verbose description V4: resend V5: adjust date and kernel version V6: adjust date and kernel version V7: adjust date and kernel version Signed-off-by: Tomas Winkler --- Documentation/ABI/testing/sysfs-class-rpmb | 20

[PATCH v7 00/11] char:rpmb: Replay Protected Memory Block (RPMB) subsystem

2016-11-07 Thread Tomas Winkler
Few storage technologies such is EMMC, UFS, and NVMe support RPMB hardware partition with common protocol and frame layout. The RPMB partition cannot be accessed via standard block layer, but by a set of specific commands: WRITE, READ, GET_WRITE_COUNTER, and PROGRAM_KEY. Such a partition provides

Re: [PATCH v7 09/11] scsi: ufs: connect to RPMB subsystem

2016-11-07 Thread Christoph Hellwig
On Mon, Nov 07, 2016 at 09:53:12PM +0200, Tomas Winkler wrote: > Register UFS RPMB LUN with the RPMB subsystem and provide > implementation for the RPMB access operations. RPMB partition is > accessed via a sequence of security protocol in and security protocol > out commands with UFS specific

[PATCH v7 04/11] char: rpmb: add device attributes

2016-11-07 Thread Tomas Winkler
Add attribute type that displays underlay storage type technology EMMC, UFS, and attribute id, that displays underlay storage device id. For EMMC this would be content of CID and for UFS serial number from the device descriptor. V2: resend V3: set kernel version to 4.7 V4: update target date to

[PATCH v7 01/11] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2016-11-07 Thread Tomas Winkler
Few storage technologies such is EMMC, UFS, and NVMe support RPMB hardware partition with common protocol and frame layout. The RPMB partition cannot be accessed via standard block layer, but by a set of specific commands: WRITE, READ, GET_WRITE_COUNTER, and PROGRAM_KEY. Such a partition provides

[PATCH v7 11/11] char: rpmb: Document Replay Protected Memory Block (RPMB) subsystem

2016-11-07 Thread Tomas Winkler
Add rpmb documentatin in sphinx format. V7: new in the series Signed-off-by: Tomas Winkler --- Documentation/index.rst | 1 + Documentation/rpmb/conf.py | 5 ++ Documentation/rpmb/index.rst | 18 ++

[PATCH v7 05/11] char: rpmb: provide a user space interface

2016-11-07 Thread Tomas Winkler
The user space API is achieved via two synchronous IOCTLs. Simplified one, RPMB_IOC_REQ_CMD, were read result cycles is performed by the framework on behalf the user and second, RPMB_IOC_SEQ_CMD where the whole RPMB sequence including RESULT_READ is supplied by the caller. The latter is intended

[PATCH v7 06/11] char: rpmb: add RPMB simulation device

2016-11-07 Thread Tomas Winkler
The RPMB partition simulation device is a virtual device that provides simulation of the RPMB protocol and use kernel memory as storage. Be aware it doesn't promise any real security. This driver is suitable only for testing of the RPMB subsystem or RPMB applications prior to RPMB key

[PATCH v7 10/11] scsi: ufs: retrieve rpmb rw size

2016-11-07 Thread Tomas Winkler
Retrieve maximum number of RPMB frames that can be in a single request. Currently the limitations is provided only for writes via reliable_wr_cnt API. V7: New in the series Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin ---

[PATCH v7 07/11] tools rpmb: add RPBM access tool

2016-11-07 Thread Tomas Winkler
Add simple RPMB host testing tool. It can be used to program key, write and read data block, and retrieve write counter. V2: resend V3: fix missing objtool V4: add verbose option V5: 1. Adjust to the new API. 2. Exercise both request and sequence ioctls. V6: 1. Add includes to openssl/rand.h

[PATCH v7 09/11] scsi: ufs: connect to RPMB subsystem

2016-11-07 Thread Tomas Winkler
Register UFS RPMB LUN with the RPMB subsystem and provide implementation for the RPMB access operations. RPMB partition is accessed via a sequence of security protocol in and security protocol out commands with UFS specific parameters. This multi step process is abstracted into 4 basic RPMB

[PATCH v7 08/11] mmc: block: register RPMB partition with the RPMB subsystem

2016-11-07 Thread Tomas Winkler
Register eMMC RPMB partition with the RPMB subsystem and provide implementation for the RPMB access operations abstracting actual multi step process. V2: resend V3: commit message fix V4: Kconfig: use select RPMB to ensure valid configuration Switch back to main area after RPMB access V5:

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-07 Thread Josh Triplett
On Mon, Nov 07, 2016 at 07:55:24AM -0200, Mauro Carvalho Chehab wrote: > 2) add an Sphinx extension that would internally call ImageMagick and/or >inkscape to convert the bitmap; This seems sensible; Sphinx should directly handle the source format we want to use for images/diagrams. > 3) if

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Robin Murphy
Hi Geert, On 07/11/16 15:41, Geert Uytterhoeven wrote: > Hi Robin, > > On Tue, Nov 1, 2016 at 12:46 PM, Robin Murphy wrote: > To aid debugging and catch devices not supporting DMA to memory outside > the 32-bit address space, add a kernel command line option >

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-07 Thread Josh Triplett
On Mon, Nov 07, 2016 at 09:46:48AM -0200, Mauro Carvalho Chehab wrote: > That's said, PNG also doesn't seem to work fine on Sphinx 1.4.x. > > On my tests, I installed *all* texlive extensions on Fedora 24, to > be sure that the issue is not the lack of some extension[1], with: > > # dnf

Re: ASCII diagrams and RST/Sphinx documentation

2016-11-07 Thread Jarkko Sakkinen
On Mon, Nov 07, 2016 at 03:58:42PM +0200, Jani Nikula wrote: > On Sat, 05 Nov 2016, Jarkko Sakkinen wrote: > > Hi > > > > I recently submitted patches to move the existing TPM driver > > documentation to the new scheme. There is one document that I left in > > its

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-11-07 Thread Geert Uytterhoeven
Hi Robin, On Tue, Nov 1, 2016 at 12:46 PM, Robin Murphy wrote: To aid debugging and catch devices not supporting DMA to memory outside the 32-bit address space, add a kernel command line option "swiotlb=nobounce", which disables the use of bounce buffers.

[PATCH v2 3/6] [media] subdev-formats.rst: add missing columns to tabularcolumns

2016-11-07 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab There are several missing columns on the size specification, causing LaTeX to complain on interactive mode. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab ---

[PATCH v2 0/6] Fix PDF builds on media documentation

2016-11-07 Thread Mauro Carvalho Chehab
This series address a series of errors during PDF generation from media documentation. It replaces the previous patch series entitled: [PATCH RFC 0/4] Fix PDF build errors The first patch fixes the late redefinition of a LaTeX command at the Sphinx LaTeX style that causes build to break

[PATCH v2 2/6] [media] subdev-formats.rst: don't use adjustbox on a longtable

2016-11-07 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab adjustbox doesn't work on longtables. Also, this causes an error on LaTeX in interactive mode. So, use, instead, a tiny font. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab

[PATCH v2 1/6] docs-rst: fix LaTeX \DURole renewcommand with Sphinx 1.3+

2016-11-07 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab PDF build on Kernel 4.9-rc? returns an error with Sphinx 1.3.x and Sphinx 1.4.x, when trying to solve some cross-references. The solution is to redefine the \DURole macro. However, this is redefined too late. Move such redefinition to LaTeX

Re: ASCII diagrams and RST/Sphinx documentation

2016-11-07 Thread Jani Nikula
On Sat, 05 Nov 2016, Jarkko Sakkinen wrote: > Hi > > I recently submitted patches to move the existing TPM driver > documentation to the new scheme. There is one document that I left in > its original form, namely xen-tpmfront.txt, because it contains ASCII >

Re: Including images on Sphinx documents

2016-11-07 Thread Mauro Carvalho Chehab
Em Mon, 07 Nov 2016 12:53:55 +0200 Jani Nikula escreveu: > On Mon, 07 Nov 2016, Mauro Carvalho Chehab wrote: > > Hi Jon, > > > > I'm trying to sort out the next steps to do after KS, with regards to > > images included on RST files. > > > > The

Re: Including images on Sphinx documents

2016-11-07 Thread Jani Nikula
On Mon, 07 Nov 2016, Mauro Carvalho Chehab wrote: > Hi Jon, > > I'm trying to sort out the next steps to do after KS, with regards to > images included on RST files. > > The issue is that Sphinx image support highly depends on the output > format. Also, despite TexLive

Including images on Sphinx documents

2016-11-07 Thread Mauro Carvalho Chehab
Hi Jon, I'm trying to sort out the next steps to do after KS, with regards to images included on RST files. The issue is that Sphinx image support highly depends on the output format. Also, despite TexLive support for svg and png images[1], Sphinx doesn't produce the right LaTeX commands to use

Re: ILP32 for ARM64: testing with glibc testsuite

2016-11-07 Thread Yury Norov
Hi all, [add libc-alpha mail list] For libc-alpha: this is the part of LKML submission with latest patches for aarch64/ilp32. https://www.spinics.net/lists/arm-kernel/msg537846.html Glibc that I use has also included consolidation patches from Adhemerval Zanella and me that are still not in the