From: "Jan Beulich" Subject: Re: [PATCH RFC] VT-d: honor firmware-first mode in XSA-59 workaround code Date: Fri, 23 May 2014 07:13:22 +0100 Message-ID: <537F032202000078000152B4@mail.emea.novell.com> References: <537CEBD20200007800014A29@mail.emea.novell.com> <537CD574.3030701@citrix.com> <537DBFB00200007800014C79@mail.emea.novell.com> <537DC4AC.4030505@citrix.com> <537DE83A0200007800014E06@mail.emea.novell.com> <537DCF3B.4000503@citrix.com> <537DEE7D0200007800014E76@mail.emea.novell.com> <537E076D.60700@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WnijL-0001tN-QU for xen-devel@lists.xenproject.org; Fri, 23 May 2014 06:13:24 +0000 In-Reply-To: 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: Andrew Cooper , Yang Z Zhang Cc: xen-devel , Malcolm Crossley , Kevin Tian , Donald D Dugger List-Id: xen-devel@lists.xenproject.org >>> On 23.05.14 at 03:03, wrote: > Andrew Cooper wrote on 2014-05-22: >> On 22/05/14 11:33, Jan Beulich wrote: >>>>>> On 22.05.14 at 12:19, wrote: >>>> No. We have not observed an issue from XSA-59. >>>> >>>> The version of XenServer we had the issue with didn't contain any >>>> of the >>>> XSA-59 fixes at the point that the problem was observed. >>> Then what was yesterday's alert about then? I.e. do we have any >>> indication that the workaround as is may cause problems, and that >>> hence the (relatively involved) patch here is needed at all? And, >>> how are you intending to test this patch if you haven't even seen an >>> issue? >> >> As part of finding the root cause of our issue, we identified that >> just as Dom0 must not play with AER in firmware first mode, Xen must not > play either. > > I saw upstream Linux has the patch to handle this case in 2009. Yes, yet all patches so far went through without anyone (me included) pointing this out during review. >> I believe that we have XSA-59 affected hardware with both >> firmware-first and non-firmware-first HEST tables, so we should be > > why non-firmware-first hardware also affected? It seems only firmware-first > hardware is buggy. "Buggy" is perhaps the wrong term here; "problematic" would seem a better fit. And I think you misread Andrew's reply - we certainly need to test the patch on both HEST-with-FF and HEST-without-FF systems, even if only the former would suffer from the presumed regression. Jan