<?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 relocate.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>b2473a35 - of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#b2473a35</link>
        <description>of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify __pa() is only intended to be used for linear map addresses and usingit for initial_boot_params which is in fixmap for arm64 will give anincorrect value. Hence save the physical address when it is known atboot time when calling early_init_dt_scan for arm64 and use it at kexectime instead of converting the virtual address using __pa().Note that arm64 doesn&apos;t need the FDT region reserved in the DT as thekernel explicitly reserves the passed in FDT. Therefore, only a debugwarning is fixed with this change.Reported-by: Breno Leitao &lt;leitao@debian.org&gt;Suggested-by: Mark Rutland &lt;mark.rutland@arm.com&gt;Signed-off-by: Usama Arif &lt;usamaarif642@gmail.com&gt;Fixes: ac10be5cdbfa (&quot;arm64: Use common of_kexec_alloc_and_setup_fdt()&quot;)Link: https://lore.kernel.org/r/20241023171426.452688-1-usamaarif642@gmail.comSigned-off-by: Rob Herring (Arm) &lt;robh@kernel.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Wed, 23 Oct 2024 17:14:26 +0000</pubDate>
        <dc:creator>Usama Arif &lt;usamaarif642@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>2f9060b1 - MIPS: Fix typos</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#2f9060b1</link>
        <description>MIPS: Fix typosFix typos, most reported by &quot;codespell arch/mips&quot;.  Only touches comments,no code changes.Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;Cc: linux-mips@vger.kernel.orgReviewed-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Wed, 03 Jan 2024 23:16:03 +0000</pubDate>
        <dc:creator>Bjorn Helgaas &lt;bhelgaas@google.com&gt;</dc:creator>
    </item>
<item>
        <title>877336c1 - MIPS: move from strlcpy with unused retval to strscpy</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#877336c1</link>
        <description>MIPS: move from strlcpy with unused retval to strscpyFollow the advice of the below link and prefer &apos;strscpy&apos; in thissubsystem. Conversion is 1:1 because the return value is not used.Generated by a coccinelle script.Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 18 Aug 2022 20:59:43 +0000</pubDate>
        <dc:creator>Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;</dc:creator>
    </item>
