Received: by 10.223.185.116 with SMTP id b49csp775300wrg; Fri, 23 Feb 2018 06:39:44 -0800 (PST) X-Google-Smtp-Source: AH8x226aFg3cr4RQ4l2hIIMgSVQblqkjgpZ/WABE7TwECA6sEaw1l5sQVZsuSqVqHN/uCzzite1W X-Received: by 2002:a17:902:684:: with SMTP id 4-v6mr1900023plh.262.1519396784739; Fri, 23 Feb 2018 06:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519396784; cv=none; d=google.com; s=arc-20160816; b=gEt+oPqu4nsvex3+zN4dsfNBZ9na5kGzJIYzWYgxgs/e41DB5hkMeZ/GEAgD5NZrJ9 1Fbmspr9kXOH54fZWp8vxyi6otm3LXPdL6aEhYmTqMxHNIHkG0LHPMZ4zqUJPGtH/cb6 NfGvlV5m6TZgyoyZt9avqy/Ih7lAdKPnnfkVfcVfiDvdcCeOTMgYsBZ4Hrgc7nd0lr9/ MTVSjHacltHdp4fGbwKNhiIQxSNd2ej91zm6wBkAES5o2OqM98B7iiYXTRQqrOlZ1bFJ xRpLAk/MZhXM3hG3aCO7JiEX8BEzQszlSGdL/aLZvgIVP9o5v5Td0Cvnpj59ptY/a8Hp I7Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7GvdJ1yqGrUeQXNOUa8EmcF/dAggRUzhsUDsrnYkkMo=; b=axXYdqitxpIX/Ff6NzUyvVsWAxa9r+aM04aHd1Znh/4mSFGrf6GzEXyhYHYAtONJaW 3snImJ4we+BtreZp1PJK1tFe4dZXI08HnLqwFZZXA3OsbVO2T3lwuN86z2Ipkzh9L5e8 NsL5FowcBowfyc+JAGmFJ+CC49FmEP113SXHZnxUSBq3RG9CogoypMwUzqYfAqTs+sy6 4+FlDkTyabNaAQHIs6W81R1RlTpOiP2qibiwAedMJnABrJUWAYeqWRqft+se6sR08L+J abb9Y/ieY7m+s5huccJdiGgzXYPE+TFNt8yjbF9cehC0Pl2nC8eC0dcGsCjDzxgXohxW NoPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BC0yHloV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i3-v6si1881351pld.404.2018.02.23.06.39.29; Fri, 23 Feb 2018 06:39:44 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BC0yHloV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbeBWOis (ORCPT + 99 others); Fri, 23 Feb 2018 09:38:48 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:57316 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbeBWOio (ORCPT ); Fri, 23 Feb 2018 09:38:44 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1NEaii5116595; Fri, 23 Feb 2018 14:38:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=7GvdJ1yqGrUeQXNOUa8EmcF/dAggRUzhsUDsrnYkkMo=; b=BC0yHloV98355d+kZYXqA4bnVPXlW9nRJALyEV91/KUFz1BS4t97U0vh9B7mlfOD3ft8 VMW8q2E6p0QguGeYdCgGsGkUGqG2JSs4jkQ6RwI4tPLW9bx8vm41eynqEiIMeJCtOzCl K3zAwKfNItpV7KmiDWndrubYIMJOHqwAuo+sLBCtRso2R+zeXL4NMRNwRRWeRmm+K+On h7zhwv330XcwAzzwIxMqZUDHNOVsH+5ekPf9o89kS+hRziVEJ5LluTgDuIqGkbcYzJBy FjnHKK8Xb23iFIet3e8UKz28NlkGVREUOVE/llqEUr4xrlnXEnWwplXb4wuu/tezfhrO +g== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2gampv82f0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 23 Feb 2018 14:38:34 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w1NEcWhf012153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 23 Feb 2018 14:38:33 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1NEcWca012802; Fri, 23 Feb 2018 14:38:32 GMT Received: from dhcp-burlington7-2nd-B-east-10-152-55-162.usdhcp.oraclecorp.com (/10.152.32.65) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 23 Feb 2018 06:38:32 -0800 Subject: Re: [PATCH 1/9] drm/xen-front: Introduce Xen para-virtualized frontend driver To: Oleksandr Andrushchenko , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, airlied@linux.ie, daniel.vetter@intel.com, seanpaul@chromium.org, gustavo@padovan.org, jgross@suse.com, konrad.wilk@oracle.com Cc: Oleksandr Andrushchenko References: <1519200222-20623-1-git-send-email-andr2000@gmail.com> <1519200222-20623-2-git-send-email-andr2000@gmail.com> <1c569896-e60c-bed3-fda8-c72b8d0a349d@gmail.com> From: Boris Ostrovsky Message-ID: <3740a458-35d7-b51d-5cd0-be3bebd87574@oracle.com> Date: Fri, 23 Feb 2018 09:39:11 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1c569896-e60c-bed3-fda8-c72b8d0a349d@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8812 signatures=668677 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=711 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802230183 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/23/2018 01:37 AM, Oleksandr Andrushchenko wrote: > On 02/23/2018 12:23 AM, Boris Ostrovsky wrote: >> On 02/21/2018 03:03 AM, Oleksandr Andrushchenko wrote: >>> +static struct xenbus_driver xen_driver = { >>> + .ids = xen_drv_ids, >>> + .probe = xen_drv_probe, >>> + .remove = xen_drv_remove, >>> + .otherend_changed = backend_on_changed, >> What does "_on_" stand for? > Well, it is somewhat like a hint that this is called "on" event, > e.g. event when the other end state has changed, backend in this > case. It could be something like "backend_on_state_changed" If you look at other xenbus_drivers none of the uses this so I think we should stick to conventional naming. (and the same applies to other backend_on_* routines). -boris