Re: [RFC 0/6] vfs: Add timestamp range check support

2016-11-02 Thread Darrick J. Wong
On Thu, Nov 03, 2016 at 09:48:27AM +1100, Dave Chinner wrote: > On Wed, Nov 02, 2016 at 08:04:50AM -0700, Deepa Dinamani wrote: > > The series is aimed at adding timestamp checking and policy > > related to it to vfs. > > > > The series was developed with discussions and guidance from > > Arnd Ber

RE: [patch v5] i2c: mux: mellanox: add driver

2016-11-02 Thread Vadim Pasternak
Hi, I see that this patch has not been picked-up yet for i2c-next. Is it possible it was missed from some reason? Thanks, Vadim. > -Original Message- > From: Vadim Pasternak > Sent: Friday, September 23, 2016 2:57 PM > To: 'Peter Rosin' ; w...@the-dreams.de > Cc: linux-...@vger.kernel.or

[PATCH 1/1] usb: xhci: cleanup cmd_completion in xhci_virt_device

2016-11-02 Thread Lu Baolu
cmd_completion in struct xhci_virt_device is legacy. With command strutcture and command queue introduced in xhci, cmd_completion is not used any more. This patch removes it. Signed-off-by: Lu Baolu --- drivers/usb/host/xhci-mem.c | 1 - drivers/usb/host/xhci.h | 1 - 2 files changed, 2 dele

[PATCH v3 1/5] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank

2016-11-02 Thread Chanwoo Choi
This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. In the pre-existing Exynos series, the registers of the gpio bank are included in the one memory map. But, some gpio bank need to support the one more memory map (IORESOURCE_MEM) because the registers of gpio bank are separ

[PATCH v3 3/5] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-11-02 Thread Chanwoo Choi
This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. This patch includes following Device Tree node to support Exynos5433 SoC: 1. Octa cores for bi

[PATCH v3 2/5] pinctrl: samsung: Add GPF support for Exynos5433

2016-11-02 Thread Chanwoo Choi
This patch add the support of GPF[1-5] pin of Exynos5433 SoC. The GPFx need to support the multiple memory map because the registers of GPFx are located in the different domain. Cc: Tomasz Figa Cc: Krzysztof Kozlowski Cc: Sylwester Nawrocki Cc: Kukjin Kim Cc: Linus Walleij Cc: Rob Herring Cc

[PATCH v3 0/5] arm64: dts: Add the dts file for Exynos5433 and TM/TM2E board

2016-11-02 Thread Chanwoo Choi
This patchset adds the Device Tree file for Samsung 64-bit Exynos5433 SoC and TM/TM2E board based on Exynos5433. The Exynos5433 has Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). The TM2 and TM2E are the Samsung board based on Exynos5433 SoC. I tested the display controller by using the mod

[PATCH v3 4/5] arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board

2016-11-02 Thread Chanwoo Choi
This patch adds the Device Tree source for Exynos5433-based Samsung TM2 board. This board fully support the all things for mobile target. This patch supports the following devices: 1. basic SoC - Initial booting for Samsung Exynos5433 SoC - DRAM LPDDR3 (3GB) - eMMC (32GB) - ARM architecture timer

[PATCH v3 5/5] arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board

2016-11-02 Thread Chanwoo Choi
This patch adds the Device Tree source for Exynos5433-based Samsung TM2E board. TM2E board is the most similar with TM2 board. The exynos5433-tm2e.dts include the difference between TM2 and TM2E. Signed-off-by: Chanwoo Choi Signed-off-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim Signed-off-by

Re: [PATCH v2 1/2] PM/devfreq: add suspend frequency support

2016-11-02 Thread hl
Hi All, Miss something in this patch, just ignored it, sorry about that. On 2016年11月03日 14:16, Lin Huang wrote: Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Change-Id: Iaa0d3848d63d9

Re: [PATCH v2 1/2] PM/devfreq: add suspend frequency support

