<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/include/uapi/asm/elf.h, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-02-06T08:46:04Z</updated>
<entry>
<title>powerpc: Move ARCH_DLINFO out of uapi</title>
<updated>2017-02-06T08:46:04Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2017-01-08T23:31:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2a196e24b39aa85351ecd9eb7cf511914157f14b'/>
<id>urn:sha1:2a196e24b39aa85351ecd9eb7cf511914157f14b</id>
<content type='text'>
It's an kernel private macro, it doesn't belong there

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/ptrace: Enable support for Performance Monitor registers</title>
<updated>2016-08-01T01:15:24Z</updated>
<author>
<name>Anshuman Khandual</name>
</author>
<published>2016-07-28T02:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a67ae75802f178b0b790f1cd7f9c2954a85707fa'/>
<id>urn:sha1:a67ae75802f178b0b790f1cd7f9c2954a85707fa</id>
<content type='text'>
This patch enables support for Performance monitor registers related
ELF core note NT_PPC_PMU based ptrace requests through
PTRACE_GETREGSET, PTRACE_SETREGSET calls. This is achieved
through adding one new register sets REGSET_PMU in powerpc
corresponding to the ELF core note sections added in this
regard. It also implements the get, set and active functions
for this new register sets added.

Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;
Signed-off-by: Simon Guo &lt;wei.guo.simon@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/ptrace: Enable support for EBB registers</title>
<updated>2016-08-01T01:15:23Z</updated>
<author>
<name>Anshuman Khandual</name>
</author>
<published>2016-07-28T02:57:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf89d4e1b181bda27a5d52f4afd239ea07e84eb0'/>
<id>urn:sha1:cf89d4e1b181bda27a5d52f4afd239ea07e84eb0</id>
<content type='text'>
This patch enables support for EBB state registers related
ELF core note NT_PPC_EBB based ptrace requests through
PTRACE_GETREGSET, PTRACE_SETREGSET calls. This is achieved
through adding one new register sets REGSET_EBB in powerpc
corresponding to the ELF core note sections added in this
regard. It also implements the get, set and active functions
for this new register sets added.

Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;
Signed-off-by: Simon Guo &lt;wei.guo.simon@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/ptrace: Enable support for TM SPR state</title>
<updated>2016-08-01T01:15:21Z</updated>
<author>
<name>Anshuman Khandual</name>
</author>
<published>2016-07-28T02:57:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08e1c01d6aedf00af04d9571a0a5d5867298b719'/>
<id>urn:sha1:08e1c01d6aedf00af04d9571a0a5d5867298b719</id>
<content type='text'>
This patch enables support for TM SPR state related ELF core
note NT_PPC_TM_SPR based ptrace requests through PTRACE_GETREGSET,
PTRACE_SETREGSET calls. This is achieved through adding a register
set REGSET_TM_SPR in powerpc corresponding to the ELF core note
section added. It implements the get, set and active functions for
this new register set added.

Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;
Signed-off-by: Simon Guo &lt;wei.guo.simon@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/ptrace: Enable support for NT_PPC_CVSX</title>
<updated>2016-08-01T01:15:20Z</updated>
<author>
<name>Anshuman Khandual</name>
</author>
<published>2016-07-28T02:57:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d3918f7c0e516bb8782915cdb2f8cbdbf6c4f9b'/>
<id>urn:sha1:9d3918f7c0e516bb8782915cdb2f8cbdbf6c4f9b</id>
<content type='text'>
This patch enables support for TM checkpointed VSX register
set ELF core note NT_PPC_CVSX based ptrace requests through
PTRACE_GETREGSET, PTRACE_SETREGSET calls. This is achieved
through adding a register set REGSET_CVSX in powerpc
corresponding to the ELF core note section added. It
implements the get, set and active functions for this new
register set added.

Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;
Signed-off-by: Simon Guo &lt;wei.guo.simon@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/ptrace: Enable support for NT_PPC_CVMX</title>
<updated>2016-08-01T01:15:19Z</updated>
<author>
<name>Anshuman Khandual</name>
</author>
<published>2016-07-28T02:57:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c13f5999997d36fc5fb296809efedc13c801704'/>
<id>urn:sha1:8c13f5999997d36fc5fb296809efedc13c801704</id>
<content type='text'>
This patch enables support for TM checkpointed VMX register
set ELF core note NT_PPC_CVMX based ptrace requests through
PTRACE_GETREGSET, PTRACE_SETREGSET calls. This is achieved
through adding a register set REGSET_CVMX in powerpc
corresponding to the ELF core note section added. It
implements the get, set and active functions for this new
register set added.

Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;
Signed-off-by: Simon Guo &lt;wei.guo.simon@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc/module: Handle R_PPC64_ENTRY relocations</title>
<updated>2016-01-13T01:37:05Z</updated>
<author>
<name>Ulrich Weigand</name>
</author>
<published>2016-01-12T12:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a61674bdfc7c2bf909c4010699607b62b69b7bec'/>
<id>urn:sha1:a61674bdfc7c2bf909c4010699607b62b69b7bec</id>
<content type='text'>
GCC 6 will include changes to generated code with -mcmodel=large,
which is used to build kernel modules on powerpc64le.  This was
necessary because the large model is supposed to allow arbitrary
sizes and locations of the code and data sections, but the ELFv2
global entry point prolog still made the unconditional assumption
that the TOC associated with any particular function can be found
within 2 GB of the function entry point:

func:
	addis r2,r12,(.TOC.-func)@ha
	addi  r2,r2,(.TOC.-func)@l
	.localentry func, .-func

To remove this assumption, GCC will now generate instead this global
entry point prolog sequence when using -mcmodel=large:

	.quad .TOC.-func
func:
	.reloc ., R_PPC64_ENTRY
	ld    r2, -8(r12)
	add   r2, r2, r12
	.localentry func, .-func

The new .reloc triggers an optimization in the linker that will
replace this new prolog with the original code (see above) if the
linker determines that the distance between .TOC. and func is in
range after all.

Since this new relocation is now present in module object files,
the kernel module loader is required to handle them too.  This
patch adds support for the new relocation and implements the
same optimization done by the GNU linker.

Cc: stable@vger.kernel.org
Signed-off-by: Ulrich Weigand &lt;ulrich.weigand@de.ibm.com&gt;
Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Handle new ELFv2 module relocations</title>
<updated>2014-04-23T00:05:29Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2014-03-18T09:29:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0906584a0a4b689f6e80307f699247621321670a'/>
<id>urn:sha1:0906584a0a4b689f6e80307f699247621321670a</id>
<content type='text'>
The new ELF ABI tends to use R_PPC64_REL16_LO and R_PPC64_REL16_HA
relocations (PC-relative), so implement them.

Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>powerpc: modules implement R_PPC64_TOCSAVE relocation.</title>
<updated>2014-04-23T00:05:28Z</updated>
<author>
<name>Rusty Russell</name>
</author>
<published>2014-03-18T07:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d247da0a8ebcc4ebb4c766487de6af5df560adac'/>
<id>urn:sha1:d247da0a8ebcc4ebb4c766487de6af5df560adac</id>
<content type='text'>
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>powerpc: Fix little endian coredumps</title>
<updated>2013-08-14T05:33:39Z</updated>
<author>
<name>Anton Blanchard</name>
</author>
<published>2013-08-06T16:01:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8bd0b119ae64bf448e5f45d208007950e0ac2754'/>
<id>urn:sha1:8bd0b119ae64bf448e5f45d208007950e0ac2754</id>
<content type='text'>
We need to set ELF_DATA correctly on LE coredumps.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
