[tip:perf/core] perf tools: Add support for printing new mem_info encodings

2017-08-24 Thread tip-bot for Andi Kleen
Commit-ID: 52839e653b5629bd237ad2ecdd8fdd897fcd5712 Gitweb: http://git.kernel.org/tip/52839e653b5629bd237ad2ecdd8fdd897fcd5712 Author: Andi Kleen AuthorDate: Wed, 16 Aug 2017 15:21:55 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 12:30:25 -0300 perf tools: Add

[tip:perf/core] perf test: Add test cases for new data source encoding

2017-08-24 Thread tip-bot for Andi Kleen
Commit-ID: 3067eaa7ce2dbcde89d87277cdbc91c211480060 Gitweb: http://git.kernel.org/tip/3067eaa7ce2dbcde89d87277cdbc91c211480060 Author: Andi Kleen AuthorDate: Wed, 16 Aug 2017 15:21:56 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 13:23:10 -0300 perf test: Add t

[PATCH] RDMA/qedr: fix spelling mistake: "invlaid" -> "invalid"

2017-08-24 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in DP_ERR error message Signed-off-by: Colin Ian King --- drivers/infiniband/hw/qedr/verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/qedr/verbs.c b/drivers/infiniband/hw/qedr/verbs.c index 4

Re: linux-next: build warnings after merge of the akpm-current tree

2017-08-24 Thread Changwei Ge
Hi Andrew, On 2017/8/24 15:42, Stephen Rothwell wrote: > Hi Andrew, After merging the akpm-current tree, today's linux-next > build (x86_64 allmodconfig) produced these warnings: > fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_free_dead_locks': > fs/ocfs2/dlm/dlmrecovery.c:2306:6: warning: unused v

[tip:perf/core] perf tools: Really install manpages via 'make install-man'

2017-08-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: 2826478a6660158d261bc49ad8954a8f5c39be07 Gitweb: http://git.kernel.org/tip/2826478a6660158d261bc49ad8954a8f5c39be07 Author: Konstantin Khlebnikov AuthorDate: Sun, 20 Aug 2017 14:39:13 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 13:24:53 -0300 perf

[PATCH 10/14] arm64: kexec_file: load initrd, device-tree and purgatory segments

2017-08-24 Thread AKASHI Takahiro
load_other_segments() sets up and adds all the memory segments necessary other than kernel, including initrd, device-tree blob and purgatory. Most of the code was borrowed from kexec-tools' counterpart. In addition, arch_kexec_image_probe(), arch_kexec_image_load() and arch_kexec_kernel_verify_sig

[tip:perf/core] perf tools: Fix static linking with libdw from elfutils

2017-08-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: ba335df4ea2a5011002c5cde53bab6d7f5d714d8 Gitweb: http://git.kernel.org/tip/ba335df4ea2a5011002c5cde53bab6d7f5d714d8 Author: Konstantin Khlebnikov AuthorDate: Sun, 20 Aug 2017 14:39:27 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 13:24:54 -0300 perf

Re: [PATCH 0/7] sched/deadline: fix cpusets bandwidth accounting

2017-08-24 Thread Juri Lelli
Hi, On 24/08/17 09:53, Luca Abeni wrote: > On Wed, 23 Aug 2017 13:47:13 -0600 > Mathieu Poirier wrote: > > >> This is a renewed attempt at fixing a problem reported by Steve Rostedt > > >> [1] > > >> where DL bandwidth accounting is not recomputed after CPUset and > > >> CPUhotplug > > >> opera

[tip:x86/asm] x86/paravirt/xen: Remove xen_patch()

2017-08-24 Thread tip-bot for Juergen Gross
Commit-ID: edcb5cf84f05e5d2e2af25422a72ccde359fcca9 Gitweb: http://git.kernel.org/tip/edcb5cf84f05e5d2e2af25422a72ccde359fcca9 Author: Juergen Gross AuthorDate: Wed, 16 Aug 2017 19:31:56 +0200 Committer: Ingo Molnar CommitDate: Thu, 24 Aug 2017 09:57:24 +0200 x86/paravirt/xen: Remove x

[PATCH] apparmor: fix spelling mistake: "resoure" -> "resource"

2017-08-24 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in comment and also with text in audit_resource call. Signed-off-by: Colin Ian King --- security/apparmor/resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/apparmor/resource.c b/security/apparmor/res

[tip:perf/core] perf tools: Fix static linking with libunwind

2017-08-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: 60913e005c8d19ec5187a638eafdd088509dfb9e Gitweb: http://git.kernel.org/tip/60913e005c8d19ec5187a638eafdd088509dfb9e Author: Konstantin Khlebnikov AuthorDate: Sun, 20 Aug 2017 14:39:32 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 13:24:55 -0300 perf

Re: [v2,3/3] can: m_can: Add PM Runtime

2017-08-24 Thread Sekhar Nori
+ OMAP mailing list On Tuesday 25 July 2017 04:21 AM, Franklin Cooper wrote: > Add support for PM Runtime which is the new way to handle managing clocks. > However, to avoid breaking SoCs not using PM_RUNTIME leave the old clk > management approach in place. Since hclk is the interface clock, I t

[tip:perf/core] perf: Fix documentation for sysctls perf_event_paranoid and perf_event_mlock_kb

2017-08-24 Thread tip-bot for Konstantin Khlebnikov
Commit-ID: ac0bb6b72f4bbab08f270a919406d971e73698b5 Gitweb: http://git.kernel.org/tip/ac0bb6b72f4bbab08f270a919406d971e73698b5 Author: Konstantin Khlebnikov AuthorDate: Sun, 20 Aug 2017 14:39:20 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 22 Aug 2017 13:24:54 -0300 perf:

Re: [PATCH 1/1] mm: only dispaly online cpus of the numa node

2017-08-24 Thread Michal Hocko
It seems this has slipped through cracks. Let's CC arm64 guys On Tue 20-06-17 20:43:28, Zhen Lei wrote: > When I executed numactl -H(which read /sys/devices/system/node/nodeX/cpumap > and display cpumask_of_node for each node), but I got different result on > X86 and arm64. For each numa node, the

Re: [PATCH] clk: rockchip: Mark rockchip_fractional_approximation static

2017-08-24 Thread Heiko Stuebner
Am Mittwoch, 23. August 2017, 16:08:19 CEST schrieb Stephen Boyd: > On 08/23, Stephen Boyd wrote: > > Silence the sparse warning > > > > clk/rockchip/clk.c:172:6: warning: symbol > > 'rockchip_fractional_approximation' was not declared. Should it be static? > > > > Cc: Elaine Zhang > > Cc: Heik

Re: linux-next-20170823 failed to build for arm64/defconfig

2017-08-24 Thread Thierry Reding
On Wed, Aug 23, 2017 at 10:53:39AM +0200, Thierry Reding wrote: > On Wed, Aug 23, 2017 at 04:19:55PM +0800, Shawn Lin wrote: > > Hi Thierry and Stephen, > > > > commit 67e04d1ab19b0cc6d87ca7c44b058edf678bc3a3 > > Author: Thierry Reding > > Date: Tue Aug 15 15:41:10 2017 +0200 > > > > drm/t

[PATCH v4] mtd: nand: Add OOB layout without ECC bytes

2017-08-24 Thread Miquel Raynal
Add layout functions for large pages with mainly free bytes plus reserved space for Bad Block Markers. This may be useful for configurations that does set ECC_NONE. Specific chips that use on-die ECC feature, ie. the TOSHIBA BENAND (Built-in ECC NAND), might also take advantage of it: the ECC bytes

Re: [PATCH v2] sched/topology: Introduce NUMA identity node sched domain

2017-08-24 Thread Borislav Petkov
On Thu, Aug 24, 2017 at 08:13:23AM +0700, Suravee Suthikulpanit wrote: > One reason that I can think of is that, on older systems (at least for AMD), > L3 sched domain level has the same cpumask as the node level. This is not > the case for Zen. So please write that in the commit message. You're c

Re: [PATCH v3 2/4] dmaengine: Add STM32 MDMA driver

2017-08-24 Thread Pierre Yves MORDRET
On 08/23/2017 06:00 PM, Vinod Koul wrote: > On Tue, Aug 22, 2017 at 05:59:26PM +0200, Pierre Yves MORDRET wrote: >> >> >>> >>> #define STM32_MDMA_SHIFT(n) (ffs(n) - 1)) >>> #define STM32_MDMA_SET(n, mask) ((n) << STM32_MDMA_SHIFT(mask)) >>> #define STM32_MDMA_GET(n, mask)

[PATCH net-next 00/13] net: mvpp2: comphy configuration

2017-08-24 Thread Antoine Tenart
Hi all, This series, following up the one one the GoP/MAC configuration, aims at stopping to depend on the firmware/bootloader configuration when using the PPv2 engine. With this series the PPv2 driver does not need to rely on a previous configuration, and dynamic reconfiguration while the kernel

[PATCH net-next 02/13] phy: add the mvebu cp110 comphy driver

2017-08-24 Thread Antoine Tenart
On the CP110 unit, which can be found on various Marvell platforms such as the 7k and 8k (currently), a comphy (common PHYs) hardware block can be found. This block provides a number of PHYs which can be used in various modes by other controllers (network, SATA ...). These common PHYs must be confi

[PATCH net-next 10/13] arm64: dts: marvell: extend the cp110 syscon register area length

2017-08-24 Thread Antoine Tenart
This patch extends on both cp110 the system register area length to include some of the comphy registers as well. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 2 +- arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 2 +- 2 files changed, 2 inserti

[PATCH net-next 05/13] net: mvpp2: do not force the link mode

2017-08-24 Thread Antoine Tenart
The link mode (speed, duplex) was forced based on what the phylib returns. This should not be the case, and only forced by ethtool functions manually. This patch removes the link mode enforcement from the phylib link_event callback. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/

[PATCH net-next 11/13] arm64: dts: marvell: add comphy nodes on cp110 master and slave

