Re: [RFC PATCH v3 3/13] memory-hotplug : unify argument of firmware_map_add_early/hotplug

2012-07-11 Thread Dave Hansen
On 07/09/2012 03:25 AM, Yasuaki Ishimatsu wrote: > @@ -642,7 +642,7 @@ int __ref add_memory(int nid, u64 start, > } > > /* create new memmap entry */ > - firmware_map_add_hotplug(start, start + size, "System RAM"); > + firmware_map_add_hotplug(start, start + size - 1, "System R

Re: pr_cat() + CATSTR(name, size)?

2012-07-11 Thread Joe Perches
On Wed, 2012-07-11 at 17:14 +0200, Kay Sievers wrote: > On Wed, Jul 11, 2012 at 5:01 PM, Joe Perches wrote: [] > There are _many_ cases the console lock is held, and we don't print > stuff immediately out to the console, and we never ensured that in the > past. There was never a guarantee that stu

Re: [PATCH 3/6] ftrace: Return pt_regs to function trace callback

2012-07-11 Thread Steven Rostedt
On Tue, 2012-07-03 at 14:19 +0900, Masami Hiramatsu wrote: > (2012/07/03 5:03), Steven Rostedt wrote: > > From: Steven Rostedt > > > > Return as the 4th paramater to the function tracer callback the pt_regs. > > > > Later patches that implement regs passing for the architectures will require > >

Re: [PATCH V3 1/2] driver: add PPI support in tpm driver

2012-07-11 Thread Kent Yoder
Hi Xiaoyan, On Thu, Jun 21, 2012 at 06:54:51AM +, Zhang, Xiaoyan wrote: > From: Xiaoyan Zhang > > The Physical Presence Interface enables the OS and the BIOS to cooperate > and provides a simple and straightforward platform user experience for > administering the TPM without sacrificing secu

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-11 Thread Purdila, Octavian
On Wed, Jul 11, 2012 at 5:54 PM, Ram Pai wrote: > On Wed, Jul 11, 2012 at 02:06:10PM +0300, Purdila, Octavian wrote: >> On Wed, Jul 11, 2012 at 5:09 AM, Ram Pai wrote: >> >> > >> > Wait.. I am not sure this will fix the problem entirely. The above check >> > will handle the case where the range r

[PATCH] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 235 +++-- 1 file changed, 84 insertions(+), 151 deletions(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 174bffa..07bb550 100644 --- a/drivers/media/video/a

Re: [PATCH] Taint kernel when lve module is loaded

2012-07-11 Thread Greg KH
On Sat, Jul 07, 2012 at 11:19:53PM -0400, Igor Seletskiy wrote: > Greg, > > I hope you don't mind -- I will respond to few other things / other question > that were raised in this thread one email  > 1. Source code for RPMs is out our source RPM repositories. > Here is one for > CL6 http://repo.c

RE: [tpmdd-devel] [PATCH 1/2] char/tpm: Add new driver for Infineon I2C TIS TPM

2012-07-11 Thread Peter.Huewe
> I've applied this patch to my tpmdd staging tree [1]. Thanks a lot, Kent. Peter -- 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 read the FAQ

Re: [PATCH] Smack: don't show empty rules when /smack/load or /smack/load2 is read

2012-07-11 Thread Casey Schaufler
On 7/9/2012 10:36 AM, Rafal Krypa wrote: > This patch removes empty rules (i.e. with access set to '-') from the > rule list presented to user space. > > Smack by design never removes labels nor rules from its lists. Access > for a rule may be set to '-' to effectively disable it. Such rules would

Re: [PATCH 2/2] CHROMIUM: tpm: tpm_i2c_infineon: Lock the I2C adapter for a sequence of requests.

2012-07-11 Thread Kent Yoder
Hi Peter / Bryan, On Tue, Jun 12, 2012 at 02:43:54PM +0200, Peter Huewe wrote: > From: Bryan Freed > > This is derived from Peter Huewe's recommended fix: > > On some ChromeOS systems, a TPM sharing the I2C bus with another device > gets confused when it sees I2C requests to that other device.

Re: [PATCH 1/6] hrtimer: Provide clock_was_set_delayed()

2012-07-11 Thread Thomas Gleixner
On Wed, 11 Jul 2012, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 14:45 +0200, Thomas Gleixner wrote: > > On Wed, 11 Jul 2012, Prarit Bhargava wrote: > > > On 07/10/2012 06:43 PM, John Stultz wrote: > > > > clock_was_set() cannot be called from hard interrupt context because > > > > it calls on_ea

Re: [PATCH] Extend core dump note section to contain file names of mapped files

2012-07-11 Thread Oleg Nesterov
On 07/11, Denys Vlasenko wrote: > > I propose to save this information in core dump, as a new note > in note segment. Denys, I am in no position to discuss whether we need this change or not, format, etc. I'll only try to comment the code. And please do not use the attachments ;) > +static void

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Frederic Weisbecker
On Wed, Jul 11, 2012 at 05:12:04PM +0200, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 16:55 +0200, Peter Zijlstra wrote: > > Right.. back when I did that the plan was to make PERF_SAMPLE_PERIOD fix > > that, of course that never seemed to have happened. > > > > With PERF_SAMPLE_PERIOD you can si

Re: [PATCH 1/2] char/tpm: Add new driver for Infineon I2C TIS TPM

2012-07-11 Thread Kent Yoder
Hi Peter, On Tue, Jun 12, 2012 at 02:43:53PM +0200, Peter Huewe wrote: > This patch adds a driver to support Infineon's SLB 9635 TT 1.2 Soft I2C TPMs > which follow the TGC TIS 1.2 TPM specification[1] and Infineon's I2C Protocol > Stack Specification 0.20. > The I2C Protocol Stack Specification i

Re: 3.4.4: disabling irq

2012-07-11 Thread Alan Stern
On Wed, 11 Jul 2012, Udo van den Heuvel wrote: > New occurrence: > > Jul 11 16:45:26 box3 kernel: irq 18: nobody cared (try booting with the > "irqpoll" option) > Jul 11 16:45:26 box3 kernel: Pid: 1465, comm: irq/18-ohci_hcd Not > tainted 3.4.4 #3 > Any clues and/or updates? Didn't you see the

Re: pr_cat() + CATSTR(name, size)?

2012-07-11 Thread Kay Sievers
On Wed, Jul 11, 2012 at 5:01 PM, Joe Perches wrote: > On Wed, 2012-07-11 at 12:33 +0200, Kay Sievers wrote: > Interesting idea, perhaps workable, but it has > a few defects I can see. > > It works for most uses, but it doesn't work for > when there are multiple function sites like > > void dump_i

Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core function.

2012-07-11 Thread Krystian Garbaciak
> > > This is deliberate. It's not reporting an error, it's reporting an > > > indeterminate status which is a different thing. > > > Ok, then I would propose to use REGULATOR_STATUS_OFF instead of 0, to > > present > > your deliberate decision here. > > I don't think you're fully understanding

Re: [PATCH v2] panel: Use pr_err(...) rather than printk(KERN_ERR ...)

2012-07-11 Thread Joe Perches
On Wed, 2012-07-11 at 17:59 +0900, Toshiaki Yamane wrote: > This change is inspired by checkpatch. The changelog could be improved a bit. Maybe: Added pr_fmt. Removed unnecessary OOM messages. Removed embedded message prefixes. Added __func__ to all pr_err messages. > diff --git a/drivers/stagi

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 16:55 +0200, Peter Zijlstra wrote: > Right.. back when I did that the plan was to make PERF_SAMPLE_PERIOD fix > that, of course that never seemed to have happened. > > With PERF_SAMPLE_PERIOD you can simply write the 1b into the period of 1 > event and be done with it. It d

[PATCH] MN10300: Fix a missing semicolon

2012-07-11 Thread David Howells
The declaration of arch_release_thread_info() needs a semicolon. Signed-off-by: David Howells --- arch/mn10300/include/asm/thread_info.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mn10300/include/asm/thread_info.h b/arch/mn10300/include/asm/thread_info.h index

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 18:14 +0400, Andrew Vagin wrote: > @@ -5226,6 +5227,29 @@ void perf_tp_event(u64 addr, u64 count, void *record, > int entry_size, > perf_swevent_event(event, count, &data, regs); > } > > + /* > +* If we got specified a target ta

Re: [PATCH 0/6] USB: serial: Changes to conform with checkpatch.

2012-07-11 Thread Greg KH
On Thu, Jul 12, 2012 at 12:10:14AM +1000, Ben Minerds wrote: > Removed various checkpatch.sh warnings and errors. > Split patch by warning/error type. > Corrected line wraps in emails. > > Signed-off-by: Ben Minerds > --- > drivers/usb/serial/keyspan.c | 106 > +---

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Frederic Weisbecker
On Wed, Jul 11, 2012 at 04:55:08PM +0200, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 16:48 +0200, Frederic Weisbecker wrote: > > On Wed, Jul 11, 2012 at 04:38:19PM +0200, Peter Zijlstra wrote: > > > On Wed, 2012-07-11 at 16:36 +0200, Frederic Weisbecker wrote: > > > > > > > > In this case he ca

Re: [PATCH] usb: host: xhci: Compliance Mode port recovery

2012-07-11 Thread 'Greg KH'
On Tue, Jul 10, 2012 at 05:32:35PM -0500, Alexis Cortes wrote: > Hi Sarah & Greg, > > I made another patch for this issue following your recommendations. The only > thing that is left is the way the patch is going to be implemented on the > kernel (module parameter, sysfs...), which is still in di

Re: [PATCH -v2] USB: add USB_VENDOR_AND_INTERFACE_INFO() macro

2012-07-11 Thread Henrik Rydberg
On Tue, Jul 10, 2012 at 07:10:06PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > A lot of Broadcom Bluetooth devices provides vendor specific interface > class and we are getting flooded by patches adding new device support. > This change will help us enable support for any other Broa

Re: pr_cat() + CATSTR(name, size)?

2012-07-11 Thread Joe Perches
On Wed, 2012-07-11 at 12:33 +0200, Kay Sievers wrote: > Hey Joe, Hi Kay. > what do you think this? > > It would make composing continuation lines at the caller side entirely > race-free, and it might fit into the usual pattern. Maybe. comments below... > The more interesting thing, this would

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 16:48 +0200, Frederic Weisbecker wrote: > On Wed, Jul 11, 2012 at 04:38:19PM +0200, Peter Zijlstra wrote: > > On Wed, 2012-07-11 at 16:36 +0200, Frederic Weisbecker wrote: > > > > > > In this case he can just record sched wakeup as well. With sched_switch > > > + sched_wakeup

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-11 Thread Ram Pai
On Wed, Jul 11, 2012 at 02:06:10PM +0300, Purdila, Octavian wrote: > On Wed, Jul 11, 2012 at 5:09 AM, Ram Pai wrote: > > > > > Wait.. I am not sure this will fix the problem entirely. The above check > > will handle the case where the range requested is entirey out of the > > root's range. But i

Re: 3.4.4: disabling irq

2012-07-11 Thread Udo van den Heuvel
On 2012-07-09 15:54, Clemens Ladisch wrote: > (forwarded to linux-usb) > > Udo van den Heuvel wrote: >> >> One moment the box is runing OK. >> One moment the 3.4.4 kernel decides to disable an interrupt. >> Why? >> >> Jul 8 07:43:49 box3 ntpd[5067]: parse: convert_rawdcf: INCOMPLETE DATA - >> ti

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Frederic Weisbecker
On Wed, Jul 11, 2012 at 04:38:19PM +0200, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 16:36 +0200, Frederic Weisbecker wrote: > > > > In this case he can just record sched wakeup as well. With sched_switch > > + sched_wakeup, he'll unlikely lose events. > > > > With sched_stat_sleep he will los

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 16:36 +0200, Frederic Weisbecker wrote: > > In this case he can just record sched wakeup as well. With sched_switch > + sched_wakeup, he'll unlikely lose events. > > With sched_stat_sleep he will lose events, unless we fix this period > demux thing. But without this patch,

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Frederic Weisbecker
On Wed, Jul 11, 2012 at 04:33:41PM +0200, Peter Zijlstra wrote: > On Wed, 2012-07-11 at 16:31 +0200, Frederic Weisbecker wrote: > > On Wed, Jul 11, 2012 at 06:14:58PM +0400, Andrew Vagin wrote: > > > A few events are interesting not only for a current task. > > > For example, sched_stat_* are inter

Re: [PATCH V3 6/7] regualtor: s2mps11: Add samsung s2mps11 regulator driver

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 09:08:17PM +0900, Sangbeom Kim wrote: > This patch add Samsung S2MPS11 regulator driver. > The S2MPS11 can support 10 Bucks and 38 LDOs and RTC. > Especially, S2MPS11 is designed for high performance > Samsung application processor. Applied, thanks. signature.asc Descript

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Peter Zijlstra
On Wed, 2012-07-11 at 16:31 +0200, Frederic Weisbecker wrote: > On Wed, Jul 11, 2012 at 06:14:58PM +0400, Andrew Vagin wrote: > > A few events are interesting not only for a current task. > > For example, sched_stat_* are interesting for a task, which > > wake up. For this reason, it will be good,

Re: [PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Frederic Weisbecker
On Wed, Jul 11, 2012 at 06:14:58PM +0400, Andrew Vagin wrote: > A few events are interesting not only for a current task. > For example, sched_stat_* are interesting for a task, which > wake up. For this reason, it will be good, if such events will > be delivered to a target task too. > > Now a ta

Re: [PATCHv7 0/5] ext4: stop using write_supers and s_dirt

2012-07-11 Thread Artem Bityutskiy
On Wed, 2012-07-11 at 16:46 +0300, Artem Bityutskiy wrote: > This patch-set makes ext4 file-system stop using the VFS '->write_supers()' > call-back and the '->s_dirt' superblock field because I plan to remove them > once all users are gone. Hi Ted, is there any chance for this stuff to hit 3.6?

Re: [RFC PATCH 01/14] PCI: add pcie_flags into struct pci_dev to cache PCIe capabilities register

2012-07-11 Thread Jiang Liu
On 07/11/2012 05:01 PM, Taku Izumi wrote: >> +++ b/include/linux/pci.h >> @@ -258,6 +258,7 @@ struct pci_dev { >> u8 pcie_mpss:3;/* PCI-E Max Payload Size Supported */ >> u8 rom_base_reg; /* which config register controls the >> ROM */ >> u8

Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core function.

2012-07-11 Thread Mark Brown
On Wed, Jul 11, 2012 at 03:18:00PM +0100, Krystian Garbaciak wrote: > > This is deliberate. It's not reporting an error, it's reporting an > > indeterminate status which is a different thing. > Ok, then I would propose to use REGULATOR_STATUS_OFF instead of 0, to present > your deliberate decisi

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-11 Thread Jiang Liu
On 07/11/2012 08:54 AM, Yasuaki Ishimatsu wrote: > Hi Jiang, > > 2012/07/11 9:21, Jiang Liu wrote: >> On 07/11/2012 08:09 AM, Yasuaki Ishimatsu wrote: >>> Hi Jiang, >>> >>> 2012/07/11 1:50, Jiang Liu wrote: On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: > Hi Christoph, > > 2012/

Re: [PATCH] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-11 Thread Alan Stern
On Wed, 11 Jul 2012, Tomoya MORINAGA wrote: > > Signed-off-by: Tomoya MORINAGA There's no patch description. What is the cause of the problem and how does the patch fix it? > --- > drivers/usb/host/ehci-hub.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/d

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Hans Verkuil
On Wed 11 July 2012 16:19:02 Federico Vaga wrote: > > > > @@ -445,9 +402,9 @@ static const struct v4l2_subdev_video_ops > > > > adv7180_video_ops = {> > > > > static const struct v4l2_subdev_core_ops adv7180_core_ops = { > > > > > > > > .g_chip_ident = adv7180_g_chip_ident, > > > > .s_std =

Re: [PATCH] regulator: Fix bug in regulator_mode_to_status() core function.

2012-07-11 Thread Krystian Garbaciak
> From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 11 July 2012 14:29 > > On Wed, Jul 11, 2012 at 01:10:01PM +0100, Krystian Garbaciak wrote: > > Fix typo for case REGULATOR_STATUS_STANDBY -> REGULATOR_MODE_STANDBY. > > For undefined mode, return REGULATOR_STATUS_ERROR (0 is n

Re: [PATCH 3/4] zsmalloc: add details to zs_map_object boiler plate

2012-07-11 Thread Seth Jennings
On 07/11/2012 02:42 AM, Minchan Kim wrote: > On 07/11/2012 12:17 AM, Seth Jennings wrote: >> On 07/09/2012 09:35 PM, Minchan Kim wrote: >>> Maybe we need local_irq_save/restore in zs_[un]map_object path. >> >> I'd rather not disable interrupts since that will create >> unnecessary interrupt latency

Re: Protocol handler using dev_add_pack

2012-07-11 Thread Eric Dumazet
On Wed, 2012-07-11 at 10:38 -0300, Jerry Yu wrote: > I am working on a kernel module to monitor all TCP packets. I created a > protocol > handler with protocol code ETH_P_ALL to handle all incoming and outgoing > TCP packets. The code worked fine on 2.6.14 kernel, but in current 3.2.0-26 > kernel,

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Federico Vaga
> > > @@ -445,9 +402,9 @@ static const struct v4l2_subdev_video_ops > > > adv7180_video_ops = {> > > > static const struct v4l2_subdev_core_ops adv7180_core_ops = { > > > > > > .g_chip_ident = adv7180_g_chip_ident, > > > .s_std = adv7180_s_std, > > > > > > - .queryctrl = adv7180_queryctrl,

[PATCH] trace: add ability to set a target task for events (v2)

2012-07-11 Thread Andrew Vagin
A few events are interesting not only for a current task. For example, sched_stat_* are interesting for a task, which wake up. For this reason, it will be good, if such events will be delivered to a target task too. Now a target task can be set by using __perf_task(). The original idea and a draf

Re: [Ksummit-2012-discuss] ARM mini-summit

2012-07-11 Thread Konrad Rzeszutek Wilk
On Wed, Jul 11, 2012 at 01:15:02PM +0100, Grant Likely wrote: > On Jul 11, 2012 12:28 PM, "Arnd Bergmann" wrote: > > > > On Wednesday 11 July 2012, James Bottomley wrote: > > > Hi All, > > > > > > We have set aside the second day of the kernel summit (Tuesday 28 > > > August) as mini-summit day.

Re: [PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.

2012-07-11 Thread J. Bruce Fields
On Wed, Jul 11, 2012 at 01:10:53PM +0900, Namjae Jeon wrote: > 2012/7/10, J. Bruce Fields : > > On Sat, Jul 07, 2012 at 11:17:39PM -0400, Namjae Jeon wrote: > >> For removing storage device - user needs to safely un-mount the device > >> and then eject. But if 'EBUSY' occurs in umount then it will

[PATCH 6/6] USB: serial: Removed unrequired parentheses.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - return is not a function, parentheses not required. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b

[PATCH 5/6] USB: serial: Removed trailing whitespace.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - trailing whitespace. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c i

[PATCH 4/6] USB: serial: Fixed space near open parenthesis.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - space near open parenthesis '('. Removed 2 checkpatch.sh errors. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/seria

[PATCH 3/6] USB: serial: Fixed space around equals.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - space around '='. Removed 1 checkpatch.sh error. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c index

[PATCH 2/6] USB: serial: Fix spacing around conditional.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - spaces around '?' and ':'.Removed 14 checkpatch.sh errors. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/usb/serial/keyspan.c b/drivers

[PATCH 1/6] USB: serial: Removed space before tabs.

2012-07-11 Thread Ben Minerds
Changes to conform with checkpatch.sh script. - no space before tabs. Removed 52 checkpatch.sh warnings. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 106 +- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a/drivers/usb/se

[PATCH 0/6] USB: serial: Changes to conform with checkpatch.

2012-07-11 Thread Ben Minerds
Removed various checkpatch.sh warnings and errors. Split patch by warning/error type. Corrected line wraps in emails. Signed-off-by: Ben Minerds --- drivers/usb/serial/keyspan.c | 106 +- 1 files changed, 53 insertions(+), 53 deletions(-) diff --git a/d

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Hans Verkuil
On Wed 11 July 2012 15:36:25 Federico Vaga wrote: > Hi Hans, > > Thank you for your review > > > > +static int adv7180_init_controls(struct adv7180_state *state) > > > +{ > > > + v4l2_ctrl_handler_init(&state->ctrl_hdl, 2); > > > > 2 -> 4, since there are 4 controls. It's a hint only, but it hel

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Raghavendra K T
On 07/11/2012 07:29 PM, Raghavendra K T wrote: On 07/11/2012 02:30 PM, Avi Kivity wrote: On 07/10/2012 12:47 AM, Andrew Theurer wrote: For the cpu threads in the host that are actually active (in this case 1/2 of them), ~50% of their time is in kernel and ~43% in guest. This is for a no-IO wor

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Raghavendra K T
On 07/11/2012 02:30 PM, Avi Kivity wrote: On 07/10/2012 12:47 AM, Andrew Theurer wrote: For the cpu threads in the host that are actually active (in this case 1/2 of them), ~50% of their time is in kernel and ~43% in guest. This is for a no-IO workload, so that's just incredible to see so much

Re: [PATCH 0/4] zsmalloc improvements

2012-07-11 Thread Seth Jennings
On 07/11/2012 02:03 AM, Minchan Kim wrote: > On 07/03/2012 06:15 AM, Seth Jennings wrote: >> zsmapbench measures the copy-based mapping at ~560 cycles for a >> map/unmap operation on spanned object for both KVM guest and bare-metal, >> while the page table mapping was ~1500 cycles on a VM and ~760

Re: [linux-pm] cpuidle future and improvements

2012-07-11 Thread Kevin Hilman
Daniel Lezcano writes: > On 06/18/2012 08:15 PM, Colin Cross wrote: >> On Mon, Jun 18, 2012 at 1:40 AM, Daniel Lezcano >> wrote: >>> I propose to host a cpuidle-next tree where all these modifications will >>> be and where people can send patches against, preventing last minutes >>> conflicts an

[GIT PATCH] driver core (printk really) fixes for 3.5-rc6

2012-07-11 Thread Greg KH
The following changes since commit 6887a4131da3adaab011613776d865f4bcfb5678: Linux 3.5-rc5 (2012-06-30 16:08:57 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.5-rc6 for you to fetch changes up to 5becf

[GIT PATCH] USB bug fixes for 3.5-rc6

2012-07-11 Thread Greg KH
The following changes since commit 6887a4131da3adaab011613776d865f4bcfb5678: Linux 3.5-rc5 (2012-06-30 16:08:57 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.5-rc6 for you to fetch changes up to dbf0e4c7257f8d684ec1a3

[GIT PATCH] misc fixes patches for 3.5-rc6

2012-07-11 Thread Greg KH
The following changes since commit bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a: Linux 3.5-rc6 (2012-07-07 17:23:56 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.5-rc6 for you to fetch changes up to 16a50b127

Re: [PATCH] ACPI / PCI: Make _SxD/_SxW check follow ACPI 4.0a spec

2012-07-11 Thread Greg KH
On Wed, Jul 11, 2012 at 11:07:56AM +0200, Rafael J. Wysocki wrote: > On Wednesday, July 11, 2012, Greg KH wrote: > > On Sun, Apr 29, 2012 at 10:44:16PM +0200, Rafael J. Wysocki wrote: > > > From: Oleksij Rempel > > > > > > This patch makes _SxD/_SxW check follow the ACPI 4.0a specification > > >

[PATCH 2/9] staging: sm7xxfb: rename index var on sm712vga_setup

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patchs renames index var on sm712vga_setup. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/

Re: [PATCH v7 00/10] KVM: MMU: fast page fault

2012-07-11 Thread Avi Kivity
On 06/20/2012 10:56 AM, Xiao Guangrong wrote: > Changlog: > - always atomicly update the spte if it can be updated out of mmu-lock > - rename spte_can_be_writable() to spte_is_locklessly_modifiable() > - cleanup and comment spte_write_protect() > > Performance result: > (The benchmark can be found

[PATCH 4/9] staging: sm7xxfb: rename sm712vga_setup to sm7xx_vga_setup

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch renames sm712vga_setup to sm7xx_vga_setup. sm7xx_vga_setup process command line options in order to get the vga parameter. This parameter will be the lookup index to match the right vesa mode. It is chip independent. Signed-off-by: Javier M. Mellid --- drive

[PATCH 6/9] staging: sm7xxfb: rename sm712_set_timing to sm7xx_set_timing

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" sm712_set_timing handles timing for 0x710, 0x712 and 0x720 chips. This patch renames the name of the function of sm712_set_timing to sm7xx_set_timing. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 24 -

[PATCH 9/9] staging: sm7xxfb: cleanup on smtc_alloc_fb_info

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch improves coding style on smtc_alloc_fb_info. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/stagin

[PATCH 7/9] staging: sm7xxfb: minor maintenance on timing path

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch keeps smtc_set_timing and sm7xx_set_timing functions closed to smtcfb_setmode. This change eases reviewing and maintaining this logic path. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 238 ++---

[PATCH 8/9] staging: sm7xxfb: move pseudo palette into smtcfb_info

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch moves pseudo palette into smtcfb_info struct. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/driver

[PATCH 5/9] staging: sm7xxfb: minor maintenance on sm7xx_vga_setup

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch keeps code related to sm7xx_vga_setup closed. It is useful to understand/maintain the logic behind sm7xx_vga_setup with a simple look. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 106 ++

[PATCH 0/9] staging: sm7xxfb: code improvements and cleanup

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patchset is part of the effort to get sm7xxfb in shape. It resolves some issues in functions related with mode setting and timing logic paths. The first 5 patches work on sm712vga_setup in order to get a more coherent and clear code. Patches 6 and 7 work on timing

[PATCH 1/9] staging: sm7xxfb: fix struct names related to vesa modes

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This patch renames structs related to vesa modes in order to get more readable code on sm712vga_setup. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm7xxfb/sm7xxfb.c | 24 +--- 1 file changed, 13 insertions(+), 11 deleti

[PATCH 3/9] staging: sm7xxfb: rename smtc_screen_info to smtc_scr_info

2012-07-11 Thread Javier M. Mellid
From: "Javier M. Mellid" This change of name improves readability on sm712_vga_setup and smtcfb_pci_probe. It is coherent with the name of vars being used on code while avoiding the use of extra long lines in functions. Tested with SM712. Signed-off-by: Javier M. Mellid --- drivers/staging/sm

[PATCH 03/27] iommu/amd: Fix sparse warnings

2012-07-11 Thread Joerg Roedel
A few sparse warnings fire in drivers/iommu/amd_iommu_init.c. Fix most of them with this patch. Also fix the sparse warnings in drivers/iommu/irq_remapping.c while at it. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c |2 +- drivers/iommu/amd_iommu_init.c | 16 +--

[PATCH 14/27] iommu/amd: Allocate data structures to keep track of irq remapping tables

2012-07-11 Thread Joerg Roedel
To easily map device ids to interrupt remapping table entries a new lookup table is necessary. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 16 drivers/iommu/amd_iommu_types.h |9 + 2 files changed, 25 insertions(+) diff --git a/drivers/iommu/

Re: [PATCH RFC] mm/memcg: calculate max hierarchy limit number instead of min

2012-07-11 Thread Michal Hocko
On Wed 11-07-12 21:24:41, Wanpeng Li wrote: > From: Wanpeng Li > > Since hierachical_memory_limit shows "of bytes of memory limit with > regard to hierarchy under which the memory cgroup is", the count should > calculate max hierarchy limit when use_hierarchy in order to show hierarchy > subtree

[PATCH 04/27] iommu/amd: Use acpi_get_table instead of acpi_table_parse

2012-07-11 Thread Joerg Roedel
This makes it easier to propagate errors while parsing the IVRS table and makes the amd_iommu_init_err hack obsolete. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 118 ++-- 1 file changed, 66 insertions(+), 52 deletions(-) diff --git a/dr

[PATCH 02/27] x86/irq: Introduce irq_cfg->remapped

2012-07-11 Thread Joerg Roedel
This flag will show whether the interrupt is remapped in a way that works for VT-d and AMD-Vi. Cc: x...@kernel.org Cc: Yinghai Lu Cc: Suresh Siddha Signed-off-by: Joerg Roedel --- arch/x86/include/asm/hw_irq.h |1 + arch/x86/kernel/apic/io_apic.c |2 +- drivers/iommu/intel_i

[PATCH 09/27] iommu/amd: Move unmap_flush message to amd_iommu_init_dma_ops()

2012-07-11 Thread Joerg Roedel
The message belongs there anyway, so move it to that function. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c |5 + drivers/iommu/amd_iommu_init.c |8 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd

[PATCHv7 2/5] ext4: Convert last user of ext4_mark_super_dirty() to ext4_handle_dirty_super()

2012-07-11 Thread Artem Bityutskiy
From: Jan Kara The last user of ext4_mark_super_dirty() in ext4_file_open() is so rare it can well be modifying the superblock properly by journalling the change. Change it and get rid of ext4_mark_super_dirty() as it's not needed anymore. Artem: small amendments. Artem: tested using xfstests fo

[PATCHv7 3/5] ext4: remove unnecessary superblock dirtying

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy This patch changes the 'ext4_handle_dirty_super()' function which submits the superblock for I/O in the following cases: 1. When creating the first large file on a file system without EXT4_FEATURE_RO_COMPAT_LARGE_FILE feature. 2. When re-sizing the file-system. 3. When

[PATCHv7 5/5] ext4: remove unnecessary argument

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy The '__ext4_handle_dirty_metadata()' does not need the 'now' argument anymore and we can kill it. Signed-off-by: Artem Bityutskiy Reviewed-by: Jan Kara --- fs/ext4/ext4_jbd2.c |3 +-- fs/ext4/ext4_jbd2.h |7 ++- fs/ext4/inode.c |2 +- fs/ext4/namei.c

[PATCHv7 4/5] ext4: weed out ext4_write_super

2012-07-11 Thread Artem Bityutskiy
From: Artem Bityutskiy We do not depend on VFS's '->write_super()' anymore and do not need the 's_dirt' flag anymore, so weed out 'ext4_write_super()' and 's_dirt'. Signed-off-by: Artem Bityutskiy Reviewed-by: Jan Kara --- fs/ext4/super.c | 10 -- 1 files changed, 0 insertions(+), 1

[PATCHv7 0/5] ext4: stop using write_supers and s_dirt

2012-07-11 Thread Artem Bityutskiy
This patch-set makes ext4 file-system stop using the VFS '->write_supers()' call-back and the '->s_dirt' superblock field because I plan to remove them once all users are gone. What we do in this patch-set is we notice that ext4 does not really needed the 'write_super()' functionality and we can r

[PATCHv7 1/5] ext4: Remove useless marking of superblock dirty

2012-07-11 Thread Artem Bityutskiy
From: Jan Kara Commit a0375156 properly notes that superblock doesn't need to be marked as dirty when only number of free inodes / blocks / number of directories changes since that is recomputed on each mount anyway. However that comment leaves some unnecessary markings as dirty in place. Remove

[PATCH] mfd: add tps65910 32-kHz-crystal-input init

2012-07-11 Thread Johan Hovold
Replace tps65910_misc_init with a dedicated init function for the 32-kHz-crystal input. Signed-off-by: Johan Hovold --- Hi Samuel, How about something like this? My thought with misc_init was that it could be extended should more simple initialisation like for the ck32k_xtal need to be done, bu

[PATCH 10/27] iommu/amd: Introduce amd_iommu_init_dma routine

2012-07-11 Thread Joerg Roedel
This function will initialize everthing necessary so that devices can do DMA. This includes dma_ops and iommu_ops. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 27 --- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/drivers/iommu/amd_i

[PATCH 07/27] iommu/amd: Introduce early_amd_iommu_init routine

2012-07-11 Thread Joerg Roedel
Split out the code to parse the ACPI table and setup relevant data structures into a new function. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c |1 - drivers/iommu/amd_iommu_init.c | 38 +++--- 2 files changed, 23 insertions(+), 16 deletion

[PATCH 25/27] iommu/irq: Use amd_iommu_irq_ops if supported

2012-07-11 Thread Joerg Roedel
Finally enable interrupt remapping for AMD systems. Signed-off-by: Joerg Roedel --- drivers/iommu/irq_remapping.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c index 9276996..92ce0c7 100644 --- a/drivers/iommu/irq_remapp

[PATCH 23/27] iommu/amd: Add initialization routines for AMD interrupt remapping

2012-07-11 Thread Joerg Roedel
Add the six routines required to setup interrupt remapping with the AMD IOMMU. Also put it all together into the AMD specific irq_remap_ops. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 18 + drivers/iommu/amd_iommu_init.c | 42 ++

[PATCH 16/27] iommu/amd: Split device table initialization into irq and dma part

2012-07-11 Thread Joerg Roedel
When the IOMMU is enabled very early (as with irq-remapping) some devices are still in BIOS hand. When dma is blocked early this can cause lots of IO_PAGE_FAULTs. So delay the DMA initialization and do it right before the dma_ops are initialized. To be secure, block all interrupts by default when i

[PATCH 08/27] iommu/amd: Split enable_iommus() routine

2012-07-11 Thread Joerg Roedel
Split the enable_iommus() routine so that a part of it can run in early code. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_init.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.

[PATCH 06/27] iommu/amd: Move informational prinks out of iommu_enable

2012-07-11 Thread Joerg Roedel
This function will be called before the PCI subsystem is initialized. Therefore dev_name doen't work and IOMMU information can't be printed to the klog as before. Move the code to print that information to a later point where PCI initializtion has already happened. Signed-off-by: Joerg Roedel ---

[PATCH 01/27] x86/irq: Add data structure to keep AMD specific irq remapping information

2012-07-11 Thread Joerg Roedel
Add a data structure to store information the IOMMU driver can use to get from a 'struct irq_cfg' to the remapping entry. Cc: x...@kernel.org Cc: Yinghai Lu Cc: Suresh Siddha Signed-off-by: Joerg Roedel --- arch/x86/include/asm/hw_irq.h | 14 +- arch/x86/kernel/apic/io_apic

[PATCH 15/27] iommu/amd: Check if IOAPIC information is correct

2012-07-11 Thread Joerg Roedel
When the IOAPIC information provided in the IVRS table is not correct or not complete the system may not boot at all when interrupt remapping is enabled. So check if this information is correct and print out a firmware bug message when it is not. Signed-off-by: Joerg Roedel --- drivers/iommu/Kco

[PATCH 05/27] iommu/amd: Split out PCI related parts of IOMMU initialization

2012-07-11 Thread Joerg Roedel
For interrupt remapping the relevant IOMMU initialization needs to run earlier at boot when the PCI subsystem is not yet initialized. To support that this patch splits the parts of IOMMU initialization which need PCI accesses out of the initial setup path so that this can be done later. Signed-off

[PATCH 12/27] iommu/amd: Keep track of HPET and IOAPIC device ids

2012-07-11 Thread Joerg Roedel
The IVRS ACPI table provides information about the IOAPICs and the HPETs available in the system and which PCI device ID they use in transactions. Save that information for later usage in interrupt remapping. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c |3 ++ drivers/iomm

[PATCH 18/27] iommu/amd: Add IRTE invalidation routine

2012-07-11 Thread Joerg Roedel
Add routine to invalidate the IOMMU cache for interupt translations. Also include the IRTE caches when flushing all IOMMU caches. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 27 +++ drivers/iommu/amd_iommu_types.h |1 + 2 files changed, 28 inse

<    1   2   3   4   5   6   7   8   >