<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/metag/include, branch v3.10.13</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/metag/include?h=v3.10.13</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/metag/include?h=v3.10.13'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-06-19T16:23:34Z</updated>
<entry>
<title>metag: fix mm/hugetlb.c build breakage</title>
<updated>2013-06-19T16:23:34Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-06-14T09:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=418a133b714352c35f050d59857f95f769d552d2'/>
<id>urn:sha1:418a133b714352c35f050d59857f95f769d552d2</id>
<content type='text'>
Commit 106c992a5ebe ("mm/hugetlb: add more arch-defined huge_pte
functions") added an include of &lt;asm-generic/hugetlb.h&gt; to each
architecture's &lt;asm/hugetlb.h&gt; (except s390).  Unfortunately metag was
missed which resulted in build errors when hugetlbfs is enabled (see
below).

Add the include for metag too to fix the build errors:

  mm/hugetlb.c In function 'make_huge_pte':
  mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkwrite'
  mm/hugetlb.c +2250 : error: implicit declaration of function 'huge_pte_mkdirty'
  ...

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Cc: Gerald Schaefer &lt;gerald.schaefer@de.ibm.com&gt;
Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Cc: Michal Hocko &lt;mhocko@suse.cz&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'metag-for-v3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag</title>
<updated>2013-04-30T17:09:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-04-30T17:09:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=87c1f0f8c9442c86cbb343b9324bef8312029d7d'/>
<id>urn:sha1:87c1f0f8c9442c86cbb343b9324bef8312029d7d</id>
<content type='text'>
Pull arch/metag update from James Hogan:

 - Various fixes for the interrupting perf counter handling in metag's
   perf backend.

 - Add OProfile support based on perf.

 - Sets up cache partitions for SMP so bootloader doesn't have to.

 - Patch from Paul Bolle to remove ARCH_POPULATES_NODE_MAP again
   (touches microblaze too).

 - Add TLS pointer regset to metag ptrace api.

 - Add exported metag DSP extended context handling header &lt;asm/ech.h&gt;.

 - Increase defconfig log buffer size to 128KiB.

 - Various fixes, typos, missing exports.

* tag 'metag-for-v3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag:
  metag: defconfigs: increase log buffer 8KiB =&gt; 128KiB
  metag: avoid unnecessary builtin dtb rebuilds
  metag: add exported &lt;asm/ech.h&gt; for extended context handling
  metag: export _metag_da_present and cpu_2_hwthread_id
  metag: ptrace: Implement NT_METAG_TLS
  memblock: Kill ARCH_POPULATES_NODE_MAP once more
  metag: cachepart: fix get_global_dcache_size() typo
  metag: cachepart: take into account small cache bits
  metag: smp: copy cache partition and enable GCOn
  metag: OProfile support
  metag: perf: prepare for use by oprofile
  metag: perf: don't reset TXTACTCYC
  metag: perf: use hard_processor_id() to get thread
  metag: perf: fix frequency sampling (dynamic period)
  metag: perf: add missing prev_count updates
  metag: perf: fixes for interrupting perf counters
  metag: perf: fix wrap handling in delta calculation
  metag: perf: fix core internal / perf channel mux
</content>
</entry>
<entry>
<title>arch: Consolidate tsk_is_polling()</title>
<updated>2013-04-08T15:39:22Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2013-03-21T21:49:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ee761f629d598579594d7e1eb8c552f3c5f71e4d'/>
<id>urn:sha1:ee761f629d598579594d7e1eb8c552f3c5f71e4d</id>
<content type='text'>
Move it to a common place. Preparatory patch for implementing
set/clear for the idle need_resched poll implementation.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
Cc: Paul McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Reviewed-by: Cc: Srivatsa S. Bhat &lt;srivatsa.bhat@linux.vnet.ibm.com&gt;
Cc: Magnus Damm &lt;magnus.damm@gmail.com&gt;
Link: http://lkml.kernel.org/r/20130321215233.446034505@linutronix.de
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
<entry>
<title>metag: add exported &lt;asm/ech.h&gt; for extended context handling</title>
<updated>2013-03-27T14:37:53Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-03-26T14:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=82bbb8325a232e29e1c2ae09200384ddb989c0d5'/>
<id>urn:sha1:82bbb8325a232e29e1c2ae09200384ddb989c0d5</id>
<content type='text'>
Add an exported header file &lt;asm/ech.h&gt; containing the definitions of
some bits which can be set in D0.8 to indicate to the kernel that
certain DSP state should be preserved. The definitions have the same
names and values as the ones in the kernel-internal &lt;asm/tbx.h&gt;, to
make it easier for DSP assembly code to be compatible between Linux and
non-Linux operating systems.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
</content>
</entry>
<entry>
<title>metag: smp: copy cache partition and enable GCOn</title>
<updated>2013-03-15T13:21:17Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-03-07T17:20:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9e7129630329d50b8e8c3403bb71c85a7c3cbe35'/>
<id>urn:sha1:9e7129630329d50b8e8c3403bb71c85a7c3cbe35</id>
<content type='text'>
When starting an SMP hardware thread, copy the cache partition
configuration so that the threads share the same cache partitions. Also
enable the GCOn bit if running in the local half of the virtual address
space to enable coherency of shared local cache partitions. An atomic
unlock system event is executed by the new cpu before any memory is read
to ensure that any writes made by the boot cpu prior to full coherency
taking effect are visible to the new cpu.

This is to allow SMP to work even when the bootloader hasn't configured
the caches for coherency. A log message is printed to describe 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 &lt;james.hogan@imgtec.com&gt;
</content>
</entry>
<entry>
<title>metag: remove SET_PERSONALITY()</title>
<updated>2013-03-04T10:27:20Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-02-26T11:34:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0010aeed7bfdc8d1048e524d285a69c11e0ac336'/>
<id>urn:sha1:0010aeed7bfdc8d1048e524d285a69c11e0ac336</id>
<content type='text'>
Commit e72837e3e7bae3f182c4ac63c9424e86f1158dd0 ("default
SET_PERSONALITY() in linux/elf.h").

The above commit moved the common definition of SET_PERSONALITY() in a
bunch of the arch headers to linux/elf.h. Metag shares that common
definition so remove it from arch/metag/include/asm/elf.h too.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
</content>
</entry>
<entry>
<title>metag: Provide dma_get_sgtable()</title>
<updated>2013-03-02T20:11:17Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-02-19T13:25:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c60ac31542e93499b58dcfc1e3f6550ba5b5728e'/>
<id>urn:sha1:c60ac31542e93499b58dcfc1e3f6550ba5b5728e</id>
<content type='text'>
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 'dma_get_sgtable'

For architectures using dma_map_ops, dma_get_sgtable() is provided in
&lt;asm-generic/dma-mapping-common.h&gt;.

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 &lt;james.hogan@imgtec.com&gt;
Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Acked-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
</content>
</entry>
<entry>
<title>metag: prom.h: remove declaration of metag_dt_memblock_reserve()</title>
<updated>2013-03-02T20:11:17Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-02-20T14:19:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2742c52655cff867fbf55e2e9cb993b8f965b7d7'/>
<id>urn:sha1:2742c52655cff867fbf55e2e9cb993b8f965b7d7</id>
<content type='text'>
Metag doesn't have a metag_dt_memblock_reserve() function so remove the
declaration from asm/prom.h.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
</content>
</entry>
<entry>
<title>metag: copy devicetree to non-init memory</title>
<updated>2013-03-02T20:11:17Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-02-20T13:59:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2270e6d30bb6601ffd42e9d972442df0499ad547'/>
<id>urn:sha1:2270e6d30bb6601ffd42e9d972442df0499ad547</id>
<content type='text'>
Make a copy of the device tree blob in non-init memory. It is required
when using built-in device tree files that the platform code copies the
blob to non-init memory prior to calling unflatten_device_tree(),
otherwise the strings that the device tree refer to will get poisoned
and potentially reused, breaking later reading of the device tree
post-init (such as compatible matching in modules, debugfs, and the
procfs interface).

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
Reviewed-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>metag: move irq enable out of irqflags.h on SMP</title>
<updated>2013-03-02T20:11:14Z</updated>
<author>
<name>James Hogan</name>
<email>james.hogan@imgtec.com</email>
</author>
<published>2013-02-12T16:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fa771d029af8f8a23089c97b6ab6a5745e98ad7e'/>
<id>urn:sha1:fa771d029af8f8a23089c97b6ab6a5745e98ad7e</id>
<content type='text'>
The SMP version of arch_local_irq_enable() uses preempt_disable(), but
&lt;asm/irqflags.h&gt; doesn't include &lt;linux/preempt.h&gt; causing the following
errors on SMP when pstore/ftrace is enabled (caught by buildbot smp
allyesconfig):

In file included from include/linux/irqflags.h:15,
                 from fs/pstore/ftrace.c:16:
arch/metag/include/asm/irqflags.h: In function 'arch_local_irq_enable':
arch/metag/include/asm/irqflags.h:84: error: implicit declaration of function 'preempt_disable'
arch/metag/include/asm/irqflags.h:86: error: implicit declaration of function 'preempt_enable_no_resched'

However &lt;linux/preempt.h&gt; cannot be easily included from
&lt;asm/irqflags.h&gt; as it can cause circular include dependencies in the
!SMP case, and potentially in the SMP case in the future. Therefore move
the SMP implementation of arch_local_irq_enable() into traps.c and use
an inline version of get_trigger_mask() which is also defined in traps.c
for SMP.

This adds an extra layer of function call / stack push when
preempt_disable needs to call other functions, however in the
non-preemptive SMP case it should be about as fast, as it was already
calling the get_trigger_mask() function which is now used inline.

Signed-off-by: James Hogan &lt;james.hogan@imgtec.com&gt;
</content>
</entry>
</feed>
