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


Groups > linux.kernel > #1638564

[PATCH] socfpga_a10: fix a kexec boot issue

From <yanjiang.jin@windriver.com>
Newsgroups linux.kernel
Subject [PATCH] socfpga_a10: fix a kexec boot issue
Date 2017-05-10 07:20 +0200
Message-ID <tFscx-4VM-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Yanjiang Jin <yanjiang.jin@windriver.com>

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] socfpga_a10: fix a kexec boot issue <yanjiang.jin@windriver.com> - 2017-05-10 07:20 +0200
  [PATCH] socfpga_a10: reset CPU1 in socfpga_cpu_kill() <yanjiang.jin@windriver.com> - 2017-05-10 07:20 +0200

csiph-web