From: Keir Fraser Subject: Re: Unaligned writes on the kexec path Date: Mon, 28 Nov 2011 20:42:16 +0000 Message-ID: References: <4ED399A7.1070108@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4ED399A7.1070108@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andrew Cooper , "xen-devel@lists.xensource.com" Cc: horms@verge.net.au List-Id: xen-devel@lists.xenproject.org On 28/11/2011 14:24, "Andrew Cooper" wrote: > Hello, > > In c/s 7493bb48d89f, you change the internals of kexec_crash_save_info() The patch is by Simon Horman, cc'ed, not me. > to reduce unaligned writes, but pass the resulting pointer back to > machine_crash_shutdown() which performs writes on the possibly unaligned > data structure. There are also plenty of other writes on the kexec path > which are possibly or certainly unaligned. > > What is the reason for wanting to reduce unaligned writes? The patch is solving an IA64 issue. Machine_crash_shutdown is arch specific. > Would a better solution be to just ensure that the crash note itself is > properly aligned? Could be. -- Keir