[PATCH v2 1/2] dax: fix deadlock due to misaligned PMD faults

2017-08-22 Thread Ross Zwisler
In DAX there are two separate places where the 2MiB range of a PMD is defined. The first is in the page tables, where a PMD mapping inserted for a given address spans from (vmf->address & PMD_MASK) to ((vmf->address & PMD_MASK) + PMD_SIZE - 1). That is, from the 2MiB boundary below the address

Re: [PATCH][next] MIPS,bpf: fix missing break in switch statement

2017-08-22 Thread David Daney
On 08/22/2017 03:03 PM, Colin King wrote: From: Colin Ian King There is a missing break causing a fall-through and setting ctx.use_bbit_insns to the wrong value. Fix this by adding the missing break. Detected with cppcheck: "Variable 'ctx.use_bbit_insns' is

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-22 Thread Linus Torvalds
On Tue, Aug 22, 2017 at 2:24 PM, Andi Kleen wrote: > > I believe in this case it's used by threads, so a reference count limit > wouldn't help. For the first migration try, yes. But if it's some kind of "try and try again" pattern, the second time you try and there are

Re: [PATCH v2 2/4] usb: xhci-mtk: add generic compatible string

2017-08-22 Thread Chunfeng Yun
Hi, Mathias On Wed, 2017-08-16 at 14:08 +0800, Chunfeng Yun wrote: > The xhci-mtk driver is a generic driver for MediaTek xHCI IP, add > a generic compatible to avoid confusion when support new SoCs but > use a compatible with specific SoC's name "mt8173". > > Signed-off-by: Chunfeng Yun

[PATCH] e1000: changed some expensive calls of udelay to usleep_range

2017-08-22 Thread nxf23276
Calls to udelay are not preemtable by userspace so userspace applications experience a large (~200us) latency when running on core 0. Instead usleep_range can be used to be more friendly to userspace since it is preemtable. This is due to udelay using busy-wait loops while

Re: [PATCH] net: amd: constify zorro_device_id

2017-08-22 Thread David Miller
From: Arvind Yadav Date: Tue, 22 Aug 2017 23:41:12 +0530 > zorro_device_id are not supposed to change at runtime. All functions > working with zorro_device_id provided by work with > const zorro_device_id. So mark the non-const structs as const. > > Signed-off-by:

Re: [PATCH v2 1/6] fsl/fman: enable FMan Keygen

2017-08-22 Thread David Miller
From: Madalin Bucur Date: Tue, 22 Aug 2017 20:31:01 +0300 > /** > + * fman_get_keygen > + * > + * @fman:A Pointer to FMan device > + * > + * Get the handle to KeyGen module part of FM driver > + * > + * Return: Handle to KeyGen > + */ > +struct fman_keygen

Re: [PATCH 4/5] ARC: AXS103: DTS: Set cpu frequency explicitly via dts

2017-08-22 Thread Vineet Gupta
On 08/14/2017 09:12 AM, Eugeniy Paltsev wrote: Set cpu frequency explicitly via "cpu-freq" param in cpu 0 node in device tree. We add "cpu-freq" only to cpu 0 as all cpus are clocking from same clock source (same pll in our case). We override cpus node in skeleton as we don't need this change

Re: [PATCH] Staging: greybus: Make string array const

2017-08-22 Thread kbuild test robot
Hi Eames, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.13-rc6 next-20170822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Eames-Trinh/Staging-greybus-Make

Re: [PATCH][next] MIPS,bpf: fix missing break in switch statement

2017-08-22 Thread Daniel Borkmann
On 08/23/2017 12:29 AM, David Daney wrote: On 08/22/2017 03:03 PM, Colin King wrote: From: Colin Ian King There is a missing break causing a fall-through and setting ctx.use_bbit_insns to the wrong value. Fix this by adding the missing break. Detected with cppcheck:

Re: [PATCH] PCI: Fix and amend express capability sizes

2017-08-22 Thread Alex Williamson
On Tue, 22 Aug 2017 16:05:01 -0500 Bjorn Helgaas wrote: > On Thu, Aug 10, 2017 at 10:54:31AM -0600, Alex Williamson wrote: > > PCI_CAP_EXP_ENDPOINT_SIZEOF_V1 defines the size of the PCIe express > > capability structure for v1 devices with link, but we also have a need > > in