<item>
        <title>f39650de - kernel.h: split out panic and oops helpers</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#f39650de</link>
        <description>kernel.h: split out panic and oops helperskernel.h is being used as a dump for all kinds of stuff for a long time.Here is the attempt to start cleaning it up by splitting out panic andoops helpers.There are several purposes of doing this:- dropping dependency in bug.h- dropping a loop by moving out panic_notifier.h- unload kernel.h from something which has its own domainAt the same time convert users tree-wide to use new headers, although forthe time being include new header back to kernel.h to avoid twistedindirected includes for existing users.[akpm@linux-foundation.org: thread_info.h needs limits.h][andriy.shevchenko@linux.intel.com: ia64 fix]  Link: https://lkml.kernel.org/r/20210520130557.55277-1-andriy.shevchenko@linux.intel.comLink: https://lkml.kernel.org/r/20210511074137.33666-1-andriy.shevchenko@linux.intel.comSigned-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;Co-developed-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Acked-by: Mike Rapoport &lt;rppt@linux.ibm.com&gt;Acked-by: Corey Minyard &lt;cminyard@mvista.com&gt;Acked-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Acked-by: Kees Cook &lt;keescook@chromium.org&gt;Acked-by: Wei Liu &lt;wei.liu@kernel.org&gt;Acked-by: Rasmus Villemoes &lt;linux@rasmusvillemoes.dk&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Acked-by: Sebastian Reichel &lt;sre@kernel.org&gt;Acked-by: Luis Chamberlain &lt;mcgrof@kernel.org&gt;Acked-by: Stephen Boyd &lt;sboyd@kernel.org&gt;Acked-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;Acked-by: Helge Deller &lt;deller@gmx.de&gt; # pariscSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 01 Jul 2021 01:54:59 +0000</pubDate>
        <dc:creator>Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>457d2fc5 - MIPS: relocatable: Use __kaslr_offset in show_kernel_relocation</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#457d2fc5</link>
        <description>MIPS: relocatable: Use __kaslr_offset in show_kernel_relocationThe type of the VMLINUX_LOAD_ADDRESS macro is the (unsigned long long)in 32bits kernel but (unsigned long) in the 64-bit kernel. Although thereis no error here, avoid using it to calculate kaslr_offset.Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 05 Feb 2021 10:11:22 +0000</pubDate>
        <dc:creator>Jinyang He &lt;hejinyang@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>d4d3ef8b - MIPS: relocatable: Provide kaslr_offset() to get the kernel offset</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#d4d3ef8b</link>
        <description>MIPS: relocatable: Provide kaslr_offset() to get the kernel offsetProvide kaslr_offset() to get the kernel offset when KASLR is enabled.Error may occur before update_kaslr_offset(), so put it at the end ofthe offset branch.Fixes: a307a4ce9ecd (&quot;MIPS: Loongson64: Add KASLR support&quot;)Reported-by: kernel test robot &lt;lkp@intel.com&gt;Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 05 Feb 2021 10:11:21 +0000</pubDate>
        <dc:creator>Jinyang He &lt;hejinyang@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>d9e84fb1 - MIPS: relocatable: optimize the relocation process</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#d9e84fb1</link>
        <description>MIPS: relocatable: optimize the relocation processFor now, vmlinux relocation functions for relocatable kernel areimplemented as an array of handlers of a particular type.Convert that array into a single switch-case function to: - remove unused arguments; - change the return type of simple handlers to void; - remove the array and don&apos;t use any data at all; - avoid using indirect calls; - allow the compiler to inline and greatly optimize   the relocation function[s];and also mark do_relocations() and show_kernel_relocation() staticas they aren&apos;t used anywhere else.The result on MIPS32 R2 with GCC 10.2 -O2 is:scripts/bloat-o-meter -c arch/mips/kernel/__relocate.o arch/mips/kernel/relocate.oadd/remove: 0/6 grow/shrink: 1/0 up/down: 356/-640 (-284)Function                                     old     new   deltarelocate_kernel                              852    1208    +356apply_r_mips_32_rel                           20       -     -20apply_r_mips_hi16_rel                         40       -     -40apply_r_mips_64_rel                           44       -     -44apply_r_mips_26_rel                          144       -    -144show_kernel_relocation                       164       -    -164do_relocations                               228       -    -228Total: Before=1780, After=1496, chg -15.96%add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-76 (-76)Data                                         old     new   deltareloc_handlers_rel                            76       -     -76Total: Before=92, After=16, chg -82.61%add/remove: 0/0 grow/shrink: 0/0 up/down: 0/0 (0)RO Data                                      old     new   deltaTotal: Before=0, After=0, chg +0.00%All functions were collapsed into the main one, relocate_kernel().Signed-off-by: Alexander Lobakin &lt;alobakin@pm.me&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Sat, 16 Jan 2021 15:02:53 +0000</pubDate>
        <dc:creator>Alexander Lobakin &lt;alobakin@pm.me&gt;</dc:creator>
    </item>
<item>
        <title>69e97683 - MIPS: relocatable: fix possible boot hangup with KASLR enabled</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#69e97683</link>
        <description>MIPS: relocatable: fix possible boot hangup with KASLR enabledLLVM-built Linux triggered a boot hangup with KASLR enabled.arch/mips/kernel/relocate.c:get_random_boot() uses linux_banner,which is a string constant, as a random seed, but accesses itas an array of unsigned long (in rotate_xor()).When the address of linux_banner is not aligned to sizeof(long),such access emits unaligned access exception and hangs the kernel.Use PTR_ALIGN() to align input address to sizeof(long) and alsoalign down the input length to prevent possible access-beyond-end.Fixes: 405bc8fd12f5 (&quot;MIPS: Kernel: Implement KASLR using CONFIG_RELOCATABLE&quot;)Cc: stable@vger.kernel.org # 4.7+Signed-off-by: Alexander Lobakin &lt;alobakin@pm.me&gt;Tested-by: Nathan Chancellor &lt;natechancellor@gmail.com&gt;Reviewed-by: Kees Cook &lt;keescook@chromium.org&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Sun, 10 Jan 2021 14:21:05 +0000</pubDate>
        <dc:creator>Alexander Lobakin &lt;alobakin@pm.me&gt;</dc:creator>
    </item>
