Re: [PATCH v12 04/13] mfd: Add Ingenic TCU driver

2019-06-27 Thread Paul Cercueil
Le jeu. 27 juin 2019 à 8:58, Lee Jones a écrit : On Wed, 26 Jun 2019, Paul Cercueil wrote: Le mer. 26 juin 2019 à 15:18, Lee Jones a écrit : > On Tue, 21 May 2019, Paul Cercueil wrote: > > > This driver will provide a regmap that can be retrieved very early > > in > > the boot p

Re: [PATCH v12 04/13] mfd: Add Ingenic TCU driver

2019-06-27 Thread Lee Jones
On Thu, 27 Jun 2019, Paul Cercueil wrote: > Le jeu. 27 juin 2019 à 8:58, Lee Jones a écrit : > > On Wed, 26 Jun 2019, Paul Cercueil wrote: > > > Le mer. 26 juin 2019 à 15:18, Lee Jones a > > > écrit : > > > > On Tue, 21 May 2019, Paul Cercueil wrote: > > > > > > > > > This driver will provid

Re: [PATCH v12 04/13] mfd: Add Ingenic TCU driver

2019-06-27 Thread Paul Cercueil
Le jeu. 27 juin 2019 à 11:01, Lee Jones a écrit : On Thu, 27 Jun 2019, Paul Cercueil wrote: Le jeu. 27 juin 2019 à 8:58, Lee Jones a écrit : > On Wed, 26 Jun 2019, Paul Cercueil wrote: > > Le mer. 26 juin 2019 à 15:18, Lee Jones a > > écrit : > > > On Tue, 21 May 2019, Paul Cerc

Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-06-27 Thread Dave Martin
On Wed, Jun 26, 2019 at 10:14:07AM -0700, Andy Lutomirski wrote: > On Thu, May 2, 2019 at 4:10 AM Dave Martin wrote: [...] > > A couple of questions before I look in more detail: > > > > 1) Can we rely on PT_GNU_PROPERTY being present in the phdrs to describe > > the NT_GNU_PROPERTY_TYPE_0 note?

