On Sat, Aug 13, 2016 at 6:01 PM, Icenowy Zheng wrote:
> Now, the A83T and A64 SoC user manuals are available.
> Update the documentation to add the links.
>
> An updated version of A83T datasheet is also included now.
>
> Signed-off-by: Icenowy Zheng
Acked-by: Chen-Yu Tsai
--
To unsubscribe fro
Hi Geert,
> Commit 'b09d6d991' removes include/linux/clk-private.h and
> re-arranges the clock related structures contained in it in
> different files. The documentation has not been updated
> accordingly, thus it wasn't anymore consistent.
>
> Place the structures referenced by Documentation/clk
On Sun, Aug 14, 2016 at 01:21:24AM +0300, Ruslan Bilovol wrote:
> This patch adds new function f_uac1_newapi that
> uses recently created u_audio api. This makes
> f_uac1_newapi implementation much simpler by
> reusing existing u_audio core utilities.
>
> This also drops previous f_uac1 approach (
Rotates the big RGB packed table to landscape.
This is actually an example patch that depends on the past RFCv2 9 patches
series I sent before.
It uses LaTex adjustbox extension to rotate the packed RGB big table,
and rotate it to landscape. This way, the table appears on the entire
page.
It sho
Hi,
On Wed, Aug 03, 2016 at 10:04:06PM -0700, Bjorn Andersson wrote:
> Use the managed resource version of reboot_mode_register().
>
> [...]
>
> drivers/power/reset/syscon-reboot-mode.c | 12 +---
> 1 file changed, 1 insertion(+), 11 deletions(-)
Thanks, queued.
-- Sebastian
signatur
Hi,
On Wed, Aug 03, 2016 at 10:04:05PM -0700, Bjorn Andersson wrote:
> Provide managed resource version of reboot_mode_register() and
> reboot_mode_unregister() to simplify implementations.
Thanks, queued.
-- Sebastian
signature.asc
Description: PGP signature
Hi Jon,
Em Mon, 15 Aug 2016 09:17:52 -0300
Mauro Carvalho Chehab escreveu:
> Em Mon, 15 Aug 2016 12:40:21 +0300
> Jani Nikula escreveu:
>
> > On Sat, 13 Aug 2016, Jonathan Corbet wrote:
> > > On Wed, 10 Aug 2016 18:54:06 +0300
> > > Jani Nikula wrote:
> > >
> > >> With these you should
On Thu, 11 Aug 2016 21:13:29 +0200
Lukas Wunner wrote:
> not sure if this is already on your radar or if you're at all the
> right person to contact, but I just noticed that the gpu htmldocs
> are gone from https://www.kernel.org/doc/htmldocs/gpu/
>
> Actually all the rst-formatted docs are miss
On Mon, 15 Aug 2016 10:21:07 +0200
Markus Heiser wrote:
> Jonathan, we had this already, I gave you the links to "python community
> norms" and tools, please read/use them.
>
> * https://www.python.org/dev/peps/pep-0008/
> * https://www.pylint.org/
>
> Some of these norms might be unusual for C
Change multi-line note tags to be more symetric, e. g. not starting
the text together witht the tag.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/uapi/cec/cec-func-close.rst | 4 +++-
Documentation/media/uapi/cec/cec-func-ioctl.rst | 4 +++-
Documentation/medi
The output for those notes are bad in pdf, as they're not
in a box with a different color. Also, it causes the output
to not build if the note is inside a table.
Change its implementation to avoid the above troubles.
The logic there came from:
https://stackoverflow.com/questions/606746/h
Enrich math formulas by using the Sphinx math. That will allow
using those formulas on pdf documents as well.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/conf.py | 9 +-
Documentation/media/uapi/v4l/pixfmt-007.rst | 175 ++--
2 files cha
pdflatex doesn't like gif images:
None:None: WARNING: no matching candidate for image URI
u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt.*'
None:None: WARNING: no matching candidate for image URI
u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt_example.*'
But it works fine with png. So,
pdflatex doesn't accept using some UTF-8 chars, like
"equal or less than" or "equal or greater than" chars. However,
the media documents use them. So, we need to use XeLaTeX for
conversion, and a font that accepts such characters.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/Makefile.s
-
PLEASE DO NOT APPLY THIS UPSTREAM
-
This hack addresses two issues with pdf generation from media
books:
1) Sphinx doesn't do the right thing if a block of code
is inside a table. This sounds a Sphinx bug. Perhaps it
can be f
Portrait is too small for some tables used at the media docs.
So, allow documents to tell Sphinx to generate some pages
in landscape by using:
.. raw:: latex
\begin{landscape}
.. raw:: latex
\end{landscape}
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/conf.py | 13 +++
The items at the sound carrier had a bullet. Those are not needed.
So, get rid of them.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/uapi/v4l/vidioc-enumstd.rst | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/Documentation/media/ua
Somehow, the conversion broke a reference here. Re-add it.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst
b/Documentation/media/uapi/v4l/
On Fri, Aug 12, 2016 at 4:48 PM, Daniel Vetter wrote:
> Move the documentation into Documentation/gpu, link it up and pull in
> the kernel doc.
>
> No actual text changes except that I did polish the kerneldoc a bit,
> especially for vga_client_register().
>
> v2: Remove some rst from vga-switcher
On 2016-08-15 09:57 AM, Robert Foss wrote:
On 2016-08-13 10:39 AM, Jann Horn wrote:
On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com
wrote:
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index aa27810..c55e1fe 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
On Fri, Aug 12, 2016 at 9:29 PM, Alexei Starovoitov
wrote:
[...]
>> +static bool range_in_ranges(struct net_range *r, struct net_ranges *rs)
>> +{
>> + int ri;
>> +
>> + for (ri = 0; ri < rs->num_entries; ri++)
>> + if (r->min_value >= rs->range[ri].min_value &&
>> +
On Fri, Aug 12, 2016 at 9:35 PM, Alexei Starovoitov
wrote:
[...]
>> * 'net.udp_usage': Reading this file gives the number of udp ports used by
>> processes in this cgroup and all its descendants.
>> * 'net.udp_limit': Writing this file sets the total number of udp ports
>> that can be used by proc
We store the size of the compressed segment, on the sector boundary. And later
use that location to determine the size of the compressed segment. However if
that location is corrupted for any reason we would'nt know. Hence add a
magicmarker to catch for such corruptions.
Signed-off-by: Ram Pai
--
If a read request is not within the device range return error.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 10 +-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index 17221a1..bf18028
The read path allocates a temporary buffer to hold decompressed data, which is
than copied into the caller's bio buffer.
Instead of allocating a temporary buffer to hold the decompressed data,
decompress the data in the caller's bio buffer. This can be done only if the
destination in the bio-buffe
Helper functions to allocate/reallocate and free memory.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index bf18028..c11567
Simplify the code by separating out the compression and decompression routines.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 127 +-
1 files changed, 71 insertions(+), 56 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/m
From: Shaohua Li
This is a simple DM target supporting inplace compression. Its best suited for
SSD. The underlying disk must support 512B sector size, the target only
supports 4k sector size.
Disk layout:
|super|...meta...|..data...|
Store unit is 4k (a block). Super is 1 block, which stores m
On an average the compressed size is less than 50% of the original buffer. Use
this knowledge to optimize the amount of space allocated to hold the compressed
buffer. If the allocated size is determined to be insufficient than reallocate
the required size.
Signed-off-by: Ram Pai
---
drivers/md/
if enough space is not available to create a block of the specified size error
out.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index
The read path allocates a temporary buffer each to hold compressed data and
decompressed data. The buffer to hold the decompressed data is not needed till
the compressed data is read from the device and is uncompressed.
Hence delay the allocation of decompress buffer till it is really needed.
Sig
Signed-off-by: Ram Pai
---
.../device-mapper/dm-inplace-compress.text | 138
1 files changed, 138 insertions(+), 0 deletions(-)
create mode 100644 Documentation/device-mapper/dm-inplace-compress.text
diff --git a/Documentation/device-mapper/dm-inplace-compress.text
Done to conserve as much free space as possible. Waiting to release till the
bio is done will unneccesarily hog up memory.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/drivers/md/dm-inplace-com
Consolidate code to set and get the state of a request.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 31 +--
1 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index b
Add parameters to monitor the memory efficiency of the module.
dm_icomp_total_alloc_size: total memory currently in use.
dm_icomp_total_bio_save: total memory allocation saved by the optimizations.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c | 36 +++
The read path
a) allocates a temporary buffer to hold the compressed data.
b) reads the compressed data into the temporary buffer.
c) decompresses the compressed data into the caller's bio-buffer.
We know that the caller's bio-buffer will be atleast as large as the compressed
data. So we could sa
No point doing it.
Signed-off-by: Ram Pai
---
drivers/md/dm-inplace-compress.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index 55a515b..31b144b 100644
--- a/drivers/md/dm-inplace-compress.c
+++ b/d
This patch series provides a generic device-mapper inplace compression device.
Originally written by Shaohua Li.
https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html
I have optimized the code and used it as a compressed swap device supporting
exterme levels of swap traffic using a
Ability to create a block device with a compression algorithm of the users
choice. Currently lzo and nx842 compressors are supported.
If the compressor algorithm is not specified the default setting in
/sys/modules/dm-inplace-compress/parameters/compress is used.
Signed-off-by: Ram Pai
---
driv
pdflatex doesn't like gif images:
None:None: WARNING: no matching candidate for image URI
u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt.*'
None:None: WARNING: no matching candidate for image URI
u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt_example.*'
But it works fine with png. So,
Somehow, the conversion broke a reference here. Re-add it.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst
b/Documentation/media/uapi/v4l/
On 2016-08-15 09:42 AM, Michal Hocko wrote:
On Mon 15-08-16 09:00:04, Robert Foss wrote:
On 2016-08-14 05:04 AM, Michal Hocko wrote:
On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote:
From: Robert Foss
This series implements /proc/PID/totmaps, a tool for retrieving summarized
inf
Enrich math formulas by using the Sphinx math. That will allow
using those formulas on pdf documents as well.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/conf.py | 9 +-
Documentation/media/uapi/v4l/pixfmt-007.rst | 175 ++--
2 files cha
Please, never apply this!
This hack comments out some stuff, in order to fix a few table outputs when
using Sphinx LaTeX output and pdflatex. Please notice that this *won't* fix
all bugs. A lot more similar hacks is needed, as it seems that Sphinx LaTeX
is broken for non-trivial tables.
Signed-of
The LaTeX output format doesn't support less or equal UTF-8
symbols. So, we need to get rid of them or to convert to
math expressions.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst | 2 +-
Documentation/media/uapi/v4l/dev-overlay.rst
On Mon, Aug 15, 2016 at 09:32:43AM -0600, Jonathan Corbet wrote:
> On Mon, 15 Aug 2016 10:49:36 -0400
> David Long wrote:
>
> > On 08/15/2016 10:25 AM, Jonathan Corbet wrote:
> > > On Fri, 12 Aug 2016 16:24:44 -0400
> > > David Long wrote:
> > >
> > >> Some architectures (i.e.: sparc64 and arm
On 08/15/2016 11:32 AM, Jonathan Corbet wrote:
On Mon, 15 Aug 2016 10:49:36 -0400
David Long wrote:
On 08/15/2016 10:25 AM, Jonathan Corbet wrote:
On Fri, 12 Aug 2016 16:24:44 -0400
David Long wrote:
Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack
duplication for
>>> A common type of bug to be aware of is "one err bugs" which look like this:
>>>
>>> -err:
>>> + err:
>>> kfree(foo->bar);
>>> kfree(foo);
>>> return ret;
>>>
>>> The bug in this code is that on some exit paths "foo" is NULL. Normally
>>> the
>>
>> ...except
On Mon, 15 Aug 2016 10:49:36 -0400
David Long wrote:
> On 08/15/2016 10:25 AM, Jonathan Corbet wrote:
> > On Fri, 12 Aug 2016 16:24:44 -0400
> > David Long wrote:
> >
> >> Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack
> >> duplication for jprobes problematic. Docum
From: Markus Heiser
Add a index if only a sub-folder is build e.g.::
make SPHINXDIRS=media cleandocs htmldocs
BTW: removed dead search link in the top-index file
Signed-off-by: Markus Heiser
---
Documentation/gpu/conf.py | 2 ++
Documentation/gpu/index.rst | 7 +++
Documentation/
On 8/11/2016 7:58 AM, Frederic Weisbecker wrote:
Arguably we should issue a boot time warning if NOHZ_FULL is configured
>and the TSC watchdog is running.
That's a very good idea! We do that when tsc is unstable but indeed we can't
seriously run NOHZ_FULL on a non-reliable tsc.
I'll take care o
On 8/11/2016 2:50 PM, Christoph Lameter wrote:
On Thu, 11 Aug 2016, Frederic Weisbecker wrote:
Do we need to quiesce vmstat everytime before entering userspace?
I thought that vmstat only need to be offlined once and for all?
Once is sufficient after disabling the tick.
It's true that task_i
On 08/15/2016 10:25 AM, Jonathan Corbet wrote:
On Fri, 12 Aug 2016 16:24:44 -0400
David Long wrote:
Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack
duplication for jprobes problematic. Document this.
Applied to the docs tree, thanks.
jon
Was kind of hoping to s
On Mon, Jun 27, 2016 at 09:47:38AM +0200, Andreas Schwab wrote:
> Yury Norov writes:
>
> > The only difference is that non-compat version forces O_LARGEFILE,
> > and it should be the default behaviour for all architectures, as
> > we don't support 32-bit off_t. The only exception is tile32, that
On Fri, 12 Aug 2016 16:24:44 -0400
David Long wrote:
> Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack
> duplication for jprobes problematic. Document this.
Applied to the docs tree, thanks.
jon
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" i
On 2016-08-13 10:39 AM, Jann Horn wrote:
On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote:
diff --git a/fs/proc/internal.h b/fs/proc/internal.h
index aa27810..c55e1fe 100644
--- a/fs/proc/internal.h
+++ b/fs/proc/internal.h
@@ -281,6 +281,7 @@ struct proc_maps_private
From: Markus Heiser
Moved the *duplicate C object description* warnings for function
declarations in the nitpicky mode. In nitpick mode, you can suppress
those warnings (e.g. ioctl) with::
nitpicky = True
nitpick_ignore = [
("c:func", "ioctl"),
]
See Sphinx documentation for the con
From: Markus Heiser
Add option 'name' to the "c:function:" directive. With option 'name'
the ref-name of a function can be modified. E.g.::
.. c:function:: int ioctl( int fd, int request )
:name: VIDIOC_LOG_STATUS
The func-name (e.g. ioctl) remains in the output but the ref-name
cha
From: Markus Heiser
This is only one example, demonstrating the benefits of the patch
series. The CEC_DQEVENT ioctl is migrated to the sphinx c-domain and
referred by ":name: CEC_DQEVENT".
With this change the indirection using ":ref:`CEC_DQEVENT` is no longer
needed, we can refer the ioctl dir
From: Markus Heiser
Hi,
this is my approach to eliminate some distortions we have with the c/cpp Sphinx
domains. The C domain is simple: it assumes that all functions, enums, etc
are global, e. g. there should be just one function called "ioctl", or "open".
With the 'name' option e.g.:
.. c
From: Markus Heiser
This reverts commit a88b1672d4ddf9895eb53e6980926d5e960dea8e.
>From the origin comit log::
The RST cpp:function handler is very pedantic: it doesn't allow any
macros like __user on it
Since the kernel-doc parser does NOT make use of the cpp:domain, there
is no need to c
From: Markus Heiser
Add a sphinx-extension to customize the sphinx c-domain. No functional
changes right yet, just the boilerplate code.
Signed-off-by: Markus Heiser
---
Documentation/conf.py | 2 +-
Documentation/sphinx/cdomain.py | 44 +
2
On Mon 15-08-16 09:00:04, Robert Foss wrote:
>
>
> On 2016-08-14 05:04 AM, Michal Hocko wrote:
> > On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote:
> > > From: Robert Foss
> > >
> > > This series implements /proc/PID/totmaps, a tool for retrieving summarized
> > > information about th
On 2016-08-14 05:04 AM, Michal Hocko wrote:
On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote:
From: Robert Foss
This series implements /proc/PID/totmaps, a tool for retrieving summarized
information about the mappings of a process.
The changelog is absolutely missing the usecase.
Am 22.07.2016 um 16:46 schrieb Mauro Carvalho Chehab :
> The RST cpp:function handler is very pedantic: it doesn't allow any
> macros like __user on it:
>
> Documentation/media/kapi/dtv-core.rst:28: WARNING: Error when parsing
> function declaration.
> If the function has no return
Em Mon, 15 Aug 2016 12:40:21 +0300
Jani Nikula escreveu:
> On Sat, 13 Aug 2016, Jonathan Corbet wrote:
> > On Wed, 10 Aug 2016 18:54:06 +0300
> > Jani Nikula wrote:
> >
> >> With these you should be able to get started with pdf generation. It's a
> >> quick transition to pdflatex, the patches
On Sat, 13 Aug 2016, Jonathan Corbet wrote:
> On Wed, 10 Aug 2016 18:54:06 +0300
> Jani Nikula wrote:
>
>> With these you should be able to get started with pdf generation. It's a
>> quick transition to pdflatex, the patches are not very pretty, but the
>> pdf output is. Patch 3/3 works as an exa
On Sat, Aug 13, 2016 at 06:17:03PM +0300, Yury Norov wrote:
> On Fri, Aug 12, 2016 at 03:36:12PM +0100, Catalin Marinas wrote:
> > On Thu, Aug 11, 2016 at 10:29:03PM +0200, Arnd Bergmann wrote:
> > > On Thursday, August 11, 2016 5:30:03 PM CEST Catalin Marinas wrote:
> > > > > > > and you can have
Am 14.08.2016 um 20:09 schrieb Jonathan Corbet :
> On Sat, 13 Aug 2016 16:12:41 +0200
> Markus Heiser wrote:
>
>> this series is a consolidation on Jon's docs-next branch. It merges the
>> "sphinx
>> sub-folders" patch [1] and the "parseheaders directive" patch [2] on top of
>> Jon's docs-next
69 matches
Mail list logo