On 17/10/12 16:45, Will Deacon wrote:
The {read,write}s{b,w,l} operations are not defined by all architectures
and are being removed from the asm-generic/io.h interface.
This patch replaces the usage of these string functions in the default
SMC accessors with io{read,write}{8,16,32}_rep
On 17 October 2012 09:42, James Hogan ja...@albanarts.com wrote:
On 2 October 2012 19:36, David Howells dhowe...@redhat.com wrote:
The patches herein prepare for the extraction of the Userspace API bits from
the various header files named in the Kbuild files.
[IMPORTANT NOTE! These patches
a defconfig compilation of blackfin, openrisc (which
needed asm/pgtable.h including from it's asm/io.h to get the PAGE_*
definitions), and xtensa.
Other architectures which use asm-generic/io.h are score and unicore32,
and looking at their io.h I don't see any obvious problems.
Signed-off-by: James
. This is fixed by marking struct scsi_varlen_cdb_hdr as __packed.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
include/scsi/scsi.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 66216c1..3beaef3 100644
--- a/include/scsi
This is modelled on commits such as the one below:
Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e (sh: use kbuild.h
instead of defining macros in asm-offsets.c) introduced in v2.6.26.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
Note I haven't tested compilation on cris. I'd appreciate
This is modelled on commits such as the one below:
Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e (sh: use kbuild.h
instead of defining macros in asm-offsets.c) introduced in v2.6.26.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
Note I haven't tested compilation on openrisc. I'd
On 11/10/12 11:01, Bart Van Assche wrote:
On 10/11/12 11:15, James Hogan wrote:
The struct scsi_varlen_cdb_hdr is expected to be exactly 10 bytes when
used in struct osd_cdb_head, but it isn't marked as packed. Some
architectures will round the struct size up which triggers BUILD_BUG_ON
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 to be exactly 10 bytes when
used in struct osd_cdb_head, but it isn't marked as packed. Some
architectures will round the struct size up which triggers
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 to be exactly 10 bytes when
used in struct osd_cdb_head
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 25/10/12 14:40, Jonas Bonn wrote:
On Tue, 2012-10-23 at 10:21 +0100, James Hogan wrote:
Including asm/cacheflush.h from asm-generic/io.h prevents
cacheflush.h being able to use I/O functions like readl and
writel due to circular include
at their io.h I don't see any obvious problems.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Arnd Bergmann a...@arndb.de
Cc: Jonas Bonn jo...@southpole.se
Cc: Chris Zankel ch...@zankel.net
Cc: Max Filippov jcmvb...@gmail.com
Cc: Mike Frysinger vap...@gentoo.org
Cc: Chen Liqin liqin.c
, Jaehoon and Will.
Chris: Any chance of queueing this patch for v3.7?
Thanks
James
On 10/16/2012 05:43 PM, James Hogan wrote:
Commit 800d78bfccb3d38116abfda2a5b9c8afdbd5ea21 (mmc: dw_mmc: add
support for implementation specific callbacks) merged in v3.7-rc1.
The above commit introduced
On 07/11/12 14:21, Arnd Bergmann wrote:
On Wednesday 07 November 2012, Vineet Gupta wrote:
+ * Being uClibc based we need some of the deprecated syscalls:
+ * -Not emulated by uClibc at all
+ * unlink, mkdir,... (needed by Busybox, LTP etc)
+ * times (needed by LTP pan test harness)
On 07/11/12 14:06, Arnd Bergmann wrote:
On Wednesday 07 November 2012, Vineet Gupta wrote:
Signed-off-by: Vineet Gupta vgu...@synopsys.com
---
arch/arc/configs/fpga_defconfig | 607
+++
1 files changed, 607 insertions(+), 0 deletions(-)
create mode
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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
Reviewed-by: James Hogan james.ho...@imgtec.com
On 09/11/12 09:50, James Hogan wrote:
On 07/11/12 14:21, Arnd Bergmann wrote:
On Wednesday 07 November 2012, Vineet Gupta wrote:
+ * Being uClibc based we need some of the deprecated syscalls:
+ * -Not emulated by uClibc at all
+ * unlink, mkdir,... (needed by Busybox, LTP etc
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: Richard Kuo r...@codeaurora.org
Cc: Tony Luck tony.l...@intel.com
Cc: Fenghua Yu fenghua...@intel.com
Cc: Ralf Baechle r
On 13/11/12 12:01, Jonas Bonn wrote:
On 13 November 2012 12:41, James Hogan james.ho...@imgtec.com wrote:
The uClibc patches I mentioned have been posted, see here:
http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html
Please do try them out and provide any feedback.
Hi
On 14/11/12 12:23, Arnd Bergmann wrote:
On Tuesday 13 November 2012, James Hogan wrote:
Hopefully with several architecture maintainers asking for this it might
get somewhere, but indeed we're aware of the feedback problem on that list.
The points that I've considered for defaulting to old
Hi David,
The disintegration scripts strip out the #ifdef __KERNEL__ from the
headers in both uapi/ and the old directories. However there are still a
bunch of unexported headers through the tree which have #ifdef
__KERNEL__ in them, usually guarding the entire file (just grep
__KERNEL__ in
Implement suspend and resume callbacks for DesignWare 8250 driver.
They're simple wrappers around serial8250_{suspend,resume}_port.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/tty/serial/8250/8250_dw.c | 25 +
1 files changed, 25 insertions(+), 0
checked against NULL in 1 out of the 7 cases where
it is dereferenced.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/mmc/host/dw_mmc-pltfm.c |4 ++--
drivers/mmc/host/dw_mmc.c | 29 +
2 files changed, 19 insertions(+), 14 deletions(-)
diff --git
find are from 2011 so I
guess they're probably a bit out of date.
Thanks in advance
--
James Hogan
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please
: Martin Schwidefsky schwidef...@de.ibm.com
Cc: Heiko Carstens heiko.carst...@de.ibm.com
Cc: linux-s...@vger.kernel.org
Cc: Mike Frysinger vap...@gentoo.org
Cc: uclinux-dist-de...@blackfin.uclinux.org
For metag:
Acked-by: James Hogan james.ho...@imgtec.com
--
To unsubscribe from this list: send
8223d8c0 88007c862080 81c47730
Call Trace:
[81000312] do_one_initcall+0x122/0x170
[82335e5d] kernel_init_freeable+0x9b/0x1c8
...
v2: Typo fix in x86-32.
Signed-off-by: Tejun Heo t...@kernel.org
For metag:
Acked-by: James Hogan james.ho
On 12/04/13 22:52, Stephen Warren wrote:
+.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
since it'll have quotes around it, so you may instead need:
.SECONDARY: $(obj)/$(patsubst %,%,$(builtindtb-y)).dtb.S
(at least that's what's
On 16/04/13 16:53, James Hogan wrote:
On 12/04/13 22:52, Stephen Warren wrote:
+.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
since it'll have quotes around it, so you may instead need:
.SECONDARY: $(obj)/$(patsubst
On 17/04/13 05:13, Vineet Gupta wrote:
Hi James,
On 04/16/2013 09:23 PM, James Hogan wrote:
On 12/04/13 22:52, Stephen Warren wrote:
+.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
Note, this may not work if you're using CONFIG_ARC_BUILTIN_DTB_NAME,
since it'll have quotes around it, so you may
(e.g.
imported into the tree and specified in CONFIG_METAG_BUILTIN_DTB_NAME)
it too will be treated as an intermediate and deleted automatically
(again causing it to be regenerated on every build), so add it to dtb-y
so it gets added to targets and the dtbs target.
Signed-off-by: James Hogan james.ho
Hi Al,
On 27/03/13 11:07, James Hogan wrote:
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
, and in a way that should ensure
correct notifications without duplicates, and I think should be safe
in the event of a notification failing.
* various tidy ups and fixes.
James Hogan (3):
clk: abstract parent cache
clk: add support for clock reparent on set_rate
clk: clk-mux: implement remuxing
Abstract access to the clock parent cache by defining
__clk_get_parent_by_index(clk, index). This allows access to parent
clocks from clock drivers.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/clk/clk.c| 21 ++---
include/linux/clk-provider.h | 1
the best one (like clk-divider this chooses the parent which
provides the fastest rate = the requested rate).
The determine_rate op is implemented as a core helper function so that
it can be easily used by more complex clocks which incorporate muxes.
Signed-off-by: James Hogan james.ho...@imgtec.com
to
clk_set_parent() but without calling __clk_recalc_rates(). This is for
clk_change_rate() to use, where rate recalculation and notifications are
already handled.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
Documentation/clk.txt| 4 ++
drivers/clk/clk.c| 146
Hi Mike,
On 03/04/13 22:34, Mike Turquette wrote:
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 9fdfae7..1a19186 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -126,6 +126,9 @@ struct clk_ops {
On 3 April 2013 03:06, Stephen Boyd sb...@codeaurora.org wrote:
On 03/22/13 08:43, James Hogan wrote:
This patchset adds support for automatic selection of the best parent
for a clock mux, i.e. the one which can provide the closest clock rate
to that requested. It can be controlled
On 13/03/13 23:51, Rusty Russell wrote:
James Hogan james.ho...@imgtec.com writes:
Fix symbol versioning on architectures with symbol prefixes. Although
the build was free from warnings the actual modules still wouldn't load
as the versions table contained unprefixed symbol names, which
CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX.
2) Make linux/export.h usable from asm.
3) Define VMLINUX_SYMBOL() and VMLINUX_SYMBOL_STR().
4) Make everyone use them.
Signed-off-by: Rusty Russell ru...@rustcorp.com.au
Reviewed-by: James Hogan james.ho...@imgtec.com
Tested-by: James Hogan james.ho...@imgtec.com (metag
On 14/03/13 06:27, Stephen Rothwell wrote:
Hi Al,
Today's linux-next merge of the signal tree got a conflict in
include/asm-generic/unistd.h between commit 837718bfd28b
(CONFIG_SYMBOL_PREFIX: cleanup) from the modules tree and commit
e1b5bb6d1236 (consolidate cond_syscall and SYSCALL_ALIAS
-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 a...@ghostprotocols.net
---
arch/metag/kernel/perf/perf_event.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions
to return metag_pmu-name instead of metag_pmu-pmu.name (which
is changed to meta2).
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 a...@ghostprotocols.net
Cc
.
The backtrace code makes use of asm/stacktrace.h for kernel
backtracing, and a simple frame pointer walk for userland backtracing.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Robert Richter r...@kernel.org
Cc: oprofile-l...@lists.sf.net
---
arch/metag/Kconfig | 4 +++
arch/metag
The value written to the PERF_ICOREx or PERF_CHANx register to select
the performance events for the core internal and perf channel events was
(tmp 0x0f), but tmp was set to (config 0xf0) so it would always be
0. Correct it to use config instead of tmp.
Signed-off-by: James Hogan james.ho
Use hard_processor_id() to get the current thread number rather than
get_cpu() and the hardware thread mapping. There was no matching
put_cpu(), and in any case this should be slightly more efficient.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc
the counter since the write to the PERF_COUNT register will
clear the perf counter.
This also includes a minor change to remove the u64 cast from the
metag_pmu-write() call as metag_pmu-write() takes a u32 anyway, and in
any case GCC is smart enough to optimise away the cast.
Signed-off-by: James Hogan
(as the ARM equivalent does). The calculated delta
also needs subtracting from period_left in metag_pmu_event_update in
order to hit the conditional blocks in metag_pmu_event_set_period which
update last_period (which is used in the dynamic sampling period
calculation).
Signed-off-by: James Hogan
When calculating the delta, mask with MAX_PERIOD (24 bits) to handle
wrapping, which particularly happens with periodic sampling since the
value is intentionally set so that it will overflow soon.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Peter Zijlstra a.p.zijls...@chello.nl
Cc: Paul
than resetting it to zero.
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 a...@ghostprotocols.net
---
arch/metag/kernel/perf/perf_event.c | 22
mi...@redhat.com
Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net
Cc: Robert Richter r...@kernel.org
Cc: oprofile-l...@lists.sf.net
James Hogan (9):
metag: perf: fix core internal / perf channel mux
metag: perf: fix wrap handling in delta calculation
metag: perf: fixes for interrupting
-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/cachepart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/metag/kernel/cachepart.c b/arch/metag/kernel/cachepart.c
index c737edb..954548b 100644
--- a/arch/metag/kernel/cachepart.c
+++ b/arch/metag/kernel
Here are a few Meta SMP and cache changes I have for v3.10. The first
one removes the need to have an SMP specific bootloader to configure the
cache partitions and coherency for the hardware threads that will run
SMP, and the other two are very minor fixes.
James Hogan (3):
metag: smp: copy
The CORE_CONFIG2 register has bits to indicate that the data or code
cache is small, i.e. that the size described in the field should be
divided by 64. Take this into account in get_icache_size() and
get_dcache_size().
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel
the cache
partition changes so that the user is aware of potential unintentional
cache wastage if they've configured the cache partitions in the wrong
way.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/asm/metag_mem.h | 3 +
arch/metag/kernel/head.S | 8
On 08/03/13 13:02, James Hogan wrote:
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
On 20/03/13 11:02, Michal Simek wrote:
On 03/20/2013 11:25 AM, Paul Bolle wrote:
The Kconfig symbol ARCH_POPULATES_NODE_MAP was killed in v3.3. After
that it popped up again in microblaze and metag. Nobody noticed,
probably because these Kconfig symbols are entirely unused and these
. But if
the maintainers involved disagree I'm happy to split and resend it.
Given that it's unused now it doesn't really matter how it gets applied,
it looks fine to me.
Acked-by: Paul Mundt let...@linux-sh.org
Acked-by: James Hogan james.ho...@imgtec.com
--
To unsubscribe from this list: send the line
On 21/03/13 21:52, Thomas Gleixner wrote:
Implement set/clear functions for the idle need_resched poll
implementation.
Signed-off-by: Thomas Gleixner t...@linutronix.de
---
include/linux/sched.h | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
Index:
On 21/03/13 21:53, Thomas Gleixner wrote:
Signed-off-by: Thomas Gleixner t...@linutronix.de
Cc: James Hogan james.ho...@imgtec.com
---
arch/metag/Kconfig |1 +
arch/metag/kernel/process.c | 32 +++-
arch/metag/kernel/smp.c |2 +-
3 files
Abstract access to the clock parent cache by defining
__clk_get_parent_by_index(clk, index). This allows access to parent
clocks from clock drivers.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/clk/clk.c| 21 ++---
include/linux/clk-provider.h | 1
to
mark that the parent should change (it's all within mutex protected
code after all). Comments anyone?
James Hogan (3):
clk: abstract parent cache
clk: add support for clock remuxing
clk: clk-mux: implement remuxing
drivers/clk/clk-mux.c| 47 ++
drivers/clk/clk.c
that the clock can have it's parent changed automatically in response to
a set_rate. It isn't used yet, but will be used within clock mux
drivers.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/clk/clk.c| 94 +++-
include/linux/clk
Implement clk-mux remuxing if the CLK_SET_RATE_REMUX flag is set. This
implements round_rate for clk-mux to propagate the round_rate to each
parent and to choose the best one.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
drivers/clk/clk-mux.c | 47
The kerneldoc comment for struct clk_mux documented the non-existent
num_clks instead of flags. Correct this.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/clk-provider.h b
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
---
v6:
* use file_inode() helper
Thanks for reviewing Al...
On 26 March 2013 19:18, Al Viro v...@zeniv.linux.org.uk wrote:
On Tue, Mar 26, 2013 at 03:19:29PM +, James Hogan wrote:
+struct da_finddata {
+ unsigned long size;
+ unsigned long attrib;
+ char name[260];
+};
... especially for this - unlike int
The inode info structure is zeroed at allocation with kzalloc, and then
all but one of the fields (including the largest, vfs_inode) are
initialised explicitly. Switch to using kmalloc and initialise the
remaining field too.
Reported-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: James Hogan
ec2447c278ee973d35f38e53ca16ba7f965ae33d (hostfs: simplify
locking).
Since the comment is no longer applicable, remove it.
Reported-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Nick Piggin npig...@kernel.dk
---
fs/hostfs/hostfs_kern.c | 2 +-
1 file changed, 1 insertion(+), 1
Move HOSTFS_SUPER_MAGIC to linux/magic.h to be with it's magical
friends from other file systems.
Reported-by: Al Viro v...@zeniv.linux.org.uk
Signed-off-by: James Hogan james.ho...@imgtec.com
---
fs/hostfs/hostfs_kern.c| 3 +--
include/uapi/linux/magic.h | 1 +
2 files changed, 2 insertions
This patchset contains some tweaks to hostfs, based on imgdafs review
comments from Al Viro which also apply to hostfs.
James Hogan (3):
hostfs: remove will unlock comment
hostfs: move HOSTFS_SUPER_MAGIC to linux/magic.h
hostfs: use kmalloc instead of kzalloc
fs/hostfs/hostfs_kern.c
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
---
v7:
* use explicit sized types
A few more misc arch/metag/ improvements for v3.10.
James Hogan (2):
metag: export _metag_da_present and cpu_2_hwthread_id
metag: add exported asm/ech.h for extended context handling
Paul Clothier (1):
metag: ptrace: Implement NT_METAG_TLS
arch/metag/include/uapi/asm/Kbuild | 1 +
arch
assembly code to be compatible between Linux and
non-Linux operating systems.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/include/uapi/asm/Kbuild | 1 +
arch/metag/include/uapi/asm/ech.h | 15 +++
2 files changed, 16 insertions(+)
create mode 100644 arch/metag/include
Export the symbols _metag_da_present and cpu_2_hwthread_id to modules
(GPL only) to allow the imgdafs file system to be built as a module.
Signed-off-by: James Hogan james.ho...@imgtec.com
---
arch/metag/kernel/da.c| 2 ++
arch/metag/kernel/setup.c | 1 +
2 files changed, 3 insertions
From: Paul Clothier paul.cloth...@imgtec.com
Implement functionality to get the TLS pointer for the metag
architecture using regsets.
This provides multi-threaded debug support for GDB.
Signed-off-by: Paul Clothier paul.cloth...@imgtec.com
---
arch/metag/kernel/ptrace.c | 34
Hi Rusty,
On 08/03/13 00:03, Rusty Russell wrote:
James Hogan james.ho...@imgtec.com writes:
Also the definition of SYMBOL_PREFIX in linux/kernel.h is removed as
it conflicts, isn't used anywhere, and is defined as a string so differs
from the assembly definition.
So now
by the following
commit:
Commit 00b42959106a9ca1c2899e591ae4e9a83ad6af05 (irq_work: Don't stop
the tick with pending works) merged in v3.9-rc1.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Frederic Weisbecker fweis...@gmail.com
Cc: Steven Rostedt rost...@goodmis.org
Cc: Peter Zijlstra pet
On 08/03/13 11:36, James Hogan wrote:
A randconfig caught repeated compiler warnings when CONFIG_IRQ_WORK=n
due to the definition of a non-inline static function in
linux/irq_work.h:
include/linux/irq_work.h +40 : warning: 'irq_work_needs_cpu' defined but not
used
In addition
.
Signed-off-by: James Hogan james.ho...@imgtec.com
James Hogan (1):
metag: remove SET_PERSONALITY()
Paul Mundt (1):
metag: Inhibit NUMA balancing.
arch/metag/include/asm/elf.h | 3 ---
arch/metag/mm/Kconfig| 1
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
---
This is pretty much a resend of v4
Hi Vineet,
On 11/03/13 12:29, Vineet Gupta wrote:
On Wednesday 07 November 2012 07:43 PM, Arnd Bergmann wrote:
On Wednesday 07 November 2012, Vineet Gupta wrote:
+
+config ARC
+ def_bool y
+ select ARCH_WANT_IPC_PARSE_VERSION
+ # ARC Busybox based initramfs absolutely relies on
On 11/03/13 12:56, Vineet Gupta wrote:
Hi James,
On Monday 11 March 2013 06:14 PM, James Hogan wrote:
Hi Vineet,
On 11/03/13 12:29, Vineet Gupta wrote:
On Wednesday 07 November 2012 07:43 PM, Arnd Bergmann wrote:
On Wednesday 07 November 2012, Vineet Gupta wrote:
+
+config ARC
-by: James Hogan james.ho...@imgtec.com
Cc: Seungwon Jeon tgih@samsung.com
Cc: Jaehoon Chung jh80.ch...@samsung.com
Cc: Chris Ball c...@laptop.org
---
Note, I didn't actually observe this problem occuring, but I think in
theory it could happen.
drivers/mmc/host/dw_mmc.c | 24
) = 9984Hz (slot req 40Hz, actual
399360HZ div = 125)
mmc0: error -110 whilst initialising SD card
mmc_host mmc0: Bus speed (slot 0) = 9984Hz (slot req 30Hz, actual
298922HZ div = 167)
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Seungwon Jeon tgih@samsung.com
Cc: Jaehoon
versioning was apparently already broken, I need to
look into that).
Reviewed-by: James Hogan james.ho...@imgtec.com
Tested-by: James Hogan james.ho...@imgtec.com (on metag)
Cheers
James
diff --git a/Makefile b/Makefile
index a05ea42..9dc948d 100644
--- a/Makefile
+++ b/Makefile
.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Rusty Russell ru...@rustcorp.com.au
Cc: Michal Marek mma...@suse.cz
Cc: Sam Ravnborg s...@ravnborg.org
Cc: Greg Kroah-Hartman gre...@linuxfoundation.org
Cc: Jonathan Kliegman kli...@chromium.org
---
This conflicts with Rusty's
On 12/03/13 11:26, Jaehoon Chung wrote:
Looks good to me.
Acked-by: Jaehoon Chung jh80.ch...@samsung.com
Thanks Jaehoon
Cheers
James
Best Regards,
Jaehoon Chung
On 03/12/2013 07:43 PM, James Hogan wrote:
Call the setpower platform callback in response to set_ios with
ios-power_mode
Hi Sam,
On 13/03/13 06:31, Sam Ravnborg wrote:
/* Some toolchains use a `_' prefix for all user symbols. */
-#ifdef CONFIG_SYMBOL_PREFIX
-#define MODULE_SYMBOL_PREFIX CONFIG_SYMBOL_PREFIX
+#ifdef CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX
+#define __VMLINUX_SYMBOL(x) _##x
+#define
On 13/03/13 14:20, Seungwon Jeon wrote:
Hi James,
On Tuesday, March 12, 2013, James Hogan wrote:
Call the setpower platform callback in response to set_ios with
ios-power_mode == MMC_POWER_UP or MMC_POWER_OFF, instead of from the
card detect work function.
This appears to fix a problem I
Hi Stephen,
On 2 March 2013 15:48, Stephen Rothwell s...@canb.auug.org.au wrote:
On Sat, 2 Mar 2013 10:22:40 + James Hogan james.ho...@imgtec.com wrote:
Okay, I've rebased the arch/metag tree onto mainline to make all the
back-merges unnecessary and applied those simple fixes into Build
On 02/03/13 16:28, Linus Torvalds wrote:
You are the
architecture maintainer, and your job is not integration, it's to make
sure that *your* work is as stable and unsurprising as possible.
Right, make sense. This is what it comes down to.
See why I hate rebasing and back-merges so much?
to non-init memory
- Provide dma_get_sgtable()
Signed-off-by: James Hogan james.ho...@imgtec.com
James Hogan (61):
asm-generic/io.h: check CONFIG_VIRT_TO_BUS
asm-generic/unistd.h: handle symbol prefixes in cond_syscall
On 04/03/13 02:03, Stephen Rothwell wrote:
Hi Al,
Today's linux-next merge of the signal tree got a conflict in
include/asm-generic/unistd.h between commit 4dd3c95940b8
(asm-generic/unistd.h: handle symbol prefixes in cond_syscall) from
Linus' tree and commit 24a2641326f1 (consolidate
polluting
the command lines for architectures that don't use symbol prefixes).
Also the definition of SYMBOL_PREFIX in linux/kernel.h is removed as
it conflicts, isn't used anywhere, and is defined as a string so differs
from the assembly definition.
Signed-off-by: James Hogan james.ho
On 04/03/13 01:12, Paul Mundt wrote:
The metag NUMA implementation follows the SH model, using different nodes for
memories with different latencies. As such, we ensure that automated balancing
between nodes is inhibited, by way of the new ARCH_WANT_VARIABLE_LOCALITY.
Signed-off-by: Paul
On 05/12/12 09:50, Michal Marek wrote:
How about the revised patch below?
[...]
diff --git a/kernel/modsign_certificate.S b/kernel/modsign_certificate.S
new file mode 100644
index 000..695d4e3
--- /dev/null
+++ b/kernel/modsign_certificate.S
@@ -0,0 +1,18 @@
+#ifndef SYMBOL_PREFIX
On 05/12/12 11:05, Michal Marek wrote:
Dne 5.12.2012 11:30, James Hogan napsal(a):
However I think it's unfortunate having to stringify from C as it's
pretty much always required to be in string form when used from a C
file, usually in an asm block. Any objection to defining SYMBOL_PREFIX
a defconfig compilation of blackfin, openrisc (which
needed asm/pgtable.h including from it's asm/io.h to get the PAGE_*
definitions), and xtensa.
Other architectures which use asm-generic/io.h are score and unicore32,
and looking at their io.h I don't see any obvious problems.
Signed-off-by: James
by adding a new Kconfig symbol
CONFIG_HAVE_64BIT_ALIGNED_STRUCT which defaults to CONFIG_64BIT, and can
be explicitly selected by CONFIG_METAG. Taskstats then uses this symbol
instead of CONFIG_64BIT to determine whether to add the padding.
Signed-off-by: James Hogan james.ho...@imgtec.com
Cc: Balbir
The commit binfmt_elf: cleanups
(f670d0ecda73b7438eec9ed108680bc5f5362ad8) removed an ifndef elf_map but
this breaks compilation for metag which does define elf_map.
This adds the ifndef back in as it was before, but does not affect the
other cleanups made by that patch.
Signed-off-by: James
-by: James Hogan james.ho...@imgtec.com
Cc: Grant Likely grant.lik...@secretlab.ca
Cc: Rob Herring rob.herr...@calxeda.com
Cc: Rob Landley r...@landley.net
Cc: devicetree-disc...@lists.ozlabs.org
---
.../devicetree/bindings/vendor-prefixes.txt|3 ++-
1 files changed, 2 insertions(+), 1
1 - 100 of 2616 matches
Mail list logo