<item>
        <title>c0aac3a5 - MIPS: KASLR: Avoid endless loop in sync_icache if synci_step is zero</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#c0aac3a5</link>
        <description>MIPS: KASLR: Avoid endless loop in sync_icache if synci_step is zeroMost platforms do not need to do synci instruction operations whensynci_step is 0. But for example, the synci implementation on Loongson64platform has some changes. On the one hand, it ensures that the memoryaccess instructions have been completed. On the other hand, it guaranteesthat all prefetch instructions need to be fetched again. And its addressinformation is useless. Thus, only one synci operation is required whensynci_step is 0 on Loongson64 platform. I guess that some other platformshave similar implementations on synci, so add judgment conditions in`while` to ensure that at least all platforms perform synci operationsonce. For those platforms that do not need synci, they just do one moreoperation similar to nop.Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 04 Dec 2020 01:11:46 +0000</pubDate>
        <dc:creator>Jinyang He &lt;hejinyang@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>a307a4ce - MIPS: Loongson64: Add KASLR support</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#a307a4ce</link>
        <description>MIPS: Loongson64: Add KASLR supportProvide a weak plat_get_fdt() in relocate.c in case some platform enableUSE_OF while plat_get_fdt() is useless.1MB RELOCATION_TABLE_SIZE is small for Loongson64 because too manyinstructions should be relocated. 2MB is enough in present.Add KASLR support for Loongson64.KASLR(kernel address space layout randomization)To enable KASLR on Loongson64:First, make loongson3_defconfig.Then, enable CONFIG_RELOCATABLE and CONFIG_RANDOMIZE_BASE.Finally, compile the kernel.To test KASLR on Loongson64:Start machine with KASLR kernel.The first time:# cat /proc/iomem00200000-0effffff : System RAM  02f30000-03895e9f : Kernel code  03895ea0-03bc7fff : Kernel data  03e30000-04f43f7f : Kernel bssThe second time:# cat /proc/iomem00200000-0effffff : System RAM  022f0000-02c55e9f : Kernel code  02c55ea0-02f87fff : Kernel data  031f0000-04303f7f : Kernel bssWe see that code, data and bss sections become randomize.Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Wed, 25 Nov 2020 10:07:46 +0000</pubDate>
        <dc:creator>Jinyang He &lt;hejinyang@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>74a2810b - MIPS: KASLR: Correct valid bits in apply_r_mips_26_rel()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#74a2810b</link>
        <description>MIPS: KASLR: Correct valid bits in apply_r_mips_26_rel()Apply_r_mips_26_rel() relocates instructions like j, jal and etc. Theseinstructions consist of 6bits function field and 26bits address field.The value of target_addr as follows,=================================================================|     high 4bits           |            low 28bits              |=================================================================|the high 4bits of this PC | the low 26bits of instructions &lt;&lt; 2|=================================================================Thus, loc_orig and log_new both need high 4bits rather than high 6bits.Signed-off-by: Jinyang He &lt;hejinyang@loongson.cn&gt;Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Wed, 25 Nov 2020 10:07:18 +0000</pubDate>
        <dc:creator>Jinyang He &lt;hejinyang@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>49881542 - MIPS: Remove no-op/identity casts</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#49881542</link>
        <description>MIPS: Remove no-op/identity castsClean up instances of casts to the type that a value already has, sincethey are effectively no-ops and only serve to complicate the code.This is the result of the following semantic patch:  @identitycast@  type T;  T *A;  @@  -	(T *)(A)  +	ASigned-off-by: Paul Burton &lt;paul.burton@mips.com&gt;Patchwork: https://patchwork.linux-mips.org/patch/19599/

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 31 Aug 2018 18:49:20 +0000</pubDate>
        <dc:creator>Paul Burton &lt;paul.burton@mips.com&gt;</dc:creator>
    </item>
<item>
        <title>fb615d61 - Update MIPS email addresses</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#fb615d61</link>
        <description>Update MIPS email addressesMIPS will soon not be a part of Imagination Technologies, and as suchmany @imgtec.com email addresses will no longer be valid. This patchupdates the addresses for those who: - Have 10 or more patches in mainline authored using an @imgtec.com   email address, or any patches dated within the past year. - Are still with Imagination but leaving as part of the MIPS business   unit, as determined from an internal email address list. - Haven&apos;t already updated their email address (ie. JamesH) or expressed   a desire to be excluded (ie. Maciej). - Acked v2 or earlier of this patch, which leaves Deng-Cheng, Matt &amp;   myself.New addresses are of the form firstname.lastname@mips.com, and allverified against an internal email address list.  An entry is added to.mailmap for each person such that get_maintainer.pl will report the newaddresses rather than @imgtec.com addresses which will soon be dead.Instances of the affected addresses throughout the tree are thenmechanically replaced with the new @mips.com address.Signed-off-by: Paul Burton &lt;paul.burton@mips.com&gt;Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@imgtec.com&gt;Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@mips.com&gt;Acked-by: Dengcheng Zhu &lt;dengcheng.zhu@mips.com&gt;Cc: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: Matt Redfearn &lt;matt.redfearn@mips.com&gt;Acked-by: Matt Redfearn &lt;matt.redfearn@mips.com&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: linux-kernel@vger.kernel.orgCc: linux-mips@linux-mips.orgCc: trivial@kernel.orgSigned-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 26 Oct 2017 00:04:33 +0000</pubDate>
        <dc:creator>Paul Burton &lt;paul.burton@mips.com&gt;</dc:creator>
    </item>
