RE: [PATCH v4 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-29 Thread Anup Patel
> -Original Message- > From: Anup Patel [mailto:anup.pa...@broadcom.com] > Sent: 30 October 2015 11:49 > To: David Woodhouse; Brian Norris; Linux MTD > Cc: Rob Herring; Pawel Moll; Mark Rutland; Catalin Marinas; Will Deacon; > Sudeep Holla; Ian Campbell; Kumar Gala; Ray Jui; Scott Branden

RE: [PATCH v4 0/3] NAND support for Broadcom NS2 SoC

2015-10-29 Thread Anup Patel
Hi All, Please disregard this patchset. There is an accidental typo in patch2. We should use ~CFG_BUS_WIDTH instead of CFG_BUS_WIDTH in patch2. I will quickly send v5 patchset to fix this. Sorry, for the noise. Regards, Anup -- To unsubscribe from this list: send the line "unsubscribe linux-ke

RE: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-10-29 Thread Pavel Fedin
Hello! > > Add documentation for new subnode properties, allowing bank configuration. > > Based on u-boot implementation, but heavily reworked. > > Please, carefully look at: > Documentation/devicetree/bindings/net/gpmc-eth.txt > Documentation/devicetree/bindings/bus/ti-gpmc.txt Thank you very

RE: [PATCH v4 0/4] [PATCH v4 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-10-29 Thread Pavel Fedin
Hello! > > .../bindings/arm/samsung/exynos-srom.txt | 50 ++- > > arch/arm/boot/dts/exynos5410-smdk5410.dts | 41 +++ > > arch/arm/boot/dts/exynos5410.dtsi | 15 ++ > > arch/arm/mach-exynos/Kconfig | 2 +-

RE: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-29 Thread Pavel Fedin
Hello! > -Original Message- > From: linux-samsung-soc-ow...@vger.kernel.org > [mailto:linux-samsung-soc-ow...@vger.kernel.org] > On Behalf Of Pankaj Dubey > Sent: Thursday, October 29, 2015 8:28 PM > To: Pavel Fedin > Cc: devicet...@vger.kernel.org; linux-arm-ker...@lists.infradead.org;

[PATCH 4/4] crypto: rk_crypto - add DT bindings documentation

2015-10-29 Thread Zain Wang
Add DT bindings documentation for the rk3288 crypto drivers. Signed-off-by: Zain Wang --- .../devicetree/bindings/crypto/rk-crypto.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/rk-crypto.txt diff --git a/Docu

[PATCH 2/4] clk: rockchip: set an id for crypto clk

2015-10-29 Thread Zain Wang
set an id for crypto clk, so that it can be called in other part. Signed-off-by: Zain Wang --- drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c index 9040878..d74bd5d 10064

[PATCH 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-10-29 Thread Zain Wang
Add Crypto drivers for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang --- arch/arm/boot/dts/rk3288.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 6a79c9c..1706706 100644 ---

[PATCH 0/4] Crypto: add crypto accelerator support for rk3288

2015-10-29 Thread Zain Wang
This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms or new hash drivers will be added later on. Zain Wang (4): Crypto: Crypto driver support aes/des/des3 for rk3288 clk: rockchip: set an id for crypto clk ARM: dts: rockchip: Add Crypto drivers f

[PATCH 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-10-29 Thread Zain Wang
Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher mode. The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain Wang

Re: [PATCH v4 1/4] Documentation: dt-bindings: Describe SROMc configuration

2015-10-29 Thread Krzysztof Kozlowski
On 29.10.2015 21:42, Pavel Fedin wrote: > Add documentation for new subnode properties, allowing bank configuration. > Based on u-boot implementation, but heavily reworked. Please, carefully look at: Documentation/devicetree/bindings/net/gpmc-eth.txt Documentation/devicetree/bindings/bus/ti-gpmc.t

Re: [RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-29 Thread Yunhong Jiang
On Thu, Oct 29, 2015 at 10:45:44AM +0100, Paolo Bonzini wrote: > > > On 29/10/2015 04:11, Alex Williamson wrote: > > > The irqfd is already able to schedule a work item, because it runs with > > > interrupts disabled, so I think we can always return IRQ_HANDLED. > > > > I'm confused by this. The

[PATCH v5 3/4] regulator: s2mps11: add support for S2MPS15 regulators

2015-10-29 Thread Alim Akhtar
From: Thomas Abraham The S2MPS15 PMIC is similar in functionality to S2MPS11/14 PMIC. It contains 27 LDO and 10 Buck regulators and allows programming these regulators via a I2C interface. This patch adds initial support for LDO/Buck regulators of S2MPS15 PMIC. Signed-off-by: Thomas Abraham Sig

[PATCH v5 2/4] mfd: sec: Add support for S2MPS15 PMIC

2015-10-29 Thread Alim Akhtar
From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz clock outputs and battery charger. This patch adds initial support for LDO and buck regulators of S2MPS15 device. Signed-off-b

[PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-29 Thread Alim Akhtar
RTC found in s2mps15 is almost same as one found on s2mps13 with few differences in RTC_UPDATE register fields, like: 1> Bit[4] and Bit[1] are reversed - On s2mps13 WUDR -> bit[4], AUDR -> bit[1] - On s2mps15 WUDR -> bit[1], AUDR -> bit[4] 2> In case of s2mps13, for alarm

[PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-10-29 Thread Alim Akhtar
From: Thomas Abraham Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. This also supports RTC and three 32.768KHz clock outputs. Cc: devicet...@vger.kernel.org Signed-off-by: Thomas Abraham Signed

[PATCH v5 0/4] mfd: sec: add S2MPS15 PMIC support

2015-10-29 Thread Alim Akhtar
Samsung's S2MPS15 PMIC is targetted to be used with Samsung's Exynos7 SoC. The S2MPS15 PMIC is similar in functionality to S2MPS11/14 PMIC. It contains 27 LDO and 10 Buck regulators, RTC, three 32.768 KHz clock outputs and allows programming these blocks via a I2C interface. This patch series adds

Re: [RFC] perf: fix building for ARCv1

2015-10-29 Thread Vineet Gupta
On Saturday 17 October 2015 07:06 PM, Alexey Brodkin wrote: > Perf uses atomic options and so it is required to have atomics enabled > in toolchain. > > In case of ARC atomics are enabled by default for ARCv2 but disabled for > ARCv1. Now we explicitly enable atomics for either ARC achitecture > ve

Re: [RFC] perf: fix building for ARCv1

2015-10-29 Thread Vineet Gupta
On Thursday 29 October 2015 09:28 PM, Alexey Brodkin wrote: > Hi Vineet, > > On Tue, 2015-10-20 at 10:45 +, Vineet Gupta wrote: >> On Tuesday 20 October 2015 03:41 PM, Peter Zijlstra wrote: > Can we use existing syscall(s) - again this is what our good old pthread > library > code

[PATCH v4 3/3] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-29 Thread Anup Patel
The NAND controller on NS2 SoC is compatible with existing BRCM IPROC NAND driver so let's enable it in NS2 DT and NS2 SVK DT. This patch also fixes use of node labels in ns2-svk.dts. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Brian Norris --- arch

[PATCH] net: rds: chnaging the return type from int to void

2015-10-29 Thread Saurabh Sengar
as return type of function rds_iw_flush_mr_pool no where checked, chnaging its return type from int to void. also removing the unused variable rc as there is nothing to return. Signed-off-by: Saurabh Sengar --- net/rds/iw_rdma.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

Re: [PATCH] mm: Introduce kernelcore=reliable option

2015-10-29 Thread Kamezawa Hiroyuki
On 2015/10/23 10:44, Luck, Tony wrote: > First part of each memory controller. I have two memory controllers on each > node > If each memory controller has the same distance/latency, you (your firmware) don't need to allocate reliable memory per each memory controller. If distance is problem, a

[PATCH v4 1/3] mtd: brcmnand: factor out CFG and CFG_EXT bitfields

2015-10-29 Thread Anup Patel
From: Brian Norris Use enum instead of magic numbers for CFG and CFG_EXT bitfields. Signed-off-by: Brian Norris Tested-by: Anup Patel --- drivers/mtd/nand/brcmnand/brcmnand.c | 38 +--- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/drivers/mtd/

[PATCH v4 2/3] mtd: brcmnand: Force 8bit mode before doing nand_scan_ident()

2015-10-29 Thread Anup Patel
Just like other NAND controllers, the NAND READID command only works in 8bit mode for all versions of BRCMNAND controller. This patch forces 8bit mode for each NAND CS in brcmnand_init_cs() before doing nand_scan_ident() to ensure that BRCMNAND controller is in 8bit mode when NAND READID command i

[PATCH v4 0/3] NAND support for Broadcom NS2 SoC

2015-10-29 Thread Anup Patel
We enable NAND support for Broadcom NS2 SoC by reusing existing BRCMNAND driver. This patchset applies on-top of "arm64: Simple additions to NS2 DT" v1 patchset and is available in ns2_nand_v4 branch of https://github.com/Broadcom/arm64-linux.git. The patchset is tested on NS2 SVK. Changes since

Re: [for-next][PATCH 4/5] tracing: Check all tasks on each CPU when filtering pids

2015-10-29 Thread Jiaxing Wang
On Thu, Oct 29, 2015 at 03:07:58AM -0400, Steven Rostedt wrote: > static ssize_t > ftrace_event_pid_write(struct file *filp, const char __user *ubuf, > size_t cnt, loff_t *ppos) > @@ -1711,6 +1727,12 @@ ftrace_event_pid_write(struct file *filp, const char > __user *ubuf, >

Re: [PATCH 6/7] clocksource/drivers/pxa_timer: Add the COMPILE_TEST option

2015-10-29 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on tip/timers/core -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Daniel-Lezcano/time-Define-dummy-functions-for-the-generic-sched-clock/20151030-065823 config: parisc-a

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-29 Thread libin
在 2015/10/29 23:09, Will Deacon 写道: > On Thu, Oct 29, 2015 at 09:35:42PM +0800, kbuild test robot wrote: >> [auto build test ERROR on arm64/for-next/core -- if it's inappropriate base, >> please suggest rules for selecting the more suitable base] >> >> url: >> https://github.com/0day-ci/linu

Re: [PATCH v2 5/7] PCI: Wait 1 second between disabling VFs and clearing NumVFs

2015-10-29 Thread ethan zhao
Wei, On 2015/10/30 13:14, Wei Yang wrote: On Thu, Oct 29, 2015 at 05:23:22PM -0500, Bjorn Helgaas wrote: From: Alexander Duyck Per sec 3.3.3.1 of the SR-IOV spec, r1.1, we must allow 1.0s after clearing VF Enable before reading any field in the SR-IOV Extended Capability. Wait 1 second befor

[PATCH v2] USB: usbmon: Remove timeval usage for timestamp

2015-10-29 Thread Tina Ruchandani
struct timeval' uses 32-bits for its seconds field and will overflow in the year 2038 and beyond. This patch replaces the usage of 'struct timeval' in mon_get_timestamp() with timespec64 which uses a 64-bit seconds field and is y2038-safe. mon_get_timestamp() truncates the timestamp at 4096 seconds

Re: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support

2015-10-29 Thread Ley Foon Tan
On Fri, Oct 30, 2015 at 7:22 AM, Bjorn Helgaas wrote: >> >>> >> >>> I applied these to pci/host-altera for v4.4, thanks! >> >>> >> >>> I squashed these into three patches: >> >>> >> >>> - add msi.h to Kbuild >> >>> - add Altera host driver (including DT binding and MAINTAINERS update) >> >>>

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-29 Thread Kamezawa Hiroyuki
On 2015/10/30 0:17, mho...@kernel.org wrote: > From: Michal Hocko > > wait_iff_congested has been used to throttle allocator before it retried > another round of direct reclaim to allow the writeback to make some > progress and prevent reclaim from looping over dirty/writeback pages > without mak

[RESEND PATCH] USB: usbmon: Use 64bit timestamp for mon_bin_hdr

2015-10-29 Thread Tina Ruchandani
struct mon_bin_hdr allows for a 64-bit seconds timestamp. The code currently uses 'struct timeval' to populate the timestamp in mon_bin_hdr, which has a 32-bit seconds field and will overflow in year 2038 and beyond. This patch replaces 'struct timeval' with 'struct timespec64' which is y2038 safe.

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-29 Thread Vineet Gupta
+CC Claudiu: ARC gcc expert (please scroll to botom) On Friday 30 October 2015 06:56 AM, Nicolas Pitre wrote: > On Wed, 28 Oct 2015, Nicolas Pitre wrote: > >> On Thu, 29 Oct 2015, Alexey Brodkin wrote: >> >>> Fortunately we already have much better __div64_32() for 32-bit ARM. >>> There in case of

[PATCH v4 5/6] arm64: insn: add instruction decoders for ldp/stp and add/sub

2015-10-29 Thread AKASHI Takahiro
A function prologue analyzer is a requisite for implementing stack tracer and getting better views of stack usages on arm64. To implement a function prologue analyzer, we have to be able to decode, at least, stp, add, sub and mov instructions. This patch adds decoders for those instructions, that

[PATCH v4 2/6] arm64: ftrace: modify a stack frame in a safe way

2015-10-29 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame by calling ftrace_prepare_return() in a traced function's function prologue. The current code does this modification before preserving an original address at ftrace_push_return_trace() and there is always a small window of incons

[PATCH v4 6/6] arm64: ftrace: add arch-specific stack tracer

2015-10-29 Thread AKASHI Takahiro
Stack tracer on arm64, check_stack(), is uniqeue in the following points: * analyze a function prologue of a traced function to estimate a more accurate stack pointer value, replacing naive ' + 0x10.' * use walk_stackframe(), instead of slurping stack contents as orignal check_stack() does, to

[PATCH v4 4/6] ftrace: allow arch-specific stack tracer

2015-10-29 Thread AKASHI Takahiro
A stack frame may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as current check_stack() does, in order to calcurate a stack index (height) at a given function call. At least not on arm64. In addition, there is a possibility

[PATCH v4 3/6] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-29 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's output. This patch replaces such entries with originals values preserved in current->ret_stack[]. Signed-off

[PATCH v4 0/6] arm64: ftrace: fix incorrect output from stack tracer

2015-10-29 Thread AKASHI Takahiro
This is the fourth patch series for fixing stack tracer on arm64. The original issue was reported by Jungseok[1], and then I found more issues[2]. (Steven, Jungseok, sorry for not replying to your comments directly.) I address here all the issues and implement fixes described in [2] except for int

[PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined by stack tracer

2015-10-29 Thread AKASHI Takahiro
On arm64, no PC values returned by save_stack_trace() will match to LR values saved in stack frames on a stack after the following commit: commit e306dfd06fcb ("ARM64: unwind: Fix PC calculation") As a result, the output from stack tracer will be messed up. This patch introduces an arch-define

Re: [PATCH v2 1/7] PCI: Set SR-IOV NumVFs to zero after enumeration

2015-10-29 Thread Wei Yang
On Fri, Oct 30, 2015 at 11:48:21AM +0800, Wei Yang wrote: >On Thu, Oct 29, 2015 at 05:22:54PM -0500, Bjorn Helgaas wrote: >>ines: 115 >> >>From: Alexander Duyck >> >>The enumeration path should leave NumVFs set to zero. But after >>4449f079722c ("PCI: Calculate maximum number of buses required fo

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-29 Thread Kamezawa Hiroyuki
On 2015/10/30 0:17, mho...@kernel.org wrote: > From: Michal Hocko > > __alloc_pages_slowpath has traditionally relied on the direct reclaim > and did_some_progress as an indicator that it makes sense to retry > allocation rather than declaring OOM. shrink_zones had to rely on > zone_reclaimable i

Re: [PATCH v2 7/7] PCI: Set NumVFs before computing how many buses VFs require

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:36PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >VF bus numbers depend on the First VF Offset and VF Stride, and per >sections 3.3.9 and 3.3.10 of the SR-IOV spec r1.1, these depend on the >NumVF value. > >Wait until after we set NumVFs to compute and valida

Re: [PATCH v2 6/7] PCI: Fix sriov_enable() error path for pcibios_enable_sriov() failures

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:29PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Disable VFs if pcibios_enable_sriov() fails, just like we do for other >errors in sriov_enable(). Call pcibios_sriov_disable() if virtfn_add() >fails. > >[bhelgaas: changelog, split to separate patch for revi

Re: [PATCH v2 5/7] PCI: Wait 1 second between disabling VFs and clearing NumVFs

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:22PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Per sec 3.3.3.1 of the SR-IOV spec, r1.1, we must allow 1.0s after clearing >VF Enable before reading any field in the SR-IOV Extended Capability. > >Wait 1 second before calling pci_iov_set_numvfs(), which re

Re: [PATCH v2 4/7] PCI: Reorder pcibios_sriov_disable()

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:15PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Move pcibios_sriov_disable() up so it's defined before a future use. > >[bhelgaas: split to separate patch for reviewability] >Signed-off-by: Alexander Duyck >Signed-off-by: Bjorn Helgaas Reviewed-by: Wei Y

Re: [PATCH v2 3/7] PCI: Remove VFs in reverse order if virtfn_add() fails

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:08PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >If virtfn_add() fails, we call virtfn_remove() for any previously added >devices. Remove the devices in reverse order (first-added is >last-removed), which is more natural and doesn't require an additional >v

Re: [PATCH v2 2/7] PCI: Remove redundant validation of SR-IOV offset/stride registers

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:23:01PM -0500, Bjorn Helgaas wrote: >From: Alexander Duyck > >Previously, we read, validated, and cached PCI_SRIOV_VF_OFFSET and >PCI_SRIOV_VF_STRIDE in sriov_enable(). But sriov_init() now does >that via compute_max_vf_buses(), so we don't need to do it again. > >Remov

[git pull] drm fixes

2015-10-29 Thread Dave Airlie
Hi Linus, Two patches for fix a regression in backlight handling on some old radeon laptops. Regards, Dave. The following changes since commit 8a28d67457b613258aa0578ccece206d166f2b9f: Merge tag 'powerpc-4.3-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux (2015-10-28 18:

Re: [PATCH v4 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-29 Thread Brian Norris
Hi Bayi, On Fri, Oct 30, 2015 at 10:12:39AM +0800, bayi.cheng wrote: > Hi Brian, The current station is as follows. > > 1: put 0x9F to MTK_NOR_PRGDATA5_REG, and five 0x0 to > MTK_NOR_PRGDATA4_REG ~ MTK_NOR_PRGDATA0_REG, then set (1 + 5) * 8 > to MTK_NOR_CNT_REG, for this way, we can read five I

[PATCH] NET: ATM: MPOA: Remove 32-bit timekeeping

2015-10-29 Thread Tina Ruchandani
net/atm/mpoa_* files use 'struct timeval' to store event timestamps. struct timeval uses a 32-bit seconds field which will overflow in the year 2038 and beyond. Morever, the timestamps are being compared only to get seconds elapsed, so struct timeval which stores a seconds and microseconds field is

Re: [PATCH v5 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-10-29 Thread Brian Norris
Hi Bayi, (I drafted most of this before you clarified on how to read out 6 bytes of ID. So a bit of this is slightly out-of-date. Still, I think most of the comments and much of the appended patch should be useful to you.) On Mon, Oct 26, 2015 at 09:40:38PM +0800, Bayi Cheng wrote: > add spi nor

Re: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI

2015-10-29 Thread Hanjun Guo
Hi Jon, On 2015/10/30 12:07, Jon Masters wrote: > Hi Tomasz, > > Thanks for posting this series. > > On 10/27/2015 12:38 PM, Tomasz Nowicki wrote: > >> From the functionality point of view this series might be split into two >> logic parts: >> 1. Making MMCONFIG code arch-agnostic which allows al

Re: [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-10-29 Thread kbuild test robot
Hi Sinan, [auto build test WARNING on lwn/docs-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-management-driver/20151030-111408 coccinelle warnings:

[PATCH] dma: fix platform_no_drv_owner.cocci warnings

2015-10-29 Thread kbuild test robot
drivers/dma/qcom_hidma_mgmt.c:852:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Sinan Kaya Signed-off-by: Fengguang Wu --- qcom_hidma_mgmt.c |1

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-29 Thread Hillf Danton
> --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3191,8 +3191,23 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > order, >*/ > if (__zone_watermark_ok(zone, order, min_wmark_pages(zone), > ac->high_zoneidx, alloc_flags, targ

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-29 Thread Hillf Danton
> +/* > + * Number of backoff steps for potentially reclaimable pages if the direct > reclaim > + * cannot make any progress. Each step will reduce 1/MAX_STALL_BACKOFF of the > + * reclaimable memory. > + */ > +#define MAX_STALL_BACKOFF 16 > + > static inline struct page * > __alloc_pages_slowpa

[PATCH v6] isdn: Use ktime_t instead of 'struct timeval'

2015-10-29 Thread Tina Ruchandani
'struct timeval' uses 32-bit representation for seconds which will overflow in year 2038 and beyond. mISDN/clock.c needs to compute and store elapsed time in intervals of 125 microseconds. This patch replaces the usage of 'struct timeval' with 64-bit ktime_t which is y2038 safe. The patch also repl

Re: [PATCH V1 00/11] MMCONFIG refactoring and ARM64 PCI hostbridge init based on ACPI

2015-10-29 Thread Jon Masters
Hi Tomasz, Thanks for posting this series. On 10/27/2015 12:38 PM, Tomasz Nowicki wrote: > From the functionality point of view this series might be split into two > logic parts: > 1. Making MMCONFIG code arch-agnostic which allows all architectures to > collect >PCI config regions and use

Re: [RFC 00/11] DAX fsynx/msync support

2015-10-29 Thread Dave Chinner
On Thu, Oct 29, 2015 at 02:12:04PM -0600, Ross Zwisler wrote: > This patch series adds support for fsync/msync to DAX. > > Patches 1 through 8 add various utilities that the DAX code will eventually > need, and the DAX code itself is added by patch 9. Patches 10 and 11 are > filesystem changes th

Re: [PATCH v2 1/7] PCI: Set SR-IOV NumVFs to zero after enumeration

2015-10-29 Thread Wei Yang
On Thu, Oct 29, 2015 at 05:22:54PM -0500, Bjorn Helgaas wrote: >ines: 115 > >From: Alexander Duyck > >The enumeration path should leave NumVFs set to zero. But after >4449f079722c ("PCI: Calculate maximum number of buses required for VFs"), >we call virtfn_max_buses() in the enumeration path, whi

Re: [PATCH v2 1/4] clocksource: rockchip: Make the driver more compatible

2015-10-29 Thread Caesar Wang
Hi Daniel, 在 2015年10月01日 03:14, Heiko Stübner 写道: Hi Daniel, Am Dienstag, 29. September 2015, 06:18:03 schrieb Daniel Lezcano: On 09/25/2015 04:14 AM, Caesar Wang wrote: Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform, There are some failure with build up on timer driver for rockchip

Re: [PATCH v3 2/4] lib/string_helpers.c: protect string_get_size() against blk_size=0

2015-10-29 Thread James Bottomley
On Fri, 2015-10-30 at 01:32 +0200, Andy Shevchenko wrote: > On Fri, Oct 30, 2015 at 1:00 AM, James Bottomley wrote: > > On Thu, 2015-10-29 at 17:30 +0100, Vitaly Kuznetsov wrote: > >> Division by zero happens if blk_size=0 is supplied to string_get_size(). > >> Add WARN_ON() and set size to 0 to r

Re: [PATCH] mm/hugetlb: Unmap pages if page fault raced with hole punch

2015-10-29 Thread Hugh Dickins
On Thu, 29 Oct 2015, Mike Kravetz wrote: > This patch is a combination of: > [PATCH v2 4/4] mm/hugetlb: Unmap pages to remove if page fault raced > with hole punch and, > [PATCH] mm/hugetlb: i_mmap_lock_write before unmapping in > remove_inode_hugepages > This patch can replace the en

Re: [PATCH v3 1/4] lib/string_helpers: change blk_size to u32 for string_get_size() interface

2015-10-29 Thread James Bottomley
On Fri, 2015-10-30 at 00:19 +0100, Rasmus Villemoes wrote: > On Thu, Oct 29 2015, James Bottomley wrote: > > > On Thu, 2015-10-29 at 17:30 +0100, Vitaly Kuznetsov wrote: > >> string_get_size() can't really handle huge block sizes, especially > >> blk_size > U32_MAX but string_get_size() interface

Re: [PATCH] usb: dwc2: host: Fix remote wakeup when not in DWC2_L2

2015-10-29 Thread John Youn
On 10/29/2015 9:43 AM, Doug Anderson wrote: > John, > > On Thu, Oct 22, 2015 at 1:05 PM, Douglas Anderson > wrote: >> In commit 734643dfbdde ("usb: dwc2: host: add flag to reflect bus >> state") we changed dwc2_port_suspend() not to set the lx_state >> anymore (instead it sets the new bus_suspen

[PATCH V6 RESEND 1/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-10-29 Thread Chen Feng
Add DT bindings documentation for hi6220 SoC reset controller. Signed-off-by: Chen Feng --- .../bindings/reset/hisilicon,hi6220-reset.txt | 34 +++ include/dt-bindings/reset/hisi,hi6220-resets.h | 67 ++ 2 files changed, 101 insertions(+) create mode 100644

[PATCH V6 RESEND 3/3] arm64: dts: Add reset dts config for Hisilicon Hi6220 SoC

2015-10-29 Thread Chen Feng
Add reset controller for hi6220 hikey-board. Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..e45dbb1 100644 --- a/arch/

[PATCH V6 RESEND 2/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-10-29 Thread Chen Feng
Add reset driver for hi6220-hikey board,this driver supply deassert of IP on hi6220 SoC. Signed-off-by: Chen Feng --- drivers/reset/Kconfig | 1 + drivers/reset/Makefile | 1 + drivers/reset/hisilicon/Kconfig| 5 ++ drivers/reset/hisilicon/Makefile

[PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-10-29 Thread Sinan Kaya
This patch adds support for hidma engine. The driver consists of two logical blocks. The DMA engine interface and the low-level interface. This version of the driver does not support virtualization on this release and only memcpy interface support is included. Signed-off-by: Sinan Kaya --- .../d

[PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-10-29 Thread Sinan Kaya
The Qualcomm Technologies HIDMA device has been designed to support virtualization technology. The driver has been divided into two to follow the hardware design. The management driver is executed in hypervisor context and is the main managment for all channels provided by the device. The channel d

Re: [PATCH] ASoC: Intel: Skylake: fix typo in sizeof

2015-10-29 Thread Mark Brown
On Thu, Oct 29, 2015 at 11:04:41PM +0100, Vincent Stehlé wrote: > The size of the pointer to a data structure to send is erroneously > passed to sst_ipc_tx_message_wait() as its tx_bytes argument. It should > be given the size of the pointed skl_ipc_dxstate_info structure instead. This was reporte

Re: [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-29 Thread Lan Tianyu
On 2015年10月30日 00:17, Alexander Duyck wrote: > On 10/29/2015 01:33 AM, Lan Tianyu wrote: >> On 2015年10月29日 14:58, Alexander Duyck wrote: >>> Your code was having to do a bunch of shuffling in order to get things >>> set up so that you could bring the interface back up. I would argue >>> that it ma

[PATCH v2] serial: 8250_uniphier: add earlycon support

2015-10-29 Thread Masahiro Yamada
This reuses the code of drivers/tty/serial/8250/8250_early.c except - Overwrite device->port.iotype and device->port.regshift for UPIO_MEM32 because of_setup_earlycon() has set them for UPIO_MEM. - Set device->baud to zero to prevent early8250_setup() from initializing the divisor reg

Re: [PATCH V6 2/3] Add reset controller for hi6220 SoC platform.

2015-10-29 Thread chenfeng
Hi, On 2015/10/30 0:14, Philipp Zabel wrote: > Am Donnerstag, den 29.10.2015, 20:55 +0800 schrieb Chen Feng: >> reset: add driver for hi6220 reset controller > > Same comment as for patch 1, this should probably be the subject, > the commit message body was better in V4. > >> Signed-off-by: Chen

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: >>> So problem (no LCD backlight) must have been introduced between >>> those. >> >> Well this looks like it might have something to do with it will >> attempt a build just before it. -- >> commit 4281f46ef839050d2ef60348f661eb463c21cc2e

[PATCH v3 0/3] serial: 8250_early: simplify serial_putc()

2015-10-29 Thread Masahiro Yamada
Changes in v3: - Split into three patches. - Confirm the empty TX only after sending each character. Changes in v2: - split into two patches Masahiro Yamada (3): serial: 8250_early: do not save and restore IER in write callback serial: 8250_early: confirm empty transmitter after sendi

[PATCH v3 1/3] serial: 8250_early: do not save and restore IER in write callback

2015-10-29 Thread Masahiro Yamada
The IER has already been masked in early_serial8250_setup(), there is no reason to save and restore it every time early_serial8250_write() is called. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff -

[PATCH v3 3/3] serial: 8250_early: squash wait_for_xmitr() into serial_putc()

2015-10-29 Thread Masahiro Yamada
Now, wait_for_xmitr() is only called from serial_putc(), and both are short enough. They can be merged into a single function. Signed-off-by: Masahiro Yamada --- drivers/tty/serial/8250/8250_early.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/tty/se

[PATCH v3 2/3] serial: 8250_early: confirm empty transmitter after sending characters

2015-10-29 Thread Masahiro Yamada
The current code waits until the transmitter becomes empty, before sending each character, and after finishing the whole string. This seems a bit redundant. It can be more efficient by checking the transmitter only after sending each character. This should be safe because the transmitter is alrea

[PATCH] net: hisilicon: Remove .owner assignment from platform_driver

2015-10-29 Thread huangdaode
platform_driver doesn't need to set .owner, because platform_driver_register() will set it. Signed-off-by: huangdaode --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilic

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Dmitry Torokhov
On Thu, Oct 29, 2015 at 09:08:45PM -0500, Michael Welling wrote: > Dmitry, > > On Thu, Oct 29, 2015 at 06:45:22PM -0700, Dmitry Torokhov wrote: > > Hi Michael, > > > > On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > > > Adds support for the i2c based tsc2004. > > > > > > Due t

Re: [PATCH v5] clk: add CS2000 Fractional-N driver

2015-10-29 Thread Kuninori Morimoto
Hi ping ? [R] 森本 wrote: > > From: Kuninori Morimoto > > This patch adds CS2000 Fractional-N driver as clock provider. > > Signed-off-by: Kuninori Morimoto > --- > v4 -> v5 > > - remove "clock-frequency" > - use dev on clk_register() > - remove CLK_IS_BASIC > - .enable -> .prepare since

Re: [PATCH] Staging: comedi: fixed comment, added a new line

2015-10-29 Thread Greg KH
On Thu, Oct 29, 2015 at 11:52:33PM +0100, Philippe Loctaux wrote: > >From 16dae6c28a46ae257dcedd51d973aee7821053f3 Mon Sep 17 00:00:00 2001 > From: Philippe Loctaux > Date: Thu, 29 Oct 2015 22:45:16 +0100 > Subject: [PATCH] Staging: comedi: fixed comment, added a new line Why is this header all i

Applied "regmap-mmio: Use native endianness for read/write" to the regmap tree

2015-10-29 Thread Mark Brown
The patch regmap-mmio: Use native endianness for read/write has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Michael Welling
Dmitry, On Thu, Oct 29, 2015 at 06:45:22PM -0700, Dmitry Torokhov wrote: > Hi Michael, > > On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > > Adds support for the i2c based tsc2004. > > > > Due to the overlapping functionality of the tsc2004 and tsc2005 > > the common code was

xt_TEE.c:undefined reference to `nf_dup_ipv6'

2015-10-29 Thread kbuild test robot
Hi Pablo, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8a28d67457b613258aa0578ccece206d166f2b9f commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b netfilter: factor out packet duplication for IPv4/IPv6 date: 3 mo

Re: [PATCH 1/2] pinctrl: uniphier: enable UniPhier SoCs pinctrl drivers by default

2015-10-29 Thread Masahiro Yamada
Hi Linus, 2015-10-29 22:33 GMT+09:00 Linus Walleij : > On Tue, Oct 27, 2015 at 3:28 AM, Masahiro Yamada > wrote: > >> Add "default y" to the Kconfig rather than adding entries into >> arch/arm/configs/multi_v7_defconfig. >> >> Signed-off-by: Masahiro Yamada > > (...) >> config PINCTRL_UNIPHIER_

Re: [PATCH v4 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-10-29 Thread Jiang Liu
On 2015/10/30 7:46, ja...@microsoft.com wrote: > From: Jake Oshins > > This patch adds an fwnode_handle to struct pci_sysdata, which is > used by the next patch in the series when trying to locate an > IRQ domain associated with a root PCI bus. > > Signed-off-by: Jake Oshins > --- > arch/x86

Re: [PATCH 0/2] power: Add support for TI BQ24261 charger

2015-10-29 Thread Krzysztof Kozlowski
2015-10-30 1:37 GMT+09:00 Ramakrishna Pallala : > This patch series adds the support for TI BQ24261 charger driver. > > TI BQ24261 charger driver relies on extcon notifications to get the > charger cable type and based on that it will set the charging parameters. > > Ramakrishna Pallala (2): > dt

Re: [PATCH 1/2] dt: power: Add support for TI BQ24261 charger

2015-10-29 Thread Krzysztof Kozlowski
2015-10-30 1:37 GMT+09:00 Ramakrishna Pallala : > This patch adds the device tree documentation for TI BQ24261 charger. > > Signed-off-by: Ramakrishna Pallala > Signed-off-by: Jenny TC > --- > .../devicetree/bindings/power/bq24261.txt | 34 > > 1 file changed, 34

Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-29 Thread Dmitry Torokhov
Hi Michael, On Wed, Oct 28, 2015 at 07:12:34PM -0500, Michael Welling wrote: > Adds support for the i2c based tsc2004. > > Due to the overlapping functionality of the tsc2004 and tsc2005 > the common code was moved to a core driver (tsc200x-core). > > Signed-off-by: Michael Welling In addition

Re: [PATCH 07/17] fs/ext4: remove unnecessary new_valid_dev check

2015-10-29 Thread Yaowei Bai
On Thu, Oct 29, 2015 at 02:09:01PM -0400, Theodore Ts'o wrote: > On Mon, Sep 28, 2015 at 09:50:37PM +0800, Yaowei Bai wrote: > > As new_valid_dev always returns 1, so !new_valid_dev check is not > > needed, remove it. > > > > Signed-off-by: Yaowei Bai > > Thanks, applied. Ted, this patch has be

Re: [PATCH] md/raid5: fix locking in handle_stripe_clean_event()

2015-10-29 Thread Neil Brown
On Fri, Oct 30 2015, Roman Gushchin wrote: > 29.10.2015, 03:35, "Neil Brown" : >> On Wed, Oct 28 2015, Roman Gushchin wrote: >> >>>  After commit 566c09c53455 ("raid5: relieve lock contention in >>> get_active_stripe()") >>>  __find_stripe() is called under conf->hash_locks + hash. >>>  But handl

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-29 Thread David Miller
From: Nishanth Aravamudan Date: Thu, 29 Oct 2015 08:57:01 -0700 > So, would that imply changing just the NVMe driver code rather than > adding the dma_page_shift API at all? What about > architectures that can support the larger page sizes? There is an > implied performance impact, at least, of s

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-29 Thread Nicolas Pitre
On Wed, 28 Oct 2015, Nicolas Pitre wrote: > On Thu, 29 Oct 2015, Alexey Brodkin wrote: > > > Fortunately we already have much better __div64_32() for 32-bit ARM. > > There in case of division by constant preprocessor calculates so-called > > "magic number" which is later used in multiplications i

[PATCH 2/3] PM / OPP: Add {opp-microvolt|opp-microamp|turbo-mode|opp-suspend}- binding

2015-10-29 Thread Viresh Kumar
Depending on the version of hardware or its properties, which are only known at runtime, various properties of the OPP can change. For example, an OPP with frequency 1.2 GHz, may have different voltage/current requirements based on the version of the hardware it is running on. Similarly, it may or

[PATCH 3/3] PM / OPP: Remove 'operating-points-names' binding

2015-10-29 Thread Viresh Kumar
These aren't used until now by any DT files and wouldn't be used now as we have a better scheme in place now, i.e. opp-property- properties. Remove the (useless) binding without breaking ABI. Signed-off-by: Viresh Kumar --- Documentation/devicetree/bindings/opp/opp.txt | 62 +---

[PATCH 1/3] PM / OPP: Add "opp-supported-hw" binding

2015-10-29 Thread Viresh Kumar
We may want to enable only a subset of OPPs, from the bigger list of OPPs, based on what version of the hardware we are running on. This would enable us to not duplicate OPP tables for every version of the hardware we support. To enable that, this patch defines a new property 'opp-supported-hw'. I

  1   2   3   4   5   6   7   >