Re: [PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-26 Thread Michael Leun
On Wed, 23 Jan 2013 10:32:17 +0800 Freddy Xin wrote: > This is a resubmission. > Fixed coding style errors. [...] > This patch adds a driver for ASIX's AX88179 family of USB 3.0/2.0 > to gigabit ethernet adapters. It's based on the AX88xxx driver but I hope, there is some error/mistake on my

Re: [PATCH 2/2] ACPI / scan: Make scanning of fixed devices follow the general scheme

2013-01-26 Thread Yinghai Lu
On Sat, Jan 26, 2013 at 2:43 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make acpi_bus_scan_fixed() use device_attach() directly to attach > drivers, if any, to the fixed devices in analogy with how > acpi_bus_scan() works, which allows the last argument of >

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-26 Thread Yinghai Lu
On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > not be run in parallel for the same scope of the ACPI namespace, > which may lead to a great deal of confusion, so introduce a new mutex >

[PATCH -v3 2/2] x86: Make Linux guest support optional

2013-01-26 Thread Borislav Petkov
From: Borislav Petkov Put all config options needed to run Linux as a guest behind a CONFIG_HYPERVISOR_GUEST menu so that they don't get built-in by default but be selectable by the user. Also, make all units which depend on x86_hyper, depend on this new symbol so that compilation doesn't fail

[PATCH -v3 1/2] x86, Kconfig: Move PARAVIRT_DEBUG into the paravirt menu

2013-01-26 Thread Borislav Petkov
From: Borislav Petkov This should be under the PARAVIRT_GUEST menu. Signed-off-by: Borislav Petkov --- arch/x86/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 2d621032525a..201b8aa93f8f 100644 --- a/arch/x86/Kconfig

[PATCH 0/2] ACPI / scan: Additional changes

2013-01-26 Thread Rafael J. Wysocki
Hi All, The following patches make two more changes to the ACPI namespace scanning code that I think are more-or-less useful: [1/2] Introduce lock to prevent acpi_bus_scan() from running in parallel with acpi_bus_trim() to avoid removing device nodes while we're setting them up.

[PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-01-26 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will not be run in parallel for the same scope of the ACPI namespace, which may lead to a great deal of confusion, so introduce a new mutex to prevent that from happening. Signed-off-by: Rafael J. Wysocki

[PATCH 2/2] ACPI / scan: Make scanning of fixed devices follow the general scheme

2013-01-26 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make acpi_bus_scan_fixed() use device_attach() directly to attach drivers, if any, to the fixed devices in analogy with how acpi_bus_scan() works, which allows the last argument of acpi_add_single_object() to be dropped and the manipulation of the flags.match_driver bit

Re: linux-next: Tree for Jan 25 (kvm)

2013-01-26 Thread Avi Kivity
On Sat, Jan 26, 2013 at 1:46 AM, Stephen Rothwell wrote: > On Fri, 25 Jan 2013 08:53:58 -0800 Randy Dunlap wrote: >> >> Seeing lots of this error on i386: >> >> arch/x86/kvm/emulate.c:1016: Error: unsupported for `push' > > Caused by commit 9ae9febae950 ("KVM: x86 emulator: covert SETCC to >

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

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 10:39:53 PM Shawn Guo wrote: > Mark, > > On Fri, Jan 25, 2013 at 01:46:45PM -0600, Mark Langsdorf wrote: > > +static int hb_cpufreq_driver_init(void) > > +{ > > + struct device *cpu_dev; > > + struct clk *cpu_clk; > > + struct device_node *np; > > + int ret;

[PATCH] Staging: csr: csr_msgconv: Fixed Multiple Coding Style Issues

2013-01-26 Thread Jake Champlin
Fixed multiple coding style issues Signed-off-by: Jake Champlin --- drivers/staging/csr/csr_msgconv.c | 392 -- 1 file changed, 169 insertions(+), 223 deletions(-) diff --git a/drivers/staging/csr/csr_msgconv.c b/drivers/staging/csr/csr_msgconv.c index

Re: [PATCH v3 2/3] gpio: pca953x: add support for pca9505

2013-01-26 Thread Gregory CLEMENT
On 01/25/2013 09:51 AM, Linus Walleij wrote: > On Fri, Jan 25, 2013 at 9:36 AM, Gregory CLEMENT > wrote: > >> Well, at the beginning I thought adding support for pca9505 was just a matter >> of a couple of lines to add. Then I realized that I need to handle the 40 >> bits >> case, and I ended

Re: [PATCH v3 00/44] Meta Linux Kernel Port

2013-01-26 Thread James Hogan
Hi Arnd, On Sat, Jan 26, 2013 at 12:25:09AM +, Arnd Bergmann wrote: > On Friday 25 January 2013, James Hogan wrote: > > Review seems to have gone quiet. I'm fairly happy with this core > > patchset in it's currently form (only trivial alterations required since > > the v3 patches, e.g. some

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 07:27:06 PM Sedat Dilek wrote: > On Sat, Jan 26, 2013 at 4:05 PM, Sedat Dilek wrote: > > On Sat, Jan 26, 2013 at 3:33 PM, Sedat Dilek wrote: > >> On Sat, Jan 26, 2013 at 2:24 PM, Sedat Dilek wrote: > >>> On Sat, Jan 26, 2013 at 2:25 PM, Rafael J. Wysocki wrote: >

Re: [RFC] ACPI scan handlers

2013-01-26 Thread Rafael J. Wysocki
On Sunday, January 27, 2013 02:42:38 AM Jiang Liu wrote: > On 01/24/2013 08:26 AM, Rafael J. Wysocki wrote: > > Hi All, > > > > There is a considerable amount of confusion in the ACPI subsystem about what > > ACPI drivers are used for. Namely, some of them are used as "normal" device > > drivers

[PATCH v3 3/3] kconfig: nconf: add vi-style navigation keys

2013-01-26 Thread Roland Eggner
>From: Roland Eggner Add vi-style navigation keys, based on initial work by Dmitry Voytik. Users of netbooks, notebooks and other devices with keyboards lacking a dedicated number keypad will enjoy. And advanced users of vim, less, mutt, … having navigation by keys hjkl “hardwired” in their

Re: [PATCH review 5/6] userns: Allow the userns root to mount ramfs.

2013-01-26 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > There is no backing store to ramfs and file creation > rules are the same as for any other filesystem so > it is semantically safe to allow unprivileged users > to mount it. > > The memory control group successfully limits how much > memory

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Azat Khuzhin
Carlos, did you try this patch? https://bugzilla.kernel.org/attachment.cgi?id=73510 On Sat, Jan 26, 2013 at 5:39 PM, Carlos R. Mafra wrote: > On Sat, 26 Jan 2013 at 14:23:12 +0100, Rafael J. Wysocki wrote: >> On Saturday, January 26, 2013 12:23:37 PM Carlos R. Mafra wrote: >> > On Thu, 8 Nov

Re: [PATCH] edac: Fix kcalloc argument order

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 11:24:00AM -0800, Joe Perches wrote: > First number, then size. > > Signed-off-by: Joe Perches Applied, thanks. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH review 4/6] userns: Allow the userns root to mount of devpts

2013-01-26 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > - The context in which devpts is mounted has no effect on the creation > of ptys as the /dev/ptmx interface has been used by unprivileged > users for many years. > > - Only support unprivileged mounts in combination with the newinstance

Re: [PATCH] mips: Move __virt_addr_valid() to a place for MIPS 64

2013-01-26 Thread Aaro Koskinen
Hi, On Sat, Jan 26, 2013 at 04:01:44PM -0500, Steven Rostedt wrote: > On Sat, 2013-01-26 at 22:15 +0200, Aaro Koskinen wrote: > > On Fri, Jan 25, 2013 at 01:13:15PM -0500, Steven Rostedt wrote: > > > Commit d3ce88431892 "MIPS: Fix modpost error in modules attepting to use > > > virt_addr_valid()"

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-26 Thread Martin Mokrejs
Hi Chris, Chris Clayton wrote: > Hi Martin, > > On 01/24/13 19:21, Martin Mokrejs wrote: >> Hi Chris, >>try to include in kernel only acpiphp and omit pciehp. Don't use modules >> but include >> them statically. And try, in addition, check whether "pcie_aspm=off" in >> grub.conf helped. >>

Re: [PATCH review 3/6] userns: Recommend use of memory control groups.

2013-01-26 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > In the help text describing user namespaces recommend use of memory > control groups. In many cases memory control groups are the only > mechanism there is to limit how much memory a user who can create > user namespaces can use. > >

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread H. Peter Anvin
The fast rep movsb was introduced on Ivy Bridge, IIRC. Linus Torvalds wrote: >On Sat, Jan 26, 2013 at 7:18 AM, H. Peter Anvin wrote: >> On the CPUs Ling is testing on the downsides of -Os probably matter >less, in particular since rep movsb works well. >> >> It is questionable as a generic

Re: [PATCH review 2/6] userns: Allow any uid or gid mappings that don't overlap.

2013-01-26 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > When I initially wrote the code for /proc//uid_map. I was lazy > and avoided duplicate mappings by the simple expedient of ensuring the > first number in a new extent was greater than any number in the > previous extent. > > Unfortunately

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread H. Peter Anvin
We have discussed -Ok(ernel) with the gcc guys in earnest. They are receptive but lack the round tuits. Steven Rostedt wrote: >On Sat, 2013-01-26 at 11:43 -0800, Linus Torvalds wrote: > >> The problem, of course, is that most -O2 code generation is done >> assuming hot loops that don't show

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread Steven Rostedt
On Sat, 2013-01-26 at 11:43 -0800, Linus Torvalds wrote: > The problem, of course, is that most -O2 code generation is done > assuming hot loops that don't show much if any I$ issues. And the -Os > thing is done *purely* for size, not taking any performance into > account at all. There's no

Re: [PATCH] mips: Move __virt_addr_valid() to a place for MIPS 64

2013-01-26 Thread Steven Rostedt
On Sat, 2013-01-26 at 22:15 +0200, Aaro Koskinen wrote: > Hi, > > On Fri, Jan 25, 2013 at 01:13:15PM -0500, Steven Rostedt wrote: > > Commit d3ce88431892 "MIPS: Fix modpost error in modules attepting to use > > virt_addr_valid()" moved __virt_addr_valid() from a macro in a header > > file to a

Re: [PATCH 04/12] perf, x86: Support the TSX intx/intx_cp qualifiers v2

2013-01-26 Thread Andi Kleen
On Sat, Jan 26, 2013 at 12:54:02PM +0100, Ingo Molnar wrote: > > * Andi Kleen wrote: > > > From: Andi Kleen > > > > Implement the TSX transaction and checkpointed transaction > > qualifiers for Haswell. This allows e.g. to profile the number > > of cycles in transactions. > > The changelog

Re: [PATCH review 1/6] userns: Avoid recursion in put_user_ns

2013-01-26 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > When freeing a deeply nested user namespace free_user_ns calls > put_user_ns on it's parent which may in turn call free_user_ns again. > When -fno-optimize-sibling-calls is passed to gcc one stack frame per > user namespace is left on the

Re: 3.8.0-rc4+ - Oops on removing WinTV-HVR-1400 expresscard TV Tuner

2013-01-26 Thread Chris Clayton
Hi Martin, On 01/24/13 19:21, Martin Mokrejs wrote: Hi Chris, try to include in kernel only acpiphp and omit pciehp. Don't use modules but include them statically. And try, in addition, check whether "pcie_aspm=off" in grub.conf helped. Thanks for the tip. I had the pciehp driver

Re: [PATCH] Staging: csr: csr_msgconv: Fixed Multiple Coding Style Issues

2013-01-26 Thread jake . champlin . 27
Dan, Ok, thank you. Will fix errors and resubmit. -- Jake Champlin jake.champlin...@gmail.com On Sat, Jan 26, 2013 at 11:35:12PM +0300, Dan Carpenter wrote: > On Sat, Jan 26, 2013 at 03:14:35PM -0500, Jake Champlin wrote: > > Resolved 150 Style Errors and 202 Coding Style

Re: [PATCH] Staging: csr: csr_msgconv: Fixed Multiple Coding Style Issues

2013-01-26 Thread Dan Carpenter
On Sat, Jan 26, 2013 at 03:14:35PM -0500, Jake Champlin wrote: > Resolved 150 Style Errors and 202 Coding Style Warnings. > Normally we would prefer that these are broken up into a several different patches that each fix one type of style issue. [patch 1/x] csr: csr_msgconv: use tab indents

Re: Bug#695182: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-26 Thread paul . szabo
Dear Jonathan, >> If you can identify where it was fixed then your patch for older >> versions should go to stable with a reference to the upstream fix (see >> Documentation/stable_kernel_rules.txt). > > How about this patch? > > It was applied in mainline during the 3.3 merge window, so kernels

Re: [PATCH] mips: Move __virt_addr_valid() to a place for MIPS 64

2013-01-26 Thread Aaro Koskinen
Hi, On Fri, Jan 25, 2013 at 01:13:15PM -0500, Steven Rostedt wrote: > Commit d3ce88431892 "MIPS: Fix modpost error in modules attepting to use > virt_addr_valid()" moved __virt_addr_valid() from a macro in a header > file to a function in ioremap.c. But ioremap.c is only compiled for MIPS > 32,

[PATCH] Staging: csr: csr_msgconv: Fixed Multiple Coding Style Issues

2013-01-26 Thread Jake Champlin
Resolved 150 Style Errors and 202 Coding Style Warnings. Signed-off-by: Jake Champlin --- drivers/staging/csr/csr_msgconv.c | 391 -- 1 file changed, 168 insertions(+), 223 deletions(-) diff --git a/drivers/staging/csr/csr_msgconv.c

Re: [PATCH]smp: Fix send func call IPI to empty cpu mask

2013-01-26 Thread Linus Torvalds
On Fri, Jan 25, 2013 at 11:53 PM, Wang YanQing wrote: > I get below warning every day with 3.7, > one or two times per day. > > [ 2235.186027] WARNING: at > /mnt/sda7/kernel/linux/arch/x86/kernel/apic/ipi.c:109 > default_send_IPI_mask_logical+0x2f/0xb8() > [ 2235.186030] Hardware name: Aspire

[PATCH 5/8] perf tools: Add support to include non architectural event aliases

2013-01-26 Thread Jiri Olsa
Adding support to parse non architectural event aliases for given cpu. These aliases will be provided as single files parsed by pmu_aliases_parse_multi function. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 3/8] perf tools: Add name term processing for alias

2013-01-26 Thread Jiri Olsa
Adding support for name term being specified within the alias definition and gives the name for the alias. Alias could be now defined like: name=BR_MISP_EXEC.ALL_BRANCHES,event=0x89,umask=0xff It'll be handy for having single file with multiple alias definitions. Signed-off-by: Jiri Olsa Cc:

[PATCH 2/8] perf tools: Change perf_pmu__new_alias function interface

2013-01-26 Thread Jiri Olsa
Changing perf_pmu__new_alias interface not to work directly with FILE object, so it can be reused by other code paths coming in shortly. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo

[PATCH 7/8] perf tools: Add non arch events for IvyBridge micro architecture

2013-01-26 Thread Jiri Olsa
Adding non architectural event aliases for IvyBridge micro architecture. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: Stephane Eranian ---

[PATCH 4/8] perf tools: Add pmu interface to parse single file of aliases

2013-01-26 Thread Jiri Olsa
Adding pmu_aliases_parse_multi function to parse and add aliases from single file. The file format follows the alias format, each line for single alias. Each line must contains 'name' term, like: name=BR_MISP_EXEC.ALL_BRANCHES,event=0x89,umask=0xff name=BR_MISP_EXEC.COND,event=0x89,umask=0x1

[PATCH 6/8] perf tools: Add non arch events for SandyBridge microarchitecture

2013-01-26 Thread Jiri Olsa
Adding non architectural event aliases for SandyBridge micro architecture. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: Stephane Eranian ---

[PATCH 8/8] perf tools: List kernel supplied event aliases in perf list v2

2013-01-26 Thread Jiri Olsa
From: Andi Kleen List the kernel supplied pmu event aliases in perf list It's better when the users can actually see them. v2: Fix pattern matching Signed-off-by: Andi Kleen [ removed 'OR' alternative syntax from display & changed subject ] [ rebased to latest perf tool changes ]

[PATCH 1/8] perf tools: Add '.' as part of the event 'name' token

2013-01-26 Thread Jiri Olsa
Adding '.' to be recognized as valid part of the event 'name' token. Upcoming non architectural events use '.' as part of the name. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho

[RFCv2 0/8] perf tools: Add non-architectural event aliases

2013-01-26 Thread Jiri Olsa
hi, adding support to use non-architectural events in perf via name, to be able to use them like: $ perf stat -e 'cpu/IDQ.ALL_DSB_CYCLES/' ... $ perf stat -e 'cpu/L2_STORE_LOCK_RQSTS.MISS/' ... ... The perf list command displays current non-arch. events available: $ perf list ...

Re: [PATCH v2 5/6] ARM: dts: omap5: add dwc3 core dt data

2013-01-26 Thread Sergei Shtylyov
On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 core dt data as a subnode to dwc3 omap glue data in omap5 dt data file. The information for the entered data node is available @ Documentation/devicetree/bindings/usb/dwc3.txt Signed-off-by: Kishon Vijay Abraham I ---

Re: [PATCH v2 4/6] ARM: dts: omap5: add dwc3 omap dt data

2013-01-26 Thread Sergei Shtylyov
Hello. On 25-01-2013 15:11, Kishon Vijay Abraham I wrote: Add dwc3 omap glue data to the omap5 dt data file. The information about the dt node added here is available @ Documentation/devicetree/bindings/usb/omap-usb.txt Signed-off-by: Kishon Vijay Abraham I ---

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread Linus Torvalds
On Sat, Jan 26, 2013 at 7:18 AM, H. Peter Anvin wrote: > On the CPUs Ling is testing on the downsides of -Os probably matter less, in > particular since rep movsb works well. > > It is questionable as a generic default, though. So being the person who really pushed for -Os to begin with (I

[PATCH v3 2/3] kconfig: nconf: rewrite labels of function keys line

2013-01-26 Thread Roland Eggner
>From: Roland Eggner More reasonable labels of function keys line. Rename labels and keep menu width, as required for fitting on COLUMNS=80 terminals: • s/Insts/Help 2/ • s/Config/ShowAll/ Signed-off-by: Roland Eggner --- scripts/kconfig/nconf.c | 8 1 files changed, 4

[PATCH] checkpatch: Add check for kcalloc argument order

2013-01-26 Thread Joe Perches
kcalloc is sometimes misused with the first and second arguments switched. Same issue with kmalloc_array too. Bleat if sizeof is the first argument Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/checkpatch.pl

[PATCH] gro: Fix kcalloc argument order

2013-01-26 Thread Joe Perches
First number, then size. Signed-off-by: Joe Perches --- include/net/gro_cells.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/gro_cells.h b/include/net/gro_cells.h index e5062c9..734d9b5 100644 --- a/include/net/gro_cells.h +++ b/include/net/gro_cells.h @@

[PATCH] edac: Fix kcalloc argument order

2013-01-26 Thread Joe Perches
First number, then size. Signed-off-by: Joe Perches --- drivers/edac/edac_mc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index a641f62..fb219bc 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@

[PATCH v3 1/3] kconfig: nconf: rewrite help texts

2013-01-26 Thread Roland Eggner
>From: Roland Eggner Rewrite all help texts. During several years lazy (incomplete) updates have left behind a rather thick layer of dust. Intentions: (1) Global help called by should document all _currently_ implemented keybindings. (2) Different help texts called by resp. should

Re: [PATCH 0/9] perf: Adding better precise_ip field handling

2013-01-26 Thread Jiri Olsa
On Sat, Jan 26, 2013 at 06:27:46PM +0100, Jiri Olsa wrote: > hi, > adding sysfs attribute to specify the maximum allowed value > for perf_event_attr::precise_ip field. > > Adding functionality for simple 'precise' term to get the > maximum allowed value for perf_event_attr::precise_ip field. > >

Re: [RFC] ACPI scan handlers

2013-01-26 Thread Jiang Liu
On 01/24/2013 08:26 AM, Rafael J. Wysocki wrote: > Hi All, > > There is a considerable amount of confusion in the ACPI subsystem about what > ACPI drivers are used for. Namely, some of them are used as "normal" device > drivers that bind to devices and handle them using ACPI control methods

Re: [Pv-drivers] [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-01-26 Thread Neil Horman
On Fri, Jan 25, 2013 at 04:15:19PM -0800, Dmitry Torokhov wrote: > Hi Neil, > > On Friday, January 25, 2013 06:59:53 PM Neil Horman wrote: > > On Fri, Jan 25, 2013 at 09:37:50AM -0800, ack...@vmware.com wrote: > > > + > > > +config VMWARE_VSOCK > > > + tristate "Virtual Socket protocol" > > > +

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 4:05 PM, Sedat Dilek wrote: > On Sat, Jan 26, 2013 at 3:33 PM, Sedat Dilek wrote: >> On Sat, Jan 26, 2013 at 2:24 PM, Sedat Dilek wrote: >>> On Sat, Jan 26, 2013 at 2:25 PM, Rafael J. Wysocki wrote: On Saturday, January 26, 2013 12:10:32 PM Sedat Dilek wrote: >

Re: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-26 Thread Olaf Hering
On Sat, Jan 26, KY Srinivasan wrote: > > > > -Original Message- > > From: Olaf Hering [mailto:o...@aepfle.de] > > Sent: Friday, January 25, 2013 3:00 PM > > To: KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; Greg KH; Jan Beulich (jbeul...@suse.com) > > Subject: Re: [PATCH] x86:

Re: [PATCH] regulator: lp8755: Use LP8755_BUCK_MAX instead of magic number

2013-01-26 Thread daniel jeong
On Jan 26, 2013, at 2:19 PM, Axel Lin wrote: > Signed-off-by: Axel Lin > --- > drivers/regulator/lp8755.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/regulator/lp8755.c b/drivers/regulator/lp8755.c > index 8b1ce0f..f0f6ea0 100644 > ---

[PATCH] [PATCH] IRQ CORE: irq_work_queue function return value not used.

2013-01-26 Thread anish kumar
From: anish kumar As no one is using the return value of irq_work_queue function it is better to just make it void. Acked-by: Steven Rostedt Signed-off-by: anish kumar --- include/linux/irq_work.h |2 +- kernel/irq_work.c|5 ++--- 2 files changed, 3 insertions(+), 4

[PATCH 1/9] perf x86: Add precise sysfs cpu pmu attribute

2013-01-26 Thread Jiri Olsa
Adding sysfs 'precise' attribute for cpu device (/sys/devices/cpu/precise) to show the maximum value for perf event precise attribute. This will be initially used for automated precise event perf test and could be helpful otherwise. TODO Arnaldo suggested to use this as a guide for default

[PATCH 0/9] perf: Adding better precise_ip field handling

2013-01-26 Thread Jiri Olsa
hi, adding sysfs attribute to specify the maximum allowed value for perf_event_attr::precise_ip field. Adding functionality for simple 'precise' term to get the maximum allowed value for perf_event_attr::precise_ip field. And finally adding several precise automated tests. thanks, jirka

[PATCH 7/9] perf tests: Add automated precise term test

2013-01-26 Thread Jiri Olsa
Adding automated test for precise term test in event: 'cpu/cycles,precise/' 'cpu/cycles,precise/p' 'cpu/cycles,precise/u' to check proper values of precise_ip driven by sysfs precise attribute. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc:

[PATCH 3/9] perf tests: Add precise event automated test

2013-01-26 Thread Jiri Olsa
The test detects the precise attribute availability and try to open perf event with each allowed precise attribute value. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo

[PATCH 9/9] perf: Document the ABI for 'rdpmc' sysfs attribute

2013-01-26 Thread Jiri Olsa
Adding ABI documentation for newly added 'rdpmc' sysfs attribute. It's added under the testing section. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen

[PATCH 6/9] perf tools: Favor 'p' modifier before 'precise' term properly

2013-01-26 Thread Jiri Olsa
The 'p' event modifier is stronger than setting precise_ip using the 'precise' term, like: 'cpu/cycles,precise/' - precise_ip = sysfs precise value 'cpu/cycles,precise/p' - precise_ip = 1 There's currently bug if the event modifier without 'p' is specified the precise_ip is set to zero,

[PATCH 4/9] perf tools: Add a precise event qualifier

2013-01-26 Thread Jiri Olsa
From: Andi Kleen Add a precise qualifier, like cpu/event=0x3c,precise=1/ This is needed so that the kernel can request enabling PEBS for TSX events. The parser bails out on any sysfs parse errors, so this is needed in any case to handle any event on the TSX perf kernel. Signed-off-by: Andi

[PATCH 8/9] perf: Document the ABI for 'precise' sysfs attribute

2013-01-26 Thread Jiri Olsa
Adding ABI documentation for newly added 'precise' sysfs attribute. It's added under the testing section. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen

[PATCH 2/9] perf tools: Add precise object to interface sysfs precise

2013-01-26 Thread Jiri Olsa
Adding precise util object to get maximum value for perf_event_attr::precise_ip. The value is exported via sysfs file '/sys/devices/cpu/precise'. The interface is: int perf_precise__get(void) Returns: maximum value allowed for perf_event_attr::precise_ip 0 if sysfs attribute is not found

[PATCH 5/9] perf tools: Read maximal precise value for 'precise' term

2013-01-26 Thread Jiri Olsa
Currently if the term is specified without any value like -e 'cpu/...,precise,../', the number '1' is assigned as its default value. Adding special treatment for 'precise' term to use the maximum allowed precise value in such case using the perf_precise__get function. Signed-off-by: Jiri Olsa

RE: [PATCH] x86: Hyper-V: register clocksource only if its advertised

2013-01-26 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, January 25, 2013 3:00 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; Greg KH; Jan Beulich (jbeul...@suse.com) > Subject: Re: [PATCH] x86: Hyper-V: register clocksource only if its advertised > >

RE: [tip:x86/asm] x86/xor: Make virtualization friendly

2013-01-26 Thread KY Srinivasan
> -Original Message- > From: H. Peter Anvin [mailto:h...@zytor.com] > Sent: Friday, January 25, 2013 8:05 PM > To: H. Peter Anvin > Cc: mi...@kernel.org; linux-kernel@vger.kernel.org; konrad.w...@oracle.com; > torva...@linux-foundation.org; jbeul...@suse.com; t...@linutronix.de; linux- >

Re: [PATCH] IRQ CORE: irq_work_queue function return value not used.

2013-01-26 Thread Frederic Weisbecker
2012/11/3 anish kumar : > From: anish kumar > > As no one is using the return value of irq_work_queue function > it is better to just make it void. > > Acked-by: Steven Rostedt > Signed-off-by: anish kumar > --- > kernel/irq_work.c |5 ++--- > 1 files changed, 2 insertions(+), 3

[PATCH] cputime: Avoid multiplication overflow on utime scaling

2013-01-26 Thread Frederic Weisbecker
We scale stime, utime values based on rtime (sum_exec_runtime converted to jiffies). During scaling we multiple rtime * utime, which seems to be fine, since both values are converted to u64, but it's not. Let assume HZ is 1000 - 1ms tick. Process consist of 64 threads, run for 1 day, threads

Re: [PATCH] drm: fix to radeon driver for HD 6450

2013-01-26 Thread Alex Deucher
On Fri, Jan 25, 2013 at 1:10 PM, Chris Staite wrote: > From: Christopher Staite > > Fix commit 62444b7462a2b98bc78d68736c03a7c4e66ba7e2 for HD 6450. The stop > and resume causes the screen to glitch and the X server to reboot constantly. > Re-instating the UPDATE_LOCK fixes the issue in

Re: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-26 Thread Theodore Ts'o
(In the teach a person to fish category...) If you know the file and line number where a bug/regression was introduced, the "git blame" command is a great tool for identifying the commit which changed a given line of code. Then use "git tag --contains " to see when a particular commit was

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread Borislav Petkov
On Sat, Jan 26, 2013 at 07:18:26AM -0800, H. Peter Anvin wrote: > On the CPUs Ling is testing on the downsides of -Os probably matter >less, in particular since rep movsb works well. > > It is questionable as a generic default, though. > > The whole -Ok discussion came from that. Hmm, maybe this

Re: [tip:x86/asm] x86/defconfig: Turn on CONFIG_CC_OPTIMIZE_FOR_SIZE= y in the 64-bit defconfig

2013-01-26 Thread H. Peter Anvin
On the CPUs Ling is testing on the downsides of -Os probably matter less, in particular since rep movsb works well. It is questionable as a generic default, though. The whole -Ok discussion came from that. Borislav Petkov wrote: >On Sat, Jan 26, 2013 at 04:25:57AM -0800, tip-bot for Ma Ling

Re: [PATCH] arm: dts: Add uart1 and uart2 to igep boards.

2013-01-26 Thread Matthias Brugger
Hi Benoit, 2012/12/12 Benoit Cousson : > Hi Matthias, > > On 12/12/2012 04:33 PM, Matthias Brugger wrote: >> This patch is a follow-up patch for Javier Martinez effort adding initial >> device tree support to IGEP technology devices. [1] >> >> It adds uart1 and uart2 bindings to the generic dtsi

Re: [PATCH 0/3, v2] x86: xor-block handling adjustments

2013-01-26 Thread H. Peter Anvin
Yes. Ingo Molnar wrote: > >* H. Peter Anvin wrote: > >> On 01/25/2013 12:21 AM, Jan Beulich wrote: >> >> >> >> I don't see anything wrong, except that I can't *find* patch 3/3 >either >> >> in my inbox nor on LKML... >> > >> > I can certainly resend the whole set, but our email system even >>

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 3:33 PM, Sedat Dilek wrote: > On Sat, Jan 26, 2013 at 2:24 PM, Sedat Dilek wrote: >> On Sat, Jan 26, 2013 at 2:25 PM, Rafael J. Wysocki wrote: >>> On Saturday, January 26, 2013 12:10:32 PM Sedat Dilek wrote: On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell

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

2013-01-26 Thread Shawn Guo
Mark, On Fri, Jan 25, 2013 at 01:46:45PM -0600, Mark Langsdorf wrote: > +static int hb_cpufreq_driver_init(void) > +{ > + struct device *cpu_dev; > + struct clk *cpu_clk; > + struct device_node *np; > + int ret; > + > + for_each_child_of_node(of_find_node_by_path("/cpus"), np)

Re: [PATCH]cputime: make bool type for steal ticks

2013-01-26 Thread Frederic Weisbecker
2013/1/26 Joe Perches : > On Sat, 2013-01-26 at 01:45 +0100, Frederic Weisbecker wrote: >> > diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c > [] >> > @@ -282,7 +282,7 @@ static __always_inline bool >> > steal_account_process_tick(void) > [] >> > - return st; >> > +

[PATCH 3/5] ARM: pinctrl: sunxi: Add the pinctrl pin set for Allwinner A10

2013-01-26 Thread Maxime Ripard
Since the Allwinner SoCs variants don't have the same set of pins to handle, we need to declare the pin ranges available. Signed-off-by: Maxime Ripard --- drivers/pinctrl/pinctrl-sunxi.c | 554 +++ drivers/pinctrl/pinctrl-sunxi.h | 68 + 2 files

[PATCH 1/5] ARM: sunxi: Increase the number of GPIOs available

2013-01-26 Thread Maxime Ripard
The Allwinner A10 has 9 banks of 32 GPIOs available, so it doesn't fit in the usual 256 limit set by gpio.h. Increase this number to 288. Signed-off-by: Maxime Ripard --- arch/arm/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig

[PATCH 5/5] ARM: sunxi: Add the pin groups for UART0 and UART1 on sun4i

2013-01-26 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun4i-a10.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 73e0dd5..f99f60d 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++

[PATCH 4/5] ARM: sunxi: Add the sun4i pinctrl and gpio nodes

2013-01-26 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun4i-a10.dtsi |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index e61fdd4..73e0dd5 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++

[PATCH 2/5] pinctrl: sunxi: Document sun5i pins functions

2013-01-26 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- drivers/pinctrl/pinctrl-sunxi.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sunxi.c b/drivers/pinctrl/pinctrl-sunxi.c index 4ed0e7e..34b4e90 100644 --- a/drivers/pinctrl/pinctrl-sunxi.c +++

Re: linux-next: Tree for Jan 25 (BROKEN suspend)

2013-01-26 Thread Sedat Dilek
On Sat, Jan 26, 2013 at 2:24 PM, Sedat Dilek wrote: > On Sat, Jan 26, 2013 at 2:25 PM, Rafael J. Wysocki wrote: >> On Saturday, January 26, 2013 12:10:32 PM Sedat Dilek wrote: >>> On Fri, Jan 25, 2013 at 6:26 AM, Stephen Rothwell >>> wrote: >>> > Hi all, >>> > >>> > Changes since 20130124: >>>

Re: [PATCHv3] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-26 Thread Ezequiel Garcia
Hi Maxime, On Sat, Jan 26, 2013 at 6:31 AM, Maxime Ripard wrote: > The IP responsible for the muxing on the Allwinner SoCs are also > handling the GPIOs on the system. This patch adds the needed driver that > relies on the pinctrl driver for most of its operations. > > The number of pins

Re: [PATCH 14/14] idr: deprecate idr_remove_all()

2013-01-26 Thread Tejun Heo
Hello, Arnd. On Sat, Jan 26, 2013 at 5:48 AM, Arnd Bergmann wrote: > If all in-kernel users are gone, why not just remove the function > completely? Out of pure kindness of my heart for the sad folks without the grace of mainline. I was thinking to kill it in a release cycle or two. Thanks.

Re: [RFC] ACPI scan handlers

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 02:49:30 AM Rafael J. Wysocki wrote: > On Friday, January 25, 2013 04:07:38 PM Toshi Kani wrote: > > On Fri, 2013-01-25 at 23:11 +0100, Rafael J. Wysocki wrote: > > > On Friday, January 25, 2013 09:52:21 AM Toshi Kani wrote: > > > > On Thu, 2013-01-24 at 01:26 +0100,

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Rafael J. Wysocki
On Saturday, January 26, 2013 01:39:37 PM Carlos R. Mafra wrote: > On Sat, 26 Jan 2013 at 14:23:12 +0100, Rafael J. Wysocki wrote: > > On Saturday, January 26, 2013 12:23:37 PM Carlos R. Mafra wrote: > > > On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: > > > > On Wed, Nov 07, 2012 at

Re: [PATCH 14/14] idr: deprecate idr_remove_all()

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Tejun Heo wrote: > > There was only one legitimate use of idr_remove_all() and a lot more > of incorrect uses (or lack of it). Now that idr_destroy() implies > idr_remove_all() and all the in-kernel users updated not to use it, > there's no reason to keep it around.

Re: ACPI errors with 3.7-rc3

2013-01-26 Thread Carlos R. Mafra
On Sat, 26 Jan 2013 at 14:23:12 +0100, Rafael J. Wysocki wrote: > On Saturday, January 26, 2013 12:23:37 PM Carlos R. Mafra wrote: > > On Thu, 8 Nov 2012 at 5:47:15 +0100, Greg KH wrote: > > > On Wed, Nov 07, 2012 at 10:49:40PM +0100, Rafael J. Wysocki wrote: > > > > On Tuesday, November 06,

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-26 Thread Arnd Bergmann
On Saturday 26 January 2013, Russell King - ARM Linux wrote: > On Fri, Jan 25, 2013 at 11:45:25PM +, Arnd Bergmann wrote: > > On Friday 25 January 2013, Myklebust, Trond wrote: > > > > -Original Message- > > > > From: Arnd Bergmann [mailto:a...@arndb.de] > > > > Marking it as

[PATCH 2/3] Show option to not include kernel configuration only for embedded systems

2013-01-26 Thread Alexander Holler
The included kernel configuration only consumes a few kb. In order to prevent premature optimization, show the the option for not including the kernel configuration only for embedded systems. Signed-off-by: Alexander Holler --- init/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 0/3] Include kernel config by default

2013-01-26 Thread Alexander Holler
Hello, I've seen too many systems where the config to build the used kernel got lost and people were unable to diagnose problems or to rebuild a modified or updated kernel. It's a subject which worries me since several years. Therefor I finally prepared the following patch(es) to include the

[PATCH 1/3] Include kernel config by default

2013-01-26 Thread Alexander Holler
The configuration used to build a kernel (.config) is an import part of the kernel because it defines many aspects how the kernel handles all kind of stuff. Without knowing the used configuration, it is almost impossible to diagnose problems or to determine how many functionalities are handled by

<    1   2   3   4   5   6   >