Re: [PATCH v6 1/2] ARM: dts: twl: Add GPADC data to device tree

2013-07-20 Thread Oleksandr Kozaruk
Hi Sergei, On Fri, Jul 19, 2013 at 1:18 PM, Sergei Shtylyov sergei.shtyl...@cogentembedded.com wrote: Hello. On 07/19/2013 07:40 PM, Grygorii Strashko wrote: GPADC is the general purpose ADC present on twl6030. The dt data is interrupt used to trigger end of ADC conversion.

[PATCH v3 1/2] media: i2c: adv7343: make the platform data members as array

2013-07-20 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch makes the platform data members as array wherever possible, so as this makes easier while collecting the data in DT case and read the entire array at once. This patch also makes appropriate changes to board-da850-evm.c Signed-off-by:

[PATCH v3 2/2] media: i2c: adv7343: add OF support

2013-07-20 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the adv7343 driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v3: 1: Fixed review comments pointed by Sylwester. Changes for v2: 1: Fixed naming of properties.

[PATCH v3 0/2] adv7343 add OF support

2013-07-20 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com This series adds OF support for adv7343 driver. The first patch makes platform data members as a array, so to ease in adding DT support. Lad, Prabhakar (2): media: i2c: adv7343: make the platform data members as array media: i2c: adv7343: add

Re: [PATCH 20/22] ARM: ux500: Remove '0x's from Spear 300 DTS file

2013-07-20 Thread Viresh Kumar
On Fri, Jul 19, 2013 at 7:28 PM, Lee Jones lee.jo...@linaro.org wrote: Cc: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/spear300.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2013-07-20 Thread Bedia, Vaibhav
Hi, On Sat, Jul 06, 2013 at 05:09:33, Stephen Boyd wrote: In a uniprocessor implementation the interrupt processor targets registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately gic_get_cpumask() will print a critical message saying GIC CPU mask not found - kernel will fail to

Re: [PATCH] x86, tboot: iomem fixes

2013-07-20 Thread Ingo Molnar
* Qiaowei Ren qiaowei@intel.com wrote: +#define SINIT_MLE_DATA_VTD_DMAR_OFF 140 /* get addr of DMAR table */ + dmar_tbl_off = readl(heap_ptr + SINIT_MLE_DATA_VTD_DMAR_OFF); dmar_tbl = (struct acpi_table_header *)(heap_ptr + -((struct sinit_mle_data

Re: Regression 3.11-rc1: omap4panda: no usb and consequently no ethernet

2013-07-20 Thread Luciano Coelho
On Thu, 2013-07-18 at 01:59 -0700, Tony Lindgren wrote: * Arend van Spriel ar...@broadcom.com [130718 01:47]: Then for the SDIO with device tree, take a look at the following patches: [PATCH 0/3] WLAN support for omap4 when booted with devicetree

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-07-20 Thread Luciano Coelho
On Thu, 2013-07-18 at 01:58 +0200, Laurent Pinchart wrote: Hi Luciano, Hi Laurent, On Monday 01 July 2013 15:39:30 Luciano Coelho wrote: The only thing I can come up with is to make a small clock driver (maybe even inside the WiLink module itself) that registers a new type of clock,

[PATCH RFT] regulator: tps65217: Convert to use linear ranges

2013-07-20 Thread Axel Lin
Below is the equation in original code: tps65217_uv1_ranges: 0 ... 24: uV = vsel * 25000 + 90; 25 ... 52: uV = (vsel - 24) * 5 + 150; = (vsel - 25) * 5 + 155; 53 ... 55: uV = (vsel - 52) * 10 + 290; =

[Patch 0/12] apparmor: add policy interface and convert to RCU

2013-07-20 Thread John Johansen
This set of patches expands the apparmorfs policy interface by allowing multiple profiles to loaded as an atomic set and an introspection interface to apparmor, allowing currently loaded policy to be listed and introspected from userspace.

[PATCH 05/12] apparmor: change how profile replacement update is done

2013-07-20 Thread John Johansen
remove the use of replaced by chaining and move to profile invalidation and lookup to handle task replacement. Replacement chaining can result in large chains of profiles being pinned in memory when one profile in the chain is use. With implicit labeling this will be even more of a problem, so

[PATCH 09/12] apparmor: allow setting any profile into the unconfined state

2013-07-20 Thread John Johansen
Allow emulating the default profile behavior from boot, by allowing loading of a profile in the unconfined state into a new NS. Signed-off-by: John Johansen john.johan...@canonical.com Acked-by: Seth Arnold seth.arn...@canonical.com --- security/apparmor/domain.c| 4 ++--

[PATCH 12/12] apparmor: Add the profile introspection file to interface

2013-07-20 Thread John Johansen
Add the dynamic namespace relative profiles file to the interace, to allow introspection of loaded profiles and their modes. Signed-off-by: John Johansen john.johan...@canonical.com Acked-by: Kees Cook k...@ubuntu.com --- security/apparmor/apparmorfs.c | 236

[PATCH 10/12] apparmor: Add interface files for profiles and namespaces

2013-07-20 Thread John Johansen
Add basic interface files to access namespace and profile information. The interface files are created when a profile is loaded and removed when the profile or namespace is removed. Signed-off-by: John Johansen john.johan...@canonical.com --- security/apparmor/apparmorfs.c | 322

[PATCH 11/12] apparmor: add an optional profile attachment string for profiles

2013-07-20 Thread John Johansen
Add the ability to take in and report a human readable profile attachment string for profiles so that attachment specifications can be easily inspected. Signed-off-by: John Johansen john.johan...@canonical.com Acked-by: Seth Arnold seth.arn...@canonical.com --- security/apparmor/apparmorfs.c

Re: [RFC 2/2] watchdog: update watchdog_tresh properly

2013-07-20 Thread Michal Hocko
On Fri 19-07-13 14:05:30, Don Zickus wrote: On Fri, Jul 19, 2013 at 06:37:50PM +0200, Michal Hocko wrote: On Fri 19-07-13 12:08:52, Don Zickus wrote: On Fri, Jul 19, 2013 at 11:04:59AM +0200, Michal Hocko wrote: watchdog_tresh controls how often nmi perf event counter checks per-cpu

[PATCH 08/12] apparmor: make free_profile available outside of policy.c

2013-07-20 Thread John Johansen
Signed-off-by: John Johansen john.johan...@canonical.com --- security/apparmor/include/policy.h | 1 + security/apparmor/policy.c | 9 - security/apparmor/policy_unpack.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/security/apparmor/include/policy.h

[PATCH 07/12] apparmor: rework namespace free path

2013-07-20 Thread John Johansen
namespaces now completely use the unconfined profile to track the refcount and rcu freeing cycle. So rework the code to simplify (track everything through the profile path right up to the end), and move the rcu_head from policy base to profile as the namespace no longer needs it. Signed-off-by:

[PATCH 04/12] apparmor: convert profile lists to RCU based locking

2013-07-20 Thread John Johansen
Signed-off-by: John Johansen john.johan...@canonical.com --- security/apparmor/domain.c | 14 ++- security/apparmor/include/apparmor.h | 6 + security/apparmor/include/policy.h | 45 +++- security/apparmor/policy.c | 213 ++- 4 files

[PATCH 03/12] apparmor: provide base for multiple profiles to be replaced at once

2013-07-20 Thread John Johansen
previously profiles had to be loaded one at a time, which could result in cases where a replacement of a set would partially succeed, and then fail resulting in inconsistent policy. Allow multiple profiles to replaced atomically so that the replacement either succeeds or fails for the entire set

[PATCH 02/12] apparmor: add a features/policy dir to interface

2013-07-20 Thread John Johansen
Add a policy directory to features to contain features that can affect policy compilation but do not affect mediation. Eg of such features would be types of dfa compression supported, etc. Signed-off-by: John Johansen john.johan...@canonical.com Acked-by: Kees Cook k...@ubuntu.com ---

[PATCH 01/12] apparmor: enable users to query whether apparmor is enabled

2013-07-20 Thread John Johansen
Signed-off-by: John Johansen john.johan...@canonical.com --- security/apparmor/lsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 2e2a0dd..96506df 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@

[PATCH 06/12] apparmor: update how unconfined is handled

2013-07-20 Thread John Johansen
ns-unconfined is being used read side without locking, nor rcu but is being updated when a namespace is removed. This works for the root ns which is never removed but has a race window and can cause failures when children namespaces are removed. Also ns and ns-unconfined have a circular

Re: [PATCH] drm/i915: quirk no PCH_PWM_ENABLE for Dell XPS13 backlight

2013-07-20 Thread Daniel Vetter
On Fri, Jul 19, 2013 at 03:02:01PM -0700, Kamal Mostafa wrote: BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=47941 BugLink: https://bugs.launchpad.net/bugs/1163720 BugLink: https://bugs.launchpad.net/bugs/1162026 Some machines suffer from non-functional backlight controls if

[PATCH RFT] regulator: tps65912: Convert tps65912_ops_ldo to use linear ranges

2013-07-20 Thread Axel Lin
The ldo voltage table is composed of linear ranges. Below is the equation in original code (tps65912_vsel_to_uv_ldo): 0 ... 32: uv = vsel * 25000 + 80; 33 ... 60: uv = (vsel - 32) * 5 + 160; = (vsel -33) * 5 + 165; 61 ...63: uv = (vsel - 60) *

Re: [PATCH 3.11-rc1] crypto: Fix boot failure due to module dependency.