Re: [PATCH 2/2] cpufreq: dt: add support for rockchip rv1108

2017-08-22 Thread Heiko Stuebner
Am Montag, 21. August 2017, 17:10:24 CEST schrieb Andy Yan: > Add the compatible string to support the generic device tree > cpufreq-dt driver on rockchip rv1108 soc. > > Signed-off-by: Andy Yan Reviewed-by: Heiko Stuebner

[PATCH] rtc: m41t80: remove debug sysfs attribute

2017-08-22 Thread Alexandre Belloni
The last remaining sysfs attribute is undocumented and useless as it can only be used to debug the driver. Remove it. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-m41t80.c | 44 1 file changed, 44

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-22 Thread Christopher Lameter
On Tue, 22 Aug 2017, Andi Kleen wrote: > We only see it on 4S+ today. But systems are always getting larger, > so what's a large system today, will be a normal medium scale system > tomorrow. > > BTW we also collected PT traces for the long hang cases, but it was > hard to find a consistent

Re: [PATCH net-next,0/4] hv_netvsc: Ethtool handler to change UDP hash levels

2017-08-22 Thread David Miller
From: Haiyang Zhang Date: Mon, 21 Aug 2017 19:22:36 -0700 > From: Haiyang Zhang > > The patch set adds the functions to switch UDP hash level between > L3 and L4 by ethtool command. UDP over IPv4 and v6 can be set > differently. The

Re: [PATCH 0/2] net: Fix crashes due to activity during suspend

2017-08-22 Thread Geert Uytterhoeven
Hi Florian, On Tue, Aug 22, 2017 at 8:49 PM, Florian Fainelli wrote: > On 08/22/2017 11:37 AM, Geert Uytterhoeven wrote: >> If an Ethernet device is used while the device is suspended, the system may >> crash. >> >> E.g. on sh73a0/kzm9g and r8a73a4/ape6evm, the external

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

2017-08-22 Thread Jonathan Cameron
On Mon, 31 Jul 2017 12:03:23 -0400 William Breathitt Gray wrote: > 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 for devices that qualify as

Re: [PATCH 0/3] iio: Introduce the generic counter interface

2017-08-22 Thread Jonathan Cameron
On Mon, 31 Jul 2017 12:02:45 -0400 William Breathitt Gray wrote: > Summary > === I'd like to see some of this brought out as proper documentation files in future sets. In particular the sysfs interface needs full docs. > > Counter devices are prevalent within a

Re: [PATCH 3/3] iio: 104-quad-8: Add IIO generic counter interface support

2017-08-22 Thread Jonathan Cameron
On Mon, 31 Jul 2017 12:03:46 -0400 William Breathitt Gray wrote: > This patch adds support for the IIO generic counter interface to the > 104-QUAD-8 driver. The existing 104-QUAD-8 device interface should not > be affected by this patch; all changes are intended as

Re: [PATCH] net: ftgmac100: Fix oops in probe on failure to find associated PHY

2017-08-22 Thread David Miller
From: Andrew Jeffery Date: Tue, 22 Aug 2017 16:06:22 +0930 > netif_napi_del() should be paired with netif_napi_add(), however no > such call takes place in ftgmac100_probe(). This triggers a NULL > pointer dereference if e.g. no PHY is found by the MDIO probe: ... >

RE: [PATCH net-next 3/3] hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK)

