Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp578122ybl; Fri, 13 Dec 2019 01:01:00 -0800 (PST) X-Google-Smtp-Source: APXvYqz4RN8Pxhe/npiT67f8XVb5rP7qLjmPgkmXBDqskKJJr5KnfPCQwDSTfqIcsiJK0iCqfwgx X-Received: by 2002:a9d:32e:: with SMTP id 43mr13441552otv.301.1576227660850; Fri, 13 Dec 2019 01:01:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576227660; cv=none; d=google.com; s=arc-20160816; b=y1F18ZuisHKxXl8HuvPptlmrpDVB35qpEf/6XQaoezF5duGxnAc47qPknPvRwEHFkl FVUXWcVCb9QbjvOhJekM9z71wpygpcIc3MMvAnI7Sr19bZwLOJGM3ns+MjLX3JCb2FGd dRNW1VPXQIXvwm0MUuoDY0wDv0RHh457YECIdSzc7xWp3C+Y4Z9//Q3BbfrCpI2tdYO6 voqXJLzxYM0IMW5v6WPpsc8znhIFnusLuVXAX5SGC1Z9VsJJ8PJVRPr68wVZNwgTJUrZ HcEt/5c5HEeSM+CgDJYF1SzeWkR9p/Qh4L+9BRmtSw7+9PWEPErHAylRkGudHRCz/s/o Wrzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=imP4KYjto7llnA8ZLbEDLEuIHRFZF/N5aFKoEvdEZX4=; b=JMTAAAAW+aZ2URh0ovmnyVpdGNAa5Rfzlhfxinfqxm7m4qoYgc0mFJ/6O8RB9Am8yB k3BZU4XFKfXfN5aEx0ckChhu6X7n3hNSpaewoIjERtiIwL+MtZrwJH1bV+XlNREGwcg4 nB/yWCmBjJaLjCR3NxTEQbuS1aqgOFNEwhDSY6i1xqE8zaQNKokufpaU/i02wj5PQGVo WZl/bSkREZdX7oDCmTBoxW+qDd6I4wQwBV0ruaUhlObK7v4/v7h0lo71QfQy6pr+gbee sLOYvCP62ZkyaY6Wls2hNSMn5OgAcRnneWbcyMaFCrTUJ/FjMiUIMMBrN8LSVVF7uF/e DVfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p67si4847838oig.256.2019.12.13.01.00.49; Fri, 13 Dec 2019 01:01:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726090AbfLMI7u (ORCPT + 99 others); Fri, 13 Dec 2019 03:59:50 -0500 Received: from mx2.suse.de ([195.135.220.15]:47760 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725770AbfLMI7u (ORCPT ); Fri, 13 Dec 2019 03:59:50 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 7D9FCAE3F; Fri, 13 Dec 2019 08:59:48 +0000 (UTC) Subject: Re: [PATCH v3 3/4] xen/interface: re-define FRONT/BACK_RING_ATTACH() From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= To: Paul Durrant , xen-devel@lists.xenproject.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Boris Ostrovsky , Stefano Stabellini References: <20191211152956.5168-1-pdurrant@amazon.com> <20191211152956.5168-4-pdurrant@amazon.com> Message-ID: <1c12f2d7-ce67-41fc-f022-e39ea0c4e1df@suse.com> Date: Fri, 13 Dec 2019 09:59:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12.12.19 07:04, Jürgen Groß wrote: > On 11.12.19 16:29, Paul Durrant wrote: >> Currently these macros are defined to re-initialize a front/back ring >> (respectively) to values read from the shared ring in such a way that any >> requests/responses that are added to the shared ring whilst the >> front/back >> is detached will be skipped over. This, in general, is not a desirable >> semantic since most frontend implementations will eventually block >> waiting >> for a response which would either never appear or never be processed. >> >> Since the macros are currently unused, take this opportunity to re-define >> them to re-initialize a front/back ring using specified values. This also >> allows FRONT/BACK_RING_INIT() to be re-defined in terms of >> FRONT/BACK_RING_ATTACH() using a specified value of 0. >> >> NOTE: BACK_RING_ATTACH() will be used directly in a subsequent patch. >> >> Signed-off-by: Paul Durrant > > Reviewed-by: Juergen Gross Paul, I think you should send a patch changing ring.h in the Xen tree. As soon as it has been accepted I'll take your series for the kernel. Juergen