<item>
        <title>48c834be - Update MIPS email addresses</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#48c834be</link>
        <description>Update MIPS email addressesMIPS will soon not be a part of Imagination Technologies, and as suchmany @imgtec.com email addresses will no longer be valid. This patchupdates the addresses for those who: - Have 10 or more patches in mainline authored using an @imgtec.com   email address, or any patches dated within the past year. - Are still with Imagination but leaving as part of the MIPS business   unit, as determined from an internal email address list. - Haven&apos;t already updated their email address (ie. JamesH) or expressed   a desire to be excluded (ie. Maciej). - Acked v2 or earlier of this patch, which leaves Deng-Cheng, Matt &amp;   myself.New addresses are of the form firstname.lastname@mips.com, and allverified against an internal email address list. An entry is added to.mailmap for each person such that get_maintainer.pl will report the newaddresses rather than @imgtec.com addresses which will soon be dead.Instances of the affected addresses throughout the tree are thenmechanically replaced with the new @mips.com address.Signed-off-by: Paul Burton &lt;paul.burton@mips.com&gt;Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@imgtec.com&gt;Cc: Deng-Cheng Zhu &lt;dengcheng.zhu@mips.com&gt;Acked-by: Dengcheng Zhu &lt;dengcheng.zhu@mips.com&gt;Cc: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: Matt Redfearn &lt;matt.redfearn@mips.com&gt;Acked-by: Matt Redfearn &lt;matt.redfearn@mips.com&gt;Cc: Andrew Morton &lt;akpm@linux-foundation.org&gt;Cc: linux-kernel@vger.kernel.orgCc: linux-mips@linux-mips.orgCc: trivial@kernel.orgPatchwork: https://patchwork.linux-mips.org/patch/17540/Signed-off-by: James Hogan &lt;jhogan@kernel.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 26 Oct 2017 00:04:33 +0000</pubDate>
        <dc:creator>Paul Burton &lt;paul.burton@mips.com&gt;</dc:creator>
    </item>
<item>
        <title>ec62a3bd - MIPS: KASLR: Add missing header files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#ec62a3bd</link>
        <description>MIPS: KASLR: Add missing header filesAfter the split of linux/sched.h, KASLR stopped building.Fix this by including the correct header file for init_thread_unionSigned-off-by: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: James Hogan &lt;james.hogan@imgtec.com&gt;Cc: Marcin Nowakowski &lt;marcin.nowakowski@imgtec.com&gt;Cc: Steven J. Hill &lt;Steven.Hill@cavium.com&gt;Cc: linux-mips@linux-mips.orgCc: linux-kernel@vger.kernel.orgPatchwork: https://patchwork.linux-mips.org/patch/15849/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 31 Mar 2017 10:51:33 +0000</pubDate>
        <dc:creator>Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;</dc:creator>
    </item>
<item>
        <title>4c9fff36 - MIPS: relocate: Optionally relocate the DTB</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#4c9fff36</link>
        <description>MIPS: relocate: Optionally relocate the DTBIf the DTB is located in the target memory area for the relocated kernelit needs to be relocated as well before kernel relocation takes place.After copying the DTB use the new plat_fdt_relocated() API from therelocated kernel to ensure the relocated kernel updates any informationthat it may have cached about the location of the DTB.plat_fdt_relocated is declared as a weak symbol so that platforms thatdo not require it do not need to implement the method.Signed-off-by: Marcin Nowakowski &lt;marcin.nowakowski@imgtec.com&gt;Cc: linux-mips@linux-mips.orgPatchwork: https://patchwork.linux-mips.org/patch/14616/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Wed, 23 Nov 2016 13:43:48 +0000</pubDate>
        <dc:creator>Marcin Nowakowski &lt;marcin.nowakowski@imgtec.com&gt;</dc:creator>
    </item>
