Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755263AbcDFM3v (ORCPT ); Wed, 6 Apr 2016 08:29:51 -0400 Received: from foss.arm.com ([217.140.101.70]:56792 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755166AbcDFM3t (ORCPT ); Wed, 6 Apr 2016 08:29:49 -0400 Subject: Re: [PATCH v10 09/17] xen/hvm/params: Add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ To: Shannon Zhao , linux-arm-kernel@lists.infradead.org, stefano.stabellini@citrix.com References: <1459525755-36968-1-git-send-email-shannon.zhao@linaro.org> <1459525755-36968-10-git-send-email-shannon.zhao@linaro.org> Cc: david.vrabel@citrix.com, devicetree@vger.kernel.org, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, peter.huangpeng@huawei.com, xen-devel@lists.xen.org, zhaoshenglong@huawei.com From: Julien Grall Message-ID: <5705012E.30901@arm.com> Date: Wed, 6 Apr 2016 13:29:34 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1459525755-36968-10-git-send-email-shannon.zhao@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 559 Lines: 19 Hi Shannon, On 01/04/2016 16:49, Shannon Zhao wrote: > This new delivery type which is for ARM shares the same value with > HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86. > > val[15:8] is flag: val[7:0] is a PPI. > To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and > bit 9 stands the interrupt polarity is active low(1) or high(0). > > Signed-off-by: Shannon Zhao > Acked-by: Stefano Stabellini Reviewed-by: Julien Grall Regards, -- Julien Grall