From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Joe Jin <joe.jin@oracle.com>,
jbeulich@suse.com, andrew.cooper3@citrix.com
Cc: xen-devel@lists.xenproject.org,
Zhenzhong Duan <zhenzhong.duan@oracle.com>,
Srinivas REDDY Eeda <srinivas.eeda@oracle.com>
Subject: Re: [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI
Date: Mon, 9 Oct 2017 13:44:28 -0400 [thread overview]
Message-ID: <20171009174428.GD23730@char.us.oracle.com> (raw)
In-Reply-To: <8183d5c5-d402-4801-9597-5140d074f52d@oracle.com>
On Mon, Oct 09, 2017 at 02:15:48PM +0800, Joe Jin wrote:
> Looks good for me.
>
> Reviewed-by: Joe Jin <joe.jin@oracle.com>
Ah, indeed.
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Also
CC-ing Jan and Andrew.
P.S.
Could you change the title to have 'x86/physdev:' as part of the
name please?
>
> On 10/09/2017 02:00 PM, Zhenzhong Duan wrote:
> > Same code is already in allocate_and_map_msi_pirq()
> >
> > Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
> > ---
> > xen/arch/x86/physdev.c | 2 --
> > 1 files changed, 0 insertions(+), 2 deletions(-)
> >
> > diff --git a/xen/arch/x86/physdev.c b/xen/arch/x86/physdev.c
> > index 0eb4097..aa02d18 100644
> > --- a/xen/arch/x86/physdev.c
> > +++ b/xen/arch/x86/physdev.c
> > @@ -122,8 +122,6 @@ int physdev_map_pirq(domid_t domid, int type, int *index, int *pirq_p,
> > break;
> >
> > case MAP_PIRQ_TYPE_MSI:
> > - if ( !msi->table_base )
> > - msi->entry_nr = 1;
> > /* fallthrough */
> > case MAP_PIRQ_TYPE_MULTI_MSI:
> > ret = allocate_and_map_msi_pirq(d, *index, pirq_p, type, msi);
> >
>
>
> --
> Oracle <http://www.oracle.com>
> Joe Jin | Software Development Director | +8610.6106.5624
> ORACLE | Linux and Virtualization
> No. 24 Zhongguancun Software Park, Haidian District | 100193 Beijing
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-10-09 17:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-09 6:00 [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI Zhenzhong Duan
2017-10-09 6:15 ` Joe Jin
2017-10-09 17:44 ` Konrad Rzeszutek Wilk [this message]
2017-10-09 8:29 ` Jan Beulich
2017-10-09 14:27 ` Roger Pau Monné
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171009174428.GD23730@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=joe.jin@oracle.com \
--cc=srinivas.eeda@oracle.com \
--cc=xen-devel@lists.xenproject.org \
--cc=zhenzhong.duan@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.