Re: [PATCH -tip v3 7/7] kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT

2017-09-29 Thread Ingo Molnar
* Masami Hiramatsu wrote: > On Fri, 29 Sep 2017 09:37:55 +0200 > Ingo Molnar wrote: > > > > > * Masami Hiramatsu wrote: > > > > > On Thu, 28 Sep 2017 09:22:20 +0200 > > > Ingo Molnar wrote: > > > > > > > > > > > * Masami Hiramatsu wrote: > > > > > > > > > To enable jump optimized probe

[PATCH for 4.14 2/3] membarrier: selftest: Test private expedited cmd

2017-09-29 Thread Mathieu Desnoyers
Test the new MEMBARRIER_CMD_PRIVATE_EXPEDITED and MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED commands. Add checks expecting specific error values on system calls expected to fail. Signed-off-by: Mathieu Desnoyers Acked-by: Shuah Khan Acked-by: Greg Kroah-Hartman CC: Peter Zijlstra CC: Paul E.

[PATCH v5 for 4.14 1/3] membarrier: Provide register expedited private command

2017-09-29 Thread Mathieu Desnoyers
Provide a new command allowing processes to register their intent to use the private expedited command. This allows PowerPC to skip the full memory barrier in switch_mm(), and only issue the barrier when scheduling into a task belonging to a process that has registered to use expedited private. P

[PATCH v5 for 4.14 3/3] membarrier: Document scheduler barrier requirements

2017-09-29 Thread Mathieu Desnoyers
Document the membarrier requirement on having a full memory barrier in __schedule() after coming from user-space, before storing to rq->curr. It is provided by smp_mb__after_spinlock() in __schedule(). Document that membarrier requires a full barrier on transition from kernel thread to userspace t

Re: netlink backwards compatibility in userspace tools

2017-09-29 Thread Rustad, Mark D
> On Sep 29, 2017, at 3:22 AM, Jason A. Donenfeld wrote: > > Hi guys, > > One handy aspect of Netlink is that it's backwards compatible. This > means that you can run old userspace utilities on new kernels, even if > the new kernel supports new features and netlink attributes. The wire > format

Re: How to verify linux-next

2017-09-29 Thread Pintu Kumar
On Fri, Sep 29, 2017 at 7:56 PM, Pintu Kumar wrote: > On Fri, Sep 29, 2017 at 6:44 PM, Damian Tometzki > wrote: >> Hello, >> >> Ubuntu 16.04 with current linux-next Kernel workson virtualbox 5.1.28 >> >> Host: Windows 10 >> Guest: Ubuntu 16.04 >> >> Best regards >> Damian >> >> >> Am Freitag, den

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Tristram.Ha
The actual SPI access performance will depend on the SPI host controller. The SPI access speed, ranging from 12 MHz to 50 MHz depending on the chip, is a factor but the performance of the SPI host controller is more important. Generally the SPI host controller scales down the clock by a factor of

Re: [PATCHSET REPOST for-4.15] cgroup, sched: cgroup2 interface for CPU controller (on basic acct)

