Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Artem Bityutskiy
On Wed, 2013-02-13 at 15:37 +0100, Marc Kleine-Budde wrote: + lockdep_set_class(isec-lock, inode-i_sb-s_type-i_mutex_key); So I added an , so that the line looks like that: Yeah, I did not compile it, and for the deadlock of course I have to add own class for isec-lock in the fstype

[PATCH 1/1] ARM: dt: add header to define tegra20 clocks

2013-02-13 Thread Hiroshi Doyu
To replace magic number in clocks = tegra_car 28; Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- This patch depends on: [PATCH 0/9] ARM: tegra: use new dtc+cpp feature http://lists.infradead.org/pipermail/linux-arm-kernel/2013-February/149613.html This patch is the experiment for

Re: Read support for fat_fallocate()? (was [v2] fat: editions to support fat_fallocate())

2013-02-13 Thread Namjae Jeon
2013/2/14, Andrew Bartlett abart...@samba.org: (apologies for the duplicate mail, I typo-ed the maintainers address) G'day, I've been looking into the patch [v2] fat: editions to support fat_fallocate() and I wonder if there is a way we can split this issue in two, so that we get at least

Re: [PATCH 1/4] clocksource: pass DT node pointer to init functions

2013-02-13 Thread Michal Simek
2013/2/14 Rob Herring robherri...@gmail.com: On 02/13/2013 11:33 AM, Michal Simek wrote: 2013/2/13 Rob Herring robherri...@gmail.com: On 02/13/2013 10:21 AM, Michal Simek wrote: 2013/2/7 Rob Herring robherri...@gmail.com: From: Rob Herring rob.herr...@calxeda.com In cases where we have

