Re: [PATCH] ima: use memdup_user_nul

2017-05-08 Thread Mimi Zohar
On Sat, 2017-05-06 at 23:40 +0800, Geliang Tang wrote: > Use memdup_user_nul() helper instead of open-coding to simplify the > code. > > Signed-off-by: Geliang Tang Thanks, this patch will be queued. Mimi > --- > security/integrity/ima/ima_fs.c | 13 - > 1 file changed, 4 insertio

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Darren Hart [mailto:dvh...@infradead.org] > > Sent: Monday, May 8, 2017 10:29 AM > > To: Andy Lutomirski > > Cc: Limonciello, Mario ; Pali Rohár > > ; Rafael J. Wysocki ; Len Brown

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Kishon Vijay Abraham I
> +status = "disabled"; >>>> +}; >>>> >>>> But otherwise our system freezes while initializing PCI, see dmesg with >>>> some more information. Is this something specific of our system/dt or >>>> can this be a bug that is aff

Re: 64fa03de33: BUG:Dentry_still_in_use

2017-05-08 Thread Serge E. Hallyn
Quoting Masami Ichikawa (masami...@gmail.com): > On Mon, May 8, 2017 at 1:44 PM, Serge E. Hallyn wrote: > > From 6a3fb632f67f8425c6e76c65dad8115f1550d2a0 Mon Sep 17 00:00:00 2001 > > From: Serge Hallyn > > Date: Sun, 7 May 2017 23:40:42 -0500 > > Subject: [PATCH 1/1] cap_inode_getsecurity: don't

Re: Large latency on blk_queue_enter

2017-05-08 Thread Javier González
> On 8 May 2017, at 17.40, Jens Axboe wrote: > > On 05/08/2017 09:38 AM, Javier González wrote: >>> On 8 May 2017, at 17.25, Jens Axboe wrote: >>> >>> On 05/08/2017 09:22 AM, Javier González wrote: Javier > On 8 May 2017, at 17.14, Jens Axboe wrote: > > On 05/08/2017 09

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Kishon Vijay Abraham I
ot insert [bus 02-ff] under >> [bus 01] (conflicts with (null) [bus 01]) > > Do you get the above message in the working scenario? >> [0.880800] Unhandled fault: external abort on non-linefetch (0x1008) at >> 0xf0a4 >> [0.888416] pgd = 80004000 >>

Re: Missing File REPORTING-BUGS In Linux Kernel.

2017-05-08 Thread Jani Nikula
On Mon, 08 May 2017, Randy Dunlap wrote: > On 05/08/17 05:30, Keith Christian wrote: >> Is there a link to the discussion for changing to .rst? > > I don't recall much discussion. There may have been some on the > linux-doc mailing list. There was "some discussion" that dragged on for the better

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-08 Thread Dave Hansen
On 05/03/2017 12:02 PM, Prakash Sangappa wrote: >>> If we do consider a new madvise()option, will it be acceptable >>> since this will be specifically for hugetlbfs file mappings? >> Ideally, it would be something that is *not* specifically for >> hugetlbfs. MADV_NOAUTOFILL, for instance, could be

[PATCH v2] ARM: dts: rockchip: add eDP panel support for Firefly

2017-05-08 Thread Randy Li
This patch adds the supporting to the eDP panel sold by the T-CHIP for the Firefly RK3288. I assign the VOP lite for the eDP panel and VOP big to HDMI, as the HDMI supports 4K resolution. With a different VOP device, eDP panel and HDMI could display a different contents. The InvenSense MPU6050 sen

Re: [PATCH 3/3] sound: ASoC: tegra: Select tegra30 i2s and ahub for tegra124 SoC

2017-05-08 Thread Stephen Warren
On 05/07/2017 12:12 PM, Paul Kocialkowski wrote: Hi, Le mardi 25 avril 2017 à 10:57 -0600, Stephen Warren a écrit : On 04/24/2017 12:41 PM, Paul Kocialkowski wrote: Le lundi 24 avril 2017 à 09:35 -0600, Stephen Warren a écrit : On 04/24/2017 09:07 AM, Paul Kocialkowski wrote: Le mercredi 19

Re: [PATCH 00/10] fujitsu-laptop: use device-specific data instead of module-wide globals

2017-05-08 Thread Darren Hart
On Sat, May 06, 2017 at 02:45:16PM +0200, Michał Kępień wrote: > > Just to make sure we are all on the same page here, choosing the "two > > separate modules, each with one driver for one ACPI device" approach > > would mean ending up with two modules: > > > > - fujitsu-laptop, binding to the FU

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Monday, May 8, 2017 10:47 AM > To: Limonciello, Mario > Cc: l...@kernel.org; pali.ro...@gmail.com; r...@rjwysocki.net; > len.br...@intel.com; corentin.ch...@gmail.com; > andriy.shevche...@linux.intel.com; linux-

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread jmondi
Hi Linus, On Sun, May 07, 2017 at 09:52:49AM +0200, Linus Walleij wrote: > On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko > wrote: > > > Linus, for me it looks like better to revert that change, until we > > will have clear picture why existing configuration parameters can't > > work. > > Yeah

