From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Tue, 14 May 2019 15:54:56 +0200 From: Peter Zijlstra Subject: Re: [PATCH v6 1/2] x86/kexec: Build identity mapping for EFI systab and ACPI tables Message-ID: <20190514135456.GS2589@hirez.programming.kicks-ass.net> References: <20190429135536.GC2324@zn.tnic> <20190513014248.GA16774@MiWiFi-R3L-srv> <20190513070725.GA20105@zn.tnic> <20190513073254.GB16774@MiWiFi-R3L-srv> <20190513075006.GB20105@zn.tnic> <20190513080653.GD16774@MiWiFi-R3L-srv> <20190514032208.GA25875@dhcp-128-65.nay.redhat.com> <20190514084841.GA27876@dhcp-128-65.nay.redhat.com> <20190514113826.GM2589@hirez.programming.kicks-ass.net> <20190514125835.GA29045@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190514125835.GA29045@dhcp-128-65.nay.redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Dave Young Cc: fanc.fnst@cn.fujitsu.com, kasong@redhat.com, Baoquan He , x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Borislav Petkov , hpa@zytor.com, j-nomura@ce.jp.nec.com, tglx@linutronix.de On Tue, May 14, 2019 at 08:58:35PM +0800, Dave Young wrote: > Hmm, it seems caused by some WIP branch patches, I suspect below: Grmbl.. Ingo, can you zap all those WIP branches, please? They mostly just get in the way of things. If you want to run them, merge them in a private branch or something. > commit 124d6af5a5f559e516ed2c6ea857e889ed293b43 > x86/paravirt: Standardize 'insn_buff' variable names > > The suspicious line is "per_cpu(insn_buff, cpu) = insn_buff;" Yah, unfortunatly per-cpu variables live in the same namespace as normal variables and so the above is incorrect, because the local @insn_buffer variable shadows the global per-cpu symbol and very weird things will happen. This is of course consistent with C rules, where everything lives in the same namespace... _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec