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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEB4FC678D4 for ; Tue, 7 Mar 2023 13:46:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230071AbjCGNqH (ORCPT ); Tue, 7 Mar 2023 08:46:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjCGNpv (ORCPT ); Tue, 7 Mar 2023 08:45:51 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF602144B8 for ; Tue, 7 Mar 2023 05:45:28 -0800 (PST) Received: from kwepemm600007.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4PWGpt1NwwzKqGD; Tue, 7 Mar 2023 21:42:46 +0800 (CST) Received: from [10.174.185.179] (10.174.185.179) by kwepemm600007.china.huawei.com (7.193.23.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 7 Mar 2023 21:44:50 +0800 Subject: Re: [kvm-unit-tests PATCH v3 0/3] arm: Use gic_enable/disable_irq() macro to clean up code To: Shaoqin Huang CC: , Andrew Jones , Eric Auger , "open list:ARM" References: <20230303031148.162816-1-shahuang@redhat.com> From: Zenghui Yu Message-ID: Date: Tue, 7 Mar 2023 21:44:49 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20230303031148.162816-1-shahuang@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.185.179] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600007.china.huawei.com (7.193.23.208) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 2023/3/3 11:11, Shaoqin Huang wrote: > Some tests still use their own code to enable/disable irq, use > gic_enable/disable_irq() to clean up them. > > The first patch fixes a problem which will disable all irq when use > gic_disable_irq(). > > The patch 2-3 clean up the code by using the macro. Series, Reviewed-by: Zenghui Yu and seems that gic_irq_unmask() in arm/pl031.c can also be replaced by gic_enable_irq(pl031_irq).