Re: [PATCH V1] mtd : nand : denali :- No need of devm functions

2017-01-01 Thread Arvind Yadav
yes, if Memory is live out side function. Then devm_kzalloc() approach has the benefit of simplifying the different error paths. Here, Memory is alive with in function. we are going to free allocate memory then why we need devm api. In this case Devm will first add this entry to list and immediat

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Milo Kim
On 01/02/2017 04:44 PM, Shawn Guo wrote: On Mon, Jan 02, 2017 at 04:31:07PM +0900, Milo Kim wrote: On 01/02/2017 03:52 PM, Shawn Guo wrote: + panel { + compatible = "avic, tm097tdh02", "hannstar,hsd100pxn1"; "avic, tm097tdh02" is an undocumented compatible. AVIC TM097T

Re: [PATCH] auxdisplay: fix new ht16k33 build errors

2017-01-01 Thread Robin van der Gracht
On Mon, 26 Dec 2016 09:58:34 -0800 Randy Dunlap wrote: > From: Randy Dunlap > > Fix build errors caused by selecting incorrect kconfig symbols. > > drivers/built-in.o:(.data+0x19cec): undefined reference to `sys_fillrect' > drivers/built-in.o:(.data+0x19cf0): undefined reference to `sys_copyar

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Milo Kim
On 01/02/2017 04:41 PM, Shawn Guo wrote: On Mon, Jan 02, 2017 at 04:31:07PM +0900, Milo Kim wrote: On 01/02/2017 03:52 PM, Shawn Guo wrote: + panel { + compatible = "avic, tm097tdh02", "hannstar,hsd100pxn1"; "avic, tm097tdh02" is an undocumented compatible. AVIC TM097T

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Shawn Guo
On Mon, Jan 02, 2017 at 04:31:07PM +0900, Milo Kim wrote: > > On 01/02/2017 03:52 PM, Shawn Guo wrote: > >>+ panel { > >>+ compatible = "avic, tm097tdh02", "hannstar,hsd100pxn1"; > >"avic, tm097tdh02" is an undocumented compatible. > > > > AVIC TM097TDH02 panel is compatible with Hann

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Shawn Guo
On Mon, Jan 02, 2017 at 04:31:07PM +0900, Milo Kim wrote: > > On 01/02/2017 03:52 PM, Shawn Guo wrote: > >>+ panel { > >>+ compatible = "avic, tm097tdh02", "hannstar,hsd100pxn1"; > >"avic, tm097tdh02" is an undocumented compatible. > > > > AVIC TM097TDH02 panel is compatible with Hann

[PATCH v7 RESEND 05/12] iommu/amd: copy old trans table from old kernel

2017-01-01 Thread Baoquan He
Here several things need be done: - If iommu is pre-enabled in a normal kernel, just disable it and print warning. - If failed to copy dev table of old kernel, continue to proceed as it does in normal kernel. - Disable and Re-enable event/cmd buffer, install the copied DTE table to reg, an

[PATCH v7 RESEND 09/12] iommu: Assign the direct mapped domain to group->domain

2017-01-01 Thread Baoquan He
In iommu_request_dm_for_dev(), devices of group have all been attached to newly created direct mapped domain. We should store the domain into group->domain so that it works for iommu_get_domain_for_dev() and get_domain(). Signed-off-by: Baoquan He --- drivers/iommu/iommu.c | 1 + 1 file changed,

[PATCH v7 RESEND 11/12] iommu/amd: Don't copy GCR3 table root pointer

2017-01-01 Thread Baoquan He
When in kdump kernel iommu is pre_enabled, if a device is set up with guest translations (DTE.GV=1), then don't copy GCR3 table root pointer but move the device over to an empty guest-cr3 table and handle the faults in the PPR log (which answer them with INVALID). After all these PPR faults are rec

[PATCH v7 RESEND 07/12] iommu/amd: Use is_attach_deferred call-back

2017-01-01 Thread Baoquan He
Implement call-back is_attach_deferred and use it to defer the domain attach from iommu driver init to device driver init when iommu is pre-enabled in kdump kernel. Suggested-by: Joerg Roedel Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 23 ++- 1 file changed, 2

[PATCH v7 RESEND 04/12] iommu/amd: Add function copy_dev_tables

2017-01-01 Thread Baoquan He
Add function copy_dev_tables to copy the old DEV table entries of the panicked kernel to the new allocated DEV table. Since all iommus share the same DTE table the copy only need be done once as long as the physical address of old DEV table is retrieved from iommu reg. Besides, we also need to:

[PATCH v7 RESEND 12/12] iommu/amd: Clear out the GV flag when handle deferred domain attach

2017-01-01 Thread Baoquan He
When handle deferred domain attach, we need check if the domain is v2. If not, should try to clear out the GV flag which could be copied from the old device table entry. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(

[PATCH v7 RESEND 06/12] iommu: Add is_attach_deferred call-back to iommu-ops

2017-01-01 Thread Baoquan He
This new call-back will be used to check if the domain attach need be deferred for now. If yes, the domain attach/detach will return directly. Suggested-by: Joerg Roedel Signed-off-by: Baoquan He --- drivers/iommu/iommu.c | 8 include/linux/iommu.h | 1 + 2 files changed, 9 insertions(

[PATCH v7 RESEND 10/12] iommu/amd: Allocate memory below 4G for dev table if translation pre-enabled

2017-01-01 Thread Baoquan He
AMD pointed out it's unsafe to update the device-table while iommu is enabled. It turns out that device-table pointer update is split up into two 32bit writes in the IOMMU hardware. So updating it while the IOMMU is enabled could have some nasty side effects. The only way to work around this is to

[PATCH v7 RESEND 08/12] iommu/amd: Add sanity check of irq remap information of old dev table entry

2017-01-01 Thread Baoquan He
Firstly split the dev table entry copy into address translation part and irq remapping part. Because these two parts could be configured to be available indepentently. Secondly check if IntCtl and IntTabLen are 10b and 1000b if they are set. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu

[PATCH v7 RESEND 01/12] iommu/amd: Detect pre enabled translation

2017-01-01 Thread Baoquan He
Add functions to check whether translation is already enabled in IOMMU. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 25 + drivers/iommu/amd_iommu_proto.h | 1 + drivers/iommu/amd_iommu_types.h | 4 3 files changed, 30 insertions(+) diff --git a

[PATCH v7 RESEND 03/12] iommu/amd: Define bit fields for DTE particularly

2017-01-01 Thread Baoquan He
In amd-vi spec several bits of IO PTE fields and DTE fields are similar so that both of them can share the same MACRO definition. However defining their respecitve bit fields can make code more read-able. So do it in this patch. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu.c | 8

[PATCH v7 RESEND 02/12] iommu/amd: add several helper function

2017-01-01 Thread Baoquan He
Move per iommu enabling code into a wrapper function early_enable_iommu(). This can make later kdump change easier. And also add iommu_disable_command_buffer and iommu_disable_event_buffer for later usage. Signed-off-by: Baoquan He --- drivers/iommu/amd_iommu_init.c | 42 +++

[PATCH v7 RESEND 00/12] Fix kdump faults on system with amd iommu

2017-01-01 Thread Baoquan He
This is v7 post RESENT based on v4.10-rc2 of linus's tree. Just adjust the sequence of several patches and add the Suggested-by forgot in the previous post. The principle of the fix is similar to intel iommu. Just defer the assignment of device to domain to device driver init. In this version of p

Re: [PATCH] mm: Drop "PFNs busy" printk in an expected path.

2017-01-01 Thread Vlastimil Babka
On 12/30/2016 11:52 AM, Michal Hocko wrote: > On Thu 29-12-16 23:22:20, Michal Nazarewicz wrote: >> On Thu, Dec 29 2016, Eric Anholt wrote: >>> Michal Hocko writes: >>> This has been already brought up http://lkml.kernel.org/r/20161130092239.gd18...@dhcp22.suse.cz and there was a pr

Re: [PATCH v3 2/3] ARM: dts: imx6: Support Savageboard dual

2017-01-01 Thread Milo Kim
On 01/02/2017 04:03 PM, Shawn Guo wrote: + model = "Poslab SavageBoard Dual"; + compatible = "poslab,imx6dl-savageboard", "fsl,imx6dl"; It seems that 'poslab' should be added to Documentation/devicetree/bindings/vendor-prefixes.txt Ah, right. Thanks for the review! Best regards,

Re: [PATCH] x86/apic: Implement set_state_oneshot_stopped() callback

2017-01-01 Thread Viresh Kumar
On 29-12-16, 17:45, Frederic Weisbecker wrote: > When clock_event_device::set_state_oneshot_stopped() is not implemented, > hrtimer_cancel() can't stop the clock when there is no more timer in > the queue. So the ghost of the freshly cancelled hrtimer haunts us back > later with an extra interrupt:

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Milo Kim
On 01/02/2017 03:52 PM, Shawn Guo wrote: + panel { + compatible = "avic, tm097tdh02", "hannstar,hsd100pxn1"; "avic, tm097tdh02" is an undocumented compatible. AVIC TM097TDH02 panel is compatible with Hannstar HSD100PXN1, so I reuse it. It's the same rule as the usage of

Re: [PATCH] ARM: imx: remove unused device definitions

2017-01-01 Thread Shawn Guo
On Fri, Dec 16, 2016 at 10:05:08AM +0100, Arnd Bergmann wrote: > I stumbled over these during build testing, they are evidently > not referenced anywhere any more. > > Signed-off-by: Arnd Bergmann Applied, thanks.

Re: [PATCH] cpufreq: s3c64xx: remove incorrect __init annotation

2017-01-01 Thread Viresh Kumar
On 16-12-16, 10:06, Arnd Bergmann wrote: > s3c64xx_cpufreq_config_regulator is incorrectly annotated > as __init, since the caller is also not init: > > WARNING: vmlinux.o(.text+0x92fe1c): Section mismatch in reference from the > function s3c64xx_cpufreq_driver_init() to the function > .init.tex

Re: [PATCH] Documentation: cpufreq: Update supported powernv processors

2017-01-01 Thread Viresh Kumar
On 16-12-16, 16:47, Shilpasri G Bhat wrote: > Signed-off-by: Shilpasri G Bhat > --- > Documentation/cpu-freq/user-guide.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/cpu-freq/user-guide.txt > b/Documentation/cpu-freq/user-guide.txt > index 109e97b

Re: [PATCH] cpufreq: dt: Add support for APM X-Gene 2

2017-01-01 Thread Viresh Kumar
On 15-12-16, 14:55, Hoan Tran wrote: > Add the compatible string for supporting the generic device tree cpufreq-dt > driver on APM's X-Gene 2 SoC. > > Signed-off-by: Hoan Tran > --- > drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/cpufreq

Re: [PATCH] v4l: add support for CSI-1 bus

2017-01-01 Thread Sakari Ailus
Hi Pavel, On Wed, Dec 28, 2016 at 07:31:16PM +0100, Pavel Machek wrote: > From: Sakari Ailus > > The function to parse CSI2 bus parameters was called > v4l2_of_parse_csi_bus(), rename it as v4l2_of_parse_csi2_bus() in > anticipation of CSI1/CCP2 support. > > Obtain data bus type from bus-type p

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2017-01-01 Thread Binoy Jayan
On 2 January 2017 at 12:23, Herbert Xu wrote: > On Mon, Jan 02, 2017 at 12:16:45PM +0530, Binoy Jayan wrote: >> >> Even if ciphers are allocated this way, all the encryption requests >> for cbc should still go through IV generators? So that should mean, >> create one instance of IV generator using

Re: [PATCH v3 2/3] ARM: dts: imx6: Support Savageboard dual

2017-01-01 Thread Shawn Guo
On Fri, Dec 09, 2016 at 10:04:35AM +0900, Milo Kim wrote: > Common savageboard DT file is used for board support. > Specify this dtb file for i.MX6Q build. > > Signed-off-by: Milo Kim > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/imx6dl-savageboard.dts | 50 >

Re: [RFC 1/4] mm: remove unused TASK_SIZE_OF()

2017-01-01 Thread Heiko Carstens
On Fri, Dec 30, 2016 at 06:56:31PM +0300, Dmitry Safonov wrote: > All users of TASK_SIZE_OF(tsk) have migrated to mm->task_size or > TASK_SIZE_MAX since: > commit d696ca016d57 ("x86/fsgsbase/64: Use TASK_SIZE_MAX for > FSBASE/GSBASE upper limits"), > commit a06db751c321 ("pagemap: check permissions

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2017-01-01 Thread Herbert Xu
On Mon, Jan 02, 2017 at 12:16:45PM +0530, Binoy Jayan wrote: > > Even if ciphers are allocated this way, all the encryption requests > for cbc should still go through IV generators? So that should mean, > create one instance of IV generator using 'crypto_alloc_skcipher' > and create tfms_count ins

Re: [PATCH v3 1/3] ARM: dts: imx6: Add Savageboard common file

2017-01-01 Thread Shawn Guo
On Fri, Dec 09, 2016 at 10:04:34AM +0900, Milo Kim wrote: > * Memory > memblock for DDR3 1GB > > * Regulator > 3.3V for panel and backlight. > > * Display > Enable HDMI and LVDS panel. Savageboard supports AVIC TM097TDH02 panel > which is compatible with Hannstar HSD100PXN1, so reuse it.

[PATCH v3 10/10] dts: arm64: hip06: Add Hisilicon SoC PMU support

2017-01-01 Thread Anurup M
1. Add nodes for hip06 L3 cache to support uncore events. 2. Add nodes for hip06 MN to support uncore events. Signed-off-by: Shaokun Zhang Signed-off-by: John Garry Signed-off-by: Anurup M --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 72 1 file changed, 72 in

[PATCH v3 08/10] perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU

2017-01-01 Thread Anurup M
1. Add L3 caches events to /sys/devices/hisi_l3c0_2/events/ The events can be selected as shown in perf list e.g.: For L3C_READ_ALLOCATE event for Super CPU cluster 2 the event format is -e "hisi_l3c0_2/read_allocate/" 2. Add cpu_mask attribute group for showing the available CPU for co

[PATCH v3 07/10] perf: hisi: Add support for Hisilicon SoC event counters

2017-01-01 Thread Anurup M
1. HiP05/06/07 uncore PMU to support different hardware event counters. 2. Hisilicon PMU shall use the DJTAG hardware interface to access hardware event counters and configuration register. 3. Routines to initialize and setup PMU. 4. Routines to enable/disable/add/del/start/stop hardware event c

[PATCH v3 09/10] perf: hisi: Miscellanous node(MN) event counting in perf

2017-01-01 Thread Anurup M
From: Shaokun Zhang 1. Add support to count MN hardware events. 2. MN events are listed in sysfs at /sys/devices/hisi_mn_2/events/ The events can be selected as shown in perf list e.g.: For MN_READ_REQUEST event for Super CPU cluster 2 the event format is -e "hisi_mn_2/read_req/" Signed

[PATCH v3 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-01-01 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 25 ++ .../devicetree/b

[PATCH v3 05/10] perf: hisi: Update Kconfig for Hisilicon PMU support

2017-01-01 Thread Anurup M
Update Kconfig for HiP05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..2a5435b 100644 --- a/driver

[PATCH v3 06/10] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-01-01 Thread Anurup M
From: Tan Xiaojun The Hisilicon Djtag is an independent component which connects with some other components in the SoC by Debug Bus. This driver can be configured to access the registers of connecting components (like L3 cache) during real time debugging. Signed-off-by: Tan Xiaojun Signed-off-b

[PATCH v3 04/10] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-01-01 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- Documentation/perf/hisi-pmu.txt | 75 +

[PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-01-01 Thread Anurup M
From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetre

[PATCH v3 01/10] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2017-01-01 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HIP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b224caa..fca339e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5725,6 +5725,1

[PATCH v3 00/10] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-01-01 Thread Anurup M
Provide Support for Hisilicon SoC(HiP05/06/07) Hardware event counters. The Hisilicon SoC HiP0x series has many uncore or non-CPU performance events and counters units. This patch series is implemented refering to arm-cci, Intel/AMD uncore and also the cavium thunderX and xgene uncore pmu patches.

Re: [RFC PATCH v2] crypto: Add IV generation algorithms

2017-01-01 Thread Binoy Jayan
Hi Herbert, On 30 December 2016 at 15:57, Herbert Xu wrote: > This is just a matter of structuring the key for the IV generator. > The IV generator's key in this case should be a combination of the > key to the underlying CBC plus the set of all keys for the IV > generator itself. It should the

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2017-01-01 Thread Michal Nazarewicz
On Mon, Jan 02 2017, Jaewon Kim wrote: > There are many reasons of CMA allocation failure such as EBUSY, ENOMEM, EINTR. > But we did not know error reason so far. This patch prints the error value. > > Additionally if CONFIG_CMA_DEBUG is enabled, this patch shows bitmap status to > know available p

Re: [PATCH] omap drm: fix compile errors where the conversion from omap_timing to videomode was not perfect

2017-01-01 Thread Peter Ujfalusi
Hi, On 12/26/2016 09:23 PM, H. Nikolaus Schaller wrote: > Signed-off-by: H. Nikolaus Schaller I did compile and boot tests after each patch when doing the conversion, but this certainly skipped because these were 'hidden' by #ifdef PRINT_VERBOSE_VM_TIMINGS which is not a Kconfig option and need

RE: [RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2017-01-01 Thread Manish Narani
Ping !! -Original Message- From: Manish Narani [mailto:manish.nar...@xilinx.com] Sent: Thursday, December 15, 2016 1:24 PM To: mathias.ny...@intel.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Cc: Anurag Kumar Vulisha ; Punnaiah Choudary Kalluri

Re: [PATCH 2/2] arm64:dt:ls1012a: Add TMU device tree support for LS1012A

2017-01-01 Thread Shawn Guo
On Thu, Dec 08, 2016 at 11:28:26AM +0800, Jia Hongtao wrote: > Also add nodes and properties for thermal management support. > > Signed-off-by: Jia Hongtao > --- > Depend on patch "[v3] arm64: Add DTS support for FSL's LS1012A SoC". > https://patchwork.kernel.org/patch/9462399/ Please send me th

surface3_button.c:undefined reference to `i2c_del_driver'

2017-01-01 Thread kbuild test robot
Hi Benjamin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 commit: 1a64b719d3ae0e4fb939d9a9e31abb60b4ce4eb1 platform/x86: Introduce button support for the Surface 3 date:

Re: [PATCH 1/2] arm64:dt:ls1046a: Add TMU device tree support for LS1046A

2017-01-01 Thread Shawn Guo
On Thu, Dec 08, 2016 at 11:28:25AM +0800, Jia Hongtao wrote: > Also add nodes and properties for thermal management support. > > Signed-off-by: Jia Hongtao "arm64: dts: ls1046a: ..." for subject prefix please. Also, since we have ls1046a in prefix, the 'for LS1046A' is not needed. > --- > arc

Re: [PATCH V2] Xen: ARM: Zero reserved fields of xatp before making hypervisor call

2017-01-01 Thread Juergen Gross
On 28/12/16 01:47, Jiandi An wrote: > Ensure all reserved fields of xatp are zero before making > hypervisor call to XEN in xen_map_device_mmio(). > xenmem_add_to_physmap_one() in XEN fails the mapping request if > extra.res reserved field in xatp is not zero for XENMAPSPACE_dev_mmio > request. >

[REGRESSION] Kernel panic in firmware_request since v4.9

2017-01-01 Thread Ben Gamari
Hello everyone, After a recent upgrade to 4.10-rc2 I noticed that my wireless adapter didn't come up due to a kernel panic in the firmware class induced by iwlwifi, BUG: unable to handle kernel NULL pointer dereference at 0038 IP: _request_firmware+0x995/0xa40 PGD 0

Re: [PATCH] taint/module: Fix problems when out-of-kernel driver defines true or false

2017-01-01 Thread Christoph Hellwig
On Sun, Jan 01, 2017 at 08:25:25PM -0600, Larry Finger wrote: > Commit 7fd8329ba502 ("taint/module: Clean up global and module taint > flags handling") used the key words true and false as character members > of a new struct. These names cause problems when out-of-kernel modules > such as VirtualBo

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2017-01-01 Thread Jaewon Kim
On 2017년 01월 02일 06:59, Michal Nazarewicz wrote: > On Fri, Dec 30 2016, Michal Hocko wrote: >> On Fri 30-12-16 16:24:46, Jaewon Kim wrote: >> [...] >>> >From 7577cc94da3af27907aa6eec590d2ef51e4b9d80 Mon Sep 17 00:00:00 2001 >>> From: Jaewon Kim >>> Date: Thu, 29 Dec 2016 11:00:16 +0900 >>> Subje

Re: [PATCH] Wrong domain name in the email address

2017-01-01 Thread Vinod Koul
On Tue, Dec 20, 2016 at 07:07:35PM +0530, Amit Kumar wrote: > cudeaurora.org is used in place of codeaurora.org > in the contact field. Please ensure you use right subsystem tags. applied after fixing that -- ~Vinod

Re: [PATCH] drivers: misc: mic: constify mbus_hw_ops structures

2017-01-01 Thread Vinod Koul
On Tue, Dec 20, 2016 at 04:26:17PM +0530, Bhumika Goyal wrote: > The fields of structure mbus_hw_ops are never modified after > initialization, so declare these structures as const. Add a const > annotation to all its initializations and uses like function arguments > and pointers. > Used Coccinell

Re: [RFC] memcpy_nocache() and memcpy_writethrough()

2017-01-01 Thread Al Viro
On Mon, Jan 02, 2017 at 02:35:36AM +, Elliott, Robert (Persistent Memory) wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Al Viro > > Sent: Friday, December 30, 2016 8:26 PM > > Subject: [RFC] memc

Re: [PATCH] dmaengine: ti-dma-crossbar: Add some 'of_node_put()' in error path.

2017-01-01 Thread Vinod Koul
On Mon, Dec 19, 2016 at 06:33:51AM +0100, Christophe JAILLET wrote: > Add some missing 'of_node_put()' in early exit error path. Applied, Thanks -- ~Vinod

Re: [PATCH] dmaengine: Convert ID allocation to an IDA

2017-01-01 Thread Vinod Koul
On Thu, Dec 15, 2016 at 08:57:51AM -0800, Matthew Wilcox wrote: > From: Matthew Wilcox > > dmaengine currently uses an IDR to allocate DMA IDs, but it only needs > to know whether IDs are in use or not; the ID to pointer functionality > of the IDR is unused. That means it can use the more space-

Re: [PATCH 0/9] dmaengine: stm32-dma: Bug fixes and improvements series

2017-01-01 Thread Vinod Koul
On Tue, Dec 13, 2016 at 02:40:42PM +0100, M'boumba Cedric Madianga wrote: > This patchset adds bug fixes reported by devices using STM32 DMA and some > improvements mainly linked to dmaengine framework evolution. So you should order fixes first and then new additions. Fixes go in for current rele

Re: [PATCH] Update pptp handling to avoid null pointer deref.

2017-01-01 Thread David Miller
From: Ian Kumlien Date: Mon, 2 Jan 2017 00:19:36 +0100 > __skb_flow_dissect can be called with a skb or a data packet, either > can be NULL. All calls seems to have been moved to __skb_header_pointer > except the pptp handling which is still calling skb_header_pointer. > > skb_header_pointer wi

Re: [PATCH] drop_monitor: add missing call to genlmsg_end

2017-01-01 Thread David Miller
From: Reiter Wolfgang Date: Sat, 31 Dec 2016 21:11:57 +0100 > Update nlmsg_len field with genlmsg_end to enable userspace processing > using nlmsg_next helper. Also adds error handling. > > Signed-off-by: Reiter Wolfgang Applied and queued up for -stable, thanks.

[PATCH] mtd: nand: oxnas_nand: fix build errors on arch/um, require HAS_IOMEM

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build errors on arch/um, which does not support HAS_IOMEM, while the oxnas_nand.c driver uses interfaces that are supplied by HAS_IOMEM. (loadable module build:) ERROR: "devm_ioremap_resource" [drivers/mtd/nand/oxnas_nand.ko] undefined! or (built-in build:) drivers/built-i

[PATCH] auxdisplay: img-ascii-lcd: don't build without HAS_IOMEM

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build error when the driver is built for arch/um, which does not support HAS_IOMEM. Furthermore, the in-tree SYSCON drivers also require HAS_IOMEM. drivers/built-in.o: In function `img_ascii_lcd_probe': drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_

RE: [RFC] memcpy_nocache() and memcpy_writethrough()

2017-01-01 Thread Elliott, Robert (Persistent Memory)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Al Viro > Sent: Friday, December 30, 2016 8:26 PM > Subject: [RFC] memcpy_nocache() and memcpy_writethrough() > ... > Why does pmem need writethrough warranties, anyw

[PATCH] taint/module: Fix problems when out-of-kernel driver defines true or false

2017-01-01 Thread Larry Finger
Commit 7fd8329ba502 ("taint/module: Clean up global and module taint flags handling") used the key words true and false as character members of a new struct. These names cause problems when out-of-kernel modules such as VirtualBox include their own definitions of true and false. Fixes: 7fd8329ba50

[PATCH 4/8] ARM: dts: armada-xp-linksys-mamba: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 53 +++ 1 file change

[PATCH 5/8] ARM: dts: kirkwood-dir665: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-dir665.dts | 49 +++ 1 file change

[PATCH 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-370-rd.dts | 44 + 1 file change

[PATCH 2/8] ARM: dts: armada-38x: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-385-linksys.dtsi | 52 ++- 1 file change

[PATCH 7/8] ARM: dts: kirkwood-mv88f6281gtw-ge: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts | 49 ++ 1 file change

[PATCH 3/8] ARM: dts: armada-388-clearfog: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/armada-388-clearfog.dts | 65 +++ 1 file change

[PATCH 6/8] ARM: dts: kirkwood-linksys-viper: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-linksys-viper.dts | 49 1 file change

[PATCH 8/8] ARM: dts: kirkwood-rd88f6281: Utilize new DSA binding

2017-01-01 Thread Florian Fainelli
Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/kirkwood-rd88f6281-z0.dts | 11 arch/arm/boot/dts/kirkwood-rd88f62

[PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-01 Thread Florian Fainelli
Hi all, This patch series converts the in-tree users to utilize the new (relatively) DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document new binding"). The legacy binding node is kept included, but is marked disabled. In about 2-3 releases we may consider removing the ol

[GIT PULL] Openrisc fixes for 4.10

2017-01-01 Thread Stafford Horne
Hi Linus, Please pull the below for Openrisc, There was nothing much interesting here except a build fix pointed out by the test robots. Highlights: - Defined _text symbol for fix build error -Stafford The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10

drivers/mtd/nand/oxnas_nand.c:102: undefined reference to `devm_ioremap_resource'

2017-01-01 Thread kbuild test robot
Hi Neil, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c744ea4f77d72b3dcebb7a8f2684633ec79be88 commit: 668592492409498afc277da41e84799e1d2255c2 mtd: nand: Add OX820 NAND Support date: 2 months ago config: um-al

[PATCH] drm: nouveau: fix build when LEDS_CLASS=m

2017-01-01 Thread Randy Dunlap
From: Randy Dunlap Fix build errors in nouveau driver when CONFIG_LEDS_CLASS=m and CONFIG_DRM_NOUVEAU=y. If LEDS_CLASS is enabled, DRM_NOUVEAU is restricted to the same kconfig value as LEDS_CLASS. drivers/built-in.o: In function `nouveau_do_suspend': nouveau_drm.c:(.text+0x2030b1): undefined re

Auto-conversion of watchdog drivers to use devm functions

2017-01-01 Thread Guenter Roeck
Hi Wim, With heavy support by Julia Lawall, I created a number of coccinelle scripts to auto-convert watchdog platform drivers to use devm functions. The result is quite impressive - many drivers won't even need remove functions anymore after the conversion. Question is now how to submit the pat

[PATCH] Update pptp handling to avoid null pointer deref.

2017-01-01 Thread Ian Kumlien
__skb_flow_dissect can be called with a skb or a data packet, either can be NULL. All calls seems to have been moved to __skb_header_pointer except the pptp handling which is still calling skb_header_pointer. skb_header_pointer will use skb->data and thus: [ 109.556866] BUG: unable to handle kern

Re: [PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2017-01-01 Thread David Lin
+Cc: Steven Rostedt +Cc: Will Deacon On Fri, Dec 9, 2016 at 4:46 PM, David Lin wrote: > Some versions of ARM GCC compiler such as Android toolchain throws in a > '-fpic' flag by default. This causes the gcc-goto check script to fail > although some config would have '-fno-pic' flag in the KBUIL

Re: [BUG] 4.9 - kernel oops when pptp connection is established and the kernel doesn't have pptp modules compiled

2017-01-01 Thread Ian Kumlien
Sorry, after further inspection, it seems like the choice of skb_header_pointer is wrong and skb isn't always populated. It seems like the code has suffered from bitrot since all the surrounding code is actually fixed. This fixes it as well: diff --git a/net/core/flow_dissector.c b/net/core/flow_d

Linux 4.10-rc2

2017-01-01 Thread Linus Torvalds
Hey, it's been a really slow week between Christmas Day and New Years Day, and I am not complaining at all. It does mean that rc2 is ridiculously and unrealistically small. I almost decided to skip rc2 entirely, but a small little meaningless release every once in a while never hurt anybody. So he

drivers/auxdisplay/img-ascii-lcd.c:384: undefined reference to `devm_ioremap_resource'

2017-01-01 Thread kbuild test robot
Hi Paul, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 0cad855fbd083ee5fd0584a47c2aaa7dca936fd4 auxdisplay: img-ascii-lcd: driver for simple ASCII LCD displays date

[PATCH 1/2] blackfin: tcm-bf518: Remove dsa.h inclusion

2017-01-01 Thread Florian Fainelli
Nothing in that file uses definitions from that header, so just get rid of it. Signed-off-by: Florian Fainelli --- arch/blackfin/mach-bf518/boards/tcm-bf518.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/blackfin/mach-bf518/boards/tcm-bf518.c b/arch/blackfin/mach-bf518/boards/tcm-bf5

[PATCH 2/2] blackfin: ezbrd: Remove non-functional DSA/KSZ8893M code

2017-01-01 Thread Florian Fainelli
There is no in tree driver for the KSZ8893M switch driver, so just get rid of the code in that board file. Signed-off-by: Florian Fainelli --- arch/blackfin/mach-bf518/boards/ezbrd.c | 47 - 1 file changed, 47 deletions(-) diff --git a/arch/blackfin/mach-bf518/bo

[PATCH 0/2] blackfin: Remove dead DSA code

2017-01-01 Thread Florian Fainelli
Hi all, This patch series removes dead DSA code in the blackfin board specific code. There is no in tree driver for the KSZ8893M, and clearly this would not compile anymore. Preparatory patch to help remove the legacy DSA platform device code from the tree. Florian Fainelli (2): blackfin: tcm-

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-01 Thread Pavel Machek
Hi! > I'm looking at original Maemo N900 2.6.28 sound driver and GPIOs which > controls A/V jack detection. > > For reference source code of that driver can be found e.g. at alsa-devel > ML [1] [2] or in my linux-n900 git tree, branch v2.6.28-nokia [3]. > > In that sound/soc/omap/rx51.c code is

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2017-01-01 Thread Michal Nazarewicz
On Fri, Dec 30 2016, Michal Hocko wrote: > On Fri 30-12-16 16:24:46, Jaewon Kim wrote: > [...] >> >From 7577cc94da3af27907aa6eec590d2ef51e4b9d80 Mon Sep 17 00:00:00 2001 >> From: Jaewon Kim >> Date: Thu, 29 Dec 2016 11:00:16 +0900 >> Subject: [PATCH] mm: cma: print allocation failure reason and bi

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-01 Thread Theodore Ts'o
On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote: > That way we can get rid of the direct dependency on CONFIG_BLOCK. > > Reported-by: Arnd Bergmann > Reported-by: Randy Dunlap > Suggested-by: Christoph Hellwig > Fixes: d475a507457b ("ubifs: Add skeleton for fscrypto") > Signe

Warning: You tried to send an email with blocked content

2017-01-01 Thread Service Desk
The UCL E-Mail Virus Protection System has been triggered by a message you sent. One or more of the original e-mail attachments have been removed and replaced with this message. * The attachment may have contained a virus or malware * The attachment may have an extension of a type unacceptable f

Re: [PATCH] perf/core: introduce context per CPU event list

2017-01-01 Thread David Carrillo-Cisneros
On Sun, Jan 1, 2017 at 12:20 PM, David Carrillo-Cisneros wrote: > From: Mark Rutland > > On Thu, Nov 10, 2016 at 05:26:32PM +0100, Peter Zijlstra wrote: >> On Thu, Nov 10, 2016 at 02:10:37PM +, Mark Rutland wrote: >> >> > Sure, that sounds fine for scheduling (including big.LITTLE). >> > >> >

nouveau_drm.c:undefined reference to `nouveau_led_suspend'

2017-01-01 Thread kbuild test robot
Hi Martin, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 238d1d0f79f619d75c2cc741d6770fb0986aef24 commit: 8d021d71b3247937a26ffdf313fd53a9d58778b7 drm/nouveau/drm/nouveau: add a LED driver for the NVIDIA logo date

[PATCH V7 2/4] MAINTAINERS: Add entry for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Update the MAINTAINERS file for the GE B850v3 LVDS/DP++ Bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Daniel Vetter Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam CC: David Airlie CC: Thierry Reding CC: Thierry Reding CC: Archit Taneja Signed-off-by: P

[PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Add a driver that create a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this binding to compris

[PATCH V7 0/4] Add driver for GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
The series adds a driver that creates a drm_bridge and a drm_connector for the LVDS to DP++ display bridge of the GE B850v3. There are two physical bridges on the video signal pipeline: a STDP4028(LVDS to DP) and a STDP2690(DP to DP++). The hardware and firmware made it complicated for this bindi

[PATCH V7 1/4] Documentation/devicetree/bindings: b850v3_lvds_dp

2017-01-01 Thread Peter Senna Tschudin
Devicetree bindings documentation for the GE B850v3 LVDS/DP++ display bridge. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Signed-off-by: Peter Senna Tschudin --- There was an Acked-by from

[PATCH V7 4/4] dts/imx6q-b850v3: Use GE B850v3 LVDS/DP++ Bridge

2017-01-01 Thread Peter Senna Tschudin
Configures the GE B850v3 LVDS/DP++ bridge on the dts file. Cc: Martyn Welch Cc: Martin Donnelly Cc: Javier Martinez Canillas Cc: Enric Balletbo i Serra Cc: Philipp Zabel Cc: Rob Herring Cc: Fabio Estevam Signed-off-by: Peter Senna Tschudin --- arch/arm/boot/dts/imx6q-b850v3.dts | 30 +

Nokia N900 sound driver and ECI GPIOs

2017-01-01 Thread Pali Rohár
Hi! I'm looking at original Maemo N900 2.6.28 sound driver and GPIOs which controls A/V jack detection. For reference source code of that driver can be found e.g. at alsa-devel ML [1] [2] or in my linux-n900 git tree, branch v2.6.28-nokia [3]. In that sound/soc/omap/rx51.c code is function rx51_

  1   2   >