[PATCH v3 13/44] metag: Memory management

2013-01-10 Thread James Hogan
Add memory management files for metag. Meta's 32bit virtual address space is split into two halves: - local (0x0800-0x7fff): traditionally local to a hardware thread and incoherent between hardware threads. Each hardware thread has it's own local MMU table. On Meta2 the local space

[PATCH v3 15/44] metag: Huge TLB

2013-01-10 Thread James Hogan
Add huge TLB support to the metag architecture. Signed-off-by: James Hogan --- arch/metag/include/asm/hugetlb.h | 86 +++ arch/metag/mm/hugetlbpage.c | 291 ++ 2 files changed, 377 insertions(+), 0 deletions(-) create mode 100644 arch/metag/in

[PATCH v3 12/44] metag: Cache/TLB handling

2013-01-10 Thread James Hogan
Add cache and TLB handling code for metag, including the required callbacks used by MM switches and DMA operations. Caches can be partitioned between the hardware threads and the global space, however this is usually configured by the bootloader so Linux doesn't make any changes to this configurati

[PATCH v3 16/44] metag: Highmem support

2013-01-10 Thread James Hogan
Signed-off-by: James Hogan --- arch/metag/include/asm/fixmap.h | 99 arch/metag/include/asm/highmem.h | 62 ++ arch/metag/mm/highmem.c | 133 ++ 3 files changed, 294 insertions(+), 0 deletions(-) crea

[PATCH v3 14/44] metag: Memory handling

2013-01-10 Thread James Hogan
Meta has instructions for accessing: - bytes- GETB (1 byte) - words- GETW (2 bytes) - doublewords - GETD (4 bytes) - longwords- GETL (8 bytes) All accesses must be aligned. Unaligned accesses can be detected and made to fault on Meta2, however it isn't possible to fix up u

[PATCH v3 19/44] metag: Device tree

2013-01-10 Thread James Hogan
Add device tree files to arch/metag. Signed-off-by: James Hogan --- arch/metag/boot/dtb/Makefile | 17 ++ arch/metag/boot/dts/skeleton.dts | 10 arch/metag/boot/dts/skeleton.dtsi | 14 + arch/metag/include/asm/prom.h | 23 + arch/metag/kernel/devtree.c

[PATCH v3 18/44] metag: Signal handling

