From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 083BEC54EEB for ; Tue, 24 Mar 2020 02:43:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9E9220637 for ; Tue, 24 Mar 2020 02:43:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bTOzMhXI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9E9220637 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8ywgLbPn5oCh2guQZkB8cB4+5HzU3yIgyvmpfdONVe4=; b=bTOzMhXI+BfemUCGTGUjSSYxP JL5Fa+vjpVAqksSpCflPxBtV0yKtI0cE3xk6VKqAEzGe1ifCNvWcokgLaLM9oXeMB2WBDZsdT+FFU OBTP5SDu1wg8Pln5Sxv6g11vbx/E3NuOuTsvs3E5sbam54kkwUXMw/3VHKvg5pwqJm4pufP72lai3 2u6HaExAGQAIdssVJ4gXVaIcUxrXRq3JBPnQxIoozXwZeBVdHL4GUO6fq2wETq0Cnng3+uckfEOXX giLb4ucLg+mf3b3ms4SfFfzFbvIl8jkhfs0g1++5cih2Iy4xeksY0YzYwR4j4HrlXTupdBGv8ixy4 vbbVsMjHw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGZXP-0004ui-35; Tue, 24 Mar 2020 02:43:31 +0000 Received: from szxga07-in.huawei.com ([45.249.212.35] helo=huawei.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jGZXL-0004u3-2P for linux-arm-kernel@lists.infradead.org; Tue, 24 Mar 2020 02:43:28 +0000 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 89E47BFAA9A5134BBF4F; Tue, 24 Mar 2020 10:43:20 +0800 (CST) Received: from [127.0.0.1] (10.173.222.27) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Tue, 24 Mar 2020 10:43:10 +0800 Subject: Re: [PATCH v6 14/23] irqchip/gic-v4.1: Add VSGI allocation/teardown To: Marc Zyngier , , , , References: <20200320182406.23465-1-maz@kernel.org> <20200320182406.23465-15-maz@kernel.org> From: Zenghui Yu Message-ID: Date: Tue, 24 Mar 2020 10:43:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.0 MIME-Version: 1.0 In-Reply-To: <20200320182406.23465-15-maz@kernel.org> Content-Language: en-US X-Originating-IP: [10.173.222.27] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200323_194327_281250_3D3595CD X-CRM114-Status: GOOD ( 13.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , Jason Cooper , Suzuki K Poulose , Eric Auger , James Morse , Thomas Gleixner , Julien Thierry Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Marc, On 2020/3/21 2:23, Marc Zyngier wrote: > Allocate per-VPE SGIs when initializing the GIC-specific part of the > VPE data structure. > > Signed-off-by: Marc Zyngier > Reviewed-by: Zenghui Yu > Link: https://lore.kernel.org/r/20200304203330.4967-15-maz@kernel.org > --- > drivers/irqchip/irq-gic-v3-its.c | 2 +- > drivers/irqchip/irq-gic-v4.c | 68 +++++++++++++++++++++++++++++- > include/linux/irqchip/arm-gic-v4.h | 4 +- > 3 files changed, 71 insertions(+), 3 deletions(-) > > diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c > index 15250faa9ef7..7ad46ff5f0b9 100644 > --- a/drivers/irqchip/irq-gic-v3-its.c > +++ b/drivers/irqchip/irq-gic-v3-its.c > @@ -4053,7 +4053,7 @@ static int its_sgi_set_vcpu_affinity(struct irq_data *d, void *vcpu_info) > struct its_cmd_info *info = vcpu_info; > > switch (info->cmd_type) { > - case PROP_UPDATE_SGI: > + case PROP_UPDATE_VSGI: > vpe->sgi_config[d->hwirq].priority = info->priority; > vpe->sgi_config[d->hwirq].group = info->group; > its_configure_sgi(d, false); [...] > @@ -103,7 +105,7 @@ enum its_vcpu_info_cmd_type { > SCHEDULE_VPE, > DESCHEDULE_VPE, > INVALL_VPE, > - PROP_UPDATE_SGI, > + PROP_UPDATE_VSGI, > }; > > struct its_cmd_info { As Eric pointed out, this belongs to patch #12. Thanks, Zenghui _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel