to the state of
the Meta read pipeline which can be used to hide memory latencies in
hand optimised data loops.
Extended DSP register state, DSP RAM, and hardware breakpoint registers
aren't yet exposed through ptrace.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/asm/ptrace.h
CONFIG_STACK_GROWSUP. Therefore add
an ifdef for CONFIG_METAG to also set VM_GROWSUP.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
include/linux/mm.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index bcaab4e..85c1df8 100644
architecture doesn't support VGA so add METAG to the
list of architectures not to build support on.
TODO: invert the dependency logic of most of these with the help of a
new LEGACY_PC_IO Kconfig symbol
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/char/Kconfig
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 james.ho...@imgtec.com
Cc: Alexander Viro v...@zeniv.linux.org.uk
Cc: linux-fsde...@vger.kernel.org
Add a TTY driver for communicating over a Meta DA (Debug Adapter)
channel using the bios channel SWITCH operation.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
---
MAINTAINERS|1 +
arch/metag/Kconfig
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 james.ho...@imgtec.com
---
arch/metag/Kconfig |9 ++
arch/metag
Add oprofile support for metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/Kconfig|1 +
arch/metag/Makefile |2 +
arch/metag/oprofile/Makefile | 16 ++
arch/metag/oprofile/backtrace.c | 134
Adapt checkstack.pl so that it works for metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
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
Add Perf support for metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/Kconfig |1 +
arch/metag/include/asm/perf_event.h |4 +
arch/metag/kernel/Makefile |2 +
arch/metag/kernel/perf/Makefile |3 +
arch/metag/kernel/perf
Add metag build infrastructure.
TODO: use generic CMDLINE Kconfig symbols
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/Kconfig | 299
arch/metag/Kconfig.debug | 40 +
arch/metag/Kconfig.soc
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
Add device tree files to arch/metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
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
Add ftrace support for metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/Kconfig |5 ++
arch/metag/include/asm/Kbuild |1 -
arch/metag/include/asm/ftrace.h | 23 +++
arch/metag/kernel/ftrace.c | 127
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 james.ho...@imgtec.com
---
arch/metag/include/asm
Add stack unwinding support for metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/asm/stacktrace.h | 20
arch/metag/kernel/stacktrace.c | 187 +++
2 files changed, 207 insertions(+), 0 deletions(-)
create mode 100644
Add DMA mapping code.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
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
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 james.ho...@imgtec.com
---
arch/metag/include/asm/cachepart.h | 42 +++
arch/metag/include/asm/core_reg.h |7
On 08/02/13 03:17, Rusty Russell wrote:
James Hogan james.ho...@imgtec.com writes:
Hi Rusty,
The metag architecture tree adds an add_taint(TAINT_DIE) like other
architectures do, and the modules-next tree adds the
LOCKDEP_NOW_UNRELIABLE flag to all uses of add_taint (but obviously
misses
On 11/02/13 10:13, Vineet Gupta wrote:
On Monday 11 February 2013 03:06 PM, Jonas Bonn wrote:
On 11 February 2013 08:26, Vineet Gupta vineet.gup...@synopsys.com wrote:
The only downside of this patch is that userspace signal stack grows in
size,
since signal frame only cares about scratch
On 11/02/13 10:53, Jonas Bonn wrote:
On 11 February 2013 11:28, James Hogan james.ho...@imgtec.com wrote:
On 11/02/13 10:13, Vineet Gupta wrote:
On Monday 11 February 2013 03:06 PM, Jonas Bonn wrote:
On 11 February 2013 08:26, Vineet Gupta vineet.gup...@synopsys.com wrote:
The only downside
Hi Jonas,
On 11/02/13 10:53, Jonas Bonn wrote:
And now that I think about it some more, I think this is done
incorrectly in the openrisc arch, too, as the fast-path for
rt_sigreturn probably only restores the call-clobbered regs.
sigreturn probably needs to be special-cased to _always_
Hi Vineet,
On 24/01/13 10:50, Vineet Gupta wrote:
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
new file mode 100644
index 000..b0b09ae
--- /dev/null
+++ b/arch/arc/Kconfig
@@ -0,0 +1,328 @@
+#
+# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
+#
+#
Hi Stephen,
On 12/11/12 21:26, Stephen Rothwell wrote:
Make if easier for more architectures to select it and thus disable
drivers that use virt_to_bus().
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
I was just wondering what the status of this patch is? It was in -next
for a while
Hi James,
On 11/10/12 15:10, James Hogan wrote:
On 11/10/12 13:58, James Bottomley wrote:
On Thu, 2012-10-11 at 12:32 +0100, James Hogan wrote:
On 11/10/12 11:24, James Bottomley wrote:
On Thu, 2012-10-11 at 10:15 +0100, James Hogan wrote:
The struct scsi_varlen_cdb_hdr is expected
Meta uses symbol prefixes, so add metag to the list of architectures
to set the mod_prefix to _ for. This fixes __crc_* symbols to add the
extra underscore to match _CRC_SYMBOL macro in linux/export.h and so
that modpost finds them.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
scripts
On 12/02/13 11:47, Stephen Rothwell wrote:
Change it to CONFIG_HAVE_VIRT_TO_BUS and set it in all architecures
nit: typo in architecures
that already provide virt_to_bus().
Signed-off-by: Stephen Rothwell s...@canb.auug.org.au
Reviewed-by: James Hogan james.ho...@imgtec.com
Cheers
James
On 11/02/13 15:57, James Hogan wrote:
Meta uses symbol prefixes, so add metag to the list of architectures
to set the mod_prefix to _ for. This fixes __crc_* symbols to add the
extra underscore to match _CRC_SYMBOL macro in linux/export.h and so
that modpost finds them.
Signed-off-by: James
, but the argument masks the panic() function
declaration, resulting in the following error (gcc 4.2.4):
net/core/skbuff.c In function 'skb_panic':
net/core/skbuff.c +126 : error: called object 'panic' is not a function
This is fixed by renaming the argument to msg.
Signed-off-by: James Hogan james.ho
Here is the second set of miscellaneous metag patches that I'll be
adding to the tip of the metag tree for v3.9.
James Hogan (5):
metag: export metag_code_cache_flush_all
metag: export clear_page and copy_page
metag: hugetlb: convert to vm_unmapped_area()
genksyms: fix metag symbol prefix
the errors. This was hit by a randconfig build.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/metag_ksyms.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c
index 5381514..1b27bea
inline.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/asm/irqflags.h | 11 +--
arch/metag/kernel/traps.c | 15 ++-
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/arch/metag/include/asm/irqflags.h
b/arch/metag/include/asm
Meta uses symbol prefixes, so add metag to the list of architectures
to set the mod_prefix to _ for. This fixes __crc_* symbols to add the
extra underscore to match _CRC_SYMBOL macro in linux/export.h and so
that modpost finds them.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
scripts
mm_struct' has no member named
'cached_hole_size'
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Michel Lespinasse wal...@google.com
---
arch/metag/mm/hugetlbpage.c | 52 --
1 files changed, 10 insertions(+), 42 deletions(-)
diff --git a/arch/metag/mm
.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/mm/cache.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/metag/mm/cache.c b/arch/metag/mm/cache.c
index 4dd96e4..b5d3b2e 100644
--- a/arch/metag/mm/cache.c
+++ b/arch/metag/mm/cache.c
@@ -460,6 +460,7
completely unused so remove
the remaining references.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Thomas Gleixner t...@linutronix.de
Cc: Mike Frysinger vap...@gentoo.org
Cc: Fenghua Yu fenghua...@intel.com
Cc: Ralf Baechle r...@linux-mips.org
Cc: James E.J. Bottomley j...@parisc-linux.org
Cc
Hi Stephen,
On 4 February 2013 07:39, Stephen Rothwell s...@canb.auug.org.au wrote:
Merging signal/for-next (9005965 x86: convert to ksignal)
CONFLICT (content): Merge conflict in arch/x86/Kconfig
I think this conflict has been resolved incorrectly.
Al's commit 1820f96 burying unused
Hi,
I've hit boot problems in next-20130204 on Meta:
META213-Thread0 DSP [LogF] kobject (4fc03980): tried to init an initialized
object, something is seriously wrong.
META213-Thread0 DSP [LogF]
META213-Thread0 DSP [LogF] Call trace:
META213-Thread0 DSP [LogF] [4000888c] _show_stack+0x68/0x7c
On 04/02/13 19:22, Christoph Lameter wrote:
On Mon, 4 Feb 2013, James Hogan wrote:
I've hit boot problems in next-20130204 on Meta:
Meta is an arch that is not in the tree yet? How would I build for meta?
Yes (well, it's in -next now, so merging the for-next branch of
git://github.com
Hi Mike,
On 03/02/13 06:17, Mike Frysinger wrote:
On Thursday 31 January 2013 04:41:43 James Hogan wrote:
--- a/Makefile
+++ b/Makefile
+ifneq ($(patsubst %,%,$(CONFIG_SYMBOL_PREFIX)),)
+ depmod_args = -P $(patsubst %,%,$(CONFIG_SYMBOL_PREFIX))
+endif
...
# Run depmod only if we have
Hi Stephen,
Please can you update the git url of the arch/metag tree in -next to:
git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git for-next
Thanks
James
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
Hi Christoph,
On 04/02/13 19:22, Christoph Lameter wrote:
What are the values of
MAX_ORDER
10
PAGE_SHIFT
12
ARCH_DMA_MINALIGN
64 (it works if changed to 8)
CONFIG_ZONE_DMA
not defined
Cheers
James
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
of it.
How is this sort of thing usually handled? I suppose either I squash it
into the original driver and base it on tty-next, move it into tty-next,
or just fix it up afterwards?
James Hogan (2):
tty: metag_da: update flip functions to use tty_port
tty: metag_da: avoid getting tty kref
Commit TTY: switch tty_flip_buffer_push and TTY: convert more
flipping functions switched tty_flip_buffer_push() and
tty_prepare_flip_string() to take tty_port rather than a tty_struct.
Convert the metag_da tty driver similarly.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Jiri Slaby
Getting the tty kref in dashtty_timer() is no longer necessary since it
isn't needed in fetch_data() any longer (due to changes which make the
tty flip functions refer to tty_ports instead of tty_structs), so just
pass around a channel number instead.
Signed-off-by: James Hogan james.ho
On 05/02/13 15:15, Jiri Slaby wrote:
On 02/05/2013 03:40 PM, James Hogan wrote:
The first patch fixes up tty/metag_da after Jiri's changes, TTY: switch
tty_flip_buffer_push and TTY: convert more flipping functions,
switched tty_flip_buffer_push() and tty_prepare_flip_string() to take
tty_port
On 05/02/13 16:36, Christoph Lameter wrote:
OK I was able to reproduce it by setting ARCH_DMA_MINALIGN in slab.h. This
patch fixes it here:
Subject: slab: Handle ARCH_DMA_MINALIGN correctly
A fixed KMALLOC_SHIFT_LOW does not work for arches with higher alignment
requirements.
On 05/02/13 18:34, Christoph Lameter wrote:
On Tue, 5 Feb 2013, James Hogan wrote:
On 05/02/13 16:36, Christoph Lameter wrote:
OK I was able to reproduce it by setting ARCH_DMA_MINALIGN in slab.h. This
patch fixes it here:
Subject: slab: Handle ARCH_DMA_MINALIGN correctly
A fixed
--version reports module-init-tools with a version number 3.13
otherwise it appends -P $SYMBOL_PREFIX to the depmod command line.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Michal Marek mma...@suse.cz
Cc: linux-kbu...@vger.kernel.org
Cc: Mike Frysinger vap...@gentoo.org
Cc: Yoshinori Sato ys
Remove the SYMBOL_PREFIX Kconfig symbol as it's empty anyway.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Jonas Bonn jo...@southpole.se
Cc: li...@lists.openrisc.net
Cc: Mike Frysinger vap...@gentoo.org
---
arch/openrisc/Kconfig |4
1 files changed, 0 insertions(+), 4 deletions
On 06/02/13 00:03, Stephen Rothwell wrote:
Hi James,
Today's linux-next merge of the metag tree got a conflict in
tools/perf/perf.h between commit 12bf48ef6194 (perf, ARC: Enable
building perf tools for ARC) from the arc tree and commit 6c4a2bebec36
(perf: Enable building perf tools for
On 06/02/13 13:11, Grant Likely wrote:
Hi Stephen,
I've just pushed out a change which cleans up platform device
registration to use the same path whether or not the device tree is
used. It should be safe, but there is a risk of breakage on powerpc
platforms.
The patch has two effects of
On 06/02/13 13:06, Vineet Gupta wrote:
On Thursday 10 January 2013 09:00 PM, James Hogan wrote:
Add device tree files to arch/metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
Acknowledging the fact that I reused much of code/ideas from this patch for
ARC
Device tree and multi
Getting the tty kref in dashtty_timer() is no longer necessary since it
isn't needed in fetch_data() any longer (due to changes which make the
tty flip functions refer to tty_ports instead of tty_structs), so just
pass around a channel number instead.
Signed-off-by: James Hogan james.ho
Add a TTY driver for communicating over a Meta DA (Debug Adapter)
channel using the bios channel SWITCH operation.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Jiri Slaby jsl...@suse.cz
Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
The only changes compared to v4 of arch
bits. Both parts have already been reviewed (and
I squashed the buffer flipping change into the first patch).
Sorry for all the resends by the way. I think I should have just aimed
for the tty tree in the first place :-) I'll know for future.
James Hogan (2):
tty: metag_da: Add metag DA TTY driver
Ping.
Any chance of an Ack from somebody on this patch? I'm currently holding
off including it in the arch/metag tree.
Thanks
James
On 29/01/13 14:15, James Hogan wrote:
Add the IMG Debug Adapter File System (DAFS) for metag, which uses
SWITCH operations to communicate with a file server
On 06/02/13 14:28, Grant Likely wrote:
On Wed, Feb 6, 2013 at 1:32 PM, James Hogan james.ho...@imgtec.com wrote:
On 06/02/13 13:11, Grant Likely wrote:
- Resources on platform_devices get registered so they appear in
/proc/iomem and /proc/ioports and so that device drivers get the added
Hi Rusty,
The metag architecture tree adds an add_taint(TAINT_DIE) like other
architectures do, and the modules-next tree adds the
LOCKDEP_NOW_UNRELIABLE flag to all uses of add_taint (but obviously
misses arch/metag since it doesn't exist yet), causing a compile error
on metag in -next when the
Hi Vineet,
arm64 also adds dtbs and $(dtb-y) to targets (at least in linux-next). I
think this makes sure that they don't get rebuilt unless they've
actually changed. I've also copied this for metag.
Did you verify that it makes a difference - at least at my end it's not - the
default dtb
Signed-off-by: James Hogan james.ho...@imgtec.com
---
v4:
* fix idle race (requires use of inline asm to trigger irq entry
rather than SWITCH instruction) (Arnd)
arch/metag/include/asm/thread_info.h | 155
arch/metag/kernel/process.c | 461
Add a TTY driver for communicating over a Meta DA (Debug Adapter)
channel using the bios channel SWITCH operation.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Alan Cox a...@lxorguk.ukuu.org.uk
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Cc: Jiri Slaby jsl...@suse.cz
Cc: Andrew
Add device tree files to arch/metag.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Rob Herring rob.herr...@calxeda.com
Cc: devicetree-disc...@lists.ozlabs.org
Cc: Sam Ravnborg s...@ravnborg.org
---
v4:
* move dtb directory into dts and use
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 james.ho...@imgtec.com
Cc: Alexander Viro v...@zeniv.linux.org.uk
Cc: Andrew Morton a...@linux
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
* update DA TTY to be more thread safe and use tty_ports
* switch to generic sys_execve
James Hogan (43):
asm-generic/io.h: check CONFIG_VIRT_TO_BUS
asm-generic/unistd.h: handle symbol prefixes in cond_syscall
Revert some of binfmt_elf: cleanups
Add HAVE_64BIT_ALIGNED_ACCESS
trace
Hi Stephen,
Please can you add the following branch to linux-next for Meta
architecture support:
git://github.com/jahogan/metag-linux.git for-next
(this is currently v4 of the patchset excluding the last two patches,
the tty and fs drivers, as I'd like acks first).
Thanks
James
--
To
Hi Vineet,
On 24/01/13 11:06, Vineet Gupta wrote:
Signed-off-by: Vineet Gupta vgu...@synopsys.com
Cc: Robert Richter r...@kernel.org
Cc: oprofile-l...@lists.sf.net
---
arch/arc/Kconfig |1 +
arch/arc/Makefile |2 ++
arch/arc/oprofile/Makefile |9 +
On 30/01/13 05:14, Greg Kroah-Hartman wrote:
On Fri, Jan 25, 2013 at 11:36:53AM +, James Hogan wrote:
Hi,
On 14/01/13 10:54, James Hogan wrote:
Here's a new version addressing Jiri's feedback.
Add a TTY driver for communicating over a Meta DA (Debug Adapter)
channel using the bios
On 30/01/13 06:34, Vineet Gupta wrote:
On Tuesday 29 January 2013 10:35 PM, James Hogan wrote:
Hi Vineet,
You don't appear to define CONFIG_HW_PERF_EVENTS, so
include/linux/oprofile.h will presumably define oprofile_perf_init as
just a pr_info(...); return -ENODEV;
Similarly drivers
arguments if depmod --version
reports module-init-tools with a version number 3.13.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Michal Marek mma...@suse.cz
Cc: linux-kbu...@vger.kernel.org
Cc: Mike Frysinger vap...@gentoo.org
Cc: Yoshinori Sato ys...@users.sourceforge.jp
Cc: uclinux-dist
Hi Michal,
On 31/01/13 10:37, Michal Marek wrote:
On 31.1.2013 10:41, James Hogan wrote:
On architectures which have symbol prefixes, depmod emits lots of false
warnings like this:
WARNING: $module.ko needs unknown symbol $symbol
This is because depmod isn't being passed the -P
metag_cache_probe() is only called from setup_arch(), so add the __init
attribute to it.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/mm/cache.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/metag/mm/cache.c b/arch/metag/mm/cache.c
index
Define rmb(), cpu_relax(), and CPUINFO_PROC for Meta so that the perf
tools can be built for Meta.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Paul Mackerras pau...@samba.org
Cc: Ingo Molnar mi...@redhat.com
Cc: Arnaldo Carvalho de Melo
Sort includes in kernel/setup.c.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/setup.c | 46 ++--
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/arch/metag/kernel/setup.c b/arch/metag/kernel/setup.c
index
Here are some additional metag patches I intend to add on top of the
existing v4 arch/metag patchset.
James Hogan (6):
metag: add __init to metag_cache_probe()
metag: add boot time LNKGET/LNKSET check
perf: Enable building perf tools for Meta
metag: kernel/setup.c: sort includes
metag
-0x048f
- TxSYREG:0x0400-0x04000fff (except write fetch system event)
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/asm/processor.h |2 +-
arch/metag/kernel/setup.c | 45
arch/metag/kernel/smp.c
WARN (user)
!SMP around pr_warn
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/mm/cache.c | 79 +
1 files changed, 79 insertions(+), 0 deletions(-)
diff --git a/arch/metag/mm/cache.c b
Define PRIV_BITS using explicit constants from asm/metag_regs.h rather
than with a hard coded value. This also adds a couple of missing
definitions for the TXPRIVEXT priv bits for protecting writes to TXTIMER
and the trace registers.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch
Since upstream commit make CONFIG_EXPERIMENTAL invisible and default
CONFIG_EXPERIMENTAL is invisible and defaults to y pending it's removal.
Therefore remove the explicit selection from the metag defconfig files.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/configs
/metag/Kconfig.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Stephen Rothwell s...@canb.auug.org.au
Cc: Andrew Morton a...@linux-foundation.org
---
arch/metag/Kconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/metag/Kconfig b/arch/metag/Kconfig
index bc3de76..afc8973 100644
Here are a few trivial fixes to arch/metag/. All except the first patch
depend on stuff in -next. Except arch/metag, only the last patch depends
on something not yet in mainline.
James Hogan (5):
metag: Provide dma_get_sgtable()
metag: remove GENERIC_SIGALTSTACK
metag: remove select
/dma-mapping-common.h.
Metag does not use dma_map_ops yet, hence it should implement it as an
inline stub using dma_common_get_sgtable().
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Geert Uytterhoeven ge...@linux-m68k.org
Cc: Marek Szyprowski m.szyprow...@samsung.com
---
arch/metag
Since commit irq_work: Remove CONFIG_HAVE_IRQ_WORK the Kconfig symbol
HAVE_IRQ_WORK has gone. Remove the select from METAG too.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Steven Rostedt rost...@goodmis.org
---
arch/metag/Kconfig | 1 -
1 file
The commit burying unused conditionals removed among other things the
CONFIG_GENERIC_SIGALTSTACK Kconfig symbol as it's selected by every
architecture. Therefore remove the select from CONFIG_METAG too.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Al Viro v...@zeniv.linux.org.uk
On 27/02/13 07:09, Marek Szyprowski wrote:
Hello,
On 2/26/2013 12:03 PM, James Hogan wrote:
metag/allmodconfig:
drivers/media/v4l2-core/videobuf2-dma-contig.c: In function
'vb2_dc_get_base_sgt':
drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit
declaration of function
Hi Linus,
On 19 February 2013 11:27, James Hogan james.ho...@imgtec.com wrote:
Here is the arch/metag/ tree for v3.9-rc1. Arnd said he's happy to ack
it (the additional changes since then have been mostly further cleanups
and fixes for when merged with other trees).
Please pull.
I'd just
dma_get_sgtable() as added recently for other arches
* remove CONFIG_GENERIC_SIGALTSTACK
* remove CONFIG_HAVE_IRQ_WORK
* remove CONFIG_EXPERIMENTAL from defconfigs
* remove SET_PERSONALITY()
Signed-off-by: James Hogan james.ho...@imgtec.com
On 01/03/13 18:03, Linus Torvalds wrote:
On Fri, Mar 1, 2013 at 8:55 AM, James Hogan james.ho...@imgtec.com wrote:
Please pull the following changes in addition to my previous arch/metag
pull request. See the tag (below) for details. The shortlog is a bit
inflated unfortunately as it includes
On 01/03/13 18:54, James Hogan wrote:
On 01/03/13 18:03, Linus Torvalds wrote:
On Fri, Mar 1, 2013 at 8:55 AM, James Hogan james.ho...@imgtec.com wrote:
Please pull the following changes in addition to my previous arch/metag
pull request. See the tag (below) for details. The shortlog is a bit
On 24/01/13 10:11, Vineet Gupta wrote:
On Thursday 24 January 2013 03:22 PM, James Hogan wrote:
Hi Vineet,
On 24/01/13 08:54, Vineet Gupta wrote:
(3) That branch will be ARC patches on top of Linus's 3.8 rc4. Actually for
my
development, I'd also cherry picked a few patches from linux-next
Hi,
On Fri, Jan 18, 2013 at 04:41:00PM -0800, Tejun Heo wrote:
@@ -125,9 +134,8 @@ static void async_run_entry_fn(struct work_struct *work)
/* 2) remove self from the pending queues */
spin_lock_irqsave(async_lock, flags);
- list_del(entry-list);
- if
On 25 January 2013 01:01, Tejun Heo t...@kernel.org wrote:
Hello,
On Fri, Jan 25, 2013 at 12:13:45AM +, James Hogan wrote:
Should it have this?
+ else
+ INIT_LIST_HEAD(entry-global_list)
I think it would be better to have INIT_LIST_HEAD() during @entry
initialization
On 25 January 2013 10:08, James Hogan ja...@albanarts.com wrote:
On 25 January 2013 01:01, Tejun Heo t...@kernel.org wrote:
Hello,
On Fri, Jan 25, 2013 at 12:13:45AM +, James Hogan wrote:
Should it have this?
+ else
+ INIT_LIST_HEAD(entry-global_list)
I think it would
-by: James Hogan james.ho...@imgtec.com
---
kernel/async.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/kernel/async.c b/kernel/async.c
index 6958000..8ddee2c 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -172,6 +172,8 @@ static async_cookie_t __async_schedule
Hi,
On 14/01/13 10:54, James Hogan wrote:
Here's a new version addressing Jiri's feedback.
Add a TTY driver for communicating over a Meta DA (Debug Adapter)
channel using the bios channel SWITCH operation.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Alan Cox
Hi Arnd,
On 10/01/13 15:30, James Hogan wrote:
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
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 review
Hi Vineet,
On 24/01/13 10:50, Vineet Gupta wrote:
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index 4d52a3b..90570f9 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -83,6 +83,9 @@ head-y := arch/arc/kernel/head.o
# See arch/arc/Kbuild for content of core part
Hi Vineet
On 28/01/13 07:10, Vineet Gupta wrote:
You don't need Acked-by statements on every single patch, but having
more of those is certainly benefitial. When it comes to the merge
window, please send a pull request to Linus, and keep me on Cc,
so I can weigh in with an additional Ack to
On 26/01/13 00:03, Arnd Bergmann wrote:
On Thursday 10 January 2013, James Hogan wrote:
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
101 - 200 of 2616 matches
Mail list logo