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
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
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
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
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
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
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(
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
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
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
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
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
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
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
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
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 ++
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
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
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
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
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
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
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 +
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
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
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_
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
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
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 +
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
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
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
> 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
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.
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
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 +
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
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:
>
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
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
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
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,
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
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.
> >
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
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
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
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
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
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
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:
>
>>>
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
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
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
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
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
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
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
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
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
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(-)
>
>
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
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
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(+),
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
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
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
>
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
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
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.
> >>>
> >>
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
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
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
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
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
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
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
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
>
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
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
-
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
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
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
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
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
401 - 500 of 676 matches
Mail list logo