From patchwork Wed Oct 7 10:07:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Graeme Gregory X-Patchwork-Id: 1377878 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nuviainc.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nuviainc-com.20150623.gappssmtp.com header.i=@nuviainc-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=a6c1WyDI; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C5qpN3k56z9s0b for ; Wed, 7 Oct 2020 21:10:20 +1100 (AEDT) Received: from localhost ([::1]:45474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQ6Oo-000785-HE for incoming@patchwork.ozlabs.org; Wed, 07 Oct 2020 06:10:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQ6MT-0005Qt-Fx for qemu-devel@nongnu.org; Wed, 07 Oct 2020 06:07:53 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:41971) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQ6MR-0004UM-Fv for qemu-devel@nongnu.org; Wed, 07 Oct 2020 06:07:53 -0400 Received: by mail-wr1-x442.google.com with SMTP id w5so1449265wrp.8 for ; Wed, 07 Oct 2020 03:07:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+NWx5IEYq/NUxMmoCniXmRWP+qb5Ua3EyPcLkM+WBIk=; b=a6c1WyDIqcusrnopqFlftBdNatMKY2XMS6uGer5l+ulK7gE+6aFW+4DEtQnHkEFPgQ 2bYe6mhB8juE6inlOt4w3XcnKjzNcOuViXukuMZv5ckn6qrApuUd07kdMqJlvl3TRfnm YhlwBidoW2Vy/+qyUOjm4Hgko8J3Em75bGR1G2X9Smvzj8i4tAqfdixYGWMlF08mmm6o GWWvQGloc2t0zGbYD7unVOQYkmSTnwXeMBPupuCAHejOcSb5/lubcnfwjhnZhbV3AEyR cOI+oP3SG+TgLlF2ypsh0YAQ/mHc1FZ5aAUsoKVaOmBe8PpqpvOt1MmVk0twso0AB3f1 B5Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+NWx5IEYq/NUxMmoCniXmRWP+qb5Ua3EyPcLkM+WBIk=; b=oVP6h1Fp9JpL7rJcFMyUNG+i0RBzE4PEmtBv/VxUlwfrfZc6fevNjgil5xkwxia+kN GQyIxF5Icls2ofq7vVAWrqDg7R5az5MxGnUA+W/p/Iw19rmQfJLGhifkKVDWd9w7eINc Ouvm+/3yusYrNd5nAIWlIamtgvA2D5rEOW3tBxyX+5Pe2Sj7pNAEXvBFlg9rgL/IXKLg e9X8BtTU6o+naRklUqKBNsgQMlLT6ZsNMcrLdNYp0aDi5vgO6rXjLGvlHvRFU3SRwcbm TZs6UAZFRSYn/zYoZc6gR+cDl+82xfFxE6ZKcoHhTDKwukJqc2SviXAaPcH8mlxEsiXl sKQg== X-Gm-Message-State: AOAM532ZJx0L9LDQLfLhvcMd+AHqbvrsg5rYIfibVzlu3DCbS/WxAEh1 /9hFpitU5Unnsr9ZuySvptYYXg== X-Google-Smtp-Source: ABdhPJyJUMqI+CQlxPkvciMhoTtB1Vii+RiW0ke49Jyn091IDoEfnT5WanVqNMv/m7S88++IzqZspA== X-Received: by 2002:adf:f104:: with SMTP id r4mr2668789wro.202.1602065269294; Wed, 07 Oct 2020 03:07:49 -0700 (PDT) Received: from localhost.localdomain ([2a02:8010:64d6::1d89]) by smtp.gmail.com with ESMTPSA id y6sm2208504wrt.80.2020.10.07.03.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 03:07:48 -0700 (PDT) From: Graeme Gregory To: qemu-arm@nongnu.org Subject: [PATCH v2 0/2] hw/arm/sbsa-ref : small fixes to smmuv3 initialisation Date: Wed, 7 Oct 2020 11:07:30 +0100 Message-Id: <20201007100732.4103790-1-graeme@nuviainc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::442; envelope-from=graeme@nuviainc.com; helo=mail-wr1-x442.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Graeme Gregory , peter.maydell@linaro.org, rad@semihalf.com, f4bug@amsat.org, qemu-devel@nongnu.org, leif@nuviainc.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Fix two issues with the smmuv3 initialisation, first where a previous patch had transposed an i to a 1. The second an assumption that the IRQs allocated were meant to be unique and not 0 based. v1->v2 - split into two patches - previously sent as v1 post split by accident, resending for clarity - added Reviewed-by Graeme Gregory (2): hw/arm/sbsa-ref : Fix SMMUv3 Initialisation hw/arm/sbsa-ref : allocate IRQs for SMMUv3 hw/arm/sbsa-ref.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- 2.25.1