From: Ian Jackson Subject: Re: [v10][PATCH 16/16] tools: parse to enable new rdm policy parameters Date: Mon, 20 Jul 2015 14:43:34 +0100 Message-ID: <21932.64262.729686.732681@mariner.uk.xensource.com> References: <1437373023-14884-1-git-send-email-tiejun.chen@intel.com> <1437373023-14884-17-git-send-email-tiejun.chen@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1437373023-14884-17-git-send-email-tiejun.chen@intel.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: Tiejun Chen Cc: Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Tiejun Chen writes ("[v10][PATCH 16/16] tools: parse to enable new rdm policy parameters"): > This patch parses to enable user configurable parameters to specify > RDM resource and according policies which are defined previously, > > Global RDM parameter: > rdm = "strategy=host,policy=strict/relaxed" > Per-device RDM parameter: > pci = [ 'sbdf, rdm_policy=strict/relaxed' ] > > Default per-device RDM policy is same as default global RDM policy as being > 'relaxed'. And the per-device policy would override the global policy like > others. > > CC: Ian Jackson > CC: Stefano Stabellini > CC: Ian Campbell > CC: Wei Liu > Acked-by: Wei Liu For clarity: I am not acking this patch, primarily because I am not happy with the code in xlu_rdm_parse which is (a) the result of repeated clone-and-hack and (b) consists of ad-hoc string pointer fiddling. If I had been able to review this patch earlier in the release cycle I would be explictly nacking this patch. It is true that maybe someone will have some time to clean this up later; but in practice it often turns out that they don't - which is why we usually try not to accept patches on the basis of promises to do further cleanup. However, I am late to this party. I first made this complaint in response to v7 on the 9th of July. Under the circumstances I am going to stand aside and neither ack nor nack this patch. The rules then say that the patch may be committed given that it has Wei's ack as a tools maintainer. Ian.