<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in paca.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>17e02586 - docs: move powerpc under arch</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#17e02586</link>
        <description>docs: move powerpc under archand fix all in-tree references.Architecture-specific documentation is being moved into Documentation/arch/as a way of cleaning up the top-level documentation directory and makingthe docs hierarchy more closely match the source hierarchy.Signed-off-by: Costa Shulyupin &lt;costa.shul@redhat.com&gt;Acked-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;Link: https://lore.kernel.org/r/20230826165737.2101199-1-costa.shul@redhat.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Sat, 26 Aug 2023 16:56:08 +0000</pubDate>
        <dc:creator>Costa Shulyupin &lt;costa.shul@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>7e3a68be - powerpc/64: vmlinux support building with PCREL addresing</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#7e3a68be</link>
        <description>powerpc/64: vmlinux support building with PCREL addresingPC-Relative or PCREL addressing is an extension to the ELF ABI whichuses Power ISA v3.1 PC-relative instructions to calculate addresses,rather than the traditional TOC scheme.Add an option to build vmlinux using pcrel addressing. Modules continueto use TOC addressing.- TOC address helpers and r2 are poisoned with -1 when running vmlinux.  r2 could be used for something useful once things are ironed out.- Assembly must call C functions with @notoc annotation, or the linker  complains aobut a missing nop after the call. This is done with the  CFUNC macro introduced earlier.- Boot: with the exception of prom_init, the execution branches to the  kernel virtual address early in boot, before any addresses are  generated, which ensures 34-bit pcrel addressing does not miss the  high PAGE_OFFSET bits. TOC relative addressing has a similar  requirement. prom_init does not go to the virtual address and its  addresses should not carry over to the post-prom kernel.- Ftrace trampolines are converted from TOC addressing to pcrel  addressing, including module ftrace trampolines that currently use the  kernel TOC to find ftrace target functions.- BPF function prologue and function calling generation are converted  from TOC to pcrel.- copypage_64.S has an interesting problem, prefixed instructions have  alignment restrictions so the linker can add padding, which makes the  assembler treat the difference between two local labels as  non-constant even if alignment is arranged so padding is not required.  This may need toolchain help to solve nicely, for now move the prefix  instruction out of the alternate patch section to work around it.This reduces kernel text size by about 6%.Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://msgid.link/20230408021752.862660-6-npiggin@gmail.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Sat, 08 Apr 2023 02:17:51 +0000</pubDate>
        <dc:creator>Nicholas Piggin &lt;npiggin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>e0d68273 - powerpc: Remove CONFIG_PPC_BOOK3E</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#e0d68273</link>
        <description>powerpc: Remove CONFIG_PPC_BOOK3ECONFIG_PPC_BOOK3E is redundant with CONFIG_PPC_BOOK3E_64.The later is more explicit about the fact that it&apos;s a 64 bits target.Remove CONFIG_PPC_BOOK3E.Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/5d0891490813c19cdcfc04678f512ea68cba3e64.1663606876.git.christophe.leroy@csgroup.eu

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Mon, 19 Sep 2022 17:01:33 +0000</pubDate>
        <dc:creator>Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;</dc:creator>
    </item>