2013-01-10 Thread James Hogan
Add signal handling code for metag. Signed-off-by: James Hogan Cc: Al Viro --- arch/metag/include/uapi/asm/sigcontext.h | 31 +++ arch/metag/include/uapi/asm/siginfo.h|8 + arch/metag/kernel/signal.c | 344 ++ 3 files changed, 383 insertions(

[PATCH v3 25/44] metag: System Calls

2013-01-10 Thread James Hogan
Add metag system call and gateway page interfaces. The metag architecture port uses the generic system call numbers from asm-generic/unistd.h, as well as a user gateway page mapped at 0x6000 which contains fast atomic primitives (depending on SMP) and a fast method of accessing TLS data. Syste

[PATCH v3 22/44] metag: Traps

2013-01-10 Thread James Hogan
Add trap code for metag. At the lowest level Meta traps (and return from interrupt instruction - RTI) simply swap the PC and PCX registers and optionally toggle the interrupt status bit (ISTAT). Low level TBX code in tbipcx.S handles the core context save, determine the TBX signal number based on t

[PATCH v3 28/44] metag: Atomics, locks and bitops

2013-01-10 Thread James Hogan
Add header files to implement Meta hardware thread locks (used by some other atomic operations), atomics, spinlocks, and bitops. There are 2 main types of atomic primitives for metag (in addition to IRQs off on UP): - LOCK instructions provide locking between hardware threads. - LNKGET/LNKSET in

[PATCH v3 21/44] metag: Time keeping

2013-01-10 Thread James Hogan
Add time keeping code for metag. Meta hardware threads have 2 timers. The background timer (TXTIMER) is used as a free-running time base, and the interrupt timer (TXTIMERI) is used for the timer interrupt. Both counters traditionally count at approximately 1MHz. Signed-off-by: James Hogan --- ar

[PATCH v3 31/44] metag: DMA

2013-01-10 Thread James Hogan
Add DMA mapping code. Signed-off-by: James Hogan --- arch/metag/include/asm/dma-mapping.h | 183 arch/metag/kernel/dma.c | 507 ++ 2 files changed, 690 insertions(+), 0 deletions(-) create mode 100644 arch/metag/include/asm/dma-mapping

[PATCH v3 17/44] metag: TCM support

2013-01-10 Thread James Hogan
Add some TCM support Signed-off-by: James Hogan --- arch/metag/include/asm/mmzone.h| 42 ++ arch/metag/include/asm/sparsemem.h | 13 +++ arch/metag/include/asm/tcm.h | 30 +++ arch/metag/kernel/tcm.c| 151 arch/metag/m

[PATCH v3 32/44] metag: Optimised library functions

2013-01-10 Thread James Hogan
Add optimised library functions for metag. Signed-off-by: James Hogan --- arch/metag/include/asm/checksum.h | 92 ++ arch/metag/include/asm/div64.h| 12 ++ arch/metag/include/asm/string.h | 13 ++ arch/metag/lib/ashldi3.S | 33 arch/metag/lib/ashrdi3.S

[PATCH v3 30/44] metag: SMP support

2013-01-10 Thread James Hogan
Add SMP support for metag. This allows Linux to take control of multiple hardware threads on a single Meta core, treating them as separate Linux CPUs. Signed-off-by: James Hogan --- arch/metag/include/asm/cachepart.h | 42 +++ arch/metag/include/asm/core_reg.h | 28 ++ arch/metag/include/as

[PATCH v3 23/44] metag: IRQ handling

2013-01-10 Thread James Hogan
Add core IRQ handling for metag. The code in irq.c exposes the TBX signal numbers as Linux IRQs. Signed-off-by: James Hogan --- arch/metag/include/asm/irq.h | 32 arch/metag/include/asm/irqflags.h | 97 +++ arch/metag/kernel/irq.c | 317 ++

[PATCH v3 33/44] metag: Stack unwinding

2013-01-10 Thread James Hogan
Add stack unwinding support for metag. Signed-off-by: James Hogan --- arch/metag/include/asm/stacktrace.h | 20 arch/metag/kernel/stacktrace.c | 187 +++ 2 files changed, 207 insertions(+), 0 deletions(-) create mode 100644 arch/metag/include/asm/sta

[PATCH v3 06/44] metag: Add MAINTAINERS entry

2013-01-10 Thread James Hogan
Add MAINTAINERS entry for the metag architecture port. Signed-off-by: James Hogan Cc: Andrew Morton Cc: Mauro Carvalho Chehab Cc: Cesar Eduardo Barros Cc: Joe Perches Cc: "David S. Miller" --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAI

Re: USB autosuspend vs. URB submission

2013-01-10 Thread Oliver Neukum
On Thursday 10 January 2013 10:20:42 Alan Stern wrote: > On Thu, 10 Jan 2013, Oliver Neukum wrote: > > In the long run it is probably a good idea to pass duplicated URBs to > > usbmon by > > a special code path. > > I'd prefer to add extra information to the WARN_ONCE message. Even > though it

[PATCH v3 29/44] metag: Basic documentation

2013-01-10 Thread James Hogan
Add basic metag documentation. This includes an outline description of the ABIs (including syscall ABI) and calling conventions, similar to the one in Documentation/frv/. Signed-off-by: James Hogan Cc: Rob Landley Cc: Al Viro Cc: linux-...@vger.kernel.org --- Documentation/00-INDEX

Re: [ 000/123] 3.7.2-stable review

2013-01-10 Thread Paul Bolle
On Wed, 2013-01-09 at 12:33 -0800, Greg Kroah-Hartman wrote: > Note, there are still a lot of patches submitted for inclusion in the > stable releases that I have not gotten to yet. I wanted to get this > release out now, instead of delaying for a week or so while I dig > through all of the pendin

[PATCH v3 27/44] metag: Module support

2013-01-10 Thread James Hogan
Signed-off-by: James Hogan --- arch/metag/include/asm/module.h | 37 + arch/metag/kernel/module.c | 284 +++ 2 files changed, 321 insertions(+), 0 deletions(-) create mode 100644 arch/metag/include/asm/module.h create mode 100644 arch/metag/kernel

[PATCH] USB: select USB_ARCH_HAS_EHCI for MXS

2013-01-10 Thread Maxime Ripard
Commit 09f6ffde introduced a dependency on USB_EHCI_HCD for the chipidea USB host driver, that in turns depends on USB_ARCH_HAS_EHCI. If this symbol is not set for MXS, the MXS boards are not able to use the chipidea driver anymore. Signed-off-by: Maxime Ripard --- drivers/usb/Kconfig |1 +

[PATCH v3 38/44] metag: Perf

2013-01-10 Thread James Hogan
Add Perf support for metag. Signed-off-by: James Hogan Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- arch/metag/Kconfig |1 + arch/metag/include/asm/perf_event.h |4 + arch/metag/kernel/Makefile |2 + arch/metag/k

[PATCH v3 42/44] metag: Add JTAG Debug Adapter (DA) support

2013-01-10 Thread James Hogan
Add basic JTAG Debug Adapter (DA) support so that drivers which communicate with the DA can detect whether one is actually present (otherwise the target will halt indefinitely). Signed-off-by: James Hogan --- arch/metag/Kconfig |9 ++ arch/metag/configs/meta1_defconfi

[PATCH v3 35/44] mm: define VM_GROWSUP for CONFIG_METAG

2013-01-10 Thread James Hogan
Commit cc2383ec06be093789469852e1fe96e1148e9a2c ("mm: introduce arch-specific vma flag VM_ARCH_1") merged in v3.7-rc1. The above commit combined several arch-specific vma flags into one, and in the process it changed the VM_GROWSUP definition to depend on specific architectures rather than CONFIG_

[PATCH v3 36/44] Kconfig.debug: add METAG to dependency lists

2013-01-10 Thread James Hogan
Add [!]METAG to a couple of Kconfig dependencies in lib/Kconfig.debug. Don't allow stack utilization instrumentation on metag, and allow building with frame pointers. Signed-off-by: James Hogan Cc: Andrew Morton Cc: "Paul E. McKenney" Cc: Akinobu Mita Cc: Michel Lespinasse Cc: Catalin Marinas

[PATCH v3 24/44] metag: Internal and external irqchips

2013-01-10 Thread James Hogan
Meta core internal interrupts (from HWSTATMETA and friends) are vectored onto the TR1 core trigger for the current thread. This is demultiplexed in irq-meta.c to individual Linux IRQs for each internal interrupt. External SoC interrupts (from HWSTATEXT and friends) are vectored onto the TR2 core t

[PATCH v3 39/44] metag: ftrace support

2013-01-10 Thread James Hogan
Add ftrace support for metag. Signed-off-by: James Hogan Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar --- arch/metag/Kconfig |5 ++ arch/metag/include/asm/Kbuild |1 - arch/metag/include/asm/ftrace.h | 23 +++ arch/metag/kernel/ftrace.c | 127 +

[PATCH v3 41/44] metag: OProfile

2013-01-10 Thread James Hogan
Add oprofile support for metag. Signed-off-by: James Hogan Cc: Robert Richter Cc: oprofile-l...@lists.sf.net --- arch/metag/Kconfig|1 + arch/metag/Makefile |2 + arch/metag/oprofile/Makefile | 16 ++ arch/metag/oprofile/backtrace.c

[PATCH v3 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-10 Thread James Hogan
Add a TTY driver for communicating over a Meta DA (Debug Adapter) channel using the bios channel SWITCH operation. Signed-off-by: James Hogan Cc: Alan Cox Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Andrew Morton Cc: Mauro Carvalho Chehab Cc: Cesar Eduardo Barros Cc: Joe Perches Cc: "David S

[PATCH v3 44/44] fs: imgdafs: Add IMG DAFS filesystem for metag

2013-01-10 Thread James Hogan
Add the IMG Debug Adapter File System (DAFS) for metag, which uses SWITCH operations to communicate with a file server on a host computer via a JTAG debug adapter. Signed-off-by: James Hogan Cc: Alexander Viro Cc: Andrew Morton Cc: Mauro Carvalho Chehab Cc: Cesar Eduardo Barros Cc: Joe Perche

Re: [PATCH 02/10] goldfish: add the goldfish virtual bus

2013-01-10 Thread Alan Cox
> Maybe drivers/bus would be more appropriate though. Every platform > handles platforms differently, and x86 seems to be the only one that > likes the model of putting stuff under drivers/platform. I'm fine with that and I agree - it is a bus. > __devinit/__devexit are going away, so you can ski

[PATCH v3 20/44] metag: ptrace

2013-01-10 Thread James Hogan
The ptrace interface for metag provides access to some core register sets using the PTRACE_GETREGSET and PTRACE_SETREGSET operations. The details of the internal context structures is abstracted into user API structures to both ease use and allow flexibility to change the internal context layouts.

[PATCH v3 37/44] metag: Build infrastructure

2013-01-10 Thread James Hogan
Add metag build infrastructure. Signed-off-by: James Hogan --- arch/metag/Kconfig | 275 arch/metag/Kconfig.debug | 40 + arch/metag/Kconfig.soc | 55 +++ arch/metag/Makefile| 87

[PATCH v3 34/44] metag: Various other headers

2013-01-10 Thread James Hogan
Add the remaining metag header files: - byteorder.h, swab.h (byte order and swapping) - barrier.h, cpu.h. hwthread.h, processor.h (hardware thread related) - bug.h, elf.h, gpio.h, linkage.h, resource.h (other) Signed-off-by: James Hogan --- arch/metag/include/asm/barrier.h| 85 +

[PATCH v3 26/44] metag: Scheduling/Process management

2013-01-10 Thread James Hogan
Signed-off-by: James Hogan --- arch/metag/include/asm/thread_info.h | 155 + arch/metag/kernel/process.c | 422 ++ 2 files changed, 577 insertions(+), 0 deletions(-) create mode 100644 arch/metag/include/asm/thread_info.h create mode 100644

[PATCH v3 40/44] scripts/checkstack.pl: Add metag support

2013-01-10 Thread James Hogan
Adapt checkstack.pl so that it works for metag. Signed-off-by: James Hogan --- scripts/checkstack.pl |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl index 17e3843..544aa56 100755 --- a/scripts/checkstack.pl +++ b/scrip

[PATCH v3 00/44] Meta Linux Kernel Port

2013-01-10 Thread James Hogan
This patchset adds core architecture support to Linux for Imagination's Meta ATP (Meta 1) and HTP (Meta 2) processor cores. Most of the feedback from the RFC and v2 patchsets has now been addressed. All further feedback is most welcome. The patches are based on next-20130110, and can al

[PATCH v3 04/44] Add HAVE_64BIT_ALIGNED_ACCESS

2013-01-10 Thread James Hogan
On 64 bit architectures with no efficient unaligned access, padding and explicit alignment must be added in various places to prevent unaligned 64bit accesses (such as taskstats and trace ring buffer). However this also needs to apply to 32 bit architectures with 64 bit accesses requiring alignmen

[char-misc-next V2] mei: drop the warning when cl is not initialized during unlinking

2013-01-10 Thread Tomas Winkler
On systems where wd and amthif is not initialized we will hit cl->dev == NULL. This condition is okay so we don't need to be laud about it. Fixes the follwing warning during suspend [ 137.061985] WARNING: at drivers/misc/mei/client.c:315 mei_cl_unlink+0x86/0x90 [mei]() [ 137.061986] Hardware na

[PATCH v3 02/44] asm-generic/unistd.h: handle symbol prefixes in cond_syscall

2013-01-10 Thread James Hogan
Some architectures have symbol prefixes and set CONFIG_SYMBOL_PREFIX, but this wasn't taken into account by the generic cond_syscall. It's easy enough to fix in a generic fashion, so add the symbol prefix to symbol names in cond_syscall when CONFIG_SYMBOL_PREFIX is set. Signed-off-by: James Hogan

Re: [PATCH 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-10 Thread Rik van Riel
On 01/10/2013 10:19 AM, Mike Galbraith wrote: On Tue, 2013-01-08 at 17:26 -0500, Rik van Riel wrote: Please let me know if you manage to break this code in any way, so I can fix it... I didn't break it, but did let it play with rq->lock contention. Using cyclictest -Smp99 -i 100 -d 0, with 3

Re: regression, bisected: openpty fails from 3.7 onwards without devpts

2013-01-10 Thread Alan Cox
On Thu, 10 Jan 2013 15:46:26 +0100 Florian Westphal wrote: > Frank Lichtenheld discovered that openpty() doesn't work anymore when > /dev/pts is not present. > > We bisected this down to > > commit bbb63c514a3464342967237a51a21ea8f61ab951 > Author: Wanlong Gao > Subject: drivers:tty:fix up ENO

[GIT PULL] NumaScale changes

2013-01-10 Thread Borislav Petkov
Hi guys, those changes have been a bit longer in the works and were ready even before the merge window but it was better to hold them off after it and send them out then. They basically incorporate PCI domain numbers into AMD northbridge IDs, thus adding support for Numascale confederated systems.

Re: [PATCH] Fix wrong EOF compare

2013-01-10 Thread Michal Nazarewicz
On Thu, Jan 10 2013, Minchan Kim wrote: > getc returns "int" so EOF could be -1 but storing getc's return > value to char directly makes the vaule to 255 so below condition > is always false. Technically, this is implementation defined and I believe on many systems char is signed thus the loop wi

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Jason Wang
On 01/10/2013 11:10 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 10:47:49PM +0800, Jason Wang wrote: >> On 01/10/2013 10:41 PM, Michael S. Tsirkin wrote: >>> On Thu, Jan 10, 2013 at 10:27:20PM +0800, Jason Wang wrote: On 01/10/2013 10:19 PM, Michael S. Tsirkin wrote: > On Thu, J

Re: USB autosuspend vs. URB submission

2013-01-10 Thread Alan Stern
On Thu, 10 Jan 2013, Oliver Neukum wrote: > On Thursday 10 January 2013 00:05:55 Laurent Pinchart wrote: > > > I've had a quick look at the trace posted at > > https://bugzilla.redhat.com/show_bug.cgi?id=879462 but usbmon only shows > > URBs > > that are successfully submitted. I'm not sure wh

Re: [PATCH 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-10 Thread Mike Galbraith
On Tue, 2013-01-08 at 17:26 -0500, Rik van Riel wrote: > Please let me know if you manage to break this code in any way, > so I can fix it... I didn't break it, but did let it play with rq->lock contention. Using cyclictest -Smp99 -i 100 -d 0, with 3 rt tasks for pull_rt_task() to pull around ap

Re: Friendlier EPERM - Request for input

2013-01-10 Thread Tetsuo Handa
Eric Paris wrote: > On systems with a strict security policy worried about such things this > would quite reasonably need to be disabled. But most of the reason > people turn off LSMs is because it gets in the way and they get pissed > getting an EPERM, checking rwx bits, having no idea WTF happen

Re: USB autosuspend vs. URB submission

2013-01-10 Thread Alan Stern
On Thu, 10 Jan 2013, Laurent Pinchart wrote: > Hi Josh, > > On Tuesday 08 January 2013 11:03:22 Josh Boyer wrote: > > On Tue, Jan 08, 2013 at 10:51:20AM -0500, Alan Stern wrote: > > > On Mon, 7 Jan 2013, Josh Boyer wrote: > > > > Hi, > > > > > > > > We've had a few reports in Fedora of users hit

[PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-10 Thread Laurent Navet
avoid these checkpatch.pl issues : - ERROR: "foo * bar" should be "foo *bar" - ERROR: switch and case should be at the same indent - ERROR: "(foo*)" should be "(foo *)" - ERROR: do not use assignment in if condition - ERROR: space required before the open parenthesis '(' - WARNING: suspect code ind

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 10:47:49PM +0800, Jason Wang wrote: > On 01/10/2013 10:41 PM, Michael S. Tsirkin wrote: > > On Thu, Jan 10, 2013 at 10:27:20PM +0800, Jason Wang wrote: > >> On 01/10/2013 10:19 PM, Michael S. Tsirkin wrote: > >>> On Thu, Jan 10, 2013 at 10:08:03PM +0800, Jason Wang wrote: >

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

2013-01-10 Thread Morten Rasmussen
On Sat, Jan 05, 2013 at 08:37:45AM +, Alex Shi wrote: > This patch add power aware scheduling in fork/exec/wake. It try to > select cpu from the busiest while still has utilization group. That's > will save power for other groups. > > The trade off is adding a power aware statistics collection

Re: [PATCH 0/8] PCI, ACPI, x86: Reserve fw allocated resource for hot-add root bus

2013-01-10 Thread Bjorn Helgaas
On Thu, Jan 10, 2013 at 6:07 AM, Rafael J. Wysocki wrote: > On Wednesday, January 09, 2013 05:34:32 PM Bjorn Helgaas wrote: >> On Wed, Jan 9, 2013 at 1:10 PM, Rafael J. Wysocki wrote: >> > On Wednesday, January 09, 2013 11:01:39 AM Yinghai Lu wrote: >> >> On Wed, Jan 9, 2013 at 10:39 AM, Bjorn He

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Jason Wang
On 01/10/2013 10:41 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 10:27:20PM +0800, Jason Wang wrote: >> On 01/10/2013 10:19 PM, Michael S. Tsirkin wrote: >>> On Thu, Jan 10, 2013 at 10:08:03PM +0800, Jason Wang wrote: On 01/10/2013 07:31 PM, Michael S. Tsirkin wrote: > At the mo

regression, bisected: openpty fails from 3.7 onwards without devpts

2013-01-10 Thread Florian Westphal
Frank Lichtenheld discovered that openpty() doesn't work anymore when /dev/pts is not present. We bisected this down to commit bbb63c514a3464342967237a51a21ea8f61ab951 Author: Wanlong Gao Subject: drivers:tty:fix up ENOIOCTLCMD error handling The original program triggering the error was pptpd,

Re: [v2.6.34-stable 60/77] udf: Avoid run away loop when partition table length is corrupted

2013-01-10 Thread Ben Hutchings
On Tue, 2013-01-08 at 18:35 -0500, Paul Gortmaker wrote: > From: Jan Kara > >--- > This is a commit scheduled for the next v2.6.34 longterm release. > http://git.kernel.org/?p=linux/kernel/git/paulg/longterm-queue-2.6.34.git > If you see a problem w

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 10:27:20PM +0800, Jason Wang wrote: > On 01/10/2013 10:19 PM, Michael S. Tsirkin wrote: > > On Thu, Jan 10, 2013 at 10:08:03PM +0800, Jason Wang wrote: > >> On 01/10/2013 07:31 PM, Michael S. Tsirkin wrote: > >>> At the moment, we check owner when we enable queue in tun. > >

Re: [PATCH V5 26/30] gfs2: Convert aio_read/write ops to read/write_iter

2013-01-10 Thread Dave Kleikamp
On 01/10/2013 04:10 AM, Steven Whitehouse wrote: > Hi, > > On Wed, 2013-01-09 at 13:58 -0600, Dave Kleikamp wrote: >> Signed-off-by: Dave Kleikamp >> Cc: Steven Whitehouse >> Cc: cluster-de...@redhat.com >> --- >> fs/gfs2/file.c | 21 ++--- >> 1 file changed, 10 insertions(+), 1

Re: [PATCH 5/9] Thermal: Create 'mapX' sysfs node for a zone

2013-01-10 Thread Greg KH
On Thu, Jan 10, 2013 at 12:50:20PM +, R, Durgadoss wrote: > > -Original Message- > > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > > ow...@vger.kernel.org] On Behalf Of Greg KH > > Sent: Tuesday, January 08, 2013 12:51 AM > > To: R, Durgadoss > > Cc: Zhang, Rui; linux...@vger

Re: [PATCH] Only reset e820 once, even with multiple memmap=exactmap params

2013-01-10 Thread Vivek Goyal
On Thu, Jan 10, 2013 at 04:21:49AM +0100, Thomas Renninger wrote: > On Tuesday, January 08, 2013 09:19:18 AM Yinghai Lu wrote: > ... > > > > that exactmap logic still have problem: > > We need to check exactmap at first, aka need to scan the whole comand line > > to see if exactmap is there at fir

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Jason Wang
On 01/10/2013 10:19 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 10:08:03PM +0800, Jason Wang wrote: >> On 01/10/2013 07:31 PM, Michael S. Tsirkin wrote: >>> At the moment, we check owner when we enable queue in tun. >>> This seems redundant and will break some valid uses >>> where fd is

Re: [PATCH 7/9] Thermal: Make PER_ZONE values configurable

2013-01-10 Thread Greg KH
On Thu, Jan 10, 2013 at 12:43:16PM +, R, Durgadoss wrote: > Hi Greg, > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Wednesday, January 09, 2013 10:30 PM > > To: R, Durgadoss > > Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel

Re: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Russell King - ARM Linux
On Thu, Jan 10, 2013 at 09:02:15AM -0500, Don Zickus wrote: > On Wed, Jan 09, 2013 at 05:57:39PM -0800, Colin Cross wrote: > > Emulate NMIs on systems where they are not available by using timer > > interrupts on other cpus. Each cpu will use its softlockup hrtimer > > to check that the next cpu i

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-10 Thread David Vrabel
On 04/01/13 17:01, Daniel Kiper wrote: > On Fri, Jan 04, 2013 at 02:38:44PM +, David Vrabel wrote: >> On 04/01/13 14:22, Daniel Kiper wrote: >>> On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: > Andrew Cooper writes: > >>>

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 10:08:03PM +0800, Jason Wang wrote: > On 01/10/2013 07:31 PM, Michael S. Tsirkin wrote: > > At the moment, we check owner when we enable queue in tun. > > This seems redundant and will break some valid uses > > where fd is passed around: I think TUNSETOWNER is there > > to p

Re: [PATCH] tun: avoid owner checks on IFF_ATTACH_QUEUE

2013-01-10 Thread Jason Wang
On 01/10/2013 07:31 PM, Michael S. Tsirkin wrote: > At the moment, we check owner when we enable queue in tun. > This seems redundant and will break some valid uses > where fd is passed around: I think TUNSETOWNER is there > to prevent others from attaching to a persistent device not > owned by the

Re: [Xen-devel] [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-10 Thread David Vrabel
On 04/01/13 15:15, Daniel Kiper wrote: > On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: > On 27.12.12 at 03:18, Daniel Kiper wrote: >>> Some implementations (e.g. Xen PVOPS) could not use part of identity page >>> table >>> to construct transition page table. It means that they

Re: BUG: kernel panic on Dell Vostro 3560 when plugging in AC adapter

2013-01-10 Thread Adrian Byszuk
On 10/01/13 12:35, Borislav Petkov wrote: > On Thu, Jan 10, 2013 at 11:59:48AM +0100, Adrian Byszuk wrote: >> I think I won't get the answer this way. Bisecting between >> 3.7 and 3.8-rc2 (from linus tree) led me to commit >> 63e1ed2364050073770c085021377d7764969b85 titled "Update vt8500 PWM >> dri

Re: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Don Zickus
On Wed, Jan 09, 2013 at 05:57:39PM -0800, Colin Cross wrote: > Emulate NMIs on systems where they are not available by using timer > interrupts on other cpus. Each cpu will use its softlockup hrtimer > to check that the next cpu is processing hrtimer interrupts by > verifying that a counter is inc

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Thu, Jan 10, 2013 at 01:33:19PM +, Mark Brown wrote: > On Thu, Jan 10, 2013 at 02:18:08PM +0100, Rafael J. Wysocki wrote: > > On Thursday, January 10, 2013 12:51:59 PM Mark Brown wrote: > > > > Sounds sensible, yes - about what I'd expect. Is it possible to match > > > on CPUID or similar

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On 01/10/2013 07:07 PM, Michael S. Tsirkin wrote: > On Thu, Jan 10, 2013 at 06:43:20PM +0800, Jason Wang wrote: >> On 01/10/2013 06:23 PM, Michael S. Tsirkin wrote: >>> On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: Multiqueue tun devices support detaching a tun_file from its

Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-10 Thread Takashi Iwai
At Thu, 10 Jan 2013 13:49:22 +0100, Jens Axboe wrote: > > On 2013-01-10 11:21, Takashi Iwai wrote: > > At Thu, 10 Jan 2013 09:23:48 +0100, > > Jens Axboe wrote: > >> > >> Hi, > >> > >> I have a USB DAC that I use for music. Just upgraded my workstation from > >> 3.7-rc7 to 3.8-rc3 this morning, an

Re: pull request: wireless 2013-01-09

2013-01-10 Thread Sedat Dilek
On Thu, Jan 10, 2013 at 11:14 AM, Sedat Dilek wrote: > On Wed, Jan 9, 2013 at 8:18 PM, John W. Linville > wrote: >> Dave, >> >> Please pull this batch of fixes (and a new driver) for the 3.8 stream... >> >> Included is a mac80211 pull, of which Johannes says the following: >> >> 'This includes a

Re: [PATCH] memcg: modify swap accounting function to support THP

2013-01-10 Thread Michal Hocko
On Thu 10-01-13 19:43:58, Sha Zhengju wrote: > From: Sha Zhengju THP are not swapped out because they are split before so this change doesn't make much sense to me. > Signed-off-by: Sha Zhengju > --- > mm/memcontrol.c | 13 ++--- > 1 file changed, 6 insertions(+), 7 deletions(-) > >

Re: [PATCH] usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare

2013-01-10 Thread Fabio Baltieri
Hello Linus, On Thu, Jan 10, 2013 at 12:23:32PM +0100, Linus Walleij wrote: > On Mon, Jan 7, 2013 at 5:47 PM, Fabio Baltieri > wrote: > > > This patch converts the module to use clk_prepare_enable and > > clk_disable_unprepare variants as required by common clock framework. > > > > Without this

[PATCH resend 0/2] Input: twl*-vibra probe cleanups (devm_* conversion)

2013-01-10 Thread Peter Ujfalusi
Hi Dmitry, This series seams to got lost: https://lkml.org/lkml/2012/6/15/128 Can you take it for 3.9? Convert the twl4030, twl6040 vibra drivers to use devm_ at probe time to clean up the code a bit. The twl6040-vibra driver needed bigger change since the ordering of the initialization was not

[PATCH resend 2/2] Input: twl6040-vibra: Code cleanup in probe with devm_* conversion

2013-01-10 Thread Peter Ujfalusi
Convert the probe to use devm_*. At the same time reorder the calls so we will register the input device as the last step when the driver is loaded. Signed-off-by: Peter Ujfalusi --- drivers/input/misc/twl6040-vibra.c | 99 +- 1 file changed, 45 insertions(+),

[PATCH resend 1/2] Input: twl4030-vibra: Convert to use devm_* in probe

2013-01-10 Thread Peter Ujfalusi
Cleanup to use devm_* when it is possible at probe time. Signed-off-by: Peter Ujfalusi --- drivers/input/misc/twl4030-vibra.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c index 78eb6b3..1fe764

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mark Brown
On Thu, Jan 10, 2013 at 02:18:08PM +0100, Rafael J. Wysocki wrote: > On Thursday, January 10, 2013 12:51:59 PM Mark Brown wrote: > > Sounds sensible, yes - about what I'd expect. Is it possible to match > > on CPUID or similar information (given that this is all in the SoC) > > instead of ACPI, t

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

2013-01-10 Thread Gregory CLEMENT
On 01/10/2013 12:15 PM, Linus Walleij wrote: > On Sun, Jan 6, 2013 at 6:34 PM, Gregory CLEMENT > wrote: > >> Now that pca953x driver can handle GPIO expanders with more than 32 >> bits this patch adds the support for the pca9505 which cam with 40 >> GPIOs. >> >> Signed-off-by: Gregory CLEMENT >

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Thu, Jan 10, 2013 at 02:23:25PM +0100, Rafael J. Wysocki wrote: > On Thursday, January 10, 2013 03:07:40 PM Mika Westerberg wrote: > > On Thu, Jan 10, 2013 at 12:51:59PM +, Mark Brown wrote: > > > On Thu, Jan 10, 2013 at 01:54:41PM +0100, Rafael J. Wysocki wrote: > > > > On Thursday, January

Regression of Sandy Bridge Power Management

2013-01-10 Thread Joakim Reinert
Hello, i was requested to send a bugreport concerning a regression of the Sandy Bridge power management. I know for sure that power consumption can be as low as 8 Watts on my system (for which i will attach hardware specs) but on all kernels i have tested (mainly >= 3.6 and <= 3.8.rc1) powertop re

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-10 Thread Tetsuo Handa
John Johansen wrote: > On 01/09/2013 05:28 AM, James Morris wrote: > > On Tue, 8 Jan 2013, John Johansen wrote: > > > >>> I'd say we need to see the actual use-case for Smack and Apparmor being > >>> used together, along with at least one major distro committing to support > >>> this. > >>> > >>

Re: clk dereference in arch/sh/kernel/cpufreq.c

2013-01-10 Thread Paul Mundt
On Thu, Jan 10, 2013 at 10:31:46AM +0100, Julia Lawall wrote: > On Thu, 10 Jan 2013, Paul Mundt wrote: > > > On Thu, Jan 03, 2013 at 10:40:20AM +0100, Julia Lawall wrote: > > > There has been a discussion recently about how the result of get_clk > > > should be an opaque handle, not a value that c

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Rafael J. Wysocki
On Thursday, January 10, 2013 03:07:40 PM Mika Westerberg wrote: > On Thu, Jan 10, 2013 at 12:51:59PM +, Mark Brown wrote: > > On Thu, Jan 10, 2013 at 01:54:41PM +0100, Rafael J. Wysocki wrote: > > > On Thursday, January 10, 2013 02:38:37 PM Mika Westerberg wrote: > > > > > > 3. We mak

Re: [PATCH 4/5] x86,smp: keep spinlock delay values per hashed spinlock address

2013-01-10 Thread Michel Lespinasse
On Thu, Jan 10, 2013 at 5:05 AM, Rik van Riel wrote: > Eric, > > with just patches 1-3, can you still reproduce the > regression on your system? > > In other words, could we get away with dropping the > complexity of patch 4, or do we still need it? To be clear, I must say that I'm not opposing p

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Rafael J. Wysocki
On Thursday, January 10, 2013 12:51:59 PM Mark Brown wrote: > On Thu, Jan 10, 2013 at 01:54:41PM +0100, Rafael J. Wysocki wrote: > > On Thursday, January 10, 2013 02:38:37 PM Mika Westerberg wrote: > > > > 3. We make the acpi_create_platform_device() match on, lets say > > > "INT33C" (a par

Re: [PATCH 4/5] x86,smp: keep spinlock delay values per hashed spinlock address

2013-01-10 Thread Rik van Riel
On 01/10/2013 08:01 AM, Michel Lespinasse wrote: On Tue, Jan 8, 2013 at 2:31 PM, Rik van Riel wrote: From: Eric Dumazet Eric Dumazet found a regression with the first version of the spinlock backoff code, in a workload where multiple spinlocks were contended, each having a different wait time

Re: [PATCH v3] gpio: twl4030: Cache the direction and output states in private data

2013-01-10 Thread Peter Ujfalusi
Hi Linus, On 01/10/2013 11:41 AM, Linus Walleij wrote: > On Thu, Dec 20, 2012 at 10:44 AM, Peter Ujfalusi > wrote: > >> Use more coherent locking in the driver. Use bitfield to store the GPIO >> direction and if the pin is configured as output store the status also in a >> bitfiled. >> In this

Re: [PATCH 4/5] x86,smp: keep spinlock delay values per hashed spinlock address

2013-01-10 Thread Michel Lespinasse
On Tue, Jan 8, 2013 at 2:31 PM, Rik van Riel wrote: > From: Eric Dumazet > > Eric Dumazet found a regression with the first version of the spinlock > backoff code, in a workload where multiple spinlocks were contended, > each having a different wait time. > > This patch has multiple delay values

Re: linux-next: manual merge of the pm tree with the pci tree

2013-01-10 Thread Rafael J. Wysocki
Hi, On Thursday, January 10, 2013 11:28:36 AM Stephen Rothwell wrote: > Hi Rafael, > > Today's linux-next merge of the pm tree got a conflict in > drivers/acpi/pci_root.c between commit 3c449ed00759 ("PCI/ACPI: Reserve > firmware-allocated resources for hot-added root buses") from the pci tree >

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Thu, Jan 10, 2013 at 01:54:41PM +0100, Rafael J. Wysocki wrote: > > > > I'm not sure about the LPSS PCI case. Maybe we can forget that for now > > (except the CE4100 case which obviously must work)? Or add similar quirk to > > the PCI side that creates the platform device for clocks. > > I wou

[PATCH v2] pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver

2013-01-10 Thread Philip Avinash
From: "Philip, Avinash" The clock framework has changed and it's now better to invoke clock_prepare_enable() and clk_disable_unprepare() rather than the legacy clk_enable() and clk_disable() calls. This patch converts the pwm-tiehrpwm driver to the new framework. Signed-off-by: Philip Avinash -

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Thu, Jan 10, 2013 at 12:51:59PM +, Mark Brown wrote: > On Thu, Jan 10, 2013 at 01:54:41PM +0100, Rafael J. Wysocki wrote: > > On Thursday, January 10, 2013 02:38:37 PM Mika Westerberg wrote: > > > > 3. We make the acpi_create_platform_device() match on, lets say > > > "INT33C" (a par

[PATCH 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-10 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash --- drivers/pwm/pwm-tiecap.c | 44 1 file changed, 44 insertions(+) diff --g

[PATCH 0/2] LOW power sleep support for TI PWM submodules

2013-01-10 Thread Philip Avinash
TI PWM sub modules like ECAP & EHRPWM can enter in low power sleep state during low power transitions of the platforms (like in AM33XX). This patch series support low power sleep transition support. This patch series depend on [1] and [2] and tested for low sleep support on AM335x-evm for ECAP base

[PATCH 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-10 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash --- drivers/pwm/pwm-tiehrpwm.c | 65 1 file changed, 65 insertions(+) diff

Re: [PATCH RFC] usb: dwc3: Remove dwc3 dependency on gadget.

2013-01-10 Thread Felipe Balbi
Hi, On Mon, Dec 24, 2012 at 07:28:33PM +0530, Vivek Gautam wrote: > DWC3 controller curretly depends on CONFIG_USB and CONFIG_USB_GADGET. > Some hardware may like to use only host feature on dwc3. > So, removing the dependency of USB_DWC3 on USB_GADGET > and further modulating the dwc3 core to ena

<    1   2   3   4   5   6   7   >