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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29326C433F5 for ; Thu, 21 Oct 2021 15:14:34 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 E5E2E60F46 for ; Thu, 21 Oct 2021 15:14:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E5E2E60F46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.214509.373071 (Exim 4.92) (envelope-from ) id 1mdZlr-0001nU-MX; Thu, 21 Oct 2021 15:14:19 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 214509.373071; Thu, 21 Oct 2021 15:14:19 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdZlr-0001nN-J8; Thu, 21 Oct 2021 15:14:19 +0000 Received: by outflank-mailman (input) for mailman id 214509; Thu, 21 Oct 2021 15:14:18 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdZlq-0001nH-KX for xen-devel@lists.xenproject.org; Thu, 21 Oct 2021 15:14:18 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdZlq-0003Cm-8P; Thu, 21 Oct 2021 15:14:18 +0000 Received: from [54.239.6.190] (helo=[192.168.27.91]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mdZlq-0003Kb-2B; Thu, 21 Oct 2021 15:14:18 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=izwEQwZPWo8duvHKCcWKdhhPBmkNKAIUuaDS8yf+JUI=; b=ex2Cmvd6onCiivbfJHNS65JiTJ sPyY58lsYAxLXGPRm4/VwVkGijH2I70d/byrfZ5m5Wcc/mVx/0+qdTGNZy1x0vCMol2dC75g1tkR5 WCi7nW9n1SawWzHZQt3nOuCDiU1/BKEMAFs1eFIgi5SJBE7rWNT+5iSqDqHV+ry3GDoM=; Message-ID: Date: Thu, 21 Oct 2021 16:14:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: [for-4.16] Re: [PATCH v4] xen/arm: vgic: Ignore write access to ICPENDR* To: Hongda Deng , xen-devel@lists.xenproject.org, sstabellini@kernel.org Cc: Bertrand.Marquis@arm.com, Wei.Chen@arm.com, Ian Jackson References: <20211021120319.2394-1-Hongda.Deng@arm.com> From: Julien Grall In-Reply-To: <20211021120319.2394-1-Hongda.Deng@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello Hongda, On the previous version, we discussed to include the patch for 4.16. So please tag it with for-4.16 and CC the Release Manager (Ian). This will help him to track what's outstanding for the release. On 21/10/2021 13:03, Hongda Deng wrote: > Currently, Xen will return IO unhandled when guests write ICPENDR* > virtual registers, which will raise a data abort inside the guest. > For Linux guest, these virtual registers will not be accessed. But > for Zephyr, these virtual registers will be accessed during the > initialization. Zephyr guest will get an IO data abort and crash. > Emulating ICPENDR is not easy with the existing vGIC, this patch > reworks the emulation to ignore write access to ICPENDR* virtual > registers and print a message about whether they are already pending > instead of returning unhandled. > More details can be found at [1]. > > [1] https://github.com/zephyrproject-rtos/zephyr/blob/eaf6cf745df3807e6e > cc941c3a30de6c179ae359/drivers/interrupt_controller/intc_gicv3.c#L274 > > Signed-off-by: Hongda Deng While I agree the Reviewed-by from Bertrand should be dropped, the Release-acked-by from Ian is simply a way to say he is happy to include the patch for 4.16. So this should have been retain. The patch looks good to me, so I can add Ian's tag on commit: Reviewed-by: Julien Grall Cheers, -- Julien Grall