<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/include/asm/percpu.h, branch linux-5.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-07-23T09:46:43Z</updated>
<entry>
<title>x86/percpu: Remove unused PER_CPU() macro</title>
<updated>2020-07-23T09:46:43Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4719ffecbb0659faf1fd39f4b8eb2674f0042890'/>
<id>urn:sha1:4719ffecbb0659faf1fd39f4b8eb2674f0042890</id>
<content type='text'>
Also remove now unused __percpu_mov_op.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-11-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_stable_op()</title>
<updated>2020-07-23T09:46:42Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c94055fe93c8d00bfa23fa2cb9af080f7fc53aa0'/>
<id>urn:sha1:c94055fe93c8d00bfa23fa2cb9af080f7fc53aa0</id>
<content type='text'>
Use __pcpu_size_call_return() to simplify this_cpu_read_stable().
Also remove __bad_percpu_size() which is now unused.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-10-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_cmpxchg_op()</title>
<updated>2020-07-23T09:46:42Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebcd580bed4a357ea894e6878d9099b3919f727f'/>
<id>urn:sha1:ebcd580bed4a357ea894e6878d9099b3919f727f</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-9-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_xchg_op()</title>
<updated>2020-07-23T09:46:41Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73ca542fbabb68deaa90130a8153cab1fa8288fe'/>
<id>urn:sha1:73ca542fbabb68deaa90130a8153cab1fa8288fe</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-8-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_add_return_op()</title>
<updated>2020-07-23T09:46:41Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bbff583b84a130d4d1234d68906c41690575be36'/>
<id>urn:sha1:bbff583b84a130d4d1234d68906c41690575be36</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-7-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Remove "e" constraint from XADD</title>
<updated>2020-07-23T09:46:40Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e4d16defbbde028aeab2026995f0ced4240df6d6'/>
<id>urn:sha1:e4d16defbbde028aeab2026995f0ced4240df6d6</id>
<content type='text'>
The "e" constraint represents a constant, but the XADD instruction doesn't
accept immediate operands.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-6-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_add_op()</title>
<updated>2020-07-23T09:46:40Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33e5614a435ff8047d768e6501454ae1cc7f131f'/>
<id>urn:sha1:33e5614a435ff8047d768e6501454ae1cc7f131f</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-5-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_from_op()</title>
<updated>2020-07-23T09:46:39Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb631e3002840706362a7d76e3ebb3604cce91a7'/>
<id>urn:sha1:bb631e3002840706362a7d76e3ebb3604cce91a7</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-4-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Clean up percpu_to_op()</title>
<updated>2020-07-23T09:46:39Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c175acc14719e69ecec4dafbb642a7f38c76c064'/>
<id>urn:sha1:c175acc14719e69ecec4dafbb642a7f38c76c064</id>
<content type='text'>
The core percpu macros already have a switch on the data size, so the switch
in the x86 code is redundant and produces more dead code.

Also use appropriate types for the width of the instructions.  This avoids
errors when compiling with Clang.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-3-ndesaulniers@google.com

</content>
</entry>
<entry>
<title>x86/percpu: Introduce size abstraction macros</title>
<updated>2020-07-23T09:46:39Z</updated>
<author>
<name>Brian Gerst</name>
</author>
<published>2020-07-20T20:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6865dc3ae93b9acb336ca48bd7b2db3446d89370'/>
<id>urn:sha1:6865dc3ae93b9acb336ca48bd7b2db3446d89370</id>
<content type='text'>
In preparation for cleaning up the percpu operations, define macros for
abstraction based on the width of the operation.

Signed-off-by: Brian Gerst &lt;brgerst@gmail.com&gt;
Signed-off-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Reviewed-by: Nick Desaulniers &lt;ndesaulniers@google.com&gt;
Acked-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;
Acked-by: Dennis Zhou &lt;dennis@kernel.org&gt;
Link: https://lkml.kernel.org/r/20200720204925.3654302-2-ndesaulniers@google.com

</content>
</entry>
</feed>