Re: [PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-06-27 Thread Florian Weimer
* Andy Lutomirski: > Also, I don't think there's any actual requirement that the upstream > kernel recognize existing CET-enabled RHEL 8 binaries as being > CET-enabled. I tend to think that RHEL 8 jumped the gun here. The ABI was supposed to be finalized and everyone involved thought it had bee

Re: [PATCH 12/14] doc-rst: add ABI documentation to the admin-guide book

2019-06-27 Thread Jani Nikula
On Fri, 21 Jun 2019, Mauro Carvalho Chehab wrote: > Em Wed, 19 Jun 2019 13:37:39 -0300 > Mauro Carvalho Chehab escreveu: > >> Em Tue, 18 Jun 2019 11:47:32 +0300 >> Jani Nikula escreveu: >> >> > On Mon, 17 Jun 2019, Mauro Carvalho Chehab >> > wrote: >> > > Yeah, I guess it should be possible

Re: [PATCH 2/2] drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver.

2019-06-27 Thread Will Deacon
Hi Ganapat, On Fri, Jun 14, 2019 at 05:42:46PM +, Ganapatrao Kulkarni wrote: > CCPI2 is a low-latency high-bandwidth serial interface for connecting > ThunderX2 processors. This patch adds support to capture CCPI2 perf events. > > Signed-off-by: Ganapatrao Kulkarni > --- > drivers/perf/thun

Re: [PATCH 1/2] Documentation: perf: Update documentation for ThunderX2 PMU uncore driver

2019-06-27 Thread Will Deacon
On Fri, Jun 14, 2019 at 05:42:45PM +, Ganapatrao Kulkarni wrote: > From: Ganapatrao Kulkarni > > Add documentation for Cavium Coherent Processor Interconnect (CCPI2) PMU. > > Signed-off-by: Ganapatrao Kulkarni > --- > Documentation/perf/thunderx2-pmu.txt | 20 +++- > 1 file

Re: [PATCH 0/2] arm64: Introduce boot parameter to disable TLB flush instruction within the same inner shareable domain

2019-06-27 Thread Will Deacon
On Mon, Jun 24, 2019 at 10:34:02AM +, qi.f...@fujitsu.com wrote: > On 6/18/19 2:03 AM, Will Deacon wrote: > > On Mon, Jun 17, 2019 at 11:32:53PM +0900, Takao Indoh wrote: > >> From: Takao Indoh > >> > >> I found a performance issue related on the implementation of Linux's TLB > >> flush for ar

Re: [PATCH 12/14] doc-rst: add ABI documentation to the admin-guide book

2019-06-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Jun 2019 12:48:12 +0300 Jani Nikula escreveu: > On Fri, 21 Jun 2019, Mauro Carvalho Chehab wrote: > > Em Wed, 19 Jun 2019 13:37:39 -0300 > > Mauro Carvalho Chehab escreveu: > > > >> Em Tue, 18 Jun 2019 11:47:32 +0300 > >> Jani Nikula escreveu: > >> > >> > On Mon, 17 Jun 2019, M

Re: [PATCH v2 2/4] kbuild: do not create wrappers for header-test-y

2019-06-27 Thread Jani Nikula
On Thu, 27 Jun 2019, Masahiro Yamada wrote: > header-test-y does not work with headers in sub-directories. > > For example, you can write a Makefile, like this: > > include/linux/Kbuild: > > header-test-y += mtd/nand.h > > This entry creates a wrapper include/linux/mtd/nand.hdrtest.c with > the

Re: [PATCH v2 3/4] kbuild: support header-test-pattern-y

2019-06-27 Thread Jani Nikula
On Thu, 27 Jun 2019, Masahiro Yamada wrote: > In my view, most of headers can be self-contained. So, it would be > tedious to add every header to header-test-y explicitly. We usually > end up with "all headers with some exceptions". > > There are two types in exceptions: > > [1] headers that are n

Re: [PATCH v2 0/4] Compile-test UAPI and kernel headers

2019-06-27 Thread Jani Nikula
On Thu, 27 Jun 2019, Masahiro Yamada wrote: > 1/4: reworked v2. > > 2/4: fix a flaw I noticed when I was working on this series > > 3/4: maybe useful for 4/4 and in some other places > > 4/4: v2. compile as many headers as possible. > > > Changes in v2: > - Add CONFIG_CPU_{BIG,LITTLE}_ENDIAN guar

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > You've used so much on this so shouldn't this have that somewhat new > > co-developed-by tag? I'm also wondering can this work at all > > Honestly, I've just been massaging this patch more than "authoring" it. > If you feel strongly about i

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Thu, 2019-06-27 at 16:17 +0300, Jarkko Sakkinen wrote: > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've just been massaging

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Ilias Apalodimas
Hi Jarkko, > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've just been massaging this patch more than "authoring" it. > > If yo

[PATCH] docs: format kernel-parameters -- as code

2019-06-27 Thread Stephen Kitt
The current ReStructuredText formatting results in "--", used to indicate the end of the kernel command-line parameters, appearing as an en-dash instead of two hyphens; this patch formats them as code, "``--``", as done elsewhere in the documentation. Signed-off-by: Stephen Kitt --- Documentatio

Re: [Linux-kernel-mentees][PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts to reST

2019-06-27 Thread Jonathan Corbet
On Wed, 26 Jun 2019 15:07:01 -0500 Jiunn Chang wrote: > RCU basic concepts reST markup. > > Signed-off-by: Jiunn Chang > Reviewed-by: Joel Fernandes (Google) So this is a little detail but ... your signoff should be the last thing in the set of tags on the patch. This isn't worth making you

Re: [PATCH 1/2] mm, memcontrol: Add memcg_iterate_all()

2019-06-27 Thread Michal Hocko
On Mon 24-06-19 13:42:18, Waiman Long wrote: > Add a memcg_iterate_all() function for iterating all the available > memory cgroups and call the given callback function for each of the > memory cgruops. Why is a trivial wrapper any better than open coded usage of the iterator? > Signed-off-by: Wai

Re: [Linux-kernel-mentees][PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts to reST

2019-06-27 Thread Steven Rostedt
On Thu, 27 Jun 2019 08:34:43 -0600 Jonathan Corbet wrote: > On Wed, 26 Jun 2019 15:07:01 -0500 > Jiunn Chang wrote: > > > RCU basic concepts reST markup. > > > > Signed-off-by: Jiunn Chang > > Reviewed-by: Joel Fernandes (Google) > > So this is a little detail but ... your signoff should

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Michal Hocko
On Mon 24-06-19 13:42:19, Waiman Long wrote: > With the slub memory allocator, the numbers of active slab objects > reported in /proc/slabinfo are not real because they include objects > that are held by the per-cpu slab structures whether they are actually > used or not. The problem gets worse th

Re: [PATCH 1/2] Documentation: perf: Update documentation for ThunderX2 PMU uncore driver

2019-06-27 Thread Will Deacon
On Thu, Jun 27, 2019 at 11:01:18AM +0100, Will Deacon wrote: > On Fri, Jun 14, 2019 at 05:42:45PM +, Ganapatrao Kulkarni wrote: > > From: Ganapatrao Kulkarni > > > > Add documentation for Cavium Coherent Processor Interconnect (CCPI2) PMU. > > > > Signed-off-by: Ganapatrao Kulkarni > > ---

Re: [Linux-kernel-mentees][PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts to reST

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 08:34:43AM -0600, Jonathan Corbet wrote: > On Wed, 26 Jun 2019 15:07:01 -0500 > Jiunn Chang wrote: > > > RCU basic concepts reST markup. > > > > Signed-off-by: Jiunn Chang > > Reviewed-by: Joel Fernandes (Google) > > So this is a little detail but ... your signoff shou

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Jarkko Sakkinen
On Thu, 2019-06-27 at 16:30 +0300, Ilias Apalodimas wrote: > is really useful. I don't have hardware to test this at the moment, but once i > get it, i'll give it a spin. Thank you for responding, really appreciate it. Please note, however, that I already did my v5.3 PR so there is a lot of time

[PATCH v3 3/4] kbuild: support header-test-pattern-y

2019-06-27 Thread Masahiro Yamada
In my view, most of headers can be self-contained. So, it would be tedious to add every header to header-test-y explicitly. We usually end up with "all headers with some exceptions". There are two types in exceptions: [1] headers that are never compiled as standalone units For examples, includ

[PATCH v3 2/4] kbuild: do not create wrappers for header-test-y

2019-06-27 Thread Masahiro Yamada
header-test-y does not work with headers in sub-directories. For example, you may want to write a Makefile, like this: include/linux/Kbuild: header-test-y += mtd/nand.h This entry will create a wrapper include/linux/mtd/nand.hdrtest.c with the following content: #include "mtd/nand.h" To m

[PATCH v3 0/4] Compile-test UAPI and kernel headers

2019-06-27 Thread Masahiro Yamada
1/4: Compile-test exported headers (reworked in v2) 2/4: fix a flaw I noticed when I was working on this series. Avoid generating intermediate wrappers. 3/4: maybe useful for 4/4 and in some other places. Add header-test-pattern-y syntax. 4/4: Compile-test kernel-space headers in inclu

Re: [PATCH v2 0/4] Compile-test UAPI and kernel headers

2019-06-27 Thread Masahiro Yamada
On Thu, Jun 27, 2019 at 8:36 PM Jani Nikula wrote: > > On Thu, 27 Jun 2019, Masahiro Yamada wrote: > > 1/4: reworked v2. > > > > 2/4: fix a flaw I noticed when I was working on this series > > > > 3/4: maybe useful for 4/4 and in some other places > > > > 4/4: v2. compile as many headers as possi

Re: [Linux-kernel-mentees][PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts to reST

2019-06-27 Thread Jiunn Chang
On Thu, Jun 27, 2019 at 08:34:43AM -0600, Jonathan Corbet wrote: > On Wed, 26 Jun 2019 15:07:01 -0500 > Jiunn Chang wrote: > > > RCU basic concepts reST markup. > > > > Signed-off-by: Jiunn Chang > > Reviewed-by: Joel Fernandes (Google) > > So this is a little detail but ... your signoff shou

Re: [Linux-kernel-mentees][PATCH v5 1/5] Documentation: RCU: Convert RCU basic concepts to reST

2019-06-27 Thread Shuah Khan
On 6/27/19 9:13 AM, Steven Rostedt wrote: On Thu, 27 Jun 2019 08:34:43 -0600 Jonathan Corbet wrote: On Wed, 26 Jun 2019 15:07:01 -0500 Jiunn Chang wrote: RCU basic concepts reST markup. Signed-off-by: Jiunn Chang Reviewed-by: Joel Fernandes (Google) So this is a little detail but ... y

[PATCH] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-06-27 Thread Dave Chiluk
It has been observed, that highly-threaded, non-cpu-bound applications running under cpu.cfs_quota_us constraints can hit a high percentage of periods throttled while simultaneously not consuming the allocated amount of quota. This use case is typical of user-interactive non-cpu bound applications,

[PATCH v5 0/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-06-27 Thread Dave Chiluk
Changelog v5 - Based on this comment from Ben Segall's comment on v4 > If the cost of taking this global lock across all cpus without a > ratelimit was somehow not a problem, I'd much prefer to just set > min_cfs_rq_runtime = 0. (Assuming it is, I definitely prefer the "lie > and sorta have 2x peri

[PATCH v5 1/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-06-27 Thread Dave Chiluk
It has been observed, that highly-threaded, non-cpu-bound applications running under cpu.cfs_quota_us constraints can hit a high percentage of periods throttled while simultaneously not consuming the allocated amount of quota. This use case is typical of user-interactive non-cpu bound applications,

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Waiman Long
On 6/26/19 4:19 PM, Roman Gushchin wrote: >> >> +#ifdef CONFIG_MEMCG_KMEM >> +static void kmem_cache_shrink_memcg(struct mem_cgroup *memcg, >> +void __maybe_unused *arg) >> +{ >> +struct kmem_cache *s; >> + >> +if (memcg == root_mem_cgroup) >> +

[Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Jiunn Chang
The UP.rst file calls for locks acquired within RCU callback functions to use _irq variants (spin_lock_irqsave() or similar), which does work, but can be overkill. This commit therefore instead calls for _bh variants (spin_lock_bh() or similar), while noting that _irq does work. Signed-off-by: Pa

Re: [PATCH 1/2] mm, memcontrol: Add memcg_iterate_all()

2019-06-27 Thread Waiman Long
On 6/27/19 11:07 AM, Michal Hocko wrote: > On Mon 24-06-19 13:42:18, Waiman Long wrote: >> Add a memcg_iterate_all() function for iterating all the available >> memory cgroups and call the given callback function for each of the >> memory cgruops. > Why is a trivial wrapper any better than open cod

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Waiman Long
On 6/27/19 11:15 AM, Michal Hocko wrote: > On Mon 24-06-19 13:42:19, Waiman Long wrote: >> With the slub memory allocator, the numbers of active slab objects >> reported in /proc/slabinfo are not real because they include objects >> that are held by the per-cpu slab structures whether they are actu

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Roman Gushchin
On Thu, Jun 27, 2019 at 04:57:50PM -0400, Waiman Long wrote: > On 6/26/19 4:19 PM, Roman Gushchin wrote: > >> > >> +#ifdef CONFIG_MEMCG_KMEM > >> +static void kmem_cache_shrink_memcg(struct mem_cgroup *memcg, > >> + void __maybe_unused *arg) > >> +{ > >> + struct kme

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Luis Chamberlain
On Thu, Jun 27, 2019 at 04:57:50PM -0400, Waiman Long wrote: > On 6/26/19 4:19 PM, Roman Gushchin wrote: > >> > >> +#ifdef CONFIG_MEMCG_KMEM > >> +static void kmem_cache_shrink_memcg(struct mem_cgroup *memcg, > >> + void __maybe_unused *arg) > >> +{ > >> + struct kme

Re: [PATCH 2/2] mm, slab: Extend vm/drop_caches to shrink kmem slabs

2019-06-27 Thread Waiman Long
On 6/27/19 5:24 PM, Roman Gushchin wrote: >>> 2) what's your long-term vision here? do you think that we need to shrink >>>kmem_caches periodically, depending on memory pressure? how a user >>>will use this new sysctl? >> Shrinking the kmem caches under extreme memory pressure can be one wa

[tip:timers/core] hrtimer: Use a bullet for the returns bullet list

2019-06-27 Thread tip-bot for Mauro Carvalho Chehab
Commit-ID: 516337048fa40496ae5ca9863c367ec991a44d9a Gitweb: https://git.kernel.org/tip/516337048fa40496ae5ca9863c367ec991a44d9a Author: Mauro Carvalho Chehab AuthorDate: Mon, 24 Jun 2019 07:33:26 -0300 Committer: Thomas Gleixner CommitDate: Thu, 27 Jun 2019 23:30:04 +0200 hrtimer: Use

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Shuah Khan
On 6/27/19 3:01 PM, Jiunn Chang wrote: The UP.rst file calls for locks acquired within RCU callback functions to use _irq variants (spin_lock_irqsave() or similar), which does work, but can be overkill. This commit therefore instead calls for _bh variants (spin_lock_bh() or similar), while notin

Re: [tip:timers/core] hrtimer: Use a bullet for the returns bullet list

2019-06-27 Thread Joe Perches
On Thu, 2019-06-27 at 14:46 -0700, tip-bot for Mauro Carvalho Chehab wrote: > Commit-ID: 516337048fa40496ae5ca9863c367ec991a44d9a > Gitweb: > https://git.kernel.org/tip/516337048fa40496ae5ca9863c367ec991a44d9a > Author: Mauro Carvalho Chehab > AuthorDate: Mon, 24 Jun 2019 07:33:26 -0300

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 04:01:35PM -0600, Shuah Khan wrote: > On 6/27/19 3:01 PM, Jiunn Chang wrote: > >The UP.rst file calls for locks acquired within RCU callback functions > >to use _irq variants (spin_lock_irqsave() or similar), which does work, > >but can be overkill. This commit therefore in

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Shuah Khan
On 6/27/19 4:10 PM, Paul E. McKenney wrote: On Thu, Jun 27, 2019 at 04:01:35PM -0600, Shuah Khan wrote: On 6/27/19 3:01 PM, Jiunn Chang wrote: The UP.rst file calls for locks acquired within RCU callback functions to use _irq variants (spin_lock_irqsave() or similar), which does work, but can b

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Steven Rostedt
On Thu, 27 Jun 2019 15:10:45 -0700 "Paul E. McKenney" wrote: > On Thu, Jun 27, 2019 at 04:01:35PM -0600, Shuah Khan wrote: > > On 6/27/19 3:01 PM, Jiunn Chang wrote: > > >The UP.rst file calls for locks acquired within RCU callback functions > > >to use _irq variants (spin_lock_irqsave() or sim

Re: [Linux-kernel-mentees][PATCH] doc: RCU callback locks need only _bh, not necessarily _irq

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 06:29:38PM -0400, Steven Rostedt wrote: > On Thu, 27 Jun 2019 15:10:45 -0700 > "Paul E. McKenney" wrote: > > > On Thu, Jun 27, 2019 at 04:01:35PM -0600, Shuah Khan wrote: > > > On 6/27/19 3:01 PM, Jiunn Chang wrote: > > > >The UP.rst file calls for locks acquired within

Re: [tip:timers/core] hrtimer: Use a bullet for the returns bullet list

2019-06-27 Thread Mauro Carvalho Chehab
Em Thu, 27 Jun 2019 15:08:59 -0700 Joe Perches escreveu: > On Thu, 2019-06-27 at 14:46 -0700, tip-bot for Mauro Carvalho Chehab > wrote: > > Commit-ID: 516337048fa40496ae5ca9863c367ec991a44d9a > > Gitweb: > > https://git.kernel.org/tip/516337048fa40496ae5ca9863c367ec991a44d9a > > Author:

[PATCH 00/15] FPGA DFL updates

2019-06-27 Thread Moritz Fischer
Hi Greg, can you please take the following patches. They're mostly new features and some cleanup of the DFL internals. They've been on the mailing list and have been reviewed. Note: I've seen that Mauro touched Documentation/fpga/dfl.rst in linux-next commit c220a1fae6c5d ("docs: fpga: con

[PATCH 12/15] fpga: dfl: afu: add error reporting support.

2019-06-27 Thread Moritz Fischer
From: Wu Hao Error reporting is one important private feature, it reports error detected on port and accelerated function unit (AFU). It introduces several sysfs interfaces to allow userspace to check and clear errors detected by hardware. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by

[PATCH 07/15] fpga: dfl: pci: enable SRIOV support.

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch enables the standard sriov support. It allows user to enable SRIOV (and VFs), then user could pass through accelerators (VFs) into virtual machine or use VFs directly in host. Signed-off-by: Zhang Yi Z Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Alan Tull

[PATCH 02/15] fpga: dfl: fme: remove copy_to_user() in ioctl for PR

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch removes copy_to_user() code in partial reconfiguration ioctl, as it's useless as user never needs to read the data structure after ioctl. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull Signed-off-by: Moritz Fischer --- dri

[PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch adds virtualization support description for DFL based FPGA devices (based on PCIe SRIOV), and introductions to new interfaces added by new dfl private feature drivers. [m...@kernel.org: Fixed up to make it work with new reStructuredText docs] Signed-off-by: Xu Yilun Sign

[PATCH 03/15] fpga: dfl: fme: align PR buffer size per PR datawidth

2019-06-27 Thread Moritz Fischer
From: Wu Hao Current driver checks if input bitstream file size is aligned or not per PR data width (default 32bits). It requires one additional step for end user when they generate the bitstream file, padding extra zeros to bitstream file to align its size per PR data width, but they don't have

[PATCH 08/15] fpga: dfl: afu: add AFU state related sysfs interfaces

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch introduces more sysfs interfaces for Accelerated Function Unit (AFU). These interfaces allow users to read current AFU Power State (APx), read / clear AFU Power (APx) events which are sticky to identify transient APx state, and manage AFU's LTR (latency tolerance reporting

[PATCH 10/15] fpga: dfl: add id_table for dfl private feature driver

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch adds id_table for each dfl private feature driver, it allows to reuse same private feature driver to match and support multiple dfl private features. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull Signed-off-by: Moritz Fisch

[PATCH 11/15] fpga: dfl: afu: export __port_enable/disable function.

2019-06-27 Thread Moritz Fischer
From: Wu Hao As these two functions are used by other private features. e.g. in error reporting private feature, it requires to check port status and reset port for error clearing. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fischer Acked-by: Alan Tull Signed-off-by: Morit

[PATCH 14/15] fpga: dfl: fme: add capability sysfs interfaces

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch adds 3 read-only sysfs interfaces for FPGA Management Engine (FME) block for capabilities including cache_size, fabric_version and socket_id. Signed-off-by: Luwei Kang Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Alan Tull Signed-off-by: Moritz Fischer ---

[PATCH 04/15] fpga: dfl: fme: support 512bit data width PR

2019-06-27 Thread Moritz Fischer
From: Wu Hao In early partial reconfiguration private feature, it only supports 32bit data width when writing data to hardware for PR. 512bit data width PR support is an important optimization for some specific solutions (e.g. XEON with FPGA integrated), it allows driver to use AVX512 instruction

[PATCH 13/15] fpga: dfl: afu: add STP (SignalTap) support

2019-06-27 Thread Moritz Fischer
From: Wu Hao STP (SignalTap) is one of the private features under the port for debugging. This patch adds private feature driver support for it to allow userspace applications to mmap related mmio region and provide STP service. Signed-off-by: Xu Yilun Signed-off-by: Wu Hao Acked-by: Moritz Fi

[PATCH 09/15] fpga: dfl: afu: add userclock sysfs interfaces.

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch introduces userclock sysfs interfaces for AFU, user could use these interfaces for clock setting to AFU. Please note that, this is only working for port header feature with revision 0, for later revisions, userclock setting is moved to a separated private feature, so one

[PATCH 15/15] fpga: dfl: fme: add global error reporting support

2019-06-27 Thread Moritz Fischer
From: Wu Hao This patch adds support for global error reporting for FPGA Management Engine (FME), it introduces sysfs interfaces to report different error detected by the hardware, and allow user to clear errors or inject error for testing purpose. Signed-off-by: Luwei Kang Signed-off-by: Anand

[PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-06-27 Thread Moritz Fischer
From: Wu Hao In order to support virtualization usage via PCIe SRIOV, this patch adds two ioctls under FPGA Management Engine (FME) to release and assign back the port device. In order to safely turn Port from PF into VF and enable PCIe SRIOV, it requires user to invoke this PORT_RELEASE ioctl to

[PATCH 01/15] fpga: dfl-fme-mgr: fix FME_PR_INTFC_ID register address.

2019-06-27 Thread Moritz Fischer
From: Wu Hao FME_PR_INTFC_ID is used as compat_id for fpga manager and region, but high 64 bits and low 64 bits of the compat_id are swapped by mistake. This patch fixes this problem by fixing register address. Signed-off-by: Wu Hao Acked-by: Alan Tull Acked-by: Moritz Fischer Signed-off-by:

[PATCH] kbuild: get rid of misleading $(AS) from documents

2019-06-27 Thread Masahiro Yamada
The assembler files in the kernel are *.S instead of *.s, so they must be preprocessed. Hence, we always use $(CC) as an assembler driver. $(AS) is almost unused in Kbuild. As of writing, there is just one user. $ git grep '$(AS)' -- :^Documentation drivers/net/wan/Makefile: AS68K = $(AS) T

Re: [tip:timers/core] hrtimer: Use a bullet for the returns bullet list

2019-06-27 Thread Joe Perches
On Thu, 2019-06-27 at 21:39 -0300, Mauro Carvalho Chehab wrote: > Em Thu, 27 Jun 2019 15:08:59 -0700 > Joe Perches escreveu: [] > > > hrtimer: Use a bullet for the returns bullet list > > > > > > That gets rid of this warning: > > > > > >./kernel/time/hrtimer.c:1119: WARNING: Block quote end

Re: [PATCH 1/2] Documentation: perf: Update documentation for ThunderX2 PMU uncore driver

2019-06-27 Thread Ganapatrao Kulkarni
Hi Will, On Thu, Jun 27, 2019 at 9:52 PM Will Deacon wrote: > > On Thu, Jun 27, 2019 at 11:01:18AM +0100, Will Deacon wrote: > > On Fri, Jun 14, 2019 at 05:42:45PM +, Ganapatrao Kulkarni wrote: > > > From: Ganapatrao Kulkarni > > > > > > Add documentation for Cavium Coherent Processor Interc

Re: [PATCH v3 0/4] Compile-test UAPI and kernel headers

2019-06-27 Thread Masahiro Yamada
On Fri, Jun 28, 2019 at 1:41 AM Masahiro Yamada wrote: > > 1/4: Compile-test exported headers (reworked in v2) > > 2/4: fix a flaw I noticed when I was working on this series. > Avoid generating intermediate wrappers. > > 3/4: maybe useful for 4/4 and in some other places. > Add header-t

Re: [PATCH] kbuild: get rid of misleading $(AS) from documents

2019-06-27 Thread Nathan Chancellor
On Fri, Jun 28, 2019 at 11:04:33AM +0900, Masahiro Yamada wrote: > The assembler files in the kernel are *.S instead of *.s, so they must > be preprocessed. Hence, we always use $(CC) as an assembler driver. > > $(AS) is almost unused in Kbuild. As of writing, there is just one user. > > $ git

Re: [PATCH 2/2] drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver.

2019-06-27 Thread Ganapatrao Kulkarni
Hi will, On Thu, Jun 27, 2019 at 3:27 PM Will Deacon wrote: > > Hi Ganapat, > > On Fri, Jun 14, 2019 at 05:42:46PM +, Ganapatrao Kulkarni wrote: > > CCPI2 is a low-latency high-bandwidth serial interface for connecting > > ThunderX2 processors. This patch adds support to capture CCPI2 perf ev

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-06-27 Thread Sumit Garg
Hi Jarkko and Sasha, On Thu, 27 Jun 2019 at 18:47, Jarkko Sakkinen wrote: > > On Wed, 2019-06-26 at 19:56 -0400, Sasha Levin wrote: > > > You've used so much on this so shouldn't this have that somewhat new > > > co-developed-by tag? I'm also wondering can this work at all > > > > Honestly, I've

Re: [PATCH] kbuild: get rid of misleading $(AS) from documents

2019-06-27 Thread Masahiro Yamada
On Fri, Jun 28, 2019 at 11:06 AM Masahiro Yamada wrote: > > The assembler files in the kernel are *.S instead of *.s, so they must > be preprocessed. Hence, we always use $(CC) as an assembler driver. > > $(AS) is almost unused in Kbuild. As of writing, there is just one user. > > $ git grep '$(

[PATCH] Doc : doc-guide : Fix a typo

2019-06-27 Thread Sheriff Esseson
fix the disjunction by replacing "of" with "or". Signed-off-by: Sheriff Esseson --- Documentation/doc-guide/kernel-doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst index f96059767..192c36a

[linux-kernel-mentees] [PATCH] Doc : doc-guide : Fix a typo

2019-06-27 Thread Sheriff Esseson
fix the disjunction by replacing "of" with "or". Signed-off-by: Sheriff Esseson --- Documentation/doc-guide/kernel-doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel-doc.rst index f96059767..192c36a

[linux-kernel-mentees] [PATCH v2] Doc : doc-guide : Fix a typo

2019-06-27 Thread Sheriff Esseson
fix the disjunction by replacing "of" with "or". Signed-off-by: Sheriff Esseson --- changes in v2: - cc-ed Corbet. Documentation/doc-guide/kernel-doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel

Re: [linux-kernel-mentees] [PATCH v2] Doc : doc-guide : Fix a typo

2019-06-27 Thread Sheriff Esseson
fix the disjunction by replacing "of" with "or". Signed-off-by: Sheriff Esseson --- changes in v2: - cc-ed Corbet. Documentation/doc-guide/kernel-doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/kernel-doc.rst b/Documentation/doc-guide/kernel

Re: [PATCH next v2] softirq: enable MAX_SOFTIRQ_TIME tuning with sysctl, max_softirq_time_msecs

2019-06-27 Thread Zhiqiang Liu
Friendly ping ... On 2019/6/25 11:13, Zhiqiang Liu wrote: > From: Zhiqiang liu > > In __do_softirq func, MAX_SOFTIRQ_TIME was set to 2ms via experimentation by > commit c10d73671 ("softirq: reduce latencies") in 2013, which was designed > to reduce latencies for various network workloads. The ke