Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Mauro Carvalho Chehab
Em Mon, 30 May 2016 23:05:34 +0300 Jani Nikula escreveu: > > I worry a little bit in that reST will be only one more toolchain > > beside DocBook .. in the long term, kernel's documentation > > should get rid of all the DocBook artifacts and for this a more > > comprehensive solution is needed.

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Jani Nikula
On Mon, 30 May 2016, Markus Heiser wrote: > Am 30.05.2016 um 16:46 schrieb Jani Nikula : >> I am not proposing to merge the documents that I've converted mostly as >> samples in the branch. I needed something to demonstrate the build is >> sane. > >> The authors of the DocBook documents should mak

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Markus Heiser
Am 30.05.2016 um 16:46 schrieb Jani Nikula : > On Mon, 30 May 2016, Markus Heiser wrote: >> Here my 5cents about Jani's patch series: >> >> 1. Migration implementations should not be a part of the kernel tree > > If you're referring to the conversion scripts, I don't care either > way. It's pr

Re: [PATCH 1/1 v4] hwmon: add support for Sensirion SHT3x sensors

2016-05-30 Thread Guenter Roeck
Hi Pascal, On 05/30/2016 07:46 AM, Pascal Sachs wrote: From: David Frey This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all va

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Daniel Vetter
I concur with Jani on all points, just want to follow-up here. On Mon, May 30, 2016 at 4:46 PM, Jani Nikula wrote: >> Many of the facts mentioned above have been covered in my POC at >> https://github.com/return42/sphkerneldoc ... On others, >> like 5. I'am working on >> >>> I've had a few m

Re: [PULL v4.6-rc1] bcache: documentation updates

2016-05-30 Thread Marc MERLIN
On Thu, Apr 14, 2016 at 07:11:10AM +, Eric Wheeler wrote: > [ +cc: linux-doc, kent ] +jon > On Tue, 12 Apr 2016, Marc MERLIN wrote: > > On Mon, Mar 28, 2016 at 6:09 PM, Eric Wheeler > > wrote: > > > git pull https://bitbucket.org/ewheelerinc/linux > > > v4.6-rc1-bcache-documentation > > >

[PATCH 1/1 v4] hwmon: add support for Sensirion SHT3x sensors

2016-05-30 Thread Pascal Sachs
From: David Frey This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are scaled by 1000, i.e. the value for 31.5 degrees c

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Jani Nikula
On Mon, 30 May 2016, Markus Heiser wrote: > Here my 5cents about Jani's patch series: > > 1. Migration implementations should not be a part of the kernel tree If you're referring to the conversion scripts, I don't care either way. It's probably helpful to have them until everything is converted,

[PATCH v2 4/4] PCI: Add support for enforcing all MMIO BARs to be page aligned

2016-05-30 Thread Yongji Xie
When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio will not allow to passthrough one BAR's mmio page which may be shared with other BARs. Otherwise, there

[PATCH v2 3/4] PCI: Add a new option for resource_alignment to reassign alignment

2016-05-30 Thread Yongji Xie
When using resource_alignment kernel parameter, the current implement reassigns the alignment by changing resources' size which can potentially break some drivers. For example, the driver uses the size to locate some register whose length is related to the size. This patch adds a new option "nores

[PATCH v2 2/4] PCI: Do not Use IORESOURCE_STARTALIGN to identify bridge resources

2016-05-30 Thread Yongji Xie
Now we use the IORESOURCE_STARTALIGN to identify bridge resources in __assign_resources_sorted(). That's quite fragile. We can't make sure that the PCI devices' resources will not use IORESOURCE_STARTALIGN any more. In this patch, we try to use a more robust way to identify bridge resources. Sign

[PATCH v2 0/4] PCI: Add support for enforcing all MMIO BARs not to share PAGE_SIZE

2016-05-30 Thread Yongji Xie
This series aims to add an option for PCI resource allocator to force BARs not to share PAGE_SIZE. This would make sense to VFIO driver. Because current VFIO implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs which may share the same page with other BARs for security reasons

[PATCH v2 1/4] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-05-30 Thread Yongji Xie
The resource_alignment will releases memory resources allocated by firmware so that kernel can reassign new resources later on. But this will cause the problem that no resources can be allocated by kernel if PCI_PROBE_ONLY was set, e.g. on pSeries platform because PCI_PROBE_ONLY force kernel to use

[PATCH] kgdb: gdb documentation fix

2016-05-30 Thread sylee
From: "Shih-Yuan Lee (FourDollars)" "set remotebaud" is deprecated since GDB 7.8.2, using "set serial baud" instead. Signed-off-by: Shih-Yuan Lee (FourDollars) --- Documentation/DocBook/kgdb.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/kgdb.tmp

[RFC v2] dma-mapping: Use unsigned long for dma_attrs

2016-05-30 Thread Krzysztof Kozlowski
The dma-mapping core and the implementations do not change the DMA attributes passed by pointer. Thus the pointer can point to const data. However the attributes do not have to be a bitfield. Instead unsigned long will do fine: 1. This is just simpler. Both in terms of reading the code and sett

[RFC v2] Change dma_attrs from bitfield to unsigned long

2016-05-30 Thread Krzysztof Kozlowski
Hi, This is second attempt to bring some safeness to dma_attrs. In v1 [0] I added const to data pointed by attrs. However Christoph Hellwig suggested getting rid of struct dma_attrs in favor of some simpler data type. Benefits of unsigned long for dma_attrs: 1. This is just simpler. Both in te

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Markus Heiser
Hi, sorry for my temporary absence, I have been on holiday the last weeks :-) Am 30.05.2016 um 11:10 schrieb Daniel Vetter : > On Sun, May 29, 2016 at 10:33 PM, Jani Nikula wrote: >> On Fri, 20 May 2016, Jani Nikula wrote: >>> At this time I've put most effort into the configuration and build

Re: [PATCH 00/10] Documentation/Sphinx

2016-05-30 Thread Daniel Vetter
On Sun, May 29, 2016 at 10:33 PM, Jani Nikula wrote: > On Fri, 20 May 2016, Jani Nikula wrote: >> At this time I've put most effort into the configuration and build side >> of things, solving the problems described above, and handling missing >> tools and packages gracefully. There are still issu