Re: RFC: WMI Enhancements

2017-05-08 Thread Andy Shevchenko
+Cc: Alexander (related to Samba team I suppose, I'm sorry if I'm wrong) On Mon, May 8, 2017 at 6:47 PM, Darren Hart wrote: > On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: >> > > > I meant that to say that at least for now Andy's wmi-mof driver should >> > > > stil

Re: [PATCH] net: ipv4: add code comment for clarification

2017-05-08 Thread Gustavo A. R. Silva
Hi David, Quoting David Miller : From: "Gustavo A. R. Silva" Date: Thu, 4 May 2017 14:44:16 -0500 @@ -389,6 +389,12 @@ static int sk_diag_fill(struct sock *sk, struct sk_buff *skb, nlmsg_flags, unlh, net_admin); } +/* + * Ignore the position of the argum

Re: Large latency on blk_queue_enter

2017-05-08 Thread Jens Axboe
On 05/08/2017 09:49 AM, Javier González wrote: >> On 8 May 2017, at 17.40, Jens Axboe wrote: >> >> On 05/08/2017 09:38 AM, Javier González wrote: On 8 May 2017, at 17.25, Jens Axboe wrote: On 05/08/2017 09:22 AM, Javier González wrote: > Javier > >> On 8 May 2017, at 17

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread Andy Shevchenko
On Mon, May 8, 2017 at 7:01 PM, jmondi wrote: > On Sun, May 07, 2017 at 09:52:49AM +0200, Linus Walleij wrote: >> On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko >> wrote: >> >> > Linus, for me it looks like better to revert that change, until we >> > will have clear picture why existing configu

Re: [PATCH 2/6] Documentation: devicetree: add bindings to support ARM MHU subchannels

2017-05-08 Thread Rob Herring
+Bjorn On Tue, May 02, 2017 at 02:55:49PM +0100, Sudeep Holla wrote: > The ARM MHU has mechanism to assert interrupt signals to facilitate > inter-processor message based communication. It drives the signal using > a 32-bit register, with all 32-bits logically ORed together. It also > enables soft

Re: [PATCH] input: edt-ft5x06: increase allowed data range for threshold parameter

2017-05-08 Thread Rob Herring
On Tue, May 02, 2017 at 05:00:59PM +0200, Martin Kepplinger wrote: > The datasheet and application note does not mention an allowed range for > the M09_REGISTER_THRESHOLD parameter. One of our customers needs to set > lower values than 20 and they seem to work just fine on EDT EP0xx0M09 with > T5x0

Re: [PATCH v2 1/8] dt-bindings: clock: sunxi-ccu: Add compatible string for A83T CCU

2017-05-08 Thread Rob Herring
On Wed, May 03, 2017 at 11:16:51AM +0800, Chen-Yu Tsai wrote: > The A83T clock control unit is a hybrid of some new style clock designs > from the A80, and old style layout from the other Allwinner SoCs. > > Like the A80, the SoC does not have a low speed 32.768 kHz oscillator. > Unlike the A80, t

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Peter Senna Tschudin
On Mon, May 08, 2017 at 09:09:32PM +0530, Kishon Vijay Abraham I wrote: . . . . > > [0.501998] OF: PCI: host bridge /soc/pcie@1ffc000 ranges: > > [0.507275] OF: PCI:IO 0x01f8..0x01f8 -> 0x > > [0.513202] OF: PCI: MEM 0x0100..0x01ef -> 0x0100 > > [0

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-08 Thread Arnaldo Carvalho de Melo
Em Mon, May 08, 2017 at 10:45:18AM +0200, Milian Wolff escreveu: > On Mittwoch, 3. Mai 2017 23:35:36 CEST Milian Wolff wrote: > > When different functions get inlined into the same function, we > > want to show them individually in the reports. But when we group by > > function, we would aggregate

[PATCH] fm10k: Use seq_putc() in fm10k_dbg_desc_break()

2017-05-08 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 18:10:39 +0200 Two single characters should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/ethernet/intel/fm10k/fm10k_deb

Re: [PATCH v5 1/5] dt-bindings: gpu: add bindings for the ARM Mali Midgard GPU

2017-05-08 Thread Rob Herring
On Wed, May 03, 2017 at 10:56:25AM +0100, Guillaume Tucker wrote: > The ARM Mali Midgard GPU family is present in a number of SoCs > from many different vendors such as Samsung Exynos and Rockchip. > > Import the device tree bindings documentation from the r16p0 > release of the Mali Midgard GPU k

Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-05-08 Thread Shuah Khan
Hi Krzysztof, On Fri, Feb 10, 2017 at 6:34 AM, Krzysztof Kozlowski wrote: > On Thu, Feb 09, 2017 at 11:26:48AM +0100, Richard Genoud wrote: >> I did some tests with XU3 and XU4, playing with USB2 and USB3 quirks >> (snps,dis_u{2,3}_susphy_quirk) >> >> kernel for the tests: next-20170206 >> DTBs:

Re: [PATCH v2 16/20] dt-bindings: display: sun4i: Add HDMI display bindings

2017-05-08 Thread Rob Herring
On Wed, May 03, 2017 at 01:59:53PM +0200, Maxime Ripard wrote: > One of the possible output of the display pipeline, on the SoCs that have > it, is the HDMI controller. > > Add a binding for it. > > Acked-by: Chen-Yu Tsai > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings

[PATCH] perf, tools, script: Allow adding and removing fields

2017-05-08 Thread Andi Kleen
From: Andi Kleen With perf script it is common that we just want to add or remove a field. Currently this requires figuring out the long list of default fields and specifying them first, and then adding/removing the new field. This patch adds a new + - syntax to merely add or remove fields, that

Re: [PATCH v2 17/20] dt-bindings: display: sun4i: Add allwinner,tcon-channel property

2017-05-08 Thread Rob Herring
On Wed, May 03, 2017 at 01:59:54PM +0200, Maxime Ripard wrote: > The Allwinner Timings Controller has two, mutually exclusive, channels. > When the binding has been introduced, it was assumed that there would be > only a single user per channel in the system. > > While this is likely for the chann

Re: [PATCH v5 0/5] Add ARM Mali Midgard device tree bindings and gpu node for rk3288

2017-05-08 Thread Heiko Stübner
Am Mittwoch, 3. Mai 2017, 10:56:24 CEST schrieb Guillaume Tucker: > The ARM Mali Midgard GPU kernel driver is only available > out-of-tree and is not going to be merged in its current form. > However, it would be useful to have its device tree bindings > merged. In particular, this would enable di

Re: [PATCH] mtd: nand: gpio: update binding

2017-05-08 Thread Rob Herring
On Wed, May 03, 2017 at 02:18:24PM +0200, Christophe Leroy wrote: > This patch updates the binding documentation in accordance with > commit 44dd182861f99 ("mtd: nand: gpio: make nCE GPIO optional") > > Signed-off-by: Christophe Leroy > Reported-by: Brian Norris > --- > Documentation/devicetree

Re: [PATCH v1 2/2] dt-bindings: phy: Add documentation for Mediatek PCIe PHY

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 05:31:48PM +0800, Ryder Lee wrote: > Add documentation for PCIe PHY available in MT7623 series SoCs. > > Signed-off-by: Ryder Lee > --- > .../devicetree/bindings/phy/phy-mt7623-pcie.txt| 63 > ++ > 1 file changed, 63 insertions(+) > create mode 1

Re: [PATCH] perf probe: Fix examples section of documentation

2017-05-08 Thread Arnaldo Carvalho de Melo
Em Tue, May 09, 2017 at 12:19:57AM +0900, Masami Hiramatsu escreveu: > On Sun, 7 May 2017 19:36:42 +0900 > SeongJae Park wrote: > > > An example in perf-probe documentation for pattern of function name > > based probe addition is not providing example command for the case. > > This commit fixes

Re: FIO performance regression in 4.11 kernel vs. 4.10 kernel observed on ARM64

2017-05-08 Thread Scott Branden
Hi Will/Jens, Thanks for reproducing. Comment inline On 17-05-08 08:24 AM, Will Deacon wrote: On Mon, May 08, 2017 at 08:08:55AM -0600, Jens Axboe wrote: On 05/08/2017 05:19 AM, Arnd Bergmann wrote: On Mon, May 8, 2017 at 1:07 PM, Will Deacon wrote: On Fri, May 05, 2017 at 06:37:55PM -0700

Re: [PATCH v2 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 05:32:56PM +0800, Ryder Lee wrote: > Add documentation for PCIe host driver available in MT7623 > series SoCs. > > Signed-off-by: Ryder Lee > --- > .../bindings/pci/mediatek,mt7623-pcie.txt | 149 > + > 1 file changed, 149 insertions(+) > cr

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Lucas Stach
Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > Hello Kishon, > > Our iMX6 hardware (imx6q-b850v3.dts) is not booting with latest > linux-next and I could bisect until: > > commit 442ec4c04d1235f8c664a74004dae54a7a574d18 > Author: Kishon Vijay Abraham I > Date: Wed Feb 1

[PATCH] soc: rockchip: power-domain: export idle request

2017-05-08 Thread Randy Li
We need to put the power status of HEVC/RKVDEC IP into IDLE unless we can't reset that IP or the SoC would crash down. rockchip_pmu_idle_request(dev, true)---> enter idle rockchip_pmu_idle_request(dev, false)---> exit idle Only the video codec drivers of rockchip platform would request this patch

RE: PROBLEM: Issue With Radeon graphics With Lenovo Laptop G50-80

2017-05-08 Thread Deucher, Alexander
> -Original Message- > From: Anil Nair [mailto:anilcol...@gmail.com] > Sent: Monday, May 08, 2017 11:42 AM > To: Deucher, Alexander; lkml > Subject: PROBLEM: Issue With Radeon graphics With Lenovo Laptop G50-80 > > Hi, > > I recently decided to try out the latest Linux kernel release v4.1

[PATCH 1/3] f2fs: split wio_mutex

2017-05-08 Thread Chao Yu
From: Chao Yu Split wio_mutex to adjust different temperature bio cache. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h| 2 +- fs/f2fs/segment.c | 6 ++ fs/f2fs/super.c | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 4ab42749f

[PATCH 2/3] f2fs: move f2fs_sb_info.{log_io,wio_mutex} into struct curseg_info

2017-05-08 Thread Chao Yu
From: Chao Yu Just cleanup, no logic changed. Signed-off-by: Chao Yu --- fs/f2fs/data.c| 4 ++-- fs/f2fs/f2fs.h| 2 -- fs/f2fs/segment.c | 10 -- fs/f2fs/segment.h | 2 ++ fs/f2fs/super.c | 7 --- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/fs/f2f

[PATCH 3/3] f2fs: introduce io_list for serialize data/node IOs

2017-05-08 Thread Chao Yu
From: Chao Yu Serialize data/node IOs by using fifo list instead of mutex lock, it will help to enhance concurrency of f2fs, meanwhile keeping LFS IO semantics. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 1 + fs/f2fs/data.c | 28 fs/f2fs/f2fs.h

Re: [RFC 00/10] x86 TLB flush cleanups, moving toward PCID support

2017-05-08 Thread Nadav Amit
> On May 7, 2017, at 5:38 AM, Andy Lutomirski wrote: > > As I've been working on polishing my PCID code, a major problem I've > encountered is that there are too many x86 TLB flushing code paths and > that they have too many inconsequential differences. The result was > that earlier versions of

Re: [PATCH v2 2/4] perf config: Finally write changed configs on config file at a time

2017-05-08 Thread Arnaldo Carvalho de Melo
Em Mon, May 08, 2017 at 08:07:40PM +0900, Taeung Song escreveu: > Currently set_config() can be repeatedly called for each > input config on the below case: > > $ perf config kmem.default=slab report.children=false ... > > But it's a waste, so finally write changed configs at a time. > > Cc: J

Re: [PATCH v2 1/5] pinctrl: qcom: Add ipq8074 pinctrl driver

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 05:23:57PM +0530, Varadarajan Narayanan wrote: > Add initial pinctrl driver to support pin configuration with > pinctrl framework for ipq8074. > > Signed-off-by: Manoharan Vijaya Raghavan > Signed-off-by: Varadarajan Narayanan > --- > .../bindings/pinctrl/qcom,ipq8074-pi

Re: [PATCH v2 2/5] dt-bindings: qcom: Add IPQ8074 bindings

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 05:23:58PM +0530, Varadarajan Narayanan wrote: > Signed-off-by: Varadarajan Narayanan > --- > Documentation/devicetree/bindings/arm/qcom.txt | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Rob Herring

Re: [PATCH v2 3/4] perf config: Correctly check whether it is from system config

2017-05-08 Thread Arnaldo Carvalho de Melo
Em Mon, May 08, 2017 at 08:07:45PM +0900, Taeung Song escreveu: > Currently section's from_system_config was checked twice. you mean: "The item->from_system_config is not being checked when iterating over section->items, instead section->from_system_config is being checked multiple times, fix

Re: Large latency on blk_queue_enter

2017-05-08 Thread Javier González
> On 8 May 2017, at 18.06, Jens Axboe wrote: > > On 05/08/2017 09:49 AM, Javier González wrote: >>> On 8 May 2017, at 17.40, Jens Axboe wrote: >>> >>> On 05/08/2017 09:38 AM, Javier González wrote: > On 8 May 2017, at 17.25, Jens Axboe wrote: > > On 05/08/2017 09:22 AM, Javier Gon

Re: [PATCH v9 6/6] i2c: designware: enable SLAVE in platform module

2017-05-08 Thread Andy Shevchenko
On Mon, 2017-05-08 at 11:37 +0100, Luis Oliveira wrote: > - Slave mode selected in platform module if the support is detected in >   the DT. >  config I2C_DESIGNWARE_PLATFORM >   tristate "Synopsys DesignWare Platform" >   select I2C_DESIGNWARE_CORE > + select I2C_DESIGNWARE_SLAVE >  

Re: [PATCH v2 3/5] clk: qcom: ipq8074: Add Global Clock Controller support

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 05:23:59PM +0530, Varadarajan Narayanan wrote: > From: Abhishek Sahu > > This patch adds support for the global clock controller found on > the IPQ8074 based devices. This includes UART, I2C, SPI etc. > > Signed-off-by: Abhishek Sahu > Signed-off-by: Varadarajan Narayana

[PATCH] gpu: drm: amd: amdgpu: remove dead code

2017-05-08 Thread Gustavo A. R. Silva
Local variable use_doorbell is assigned to a constant value and it is never updated again. Remove this variable and the dead code it guards. Addresses-Coverity-ID: 1401837 Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 20 ++-- 1 file changed, 6 in

Re: [PATCH v2 4/4] perf config: Automatically create config file if not exists when setting config

2017-05-08 Thread Arnaldo Carvalho de Melo
Em Mon, May 08, 2017 at 08:07:49PM +0900, Taeung Song escreveu: > When setting config key-value pairs, > if user or system config files are nonexistent, > currently perf-config's setting didn't work right. "currently doesn't work right" is too vague? In what way it doesn't work? What happens? Can

[PATCH] sky2: Use seq_putc() in sky2_debug_show()

2017-05-08 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 18:38:17 +0200 A single character (line break) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/ethernet/marvell/sky

Re: Race to power off harming SATA SSDs

2017-05-08 Thread Pavel Machek
On Mon 2017-05-08 13:50:05, Boris Brezillon wrote: > On Mon, 08 May 2017 11:13:10 +0100 > David Woodhouse wrote: > > > On Mon, 2017-05-08 at 11:09 +0200, Hans de Goede wrote: > > > You're forgetting that the SSD itself (this thread is about SSDs) also has > > > a major software component which is

Re: [PATCH v2 05/10] dt-bindings: add compatible string for Allwinner R40 pinctrl

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 09:50:01PM +0800, Icenowy Zheng wrote: > Allwinner R40 has a pin controller like the ones in older Allwinner SoCs > (especially A20), and can use modified version of the A10/A20 pinctrl > driver. > > Add a compatible string for it. > > Signed-off-by: Icenowy Zheng > --- >

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Peter Senna Tschudin
On Mon, May 08, 2017 at 06:34:08PM +0200, Lucas Stach wrote: > Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > > Hello Kishon, > > > > Our iMX6 hardware (imx6q-b850v3.dts) is not booting with latest > > linux-next and I could bisect until: > > > > commit 442ec4c04d1235f8c66

Re: [PATCH v2 07/10] dt-bindings: add compatible string for Allwinner R40 CCU

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 09:50:03PM +0800, Icenowy Zheng wrote: > Allwinner R40 has a clock controlling unit like the ones on other > Allwinner SoCs after sun6i, and can also use a CCU-based driver. > > Add a compatible string for it. > > Signed-off-by: Icenowy Zheng > --- > Documentation/device

Re: [PATCH 2/6] Documentation: devicetree: add bindings to support ARM MHU subchannels

2017-05-08 Thread Jassi Brar
On Mon, May 8, 2017 at 9:40 PM, Rob Herring wrote: > +Bjorn > > On Tue, May 02, 2017 at 02:55:49PM +0100, Sudeep Holla wrote: >> The ARM MHU has mechanism to assert interrupt signals to facilitate >> inter-processor message based communication. It drives the signal using >> a 32-bit register, with

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Lucas Stach
Am Montag, den 08.05.2017, 18:44 +0200 schrieb Peter Senna Tschudin: > On Mon, May 08, 2017 at 06:34:08PM +0200, Lucas Stach wrote: > > Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > > > Hello Kishon, > > > > > > Our iMX6 hardware (imx6q-b850v3.dts) is not booting with late

Re: [PATCH 2/3] livepatch/rcu: Warn when system consistency is broken in RCU code

2017-05-08 Thread Josh Poimboeuf
On Thu, May 04, 2017 at 12:55:15PM +0200, Petr Mladek wrote: > RCU is not watching inside some RCU code. As a result, the livepatch > ftrace handler might see ops->func_stack and some other flags in > a wrong state. Then a livepatch might make the system unstable. > > Note that there might be seri

Re: [PATCH 2/6] Documentation: devicetree: add bindings to support ARM MHU subchannels

2017-05-08 Thread Sudeep Holla
On 08/05/17 17:10, Rob Herring wrote: > +Bjorn > > On Tue, May 02, 2017 at 02:55:49PM +0100, Sudeep Holla wrote: >> The ARM MHU has mechanism to assert interrupt signals to facilitate >> inter-processor message based communication. It drives the signal using >> a 32-bit register, with all 32-bit

Re: [PATCH v9 5/6] i2c: designware: add SLAVE mode functions

2017-05-08 Thread Andy Shevchenko
On Mon, 2017-05-08 at 11:37 +0100, Luis Oliveira wrote: > - Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support > - Slave functions added to core library file > - Slave abort sources added to common source file > - New driver: i2c-designware-slave added > - Changes in the Makefile to compile

Re: [PATCH v3 1/6] spi: Document DT bindings for SPI controllers in slave mode

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 07:45:46PM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > v3: > - In SPI slave mode, represent the (single) slave device again as a > child of the controller node, which is now optional, and must be > named "slave" if present, > - S

[PATCH] drivers: net: wimax: i2400m: i2400m-usb: Use time_after for time comparison

2017-05-08 Thread Karim Eshapa
cast timeframe variable with (unsigned long) then use time_after() kernel macro for time comparison. Signed-off-by: Karim Eshapa --- drivers/net/wimax/i2400m/i2400m-usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wimax/i2400m/i2400m-usb.h b/drivers/net/wima

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Peter Senna Tschudin
On Mon, May 08, 2017 at 06:48:48PM +0200, Lucas Stach wrote: > Am Montag, den 08.05.2017, 18:44 +0200 schrieb Peter Senna Tschudin: > > On Mon, May 08, 2017 at 06:34:08PM +0200, Lucas Stach wrote: > > > Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > > > > Hello Kishon, > > >

RE: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread Chris Brandt
On Monday, May 08, 2017, Andy Shevchenko wrote: > On Mon, May 8, 2017 at 7:01 PM, jmondi wrote: > > On Sun, May 07, 2017 at 09:52:49AM +0200, Linus Walleij wrote: > >> On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko > >> wrote: > >> > >> > Linus, for me it looks like better to revert that change

Re: [RFC][PATCH 0/9] VFS: Introduce mount context

2017-05-08 Thread Djalal Harouni
On Wed, May 3, 2017 at 6:04 PM, David Howells wrote: > > Here are a set of patches to create a mount context prior to setting up a > new mount, populating it with the parsed options/binary data and then > effecting the mount. > > This allows namespaces and other information to be conveyed through

Re: [PATCH v4 4/5] soc: qcom: Add device tree binding for GLINK RPM

2017-05-08 Thread Rob Herring
On Thu, May 04, 2017 at 01:05:38PM -0700, Bjorn Andersson wrote: > Add device tree binding documentation for the Qualcomm GLINK RPM, used > for communication with the Resource Power Management subsystem in > various Qualcomm SoCs. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v3: >

Re: [PATCH 2/6] Documentation: devicetree: add bindings to support ARM MHU subchannels

2017-05-08 Thread Sudeep Holla
On 08/05/17 17:46, Jassi Brar wrote: > On Mon, May 8, 2017 at 9:40 PM, Rob Herring wrote: >> +Bjorn >> >> On Tue, May 02, 2017 at 02:55:49PM +0100, Sudeep Holla wrote: >>> The ARM MHU has mechanism to assert interrupt signals to facilitate >>> inter-processor message based communication. It driv

Re: [PATCH v2 1/2] dax: prevent invalidation of mapped DAX entries

2017-05-08 Thread Ross Zwisler
On Fri, May 05, 2017 at 09:29:12AM +0200, Jan Kara wrote: > On Thu 04-05-17 13:59:09, Ross Zwisler wrote: > > dax_invalidate_mapping_entry() currently removes DAX exceptional entries > > only if they are clean and unlocked. This is done via: > > > > invalidate_mapping_pages() > > invalidate_exc

Re: [PATCH] sky2: Use seq_putc() in sky2_debug_show()

2017-05-08 Thread Lino Sanfilippo
Hi, On 08.05.2017 18:42, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 8 May 2017 18:38:17 +0200 > > A single character (line break) should be put into a sequence. Why? > Thus use the corresponding function "seq_putc". > > This issue was detected by using the Coccinelle softwar

[PATCH v3] staging: media: atomisp: Fix indentation to tabs

2017-05-08 Thread Gideon Sheril
Fixing following checkpatch warnnings/errors: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line Signed-off-by: Gideon Sheril --- Changed from previuos version: - Fixed alignment issues - Verified no new warning or errors appear after patch

Re: [PATCH] dt-bindings: power: New bindings for ltc3651-charger

2017-05-08 Thread Rob Herring
On Fri, May 05, 2017 at 08:38:35AM +0200, Mike Looijmans wrote: > This adds the devicetree bindings documentation for the LTC3651 battery > charger. > > Signed-off-by: Mike Looijmans > --- > .../bindings/power/supply/ltc3651-charger.txt | 26 > ++ > 1 file changed, 26

[GIT PULL] f2fs for 4.12-rc1

2017-05-08 Thread Jaegeuk Kim
Hi Linus, Could you consider this pull request? Thanks, The following changes since commit 1f02071358301e376f5a54e40531db37a1d7c7ab: Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi (2017-03-21 13:10:17 -0700) are available in the git repository at: git:

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Peter Senna Tschudin
On Mon, May 08, 2017 at 09:20:36PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 08 May 2017 09:09 PM, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Monday 08 May 2017 08:32 PM, Peter Senna Tschudin wrote: > >> Hello Kishon, > >> > >> Our iMX6 hardware (imx6q-b850v3.dts) is not boot

[GIT PULL] tracing: Three more updates for 4.12

2017-05-08 Thread Steven Rostedt
Linus, These are three simple changes. The first one is just a switch from using strcpy() to strlcpy(). Someone thought that it may cause an overflow bug, but since it only copies comms into a pre-allocated array of TASK_COMM_LEN, and no comm should ever be bigger than that, nor not end with a n

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
On Friday 05 May 2017 23:55:46 mario.limoncie...@dell.com wrote: > Unfortunately the MOF data that comes out of wmi-mof is so called > "Binary MOF" which has been pre-compiled to an intermediate format > with mofcomp.exe on Windows. The format of binary MOF is not > documented and the only known wa

[PATCH] gpu: drm: amd: amdgpu: remove dead code

2017-05-08 Thread Gustavo A. R. Silva
Local variable use_doorbell is assigned to a constant value and it is never updated again. Remove this variable and the dead code it guards. Addresses-Coverity-ID: 1401828 Signed-off-by: Gustavo A. R. Silva --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 53 +-- 1 fil

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread jmondi
Andy, On Mon, May 08, 2017 at 07:08:32PM +0300, Andy Shevchenko wrote: > On Mon, May 8, 2017 at 7:01 PM, jmondi wrote: > > On Sun, May 07, 2017 at 09:52:49AM +0200, Linus Walleij wrote: > >> On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko > >> wrote: > >> > >> > Linus, for me it looks like bett

Re: [PATCH v3 7/8] arm64: exception: handle asynchronous SError interrupt

2017-05-08 Thread James Morse
Hi Xiongfeng Wang, On 28/04/17 03:55, Xiongfeng Wang wrote: >>> >> It is ok to just ignore the process following the ESB instruction in >>> >> el0_sync, because the process will be sent SIGBUS signal. >> > >> > I don't understand. How will Linux know the process caused an error if we >> > neithe

Re: [PATCH v3 3/3] arm/arm64: signal SIBGUS and inject SEA Error

2017-05-08 Thread James Morse
Hi gengdongjiu, On 04/05/17 17:52, gengdongjiu wrote: > 2017-05-04 23:42 GMT+08:00 gengdongjiu : >> On 30/04/17 06:37, Dongjiu Geng wrote: >>> diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c >>> index 105b6ab..a96594f 100644 >>> --- a/arch/arm/kvm/mmu.c >>> +++ b/arch/arm/kvm/mmu.c >>> +stati

Re: [PATCH V15 06/11] acpi: apei: handle SEA notification type for ARMv8

2017-05-08 Thread James Morse
Hi Tyler, On 19/04/17 00:05, Tyler Baicar wrote: > ARM APEI extension proposal added SEA (Synchronous External Abort) > notification type for ARMv8. > Add a new GHES error source handling function for SEA. If an error > source's notification type is SEA, then this function can be registered > into

[PATCH] qca_debug: Reduce function calls for sequence output in qcaspi_info_show()

2017-05-08 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 19:21:27 +0200 A bit of data was put into a sequence by separate function calls. Print the same data together with adjusted seq_printf() calls instead. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- driver

Re: [PATCHv3 1/2] Input: pwm-vibra: new driver

2017-05-08 Thread Rob Herring
On Fri, May 05, 2017 at 11:28:22AM +0200, Sebastian Reichel wrote: > Provide a simple driver for PWM controllable vibrators. It > will be used by Motorola Droid 4. > > Tested-by: Tony Lindgren > Signed-off-by: Sebastian Reichel > --- > Changes since PATCHv1: > - move driver removal code to inpu

Re: [PATCH v3 1/3] arm64: kvm: support kvmtool to detect RAS extension feature

2017-05-08 Thread James Morse
Hi gengdongjiu, On 04/05/17 18:20, gengdongjiu wrote: >> On 30/04/17 06:37, Dongjiu Geng wrote: >>> Handle kvmtool's detection for RAS extension, because sometimes >>> the APP needs to know the CPU's capacity >> >>> diff --git a/arch/arm64/kvm/reset.c b/arch/arm64/kvm/reset.c >>> index d9e9697..10

Re: [PATCHv3] phy: cpcap-usb: Add CPCAP PMIC USB support

2017-05-08 Thread Tony Lindgren
* Kishon Vijay Abraham I [170507 23:23]: > Hi Tony, > > On Monday 10 April 2017 09:49 AM, Tony Lindgren wrote: > > Some Motorola phones like droid 4 use a custom CPCAP PMIC that has a > > multiplexing USB PHY. > > > > This USB PHY can operate at least in four modes using pin multiplexing > > and

Re: [PATCH] sgi-xp: use designated initializers

2017-05-08 Thread Robin Holt
Acked-by: Robin Holt Robin Holt

Re: [PATCH V15 10/11] trace, ras: add ARM processor error trace event

2017-05-08 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 05:05:22PM -0600, Tyler Baicar wrote: > Currently there are trace events for the various RAS > errors with the exception of ARM processor type errors. > Add a new trace event for such errors so that the user > will know when they occur. These trace events are > consistent wi

Re: FIO performance regression in 4.11 kernel vs. 4.10 kernel observed on ARM64

2017-05-08 Thread Scott Branden
Hi Jens/Will, More complex FIO test provided inline. I think there are more than one changes in 4.11 that have degraded performance. On 17-05-08 08:28 AM, Jens Axboe wrote: On 05/08/2017 09:24 AM, Will Deacon wrote: On Mon, May 08, 2017 at 08:08:55AM -0600, Jens Axboe wrote: On 05/08/2017

[PATCH] staging: media: fix one code style problem

2017-05-08 Thread Remco Verhoef
this patch will fix one code style problem (ctx:WxE), space prohibited before that Signed-off-by: Remco Verhoef --- .../staging/media/atomisp/platform/intel-mid/atomisp_gmin_platform.c| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/platform/

Re: [virtio-dev] Re: [PATCH v9 2/5] virtio-balloon: VIRTIO_BALLOON_F_BALLOON_CHUNKS

2017-05-08 Thread Michael S. Tsirkin
On Sun, May 07, 2017 at 04:19:28AM +, Wang, Wei W wrote: > On 05/06/2017 06:26 AM, Michael S. Tsirkin wrote: > > On Thu, Apr 27, 2017 at 02:31:49PM +0800, Wei Wang wrote: > > > On 04/27/2017 07:20 AM, Michael S. Tsirkin wrote: > > > > On Wed, Apr 26, 2017 at 11:03:34AM +, Wang, Wei W wrote:

Re: [PATCH V15 11/11] arm/arm64: KVM: add guest SEA support

2017-05-08 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 05:05:23PM -0600, Tyler Baicar wrote: > Currently external aborts are unsupported by the guest abort > handling. Add handling for SEAs so that the host kernel reports > SEAs which occur in the guest kernel. > > When an SEA occurs in the guest kernel, the guest exits and is

Re: Race to power off harming SATA SSDs

2017-05-08 Thread Tejun Heo
Hello, On Mon, May 08, 2017 at 06:43:22PM +0200, Pavel Machek wrote: > What I was trying to point out was that storage people try to treat > SSDs as HDDs... and SSDs are very different. Harddrives mostly survive > powerfails (with emergency parking), while it is very, very difficult > to make SSD

Re: sky2: Use seq_putc() in sky2_debug_show()

2017-05-08 Thread SF Markus Elfring
> Which issue do you mean? I dont see any issue you fix here. Are the run time characteristics a bit nicer for the function “seq_putc” in comparison to the function “seq_puts” for printing a single line break here? Regards, Markus

Re: [PATCH v5 01/10] pinctrl: generic: Add bi-directional and output-enable

2017-05-08 Thread Andy Shevchenko
On Mon, May 8, 2017 at 8:25 PM, jmondi wrote: > Andy, > > On Mon, May 08, 2017 at 07:08:32PM +0300, Andy Shevchenko wrote: >> On Mon, May 8, 2017 at 7:01 PM, jmondi wrote: >> > On Sun, May 07, 2017 at 09:52:49AM +0200, Linus Walleij wrote: >> >> On Fri, Apr 28, 2017 at 4:53 PM, Andy Shevchenko >>

Re: [PATCH 2/6] Documentation: devicetree: add bindings to support ARM MHU subchannels

2017-05-08 Thread Bjorn Andersson
On Mon 08 May 10:07 PDT 2017, Sudeep Holla wrote: > > > On 08/05/17 17:46, Jassi Brar wrote: > > On Mon, May 8, 2017 at 9:40 PM, Rob Herring wrote: > >> +Bjorn > >> > >> On Tue, May 02, 2017 at 02:55:49PM +0100, Sudeep Holla wrote: > >>> The ARM MHU has mechanism to assert interrupt signals to

Re: [PATCH v4 4/5] soc: qcom: Add device tree binding for GLINK RPM

2017-05-08 Thread Bjorn Andersson
On Mon 08 May 10:06 PDT 2017, Rob Herring wrote: > On Thu, May 04, 2017 at 01:05:38PM -0700, Bjorn Andersson wrote: > > Add device tree binding documentation for the Qualcomm GLINK RPM, used > > for communication with the Resource Power Management subsystem in > > various Qualcomm SoCs. > > > > S

Re: Regression: 442ec4c04d1: PCI: dwc: all: Split struct pcie_port into host-only and core structures

2017-05-08 Thread Lorenzo Pieralisi
On Mon, May 08, 2017 at 06:34:08PM +0200, Lucas Stach wrote: > Am Montag, den 08.05.2017, 17:02 +0200 schrieb Peter Senna Tschudin: > > Hello Kishon, > > > > Our iMX6 hardware (imx6q-b850v3.dts) is not booting with latest > > linux-next and I could bisect until: > > > > commit 442ec4c04d1235f8c66

Re: [PATCH v3 3/3] arm/arm64: signal SIBGUS and inject SEA Error

2017-05-08 Thread Christoffer Dall
On Mon, May 08, 2017 at 06:28:02PM +0100, James Morse wrote: [...] > > > >>> diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h > >>> index bb02909..1d2e2e7 100644 > >>> --- a/include/uapi/linux/kvm.h > >>> +++ b/include/uapi/linux/kvm.h > >>> @@ -1306,6 +1306,7 @@ struct kvm_s390

Re: [tip:x86/mm] x86/boot/32: Defer resyncing initial_page_table until per-cpu is set up

2017-05-08 Thread Jan Kiszka
On 2017-05-08 14:34, Jan Kiszka wrote: > On 2017-05-08 13:21, Andy Lutomirski wrote: >> On Mon, May 8, 2017 at 2:32 AM, Andy Shevchenko >> wrote: >>> On Mon, May 8, 2017 at 9:31 AM, Jan Kiszka wrote: On 2017-03-23 10:14, tip-bot for Andy Lutomirski wrote: > The x86 smpboot trampoline exp

[PATCH v4] Introduce v3 namespaced file capabilities

2017-05-08 Thread Serge E. Hallyn
Root in a non-initial user ns cannot be trusted to write a traditional security.capability xattr. If it were allowed to do so, then any unprivileged user on the host could map his own uid to root in a private namespace, write the xattr, and execute the file with privilege on the host. However sup

[PATCH] drm/vc4: Enable selection in Kconfig on any BCM platform.

2017-05-08 Thread Eric Anholt
With the Cygnus port, we needed to add at least "|| ARCH_BCM_CYGNUS" to let the module get built on a cygnus-only kernel. However, I anticipate having a port for Kona soon, so just present the module on all of BCM. Signed-off-by: Eric Anholt --- I would be sending this through drm-misc-next, as

<    1   2   3   4   5   6   7   >