From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753638AbdJTSGt (ORCPT ); Fri, 20 Oct 2017 14:06:49 -0400 Received: from mga06.intel.com ([134.134.136.31]:46247 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753195AbdJTSGr (ORCPT ); Fri, 20 Oct 2017 14:06:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,408,1503385200"; d="scan'208";a="1233267712" Date: Fri, 20 Oct 2017 11:05:54 -0700 From: Ricardo Neri To: Borislav Petkov Cc: Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Andrew Morton , Brian Gerst , Chris Metcalf , Dave Hansen , Paolo Bonzini , Masami Hiramatsu , Huang Rui , Jiri Slaby , Jonathan Corbet , "Michael S. Tsirkin" , Paul Gortmaker , Vlastimil Babka , Chen Yucong , "Ravi V. Shankar" , Shuah Khan , linux-kernel@vger.kernel.org, x86@kernel.org, Adam Buchbinder , Colin Ian King , Lorenzo Stoakes , Qiaowei Ren , Arnaldo Carvalho de Melo , Adrian Hunter , Kees Cook , Thomas Garnier , Dmitry Vyukov Subject: Re: [PATCH v9 13/29] x86/insn-eval: Add utility functions to get segment selector Message-ID: <20171020180554.GB12298@voyager> References: <1507770750.17492.34.camel@linux.intel.com> <20171012094833.xjk6jg5us3ffkih4@pd.tnic> <1507856897.17492.53.camel@linux.intel.com> <20171013113738.757ucfevds53eg6g@pd.tnic> <1507920223.17492.85.camel@linux.intel.com> <20171017093544.tjisbsbrag42egac@pd.tnic> <1508272312.17492.122.camel@linux.intel.com> <20171018202943.wbexbplzfxu3v5qf@pd.tnic> <20171019063054.GB20944@voyager> <20171020075540.zkhtqektg6xuxcqr@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171020075540.zkhtqektg6xuxcqr@pd.tnic> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 20, 2017 at 09:55:40AM +0200, Borislav Petkov wrote: > On Wed, Oct 18, 2017 at 11:30:54PM -0700, Ricardo Neri wrote: > > I saw that Documentation/process/email-clients.rst that emailed patches > > should be in ASCII or UTF-8 encodings only, but my patch in UTF-8 > > causes problems. Then is UTF-8 not desirable? > > Well, I don't think so even though I couldn't find anything that says so > explicitly. > > But I *think* source files' encoding should be ASCII, as otherwise even > the tool patch barfs: > > patch: **** malformed patch at line 124: I will stay away from UTF-8. > > > Thanks for the detailed explanation and the pointers to fix the problem. > > I am sorry for the inconvenience. Here is the patch again. I made sure > > that it applies cleanly with git am and patch: > > Yes, it looks good now: > > Reviewed-by: Borislav Petkov Thank you! > > ( ... or I've been staring definitely too long at this code and don't care > anymore :-))) Your guidance definitely helped to make it more readable. BR, Ricardo