[PATCH v5 4/4] usb: doc: add document for USB3 debug port usage

2016-11-14 Thread Lu Baolu
Add Documentation/usb/usb3-debug-port.rst. This document includes the user guide for USB3 debug port. Cc: linux-doc@vger.kernel.org Signed-off-by: Lu Baolu --- Documentation/usb/usb3-debug-port.rst | 95 +++ 1 file changed, 95

Re: [RFC PATCH v3 06/20] x86: Add support to enable SME during early boot processing

2016-11-14 Thread Borislav Petkov
On Mon, Nov 14, 2016 at 12:18:44PM -0600, Tom Lendacky wrote: > The %rsi register can be clobbered by the called function so I'm saving > it since it points to the real mode data. I might be able to look into > saving it earlier and restoring it before needed, but I though this > might be

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

2016-11-14 Thread Harald Arnesen
Den 14/11/2016 11:59, skrev One Thousand Gnomes: Is anyone actually still using DOSemu these days or are people all using DOSbox ? Alan One thing lacking from DOSbox is TCP/IP networking. -- Hilsen Harald -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of

Re: [RFC PATCH v3 06/20] x86: Add support to enable SME during early boot processing

2016-11-14 Thread Tom Lendacky
On 11/14/2016 11:29 AM, Borislav Petkov wrote: > On Wed, Nov 09, 2016 at 06:35:43PM -0600, Tom Lendacky wrote: >> This patch adds support to the early boot code to use Secure Memory >> Encryption (SME). Support is added to update the early pagetables with >> the memory encryption mask and to

Re: [RFC PATCH v3 06/20] x86: Add support to enable SME during early boot processing

2016-11-14 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 06:35:43PM -0600, Tom Lendacky wrote: > This patch adds support to the early boot code to use Secure Memory > Encryption (SME). Support is added to update the early pagetables with > the memory encryption mask and to encrypt the kernel in place. > > The routines to set

Re: [RFC PATCH v3 02/20] x86: Set the write-protect cache mode for full PAT support

2016-11-14 Thread Tom Lendacky
On 11/10/2016 07:26 PM, Kani, Toshimitsu wrote: > On Thu, 2016-11-10 at 14:14 +0100, Borislav Petkov wrote: >> + Toshi. >> >> On Wed, Nov 09, 2016 at 06:34:48PM -0600, Tom Lendacky wrote: >>> >>> For processors that support PAT, set the write-protect cache mode >>> (_PAGE_CACHE_MODE_WP) entry to

Re: [RFC PATCH v3 01/20] x86: Documentation for AMD Secure Memory Encryption (SME)

2016-11-14 Thread Tom Lendacky
On 11/10/2016 4:51 AM, Borislav Petkov wrote: > On Wed, Nov 09, 2016 at 06:34:39PM -0600, Tom Lendacky wrote: >> This patch adds a Documenation entry to decribe the AMD Secure Memory >> Encryption (SME) feature. >> >> Signed-off-by: Tom Lendacky >> --- >>

Re: [RFC PATCH v3 14/20] iommu/amd: Disable AMD IOMMU if memory encryption is active

2016-11-14 Thread Tom Lendacky
On 11/14/2016 10:32 AM, Joerg Roedel wrote: > On Wed, Nov 09, 2016 at 06:37:32PM -0600, Tom Lendacky wrote: >> +/* For now, disable the IOMMU if SME is active */ >> +if (sme_me_mask) >> +return -ENODEV; >> + > > Please print a message here telling the user why the IOMMU got

Re: [RFC PATCH v3 10/20] Add support to access boot related data in the clear

2016-11-14 Thread Tom Lendacky
On 11/11/2016 10:17 AM, Kani, Toshimitsu wrote: > On Wed, 2016-11-09 at 18:36 -0600, Tom Lendacky wrote: >> Boot data (such as EFI related data) is not encrypted when the system >> is booted and needs to be accessed unencrypted. Add support to apply >> the proper attributes to the EFI page tables

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

2016-11-14 Thread Mauro Carvalho Chehab
This series address a series of errors during PDF generation from media documentation. The first patch fixes the late redefinition of a LaTeX command at the Sphinx LaTeX style that causes build to break when some cross-references are used. The next two patches fix PDF output issues with

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

2016-11-14 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 --- Documentation/media/uapi/v4l/subdev-formats.rst | 2 +- 1 file

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

2016-11-14 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 ---

[PATCH v3 4/6] [media] convert some images from png to svg

2016-11-14 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab SVG images are nicer, as they can easily be scaled. Also, they're written in text, with makes easier to work. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 2 +-

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

2016-11-14 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: [RFC PATCH v3 14/20] iommu/amd: Disable AMD IOMMU if memory encryption is active

2016-11-14 Thread Joerg Roedel
On Wed, Nov 09, 2016 at 06:37:32PM -0600, Tom Lendacky wrote: > + /* For now, disable the IOMMU if SME is active */ > + if (sme_me_mask) > + return -ENODEV; > + Please print a message here telling the user why the IOMMU got disabled. Thanks, Joerg -- To unsubscribe