2016-11-02 Thread kbuild test robot
Hi Lin, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc3 next-20161028] [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/Lin-Huang/set-specific-ddr-frequency-when-stop-dd

Re: [4.9-rc3] BUG: unable to handle kernel paging request at ffffc900144dfc60

2016-11-02 Thread Ingo Molnar
* Linus Torvalds wrote: > On Wed, Nov 2, 2016 at 4:50 AM, Tetsuo Handa > wrote: > >> > >> So I _think_ the fix is to just remove this. Perhaps something like > >> the attached? Adding scheduler people since this is in their code.. > > > > That is not sufficient, for another Oops occurs inside s

[tip:locking/core] locking/drm: Fix i915_gem_shrinker_lock() locking

2016-11-02 Thread tip-bot for Ingo Molnar
Commit-ID: c7faee2109f978f3ef826c48b7e60609061fda4f Gitweb: http://git.kernel.org/tip/c7faee2109f978f3ef826c48b7e60609061fda4f Author: Ingo Molnar AuthorDate: Thu, 3 Nov 2016 07:16:43 +0100 Committer: Ingo Molnar CommitDate: Thu, 3 Nov 2016 07:21:12 +0100 locking/drm: Fix i915_gem_shri

[PATCH 02/13] mmc: dw_mmc: fix the debug message for checking card's present

2016-11-02 Thread Jaehoon Chung
If display the debug message, this message should be spamming. If flags is maintained the previous value, didn't display the debug message. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/dw_mm

[PATCH 07/13] mmc: dw_mmc: use the cookie's enum values for post/pre_req()

2016-11-02 Thread Jaehoon Chung
This patch removed the meaningless value. Instead, use the cookie's enum values for executing correctly. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/mmc/host/dw_mm

[PATCH 04/13] mmc: dw_mmc: use the hold register when send stop command

2016-11-02 Thread Jaehoon Chung
If DW_MMC_CARD_NO_USE_HOLD isn't set, it's usesd by default. Enve if SDMMC_CMD_USB_HOLD_REG is set in prepare_command(), but it doesn't set in pre_stop_abort(). To maintain the consistency, add the checking condition for this. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 3 +++

[PATCH 05/13] mmc: dw_mmc: call the dw_mci_prep_stop_abort() by default

2016-11-02 Thread Jaehoon Chung
stop_cmdr should be set to values relevant to stop command. It migth be assigned to values whatever there is mrq->stop or not. Then it doesn't need to use dw_mci_prepare_command(). It's enough to use the prep_stop_abort for preparing stop command. Signed-off-by: Jaehoon Chung --- drivers/mmc/hos

[PATCH 06/13] mmc: core: move the cookie's enum values from sdhci.h to mmc.h

2016-11-02 Thread Jaehoon Chung
It's not for only sdhci controller. So it can be moved from sdhci.h to mmc.h. And renamed from sdhci_cookie to mmc_cookie. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/sdhci.h | 6 -- include/linux/mmc/core.h | 6 ++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dri

[PATCH 03/13] mmc: dw_mmc: change the DW_MCI_FREQ_MIN from 400K to 100K

2016-11-02 Thread Jaehoon Chung
If there is no property "clock-freq-min-max", mmc->f_min should be set to 400K by default. But Some SoC can be used 100K. When 100K is used, MMC core will try to check from 400K to 100K. Reported-by: Shawn Lin Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1

[PATCH 09/13] mmc: dw_mmc: remove the "clock-freq-min-max" property

2016-11-02 Thread Jaehoon Chung
Remove the "clock-freq-min-max" property. There is "max-frequency" property in drivers/mmc/core/host.c It can be used for getting maximum frequency. And minimum clock value is assigned to 100K by default. Because MMC core should check the initial clock value from 400K to 100K until finding correct

[PATCH 01/13] mmc: dw_mmc: display the real register value on debugfs

2016-11-02 Thread Jaehoon Chung
Developer wants to see the real register value, not register offset. This patch fixed to display the real value of register. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/d

[PATCH 08/13] mmc: dw_mmc: remove the unnecessary mmc_data structure

2016-11-02 Thread Jaehoon Chung
Remove the unnecessary mmc_data structure. Instead, cmd->data can be used. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index df151c8..bd8c5ea 100644 ---

[PATCH 13/13] Documentation: synopsys-dw-mshc: remove the unused properties

2016-11-02 Thread Jaehoon Chung
"support-highspeed" was the obsoleted property. And "broken-cd" is not synopsys specific property. It can be referred to mmc.txt binding Documentation. Signed-off-by: Jaehoon Chung --- Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt | 5 - 1 file changed, 5 deletions(-) diff --gi

[PATCH 12/13] ARM64: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max"

2016-11-02 Thread Jaehoon Chung
In drivers/mmc/core/host.c, there is "max-freqeuncy" property. It should be same behavior, So Use the "max-frequency" instead of "clock-freq-min-max". Signed-off-by: Jaehoon Chung --- arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3368.dtsi

[PATCH 10/13] ARM: dts: exynos: replace to "max-frequecy" instead of "clock-freq-min-max"

2016-11-02 Thread Jaehoon Chung
In drivers/mmc/core/host.c, there is "max-frequency" property. It should be same behavior. So Use the "max-frequency" instead of "clock-freq-min-max". Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 2 +- arch/arm/boot/dts/exynos3250-artik5.dtsi | 2 +- arch/a

[PATCH 11/13] ARM: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max"

2016-11-02 Thread Jaehoon Chung
In drivers/mmc/core/host.c, there is "max-frequency" property. It should be same behavior. So use the "max-frequency" instead of "clock-freq-min-max". Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/rk3036.dtsi | 6 +++--- arch/arm/boot/dts/rk322x.dtsi | 2 +- arch/arm/boot/dts/rk3288.dtsi |

[PATCH 00/13] mmc: dw_mmc: cleans the codes for dwmmc controller

2016-11-02 Thread Jaehoon Chung
This patchset is modified the some minor fixing and cleaning code. If needs to split the patches, i will re-send the patches. * Major changes - Use the cookie enum values like sdhci controller. - Remove the unnecessary codes and use stop_abort() by default. - Remove the obsoleted property "support

[PATCH v2 0/2] set specific ddr frequency when stop ddr dvfs

2016-11-02 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. So we implement get suspend frequency function in devfreq framework, and call it in rk3399 dmc driver. Lin Huang (2): PM/devfreq: add suspend frequency support PM/devfreq: rk3399: set specific ddr frequency when stop ddr dvfs d

[PATCH v2 1/2] PM/devfreq: add suspend frequency support

2016-11-02 Thread Lin Huang
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Change-Id: Iaa0d3848d63d9ce03f65ea76f263e4685a4c295e Signed-off-by: Lin Huang --- Changes in v2: - use update_devfreq() instead devfreq_update_

[PATCH v2 2/2] PM/devfreq: rk3399: set specific ddr frequency when stop ddr dvfs

2016-11-02 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. For example: if we enable two monitor, then we will stop ddr dvfs, but we hope ddr can run in highest frequency obviously. Change-Id: I02460f0becbf0e1a732e2a55b8e529f53c01109c Signed-off-by: Lin Huang --- Changes in v2: - None dri

Grant Benefit

2016-11-02 Thread Mrs Julie Leach
You are a recipient to Mrs Julie Leach Donation of $2 million USD. Contact (julieleach...@gmail.com) for claims

Re: [RFC] v4l2 support for thermopile devices

2016-11-02 Thread Matt Ranostay
On Fri, Oct 28, 2016 at 7:59 PM, Matt Ranostay wrote: > On Fri, Oct 28, 2016 at 2:53 PM, Hans Verkuil wrote: >> Hi Matt, >> >> On 28/10/16 22:14, Matt Ranostay wrote: >>> >>> So want to toss a few thoughts on adding support for thermopile >>> devices (could be used for FLIR Lepton as well) that o

Re: [PATCH v4 10/10] IB/mlx5: Simplify completion into a wait_event

2016-11-02 Thread Binoy Jayan
Hi, On 31 October 2016 at 02:47, Sagi Grimberg wrote: > How is this simpler? It is simpler in the sense that it is a light weight primitive and that only one thread waits on the event here. In our case since 'umr_context.done' is an "on stack" variable, and has only one thread waiting on that e

[PATCH 1/2] arm64: hugetlb: remove the wrong pmd check in find_num_contig()

2016-11-02 Thread Huang Shijie
The find_num_contig() will return 1 when the pmd is not present. It will cause a kernel dead loop in the following scenaro: 1.) pmd entry is not present. 2.) the page fault occurs: ... hugetlb_fault() --> hugetlb_no_page() --> set_huge_pte_at() 3.) set_huge_pte_at() will only set