<item>
        <title>f88aabad - Revert &quot;powerpc/rtas: Implement reentrant rtas call&quot;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#f88aabad</link>
        <description>Revert &quot;powerpc/rtas: Implement reentrant rtas call&quot;At the time this was submitted by Leonardo, I confirmed -- or thoughtI had confirmed -- with PowerVM partition firmware development thatthe following RTAS functions:- ibm,get-xive- ibm,int-off- ibm,int-on- ibm,set-xivewere safe to call on multiple CPUs simultaneously, not only withrespect to themselves as indicated by PAPR, but with arbitrary otherRTAS calls:https://lore.kernel.org/linuxppc-dev/875zcy2v8o.fsf@linux.ibm.com/Recent discussion with firmware development makes it clear that thisis not true, and that the code in commit b664db8e3f97 (&quot;powerpc/rtas:Implement reentrant rtas call&quot;) is unsafe, likely explaining severalstrange bugs we&apos;ve seen in internal testing involving DLPAR andLPM. These scenarios use ibm,configure-connector, whose internal statecan be corrupted by the concurrent use of the &quot;reentrant&quot; functions,leading to symptoms like endless busy statuses from RTAS.Fixes: b664db8e3f97 (&quot;powerpc/rtas: Implement reentrant rtas call&quot;)Cc: stable@vger.kernel.org # v5.8+Signed-off-by: Nathan Lynch &lt;nathanl@linux.ibm.com&gt;Reviewed-by: Laurent Dufour &lt;laurent.dufour@fr.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20220907220111.223267-1-nathanl@linux.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Wed, 07 Sep 2022 22:01:11 +0000</pubDate>
        <dc:creator>Nathan Lynch &lt;nathanl@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>f693d38d - powerpc/mm: Remove CONFIG_PPC_MM_SLICES</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#f693d38d</link>
        <description>powerpc/mm: Remove CONFIG_PPC_MM_SLICESCONFIG_PPC_MM_SLICES is always selected by hash book3s/64.CONFIG_PPC_MM_SLICES is never selected by other platforms.Remove it.Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Reviewed-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/dc2cdc204de8978574bf7c02329b6cfc4db0bce7.1649523076.git.christophe.leroy@csgroup.eu

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Sat, 09 Apr 2022 17:17:31 +0000</pubDate>
        <dc:creator>Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;</dc:creator>
    </item>
<item>
        <title>387e220a - powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMU</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#387e220a</link>
        <description>powerpc/64s: Move hash MMU support code under CONFIG_PPC_64S_HASH_MMUCompiling out hash support code when CONFIG_PPC_64S_HASH_MMU=n saves128kB kernel image size (90kB text) on powernv_defconfig minus KVM,350kB on pseries_defconfig minus KVM, 40kB on a tiny config.Signed-off-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;[mpe: Fixup defined(ARCH_HAS_MEMREMAP_COMPAT_ALIGN), which needs CONFIG.      Fix radix_enabled() use in setup_initial_memory_limit(). Add some      stubs to reduce number of ifdefs.]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20211201144153.2456614-18-npiggin@gmail.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Wed, 01 Dec 2021 14:41:52 +0000</pubDate>
        <dc:creator>Nicholas Piggin &lt;npiggin@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>3ecc6834 - memblock: rename memblock_free to memblock_phys_free</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#3ecc6834</link>
        <description>memblock: rename memblock_free to memblock_phys_freeSince memblock_free() operates on a physical range, make its namereflect it and rename it to memblock_phys_free(), so it will be alogical counterpart to memblock_phys_alloc().The callers are updated with the below semantic patch:    @@    expression addr;    expression size;    @@    - memblock_free(addr, size);    + memblock_phys_free(addr, size);Link: https://lkml.kernel.org/r/20210930185031.18648-6-rppt@kernel.orgSigned-off-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;Cc: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Cc: Juergen Gross &lt;jgross@suse.com&gt;Cc: Shahab Vahedi &lt;Shahab.Vahedi@synopsys.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Fri, 05 Nov 2021 20:43:19 +0000</pubDate>
        <dc:creator>Mike Rapoport &lt;rppt@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>13c7dad9 - powerpc/paca: Remove mm_ctx_id and mm_ctx_slb_addr_limit</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#13c7dad9</link>
        <description>powerpc/paca: Remove mm_ctx_id and mm_ctx_slb_addr_limitmm_ctx_id and mm_ctx_slb_addr_limit are not used anymore.Remove them.Signed-off-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;Reviewed-by: Nicholas Piggin &lt;npiggin@gmail.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/6e1813953da38c452c131fe3e2a2761a0fddb975.1620223303.git.christophe.leroy@csgroup.eu

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Wed, 05 May 2021 14:02:13 +0000</pubDate>
        <dc:creator>Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;</dc:creator>
    </item>
