[RFCv3 09/11] remoteproc: Load firmware once.

2013-01-16 Thread sjur . brandeland
From: Sjur Brændeland Add support for two-way virtio configuration space and status. Ring-addresses and negotiated feature-bits are readable from device. Allocation of larger Carveouts are also supported. And when adding a new rproc device, the firmware is now loaded once not twice. But there is

[PATCH v6 10/22] mfd: omap_usb_host: Avoid missing platform data checks in suspend/resume

2013-01-16 Thread Roger Quadros
Get rid of the unnecessary missing platform data checks in runtime_suspend/resume. We are already checking for missing platform data in probe. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 10 -- 1 files changed, 0 insertions(+), 10 deletions(-) diff --git

[RFCv3 10/11] remoteproc: Support virtio config space.

2013-01-16 Thread sjur . brandeland
From: Sjur Brændeland Support virtio configuration space and device status and feature negotiation with remote device. This virtio device can now access the resource table in shared memory. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c |3 --

[PATCH v6 11/22] mfd: omap-usb-host: Use devm_kzalloc() and devm_request_and_ioremap()

2013-01-16 Thread Roger Quadros
Use devm_ variants of kzalloc and ioremap. Also clean up error path. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 38 +++--- 1 files changed, 11 insertions(+), 27 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c

[RFCv3 11/11] remoteproc: Calculate max_notifyid by counting vrings

2013-01-16 Thread sjur . brandeland
From: Sjur Brændeland Simplify hanling of max_notifyid by simply counting the number of vrings. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c | 20 +--- 1 files changed, 5 insertions(+), 15 deletions(-) diff --git

[PATCH v6 08/22] mfd: omap-usb-tll: serialize access to TLL device

2013-01-16 Thread Roger Quadros
Get rid of the unnecessary spin_lock_irqsave/restore() as there is no interrupt handler for this driver. Instead we serialize access to tll_dev using a global spinlock. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-tll.c | 53 ++- 1 files

[PATCH v6 07/22] mfd: omap-usb-tll: Fix error message

2013-01-16 Thread Roger Quadros
omap_enable/disable_tll() can fail if TLL device is not initialized. It could be due to multiple reasons and not only due to missing platform data. Also make local variables static and use 'struct device *' instead of 'struct platform_device *' for global reference. Signed-off-by: Roger Quadros

[PATCH v6 16/22] mfd: omap-usb-host: Get rid of unnecessary spinlock

2013-01-16 Thread Roger Quadros
The driver does not have an interrupt handler and we don't really need a spinlock, so get rid of it. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 16 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c

[PATCH v6 15/22] mfd: omap-usb-host: Manage HSIC clocks for HSIC mode

2013-01-16 Thread Roger Quadros
Enable the optional HSIC clocks (60MHz and 480MHz) for the ports that are configured in HSIC mode. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 77 +++--- 1 files changed, 71 insertions(+), 6 deletions(-) diff --git

[PATCH v6 21/22] mfd: omap-usb-host: Don't spam console on clk_set_parent failure

2013-01-16 Thread Roger Quadros
clk_set_parent is expected to fail on OMAP3 platforms. We don't consider that as fatal so don't spam console. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c

[PATCH v6 17/22] mfd: omap-usb-host: clean up omap_usbhs_init()

2013-01-16 Thread Roger Quadros
We split initializing revision 1 and revision 2 into different functions. Initialization is now done dynamically so that only the number of ports available on the system are initialized. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 122

[PATCH v6 19/22] ARM: OMAP3: clock data: get rid of unused USB host clock aliases and dummies

2013-01-16 Thread Roger Quadros
We don't need multiple aliases for the OMAP USB host clocks and neither the dummy clocks so remove them. CC: Paul Walmsley CC: Rajendra Nayak CC: Benoit Cousson CC: Mike Turquette Signed-off-by: Roger Quadros Acked-by: Paul Walmsley --- arch/arm/mach-omap2/cclock3xxx_data.c | 11

[PATCH v6 18/22] USB: ehci-omap: Don't free gpios that we didn't request

2013-01-16 Thread Roger Quadros
This driver does not request any gpios so don't free them. Fixes L3 bus error on multiple modprobe/rmmod of ehci_hcd with ehci-omap in use. Signed-off-by: Roger Quadros --- drivers/usb/host/ehci-omap.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git

[PATCH v6 20/22] ARM: OMAP4: clock data: get rid of unused USB host clock aliases