[PATCH] Documentation: convert USB to new format

2016-11-14 Thread Oliver Neukum
This is a conversion of the USB documentation to the Sphinx format. No content was altered or reformatted. Signed-off-by: Oliver --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/usb.tmpl | 984 -

Re: Including images on Sphinx documents

2016-11-14 Thread Mauro Carvalho Chehab
Em Sun, 13 Nov 2016 14:00:27 -0700 Jonathan Corbet escreveu: > On Mon, 7 Nov 2016 09:46:48 -0200 > Mauro Carvalho Chehab wrote: > > > When running LaTeX in interactive mode, building just the media > > PDF file with: > > > > $ cls;make cleandocs;

Re: Including images on Sphinx documents

2016-11-14 Thread Mauro Carvalho Chehab
Em Sun, 13 Nov 2016 12:52:50 -0700 Jonathan Corbet escreveu: > On Mon, 7 Nov 2016 07:55:24 -0200 > Mauro Carvalho Chehab wrote: > > > So, we have a few alternatives: > > > > 1) copy (or symlink) all rst files to Documentation/output (or to the > >

Re: [linux-sunxi] Re: [PATCH 3/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-14 Thread Maxime Ripard
On Mon, Nov 14, 2016 at 11:00:32AM +0100, Hans de Goede wrote: > > > > + { > > > > + /* USB VBUS is always on */ > > > > > > You can put the always on regulators (I'm guessing reg_vcc5v0 ?) here. > > > > AFAIK the regulator properties are optional the the USB PHY. > > So we probably don't

Re: [PATCH v2.1 0/6] Fix PDF builds on media documentation

2016-11-14 Thread Mauro Carvalho Chehab
Em Sun, 13 Nov 2016 12:08:00 -0700 Jonathan Corbet escreveu: > On Tue, 8 Nov 2016 07:55:41 -0200 > Mauro Carvalho Chehab wrote: > > > This series address a series of errors during PDF generation from > > media documentation. > > > > It replaces the

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

2016-11-14 Thread One Thousand Gnomes
> I took a closer look at the dosemu code. It appears that it does not That doesn't tell you want DOS itself will try and do... > purposely utilize SGDT to obtain the descriptor table while in vm86. It > does use SGDT (in protected mode) to emulate certain functionality such > as the Virtual xxx

Re: [linux-sunxi] Re: [PATCH 3/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-14 Thread Hans de Goede
HI, On 14-11-16 10:09, Chen-Yu Tsai wrote: On Mon, Nov 14, 2016 at 4:58 PM, Maxime Ripard wrote: Hi, On Sat, Nov 12, 2016 at 12:46:54AM +0800, Icenowy Zheng wrote: Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. Add a device tree file

Re: [PATCH 2/3] ARM: dts: sunxi: add Allwinner H2+ dtsi

2016-11-14 Thread Maxime Ripard
On Sat, Nov 12, 2016 at 12:46:53AM +0800, Icenowy Zheng wrote: > Allwinner H2+ is a SoC so similar with H3 that H3 drivers and memory map > is known to work well on H2+, with both BSP kernel/firmware or the > mainline ones. > > So add a dtsi file which only include the H3 dtsi only, so we can add

Re: [PATCH 3/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-14 Thread Maxime Ripard
Hi, On Sat, Nov 12, 2016 at 12:46:54AM +0800, Icenowy Zheng wrote: > Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. > > Add a device tree file for it. > > As there's still no mainline-compatible driver for the SDIO WLAN card on > board (a new card by Allwinner), the mmc1

Re: [PATCH 3/3] ARM: dts: sunxi: add support for Orange Pi Zero board

2016-11-14 Thread Chen-Yu Tsai
On Mon, Nov 14, 2016 at 4:58 PM, Maxime Ripard wrote: > Hi, > > On Sat, Nov 12, 2016 at 12:46:54AM +0800, Icenowy Zheng wrote: >> Orange Pi Zero is a board that came with the new Allwinner H2+ SoC. >> >> Add a device tree file for it. >> >> As there's still no

Re: [PATCH 1/3] ARM: sunxi: add support for H2+ SoC

2016-11-14 Thread Maxime Ripard
Hi, On Sat, Nov 12, 2016 at 12:46:52AM +0800, Icenowy Zheng wrote: > Allwinner H2+ is a quad-core Cortex-A7 SoC. > > It is very like H3, that they share the same SoC ID (0x1680), and H3 > memory maps as well as drivers works well on the SoC. > > Signed-off-by: Icenowy Zheng >

Re: [RESEND PATCH v1 07/11] perf: hisi: Add support for Hisilicon SoC event counters

2016-11-14 Thread Anurup M
On Friday 11 November 2016 12:40 AM, Mark Rutland wrote: On Thu, Nov 03, 2016 at 01:42:03AM -0400, Anurup M wrote: + do { + /* Get count from individual L3C banks and sum them up */ + for (i = 0; i < num_banks; i++) { + total_raw_count