[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 2/3] ARM: GICv3 ITS: do not invalidate memory while sending a command


  • To: Julien Grall <julien@xxxxxxx>
  • From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Date: Tue, 19 Sep 2023 14:36:01 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/iSMQ1521gnKBZJGAA8o3+xeV321nTPUFqxGO0Qppso=; b=ZMGBXGDb2ab7XyYq00c0fPcqYN1xSBV8ikY+IuO/LV78Xjz9thid3q4YR+ubVU7R6OR9wrrlngScN40GmPyghr9HgK/hz2sFjE8DsAU/JLnDu0jWMNrG3JaGBrBqFBlAf+xhLfhzgywjz0W8Lur5bUXZLCyBnSGu4+eD8672HTvR59gSwOtBgtkuUQHFnupFrnhBV829ON6VeRIshSzv1MaMxrndvdftQ39MItMo2IA5Pi/mvnPEzpulZx9ApA+aRSGPikG4HVdeeTnjZSGWSnjFHAy6z6iYac7ZZSasUVhvCGbmmJCwLHG8bZr6U2f+6YjFF+S5bxpC4VSODMyNvg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+q7bqyu+q/H4Z9gFL3a+PbgFHnDoVvnNah1hhzjrXG8SUDoYmkeSYOAHTtf2B3iagkvWqgoaak3FGZEI0dCx7XueH1pz5ieE9cZLEpOvr7VKopMJIqxlEzmLBaRQGrsMr/XK+W15ipqPtjP8DFKh/BCs4EA113AFblespM2ZMFzMmAoetgQYyK8Y3XqyO09xr5YpgFmoCaFeIsfCCi9Z9TfdKDDDT0PCpFbhTQn5RIi4pX2eQ0W/3R/CQupdyvoZ7ughibAJlqnGQ2hcgyAp1upgkoCENQcxJtYM2yh+LODW7j4P9vtSiNoEXYhVCKtnmcUJmOt7lsxKfLLPErx4A==
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Delivery-date: Tue, 19 Sep 2023 14:36:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHZ6ux4LpE3chDIj0mOPudUv9951bAiHTaAgAAZXIA=
  • Thread-topic: [PATCH v1 2/3] ARM: GICv3 ITS: do not invalidate memory while sending a command

Hi Julien,

Julien Grall <julien@xxxxxxx> writes:

> Hi Volodymyr,
>
> On 19/09/2023 12:28, Volodymyr Babchuk wrote:
>> There is no need to invalidate cache entry because we just wrote into a
>> memory region. Writing itself guarantees that cache entry is valid.
>
> The goal of invalidate is to remove the line from the cache. So I
> don't quite understand the reasoning here.
>

Well, I may be wrong, but what is the goal in removing line from the
cache? As I see this, we want to be sure that ITS sees data written in
the memory, so we should flush a cache line. But why do we need to
remove it from CPU's cache?

-- 
WBR, Volodymyr


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.