RE: UBIFS LEB properties tree with odd addresses

2016-11-02 Thread Naga Sureshkumar Relli
Hi Richard, >> Hmm, the calculations in lpt.c use basic properties of the MTD (number of >> blocks, etc...). >> Can you please double check which property causes the failure and also >> verify whether the MTD driver provides correct properties. i.e. page sizes, >> block size, number of blocks,

Re: [RFC] make kmemleak scan __ro_after_init section (was: Re: [PATCH 0/5] genetlink improvements)

2016-11-02 Thread Cong Wang
On Wed, Nov 2, 2016 at 4:47 PM, Jakub Kicinski wrote: > > Thanks for looking into this! Bisect led me to the following commit: > > commit 56989f6d8568c21257dcec0f5e644d5570ba3281 > Author: Johannes Berg > Date: Mon Oct 24 14:40:05 2016 +0200 > > genetlink: mark families as __ro_after_init

Re: [PATCH 1/3] powerpc: Emulation support for load/store instructions on LE

2016-11-02 Thread Ravi Bangoria
On Thursday 03 November 2016 02:34 AM, Anton Blanchard wrote: > Hi Ravi, > >> emulate_step() uses a number of underlying kernel functions that were >> initially not enabled for LE. This has been rectified since. So, fix >> emulate_step() for LE for the corresponding instructions. > Thanks. Should

Re: [PATCH v7 REPOST 9/9] arm64: add sysfs cpu_capacity attribute

2016-11-02 Thread Juri Lelli
Hi, small update to be in sync with Russell's comments on arm correspoding patch. On 17/10/16 16:46, Juri Lelli wrote: > Add a sysfs cpu_capacity attribute with which it is possible to read and > write (thus over-writing default values) CPUs capacity. This might be > useful in situations where va

[PATCH] userns: suppress kmemleak message

2016-11-02 Thread Dmitry Torokhov
We do not ever intend to unregister "user" sysctl table, unfortunately it leads kmemleak to believe that we are leaking memory: unreferenced object 0x8807383bfd48 (size 96): comm "swapper/0", pid 1, jiffies 4294894636 (age 278.320s) hex dump (first 32 bytes): a0 b4 b0 ba ff ff ff ff 00

Re: [PATCH v7 REPOST 0/9] CPUs capacity information for heterogeneous systems