2013-01-16 Thread Roger Quadros
We don't need multiple aliases for the OMAP USB host clocks so remove them. CC: Paul Walmsley CC: Rajendra Nayak CC: Benoit Cousson CC: Mike Turquette Signed-off-by: Roger Quadros Acked-by: Paul Walmsley --- arch/arm/mach-omap2/cclock44xx_data.c |7 --- 1 files changed, 0

[PATCH v6 22/22] mdf: omap-usb-host: get rid of build warning

2013-01-16 Thread Roger Quadros
Fixes the below build warning when driver is built-in. drivers/mfd/omap-usb-host.c:750:12: warning: ‘usbhs_omap_remove’ defined but not used [-Wunused-function] Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v6 13/22] mfd: omap-usb-host: override number of ports from platform data

2013-01-16 Thread Roger Quadros
Both OMAP4 and 5 exhibit the same revision ID in the REVISION register but they have different number of ports i.e. 2 and 3 respectively. So we can't rely on REVISION register for number of ports on OMAP5 and depend on platform data (or device tree) instead. Signed-off-by: Roger Quadros ---

[PATCH v6 14/22] mfd: omap-usb-host: cleanup clock management code

2013-01-16 Thread Roger Quadros
All ports have similarly named port clocks so we can bunch them into a port data structure and use for loop to enable/disable the clocks. Dynamically allocate and get clocks based on number of ports available on the platform Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 180

[PATCH v6 09/22] mfd: omap-usb-tll: Add OMAP5 revision and HSIC support

2013-01-16 Thread Roger Quadros
The TLL module on OMAP5 has 3 channels. HSIC mode requires the TLL channel to be in Transparent UTMI mode. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-tll.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/omap-usb-tll.c

[PATCH v6 12/22] mfd: omap-usb-host: know about number of ports from revision register

2013-01-16 Thread Roger Quadros
The revision register should tell us how many ports are present. Signed-off-by: Roger Quadros --- drivers/mfd/omap-usb-host.c | 33 - 1 files changed, 28 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c index

[RFCv3 01/11] remoteproc: Move enable_iommu to rproc_boot

2013-01-16 Thread sjur . brandeland
From: Sjur Brændeland Call enable_iommu from rproc_boot and disable_iommu from rproc_shutdown. This make it simpler to keep enable/disable in balance. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_core.c | 22 -- 1 files changed, 12 insertions(+), 10

[RFCv3 05/11] remoteproc: Parse ELF file to find resource table address

2013-01-16 Thread sjur . brandeland
From: Sjur Brændeland Add function find_rsc_table_va to firmware ops. This function returns the location of the resource table in shared memory after loading. Signed-off-by: Sjur Brændeland --- drivers/remoteproc/remoteproc_elf_loader.c | 17 -

[no subject]

