From: "Jan Beulich" Subject: Re: [PATCH] x86, mce: Consolidate AMD mcheck initialization Date: Thu, 22 May 2014 15:36:16 +0100 Message-ID: <537E27800200007800015063@mail.emea.novell.com> References: <1400706364-3371-1-git-send-email-aravind.gopalakrishnan@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1400706364-3371-1-git-send-email-aravind.gopalakrishnan@amd.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Aravind Gopalakrishnan Cc: jinsong.liu@alibaba-inc.com, chegger@amazon.de, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 21.05.14 at 23:06, wrote: > amd_k8.c did a lot of common work and very little K8 > specific work. So merge init functions of amd_f10.c and > amd_k8.c and move it into the common amd_mcheck_init > handler. With that done, there is not much left in either > files, so fold all code into just one file - mce_amd.c > > While at it, update the comments regarding documentation > with correct URL's and revision numbers. > > Also, update copyright info. > > Signed-off-by: Aravind Gopalakrishnan > --- > xen/arch/x86/cpu/mcheck/Makefile | 2 - > xen/arch/x86/cpu/mcheck/amd_f10.c | 118 --------------------------- > xen/arch/x86/cpu/mcheck/amd_k8.c | 117 --------------------------- > xen/arch/x86/cpu/mcheck/mce_amd.c | 162 +++++++++++++++++++++++++++++++++---- Content-wise this looks fine, but most of the additions to mce_amd.c need cleaning up coding-style-wise. Jan