2013-07-20 Thread Rafael J. Wysocki
On Saturday, July 20, 2013 05:06:29 AM Rafael J. Wysocki wrote: On Saturday, July 20, 2013 02:00:44 AM Rafael J. Wysocki wrote: On Friday, July 19, 2013 04:16:30 PM Greg Kroah-Hartman wrote: On Fri, Jul 19, 2013 at 11:38:04PM +0200, Rafael J. Wysocki wrote: Alas, this is not the one I'd

Re: [PATCH] linux-firmware/AMD: add readme files for amd-ucode

2013-07-20 Thread Marc Dietrich
On Friday 19 July 2013 17:43:52 Sherry Hurwitz wrote: File: README File: microcode_amd.bin.README File: microcode_amd_fam15h.bin.README Signed-off-by: Sherry Hurwitz sherry.hurw...@amd.com --- amd-ucode/README | 46 +

[PATCH 1/1] TX throttling bug-fixing patch of AX88179_178A

2013-07-20 Thread freddy
From: Freddy Xin fre...@asix.com.tw Disable TSO and SG network features in reset() and bind() functions, and check the return value of skb_linearize() in tx_fixup() to prevent TX throttling. Signed-off-by: Freddy Xin fre...@asix.com.tw --- drivers/net/usb/ax88179_178a.c | 8 +--- 1 file

Re: [PATCH 7/8] memory-hotplug: enable memory hotplug to handle hugepage

2013-07-20 Thread Hillf Danton
On Fri, Jul 19, 2013 at 10:39 PM, Naoya Horiguchi n-horigu...@ah.jp.nec.com wrote: On Fri, Jul 19, 2013 at 01:40:38PM +0800, Hillf Danton wrote: On Fri, Jul 19, 2013 at 5:34 AM, Naoya Horiguchi n-horigu...@ah.jp.nec.com wrote: @@ -518,9 +519,11 @@ static struct page

[PATCH 1/2] arm: ixp4xx: set cohorent_dma_mask for ethernet platform devices

2013-07-20 Thread Jonas Gorski
ARM requires the cohorent_dma_mask set, so set it for the platform devices so that the ethernet driver has access to it. Signed-off-by: Jonas Gorski j...@openwrt.org --- arch/arm/mach-ixp4xx/fsg-setup.c | 2 ++ arch/arm/mach-ixp4xx/goramo_mlr.c| 2 ++ arch/arm/mach-ixp4xx/ixdp425-setup.c

[PATCH 0/2] net: fix ixp4xx_eth

2013-07-20 Thread Jonas Gorski
This patchset aims at fixing ethernet for ixp4xx, which is broken since 3.7. It is basedon discussion to the patch from Krzysztof Halasa [1], following Russel King's suggestion. This patchset is currently in use at OpenWrt and successfully tested on Linksys NSLU2. These patches are independent

[PATCH 2/2] net: ixp4xx_eth: use parent device for dma allocations

2013-07-20 Thread Jonas Gorski
Now that the platfomr device provides a dma_cohorent_mask, use it for dma operations. This fixes ethernet on ixp4xx which was broken since 3.7. Signed-off-by: Jonas Gorski j...@openwrt.org --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 23 --- 1 file changed, 12

