Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1641449 > unrolled thread

[V2 PATCH] socfpga_a10: fix a kexec boot issue

Started by<yanjiang.jin@windriver.com>
First post2017-05-15 11:20 +0200
Last post2017-05-15 11:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [V2 PATCH] socfpga_a10: fix a kexec boot issue <yanjiang.jin@windriver.com> - 2017-05-15 11:20 +0200

#1641449 — [V2 PATCH] socfpga_a10: fix a kexec boot issue

From<yanjiang.jin@windriver.com>
Date2017-05-15 11:20 +0200
Subject[V2 PATCH] socfpga_a10: fix a kexec boot issue
Message-ID<tHkky-6aZ-11@gated-at.bofh.it>
From: Yanjiang Jin <yanjiang.jin@windriver.com>


V1->V2:
1. Add flush_cache_all() in cpu_die();
2. Add more descriptive on the commit log;
Also validate kexec and CPU_HOTPLUG as before.

I guess socfpga's other boards may need this patch, but I have Arria10
board only. 
So add a new function socfpga_a10_cpu_kill(), keep the old function
socfpga_cpu_kill() for other boards.
I also verified CPU_HOTPLUG after applying this patch, everything seems well.

Test steps:

1. Enable kexec and build a SOCFPGA kernel;
2. Use zImage as 1st and 2nd kernel;
3. kexec -l /root/zImage --append="`cat /proc/cmdline`" 
4. kexec -e

Test env:

U-Boot 2014.10 (Jan 13 2016 - 11:07:09)

CPU   : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit

-- 
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web