2016-11-02 Thread Juri Lelli
Hi Catalin, On 30/10/16 14:22, Catalin Marinas wrote: > On Mon, Oct 17, 2016 at 04:46:41PM +0100, Juri Lelli wrote: > > I'm thus now assuming that everybody is OK with the patches and that they > > can > > be queued for 4.10 (we certainly need this plumbing at this point). Please > > speak if my

Re: net/netlink: global-out-of-bounds in genl_family_rcv_msg/validate_nla

2016-11-02 Thread Cong Wang
On Wed, Nov 2, 2016 at 10:25 PM, Cong Wang wrote: > On Wed, Nov 2, 2016 at 5:25 PM, Andrey Konovalov > wrote: >> Hi, >> >> I've got the following error report while running the syzkaller fuzzer: >> >> == >> BUG: KASAN: global-out-of

Re: [PATCH v7 REPOST 8/9] arm: add sysfs cpu_capacity attribute

2016-11-02 Thread Juri Lelli
Hi, apologies for the delay in replying, but I'm attending Linux Plumbers this week. On 30/10/16 20:45, Russell King - ARM Linux wrote: > On Mon, Oct 17, 2016 at 04:46:49PM +0100, Juri Lelli wrote: > > +#ifdef CONFIG_PROC_SYSCTL > > +#include > > +#include > > Include files at the top of the f

Re: net/netlink: global-out-of-bounds in genl_family_rcv_msg/validate_nla

2016-11-02 Thread Cong Wang
On Wed, Nov 2, 2016 at 5:25 PM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while running the syzkaller fuzzer: > > == > BUG: KASAN: global-out-of-bounds in validate_nla+0x49b/0x4e0 at addr > 8407e3ac

Re: [PATCH 0/2] mmc: dw_mmc: fix the wrong operation for reset controller

2016-11-02 Thread Jaehoon Chung
Hi, On 11/02/2016 06:56 AM, John Stultz wrote: > On Sun, Oct 30, 2016 at 7:49 PM, Jaehoon Chung wrote: >> This patch adds the "reset-names" as reset controller for dwmmc controller. >> Linaro guys had reported the issue about booting stuck. >> >> Some SoCs are enabled the CONFIG_RESET_CONTROLLER.

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-11-02 Thread Dan Williams
On Wed, Nov 2, 2016 at 5:41 PM, Neri, Ricardo wrote: > On Sun, 2016-10-30 at 08:59 -0700, Dan Williams wrote: >> On Sun, Oct 30, 2016 at 5:08 AM, Thorsten Leemhuis >> wrote: >> > JFYI: I added this report to the list of regressions for Linux 4.9. I'll >> > watch this thread for further updates on

Grant Benefit

2016-11-02 Thread Mrs Julie Leach
You are a recipient to Mrs Julie Leach Donation of $2 million USD. Contact (julieleach...@gmail.com) for claims

bpf: kernel BUG in htab_elem_free