2017-08-24 Thread Antoine Tenart
Now that the comphy driver is available, this patch adds the corresponding nodes in the cp110 master and slave device trees. Signed-off-by: Antoine Tenart --- .../boot/dts/marvell/armada-cp110-master.dtsi | 38 ++ .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 38 +

[PATCH net-next 08/13] net: mvpp2: check the netif is running in the link_event function

2017-08-24 Thread Antoine Tenart
This patch adds an extra check when the link_event function is called, so that it won't do anything when the netif isn't running. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/

[PATCH net-next 09/13] net: mvpp2: dynamic reconfiguration of the PHY mode

2017-08-24 Thread Antoine Tenart
This patch adds logic to reconfigure the comphy/gop when the link status change at runtime. This is very useful on boards such as the mcbin which have SFP and Ethernet ports connected to the same MAC port: depending on what the user connects the driver will automatically reconfigure the link mode.

[PATCH net-next 07/13] net: mvpp2: improve the link management function

2017-08-24 Thread Antoine Tenart
When the link status changes, the phylib calls the link_event function in the mvpp2 driver. Before this patch only the egress/ingress transmit was enabled/disabled. This patch adds more functionality to the link status management code by enabling/disabling the port per-cpu interrupts, and the port

Re: [PATCH v7 0/5] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng CCU

2017-08-24 Thread Maxime Ripard
Hi Priit, On Wed, Aug 23, 2017 at 08:23:28PM +0300, Priit Laes wrote: > Hi, > > This serie brings A10 (sun4i) and A20 (sun7i) SoCs into the > sunxi-ng world. With this patchset we now support all the clocks > in sun4i/sun7i SoCs. > > In order to make cross-tree merges bisectable, changes to devi

[PATCH net-next 06/13] net: mvpp2: simplify the link_event function

2017-08-24 Thread Antoine Tenart
The link_event function is somewhat complicated. This cosmetic patch simplifies it. Signed-off-by: Antoine Tenart --- drivers/net/ethernet/marvell/mvpp2.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/etherne

[PATCH net-next 04/13] net: mvpp2: initialize the comphy

2017-08-24 Thread Antoine Tenart
On some platforms, the comphy is between the MAC GoP and the PHYs. The mvpp2 driver currently relies on the firmware/bootloader to configure the comphy. As a comphy driver was added to the generic PHY framework, this patch uses it in the mvpp2 driver to configure the comphy at boot time to avoid re

[PATCH net-next 01/13] phy: add sgmii and 10gkr modes to the phy_mode enum

2017-08-24 Thread Antoine Tenart
This patch adds more PHY modes to the phy_mode enum, to allow configuring PHYs to the SGMII and/or the 10GKR mode by using the set_mode callback. Signed-off-by: Antoine Tenart --- include/linux/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/phy/phy.h b/include/linu

[PATCH net-next 03/13] Documentation/bindings: phy: document the Marvell comphy driver

2017-08-24 Thread Antoine Tenart
The Marvell Armada 7K/8K SoCs contains an hardware block called COMPHY that provides a number of shared PHYs used by various interfaces in the SoC: network, SATA, PCIe, etc. This Device Tree binding allows to describe this COMPHY hardware block. Signed-off-by: Antoine Tenart --- .../devicetree/b

[PATCH net-next 13/13] arm64: defconfig: enable Marvell CP110 comphy

2017-08-24 Thread Antoine Tenart
From: Miquel Raynal The comphy is an hardware block giving access to common PHYs that can be used by various other engines (Network, SATA, ...). This is used on Marvell 7k/8k platforms for now. Enable the corresponding driver. Signed-off-by: Miquel Raynal Signed-off-by: Antoine Tenart --- arc

[PATCH net-next 12/13] arm64: dts: marvell: mcbin: add comphy references to Ethernet ports

2017-08-24 Thread Antoine Tenart
This patch adds comphy phandles to the Ethernet ports in the mcbin device tree. The comphy is used to configure the serdes PHYs used by these ports. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm

Re: linux-next: build failure after merge of the block tree