<item>
        <title>a7223f5b - powerpc: Avoid broken GCC __attribute__((optimize))</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#a7223f5b</link>
        <description>powerpc: Avoid broken GCC __attribute__((optimize))Commit 7053f80d9696 (&quot;powerpc/64: Prevent stack protection in earlyboot&quot;) introduced a couple of uses of __attribute__((optimize)) withfunction scope, to disable the stack protector in some early bootcode.Unfortunately, and this is documented in the GCC man pages [0],overriding function attributes for optimization is broken, and is onlysupported for debug scenarios, not for production: the problem appearsto be that setting GCC -f flags using this method will cause it toforget about some or all other optimization settings that have beenapplied.So the only safe way to disable the stack protector is to disable itfor the entire source file.[0] https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.htmlFixes: 7053f80d9696 (&quot;powerpc/64: Prevent stack protection in early boot&quot;)Signed-off-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;[mpe: Drop one remaining use of __nostackprotector, reported by snowpatch]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20201028080433.26799-1-ardb@kernel.org

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Wed, 28 Oct 2020 08:04:33 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ardb@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>b710d27b - powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#b710d27b</link>
        <description>powerpc/pseries/svm: Fix incorrect check for shared_lppaca_sizeEarly secure guest boot hits the below crash while booting withvcpus numbers aligned with page boundary for PAGE size of 64kand LPPACA size of 1k i.e 64, 128 etc.  Partition configured for 64 cpus.  CPU maps initialized for 1 thread per core  ------------[ cut here ]------------  kernel BUG at arch/powerpc/kernel/paca.c:89!  Oops: Exception in kernel mode, sig: 5 [#1]  LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeriesThis is due to the BUG_ON() for shared_lppaca_total_size equal toshared_lppaca_size. Instead the code should only BUG_ON() if we haveexceeded the total_size, which indicates we&apos;ve overflowed the array.Fixes: bd104e6db6f0 (&quot;powerpc/pseries/svm: Use shared memory for LPPACA structures&quot;)Cc: stable@vger.kernel.org # v5.4+Signed-off-by: Satheesh Rajendran &lt;sathnaga@linux.vnet.ibm.com&gt;Reviewed-by: Laurent Dufour &lt;ldufour@linux.ibm.com&gt;Reviewed-by: Thiago Jung Bauermann &lt;bauerman@linux.ibm.com&gt;[mpe: Reword change log to clarify we&apos;re fixing not removing the check]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20200619070113.16696-1-sathnaga@linux.vnet.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Fri, 19 Jun 2020 07:01:13 +0000</pubDate>
        <dc:creator>Satheesh Rajendran &lt;sathnaga@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>178748b6 - powerpc/pseries/svm: Drop unused align argument in alloc_shared_lppaca() function</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#178748b6</link>
        <description>powerpc/pseries/svm: Drop unused align argument in alloc_shared_lppaca() functionArgument &quot;align&quot; in alloc_shared_lppaca() was unused inside thefunction. Let&apos;s drop it and update code comment for page alignment.Signed-off-by: Satheesh Rajendran &lt;sathnaga@linux.vnet.ibm.com&gt;Reviewed-by: Thiago Jung Bauermann &lt;bauerman@linux.ibm.com&gt;Reviewed-by: Laurent Dufour &lt;ldufour@linux.ibm.com&gt;[mpe: Massage comment wording/formatting]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20200612142953.135408-1-sathnaga@linux.vnet.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Fri, 12 Jun 2020 14:29:53 +0000</pubDate>
        <dc:creator>Satheesh Rajendran &lt;sathnaga@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>65fddcfc - mm: reorder includes after introduction of linux/pgtable.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#65fddcfc</link>
        <description>mm: reorder includes after introduction of linux/pgtable.hThe replacement of &lt;asm/pgrable.h&gt; with &lt;linux/pgtable.h&gt; made the includeof the latter in the middle of asm includes.  Fix this up with the aid ofthe below script and manual adjustments here and there.	import sys	import re	if len(sys.argv) is not 3:	    print &quot;USAGE: %s &lt;file&gt; &lt;header&gt;&quot; % (sys.argv[0])	    sys.exit(1)	hdr_to_move=&quot;#include &lt;linux/%s&gt;&quot; % sys.argv[2]	moved = False	in_hdrs = False	with open(sys.argv[1], &quot;r&quot;) as f:	    lines = f.readlines()	    for _line in lines:		line = _line.rstrip(&apos;&apos;)		if line == hdr_to_move:		    continue		if line.startswith(&quot;#include &lt;linux/&quot;):		    in_hdrs = True		elif not moved and in_hdrs:		    moved = True		    print hdr_to_move		print lineSigned-off-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Brian Cain &lt;bcain@codeaurora.org&gt;Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;Cc: Chris Zankel &lt;chris@zankel.net&gt;Cc: &quot;David S. Miller&quot; &lt;davem@davemloft.net&gt;Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Cc: Greentime Hu &lt;green.hu@gmail.com&gt;Cc: Greg Ungerer &lt;gerg@linux-m68k.org&gt;Cc: Guan Xuetao &lt;gxt@pku.edu.cn&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;Cc: Helge Deller &lt;deller@gmx.de&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;Cc: Mark Salter &lt;msalter@redhat.com&gt;Cc: Matthew Wilcox &lt;willy@infradead.org&gt;Cc: Matt Turner &lt;mattst88@gmail.com&gt;Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Michal Simek &lt;monstr@monstr.eu&gt;Cc: Nick Hu &lt;nickhu@andestech.com&gt;Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;Cc: Richard Weinberger &lt;richard@nod.at&gt;Cc: Rich Felker &lt;dalias@libc.org&gt;Cc: Russell King &lt;linux@armlinux.org.uk&gt;Cc: Stafford Horne &lt;shorne@gmail.com&gt;Cc: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Tony Luck &lt;tony.luck@intel.com&gt;Cc: Vincent Chen &lt;deanbo422@gmail.com&gt;Cc: Vineet Gupta &lt;vgupta@synopsys.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;Link: http://lkml.kernel.org/r/20200514170327.31389-4-rppt@kernel.orgSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Tue, 09 Jun 2020 04:32:42 +0000</pubDate>
        <dc:creator>Mike Rapoport &lt;rppt@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>ca5999fd - mm: introduce include/linux/pgtable.h</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#ca5999fd</link>
        <description>mm: introduce include/linux/pgtable.hThe include/linux/pgtable.h is going to be the home of generic page tablemanipulation functions.Start with moving asm-generic/pgtable.h to include/linux/pgtable.h andmake the latter include asm/pgtable.h.Signed-off-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Brian Cain &lt;bcain@codeaurora.org&gt;Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;Cc: Chris Zankel &lt;chris@zankel.net&gt;Cc: &quot;David S. Miller&quot; &lt;davem@davemloft.net&gt;Cc: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;Cc: Greentime Hu &lt;green.hu@gmail.com&gt;Cc: Greg Ungerer &lt;gerg@linux-m68k.org&gt;Cc: Guan Xuetao &lt;gxt@pku.edu.cn&gt;Cc: Guo Ren &lt;guoren@kernel.org&gt;Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;Cc: Helge Deller &lt;deller@gmx.de&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Ley Foon Tan &lt;ley.foon.tan@intel.com&gt;Cc: Mark Salter &lt;msalter@redhat.com&gt;Cc: Matthew Wilcox &lt;willy@infradead.org&gt;Cc: Matt Turner &lt;mattst88@gmail.com&gt;Cc: Max Filippov &lt;jcmvbkbc@gmail.com&gt;Cc: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Cc: Michal Simek &lt;monstr@monstr.eu&gt;Cc: Nick Hu &lt;nickhu@andestech.com&gt;Cc: Paul Walmsley &lt;paul.walmsley@sifive.com&gt;Cc: Richard Weinberger &lt;richard@nod.at&gt;Cc: Rich Felker &lt;dalias@libc.org&gt;Cc: Russell King &lt;linux@armlinux.org.uk&gt;Cc: Stafford Horne &lt;shorne@gmail.com&gt;Cc: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Tony Luck &lt;tony.luck@intel.com&gt;Cc: Vincent Chen &lt;deanbo422@gmail.com&gt;Cc: Vineet Gupta &lt;vgupta@synopsys.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Cc: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;Link: http://lkml.kernel.org/r/20200514170327.31389-3-rppt@kernel.orgSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Tue, 09 Jun 2020 04:32:38 +0000</pubDate>
        <dc:creator>Mike Rapoport &lt;rppt@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>b664db8e - powerpc/rtas: Implement reentrant rtas call</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#b664db8e</link>
        <description>powerpc/rtas: Implement reentrant rtas callImplement rtas_call_reentrant() for reentrant rtas-calls:&quot;ibm,int-on&quot;, &quot;ibm,int-off&quot;,ibm,get-xive&quot; and  &quot;ibm,set-xive&quot;.On LoPAPR Version 1.1 (March 24, 2016), from 7.3.10.1 to 7.3.10.4,items 2 and 3 say:2 - For the PowerPC External Interrupt option: The * call must bereentrant to the number of processors on the platform.3 - For the PowerPC External Interrupt option: The * argument callbuffer for each simultaneous call must be physically unique.So, these rtas-calls can be called in a lockless way, if usinga different buffer for each cpu doing such rtas call.For this, it was suggested to add the buffer (struct rtas_args)in the PACA struct, so each cpu can have it&apos;s own buffer.The PACA struct received a pointer to rtas buffer, which isallocated in the memory range available to rtas 32-bit.Reentrant rtas calls are useful to avoid deadlocks in crashing,where rtas-calls are needed, but some other thread crashed holdingthe rtas.lock.This is a backtrace of a deadlock from a kdump testing environment:  #0 arch_spin_lock  #1  lock_rtas ()  #2  rtas_call (token=8204, nargs=1, nret=1, outputs=0x0)  #3  ics_rtas_mask_real_irq (hw_irq=4100)  #4  machine_kexec_mask_interrupts  #5  default_machine_crash_shutdown  #6  machine_crash_shutdown  #7  __crash_kexec  #8  crash_kexec  #9  oops_endSigned-off-by: Leonardo Bras &lt;leobras.c@gmail.com&gt;[mpe: Move under #ifdef PSERIES to avoid build breakage]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20200518234245.200672-3-leobras.c@gmail.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Mon, 18 May 2020 23:42:45 +0000</pubDate>
        <dc:creator>Leonardo Bras &lt;leobras.c@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7053f80d - powerpc/64: Prevent stack protection in early boot</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#7053f80d</link>
        <description>powerpc/64: Prevent stack protection in early bootThe previous commit reduced the amount of code that is run before wesetup a paca. However there are still a few remaining functions thatrun with no paca, or worse, with an arbitrary value in r13 that willbe used as a paca pointer.In particular the stack protector canary is stored in the paca, so ifstack protector is activated for any of these functions we will readthe stack canary from wherever r13 points. If r13 happens to pointoutside of memory we will get a machine check / checkstop.For example if we modify initialise_paca() to trigger stackprotection, and then boot in the mambo simulator with r13 poisoned inskiboot before calling the kernel:  DEBUG: 19952232: (19952232): INSTRUCTION: PC=0xC0000000191FC1E8: [0x3C4C006D]: addis   r2,r12,0x6D [fetch]  DEBUG: 19952236: (19952236): INSTRUCTION: PC=0xC00000001807EAD8: [0x7D8802A6]: mflr    r12 [fetch]  FATAL ERROR: 19952276: (19952276): Check Stop for 0:0: Machine Check with ME bit of MSR off  DEBUG: 19952276: (19952276): INSTRUCTION: PC=0xC0000000191FCA7C: [0xE90D0CF8]: ld      r8,0xCF8(r13) [Instruction Failed]  INFO: 19952276: (19952277): ** Execution stopped: Mambo Error, Machine Check Stop,  **  systemsim % bt  pc:                             0xC0000000191FCA7C      initialise_paca+0x54  lr:                             0xC0000000191FC22C      early_setup+0x44  stack:0x00000000198CBED0        0x0     +0x0  stack:0x00000000198CBF00        0xC0000000191FC22C      early_setup+0x44  stack:0x00000000198CBF90        0x1801C968      +0x1801C968So annotate the relevant functions to ensure stack protection is neverenabled for them.Fixes: 06ec27aea9fc (&quot;powerpc/64: add stack protector support&quot;)Cc: stable@vger.kernel.org # v4.20+Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20200320032116.1024773-2-mpe@ellerman.id.au

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Fri, 20 Mar 2020 03:21:16 +0000</pubDate>
        <dc:creator>Michael Ellerman &lt;mpe@ellerman.id.au&gt;</dc:creator>
    </item>
<item>
        <title>d4a8e986 - powerpc/64: Setup a paca before parsing device tree etc.</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#d4a8e986</link>
        <description>powerpc/64: Setup a paca before parsing device tree etc.Currently we set up the paca after parsing the device tree for CPUfeatures. Prior to that, r13 contains random data, which means thereis random data in r13 while we&apos;re running the generic dt parsing code.This random data varies depending on whether we boot through a vmlinuxor a zImage: for the vmlinux case it&apos;s usually around zero, but forzImages we see random values like 912a72603d420015.This is poor practice, and can also lead to difficult-to-debugcrashes. For example, when kcov is enabled, the kcov instrumentationattempts to read preempt_count out of the current task, which goes viathe paca. This then crashes in the zImage case.Similarly stack protector can cause crashes if r13 is bogus, byreading from the stack canary in the paca.To resolve this: - move the paca setup to before the CPU feature parsing. - because we no longer have access to CPU feature flags in paca setup, change the HV feature test in the paca setup path to consider the actual value of the MSR rather than the CPU feature.Translations get switched on once we leave early_setup, so I thinkwe&apos;d already catch any other cases where the paca or task aren&apos;t setup.Boot tested on a P9 guest and host.Fixes: fb0b0a73b223 (&quot;powerpc: Enable kcov&quot;)Fixes: 06ec27aea9fc (&quot;powerpc/64: add stack protector support&quot;)Cc: stable@vger.kernel.org # v4.20+Reviewed-by: Andrew Donnellan &lt;ajd@linux.ibm.com&gt;Suggested-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Signed-off-by: Daniel Axtens &lt;dja@axtens.net&gt;[mpe: Reword comments &amp; change log a bit to mention stack protector]Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20200320032116.1024773-1-mpe@ellerman.id.au

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Fri, 20 Mar 2020 03:21:15 +0000</pubDate>
        <dc:creator>Daniel Axtens &lt;dja@axtens.net&gt;</dc:creator>
    </item>
<item>
        <title>bd104e6d - powerpc/pseries/svm: Use shared memory for LPPACA structures</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#bd104e6d</link>
        <description>powerpc/pseries/svm: Use shared memory for LPPACA structuresLPPACA structures need to be shared with the host. Hence they need to be inshared memory. Instead of allocating individual chunks of memory for agiven structure from memblock, a contiguous chunk of memory is allocatedand then converted into shared memory. Subsequent allocation requests willcome from the contiguous chunk which will be always shared memory for allstructures.While we are able to use a kmem_cache constructor for the Debug Trace Log,LPPACAs are allocated very early in the boot process (before SLUB isavailable) so we need to use a simpler scheme here.Introduce helper is_svm_platform() which uses the S bit of the MSR to tellwhether we&apos;re running as a secure guest.Signed-off-by: Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;Signed-off-by: Thiago Jung Bauermann &lt;bauerman@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20190820021326.6884-9-bauerman@linux.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Tue, 20 Aug 2019 02:13:18 +0000</pubDate>
        <dc:creator>Anshuman Khandual &lt;khandual@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>e311a92d - powerpc/pseries: Add and use LPPACA_SIZE constant</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#e311a92d</link>
        <description>powerpc/pseries: Add and use LPPACA_SIZE constantHelps document what the hard-coded number means.Also take the opportunity to fix an #endif comment.Suggested-by: Alexey Kardashevskiy &lt;aik@linux.ibm.com&gt;Signed-off-by: Thiago Jung Bauermann &lt;bauerman@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;Link: https://lore.kernel.org/r/20190820021326.6884-8-bauerman@linux.ibm.com

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Tue, 20 Aug 2019 02:13:17 +0000</pubDate>
        <dc:creator>Thiago Jung Bauermann &lt;bauerman@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>2874c5fd - treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#2874c5fd</link>
        <description>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Based on 1 normalized pattern(s):  this program is free software you can redistribute it and or modify  it under the terms of the gnu general public license as published by  the free software foundation either version 2 of the license or at  your option any later versionextracted by the scancode license scanner the SPDX license identifier  GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 3029 file(s).Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.deSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Mon, 27 May 2019 06:55:01 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>60458fba - powerpc/mm: Add helpers for accessing hash translation related variables</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/powerpc/kernel/paca.c#60458fba</link>
        <description>powerpc/mm: Add helpers for accessing hash translation related variablesWe want to switch to allocating them runtime only when hash translation isenabled. Add helpers so that both book3s and nohash can be adapted toupcoming change easily.Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.ibm.com&gt;Signed-off-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt;

            List of files:
            /linux-6.15/arch/powerpc/kernel/paca.c</description>
        <pubDate>Wed, 17 Apr 2019 13:03:48 +0000</pubDate>
        <dc:creator>Aneesh Kumar K.V &lt;aneesh.kumar@linux.ibm.com&gt;</dc:creator>
    </item>
</channel>
</rss>
