[PATCH 3/6 v7] cpufreq: tolerate inexact values when collecting stats

2012-12-04 Thread Mark Langsdorf
This patch is withdrawn due to a need for severe rework. Changes from v4 Withdrawn. Changes from v3, v2 None. Changes from v1 Implemented a simple round-up algorithm instead of the over/under method that could cause errors on Intel processors with boost mode. -- To u

[PATCH 5/6 v7] power: export opp cpufreq functions

2012-12-04 Thread Mark Langsdorf
These functions are needed to make the cpufreq-core0 and highbank-cpufreq drivers loadable as modules. Signed-off-by: Mark Langsdorf Acked-by: Nishanth Menon --- Changes from v4, v5, v6 None. Changes from v3 includes linux/export.h instead of module.h. Changes from v2 Non

[PATCH 6/6 v7] cpufreq, highbank: add support for highbank cpufreq

2012-12-04 Thread Mark Langsdorf
Highbank processors depend on the external ECME to perform voltage management based on a requested frequency. Communication between the A9 cores and the ECME happens over the pl320 IPC channel. Signed-off-by: Mark Langsdorf Cc: shawn@linaro.org Cc: mturque...@ti.com --- Changes from v6

[PATCH 4/6 v7] arm highbank: add support for pl320 IPC

2012-12-04 Thread Mark Langsdorf
From: Rob Herring The pl320 IPC allows for interprocessor communication between the highbank A9 and the EnergyCore Management Engine. The pl320 implements a straightforward mailbox protocol. This patch depends on Omar Ramirez Luna's mailbox driver patch series. Signed-off-by: Mark Langsdorf S

Re: [ 67/89] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-12-04 Thread Josh Boyer
On Mon, Dec 3, 2012 at 6:40 PM, Deucher, Alexander wrote: >> > The original patches should go into 3.6 kernels as well: >> > >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=4 >> a15903db02026728d0cf2755c6fabae16b8db6a >> > >> http://git.kernel.org/?p=linux/kernel/git

Re: [PATCH 2/2] mm/migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalable

2012-12-04 Thread Michel Lespinasse
On Mon, Dec 3, 2012 at 6:17 AM, Mel Gorman wrote: > On Sat, Dec 01, 2012 at 09:15:38PM +0100, Ingo Molnar wrote: >> @@ -732,7 +732,7 @@ static int page_referenced_anon(struct p >> struct anon_vma_chain *avc; >> int referenced = 0; >> >> - anon_vma = page_lock_anon_vma(page); >> +

Re: [PATCH 2/2, v2] mm/migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalable

2012-12-04 Thread Michel Lespinasse
On Sun, Dec 2, 2012 at 7:12 AM, Ingo Molnar wrote: > * Rik van Riel wrote: > >> >+static inline void anon_vma_lock_read(struct anon_vma *anon_vma) >> >+{ >> >+down_read(&anon_vma->root->rwsem); >> >+} >> >> I see you did not rename anon_vma_lock and anon_vma_unlock to >> anon_vma_lock_write a

Re: [patch,v2] bdi: add a user-tunable cpu_list for the bdi flusher threads

2012-12-04 Thread Jeff Moyer
Dave Chinner writes: > On Mon, Dec 03, 2012 at 01:53:39PM -0500, Jeff Moyer wrote: >> +static ssize_t cpu_list_store(struct device *dev, >> +struct device_attribute *attr, const char *buf, size_t count) >> +{ >> +struct backing_dev_info *bdi = dev_get_drvdata(dev); >> +struct

Re: [PATCH 49/52] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-04 Thread Michel Lespinasse
On Sun, Dec 2, 2012 at 10:43 AM, Ingo Molnar wrote: > Convert the struct anon_vma::mutex to an rwsem, which will help > in solving a page-migration scalability problem. (Addressed in > a separate patch.) > > The conversion is simple and straightforward: in every case > where we mutex_lock()ed we'l

Re: [PATCH] watchdog: store the watchdog sample period as a variable

2012-12-04 Thread Don Zickus
On Tue, Dec 04, 2012 at 06:58:42PM +0800, Chuansheng Liu wrote: > > Currently getting the sample period is always thru complex > calculation: get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5). > But just like the watchdog_thresh, which is not changed often. > > So we can store the sample period a

Re: [PATCH net-next 2/3] virtio_net: multiqueue support

2012-12-04 Thread Jason Wang
On Tuesday, December 04, 2012 03:24:22 PM Michael S. Tsirkin wrote: > I found some bugs, see below. > Also some style nitpicking, this is not mandatory to address. Thanks for the reviewing. > > On Tue, Dec 04, 2012 at 07:07:57PM +0800, Jason Wang wrote: > > This addes multiqueue support to virtio

Re: [PATCH] memory: of_memory.c: remove unnecessary initialization

2012-12-04 Thread Santosh Shilimkar
On Tuesday 04 December 2012 07:25 PM, Grant Likely wrote: On Tue, Dec 4, 2012 at 11:44 AM, Santosh Shilimkar wrote: On Tuesday 04 December 2012 04:56 PM, Cong Ding wrote: the initialization of variable ret is unnecessary, we can remove it while save one time "or" operation. Signed-off-by: Co

Re: switcheroo registration vs switching race...

2012-12-04 Thread Daniel J Blueman
On 4 December 2012 21:55, Takashi Iwai wrote: > At Tue, 04 Dec 2012 14:23:05 +0100, > Takashi Iwai wrote: >> >> At Tue, 4 Dec 2012 20:58:55 +0800, >> Daniel J Blueman wrote: >> > >> > On 4 December 2012 01:10, Takashi Iwai wrote: >> > > At Tue, 4 Dec 2012 00:50:56 +0800, >> > > Daniel J Blueman w

Re: [PATCH net-next 3/3] virtio-net: change the number of queues through ethtool

2012-12-04 Thread Jason Wang
On Tuesday, December 04, 2012 03:49:59 PM Michael S. Tsirkin wrote: > On Tue, Dec 04, 2012 at 07:07:58PM +0800, Jason Wang wrote: > > This patch implement the ethtool_{set|get}_channels method of ethool to > > allow user to change the number of queues dymaically when the device is > > running. This

Re: [RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-12-04 Thread Paul E. McKenney
On Tue, Dec 04, 2012 at 03:02:51PM +0200, Gleb Natapov wrote: > On Tue, Dec 04, 2012 at 10:36:02AM +0800, Li Zhong wrote: > > On Mon, 2012-12-03 at 11:57 +0200, Gleb Natapov wrote: > > > Please regenerate the patch against > > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue. > > > > Done. >

Re: [PATCH] mm: protect against concurrent vma expansion

2012-12-04 Thread Michel Lespinasse
expand_stack() runs with a shared mmap_sem lock. Because of this, there could be multiple concurrent stack expansions in the same mm, which may cause problems in the vma gap update code. I propose to solve this by taking the mm->page_table_lock around such vma expansions, in order to avoid the con

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Takuya Yoshikawa
On Mon, 03 Dec 2012 16:39:05 -0700 Alex Williamson wrote: > A couple notes/questions; in the previous version we had a > kvm_arch_flush_shadow() call when we increased the number of slots. > I'm not sure if this is still necessary. I had also made the x86 > specific slot_bitmap dynamically grow

Re: [PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Kevin Liu
2012/12/4 Marek Szyprowski : > Some regulators don't report any voltage values, so checking supported > voltage range results in disabling all SDHCI_CAN_VDD_* flags and > registration failure. This patch finally provides a correct fix for the > registration of SDHCI driver with all possible voltage

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-12-04 Thread Namhyung Kim
Hi Arnaldo, On Tue, 4 Dec 2012 10:50:49 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 04, 2012 at 06:16:59PM +0900, Namhyung Kim escreveu: >> On Fri, Nov 30, 2012 at 10:52 PM, Arnaldo Carvalho de Melo wrote: > >> Ah, I missed your point. Just got it now, will try this approach. So >> you

Re: [PATCH RESEND] spi: erase pointer to drvdata on removal

2012-12-04 Thread Grant Likely
On Mon, Dec 3, 2012 at 8:28 PM, Vivien Didelot wrote: > Without this patch, a SPI device may keep its drvdata whereas it was unbound > from its driver. This may result in accessing an invalid pointer. > > As for i2c-core, let the SPI core handle the removal of the device's drvdata, > after a remov

Re: [PATCH 1/3] perf hists: Exchange order of comparing items when collapsing hists

2012-12-04 Thread Namhyung Kim
On Tue, 4 Dec 2012 10:44:05 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 04, 2012 at 01:44:23PM +0900, Namhyung Kim escreveu: >> From: Namhyung Kim >> >> When comparing entries for collapsing put the given entry first, and >> then the iterated entry. This is not the case of hist_entry__c

Re: [linux-keystone] [PATCH v2] drivers: cma: fix addressing on PAE machines

2012-12-04 Thread Santosh Shilimkar
On Tuesday 04 December 2012 06:37 PM, Michal Nazarewicz wrote: On Monday 03 December 2012 09:16 PM, Vitaly Andrianov wrote: This patch fixes a couple of bugs that otherwise impair CMA functionality on PAE machines: - alignment must be a 64-bit type when running on systems with 64-bit

Re: switcheroo registration vs switching race...

2012-12-04 Thread Takashi Iwai
At Tue, 4 Dec 2012 22:46:47 +0800, Daniel J Blueman wrote: > > On 4 December 2012 21:55, Takashi Iwai wrote: > > At Tue, 04 Dec 2012 14:23:05 +0100, > > Takashi Iwai wrote: > >> > >> At Tue, 4 Dec 2012 20:58:55 +0800, > >> Daniel J Blueman wrote: > >> > > >> > On 4 December 2012 01:10, Takashi Iw

Re: [PATCH 3/3] perf diff: Use internal rb tree for compute resort

2012-12-04 Thread Namhyung Kim
On Tue, 4 Dec 2012 10:45:44 -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 04, 2012 at 01:44:25PM +0900, Namhyung Kim escreveu: >> From: Namhyung Kim >> >> There's no reason to run hists_compute_resort() using output tree. >> Convert it to use internal tree so that it can remove unnecessary

Re: [PATCH net-next 2/3] virtio_net: multiqueue support

2012-12-04 Thread Michael S. Tsirkin
On Tue, Dec 04, 2012 at 10:45:33PM +0800, Jason Wang wrote: > On Tuesday, December 04, 2012 03:24:22 PM Michael S. Tsirkin wrote: > > I found some bugs, see below. > > Also some style nitpicking, this is not mandatory to address. > > Thanks for the reviewing. > > > > On Tue, Dec 04, 2012 at 07:07

Re: [RFC PATCH 01/10] CPU hotplug: Introduce "stable" cpu online mask, for atomic hotplug readers

2012-12-04 Thread Tejun Heo
Hello, Srivatsa. On Tue, Dec 04, 2012 at 02:23:41PM +0530, Srivatsa S. Bhat wrote: > extern const struct cpumask *const cpu_possible_mask; > extern const struct cpumask *const cpu_online_mask; > +extern const struct cpumask *const cpu_online_stable_mask; > extern const struct cpumask *const cpu

[PATCHv3 3/5] serial: 8250_dw: Map IO memory

2012-12-04 Thread Heikki Krogerus
This needs to be done in order to later access the Designware specific registers. Signed-off-by: Heikki Krogerus --- drivers/tty/serial/8250/8250_dw.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_d

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Alex Williamson
On Tue, 2012-12-04 at 13:48 +0200, Gleb Natapov wrote: > On Mon, Dec 03, 2012 at 04:39:05PM -0700, Alex Williamson wrote: > > Memory slots are currently a fixed resource with a relatively small > > limit. When using PCI device assignment in a qemu guest it's fairly > > easy to exhaust the number o

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Alex Williamson
On Tue, 2012-12-04 at 23:48 +0900, Takuya Yoshikawa wrote: > On Mon, 03 Dec 2012 16:39:05 -0700 > Alex Williamson wrote: > > > A couple notes/questions; in the previous version we had a > > kvm_arch_flush_shadow() call when we increased the number of slots. > > I'm not sure if this is still neces

[PATCH 00/14] i2c-hid cleanup and bug fixes

2012-12-04 Thread Benjamin Tissoires
Hi guys, Jean made a recent review of i2c-hid, and before this driver goes into Linus' tree, here are some cleanups. Patch 2 has not been detected by Jean, but it appeared while playing with buffers allocation. So this is the only change not asked by the previous review. I still need to work on

RE: [char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Winkler, Tomas
> > > > /** > > @@ -451,7 +451,7 @@ static inline u32 mei_reg_read(const struct > > mei_device *dev, static inline void mei_reg_write(const struct mei_device > *dev, > > unsigned long offset, u32 value) { > > - iowrite32(value, dev->mem_addr + offset); > > + writ

[PATCH 08/14] HID: i2c-hid: fix error messages

2012-12-04 Thread Benjamin Tissoires
Signed-off-by: Benjamin Tissoires --- drivers/hid/i2c-hid/i2c-hid.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index d6fdb3e..da04948 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Gleb Natapov
On Tue, Dec 04, 2012 at 08:21:55AM -0700, Alex Williamson wrote: > On Tue, 2012-12-04 at 13:48 +0200, Gleb Natapov wrote: > > On Mon, Dec 03, 2012 at 04:39:05PM -0700, Alex Williamson wrote: > > > Memory slots are currently a fixed resource with a relatively small > > > limit. When using PCI devic

[PATCH 01/14] HID: i2c-hid: change I2C name

2012-12-04 Thread Benjamin Tissoires
no I2C driver has "i2c" in its name. It makes more sense to call this i2c driver "hid". Signed-off-by: Benjamin Tissoires --- drivers/hid/i2c-hid/i2c-hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 67ab

[PATCH v2] HDA: Add PCI device prefix for clarity

2012-12-04 Thread Daniel J Blueman
When printing, use a prefix of the PCI domain, bus, device and function as in other drivers, to differentiate multiple devices. Important for reporting and debugging. A future step is to tidy this up with dev_printk et al. v2: Move conversion specifier into call site, preventing build issues Sig

Re: [char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Alan Cox
> > so you need to tweak the map/unmap if you do this. > > > > As to overhead. I'd love to see a measurement that can detect the > > difference. Do you have a benchmark that shows it ? > > Don't have any numbers but it seems reasonable to me. Processors are pretty good at prediction these days.

Re: [PATCH] megaraid: fix use of delayed work

2012-12-04 Thread Tejun Heo
On Tue, Dec 04, 2012 at 07:33:54PM +0800, Xiaotian Feng wrote: > megaraid use INIT_WORK to declare a hotplug_work, but cast the hotplug_work > from work_struct to delayed_work and schedule_delayed_work on it. This is > very dangerous, as other part of delayed_work might be kernel memories > alloca

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Alex Williamson
On Tue, 2012-12-04 at 17:30 +0200, Gleb Natapov wrote: > On Tue, Dec 04, 2012 at 08:21:55AM -0700, Alex Williamson wrote: > > On Tue, 2012-12-04 at 13:48 +0200, Gleb Natapov wrote: > > > On Mon, Dec 03, 2012 at 04:39:05PM -0700, Alex Williamson wrote: > > > > Memory slots are currently a fixed reso

Re: [PATCH 1/2] vfio powerpc: enabled on powernv platform

2012-12-04 Thread Alex Williamson
On Tue, 2012-12-04 at 19:12 +1100, Alexey Kardashevskiy wrote: > On 04/12/12 04:35, Alex Williamson wrote: > > On Mon, 2012-12-03 at 13:52 +1100, Alexey Kardashevskiy wrote: > >> This patch initializes IOMMU groups based on the IOMMU > >> configuration discovered during the PCI scan on POWERNV > >>

Re: [PATCH v2] HDA: Add PCI device prefix for clarity

2012-12-04 Thread Takashi Iwai
At Tue, 4 Dec 2012 23:31:41 +0800, Daniel J Blueman wrote: > > When printing, use a prefix of the PCI domain, bus, device and function > as in other drivers, to differentiate multiple devices. > > Important for reporting and debugging. A future step is to tidy this up with > dev_printk et al. >

Re: switcheroo registration vs switching race...

2012-12-04 Thread Daniel J Blueman
On 4 December 2012 23:03, Takashi Iwai wrote: > At Tue, 4 Dec 2012 22:46:47 +0800, > Daniel J Blueman wrote: >> >> On 4 December 2012 21:55, Takashi Iwai wrote: >> > At Tue, 04 Dec 2012 14:23:05 +0100, >> > Takashi Iwai wrote: >> >> >> >> At Tue, 4 Dec 2012 20:58:55 +0800, >> >> Daniel J Blueman

Re: [PATCH] MIPS: Avoid Machine Check by flushing entire page range in huge_ptep_set_access_flags().

2012-12-04 Thread Ralf Baechle
On Mon, Dec 03, 2012 at 12:44:26PM -0800, David Daney wrote: Looks good and has survived my testing so far. Applied. Thanks David! Ralf -- 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

[PATCH 2/2] workqueue: convert BUG_ON()s in __queue_delayed_work() to WARN_ON_ONCE()s

2012-12-04 Thread Tejun Heo
>From 87aa1e796ff6d491b5ed4e5663e5a4e449ac513b Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 4 Dec 2012 07:40:39 -0800 8852aac25e ("workqueue: mod_delayed_work_on() shouldn't queue timer on 0 delay") unexpectedly uncovered a very nasty abuse of delayed_work in megaraid - it allocated work_s

Re: [PATCH 6/6 v7] cpufreq, highbank: add support for highbank cpufreq

2012-12-04 Thread Shawn Guo
On Tue, Dec 04, 2012 at 08:34:02AM -0600, Mark Langsdorf wrote: > Highbank processors depend on the external ECME to perform voltage > management based on a requested frequency. Communication between the > A9 cores and the ECME happens over the pl320 IPC channel. > > Signed-off-by: Mark Langsdorf

[PATCH 1/2] megaraid: fix BUG_ON() from incorrect use of delayed work

2012-12-04 Thread Tejun Heo
>From c1d390d8e6128b050f0f66b1c33d390760deb3f4 Mon Sep 17 00:00:00 2001 From: Xiaotian Feng Date: Tue, 4 Dec 2012 19:33:54 +0800 megaraid use INIT_WORK to declare a hotplug_work, but cast the hotplug_work from work_struct to delayed_work and schedule_delayed_work on it. This is very dangerous, a

Re: [PATCH] megaraid: fix use of delayed work

2012-12-04 Thread Tejun Heo
Hello, again, Xiaotian. On Tue, Dec 04, 2012 at 07:39:39AM -0800, Tejun Heo wrote: > Urgh... what the Didn't see that one coming. I'm gonna push this > to Linus through the workqueue tree. > > Thanks for the fix. It seems like megaraid doesn't have any reason to use delayed_work at all. I

Re: [PATCH 4/4 v8] AMD64 EDAC: Fix type usage in NB IDs and memory ranges

2012-12-04 Thread Borislav Petkov
On Tue, Dec 04, 2012 at 05:24:16PM +0800, Daniel J Blueman wrote: > It works well on fam10h and fam15h boxes, with and without Numaconnect. Good, thanks for testing. I will send it upstream after the upcoming merge window closes since it is too late for this one now and I wouldn't want to rush it

RE: [char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Winkler, Tomas
> > > As to overhead. I'd love to see a measurement that can detect the > > > difference. Do you have a benchmark that shows it ? > > > > Don't have any numbers but it seems reasonable to me. > > Processors are pretty good at prediction these days. I've not seen any > evidence to support the assum

Re: switcheroo registration vs switching race...

2012-12-04 Thread Takashi Iwai
At Tue, 4 Dec 2012 23:54:39 +0800, Daniel J Blueman wrote: > > On 4 December 2012 23:03, Takashi Iwai wrote: > > At Tue, 4 Dec 2012 22:46:47 +0800, > > Daniel J Blueman wrote: > >> > >> On 4 December 2012 21:55, Takashi Iwai wrote: > >> > At Tue, 04 Dec 2012 14:23:05 +0100, > >> > Takashi Iwai w

Re: [char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 16:02:17 + "Winkler, Tomas" wrote: > > > > As to overhead. I'd love to see a measurement that can detect > > > > the difference. Do you have a benchmark that shows it ? > > > > > > Don't have any numbers but it seems reasonable to me. > > > > Processors are pretty good at

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-12-04 Thread Mauro Carvalho Chehab
Em 24-09-2012 09:44, Marek Szyprowski escreveu: Hello, On Monday, September 24, 2012 12:59 PM Federico Vaga wrote: The DMA streaming allocator is similar to the DMA contig but it use the DMA streaming interface (dma_map_single, dma_unmap_single). The allocator allocates buffers and immediately

Re: [PATCH 01/14] HID: i2c-hid: change I2C name

2012-12-04 Thread Jean Delvare
On Tue, 4 Dec 2012 16:27:42 +0100, Benjamin Tissoires wrote: > no I2C driver has "i2c" in its name. It makes more sense to call this > i2c driver "hid". > > Signed-off-by: Benjamin Tissoires > --- > drivers/hid/i2c-hid/i2c-hid.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: kswapd craziness in 3.7

2012-12-04 Thread Johannes Weiner
On Tue, Dec 04, 2012 at 10:15:09AM +0100, Jiri Slaby wrote: > On 12/04/2012 10:05 AM, Zdenek Kabelac wrote: > > Dne 3.12.2012 20:18, Johannes Weiner napsal(a): > >> Szia Zdenek, > >> > >> On Mon, Dec 03, 2012 at 04:23:15PM +0100, Zdenek Kabelac wrote: > >>> Ok, bad news - I've been hit by kswapd0

Re: next: ext4 build failure

2012-12-04 Thread Tao Ma
Hi Jiri, Thanks for the report. The corresponding fix is already sent to Ted in the patch named "ext4: Fix inline data build warning found by kernel build testing.", but it seems that Ted hasn't pushed it into ext4dev yet. Thanks Tao On 12/04/2012 05:29 PM, Jiri Slaby wrote: > Hi, > > commit a

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-04 Thread Mauro Carvalho Chehab
Em 24-09-2012 07:58, Federico Vaga escreveu: This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: G

Re: kswapd craziness in 3.7

2012-12-04 Thread Johannes Weiner
On Tue, Dec 04, 2012 at 10:05:29AM +0100, Zdenek Kabelac wrote: > Dne 3.12.2012 20:18, Johannes Weiner napsal(a): > >Szia Zdenek, > > > >On Mon, Dec 03, 2012 at 04:23:15PM +0100, Zdenek Kabelac wrote: > >>Ok, bad news - I've been hit by kswapd0 loop again - > >>my kernel git commit cc19528bd3084c3

Re: [PATCH 1/2] Staging: android: binder: Add support for 32bit binder calls in a 64bit kernel

2012-12-04 Thread Greg KH
On Tue, Dec 04, 2012 at 10:44:13AM +, Serban Constantinescu wrote: > Android's IPC, Binder, does not support calls from a 32-bit userspace > in a 64 bit kernel. This patch adds support for syscalls coming from a > 32-bit userspace in a 64-bit kernel. > > Most of the changes were applied to typ

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2012 at 09:53:38AM +0100, Philipp Zabel wrote: > Hi, > > On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: > > These patches add support to configure on-chip SRAM via device-tree > > node or platform data and to obtain the resulting genalloc pool from > > the physical address

Re: kswapd craziness in 3.7

2012-12-04 Thread Jiri Slaby
On 12/04/2012 05:11 PM, Johannes Weiner wrote: Any chance you could retry with this patch on top? >> >> It does not apply to -next :/. Should I try anything else? > > The COMPACTION_BUILD changed to IS_ENABLED(CONFIG_COMPACTION), below > is a -next patch. I hope you don't run into other prob

[GIT PULL] workqueue fixes for 3.7-rc8

2012-12-04 Thread Tejun Heo
Hello, Linus. So, safe fixes my ass. 8852aac ("workqueue: mod_delayed_work_on() shouldn't queue timer on 0 delay") had the side-effect of performing delayed_work sanity checks even when @delay is 0, which should be fine for any sane use cases. Unfortunately, megaraid was being overly ingenious.

Re: [GIT PULL] linux-firmware: cx23885: update to Version 2.06.139

2012-12-04 Thread Tim Gardner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/03/2012 10:07 PM, Ben Hutchings wrote: > On Mon, 2012-12-03 at 11:13 -0700, Tim Gardner wrote: >> Ben - what is your policy on extracting firmware from Windows >> drivers? > > > I'm not sure how you can say they are the same files, as you'r

Re: [GIT PULL] linux-firmware: cx23885: update to Version 2.06.139

2012-12-04 Thread Mauro Carvalho Chehab
Em 04-12-2012 03:07, Ben Hutchings escreveu: On Mon, 2012-12-03 at 11:13 -0700, Tim Gardner wrote: Ben - what is your policy on extracting firmware from Windows drivers? I suppose the policy should be that the driver's licence must allow extracting and then distributing the result. Which I wo

Re: [PATCH RESEND] spi: erase pointer to drvdata on removal

2012-12-04 Thread Vivien Didelot
Hi Grant, On Tue, 2012-12-04 at 14:56 +, Grant Likely wrote: > Instead of clearing the pointer only in the spi code, perhaps the > checks should be in really_probe() and __device_release_driver() so it > covers all bus types. Also, don't clear the pointer. Just use > dev_err() to report on the

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Gleb Natapov
On Tue, Dec 04, 2012 at 08:39:47AM -0700, Alex Williamson wrote: > On Tue, 2012-12-04 at 17:30 +0200, Gleb Natapov wrote: > > On Tue, Dec 04, 2012 at 08:21:55AM -0700, Alex Williamson wrote: > > > On Tue, 2012-12-04 at 13:48 +0200, Gleb Natapov wrote: > > > > On Mon, Dec 03, 2012 at 04:39:05PM -070

Re: [PATCH v7 0/4] Add generic driver for on-chip SRAM

2012-12-04 Thread Philipp Zabel
On Tue, 2012-12-04 at 08:19 -0800, Greg Kroah-Hartman wrote: > On Tue, Dec 04, 2012 at 09:53:38AM +0100, Philipp Zabel wrote: > > Hi, > > > > On Fri, 2012-11-23 at 15:24 +0100, Philipp Zabel wrote: > > > These patches add support to configure on-chip SRAM via device-tree > > > node or platform dat

[PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2012-12-04 Thread Lars Poeschel
Hello! I wanted to use a fm24c04 i2c fram chip with linux. I grepped the source and found nothing. I later found that my chip can be handled by at24 eeprom driver. It creates a sysfs file called eeprom to read from and write to the chip. Userspace has no chance to distinguish if it is writing an e

Re: [PATCHv3 3/5] serial: 8250_dw: Map IO memory

2012-12-04 Thread Jamie Iles
Looks good to me! On Tue, Dec 04, 2012 at 05:21:52PM +0200, Heikki Krogerus wrote: > This needs to be done in order to later access the > Designware specific registers. > > Signed-off-by: Heikki Krogerus Reviewed-by: Jamie Iles -- To unsubscribe from this list: send the line "unsubscribe linux

[PATCH] x86,AMD: Power driver support for AMD's family 16h processors

2012-12-04 Thread Boris Ostrovsky
Add family 16h PCI ID to AMD's power driver to allow it report power consumption on these processors. Signed-off-by: Boris Ostrovsky --- drivers/hwmon/fam15h_power.c |1 + include/linux/pci_ids.h |1 + 2 files changed, 2 insertions(+) diff --git a/drivers/hwmon/fam15h_power.c b/dri

[PATCH v6 1/3] aerdrv: Trace Event for AER

2012-12-04 Thread Lance Ortiz
This header file will define a new trace event that will be triggered when a AER event occurs. The following data will be provided to the trace event. char * dev_name - The name of the slot where the device resides ([domain:]bus:device.function). u32 status - Either the correct

[PATCH v6 2/3] aerdrv: Enhanced AER logging

2012-12-04 Thread Lance Ortiz
This patch will provide a more reliable and easy way for user-space applications to have access to AER logs rather than reading them from the message buffer. It also provides a way to notify user-space when an AER event occurs. The aer driver is updated to generate a trace event of function 'aer_e

[PATCH v6 3/3] aerdrv: Cleanup log output for CPER based AER

2012-12-04 Thread Lance Ortiz
These changes make cper_print_aer more consistent with aer_print_error which is called in the AER interrupt case. The string in the variable 'prefix' is printed at the beginning of each print statement in cper_print_aer(). The prefix is a string containing the driver name and the device's slot loca

Re: [PATCH v2] net/macb: Use non-coherent memory for rx buffers

2012-12-04 Thread Nicolas Ferre
On 12/03/2012 03:25 PM, David Laight : >> On 12/03/2012 01:43 PM, David Laight : Allocate regular pages to use as backing for the RX ring and use the DMA API to sync the caches. This should give a bit better performance since it allows the CPU to do burst transfers from memory. It is

Re: [PATCH] net/macb: Use dmapool to align descriptors on 64bits

2012-12-04 Thread Nicolas Ferre
On 12/03/2012 03:01 PM, Ben Hutchings : > On Mon, 2012-12-03 at 13:15 +0100, Nicolas Ferre wrote: >> Depending on datapath, some revisions of GEM need >> 64bits aligned descriptors. Use dmapool to allocate >> these descriptors. >> Note that different size between RX and TX rings >> leads to the cre

Re: [PATCH] x86,AMD: Power driver support for AMD's family 16h processors

2012-12-04 Thread Bjorn Helgaas
On Tue, Dec 4, 2012 at 5:10 AM, Boris Ostrovsky wrote: > Add family 16h PCI ID to AMD's power driver to allow it report > power consumption on these processors. > > Signed-off-by: Boris Ostrovsky > --- > drivers/hwmon/fam15h_power.c |1 + > include/linux/pci_ids.h |1 + > 2 files ch

Re: [PATCH 00/10] Latest numa/core release, v18

2012-12-04 Thread Thomas Gleixner
On Mon, 3 Dec 2012, Mel Gorman wrote: > On Fri, Nov 30, 2012 at 12:37:49PM -0800, Linus Torvalds wrote: > > So if this is a migration-specific scalability issue, then it might be > > possible to solve by making the mutex be a rwsem instead, and have > > migration only take it for reading. > > > >

Re: [PATCH v2 1/3] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-04 Thread Bryan Wu
On Tue, Dec 4, 2012 at 12:11 AM, Peter Ujfalusi wrote: > Hi Bryan, > > On 12/03/2012 07:32 PM, Bryan Wu wrote: >> On Mon, Dec 3, 2012 at 6:13 AM, Peter Ujfalusi wrote: >> Actually, I'm waiting for some feedback from DT maintainers about this >> new binding. But it looks find to me. > > Would it b

Re: [PATCH v6 3/3] aerdrv: Cleanup log output for CPER based AER

2012-12-04 Thread Joe Perches
On Tue, 2012-12-04 at 10:04 -0700, Lance Ortiz wrote: > These changes make cper_print_aer more consistent with aer_print_error > which is called in the AER interrupt case. The string in the variable > 'prefix' is printed at the beginning of each print statement in > cper_print_aer(). The prefix is

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-12-04 Thread Raghavendra K T
On 12/04/2012 01:26 AM, Marcelo Tosatti wrote: On Wed, Nov 28, 2012 at 10:40:56AM +0530, Raghavendra K T wrote: On 11/28/2012 06:42 AM, Marcelo Tosatti wrote: Don't understand the reasoning behind why 3 is a good choice. Here is where I came from. (explaining from scratch for completeness, f

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Alex Williamson
On Tue, 2012-12-04 at 18:42 +0200, Gleb Natapov wrote: > On Tue, Dec 04, 2012 at 08:39:47AM -0700, Alex Williamson wrote: > > On Tue, 2012-12-04 at 17:30 +0200, Gleb Natapov wrote: > > > On Tue, Dec 04, 2012 at 08:21:55AM -0700, Alex Williamson wrote: > > > > On Tue, 2012-12-04 at 13:48 +0200, Gleb

Re: PTRACE_SYSCALL && vsyscall (Was: arch_check_bp_in_kernelspace: fix the range check)

2012-12-04 Thread Oleg Nesterov
On 12/03, u3...@miso.sublimeip.com wrote: > > > However. Of course it would be nice to avoid the new option. IMO it > > would be better to do nothing ;) vsyscall is deprecated, and EMULATE > > is x86-specific. > > The problem is that the current static glibc invokes the vsyscall page, Yes I know.

Re: [RFC][PATCH 1/2] modsig: add support to sign kernel modules using ephemeral keys

2012-12-04 Thread David Howells
Rusty Russell wrote: > > +PHONY += _newmodpubkey_ > > +_newmodpubkey_: > > + @rm -f $(MODSECKEY) $(MODPUBKEY) > > + $(Q)$(MAKE) -W kernel/modsign_pubkey.o Please don't do this. It can muck up the dependencies as make thinks it has already done this file at this point. Also, rebuilding bzI

Re: [PATCH 1/3] MODSIGN: Fix comparison erros in scripts/sign-file

2012-12-04 Thread David Howells
Michal Marek wrote: > Signed-off-by: Michal Marek If only perl gave you warnings for this as gcc does... Acked-by: David Howells -- 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

Re: [PATCH 2/3] MODSIGN: Avoid using .incbin in C source

2012-12-04 Thread David Howells
Michal Marek wrote: > Using the asm .incbin statement in C sources breaks any gcc wrapper which > assumes that preprocessed C source is self-contained. Use a separate .S > file to include the siging key and certificate. I was trying to avoid that as .S files generally don't crop up in generic co

Re: [PATCH 1/3] cifs: Remove unused cEVENT macro

2012-12-04 Thread Joe Perches
(resending due to bounces, sorry for any inconvenience) On Fri, 2012-11-30 at 09:39 -0600, Steve French wrote: > But ... the need still remains for more tracing for cifs (I run into > this a few times a month at least when debugging) - does anyone have > any ideas for how to add dynamic trace poin

Re: [PATCH] xen/blkback: do not leak mode property

2012-12-04 Thread Olaf Hering
On Tue, Dec 04, Jan Beulich wrote: > This looks necessary but insufficient - there's nothing really > preventing backend_changed() from being called more than once > for a given device (is simply the handler of xenbus watch). Hence > I think either that function needs to be guarded against multipl

Re: [PATCH] net/macb: increase RX buffer size for GEM

2012-12-04 Thread David Miller
From: Nicolas Ferre Date: Mon, 3 Dec 2012 13:15:43 +0100 > Macb Ethernet controller requires a RX buffer of 128 bytes. It is > highly sub-optimal for Gigabit-capable GEM that is able to use > a bigger DMA buffer. Change this constant and associated macros > with data stored in the private structu

Re: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-04 Thread Scott Wood
On 12/04/2012 05:53:33 AM, Sethi Varun-B16395 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Monday, December 03, 2012 10:34 PM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; linux-kernel@vger.kernel.org; iommu@lists.linux- > foundation.org; Wood Scott-B07421; linuxppc-...@

Re: [PATCH 2/2] mm/migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalable

2012-12-04 Thread Mel Gorman
On Tue, Dec 04, 2012 at 06:37:41AM -0800, Michel Lespinasse wrote: > On Mon, Dec 3, 2012 at 6:17 AM, Mel Gorman wrote: > > On Sat, Dec 01, 2012 at 09:15:38PM +0100, Ingo Molnar wrote: > >> @@ -732,7 +732,7 @@ static int page_referenced_anon(struct p > >> struct anon_vma_chain *avc; > >>

Re: [PATCH] dev_change_net_namespace: send a KOBJ_REMOVED/KOBJ_ADD

2012-12-04 Thread David Miller
From: Serge Hallyn Date: Mon, 3 Dec 2012 20:17:12 -0600 > When a new nic is created in namespace ns1, the kernel sends a KOBJ_ADD uevent > to ns1. When the nic is moved to ns2, we only send a KOBJ_MOVE to ns2, and > nothing to ns1. > > This patch changes that behavior so that when moving a nic

Re: Linux 3.7-rc8

2012-12-04 Thread Tony Luck
> Linus Torvalds writes: > >> Does that fix the printk's for you too? > > Yep, works for me, thanks! Belated "works for me too" (just in case you were worrying that ia64 was still broken). -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH RFC] misc/at24: distinguish between eeprom and fram chips

2012-12-04 Thread Wolfram Sang
Hi, > I wanted to use a fm24c04 i2c fram chip with linux. I grepped the source > and found nothing. I later found that my chip can be handled by at24 > eeprom driver. It creates a sysfs file called eeprom to read from and > write to the chip. Userspace has no chance to distinguish if it is > writi

Re: [regression] Re: [ 049/149] rtc: Disable the alarm in the hardware (v2)

2012-12-04 Thread John Stultz
On 12/04/2012 02:34 AM, Heinz Wiesinger wrote: On Monday 03 December 2012 15:14:12 you wrote: On 11/05/2012 02:55 PM, Heinz Wiesinger wrote: On Monday 05 November 2012 11:13:31 Greg KH wrote: On Mon, Nov 05, 2012 at 01:11:18AM -0800, Jonathan Nieder wrote: Hi, In March, Greg KH wrote: 3.2-s

Re: [PATCH v6 1/3] aerdrv: Trace Event for AER

2012-12-04 Thread Mauro Carvalho Chehab
Em Tue, 04 Dec 2012 10:04:30 -0700 Lance Ortiz escreveu: > This header file will define a new trace event that will be triggered when > a AER event occurs. The following data will be provided to the trace > event. > > char * dev_name - The name of the slot where the device resides >

Re: [PATCH v6 2/3] aerdrv: Enhanced AER logging

2012-12-04 Thread Mauro Carvalho Chehab
Em Tue, 04 Dec 2012 10:04:36 -0700 Lance Ortiz escreveu: > This patch will provide a more reliable and easy way for user-space > applications to have access to AER logs rather than reading them from the > message buffer. It also provides a way to notify user-space when an AER > event occurs. > >

[PATCH v2] net: phy: smsc: force all capable mode if the phy is started in powerdown mode

2012-12-04 Thread Philippe Reynes
A SMSC PHY in power down mode can't be used. If a SMSC PHY is in this mode in the config_init stage, the mode "all capable" is set. So the PHY could then be used. Signed-off-by: Philippe Reynes --- Difference between v1 and v2: - move comment after first block - update comment to network rules

Re: [linux-keystone] [PATCH v2] drivers: cma: fix addressing on PAE machines

2012-12-04 Thread Michal Nazarewicz
> On Tuesday 04 December 2012 06:37 PM, Michal Nazarewicz wrote: >> They are all related to the very same issue, and what the whole patch >> does is change the type used to store physical addresses from unsigned >> long to phys_addr_t. This is really a single change. On Tue, Dec 04 2012, Santosh

Re: [PATCH v2 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-12-04 Thread Dmitry Torokhov
Hi Li, On Tue, Dec 04, 2012 at 06:26:29AM -0500, Li Wu wrote: > +STM FTK TOUCHSCREEN DRIVER > +M: Li Wu > +L: device-drivers-de...@blackfin.uclinux.org > +W: http://www.st.com > +S: Supported > +F: drivers/input/touchscreen/ftk.c > + > + You have an extra blank line here

Re: [RFC][PATCH 1/2] modsig: add support to sign kernel modules using ephemeral keys

2012-12-04 Thread Mimi Zohar
On Tue, 2012-12-04 at 18:14 +, David Howells wrote: > Rusty Russell wrote: > > > > +PHONY += _newmodpubkey_ > > > +_newmodpubkey_: > > > + @rm -f $(MODSECKEY) $(MODPUBKEY) > > > + $(Q)$(MAKE) -W kernel/modsign_pubkey.o > > Please don't do this. It can muck up the dependencies as make think

Re: [RFC v2] Support volatile range for anon vma

2012-12-04 Thread John Stultz
On 12/03/2012 11:22 PM, Minchan Kim wrote: On Mon, Dec 03, 2012 at 04:57:20PM -0800, John Stultz wrote: On 12/03/2012 04:00 PM, Minchan Kim wrote: On Wed, Nov 28, 2012 at 08:18:01PM -0800, John Stultz wrote: On 11/21/2012 04:36 PM, John Stultz wrote: 2) Being able to use this with tmpfs files

Re: [PATCH 3/3] MODSIGN: Drop ccache hack

2012-12-04 Thread David Howells
Michal Marek wrote: > The __TIME__ macro is not needed anymore, because the pubkey is included > in a separate .S file. Acked-by: David Howells -- 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

<    1   2   3   4   5   >