Re: [PATCH v2 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-13 Thread Simon Glass
Hi Dmitry, On Wed, Feb 13, 2013 at 12:02 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi SImon, On Tue, Feb 12, 2013 at 06:42:26PM -0800, Simon Glass wrote: Use the key-matrix layer to interpret key scan information from the EC and inject input based on the FDT-supplied key map. This

[PATCH v3 6/6] Input: Add ChromeOS EC keyboard driver

2013-02-13 Thread Simon Glass
Use the key-matrix layer to interpret key scan information from the EC and inject input based on the FDT-supplied key map. This driver registers itself with the ChromeOS EC driver to perform communications. The matrix-keypad FDT binding is used with a small addition to control ghosting.

Re: [PATCH 4/4] of/pci: Add of_pci_parse_bus_range() function

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:58:44PM +, Grant Likely wrote: On Mon, 11 Feb 2013 09:22:20 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: This function can be used to parse a bus-range property as specified by device nodes representing PCI bridges. Signed-off-by: Thierry

Re: [PATCH v2 2/4] of/pci: Add of_pci_get_devfn() function

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:59:50PM +, Grant Likely wrote: On Mon, 11 Feb 2013 09:22:18 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: This function can be used to parse the device and function number from a standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be

Re: [PATCH 3/4] of/pci: Add of_pci_get_bus() function

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:56:07PM +, Grant Likely wrote: On Mon, 11 Feb 2013 09:22:19 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: This function can be used to parse the number of a device's parent PCI bus from a standard 5-cell PCI resource. Signed-off-by:

Re: [PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-02-13 Thread Sekhar Nori
On 2/14/2013 10:46 AM, Vishwanathrao Badarkhe, Manish wrote: Hi Sekhar, On Thu, Feb 14, 2013 at 09:48:59, Nori, Sekhar wrote: Manish, On 1/31/2013 2:56 PM, Vishwanathrao Badarkhe, Manish wrote: As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-13 Thread Thierry Reding
On Wed, Feb 13, 2013 at 10:09:56PM +, Grant Likely wrote: On Wed, 13 Feb 2013 22:29:51 +0100, Thierry Reding thierry.red...@avionic-design.de wrote: On Wed, Feb 13, 2013 at 01:54:53PM -0600, Rob Herring wrote: On 02/13/2013 08:25 AM, Thierry Reding wrote: On Wed, Feb 13, 2013 at

Re: linux-next: Tree for Feb 13 (virtio_console)

2013-02-13 Thread Stephen Rothwell
Hi Rusty, On Thu, 14 Feb 2013 13:30:37 +1030 Rusty Russell ru...@rustcorp.com.au wrote: This looks like an impossible config. CONFIG_VIRTIO_CONSOLE=y, but CONFIG_HVC_DRIVER isn't set. From drivers/char/Kconfig: config VIRTIO_CONSOLE tristate Virtio console

Re: Read support for fat_fallocate()? (was [v2] fat: editions to support fat_fallocate())

2013-02-13 Thread Andrew Bartlett
On Thu, 2013-02-14 at 15:44 +0900, Namjae Jeon wrote: 2013/2/14, Andrew Bartlett abart...@samba.org: (apologies for the duplicate mail, I typo-ed the maintainers address) G'day, I've been looking into the patch [v2] fat: editions to support fat_fallocate() and I wonder if there is a

Re: [PATCH review 52/85] sunrpc: Properly encode kuids and kgids in auth.unix.gid rpc pipe upcalls.

2013-02-13 Thread Stanislav Kinsbursky
14.02.2013 03:22, Eric W. Biederman пишет: J. Bruce Fields bfie...@fieldses.org writes: On Wed, Feb 13, 2013 at 02:32:29PM -0800, Eric W. Biederman wrote: J. Bruce Fields bfie...@fieldses.org writes: On Wed, Feb 13, 2013 at 01:29:35PM -0800, Eric W. Biederman wrote: J. Bruce Fields

Re: SELinux + ubifs: possible circular locking dependency

2013-02-13 Thread Artem Bityutskiy
Mark, how about this one? I compiled it and ran on my fedora 16 with SElinux enabled, no obvious issues. From a19350097200570571aa522afebb96b34db534f4 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy artem.bityuts...@linux.intel.com Date: Thu, 14 Feb 2013 09:07:36 +0200 Subject: [PATCH] selinux:

Re: [PATCH v1 4/4] i2c-mux: i2c_add_mux_adapter() should use -1 for auto bus num

2013-02-13 Thread Jean Delvare
On Wed, 13 Feb 2013 14:09:08 -0700, Stephen Warren wrote: On 02/13/2013 11:02 AM, Doug Anderson wrote: The force_nr parameter to i2c_add_mux_adapter() uses 0 to signify that we don't want to force the bus number of the adapter. This is non-ideal because: * 0 is actually a valid bus

Re: [PATCH RFC 1/5] UBIFS: xattr: protect ui_size and data_len by ui_mutex

2013-02-13 Thread Artem Bityutskiy
On Wed, 2013-02-13 at 11:23 +0100, Marc Kleine-Budde wrote: This patch moves the modification of ui-ui_size and ui-data_len in the create_xattr() and change_xattr() functions, so that they are protected by the ui_mutex as stated in the documenation of the the struct ubifs_inode.

[patch] generic-adc-battery: forever loop in gab_remove()

2013-02-13 Thread Dan Carpenter
There is a forever loop calling iio_channel_release() because the chan part of the chan ARRAY_SIZE() is missing. This is in both the error handling on probe and also in the remove function. The other thing is that it's possible for some of the elements of the adc_bat-channel[chan] array to be

Re: [PATCH RFC 4/5] UBIFS: Add security.* XATTR support for the UBIFS

2013-02-13 Thread Artem Bityutskiy
On Wed, 2013-02-13 at 11:23 +0100, Marc Kleine-Budde wrote: --- a/fs/ubifs/journal.c +++ b/fs/ubifs/journal.c @@ -553,7 +553,8 @@ int ubifs_jnl_update(struct ubifs_info *c, const struct inode *dir, dbg_jnl(ino %lu, dent '%.*s', data len %d in dir ino %lu,

Re: [PATCH RFC 5/5] UBIFS: add ubifs_err() to print error reason

2013-02-13 Thread Artem Bityutskiy
On Wed, 2013-02-13 at 11:23 +0100, Marc Kleine-Budde wrote: err = ubifs_init_security(dir, inode, dentry-d_name); - if (err) + if (err) { + ubifs_err(cannot initialize extended attribute, error %d, + err); goto

Re: [PATCH] efi: Clear EFI_RUNTIME_SERVICES rather than EFI_BOOT by noefi boot parameter

2013-02-13 Thread Matt Fleming
On Wed, 2013-02-13 at 17:20 -0800, H. Peter Anvin wrote: On 02/13/2013 04:12 PM, Satoru Takeuchi wrote: From: Satoru Takeuchi takeuchi_sat...@jp.fujitsu.com There was a serious problem in samsung-laptop that its platform driver is designed to run under BIOS and running under EFI can

[PATCH v3 5/6] Input: matrix-keymap: Add function to read the new DT binding

2013-02-13 Thread Simon Glass
We now have a binding which adds two parameters to the matrix keypad DT node. This is separate from the GPIO-driven matrix keypad binding, and unfortunately incompatible, since that uses row-gpios/col-gpios for the row and column counts. So the easiest option here is to provide a function for

Re: [RFC 1/1] xattr: provide integrity. namespace to read real values

2013-02-13 Thread Kasatkin, Dmitry
Hello, Any comments about this patch and functionality? Thanks, Dmitry On Wed, Feb 13, 2013 at 11:07 AM, Dmitry Kasatkin dmitry.kasat...@intel.com wrote: User space tools use getxattr() system call to read values of extended attributes. getxattr() system call uses vfs_getattr(), which for

[PATCH] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-02-13 Thread Andreas Larsson
This driver supports GRGPIO gpio cores available in the GRLIB VHDL IP core library from Aeroflex Gaisler. This also adds support to gpio-generic for using custom accessor functions. The grgpio driver uses this to use ioread32be and iowrite32be for big endian register accesses. Reviewed-by: Anton

Re: [PATCH 0/3] scheduler include file reorganization

2013-02-13 Thread Namhyung Kim
On Wed, 13 Feb 2013 09:19:37 -0600, Clark Williams wrote: On Wed, 13 Feb 2013 10:15:12 +0100 Ingo Molnar mi...@kernel.org wrote: * Namhyung Kim namhy...@kernel.org wrote: On Mon, 11 Feb 2013 10:54:58 +0100, Ingo Molnar wrote: * Clark Williams willi...@redhat.com wrote: I figured that

Re: [tip:x86/cpu] x86, AMD: Enable WC+ memory type on family 10 processors

2013-02-13 Thread Pekka Enberg
On Wed, Feb 13, 2013 at 2:21 AM, H. Peter Anvin wrote: >>> + rdmsrl(MSR_AMD64_BU_CFG2, value); >>> + value &= ~(1ULL << 24); >>> + wrmsrl(MSR_AMD64_BU_CFG2, value); >>> + } >>> } >>> >>>

Re: [ 00/22] 3.0.64-stable review

2013-02-13 Thread Satoru Takeuchi
At Tue, 12 Feb 2013 12:36:43 -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.0.64 release. > There are 22 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [PATCH 1/9] virtio: add functions for piecewise addition of buffers

2013-02-13 Thread Paolo Bonzini
Il 12/02/2013 21:49, Michael S. Tsirkin ha scritto: > On Tue, Feb 12, 2013 at 09:08:27PM +0100, Paolo Bonzini wrote: >> Il 12/02/2013 19:23, Michael S. Tsirkin ha scritto: >>> On Tue, Feb 12, 2013 at 07:04:27PM +0100, Paolo Bonzini wrote: >> Perhaps, but 3 or 4 arguments (in/out/nsg or

linux-next: manual merge of the akpm tree with the ipsec-next tree

2013-02-13 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in net/xfrm/xfrm_policy.c between commit 7cb8a93968e3 ("xfrm: Allow inserting policies with matching mark and different priorities") from the ipsec-next tree and commit "hlist: drop the node parameter from iterators" from the

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Glauber Costa
On 02/12/2013 09:37 PM, Johannes Weiner wrote: >> > All reads from root->dead_count are atomic already, so I am not sure >> > what you mean here. Anyway, I hope I won't make this even more confusing >> > if I post what I have right now: > Yes, but we are doing two reads. Can't the memcg that

Re: [tip:x86/cpu] x86, AMD: Enable WC+ memory type on family 10 processors

2013-02-13 Thread Cyrill Gorcunov
On Wed, Feb 13, 2013 at 10:06:25AM +0200, Pekka Enberg wrote: > On Wed, Feb 13, 2013 at 2:21 AM, H. Peter Anvin wrote: > >>> + rdmsrl(MSR_AMD64_BU_CFG2, value); > >>> + value &= ~(1ULL << 24); > >>> + wrmsrl(MSR_AMD64_BU_CFG2,

Re: [PATCH 2/5] perf, x86: Basic Haswell PMU support v4

2013-02-13 Thread Ingo Molnar
* Andi Kleen wrote: > +static int hsw_hw_config(struct perf_event *event) > +{ > + int ret = intel_pmu_hw_config(event); > + > + if (ret) > + return ret; > + if (!boot_cpu_has(X86_FEATURE_RTM) && !boot_cpu_has(X86_FEATURE_HLE)) > + return 0; > +

Re: [PATCH v2 0/1] OMAP4: DSS: Add panel for Blaze Tablet boards

2013-02-13 Thread Tomi Valkeinen
Hi, On 2013-02-08 17:43, Ruslan Bilovol wrote: > Hi, > > This patch adds support for TC358765 DSI-to-LVDS transmitter > from Toshiba, that is used in OMAP4 Blaze Tablet development > platform. It was originally developed a long time ago and > was used internally survived few kernel migrations. >

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Paolo Bonzini
Il 12/02/2013 10:52, Ingo Molnar ha scritto: > Check the list I gave (unmodified): > > "- Pekka listed new virtio drivers that were done via tools/kvm. vhost-scsi got in first in tools/kvm, but out-of-tree patches had existed for QEMU for more than a year. It was developed with QEMU. > -

Re: [PATCH] x86: Lock down MSR writing in secure boot

2013-02-13 Thread Paolo Bonzini
Il 13/02/2013 07:33, H. Peter Anvin ha scritto: >> >>> Sounds like you are thinking of CAP_SYS_ADMIN, but I don't really see a >>> huge difference between MSRs and I/O control registers... just different >>> address spaces. >> >> Not having CAP_SYS_RAWIO blocks various SCSI commands, for instance.

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-13 Thread Holger Hoffstätte
On 12.02.2013 21:42, Sarah Sharp wrote: > [..] > I think I see the issue. Your host controller reports the Inactive > state after a USB disconnect. My host controllers go to the RxDetect > state on a disconnect. > > The patches that went into 3.8 and the stable kernels to better handle > the

Re: [PATCH v2 00/14] Corrections and customization of the SG_IO command whitelist (CVE-2012-4542)

2013-02-13 Thread Paolo Bonzini
Il 06/02/2013 16:15, Paolo Bonzini ha scritto: > This series regards the whitelist that is used for the SG_IO ioctl. This > whitelist has three problems: > > * the bitmap of allowed commands is designed for MMC devices (roughly, > "play/burn CDs without requiring root") but some opcodes

Re: [PATCH v5 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-02-13 Thread Felipe Balbi
On Tue, Feb 12, 2013 at 10:31:00PM -0800, kg...@kernel.org wrote: > Vivek Gautam wrote: > > > > Based on 'usb-next' > > > > Changes from v4: > > - Modifying function names and driver names to follow a common > >naming convention. > > "usb2phy" for samsung-usb2phy driver > >

Re: [PATCH 0/3] [GIT PULL] sched: clean ups and a minor fix

2013-02-13 Thread Ingo Molnar
* Steven Rostedt wrote: > > Ingo, > > The first of the patches is a minor fix to when a woken RT task is about > to preempt a pinned RT task, push_rt_task() is called to try to > migrate the woken task if possible (to avoid preempting a pinned RT > task that may be the second highest priority

Re: [PATCH v2] ata: Fix DVD not dectected at some Haswell platforms

2013-02-13 Thread Libor Pechacek
Youquan Song, On Fri 01-02-13 10:19:42, Youquan Song wrote: > There is a quirk patch 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d > "ata_piix: make DVD Drive recognisable on systems with Intel Sandybridge > chipsets(v2) > > This quirk patch fixes one kind of bug inside some Intel Sandybridge >

Re: [GIT PULL rcu/srcu] SRCU commits for 3.9

2013-02-13 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This series contains SRCU changes for 3.9. These include debugging aids, > updates that move towards the goal of permitting srcu_read_lock() and > srcu_read_unlock() to be used from idle and offline CPUs, and a few small > fixes. These commits are

[PATCH v3] sched: fix wrong rq's runnable_avg update with rt task

2013-02-13 Thread Vincent Guittot
When a RT task is scheduled on an idle CPU, the update of the rq's load is not done because CFS's functions are not called. Then, the idle_balance, which is called just before entering the idle function, updates the rq's load and makes the assumption that the elapsed time since the last update,

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Pekka Enberg
On Wed, Feb 13, 2013 at 10:23 AM, Paolo Bonzini wrote: > Il 12/02/2013 10:52, Ingo Molnar ha scritto: >> Check the list I gave (unmodified): >> >> "- Pekka listed new virtio drivers that were done via tools/kvm. > > vhost-scsi got in first in tools/kvm, but out-of-tree patches had > existed for

[PATCH] regulator: tps51632: Use regulator_[get|set]_voltage_sel_regmap

2013-02-13 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/tps51632-regulator.c | 52 +--- 1 file changed, 8 insertions(+), 44 deletions(-) diff --git a/drivers/regulator/tps51632-regulator.c b/drivers/regulator/tps51632-regulator.c index 7560d07..6e67be7 100644 ---

[RFC 1/1] xattr: provide integrity. namespace to read real values

2013-02-13 Thread Dmitry Kasatkin
User space tools use getxattr() system call to read values of extended attributes. getxattr() system call uses vfs_getattr(), which for "security." namespace might get a value of the xattr indirectly from LSM via calling xattr_getsecurity(). For that reason value set by setxattr and read by

Re: [PATCH v2 10/13] mailbox: create dbx500 mailbox driver

2013-02-13 Thread Mark Rutland
On Tue, Feb 12, 2013 at 08:01:05PM +, Loic PALLARDY wrote: > Hi Mark, > > Thanks for your comments. > > On 02/12/2013 11:39 AM, Mark Rutland wrote: > > Hello, > > > > I have a few comments on the devicetree binding and the way it's parsed. > > > >> +static const struct of_device_id

Re: [PATCH v5 0/2] Adding USB 3.0 DRD-phy support for exynos5250

2013-02-13 Thread Vivek Gautam
On Wed, Feb 13, 2013 at 2:02 PM, Felipe Balbi wrote: > On Tue, Feb 12, 2013 at 10:31:00PM -0800, kg...@kernel.org wrote: >> Vivek Gautam wrote: >> > >> > Based on 'usb-next' >> > >> > Changes from v4: >> > - Modifying function names and driver names to follow a common >> >naming convention.

Re: [PATCH 5/5] perf, x86: Move NMI clearing to end of PMI handler after the counter registers are reset

2013-02-13 Thread Ingo Molnar
* Andi Kleen wrote: > On Tue, Feb 12, 2013 at 09:43:46AM +0100, Ingo Molnar wrote: > > Was this stress-tested on all affected main CPU types, or only > > on Haswell? > > I tested it on Haswell and Ivy Bridge. I can also try Westmere > and a Saltwell(Atom), but for the majority of other

Re: [PATCH 0/3] scheduler include file reorganization

2013-02-13 Thread Ingo Molnar
* Namhyung Kim wrote: > Hi, > > On Mon, 11 Feb 2013 10:54:58 +0100, Ingo Molnar wrote: > > * Clark Williams wrote: > > > >> I figured that was coming. :) > > > > ;-) > > > >> I'll look at it again and see about pulling the > >> autogroup/cgroup stuff into it's own header. After that it's >

Re: [PATCH v3] IIO ADC support for AD7923

2013-02-13 Thread Lars-Peter Clausen
On 02/13/2013 07:47 AM, Christophe Leroy wrote: > This patch adds support for Analog Devices AD7923 ADC in the IIO Subsystem. > > Signed-off-by: Patrick Vasseur > Signed-off-by: Christophe Leroy Looks good, thanks. Reviewed-by: Lars-Peter Clausen > > diff -urN

Re: [PATCH v3] IIO ADC support for AD7923

2013-02-13 Thread Jonathan Cameron
On 13/02/13 09:19, Lars-Peter Clausen wrote: On 02/13/2013 07:47 AM, Christophe Leroy wrote: This patch adds support for Analog Devices AD7923 ADC in the IIO Subsystem. Signed-off-by: Patrick Vasseur Signed-off-by: Christophe Leroy Looks good, thanks. Reviewed-by: Lars-Peter Clausen

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread Ingo Molnar
* anish singh wrote: > Is the below patch picked up? > > On Sun, Feb 3, 2013 at 9:31 PM, anish kumar > wrote: > > From: anish kumar > > > > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is > > multifold. > > Uses are: > > 1. Check if smpboot_register_percpu_thread

Re: kvmtool tree (Was: Re: [patch] config: fix make kvmconfig)

2013-02-13 Thread Ingo Molnar
* Pekka Enberg wrote: > I think Ingo confused virtio and vhost. IIRC, Asias developed > vhost-blk using tools/kvm. Erm, indeed - sorry. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [ 00/36] 3.4.31-stable review

2013-02-13 Thread Satoru Takeuchi
At Tue, 12 Feb 2013 12:40:54 -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.31 release. > There are 36 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

[PATCH 0/5] omap[4/5] I2c/Spi dts patches

2013-02-13 Thread Sourav Poddar
Hi Tony, These patches were send as seperate ones before[1], but did not recieve any comments. Resending them all as a single patch series, as some affect the same files. [1]: https://patchwork.kernel.org/patch/2054891/ https://patchwork.kernel.org/patch/2054871/

[PATCH 2/5] arm: dts: omap5-evm: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 5430evm results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

[PATCH 4/5] arm: dts: omap5: add SPI devices to OMAP5 DeviceTree file

2013-02-13 Thread Sourav Poddar
From: Felipe Balbi Add all 4 mcspi instances to omap5.dtsi file. Signed-off-by: Felipe Balbi Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5.dtsi | 40 1 files changed, 40 insertions(+), 0 deletions(-) diff --git

[PATCH 5/5] arm: dts: omap5-evm: Add mcspi data

2013-02-13 Thread Sourav Poddar
Add mcspi node and pinmux data for omap5 mcspi controller. Tested on omap5430 evm with 3.8-rc6 custom kernel. Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5-evm.dts | 46 +++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git

[PATCH 3/5] arm: dts: omap4-panda: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap4 panda results in the following error [0.27] omap_i2c 4807.i2c: did not get pins for i2c error: -19 [0.445770] omap_i2c 4807.i2c: bus 0 rev0.11 at 400 kHz [0.473937] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [0.474670] omap_i2c

[PATCH 1/5] arm: dts: omap4-sdp: Add I2c pinctrl data

2013-02-13 Thread Sourav Poddar
Booting 3.8-rc6 on omap 4430sdp results in the following error omap_i2c 4807.i2c: did not get pins for i2c error: -19 [1.024261] omap_i2c 4807.i2c: bus 0 rev0.12 at 100 kHz [1.030181] omap_i2c 48072000.i2c: did not get pins for i2c error: -19 [1.037384] omap_i2c 48072000.i2c:

Re: MODSIGN without RTC?

2013-02-13 Thread Alexander Holler
Am 07.02.2013 08:01, schrieb Alexander Holler: And the dream of every vendor, finally a working expiration date. And a nice TV-B-Gone, just feed a wrong date once. ;) Just in case someone missed what I wanted to hint: That date problem has implications for devices with a RTC too. If they

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 04:35 AM, Peter Hurley wrote: > On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: >> 3.7-stable review patch. If anyone has any objections, please let me know. > > FWIW, I never saw this on 3.7 but it happened 1st time on 3.8-rcX > I haven't tested this fix either.

[PATCH 0/9] extcon: Update for extcon-max8997/77693

2013-02-13 Thread Chanwoo Choi
This patchset add a few new feature of extcon-max8997 and fix minor issue of extcon-max8997/77693. Update extcon-max8997 driver - Consolidate duplicate code - Set default uart/usb path for internal line of muic device - Set default ADC debounce time - Use wq to check cable state after certain

[PATCH 6/9] extcon: max8997: Set default of ADC debounce time during initialization

2013-02-13 Thread Chanwoo Choi
This patch set default of ADC Debounce Time(25ms) during probe step. Also, can possible change ADC Debounce Time according to H/W situation by using max8997_set_adc_debounce_time() Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 42

[PATCH 9/9] extcon: max8997: Use workqueue to check cable state after completing boot of platform

2013-02-13 Thread Chanwoo Choi
This patch use delayed workqueue to check cable state after a certain time. If extcon-max8997 driver check cable state during booting of platform, this couldn't send the correct notification of cable state to extcon consumer. Alwasys, this driver should check cable state after the completion of

[PATCH 8/9] extcon: max8997: Set default UART/USB path on probe

2013-02-13 Thread Chanwoo Choi
This patch set default H/W line path according to platfomr data. The MAX8997 MUIC device can possibly set UART/USB or UART_AUX /USB_AUX to internal H/W line path of MUIC device. Namely, only one H/W line is used for two operation. For example, if H/W line path of MAX8997 device set UART/USB,

[PATCH 5/9] extcon: max8997: Remove duplicate code related to set H/W line path

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 62 ++--- include/linux/mfd/max8997-private.h | 19 +++- 2 files changed, 69 insertions(+), 12 deletions(-) diff --git a/drivers/extcon/extcon-max8997.c

[PATCH 7/9] extcon: max8997: Consolidate duplicate code for checking ADC/CHG cable type

2013-02-13 Thread Chanwoo Choi
This patch make max8997_muic_get_cable_type() function to remove duplicate code for checking ADC/Charger cable type because almost internal function need to read adc/chg_type value of MUIC register. Also, remove *_detach() function, extcon-max8997 driver treat attach/detach operation of cable in

[PATCH 2/9] extcon: max77693: Convert to devm_input_allocate_device()

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index a645268..3b1f238 100644 ---

[PATCH 3/9] extcon: max77693: Remove unnecessary goto statement to improve readability

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max77693.c | 77 ++-- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 3b1f238..b70e381

[PATCH 4/9] extcon: max8997: Move defined constant to header file

2013-02-13 Thread Chanwoo Choi
This patch move defined constants to header file(max77693-private.h) because of mask/unmask selectively interrupt of MUIC device according to attribute of H/W board. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 92

Re: [PATCH 1/2] perf stat: refactor aggregation code

2013-02-13 Thread Stephane Eranian
On Wed, Feb 13, 2013 at 8:50 AM, Namhyung Kim wrote: > Hi Stephane, > > On Tue, 12 Feb 2013 15:09:27 +0100, Stephane Eranian wrote: >> Refactor aggregation code by introducing >> a single aggr_mode variable and an enum >> for aggregation. >> >> Also refactor cpumap code having to do >> with cpu

[PATCH] USB: EHCI: make ehci-mv a separate driver

2013-02-13 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar Cc: Greg KH Cc: Alan Stern Cc: Eric Miao Cc: Haojian Zhuang Cc: Russell King Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org ---

Re: [char-misc-next 01/12 v3] mei: Rename mei_device to mei_host

2013-02-13 Thread Samuel Ortiz
On Tue, Feb 12, 2013 at 11:09:00PM +, Arnd Bergmann wrote: > On Tuesday 12 February 2013, gre...@linuxfoundation.org wrote: > > > > > > > Please let's find something that makes both hw and Linux happy > > > I still believe it makes sense to use mei_device for what we add to the > > > MEI > >

[PATCH 1/9] extcon: gpio: Rename filename of extcon-gpio.c according to kernel naming style

2013-02-13 Thread Chanwoo Choi
Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-gpio.c | 2 +- include/linux/extcon/extcon-gpio.h | 52 ++ include/linux/extcon/extcon_gpio.h | 52 -- 3 files changed, 53

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Ben Skeggs
On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: > On 02/13/2013 04:35 AM, Peter Hurley wrote: > > On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: > >> 3.7-stable review patch. If anyone has any objections, please let me know. > > > > FWIW, I never saw this on 3.7 but it

Re: [PATCH 00/08] clocksource: sh_cmt: CMT driver update

2013-02-13 Thread Guennadi Liakhovetski
Hi Magnus On Fri, 14 Dec 2012, Magnus Damm wrote: > clocksource: sh_cmt: CMT driver update > > [PATCH 01/08] clocksource: sh_cmt: Take care of clk_put() when setup_irq() > fails > [PATCH 02/08] clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in > sh_cmt_setup() > [PATCH 03/08]

[PATCH nf-next] netfilter: nf_ct_reasm: fix per-netns sysctl initialization

2013-02-13 Thread Michal Kubecek
Adjusting of data pointers in net/netfilter/nf_conntrack_frag6_* sysctl table for other namespaces points to wrong netns_frags structure and has reversed order of entries. Problem introduced by commit c038a767cd69 in 3.7-rc1 Signed-off-by: Michal Kubecek ---

Re: [PATCH] regulator: as3711: Fix checking if no platform initialization data

2013-02-13 Thread Guennadi Liakhovetski
On Wed, 13 Feb 2013, Axel Lin wrote: > To skip registering regulator if no platform initialization data, > we should check reg_data rather than ri->desc.name. > > Signed-off-by: Axel Lin Acked-by: Guennadi Liakhovetski Thanks Guennadi > --- > drivers/regulator/as3711-regulator.c |2 +-

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 14:53:58, Johannes Weiner wrote: [...] > iteration: > rcu_read_lock() > dead_count = atomic_read(>dead_count) > smp_rmb() > previous = iterator->position > if (iterator->dead_count != dead_count) >/* A cgroup in our hierarchy was killed, pointer might be dangling */ >don't

Re: [ 61/61] drm/nouveau: add lockdep annotations

2013-02-13 Thread Arend van Spriel
On 02/13/2013 10:43 AM, Ben Skeggs wrote: > On Wed, 2013-02-13 at 10:33 +0100, Arend van Spriel wrote: >> On 02/13/2013 04:35 AM, Peter Hurley wrote: >>> On Tue, 2013-02-12 at 12:35 -0800, Greg Kroah-Hartman wrote: 3.7-stable review patch. If anyone has any objections, please let me know.

Re: [patch for-3.8] net, sctp: remove CONFIG_EXPERIMENTAL

2013-02-13 Thread Steven Whitehouse
Hi, On Tue, 2013-02-12 at 16:24 -0800, David Rientjes wrote: > From: Kees Cook > > This config item has not carried much meaning for a while now and is > almost always enabled by default. As agreed during the Linux kernel > summit, remove it. > > Acked-by: David S. Miller > Acked-by: Vlad

Re: [PATCH] [Watchdog][Trivial] Added comments to explain watchdog_disabled variable

2013-02-13 Thread anish singh
On Wed, Feb 13, 2013 at 2:51 PM, Ingo Molnar wrote: > > * anish singh wrote: > >> Is the below patch picked up? >> >> On Sun, Feb 3, 2013 at 9:31 PM, anish kumar >> wrote: >> > From: anish kumar >> > >> > This watchdog_disabled flag is bit of cryptic.Howerver it's usefullnes is >> >

Re: [PATCH v3 4/5] of: Create function for counting number of phandles in a property

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch creates of_count_phandle_with_args(), a new function for counting the number of phandle+argument tuples in a given property. This is better than the existing method of parsing each phandle individually until parsing fails which is a horribly

Re: [PATCH v3 5/5] gpio: Make of_count_named_gpios() use new of_count_phandle_with_args()

2013-02-13 Thread Andreas Larsson
On 2013-02-13 00:06, Grant Likely wrote: This patch replaces the horribly coded of_count_named_gpios() with a call to of_count_phandle_with_args() which is far more efficient. This also changes the return value of of_gpio_count() & of_gpio_named_count() from 'unsigned int' to 'int' so that it

Re: [REGRESSION] [nailed] USB boot failure: USB: EHCI: make ehci-pci a separate driver

2013-02-13 Thread Andreas Mohr
Indeed, adding ehci_pci to /etc/initramfs-tools/modules and running update-initramfs -u -k 3.7.0-rc5+ to get /boot/initrd.img-3.7.0-rc5+ of the formerly broken -rc5+ build corrected manages to fix boot. On Wed, Feb 13, 2013 at 08:44:09AM +0100, Andreas Mohr wrote: > (is there a way to

Re: [PATCH] of: Fix locking when calling of_get_next_available_child()

2013-02-13 Thread Grant Likely
On Mon, 11 Feb 2013 16:26:46 -0700, Stephen Warren wrote: > On 02/11/2013 03:19 PM, Grant Likely wrote: > > of_get_next_available_child() obtains the devtree_lock and then calls > > of_device_is_available() which also attempts to claim the lock. This is > > obviously incorrect and causes a

Re: [PATCH V3] ia64/mm: fix a bad_page bug when crash kernel booting

2013-02-13 Thread Matt Fleming
On Thu, 2013-02-07 at 14:09 +0800, Xishi Qiu wrote: > > Sorry, this bug will be happen when use Sparse-Memory(section is valid, but > > last > > > several pages are invalid). If use Flat-Memory, crash kernel will boot > > successfully. > > I think the following patch would be better. > > > >

Re: [RFC PATCH 0/8] virtio: new API for addition of buffers, scatterlist changes

2013-02-13 Thread Rusty Russell
Jens Axboe writes: > On Fri, Feb 08 2013, Rusty Russell wrote: >> Paolo Bonzini writes: >> > The virtqueue_add_buf function has two limitations: >> > >> > 1) it requires the caller to provide all the buffers in a single call; >> > >> > 2) it does not support chained scatterlists: the buffers

RE: [PATCH vringh 2/2] caif_virtio: Introduce caif over virtio

2013-02-13 Thread Rusty Russell
Sjur BRENDELAND writes: > Hi Rusty, > >> From: Rusty Russell [mailto:ru...@rustcorp.com.au] >> sjur.brandel...@stericsson.com writes: >> > +struct cfv_napi_context { >> > + struct vringh_kiov riov; >> > + unsigned short head; >> > +}; >> >> Usually we use an int, and -1. I imagine it'll take

[RFC PATCH 0/5] UBIFS: improve xattr and add support for security.* XATTR

2013-02-13 Thread Marc Kleine-Budde
Hello, this patch series is based on Subodh Nijsure's patch [1] from May 2012. I've splitted up the patch into smaller changes and fixed a locking problem. This series is tested on mx28-evk with NAND. However, With lockdep enabled a possible circular locking dependency is detected, as reported in

[PATCH RFC 2/5] UBIFS: fix couple bugs in UBIFS extended attribute length calculation

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/journal.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/ubifs/journal.c b/fs/ubifs/journal.c index afaad07..6981d7d 100644 --- a/fs/ubifs/journal.c +++

[PATCH RFC 1/5] UBIFS: xattr: protect ui_size and data_len by ui_mutex

2013-02-13 Thread Marc Kleine-Budde
This patch moves the modification of ui->ui_size and ui->data_len in the create_xattr() and change_xattr() functions, so that they are protected by the ui_mutex as stated in the documenation of the the struct ubifs_inode. Signed-off-by: Marc Kleine-Budde --- fs/ubifs/xattr.c |8 1

[PATCH RFC 3/5] UBIFS: Add xattr support for symlinks

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/file.c |4 fs/ubifs/xattr.c | 18 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index 5bc7781..ed9655c 100644 ---

[PATCH RFC 5/5] UBIFS: add ubifs_err() to print error reason

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure This patch add ubifs_err() output to some error pathes to tell the user what's going on. Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/dir.c | 20 fs/ubifs/xattr.c | 12 ++-- 2 files changed, 26

[PATCH RFC 4/5] UBIFS: Add security.* XATTR support for the UBIFS

2013-02-13 Thread Marc Kleine-Budde
From: Subodh Nijsure Signed-off-by: Subodh Nijsure Signed-off-by: Marc Kleine-Budde --- fs/ubifs/dir.c | 16 +++ fs/ubifs/journal.c |3 +- fs/ubifs/super.c |1 + fs/ubifs/ubifs.h |4 +++ fs/ubifs/xattr.c | 79

Re: [PATCH 1/9] virtio: add functions for piecewise addition of buffers

2013-02-13 Thread Michael S. Tsirkin
On Wed, Feb 13, 2013 at 09:06:27AM +0100, Paolo Bonzini wrote: > Il 12/02/2013 21:49, Michael S. Tsirkin ha scritto: > > On Tue, Feb 12, 2013 at 09:08:27PM +0100, Paolo Bonzini wrote: > >> Il 12/02/2013 19:23, Michael S. Tsirkin ha scritto: > >>> On Tue, Feb 12, 2013 at 07:04:27PM +0100, Paolo

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Tue 12-02-13 12:37:41, Johannes Weiner wrote: > On Tue, Feb 12, 2013 at 06:12:16PM +0100, Michal Hocko wrote: [...] > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > > index 727ec39..31bb9b0 100644 > > --- a/mm/memcontrol.c > > +++ b/mm/memcontrol.c > > @@ -144,8 +144,13 @@ struct

Re: [PATCH v3 4/7] memcg: remove memcg from the reclaim iterators

2013-02-13 Thread Michal Hocko
On Wed 13-02-13 12:11:59, Glauber Costa wrote: > On 02/12/2013 09:37 PM, Johannes Weiner wrote: > >> > All reads from root->dead_count are atomic already, so I am not sure > >> > what you mean here. Anyway, I hope I won't make this even more confusing > >> > if I post what I have right now: > >

Re: MAINTAINERS: Remove Mark M. Hoffman

2013-02-13 Thread Jean Delvare
On Tue, 12 Feb 2013 16:46:01 -0800, Andrew Morton wrote: > On Fri, 8 Feb 2013 10:54:37 +0100 > Jean Delvare wrote: > > > Mark M. Hoffman stopped working on the Linux kernel several years > > ago, so he should no longer be listed as a driver maintainer. I'm not > > even sure if his e-mail address

<    3   4   5   6   7   8   9   10   11   12   >