Re: [PATCH v6 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-20 Thread Jonathan Cameron
On 07/19/2013 10:27 AM, Oleksandr Kozaruk wrote: The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, known also as Phoenix and PhoenixLite. The TWL6030 and TWL6032 have GPADC with 17 and 19 channels respectively. Some channels have current source and are used for measuring

udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Rafael J. Wysocki
Hi Kay, After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located under /sys/devices/system/cpu/. A side effect of this is that, after the driver has been bound to those devices, the kernel adds

Re: udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Rafael J. Wysocki
On Saturday, July 20, 2013 12:56:54 PM Rafael J. Wysocki wrote: Hi Kay, After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located under /sys/devices/system/cpu/. A side effect of this is that,

Re: [PATCH 02/15] iio: ti_am335x_adc: Fix wrong samples received on 1st read

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Patil, Rachna rac...@ti.com Previously we tried to read data form ADC even before ADC sequencer finished sampling. This led to wrong samples. We now wait on ADC status register idle bit to be set. Signed-off-by: Patil, Rachna

Re: [PATCH 3.11-rc1] crypto: Fix boot failure due to module dependency.

2013-07-20 Thread Rafael J. Wysocki
On Saturday, July 20, 2013 11:51:55 AM Rafael J. Wysocki wrote: On Saturday, July 20, 2013 05:06:29 AM Rafael J. Wysocki wrote: On Saturday, July 20, 2013 02:00:44 AM Rafael J. Wysocki wrote: On Friday, July 19, 2013 04:16:30 PM Greg Kroah-Hartman wrote: On Fri, Jul 19, 2013 at

Re: [PATCH] net: Add MOXA ART SoCs ethernet driver

2013-07-20 Thread Jonas Jensen
I think this driver may have a bug. After some time running ping successfully, the message no TX space for packet is printed resulting in 100% packet loss. The message is printed from .ndo_start_xmit and I think it may be because of how priv-tx_desc_now is now set up in

Re: [PATCH 03/15] input: ti_tsc: Enable shared IRQ for TSC

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Patil, Rachna rac...@ti.com Touchscreen and ADC share the same IRQ line from parent MFD core. Previously only Touchscreen was interrupt based. With continuous mode support added in ADC driver, driver requires interrupt to process the ADC

Re: [PATCH 03/15] input: ti_tsc: Enable shared IRQ for TSC

2013-07-20 Thread Jonathan Cameron
On 07/20/2013 11:57 AM, Jonathan Cameron wrote: On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Patil, Rachna rac...@ti.com Touchscreen and ADC share the same IRQ line from parent MFD core. Previously only Touchscreen was interrupt based. With continuous mode support added in ADC

RE: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-20 Thread Chen Peter-B29397
On Wed, Jul 17, 2013 at 10:36 AM, Peter Chen peter.c...@freescale.com wrote: On Mon, Jul 15, 2013 at 11:31:17PM -0700, Greg KH wrote: On Tue, Jul 16, 2013 at 11:49:07AM +0800, Rong Wang wrote: Hi Greg, The USB on our platform can change roles between HOST and GADGET, but it

Re: [PATCH 04/15] iio: mfd: input: ti_am335x_adc:Add support for continuous mode

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Patil, Rachna rac...@ti.com Current ADC driver supports only one shot mode. Now ADC driver is enhanced to capture data continuously from /dev/iio:deviceX interface. ADC is now IRQ based, on interrupt ADC copies data onto a software

Re: [PATCH] mutex: Fix mutex_can_spin_on_owner

2013-07-20 Thread Peter Zijlstra
On Fri, Jul 19, 2013 at 03:08:36PM -0400, Waiman Long wrote: On 07/19/2013 02:31 PM, Peter Zijlstra wrote: mutex_can_spin_on_owner() is broken in that it would allow the compiler to load lock-owner twice, seeing a pointer first time and a MULL pointer the second time. Signed-off-by: Peter

Re: [PATCH 05/15] MFD: ti_tscadc: ADC Clock check not required

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Patil, Rachna rac...@ti.com ADC is ideally expected to work at a frequency of 3MHz. The present code had a check, which returned error if the frequency went below the threshold value. But since AM335x supports various working

Re: [PATCH 06/15] iio: ti_am335x_adc: Handle set to clear IRQENABLE

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Russ Dill russ.d...@ti.com The driver is currently mishandling the IRQENABLE register. The driver should write a 1 for bits it wishes to set, and a zero for bits it does not wish to change. The read of the current register contents is not

Re: [PATCH 08/15] iio: ti_am335x_adc: Handle overrun before threshold event

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: From: Russ Dill russ.d...@ti.com If an overrun occurs, the threshold event is meaningless, handle the overrun event first. Signed-off-by: Russ Dill russ.d...@ti.com Signed-off-by: Zubair Lutfullah zubair.lutful...@gmail.com This is getting

Re: [PATCH 00/15] iio: ti_am335x_adc: Add continuous mode take 2

2013-07-20 Thread Jonathan Cameron
On 07/18/2013 11:21 PM, Zubair Lutfullah wrote: Patches now give correct authorship. and checkpatch.pl issues are checked for each patch. I hope the actual code bashing can begin now. A series of patches that add continuous sampling support for the adc drivers for the am335x. These

[PATCH v3 07/15] DMA: shdma: add sh73a0 DMAC data to the device ID table

2013-07-20 Thread Guennadi Liakhovetski
This configuration data will be re-used, when DMAC DT support is added to sh73a0, DMAC platform data in setup-sh73a0.c will be removed. Signed-off-by: Guennadi Liakhovetski g.liakhovetski+rene...@gmail.com --- v3: also add an of_device_id entry for sh73a0. drivers/dma/sh/Kconfig|4

Re: [PATCH] open(2): document O_PATH

2013-07-20 Thread Al Viro
On Thu, Mar 14, 2013 at 10:35:59AM +0100, Michael Kerrisk (man-pages) wrote: Hello Al et al, Documenting O_PATH fell by the wayside last year (http://thread.gmane.org/gmane.linux.man/2790) as I got distracted with other tasks. A recent prod or two have reminded me restart this. I have the

Re: [PATCH 10/22] ARM: ux500: Remove '0x's from Exynos5420 DTS file

2013-07-20 Thread Lee Jones
On Fri, 19 Jul 2013, Russell King - ARM Linux wrote: On Fri, Jul 19, 2013 at 02:58:41PM +0100, Lee Jones wrote: Cc: Kukjin Kim kgene@samsung.com Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- One

Re: [PATCH 20/22] ARM: ux500: Remove '0x's from Spear 300 DTS file

2013-07-20 Thread Lee Jones
On Sat, 20 Jul 2013, Viresh Kumar wrote: On Fri, Jul 19, 2013 at 7:28 PM, Lee Jones lee.jo...@linaro.org wrote: Cc: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/spear300.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

Re: udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 12:56 PM, Rafael J. Wysocki r...@sisk.pl wrote: After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located under /sys/devices/system/cpu/. A side effect of this is that, after

The future of DT binding maintainership

2013-07-20 Thread Grant Likely
A number of us had a face-to-face meeting in Dublin last week to talk about DT maintainership and the fact that it simply isn't working right now. Neither Rob nor I can keep up with the load and there are a lot of poorly designed bindings appearing in the tree. Device tree binding maintainership

Re: [PATCH] of: match the compatible in the order set by the dts file

2013-07-20 Thread Grant Likely
On Tue, 9 Jul 2013 16:10:53 +0800, Huang Shijie b32...@freescale.com wrote: 于 2013年07月09日 15:51, Sascha Hauer 写道: On Tue, Jul 09, 2013 at 03:46:34PM +0800, Huang Shijie wrote: 于 2013年07月09日 15:05, Sascha Hauer 写道: Why don't you set the matching order in the driver

[PATCH 2/3] MAINTAINERS: Change device tree mailing list

2013-07-20 Thread Grant Likely
New list on vger.kernel.org. The old list was a pain to moderate. Signed-off-by: Grant Likely grant.lik...@linaro.org Cc: Rob Herring rob.herr...@calxeda.org Cc: devicetree-disc...@lists.ozlabs.org Cc: devicet...@vger.kernel.org --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 3/3] MAINTAINERS: Refactor device tree maintainership

2013-07-20 Thread Grant Likely
Device tree bindings require a lot more attention than they used to. We've got a group of volunteers willing to take over maintaining bindings. This patch adds them to the MAINTAINERS file. This group still needs to work out a process for maintainership and how they are going to work together. I

Re: [PATCH 0/2] PM / OPP: updates to enable sharing OPPs info

2013-07-20 Thread Grant Likely
On Tue, 21 May 2013 11:00:35 +0100, Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com wrote: Hi Rob, Grant, On 01/05/13 12:11, Sudeep KarkadaNagesha wrote: From: Sudeep KarkadaNagesha sudeep.karkadanage...@arm.com These are couple of updates to existing PM/OPP library to support

Re: [PATCH] of/irq: Avoid calling list_first_entry() for empty list

2013-07-20 Thread Grant Likely
On Sun, 23 Jun 2013 15:50:07 +0800, Axel Lin axel@ingics.com wrote: list_first_entry() expects the list is not empty, we need to check if list is empty before calling list_first_entry(). Thus use list_first_entry_or_null() instead of list_first_entry(). Signed-off-by: Axel Lin

[PATCH 1/3] MAINTAINERS: Remove Grant Likely

2013-07-20 Thread Grant Likely
Unfortunately, I'm no longer to spend the time needed on maintainership. It is time for me to step aside and pass maintainership to other engineers. I'm not disappearing from Linux development, but it would be irresponsible for me to hold onto a job that I am unable to do. v2: Leave my name on

Re: Reusing DTSI files across trees with differing numbers of address-cells

2013-07-20 Thread Grant Likely
On Fri, 26 Apr 2013 16:17:52 -0700, Stepan Moskovchenko step...@codeaurora.org wrote: Hello. I am creating a DTS file for an ARM (Qualcomm MSM) target which supports LPAE, meaning that the target is capable of addressing memory beyond the standard 4GB boundary. To account for the fact that

Re: [GIT PULL] x86 fixes for 3.11-rc2

2013-07-20 Thread George Spelvin
It's marginal with only two call sites, but would it be worth factoring out the write-back function? Something like this (untested) patch. It definitely makes the generated assembly cleaner. (Signed-off-by: George Spelvin li...@horizon.com if you want it.) diff --git

Congratulations!!!

2013-07-20 Thread Wenzhou Ourvis Company
Dear E-mail User, This is to immediately inform you that your email address with Micros ID: IDJT-32238-EHI-676GI-8ED has won you $750,000.00 USD and a brand new Range Rover SUV from the Wenzhou Ourvis™ yearly promo. Please confirm your status by logging to our site below. Website:

Re: udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 1:47 PM, Kay Sievers k...@vrfy.org wrote: On Sat, Jul 20, 2013 at 12:56 PM, Rafael J. Wysocki r...@sisk.pl wrote: After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located

Re: [ATTEND] How to act on LKML

2013-07-20 Thread Felipe Contreras
On Fri, Jul 19, 2013 at 3:03 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Jul 19, 2013 at 8:42 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Fri, Jul 19, 2013 at 7:08 AM, Ingo Molnar mi...@kernel.org wrote: * Felipe Contreras felipe.contre...@gmail.com wrote: As

Re: [PATCH 00/15] iio: ti_am335x_adc: Add continuous mode take 2

2013-07-20 Thread Zubair Lutfullah :
On Sat, Jul 20, 2013 at 12:25:48PM +0100, Jonathan Cameron wrote: I am a little irritated by the mess we have here. Russ has clearly done a lot of fine work cleaning up the earlier patches. As a result we have a series of initial buggy patches and then a series of patches fixing them again.

Re: [PATCH 00/15] iio: ti_am335x_adc: Add continuous mode take 2

2013-07-20 Thread Lars-Peter Clausen
On 07/20/2013 02:47 PM, Zubair Lutfullah : wrote: On Sat, Jul 20, 2013 at 12:25:48PM +0100, Jonathan Cameron wrote: I am a little irritated by the mess we have here. Russ has clearly done a lot of fine work cleaning up the earlier patches. As a result we have a series of initial buggy patches

Re: [RESEND][PATCH] mm: vmstats: tlb flush counters

2013-07-20 Thread Raghavendra K T
On 07/19/2013 08:50 PM, Dave Hansen wrote: On 07/19/2013 04:38 AM, Raghavendra KT wrote: While measuring non - PLE performance, one of the bottleneck, I am seeing is flush tlbs. perf had helped in alaysing a bit there, but this patch would help in precise calculation. It will aslo help in

Re: [PATCH 1/3] iio: core: implement devm_iio_device_alloc/devm_iio_device_free

2013-07-20 Thread Lars-Peter Clausen
On 07/18/2013 12:19 PM, Oleksandr Kravchenko wrote: From: Grygorii Strashko grygorii.stras...@ti.com Add a resource managed devm_iio_device_alloc()/devm_iio_device_free() to automatically clean up any allocations made by IIO drivers, thus leading to simplified IIO drivers code. In addition,

Re: [Update][PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-07-20 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 7:16 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Sunday, June 09, 2013 07:01:36 PM Matthew Garrett wrote: Windows 8 introduced new policy for backlight control by pushing it out to graphics drivers. This appears to have coincided with a range of vendors adding Windows

Re: [GIT PULL] x86 fixes for 3.11-rc2

2013-07-20 Thread Borislav Petkov
On Sat, Jul 20, 2013 at 08:25:04AM -0400, George Spelvin wrote: It's marginal with only two call sites, but would it be worth factoring out the write-back function? Something like this (untested) patch. It definitely makes the generated assembly cleaner. I don't think that matters because

Re: The future of DT binding maintainership

2013-07-20 Thread Tomasz Figa
On Saturday 20 of July 2013 04:46:47 Grant Likely wrote: A number of us had a face-to-face meeting in Dublin last week to talk about DT maintainership and the fact that it simply isn't working right now. Neither Rob nor I can keep up with the load and there are a lot of poorly designed

Greetings from George Daniels

2013-07-20 Thread George Daniels
Greetings from George Daniels I am George Daniels, a Banker and credit system programmer (HSBC bank). I saw your email address while browsing through the bank D.T.C Screen in my office yesterday so I decided to use this very chance to know you. I believe we should use every opportunity to

Re: [PATCH 00/15] iio: ti_am335x_adc: Add continuous mode take 2

2013-07-20 Thread Jonathan Cameron
Zubair Lutfullah : zubair.lutful...@gmail.com wrote: On Sat, Jul 20, 2013 at 12:25:48PM +0100, Jonathan Cameron wrote: I am a little irritated by the mess we have here. Russ has clearly done a lot of fine work cleaning up the earlier patches. As a result we have a series of initial buggy

Re: mlockall triggred rcu_preempt stall.

2013-07-20 Thread Paul E. McKenney
On Fri, Jul 19, 2013 at 08:32:12PM -0400, Dave Jones wrote: On Fri, Jul 19, 2013 at 03:15:39PM -0700, Paul E. McKenney wrote: On Fri, Jul 19, 2013 at 10:53:23AM -0400, Dave Jones wrote: My fuzz tester keeps hitting this. Every instance shows the non-irq stack came in from mlockall.

Re: [PATCH 1/3] rtc: ds1742: Using devm_ioremap_resource()

2013-07-20 Thread Alexander Shiyan
On Tue, 2 Jul 2013 20:50:00 +0400 Alexander Shiyan shc_w...@mail.ru wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- drivers/rtc/rtc-ds1742.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-ds1742.c

hung task with 3.9.8/3.10.1

2013-07-20 Thread Thomas Fjellstrom
I recently picked up an older IBM System x3650 server for some virtualization and web stuff, and after installing (oldstable) and upgrading (curent sid) debian, it hangs for a while on bootup trying to modprobe some driver (logs to follow). It booted fine with the old debian 2.6.32 kernel, but I

[PATCH 1/2] zcache: staging: %s/ZCACHE/ZCACHE_OLD

2013-07-20 Thread Bob Liu
Signed-off-by: Bob Liu bob@oracle.com --- drivers/staging/zcache/Kconfig | 12 ++-- drivers/staging/zcache/Makefile |4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/zcache/Kconfig b/drivers/staging/zcache/Kconfig index 2d7b2da..f96fb12

[PATCH 2/2] mm: zcache: core functions added

2013-07-20 Thread Bob Liu
This patch adds the cleancache backend for clean file pages compression. Nitin Gupta have already done many works on this topic in 2010. You can see his work from below links: http://lwn.net/Articles/396467/ http://thread.gmane.org/gmane.linux.kernel.mm/50523 But at that time neither the

[PATCH 0/2] zcache: a new start for upstream

2013-07-20 Thread Bob Liu
We already have zswap helps reducing the swap out/in IO operations by compressing anon pages. It has been merged into v3.11-rc1 together with the zbud allocation layer. However there is another kind of pages(clean file pages) suitable for compression as well. Upstream has already merged its

Re: [GIT PULL] x86 fixes for 3.11-rc2

2013-07-20 Thread George Spelvin
Borislav Petkov b...@alien8.de wrote: I don't think that matters because this is called only once on suspend. Unless the cleaner assembly translates into a palpable speedup, which I doubt. I was thinking about code *size*, actually; I agree that speed is too small to measure. Clean code (21

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-20 Thread Mike Christie
On 07/19/2013 11:56 PM, Nicholas A. Bellinger wrote: On Fri, 2013-07-19 at 14:01 -0700, Nicholas A. Bellinger wrote: On Fri, 2013-07-19 at 08:33 -0700, James Bottomley wrote: On Thu, 2013-07-18 at 23:34 -0700, Nicholas A. Bellinger wrote: diff --git a/drivers/ata/libata-scsi.c

Re: [v3.11-rc1 PATCH 3/5] printk: Move braille console support into separate braille.[ch] files

2013-07-20 Thread Samuel Thibault
Joe Perches, le Mon 15 Jul 2013 14:51:33 -0700, a écrit : Create files with prototypes and static inlines for braille support. Make braille_console functions return 1 on success. Corrected CONFIG_A11Y_BRAILLE_CONSOLE=n _braille_console_setup return value to NULL. link:

[PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-07-20 Thread Boris BREZILLON
The current implementation handle both edge and level interrupts with the 'handle_simple_irq' handler. Level interrupts are active as long as the pin stays at the configured level (low or high). In this case we have to use 'handle_level_irq' which mask the interrupt until the handle has treated

[LINUX PATCH RFC v2] Add new driver for Xilinx AXI Traffic Generator IP

2013-07-20 Thread Srikanth Thokala
Hi All, This is the driver for Xilinx AXI Traffic Generator IP. The AXI Traffic Generator IP is a core that stresses the AXI4 interconnect and other AXI4 peripherals in the system. It generates a wide variety of AXI4 transactions based on the core programming. For more details of this IP, please

[LINUX PATCH RFC v2] trafgen: xilinx: add axi traffic generator driver

2013-07-20 Thread Srikanth Thokala
This is the driver for AXI Traffic Generator IP. The AXI Traffic Generator IP is a core that stresses the AXI4 interconnect and other AXI4 peripherals in the system. It generates a wide variety of AXI4 transactions based on the core programming. Architecture of the core is broadly separated into

[PATCH v2 1/1] mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff()

2013-07-20 Thread Oleg Nesterov
mmap() doesn't allow the non-anonymous mappings with VM_GROWS* bit set. In particular this means that mmap_region()-vma_merge(file, vm_flags) must always fail if vm_flags VM_GROWS is set incorrectly. So it does not make sense to check VM_GROWS* after we already allocated the new vma, the only

[PATCH v2 0/1] mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff()

2013-07-20 Thread Oleg Nesterov
Andrew, This patch replaces the buggy mm-shift-vm_grows-check-from-mmap_region-to-do_mmap_pgoff.patch I do not send the *-fix.patch because I'd like to update the changelog. However it needs the explicit ack from Hugh. On 07/19, Hugh Dickins wrote: On Tue, 16 Jul 2013, Andrew Morton

Re: [PATCH RESEND 0/3] Teach perf_trace_##call() to check hlist_empty(perf_events)

2013-07-20 Thread Oleg Nesterov
On 07/19, Steven Rostedt wrote: On Fri, 2013-07-19 at 09:43 +0200, Ingo Molnar wrote: Peter, Steve, any objections? Yep, agreed. The whole series... Reviewed-and-Acked-by: Steven Rostedt rost...@goodmis.org Thanks! But, to avoid the confusion, please do not forget that this series

compile error on 3.10.1

2013-07-20 Thread Thomas Fjellstrom
Hi, just trying to compile a vanilla kernel and building using allmodconfig and using oldconfig with the debian 3.10.1 config as a base. With the later config, I get the following: CC [M] drivers/net/wireless/ath/wil6210/debugfs.o drivers/net/wireless/ath/wil6210/debugfs.c: In function

Re: [ipc,shm] BUG: lock held when returning to user space!

2013-07-20 Thread Xiaotian Feng
On Sat, Jul 20, 2013 at 9:13 PM, Fengguang Wu fengguang...@intel.com wrote: Greetings, I got the below dmesg and the first bad commit is commit c5d0282a0405b0a81fa3390e4230e4cbb3ced7a2 Author: Davidlohr Bueso davidlohr.bu...@hp.com Date: Fri Jul 19 09:56:58 2013 +1000 ipc,shm:

RE: [PATCH] x86, tboot: iomem fixes

2013-07-20 Thread Ren, Qiaowei
On 2013-07-20, Ingo Molnar wrote: * Qiaowei Ren qiaowei@intel.com wrote: +#define SINIT_MLE_DATA_VTD_DMAR_OFF 140 /* get addr of DMAR table */ + dmar_tbl_off = readl(heap_ptr + SINIT_MLE_DATA_VTD_DMAR_OFF); dmar_tbl = (struct acpi_table_header *)(heap_ptr + -

Re: [PATCH 3/3] MAINTAINERS: Refactor device tree maintainership

2013-07-20 Thread Linus Walleij
On Sat, Jul 20, 2013 at 5:19 AM, Grant Likely grant.lik...@linaro.org wrote: Device tree bindings require a lot more attention than they used to. We've got a group of volunteers willing to take over maintaining bindings. This patch adds them to the MAINTAINERS file. This group still needs to

[PATCH 0/4] mfd: iio: ti_am335x_tscadc: fixes adc sampling, TSC config and a typo

2013-07-20 Thread Zubair Lutfullah
Hi, This short series has 4 patches that apply on the mfd-next tree that fix/cleanup the am335x_tsadc driver. 1- Fix. ADC driver would read data from fifo before sampling completes. Fixed by waiting for sequencer to complete and then read data Acked by IIO. 2- Fix. TSC registers would be

[PATCH 2/4] MFD: ti_tscadc: disable TSC config registers in adc mode

2013-07-20 Thread Zubair Lutfullah
From: Patil, Rachna rac...@ti.com AFE Pen Ctrl and TouchScreen transistors enabling is not required when only ADC mode is being used, so check for availability of TSC driver before accessing control register. Signed-off-by: Patil, Rachna rac...@ti.com Acked-by: Vaibhav Hiremath hvaib...@ti.com

[PATCH 3/4] MFD: ti_tscadc: ADC Clock check not required

2013-07-20 Thread Zubair Lutfullah
From: Patil, Rachna rac...@ti.com ADC is ideally expected to work at a frequency of 3MHz. The present code had a check, which returned error if the frequency went below the threshold value. But since AM335x supports various working frequencies, this check is not required. Now the code just uses

[PATCH 4/4] mfd: input: arm: dts: doc: ti_am335x: typo fixes (coordiante - coordinate)

2013-07-20 Thread Zubair Lutfullah
Did a grep for 'coordiante' and replaced them all with 'coordinate' --- .../bindings/input/touchscreen/ti-tsc-adc.txt |4 ++-- arch/arm/boot/dts/am335x-evm.dts |2 +- drivers/input/touchscreen/ti_am335x_tsc.c |2 +- drivers/mfd/ti_am335x_tscadc.c

[PATCH 1/4] iio: ti_am335x_adc: Fix wrong samples received on 1st read

2013-07-20 Thread Zubair Lutfullah
From: Patil, Rachna rac...@ti.com Previously we tried to read data form ADC even before ADC sequencer finished sampling. This led to wrong samples. We now wait on ADC status register idle bit to be set. Signed-off-by: Patil, Rachna rac...@ti.com Signed-off-by: Zubair Lutfullah

Re: New device tree mailing list

2013-07-20 Thread Linus Walleij
Hi MARC list archive folks, could you please start archiving the following recently addes VGER lists at marc.info: These go into the Linux folder: linux-gpio: http://vger.kernel.org/vger-lists.html#linux-gpio linux-spi: http://vger.kernel.org/vger-lists.html#linux-spi This one goes into

Re: [ 00/38] 3.9.11-stable review

2013-07-20 Thread Shuah Khan
On 07/19/2013 06:10 PM, Shuah Khan wrote: On 07/19/2013 05:50 PM, Greg Kroah-Hartman wrote: On Fri, Jul 19, 2013 at 12:25:24PM -0700, Greg Kroah-Hartman wrote: On Fri, Jul 19, 2013 at 04:45:25PM +, Shuah Khan wrote: On 07/19/2013 09:34 AM, Greg Kroah-Hartman wrote: --- Note,

  1   2   3   4   >