2017-08-22 Thread Dexuan Cui
> From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > On Fri, Aug 18, 2017 at 10:23:54PM +, Dexuan Cui wrote: > > > > +static bool hvs_stream_allow(u32 cid, u32 port) > > > > +{ > > > > + static const u32 valid_cids[] = { > > > > + VMADDR_CID_ANY, > > > > > > Is this for

Re: linux-next: Tree for Aug 22

2017-08-22 Thread Stephen Rothwell
Hi Paul, On Tue, 22 Aug 2017 12:36:20 -0700 "Paul E. McKenney" wrote: > > To complete the thought, if you aren't already using it, I suggest > applying Nick's patch: > > http://lkml.kernel.org/r/20170822084348.21436-1-npig...@gmail.com OK, I applied that - with a

Re: [PATCH v3] KVM: nVMX: Fix trying to cancel vmlauch/vmresume

2017-08-22 Thread Wanpeng Li
2017-08-23 0:09 GMT+08:00 Paolo Bonzini : > On 22/08/2017 01:08, Wanpeng Li wrote: >> From: Wanpeng Li >> >> [ cut here ] >> WARNING: CPU: 7 PID: 3861 at /home/kernel/ssd/kvm/arch/x86/kvm//vmx.c:11299 >>

Re: [PATCH v12 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-22 Thread Stanislav Yakovlev
On 22 August 2017 at 07:47, Romain Perier wrote: > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier > Reviewed-by: Peter Senna

[PATCH v2 2/2] block: Make I/O timeout failure injection again task-independent

2017-08-22 Thread Bart Van Assche
Commit e41d58185f14 made all faults that are triggered from task context, including I/O timeouts, dependent on the failure injection settings for that task. Make it again possible to inject I/O timeout failures independent of task context. An example for a fault injection for which this patch

[PATCH v2 0/2] Make I/O timeout failure injection again task-independent

2017-08-22 Thread Bart Van Assche
Hello Andrew, A recent change in the fault injection code introduced an undesired change in the behavior of the I/O timeout failure injection code. This series restores the original behavior. Please consider these patches for kernel v4.14. Thanks, Bart. Changes compared to v1: - Fixed build

[PATCH v2 1/2] fault-inject: Restore support for task-independent fault injection

2017-08-22 Thread Bart Van Assche
Certain faults should be injected independent of the context in which these occur. Commit e41d58185f14 made it impossible to inject faults independent of their context. Restore support for task-independent fault injection by adding the attribute 'global'. References: commit e41d58185f14

Clang patch stacks for LTS kernels (v4.4 and v4.9) and status update

2017-08-22 Thread Matthias Kaehlcke
Hi, Over the past months efforts have been made to upstream the remaining LLVMLinux patches (http://llvm.linuxfoundation.org) and to address other outstanding issues in order to build a usable kernel with clang. To my knowledge upstream is in a relatively good shape by now for x86 and arm64 (I

Re: [PATCH v2 1/2] arm64: dts: rockchip: add rk3328 pdm node

2017-08-22 Thread Heiko Stuebner
Am Montag, 21. August 2017, 16:25:06 CEST schrieb Sugar Zhang: > This patch add pdm controller device node for rk3328. > > Signed-off-by: Sugar Zhang applied for 4.14 Thanks Heiko

[PATCH v3] dmaengine: ioatdma: Add intr_coalesce sysfs entry

2017-08-22 Thread Ujjal Singh
We observed performance increase with DMA copy from memory to MMIO by changing the interrupt coalescing value to 0. The previous set value was projected on the C5xxx Xeon platform and no longer holds true. Removing hard coded value and providing a tune-able in sysfs in order to allow user to tune

Re: [PATCH net] net/hsr: Check skb_put_padto() return value

2017-08-22 Thread David Miller
From: Florian Fainelli Date: Mon, 21 Aug 2017 12:59:10 -0700 > skb_put_padto() will free the sk_buff passed as reference in case of > errors, but we still need to check its return value and decide what to > do. > > Detected by CoverityScan, CID#1416688 ("CHECKED_RETURN") >

Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC start method

2017-08-22 Thread Jiandi An
On 08/22/2017 12:39 PM, Jarkko Sakkinen wrote: On Thu, Aug 17, 2017 at 11:15:36PM -0500, Jiandi An wrote: For ARM64, the locality is handled by Trust Zone in FW. The layout does not have crb_regs_head. It is hitting the following line. dev_warn(dev, FW_BUG "Bad ACPI memory layout"); Current

Re: [PATCH net-next] net: phy: Deal with unbound PHY driver in phy_attached_print()

2017-08-22 Thread David Miller
From: Florian Fainelli Date: Tue, 22 Aug 2017 14:26:47 -0700 > Priit reported that stmmac was crashing with the trace below. This is because > phy_attached_print() is called too early right after the PHY device has been > found, but before it has a driver attached, since

Re: [PATCH 1/3 v8] ARC: Set IO-coherency aperture base to LINUX_LINK_BASE

2017-08-22 Thread Vineet Gupta
On 07/12/2017 02:40 AM, Eugeniy Paltsev wrote: Most of the time we indeed use the one and only LINUX_LINK_BASE set to 0x8000_. But there might be good reasons to move the kernel to another location like 0x9z etc. And we want IOC aperture to cover entire area used by the kernel, so let's make

[PATCH][next] MIPS,bpf: fix missing break in switch statement

2017-08-22 Thread Colin King
From: Colin Ian King There is a missing break causing a fall-through and setting ctx.use_bbit_insns to the wrong value. Fix this by adding the missing break. Detected with cppcheck: "Variable 'ctx.use_bbit_insns' is reassigned a value before the old one has been used.

[PATCH v2 2/2] dax: use PG_PMD_COLOUR instead of open coding

2017-08-22 Thread Ross Zwisler
Use ~PG_PMD_COLOUR in dax_entry_waitqueue() instead of open coding an equivalent page offset mask. Signed-off-by: Ross Zwisler --- fs/dax.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/fs/dax.c b/fs/dax.c index 865d42c..0e2a1fd

[PATCH net] fsl/man: Inherit parent device and of_node

2017-08-22 Thread Florian Fainelli
Junote Cai reported that he was not able to get a DSA setup involving the Freescale DPAA/FMAN driver to work and narrowed it down to of_find_net_device_by_node(). This function requires the network device's device reference to be correctly set which is the case here, though we have lost any

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-22 Thread Linus Torvalds
On Tue, Aug 22, 2017 at 3:52 PM, Linus Torvalds wrote: > > The *other* memory policies look fairly sane. They basically have a > fairly well-defined preferred node for the policy (although the > "MPOL_INTERLEAVE" looks wrong for a hugepage). But >

Re: [PATCH 0/2] Separate NUMA statistics from zone statistics

2017-08-22 Thread Andi Kleen
Christopher Lameter writes: > Can we simple get rid of the stats or make then configurable (off by > defaut)? I agree they are rarely used and have been rarely used in the past. > > Maybe some instrumentation for perf etc will allow > similar statistics these days? Thus its

Re: [PATCH net] fsl/man: Inherit parent device and of_node

2017-08-22 Thread David Miller
From: Florian Fainelli Date: Tue, 22 Aug 2017 15:24:47 -0700 > Junote Cai reported that he was not able to get a DSA setup involving the > Freescale DPAA/FMAN driver to work and narrowed it down to > of_find_net_device_by_node(). This function requires the network device's

linux-next: build warning after merge of the net tree

2017-08-22 Thread Stephen Rothwell
Hi all, After merging the net tree, today's linux-next build (x86_64 allmodconfig) produced this warning: net/ipv6/route.c: In function 'rt6_check': net/ipv6/route.c:1294:43: warning: 'rt_cookie' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!rt6_get_cookie_safe(rt,

Re: [PATCH v2 1/3] ARM: dts: rockchip: add cpu opp table for rv1108

2017-08-22 Thread Heiko Stuebner
Am Dienstag, 22. August 2017, 21:11:55 CEST schrieb Andy Yan: > Add cpu opp table for rv1108 to support frequency > from 408MHZ to 1008MHZ. > > Signed-off-by: Andy Yan applied for 4.14 Thanks Heiko

Re: [PATCH v2 2/3] ARM: dts: rockchip: add cpu power supply for rv1108 evb

2017-08-22 Thread Heiko Stuebner
Am Dienstag, 22. August 2017, 21:13:30 CEST schrieb Andy Yan: > The cpu is powered by regulator vdd_core on RV1108 evalution > board. Add it to the cpu dt node. > > Signed-off-by: Andy Yan applied for 4.14. Thanks Heiko

Re: [PATCH] mfd: Add support for TI LMP92001

2017-08-22 Thread kbuild test robot
Hi Abhisit, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.13-rc6 next-20170822] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/s-abhisit-gmail-com/mfd-Add

[PATCH v5 5/6] perf: hisi: Add support for HiSilicon SoC DDRC PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support for DDRC PMU driver in HiSilicon SoC chip, Each DDRC has own control, counter and interrupt registers and is an separate PMU. For each DDRC PMU, it has 8-fixed-purpose counters which have been mapped to 8-events by hardware, it assumes that counter index is equal to event

[PATCH 04/11] crypto: nx - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/nx/nx-aes-gcm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/nx/nx-aes-gcm.c b/drivers/crypto/nx/nx-aes-gcm.c

[PATCH v3 1/3] PCI: iproc: Implement PCI hotplug support

2017-08-22 Thread Oza Pawandeep
This patch implements PCI hotplug support for iproc family chipsets. iproc based SOC (e.g. Stingray) does not have hotplug controller integrated. Hence, standard PCI hotplug framework hooks can-not be used. e.g. controlled power up/down of slot. The mechanism, for e.g. Stingray has adopted for

[PATCH v3 3/3] dt-bindings: PCI iproc: Add optional property prsnt-gpios

2017-08-22 Thread Oza Pawandeep
Add description for optional device tree property 'prsnt-gpios' for PCI hotplug feature. Signed-off-by: Oza Pawandeep Reviewed-by: Ray Jui diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt

[PATCH v3 0/3] PCI hotplug feature

2017-08-22 Thread Oza Pawandeep
These patches bring in PCI hotplug support for iproc family chipsets. It includes DT binding documentation update and, implementation in iproc pcie RC driver. These patch set is made on top of following patches. [PATCH v7 2/2] PCI: iproc: add device shutdown for PCI RC [PATCH v7 1/2] PCI:

[PATCH 07/11] crypto: mediatek - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/mediatek/mtk-aes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/mediatek/mtk-aes.c

[PATCH 08/11] crypto: chelsio - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/chelsio/chcr_algo.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/chelsio/chcr_algo.c

[PATCH v3 2/3] dt-bindings: PCI: Add PCIe hotplug property

2017-08-22 Thread Oza Pawandeep
Host drivers have the requirement of implementing PCI hotplug based on the how their SOC supports PCI hotplug. Couple of properties have been added. the one to enable the hotplug feature itself, and the other caters to the PCI hotplug implementation with the use of gpios. Signed-off-by: Oza

[PATCH] net: ethernet: ax88796: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/8390/ax88796.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/8390/ax88796.c

[PATCH] drivers: net: wireless: atmel: check memory allocation failure

2017-08-22 Thread Himanshu Jha
Check memory allocation failure and return -ENOMEM if failure occurs. Signed-off-by: Himanshu Jha --- drivers/net/wireless/atmel/at76c50x-usb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: linux-next: manual merge of the tip tree with the iommu tree

2017-08-22 Thread Baoquan He
Hi Stephen, On 08/22/17 at 05:49pm, Stephen Rothwell wrote: > Hi Baoquan, > > On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote: > > > > On 08/22/17 at 01:50pm, Stephen Rothwell wrote: > > > from the iommu tree and commit: > > > > > > 2543a786aa25 ("iommu/amd: Allow the

[PATCH 00/11] crypto: gcm - add GCM IV size constant

2017-08-22 Thread Corentin Labbe
Many GCM users use directly GCM IV size instead of using some constant. This patch add all IV size constant used by GCM and convert drivers for using them.. Corentin Labbe (11): crypto: gcm - add GCM iv size constant crypto: caam - Use GCM IV size constant crypto: ccp - Use GCM IV size

[PATCH 03/11] crypto: ccp - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/ccp/ccp-crypto-aes-galois.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/ccp/ccp-crypto-aes-galois.c

[PATCH 01/11] crypto: gcm - add GCM IV size constant

2017-08-22 Thread Corentin Labbe
Many GCM users use directly GCM IV size instead of using some constant. This patch add all IV size constant used by GCM. Signed-off-by: Corentin Labbe --- include/crypto/gcm.h | 8 1 file changed, 8 insertions(+) create mode 100644 include/crypto/gcm.h

Re: [PATCH v2] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-22 Thread Marc Zyngier
On 22/08/17 03:03, Masahiro Yamada wrote: > Hi Mark, > > > 2017-08-21 19:25 GMT+09:00 Marc Zyngier : > >>> +static struct irq_chip uniphier_aidet_irq_chip = { >>> + .name = "AIDET", >>> + .irq_mask = irq_chip_mask_parent, >>> + .irq_unmask =

Re: [PATCH v2 05/19] perf, tools: Support weak groups

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:20PM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/Documentation/perf-list.txt > b/tools/perf/Documentation/perf-list.txt > index f709de54707b..d432965d728d 100644 > --- a/tools/perf/Documentation/perf-list.txt > +++

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-22 Thread Mel Gorman
On Tue, Aug 22, 2017 at 11:21:31AM +0800, kemi wrote: > > > On 2017???08???15??? 17:58, Mel Gorman wrote: > > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: > >> Threshold CPU cyclesThroughput(88 threads) > >> 32 799 241760478 > >> 64 640

Re: linux-next: manual merge of the tip tree with the iommu tree

2017-08-22 Thread Stephen Rothwell
Hi Baoquan, On Tue, 22 Aug 2017 16:01:28 +0800 Baoquan He wrote: > > On 08/22/17 at 05:49pm, Stephen Rothwell wrote: > > Hi Baoquan, > > > > On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote: > > > > > > On 08/22/17 at 01:50pm, Stephen Rothwell wrote: >

Re: [PATCH v2 07/19] perf, tools: Add utility function to detect SMT status

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:22PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Add an smt_on() function to return if SMT is enabled or disabled. > Used in the next patch. > > Signed-off-by: Andi Kleen Acked-by: Jiri Olsa

Re: [PATCH v2 08/19] perf, tools: Expression parser enhancements for metrics

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:23PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Enhance the expression parser for more complex metric formulas. > > - Support python style IF ELSE operators > - Add an #SMT_On magic variable for formulas that depend on the SMT > status. >

Re: [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:24PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Some of the upcoming metrics need more than 8 events. Increase the maximum > number the parser supports. > > Signed-off-by: Andi Kleen Acked-by: Jiri Olsa

[PATCH] Input: add support for HiDeep touchscreen

2017-08-22 Thread Anthony Kim
The HiDeep touchscreen device is a capacitive multi-touch controller mainly for multi-touch supported devices use. It use I2C interface for communication to IC and provide axis X, Y, Z locations for ten finger touch through input event interface to userspace. It support the Crimson and the Lime

Re: [PATCH v5 6/9] ASoC: rockchip: Parse dai links from dts

2017-08-22 Thread Donglin Peng
On Tue, Aug 22, 2017 at 3:57 PM, Jeffy Chen wrote: > Refactor rockchip_sound_probe, parse dai links from dts instead of > hard coding them. > > Signed-off-by: Jeffy Chen > Reviewed-by: Matthias Kaehlcke > Tested-by:

Re: [PATCH v3] livepatch: add (un)patch callbacks

2017-08-22 Thread Petr Mladek
On Mon 2017-08-21 17:18:58, Joe Lawrence wrote: > On Fri, Aug 18, 2017 at 03:58:16PM +0200, Petr Mladek wrote: > > On Wed 2017-08-16 15:17:04, Joe Lawrence wrote: > > > Provide livepatch modules a klp_object (un)patching notification > > > mechanism. Pre and post-(un)patch callbacks allow

Re: undefined reference to `_GLOBAL_OFFSET_TABLE_'

2017-08-22 Thread Michal Simek
On 20.8.2017 05:36, Nicholas Piggin wrote: > On Sun, 20 Aug 2017 08:37:36 +0800 > kbuild test robot wrote: > >> Hi Nicholas, >> >> FYI, the error/warning still remains. > > Still same answer as before, i.e., it seems to be this toolchain bug: > >

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 05:51:00PM +0900, Byungchul Park wrote: > On Tue, Aug 22, 2017 at 09:52:38AM +0200, Peter Zijlstra wrote: > > That wouldn't work. That annotation is to help find deadlocks like: > > > > > > mutex_lock() > > > >

Re: [PATCH v2 1/4] staging: pi433: Style fix - Correct long lines

2017-08-22 Thread Rishabh Hardas
On Sat, Aug 19, 2017 at 09:47:28PM -0700, Joe Perches wrote: > On Wed, 2017-08-16 at 10:31 +0300, Dan Carpenter wrote: > > On Wed, Aug 16, 2017 at 10:53:18AM +0530, Rishabh Hardas wrote: > > > @@ -143,10 +142,13 @@ struct pi433_rx_cfg { > > > > > > #define PI433_IOC_MAGIC 'r' >

Re: [PATCH] mmc: tegra: suppress errors when probe is deferred

2017-08-22 Thread Ulf Hansson
On 17 August 2017 at 13:52, Timo Alho wrote: > Don't print error message when clk_get() returns -EPROBE_DEFER. On > recent Tegra chips (t186 onwards), the clocks are provided by > auxiliary microprocessor (bpmp) and until the driver for it is probed > clocks are not available. >

Re: [PATCH 1/4] bitops: Introduce assign_bit()

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 10:30:50AM +0200, Lukas Wunner wrote: > diff --git a/include/linux/bitops.h b/include/linux/bitops.h > index a83c822c35c2..097af36887c0 100644 > --- a/include/linux/bitops.h > +++ b/include/linux/bitops.h > @@ -226,6 +226,30 @@ static inline unsigned long __ffs64(u64 word)

Re: [PATCH 0/5] mmc: sdhci-msm: Corrections to implementation of power irq

2017-08-22 Thread Ulf Hansson
On 18 August 2017 at 07:19, Vijay Viswanath wrote: > Register writes which change voltage of IO lines or turn the IO bus on/off > require sdhc controller to be ready before progressing further. Once a > register write which affects IO lines is done, the driver should wait

Re: [PATCH resend] timers: Fix excessive granularity of new timers after a nohz idle

2017-08-22 Thread Nicholas Piggin
On Tue, 22 Aug 2017 09:45:46 +0200 (CEST) Thomas Gleixner wrote: > On Tue, 22 Aug 2017, Nicholas Piggin wrote: > > I would have preferred to get comments from the timer maintainers, but > > they've been busy or away for the past copule of weeks. Perhaps you > > would consider

[GIT PULL] MFD fixes for v4.13

2017-08-22 Thread Lee Jones
Linus, Enjoy! The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-4.13 for you to fetch changes up to

[PATCH v5 6/6] arm64: MAINTAINERS: hisi: Add HiSilicon SoC PMU support

2017-08-22 Thread Shaokun Zhang
Add support HiSilicon SoC uncore PMU driver. Signed-off-by: Shaokun Zhang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1c3feff..9d1ad57 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6147,6 +6147,13 @@ S:

[PATCH v5 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds documentation for the uncore PMUs on HiSilicon SoC. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- Documentation/perf/hisi-pmu.txt | 53

[PATCH v5 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver

2017-08-22 Thread Shaokun Zhang
This patchset adds support for HiSilicon SoC uncore PMUs driver. It includes L3C, Hydra Home Agent (HHA) and DDRC. Changes in v5: * remove unnecessary name/num_events member in hisi_pmu * refactor hisi_pmu_hwevents structure * remove hisi_pmu_alloc function * revise cpuhotplug for L3C PMUs * add

[PATCH 10/11] crypto: gcm - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- crypto/gcm.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/crypto/gcm.c b/crypto/gcm.c index 3841b5eafa7e..80cf6cfe082b

[PATCH 09/11] crypto: omap - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/omap-aes-gcm.c | 7 --- drivers/crypto/omap-aes.c | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git

[PATCH 11/11] crypto: aesni - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- arch/x86/crypto/aesni-intel_glue.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/x86/crypto/aesni-intel_glue.c

[PATCH 06/11] crypto: bcm - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/bcm/cipher.c | 8 drivers/crypto/bcm/cipher.h | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/bcm/cipher.c

[PATCH] net: ethernet: freescale: fs_enet: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 05/11] crypto: atmel - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/atmel-aes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index

Re: [PATCH v2 04/19] perf, tools: Tighten detection of BPF events

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:19PM -0700, Andi Kleen wrote: > From: Andi Kleen > > perf stat -e cpu/uops_executed.core,cmask=1/ > > would be detected as a BPF source event because the .c matches the .c > source BPF pattern. > > v2: > > Originally I tried to use lex

Re: [PATCH v2 02/19] perf, tools: Fix buffer overflow while freeing events

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:17PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Fix buffer overflow for > > % perf stat -e msr/tsc/,cstate_core/c7-residency/ true > > that causes glibc free list corruption. For some reason > it doesn't trigger in valgrind, but it is

Re: [PATCH v2 01/19] perf, tools: Save max_x, max_y in xyarray

2017-08-22 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 04:26:16PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Save the original array dimensions in xyarrays, so that users can retrieve > them > later. Add some inline functions to access these fields. > > Signed-off-by: Andi Kleen

[PATCH v9 0/2] Make find_later_rq() choose a closer cpu in topology

2017-08-22 Thread Byungchul Park
Change from v8 -. add suggested-by Peterz -. add several comments Change from v7 -. fix a trivial typo -. modify commit messages to explain what it does more clearly -. simplify code with an existing macro Change from v6 -. add a comment about selection of fallback_cpu incase

[PATCH v9 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-22 Thread Byungchul Park
It would be better to try to check other siblings first if SD_PREFER_SIBLING is flaged when pushing tasks - migration. Signed-off-by: Byungchul Park Suggested-by: Peter Zijlstra --- kernel/sched/deadline.c | 80

[PATCH v9 2/2] sched/rt: Add support for SD_PREFER_SIBLING on find_lowest_rq()

2017-08-22 Thread Byungchul Park
Hello Steven, I added several comments so I'm not sure if I could add your reviewed-by. ->8- >From f0710d99759ed28c1409a527166780899f00d236 Mon Sep 17 00:00:00 2001 From: Byungchul Park Date: Tue, 22 Aug 2017 17:19:21 +0900 Subject: [PATCH v9 2/2] sched/rt: Add

Re: [PATCH 1/4] bitops: Introduce assign_bit()

2017-08-22 Thread Lukas Wunner
On Mon, Aug 21, 2017 at 04:18:44PM +, Bart Van Assche wrote: > On Mon, 2017-08-21 at 15:12 +0200, Lukas Wunner wrote: > > Cc: Bart Van Assche > > Cc: Alasdair Kergon > > Cc: Mike Snitzer > > Signed-off-by: Lukas Wunner

linux-next: Tree for Aug 22

2017-08-22 Thread Stephen Rothwell
Hi all, Changes since 20170817: The btrfs-kdave tree gained a conflict against the btrfs tree. The v4l-dvb tree gained a conflict against the arm-soc tree. The net-next tree still had its build failure for which I reverted a commit. It also gained a conflict against the rockchip tree. The

[PATCH v2] timers: Fix excessive granularity of new timers after a nohz idle

2017-08-22 Thread Nicholas Piggin
When a timer base is idle, it is forwarded when a new timer is added to ensure that granularity does not become excessive. When not idle, the timer tick is expected to increment the base. However there are several problems: - If an existing timer is modified, the base is forwarded only after

Re: [PATCH] drivers: net: wireless: atmel: check memory allocation failure

2017-08-22 Thread Matteo Croce
Il giorno mar, 22/08/2017 alle 13.41 +0530, Himanshu Jha ha scritto: > Check memory allocation failure and return -ENOMEM if failure > occurs. > > Signed-off-by: Himanshu Jha > --- > drivers/net/wireless/atmel/at76c50x-usb.c | 14 +++--- > 1 file changed, 7

[PATCH] pinctrl: rockchip: Add rv1108 recalced iomux support

2017-08-22 Thread David Wu
The pins from GPIO1A0 to GPIO1B1 are special, need to recalculate iomux. And the register offset is larger than the u8 range, so changed to u32. Signed-off-by: David Wu --- drivers/pinctrl/pinctrl-rockchip.c | 68 +- 1 file changed,

Re: linux-next: manual merge of the tip tree with the iommu tree

2017-08-22 Thread Baoquan He
On 08/22/17 at 06:43pm, Stephen Rothwell wrote: > Hi Baoquan, > > On Tue, 22 Aug 2017 16:01:28 +0800 Baoquan He wrote: > > > > On 08/22/17 at 05:49pm, Stephen Rothwell wrote: > > > Hi Baoquan, > > > > > > On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote:

Re: [PATCH V2] spmi: pmic-arb: Enforce the ownership check optionally

2017-08-22 Thread Shawn Guo
On Mon, Aug 21, 2017 at 04:18:58PM -0700, Stephen Boyd wrote: > On 08/18/2017 08:28 AM, Kiran Gunda wrote: > > The peripheral ownership check is not necessary on single master > > platforms. Hence, enforce the peripheral ownership check optionally. > > > > Signed-off-by: Kiran Gunda

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 03:46:03PM +1000, Dave Chinner wrote: > On Mon, Aug 21, 2017 at 05:46:00PM +0200, Peter Zijlstra wrote: > Let me get this straight, first. If we: > > 1. take a lock in a work queue context; and > 2. in a separate context, hold that lock while we wait for a >

Re: [PATCH v2 1/3] dt-bindings: add eeprom "size" property

2017-08-22 Thread Sakari Ailus
Hi Divagar, On Tue, Aug 15, 2017 at 12:11:57AM +0530, Divagar Mohandass wrote: > This adds eeprom "size" as optional property for i2c eeproms. > > "size" should be mentioned in byte and it should refer > to the eeprom size. This will be read by the driver and > used to calculating the number of

<    2   3   4   5   6   7   8   9   10   11   >