From patchwork Tue Jun 6 18:24:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 689754 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp2777072wru; Tue, 6 Jun 2023 11:25:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4V8C9ioJm8fpBtp+wABj9Y4dH7WiDAmCcV7yufzT6GldW18UOBV1s78GK5yIJdUWb1QyAn X-Received: by 2002:a05:620a:8188:b0:75b:23a1:830b with SMTP id ot8-20020a05620a818800b0075b23a1830bmr756648qkn.6.1686075936532; Tue, 06 Jun 2023 11:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686075936; cv=none; d=google.com; s=arc-20160816; b=NtKMqC3g5HiPsIJInCHoO+2wxUEfBk0MNRZ80PqwcAKry/JvONSwn7HlKPjhWwTAiA c7tQ/RqwOynqFxE73QWNqq87s5A6ylxJHA5vLkaC/FPm2X//jrDAL4le8cUXfLx5vXME D+sxq0+ZxpIsd1fUa4gPE+mkJVsGMqO6K/J5+2sMHu0oJO5fgdeMwzXvYxjgjTcu7bwc BlJO+vV0+s/7QALne9A7W4J7HkzKYNKvUytaud1UHuEIgSc/kVGQx7FBewQxBobj007z N7jqpe0suSF4AIPQSjRlSzhTiZN9DspZ1W/LpFOI7xi+e7bgyXa8M2B2b6E/uSjGD81E 0Mrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=GczvD5gCRyP8M/QoglUTk2k8ZKRaY1cyLgOJxcG1dFo=; b=sIY+DXe5XGZSj3holwP9zrVR6xWivRSUa0DMj8JY7t0Bn13dWA5SGZy4GFNEey71X8 +vdN6Ly1B5Pwq052LFh4BuPGkKbIHdZwl4QOHwSBzHeKfnqJmZQOwLiNS7C+wFO4lJYn 5qZ0PH5enzDxxvBZbEjF0n3cuWMYDqDNyoyzSxY8B3XcMMcZJpCsw1HF3QZR66F02O/J Atvqir+c3oeWYJK8PgjeSYi/7owIAJLsTbCvfItWypTDqZJhv4VHwHCKg+1GEXPvsmix xAbtSj+ha99gzz46ERUAaB88mQN0WMcOxMl/bkZn+ifPbT5FdlCwpllpfnxndGJytvgG QAGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d7-20020a05620a158700b00757da616db3si6237610qkk.232.2023.06.06.11.25.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jun 2023 11:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6bMJ-0000j5-7B; Tue, 06 Jun 2023 14:24:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6bMF-0000hk-A9; Tue, 06 Jun 2023 14:24:39 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6bMD-0004ZJ-Jx; Tue, 06 Jun 2023 14:24:39 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id D4878260AA6; Tue, 6 Jun 2023 20:24:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01ptiW0dLUVo; Tue, 6 Jun 2023 20:24:32 +0200 (CEST) Received: from applejack.lan (83.21.93.182.ipv4.supernova.orange.pl [83.21.93.182]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id B7866260287; Tue, 6 Jun 2023 20:24:31 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: Leif Lindholm , Peter Maydell , Radoslaw Biernacki , qemu-arm@nongnu.org, Shashi Mallela , Marcin Juszkiewicz Subject: [PATCH 0/2] hw/arm/sbsa-ref: add ITS support in GIC Date: Tue, 6 Jun 2023 20:24:12 +0200 Message-Id: <20230606182414.637467-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org In 2021 Shashi Mallela sent v8 of GIC ITS patchset [1]. At that time it was decided to do platform versioning first. 1. https://lore.kernel.org/qemu-devel/20210812165341.40784-8-shashi.mallela@linaro.org/ Now we are going through our list of changes for SBSA Reference Platform and GIC ITS is one of early ones. There was decision that there will be no option to disable it and platform version will get a minor bump. First patch is refreshed version of v8 one from 2021. GIC ITS is placed behind GIC Redistributor in memory space to allow use of older EDK2 firmware. New address will be placed in DeviceTree for firmware to use - that's a job for second patch. Which also bumps platform version to 0.2 version. Trusted Firmware will read GIC ITS address and provide to EDK2 via Secure Monitor Call (SMC). Same way as it is done with GIC addresses already. Marcin Juszkiewicz (1): hw/arm/sbsa-ref: add GIC ITS to DeviceTree Shashi Mallela (1): hw/arm/sbsa-ref: add ITS support in SBSA GIC hw/arm/sbsa-ref.c | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-)