2016-11-02 Thread Dmitry Vyukov
Here we go. The following program triggers kernel BUG in htab_elem_free. On commit 0c183d92b20b5c84ca655b45ef57b3318b83eb9e (Oct 31). Run as "while true; do ./a.out; done". [ cut here ] kernel BUG at mm/slub.c:3866! invalid opcode: [#1] SMP KASAN Modules linked in: CP

Re: [PATCH V3 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-02 Thread Dongdong Liu
Hi Bjorn Thanks for your review. 在 2016/11/3 7:40, Bjorn Helgaas 写道: On Thu, Oct 20, 2016 at 11:10:34AM +0800, Dongdong Liu wrote: PCIe controller in Hip05/HIP06/HIP07 SoCs is not ECAM compliant. It is non ECAM only for the RC bus config space;for any other bus underneath the root bus we suppo

[PATCH 0/2] arm64: fix the bugs found in the hugetlb test

2016-11-02 Thread Huang Shijie
(1) Backgroud For the arm64, the hugetlb page size can be 32M (PMD + Contiguous bit). In the 4K page environment, the max page order is 10 (max_order - 1), so 32M page is the gigantic page. The arm64 MMU supports a Contiguous bit which is a hint that the PTE is one of a set of c

[PATCH v5 4/8] firmware: arm_scpi: allow firmware with get_capabilities not implemented

2016-11-02 Thread Sudeep Holla
From: Neil Armstrong On Amlogic SCPI legacy implementation, the GET_CAPABILITIES command is not supported, failover by using 0.0.0 version. Signed-off-by: Neil Armstrong [sudeep.ho...@arm.com: changed the subject] Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scpi.c | 4 1 file ch

[PATCH v5 5/8] Documentation: bindings: decouple juno specific details from generic binding

2016-11-02 Thread Sudeep Holla
Since SCPI is a generic protocol and the bindings are intended to be generic, we need to decouple all the platform specific binding details out of the generic bindings. This patch moves are the Juno platform specific details into a separate binding document. Cc: Rob Herring Signed-off-by: Sudeep

[PATCH v5 3/8] firmware: arm_scpi: add alternative legacy structures, functions and macros

2016-11-02 Thread Sudeep Holla
From: Neil Armstrong This patch adds support for the Legacy SCPI protocol that is available in very early JUNO versions and shipped Amlogic ARMv8 based SoCs. Some Rockchip SoC are also known to use this version of protocol with extended vendor commands. In order to support the legacy SCPI protoc

[PATCH v5 8/8] firmware: arm_scpi: add support for legacy SCPI compatible

2016-11-02 Thread Sudeep Holla
This patch adds new DT match table to setup the support for legacy SCPI protocol. It aldo adds "arm,legacy-scpi" to the legacy match entry. Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scpi.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/firmware/arm_scpi.c b/drive

[PATCH v5 6/8] Documentation: bindings: add compatible specific to legacy SCPI protocol

2016-11-02 Thread Sudeep Holla
This patch adds specific compatible to support legacy SCPI protocol. Cc: Rob Herring Signed-off-by: Sudeep Holla --- Documentation/devicetree/bindings/arm/arm,scpi.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/arm,scpi.txt b/Do

[PATCH v5 2/8] firmware: arm_scpi: increase MAX_DVFS_OPPS to 16 entries

2016-11-02 Thread Sudeep Holla
From: Neil Armstrong Since Amlogic SoCs supports more than 8 OPPs per domains, we need increase the OPP structure size. This patch increases the MAX_DVFS_OPPS to 16. Signed-off-by: Neil Armstrong Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scpi.c | 2 +- 1 file changed, 1 insertion(

RE: [patch v2] i2c: add master driver for mellanox systems

2016-11-02 Thread Vadim Pasternak
> -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: Thursday, November 03, 2016 1:09 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re: [patch v2] i2c: a

[PATCH v5 7/8] Documentation: bindings: Add support for Amlogic GXBB SCPI protocol

2016-11-02 Thread Sudeep Holla
From: Neil Armstrong Cc: Rob Herring Signed-off-by: Neil Armstrong (decoupled from the generic scpi binding) Signed-off-by: Sudeep Holla --- .../devicetree/bindings/arm/amlogic,scpi.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devic

[PATCH v5 1/8] firmware: arm_scpi: add command indirection to support legacy commands

2016-11-02 Thread Sudeep Holla
Since the legacy SCPI and the SCPI v1.0 differ in the command values, it's better to create some sort of command indirection in the driver to avoid repeated version check at multiple places. This patch adds the indirection command table to allow different values of the command across SCPI versions

[PATCH 0/8] firmware: arm_scpi: add support for legacy SCPI protocol

2016-11-02 Thread Sudeep Holla
Hi, This is minor rework of the series[1] from Neil Armstrong's to support legacy SCPI protocol to make DT bindings more generic and move out all the platform specific bindings out of the generic binding document. -- Regards, Sudeep [1] http://www.spinics.net/lists/arm-kernel/msg534999.html Nei

Re: [PATCH v4 10/10] IB/mlx5: Simplify completion into a wait_event

2016-11-02 Thread Leon Romanovsky
On Sun, Oct 30, 2016 at 11:17:57PM +0200, Sagi Grimberg wrote: > > > On 27/10/16 09:59, Binoy Jayan wrote: > >Convert the completion 'mlx5_ib_umr_context:done' to a wait_event as it > >just waits for the return value to be filled. On top of Sagi's response, I'm failing to understand why it is need

Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface

2016-11-02 Thread Sudeep Holla
On 02/11/16 21:51, Rob Herring wrote: On Wed, Nov 2, 2016 at 5:20 PM, Sudeep Holla wrote: On Sat, Oct 29, 2016 at 11:39:05AM -0700, Olof Johansson wrote: Hi, On Wed, Oct 5, 2016 at 12:33 AM, Neil Armstrong wrote: Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/de

Re: [Qemu-devel] [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-11-02 Thread Alexey Kardashevskiy
On 03/11/16 00:18, Kirti Wankhede wrote: > > > On 11/2/2016 6:30 PM, Jike Song wrote: >> On 11/02/2016 08:41 PM, Kirti Wankhede wrote: >>> On 11/2/2016 5:51 PM, Jike Song wrote: On 11/02/2016 12:09 PM, Alexey Kardashevskiy wrote: > Or you could just reference and use @mm as KVM and other

Re: [PATCH] ARM: davinci: da850: Fix pwm name matching

2016-11-02 Thread David Lechner
On 11/01/2016 05:31 AM, Sekhar Nori wrote: On Monday 31 October 2016 08:18 PM, David Lechner wrote: On 10/31/2016 05:18 AM, Sekhar Nori wrote: On Tuesday 25 October 2016 11:24 PM, David Lechner wrote: This fixes pwm name matching for DA850 familiy devices. When using device tree, the da850_aux

Re: [PATCH] acer-wmi: only supports AMW0_GUID1 on acer family

2016-11-02 Thread joeyli
On Thu, Nov 03, 2016 at 11:40:15AM +0800, Anthony Wong wrote: > On 1 November 2016 at 12:30, Lee, Chun-Yi wrote: > > > > The AMW0_GUID1 wmi is not only found on Acer family but also other > > machines like Lenovo, Fujitsu and Medion. In the past days, acer-wmi > > driver handled those non-Acer mac

Reimbursement Payment of USD1.5M Approved, Email: (help.andyo...@gmail.com)

2016-11-02 Thread U / N
Congratulations Beneficiary, You a recipient of USD1.5M Yours Faithfully, Mr. Wu Hongbo Under-Secretary-General for Economic and Social Affairs

Reimbursement Payment of USD1.5M Approved, Email: (help.andyo...@gmail.com)

2016-11-02 Thread U / N

[PATCH 2/2] arm64: hugetlb: fix the wrong address for several functions

2016-11-02 Thread Huang Shijie
The libhugetlbfs meets several failures since the following functions do not use the correct address: huge_ptep_get_and_clear() huge_ptep_set_access_flags() huge_ptep_set_wrprotect() huge_ptep_clear_flush() This patch fixes the wrong address for them. Acked-by: Steve Capper Signed-of

Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface

2016-11-02 Thread Rob Herring
On Wed, Nov 2, 2016 at 5:20 PM, Sudeep Holla wrote: > On Sat, Oct 29, 2016 at 11:39:05AM -0700, Olof Johansson wrote: >> Hi, >> >> >> On Wed, Oct 5, 2016 at 12:33 AM, Neil Armstrong >> wrote: >> > Acked-by: Rob Herring >> > Signed-off-by: Neil Armstrong >> > --- >> > Documentation/devicetree/

Re: [PATCH] acer-wmi: only supports AMW0_GUID1 on acer family

2016-11-02 Thread Anthony Wong
On 1 November 2016 at 12:30, Lee, Chun-Yi wrote: > > The AMW0_GUID1 wmi is not only found on Acer family but also other > machines like Lenovo, Fujitsu and Medion. In the past days, acer-wmi > driver handled those non-Acer machines by quirks list. > > But actually acer-wmi driver was loaded on any

[PATCH] clk: rockchip: remove more CLK_IGNORE_UNUSED for rk3399 clocktree

2016-11-02 Thread Jianqun Xu
Optimize rk3399 clocktree by removing CLK_IGNORE_UNUSED of some clocks. clocks will managered by usb: - clk_usbphy0_480m_src - clk_usbphy1_480m_src - clk_usbphy_480m clocks will be managered by pvtm: - clk_pvtm_core_l - clk_pvtm_core_b - clk_pvtm_ddr clocks will be managered by dfi: - pclk_ddr_m

Re: [PATCH v2] of, numa: Return NUMA_NO_NODE from disable of_node_to_nid() if nid not possible.

2016-11-02 Thread Rob Herring
On Fri, Oct 28, 2016 at 4:15 PM, David Daney wrote: > From: David Daney > > On arm64 NUMA kernels we can pass "numa=off" on the command line to > disable NUMA. A side effect of this is that kmalloc_node() calls to > non-zero nodes will crash the system with an OOPS: > > [0.00] ITS@0x

[RESEND][PATCH 0/2 v4] Audio support for adv7511 hdmi bridge

2016-11-02 Thread John Stultz
Just wanted to resend the adv7511 hdmi bridge audio support for review and consideration for merging. I've taken the core audio work done by Lars-Peter Clausen, and adapted by Srinivas Kandagatla and Archit Taneja, and tried to rework it to use the hdmi-codec sound driver. This patchset, along wi

[RESEND][PATCH 1/2 v4] drm/bridge: adv7511: Add Audio support.

2016-11-02 Thread John Stultz
This patch adds support to Audio for both adv7511 and adv7533 bridge chips. This patch was originally from [1] by Lars-Peter Clausen and was adapted by Archit Taneja and Srinivas Kandagatla . Then I heavily reworked it to use the hdmi-codec driver. And also folded in some audio packet initializ

[RESEND][PATCH 2/2 v4] drm/bridge: adv7511: Enable the audio data and clock pads on adv7533

2016-11-02 Thread John Stultz
From: Srinivas Kandagatla This patch enables the Audio Data and Clock pads to the adv7533 bridge. Without this patch audio can not be played. Cc: David Airlie Cc: Archit Taneja Cc: Laurent Pinchart Cc: Wolfram Sang Cc: Srinivas Kandagatla Cc: "Ville Syrjälä" Cc: Boris Brezillon Cc: Andy G

[PATCH net] netlink: netlink_diag_dump() runs without locks

2016-11-02 Thread Eric Dumazet
From: Eric Dumazet A recent commit removed locking from netlink_diag_dump() but forgot one error case. = [ BUG: bad unlock balance detected! ] 4.9.0-rc3+ #336 Not tainted - syz-executor/4018 is trying to release lock ([ 36

Re: [PATCH v3 2/3] mm: add LSM hook for writes to readonly memory

2016-11-02 Thread Jann Horn
On Thu, Nov 03, 2016 at 04:04:45AM +0100, Jann Horn wrote: > SELinux attempts to make it possible to whitelist trustworthy sources of > code that may be mapped into memory, and Android makes use of this feature. > To prevent an attacker from bypassing this by modifying R+X memory through > /proc/$p

Re: net/netlink: null-ptr-deref in netlink_dump/lock_acquire

2016-11-02 Thread Andrey Konovalov
Hi Eric, This fixes the second report, the first one is still there. Apparently these are two separate issues. For the second one: Tested-by: Andrey Konovalov Thanks for the fix! On Thu, Nov 3, 2016 at 3:58 AM, Eric Dumazet wrote: > On Thu, 2016-11-03 at 03:36 +0100, Andrey Konovalov wrote: >

[PATCH 2/3] mm: add LSM hook for writes to readonly memory

2016-11-02 Thread Jann Horn
SELinux attempts to make it possible to whitelist trustworthy sources of code that may be mapped into memory, and Android makes use of this feature. To prevent an attacker from bypassing this by modifying R+X memory through /proc/$pid/mem, PTRACE_POKETEXT or DMA, it is necessary to call a security

[PATCH 3/3] selinux: require EXECMEM for forced ptrace poke

2016-11-02 Thread Jann Horn
This restricts forced writes to private R+X mappings using the EXECMEM permission. To avoid a breaking change, a new policy capability needs to be enabled before the new restrictions take effect. Unlike most other SELinux hooks, this one takes the subject credentials as an argument instead of look

[PATCH v3 1/3] fs/exec: don't force writing memory access

2016-11-02 Thread Jann Horn
This shouldn't change behavior in any way - at this point, there should be no non-writable mappings, only the initial stack mapping -, but this change makes it easier to reason about the correctness of the following commits that place restrictions on forced memory writes. Signed-off-by: Jann Horn

[PATCH v3 3/3] selinux: require EXECMEM for forced ptrace poke

2016-11-02 Thread Jann Horn
This restricts forced writes to private R+X mappings using the EXECMEM permission. To avoid a breaking change, a new policy capability needs to be enabled before the new restrictions take effect. Unlike most other SELinux hooks, this one takes the subject credentials as an argument instead of look

[PATCH v3 2/3] mm: add LSM hook for writes to readonly memory

2016-11-02 Thread Jann Horn
SELinux attempts to make it possible to whitelist trustworthy sources of code that may be mapped into memory, and Android makes use of this feature. To prevent an attacker from bypassing this by modifying R+X memory through /proc/$pid/mem, PTRACE_POKETEXT or DMA, it is necessary to call a security

[PATCH 1/3] fs/exec: don't force writing memory access

2016-11-02 Thread Jann Horn
This shouldn't change behavior in any way - at this point, there should be no non-writable mappings, only the initial stack mapping -, but this change makes it easier to reason about the correctness of the following commits that place restrictions on forced memory writes. Signed-off-by: Jann Horn

Re: [PATCH 2/2] rtl8xxxu: Fix for bogus data used to determine macpower

2016-11-02 Thread David Miller
From: Larry Finger Date: Wed, 2 Nov 2016 20:00:03 -0500 > On 10/30/2016 05:21 AM, John Heenan wrote: >> Code tests show data returned by rtl8xxxu_read8(priv, REG_CR), used to >> set >> macpower, is never 0xea. It is only ever 0x01 (first time after >> modprobe) >> using wpa_supplicant and 0x00 th

Re: net/netlink: null-ptr-deref in netlink_dump/lock_acquire

2016-11-02 Thread Eric Dumazet
On Thu, 2016-11-03 at 03:36 +0100, Andrey Konovalov wrote: > On Thu, Nov 3, 2016 at 1:15 AM, Andrey Konovalov > wrote: > > On Wed, Oct 19, 2016 at 4:13 PM, Andrey Konovalov > > wrote: > >> Hi, > >> > >> I've got the following error report while running the syzkaller fuzzer: > >> > >> kasan: CON

Re: net/netlink: null-ptr-deref in netlink_dump/lock_acquire

2016-11-02 Thread Andrey Konovalov
On Thu, Nov 3, 2016 at 1:15 AM, Andrey Konovalov wrote: > On Wed, Oct 19, 2016 at 4:13 PM, Andrey Konovalov > wrote: >> Hi, >> >> I've got the following error report while running the syzkaller fuzzer: >> >> kasan: CONFIG_KASAN_INLINE enabled >> kasan: GPF could be caused by NULL-ptr deref or us

Xmas Offer

2016-11-02 Thread Mrs Julie Leach
You are a recipient to Mrs Julie Leach Donation of $3 million USD. Contact ( julieleac...@gmail.com) for claims.

Re: [PATCH v2 2/3] mm: add LSM hook for writes to readonly memory

2016-11-02 Thread Jann Horn
On Thu, Sep 29, 2016 at 01:32:56AM +0200, Jann Horn wrote: > On Wed, Sep 28, 2016 at 04:22:53PM -0700, Andy Lutomirski wrote: > > On Wed, Sep 28, 2016 at 3:54 PM, Jann Horn wrote: > > > -struct mm_struct *proc_mem_open(struct inode *inode, unsigned int mode) > > > +struct mm_struct *proc_mem_open(

Re: [PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-11-02 Thread Finn Thain
On Wed, 2 Nov 2016, Ondrej Zary wrote: > > Also, you've ignored the irq module parameters. From the user's point > > of view, surely the least surprising thing is to attempt to configure > > the card for whatever irq the user asked for. > > I haven't. NCR5380_find_irq is only called when irq i

Re: [PATCH 2/6] g_NCR5380: Test the IRQ before accepting it

2016-11-02 Thread Finn Thain
On Wed, 2 Nov 2016, Ondrej Zary wrote: > On Wednesday 02 November 2016 08:45:26 Finn Thain wrote: > > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > > Trigger an IRQ first with a test IRQ handler to find out if it > > > really works. Disable the IRQ if not. > > > > > > This prevents hang when incor

Re: [PATCH 1/6] NCR5380: Use probe_irq_*() for IRQ probing

2016-11-02 Thread Finn Thain
On Wed, 2 Nov 2016, Ondrej Zary wrote: > On Wednesday 02 November 2016, Finn Thain wrote: > > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > > > > + NCR5380_write(SELECT_ENABLE_REG, hostdata->id_mask); > > > + NCR5380_write(OUTPUT_DATA_REG, hostdata->id_mask); > > > + NCR5380_write(INITIATOR_COMMAND

Re: [PATCH v3 0/4] PXA cpufreq conversion to clock API

2016-11-02 Thread Viresh Kumar
On 02-11-16, 22:49, Robert Jarzmik wrote: > Would you or Rafael take patch 1/4 "cpufreq: pxa: use generic platdev driver > for > device-tree" through your tree please ? Rafael is the one who applies the patches. -- viresh

[PATCH v2 1/2] phy: rockchip-inno-usb2: support otg-port for rk3399

2016-11-02 Thread William Wu
The rk3399 SoC USB2 PHY is comprised of one Host port and one OTG port. And OTG port is for USB2.0 part of USB3.0 OTG controller, as a part to construct a fully feature Type-C subsystem. With this patch, we can support OTG port with the following functions: - Support BC1.2 charger detect, and use

[PATCH v2 0/2] support USB2 PHY OTG port for rk3399

2016-11-02 Thread William Wu
This series add support for rk3399 USB2 PHY0 and PHY1 OTG port. rk3399 has two USB2 PHYs, and each USB2 PHY is comprised of one Host port and one OTG port. We have supported Host port before, and try to support OTG port now. Test on rk3399-evb board. William Wu (2): phy: rockchip-inno-usb2: sup

[PATCH v2 2/2] arm64: dts: rockchip: add usb2-phy otg-port support for rk3399

2016-11-02 Thread William Wu
Add otg-port nodes for both u2phy0 and u2phy1. The otg-port can be used for USB2.0 part of USB3.0 OTG controller. Signed-off-by: William Wu --- Changes in v2: - None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/bo

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-02 Thread kbuild test robot
hat (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Anurup-M/perf-arm64-Support-for-Hisilicon-SoC-Hardware-event-counters/20161102-235009 config: arm-allmodcon

Re: [PATCH v9 00/16] re-enable DAX PMD support

2016-11-02 Thread Dave Chinner
On Tue, Nov 01, 2016 at 01:54:02PM -0600, Ross Zwisler wrote: > DAX PMDs have been disabled since Jan Kara introduced DAX radix tree based > locking. This series allows DAX PMDs to participate in the DAX radix tree > based locking scheme so that they can be re-enabled. I've seen patch 0/16 - wher

Re: [PATCH v6 1/4] clk: sunxi-ng: Add A64 clocks

2016-11-02 Thread Chen-Yu Tsai
On Thu, Nov 3, 2016 at 5:50 AM, Maxime Ripard wrote: > Add the A64 CCU clocks set. > > Acked-by: Rob Herring > Signed-off-by: Maxime Ripard I thought I acked this one... Skimming through it again, I think you would want to add CLK_SET_PARENT_RATE to the hdmi and mipi dsi module clocks. Otherw

[PATCH 07/14] staging/lustre/ldlm: Reinstate ldlm_enqueue_pack()

2016-11-02 Thread Oleg Drokin
The function becomes used again with the next patch, so bring it back from dead, only this time make it static. Reverts: bf2a033360f7 ("staging/lustre/ldlm: Remove unused ldlm_enqueue_pack()") Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 21 +

Re: [PATCH v18 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-11-02 Thread NeilBrown
On Tue, Nov 01 2016, Baolin Wang wrote: >> So I won't be responding on this topic any further until I see a genuine >> attempt to understand and resolve the inconsistencies with >> usb_register_notifier(). > > Any better solution? I'm not sure exactly what you are asking, so I'll assume you are

  1   2   3   4   5   6   7   >