Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1996982rwd; Thu, 25 May 2023 23:28:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ZJOglXUA5RKH9HKqBa/WnmlvFn5wy46lL8czpkOi+FrQXaRjzI3+qY4tMRaHPZL8WmhFn X-Received: by 2002:a05:6a20:548a:b0:105:c456:ab99 with SMTP id i10-20020a056a20548a00b00105c456ab99mr1429403pzk.9.1685082506841; Thu, 25 May 2023 23:28:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685082506; cv=none; d=google.com; s=arc-20160816; b=BYrHYU5fRD6DJyw5s99mhJPN2mijV97tedBb/CYt185S0QYH1hg7lcq5sc4iDrEQwf Ocg7VUf2JVTr4gyBMb6fgnDcE03jzD53YQCF0Wb8E0FJfM5JCZQBq6L7Ij6xYH2IrVk3 QuEpSCw/GoOE5VQrHh1Q2lwgq4wYf+QsflOgFUxdwBXN5GMf/vMYDhMIX1RikR8UGv+s 4fa6sCh0ibv2mJREjo3l5MxsyFEkaQ8InHxg+yFCG+KRfosxFLd2gjwn8etq8hZUJli+ 7+VcieB1eBkC1XoTYltlCZQDhYS3Wj3ZdoaG+2XUx4NnabzssmmSr598A46Ttt/rX3f2 TmpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :user-agent:mime-version:date:message-id; bh=39rbDsrthlEd9IQJtcGQq5eqdxSt9bvHcXqhx+zowUc=; b=u45RuelIhUtVY4V5OBOaEsV9daSQXNtzYu143ghBK0nY2dtwTYlwDycXDU/xBXMoH+ eTrgaZKiPsxjFLJ+GlNnM41LknXDujU9/PKQMgMjibI/auRhlXLi5XrEbXv1j3C0y1Hx qcvMbOaB+zZGu+153W3e1I0Jyjf8y00oc7uT9JM0RQux+HaC5yHJ7exSks/z0lNSoVZ/ 4dvZRI8hCUgViSVlXA0KvNpwF+LKJDIGQFyamk0XdSNGPdlrCRhLl7MN9lsFViA1eHhU AKIfBPgG9ZjVqPsmOMYmMIlHwzbRk5kfV5HkIjS8AukYmZ0jwCPo4bp1VgaUNlSQBuXQ jwWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a636d04000000b0050f9b910fa1si3034292pgc.368.2023.05.25.23.28.12; Thu, 25 May 2023 23:28:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242017AbjEZGEu (ORCPT + 99 others); Fri, 26 May 2023 02:04:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242087AbjEZGEt (ORCPT ); Fri, 26 May 2023 02:04:49 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9760F99 for ; Thu, 25 May 2023 23:04:47 -0700 (PDT) Received: from dggpemm500003.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4QSDpn74ZDzYspp; Fri, 26 May 2023 14:02:25 +0800 (CST) Received: from [10.67.145.254] (10.67.145.254) by dggpemm500003.china.huawei.com (7.185.36.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 26 May 2023 14:04:35 +0800 Message-ID: Date: Fri, 26 May 2023 14:04:34 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.2 To: Marc Zyngier CC: From: wangwudi Subject: [Question about gic vmovp cmd] Consider adding VINVALL after VMOVP Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.145.254] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpemm500003.china.huawei.com (7.185.36.56) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, During vpe migration, VMOVP needs to be executed. If the vpe is migrated for the first time, especially before it is scheduled for the first time, there may be some unusual hanppens over kexec. We might consider adding a VINVALL cmd after VMOVP to increase robustness. @@ -1327,6 +1327,7 @@ static void its_send_vmovp(struct its_vpe *vpe) desc.its_vmovp_cmd.col = &its->collections[col_id]; its_send_single_vcommand(its, its_build_vmovp_cmd, &desc); + its_send_vinvall(its, vpe); } Do you think it's all right? Thanks, Wudi