2013-01-16 Thread Takashi Iwai
Linus, The following changes since commit 31be5425d795585251a3ee970319c37643e0cda2: ALSA: usb-audio: Fix NULL dereference by access to non-existing substream (2013-01-11 11:12:17 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git

Re: One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
On 1/16/2013 3:28 PM, Ove Karlsen wrote: On 1/16/2013 3:27 PM, Ove Karlsen wrote: On 1/16/2013 3:25 PM, Ove Karlsen wrote: On 1/16/2013 3:02 PM, Ove Karlsen wrote: What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-16 Thread Stefan Bader
On 01/16/2013 11:26 AM, Jan Beulich wrote: On 15.01.13 at 18:53, Konrad Rzeszutek Wilk wrote: On Mon, Jan 14, 2013 at 05:34:45PM +0100, Borislav Petkov wrote: On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: --- a/drivers/acpi/processor_perflib.c +++

Re: [PATCH 3/4] staging: media: go7007: i2c GPIO initialization Reset i2c stuff for GO7007_BOARDID_ADLINK_MPG24 need reset GPIO always when encoder initialize

2013-01-16 Thread Dan Carpenter
On Wed, Jan 16, 2013 at 06:00:13PM +0400, Volokh Konstantin wrote: > On Wed, Jan 16, 2013 at 04:36:08PM +0300, Dan Carpenter wrote: > > You've added the writes for GO7007_BOARDID_ADLINK_MPG24 but removed > > them for GO7007_BOARDID_XMEN and GO7007_BOARDID_XMEN_III. Won't > > that break those

Re: [PATCH v2] efi, x86: Pass a proper identity mapping in efi_call_phys_prelog

2013-01-16 Thread Matt Fleming
(Sorry for the delay in replying to this) On Tue, 2013-01-08 at 09:02 -0600, Nathan Zimmer wrote: > Update efi_call_phys_prelog to install an identity mapping of all available > memory. This corrects a bug on very large systems with more then 512 GB in > which bios would not be able to access

Re: One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
On 1/16/2013 3:27 PM, Ove Karlsen wrote: On 1/16/2013 3:25 PM, Ove Karlsen wrote: On 1/16/2013 3:02 PM, Ove Karlsen wrote: What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle priority. So to make the app run at max

Re: [PATCH v3 16/22] sched: add power aware scheduling in fork/exec/wake

2013-01-16 Thread Morten Rasmussen
On Wed, Jan 16, 2013 at 06:02:21AM +, Alex Shi wrote: > On 01/15/2013 12:09 AM, Morten Rasmussen wrote: > > On Fri, Jan 11, 2013 at 07:08:45AM +, Alex Shi wrote: > >> On 01/10/2013 11:01 PM, Morten Rasmussen wrote: > >>> On Sat, Jan 05, 2013 at 08:37:45AM +, Alex Shi wrote: > This

Re: One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
On 1/16/2013 3:25 PM, Ove Karlsen wrote: On 1/16/2013 3:02 PM, Ove Karlsen wrote: What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle priority. So to make the app run at max efficiency, and not be starved by

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-16 Thread Jiri Olsa
On Wed, Jan 16, 2013 at 09:00:07AM -0500, Ulrich Drepper wrote: > On Tue, Jan 15, 2013 at 8:39 AM, Jiri Olsa wrote: > > $ perf stat -f formula.conf:cpi kill > > usage: kill [ -s signal | -p ] [ -a ] pid ... > > kill -l [ signal ] > > I do like this proposal. The only comment I have

Re: One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
On 1/16/2013 3:02 PM, Ove Karlsen wrote: What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle priority. So to make the app run at max efficiency, and not be starved by kernelthreads waiting. (Or any other

Re: Redefinition of struct in6_addr in and

2013-01-16 Thread YOSHIFUJI Hideaki
Cong Wang wrote: > (Cc'ing some glibc developers...) > > Hello, > > In glibc source file inet/netinet/in.h and kernel source file > include/uapi/linux/in6.h, both define struct in6_addr, and both are > visible to user applications. Thomas reported a conflict below. > > So, how can we handle

Re: [GIT PULL] fuse updates for 3.8

2013-01-16 Thread Miklos Szeredi
Hi Feng, On Wed, Jan 16, 2013 at 2:59 PM, Feng Shuo wrote: > Hi Miklos, > > Would you consider the adaptive readdir_plus patch? Yes, I'm going to go over and review the patches sent in the last month. Thanks, Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[GIT PULL] irq_work changes for 3.9

2013-01-16 Thread Frederic Weisbecker
Hi Ingo, The printk changes for full dynticks support are still pending while we don't know Linus's opinion about these. Meanwhile here is the part of it that I think is uncontroversial. This way we can make the next submission attempt to Linus a bit more simple. These three patches are general

Re: reproducible w1 oops on recent kernels (at least since 3.2.x)

2013-01-16 Thread Evgeniy Polyakov
Hi Sorry for long answer On Thu, Jan 10, 2013 at 07:44:20PM +0100, Sven Geggus (li...@fuchsschwanzdomain.de) wrote: > I first thought this to be a Raspberry Pi thing, but its not. Looks > like w1 driver is broken in some platform and busmaster independent > way at least since kernel 3.2.x

[PATCH] mfd: twl4030-madc: Remove leftover __exit_p()

2013-01-16 Thread Peter Ujfalusi
__exit_p() need to be removed after the __devexit removal from the driver. Fixes the following compile time warning: drivers/mfd/twl4030-madc.c:788:12: warning: ?twl4030_madc_remove? defined but not used [-Wunused-function] Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl4030-madc.c | 2 +-

Re: [PATCH v3 0/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Michal Hocko
On Wed 16-01-13 16:14:17, Lin Feng wrote: [...] > changeLog v2->v3: > 1) patch 1/2: > - Rename the patch title to conform it's content. > - Update memory_hotplug.h and remove the misleading TODO pointed out by > Michal. > 2) patch 2/2: > - New added, remove unimplemented functions suggested by

Re: [PATCH v3 1/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Michal Hocko
On Wed 16-01-13 16:14:18, Lin Feng wrote: [...] > diff --git a/mm/Kconfig b/mm/Kconfig > index 278e3ab..f8c5799 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -162,10 +162,18 @@ config MOVABLE_NODE > Say Y here if you want to hotplug a whole node. > Say N here if you want kernel

[GIT PULL] KVM fixes for 3.8-rc3

2013-01-16 Thread Gleb Natapov
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes Christian Borntraeger (1): s390/kvm: Fix BUG in include/linux/kvm_host.h:745 arch/s390/kvm/kvm-s390.c |2 ++ 1 file changed, 2 insertions(+) --

Re: [PATCH] {cfg,mac}80211.h: fix some kernel-doc warnings

2013-01-16 Thread Johannes Berg
Hi, I totally missed your email before. > Warning(include/net/cfg80211.h:334): No description found for return value of > 'cfg80211_get_chandef_type' > > These warnings are only reported when scripts/kernel-doc runs in verbose mode. > > Fix: > In comments, use "Return:" to describe

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-16 Thread Alex Shi
On 01/08/2013 04:41 PM, Preeti U Murthy wrote: > Hi Mike, > > Thank you very much for such a clear and comprehensive explanation. > So when I put together the problem and the proposed solution pieces in the > current > scheduler scalability,the following was what I found: > > 1.

Re: [PATCH v3] dw_dmac: don't exceed AHB master number in dwc_get_data_width

2013-01-16 Thread Viresh Kumar
On Wed, Jan 16, 2013 at 7:18 PM, Andy Shevchenko wrote: > +static inline unsigned int dwc_get_master(struct dma_chan *chan, int master) > +{ > + struct dw_dma *dw = to_dw_dma(chan->device); > + struct dw_dma_slave *dws = chan->private; > + unsigned int m = 0; :( -- To

Re: [PATCH 3/4] staging: media: go7007: i2c GPIO initialization Reset i2c stuff for GO7007_BOARDID_ADLINK_MPG24 need reset GPIO always when encoder initialize

2013-01-16 Thread Volokh Konstantin
On Wed, Jan 16, 2013 at 04:36:08PM +0300, Dan Carpenter wrote: > You've added the writes for GO7007_BOARDID_ADLINK_MPG24 but removed > them for GO7007_BOARDID_XMEN and GO7007_BOARDID_XMEN_III. Won't > that break those boards? > I don`t remove code for GO7007_BOARDID_XMEN and

Re: [PATCH 2/3] binfmt_elf: Verify signature of signed elf binary

2013-01-16 Thread Mimi Zohar
On Tue, 2013-01-15 at 23:10 -0800, Eric W. Biederman wrote: > Mimi Zohar writes: > > > Please remind me why you can't use IMA-appraisal, which was upstreamed > > in Linux 3.7? Why another method is needed? > > Good question Vivek? > > I remeber there was a slight mismatch in the desired

One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle priority. So to make the app run at max efficiency, and not be starved by kernelthreads waiting. (Or any other consideration, for giving maximal cpu to app. Even

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-16 Thread Arnd Bergmann
On Tuesday 15 January 2013, Thierry Reding wrote: > Is there actually hardware that supports this? I assumed that the MSI > controller would have to be tightly coupled to the PCI host bridge in > order to raise an interrupt when an MSI is received via PCI. No, as long as it's guaranteed that the

Re: [GIT PULL] fuse updates for 3.8

2013-01-16 Thread Feng Shuo
Hi Miklos, Would you consider the adaptive readdir_plus patch? On Wed, Jan 16, 2013 at 8:53 PM, Miklos Szeredi wrote: > Hi Linus, > > Sorry for the late submission. Most of this was bound for 3.7, which I > missed due to moving house. I think it makes sense to merge it now > instead of next

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-16 Thread Ulrich Drepper
On Tue, Jan 15, 2013 at 8:39 AM, Jiri Olsa wrote: > $ perf stat -f formula.conf:cpi kill > usage: kill [ -s signal | -p ] [ -a ] pid ... > kill -l [ signal ] I do like this proposal. The only comment I have is that perhaps the command line syntax isn't ideal. What you use above is

Re: [PATCH v8 14/22] ACPI: update ej_event interface to take acpi_device

2013-01-16 Thread Rafael J. Wysocki
On Tuesday, January 15, 2013 04:36:19 PM Yinghai Lu wrote: > On Tue, Jan 15, 2013 at 4:22 PM, Rafael J. Wysocki wrote: > > On Wednesday, January 16, 2013 12:55:20 AM Rafael J. Wysocki wrote: > >> On Tuesday, January 15, 2013 03:43:17 PM Yinghai Lu wrote: > >> > On Tue, Jan 15, 2013 at 3:26 AM,

One last tweak for perfection.

2013-01-16 Thread Ove Karlsen
What kernelthreads _needs_ to run? So I can put them on max pri renice, along with reniced X and app. And everything else on idle priority. So to make the app run at max efficiency, and not be starved by kernelthreads waiting. (Or any other consideration, for giving maximal cpu to app. Even

Re: [PATCH 2/2] TTY: mn10300-serial, fix build breakage

2013-01-16 Thread Jiri Slaby
On 01/16/2013 02:45 PM, Jiri Slaby wrote: > I did not notice because I did not even find a compiler for that new > architecture. I'm not sure why I thought it's new... -- js suse labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Linux 3.2.37

2013-01-16 Thread Ben Hutchings
I'm announcing the release of the 3.2.37 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

[PATCH v2 02/11] mfd: twl-core: Clean up module id lookup and definitions

2013-01-16 Thread Peter Ujfalusi
Use enums for all module definitions: twl_module_ids for common functionality among twl4030/twl6030 twl4030_module_ids for twl4030 specific ids twl6030_module_ids for twl6030 specific ids In this way the list can be managed easier when new functionality going to be implemented. Signed-off-by:

[PATCH v2 03/11] mfd: twl-core: No need to check for invalid subchip ID

2013-01-16 Thread Peter Ujfalusi
The module id table no longer can have invalid/unused entries. No need for checking the ID for validity. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c

[PATCH v2 00/11] MFD: twl-core: Cleanup part 2 for 3.9

2013-01-16 Thread Peter Ujfalusi
Hello Samuel, Changes since v1: - Patch for zoom-display to avoid build issus with this set I had a patch on top of this series to move the zoom board to use bl-pwm for display backlight. Because of this I have not noticed that the zoom-display.c still have twl related code in upstream. Cover

[PATCH v2 06/11] mfd: twl-core: Do not try to call legacy mfd add_children() when booted with DT

2013-01-16 Thread Peter Ujfalusi
There is really no point to retry to add children devices in case the of_platform_populate() fails. We do not have any information provided via pdata in this case anyways. Depending on the boot type (legacy or DT) only execute either one. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c

[PATCH v2 07/11] mfd: twl-core: Do not create dummy pdata when booted with DT

2013-01-16 Thread Peter Ujfalusi
When booted with DT we can manage without the dummy pdata. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 31 +++ 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 86cca9e..547fed5 100644

[PATCH v2 08/11] mfd: twl-core: Move 'inuse' check early at probe time

2013-01-16 Thread Peter Ujfalusi
We can fail earlier in case multiple instance of the twl-core is tried to be loaded. The twl-core by design only supports one instance. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH v2 04/11] mfd: twl-core: Use the lookup table to find the correct subchip for the modules

2013-01-16 Thread Peter Ujfalusi
Instead of using SUB_CHIP_ID* or magic numbers use the twl_mapping table to look for the subchip ID. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 56 -- 1 file changed, 27 insertions(+), 29 deletions(-) diff --git

[PATCH v2 05/11] mfd: twl-core: Allocate twl_modules dynamically

2013-01-16 Thread Peter Ujfalusi
At boot time we can allocate the twl_modules array dynamically based on the twl class we are using with devm_kzalloc() instead of the static twl_modules[] array. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 31 +-- 1 file changed, 21 insertions(+), 10

[PATCH v2 01/11] ARM: OMAP: zoom-display: Remove the use of TWL4030_MODULE_PWM1

2013-01-16 Thread Peter Ujfalusi
Use the future proof TWL_MODULE_PWM module id instead to aim the twl-core cleanup planed for 3.9 kernel cycle. Signed-off-by: Peter Ujfalusi Acked-by: Tony Lindgren --- arch/arm/mach-omap2/board-zoom-display.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: -next: no resume from suspend

2013-01-16 Thread Rafael J. Wysocki
on failed > dpm_run_callback(): pnp_bus_resume+0x0/0x80 returns -5 > PM: Device 00:06 failed to resume: error -5 > > if (!length) > return error; > > makes it resume again with the errors above... > > This was 3.8.0-rc3-next-20130114. Going to test 20130116 as there are >

[PATCH v2 11/11] mfd: twl-core: Move twl_i2c_read/write_u8 to header as inline function

2013-01-16 Thread Peter Ujfalusi
twl_i2c_read/write_u8 become as a simple wrapper over the twl_i2c_read/write. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 28 include/linux/i2c/twl.h | 17 +++-- 2 files changed, 11 insertions(+), 34 deletions(-) diff --git

[PATCH v2 10/11] mfd: twl-core: Remove no longer valid comment regarding to write buffer size

2013-01-16 Thread Peter Ujfalusi
With the regmap conversion there is no longeer a need to allocate bigger buffer for writes Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 3 --- include/linux/i2c/twl.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index

[PATCH v2 09/11] mfd: twl-core: Collect global variables behind one private structure (global)

2013-01-16 Thread Peter Ujfalusi
Gather the global variables under a single structure and allocate it with devm_kzalloc(). It is easier to see them and if in the future we try to add support for multiple instance of twl in the system it is going to be much simpler. Signed-off-by: Peter Ujfalusi --- drivers/mfd/twl-core.c | 104

Re: [3.8-{rc1,rc2}] ata1.00: failed to get Identify Device Data, Emask 0x1

2013-01-16 Thread Jeff Garzik
o be found in kernel bugzilla #51881 and is pending on Jeff's acceptance. Sorry for the trouble to you guys. [ CCing Linus ] Thanks for taking care (my latest experiences on LKML/linux-next tell me even this is no more the fact!)! Your patch finally hit Linux-Next (next-20130116) and IIRC it is a

[PATCH v3] dw_dmac: don't exceed AHB master number in dwc_get_data_width

2013-01-16 Thread Andy Shevchenko
The driver assumes that hardware has two AHB masters which might not be always true. In such cases we must not exceed number of the AHB masters present in the hardware. In the proposed scheme in this patch, we would choose the master with highest possible number whenever we exceed max AHB masters.

[PATCH v2] dw_dmac: allocate dma descriptors from DMA_COHERENT memory

2013-01-16 Thread Andy Shevchenko
Currently descriptors are allocated from normal cacheable memory and that slows down filling the descriptors, as we need to call cache_coherency routines afterwards. It would be better to allocate memory for these descriptors from DMA_COHERENT memory. This would make code much cleaner too.

Re: [PATCH 2/4] staging: media: go7007: firmware protection Protection for unfirmware load

2013-01-16 Thread Volokh Konstantin
On Wed, Jan 16, 2013 at 04:35:45PM +0300, Dan Carpenter wrote: > The problem is that the firmware was being unloaded on disconnect? > > regards, > dan carpenter If no firmware was loaded (no exists,wrong or some error) then rmmod fails with OOPS, so need some protection stuff > -- To

[PATCH 1/2] TTY: ip22zilog, fix tty_flip_buffer_push call

2013-01-16 Thread Jiri Slaby
This one was omitted by the "TTY: switch tty_flip_buffer_push" patch because I did not compile-test mips driver. Now I do. Signed-off-by: Jiri Slaby --- drivers/tty/serial/ip22zilog.c | 30 -- 1 file changed, 12 insertions(+), 18 deletions(-) diff --git

[PATCH 2/2] TTY: mn10300-serial, fix build breakage

2013-01-16 Thread Jiri Slaby
By the recent `switch flipping' patches we introduced a build failure in the driver: mn10300-serial.c:527:19: error: 'port' redeclared as different kind of symbol I did not notice because I did not even find a compiler for that new architecture. Hopefully everything is all right now as I cannot

Re: [PATCH] ACPI: check zero length in acpi_rs_get_aml_length

2013-01-16 Thread Rafael J. Wysocki
Hi, On Wednesday, January 16, 2013 12:15:28 PM Jiri Slaby wrote: > There is a bug somewhere in the code that does not set the resource > length. This makes the loop in acpi_rs_get_aml_length to loop forever. > So it is a good thing to have the check even if the bug is fixed. This needs to go

Re: [PATCH 00/10] TTY: switch flipping functions to tty_port

2013-01-16 Thread Jiri Slaby
On 01/16/2013 07:47 AM, Greg KH wrote: > On Thu, Jan 03, 2013 at 03:53:00PM +0100, Jiri Slaby wrote: >> In this series we get rid of the tty_port_tty_get in most hot paths as >> all the flipping functions needs to know is in tty_port already. This >> simplifies the code at some places a lot. >> >>

Re: [PATCH] dw_dmac: switch to use dma_pool API

2013-01-16 Thread Andy Shevchenko
On Wed, 2013-01-16 at 15:18 +0530, Viresh Kumar wrote: > > @@ -1125,7 +1083,6 @@ static int dwc_alloc_chan_resources(struct dma_chan > > *chan) > > + memset(desc, 0, sizeof(struct dw_desc)); > > + > > why do we need this? We always fill all fields of this structure, isn't it? No,

Re: [PATCH 3/4] staging: media: go7007: i2c GPIO initialization Reset i2c stuff for GO7007_BOARDID_ADLINK_MPG24 need reset GPIO always when encoder initialize

2013-01-16 Thread Dan Carpenter
You've added the writes for GO7007_BOARDID_ADLINK_MPG24 but removed them for GO7007_BOARDID_XMEN and GO7007_BOARDID_XMEN_III. Won't that break those boards? regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 2/4] staging: media: go7007: firmware protection Protection for unfirmware load

2013-01-16 Thread Dan Carpenter
The problem is that the firmware was being unloaded on disconnect? regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH V5 3/3] tuntap: allow polling/writing/reading when detached

2013-01-16 Thread Jason Wang
On 01/16/2013 06:59 PM, Michael S. Tsirkin wrote: > On Wed, Jan 16, 2013 at 06:34:01PM +0800, Jason Wang wrote: >> We forbid polling, writing and reading when the file were detached, this may >> complex the user in several cases: >> >> - when guest pass some buffers to vhost/qemu and then disable

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-16 Thread Jiri Olsa
On Wed, Jan 16, 2013 at 01:13:18PM +, Will Deacon wrote: > On Tue, Jan 15, 2013 at 01:39:50PM +, Jiri Olsa wrote: > > hi, > > Hi Jiri, > > > adding support to predefine event ratios formulas so they could > > be used easily in perf. > > > > The formulas are handed in the config file

[PATCH 3/4] USB: PHY: Tegra: Get rid of instance number to differentiate PHY type

2013-01-16 Thread Venu Byravarasu
Tegra20 USB has 3 PHY instances: Instance 1 and 3 are UTMI. Instance 2 is ULPI. As instance number was used to differentiate ULPI from UTMI, used DT param to get this info and processed accordingly. Signed-off-by: Venu Byravarasu --- drivers/usb/phy/tegra_usb_phy.c | 23

[PATCH 1/4] arm: tegra: Add DT nodes for Tegra USB PHY

2013-01-16 Thread Venu Byravarasu
Add DT nodes for Tegra USB PHY along with related documentation. Also added a phandle property to controller DT node, for referring to connected PHY instance. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-ehci.txt |1 +

[PATCH 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-16 Thread Venu Byravarasu
As Tegra PHY driver needs to access one of the Host registers, added few APIs. Signed-off-by: Venu Byravarasu --- drivers/usb/host/ehci-tegra.c | 71 - drivers/usb/phy/tegra_usb_phy.c | 51 +++

[PATCH 0/4] usb: Supporting patches for registering Tegra USB PHY as a platform driver

2013-01-16 Thread Venu Byravarasu
As part of registering tegra USB PHY as platform driver, prepared patches to add separate DT nodes describing Tegra USB PHY properties. Modified instance number based processing to make use of the added DT properties. As PHY will be registered as separate driver, removed ehci register access from

[PATCH 2/4] USB: PHY: Get rid of instance number to differentiate legacy controller

2013-01-16 Thread Venu Byravarasu
Tegra20 USB has 3 PHY instances. Instance 0 is based on legacy PHY interface and other two are standard interfaces. As instance number was used to differentiate legacy from standard interfaces, used DT param to get this info and processed accordingly. Signed-off-by: Venu Byravarasu ---

Re: [PATCH 2/4] serial: vt8500: ioremap'd resource is never freed

2013-01-16 Thread Sergei Shtylyov
Hello. On 15-01-2013 8:58, Tony Prisk wrote: Memory mapped via ioremap call is never released. Rather than add an iounmap call, change allocation function to devm_request_and_ioremap. Also, change the error on failure for this call to -EBUSY rather than -EADDRNOTAVAIL. You meant

Re: [PATCH] regmap: debugfs: Fix last entry store in the offset cache

2013-01-16 Thread Mark Brown
On Wed, Jan 16, 2013 at 02:24:11PM +0100, Philipp Zabel wrote: > - /* Close the last entry off if we didn't scan beyond it */ > - if (c) { > - c->max = p - 1; > - list_add_tail(>list, > - >debugfs_off_cache); Oh, ffs. I actually fixed

Re: [PATCH 3/4] Enable ecc-mode selection in the driver

2013-01-16 Thread Andrew Lunn
On Wed, Jan 16, 2013 at 12:43:57PM +0100, Stefan Peter wrote: > Hi Andrew > > on 15.01.2013 13:51, Andrew Lunn wrote: > > On Tue, Jan 15, 2013 at 01:13:12PM +0100, Stefan Peter wrote: > >> In order to be able to use the ecc-mode, add the bch module to the default > >> settings for the kirwood

[PATCH] regmap: debugfs: Fix last entry store in the offset cache

2013-01-16 Thread Philipp Zabel
Commit e8d6539c8a94b88fc7ca5d6bdd9eeb0e64b434e4 (regmap: debugfs: Make sure we store the last entry in the offset cache) causes regmap_debugfs_get_dump_start to unconditionally return base if the debugfs_off_cache is not empty when the function is called (because c == NULL). This effectively

Re: [PATCH] MODSIGN: Add TAINT_NOKEY_MODULE

2013-01-16 Thread Josh Boyer
On Wed, Jan 16, 2013 at 02:04:50PM +1030, Rusty Russell wrote: > Josh Boyer writes: > > With module signing enabled but not in enforcing mode, we don't consider > > unsigned modules to be an error. However, if we encounter an unsigned > > module we currently taint the module and kernel with

Re: [PATCH 1/4] staging: media: go7007: memory clear fix memory clearing for v4l2_subdev allocation

2013-01-16 Thread Dan Carpenter
On Wed, Jan 16, 2013 at 05:00:48PM +0400, Volokh Konstantin wrote: > Signed-off-by: Volokh Konstantin Acked-by: Dan Carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 1/4] staging: media: go7007: memory clear fix memory clearing for v4l2_subdev allocation

2013-01-16 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-driver.c |2 +- drivers/staging/media/go7007/go7007-v4l2.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-driver.c

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-16 Thread Will Deacon
On Tue, Jan 15, 2013 at 01:39:50PM +, Jiri Olsa wrote: > hi, Hi Jiri, > adding support to predefine event ratios formulas so they could > be used easily in perf. > > The formulas are handed in the config file with following format: > > set { > events =

[PATCH 4/4] staging: media: go7007: call_all stream stuff Some Additional stuff for v4l2_subdev stream events partial need for new style framework. Also need for wis_tw2804 notification stuff

2013-01-16 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-v4l2.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index a69250f..2330861 100644 ---

[PATCH 3/4] staging: media: go7007: i2c GPIO initialization Reset i2c stuff for GO7007_BOARDID_ADLINK_MPG24 need reset GPIO always when encoder initialize

2013-01-16 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-driver.c |5 + drivers/staging/media/go7007/go7007-usb.c|3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-driver.c

[PATCH 2/4] staging: media: go7007: firmware protection Protection for unfirmware load

2013-01-16 Thread Volokh Konstantin
Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-usb.c |2 +- drivers/staging/media/go7007/go7007-v4l2.c |3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-usb.c b/drivers/staging/media/go7007/go7007-usb.c

[PATCH 2/2] ARM: tegra: DTS: cardhu: register UARTC

2013-01-16 Thread Laxman Dewangan
changes as linux-next-20130116 is crashing in pincontrol. arch/arm/boot/dts/tegra30-cardhu.dtsi | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index bdb2a66..ff6b68f 100644

[PATCH 1/2] ARM: tegra: config: enable SERIAL_TEGRA

2013-01-16 Thread Laxman Dewangan
Enable high speed serial driver for tegra platform. Signed-off-by: Laxman Dewangan --- arch/arm/configs/tegra_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index a7827fd..4c5cc08 100644 ---

Re: [PATCH] context_tracking: Add comments on interface and internals

2013-01-16 Thread Namhyung Kim
Hi Frederic, On Wed, 16 Jan 2013 13:32:57 +0100, Frederic Weisbecker wrote: > This subsystem lacks many explanations on its purpose and > design. Add these missing comments. > > v3: Fix the "hook" based naming as per Ingo's suggestion [snip] > +/** > + * context_tracking_task_switch - context

Re: [BUG] perf record: --uid=x fails

2013-01-16 Thread Stephane Eranian
On Tue, Jan 15, 2013 at 3:58 PM, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jan 14, 2013 at 03:14:02PM +0100, Stephane Eranian escreveu: > > Hi, > > > > I was trying to use the --uid option of perf record but it fails for > > me no matter > > what I tried. Looks like the goal of this option is

[GIT PULL] fuse updates for 3.8

2013-01-16 Thread Miklos Szeredi
Hi Linus, Sorry for the late submission. Most of this was bound for 3.7, which I missed due to moving house. I think it makes sense to merge it now instead of next cycle as there are quite of few other fuse updates pending. Please consider pulling

Re: [PATCH v3 17/22] sched: packing small tasks in wake/exec balancing

2013-01-16 Thread Namhyung Kim
On Wed, 16 Jan 2013 14:11:53 +0800, Alex Shi wrote: > On 01/14/2013 03:13 PM, Namhyung Kim wrote: >> On Fri, 11 Jan 2013 11:47:03 +0800, Alex Shi wrote: >>> Um, change to leader_cpu? >> >> vacantest? ;-) > > hard to the ward in google. are you sure it is better than leader_cpu? :) Nop. My

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