[PATCH AUTOSEL 4.19 29/44] x86/earlyprintk: Add a force option for pciserial device

2018-11-12 Thread Sasha Levin
From: Feng Tang [ Upstream commit d2266bbfa9e3e32e3b642965088ca461bd24a94f ] The "pciserial" earlyprintk variant helps much on many modern x86 platforms, but unfortunately there are still some platforms with PCI UART devices which have the wrong PCI class code. In that case, the current class co

[PATCH AUTOSEL 4.18 27/39] x86/earlyprintk: Add a force option for pciserial device

2018-11-12 Thread Sasha Levin
From: Feng Tang [ Upstream commit d2266bbfa9e3e32e3b642965088ca461bd24a94f ] The "pciserial" earlyprintk variant helps much on many modern x86 platforms, but unfortunately there are still some platforms with PCI UART devices which have the wrong PCI class code. In that case, the current class co

Re: [PATCH 2/2] clk: bd718x7: Initial support for ROHM bd71837/bd71847 PMIC clock

2018-11-12 Thread Stephen Boyd
Quoting Matti Vaittinen (2018-11-11 23:45:53) > Hello Stephen & All, > > On Mon, Sep 03, 2018 at 09:38:43AM +0300, Matti Vaittinen wrote: > > > > On Sat, Sep 01, 2018 at 12:13:26PM -0700, Stephen Boyd wrote: > > > Quoting Matti Vaittinen (2018-08-31 03:21:23) > > > > Hello All, > > > > > > > > J

[PATCH AUTOSEL 4.14 20/26] x86/earlyprintk: Add a force option for pciserial device

2018-11-12 Thread Sasha Levin
From: Feng Tang [ Upstream commit d2266bbfa9e3e32e3b642965088ca461bd24a94f ] The "pciserial" earlyprintk variant helps much on many modern x86 platforms, but unfortunately there are still some platforms with PCI UART devices which have the wrong PCI class code. In that case, the current class co

[PATCH AUTOSEL 4.19 40/44] mm: don't raise MEMCG_OOM event due to failed high-order allocation

2018-11-12 Thread Sasha Levin
From: Roman Gushchin [ Upstream commit 7a1adfddaf0d11a39fdcaf6e82a88e9c0586e08b ] It was reported that on some of our machines containers were restarted with OOM symptoms without an obvious reason. Despite there were almost no memory pressure and plenty of page cache, MEMCG_OOM event was raised

Re: [PATCH] hwmon (ina3221) Add single-shot mode support

2018-11-12 Thread Nicolin Chen
Hi Guenter, On Mon, Nov 12, 2018 at 08:32:48PM -0800, Guenter Roeck wrote: > On Mon, Nov 12, 2018 at 08:23:53PM -0800, Nicolin Chen wrote: > > INA3221 supports both continuous and single-shot modes. When > > running in the continuous mode, it keeps measuring the inputs > > and converting them to t

Re: [PATCH] hwmon (ina3221) Add single-shot mode support

2018-11-12 Thread Guenter Roeck
On Mon, Nov 12, 2018 at 08:23:53PM -0800, Nicolin Chen wrote: > INA3221 supports both continuous and single-shot modes. When > running in the continuous mode, it keeps measuring the inputs > and converting them to the data register even if there are no > users reading the data out. In this use case

[PATCH] hwmon (ina3221) Add single-shot mode support

2018-11-12 Thread Nicolin Chen
INA3221 supports both continuous and single-shot modes. When running in the continuous mode, it keeps measuring the inputs and converting them to the data register even if there are no users reading the data out. In this use case, this could be a power waste. So this patch adds a single-shot mode

Re: [PATCH V3] KSM: allow dedup all tasks memory

2018-11-12 Thread Pavel Tatashin
On 18-11-13 02:13:44, Timofey Titovets wrote: > From: Timofey Titovets > > ksm by default working only on memory that added by > madvise(). > > And only way get that work on other applications: > * Use LD_PRELOAD and libraries > * Patch kernel > > Lets use kernel task list and add logic to

Re: [PATCH 4/7] doc: Indicate that xtensa supports sg-chain

2018-11-12 Thread Max Filippov
On Mon, Nov 12, 2018 at 6:03 PM Palmer Dabbelt wrote: > > This was suggested by features-refresh.sh > > Signed-off-by: Palmer Dabbelt > --- > Documentation/features/io/sg-chain/arch-support.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Max Filippov -- Thanks. -- Max

Re: [PATCH v3 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings

2018-11-12 Thread Rob Herring
On Thu, Nov 08, 2018 at 05:14:10PM +, Vitor soares wrote: > Document Synopsys DesignWare I3C master module > > Signed-off-by: Vitor soares Please make your author and S-o-b emails match. > --- > Changes in v3: > - Remove dummy characters > > Changes in v2: > - Address the changes in Docume

[PATCH 1/7] doc: features-refresh.sh for csky

2018-11-12 Thread Palmer Dabbelt
Signed-off-by: Palmer Dabbelt --- Documentation/features/core/cBPF-JIT/arch-support.txt| 1 + Documentation/features/core/eBPF-JIT/arch-support.txt| 1 + Documentation/features/core/generic-idle-thread/arch-support.txt | 1 + Documentation/features/core/jump-labels/arch-su

[PATCH 4/7] doc: Indicate that xtensa supports sg-chain

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- Documentation/features/io/sg-chain/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/io/sg-chain/arch-support.txt b/Documentation/features/io/sg-chain/arch-suppo

[PATCH 3/7] doc: Indicate that powerpc supports stackprotector

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- Documentation/features/debug/stackprotector/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/debug/stackprotector/arch-support.txt b/Documentation/features/debu

[PATCH 7/7] doc: Indicate that RISC-V support pte_special

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- Documentation/features/vm/pte_special/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/vm/pte_special/arch-support.txt b/Documentation/features/vm/pte_special/a

[PATCH 6/7] doc: Indicate that parisc supports kprobes-events

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- Documentation/features/perf/kprobes-event/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/perf/kprobes-event/arch-support.txt b/Documentation/features/perf/kpr

[PATCH 5/7] doc: Indicate that arm64 support queued-spinlocks

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- .../features/locking/queued-spinlocks/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/locking/queued-spinlocks/arch-support.txt b/Documentation/featur

Re-run features-refresh.sh

2018-11-12 Thread Palmer Dabbelt
I didn't even know this existed until David submitted a patch set that included updates to the documentation as a result of some features he added to RISC-V. It looks like there may be a handful of other people who don't know this exists either, so I figured I'd just mail out a patch set containin

[PATCH 2/7] doc: Indicate that s390 supports KASAN

2018-11-12 Thread Palmer Dabbelt
This was suggested by features-refresh.sh Signed-off-by: Palmer Dabbelt --- Documentation/features/debug/KASAN/arch-support.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/features/debug/KASAN/arch-support.txt b/Documentation/features/debug/KASAN/arch-suppo

Re: [PATCH 01/12] kernfs: add function to find kernfs_node without increasing ref counter

2018-11-12 Thread Matthew Wilcox
On Mon, Nov 12, 2018 at 04:28:40AM -0800, Greg Kroah-Hartman wrote: > On Mon, Nov 12, 2018 at 10:56:21AM +0100, Paolo Valente wrote: > > From: Angelo Ruocco > > > > The kernfs pseudo file system doesn't export any function to only find > > a node by name, without also getting a reference on it. >

Re: [PATCH V3] KSM: allow dedup all tasks memory

2018-11-12 Thread Matthew Wilcox
On Tue, Nov 13, 2018 at 02:13:44AM +0300, Timofey Titovets wrote: > Some numbers from different not madvised workloads. > Formulas: > Percentage ratio = (pages_sharing - pages_shared)/pages_unshared > Memory saved = (pages_sharing - pages_shared)*4/1024 MiB > Memory used = free -h > > * Na

Re: [RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-12 Thread Leon Romanovsky
On Mon, Nov 12, 2018 at 03:58:02PM +0800, Kenneth Lee wrote: > From: Kenneth Lee > > WarpDrive is a general accelerator framework for the user application to > access the hardware without going through the kernel in data path. > > The kernel component to provide kernel facility to driver for expos

[PATCH V3] KSM: allow dedup all tasks memory

2018-11-12 Thread Timofey Titovets
From: Timofey Titovets ksm by default working only on memory that added by madvise(). And only way get that work on other applications: * Use LD_PRELOAD and libraries * Patch kernel Lets use kernel task list and add logic to import VMAs from tasks. That behaviour controlled by new attribut

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Moger, Babu
On 11/12/18 1:46 PM, Borislav Petkov wrote: > On Mon, Nov 12, 2018 at 07:25:02PM +, Moger, Babu wrote: @@ -637,10 +637,11 @@ int rdt_get_mon_l3_config(struct rdt_resource *r) * * For a 35MB LLC and 56 RMIDs, this is ~1.8% of the LLC. */ - intel_cqm_thresh

Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES

2018-11-12 Thread Geoff Levand
Hi Everyone, On 11/12/2018 04:57 AM, Michael Ellerman wrote: > But maybe Geoff has a better feel for how many people (other than him) > are still running upstream on PS3s. There are still PS3 users out there. They are hobbyists who generally don't post to Linux kernel mailing lists. I usually g

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Borislav Petkov
On Mon, Nov 12, 2018 at 07:25:02PM +, Moger, Babu wrote: > >> @@ -637,10 +637,11 @@ int rdt_get_mon_l3_config(struct rdt_resource *r) > >> * > >> * For a 35MB LLC and 56 RMIDs, this is ~1.8% of the LLC. > >> */ > >> - intel_cqm_threshold = boot_cpu_data.x86_cache_size * 1024 / r->n

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Moger, Babu
Boris, On 11/12/18 11:56 AM, Borislav Petkov wrote: > On Fri, Nov 09, 2018 at 08:52:27PM +, Moger, Babu wrote: >> As AMD is starting to support RDT(or QOS) features, rename >> the RDT functions and definitions to more generic names. >> >> Replace intel_rdt to resctrl where applicable. >> >> Si

Re: [PATCH v7 01/13] arch/x86: Start renaming the rdt files to more generic names

2018-11-12 Thread Moger, Babu
On 11/12/18 11:16 AM, Borislav Petkov wrote: > > Subject: [PATCH v7 01/13] arch/x86: Start renaming the rdt files to more > generic names > > I guess the subject prefix for all those should be "arch/resctrl:" or so now. Ok. Will change it. > > On Fri, Nov 09, 2018 at 08:52:25PM +, Moge

Re: [PATCH v10 05/22] kasan: add CONFIG_KASAN_GENERIC and CONFIG_KASAN_SW_TAGS

2018-11-12 Thread Andrey Konovalov
On Wed, Nov 7, 2018 at 6:04 PM, Mark Rutland wrote: > On Tue, Nov 06, 2018 at 06:30:20PM +0100, Andrey Konovalov wrote: >> This commit splits the current CONFIG_KASAN config option into two: >> 1. CONFIG_KASAN_GENERIC, that enables the generic KASAN mode (the one >>that exists now); >> 2. CONF

Re: [PATCH v8 2/2] overlayfs: override_creds=off option bypass creator_cred

2018-11-12 Thread Mark Salyzyn
On 11/09/2018 11:51 PM, Amir Goldstein wrote: On Fri, Nov 9, 2018 at 7:32 PM Mark Salyzyn wrote: On 11/08/2018 07:05 PM, Amir Goldstein wrote: Mark, I have some Android internals background, so I have a general understanding of the use case, but I can understand why people have a hard time co

Re: [PATCH v7 02/13] arch/x86: Rename the RDT functions and definitions

2018-11-12 Thread Borislav Petkov
On Fri, Nov 09, 2018 at 08:52:27PM +, Moger, Babu wrote: > As AMD is starting to support RDT(or QOS) features, rename > the RDT functions and definitions to more generic names. > > Replace intel_rdt to resctrl where applicable. > > Signed-off-by: Babu Moger > --- > arch/x86/include/asm/resc

Re: [PATCH v10 06/22] kasan, arm64: adjust shadow size for tag-based mode

2018-11-12 Thread Andrey Konovalov
On Wed, Nov 7, 2018 at 5:54 PM, Mark Rutland wrote: [...] >> --- a/arch/arm64/Makefile >> +++ b/arch/arm64/Makefile >> @@ -94,7 +94,7 @@ endif >> # KASAN_SHADOW_OFFSET = VA_START + (1 << (VA_BITS - >> KASAN_SHADOW_SCALE_SHIFT)) >> # - (1 << (64 - KASAN_SHADOW_SCALE

Re: [PATCH v7 01/13] arch/x86: Start renaming the rdt files to more generic names

2018-11-12 Thread Borislav Petkov
Subject: [PATCH v7 01/13] arch/x86: Start renaming the rdt files to more generic names I guess the subject prefix for all those should be "arch/resctrl:" or so now. On Fri, Nov 09, 2018 at 08:52:25PM +, Moger, Babu wrote: > New generation of AMD processors start supporting RDT(or QOS) fea

Re: [PATCH v6 00/10] hwmon and fsi: Add On-Chip Controller Driver

2018-11-12 Thread Eddie James
On 11/09/2018 05:03 PM, Guenter Roeck wrote: On Thu, Nov 08, 2018 at 03:05:19PM -0600, Eddie James wrote: From: Eddie James This series adds a hwmon driver to support the OCC on POWER8 and POWER9 processors. The OCC is an embedded processor that provides realtime power and thermal monitorin

Re: [PATCH v2] ksm: allow dedup all tasks memory

2018-11-12 Thread Timofey Titovets
пн, 12 нояб. 2018 г. в 6:58, Matthew Wilcox : > > On Mon, Nov 12, 2018 at 12:26:10AM +0300, Timofey Titovets wrote: > > ksm by default working only on memory that added by > > madvice(). > > > > And only way get that work on other applications: > > - Use LD_PRELOAD and libraries > > - Patch kerne

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Jens Axboe
On 11/12/18 8:54 AM, Josef Bacik wrote: > On Mon, Nov 12, 2018 at 08:48:35AM -0700, Jens Axboe wrote: >> On 11/12/18 8:45 AM, Paolo Valente wrote: >>> BTW, since this patch series is probably even more useful for older >>> than for future kernels, might it make sense to also propose it for >>> stab

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Josef Bacik
On Mon, Nov 12, 2018 at 08:48:35AM -0700, Jens Axboe wrote: > On 11/12/18 8:45 AM, Paolo Valente wrote: > > BTW, since this patch series is probably even more useful for older > > than for future kernels, might it make sense to also propose it for > > stable/longterm kernels (provided that such a p

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Jens Axboe
On 11/12/18 8:45 AM, Paolo Valente wrote: > BTW, since this patch series is probably even more useful for older > than for future kernels, might it make sense to also propose it for > stable/longterm kernels (provided that such a possibility exists)? That just not how things work, we don't put dif

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Paolo Valente
> Il giorno 12 nov 2018, alle ore 16:35, Jens Axboe ha > scritto: > > On 11/12/18 3:17 AM, Paolo Valente wrote: >> >> >>> Il giorno 12 nov 2018, alle ore 11:00, Oleksandr Natalenko >>> ha scritto: >>> >>> On 12.11.2018 10:56, Paolo Valente wrote: Hi Jens, Tejun, all, about nine

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Jens Axboe
On 11/12/18 3:17 AM, Paolo Valente wrote: > > >> Il giorno 12 nov 2018, alle ore 11:00, Oleksandr Natalenko >> ha scritto: >> >> On 12.11.2018 10:56, Paolo Valente wrote: >>> Hi Jens, Tejun, all, >>> about nine months ago, we agreed on a solution for unifying the >>> interface of the proportion

Re: [PATCH] Documentation: fix spelling mistake, EACCESS -> EACCES

2018-11-12 Thread Michael Ellerman
Jeremy Kerr writes: > Hi Jon, > >>> Signed-off-by: Colin Ian King >>> --- >>> Documentation/filesystems/spufs.txt | 2 +- >>> Documentation/gpu/drm-uapi.rst | 4 ++-- >>> 2 files changed, 3 insertions(+), 3 deletions(-) >> >> Applied, thanks. >> >> This is the first patch to spufs.txt

Re: [PATCH 01/12] kernfs: add function to find kernfs_node without increasing ref counter

2018-11-12 Thread Greg Kroah-Hartman
On Mon, Nov 12, 2018 at 10:56:21AM +0100, Paolo Valente wrote: > From: Angelo Ruocco > > The kernfs pseudo file system doesn't export any function to only find > a node by name, without also getting a reference on it. > But in some cases it is useful to just locate a kernfs node, while > using it

Re: [PATCH v3 1/2] kretprobe: produce sane stack traces

2018-11-12 Thread Aleksa Sarai
On 2018-11-11, Masami Hiramatsu wrote: > > > > + addr = kretprobe_ret_addr(current, addr, > > > > stack_addr(regs)); > > > > > > But since kretprobe will be an event, which can kick the stackdump. > > > BTW, from kretprobe, regs->ip should always be the trampoline handler, > > > s

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Paolo Valente
> Il giorno 12 nov 2018, alle ore 11:00, Oleksandr Natalenko > ha scritto: > > On 12.11.2018 10:56, Paolo Valente wrote: >> Hi Jens, Tejun, all, >> about nine months ago, we agreed on a solution for unifying the >> interface of the proportional-share policy in blkio/io [1]. Angelo >> and I f

Inquiry 12/11/2018

2018-11-12 Thread sinara-group
Hi,friend, This is Daniel Murray and i am from Sinara Group Co.Ltd Group Co.,LTD in Russia. We are glad to know about your company from the web and we are interested in your products. Could you kindly send us your Latest catalog and price list for our trial order. Best Regards, Daniel Murray

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Oleksandr Natalenko
On 12.11.2018 11:00, Oleksandr Natalenko wrote: I thought all the legacy stuff including CFS et al. is going to be removed in v4.21 completely… Paolo, [1] and [2]. [1] http://git.kernel.dk/cgit/linux-block/log/?h=for-4.21/block [2] http://git.kernel.dk/cgit/linux-block/commit/?h=for-4.21/bloc

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Oleksandr Natalenko
On 12.11.2018 10:56, Paolo Valente wrote: Hi Jens, Tejun, all, about nine months ago, we agreed on a solution for unifying the interface of the proportional-share policy in blkio/io [1]. Angelo and I finally completed it. Let me briefly recall the problem and the solution. The current implemen

Re: [PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Paolo Valente
Forgot to CC Lennart, sorry. > Il giorno 12 nov 2018, alle ore 10:56, Paolo Valente > ha scritto: > > Hi Jens, Tejun, all, > about nine months ago, we agreed on a solution for unifying the > interface of the proportional-share policy in blkio/io [1]. Angelo > and I finally completed it. Let m

[PATCH 05/12] cgroup: add owner name to cftypes

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco The piece of information "who created a certain cftype" is not stored anywhere, thus a cftype is not able to know who is its owner. This commit addresses this problem by adding a new field in the cftype structure that enables the name of its owner to be explicitly set. Signe

[PATCH 00/12] unify the interface of the proportional-share policy in blkio/io

2018-11-12 Thread Paolo Valente
Hi Jens, Tejun, all, about nine months ago, we agreed on a solution for unifying the interface of the proportional-share policy in blkio/io [1]. Angelo and I finally completed it. Let me briefly recall the problem and the solution. The current implementation of cgroups doesn't allow two or more

[PATCH 03/12] block, cgroup: pass cftype to functions that need to use it

2018-11-12 Thread Paolo Valente
Some seq_show functions need to access the cftype they belong to, for retrieving the data to show. These functions get their cftype by using the seq_cft accessor for the seq_file. This solution is no longer viable in case a seq_file is shared among more than one cftype, because the accessor always

[PATCH 04/12] cgroup: link cftypes of the same subsystem with the same name

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco When a cgroup policy is activated, it creates its files in its subsystem directory. Two policies are not able to create a file with the same name: if a policy tries to create a file that has the same name as a file created by another policy, the cgroup core stops it, warns the

[PATCH 07/12] cgroup: make all functions of all cftypes be invoked

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco When two or more policies share a file their respective cftypes are linked together. The allowed operations on those files are: open, release, write and show, mapped to the functions defined in the cftypes. This commit makes the cgroup core invoke, whenever one of those opera

[PATCH 01/12] kernfs: add function to find kernfs_node without increasing ref counter

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco The kernfs pseudo file system doesn't export any function to only find a node by name, without also getting a reference on it. But in some cases it is useful to just locate a kernfs node, while using it or not depends on some other condition. This commit adds a function to ju

[PATCH 02/12] cgroup: add hook seq_show_cft with also the owning cftype as parameter

2018-11-12 Thread Paolo Valente
The current implementation of the seq_show hook in the cftype struct has only, as parameters, the seq_file to write to and the arguments passed by the command line. Thus, the only way to retrieve the cftype that owns an instance of such hook function is by using the accessor in the seq_file itself.

[PATCH 10/12] block, throttle: allow sharing cgroup statistic files

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco Some of the cgroup files defined in the throttle policy have the same meaning as those defined in the proportional share policy. This commit uses the new file sharing interface in cgroup to share these files. Signed-off-by: Angelo Ruocco Signed-off-by: Paolo Valente --- b

[PATCH 11/12] doc, bfq-iosched: fix a few clerical errors

2018-11-12 Thread Paolo Valente
This commit fixes a few clerical errors in Documentation/block/bfq-iosched.txt. Signed-off-by: Paolo Valente --- Documentation/block/bfq-iosched.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/block/bfq-iosched.txt b/Documentation/block/bfq-iosched.tx

[PATCH 12/12] doc, bfq-iosched: make it consistent with the new cgroup interface

2018-11-12 Thread Paolo Valente
BFQ now shares interface files with CFQ, for the proportional-share policy. Make documentation consistent with that. Signed-off-by: Paolo Valente --- Documentation/block/bfq-iosched.txt | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/Documentation/

[PATCH 09/12] block, bfq: use standard file names for the proportional-share policy

2018-11-12 Thread Paolo Valente
Some of the files exposed in a cgroup by bfq, for the proportional share policy, have the same meaning as the files owned by cfq. The old implementation of the cgroup interface didn't allow different entities to create cgroup files with the same name (in the same subsystem). So, for bfq, we had to

[PATCH 06/12] block, bfq: align min and default weights with cfq

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco The I/O schedulers bfq and cfq expose a cgroup attribute with the same meaning: weight. This commit changes bfq default and min weights to match the ones set by cfq. Signed-off-by: Angelo Ruocco Signed-off-by: Paolo Valente --- block/bfq-iosched.h | 4 ++-- 1 file changed

[PATCH 08/12] block, cfq: allow cgroup files to be shared

2018-11-12 Thread Paolo Valente
From: Angelo Ruocco Some of the files exposed in a cgroup by cfq have the same meaning as the files exposed by bfq and throttle. This commit allows these files to be shared. Signed-off-by: Angelo Ruocco Signed-off-by: Paolo Valente --- block/cfq-iosched.c | 49 +++

Re: [PATCH v3 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings

2018-11-12 Thread Boris Brezillon
On Thu, 8 Nov 2018 17:14:10 + Vitor soares wrote: > Document Synopsys DesignWare I3C master module > > Signed-off-by: Vitor soares > --- > Changes in v3: > - Remove dummy characters > > Changes in v2: > - Address the changes in Documentation/devicetree/bindings/i3c/i3c.txt > - Add control

Re: [PATCH v3 0/3] Add driver for Synopsys DesignWare I3C master IP

2018-11-12 Thread Boris Brezillon
On Thu, 8 Nov 2018 17:14:08 + Vitor soares wrote: > This patch series is a proposal for the I3C master driver for Synopsys IP. > This patch is to be applied on top of I3C subsystem RFC V10 submitted by > Boris Brezillon. The patch series looks to me. I'm just waiting an ack from Rob on the

Re: [PATCH v2 06/11] arm64: dts: exynos5433: add support for thermal trip irq-mode

2018-11-12 Thread Krzysztof Kozlowski
Thanks Lukasz for patches. I like your work! I have few more comments which will probably apply for all the DTS commits. On Wed, 7 Nov 2018 at 18:10, Lukasz Luba wrote: > > This patch adds support for new flag which indicates This patch does not add support. Support for flag was added in your f

Re: [PATCH v2 05/11] Doc: DT: thermal: new irq-mode for trip point

2018-11-12 Thread Krzysztof Kozlowski
On Wed, 7 Nov 2018 at 18:10, Lukasz Luba wrote: > Subject prefix: dt-bindings: thermal: > Thermal trip point gets new flag in DT: irq-mode. > Trip point may have a new explicit flag which indicate > IRQ support when the temperature is met (so the thermal framework > deos not need to set polling

[RFCv3 PATCH 6/6] uacce: add user sample for uacce/warpdrive

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee This is the sample code to demostrate how WarpDrive user application should be. (Uacce is the kernel component for WarpDrive.) It contains: 1. wd.[ch]: the common library to provide WrapDrive interface. 2. wd_adaptor.[ch]: the adaptor for wd to call different user drivers 3. d

[RFCv3 PATCH 5/6] crypto: add uacce support to Hisilicon qm

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee This patch add uacce support to the Hislicon QM driver, any accelerator that use QM can share its queues to the user space. Signed-off-by: Kenneth Lee Signed-off-by: Zhou Wang Signed-off-by: Hao Fang Signed-off-by: Zaibo Xu --- drivers/crypto/hisilicon/Kconfig| 7

[RFCv3 PATCH 3/6] crypto/hisilicon: add hisilicon Queue Manager driver

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee Hisilicon QM is a general IP used by some Hisilicon accelerators. It provides a general PCIE device interface for the CPU and the accelerator to share a group of queues. QM is implemented as an End Point of the virtual PCI-E bus in Hisilicon SoC. It is actually a interface wrap

[RFCv3 PATCH 4/6] crypto/hisilicon: add Hisilicon zip driver

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee The Hisilicon ZIP accelerator implements the zlib and gzip algorithm. It uses Hisilicon QM as the interface to the CPU. This patch provides PCIE driver to the accelerator and register it to the crypto subsystem. Signed-off-by: Kenneth Lee Signed-off-by: Zhou Wang Signed-off-

[RFCv3 PATCH 2/6] uacce: add uacce module

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee Uacce is the kernel component to support WarpDrive accelerator framework. It provides register/unregister interface for device drivers to expose their hardware resource to the user space. The resource is taken as "queue" in WarpDrive. Uacce create a chrdev for every registratio

[RFCv3 PATCH 1/6] uacce: Add documents for WarpDrive/uacce

2018-11-12 Thread Kenneth Lee
From: Kenneth Lee WarpDrive is a general accelerator framework for the user application to access the hardware without going through the kernel in data path. The kernel component to provide kernel facility to driver for expose the user interface is called uacce. It a short name for "Unified/User