2017-09-29 Thread Peter Zijlstra
On Mon, Sep 25, 2017 at 09:00:17AM -0700, Tejun Heo wrote: > Hello, > > (Rebased on cgroup/for-4.15, no real changes. Once acked, I think > it'd be easiest to route these through the cgroup branch; > alternatively, we can pull cgroup/for-4.15 to a sched branch and > apply these there.) > > Th

Aw: Re: [PATCH] MAINTAINERS: update TPM driver infrastructure changes

2017-09-29 Thread Peter Huewe
    Gesendet: Freitag, 29. September 2017 um 18:59 Uhr Von: "Jarkko Sakkinen" An: "Mimi Zohar" , peterhu...@gmx.de Cc: linux-kernel@vger.kernel.org, linux-integr...@vger.kernel.org Betreff: Re: [PATCH] MAINTAINERS: update TPM driver infrastructure changes On Tue, Sep 26, 2017 at 12:16:20PM -0400

Re: [PATCH] ARC: [plat-hsdk]: Temporary fix to set CPU frequency to 1GHz

2017-09-29 Thread Vineet Gupta
On 09/28/2017 07:33 AM, Eugeniy Paltsev wrote: Add temporary fix to HSDK platform code to setup CPU frequency to 1GHz on early boot. We can remove this fix when smart hsdk pll driver will be introduced, see discussion: https://www.mail-archive.com/linux-snps-arc@lists.infradead.org/msg02689.html

Re: [PATCH] x86: use register variable to get stack pointer value

2017-09-29 Thread Andy Lutomirski
On Fri, Sep 29, 2017 at 8:38 AM, Josh Poimboeuf wrote: > On Fri, Sep 29, 2017 at 05:15:36PM +0300, Andrey Ryabinin wrote: >> Currently we use current_stack_pointer() function to get the value >> of the stack pointer register. Since commit f5caf621ee35 >> ("x86/asm: Fix inline asm call constraints

[PATCH net-next 1/8] net: dsa: directly fetch switch in mtk_tag_rcv

2017-09-29 Thread Vivien Didelot
In a single-chip switch fabric, there is no need to fetch the dsa_switch structure from the tree, directly use the CPU port's "ds" member. Signed-off-by: Vivien Didelot --- net/dsa/tag_mtk.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/net/dsa/tag_mtk.c b/net/d

[PATCH net-next 4/8] net: dsa: use temporary dsa_device_ops variable

2017-09-29 Thread Vivien Didelot
When resolving the DSA tagging protocol used by a CPU switch, use a temporary "tag_ops" variable to store the dsa_device_ops instead of using directly dst->tag_ops. This will make the future patches moving this pointer around easier to read. There is no functional changes. Signed-off-by: Vivien D

[PATCH net-next 3/8] net: dsa: use cpu_dp in master code

2017-09-29 Thread Vivien Didelot
Make it clear that the master device is linked to a CPU port by using "cpu_dp" for the dsa_port variable in master.c instead of "port", then use a "port" variable to describe the port index, as usually seen in other places of DSA core. This will make the future patch touching dsa_ptr more readable

Re: [PATCH 0/4] x86/platform/UV: Update TSC support

2017-09-29 Thread Peter Zijlstra
On Fri, Sep 29, 2017 at 10:39:28AM -0700, Mike Travis wrote: > >That's where it comes from. But normal systems really _should_ have it > >at 0 and its a useful sanity check IMO. We really want to know when the > >BIOS does a funny behind our backs. > > > > How about a more generic flag, such as "m

[PATCH net-next 2/8] net: dsa: directly fetch switch in lan9303_rcv

2017-09-29 Thread Vivien Didelot
In a single-chip switch fabric, there is no need to fetch the dsa_switch structure from the tree, directly use the CPU port's "ds" member. Signed-off-by: Vivien Didelot --- net/dsa/tag_lan9303.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/net/dsa/tag_lan9303.c b/net/

[PATCH 1/2] ARC: boot log: decontaminate ARCv2 ISA_CONFIG register

2017-09-29 Thread Vineet Gupta
ARCv2 ISA_CONFIG and ARC700_BUILD build config registers are not compatible. cpuinfo_arc had isa info placeholder which was mashup of bits form both. Untangle this by defining it off of ARCv2 ISA info and it is fine even for ARC700 since former is a super set of latter (ARC700 buildonly has 2 bits

[PATCH net-next 6/8] net: dsa: prepare master receive hot path

2017-09-29 Thread Vivien Didelot
In preparation to make DSA master devices point to their corresponding CPU port instead of the whole tree, add copies of dst and rcv in the dsa_port structure so that we keep fast access in the receive hot path. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 5 + net/dsa/dsa2.c| 4

[PATCH 2/2] ARCv2: boot log: identify HS48 cores (dual issue)

2017-09-29 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- arch/arc/include/asm/arcregs.h | 3 ++- arch/arc/kernel/setup.c| 17 ++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h index b71d84873f7d..b1c56d35f2a9 100644 -

[PATCH net-next 7/8] net: dsa: change dsa_ptr for a dsa_port

2017-09-29 Thread Vivien Didelot
With DSA, a master net device (CPU facing interface) has a dsa_ptr pointer to which hangs a dsa_switch_tree. This is not correct because a master interface is wired to a dedicated switch port, and because we can theoretically have several master interfaces pointing to several CPU ports of the same

[GIT PULL] MD update for 4.14-rc3

2017-09-29 Thread Shaohua Li
Hi, A few fixes for MD. Mainly fix a problem introduced in 4.13, which we retry bio for some code paths but not all in some situration. Thanks, Shaohua The following changes since commit 4a704d6db0ee4a349d5d523813a718e429b4914d: Merge tag 'kbuild-fixes-v4.14' of git://git.kernel.org/pub/scm/l

[PATCH net-next 0/8] net: dsa: change dsa_ptr for a dsa_port

2017-09-29 Thread Vivien Didelot
With DSA, a master net_device is physically wired to a dedicated CPU switch port. For interaction with the DSA layer, the struct net_device contains a dsa_ptr, which currently points to a dsa_switch_tree object. This is only valid for a switch fabric with a single CPU port. In order to support swi

[PATCH net-next 8/8] net: dsa: remove tag ops from the switch tree

2017-09-29 Thread Vivien Didelot
Now that the dsa_ptr is a dsa_port instance, there is no need to keep the tag operations in the dsa_switch_tree structure. Remove it. Signed-off-by: Vivien Didelot --- include/net/dsa.h | 11 --- net/dsa/dsa2.c| 2 -- net/dsa/legacy.c | 2 -- 3 files changed, 15 deletions(-) diff

[PATCH net-next 5/8] net: dsa: add tagging ops to port

2017-09-29 Thread Vivien Didelot
The DSA tagging protocol operations are specific to each CPU port, thus the dsa_device_ops pointer belongs to the dsa_port structure. >From now on assign a slave's xmit copy from its CPU port tagging operations. This will ease the future support for multiple CPU ports. Signed-off-by: Vivien Didel

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Tristram.Ha
> > > > > Similar code will be needed by other drivers, right? > > > > > > > > Although KSZ8795 and KSZ8895 may use the same code, the other > > > > chips will have different code. > > > > > > Ok, please make sure code is shared between these two. > > > > The exact function probably cannot be share

[PATCH] Staging: rtl8723bs: Remove unnecessary comments.

2017-09-29 Thread Shreeya Patel
The comments regarding memset are not needed in the files which have been modified since the necessary changes are already there in the files. Signed-off-by: Shreeya Patel --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 3 --- drivers/st

Re: [PATCH] ARC: [plat-hsdk]: Temporary fix to set CPU frequency to 1GHz

2017-09-29 Thread Eugeniy Paltsev
On Fri, 2017-09-29 at 11:34 -0700, Vineet Gupta wrote: > On 09/28/2017 07:33 AM, Eugeniy Paltsev wrote: > > Add temporary fix to HSDK platform code to setup CPU frequency > > to 1GHz on early boot. > > We can remove this fix when smart hsdk pll driver will be > > introduced, see discussion: > > htt

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Andrew Lunn
> My concern is if a task is already running with SPI access to a lot > of registers like reading the 32 MIB counters in every port of the > switch, another register access has to wait until they are finished. Why does it have to wait? Looking at the code in ksz_get_ethtool_stats(), you don't take

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Tristram.Ha
> On Mon 2017-09-18 20:27:13, tristram...@microchip.com wrote: > > > > +/** > > > > + * Some counters do not need to be read too often because they are > less > > > likely > > > > + * to increase much. > > > > + */ > > > > > > What does comment mean? Are you caching statistics, and updating > > > d

Re: [PATCH net-next 2/8] net: dsa: directly fetch switch in lan9303_rcv

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > In a single-chip switch fabric, there is no need to fetch the dsa_switch > structure from the tree, directly use the CPU port's "ds" member. > > Signed-off-by: Vivien Didelot > --- > net/dsa/tag_lan9303.c | 5 ++--- > 1 file changed, 2 insertions(+

Re: [PATCH net-next 2/8] net: dsa: directly fetch switch in lan9303_rcv

2017-09-29 Thread Vivien Didelot
Hi Florian, Florian Fainelli writes: >> @@ -72,11 +72,10 @@ static struct sk_buff *lan9303_rcv(struct sk_buff *skb, >> struct net_device *dev, >> { >> u16 *lan9303_tag; >> struct dsa_switch_tree *dst = dev->dsa_ptr; >> -struct dsa_switch *ds; >> +struct dsa_port *cpu_dp = dst

[GIT PULL] PCI fixes for v4.14

2017-09-29 Thread Bjorn Helgaas
PCI fixes: - fix CONFIG_PCI=n build error (introduced in v4.14-rc1) (Geert Uytterhoeven) - fix a race in sysfs driver_override store/show (Nicolai Stange) The following changes since commit 749aaf3372b8b56b8743c3e27700d64c8bd06921: PCI: endpoint: Use correct "end of test" interrupt (

Re: [PATCH net-next 3/8] net: dsa: use cpu_dp in master code

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > Make it clear that the master device is linked to a CPU port by using > "cpu_dp" for the dsa_port variable in master.c instead of "port", then > use a "port" variable to describe the port index, as usually seen in > other places of DSA core. > > This

Re: [PATCH net-next 4/8] net: dsa: use temporary dsa_device_ops variable

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > When resolving the DSA tagging protocol used by a CPU switch, use a > temporary "tag_ops" variable to store the dsa_device_ops instead of > using directly dst->tag_ops. This will make the future patches moving > this pointer around easier to read. >

Re: [PATCH net-next 5/8] net: dsa: add tagging ops to port

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > The DSA tagging protocol operations are specific to each CPU port, > thus the dsa_device_ops pointer belongs to the dsa_port structure. > > From now on assign a slave's xmit copy from its CPU port tagging > operations. This will ease the future suppo

Re: [PATCH net-next 6/8] net: dsa: prepare master receive hot path

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > In preparation to make DSA master devices point to their corresponding > CPU port instead of the whole tree, add copies of dst and rcv in the > dsa_port structure so that we keep fast access in the receive hot path. > > Signed-off-by: Vivien Didelot

Re: [PATCH] x86: use register variable to get stack pointer value

2017-09-29 Thread Josh Poimboeuf
On Fri, Sep 29, 2017 at 11:37:52AM -0700, Andy Lutomirski wrote: > On Fri, Sep 29, 2017 at 8:38 AM, Josh Poimboeuf wrote: > > On Fri, Sep 29, 2017 at 05:15:36PM +0300, Andrey Ryabinin wrote: > >> Currently we use current_stack_pointer() function to get the value > >> of the stack pointer register.

RE: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Tristram.Ha
> > My concern is if a task is already running with SPI access to a lot > > of registers like reading the 32 MIB counters in every port of the > > switch, another register access has to wait until they are finished. > > Why does it have to wait? Looking at the code in > ksz_get_ethtool_stats(), yo

Re: [PATCH net-next 7/8] net: dsa: change dsa_ptr for a dsa_port

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > With DSA, a master net device (CPU facing interface) has a dsa_ptr > pointer to which hangs a dsa_switch_tree. This is not correct because a > master interface is wired to a dedicated switch port, and because we can > theoretically have several master

Re: [PATCH net-next 8/8] net: dsa: remove tag ops from the switch tree

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > Now that the dsa_ptr is a dsa_port instance, there is no need to keep > the tag operations in the dsa_switch_tree structure. Remove it. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 1/8] net: dsa: directly fetch switch in mtk_tag_rcv

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > In a single-chip switch fabric, there is no need to fetch the dsa_switch > structure from the tree, directly use the CPU port's "ds" member. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH net-next 5/8] net: dsa: add tagging ops to port

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > The DSA tagging protocol operations are specific to each CPU port, > thus the dsa_device_ops pointer belongs to the dsa_port structure. > > From now on assign a slave's xmit copy from its CPU port tagging > operations. This will ease the future suppo

Re: [PATCH net-next 0/8] net: dsa: change dsa_ptr for a dsa_port

2017-09-29 Thread Florian Fainelli
On 09/29/2017 11:36 AM, Vivien Didelot wrote: > With DSA, a master net_device is physically wired to a dedicated CPU > switch port. For interaction with the DSA layer, the struct net_device > contains a dsa_ptr, which currently points to a dsa_switch_tree object. > > This is only valid for a switc

RE: [PATCH 1/2] block: genhd: add device_add_disk_with_groups

2017-09-29 Thread Schremmer, Steven
> From: Linux-nvme [mailto:linux-nvme-boun...@lists.infradead.org] On Behalf Of > Martin Wilck > Sent: Thursday, September 28, 2017 2:37 PM > To: Jens Axboe ; Christoph Hellwig ; Johannes > Thumshirn > Cc: linux-bl...@vger.kernel.org; Martin Wilck ; > linux-kernel@vger.kernel.org; linux-n...@li

RE: [PATCH 2/2] nvme: use device_add_disk_with_groups()

2017-09-29 Thread Schremmer, Steven
> From: Linux-nvme [mailto:linux-nvme-boun...@lists.infradead.org] On Behalf Of > Martin Wilck > Sent: Thursday, September 28, 2017 2:37 PM > To: Jens Axboe ; Christoph Hellwig ; Johannes > Thumshirn > Cc: linux-bl...@vger.kernel.org; Martin Wilck ; > linux-kernel@vger.kernel.org; linux-n...@li

Re: [PATCH v1 3/5] dt-bindings: Add DT bindings for NVIDIA Tegra AHB DMA controller

2017-09-29 Thread Stephen Warren
On 09/27/2017 02:34 AM, Jon Hunter wrote: On 27/09/17 02:57, Dmitry Osipenko wrote: On 26.09.2017 17:50, Jon Hunter wrote: On 26/09/17 00:22, Dmitry Osipenko wrote: Document DT bindings for NVIDIA Tegra AHB DMA controller that presents on Tegra20/30 SoC's. Signed-off-by: Dmitry Osipenko --

Re: [PATCH v2 1/7] driver core: emit uevents when device is bound to a driver

2017-09-29 Thread Dan Williams
On Wed, Jul 19, 2017 at 5:24 PM, Dmitry Torokhov wrote: > There are certain touch controllers that may come up in either normal > (application) or boot mode, depending on whether firmware/configuration is > corrupted when they are powered on. In boot mode the kernel does not create > input device

RE: [PATCH v2 1/7] driver core: emit uevents when device is bound to a driver

2017-09-29 Thread Ruhl, Michael J
> -Original Message- > From: dan.j.willi...@gmail.com [mailto:dan.j.willi...@gmail.com] On > Behalf Of Dan Williams > Sent: Friday, September 29, 2017 3:37 PM > To: Dmitry Torokhov > Cc: Greg Kroah-Hartman ; Tejun Heo > ; Linux Kernel Mailing List ker...@vger.kernel.org>; Guenter Roeck ;

Re: [PATCH net-next 0/8] net: dsa: change dsa_ptr for a dsa_port

2017-09-29 Thread Vivien Didelot
Hi Florian, Florian Fainelli writes: > On 09/29/2017 11:36 AM, Vivien Didelot wrote: >> With DSA, a master net_device is physically wired to a dedicated CPU >> switch port. For interaction with the DSA layer, the struct net_device >> contains a dsa_ptr, which currently points to a dsa_switch_tre

[PATCH] net: hns3: fix null pointer dereference before null check

2017-09-29 Thread Colin King
From: Colin Ian King pointer ndev is being dereferenced with the call to netif_running before it is being null checked. Re-order the code to only dereference ndev after it has been null checked. Detected by CoverityScan, CID#1457206 ("Dereference before null check") Fixes: 9df8f79a4d29 ("net:

Problems compiling with KCFLAGS="-frecord-gcc-switches"

2017-09-29 Thread Guenter Roeck
Hi Josh, when trying to compile an image with KCFLAGS="-frecord-gcc-switches", I get the folllowing build warning/error. make allmodconfig KCFLAGS="-frecord-gcc-switches" make arch/x86/kvm/emulate.o ./tools/objtool/objtool check --no-unreachable "arch/x86/kvm/emulate.o" arch/x86/kvm/emulate.o: w

Re: [PATCH v2 2/5] iio: Introduce the generic counter interface

2017-09-29 Thread William Breathitt Gray
On Fri, Sep 29, 2017 at 03:42:02PM +0200, Benjamin Gaignard wrote: >2017-09-25 20:08 GMT+02:00 William Breathitt Gray : >> This patch introduces the IIO generic counter interface for supporting >> counter devices. The generic counter interface serves as a catch-all to >> enable rudimentary support

[tip:perf/urgent] perf tools: Get all of tools/{arch,include}/ in the MANIFEST

2017-09-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 89975bd335f37b96ffd3cc24b9effb1fa25e7788 Gitweb: https://git.kernel.org/tip/89975bd335f37b96ffd3cc24b9effb1fa25e7788 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 20 Sep 2017 16:41:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 10:39:43 -0300 p

[tip:perf/urgent] perf evsel: Fix attr.exclude_kernel setting for default cycles:p

2017-09-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f1e52f14a69386ac460a8d700df0647a631cf595 Gitweb: https://git.kernel.org/tip/f1e52f14a69386ac460a8d700df0647a631cf595 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 22 Sep 2017 15:41:44 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 10:39:45 -0300 p

[tip:perf/urgent] perf test: Fix vmlinux failure on s390x

2017-09-29 Thread tip-bot for Thomas Richter
Commit-ID: b28503a3fe6400757817e4460090f96bc1b9d6e7 Gitweb: https://git.kernel.org/tip/b28503a3fe6400757817e4460090f96bc1b9d6e7 Author: Thomas Richter AuthorDate: Fri, 15 Sep 2017 09:14:03 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 28 Sep 2017 13:01:42 -0300 perf test:

[tip:perf/urgent] perf tools: Fix syscalltbl build failure

2017-09-29 Thread tip-bot for Akemi Yagi
Commit-ID: 090657c9fb7094e4c1b05c1713d6c2a12ef43dea Gitweb: https://git.kernel.org/tip/090657c9fb7094e4c1b05c1713d6c2a12ef43dea Author: Akemi Yagi AuthorDate: Fri, 22 Sep 2017 22:11:53 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 12:21:05 -0300 perf tools: Fix

[tip:perf/urgent] perf test: Fix vmlinux failure on s390x part 2

2017-09-29 Thread tip-bot for Thomas Richter
Commit-ID: 5357413f5c067f60933e4b8d79d483fbe62b2bb5 Gitweb: https://git.kernel.org/tip/5357413f5c067f60933e4b8d79d483fbe62b2bb5 Author: Thomas Richter AuthorDate: Fri, 15 Sep 2017 09:14:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 28 Sep 2017 13:01:42 -0300 perf test:

[tip:perf/urgent] tools include: Sync kernel ABI headers with tooling headers

2017-09-29 Thread tip-bot for Ingo Molnar
Commit-ID: 549a3976523c69a0245c0a310210c824a0b26e35 Gitweb: https://git.kernel.org/tip/549a3976523c69a0245c0a310210c824a0b26e35 Author: Ingo Molnar AuthorDate: Wed, 13 Sep 2017 09:38:23 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 10:39:44 -0300 tools include:

[tip:perf/urgent] perf report: Fix debug messages with --call-graph option

2017-09-29 Thread tip-bot for Mengting Zhang
Commit-ID: 9789e7e93f2b892098d7684ac8131092aa617814 Gitweb: https://git.kernel.org/tip/9789e7e93f2b892098d7684ac8131092aa617814 Author: Mengting Zhang AuthorDate: Sat, 23 Sep 2017 16:18:14 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Sep 2017 12:20:12 -0300 perf report

[tip:sched/core] sched/sysctl: Check user input value of sysctl_sched_time_avg

2017-09-29 Thread tip-bot for Ethan Zhao
Commit-ID: 5ccba44ba118a500050076b0344632459779 Gitweb: https://git.kernel.org/tip/5ccba44ba118a500050076b0344632459779 Author: Ethan Zhao AuthorDate: Mon, 4 Sep 2017 13:59:34 +0800 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 13:20:13 +0200 sched/sysctl: Check user inpu

[tip:perf/core] perf/x86: Enable free running PEBS for REGS_USER/INTR

2017-09-29 Thread tip-bot for Andi Kleen
Commit-ID: a47ba4d77e1236d214e5116b5631bc4c2d6e6369 Gitweb: https://git.kernel.org/tip/a47ba4d77e1236d214e5116b5631bc4c2d6e6369 Author: Andi Kleen AuthorDate: Thu, 31 Aug 2017 14:46:30 -0700 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 13:28:31 +0200 perf/x86: Enable free runnin

[tip:perf/core] perf/core: Explain perf_sched_mutex

2017-09-29 Thread tip-bot for Alexander Shishkin
Commit-ID: 5bce9db1894c998c5b85a34036d679ea6517668f Gitweb: https://git.kernel.org/tip/5bce9db1894c998c5b85a34036d679ea6517668f Author: Alexander Shishkin AuthorDate: Tue, 29 Aug 2017 17:01:03 +0300 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 13:28:30 +0200 perf/core: Explain p

Re: [PATCH][drm-next] drm/radeon: make functions alloc_pasid and free_pasid static

2017-09-29 Thread Alex Deucher
On Thu, Sep 28, 2017 at 9:46 AM, Colin King wrote: > From: Colin Ian King > > The functions alloc_pasid and free_pasid are local to the > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > warning: symbol 'alloc_pasid' was not declared. Should it

[PATCH] RDMA/hns: return 0 rather than return a garbage status value

2017-09-29 Thread Colin King
From: Colin Ian King For the case where hr_qp->state == IB_QPS_RESET, an uninitialized value in ret is being returned by function hns_roce_v2_query_qp. Fix this by setting ret to 0 for this specific return condition. Detected by CoverityScan, CID#1457203 ("Unitialized scalar variable") Signed-o

[PATCH 0/2] ACPI: Adjustments for six function implementations

2017-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 29 Sep 2017 22:10:22 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation in five functions scan: Improve a size determination in three functions dri

[tip:sched/core] sched/fair: Use reweight_entity() for set_user_nice()

2017-09-29 Thread tip-bot for Vincent Guittot
Commit-ID: 9059393e4ec1c8c6623a120b405ef2c90b968d80 Gitweb: https://git.kernel.org/tip/9059393e4ec1c8c6623a120b405ef2c90b968d80 Author: Vincent Guittot AuthorDate: Wed, 17 May 2017 11:50:45 +0200 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 19:35:14 +0200 sched/fair: Use reweigh

[PATCH 1/2] ACPI: Delete an error message for a failed memory allocation in five functions

2017-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 29 Sep 2017 21:52:44 +0200 Omit extra messages for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/acpi/acpi_platform.c | 1 - drivers/acpi/acpi_video.c| 1 -

[tip:sched/core] sched/fair: Calculate runnable_weight slightly differently

2017-09-29 Thread tip-bot for Josef Bacik
Commit-ID: 2c8e4dce7963d2bae02db95fce2691365630685c Gitweb: https://git.kernel.org/tip/2c8e4dce7963d2bae02db95fce2691365630685c Author: Josef Bacik AuthorDate: Thu, 3 Aug 2017 11:13:39 -0400 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 19:35:17 +0200 sched/fair: Calculate runnab

Re: [patch 3/3] x86: kvm guest side support for KVM_HC_RT_PRIO hypercall\

2017-09-29 Thread Marcelo Tosatti
On Fri, Sep 29, 2017 at 07:05:41PM +0200, Paolo Bonzini wrote: > On 29/09/2017 18:40, Marcelo Tosatti wrote: > >> If you know you have this kind disk workload, you must use virtio-blk or > >> virtio-scsi with iothreads and place the iothreads on their own physical > >> CPUs. > >> > >> Among "run ar

[tip:x86/urgent] x86/asm: Use register variable to get stack pointer value

2017-09-29 Thread tip-bot for Andrey Ryabinin
Commit-ID: 196bd485ee4f03ce4c690bfcf38138abfcd0a4bc Gitweb: https://git.kernel.org/tip/196bd485ee4f03ce4c690bfcf38138abfcd0a4bc Author: Andrey Ryabinin AuthorDate: Fri, 29 Sep 2017 17:15:36 +0300 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 19:39:44 +0200 x86/asm: Use register v

[PATCH 2/2] ACPI-scan: Improve a size determination in three functions

2017-09-29 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 29 Sep 2017 22:00:25 +0200 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detec

[tip:x86/debug] x86/stacktrace: Avoid recording save_stack_trace() wrappers

2017-09-29 Thread tip-bot for Vlastimil Babka
Commit-ID: 77072f09eab19326dd2424c8dad0a443341a228f Gitweb: https://git.kernel.org/tip/77072f09eab19326dd2424c8dad0a443341a228f Author: Vlastimil Babka AuthorDate: Fri, 29 Sep 2017 11:23:35 +0200 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 19:44:03 +0200 x86/stacktrace: Avoid r

Re: [PATCH] PCI: Fix legacy IRQ assignment execution stage

2017-09-29 Thread Bjorn Helgaas
On Fri, Sep 29, 2017 at 06:19:58PM +0100, Lorenzo Pieralisi wrote: > On Fri, Sep 29, 2017 at 05:02:26PM +0100, Lorenzo Pieralisi wrote: > > On Thu, Sep 28, 2017 at 05:37:19PM -0500, Bjorn Helgaas wrote: > > > On Thu, Sep 28, 2017 at 12:37:07PM +0100, Lorenzo Pieralisi wrote: > > > > Through struct

[tip:x86/urgent] x86/mm: Disable branch profiling in mem_encrypt.c

2017-09-29 Thread tip-bot for Tom Lendacky
Commit-ID: bc829ee36e0ec92383c9d9b88fe08f00d4d592f8 Gitweb: https://git.kernel.org/tip/bc829ee36e0ec92383c9d9b88fe08f00d4d592f8 Author: Tom Lendacky AuthorDate: Fri, 29 Sep 2017 11:24:19 -0500 Committer: Ingo Molnar CommitDate: Fri, 29 Sep 2017 19:37:51 +0200 x86/mm: Disable branch pro

[PATCH] ASoC: codecs: msm8916-wcd-analog: fix micbias level

2017-09-29 Thread Jean-François Têtu
The macro used to set the microphone bias level causes the snd_soc_write() call to overwrite other fields in the CDC_A_MICB_1_VAL register. The macro also does not return the proper level value to use. This fixes this by preserving all bits from the register that are not the level while setting the

[PATCH] w1: keep balance of mutex locks and refcnts

2017-09-29 Thread Alexey Khoroshilov
w1_therm_eeprom() and w1_DS18B20_precision() decrement THERM_REFCNT on error paths, while they did not increment it yet. read_therm() unlocks bus mutex on some error paths, while it is not acquired. The patch makes sure all the functions keep the balance in usage of the mutex and the THERM_REFCNT

Re: [PATCH] MAINTAINERS: update TPM driver infrastructure changes

2017-09-29 Thread Jarkko Sakkinen
On Fri, Sep 29, 2017 at 08:29:09AM +, peter.hu...@infineon.com wrote: > >> +Q: https://patchwork.kernel.org/project/linux-integrity/list/ > > Is there a way of viewing not just the posted patches, but the discussion > > as well? Do we need to set up an archive as well? > Spinics is archiving

[PATCH perf] tools: Update rbtree files

2017-09-29 Thread David Ahern
Update rbtree files to 4.14. Changes made after copy: - update guards in header files - remove rcu references Signed-off-by: David Ahern --- tools/include/linux/rbtree.h | 59 --- tools/include/linux/rbtree_augmented.h | 58 +-- tools/lib/rbtree.c

Re: [PATCH v3 2/6] drivers: fsi: Add SBEFIFO FSI client device driver

2017-09-29 Thread Andrew Jeffery
Hi Eddie, On Sat, 23 Sep 2017, at 06:35, Eddie James wrote: > From: "Edward A. James" > > IBM POWER9 processors contain some embedded hardware and software bits > collectively referred to as the self boot engine (SBE). One role of > the SBE is to act as a proxy that provides access to the regis

Re: Problems compiling with KCFLAGS="-frecord-gcc-switches"

2017-09-29 Thread Guenter Roeck
On Fri, Sep 29, 2017 at 01:00:56PM -0700, Guenter Roeck wrote: > Hi Josh, > > when trying to compile an image with KCFLAGS="-frecord-gcc-switches", > I get the folllowing build warning/error. > > make allmodconfig > KCFLAGS="-frecord-gcc-switches" make arch/x86/kvm/emulate.o > ./tools/objtool/obj

Re: [PATCH RFC 3/5] Add KSZ8795 switch driver

2017-09-29 Thread Andrew Lunn
On Fri, Sep 29, 2017 at 07:19:17PM +, tristram...@microchip.com wrote: > > > My concern is if a task is already running with SPI access to a lot > > > of registers like reading the 32 MIB counters in every port of the > > > switch, another register access has to wait until they are finished. >

Re: [PATCH] mm, hugetlb: fix "treat_as_movable" condition in htlb_alloc_mask

2017-09-29 Thread Alexandru Moise
On Fri, Sep 29, 2017 at 05:13:39PM +0200, Alexandru Moise wrote: > If hugepage_migration_supported() returns true, this renders the > hugepages_treat_as_movable sysctl completely pointless. > > Let's keep this behavior optional by switching the if() condition > from || to &&. > > Signed-off-by: A

Re: Problems compiling with KCFLAGS="-frecord-gcc-switches"

2017-09-29 Thread Josh Poimboeuf
On Fri, Sep 29, 2017 at 01:00:56PM -0700, Guenter Roeck wrote: > Hi Josh, > > when trying to compile an image with KCFLAGS="-frecord-gcc-switches", > I get the folllowing build warning/error. > > make allmodconfig > KCFLAGS="-frecord-gcc-switches" make arch/x86/kvm/emulate.o > ./tools/objtool/obj

[GIT PULL] LED fixes for 4.14-rc3

2017-09-29 Thread Jacek Anaszewski
Hi Linus, Please pull four fixes for as3645a LED flash controller and one update to MAINTAINERS. The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linu

[PATCH 01/12] Input: ad7897 - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group and goto label. CC: Michael Hennerich Signed-off-by: A

I Need your help

2017-09-29 Thread Muhamed ouedrago
Dear Friend, Please this is a personal message for you, i know that this mail will come to you as a surprise as we have never met before, i am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of $

[PATCH 00/12] use managed devm_device_add_group for all touchscreen drivers

2017-09-29 Thread Andi Shyti
Hi, this patch series uses Dmitry's patch 57b8ff070f98 driver core: add devm_device_add_group() and friends each of the 12 patches replaces the sysfs_create_group() function with its managed version devm_device_add_group. Andi Andi Shyti (12): Input: ad7897 - use managed devm_device_add_gr

[PATCH 03/12] Input: ads7846 - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group and goto label. Signed-off-by: Andi Shyti --- drivers

[PATCH 10/12] Input: rohm_bu21023 - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the action that cleans the sysfs file when exiting the driver. Signed-off-by: Andi Shyt

Re: Problems compiling with KCFLAGS="-frecord-gcc-switches"

2017-09-29 Thread Josh Poimboeuf
On Fri, Sep 29, 2017 at 01:38:43PM -0700, Guenter Roeck wrote: > On Fri, Sep 29, 2017 at 01:00:56PM -0700, Guenter Roeck wrote: > > Hi Josh, > > > > when trying to compile an image with KCFLAGS="-frecord-gcc-switches", > > I get the folllowing build warning/error. > > > > make allmodconfig > > KC

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-09-29 Thread Junaid Shahid
Thanks for the clarification. But in that case, shouldn’t the patch check whether IS_PARKED was already set before calling complete(&self->parked)? Otherwise, the completion count for self->parked could be more than 1 as a result of spurious wakeups, which could make a future call to kthread_par

[PATCH 07/12] Input: ili210x - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group and goto label. Signed-off-by: Andi Shyti --- drivers

[PATCH 11/12] Input: tsc200x-core - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group and goto label. Signed-off-by: Andi Shyti --- drivers

Re: [Outreachy kernel] [PATCH] Staging: rtl8723bs: Remove unnecessary comments.

2017-09-29 Thread Julia Lawall
On Sat, 30 Sep 2017, Shreeya Patel wrote: > The comments regarding memset are not needed in the > files which have been modified since the necessary changes > are already there in the files. The comments don't look very useful, but I don't understand "since the necessary changes are alread ther

Re: [PATCH v3] PCIe AER: report uncorrectable errors only to the functions that logged the errors

2017-09-29 Thread Bjorn Helgaas
On Thu, Sep 28, 2017 at 03:33:05PM +0100, Gabriele Paoloni wrote: > Currently if an uncorrectable error is reported by an EP the AER > driver walks over all the devices connected to the upstream port > bus and in turns call the report_error_detected() callback. > If any of the devices connected to

Re: [PATCH] clk: Export clk_bulk_prepare()

2017-09-29 Thread Stephen Boyd
On 09/22, Bjorn Andersson wrote: > Allow clk_bulk_prepare() to be referenced by kernel modules by adding > the missing EXPORT_SYMBOL_GPL(). > > Fixes: 266e4e9d9150 ("clk: add clk_bulk_get accessories") > Reported-by: Ulf Hansson > Signed-off-by: Bjorn Andersson > --- Applied to clk-fixes -- Q

[PATCH 08/12] Input: melfas_mip4 - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the action that cleans the sysfs file when exiting the driver. CC: Sangwon Jee Signed-

Re: [PATCH] mm, hugetlb: fix "treat_as_movable" condition in htlb_alloc_mask

2017-09-29 Thread Mike Kravetz
Adding Anshuman On 09/29/2017 01:43 PM, Alexandru Moise wrote: > On Fri, Sep 29, 2017 at 05:13:39PM +0200, Alexandru Moise wrote: >> >> diff --git a/mm/hugetlb.c b/mm/hugetlb.c >> index 424b0ef08a60..ab28de0122af 100644 >> --- a/mm/hugetlb.c >> +++ b/mm/hugetlb.c >> @@ -926,7 +926,7 @@ static stru

[PATCH 12/12] Input: wdt87xx_i2c - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group and remove the relative sysfs_remove_group. Signed-off-by: Andi Shyti --- drivers/input/touchscr

[PATCH 04/12] Input: atmel_mxt_ts - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the the managed version for creating sysfs group files. Use devm_device_add_group instead of sysfs_create_group. CC: Nick Dyer Signed-off-by: Andi Shyti --- drivers/input/touchscreen/atmel_mxt_ts.c | 3 +--

<    1   2   3   4   5   6   7   >