<item>
        <title>8cc709d7 - MIPS: Relocatable: Provide plat_post_relocation hook</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#8cc709d7</link>
        <description>MIPS: Relocatable: Provide plat_post_relocation hookThis hook provides the platform the chance to perform any requiredsetup before the boot processor switches to the relocated kernel.The relocated kernel has been copied and fixed up ready for executionat this point. Secondary CPUs may wish to switch to it early. Thereis also the opportunity for the platform to abort jumping to therelocated kernel if there is anything wrong with the chosen offset.Signed-off-by: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Signed-off-by: Steven J. Hill &lt;Steven.Hill@cavium.com&gt;Cc: linux-mips@linux-mips.orgPatchwork: https://patchwork.linux-mips.org/patch/14651/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Fri, 09 Dec 2016 08:36:22 +0000</pubDate>
        <dc:creator>Steven J. Hill &lt;Steven.Hill@cavium.com&gt;</dc:creator>
    </item>
<item>
        <title>47366979 - MIPS: KASLR: Fix handling of NULL FDT</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#47366979</link>
        <description>MIPS: KASLR: Fix handling of NULL FDTIf platform code returns a NULL pointer to the FDT, initial_boot_paramswill not get set to a valid pointer and attempting to find the /chosennode in it will cause a NULL pointer dereference and the kernel to crashimmediately on startup - with no output to the console.Fix this by checking that initial_boot_params is valid before using it.Fixes: 405bc8fd12f5 (&quot;MIPS: Kernel: Implement KASLR using CONFIG_RELOCATABLE&quot;)Cc: stable@vger.kernel.org # 4.7+Signed-off-by: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: linux-mips@linux-mips.orgCc: linux-kernel@vger.kernel.orgPatchwork: https://patchwork.linux-mips.org/patch/14414/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Mon, 17 Oct 2016 16:21:46 +0000</pubDate>
        <dc:creator>Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;</dc:creator>
    </item>
<item>
        <title>405bc8fd - MIPS: Kernel: Implement KASLR using CONFIG_RELOCATABLE</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#405bc8fd</link>
        <description>MIPS: Kernel: Implement KASLR using CONFIG_RELOCATABLEThis patch adds KASLR to the MIPS kernel.Entropy is derived from the banner, which will change every build andrandom_get_entropy() which should provide additional runtime entropy.Additionally the bootloader may pass entropy via the /chosen/kaslr-seednode in device tree.The kernel is relocated by up to RANDOMIZE_BASE_MAX_OFFSET bytes fromits link address (PHYSICAL_START). Because relocation happens so earlyin the kernel boot, the amount of physical memory has not yet beendetermined. This means the only way to limit relocation within theavailable memory is via Kconfig.Signed-off-by: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: linux-mips@linux-mips.orgCc: kernel-hardening@lists.openwall.comCc: linux-kernel@vger.kernel.orgPatchwork: https://patchwork.linux-mips.org/patch/12990/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 31 Mar 2016 09:05:41 +0000</pubDate>
        <dc:creator>Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;</dc:creator>
    </item>
<item>
        <title>279b991b - MIPS: Kernel: Add relocate.c</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/arch/mips/kernel/relocate.c#279b991b</link>
        <description>MIPS: Kernel: Add relocate.carch/mips/kernel/relocate.c contains the functions necessary to relocatethe kernel elsewhere in memoryThe kernel makes a copy of itself at the new address. It uses therelocation table inserted by the relocs tool to fix symbol referenceswithin the new image.If copy/relocation is sucessful then the entry point of the new kernelis returned, otherwise fall back to starting the kernel in place.Signed-off-by: Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: James Hogan &lt;james.hogan@imgtec.com&gt;Cc: Paul Burton &lt;paul.burton@imgtec.com&gt;Cc: linux-mips@linux-mips.orgCc: kernel-hardening@lists.openwall.comCc: linux-kernel@vger.kernel.orgPatchwork: https://patchwork.linux-mips.org/patch/12985/Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

            List of files:
            /linux-6.15/arch/mips/kernel/relocate.c</description>
        <pubDate>Thu, 31 Mar 2016 09:05:36 +0000</pubDate>
        <dc:creator>Matt Redfearn &lt;matt.redfearn@imgtec.com&gt;</dc:creator>
    </item>
</channel>
</rss>
