From: Ian Jackson Subject: Re: [PATCH] tools/libxc: Don't leave scratch_pfn uninitialised if the domain has no memory [and 3 more messages] Date: Tue, 3 Mar 2015 17:41:18 +0000 Message-ID: <21749.62014.440514.339549@mariner.uk.xensource.com> References: <1421846744-31795-1-git-send-email-julien.grall@linaro.org> <54BFD703.6090908@citrix.com> <1422379100.16180.19.camel@citrix.com> <21703.55159.394492.92097@mariner.uk.xensource.com> <21730.862.452528.737230@mariner.uk.xensource.com> <54E2055F.4080007@citrix.com> <1422460355-16163-1-git-send-email-andrew.cooper3@citrix.com> <1422890797.5695.6.camel@citrix.com> <54CA7D88.5050702@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1422460355-16163-1-git-send-email-andrew.cooper3@citrix.com>, <54CA7D88.5050702@linaro.org>, <1422890797.5695.6.camel@citrix.com>, <54E2055F.4080007@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Julien Grall , Andrew Cooper Cc: Wei Liu , Stefano Stabellini , tim@xen.org, Xen-devel , stefano.stabellini@citrix.com, Jan Beulich , xen-devel@lists.xenproject.org, Roger Pau =?utf-8?Q?Monn=C3=A9?= List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("[PATCH] tools/libxc: Don't leave scratch_pfn uninitialised if the domain has no memory"): > c/s 5b5c40c0d1 "libxc: introduce a per architecture scratch pfn for temporary > grant mapping" accidentally an issue whereby there were two paths out of > xc_core_arch_get_scratch_gpfn() which returned 0, but only one of which > assigned a value to the gpfn parameter. Andrew Cooper writes ("Re: [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping"): > On 16/02/15 14:49, Ian Jackson wrote: > > Ian Jackson writes ("Re: [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping"): > >> Ian Campbell writes ("Re: [PATCH v2] libxc: introduce a per architecture scratch pfn for temporary grant mapping"): > >>> Ian, Julien has suggested this for backport to 4.5 but not 4.4. > >> Queued, thanks. > > Backported to 4.5. > > > > Ian. > > You need to also backport 5b0447f647b1031595d24a8a50b362726c887d12 which > is a bugfix to this changeset. This is a reference to "tools/libxc: Don't leave scratch_pfn uninitialised if the domain has no memory", as above. I have backported that too. thanks, Ian.