2017-08-24 Thread Christoph Hellwig
Hi Stephen, Keith already sent a patch for this, it was a rebase failure :( The documentation one is intentional - the document is completely out of data, so doctoring around a bit won't help. I'll try to find some time to replace it with a sane new doc that use the ReST stuff to not duplicate t

Re: [PATCH v2 1/1] bsg-lib: fix kernel panic resulting from missing allocation of reply-buffer

2017-08-24 Thread Christoph Hellwig
> /** > - * bsg_destroy_job - routine to teardown/delete a bsg job > + * bsg_teardown_job - routine to teardown a bsg job > * @job: bsg_job that is to be torn down > */ > -static void bsg_destroy_job(struct kref *kref) > +static void bsg_teardown_job(struct kref *kref) Why this rename? The d

Re: [PATCH] mfd: omap-usb-tll: fix register offsets

2017-08-24 Thread Lee Jones
On Wed, 23 Aug 2017, Arnd Bergmann wrote: > gcc-8 notices that the register number calculation is wrong > when the offset is an 'u8' but the number is larger than 256: > > drivers/mfd/omap-usb-tll.c: In function 'omap_tll_init': > drivers/mfd/omap-usb-tll.c:90:46: error: overflow in conversion fr

Re: [PATCH] x86: enable RCU based table free when PARAVIRT

2017-08-24 Thread Vitaly Kuznetsov
Linus Torvalds writes: > On Wed, Aug 23, 2017 at 3:36 PM, Kirill A. Shutemov > wrote: >> >> Below is test cases that allocates a lot of page tables and measuare >> fork/exit time. (I'm not entirely sure it's the best way to stress the >> codepath.) > > Looks ok to me. Doing a profile (without th

Re: [PATCH] x86: enable RCU based table free when PARAVIRT

2017-08-24 Thread Kirill A. Shutemov
On Wed, Aug 23, 2017 at 04:03:53PM -0700, Linus Torvalds wrote: > On Wed, Aug 23, 2017 at 3:36 PM, Kirill A. Shutemov > wrote: > > > > Below is test cases that allocates a lot of page tables and measuare > > fork/exit time. (I'm not entirely sure it's the best way to stress the > > codepath.) > >

[PATCH v4 0/3] PCI hotplug feature

2017-08-24 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 v8 2/2] PCI: iproc: add device shutdown for PCI RC [PATCH v8 1/2] PCI: iproc:

Re: [RFC 3/3] sched: depend on 64BIT_ATOMIC_ACCESS to determine if to use min_vruntime_copy

2017-08-24 Thread Peter Zijlstra
On Thu, Aug 24, 2017 at 02:42:57PM +0900, Hoeun Ryu wrote: > +#ifndef CONFIG_64BIT_ATOMIC_ALIGNED_ACCESS > u64 min_vruntime; > -#ifndef CONFIG_64BIT > +#else > + u64 min_vruntime __attribute__((aligned(sizeof(u64; > +#endif That's stupid, just make sure your platform defines u64 as n

Re: [PATCH][next] net: hinic: fix comparison of a uint16_t type with -1

2017-08-24 Thread Aviad Krawczyk
On 8/23/2017 6:39 PM, Colin King wrote: > From: Colin Ian King > > The comparison of hw_ioctxt.rx_buf_sz_idx == -1 is always false because > rx_buf_sz_idx is a uint16_t. Fix this by explicitly casting -1 to uint16_t. > > Detected by CoverityScan, CID#1454559 ("Operands don't affect result") > >

[PATCH v4 2/3] dt-bindings: PCI: add PCIe hotplug property

2017-08-24 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 Pawan

[PATCH v4 3/3] dt-bindings: PCI iproc: add optional property prsnt-gpios

2017-08-24 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 b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt index b8e48b4..0c5f631 1

Re: [PATCH] clk: sunxi: fix uninitialized access

2017-08-24 Thread Maxime Ripard
On Wed, Aug 23, 2017 at 04:39:27PM +0200, Arnd Bergmann wrote: > gcc-8 reports an uninitialized variable access in a code path > that we would see with incorrect DTB input: > > drivers/clk/sunxi/clk-sun8i-bus-gates.c: In function > 'sun8i_h3_bus_gates_init': > drivers/clk/sunxi/clk-sun8i-bus-gate

[PATCH v4 1/3] PCI: iproc: implement PCI hotplug support

2017-08-24 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 PC

[PATCH v2] rtc: remove .open() and .release()

2017-08-24 Thread Alexandre Belloni
There are no driver left using .open and .release. There is no good use case for them as there is nothing the character device interface does that should not be done in the sysfs interface or in-kernel interface. Remove those callbacks now to avoid future confusion. Signed-off-by: Alexandre Bello

Re: [PATCH][next] net: hinic: fix comparison of a uint16_t type with -1

2017-08-24 Thread Colin Ian King
On 24/08/17 09:48, Aviad Krawczyk wrote: > On 8/23/2017 6:39 PM, Colin King wrote: >> From: Colin Ian King >> >> The comparison of hw_ioctxt.rx_buf_sz_idx == -1 is always false because >> rx_buf_sz_idx is a uint16_t. Fix this by explicitly casting -1 to uint16_t. >> >> Detected by CoverityScan, CI

Re: linux-next: build failure after merge of the block tree

2017-08-24 Thread Stephen Rothwell
Hi Christoph, On Thu, 24 Aug 2017 10:44:10 +0200 Christoph Hellwig wrote: > > Keith already sent a patch for this, it was a rebase failure :( Ah, OK, thanks. > The documentation one is intentional - the document is completely > out of data, so doctoring around a bit won't help. I'll try to fin

Re: [PATCH RFC v2] Add /proc/pid/smaps_rollup

2017-08-24 Thread Michal Hocko
Sorry for a late reply On Thu 10-08-17 12:17:07, Tim Murray wrote: > I've looked into this a fair bit on the Android side, so I can provide > some context. There are two main reasons why Android gathers PSS > information: > > 1. Android devices can show the user the amount of memory used per > ap

Re: [PATCH V6] perf: Add PERF_SAMPLE_PHYS_ADDR

2017-08-24 Thread Peter Zijlstra
On Thu, Aug 24, 2017 at 11:26:17AM +1000, Michael Ellerman wrote: > Peter Zijlstra writes: > >> diff --git a/kernel/events/core.c b/kernel/events/core.c > >> index d704e23..b991af3 100644 > >> --- a/kernel/events/core.c > >> +++ b/kernel/events/core.c > >> @@ -6027,6 +6033,38 @@ void perf_output_s

[PATCH] perf c2c: Fix remote HITM detection for Skylake

2017-08-24 Thread Jiri Olsa
Skylake introduced new mem_remote bit in union perf_mem_data_src [1]. It applies to any other memory level to express Remote unknown level, as is reported by Skylake. Adding this extra check to c2c_decode_stats to properly decode remote HITMs on Skylake. [1] http://lkml.kernel.org/r/2017081622215

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2017-08-24 Thread Paolo Bonzini
On 24/08/2017 08:52, Wanpeng Li wrote: >> @@ -6862,6 +6876,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) >> kvm_x86_ops->enable_nmi_window(vcpu); >> if (kvm_cpu_has_injectable_intr(vcpu) || req_int_win) >>

[PATCH] pinctrl: rza1: Remove suffix from gpiochip label

2017-08-24 Thread Jacopo Mondi
The OF node name already contains the gpio chip identifier, no need to append it when creating the label. The following debug message clearly shows the suffix is not required "pinctrl-rza1 fcfe3000.pin-controller: Parsed gpiochip gpio-0-0 with 6 pins" Signed-off-by: Jacopo Mondi --- drivers/pin

Re: [PATCH 0/4] constify rtc i2c_device_id

2017-08-24 Thread Alexandre Belloni
On 20/08/2017 at 00:37:54 +0530, Arvind Yadav wrote: > i2c_device_id are not supposed to change at runtime. All functions > working with i2c_device_id provided by work with > const i2c_device_id. So mark the non-const structs as const. > > Arvind Yadav (4): > [PATCH 1/4] rtc: ds1672: constify i

Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-08-24 Thread Mika Westerberg
On Thu, Aug 24, 2017 at 10:11:39AM +0200, Takashi Iwai wrote: > This patch adds the MFD driver for Dollar Cove TI PMIC (ACPI INT33F5) > that is found on some Intel Cherry Trail devices. > The driver is based on the original work by Intel, found at: > https://github.com/01org/ProductionKernelQuilt

Re: [PATCH 02/14] include: pe.h: remove message[] from mz header definition

2017-08-24 Thread Ard Biesheuvel
On 24 August 2017 at 09:17, AKASHI Takahiro wrote: > message[] field won't be part of the definition of mz header. > > This change is crucial for enabling kexec_file_load on arm64 because > arm64's "Image" binary, as in PE format, doesn't have any data for it and > accordingly the following check

Re: [PATCH] net/mlx4_core: make mlx4_profile const

2017-08-24 Thread Tariq Toukan
On 23/08/2017 3:47 PM, Bhumika Goyal wrote: Make these const as they are only used in a copy operation. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/mellanox/mlx4/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/main

[PATCH] staging:rtl8188eu:core Fix coding style Issues

2017-08-24 Thread Janani Sankara Babu
This patch solves the following warning shown by the checkpatch script WARNING: Comparisons should place the constants on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH 03/14] resource: add walk_system_ram_res_rev()

2017-08-24 Thread Ard Biesheuvel
On 24 August 2017 at 09:18, AKASHI Takahiro wrote: > This function, being a variant of walk_system_ram_res() introduced in > commit 8c86e70acead ("resource: provide new functions to walk through > resources"), walks through a list of all the resources of System RAM > in reversed order, i.e., from

[PATCH 2/2] Bluetooth: btusb: ath3k: Cache firmware for already patched Bluetooth chip

2017-08-24 Thread Kai-Heng Feng
When a system reboot, the USB power never gets cut off, so the firmware is already updated on the Bluetooth chip. Several btusb setup functions check firmware updated status before download firmware, the loading part will be skipped if it's updated. Because the firmware is never asked by request_f

[PATCH 1/2] Bluetooth: btusb: ath3k: Decide firmware name before checking update status

2017-08-24 Thread Kai-Heng Feng
Decide firmware name before checking patch update status. Firmware name is required for caching. Also, version information in btusb_setup_qca() is being calculated twice, reduce it to one. Signed-off-by: Kai-Heng Feng --- drivers/bluetooth/ath3k.c | 10 +++ drivers/bluetooth/btusb.c | 72 ++

Re: [PATCH v2 2/3] platform/x86: Add support for Dollar Cove TI power button

2017-08-24 Thread Mika Westerberg
On Thu, Aug 24, 2017 at 10:11:40AM +0200, Takashi Iwai wrote: > +static struct platform_device_id dc_ti_pwrbtn_id_table[] = { const? Regardless, Reviewed-by: Mika Westerberg

Re: [PATCH 1/2] KVM: x86: simplify handling of PKRU

2017-08-24 Thread Yang Zhang
On 2017/8/24 5:26, Paolo Bonzini wrote: Move it to struct kvm_arch_vcpu, replacing guest_pkru_valid with a simple comparison against the host value of the register. Thanks for refine the patches.:) Signed-off-by: Paolo Bonzini --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/kvm_

Re: [PATCH 08/14] arm64: kexec_file: create purgatory

2017-08-24 Thread Ard Biesheuvel
On 24 August 2017 at 09:18, AKASHI Takahiro wrote: > This is a basic purgtory, or a kind of glue code between the two kernel, > for arm64. We will later add a feature of verifying a digest check against > loaded memory segments. > > arch_kexec_apply_relocations_add() is responsible for re-linking

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2017-08-24 Thread Wanpeng Li
2017-08-24 16:57 GMT+08:00 Paolo Bonzini : > On 24/08/2017 08:52, Wanpeng Li wrote: >>> @@ -6862,6 +6876,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) >>> kvm_x86_ops->enable_nmi_window(vcpu); >>> if (kvm_cpu_has_injectable_intr(vcpu

Re: [PATCH 09/14] arm64: kexec_file: add sha256 digest check in purgatory

2017-08-24 Thread Ard Biesheuvel
On 24 August 2017 at 09:18, AKASHI Takahiro wrote: > Most of sha256 code is based on crypto/sha256-glue.c, particularly using > non-neon version. > > Please note that we won't be able to re-use lib/mem*.S for purgatory > because unaligned memory access is not allowed in purgatory where mmu > is tu

Re: [PATCH 1/2] Bluetooth: btusb: ath3k: Decide firmware name before checking update status

2017-08-24 Thread Marcel Holtmann
Hi Kai-Heng, > Decide firmware name before checking patch update status. Firmware name is > required for caching. > > Also, version information in btusb_setup_qca() is being calculated twice, > reduce it to one. > > Signed-off-by: Kai-Heng Feng > --- > drivers/bluetooth/ath3k.c | 10 +++ > d

Re: [PATCH v2 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-24 Thread Mika Westerberg
On Thu, Aug 24, 2017 at 10:11:41AM +0200, Takashi Iwai wrote: > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > Cherry Trail devices. The patch is based on the original work by > Intel, found at: > https://github.com/01org/ProductionKernelQuilts > with many cleanups an

Re: [PATCH 2/2] Bluetooth: btusb: ath3k: Cache firmware for already patched Bluetooth chip

2017-08-24 Thread Marcel Holtmann
Hi Kai-Heng, > When a system reboot, the USB power never gets cut off, so the firmware > is already updated on the Bluetooth chip. > > Several btusb setup functions check firmware updated status before > download firmware, the loading part will be skipped if it's updated. > Because the firmware i

Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC

2017-08-24 Thread Andy Shevchenko
On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > This patch adds the MFD driver for Dollar Cove TI PMIC (ACPI INT33F5) > that is found on some Intel Cherry Trail devices. > The driver is based on the original work by Intel, found at: > https://github.com/01org/ProductionKernelQuilts > > T

Re: [RESEND v9 06/12] rtc: Kconfig: Name RK805 in Kconfig for RTC_DRV_RK808

2017-08-24 Thread Alexandre Belloni
On 16/08/2017 at 10:00:35 +0800, Joseph Chen wrote: > From: Elaine Zhang > > The RK808 and RK805 PMICs are using a similar register map. > We can reuse the rtc driver for the RK805 PMIC. So let's add > the RK805 in the Kconfig description. > > Signed-off-by: Elaine Zhang > Signed-off-by: Joseph

linux-kernel@vger.kernel.org

2017-08-24 Thread Janani Sankara Babu
This patch is created to solve the following coding style issue reported by the checkpatch script. CHECK: spaces preffered around that '&' (ctx:VxV) Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ap.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

Re: [PATCH RFC] media: open.rst: document devnode-centric and mc-centric types

2017-08-24 Thread Sakari Ailus
Hi Mauro, On Wed, Aug 23, 2017 at 10:42:28AM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 23 Aug 2017 12:37:30 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > Thanks for the patch! Something like this was long due. > > > > I cc'd Hans and Laurent to get their attention, too. > > > > O

Re: [PATCH 1/2] KVM: x86: simplify handling of PKRU

2017-08-24 Thread Paolo Bonzini
On 24/08/2017 11:09, Yang Zhang wrote: >> +if (static_cpu_has(X86_FEATURE_OSPKE) && > > We expose protection key to VM without check whether OSPKE is enabled or > not. Why not check guest's cpuid here which also can avoid unnecessary > access to pkru? Checking guest CPUID is pretty slow. We

Re: [PATCH v2 2/3] platform/x86: Add support for Dollar Cove TI power button

2017-08-24 Thread Andy Shevchenko
On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > This provides a new input driver for supporting the power button on > Dollar Cove TI PMIC, found on Cherrytrail-based devices. > The patch is based on the original work by Intel, found at: > https://github.com/01org/ProductionKernelQuilts >

Re: [PATCH v6] mtd: sharpslpart: Add sharpslpart partition parser

2017-08-24 Thread Andrea Adami
Boris, thanks for the review. I have made the required changes apart th elast one: error values to be returned.. Please see my comments. On Tue, Aug 22, 2017 at 2:54 PM, Boris Brezillon wrote: > Hi Andrea, > > Le Tue, 22 Aug 2017 11:42:52 +0200, > Andrea Adami a écrit : > >> The Sharp SL Series

Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

2017-08-24 Thread Petr Mladek
On Wed 2017-08-23 21:36:21, Helge Deller wrote: > On 23.08.2017 16:49, Steven Rostedt wrote: > > On Wed, 23 Aug 2017 16:48:24 +0200 > > Petr Mladek wrote: > > > >> + > >> + printk("Going to call: %pF\n", gettimeofday); > >> + printk("Going to call: %pF\n", p->func); > >> + printk("%s: called f

Re: [PATCH v2 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-24 Thread Andy Shevchenko
On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > Cherry Trail devices. The patch is based on the original work by > Intel, found at: > https://github.com/01org/ProductionKernelQuilts > with many cleanups and rewri

[PATCH v2] x86: enable RCU based table free

2017-08-24 Thread Vitaly Kuznetsov
On x86 software page-table walkers depend on the fact that remote TLB flush does an IPI: walk is performed lockless but with interrupts disabled and in case the pagetable is freed the freeing CPU will get blocked as remote TLB flush is required. On other architecture which don't require an IPI to d

Re: [PATCH] RDMA/qedr: fix spelling mistake: "invlaid" -> "invalid"

2017-08-24 Thread Leon Romanovsky
On Thu, Aug 24, 2017 at 09:25:53AM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DP_ERR error message > > Signed-off-by: Colin Ian King > --- > drivers/infiniband/hw/qedr/verbs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks, Reviewed-

Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail

2017-08-24 Thread Andy Shevchenko
On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > Hi, > > this is the revised patch set to add the support for Dollar Cove TI > PMIC found on some Intel Cherry Trail laptops / tablets. All drivers > are based on the original code from Intel downstream patches, with > lots of rewrites and cl

Re: [PATCH v7 12/13] ACPI / init: Invoke early ACPI initialization earlier

2017-08-24 Thread Dou Liyang
Hi Baoquan, Thanks for your reply. At 08/24/2017 04:05 PM, Baoquan He wrote: Hi Liyang, On 08/24/17 at 11:54am, Dou Liyang wrote: Test in my own PC(Lenovo M4340). Ask help for doing regression testing for the bug said in commit c4e1acbb35e4 ("ACPI / init: Invoke early ACPI initialization late

Re: [PATCH][next] net: hinic: fix comparison of a uint16_t type with -1

2017-08-24 Thread Dan Carpenter
On Thu, Aug 24, 2017 at 09:54:03AM +0100, Colin Ian King wrote: > On 24/08/17 09:48, Aviad Krawczyk wrote: > > On 8/23/2017 6:39 PM, Colin King wrote: > >> From: Colin Ian King > >> > >> The comparison of hw_ioctxt.rx_buf_sz_idx == -1 is always false because > >> rx_buf_sz_idx is a uint16_t. Fix t

Re: [PATCH] mm/page_alloc: don't reserve ZONE_HIGHMEM for ZONE_MOVABLE request

2017-08-24 Thread Michal Hocko
On Thu 24-08-17 14:45:46, Joonsoo Kim wrote: > From: Joonsoo Kim > > Freepage on ZONE_HIGHMEM doesn't work for kernel memory so it's not that > important to reserve. When ZONE_MOVABLE is used, this problem would > theorectically cause to decrease usable memory for GFP_HIGHUSER_MOVABLE > allocatio

Re: [PATCH] tty: xilinx_uartps: move to arch_initcall for earlier console

2017-08-24 Thread Michal Simek
Hi, +Linus On 24.8.2017 01:24, Greg KH wrote: > On Wed, Aug 23, 2017 at 04:50:21PM +0530, Shubhrajyoti Datta wrote: >> Signed-off-by: Shubhrajyoti Datta > > I can't take patches without any changelog text at all :( ok. I see you have also commented this. Anyway this is kind of old discussion a

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-24 Thread Andrea Adami
On Wed, Aug 23, 2017 at 9:33 PM, Robert Jarzmik wrote: > Boris Brezillon writes: > >> Le Mon, 14 Aug 2017 22:48:31 +0200, >>> Andrea Adami (9): >>> mtd: sharpslpart: Add sharpslpart partition parser >>> mtd: nand: sharpsl: Add partition parsers platform data >>> mfd: tmio: Add partition par

[PATCH] staging:rtl8188eu:core Fix Avoid CamelCase

2017-08-24 Thread Janani Sankara Babu
This patch is created to solve the CamelCase issue. The members 'IEs' and 'IELength' of struct wlan_bssid_ex are being modified to 'ies' and 'ie_length' to solve the issue. And all the places where these variables are referenced inside the rtl8188eu driver are also changed. Signed-off-by: Janani

Re: [PATCH 2/2] Bluetooth: btusb: ath3k: Cache firmware for already patched Bluetooth chip

2017-08-24 Thread Kai-Heng Feng
On Thu, Aug 24, 2017 at 5:15 PM, Marcel Holtmann wrote: > Hi Kai-Heng, > >> When a system reboot, the USB power never gets cut off, so the firmware >> is already updated on the Bluetooth chip. >> >> Several btusb setup functions check firmware updated status before >> download firmware, the loadin

[PATCH] x86: use KERN_CONT in dump_pagetable()

2017-08-24 Thread Jan Beulich
The lack of newlines in preceding format strings is a clear indication that these were meant to be continuations of one another, and indeed output ends up quite a bit more compact (and readable) that way. Signed-off-by: Jan Beulich --- arch/x86/mm/fault.c | 14 +++--- 1 file changed, 7

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2017-08-24 Thread Wanpeng Li
2017-08-24 17:13 GMT+08:00 Wanpeng Li : > 2017-08-24 16:57 GMT+08:00 Paolo Bonzini : >> On 24/08/2017 08:52, Wanpeng Li wrote: @@ -6862,6 +6876,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) kvm_x86_ops->enable_nmi_window(vcpu);

Re: [PATCH v3 2/4] KVM: X86: Fix loss of exception which has not yet injected

2017-08-24 Thread Paolo Bonzini
On 24/08/2017 11:13, Wanpeng Li wrote: > 2017-08-24 16:57 GMT+08:00 Paolo Bonzini : >> On 24/08/2017 08:52, Wanpeng Li wrote: @@ -6862,6 +6876,7 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu) kvm_x86_ops->enable_nmi_window(vcpu);

Re: [PATCH][next] net: hinic: fix comparison of a uint16_t type with -1

2017-08-24 Thread Aviad Krawczyk
On 8/24/2017 12:29 PM, Dan Carpenter wrote: > On Thu, Aug 24, 2017 at 09:54:03AM +0100, Colin Ian King wrote: >> On 24/08/17 09:48, Aviad Krawczyk wrote: >>> On 8/23/2017 6:39 PM, Colin King wrote: From: Colin Ian King The comparison of hw_ioctxt.rx_buf_sz_idx == -1 is always false

Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail

2017-08-24 Thread Takashi Iwai
On Thu, 24 Aug 2017 11:27:32 +0200, Andy Shevchenko wrote: > > On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > > Hi, > > > > this is the revised patch set to add the support for Dollar Cove TI > > PMIC found on some Intel Cherry Trail laptops / tablets. All drivers > > are based on the o

Re: [PATCH v2 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-24 Thread Takashi Iwai
On Thu, 24 Aug 2017 11:14:53 +0200, Mika Westerberg wrote: > > On Thu, Aug 24, 2017 at 10:11:41AM +0200, Takashi Iwai wrote: > > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > > Cherry Trail devices. The patch is based on the original work by > > Intel, found at: > >

Re: [PATCH] mm/page_alloc: don't reserve ZONE_HIGHMEM for ZONE_MOVABLE request

2017-08-24 Thread Vlastimil Babka
On 08/24/2017 07:45 AM, js1...@gmail.com wrote: > From: Joonsoo Kim > > Freepage on ZONE_HIGHMEM doesn't work for kernel memory so it's not that > important to reserve. When ZONE_MOVABLE is used, this problem would > theorectically cause to decrease usable memory for GFP_HIGHUSER_MOVABLE > alloca

Re: [PATCH v2 3/3] ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

2017-08-24 Thread Takashi Iwai
On Thu, 24 Aug 2017 11:23:18 +0200, Andy Shevchenko wrote: > > On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > > This patch adds the opregion driver for Dollar Cove TI PMIC on Intel > > Cherry Trail devices. The patch is based on the original work by > > Intel, found at: > > https:

Re: [PATCH v2 2/3] platform/x86: Add support for Dollar Cove TI power button

2017-08-24 Thread Takashi Iwai
On Thu, 24 Aug 2017 11:20:04 +0200, Andy Shevchenko wrote: > > On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai wrote: > > This provides a new input driver for supporting the power button on > > Dollar Cove TI PMIC, found on Cherrytrail-based devices. > > The patch is based on the original work by

[tip:timers/urgent] timers: Fix excessive granularity of new timers after a nohz idle

2017-08-24 Thread tip-bot for Nicholas Piggin
Commit-ID: 2fe59f507a65dbd734b990a11ebc7488f6f87a24 Gitweb: http://git.kernel.org/tip/2fe59f507a65dbd734b990a11ebc7488f6f87a24 Author: Nicholas Piggin AuthorDate: Tue, 22 Aug 2017 18:43:48 +1000 Committer: Thomas Gleixner CommitDate: Thu, 24 Aug 2017 11:40:18 +0200 timers: Fix excessiv

Re: [PATCH v5 0/9] mtd: sharpslpart partition parser

2017-08-24 Thread Boris Brezillon
Hi Robert, On Thu, 24 Aug 2017 11:33:02 +0200 Andrea Adami wrote: > On Wed, Aug 23, 2017 at 9:33 PM, Robert Jarzmik > wrote: > > Boris Brezillon writes: > > > >> Le Mon, 14 Aug 2017 22:48:31 +0200, > >>> Andrea Adami (9): > >>> mtd: sharpslpart: Add sharpslpart partition parser > >>>

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